JP2016021666A - Mobile terminal device, sound reproduction method, and sound reproduction program - Google Patents
Mobile terminal device, sound reproduction method, and sound reproduction program Download PDFInfo
- Publication number
- JP2016021666A JP2016021666A JP2014144574A JP2014144574A JP2016021666A JP 2016021666 A JP2016021666 A JP 2016021666A JP 2014144574 A JP2014144574 A JP 2014144574A JP 2014144574 A JP2014144574 A JP 2014144574A JP 2016021666 A JP2016021666 A JP 2016021666A
- Authority
- JP
- Japan
- Prior art keywords
- processor
- processing
- transfer
- terminal device
- executes
- 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.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
Description
本発明は、携帯端末装置、音声再生方法および音声再生プログラムに関する。 The present invention relates to a mobile terminal device, an audio reproduction method, and an audio reproduction program.
近年の携帯端末は、通信や通話などの基本機能の処理を実行する無線処理用のプロセッサとは別に、ディスプレイ表示やタッチ・キー入力、オーディオ再生、その他のマルチメディア機能の処理を実行するアプリケーション用のプロセッサを搭載することが一般的となっている。 In recent years, mobile terminals are used for applications that perform processing of display functions, touch key input, audio playback, and other multimedia functions, in addition to processors for wireless processing that perform basic functions such as communication and telephone calls. It is common to install the processor.
アプリケーション用のプロセッサは、外部記憶媒体等からオーディオデータを読み出して再生するが、携帯端末の内部メモリやコーデック用のデータバッファの容量が限られていることから、1曲分のデータを読み出して格納させておくことができない。このため、アプリケーション用のプロセッサは、オーディオの再生データを定期的に読み出して、コーデック用のデータバッファ等に転送することで、オーディオを途切らすことなく再生する。 The application processor reads and reproduces audio data from an external storage medium or the like. However, the capacity of the internal memory of the mobile terminal and the data buffer for the codec is limited, so that data for one song is read and stored. I can't let you. For this reason, the application processor reads audio reproduction data periodically and transfers it to a codec data buffer or the like, thereby reproducing the audio without interruption.
しかしながら、アプリケーション用のプロセッサは、携帯端末がスリープ状態に遷移した場合に同様にスリープ状態に移行し停止するが、オーディオが再生中の期間は、定期的に起動してオーディオの再生データを転送する。つまり、携帯端末がスリープ状態のとき、アプリケーション用のプロセッサが起動と停止を繰り返すので、電力の消費量が多い。 However, the processor for the application similarly enters the sleep state and stops when the portable terminal transits to the sleep state. However, during the period when the audio is being reproduced, the processor for the application is periodically activated to transfer the reproduction data of the audio. . That is, when the portable terminal is in the sleep state, the application processor repeatedly starts and stops, so that power consumption is large.
1つの側面では、消費電力を抑制することができる携帯端末装置、音声再生方法および音声再生プログラムを提供することを目的とする。 An object of one aspect is to provide a mobile terminal device, an audio reproduction method, and an audio reproduction program that can reduce power consumption.
第1の案では、携帯端末装置は、アプリケーションに関する処理を実行する第1のプロセッサと、無線通信の制御状態を監視する監視処理を所定の間隔で実行する第2のプロセッサとを有する。前記第1のプロセッサは、所定の記憶部から音声の再生データを読み出して前記音声を再生する再生処理部に転送する転送処理以外の他処理を実行していない場合、前記転送処理の実行を前記第2のプロセッサに要求する。前記第2のプロセッサは、前記第1のプロセッサから要求された前記転送処理を、前記監視処理と同期させて実行する。 In the first plan, the mobile terminal device includes a first processor that executes processing relating to an application, and a second processor that executes monitoring processing for monitoring a control state of wireless communication at predetermined intervals. When the first processor does not execute any other process other than the transfer process of reading audio reproduction data from a predetermined storage unit and transferring it to a reproduction processing unit for reproducing the audio, the first processor executes the transfer process. Request to second processor. The second processor executes the transfer process requested by the first processor in synchronization with the monitoring process.
1実施形態によれば、消費電力を抑制することができる。 According to one embodiment, power consumption can be suppressed.
以下に、本願の開示する携帯端末装置、音声再生方法および音声再生プログラムの実施例を図面に基づいて詳細に説明する。なお、この実施例によりこの発明が限定されるものではない。 Hereinafter, embodiments of a mobile terminal device, an audio reproducing method, and an audio reproducing program disclosed in the present application will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
[携帯端末装置の動作]
図1は、実施例1に係る携帯端末装置を説明する図である。図1に示す携帯端末装置10は、アプリケーションに関する処理を実行する第1のプロセッサと、無線通信に関する処理を実行する第2のプロセッサとを有する無線通信装置であり、例えばスマートフォンや携帯電話などである。
[Operation of mobile terminal device]
FIG. 1 is a diagram illustrating the mobile terminal device according to the first embodiment. A
以下では、第1のプロセッサをACPU(Application Central Processing Unit)と記載する場合があり、第2のプロセッサをCCPU(Communication Central Processing Unit)と記載する場合がある。 Hereinafter, the first processor may be described as an ACPU (Application Central Processing Unit), and the second processor may be described as a CCPU (Communication Central Processing Unit).
例えば、ACPUは、音楽などの音声の再生ファイルの再生、ゲーム、メールなどのアプリケーションを実行する。CCPUは、発着信処理や音声通話、データ通信などの無線通信に関する処理を実行する。また、CCPUは、通話処理やデータ通信を実行していない待機状態において、無線通信の制御状態を監視する監視処理を所定の間隔で実行する。例えば、CCPUは、携帯端末装置10がスリープ状態のとき、着信の有無や電波状況などを定期的に監視する動作(以下、無線間欠周期動作と記載する場合がある)を実行する。
For example, the ACPU executes applications such as reproduction of audio reproduction files such as music, games, and mail. The CCPU executes processing related to wireless communication such as outgoing / incoming processing, voice call, and data communication. In addition, the CCPU executes a monitoring process for monitoring the control state of the wireless communication at a predetermined interval in a standby state where the call process and the data communication are not performed. For example, when the
図1に示すように、携帯端末装置10において、CCPUが定期監視をしているスリープ状態で、ユーザ操作により音楽再生が指示されると、ACPUが外部メモリから音楽の再生データを読み出して音楽を再生するコーデック部に転送する。このようにして、携帯端末装置10は、音楽の再生を実行する。
As shown in FIG. 1, in the
そして、ACPUは、音楽の再生データを転送する転送処理以外の他処理を実行していない場合、転送処理の実行をCCPUに要求し、CCPUは、ACPUから要求された転送処理を、無線間欠周期動作と同期させて実行する。また、CCPUが転送処理の実行を開始すると、ACPUはスリープ状態に移行し、携帯端末装置10はスリープ状態に遷移する。一方で、ACPUは、再生データの転送処理以外の他処理を実行している場合、周期的に転送処理を実行する。
Then, when the ACPU is not executing any process other than the transfer process for transferring the music reproduction data, the ACPU requests the CCPU to execute the transfer process, and the CCPU performs the transfer process requested from the ACPU by the wireless intermittent period. Execute in synchronization with the operation. When the CCPU starts executing the transfer process, the ACPU shifts to the sleep state, and the
このように、携帯端末装置10は、ACPUの処理が音楽データの転送以外にないスリープ状態の時、CCPUが、無線状態を定期監視する処理に同期させ、ACPUに代わって音楽データの転送を実行する。つまり、ACPUの処理タスクが音楽転送タスク以外にない場合、ACPUの音楽転送タスクをCCPUに移管する。この結果、消費電力を抑制することができる。なお、本実施例では音声の一態様として音楽を例示するが、これに限定されない。すなわち、録音された音であれば、例えば人の声や自然音、着信音、アラーム音等であってもよい。
As described above, when the
[携帯端末装置の構成]
図2は、携帯端末装置のハードウェア構成例を示す図である。図2に示すように、携帯端末装置10は、外部メモリ11、CCPU12、RF(Radio Frequency)部13、電源管理部14、ACPU15、共有メモリ16、バッファ17、DSP(Digital Signal Processor)18、変換部19、出力部20を有する。なお、ここで示したハードウェアは、あくまで例示であり、図示したもの以外にも例えばタッチパネルやハードディスクなどを有してもよい。
[Configuration of mobile terminal device]
FIG. 2 is a diagram illustrating a hardware configuration example of the mobile terminal device. As shown in FIG. 2, the
外部メモリ11は、音楽などの音声の再生ファイルを記憶する記憶装置であり、例えばメモリースティックやSDカードなどである。なお、本実施例では、外部メモリに再生ファイルが記憶されている例を説明するが、これに限定されるものではなく、携帯端末装置10内のメモリ等に保存される再生ファイルについても同様に処理することができる。
The external memory 11 is a storage device that stores a reproduction file of sound such as music, and is, for example, a memory stick or an SD card. In this embodiment, an example in which a playback file is stored in the external memory will be described. However, the present invention is not limited to this, and the playback file stored in the memory or the like in the
CCPU12は、無線通信に関する処理を実行するプロセッサの一例である。具体的には、CCPU12は、ベースバンド処理、着信処理や発信処理、基地局からの制御情報の受信処理、基地局への制御情報の送信処理、ハンドオーバー制御などの無線通信に関する全体的な処理を実行する。 The CCPU 12 is an example of a processor that executes processing related to wireless communication. Specifically, the CCPU 12 performs overall processing relating to wireless communication such as baseband processing, incoming processing and outgoing processing, control information reception processing from the base station, control information transmission processing to the base station, and handover control. Execute.
また、CCPU12は、携帯端末装置10がスリープ状態のとき、着信の有無や電波状況などを定期的に監視する無線間欠周期動作を実行する。このときに、CCPU12は、ACPU15から再生データの転送処理を移管されている場合、無線間欠周期動作と同期させて、再生データの転送処理を実行する。さらに、CCPU12は、再生データの転送処理が移管されている状態で、着信などの無線処理が発生した場合、再生データの転送処理をACPU15に移管させる。なお、再生データの転送処理の詳細は後述する。
In addition, when the
RF部13は、アンテナ13aを介して、データの送受信を実行する。電源管理部14は、携帯端末装置10の電源を管理する。具体的には、電源管理部14は、ハードウェアごとに電源管理を実行でき、例えば、ACPU15がいずれの処理も実行しておらずスリープ状態の場合、ACPU15への電力供給を抑制する。
The RF unit 13 transmits and receives data via the
また、電源管理部14は、ACPU15への電源供給を停止している状態で、アプリケーション等が起動された場合、ACPU15への電源供給を再開する。例えば、電源管理部14は、タッチパネル等がアプリケーションの起動指示を受け付けたり、タッチパネル等が音楽の再生や停止等の指示を受け付けたりすると、ACPU15への電源供給を再開する。
The power management unit 14 resumes power supply to the
ACPU15は、アプリケーションに関する処理を実行するプロセッサの一例である。例えば、ACPU15は、音楽などの音声の再生ファイルの再生中は再生データの転送処理を実行する。なお、ここで転送される再生データの流れは、CCPU12が実行する場合と同じである。
The
例えば、ACPU15は、所定数の再生データを外部メモリ11から読み出して共有メモリ16に格納する。その後、ACPU15は、例えば5秒間隔などの所定間隔で、共有メモリ16から再生データを読み出してバッファ17に転送する。このとき、外部メモリ11から共有メモリ16へ転送するデータ量は、共有メモリ16の空き容量によって動的に変化し、同様に、共有メモリ16からバッファ17へ転送するデータ量は、バッファ17の空き容量によって動的に変化する。
For example, the
このようなACPU15は、再生データの転送処理以外の他処理を実行していない場合、すなわち転送処理以外のタスクが存在しない場合、CCPU12に転送処理を移管する。このとき、ACPU15は、どこまで再生データの転送が完了しているかを示す再生管理情報を共有メモリ16に格納する。そして、ACPU15は、電源管理部14にタスクがないことを通知してスリープ状態に遷移して、電源供給の抑制を要求する。
The
また、ACPU15は、スリープ状態で電源供給が停止された状態の時に、ユーザ操作の検出等を契機に、電源管理部14から電源供給が再開されスリープ状態から解除されると、CCPU12が実行する転送処理を中止させて、転送処理の実行を開始する。つまり、ACPU15は、電源供給の再開に伴って、CCPU12から転送処理を移管し、CCPU12が共有メモリ16に格納した再生管理情報にしたがって再生データの転送を再開する。例えば、ACPU15は、再生管理情報が4の場合、5番目の再生データを共有メモリ16から読み出してバッファ17へ転送する。
In addition, when the power supply is stopped in the sleep state, the
共有メモリ16は、CCPU12およびACPU15からアクセス可能な共有の記憶装置であり、外部メモリ11から転送された再生データを一時的に記憶する。また、共有メモリ16は、いずれかのCPUが格納した再生管理情報を記憶する。この再生管理情報には、外部メモリ11の次読出しポインタ、共有メモリ16の次読出しポインタ、共有メモリ16の残データ情報などが含まれる。
The shared memory 16 is a shared storage device that can be accessed from the
バッファ17は、再生データを記憶する記憶装置であり、後述するDSP18によって読み出される再生データを記憶する。DSP18は、バッファ17から再生データを読み出してデコード処理を実行し、変換部19に出力する。
The buffer 17 is a storage device that stores reproduction data, and stores reproduction data read by the
変換部19は、デコード処理された再生データを、デジタル信号からアナログ信号に変換して出力部20へ出力する。出力部20は、変換部19から入力された音声信号を出力する出力装置であり、例えばスピーカやイヤホンなどである。
The
[データ転送の例]
図3は、データ転送を説明する図である。ここでは、一例として、ACPU15が転送処理を実行する例で説明する。なお、ここで説明する外部メモリ11から共有メモリ16への再生データの転送処理および共有メモリ16からバッファ17への再生データの転送処理が、実施例で説明する転送処理に該当する。
[Example of data transfer]
FIG. 3 is a diagram for explaining data transfer. Here, as an example, an example in which the
図3に示すように、外部メモリ11には、再生データ1から再生データnで構成されるオーディオファイル(nは任意の自然数)が格納されている。この状態で、ACPU15は、オーディオの再生アプリを起動すると、共有メモリ16の空き状況に応じたデータ数(図3では4つのデータ)を外部メモリ11から読み出して、共有メモリ16に格納する。このとき、ACPU15は、外部メモリ11から再生データ4までを読み込んだことを示す情報を再生管理情報に格納する。なお、その後は、ACPU15は、共有メモリ16の空き状況に合わせて、数個の再生データを外部メモリ11から共有メモリ16に転送する。
As shown in FIG. 3, the external memory 11 stores an audio file (n is an arbitrary natural number) composed of
その後、ACPU15は、予め定められた周期もしくは、バッファ17の残量が一定値以下になった場合にバッファ17の空き状況を確認し、確認した空き状況に応じた数の再生データを共有メモリ16から読み出して、バッファ17へ格納する。そして、ACPU15は、共有メモリ16からバッファ17への転送が完了した最後の再生データを特定する情報を再生管理情報に格納する。
Thereafter, the
[状態遷移]
次に、携帯端末装置10の音楽再生に関する状態遷移について説明する。図4は、状態遷移を説明する図である。図4に示すように、状態0では、携帯端末装置10は、音楽再生が停止状態である。この状態0から音楽の再生指示を受け付けると、携帯端末装置10は状態1に遷移する。
[State transition]
Next, the state transition regarding the music reproduction of the portable
状態1は、音楽再生中であり、ACPU15が音楽の再生データの転送処理を実行する状態である。この状態1から、ACPU15が実行するタスクが転送処理以外にない場合、携帯端末装置10は状態2に遷移する。また、この状態1から、音楽再生が終了すると、携帯端末装置10は状態0に遷移する。
状態2は、音楽再生中であり、CCPU12が、無線間欠周期動作と同期させて実行する、再生データの転送処理を実行する状態である。この状態2から、ACPU15が実行する他タスクが発生した場合やCCPU12が通話などの処理を開始した場合、携帯端末装置10は状態1に遷移する。
[ACPUの処理]
図5は、ACPUが実行する処理の流れを示すフローチャートである。図5に示すように、ACPU15は、オーディオ再生操作を受け付けると(S101:Yes)、オーディオ再生処理を開始する(S102)。
[ACPU processing]
FIG. 5 is a flowchart showing the flow of processing executed by the ACPU. As shown in FIG. 5, when the
そして、ACPU15は、オーディオ再生処理以外に他の処理がある場合(S103:Yes)、予め定めた周期に到達すると、オーディオの再生データの転送処理を実行し(S104)、転送した情報を管理するバッファ情報を更新する(S105)。なお、バッファ情報は、ACPU15内で転送した情報を管理する情報であり、ACPU15内の内部メモリ等で管理される。
When there is another process other than the audio playback process (S103: Yes), the
一方、ACPU15は、オーディオ再生処理以外に他の処理がない場合(S103:No)、バッファ情報の情報で共有メモリ16の再生管理情報を更新する(S106)。そして、ACPU15は、CCPU12へ再生データの転送処理の移管を通知し(S107)、スリープ状態に遷移する(S108)。
On the other hand, when there is no other process other than the audio playback process (S103: No), the
その後、ACPU15は、CCPU12から転送処理の実行要求を受信、または、オーディ再生アプリケーション以外の他アプリケーションに関する他処理の実行を開始すると(S109:Yes)、共有メモリ16の再生管理情報を取得する(S110)。
Thereafter, when the
そして、ACPU15は、予め定めた周期に到達すると、取得した再生管理情報にしたがって、再生データの転送処理を実行する(S111)。
When the
[CCPUの処理]
図6は、CCPUが実行する処理の流れを示すフローチャートである。図6に示すように、CCPU12は、ACPU15から再生データの転送処理の実行要求を受信すると、つまり転送処理の移管が実行されると(S201:Yes)、無線間欠周期動作が可能か否かを判定する(S202)。具体的には、CCPU12は、通話処理などの無線通信等の処理が発生していないかを判定する。
[CCPU processing]
FIG. 6 is a flowchart showing a flow of processing executed by the CCPU. As shown in FIG. 6, when the
そして、CCPU12は、無線間欠周期動作が不可能な場合(S202:No)、ACPU15に対して、再生データの転送処理の実行が不可能であることを通知する(S203)。
When the wireless intermittent operation is impossible (S202: No), the
一方、CCPU12は、無線間欠周期動作が可能な場合(S202:Yes)、共有メモリ16の再生管理情報を取得し(S204)、取得した再生管理情報にしたがって、再生データの転送処理を実行する(S205)。その後、CCPU12は、CCPU12内で転送した情報を管理する、CCPU12内のバッファ情報を更新する(S206)。
On the other hand, when the wireless intermittent operation is possible (S202: Yes), the
その後、CCPU12は、無線通信等の処理が発生すると(S207:Yes)、バッファ情報の情報で共有メモリ16の再生管理情報を更新し(S208)、ACPU15に転送処理の処理移管を通知する(S209)。そして、CCPU12は、発生した無線通信等を実行する(S210)。
Thereafter, when processing such as wireless communication occurs (S207: Yes), the
[処理シーケンス]
次に、図4に示した状態1から状態2への処理シーケンスと、状態2から状態1への処理シーケンスについて説明する。
[Processing sequence]
Next, the processing sequence from
(シーケンス1)
図7は、状態1から状態2への遷移を示す処理シーケンス図である。図7に示すように、携帯端末装置10内では音楽再生中であり(S301)、ACPU15は、再送データの転送処理を実行中であり(S302)、CCPU12は、無線間欠周期動作を実行中である(S303)。
(Sequence 1)
FIG. 7 is a processing sequence diagram showing a transition from
このような状態において、ACPU15は、転送処理以外に他の処理がないことを検出すると(S304)、処理移管の問い合わせをCCPU12に送信する(S305とS306)。
In such a state, when the
この問い合わせを受けたCCPU12が処理移管の可能通知をACPU15へ送信すると(S307とS308)、ACPU15は、共有メモリ16の再生管理情報を更新する(S309とS310)。
Upon receiving this inquiry, the
その後、ACPU15は、CCPU12に転送処理の実行を要求し(S311とS312)、CCPU12は、処理の移管を認識する(S313)。すると、CCPU12は、共有メモリ16の再生管理情報を取得する(S314とS315)。
Thereafter, the
続いて、CCPU12は、転送処理の移管の完了通知をACPU15に送信する(S316とS317)。すると、ACPU15は、制御を停止してスリープ状態に移行する(S318)。また、CCPU12は、無線間欠周期動作に同期させて、再生データの転送を実行する(S319)。このようにして、携帯端末装置10は、引き続き音楽を再生する(S320)。
Subsequently, the
(シーケンス2)
図8は、状態2から状態1への遷移を示す処理シーケンス図である。図8に示すように、携帯端末装置10内では音楽再生中であり(S401)、ACPU15は、スリープ状態であり(S402)、CCPU12は、無線間欠周期動作に同期させて、再生データの転送処理を実行中である(S403)。
(Sequence 2)
FIG. 8 is a processing sequence diagram showing a transition from
このような状態において、CCPU12は、無線通信が発生すると(S404)、電源管理部14を介してACPU15を起動して(S405からS407)、処理移管の問い合わせをACPU15に送信する(S408とS409)。
In such a state, when wireless communication occurs (S404), the
この問い合わせを受けたACPU15が処理移管の可能通知をCCPU12へ送信すると(S410とS411)、CCPU12は、共有メモリ16の再生管理情報を更新する(S412とS413)。
Upon receiving this inquiry, the
その後、CCPU12は、ACPU15に転送処理の実行を要求し(S414とS415)、発生した無線通信を実行する(S416)。一方、ACPU15は、処理の移管を認識すると(S417)、共有メモリ16の再生管理情報を取得する(S418とS419)。
Thereafter, the
続いて、ACPU15は、転送処理の移管の完了通知をCCPU12に送信する(S420とS421)。その後、ACPU15は、再生データの転送を実行する(S422)。このようにして、携帯端末装置10は、引き続き音楽を再生する(S423)。
Subsequently, the
なお、上述したフローチャートやシーケンス図は、1回の転送処理を実行する例を説明しているが、これは説明上簡略化したものであり、通常、上記処理は繰り返して実行される。また、各CPUは、転送処理を周期的に繰り返して実行する。このため、ACPU15は、次の転送処理の実行前にタスクがなくなると、CCPU12へ処理を移管し、次の転送処理からCCPU12が実行することになる。同様に、CCPU12は、次の転送処理の実行前に無線通信等を発生すると、ACPU15へ処理を移管し、次の転送処理からACPU15が実行することになる。
Note that although the above-described flowcharts and sequence diagrams describe an example in which one transfer process is executed, this is simplified for the sake of explanation, and the above process is normally executed repeatedly. Each CPU repeatedly executes the transfer process periodically. For this reason, when there is no task before the next transfer process is executed, the
[効果]
図9は、従来の消費電力を説明する図である。図9に示すように、通常、CCPU12が実行する無線間欠周期動作の間欠周期とACUP15が実行する再生データ転送の転送周期とは非同期である。なお、間欠周期の方が転送周期よりも周期が短い。例えば、間欠周期は、例えば2.5秒間隔であり、転送周期は、例えば4秒間隔などである。したがって、消費電力は、間欠周期ごとの監視処理にかかるCCPU12の消費電力と、転送周期ごとの転送処理にかかるACPU15の消費電力との合計となる。
[effect]
FIG. 9 is a diagram for explaining conventional power consumption. As shown in FIG. 9, the intermittent cycle of the wireless intermittent cycle operation normally performed by the
一方、図10は、消費電力の削減ができることを説明する図である。この図10は、CCPU12が転送処理を実行することで、消費電力が削減できることを示す。具体的には、通常、CCPU12の間欠周期とACUP15の転送周期とは非同期であるが、図10では、CCPU12が間欠周期に同期させて転送処理を実行する。したがって、消費電力は、間欠周期ごとの監視処理および転送処理にかかるCCPU12の消費電力のみとなる。つまり、最も消費電力が多いACPU15の転送処理にかかる起動/停止を抑制することができるので、上述した手法は、従来に比べて、消費電力を削減することができる。
On the other hand, FIG. 10 is a diagram illustrating that power consumption can be reduced. FIG. 10 shows that the power consumption can be reduced by the
また、CCPU12が自身の処理と同期してオーディオ再生のデータ転送を行うので、従来アプリケーション制御が必要だった期間、ACPU15を停止し、低電力化を実現できる。また、状態に応じて、従来処理も可能であり、各CPUの性能を考慮して最適な手法を選択することができる。
In addition, since the
また、CCPU12が通話処理などの通信処理、電波が圏外になったために定期的に電波の検出等を実行する圏外処理などを実行した場合、ACPU15に再生データの転送処理を再度移管するので、通話処理の処理遅延や音楽の再生異常などの発生を抑制できる。CCPU15に処理移管中であり、ACPU15が停止中であっても、音楽の停止、早送り、巻き戻し、別の音楽の再生指示、他アプリケーションの起動などが発生した場合、ACPU15を起動させる。このため、ACPU15が、遅滞なく、要求された処理を実行することができる。
In addition, when the
さて、これまで本発明の実施例について説明したが、本発明は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。 Although the embodiments of the present invention have been described so far, the present invention may be implemented in various different forms other than the embodiments described above.
[再移管の契機]
上記実施例では、CCPU12に転送処理移管中に、ACPU15において他のアプリケーションの処理の実行が要求された場合、ACPU15に再度処理移管する例を説明したが、これに限定されるものではない。例えば、ACPU15は、他のアプリケーションの処理が一定時間継続して発生している場合に、CCPU12に、処理移管を要求することもできる。このようにすることで、処理移管の多発を抑制でき、処理移管の多発による遅延や負荷の増大を抑制できる。
[When to re-transfer]
In the above embodiment, when the
[システム]
また、図示した装置の各構成は、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、任意の単位で分散または統合して構成することができる。さらに、各装置にて行なわれる各処理機能は、その全部または任意の一部が、CPUおよび当該CPUにて解析実行されるプログラムにて実現され、あるいは、ワイヤードロジックによるハードウェアとして実現され得る。
[system]
Further, each configuration of the illustrated apparatus does not necessarily need to be physically configured as illustrated. That is, it can be configured to be distributed or integrated in arbitrary units. Further, all or any part of each processing function performed in each device may be realized by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware by wired logic.
また、本実施例において説明した各処理のうち、自動的におこなわれるものとして説明した処理の全部または一部を手動的におこなうこともでき、あるいは、手動的におこなわれるものとして説明した処理の全部または一部を公知の方法で自動的におこなうこともできる。この他、上記文書中や図面中で示した処理手順、制御手順、具体的名称、各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。 In addition, among the processes described in this embodiment, all or part of the processes described as being performed automatically can be performed manually, or the processes described as being performed manually can be performed. All or a part can be automatically performed by a known method. In addition, the processing procedure, control procedure, specific name, and information including various data and parameters shown in the above-described document and drawings can be arbitrarily changed unless otherwise specified.
なお、本実施例で説明した携帯端末装置10は、音声再生プログラムを読み込んで実行することで、上記実施例で説明した処理と同様の機能を実行することができる。例えば、携帯端末装置10は、音声再生プログラムをメモリに展開して実行することで、上記フローチャートやシーケンス図で説明した各種処理と同様の処理を実行することができる。
Note that the mobile
このプログラムは、インターネットなどのネットワークを介して配布することができる。また、このプログラムは、ハードディスク、フレキシブルディスク(FD)、CD−ROM、MO、DVDなどのコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行することができる。 This program can be distributed via a network such as the Internet. The program can be executed by being recorded on a computer-readable recording medium such as a hard disk, a flexible disk (FD), a CD-ROM, an MO, and a DVD, and being read from the recording medium by the computer.
10 携帯端末装置
11 外部メモリ
12 CCPU
13 RF部
13a アンテナ
14 電源管理部
15 ACPU
16 共有メモリ
17 バッファ
18 DSP
19 変換部
20 出力部
10 mobile terminal device 11
13
16 shared memory 17
19
Claims (8)
無線通信の制御状態を監視する監視処理を所定の間隔で実行する第2のプロセッサとを有し、
前記第1のプロセッサは、
所定の記憶部から音声の再生データを読み出して前記音声を再生する再生処理部に転送する転送処理以外の他処理を実行していない場合、前記転送処理の実行を前記第2のプロセッサに要求し、
前記第2のプロセッサは、
前記第1のプロセッサから要求された前記転送処理を、前記監視処理と同期させて実行する
ことを特徴とする携帯端末装置。 A first processor that executes processing relating to an application;
A second processor that executes a monitoring process for monitoring a control state of wireless communication at a predetermined interval;
The first processor is
When no other processing is executed other than the transfer processing for reading the audio reproduction data from the predetermined storage unit and transferring it to the reproduction processing unit for reproducing the audio, the second processor is requested to execute the transfer processing. ,
The second processor is
The portable terminal device, wherein the transfer process requested by the first processor is executed in synchronization with the monitoring process.
前記第1のプロセッサは、前記第2のプロセッサから要求された前記転送処理を、所定の周期で実行することを特徴とする請求項1に記載の携帯端末装置。 When the second processor starts executing out-of-service processing or call processing, the second processor requests the first processor to execute the transfer processing;
The portable terminal device according to claim 1, wherein the first processor executes the transfer process requested by the second processor at a predetermined cycle.
前記第1のプロセッサが、
所定の記憶部から音声の再生データを読み出して前記音声を再生する再生処理部に転送する転送処理以外の他処理を実行していない場合、前記転送処理の実行を前記第2のプロセッサに要求し、
前記第2のプロセッサが、
前記第1のプロセッサから要求された前記転送処理を、前記監視処理と同期させて実行する
処理を含んだことを特徴とする音声再生方法。 In a portable terminal device having a first processor that executes processing related to an application and a second processor that executes monitoring processing for monitoring a control state of wireless communication at a predetermined interval,
The first processor comprises:
When no other processing is executed other than the transfer processing for reading the audio reproduction data from the predetermined storage unit and transferring it to the reproduction processing unit for reproducing the audio, the second processor is requested to execute the transfer processing. ,
The second processor comprises:
An audio reproduction method comprising: a process of executing the transfer process requested by the first processor in synchronization with the monitoring process.
前記第1のプロセッサに、
所定の記憶部から音声の再生データを読み出して前記音声を再生する再生処理部に転送する転送処理以外の他処理を実行していない場合、前記転送処理の実行を前記第2のプロセッサに要求し、
前記第2のプロセッサに、
前記第1のプロセッサから要求された前記転送処理を、前記監視処理と同期させて実行する
処理を実行させることを特徴とする音声再生プログラム。 In a portable terminal device having a first processor that executes processing related to an application and a second processor that executes monitoring processing for monitoring a control state of wireless communication at a predetermined interval,
In the first processor,
When no other processing is executed other than the transfer processing for reading the audio reproduction data from the predetermined storage unit and transferring it to the reproduction processing unit for reproducing the audio, the second processor is requested to execute the transfer processing. ,
In the second processor,
An audio reproduction program for executing a process of executing the transfer process requested by the first processor in synchronization with the monitoring process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014144574A JP2016021666A (en) | 2014-07-14 | 2014-07-14 | Mobile terminal device, sound reproduction method, and sound reproduction program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014144574A JP2016021666A (en) | 2014-07-14 | 2014-07-14 | Mobile terminal device, sound reproduction method, and sound reproduction program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2016021666A true JP2016021666A (en) | 2016-02-04 |
Family
ID=55266255
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014144574A Pending JP2016021666A (en) | 2014-07-14 | 2014-07-14 | Mobile terminal device, sound reproduction method, and sound reproduction program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2016021666A (en) |
-
2014
- 2014-07-14 JP JP2014144574A patent/JP2016021666A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8588849B2 (en) | System and method for resuming media | |
KR101668786B1 (en) | Processing method, device, program and recording medium for application program | |
CN109274405B (en) | Data transmission method and device, electronic equipment and computer readable medium | |
US11310646B2 (en) | Bluetooth-based playback method and electronic device | |
US10334118B2 (en) | Method and system for providing video multimedia ringtone | |
TW201135598A (en) | A system and method for controlling interruption of a process in electronic equipment based on priority of the process, and program | |
KR20130111749A (en) | Method for interworing with dummy device and an electronic device thereof | |
US20160320755A1 (en) | Wireless music system and method for setting alarm clock of wireless music system | |
KR20140100909A (en) | Systems and methods for providing safe confluence modality | |
CN113573172A (en) | Dual-device audio playing method and device, electronic device and storage medium | |
JP2019185771A (en) | Method, device for processing data of bluetooth speaker, and bluetooth speaker | |
US11388673B2 (en) | Control method and device | |
JP5899161B2 (en) | Terminal device, notification output method, and notification output program | |
US20170013118A1 (en) | Electronic device and notification method thereof | |
US20100016017A1 (en) | Power saving mobile phone and method thereof | |
JP2016021666A (en) | Mobile terminal device, sound reproduction method, and sound reproduction program | |
US20150289168A1 (en) | User experiences during call handovers on a hybrid telecommunications network | |
CN106210325B (en) | Method, device and terminal for setting incoming call ringtone of social application | |
JP2016524842A (en) | Voice talk control method for portable terminal | |
US20090240842A1 (en) | Portable electronic apparatus | |
CN113760219A (en) | Information processing method and device | |
CN113423007A (en) | Control method and device for multi-audio playing, electronic equipment and storage medium | |
KR101945174B1 (en) | Program Stored in Recording Medium for Supporting Automatic Response Service | |
JP2014049811A (en) | Terminal device, method, program and radio communication system | |
US11409680B2 (en) | Method of operating audio subsystem for USB module, system-on-chip performing the same and method of operating system-on-chip using the same |