JP2011018272A - Terminal device and program - Google Patents

Terminal device and program Download PDF

Info

Publication number
JP2011018272A
JP2011018272A JP2009163605A JP2009163605A JP2011018272A JP 2011018272 A JP2011018272 A JP 2011018272A JP 2009163605 A JP2009163605 A JP 2009163605A JP 2009163605 A JP2009163605 A JP 2009163605A JP 2011018272 A JP2011018272 A JP 2011018272A
Authority
JP
Japan
Prior art keywords
posture
application
control
unit
storage
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
Application number
JP2009163605A
Other languages
Japanese (ja)
Inventor
Keiichi Sakai
敬一 酒井
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.)
NEC Casio Mobile Communications Ltd
Original Assignee
NEC Casio Mobile Communications Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Casio Mobile Communications Ltd filed Critical NEC Casio Mobile Communications Ltd
Priority to JP2009163605A priority Critical patent/JP2011018272A/en
Publication of JP2011018272A publication Critical patent/JP2011018272A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a terminal device properly controlling operation of an application according to an attitude of the terminal device itself.SOLUTION: In a cellphone 10, while an attitude change is small and while the cellphone 10 satisfies a storage condition or an update condition designated by a user, a latest attitude generated by associating the attitude (a parameter representing the attitude) detected by an attitude detection part 110 in each prescribed period and present time is set as a reference attitude, or the latest attitude is updated to the reference attitude. When the attitude change becomes large and the cellphone 10 does not satisfy the storage condition or the update condition designated by the user, and a comparison result between the reference attitude and the latest attitude does not satisfy a control condition, application operation during starting is controlled. Thereafter, when the comparison result between the reference attitude and the latest attitude satisfies the control condition, the control of the application operation is released. Thereby, the operation of the application can be properly controlled according to the attitude of the cellphone 10 itself.

Description

本発明は、アプリケーションの動作を、自装置の姿勢に応じて適切に制御する端末装置およびプログラムに関する。   The present invention relates to a terminal device and a program for appropriately controlling the operation of an application according to the attitude of the device itself.

携帯電話機などの端末装置には、テレビ放送を受信して出力するアプリケーションや動画を再生出力するアプリケーション等、様々な情報出力機能が搭載されることが多い。そうした端末装置では、ユーザの都合でアプリケーションの動作を中断させたり他のアプリケーション動作に切り替えたりする必要が度々起こるが、それをユーザ操作で行うと煩わしさが生じる。そこで近年では、例えば特許文献1に開示の装置のように、表示部の方位とユーザの頭部の方位とを検出し、検出した両方位の比較結果に応じて、自動的にテレビ放送を再生したり録画したりする技術が開発されている。   A terminal device such as a mobile phone is often equipped with various information output functions such as an application for receiving and outputting a television broadcast and an application for reproducing and outputting a moving image. In such a terminal device, it is often necessary to interrupt the operation of the application or switch to another application operation for the convenience of the user. Therefore, in recent years, for example, as in the apparatus disclosed in Patent Document 1, the orientation of the display unit and the orientation of the user's head are detected, and the television broadcast is automatically played back according to the detected comparison result of both positions. Technology to record and record has been developed.

特開2005−275046号公報JP 2005-275046 A

ところで、上記特許文献1に開示の技術では、端末装置の方位とユーザの頭部の方位との比較結果が変化しない限りアプリケーションは同じ処理動作を維持してしまう。具体的には、例えばユーザが椅子に座って端末装置を把持した状態でテレビ放送を受信して出力するアプリケーションを動作させて番組視聴している時に居眠りをし始め、これによりユーザが頭部を前に傾け、かつ把持した端末装置も同じくらい傾いたとする。そうすると、端末装置の方位とユーザの頭部の方位との比較結果は変化しない為、アプリケーションは番組視聴する状態を維持することになる。   By the way, in the technique disclosed in Patent Document 1, the application maintains the same processing operation unless the comparison result between the orientation of the terminal device and the orientation of the user's head changes. Specifically, for example, the user starts to fall asleep when watching a program by operating an application that receives and outputs a television broadcast while sitting on a chair and holding a terminal device. It is assumed that the terminal device that is tilted forward and held is also tilted by the same amount. Then, since the comparison result between the orientation of the terminal device and the orientation of the user's head does not change, the application maintains the program viewing state.

このような状況では、無駄な電池消費を抑える為にテレビ放送を受信して出力するアプリケーションの動作を停止させて電源オフすることが望まれるが、単に端末装置の方位とユーザの頭部の方位との比較結果に応じてアプリケーションの動作を制御する態様では叶わない。つまり換言すれば、自装置の姿勢に応じてアプリケーションの動作を適切に制御することが出来ない、という問題を有する。   In such a situation, it is desirable to stop the operation of the application that receives and outputs the TV broadcast in order to suppress wasteful battery consumption, but it is desirable to simply turn off the terminal device and the user's head. This is not possible in a mode in which the operation of the application is controlled according to the comparison result. In other words, there is a problem that the operation of the application cannot be appropriately controlled according to the posture of the own apparatus.

本発明は、このような事情に鑑みてなされたもので、自装置の姿勢に応じてアプリケーションの動作を適切に制御することができる端末装置およびプログラムを提供することを目的としている。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a terminal device and a program that can appropriately control the operation of an application in accordance with the posture of the device itself.

上記目的を達成するため、請求項1に記載の発明では、所定の機能を提供するアプリケーションを制御する端末装置において、アプリケーションが動作中か否かを判別する動作判別手段と、自装置の姿勢を検出する姿勢検出手段と、前記動作判別手段によってアプリケーションの動作中と判別された場合に、前記姿勢検出手段により検出された姿勢を基準姿勢として記憶手段に記憶する記憶制御手段と、前記姿勢検出手段により検出された姿勢と、前記記憶制御手段により記憶手段に記憶された基準姿勢とを比較する比較手段と、前記比較手段の比較結果に応じて、アプリケーションの動作を制御する動作制御手段とを具備することを特徴とする。   In order to achieve the above object, according to the first aspect of the present invention, in the terminal device that controls the application that provides the predetermined function, the operation determining means that determines whether or not the application is operating, and the attitude of the device itself. A posture detecting means for detecting, a storage control means for storing the posture detected by the posture detecting means in the storage means as a reference posture when the movement determining means determines that the application is operating; and the posture detecting means Comparing means for comparing the posture detected by the storage control means with the reference posture stored in the storage means by the storage control means, and an operation control means for controlling the operation of the application according to the comparison result of the comparing means. It is characterized by doing.

上記請求項1に従属する請求項2に記載の発明では、前記姿勢検出手段により検出された姿勢を基準姿勢として記憶するか否かを判別する記憶判別手段を更に備え、前記記憶制御手段は、前記記憶判別手段によって記憶すると判別された場合に、前記姿勢検出手段により検出された姿勢を基準姿勢として記憶することを特徴とする。   In the invention according to claim 2 subordinate to claim 1, the apparatus further comprises storage determining means for determining whether or not to store the posture detected by the posture detecting means as a reference posture. When it is determined to be stored by the storage determination unit, the posture detected by the posture detection unit is stored as a reference posture.

上記請求項2に従属する請求項3に記載の発明では、前記記憶判別手段は、アプリケーションが動作中であって、検出された姿勢が所定範囲内の姿勢を所定時間継続した場合に、その検出された姿勢を基準姿勢として記憶すると判別することを特徴とする。   In the invention according to claim 3 that is dependent on claim 2, the storage determining means detects when the application is in operation and the detected posture continues within a predetermined range for a predetermined time. It is determined that the determined posture is stored as a reference posture.

上記請求項2に従属する請求項4に記載の発明では、前記記憶判別手段は、アプリケーションが動作中であって、検出された姿勢が予め指定された姿勢の所定範囲内に含まれる場合に、その検出された姿勢を基準姿勢として記憶すると判別することを特徴とする。   In the invention according to claim 4 subordinate to claim 2, the storage determination unit is configured such that when the application is operating and the detected posture is included in a predetermined range of the posture specified in advance. It is determined that the detected posture is stored as a reference posture.

上記請求項1に従属する請求項5に記載の発明では、前記記憶制御手段によって記憶手段に基準姿勢が記憶済みであって、かつ前記比較手段の比較結果が所定の条件を満たす場合に、記憶手段に記憶されている基準姿勢を、前記姿勢検出手段により検出された最新の姿勢に更新する更新手段を更に備えることを特徴とする。   In the invention according to claim 5 that is dependent on claim 1 described above, when the reference posture is already stored in the storage means by the storage control means and the comparison result of the comparison means satisfies a predetermined condition, the storage is performed. The apparatus further comprises updating means for updating the reference attitude stored in the means to the latest attitude detected by the attitude detecting means.

上記請求項5に従属する請求項6に記載の発明では、前記更新手段は、前記姿勢検出手段により検出された最新の姿勢が、基準姿勢に対して所定範囲内である場合に、その最新の姿勢を基準姿勢に更新することを特徴とする。   In the invention according to claim 6 that is dependent on claim 5, the update unit updates the latest posture detected by the posture detection unit when the latest posture is within a predetermined range with respect to a reference posture. The posture is updated to a reference posture.

上記請求項1に従属する請求項7に記載の発明では、前記アプリケーションは、少なくとも表示出力動作する機能又は音声出力動作する機能のいずれか一方を備え、
前記動作制御手段は、前記比較手段による比較の結果、検出された姿勢が記憶されている基準姿勢に対して所定範囲外である場合に、アプリケーションが備える機能の少なくともいずれか一方の動作を停止させることを特徴とする。
In the invention according to claim 7, which is dependent on claim 1, the application includes at least one of a function for performing display output operation and a function for performing sound output operation.
The operation control unit stops the operation of at least one of the functions of the application when the detected posture is out of a predetermined range with respect to the stored reference posture as a result of the comparison by the comparison unit. It is characterized by that.

上記請求項1に従属する請求項8に記載の発明では、前記アプリケーションは、少なくとも生成した情報を表示出力動作する機能又は生成した情報を音声出力動作する機能のいずれか一方を備え、前記動作制御手段は、前記比較手段による比較の結果、検出された姿勢が記憶されている基準姿勢に対して所定範囲外になった場合に、アプリケーションが生成した情報を記憶手段に記録する情報記録制御手段を更に備えることを特徴とする。   In the invention according to claim 8, which is dependent on claim 1, the application includes at least one of a function for performing display output operation of generated information and a function for performing sound output operation of generated information. The means includes an information recording control means for recording the information generated by the application in the storage means when the detected attitude is out of a predetermined range with respect to the stored reference attitude as a result of the comparison by the comparison means. It is further provided with the feature.

上記請求項1に従属する請求項9に記載の発明では、前記動作制御手段によってアプリケーションの動作が制御された後、前記比較手段の比較結果に応じて、当該動作制御手段による制御を解除する解除手段を更に備えることを特徴とする。   In the invention according to claim 9 that is dependent on claim 1, after the operation of the application is controlled by the operation control means, the release by the operation control means is released according to the comparison result of the comparison means. The apparatus further comprises means.

上記請求項1に従属する請求項10に記載の発明では、前記動作制御手段によってアプリケーションの動作が制御されてから所定時間経過後に、アプリケーションの動作を終了する終了手段を更に備えることを特徴とする。   The invention according to claim 10, which is dependent on claim 1, further comprises termination means for terminating the operation of the application after elapse of a predetermined time after the operation of the application is controlled by the operation control means. .

請求項11に記載の発明では、所定の機能を提供するアプリケーションを制御する端末装置に搭載されるコンピュータに、アプリケーションが動作中か否かを判別する動作判別ステップと、自装置の姿勢を検出する姿勢検出ステップと、前記動作判別ステップでアプリケーションの動作中と判別された場合に、前記姿勢検出ステップにて検出された姿勢を基準姿勢として記憶する記憶制御ステップと、前記姿勢検出ステップにて検出された姿勢と、前記記憶制御ステップにより記憶された基準姿勢とを比較する比較ステップと、前記比較ステップでの比較結果に応じて、アプリケーションの動作を制御する動作制御ステップとを実行させることを特徴とする。   In the invention described in claim 11, an operation determining step for determining whether or not the application is operating in a computer mounted on a terminal device that controls an application providing a predetermined function, and detecting the attitude of the device itself A posture control step, and a storage control step for storing the posture detected in the posture detection step as a reference posture when it is determined that the application is operating in the motion determination step; A comparison step of comparing the measured posture with the reference posture stored in the storage control step, and an operation control step of controlling the operation of the application according to a comparison result in the comparison step. To do.

本発明では、自装置の姿勢に応じてアプリケーションの動作を適切に制御することができる。   In the present invention, it is possible to appropriately control the operation of the application according to the attitude of the own device.

実施の一形態による携帯電話10が有する機能の概要を説明する為のシステム構成図である。1 is a system configuration diagram for explaining an overview of functions of a mobile phone 10 according to an embodiment. FIG. 携帯電話10の電気的構成を示すブロック図である。2 is a block diagram showing an electrical configuration of the mobile phone 10. FIG. 記憶部101の記憶条件記憶部101cに記憶される記憶条件データの一例を示す図である。It is a figure which shows an example of the memory | storage condition data memorize | stored in the memory | storage condition memory | storage part 101c of the memory | storage part 101. FIG. 記憶部101の更新条件記憶部101dに記憶される更新条件データの一例を示す図である。It is a figure which shows an example of the update condition data memorize | stored in the update condition memory | storage part 101d of the memory | storage part 101. FIG. 記憶部101の制御条件記憶部101eに記憶される制御条件データの一例を示す図である。It is a figure which shows an example of the control condition data memorize | stored in the control condition memory | storage part 101e of the memory | storage part 101. FIG. 記憶部101の制御内容記憶部101fに記憶される制御内容データの一例を示す図である。It is a figure which shows an example of the control content data memorize | stored in the control content memory | storage part 101f of the memory | storage part 101. FIG. 記憶部101の姿勢情報記憶部101gに記憶される姿勢情報の一例を示す図である。6 is a diagram illustrating an example of posture information stored in a posture information storage unit 101g of the storage unit 101. FIG. 記憶部101の基準姿勢情報記憶部101hに記憶される基準姿勢情報の一例を示す図である。It is a figure which shows an example of the reference | standard attitude | position information memorize | stored in the reference | standard attitude | position information storage part 101h of the memory | storage part 101. FIG. メインルーチンの動作を示すフローチャートである。It is a flowchart which shows operation | movement of a main routine. アプリ処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of an application process. 姿勢判別処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of an attitude | position discrimination | determination process. 基準姿勢記憶処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a reference | standard attitude | position memory | storage process. 基準姿勢更新処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a reference | standard attitude | position update process. 制御判別処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a control discrimination | determination process. テレビアプリ動作中に実行される制御実行処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the control execution process performed during a television application operation | movement. 動作再生アプリ動作中に実行される制御実行処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the control execution process performed during operation | movement reproduction application operation | movement. テレビアプリ動作中に実行される制御解除処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the control cancellation | release process performed during television application operation | movement. 動作再生アプリ動作中に実行される制御解除処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the control cancellation | release process performed during operation | movement reproduction | regeneration application operation | movement.

以下、図面を参照して本発明の実施の形態について説明する。
A.構成
(1)システム構成
図1は、実施の一形態による携帯電話10が備える機能の概要を説明する為のシステム構成図である。携帯電話10は、例えば折り畳み開閉タイプの筐体構造を有し、移動無線通信機能およびメール送受信機能を備える。移動無線通信機能を用いて通話する場合、携帯電話10は、位置登録している基地局BSを介して発信側の交換機SWに発呼する。発信側の交換機SWは、発呼に応じて、無線通信網RN中に設けられる加入者登録サーバ(不図示)から問い合せた着番号(加入者番号)および位置登録情報に基づき着信側の交換機SWを呼出す。着信側の交換機SWは、着信側の基地局BSを介して着信側の携帯電話10(不図示)を呼出し、これに応じて着信側が着呼応答すると、発信側の交換機SWと着信側の交換機SWとのリンクが確立して通話可能になる。
Embodiments of the present invention will be described below with reference to the drawings.
A. Configuration (1) System Configuration FIG. 1 is a system configuration diagram for explaining an overview of functions provided in a mobile phone 10 according to an embodiment. The mobile phone 10 has, for example, a folding open / close type housing structure, and has a mobile radio communication function and a mail transmission / reception function. When a call is made using the mobile radio communication function, the mobile phone 10 makes a call to the originating exchange SW via the registered base station BS. In response to the outgoing call, the originating side exchange SW switches the terminating side exchange SW based on the called party number (subscriber number) and location registration information inquired from a subscriber registration server (not shown) provided in the wireless communication network RN. Call. The called-side exchange SW calls the called-side mobile phone 10 (not shown) via the called-side base station BS, and when the called-side side responds to the incoming call, the calling-side exchange SW and the called-side exchange are exchanged. A link with the SW is established and communication becomes possible.

メール送受信機能を用いて携帯電話10から送信されるメールは、基地局BS、交換機SWおよび無線通信網RN中に設けられるゲートウェイサーバ(不図示)を経てインターネット上のメールサーバ(不図示)に伝送される。メールサーバは、上述とは逆の経路で宛先のメールアドレスを有する携帯電話10にメールを送るようになっている。また、携帯電話10は、移動無線通信機能を用い、基地局BS、交換機SWおよび無線通信網RNを経由してインターネットITN上のコンテンツ配信装置20にアクセスして画像データ(静止画像/動画像)や音楽データなどをダウンロードして取得する。さらに、携帯電話10は、放送局30から送信されるデジタルテレビ放送信号又はデジタルラジオ放送信号を受信して出力する機能を有する。   Mail transmitted from the mobile phone 10 using the mail transmission / reception function is transmitted to a mail server (not shown) on the Internet via a base station BS, an exchange SW, and a gateway server (not shown) provided in the wireless communication network RN. Is done. The mail server is configured to send mail to the mobile phone 10 having the destination mail address through the reverse route. In addition, the mobile phone 10 uses the mobile radio communication function to access the content distribution apparatus 20 on the Internet ITN via the base station BS, the exchange SW, and the radio communication network RN, and image data (still image / moving image). Download and get music data. Furthermore, the mobile phone 10 has a function of receiving and outputting a digital television broadcast signal or a digital radio broadcast signal transmitted from the broadcast station 30.

(2)電気的構成
図2は、携帯電話10の電気的構成を示すブロック図である。この図において、制御部100は、CPUおよび入出力回路などから構成され、後述する操作部106から供給される各種の操作イベントに応じて、携帯電話10の各部の動作を制御する。本発明の要旨に係わる制御部100の特徴的な処理動作については追って詳述する。
(2) Electrical Configuration FIG. 2 is a block diagram showing the electrical configuration of the mobile phone 10. In this figure, a control unit 100 includes a CPU, an input / output circuit, and the like, and controls the operation of each unit of the mobile phone 10 in accordance with various operation events supplied from an operation unit 106 described later. A characteristic processing operation of the control unit 100 according to the gist of the present invention will be described in detail later.

記憶部101は、ROMおよびRAMから構成され、後述の各記憶部101a〜101iを有する。プログラム記憶部101aには、制御部100により実行される各種プログラムや、所定のプログラムにより参照される制御データの他、例えば待受画面などの各種表示画面を形成する画面データが記憶される。   The memory | storage part 101 is comprised from ROM and RAM, and has each memory | storage part 101a-101i mentioned later. The program storage unit 101a stores various programs executed by the control unit 100, control data referred to by a predetermined program, and screen data forming various display screens such as a standby screen.

なお、プログラム記憶部101aに記憶される各種プログラムとは、追って詳述するメインルーチン、アプリ処理、姿勢判別処理、基準姿勢記憶処理、基準姿勢更新処理、制御判別処理、テレビアプリ動作中に実行される制御実行処理、動作再生アプリ動作中に実行される制御実行処理、テレビアプリ動作中に実行される制御解除処理および動作再生アプリ動作中に実行される制御解除処理を含む。   The various programs stored in the program storage unit 101a are executed during the main routine, application process, attitude determination process, reference attitude storage process, reference attitude update process, control determination process, and TV application operation, which will be described in detail later. Control execution processing, control execution processing executed during operation playback application operation, control release processing executed during television application operation, and control release processing executed during operation playback application operation.

各種情報一時記憶部101bには、各種レジスタ・フラグデータや、表示部105に画面表示する画面データなど携帯電話10の動作に必要なデータが一時記憶される。記憶条件記憶部101cには、姿勢検出部110(後述する)により検出される姿勢情報を基準姿勢(後述する)として記憶するための条件を表す記憶条件データが記憶される。記憶条件データは、図3に図示するように、3種類の記憶条件と、これら記憶条件の有効/無効を表す設定フラグとから構成される。   The various information temporary storage unit 101 b temporarily stores various register / flag data and data necessary for the operation of the mobile phone 10 such as screen data displayed on the display unit 105. The storage condition storage unit 101c stores storage condition data representing conditions for storing posture information detected by the posture detection unit 110 (described later) as a reference posture (described later). As shown in FIG. 3, the storage condition data is composed of three types of storage conditions and a setting flag indicating validity / invalidity of these storage conditions.

3種類の記憶条件は、「アプリ動作開始時」、「類似の姿勢が所定時間継続」および「アプリ動作中に所定の姿勢」からなり、これらの内、設定フラグが「1」にセットされた記憶条件が有効となる。「アプリ動作開始時」とは、アプリ動作(テレビ放送受信出力機能や動画再生出力機能)の開始時に、姿勢検出部110により検出される姿勢情報を基準姿勢として記憶することを表す。なお、ここで言うアプリとは、携帯電話10において実行されるアプリケーションを略した呼称である。   The three types of storage conditions consist of “at the start of application operation”, “similar posture continues for a predetermined time”, and “predetermined posture during application operation”, and among these, the setting flag is set to “1” The storage condition becomes effective. “At the time of starting the application operation” represents storing the posture information detected by the posture detection unit 110 as the reference posture at the start of the application operation (television broadcast reception output function or moving image reproduction output function). The application referred to here is an abbreviation for an application executed on the mobile phone 10.

「類似の姿勢が所定時間継続」には、姿勢を表すパラメータの範囲と、その継続時間を表す秒数とが付随する。したがって、「類似の姿勢が所定時間継続」とは、アプリ動作中に検出される姿勢が、継続時間を表す秒数の間、姿勢を表すパラメータの範囲に収まっている場合にその検出された姿勢を基準姿勢として記憶することを表す。   “A similar posture continues for a predetermined time” is accompanied by a range of parameters representing the posture and the number of seconds representing the duration. Therefore, “similar posture continues for a predetermined time” means that the posture detected during the application operation is detected when the posture is within the parameter range representing the posture for the number of seconds representing the duration. Is stored as a reference posture.

「アプリ動作中に所定の姿勢」には、姿勢を表すパラメータと、そのパラメータの範囲とが付随する。したがって、「アプリ動作中に所定の姿勢」とは、アプリ動作中に検出される姿勢が、姿勢を表すパラメータの範囲に収まっている場合にその検出された姿勢を基準姿勢として記憶することを表す。   The “predetermined posture during application operation” is accompanied by a parameter representing the posture and a range of the parameter. Therefore, “predetermined posture during application operation” means that the detected posture is stored as a reference posture when the posture detected during the application operation is within the range of parameters representing the posture. .

なお、図3に図示する一例の記憶条件では、黒太枠で囲まれた内容、すなわち、「類似の姿勢が所定時間継続」および「アプリ動作中に所定の姿勢」にそれぞれ付随する内容と設定フラグとがユーザ設定で変更可能なことを示している。また、図3では、設定フラグの値が「1」の「類似の姿勢が所定時間継続」を有効な記憶条件として指定した一例を図示している。   In the example storage conditions illustrated in FIG. 3, the contents surrounded by black thick frames, that is, the contents and settings associated with “similar posture continues for a predetermined time” and “predetermined posture during application operation”, respectively. The flag indicates that the user setting can be changed. FIG. 3 shows an example in which “similar postures continue for a predetermined time” with a setting flag value “1” is designated as an effective storage condition.

更新条件記憶部101dには、図4に図示するように、基準姿勢の更新の有無を表す更新条件データが記憶される。更新条件データは、更新条件として姿勢を表すパラメータの範囲が設けられた「更新する」と、「更新しない」とを指定する設定フラグから構成される。なお、図4に図示する一例では「更新する」の設定フラグが「1」にセットされているので、姿勢検出部110により検出される姿勢が更新条件(姿勢を表すパラメータの範囲)を満たす場合に、検出された姿勢を基準姿勢に更新することを表す。また、この一例では、黒太枠で囲まれた内容、すなわち、更新条件として「姿勢を表すパラメータの範囲」と設定フラグとがユーザ設定で変更可能なことを示している。   The update condition storage unit 101d stores update condition data indicating whether or not the reference posture is updated as illustrated in FIG. The update condition data includes a setting flag that designates “update” and “not update” in which a range of parameters indicating the posture is provided as the update condition. In the example illustrated in FIG. 4, since the “update” setting flag is set to “1”, the posture detected by the posture detection unit 110 satisfies the update condition (the range of parameters representing the posture). Represents updating the detected posture to the reference posture. Further, in this example, it is indicated that the content surrounded by the thick black frame, that is, the “condition range indicating the posture” and the setting flag as the update condition can be changed by the user setting.

制御条件記憶部101eには、図5に図示するように、姿勢を表すパラメータの範囲が制御条件データとして記憶される。制御内容記憶部101fには、姿勢検出部110により検出される姿勢に応じてアプリ動作を制御する内容を表す制御内容データが記憶される。制御内容データは、図6に図示するように、制御の対象となるアプリの種別、項目、内容および設定フラグから構成される。   In the control condition storage unit 101e, as shown in FIG. 5, a range of parameters representing the posture is stored as control condition data. The control content storage unit 101f stores control content data representing content for controlling the application operation in accordance with the posture detected by the posture detection unit 110. As shown in FIG. 6, the control content data is composed of the type, item, content and setting flag of the application to be controlled.

具体的には、アプリの種別がテレビ(テレビ放送受信出力機能)の制御内容データでは、映像と音声の出力停止を意味する「停止」と、映像と音声の出力を停止させて記録(録画)の開始を意味する「停止+記録」とが項目として定義され、それら項目の何れか一方が設定フラグにより選択される。図6の一例では、設定フラグが「1」にセットされた「停止」項目を含む制御内容データを選択した状態を示している。   Specifically, in the control content data of the application type TV (TV broadcast reception output function), “stop”, which means that video and audio output is stopped, and video and audio output are stopped (recording) “Stop + Record”, which means the start of, is defined as an item, and one of these items is selected by the setting flag. In the example of FIG. 6, the control content data including the “stop” item in which the setting flag is set to “1” is selected.

一方、アプリの種別が動画再生(動画再生出力機能)の制御内容データでは、映像と音声の出力停止を意味する「停止」と、映像と音声の出力一時停止を意味する「一時停止」とが項目として定義され、それら項目の何れか一方が設定フラグにより選択される。図6の一例では、設定フラグが「1」にセットされた「停止」項目を含む制御内容データを選択した状態を示している。なお、図6に示す一例において、黒太枠で囲まれた設定フラグがユーザ設定で変更可能なことを示している。   On the other hand, in the control content data where the application type is video playback (video playback output function), there are “stop” that means video and audio output stop and “pause” that means video and audio output pause. An item is defined, and one of these items is selected by a setting flag. In the example of FIG. 6, the control content data including the “stop” item in which the setting flag is set to “1” is selected. Note that the example shown in FIG. 6 indicates that the setting flag surrounded by a thick black frame can be changed by user setting.

姿勢情報記憶部101gには、図7に図示するように、姿勢検出部110により検出される姿勢(姿勢を表すパラメータ)に検出時刻を対応付けた姿勢情報が履歴として記憶される。基準姿勢情報記憶部101hには、図8に図示するように、基準姿勢情報(基準姿勢を表すパラメータ)が記憶される。基準姿勢情報とは、上述した記憶条件記憶部101cに記憶される記憶条件データ(図3参照)に基づき姿勢検出部110が検出した姿勢を指す。データ記憶部101iには、ダウンロードした各種データ(静止画像データ、動画像データ、音楽データ)や、受信した放送データ(テレビ放送/ラジオ放送)が記録(録画)される他、送受信メールデータが保存される。   In the posture information storage unit 101g, as illustrated in FIG. 7, posture information in which a detection time is associated with a posture (a parameter representing the posture) detected by the posture detection unit 110 is stored as a history. The reference posture information storage unit 101h stores reference posture information (a parameter representing the reference posture) as illustrated in FIG. The reference posture information refers to the posture detected by the posture detection unit 110 based on the storage condition data (see FIG. 3) stored in the storage condition storage unit 101c described above. The downloaded data (still image data, moving image data, music data) and received broadcast data (television broadcast / radio broadcast) are recorded (recorded) in the data storage unit 101i, and transmission / reception mail data is stored. Is done.

無線通信送受信部102は、データ通信時には制御部100の制御の下に、アンテナANT1を介して基地局BSとデータ授受を行い、音声通話時にはアンテナANT1を介して受信復調した音声データを制御部100に出力する一方、制御部100から供給される音声データを変調して得た送信信号を高周波増幅してアンテナANT1から送出する。テレビ放送・ラジオ放送受信部103は、制御部100から与えられる選局指示に従い、アンテナANT2を介してテレビ放送信号又はラジオ放送信号を受信復調し、これにより得られる受信信号(テレビ受信時は映像/テレビ音声データ、ラジオ受信時はラジオ音声データ)を制御部100に出力する。   The wireless communication transmitting / receiving unit 102 exchanges data with the base station BS through the antenna ANT1 under the control of the control unit 100 during data communication, and the control unit 100 receives and demodulates the voice data received and demodulated through the antenna ANT1 during voice communication. On the other hand, the transmission signal obtained by modulating the audio data supplied from the control unit 100 is amplified by high frequency and transmitted from the antenna ANT1. The television broadcast / radio broadcast receiving unit 103 receives and demodulates a television broadcast signal or a radio broadcast signal via the antenna ANT2 in accordance with a channel selection instruction given from the control unit 100, and receives a received signal (video when receiving television). / TV audio data or radio audio data when receiving radio) is output to the control unit 100.

音声信号処理部104は、スピーカSPおよびマイクMICを備え、制御部100から供給される音声データを音声信号にD/A変換してスピーカSPから発音させたり、マイクMICから出力される音声信号を音声データにA/D変換して制御部100に供給する。また、音声信号処理部104では、テレビ放送・ラジオ放送受信部103が受信動作中の場合、制御部100から供給されるテレビ音声データ又はラジオ音声データをD/A変換した後に増幅してスピーカSPから放音する。   The audio signal processing unit 104 includes a speaker SP and a microphone MIC. The audio signal supplied from the control unit 100 is D / A converted into an audio signal to generate sound from the speaker SP, or an audio signal output from the microphone MIC is output. The audio data is A / D converted and supplied to the control unit 100. Further, in the audio signal processing unit 104, when the television broadcast / radio broadcast receiving unit 103 is performing a reception operation, the TV audio data or radio audio data supplied from the control unit 100 is D / A converted and then amplified and the speaker SP. Sound is emitted from.

表示部105は、カラー液晶パネルおよび表示ドライバから構成され、制御部100の制御の下に、待受画面など各種の操作画面の他、コンテンツ配信装置20から取得した画像やテレビ映像などを画面表示する。操作部106には、パワーオンオフする電源スイッチ、通話開始/終了時に操作されるオフフック/オンフックスイッチ、ダイヤルスイッチと兼用の文字入力スイッチ、アプリ動作(テレビ放送受信出力機能や動画再生出力機能)の起動を指示する各種操作キーやボタン等を有し、これらキーやボタンの操作に応じたイベントを発生して制御部100に出力する。   The display unit 105 includes a color liquid crystal panel and a display driver. Under the control of the control unit 100, in addition to various operation screens such as a standby screen, images and television images acquired from the content distribution device 20 are displayed on the screen. To do. The operation unit 106 includes a power switch for turning on / off power, an off-hook / on-hook switch operated at the start / end of a call, a character input switch that also functions as a dial switch, and activation of an application operation (TV broadcast reception output function or video playback output function). The control unit 100 generates various events corresponding to the operation of these keys and buttons, and outputs them to the control unit 100.

RTC107は、時刻計時やタイマ割り込みに用いるリアルタイムクロックを発生して制御部100に供給する。報知部108は、制御部100から供給される報知信号に応じて報知動作(サウンドスピーカ108aの鳴音、LED108bの発光および振動モータ108cの駆動)を行う。電池部109は、携帯電話10の各部を駆動する駆動電圧を発生する。姿勢検出部110は、3軸地磁気センサの各出力と3軸加速度センサの各出力とに基づき端末装置の姿勢を検出して出力する。   The RTC 107 generates a real-time clock used for timekeeping and timer interruption and supplies it to the control unit 100. The notification unit 108 performs a notification operation (sounding of the sound speaker 108a, light emission of the LED 108b, and driving of the vibration motor 108c) according to the notification signal supplied from the control unit 100. The battery unit 109 generates a driving voltage that drives each unit of the mobile phone 10. The posture detection unit 110 detects and outputs the posture of the terminal device based on the outputs of the triaxial geomagnetic sensor and the outputs of the triaxial acceleration sensor.

B.動作
次に、図9〜図18を参照して上記構成による携帯電話10の動作を説明する。以下では、制御部100が実行するメインルーチン、アプリ処理、姿勢判別処理、基準姿勢記憶処理、基準姿勢更新処理、制御判別処理、テレビアプリ動作中に実行される制御実行処理、動作再生アプリ動作中に実行される制御実行処理、テレビアプリ動作中に実行される制御解除処理および動作再生アプリ動作中に実行される制御解除処理の各動作について述べる。
B. Operation Next, the operation of the mobile phone 10 configured as described above will be described with reference to FIGS. In the following, a main routine executed by the control unit 100, an application process, an attitude determination process, a reference attitude storage process, a reference attitude update process, a control determination process, a control execution process executed during TV application operation, and an operation playback application operation Each operation of the control execution process executed during the operation, the control release process executed during the TV application operation, and the control release process executed during the operation playback application operation will be described.

(1)
メインルーチンの動作
図9は、制御部100が実行するメインルーチンの動作を示すフローチャートである。制御部100は、ステップSA1において電源オン操作されるまで待機し、ユーザが電源オン操作を行うと、判断結果が「YES」になり、ステップSA2に進み、電源オンに応じて携帯電話10の各部をイニシャライズした後、無線通信網RNに位置登録を行って待ち受け状態に入る待受処理を実行する。なお、待ち受け状態になると、表示部105には待受画面(図示略)が画面表示される。
(1)
Operation of Main Routine FIG. 9 is a flowchart showing the operation of the main routine executed by the control unit 100. The control unit 100 waits until the power-on operation is performed in step SA1, and when the user performs the power-on operation, the determination result is “YES”, and the process proceeds to step SA2, and each unit of the mobile phone 10 according to the power-on. Is initialized, the location registration is performed in the wireless communication network RN, and standby processing for entering the standby state is executed. In the standby state, a standby screen (not shown) is displayed on the screen of the display unit 105.

続いて、ステップSA3〜SA8では、それぞれ「設定操作」、「テレビ起動操作」、「動画再生起動操作」、「着信検知」、「電源オフ操作」および「その他の操作」の各イベントの有無を判断する。これらイベントが発生しなければ、ステップSA8〜SA8の各判断結果はいずれも「NO」になり、上記ステップSA2の待ち受け状態のまま待機する。そして、この待ち受け状態において上記イベントのいずれかが発生すると、その発生したイベントに対応した処理を実行する。以下、イベント別に分けて動作説明を進める。   Subsequently, in steps SA3 to SA8, the presence / absence of each event of “setting operation”, “television start operation”, “video playback start operation”, “incoming call detection”, “power off operation”, and “other operation” is determined. to decide. If these events do not occur, the determination results in steps SA8 to SA8 are all “NO”, and the apparatus waits in the standby state in step SA2. When any of the above events occurs in this standby state, processing corresponding to the generated event is executed. Hereinafter, the operation will be described separately for each event.

<設定操作の場合>
設定操作イベントが発生すると、上記ステップSA3の判断結果が「YES」となり、ステップSA9に進み、ユーザにより行われた設定操作に応じた設定処理を実行する。具体的には、記憶条件記憶部101cに記憶条件データ(図3参照)を、更新条件記憶部101dに更新条件データ(図4参照)を、制御条件記憶部101eに制御条件データ(図5参照)を、制御内容記憶部101fに制御内容データ(図6参照)をそれぞれ設定する他、コンテンツ配信装置20からダウンロードした各種データ(静止画像データ、動画像データ、音楽データ)をデータ記憶部101iに記憶する処理などを実行した後、上記ステップSA2の待ち受け状態に復帰する。
<For setting operation>
When a setting operation event occurs, the determination result in step SA3 is “YES”, the process proceeds to step SA9, and a setting process corresponding to the setting operation performed by the user is executed. Specifically, storage condition data (see FIG. 3) is stored in the storage condition storage unit 101c, update condition data (see FIG. 4) is stored in the update condition storage unit 101d, and control condition data (see FIG. 5) is stored in the control condition storage unit 101e. ) Is set in the control content storage unit 101f, and various data (still image data, moving image data, music data) downloaded from the content distribution device 20 are stored in the data storage unit 101i. After executing the storing process and the like, the process returns to the standby state in step SA2.

<テレビ起動操作又は動画再生起動操作の場合>
テレビ起動操作イベントが発生した場合には、上記ステップSA4の判断結果が「YES」となり、ステップSA10を介してアプリ処理を実行した後、上記ステップSA2の待ち受け状態に復帰する。一方、動画再生起動操作イベントが発生した場合には、上記ステップSA5の判断結果が「YES」となり、ステップSA10を介してアプリ処理を実行した後、上記ステップSA2の待ち受け状態に復帰する。
<In case of TV start operation or video playback start operation>
If a TV activation operation event has occurred, the determination result in step SA4 is “YES”, application processing is executed via step SA10, and then the standby state of step SA2 is restored. On the other hand, when a moving image reproduction start operation event has occurred, the determination result in step SA5 is “YES”. After the application process is executed via step SA10, the process returns to the standby state in step SA2.

アプリ処理では、後述するように、ユーザの起動操作に応じてテレビアプリもしくは動画再生アプリを起動させた後、姿勢変化が小さくユーザ指定の記憶条件や更新条件を満たしていれば、一定期間毎に姿勢検出部110により検出される姿勢(姿勢を表すパラメータ)と現在時刻とを対応付けて生成される最新の姿勢を基準姿勢に設定したり、最新の姿勢を基準姿勢に更新したりする。   In the application process, as described later, after the TV application or the video playback application is activated in response to the user's activation operation, if the posture change is small and the user-specified storage condition or update condition is satisfied, the application process is performed at regular intervals. The latest posture generated by associating the posture (parameter representing posture) detected by the posture detection unit 110 with the current time is set as the reference posture, or the latest posture is updated to the reference posture.

そして、姿勢変化が大きくなってユーザ指定の記憶条件や更新条件を満たさなくなり、かつ基準姿勢および最新の姿勢を比較し、その比較結果が制御条件を満たさなくなると、起動中のアプリ動作を制御する。具体的には、テレビアプリ動作中にユーザ指定の制御内容が「停止」であると、映像表示出力および音声出力を停止させ、一方、ユーザ指定の制御内容が「停止+記録」ならば、映像/テレビ音声データの記録(録画)を開始させた後、映像表示出力および音声出力を停止させる。また、動画再生アプリ動作中にユーザ指定の制御内容が「一時停止」であると、映像表示出力および音声出力を一時停止させ、一方、ユーザ指定の制御内容が「停止」ならば、映像表示出力および音声出力を停止させる。   Then, when the posture change becomes so large that the user-specified storage condition or update condition is not satisfied, the reference posture and the latest posture are compared, and the comparison result does not satisfy the control condition, the active application operation is controlled. . Specifically, if the user-specified control content is “stop” during the TV application operation, video display output and audio output are stopped, while if the user-specified control content is “stop + record”, video / After recording (recording) of TV audio data is started, video display output and audio output are stopped. Also, if the user-specified control content is “pause” while the video playback application is running, video display output and audio output are paused, while if the user-specified control content is “stop”, video display output And stop audio output.

その後、基準姿勢および最新の姿勢の比較結果が制御条件を満たすようになると、アプリ動作の制御を解除する。具体的には、テレビアプリ動作中で録画をしていなければ、受信中の映像/テレビ音声データに基づき映像表示出力および音声出力を開始させ、一方、録画中ならば、タイムシフト再生(追いかけ再生)を行い、現在録画中の映像/テレビ音声データに再生出力が追いつくと、受信中の映像/テレビ音声データに基づき映像表示出力および音声出力を開始させる。また、動画再生アプリ動作中で動画再生一時停止中であると、映像表示出力および音声出力を再開させ、一方、動画再生停止中ならば、映像表示出力および音声出力を開始させる。   Thereafter, when the comparison result between the reference posture and the latest posture satisfies the control condition, the control of the application operation is released. Specifically, if the TV application is not operating and not recording, video display output and audio output are started based on the video / TV audio data being received. When the playback output catches up with the currently recorded video / TV audio data, video display output and audio output are started based on the received video / TV audio data. If the moving image playback application is operating and the moving image playback is paused, video display output and audio output are resumed. On the other hand, if the moving image playback is stopped, video display output and audio output are started.

<着信検知の場合>
着信検知イベントが発生すると、上記ステップSA6の判断結果が「YES」になり、ステップSA11に進む。ステップSA11では、着信報知を行うと共に、この着信報知中にオフフック操作されると発呼側と回線接続して通話を開始させ、通話中にオンフック操作されると回線切断する通話処理を実行した後、上記ステップSA2の待ち受け状態に復帰する。
<Incoming call detection>
When an incoming call detection event occurs, the determination result in step SA6 is “YES”, and the flow proceeds to step SA11. In step SA11, the incoming call notification is performed, and when the off-hook operation is performed during the incoming call notification, the line is connected to the calling side to start the call, and when the on-hook operation is performed during the call, the line is disconnected. The process returns to the standby state in step SA2.

<電源オフ操作の場合>
電源オフ操作イベントが発生すると、上記ステップSA7の判断結果が「YES」になり、ステップSA12に進み、電源オフ処理を実行した後、本処理を完了させる。
<When the power is turned off>
When a power-off operation event occurs, the determination result in step SA7 is “YES”, and the process proceeds to step SA12 to execute the power-off process, and then this process is completed.

<その他の操作の場合>
例えば録画したテレビ番組の再生開始を指示する操作などの、その他の操作が行われると、上記ステップSA8の判断結果が「YES」となり、ステップSA13に進み、操作に対応した処理を実行した後、上記ステップSA2の待ち受け状態に復帰する。
<For other operations>
For example, when another operation such as an operation for instructing to start playback of a recorded television program is performed, the determination result in Step SA8 is “YES”, and the process proceeds to Step SA13 to execute processing corresponding to the operation. Return to the standby state of step SA2.

(2)アプリ処理の動作
次に、図10を参照してアプリ処理の動作を説明する。上述したメインルーチンのステップSA10(図9参照)を介して本処理が実行されると、制御部100は図10に図示するステップSB1に進み、アプリ動作開始フラグを「1」にセットしてアプリ動作(テレビ放送受信出力機能又は動画再生出力機能)の開始を表す。続いて、ステップSB2では、アプリ起動処理を実行する。
(2) Operation of Application Processing Next, the operation of application processing will be described with reference to FIG. When this process is executed via step SA10 (see FIG. 9) of the main routine described above, the control unit 100 proceeds to step SB1 shown in FIG. 10 and sets the application operation start flag to “1” to It represents the start of the operation (TV broadcast reception output function or video playback output function). Subsequently, in step SB2, an application activation process is executed.

アプリ起動処理では、起動操作されたアプリ動作がテレビ放送受信出力機能(以下、テレビアプリと略称する)であった場合には、ユーザ操作で指定されたチャンネルの受信開始をテレビ放送・ラジオ放送受信部103に指示し、これに応じてテレビ放送・ラジオ放送受信部103から出力されるテレビ放送受信信号に基づき表示部105により映像出力させ、音声信号処理部104により音声出力させる。起動操作されたアプリ動作が動画再生出力機能(以下、動画再生アプリと略称する)であった場合には、ユーザ操作で指定された動画像(又は録画されたテレビ番組)をデータ記憶部101iから読み出し、表示部105により映像出力させ、音声信号処理部104により音声出力させる。   In the application activation process, when the activated application operation is a TV broadcast reception output function (hereinafter abbreviated as a TV application), the reception start of the channel specified by the user operation is received by the TV broadcast / radio broadcast reception. In response to the instruction, the display unit 105 outputs video based on the television broadcast reception signal output from the television broadcast / radio broadcast reception unit 103 and the audio signal processing unit 104 outputs audio. When the activated application operation is a moving image reproduction output function (hereinafter abbreviated as a moving image reproduction application), a moving image (or a recorded television program) designated by a user operation is stored from the data storage unit 101i. The image is read and output by the display unit 105, and the sound is output by the audio signal processing unit 104.

次いで、ステップSB3では、姿勢判別処理を実行する。姿勢判別処理の動作は、後述するように、アプリ動作の制御を解除した状態(制御中フラグが「0」の状態)とアプリ動作を制御中の状態(制御中フラグが「1」の状態)とに大別される。アプリ動作の制御を解除した状態では、姿勢変化が小さくユーザ指定の記憶条件や更新条件を満たしている場合には、姿勢検出部110により検出される姿勢(姿勢を表すパラメータ)と現在時刻とを対応付けて生成される最新の姿勢を基準姿勢に設定したり、最新の姿勢を基準姿勢に更新したりする。   Next, in step SB3, posture determination processing is executed. As will be described later, the posture determination processing is performed in a state where the control of the application operation is released (the control flag is “0”) and the control of the application operation (the control flag is “1”). It is roughly divided into In a state where the control of the application operation is released, when the posture change is small and the user-specified storage condition or update condition is satisfied, the posture (parameter representing the posture) detected by the posture detection unit 110 and the current time are displayed. The latest posture generated in association is set as the reference posture, or the latest posture is updated to the reference posture.

そして、姿勢変化が大きくなってユーザ指定の記憶条件や更新条件を満たさなくなり、かつ基準姿勢および最新の姿勢の比較結果が制御条件を満たさなくなると、起動中のアプリ動作を制御する。具体的には、テレビアプリ動作中にユーザ指定の制御内容が「停止」であると、映像表示出力および音声出力を停止させ、一方、ユーザ指定の制御内容が「停止+記録」ならば、映像/テレビ音声データの記録(録画)を開始させた後、映像表示出力および音声出力を停止させる。また、動画再生アプリ動作中にユーザ指定の制御内容が「一時停止」であると、映像表示出力および音声出力を一時停止させ、一方、ユーザ指定の制御内容が「停止」ならば、映像表示出力および音声出力を停止させる。   Then, when the posture change becomes large and the storage condition or update condition specified by the user is not satisfied, and the comparison result between the reference posture and the latest posture does not satisfy the control condition, the activated application operation is controlled. Specifically, if the user-specified control content is “stop” during the TV application operation, video display output and audio output are stopped, while if the user-specified control content is “stop + record”, video / After recording (recording) of TV audio data is started, video display output and audio output are stopped. Also, if the user-specified control content is “pause” while the video playback application is running, video display output and audio output are paused, while if the user-specified control content is “stop”, video display output And stop audio output.

このようにしてアプリ動作を制御した状態において、基準姿勢および最新の姿勢の双方が制御条件を満たすようになると、アプリ動作の制御を解除する。具体的には、テレビアプリ動作中で録画をしていなければ、受信中の映像/テレビ音声データに基づき映像表示出力および音声出力を開始させ、一方、録画中ならば、タイムシフト再生(追いかけ再生)を行い、現在録画中の映像/テレビ音声データに再生出力が追いつくと、受信中の映像/テレビ音声データに基づき映像表示出力および音声出力を開始させる。また、動画再生アプリ動作中で動画再生一時停止中であると、映像表示出力および音声出力を再開させ、一方、動画再生停止中ならば、映像表示出力および音声出力を開始させる。   In the state in which the application operation is controlled in this way, when both the reference posture and the latest posture satisfy the control condition, the control of the application operation is released. Specifically, if the TV application is not operating and not recording, video display output and audio output are started based on the video / TV audio data being received. When the playback output catches up with the currently recorded video / TV audio data, video display output and audio output are started based on the received video / TV audio data. If the moving image playback application is operating and the moving image playback is paused, video display output and audio output are resumed. On the other hand, if the moving image playback is stopped, video display output and audio output are started.

さて、こうした姿勢判別処理が完了すると、ステップSB4に進み、姿勢検出タイマがタイムアウトになったか否かを判断する。姿勢検出タイマがタイムアウトになると、判断結果は「YES」になり、上記ステップSB3に戻り、再び姿勢判別処理を実行する。一方、姿勢検出タイマが計時中ならば、上記ステップSB4の判断結果は「NO」になり、ステップSB5に進む。ステップSB5では、制御中タイマがタイムアウトになったか否か、つまり制御実行処理(後述する)で計時開始した制御中タイマが、所定時間経過してタイムアウトになったかどうかを判断する。   When the posture determination process is completed, the process proceeds to step SB4, where it is determined whether or not the posture detection timer has timed out. When the attitude detection timer times out, the determination result is “YES”, the process returns to step SB3, and the attitude determination process is executed again. On the other hand, if the posture detection timer is measuring time, the determination result in step SB4 is “NO”, and the flow proceeds to step SB5. In step SB5, it is determined whether or not the controlling timer has timed out, that is, whether or not the controlling timer that has started timing in the control execution process (described later) has timed out after a predetermined time has elapsed.

制御中タイマがタイムアウトになると、上記ステップSB5の判断結果は「YES」になり、ステップSB7に進む。ステップSB7では、テレビアプリ動作中ならば、テレビ放送・ラジオ放送受信部103の電源をオフして表示部105および音声信号処理部104の出力を停止させてテレビアプリ動作を終了させた後、各種フラグ(制御中フラグ、アプリ動作開始フラグ)をゼロリセットすると共に、各種タイマ(姿勢検出タイマ、制御中タイマ)を停止するアプリ終了処理を実行し、一方、動画再生アプリ動作中ならば、動画像の読み出しを停止して表示部105および音声信号処理部104の出力を停止させて動画再生アプリ動作を終了させた後、各種フラグ(制御中フラグ、アプリ動作開始フラグ)をゼロリセットすると共に、各種タイマ(姿勢検出タイマ、制御中タイマ)を停止するアプリ終了処理を実行して本処理を終える。   When the controlling timer times out, the determination result in Step SB5 is “YES”, and the flow proceeds to Step SB7. In step SB7, if the TV application is being operated, the TV broadcast / radio broadcast receiving unit 103 is turned off to stop the outputs of the display unit 105 and the audio signal processing unit 104 and terminate the TV application operation. The application (end-of-control flag, application operation start flag) is reset to zero, and application end processing is executed to stop various timers (attitude detection timer, control-in-progress timer). Is stopped, the outputs of the display unit 105 and the audio signal processing unit 104 are stopped, and the video playback application operation is terminated. Then, various flags (in-control flag, application operation start flag) are reset to zero, The application termination process for stopping the timer (attitude detection timer, controlling timer) is executed, and this process is terminated.

これに対し、制御中タイマがタイムアウトでなければ、上記ステップSB5の判断結果は「NO」になり、ステップSB6に進み、アプリ終了操作が為されたか否かを判断する。アプリ終了操作が為された場合には、判断結果が「YES」となり、ステップSB7に進み、テレビアプリ動作や動画再生アプリ動作を終了させるアプリ終了処理を実行して本処理を終える。   On the other hand, if the in-control timer is not timed out, the determination result in step SB5 is “NO”, and the process proceeds to step SB6 to determine whether or not an application termination operation has been performed. When the application ending operation is performed, the determination result is “YES”, the process proceeds to step SB7, and the application ending process for ending the TV application operation or the moving image reproduction application operation is executed and the present process is ended.

一方、アプリ終了操作が為されなければ、上記ステップSB6の判断結果は「NO」になり、ステップSB8に進み、その他の操作が為されたか否かを判断する。その他の操作が為されなければ、判断結果は「NO」になり、上述のステップSB4に処理を戻すが、例えばテレビアプリ動作中にチャンネル切り替え操作や音量調整操作などを行ったり、動画再生アプリ動作中に早送り操作や巻き戻し操作などを行った場合には、判断結果が「YES」となり、ステップSB9に進み、テレビアプリ動作中の上記操作に対応してチャンネル切り替えや音量調整を行い、動画再生アプリ動作中の上記操作に対応して早送りや巻き戻しを行う、その他の処理を実行して上述のステップSB4に処理を戻す。   On the other hand, if the application ending operation is not performed, the determination result in step SB6 is “NO”, and the process proceeds to step SB8, where it is determined whether any other operation has been performed. If no other operation is performed, the determination result is “NO”, and the process returns to step SB4 described above. For example, the channel switching operation or the volume adjustment operation is performed during the TV application operation, or the video playback application operation is performed. If a fast-forward operation or rewind operation is performed during that time, the determination result is “YES”, and the process proceeds to step SB9. In response to the above operation during the application operation, other processes such as fast forward and rewind are executed, and the process returns to step SB4.

このように、アプリ処理では、ユーザの起動操作に応じてテレビアプリもしくは動画再生アプリを起動させた後、姿勢変化が小さくユーザ指定の記憶条件や更新条件を満たしていれば、一定期間毎に姿勢検出部110により検出される姿勢(姿勢を表すパラメータ)と現在時刻とを対応付けて生成される最新の姿勢を基準姿勢に設定したり、最新の姿勢を基準姿勢に更新したりする。   As described above, in application processing, after a TV application or a video playback application is activated in response to a user's activation operation, an attitude is changed at regular intervals as long as the attitude change is small and the user-specified storage conditions and update conditions are satisfied. The latest posture generated by associating the posture (a parameter representing the posture) detected by the detection unit 110 with the current time is set as the reference posture, or the latest posture is updated to the reference posture.

そして、姿勢変化が大きくなってユーザ指定の記憶条件や更新条件を満たさなくなり、かつ基準姿勢および最新の姿勢の比較結果が制御条件を満たさなくなると、起動中のアプリ動作を制御する。具体的には、テレビアプリ動作中にユーザ指定の制御内容が「停止」であると、映像表示出力および音声出力を停止させ、一方、ユーザ指定の制御内容が「停止+記録」ならば、映像/テレビ音声データの記録(録画)を開始させた後、映像表示出力および音声出力を停止させる。また、動画再生アプリ動作中にユーザ指定の制御内容が「一時停止」であると、映像表示出力および音声出力を一時停止させ、一方、ユーザ指定の制御内容が「停止」ならば、映像表示出力および音声出力を停止させる。   Then, when the posture change becomes large and the storage condition or update condition specified by the user is not satisfied, and the comparison result between the reference posture and the latest posture does not satisfy the control condition, the activated application operation is controlled. Specifically, if the user-specified control content is “stop” during the TV application operation, video display output and audio output are stopped, while if the user-specified control content is “stop + record”, video / After recording (recording) of TV audio data is started, video display output and audio output are stopped. Also, if the user-specified control content is “pause” while the video playback application is running, video display output and audio output are paused, while if the user-specified control content is “stop”, video display output And stop audio output.

その後、基準姿勢および最新の姿勢の比較結果が制御条件を満たすようになると、アプリ動作の制御を解除する。具体的には、テレビアプリ動作中で録画をしていなければ、受信中の映像/テレビ音声データに基づき映像表示出力および音声出力を開始させ、一方、録画中ならば、タイムシフト再生(追いかけ再生)を行い、現在録画中の映像/テレビ音声データに再生出力が追いつくと、受信中の映像/テレビ音声データに基づき映像表示出力および音声出力を開始させる。また、動画再生アプリ動作中で動画再生一時停止中であると、映像表示出力および音声出力を再開させ、一方、動画再生停止中ならば、映像表示出力および音声出力を開始させる。   Thereafter, when the comparison result between the reference posture and the latest posture satisfies the control condition, the control of the application operation is released. Specifically, if the TV application is not operating and not recording, video display output and audio output are started based on the video / TV audio data being received. When the playback output catches up with the currently recorded video / TV audio data, video display output and audio output are started based on the received video / TV audio data. If the moving image playback application is operating and the moving image playback is paused, video display output and audio output are resumed. On the other hand, if the moving image playback is stopped, video display output and audio output are started.

(2)
姿勢判別処理の動作
次に、図11を参照して姿勢判別処理の動作を説明する。上述したアプリ処理のステップSB3(図10参照)を介して本処理が実行されると、制御部100は図11に図示するステップSC1に進み、姿勢検出部110が出力する姿勢(姿勢を表すパラメータ)を検出し、続くステップSC2では、現在時刻を取得する。なお、現在時刻はRTC107が発生するリアルタイムクロックに基づき制御部100内部のタイマ回路(不図示)にて計時される。
(2)
Operation of Posture Determination Process Next, the operation of the posture determination process will be described with reference to FIG. When this process is executed through step SB3 (see FIG. 10) of the application process described above, the control unit 100 proceeds to step SC1 illustrated in FIG. 11 and outputs the posture (parameter representing the posture) output by the posture detection unit 110. ) Is detected, and in the subsequent step SC2, the current time is acquired. The current time is measured by a timer circuit (not shown) in the control unit 100 based on a real-time clock generated by the RTC 107.

続いて、ステップSC3では、上記ステップSC1で検出した姿勢(姿勢を表すパラメータ)に、上記ステップSC2で取得した現在時刻(検出時刻)を対応付けた姿勢情報を生成して姿勢情報記憶部101gに記憶する。次いで、ステップSC4では、制御中フラグが「0」であるか否かを判断する。制御中フラグとは、後述の制御実行処理によってアプリ動作(テレビ放送受信出力機能又は動画再生出力機能)を制御している場合に「1」となり、制御していない場合あるいは後述の制御解除処理によってアプリ動作(テレビ放送受信出力機能又は動画再生出力機能)の制御を解除した場合に「0」となるフラグである。   Subsequently, in step SC3, posture information in which the current time (detection time) acquired in step SC2 is associated with the posture (parameter representing posture) detected in step SC1 is generated and stored in the posture information storage unit 101g. Remember. Next, at step SC4, it is determined whether or not the in-control flag is “0”. The in-control flag is “1” when an application operation (television broadcast reception output function or video playback output function) is controlled by a control execution process described later, and is not controlled or by a control release process described later. This flag is “0” when the control of the application operation (television broadcast reception output function or moving image reproduction output function) is canceled.

したがって、このステップSC4では、アプリ動作の制御を解除した状態であるかどうかを判断する。以下では、制御中フラグが「0」のアプリ動作の制御を解除した状態と、制御中フラグが「1」のアプリ動作を制御中の状態とに分けて動作を説明する。   Therefore, in this step SC4, it is determined whether or not the application operation control is released. In the following, the operation will be described separately for the state in which the control of the application operation with the in-control flag being “0” is released and the state in which the application operation with the in-control flag being “1” is being controlled.

<アプリ動作の制御を解除した状態>
制御中フラグが「0」のアプリ動作の制御を解除した状態であると、上記ステップSC4の判断結果は「YES」になり、ステップSC5を介して基準姿勢記憶処理を実行する。基準姿勢記憶処理では、後述するように、ユーザ指定の記憶条件データ(設定フラグが「1」の記憶条件データ)を記憶条件記憶部101cから読み出しておき、姿勢情報記憶部101gに記憶される最新の姿勢情報が、読み出した記憶条件データで指定される条件を満たす場合に、その最新の姿勢情報を基準姿勢情報として基準姿勢情報記憶部101hに記憶する。
<App application control is released>
If the control of the application operation whose control flag is “0” is released, the determination result in step SC4 is “YES”, and the reference posture storage process is executed via step SC5. In the reference posture storage process, as will be described later, the storage condition data specified by the user (the storage condition data whose setting flag is “1”) is read from the storage condition storage unit 101c and stored in the posture information storage unit 101g. When the posture information satisfies the condition specified by the read storage condition data, the latest posture information is stored in the reference posture information storage unit 101h as the reference posture information.

そして、ステップSC6では、上記ステップSC5の基準姿勢記憶処理において、記憶条件データで指定される条件を満たす新たな基準姿勢情報が基準姿勢情報記憶部101hに記憶されたか否かを判断する。新たな基準姿勢情報が基準姿勢情報記憶部101hに記憶されたならば、判断結果は「YES」になり、ステップSC7に進み、姿勢検出する期間を計時する姿勢検出タイマをスタートさせて本処理を終える。   In step SC6, it is determined whether or not new reference posture information satisfying a condition specified by the storage condition data is stored in the reference posture information storage unit 101h in the reference posture storage process of step SC5. If the new reference posture information is stored in the reference posture information storage unit 101h, the determination result is “YES”, and the process proceeds to step SC7 to start the posture detection timer for measuring the posture detection period and perform this process. Finish.

一方、新たな基準姿勢情報が基準姿勢情報記憶部101hに記憶されなければ、上記ステップSC6の判断結果は「NO」となり、ステップSC11を介して基準姿勢更新処理を実行する。基準姿勢更新処理では、後述するように、基準姿勢情報記憶部101hに基準姿勢情報(基準姿勢を表すパラメータ)が記憶済みで、かつ記憶条件記憶部101dから読み出したユーザ指定の更新条件データ(設定フラグが「1」の更新条件データ)が「更新する」であると、基準姿勢および最新の姿勢の比較結果が更新条件(姿勢を表すパラメータの範囲)を満たす場合に、最新の姿勢を基準姿勢情報として基準姿勢情報記憶部101hに更新登録する。   On the other hand, if new reference posture information is not stored in the reference posture information storage unit 101h, the determination result in step SC6 is “NO”, and the reference posture update process is executed via step SC11. In the reference posture update process, as will be described later, the reference posture information (parameter representing the reference posture) is already stored in the reference posture information storage unit 101h, and the user-specified update condition data (setting) read from the storage condition storage unit 101d If the update condition data with the flag “1”) is “update”, the latest posture is set to the reference posture when the comparison result of the reference posture and the latest posture satisfies the update condition (the range of parameters indicating the posture). Information is updated and registered in the reference posture information storage unit 101h.

次いで、ステップSC12では、上記ステップSC11の基準姿勢更新処理によって基準姿勢情報が更新されたかどうかを判断する。基準姿勢情報が最新の姿勢に更新されたならば、判断結果は「YES」になり、ステップSC7に進み、姿勢検出する期間を計時する姿勢検出タイマをスタートさせて本処理を終える。   Next, in step SC12, it is determined whether or not the reference posture information has been updated by the reference posture update process in step SC11. If the reference posture information is updated to the latest posture, the determination result is “YES”, the process proceeds to step SC7, the posture detection timer for measuring the posture detection period is started, and this processing is ended.

これに対し、基準姿勢情報が更新されなければ、上記ステップSC12の判断結果は「NO」になり、ステップSC13を介して制御判別処理を実行する。制御判別処理では、後述するように、基準姿勢情報記憶部101hに基準姿勢情報(基準姿勢を表すパラメータ)が記憶済みであって、かつ基準姿勢および最新の姿勢の比較結果が制御条件記憶部101eから読み出した制御条件データ(姿勢を表すパラメータの範囲)を満足しない場合に「制御する」と判別する。   On the other hand, if the reference posture information is not updated, the determination result in step SC12 is “NO”, and the control determination process is executed via step SC13. In the control discrimination process, as will be described later, the reference posture information (a parameter representing the reference posture) has been stored in the reference posture information storage unit 101h, and the comparison result between the reference posture and the latest posture is the control condition storage unit 101e. When the control condition data (parameter range indicating the posture) read from the above is not satisfied, it is determined that “control” is performed.

そして、ステップSC14では、上記ステップSC13の制御判別処理によって「制御する」と判別されたか否かを判断する。「制御しない」と判別された場合には、判断結果は「NO」になり、ステップSC7に進み、姿勢検出する期間を計時する姿勢検出タイマをスタートさせて本処理を終える。   In step SC14, it is determined whether or not “control” is determined by the control determination process in step SC13. If it is determined that “no control”, the determination result is “NO”, the process proceeds to step SC7, the posture detection timer for measuring the posture detection period is started, and this processing is ended.

一方、上記ステップSC13の制御判別処理によって「制御する」と判別された場合には、上記ステップSC14の判断結果は「YES」となり、ステップSC15を介して制御実行処理を実行する。   On the other hand, if it is determined to be “controlled” by the control determination process in step SC13, the determination result in step SC14 is “YES”, and the control execution process is executed via step SC15.

テレビアプリ動作中であると、制御実行処理では、後述するように、制御内容記憶部101fから読み出したユーザ指定の制御内容データ(設定フラグが「1」の制御内容データ)が「停止」の場合には、映像表示出力および音声出力を停止させた後、制御中フラグに「1」をセットして制御中タイマをスタートさせる。ユーザ指定の制御内容データが「停止+記録」ならば、テレビ放送・ラジオ放送受信部103から出力される映像/テレビ音声データの記録(録画)を開始させた後、映像表示出力および音声出力を停止させ、制御中フラグに「1」をセットして制御中タイマをスタートさせる。   When the TV application is operating, in the control execution process, as will be described later, when the user-specified control content data (control content data whose setting flag is “1”) read from the control content storage unit 101f is “stop” In this case, after the video display output and the audio output are stopped, “1” is set in the in-control flag to start the in-control timer. If the user-specified control content data is “stop + record”, video / TV audio data output from the TV / radio broadcast receiving unit 103 is started to be recorded, and then video display output and audio output are performed. Stop and set the in-control flag to “1” to start the in-control timer.

動画再生アプリ動作中であると、制御実行処理では、後述するように、制御内容記憶部101fから読み出したユーザ指定の制御内容データ(設定フラグが「1」の制御内容データ)が「一時停止」の場合には、映像表示出力および音声出力を一時停止させた後、制御中フラグに「1」をセットして制御中タイマをスタートさせる。ユーザ指定の制御内容データが「停止」ならば、映像表示出力および音声出力を停止させた後、制御中フラグに「1」をセットして制御中タイマをスタートさせる。そして、こうした制御実行処理が完了すると、ステップSC7に進み、姿勢検出する期間を計時する姿勢検出タイマをスタートさせて本処理を終える。   When the video playback application is operating, in the control execution process, as will be described later, the control content data specified by the user (the control content data with the setting flag “1”) read from the control content storage unit 101f is “pause”. In this case, after the video display output and the audio output are temporarily stopped, the in-control flag is set to “1” and the in-control timer is started. If the user-specified control content data is “stop”, video display output and audio output are stopped, then “1” is set in the control flag, and the control timer is started. When such control execution processing is completed, the process proceeds to step SC7, where a posture detection timer for measuring a posture detection period is started, and this processing is completed.

<アプリ動作を制御中の状態>
制御中フラグが「1」のアプリ動作を制御中の状態であると、上記ステップSC4の判断結果は「NO」になり、ステップSC8を介して制御判別処理を実行する。制御判別処理では、後述するように、基準姿勢情報記憶部101hに基準姿勢情報(基準姿勢を表すパラメータ)が記憶済みであって、かつ基準姿勢および最新の姿勢の比較結果が制御条件記憶部101eから読み出した制御条件データ(姿勢を表すパラメータの範囲)を満足しない場合に「制御する」と判別する。
<The state of controlling the application operation>
If the application operation with the in-control flag being “1” is being controlled, the determination result in step SC4 is “NO”, and the control determination process is executed via step SC8. In the control discrimination process, as will be described later, the reference posture information (a parameter representing the reference posture) has been stored in the reference posture information storage unit 101h, and the comparison result between the reference posture and the latest posture is the control condition storage unit 101e. When the control condition data (parameter range indicating the posture) read from the above is not satisfied, it is determined that “control” is performed.

そして、ステップSC9では、上記ステップSC8の制御判別処理によって「制御しない」と判別されたか否かを判断する。「制御する」と判別された場合には、判断結果が「NO」になり、ステップSC7に進み、姿勢検出する期間を計時する姿勢検出タイマをスタートさせて本処理を終える。   Then, in step SC9, it is determined whether or not “not controlled” is determined by the control determination process in step SC8. If it is determined to be “control”, the determination result is “NO”, the process proceeds to step SC7, the posture detection timer for measuring the posture detection period is started, and this processing is ended.

一方、上記ステップSC8の制御判別処理によって「制御しない」と判別された場合には、上記ステップSC9の判断結果は「YES」となり、ステップSC10を介して制御解除処理を実行する。   On the other hand, when it is determined that “no control” is made in the control determination process in step SC8, the determination result in step SC9 is “YES”, and the control release process is executed via step SC10.

テレビアプリ動作中であると、制御解除処理では、後述するように、映像/テレビ音声データを録画中でなければ、受信中の映像/テレビ音声データに基づき映像表示出力および音声出力を開始させた後、制御中フラグをゼロセットして制御中タイマを停止させる。一方、映像/テレビ音声データを録画中ならば、タイムシフト再生(追いかけ再生)を行い、現在録画中の映像/テレビ音声データに再生出力が追いつくと、受信中の映像/テレビ音声データに基づき映像表示出力および音声出力を開始させた後、制御中フラグをゼロセットして制御中タイマを停止させる。   When the TV application is operating, the control release process starts video display output and audio output based on the video / TV audio data being received unless video / TV audio data is being recorded, as will be described later. Thereafter, the in-control flag is set to zero and the in-control timer is stopped. On the other hand, if video / TV audio data is being recorded, time-shifted playback (chasing playback) is performed, and if the playback output catches up with the currently recorded video / TV audio data, video based on the video / TV audio data being received is recorded. After starting display output and audio output, the in-control flag is set to zero and the in-control timer is stopped.

動画再生アプリ動作中であると、制御解除処理では、後述するように、動画再生一時停止中ならば、映像表示出力および音声出力を再開させた後、制御中フラグをゼロリセットして制御中タイマを停止させる。一方、動画再生停止中であると、映像表示出力および音声出力を開始させた後、制御中フラグをゼロリセットして制御中タイマを停止させる。そして、こうした制御解除処理が完了すると、ステップSC7に進み、姿勢検出する期間を計時する姿勢検出タイマをスタートさせて本処理を終える。   If the video playback application is in operation, the control release process will restart the video display output and audio output if the video playback is paused, as described later, and then reset the in-control flag to zero. Stop. On the other hand, if the moving image reproduction is stopped, the video display output and the audio output are started, and then the in-control flag is reset to zero to stop the in-control timer. When such control release processing is completed, the process proceeds to step SC7, where a posture detection timer for measuring the posture detection period is started, and this processing is completed.

以上のように、姿勢判別処理の動作は、アプリ動作の制御を解除した状態(制御中フラグが「0」の状態)とアプリ動作を制御中の状態(制御中フラグが「1」の状態)とに大別される。アプリ動作の制御を解除した状態では、姿勢変化が小さくユーザ指定の記憶条件や更新条件を満たしている場合には、姿勢検出部110により検出される姿勢(姿勢を表すパラメータ)と現在時刻とを対応付けて生成される最新の姿勢を基準姿勢に設定したり、最新の姿勢を基準姿勢に更新したりする。   As described above, the posture determination process is performed in a state in which the control of the application operation is released (a state where the controlling flag is “0”) and a state where the application operation is being controlled (a state where the controlling flag is “1”). It is roughly divided into In a state where the control of the application operation is released, when the posture change is small and the user-specified storage condition or update condition is satisfied, the posture (parameter representing the posture) detected by the posture detection unit 110 and the current time are displayed. The latest posture generated in association is set as the reference posture, or the latest posture is updated to the reference posture.

そして、姿勢変化が大きくなってユーザ指定の記憶条件や更新条件を満たさなくなり、かつ基準姿勢および最新の姿勢の比較結果が制御条件を満たさなくなると、起動中のアプリ動作を制御する。具体的には、テレビアプリ動作中にユーザ指定の制御内容が「停止」であると、映像表示出力および音声出力を停止させ、一方、ユーザ指定の制御内容が「停止+記録」ならば、映像/テレビ音声データの記録(録画)を開始させた後、映像表示出力および音声出力を停止させる。また、動画再生アプリ動作中にユーザ指定の制御内容が「一時停止」であると、映像表示出力および音声出力を一時停止させ、一方、ユーザ指定の制御内容が「停止」ならば、映像表示出力および音声出力を停止させる。   Then, when the posture change becomes large and the storage condition or update condition specified by the user is not satisfied, and the comparison result between the reference posture and the latest posture does not satisfy the control condition, the activated application operation is controlled. Specifically, if the user-specified control content is “stop” during the TV application operation, video display output and audio output are stopped, while if the user-specified control content is “stop + record”, video / After recording (recording) of TV audio data is started, video display output and audio output are stopped. Also, if the user-specified control content is “pause” while the video playback application is running, video display output and audio output are paused, while if the user-specified control content is “stop”, video display output And stop audio output.

このようにしてアプリ動作を制御した状態において、基準姿勢および最新の姿勢の双方が制御条件を満たすようになると、アプリ動作の制御を解除する。具体的には、テレビアプリ動作中で録画をしていなければ、受信中の映像/テレビ音声データに基づき映像表示出力および音声出力を開始させ、一方、録画中ならば、タイムシフト再生(追いかけ再生)を行い、現在録画中の映像/テレビ音声データに再生出力が追いつくと、受信中の映像/テレビ音声データに基づき映像表示出力および音声出力を開始させる。また、動画再生アプリ動作中で動画再生一時停止中であると、映像表示出力および音声出力を再開させ、一方、動画再生停止中ならば、映像表示出力および音声出力を開始させる。   In the state in which the application operation is controlled in this way, when both the reference posture and the latest posture satisfy the control condition, the control of the application operation is released. Specifically, if the TV application is not operating and not recording, video display output and audio output are started based on the video / TV audio data being received. When the playback output catches up with the currently recorded video / TV audio data, video display output and audio output are started based on the received video / TV audio data. If the moving image playback application is operating and the moving image playback is paused, video display output and audio output are resumed. On the other hand, if the moving image playback is stopped, video display output and audio output are started.

(4)基準姿勢記憶処理の動作
次に、図12を参照して基準姿勢記憶処理の動作を説明する。上述した姿勢判別処理のステップSC5(図11参照)を介して本処理が実行されると、制御部100は図12に図示するステップSD1に進み、設定フラグが「1」に設定された記憶条件データ(図3参照)を記憶条件記憶部101cから読み出す。そして、ステップSD2以降では、上記ステップSD1で読み出された記憶条件データに応じた処理を実行する。以下、読み出された記憶条件データの項目が「アプリ動作開始時」、「類似の姿勢が所定時間継続」および「アプリ動作中に所定の姿勢」の各場合に分けて動作説明を進める。
(4) Operation of Reference Posture Storage Process Next, the operation of the reference posture storage process will be described with reference to FIG. When this process is executed via step SC5 (see FIG. 11) of the attitude determination process described above, the control unit 100 proceeds to step SD1 illustrated in FIG. 12, and the storage condition in which the setting flag is set to “1”. Data (see FIG. 3) is read from the storage condition storage unit 101c. In step SD2 and subsequent steps, processing corresponding to the storage condition data read in step SD1 is executed. In the following, the explanation of the operation is divided into cases where the read storage condition data items are “when application operation starts”, “similar posture continues for a predetermined time”, and “predetermined posture during application operation”.

<アプリ動作開始時の場合>
この場合、ステップSD2の判断結果が「YES」になり、ステップSD3に進み、アプリ動作開始フラグが「1」、すなわちユーザのテレビ起動操作(又は動画再生起動操作)によって前述したアプリ処理(図10参照)が実行中であるか否かを判断する。アプリ処理が実行されず、アプリ動作開始フラグが「0」ならば、判断結果は「NO」になり、何もせずに本処理を終えるが、アプリ処理の実行に応じてアプリ動作開始フラグが「1」になると、判断結果は「YES」となり、次のステップSD4に進む。
<When the application starts>
In this case, the determination result in step SD2 is “YES”, the process proceeds to step SD3, the application operation start flag is “1”, that is, the above-described application process (FIG. 10) by the user's TV start operation (or video playback start operation). It is determined whether or not (see) is being executed. If the application process is not executed and the application operation start flag is “0”, the determination result is “NO”, and this process is finished without doing anything, but the application operation start flag is “ If “1”, the determination result is “YES”, and the process proceeds to the next step SD4.

ステップSD4では、アプリ動作開始フラグをゼロリセットし、続くステップSD5では、姿勢情報が履歴記憶される姿勢情報記憶部101gから最新の姿勢(姿勢を表すパラメータ)および検出時刻からなる姿勢情報を読み出す。そして、ステップSD6に進み、読み出した最新の姿勢情報中の姿勢(姿勢を表すパラメータ)を基準姿勢情報として基準姿勢情報記憶部101h(図8参照)にストアして本処理を終える。   In step SD4, the application operation start flag is reset to zero, and in the subsequent step SD5, the posture information including the latest posture (parameter representing posture) and the detection time is read from the posture information storage unit 101g in which posture information is stored in history. Then, the process proceeds to step SD6, and the posture (parameter representing the posture) in the read latest posture information is stored in the reference posture information storage unit 101h (see FIG. 8) as the reference posture information, and the process is finished.

<類似の姿勢が所定時間継続の場合>
この場合、上記ステップSD2を介してステップSD7に進み、ここでの判断結果が「YES」となってステップSD8に進む。そして、ステップSD8では、姿勢が所定時間継続いるかどうかを判別する為に、姿勢情報記憶部101gから最新の姿勢(姿勢を表すパラメータ)および検出時刻からなる第1の姿勢情報と、最新の姿勢を検出した時刻から所定時間以前の姿勢(姿勢を表すパラメータ)および検出時刻からなる第2の姿勢情報とを読み出す。
<When similar posture continues for a predetermined time>
In this case, the process proceeds to step SD7 via step SD2, and the determination result here is “YES”, and the process proceeds to step SD8. In step SD8, in order to determine whether or not the posture continues for a predetermined time, the first posture information including the latest posture (parameter representing the posture) and the detection time and the latest posture are stored from the posture information storage unit 101g. The posture (parameter representing posture) before the predetermined time from the detected time and the second posture information consisting of the detection time are read out.

次いで、ステップSD9では、上記ステップSD8において読み出した第1および第2の姿勢情報が記憶条件の内容を満たすか否かを判断する。すなわち、第1および第2の姿勢情報が、記憶条件として設定された姿勢を表すパラメータの範囲に収まり、かつその姿勢を所定時間継続していたかどうかを判断する。この条件を満たしていなければ、判断結果は「NO」になり、本処理を終えるが、記憶条件を満たしていると、判断結果が「YES」になり、ステップSD6に進み、第1の姿勢情報(最新の姿勢情報)中の姿勢(姿勢を表すパラメータ)を基準姿勢情報として基準姿勢情報記憶部101h(図8参照)にストアして本処理を終える。   Next, in step SD9, it is determined whether or not the first and second posture information read in step SD8 satisfies the contents of the storage condition. That is, it is determined whether the first and second posture information are within the parameter range representing the posture set as the storage condition and the posture has been continued for a predetermined time. If this condition is not satisfied, the determination result is “NO”, and the present process is completed. If the storage condition is satisfied, the determination result is “YES”, and the process proceeds to step SD6, where the first posture information is obtained. The posture (parameter representing the posture) in the (latest posture information) is stored in the reference posture information storage unit 101h (see FIG. 8) as the reference posture information, and this processing is completed.

<アプリ動作中に所定の姿勢>
この場合、上記ステップSD2を介してステップSD7に進み、ここでの判断結果が「NO」となってステップSD10に進む。そして、ステップSD10では、姿勢情報記憶部101gから最新の姿勢(姿勢を表すパラメータ)および検出時刻からなる姿勢情報を読み出す。次いで、ステップSD11では、読み出した姿勢情報の姿勢を表すパラメータが、記憶条件として設定された姿勢を表すパラメータの範囲に収まっているかどうかを判断する。
<Predetermined posture during application operation>
In this case, the process proceeds to step SD7 via step SD2, and the determination result here is “NO”, and the process proceeds to step SD10. In step SD10, posture information including the latest posture (a parameter representing the posture) and the detection time is read from the posture information storage unit 101g. Next, in step SD11, it is determined whether or not the parameter representing the posture of the read posture information is within the parameter range representing the posture set as the storage condition.

記憶条件を満たしていなければ、判断結果は「NO」になり、本処理を終えるが、記憶条件を満たしていると、判断結果は「YES」になり、ステップSD6に進み、最新の姿勢情報中の姿勢(姿勢を表すパラメータ)を基準姿勢情報として基準姿勢情報記憶部101h(図8参照)にストアして本処理を終える。   If the storage condition is not satisfied, the determination result is “NO”, and the present process is completed. If the storage condition is satisfied, the determination result is “YES”, and the process proceeds to step SD6, and the latest posture information is included. Is stored in the reference posture information storage unit 101h (see FIG. 8) as reference posture information, and the process is completed.

このように、基準姿勢記憶処理では、ユーザ指定の記憶条件データ(設定フラグが「1」の記憶条件データ)を記憶条件記憶部101cから読み出しておき、姿勢情報記憶部101gに記憶される最新の姿勢情報が、読み出した記憶条件データで指定される条件を満たす場合に、その最新の姿勢情報を基準姿勢情報として基準姿勢情報記憶部101hに記憶する。   In this way, in the reference posture storage process, the storage condition data specified by the user (the storage condition data with the setting flag “1”) is read from the storage condition storage unit 101c and the latest stored in the posture information storage unit 101g. When the posture information satisfies the condition specified by the read storage condition data, the latest posture information is stored as reference posture information in the reference posture information storage unit 101h.

(5)基準姿勢更新処理の動作
次に、図13を参照して基準姿勢変更処理の動作を説明する。前述した姿勢判別処理のステップSC11(図11参照)を介して本処理が実行されると、制御部100は図13に図示するステップSE1に進み、基準姿勢情報記憶部101hに基準姿勢情報(基準姿勢を表すパラメータ)が記憶されているか否かを判断する。基準姿勢情報が記憶されていなければ、判断結果は「NO」になり、本処理を終えるが、基準姿勢情報が記憶されていると、判断結果が「YES」となり、ステップSE2に進む。
(5) Operation of Reference Posture Update Process Next, the operation of the reference posture change process will be described with reference to FIG. When this process is executed via step SC11 (see FIG. 11) of the attitude determination process described above, the control unit 100 proceeds to step SE1 illustrated in FIG. 13 and stores the reference attitude information (reference standard) in the reference attitude information storage unit 101h. It is determined whether or not a parameter representing the posture is stored. If the reference posture information is not stored, the determination result is “NO”, and the process is terminated. If the reference posture information is stored, the determination result is “YES”, and the process proceeds to Step SE2.

ステップSE2では、更新条件記憶部101dから設定フラグが「1」の更新条件データ(図4参照)を読み出し、続くステップSE3では、読み出した更新条件データが「更新する」であるか否かを判断する。読み出した更新条件データが「更新しない」の場合には、判断結果が「NO」になり、本処理を終えるが、「更新する」の場合には、判断結果が「YES」になり、ステップSE4に進む。   In step SE2, update condition data (see FIG. 4) whose setting flag is “1” is read from the update condition storage unit 101d. In subsequent step SE3, it is determined whether or not the read update condition data is “update”. To do. When the read update condition data is “not updated”, the determination result is “NO”, and this processing is finished. However, when it is “update”, the determination result is “YES” and step SE4. Proceed to

ステップSE4では、基準姿勢情報記憶部101hから基準姿勢情報(基準姿勢を表すパラメータ)を読み出し、続くステップSE5では、姿勢情報記憶部101gから最新の姿勢(姿勢を表すパラメータ)および検出時刻からなる姿勢情報を読み出す。そして、ステップSE6では、上記ステップSE4で読み出した基準姿勢情報(基準姿勢を表すパラメータ)と、上記ステップSE5で読み出した最新の姿勢(姿勢を表すパラメータ)とを比較し、その比較結果(差分)が、上記ステップSE2において読み出された更新条件、すなわち「更新する」の更新条件データに含まれる更新条件(姿勢を表すパラメータの範囲)に収まっているかどうかを判断する。言い換えると、基準姿勢と最新の姿勢とが、所定の範囲内で類似しているかどうかを判別する。   In step SE4, the reference posture information (parameters representing the reference posture) is read from the reference posture information storage unit 101h, and in the subsequent step SE5, the posture including the latest posture (parameter representing the posture) and the detection time from the posture information storage unit 101g. Read information. In step SE6, the reference posture information (parameter indicating the reference posture) read in step SE4 is compared with the latest posture (parameter indicating the posture) read in step SE5, and the comparison result (difference) is compared. Is determined to be within the update condition read in step SE2, that is, the update condition (the range of parameters representing the posture) included in the update condition data of “update”. In other words, it is determined whether or not the reference posture and the latest posture are similar within a predetermined range.

基準姿勢および最新の姿勢の比較結果が更新条件(姿勢を表すパラメータの範囲)を満たしていなければ、判断結果は「NO」となり、本処理を終える。これに対し、比較結果が更新条件(姿勢を表すパラメータの範囲)を満たすと、上記ステップSE6の判断結果は「YES」となり、ステップSE7に進む。ステップSE7では、姿勢情報記憶部101gに記憶される姿勢情報中の最新の姿勢(姿勢を表すパラメータ)を、基準姿勢情報として基準姿勢情報記憶部101hに記憶して本処理を終える。   If the comparison result between the reference posture and the latest posture does not satisfy the update condition (the range of parameters indicating the posture), the determination result is “NO”, and the present process ends. On the other hand, when the comparison result satisfies the update condition (the parameter range indicating the posture), the determination result in step SE6 is “YES”, and the process proceeds to step SE7. In step SE7, the latest posture (parameter representing the posture) in the posture information stored in the posture information storage unit 101g is stored in the reference posture information storage unit 101h as the reference posture information, and the process is finished.

このように、基準姿勢更新処理では、基準姿勢情報記憶部101hに基準姿勢情報(基準姿勢を表すパラメータ)が記憶されており、かつ記憶条件記憶部101dから読み出したユーザ指定の更新条件データ(設定フラグが「1」の更新条件データ)が「更新する」であると、基準姿勢および最新の姿勢の比較結果が更新条件(姿勢を表すパラメータの範囲)を満たす場合に、最新の姿勢を基準姿勢情報として基準姿勢情報記憶部101hに更新登録する。   As described above, in the reference posture update process, the reference posture information (a parameter indicating the reference posture) is stored in the reference posture information storage unit 101h, and the user-specified update condition data (setting) read from the storage condition storage unit 101d If the update condition data with the flag “1”) is “update”, the latest posture is set to the reference posture when the comparison result of the reference posture and the latest posture satisfies the update condition (the range of parameters indicating the posture). Information is updated and registered in the reference posture information storage unit 101h.

(6)制御判別処理の動作
次に、図14を参照して制御判別処理の動作を説明する。前述した姿勢判別処理のステップSC8又はステップSC13(図11参照)の何れかを介して本処理が実行されると、制御部100は図14に図示するステップSF1に進み、基準姿勢情報記憶部101hに基準姿勢情報(基準姿勢を表すパラメータ)が記憶されているか否を判断する。基準姿勢情報記憶部101hに基準姿勢情報(基準姿勢を表すパラメータ)が記憶されていなければ、判断結果は「NO」となり、ステップSF7に進み、「制御しない」と判別して本処理を終える。
(6) Operation of Control Discriminating Process Next, the operation of the control discriminating process will be described with reference to FIG. When this processing is executed through either the above-described posture determination processing at step SC8 or step SC13 (see FIG. 11), the control unit 100 proceeds to step SF1 shown in FIG. 14, and the reference posture information storage unit 101h. It is determined whether or not the reference posture information (a parameter indicating the reference posture) is stored in. If the reference posture information (a parameter indicating the reference posture) is not stored in the reference posture information storage unit 101h, the determination result is “NO”, the process proceeds to step SF7, “no control” is determined, and the present process ends.

一方、基準姿勢情報記憶部101hに基準姿勢情報(基準姿勢を表すパラメータ)が記憶済みならば、上記ステップSF1の判断結果は「YES」となり、ステップSF2に進み、制御条件記憶部101eから制御条件データ(姿勢を表すパラメータの範囲)を読み出す。次いで、ステップSF3では、基準姿勢情報記憶部101hから基準姿勢情報(基準姿勢を表すパラメータ)を読み出し、続くステップSF4では、姿勢情報記憶部101gから最新の姿勢(姿勢を表すパラメータ)および検出時刻からなる姿勢情報を読み出す。   On the other hand, if the reference posture information (parameter indicating the reference posture) has already been stored in the reference posture information storage unit 101h, the determination result in step SF1 is “YES”, and the process proceeds to step SF2, and the control condition storage unit 101e receives the control condition. Read data (range of parameters indicating posture). Next, in step SF3, reference posture information (a parameter indicating the reference posture) is read from the reference posture information storage unit 101h, and in the subsequent step SF4, the latest posture (parameter indicating the posture) and the detection time are read from the posture information storage unit 101g. Read the posture information.

そして、ステップSF5では、上記ステップSF3で読み出した基準姿勢情報(基準姿勢を表すパラメータ)と、上記ステップSF4で読み出した最新の姿勢(姿勢を表すパラメータ)とを比較し、その比較結果(差分)が、上記ステップSF2において読み出された制御条件(姿勢を表すパラメータの範囲)に収まっているかどうかを判断する。言い換えると、基準姿勢と最新の姿勢とが、所定の範囲内で類似しているかどうかを判別する。基準姿勢および最新の姿勢の比較結果が制御条件(姿勢を表すパラメータの範囲)を満足していると、判断結果は「NO」となり、ステップSF7に進み、「制御しない」と判別して本処理を終える。これに対し、比較結果が制御条件(姿勢を表すパラメータの範囲)を満たさなければ、上記ステップSF5の判断結果は「YES」となり、ステップSF6に進み、「制御する」と判別して本処理を終える。   In step SF5, the reference posture information (parameter representing the reference posture) read in step SF3 is compared with the latest posture (parameter representing the posture) read in step SF4, and the comparison result (difference). Is determined to be within the control condition (the range of parameters representing the posture) read in step SF2. In other words, it is determined whether or not the reference posture and the latest posture are similar within a predetermined range. If the comparison result between the reference posture and the latest posture satisfies the control condition (the range of parameters representing the posture), the determination result is “NO”, and the process proceeds to step SF7 to determine “not controlled” and perform this processing. Finish. On the other hand, if the comparison result does not satisfy the control condition (the range of parameters indicating the posture), the determination result in step SF5 is “YES”, and the process proceeds to step SF6 to determine “control” and perform this process. Finish.

このように、制御判別処理では、基準姿勢情報記憶部101hに基準姿勢情報(基準姿勢を表すパラメータ)が記憶済みであって、かつ基準姿勢および最新の姿勢の比較結果が制御条件記憶部101eから読み出した制御条件データ(姿勢を表すパラメータの範囲)を満足しない場合に「制御する」と判別する。   As described above, in the control determination process, the reference posture information (a parameter indicating the reference posture) is already stored in the reference posture information storage unit 101h, and the comparison result of the reference posture and the latest posture is obtained from the control condition storage unit 101e. When the read control condition data (the range of parameters indicating the posture) is not satisfied, it is determined that “control” is performed.

(7)制御実行処理(テレビアプリ動作中)の動作
次に、図15を参照してテレビアプリ動作中に実行される制御実行処理の動作を説明する。前述した姿勢判別処理のステップSC15(図11参照)を介してテレビアプリ動作中に本処理が実行されると、制御部100は図15に図示するステップSG1に進み、設定フラグが「1」に設定された制御内容データ(図6参照)を制御内容記憶部101fから読み出す。
(7) Operation of Control Execution Process (During TV Application Operation) Next, the operation of the control execution process executed during the TV application operation will be described with reference to FIG. When this process is executed during the TV application operation through the above-described posture determination process SC15 (see FIG. 11), the control unit 100 proceeds to step SG1 shown in FIG. 15, and the setting flag is set to “1”. The set control content data (see FIG. 6) is read from the control content storage unit 101f.

次いで、ステップSG2では、読み出した制御内容データの項目が「停止」であるか否かを判断する。読み出した制御内容データの項目が「停止+記録」であると、判断結果は「NO」になり、ステップSG3に進み、テレビ放送・ラジオ放送受信部103から出力される映像/テレビ音声データの記録(録画)を開始した後、ステップSG4に進む。   Next, in step SG2, it is determined whether or not the item of the read control content data is “stop”. If the read control content data item is “stop + record”, the determination result is “NO”, the process proceeds to step SG3, and the video / TV audio data output from the TV / radio broadcast receiver 103 is recorded. After (recording) is started, the process proceeds to step SG4.

一方、読み出した制御内容データの項目が「停止」であると、上記ステップSG2の判断結果は「YES」になり、ステップSG4に進む。ステップSG4では、映像表示出力を停止させ、続くステップSG5では、音声出力を停止させる。そして、ステップSG6に進み、制御中フラグに「1」をセットし、続くステップSG7では、制御中タイマをスタートさせて本処理を終える。   On the other hand, if the item of the read control content data is “stop”, the determination result in step SG2 is “YES”, and the process proceeds to step SG4. In step SG4, the video display output is stopped, and in the subsequent step SG5, the audio output is stopped. In step SG6, “1” is set in the in-control flag, and in the subsequent step SG7, the in-control timer is started and the process is terminated.

このように、制御実行処理(テレビアプリ動作中)では、制御内容記憶部101fから読み出したユーザ指定の制御内容データ(設定フラグが「1」の制御内容データ)が「停止」の場合には、映像表示出力および音声出力を停止させた後、制御中フラグに「1」をセットして制御中タイマをスタートさせる。一方、ユーザ指定の制御内容データが「停止+記録」ならば、テレビ放送・ラジオ放送受信部103から出力される映像/テレビ音声データの記録(録画)を開始させた後、映像表示出力および音声出力を停止させ、制御中フラグに「1」をセットして制御中タイマをスタートさせる。   As described above, in the control execution process (during TV application operation), when the control content data specified by the user (the control content data with the setting flag “1”) read from the control content storage unit 101f is “stop”, After the video display output and the audio output are stopped, “1” is set in the in-control flag to start the in-control timer. On the other hand, if the control content data specified by the user is “stop + record”, recording of video / television audio data output from the television broadcast / radio broadcast receiving unit 103 is started, and then video display output and audio are recorded. The output is stopped, the in-control flag is set to “1”, and the in-control timer is started.

(8)制御実行処理(動画再生アプリ動作中)の動作
次に、図16を参照して動画再生アプリ動作中に実行される制御実行処理の動作を説明する。前述した姿勢判別処理のステップSC15(図11参照)を介して動画再生アプリ動作中に本処理が実行されると、制御部100は図16に図示するステップSH1に進み、設定フラグが「1」に設定された制御内容データ(図6参照)を制御内容記憶部101fから読み出す。
(8) Operation of Control Execution Process (During Video Reproduction Application Operation) Next, the operation of the control execution process executed during the video reproduction application operation will be described with reference to FIG. When this processing is executed during the motion picture playback application operation through the above-described posture determination processing step SC15 (see FIG. 11), the control unit 100 proceeds to step SH1 shown in FIG. 16 and the setting flag is “1”. The control content data set in (see FIG. 6) is read from the control content storage unit 101f.

次いで、ステップSH2では、読み出した制御内容データの項目が「停止」であるか否かを判断する。読み出した制御内容データの項目が「一時停止」であると、判断結果は「NO」になり、ステップSH3に進み、映像表示出力を一時停止させ、続くステップSH4では、音声出力を一時停止させた後、ステップSH7に進む。   Next, in step SH2, it is determined whether or not the item of the read control content data is “stop”. If the read control content data item is “pause”, the determination result is “NO”, the process proceeds to step SH3, the video display output is paused, and in the subsequent step SH4, the audio output is paused. Then, the process proceeds to step SH7.

一方、読み出した制御内容データの項目が「停止」ならば、上記ステップSH2の判断結果は「YES」になり、ステップSH5に進む。ステップSH5〜SH6では、映像表示出力を停止させると共に、音声出力を停止させた後、ステップSH7に進む。そして、ステップSH7では、制御中フラグに「1」をセットし、続くステップSH8では、制御中タイマをスタートさせて本処理を終える。   On the other hand, if the item of the read control content data is “stop”, the determination result in step SH2 is “YES”, and the process proceeds to step SH5. In steps SH5 to SH6, the video display output is stopped and the audio output is stopped, and then the process proceeds to step SH7. In step SH7, “1” is set to the in-control flag, and in subsequent step SH8, the in-control timer is started and the process is terminated.

このように、制御実行処理(動画再生アプリ動作中)では、制御内容記憶部101fから読み出したユーザ指定の制御内容データ(設定フラグが「1」の制御内容データ)が「一時停止」の場合には、映像表示出力および音声出力を一時停止させた後、制御中フラグに「1」をセットして制御中タイマをスタートさせる。一方、ユーザ指定の制御内容データが「停止」ならば、映像表示出力および音声出力を停止させた後、制御中フラグに「1」をセットして制御中タイマをスタートさせる。   As described above, in the control execution process (while the video playback application is operating), when the user-specified control content data (control content data whose setting flag is “1”) read from the control content storage unit 101f is “pause”. After temporarily stopping the video display output and the audio output, “1” is set to the in-control flag and the in-control timer is started. On the other hand, if the control content data specified by the user is “stop”, the video display output and the audio output are stopped, then “1” is set to the control flag, and the control timer is started.

(9)制御解除処理(テレビアプリ動作中)の動作
次に、図17を参照してテレビアプリ動作中に実行される制御解除処理の動作を説明する。前述した姿勢判別処理のステップSC10(図11参照)を介してテレビアプリ動作中に本処理が実行されると、制御部100は図17に図示するステップSJ1に進む。ステップSJ1では、前述した制御実行処理(テレビアプリ動作中)のステップSG3(図15参照)によって記録開始が指示され、これによりテレビ放送・ラジオ放送受信部103から出力される映像/テレビ音声データを記録(録画)中であるか否かを判断する。
(9) Operation of Control Release Process (During TV Application Operation) Next, the operation of the control release process executed during the TV application operation will be described with reference to FIG. When this process is executed during the TV application operation via the above-described posture determination process step SC10 (see FIG. 11), the control unit 100 proceeds to step SJ1 shown in FIG. In step SJ1, recording start is instructed by step SG3 (see FIG. 15) of the control execution process (during TV application operation) described above, whereby the video / TV audio data output from the TV broadcast / radio broadcast receiving unit 103 is It is determined whether recording is in progress.

映像/テレビ音声データを録画中でなければ、判断結果は「NO」になり、後述のステップSJ3に進むが、録画中であると、判断結果が「YES」となり、ステップSJ2に進む。ステップSJ2では、映像/テレビ音声データを録画しつつ、録画済みの映像/テレビ音声データを通常再生より早送りで再生するタイムシフト再生(追いかけ再生)を行い、現在録画中の映像/テレビ音声データに再生出力が追いついた時点で録画を停止して受信中の映像/テレビ音声データに基づく映像表示出力および音声出力の開始を指示する。次いで、ステップSJ3〜SJ4では、上記ステップSJ2の開始指示に応じて映像表示出力および音声出力を開始させる。そして、ステップSJ5では、制御中フラグをゼロセットし、続くステップSJ6では、制御中タイマを停止させて本処理を終える。   If the video / TV audio data is not being recorded, the determination result is “NO”, and the process proceeds to step SJ3, which will be described later. If the video / TV audio data is being recorded, the determination result is “YES”, and the process proceeds to step SJ2. In step SJ2, time-shifted playback (chase playback) is performed to record the video / TV audio data while playing the recorded video / TV audio data faster than the normal playback, and the currently recorded video / TV audio data is obtained. When the reproduction output catches up, the recording is stopped and an instruction to start video display output and audio output based on the video / TV audio data being received is given. Next, in steps SJ3 to SJ4, video display output and audio output are started in response to the start instruction in step SJ2. In step SJ5, the in-control flag is set to zero, and in subsequent step SJ6, the in-control timer is stopped and the process is terminated.

このように、制御解除処理(テレビアプリ動作中)では、映像/テレビ音声データを録画中でなければ、受信中の映像/テレビ音声データに基づき映像表示出力および音声出力を開始させた後、制御中フラグをゼロセットして制御中タイマを停止させる。一方、映像/テレビ音声データを録画中ならば、タイムシフト再生(追いかけ再生)を行い、現在録画中の映像/テレビ音声データに再生出力が追いつくと、受信中の映像/テレビ音声データに基づき映像表示出力および音声出力を開始させた後、制御中フラグをゼロセットして制御中タイマを停止させる。   In this way, in the control release processing (during TV application operation), if video / TV audio data is not being recorded, video display output and audio output are started based on the video / TV audio data being received, and then control is performed. Set the middle flag to zero to stop the controlling timer. On the other hand, if video / TV audio data is being recorded, time-shifted playback (chasing playback) is performed. When the playback output catches up with the currently recorded video / TV audio data, the video / TV audio data is recorded based on the received video / TV audio data. After starting display output and audio output, the in-control flag is set to zero and the in-control timer is stopped.

(10)制御解除処理(動画再生アプリ動作中)の動作
次に、図18を参照して動画再生アプリ動作中に実行される制御解除処理の動作を説明する。前述した姿勢判別処理のステップSC10(図11参照)を介して動画再生アプリ動作中に本処理が実行されると、制御部100は図18に図示するステップSK1に進み、動画再生停止中であるか否かを判断する。一時停止中ならば、判断結果は「NO」になり、ステップSK2に進み、映像表示出力を再開させ、続くステップSK3では、音声出力を再開させた後、ステップSK6に進む。
(10) Operation of Control Release Process (During Movie Reproduction Application Operation) Next, the operation of the control release process executed during the operation of the movie reproduction application will be described with reference to FIG. When this process is executed during the motion picture playback application operation through the above-described posture determination process step SC10 (see FIG. 11), the control unit 100 proceeds to step SK1 shown in FIG. Determine whether or not. If it is temporarily stopped, the determination result is “NO”, the process proceeds to step SK2, the video display output is resumed, and in the subsequent step SK3, the audio output is resumed, and then the process proceeds to step SK6.

一方、停止中であると、上記ステップSK1の判断結果が「YES」になり、ステップSK4に進む。ステップSK4〜SK5では、映像表示出力を開始させると共に、音声出力を開始させた後、ステップSK6に進む。そして、ステップSK6では、制御中フラグをゼロリセットし、続くステップSK7では、制御中タイマを停止させて本処理を終える。   On the other hand, if the vehicle is stopped, the determination result in step SK1 is “YES”, and the process proceeds to step SK4. In steps SK4 to SK5, the video display output is started and the audio output is started, and then the process proceeds to step SK6. In step SK6, the in-control flag is reset to zero, and in subsequent step SK7, the in-control timer is stopped and the process is terminated.

このように、制御解除処理(動画再生アプリ動作中)では、動画再生一時停止中であると、映像表示出力および音声出力を再開させた後、制御中フラグをゼロリセットして制御中タイマを停止させる。一方、動画再生停止中であったならば、映像表示出力および音声出力を開始させた後、制御中フラグをゼロリセットして制御中タイマを停止させる。   In this way, in the control release process (while the video playback application is operating), if video playback is paused, the video display output and audio output are resumed, and then the in-control flag is reset to zero and the in-control timer is stopped. Let On the other hand, if the moving image reproduction is stopped, the video display output and the audio output are started, and then the in-control flag is reset to zero to stop the in-control timer.

以上のように、本実施形態では、例えばユーザが携帯電話10を両手に把持した状態でテレビ放送の番組を視聴していると、携帯電話10の姿勢変化は小さくユーザ指定の記憶条件や更新条件を満たす為、一定期間毎に姿勢検出部110により検出される姿勢(姿勢を表すパラメータ)と現在時刻とを対応付けて生成される最新の姿勢を基準姿勢に設定したり、最新の姿勢を基準姿勢に更新したりする。   As described above, in the present embodiment, for example, when a user is watching a TV broadcast program while holding the mobile phone 10 with both hands, the change in the posture of the mobile phone 10 is small, and the storage conditions and update conditions specified by the user In order to satisfy the above condition, the latest posture generated by associating the posture (parameter representing posture) detected by the posture detection unit 110 and the current time at regular intervals is set as a reference posture, or the latest posture is used as a reference. Or update to posture.

そして、例えばユーザが番組視聴に疲れ、視聴時とは異なる姿勢で携帯電話10を放置したとする。そうすると、携帯電話10の姿勢変化が大きくなってユーザ指定の記憶条件や更新条件を満たさなくなり、かつ基準姿勢および最新の姿勢の比較結果が制御条件を満たさなくなる為、起動中のアプリ動作を制御する。具体的には、ユーザ指定の制御内容が「停止」ならば、映像表示出力および音声出力を停止させ、ユーザ指定の制御内容が「停止+記録」ならば、映像/テレビ音声データの記録(録画)を開始させた後、映像表示出力および音声出力を停止させる。   For example, it is assumed that the user is tired of watching the program and left the mobile phone 10 in a posture different from that during viewing. Then, since the posture change of the mobile phone 10 becomes large and the storage conditions and update conditions specified by the user are not satisfied, and the comparison result of the reference posture and the latest posture does not satisfy the control conditions, the application operation being started is controlled. . Specifically, if the user-specified control content is “stop”, video display output and audio output are stopped. If the user-specified control content is “stop + record”, video / TV audio data recording (recording) is performed. ) Is started, video display output and audio output are stopped.

その後、ユーザが携帯電話10を両手に把持して当初の体勢に戻したとする。そうすると、基準姿勢および最新の姿勢の比較結果が制御条件を満たす為、アプリ動作の制御を解除する。具体的には、録画をしていなければ、受信中の映像/テレビ音声データに基づき映像表示出力および音声出力を開始させ、一方、録画中ならば、タイムシフト再生(追いかけ再生)を行い、現在録画中の映像/テレビ音声データに再生出力が追いつくと、受信中の映像/テレビ音声データに基づき映像表示出力および音声出力を開始させるようにするので、携帯電話10の姿勢に応じてアプリケーションの動作を適切に制御することができる。   Thereafter, it is assumed that the user holds the mobile phone 10 with both hands and returns to the initial posture. Then, since the comparison result of the reference posture and the latest posture satisfies the control condition, the control of the application operation is released. Specifically, if recording is not in progress, video display output and audio output are started based on the video / TV audio data being received. On the other hand, if recording is in progress, time-shift playback (chase playback) is performed. When the playback output catches up with the video / TV audio data being recorded, the video display output and the audio output are started based on the video / TV audio data being received. Can be controlled appropriately.

また、上述した実施形態において得られる、より具体的な他の効果は、下記(a)〜(i)項に記載の通りである。
(a)基準姿勢を記憶するか否かを適切に判別することによって適切な基準姿勢を記憶することができ、以降、この適切な基準姿勢に基づいて、アプリ動作を適切に制御することができる。
(b)アプリ動作中に所定範囲内の姿勢を所定時間継続した場合に、その姿勢を基準姿勢として記憶することができる。以降、この適切な基準姿勢に基づいて、アプリ動作を適切に制御することができる。例えばユーザがテレビアプリを動作させてもすぐには視聴せず、端末装置の姿勢をいろいろ変えている場合には、それらの姿勢を基準姿勢とはせずに、ユーザが視聴を開始し、端末装置の姿勢が安定した場合(所定範囲内の姿勢を所定時間継続した場合)に、その姿勢を基準姿勢とすることができる。
(c)アプリ動作中の姿勢が、予め指定された姿勢の所定範囲内に含まれる場合に、その姿勢を基準姿勢として記憶することができる。以降、この適切な基準姿勢に基づいて、アプリ動作を適切に制御することができる。例えばユーザがテレビアプリを動作させてもすぐには視聴せず、端末装置を持った手を下に下げているような場合には、その姿勢を基準姿勢とはせずに、ユーザが視聴を開始し、端末装置の姿勢がユーザが視聴している姿勢の場合(予め指定された姿勢の所定範囲内に含まれる場合)に、その姿勢を基準姿勢とすることができる。
(d)基準姿勢を適切に更新することができる。以降、この適切に更新された基準姿勢に基づいてアプリ動作を適切に制御することができる。
(e)検出された姿勢が基準姿勢の所定範囲内である場合に、基準姿勢を更新することができる。以降、この更新された基準姿勢に基づいてアプリ動作を制御することができる。例えばユーザがテレビアプリを動作させてテレビ放送を視聴中に、ユーザ自らの姿勢と端末装置の姿勢を徐々に変化させた場合に、その変化後の姿勢を基準姿勢とすることができる。
(f)アプリ動作中の姿勢が基準姿勢の所定の範囲外になった場合に、表示出力動作及び音声出力動作の少なくともいずれか一方の動作を停止することによって、動作中のアプリケーションをユーザが利用していないと判別される状況で、アプリケーションの不要な動作を停止することができ、不要な電力消費を抑制することができる。
(g)アプリ動作中の姿勢が基準姿勢の所定の範囲外になった場合に、情報を記録することによって、その情報をユーザが後で確認することができる。
(h)アプリ動作が制御された後、基準姿勢と検出された姿勢に応じて、その制御を適切に解除することができる。たとえば、アプリ動作中の姿勢が基準姿勢から大きく離れた場合(所定の範囲外になった場合)に表示出力動作を停止したのち、再び基準姿勢に近い姿勢になったときに、表示出力動作の停止を解除することによって、ユーザは出力されている表示内容を見ることができる。
(i)アプリ動作が制御された後、所定時間経過後に、アプリ動作を終了することによって、動作中のアプリケーションをユーザが所定時間以上利用していないと判別される状況で、アプリケーションの不要な動作を停止することができ、不要な電力消費を抑制することができる。
Other more specific effects obtained in the above-described embodiment are as described in the following items (a) to (i).
(A) An appropriate reference posture can be stored by appropriately determining whether or not to store the reference posture, and thereafter, the application operation can be appropriately controlled based on the appropriate reference posture. .
(B) When a posture within a predetermined range is continued for a predetermined time during the application operation, the posture can be stored as a reference posture. Thereafter, the application operation can be appropriately controlled based on the appropriate reference posture. For example, when the user operates the TV application and does not watch immediately, but changes the attitude of the terminal device, the user starts watching without changing the attitude of the terminal device, and the terminal When the posture of the apparatus is stable (when the posture within a predetermined range is continued for a predetermined time), the posture can be set as a reference posture.
(C) When the posture during the application operation is included in a predetermined range of a posture specified in advance, the posture can be stored as a reference posture. Thereafter, the application operation can be appropriately controlled based on the appropriate reference posture. For example, when the user operates the TV application, the user does not watch immediately, and when the hand holding the terminal device is lowered, the user does not set the posture as the reference posture and the user views If the posture of the terminal device is a posture that the user is viewing (when it is included in a predetermined range of the posture specified in advance), the posture can be set as the reference posture.
(D) The reference posture can be updated appropriately. Thereafter, the application operation can be appropriately controlled based on the appropriately updated reference posture.
(E) When the detected posture is within a predetermined range of the reference posture, the reference posture can be updated. Thereafter, the application operation can be controlled based on the updated reference posture. For example, when the user operates the television application and views a television broadcast, when the user's own posture and the posture of the terminal device are gradually changed, the changed posture can be set as the reference posture.
(F) When the posture during the application operation is outside the predetermined range of the reference posture, the user uses the application during operation by stopping at least one of the display output operation and the audio output operation. In a situation where it is determined that the application has not been performed, unnecessary operation of the application can be stopped, and unnecessary power consumption can be suppressed.
(G) When the posture during the application operation is outside the predetermined range of the reference posture, the user can confirm the information later by recording the information.
(H) After the application operation is controlled, the control can be appropriately released according to the reference posture and the detected posture. For example, when the posture while the app is operating is far away from the reference posture (out of the predetermined range), after the display output operation is stopped, the display output operation By canceling the stop, the user can see the displayed display contents.
(I) Unnecessary operation of the application in a situation where it is determined that the user has not used the active application for a predetermined time or more by ending the application operation after a predetermined time has elapsed after the application operation is controlled. Can be stopped, and unnecessary power consumption can be suppressed.

なお、上述の実施形態では、端末装置として携帯電話10を想定しているが、本発明の要旨は、これに限らず、パーソナルコンピュータ、PDA、デジタルカメラ、音楽プレイヤーなど、任意の端末装置に適用可能であることは言うまでもない。また、本実施形態では、折り畳み開閉タイプの携帯電話10を想定したが、これに限らず、ストレートタイプ、スライドタイプ、スピントップタイプなど任意の筐体構造であっても構わない。記憶部101は、携帯電話10の内部に設けられるメモリに限定されず、メモリカードや外付けハードディスクなど、任意の外部記憶装置でも良い。   In the above-described embodiment, the mobile phone 10 is assumed as the terminal device. However, the gist of the present invention is not limited to this, and is applicable to any terminal device such as a personal computer, a PDA, a digital camera, and a music player. It goes without saying that it is possible. In the present embodiment, the folding open / close type mobile phone 10 is assumed. However, the present invention is not limited to this, and an arbitrary housing structure such as a straight type, a slide type, or a spin top type may be used. The storage unit 101 is not limited to a memory provided in the mobile phone 10 and may be an arbitrary external storage device such as a memory card or an external hard disk.

また、本実施形態では、携帯電話10が備えるアプリケーションとして、テレビアプリ(テレビ放送受信出力機能)および動画再生アプリ(動画再生出力機能)を一例に挙げたが、本発明はこれらアプリケーションに限定して適用されるものではなく、ラジオ放送受信出力機能、静止画像再生機能、アドレス帳機能などの他のいかなるアプリケーションに適用可能であることは言うまでもない。   In the present embodiment, the TV application (TV broadcast reception output function) and the video playback application (video playback output function) are given as examples of applications included in the mobile phone 10, but the present invention is limited to these applications. Needless to say, the present invention can be applied to any other application such as a radio broadcast reception output function, a still image reproduction function, and an address book function.

姿勢検出部110により検出される姿勢(姿勢を表すパラメータ)は、重力の基準軸(重力方向)に対する角度に限定されず、姿勢を表す任意のパラメータで良い。また、記憶条件記憶部101cに記憶される記憶条件データ、更新条件記憶部101dに記憶される更新条件データおよび制御条件記憶部101eに記憶される制御条件データは、本実施形態で例示したものに限定されず、姿勢に関する任意の内容で良い。   The posture (parameter representing the posture) detected by the posture detection unit 110 is not limited to an angle with respect to the gravity reference axis (gravity direction), and may be any parameter representing the posture. The storage condition data stored in the storage condition storage unit 101c, the update condition data stored in the update condition storage unit 101d, and the control condition data stored in the control condition storage unit 101e are as exemplified in this embodiment. It is not limited, and any content regarding the posture may be used.

さらに、本実施形態では。制御条件を満たしたか否かの判別結果に基づいてアプリ動作の制御を実行したり解除したりするようにしたが、これに替えて、制御を実行するための制御実行条件と、制御を解除するための制御解除条件とを別々の内容の条件として設ける態様としても構わない。   Furthermore, in this embodiment. Based on the determination result of whether or not the control condition is satisfied, the control of the application operation is executed or canceled. Instead, the control execution condition for executing the control and the control are canceled. Therefore, it is possible to provide a control release condition as a condition with different contents.

10 携帯電話
100 制御部
101 記憶部
101a プログラム記憶部
101b 各種情報一時記憶部
101c 記憶条件記憶部
101d 更新条件記憶部
101e 制御条件記憶部
101f 制御内容記憶部
101g 姿勢情報記憶部
101h 基準姿勢情報記憶部
101i データ記憶部
102 無線通信部
103 テレビ放送・ラジオ放送受信部
104 音声信号処理部
105 表示部
106 操作部
107 RTC
108 報知部
108a サウンドスピーカ
108b LED
108c 振動モータ
109 電池部
110 姿勢検出部
DESCRIPTION OF SYMBOLS 10 Mobile phone 100 Control part 101 Storage part 101a Program storage part 101b Various information temporary storage part 101c Storage condition storage part 101d Update condition storage part 101e Control condition storage part 101f Control content storage part 101g Attitude information storage part 101h Reference | standard attitude information storage part 101i Data storage unit 102 Wireless communication unit 103 Television / radio broadcast receiving unit 104 Audio signal processing unit 105 Display unit 106 Operation unit 107 RTC
108 Notification unit 108a Sound speaker 108b LED
108c Vibration motor 109 Battery unit 110 Attitude detection unit

Claims (11)

所定の機能を提供するアプリケーションを制御する端末装置において、
アプリケーションが動作中か否かを判別する動作判別手段と、
自装置の姿勢を検出する姿勢検出手段と、
前記動作判別手段によってアプリケーションの動作中と判別された場合に、前記姿勢検出手段により検出された姿勢を基準姿勢として記憶手段に記憶する記憶制御手段と、
前記姿勢検出手段により検出された姿勢と、前記記憶制御手段により記憶手段に記憶された基準姿勢とを比較する比較手段と、
前記比較手段の比較結果に応じて、アプリケーションの動作を制御する動作制御手段と
を具備することを特徴とする端末装置。
In a terminal device that controls an application that provides a predetermined function,
Action discriminating means for discriminating whether or not the application is operating;
Posture detection means for detecting the posture of the device itself;
A storage control unit that stores the posture detected by the posture detection unit in the storage unit as a reference posture when the movement determination unit determines that the application is operating;
A comparison unit that compares the posture detected by the posture detection unit with a reference posture stored in the storage unit by the storage control unit;
An operation control means for controlling the operation of the application according to the comparison result of the comparison means.
前記姿勢検出手段により検出された姿勢を基準姿勢として記憶するか否かを判別する記憶判別手段を更に備え、
前記記憶制御手段は、前記記憶判別手段によって記憶すると判別された場合に、前記姿勢検出手段により検出された姿勢を基準姿勢として記憶することを特徴とする請求項1記載の端末装置。
A storage determination unit for determining whether or not to store the posture detected by the posture detection unit as a reference posture;
2. The terminal device according to claim 1, wherein the storage control unit stores, as a reference posture, the posture detected by the posture detection unit when it is determined that the storage determination unit stores the posture.
前記記憶判別手段は、アプリケーションが動作中であって、検出された姿勢が所定範囲内の姿勢を所定時間継続した場合に、その検出された姿勢を基準姿勢として記憶すると判別することを特徴とする請求項2記載の端末装置。   The storage determining means determines that the detected posture is stored as a reference posture when the application is in operation and the detected posture continues within a predetermined range for a predetermined time. The terminal device according to claim 2. 前記記憶判別手段は、アプリケーションが動作中であって、検出された姿勢が予め指定された姿勢の所定範囲内に含まれる場合に、その検出された姿勢を基準姿勢として記憶すると判別することを特徴とする請求項2記載の端末装置。   The storage determining unit determines that the detected posture is stored as a reference posture when the application is in operation and the detected posture is included in a predetermined range of a predetermined posture. The terminal device according to claim 2. 前記記憶制御手段によって記憶手段に基準姿勢が記憶済みであって、かつ前記比較手段の比較結果が所定の条件を満たす場合に、記憶手段に記憶されている基準姿勢を、前記姿勢検出手段により検出された最新の姿勢に更新する更新手段を更に備えることを特徴とする請求項1記載の端末装置。   When the reference attitude is stored in the storage means by the storage control means, and the comparison result of the comparison means satisfies a predetermined condition, the reference attitude stored in the storage means is detected by the attitude detection means. The terminal device according to claim 1, further comprising updating means for updating to the latest posture. 前記更新手段は、前記姿勢検出手段により検出された最新の姿勢が、基準姿勢に対して所定範囲内である場合に、その最新の姿勢を基準姿勢に更新することを特徴とする請求項5記載の端末装置。   The update means updates the latest posture to the reference posture when the latest posture detected by the posture detection means is within a predetermined range with respect to the reference posture. Terminal equipment. 前記アプリケーションは、少なくとも表示出力動作する機能又は音声出力動作する機能のいずれか一方を備え、
前記動作制御手段は、前記比較手段による比較の結果、検出された姿勢が記憶されている基準姿勢に対して所定範囲外である場合に、アプリケーションが備える機能の少なくともいずれか一方の動作を停止させることを特徴とする請求項1記載の端末装置。
The application includes at least one of a function for display output operation or a function for voice output operation,
The operation control unit stops the operation of at least one of the functions of the application when the detected posture is out of a predetermined range with respect to the stored reference posture as a result of the comparison by the comparison unit. The terminal device according to claim 1.
前記アプリケーションは、少なくとも生成した情報を表示出力動作する機能又は生成した情報を音声出力動作する機能のいずれか一方を備え、
前記動作制御手段は、前記比較手段による比較の結果、検出された姿勢が記憶されている基準姿勢に対して所定範囲外になった場合に、アプリケーションが生成した情報を記憶手段に記録する情報記録制御手段を更に備えることを特徴とする請求項1記載の端末装置。
The application includes at least one of a function to display and output the generated information or a function to output and output the generated information.
The operation control unit records information generated by the application in the storage unit when the detected posture is out of a predetermined range with respect to the stored reference posture as a result of the comparison by the comparison unit. The terminal device according to claim 1, further comprising a control unit.
前記動作制御手段によってアプリケーションの動作が制御された後、前記比較手段の比較結果に応じて、当該動作制御手段による制御を解除する解除手段を更に備えることを特徴とする請求項1記載の端末装置。   2. The terminal device according to claim 1, further comprising: a release unit that releases control by the operation control unit in accordance with a comparison result of the comparison unit after the operation of the application is controlled by the operation control unit. . 前記動作制御手段によってアプリケーションの動作が制御されてから所定時間経過後に、アプリケーションの動作を終了する終了手段を更に備えることを特徴とする請求項1記載の端末装置。   The terminal device according to claim 1, further comprising an ending unit that ends the operation of the application after a predetermined time has elapsed since the operation of the application was controlled by the operation control unit. 所定の機能を提供するアプリケーションを制御する端末装置に搭載されるコンピュータに、
アプリケーションが動作中か否かを判別する動作判別ステップと、
自装置の姿勢を検出する姿勢検出ステップと、
前記動作判別ステップでアプリケーションの動作中と判別された場合に、前記姿勢検出ステップにて検出された姿勢を基準姿勢として記憶する記憶制御ステップと、
前記姿勢検出ステップにて検出された姿勢と、前記記憶制御ステップにより記憶された基準姿勢とを比較する比較ステップと、
前記比較ステップでの比較結果に応じて、アプリケーションの動作を制御する動作制御ステップと
を実行させることを特徴とするプログラム。
In a computer mounted on a terminal device that controls an application that provides a predetermined function,
An operation determination step for determining whether or not the application is operating;
A posture detection step for detecting the posture of the device;
A storage control step of storing the posture detected in the posture detection step as a reference posture when it is determined that the application is operating in the motion determination step;
A comparison step for comparing the posture detected in the posture detection step with the reference posture stored in the storage control step;
An operation control step for controlling the operation of the application according to the comparison result in the comparison step.
JP2009163605A 2009-07-10 2009-07-10 Terminal device and program Pending JP2011018272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009163605A JP2011018272A (en) 2009-07-10 2009-07-10 Terminal device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009163605A JP2011018272A (en) 2009-07-10 2009-07-10 Terminal device and program

Publications (1)

Publication Number Publication Date
JP2011018272A true JP2011018272A (en) 2011-01-27

Family

ID=43595994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009163605A Pending JP2011018272A (en) 2009-07-10 2009-07-10 Terminal device and program

Country Status (1)

Country Link
JP (1) JP2011018272A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014520310A (en) * 2011-05-13 2014-08-21 アマゾン・テクノロジーズ、インコーポレイテッド Use of spatial information using device interaction
JP2016067032A (en) * 2015-12-04 2016-04-28 ヤフー株式会社 Terminal device, moving image control method, and moving image control program
US10003859B2 (en) 2013-09-19 2018-06-19 Yahoo Japan Corporation Distribution device and distribution method
US10685651B2 (en) 2017-07-04 2020-06-16 Fuji Xerox Co., Ltd. Information processing apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005275046A (en) * 2004-03-25 2005-10-06 Matsushita Electric Ind Co Ltd Picture display device and picture display method
JP2006072466A (en) * 2004-08-31 2006-03-16 Vodafone Kk Electronic equipment
JP2006148773A (en) * 2004-11-24 2006-06-08 Yamaha Corp Mobile terminal device and control method therefor
JP2007080219A (en) * 2005-09-16 2007-03-29 Navitime Japan Co Ltd Mobile terminal and power saving control method in the same
JP2007296247A (en) * 2006-05-02 2007-11-15 Sony Computer Entertainment Inc Game controller
JP2008026798A (en) * 2006-07-25 2008-02-07 Softbank Mobile Corp Display processing method and mobile communication terminal apparatus
JP2008154125A (en) * 2006-12-20 2008-07-03 Casio Hitachi Mobile Communications Co Ltd Video output apparatus and program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005275046A (en) * 2004-03-25 2005-10-06 Matsushita Electric Ind Co Ltd Picture display device and picture display method
JP2006072466A (en) * 2004-08-31 2006-03-16 Vodafone Kk Electronic equipment
JP2006148773A (en) * 2004-11-24 2006-06-08 Yamaha Corp Mobile terminal device and control method therefor
JP2007080219A (en) * 2005-09-16 2007-03-29 Navitime Japan Co Ltd Mobile terminal and power saving control method in the same
JP2007296247A (en) * 2006-05-02 2007-11-15 Sony Computer Entertainment Inc Game controller
JP2008026798A (en) * 2006-07-25 2008-02-07 Softbank Mobile Corp Display processing method and mobile communication terminal apparatus
JP2008154125A (en) * 2006-12-20 2008-07-03 Casio Hitachi Mobile Communications Co Ltd Video output apparatus and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014520310A (en) * 2011-05-13 2014-08-21 アマゾン・テクノロジーズ、インコーポレイテッド Use of spatial information using device interaction
US10003859B2 (en) 2013-09-19 2018-06-19 Yahoo Japan Corporation Distribution device and distribution method
JP2016067032A (en) * 2015-12-04 2016-04-28 ヤフー株式会社 Terminal device, moving image control method, and moving image control program
US10685651B2 (en) 2017-07-04 2020-06-16 Fuji Xerox Co., Ltd. Information processing apparatus
US11682392B2 (en) 2017-07-04 2023-06-20 Fujifilm Business Innovation Corp. Information processing apparatus

Similar Documents

Publication Publication Date Title
JP2001333153A (en) Method of processing incoming call in mobile phone with game function
JP2008219256A (en) Information processor, projecting method and projection program
JP2011018272A (en) Terminal device and program
JP4538434B2 (en) Portable terminal device and program
JP2005237014A (en) Wristwatch with information terminal function and mobile phone
JP2007043358A (en) Television receiver and program
JP4880423B2 (en) Communication terminal and communication terminal processing program
JP4838548B2 (en) Mobile device
JP4197295B2 (en) Portable terminal, reception method in portable terminal, program, and recording medium
JP4554533B2 (en) Portable terminal device and voice output method thereof
JP4435206B2 (en) Mobile radio terminal device
JP2008160455A (en) Portable terminal device with streaming reproduction function
JP2005110067A (en) Mobile information terminal, call arrival control method used therefor, and its program
JP2006197047A (en) Mobile communication terminal, warming screen display method used therefor, and program thereof
JP4774115B2 (en) Mobile radio terminal device
US7886171B2 (en) Music reproducing device that temporarily memorizes music information from notifying section when operating function unit is inactive
JP2006148773A (en) Mobile terminal device and control method therefor
JP2006014122A (en) Portable telephone set, mobile electronic apparatus, and television viewing device
JP2006173970A (en) Portable terminal and program
JP2010283523A (en) Image processor and program
JP2007073157A (en) Device and method for reproducing medium
JP4208531B2 (en) Portable viewing device
JP4819634B2 (en) Communication terminal and communication terminal processing program
JP2005275046A (en) Picture display device and picture display method
JP2005217523A (en) Electronic equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120604

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130206

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130219

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130329

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130614

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130801

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20140311