JP2005277902A - Mobile terminal and memory access method therefor - Google Patents
Mobile terminal and memory access method therefor Download PDFInfo
- Publication number
- JP2005277902A JP2005277902A JP2004089657A JP2004089657A JP2005277902A JP 2005277902 A JP2005277902 A JP 2005277902A JP 2004089657 A JP2004089657 A JP 2004089657A JP 2004089657 A JP2004089657 A JP 2004089657A JP 2005277902 A JP2005277902 A JP 2005277902A
- Authority
- JP
- Japan
- Prior art keywords
- file
- memory
- expansion
- frame
- terminal device
- 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.)
- Granted
Links
Images
Landscapes
- Power Sources (AREA)
- Memory System (AREA)
- Controls And Circuits For Display Device (AREA)
- Telephone Function (AREA)
Abstract
Description
本発明は、携帯電話機等の携帯端末装置およびそのメモリアクセス方法に係り、特に、スクリーンセーバや待ち受けアプリなどの、待ち受け中に何度も再生されるファイルの展開方法に関するものである。 The present invention relates to a mobile terminal device such as a mobile phone and a memory access method thereof, and more particularly to a method of expanding a file that is played back many times during standby, such as a screen saver or a standby application.
近年、携帯電話機などの携帯端末装置において、ユーザからの操作が無い状態がしばらく続くと、待ち受け画面などの表示画面上に長時間表示されるアイコンなどの表示物がLCDなどを用いた表示部に焼き付いてしまうことを防止するために、スクリーンセーバや独立した処理ルーチンを持つ特殊なプログラム言語で記述された待ち受けアプリケーションプログラムなどを搭載するものが登場してきている(たとえば特許文献1参照)。特に、スクリーンセーバは待ち受け状態でのみ起動するわけではなく、焼き付きを防止するために用いられるため、操作がしばらく入らない状態が続くと起動される。
スクリーンセーバは連続再生が基本であるが、携帯電話機等の場合、電流消費を抑えるため、再生から一定時間経過後、再生を終了するようにした機種もある。
In recent years, in a mobile terminal device such as a mobile phone, if there is no operation from a user for a while, a display object such as an icon displayed on a display screen such as a standby screen for a long time is displayed on a display unit using an LCD or the like. In order to prevent burn-in, an application that has a screen saver or a standby application program written in a special program language having an independent processing routine has appeared (for example, see Patent Document 1). In particular, the screen saver is not activated only in the standby state, but is used to prevent burn-in, and therefore activated when the operation does not enter for a while.
The screen saver is basically based on continuous playback. However, in the case of a cellular phone or the like, there is a model in which playback is terminated after a predetermined time has elapsed since playback to reduce current consumption.
スクリーンセーバは、図3に示すように、静止画像を連続再生させることで、アニメーションを展開させている。以降、その静止画像の1つをコマと呼び、そのコマと次のコマとの再生間隔をコマ間隔と呼ぶことにする。
スクリーンセーバは、それぞれPNG,GIF,MPEGなどの形式でエンコード(圧縮)されており、再生するためにはデコード(展開)しなくてはならない。
As shown in FIG. 3, the screen saver develops animation by continuously reproducing still images. Hereinafter, one of the still images is referred to as a frame, and the playback interval between that frame and the next frame is referred to as a frame interval.
Each screen saver is encoded (compressed) in a format such as PNG, GIF, or MPEG, and must be decoded (decompressed) for reproduction.
スクリーンセーバを再生するには、コマを逐次デコードして再生する方法や、すべてのコマを確保済みの静的メモリに展開してから再生を行う方法などが採用される。 In order to reproduce the screen saver, a method of sequentially decoding and reproducing the frames, a method of reproducing all the frames in the reserved static memory, and the like are adopted.
たとえば、PNG形式のスクリーンセーバについては、上限を6コマ、再生間隔は2秒、最初に確保済みの静的メモリに展開してから再生を行う。
PNGファイルの場合、コマ間隔の規定はなく、静止ファイルを任意の時間で再生することでスクリーンセーバを表現している。
For example, for a PNG format screen saver, the upper limit is set to 6 frames, the playback interval is 2 seconds, and playback is performed after expanding the first reserved static memory.
In the case of a PNG file, the frame interval is not specified, and a screen saver is expressed by playing a still file at an arbitrary time.
GIF形式のスクリーンセーバについては、コマ数の上限はなく、再生間隔はコマのヘッダに格納された再生間隔に従い、逐次デコードして再生を行う。コマ数についても制限はなく、コマ数の情報として全コマ数を把握するためには、一通り再生する必要がある。 The GIF format screen saver has no upper limit on the number of frames, and the reproduction interval is sequentially decoded and reproduced in accordance with the reproduction interval stored in the header of the frame. There is no restriction on the number of frames, and in order to grasp the total number of frames as information on the number of frames, it is necessary to reproduce all of them.
MPEG形式のスクリーンセーバについては、コマ数の上限はなく、再生間隔はコマのヘッダに格納された再生間隔に従い、逐次デコードして再生を行う。動き補償(予測)技術により、前後のコマとの差分を算出し、差がある部分のデータのみを保有している。基準コマと他方向への予測値、他方向からの予測値により他コマを構成する。
ところで、スクリーンセーバを逐次デコードにより連続再生すると、制御系に大きな負荷がかかることから、たとえば携帯電話機の場合、約半日程度で電池を消耗してしまう。
また、スクリーンセーバ再生前にすべてのコマをメモリに展開するとデコードは一度で済むが、コマ数分のメモリ容量が必要となってしまう。また、事前にコマ数などの情報がわからないGIFやMPEGデータについては、逐次デコードにしている。
逐次デコードの場合においても、コマ間隔が短いとデコードに遅延が生じる。
By the way, if the screen saver is continuously reproduced by sequential decoding, a large load is applied to the control system. For example, in the case of a mobile phone, the battery is consumed in about half a day.
In addition, if all the frames are expanded in the memory before the screen saver reproduction, the decoding can be performed once, but a memory capacity corresponding to the number of frames is required. Also, GIF and MPEG data for which information such as the number of frames is not known in advance are sequentially decoded.
Even in the case of sequential decoding, if the frame interval is short, the decoding is delayed.
換言すると、携帯電話機等の携帯端末装置において、スクリーンセーバや待ち受けアプリなどの、待ち受け中に何度も再生されるファイルの展開用にメモリ(RAM)の容量を大きく確保しておけば、スクリーンセーバなどの動画再生はスムーズである上、デコード回数も一度で済むため電池使用量も少なくて済む。
しかしながら、待ち受け中にRAMの空き容量が少ない場合には、その他の処理に用いられるべきRAMの容量が少なくなってしまう。
たとえば、待ち受けスクリーンセーバ用に多くのメモリ容量を割いていると、着信が発生したりして、着信報知用のアニメーションなどがデコードされる際に、空き容量が少ないためにデコードに時間がかかったり、遅延してしまうおそれがある。
In other words, in a mobile terminal device such as a mobile phone, if a large amount of memory (RAM) is provided for developing a file that is played back many times during standby, such as a screen saver or a standby application, Video playback is smooth and requires only a single decoding, so battery usage is low.
However, if the free RAM capacity is small during standby, the RAM capacity to be used for other processing is reduced.
For example, if a large amount of memory is allocated for the standby screen saver, an incoming call may occur, and when an incoming call notification animation is decoded, it takes a long time to decode due to a lack of free space, There is a risk of delay.
本発明は、かかる事情に鑑みてなされたものであり、その目的は、ファイルの展開する際の消費電流を抑えることができ、デコードによる遅延発生を抑えることができ、メモリの使用量も最小限に抑えることができる携帯端末装置およびそのメモリアクセス方法を提供することにある。 The present invention has been made in view of such circumstances, and the object thereof is to suppress current consumption when developing a file, to suppress occurrence of delay due to decoding, and to minimize the amount of memory used. It is an object of the present invention to provide a portable terminal device and a memory access method thereof.
上記目的を達成するため、本発明の第1の観点は、再生されるファイルを、再生前に展開用メモリに展開する機能を有する携帯端末装置であって、上記展開用メモリの空き領域が上記ファイルよりも大きいときには、当該ファイルを上記展開用メモリに全部展開し、上記展開用メモリの空き領域が上記ファイルよりも小さいときには、当該ファイルを所定の展開方式に従って上記展開用メモリに展開する制御部を有する。 In order to achieve the above object, a first aspect of the present invention is a portable terminal device having a function of expanding a file to be reproduced in an expansion memory before reproduction, wherein the expansion memory has an empty area as described above. When the file is larger than the file, the control unit expands the file to the expansion memory, and expands the file to the expansion memory according to a predetermined expansion method when the free space of the expansion memory is smaller than the file. Have
好適には、上記展開用メモリの容量は可変である。 Preferably, the capacity of the development memory is variable.
好適には、駆動用電池を有し、上記電池の残量に応じて上記展開用メモリの使用領域の配分を変更する。 Preferably, the battery has a drive battery, and the distribution of the use area of the expansion memory is changed according to the remaining amount of the battery.
好適には、上記所定の展開方式とは、部分的に展開または再生指示があるごとに展開するかのいずれかの選択的処理を行う方式である。 Preferably, the predetermined expansion method is a method of performing a selective process of either partial expansion or expansion every time there is a reproduction instruction.
好適には、上記ファイルは、複数の静止画を時間が経過するごとに連続して切り替わることによりコマ送りアニメーションとして再生されるものであり、上記制御部は、上記部分的な展開処理において、複数のコマの中から少なくとも一つのコマを削除して上記展開用メモリに展開する。 Preferably, the file is reproduced as a frame advance animation by continuously switching a plurality of still images as time elapses, and the control unit performs a plurality of operations in the partial expansion processing. At least one of the frames is deleted and expanded in the expansion memory.
好適には、上記ファイルは、複数の静止画を時間が経過するごとに連続して切り替わることによりコマ送りアニメーションとして再生されるものであり、上記制御部は、上記部分的な展開処理において、奇数コマまたは偶数コマごとに上記展開用メモリに展開し、残るコマごとに逐次デコードする。 Preferably, the file is reproduced as a frame advance animation by continuously switching a plurality of still images as time elapses, and the control unit performs odd numbering in the partial development processing. Each frame or even frame is expanded in the expansion memory, and the remaining frames are sequentially decoded.
好適には、上記ファイルは、複数の静止画を時間が経過するごとに連続して切り替わることによりコマ送りアニメーションとして再生されるものであり、上記制御部は、上記部分的な展開処理において、コマ間隔があらかじめ設定した基準間隔より狭いコマは優先的に上記展開用メモリに展開し、コマ間隔が上記基準間隔より長いコマは逐次デコードする。 Preferably, the file is reproduced as a frame advance animation by continuously switching a plurality of still images as time elapses, and the control unit performs the frame development in the partial expansion processing. Frames whose intervals are smaller than a preset reference interval are preferentially expanded in the expansion memory, and frames whose interval is longer than the reference interval are sequentially decoded.
好適には、上記制御部は、コマに関する情報がわからないファイルについては、一旦デコードして再生した上でコマに関する情報を把握するとともに上記展開用メモリの使用量に関する情報についても把握し、把握した情報に基づいて処理に関する判断を行う。 Preferably, for a file for which information on the frame is not known, the control unit first decodes and reproduces the file, then grasps the information on the frame, and also grasps the information on the usage amount of the development memory, and the grasped information The process is determined based on the above.
好適には、上記コマに関する情報には、コマ間隔およびコマ枚数のうちの少なくとも一方を含む。 Preferably, the information related to the frame includes at least one of a frame interval and a frame number.
本発明の第2の観点は、再生されるファイルを、再生前に展開用メモリに展開する携帯端末装置のメモリアクセス方法であって、上記展開用メモリの空き領域と上記ファイルの容量とを比較し、上記展開用メモリの空き領域が上記ファイルよりも大きいときには、当該ファイルを上記展開用メモリに全部展開し、上記展開用メモリの空き領域が上記ファイルよりも小さいときには、当該ファイルを所定の展開方式に従って上記展開用メモリに展開する。 According to a second aspect of the present invention, there is provided a memory access method for a portable terminal device in which a file to be reproduced is expanded in a development memory before reproduction, and the free area of the development memory is compared with the capacity of the file. When the free area in the expansion memory is larger than the file, the file is fully expanded in the expansion memory. When the free area in the expansion memory is smaller than the file, the file is The data is expanded in the expansion memory according to the method.
本発明によれば、ファイルの展開する際の消費電流を抑えることができ、デコードによる遅延発生を抑えることができ、メモリの使用量も最小限に抑えることができる利点がある。 According to the present invention, it is possible to suppress current consumption when developing a file, to suppress generation of a delay due to decoding, and to minimize the amount of memory used.
以下、本発明の実施形態を添付図面に関連付けて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
図1は、本発明に係る携帯端末装置としての携帯電話機10の一実施形態を示すブロック構成図である。
FIG. 1 is a block configuration diagram showing an embodiment of a
本実施形態に係る携帯電話機10は、図1に示すように、無線通信部11、展開用メモリ121および保存用メモリ122を含むメモリ12、表示部13、操作部14、スピーカ15aおよびバイブレータ15bとを含む鳴動部15、判定部16、制御部17、および駆動用電池18を有している。
As shown in FIG. 1, the
無線通信部11は、電波を利用した無線通信を行うために、制御部17で処理された画像データ、音声情報、電子メール等の各種情報を変調して送受信アンテナ11aを通して基地局を含む通信網に送信する。
また、無線通信部11は、通信網、基地局を介して送信されてくる画像データ、音声情報、電子メール等を送受信アンテナを通して受信し、受信した各種情報を復調して制御部17に出力する。
無線通信部11は、外部、たとえば動画サイトからのダウンロードによりスクリーンセーバとなる動画を入手(受信)することが可能であり、受信したスクリーンセーバとなる動画情報を制御部17に出力する。
The wireless communication unit 11 modulates various types of information such as image data, audio information, and e-mail processed by the
In addition, the wireless communication unit 11 receives image data, audio information, electronic mail, and the like transmitted via a communication network and a base station through a transmission / reception antenna, demodulates various received information, and outputs the demodulated information to the
The wireless communication unit 11 can obtain (receive) a moving image serving as a screen saver by downloading from the outside, for example, a moving image site, and outputs the received moving image information serving as a screen saver to the
展開用メモリ121は、制御部17のワークエリアとしてRAMなどの揮発性メモリを備え、制御部17の制御の下、たとえばスクリーンセーバのファイルを読み出した後の動画の展開に用いられる。
保存用メモリ122は、EEPROM等の不揮発性メモリを含み、制御部17の制御の下、たとえば再生するスクリーンセーバのファイルを保存する。
展開用メモリ121は、スクリーンセーバの再生時には、制御部17に対して容量可変の画像展開領域をワークエリア上に提供する。
また、展開用メモリ121は、ワークエリア上に制御部17の制御の下、判定部16より得られたコマ情報を保持する。
また、展開用メモリ121は、ワークエリア上に制御部17の制御の下、一度再生したスクリーンセーバのコマ情報を、再生が終了した後も保持する。
The
The
The
Further, the
Further, the
表示部13は、液晶表示装置(LCD:Liquid Crystal Display)や有機EL(ElectroLuminescent)等の表示デバイスを有し、制御部17の制御の下、通話機能のために入力した電話番号や各種メッセージ、テキストデータ等を表示する。
また、表示部13は、制御部17により得たスクリーンセーバの再生画像を表示する。表示部13は、再生画像を表示する表示サイズは、制御部17の命令に従う。
The
Further, the
操作部14は、終了(終話)/電源キー、開始(発呼)キー、数字等に対応した複数のテンキー等を有し、これらのキーが操作されることにより、ユーザからの入力情報を制御部17に供給する。
また、操作部14では、ユーザがスクリーンセーバを選択するためのキー入力を行う。また、操作部14では、再生方法をカスタマイズできる場合には、その方法も入力可能である。
The
In the
鳴動部15は、スピーカ15aやバイブレータ15bを使用して、スクリーンセーバや待ち受けアプリのファイルの内容に鳴動命令が組み込まれている場合に、制御部17からの命令を受けて鳴動させる。
The ringing
また、制御部17は、図示しないが、音声処理部を有し、通話のために音声出力を行うスピーカと、音声入力を行うマイクロフォンとが接続されている。
音声処理部は、無線通信モードにおいて、マイクロフォンにより収音した音声に対して所定の処理を行って制御部17に出力する。
音声処理部は、制御部17により供給された音声情報に対して所定の処理を行ってスピーカから放音させる。
Although not shown, the
The sound processing unit performs predetermined processing on the sound collected by the microphone and outputs the sound to the
The sound processing unit performs predetermined processing on the sound information supplied from the
判定部16は、制御部17により供給されるスクリーンセーバに関する情報に基づいてスクリーンセーバのコマの移行タイミングを判定し、その結果を制御部17に供給する。
また、判定部16は、制御部17を通して供給される展開用メモリ121に保持されているスクリーンセーバデータにエラーがないか否かを確認し、その結果を制御部17に供給する。
なお、判定部16は、制御部17内に構成されても良い。
The
Further, the
The
制御部17は、マイクロコンピュータを主体として構成され、携帯電話機10の全体の制御を行う。
たとえば、制御部17は、無線通信部11における各種情報の無線による送受信の制御、鳴動部15による鳴動制御、音声処理部に対する音声情報の処理、表示部13への情報の表示、カーソルの表示形式の変更制御、および点灯制御、操作部14の入力情報に応じた処理、展開用メモリ121および保存用メモリ122に対するアクセス制御等を行う。
制御部17は、無線通信モードにおいて、無線通信部11を通して所望の通信方式に従って、無線通信が可能であり、さらに制御部17は、表示部13に電源起動直後の標準画面(いわゆる待ち受け画面)を表示させる。無線通信モードにおいては、操作部14の操作により発呼動作等を行うことが可能である。
The
For example, the
The
制御部17は、スクリーンセーバや待ち受けアプリなどの、待ち受け中あるいはしばらく操作部14による操作がないときに何度も再生されるファイルを、再生前に展開用メモリ121のワークエリアに展開する機能を有する。
制御部17は、展開用メモリ121のワークエリアの空き領域とファイルの容量とを比較し、展開用メモリ121のワークエリアの空き領域がファイルよりも大きいときには、このファイルをメモリ121のワークエリアに全部展開し、メモリ121のワークエリアの空き領域がファイルよりも小さいときには、ファイルを所定の展開方式に従って展開用メモリ121のワークエリアに展開する。
制御部17は、駆動用電池18の残量に応じて展開用メモリ12の使用領域の配分を変更する。
The
The
The
なお、制御部17がファイルを展開する所定の展開方式とは、部分的に展開する方式と、指示があるごとに展開する方式とであり、いずれかの選択を行う。
Note that the predetermined expansion method in which the
制御部17が展開するファイルは、複数の静止画を時間が経過するごとに連続して切り替わることによりコマ送りアニメーションとして再生されるものであり、制御部17は、部分的な展開処理において、複数のコマの中から少なくとも一つのコマを削除して展開用メモリ121のワークエリアに展開する。
The file developed by the
また、制御部17は、展開するファイルが、複数の静止画を時間が経過するごとに連続して切り替わることによりコマ送りアニメーションとして再生されるものである場合、部分的な展開処理において、奇数コマまたは偶数コマごとに展開用メモリ121のワークエリアに展開し、残るコマごとに逐次デコードする機能を有する。
これにより、オリジナルに近いアニメーションを、他のプログラムの処理に影響を最大限与えないような軽い処理にて実現できるようになる。
Further, when the file to be developed is reproduced as a frame advance animation by continuously switching a plurality of still images as time elapses, the
As a result, an animation close to the original can be realized by light processing that does not affect the processing of other programs to the maximum extent.
また、制御部17は、展開するファイルが、複数の静止画を時間が経過するごとに連続して切り替わることによりコマ送りアニメーションとして再生されるものである場合、部分的な展開処理において、コマ間隔があらかじめ設定した基準間隔より狭いコマは優先的に展開用メモリ121のワークエリアに展開し、コマ間隔が基準間隔より長いコマは順番通り逐次デコードする機能を有する。
これにより、他のプログラムの処理に影響を最大限与えないような軽い処理にもかかわらず、再生遅延のないスムースなアニメーションを実現できるようになる。
In addition, when the file to be developed is reproduced as a frame advance animation by switching a plurality of still images continuously as time elapses, the
This makes it possible to realize a smooth animation with no playback delay despite the light processing that does not affect the processing of other programs to the maximum extent.
また、制御部17は、コマに関する情報がわからないファイルについては、一旦デコードして再生した上でコマに関する情報を把握するとともに、展開用メモリ121のワークエリアの使用量に関する情報についても把握し、把握した情報に基づいて処理に関する判断を行う。
ここで、コマに関する情報には、コマ間隔および/またはコマ枚数を含む。
In addition, the
Here, the frame information includes a frame interval and / or a frame number.
さらに、制御部17は、展開用メモリ121の展開用ワークエリアとして使用する際に、省電力などのためのメモリ節減モードの場合には、展開用メモリ121のワークエリアの容量を小さく確保し、メモリ節減モードでない場合には、展開用メモリ121のワークエリアの容量を大きく確保する機能を有する。
Furthermore, when the
次に、上記構成による動作を、制御部17のスクリーンセーバ再生時の制御を中心に、図2のフローチャートに関連付けて説明する。 Next, the operation of the above configuration will be described with reference to the flowchart of FIG.
制御部17は、スクリーンセーバ再生要求に従って、保存用メモリ122からスクリーンセーバのファイルを読み出し、ファイル拡張子から再生形式を取得する(ST1,ST2)。
そして、ファイル内ヘッダを読むなどして、再生するスクリーンセーバのコマ数が既知であるか否かの判定を行う(ST3)。
さらに、ステップST3において、コマ数やコマ間隔に関する情報の記述されない再生形式のとき、つまり、コマ数が既知であると判定した場合には、コマ間隔が既知であるか否かの判定を行う(ST4)。ステップST4において、コマ間隔が既知であると判定した場合には、ステップST5の処理に移行する。
一方、ステップST3において、コマ数が既知でないと判定した場合、または、ステップST4において、コマ間隔が既知でないと判定した場合には、スクリーンセーバをすべて再生し(ST6)、コマ数、コマ間隔、およびコマデコード時間を取得し(ST7)、取得したデータを展開用メモリ121に保存するとともに、ステップST5の処理に移行する。
The
Then, by reading the header in the file or the like, it is determined whether or not the number of frames of the screen saver to be reproduced is known (ST3).
Furthermore, in step ST3, when the playback format does not describe information on the number of frames and the frame interval, that is, when it is determined that the frame number is known, it is determined whether or not the frame interval is known (step ST3). ST4). If it is determined in step ST4 that the frame interval is known, the process proceeds to step ST5.
On the other hand, if it is determined in step ST3 that the number of frames is not known, or if it is determined in step ST4 that the frame interval is not known, all the screen savers are reproduced (ST6), and the frame number, frame interval, and The frame decoding time is acquired (ST7), the acquired data is stored in the
ステップST5においては、駆動用電池18の残量がしきい値以下であり、メモリ節減モードにすべきか否かの判定を行う。そして、メモリ節減モードでないなら展開用メモリ121の容量を大きく確保して(ST8)、一方、メモリ節減モードの場合には、展開用メモリ121の容量を小さく確保して(ST9)、ステップST10の処理に移行する。
In step ST5, it is determined whether or not the remaining amount of the driving
ステップST10においては、展開用メモリ121のサイズ(空き領域)がデータサイズより大きいか否かの判定を行う。
ステップS10において、データサイズの方が大きいと判定した場合には、逐次デコードを選択すべきか否かの判定を行う。
ステップST11において、再生形式を確認し、逐次デコードを選択しないと判定した場合には、保存用メモリ122に記憶されているコマ数、コマ間隔、およびコマデコード時間より展開用メモリ121に展開する優先度を決定する(ST12)。
決定に従って、優先度の高いコマを展開用メモリ121に展開する(ST13)。
そして、制御部17は、展開用メモリ121に展開したデータと逐次デコードを併用して再生する(ST14)。制御部17は、メモリ量を変更しながら再生終了するまでステップST12からの処理を繰り返す(ST15,ST16)。
In step ST10, it is determined whether or not the size (free area) of the
If it is determined in step S10 that the data size is larger, it is determined whether or not sequential decoding should be selected.
In step ST11, if the playback format is confirmed and it is determined that sequential decoding is not selected, priority is given to the
In accordance with the determination, the frames with high priority are expanded in the expansion memory 121 (ST13).
And the
また、ステップST11において、逐次デコードを選択すると判定した場合には、逐次デコード再生を終了するまで行う(ST17,ST18)。 If it is determined in step ST11 that sequential decoding is to be selected, the sequential decoding reproduction is completed (ST17, ST18).
また、ステップST10において、メモリ12のサイズ(空き領域)がデータサイズより大きいと判定した場合には、コマをすべて展開用メモリ121に展開して再生し、これを再生終了まで行う(ST19,ST20)。
If it is determined in step ST10 that the size (free area) of the
なお、制御部17は、待ち受けであっても、無線通信部により基地局と無線よる接続を行っており、電波の状況によっては他の基地局を探したり接続変更したりするために、その通信プロトコル上で必要なデータを展開用メモリ121のワークエリア上にデータフレームを生成してから基地局との間で常に無線通信を行っている。
さらに、制御部17は、図示しないGPS衛星からの信号を受信したり、地磁気センサなどの方位測定デバイスからの信号から携帯端末装置の向きを求めるために、展開用メモリ121のワークエリア上にて必要なときには端末の状態に限らず計算したりする。
Even if the
Further, the
ところで、展開用メモリ121のワークエリアが使用される状況としては、上に述べたようなことが考えられるため、たとえば、制御部17により現在の携帯端末装置の状態が、方位算出を行う状態であると判断しているときには、ワークエリアの残量が少ないと仮定することもでき、これをもってステップST10を判断することも可能である。
By the way, as the situation where the work area of the
以上説明したように、本実施形態によれば、スクリーンセーバや待ち受けアプリなどの、待ち受け中に何度も再生されるファイルを、再生前に展開用メモリ12に展開する機能を有し、展開用メモリ121の空き領域とファイルの容量とを比較し、展開用メモリ121の空き領域がファイルよりも大きいときには、このファイルを展開用メモリ121に全部展開し、展開用メモリ121の空き領域がファイルよりも小さいときには、ファイルを所定の展開方式に従って展開用メモリ121に展開し、また、駆動用電池18の残量に応じて展開用メモリ121のワークエリア使用領域の配分(メモリサイズ)を変更する制御部17を設けたので、以下の効果を得ることができる。
As described above, according to the present embodiment, a file such as a screen saver or a standby application that is reproduced many times during standby is developed in the
たとえばスクリーンセーバのコマ間隔、コマ数、デコード時間などの情報を得ることで、逐次デコードによる再生か、メモリ展開による再生かを自動選択することができる。
展開用メモリの容量に余裕がある場合には、デコードが一度で終了することから、消費電流を抑えることができる。
また、メモリ展開と逐次デコードを混在させる場合、メモリ使用量の削減により再生可能なコマ数を増やすことができ、また、デコードにより遅延発生を抑えることが可能となる。
また、コマ処理に時間がかかる部分だけメモリ展開することにより、スピードを落とさずに、かつ、メモリ使用も最小限で抑えることが可能となる。
また、駆動用電池18の残量が少なくなった際には、消費電力を低下できるメモリ節減モードで動作させることができるので、より長時間、携帯端末装置は着信を待ち受けることができる。
また、保存用メモリ122のデータフォルダから、ユーザの操作により直接ファイルの再生が指示された場合にも、再生前に展開用メモリ121に展開する処理を本実施の形態同様に行ってもよい。
For example, by obtaining information such as the screen saver frame interval, the number of frames, and the decoding time, it is possible to automatically select reproduction by sequential decoding or reproduction by memory expansion.
When the capacity of the development memory is sufficient, the current consumption can be suppressed because the decoding is completed once.
In addition, when memory development and sequential decoding are mixed, the number of frames that can be reproduced can be increased by reducing the amount of memory used, and the occurrence of delay can be suppressed by decoding.
Further, by developing the memory only in the part that takes time for frame processing, it is possible to minimize the memory usage without reducing the speed.
In addition, when the remaining amount of the driving
Further, even when a file reproduction is instructed directly from the data folder in the
10…携帯電話機、11…無線通信部、12…メモリ、121…展開用メモリ、122…保存用メモリ、13…表示部、14…操作部、15…鳴動部、16…判定部、17…制御部。
DESCRIPTION OF
Claims (10)
上記展開用メモリの空き領域が上記ファイルよりも大きいときには、当該ファイルを上記展開用メモリに全部展開し、上記展開用メモリの空き領域が上記ファイルよりも小さいときには、当該ファイルを所定の展開方式に従って上記展開用メモリに展開する制御部
を有することを特徴とする携帯端末装置。 A portable terminal device having a function of developing a file to be reproduced in a development memory before reproduction,
When the free area of the expansion memory is larger than the file, the file is fully expanded into the expansion memory. When the free area of the expansion memory is smaller than the file, the file is expanded according to a predetermined expansion method. A portable terminal device comprising: a control unit that develops in the deployment memory.
ことを特徴とする請求項1に記載の携帯端末装置。 The mobile terminal device according to claim 1, wherein a capacity of the expansion memory is variable.
上記電池の残量に応じて上記展開用メモリの使用領域の配分を変更する
ことを特徴とする請求項2に記載の携帯端末装置。 A battery for driving,
The mobile terminal device according to claim 2, wherein the distribution of the use area of the expansion memory is changed according to the remaining amount of the battery.
ことを特徴とする請求項1乃至3のいずれか一に記載の携帯端末装置。 4. The method according to claim 1, wherein the predetermined expansion method is a method of performing selective processing of either partial expansion or expansion every time there is a reproduction instruction. Mobile terminal device.
上記制御部は、上記部分的な展開処理において、複数のコマの中から少なくとも一つのコマを削除して上記展開用メモリに展開する
ことを特徴とする請求項4に記載の携帯端末装置。 The above file is played as a frame-by-frame animation by switching multiple still images continuously over time.
The mobile terminal device according to claim 4, wherein the control unit deletes at least one frame from a plurality of frames and expands the expanded memory in the expansion memory in the partial expansion processing.
上記制御部は、上記部分的な展開処理において、奇数コマまたは偶数コマごとに上記展開用メモリに展開し、残るコマごとに逐次デコードする
ことを特徴とする請求項4に記載の携帯端末装置。 The above file is played as a frame-by-frame animation by switching multiple still images continuously over time.
The mobile terminal device according to claim 4, wherein the control unit expands the odd-numbered frame or even-numbered frame in the expansion memory in the partial expansion process, and sequentially decodes the remaining frames.
上記制御部は、上記部分的な展開処理において、コマ間隔があらかじめ設定した基準間隔より狭いコマは優先的に上記展開用メモリに展開し、コマ間隔が上記基準間隔より長いコマは逐次デコードする
ことを特徴とする請求項4に記載の携帯端末装置。 The above file is played as a frame-by-frame animation by switching multiple still images continuously over time.
In the partial expansion process, the control unit preferentially expands frames whose frame interval is narrower than a preset reference interval to the expansion memory, and sequentially decodes frames whose frame interval is longer than the reference interval. The mobile terminal device according to claim 4.
ことを特徴とする請求項5乃至7のいずれか一に記載の携帯端末装置。 For the files for which the information about the frame is not known, the control unit once decodes and reproduces the file, and then grasps the information about the frame, and also grasps the information about the usage amount of the development memory, and processes based on the grasped information. The mobile terminal device according to claim 5, wherein the mobile terminal device makes a determination on
ことを特徴とする請求項8に記載の携帯端末装置。 The mobile terminal device according to claim 8, wherein the information related to the frame includes at least one of a frame interval and a frame number.
上記展開用メモリの空き領域と上記ファイルの容量とを比較し、
上記展開用メモリの空き領域が上記ファイルよりも大きいときには、当該ファイルを上記展開用メモリに全部展開し、
上記展開用メモリの空き領域が上記ファイルよりも小さいときには、当該ファイルを所定の展開方式に従って上記展開用メモリに展開する
ことを特徴とする携帯端末装置のメモリアクセス方法。
A memory access method of a mobile terminal device that expands a file to be played back to a development memory before playback,
Compare the free space in the expansion memory with the capacity of the file,
When the free space in the expansion memory is larger than the file, the file is fully expanded in the expansion memory,
A memory access method for a portable terminal device, wherein when the free area of the expansion memory is smaller than the file, the file is expanded in the expansion memory according to a predetermined expansion method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004089657A JP4249645B2 (en) | 2004-03-25 | 2004-03-25 | Portable terminal device and memory access method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004089657A JP4249645B2 (en) | 2004-03-25 | 2004-03-25 | Portable terminal device and memory access method thereof |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008300049A Division JP4795421B2 (en) | 2008-11-25 | 2008-11-25 | Portable terminal device and memory access method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005277902A true JP2005277902A (en) | 2005-10-06 |
JP4249645B2 JP4249645B2 (en) | 2009-04-02 |
Family
ID=35177082
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004089657A Expired - Fee Related JP4249645B2 (en) | 2004-03-25 | 2004-03-25 | Portable terminal device and memory access method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4249645B2 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008275796A (en) * | 2007-04-26 | 2008-11-13 | Kyocera Corp | Mobile electronic device |
JP2009044776A (en) * | 2008-11-25 | 2009-02-26 | Kyocera Corp | Mobile terminal and memory access method therefor |
JP2012182571A (en) * | 2011-02-28 | 2012-09-20 | Fujitsu Ltd | Electronic apparatus and network monitoring program |
JP2014182697A (en) * | 2013-03-21 | 2014-09-29 | Fujitsu Ltd | Image display device |
CN108282696A (en) * | 2018-02-07 | 2018-07-13 | 北京易讯理想科技有限公司 | A kind of hardware resource distribution method that sequence frame image plays |
-
2004
- 2004-03-25 JP JP2004089657A patent/JP4249645B2/en not_active Expired - Fee Related
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008275796A (en) * | 2007-04-26 | 2008-11-13 | Kyocera Corp | Mobile electronic device |
JP2009044776A (en) * | 2008-11-25 | 2009-02-26 | Kyocera Corp | Mobile terminal and memory access method therefor |
JP2012182571A (en) * | 2011-02-28 | 2012-09-20 | Fujitsu Ltd | Electronic apparatus and network monitoring program |
JP2014182697A (en) * | 2013-03-21 | 2014-09-29 | Fujitsu Ltd | Image display device |
CN108282696A (en) * | 2018-02-07 | 2018-07-13 | 北京易讯理想科技有限公司 | A kind of hardware resource distribution method that sequence frame image plays |
Also Published As
Publication number | Publication date |
---|---|
JP4249645B2 (en) | 2009-04-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5365060B2 (en) | Information processing device | |
US7937119B2 (en) | Mobile terminal with TV and radio and power conservation | |
JP2008186167A (en) | Electronic device and control method in electronic device | |
JP4647003B2 (en) | Portable viewing device | |
JP4249645B2 (en) | Portable terminal device and memory access method thereof | |
JP2005101991A (en) | Mobile viewing apparatus | |
JP4795421B2 (en) | Portable terminal device and memory access method thereof | |
JP4783646B2 (en) | Portable electronic devices | |
JP2005242631A (en) | Application switching method, application switching system, and cellular phone equipped with the system | |
JP4554533B2 (en) | Portable terminal device and voice output method thereof | |
JP5458518B2 (en) | Information processing device | |
JP4372497B2 (en) | Portable communication terminal, electronic device, control method for portable communication terminal, control method for electronic device, program, and computer-readable recording medium recording the program | |
JP4435206B2 (en) | Mobile radio terminal device | |
JP4458022B2 (en) | Display control terminal, display control method, and display control program | |
JP2007124414A (en) | Broadcasting receiver | |
JP2003110659A (en) | Mobile communication terminal | |
JP2008085847A (en) | Mobile electronic apparatus, catalogue image displaying method in mobile electronic apparatus, and program | |
JP2005151484A (en) | Mobile terminal and its display method | |
JP4869710B2 (en) | Portable terminal device and image display method | |
JP2008199108A (en) | Information processing apparatus | |
JP2010004545A (en) | Mobile radio terminal device | |
JP4341366B2 (en) | Communication terminal device and file reproduction program | |
JP4095387B2 (en) | Mobile terminal device | |
JP2009027578A (en) | Information reproduction apparatus and method | |
JP2006135896A (en) | Contents reproducing apparatus and reproduction control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070213 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080912 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080924 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081125 |
|
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: 20081216 |
|
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: 20090115 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120123 Year of fee payment: 3 |
|
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: 20120123 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130123 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140123 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |