JP2009207154A - Mobile communication terminal and application program - Google Patents

Mobile communication terminal and application program Download PDF

Info

Publication number
JP2009207154A
JP2009207154A JP2009085549A JP2009085549A JP2009207154A JP 2009207154 A JP2009207154 A JP 2009207154A JP 2009085549 A JP2009085549 A JP 2009085549A JP 2009085549 A JP2009085549 A JP 2009085549A JP 2009207154 A JP2009207154 A JP 2009207154A
Authority
JP
Japan
Prior art keywords
application program
communication terminal
mobile communication
data
mobile phone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009085549A
Other languages
Japanese (ja)
Other versions
JP4394742B2 (en
Inventor
Naomi Nishikata
尚美 西方
Takahisa Mizuno
隆久 水野
Hideyuki Ikeda
秀行 池田
Hirohisa Kusuda
洋久 楠田
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.)
SoftBank Corp
Original Assignee
SoftBank Mobile Corp
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 SoftBank Mobile Corp filed Critical SoftBank Mobile Corp
Priority to JP2009085549A priority Critical patent/JP4394742B2/en
Publication of JP2009207154A publication Critical patent/JP2009207154A/en
Application granted granted Critical
Publication of JP4394742B2 publication Critical patent/JP4394742B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To utilize detection result data obtained by a detection means for detecting a position, direction, attitude and motion regarding a platform-independent application program that a user can register and utilize. <P>SOLUTION: When downloading an application program to a mobile phone and executing it, first of all, an application execution environment thereof is activated and under the environment, the application program is operated. When the activated application program sends an acquisition request of acceleration data and a telephone set platform receives this request, acceleration data detected by an acceleration sensor provided in a mobile phone are delivered to the application program. Thus, processing utilizing acceleration data can be performed by an application program. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、アプリケーションプログラムを実行可能な携帯電話機等の移動体通信端末及びそのアプリケーションプログラムに関するものである。   The present invention relates to a mobile communication terminal such as a mobile phone capable of executing an application program and the application program.

従来、この種の移動体通信端末としては、プラットフォームに依存しないオブジェクト指向のプログラミング言語で記述されたアプリケーションプログラムを実行可能な携帯電話機が知られている。例えば、JAVA(サンマイクロシステムズ社の登録商標。以下同様。)仮想マシン機能を実装し、JAVAで記述されたアプリケーションプログラムを実行できるようにした携帯電話機が知られている(特許文献1参照)。このような携帯電話機では、所定のサーバからダウンロードするなどして取得した様々なアプリケーションプログラムを利用することが可能である。また、BREW(クアルコム社の登録商標。以下同様。)のアプリケーション実行環境上で動作するアプリケーションプログラムなどについても、同様である。   Conventionally, as this type of mobile communication terminal, a mobile phone capable of executing an application program written in an object-oriented programming language independent of a platform is known. For example, JAVA (registered trademark of Sun Microsystems, Inc., the same applies hereinafter) is known which has a virtual machine function and can execute an application program written in JAVA (see Patent Document 1). In such a cellular phone, various application programs acquired by downloading from a predetermined server can be used. The same applies to an application program that operates in the application execution environment of BREW (registered trademark of Qualcomm Inc .; the same applies hereinafter).

また、特許文献2には、加速度又は角速度を検知するセンサ(検知手段)を備えた携帯電話機が開示されている。この携帯電話機は、センサによって検知した加速度又は角速度に関するデータを表示手段に表示することができる。
また、特許文献3には、加速度を検知するセンサ(検知手段)を備えた携帯電話機が開示されている。この携帯電話機は、センサによって検知した加速度を用いて、その移動軌跡を求め、その移動軌跡を入力文字として認識することができる。
また、特許文献4には、方位を検知する地磁気センサ(検知手段)を備えた携帯電話機が開示されている。この携帯電話機は、複数の方位に数値が関連付けられていて、携帯電話機本体を特定の方位に向けることで、数値入力を行うことができる。
Patent Document 2 discloses a mobile phone provided with a sensor (detection means) for detecting acceleration or angular velocity. This mobile phone can display data on acceleration or angular velocity detected by the sensor on the display means.
Patent Document 3 discloses a mobile phone including a sensor (detection means) for detecting acceleration. This mobile phone can obtain the movement locus by using the acceleration detected by the sensor, and can recognize the movement locus as an input character.
Patent Document 4 discloses a mobile phone provided with a geomagnetic sensor (detection means) for detecting the direction. In this mobile phone, numerical values are associated with a plurality of directions, and numerical values can be input by directing the mobile phone body in a specific direction.

上述した特許文献2、3及び4に記載された携帯電話機は、そのセンサの検知結果に基づいて、携帯電話機の位置、向き、姿勢あるいは動きを検知することができる。このような各種センサは、これらの特許文献には具体的な記載はないが、電話機プラットフォームによって制御されるものである。また、各種センサによって検知された加速度等のデータの保存場所についても、これらの特許文献には具体的な記載はないが、その保存場所は、通常、その電話機プラットフォームが管理するプラットフォーム用記憶領域(第1の記憶手段)である。そのため、従来の携帯電話機において、上記プラットフォーム用記憶領域に記憶された加速度等のデータ(検知結果データ)を利用するプログラムは、その記憶領域を管理する電話機プラットフォーム上で直接動作するものでなければならない。したがって、上記特許文献2、3及び4には明記されていないが、これらの特許文献に開示の携帯電話機において、その検知結果データを用いて行う各種処理は、電話機プラットフォーム上で直接動作するプログラムによって実現される。このようなプログラムは、電話機プラットフォームに依存するものであるため、通常は、予め携帯電話機に登録して、利用者に提供される。そのため、検知結果データを用いるプログラムが新たに開発されても、利用者は、そのプログラムを自分の携帯電話機に登録することができず、これを利用することはできなかった。   The mobile phones described in Patent Documents 2, 3 and 4 described above can detect the position, orientation, posture or movement of the mobile phone based on the detection result of the sensor. Such various sensors are not specifically described in these patent documents, but are controlled by a telephone platform. Further, the storage location of data such as acceleration detected by various sensors is not specifically described in these patent documents, but the storage location is usually a platform storage area (which is managed by the telephone platform ( First storage means). Therefore, in a conventional mobile phone, a program that uses data (detection result data) such as acceleration stored in the platform storage area must directly operate on the telephone platform that manages the storage area. . Therefore, although not specified in the above-mentioned Patent Documents 2, 3 and 4, in the mobile phones disclosed in these Patent Documents, various processes performed using the detection result data are performed by a program that directly operates on the telephone platform. Realized. Since such a program depends on the telephone platform, it is usually registered in advance in the mobile phone and provided to the user. Therefore, even if a program that uses the detection result data is newly developed, the user cannot register the program in his / her mobile phone and cannot use it.

一方、上述したJAVAで記述されたアプリケーションプログラムは、これを実行するためのアプリケーション実行環境(JAVA仮想マシン等)上で動作するため、電話機プラットフォームに依存しない。よって、上述したように、所定のサーバからダウンロードするなどして自分の携帯電話機に登録して利用することが可能である。しかし、このようなアプリケーションプログラムは、上記アプリケーション実行環境上で管理されるアプリケーション用記憶領域(第2の記憶手段)に記憶されたデータしか利用することができない。すなわち、電話機プラットフォームが管理するプラットフォーム用記憶領域に記憶されたデータは、直接利用することはできない。しかも、従来の携帯電話機には、各種センサによって検知した加速度等の検知結果データを、プラットフォーム用記憶領域からアプリケーション用記憶領域へ移行するための手段がない。したがって、JAVAで記述されたアプリケーションプログラムのようにプラットフォームに依存しないアプリケーションプログラムにおいて、検知結果データを用いた処理を行うことができなかった。これは、BREWのアプリケーション実行環境上で動作するアプリケーションプログラムなどについても、同様である。   On the other hand, the application program described in JAVA described above operates on an application execution environment (such as a JAVA virtual machine) for executing this, and therefore does not depend on the telephone platform. Therefore, as described above, it is possible to register and use it in your mobile phone by downloading it from a predetermined server. However, such an application program can use only data stored in an application storage area (second storage means) managed in the application execution environment. That is, data stored in the platform storage area managed by the telephone platform cannot be used directly. Moreover, the conventional mobile phone does not have means for transferring detection result data such as acceleration detected by various sensors from the platform storage area to the application storage area. Therefore, processing using detection result data cannot be performed in an application program that does not depend on the platform, such as an application program written in JAVA. The same applies to application programs that operate in the BREW application execution environment.

なお、以上の説明は、携帯電話機を例に挙げて行ったが、他の移動体通信端末においても、同様である。   Although the above description has been given by taking a mobile phone as an example, the same applies to other mobile communication terminals.

本発明は、上述した背景に鑑みなされたものであり、その目的とするところは、利用者が登録して利用することが可能なプラットフォームに依存しないアプリケーションプログラムで、位置、向き、姿勢、動きを検知するための検知手段によって得られる検知結果データを利用することが可能な移動体通信端末及びアプリケーションプログラムを提供することである。   The present invention has been made in view of the above-described background, and an object of the present invention is a platform-independent application program that can be registered and used by a user, and the position, orientation, posture, and movement are determined. To provide a mobile communication terminal and an application program that can use detection result data obtained by a detection means for detection.

上記目的を達成するために、請求項1の発明は、データを記憶する第1の記憶手段及び第2の記憶手段と、該第2の記憶手段に記憶されたデータを用いて、アプリケーションプログラムを実行するアプリケーションプログラム実行手段とを備えた移動体通信端末において、当該移動体通信端末の位置、向き、姿勢及び動きのうちの少なくとも1つを検知するための検知手段と、該検知手段による検知結果に基づいて得られる検知結果データを、上記第1の記憶手段に記憶する記憶処理を行う記憶処理手段と、上記アプリケーションプログラム実行手段からのデータ移行命令に応じ、該第1の記憶手段に記憶された検知結果データを上記第2の記憶手段に移行するデータ移行手段とを有し、上記アプリケーションプログラム実行手段は、該第2の記憶手段に記憶された検知結果データを用いて、上記アプリケーションプログラムを実行することを特徴とするものである。
この移動体通信端末においては、検知手段によって得られる検知結果データが記憶される第1の記憶手段と、アプリケーションプログラム実行手段が利用可能なデータが記憶される第2の記憶手段とを備えている。このような第2の記憶手段を有することで、アプリケーションプログラム実行手段は、プラットフォームに依存しないアプリケーションプログラムを実行することが可能となる。このようなアプリケーションプログラムは、プラットフォームに依存するアプリケーションプログラムとは異なり、利用者が登録して利用することが可能である。そして、このアプリケーションプログラム実行手段からのデータ移行命令があると、その命令に応じて、第1の記憶手段に記憶された検知結果データが第2の記憶手段に移行される。よって、アプリケーションプログラム実行手段は、検知手段によって得られる検知結果データを用いた処理を行うアプリケーションプログラムを実行することが可能となる。
In order to achieve the above object, the invention of claim 1 is directed to a first storage means and a second storage means for storing data, and an application program using the data stored in the second storage means. In a mobile communication terminal comprising an application program execution means to be executed, a detection means for detecting at least one of the position, orientation, posture and movement of the mobile communication terminal, and a detection result by the detection means In accordance with a data migration command from the application program execution means, the detection result data obtained based on the data is stored in the first storage means. Data detection means for transferring the detected result data to the second storage means, and the application program execution means Using the stored detection result data in the storage means, it is characterized in that for executing the application program.
The mobile communication terminal includes a first storage unit that stores detection result data obtained by the detection unit, and a second storage unit that stores data usable by the application program execution unit. . By having such second storage means, the application program execution means can execute an application program independent of the platform. Such an application program can be registered and used by a user, unlike an application program that depends on a platform. When there is a data migration command from the application program execution means, the detection result data stored in the first storage means is transferred to the second storage means in accordance with the command. Therefore, the application program execution unit can execute an application program that performs processing using the detection result data obtained by the detection unit.

また、請求項2の発明は、請求項1の移動体通信端末において、上記検知手段は、所定方向に延びる仮想軸のまわりの基準角に対する角度を検知するための角度検知手段を含むことを特徴とするものである。
この移動体通信端末においては、当該移動体通信端末の姿勢を特定することができる。
According to a second aspect of the present invention, in the mobile communication terminal of the first aspect, the detection means includes an angle detection means for detecting an angle with respect to a reference angle around a virtual axis extending in a predetermined direction. It is what.
In this mobile communication terminal, the attitude of the mobile communication terminal can be specified.

また、請求項3の発明は、請求項1又は2の移動体通信端末において、上記検知手段は、当該移動体通信端末に働く所定方向の加速度を検知するための加速度検知手段を含むことを特徴とするものである。
この移動体通信端末においては、当該移動体通信端末の位置や動きを特定することが可能となる。
According to a third aspect of the present invention, in the mobile communication terminal of the first or second aspect, the detection means includes an acceleration detection means for detecting acceleration in a predetermined direction acting on the mobile communication terminal. It is what.
In this mobile communication terminal, the position and movement of the mobile communication terminal can be specified.

また、請求項4の発明は、請求項1、2又は3の移動体通信端末において、上記アプリケーションプログラム実行手段は、上記アプリケーションプログラムの記述に従って上記データ移行命令を発生させる命令セットを実装していることを特徴とするものである。
アプリケーションプログラム実行手段がアプリケーションプログラムの実行中に検知結果データを利用するためには、第1の記憶手段内の検知結果データを第2の記憶手段へ移行させるべく、データ移行命令を発する必要がある。本移動体通信端末においては、このデータ移行命令を発生させるための命令セットが、アプリケーションプログラム実行手段に予め実装されている。よって、アプリケーションプログラム中に、その命令セットを用いる旨の記述を入れておくだけで、そのアプリケーションプログラムを実行するアプリケーションプログラム実行手段に、検知結果データを利用させることができる。
According to a fourth aspect of the present invention, in the mobile communication terminal according to the first, second, or third aspect, the application program execution means implements an instruction set that generates the data migration instruction according to a description of the application program. It is characterized by this.
In order for the application program execution means to use the detection result data during the execution of the application program, it is necessary to issue a data migration command in order to transfer the detection result data in the first storage means to the second storage means. . In the mobile communication terminal, an instruction set for generating the data migration instruction is mounted in advance in the application program execution means. Therefore, the detection result data can be used by the application program execution means for executing the application program simply by putting a description to the effect that the instruction set is used in the application program.

また、請求項5の発明に係るアプリケーションプログラムは、請求項4の移動体通信端末が有するアプリケーションプログラム実行手段により実行されることにより、上記命令セットを用いて該アプリケーションプログラム実行手段に上記データ移行命令を発生させるように、該移動体通信端末のコンピュータを機能させることを特徴とするものである。
このアプリケーションプログラムは、アプリケーションプログラム実行手段に予め実装されている命令セットを用いて、検知手段によって得られる検知結果データを利用した処理を行うことができる。なお、本アプリケーションプログラムの受け渡しは、デジタル情報としてプログラムを記録したFD、CD−ROM等の記録媒体を用いて行なってもいいし、移動体通信ネットワーク等の通信回線を用いて行ってもよい。
The application program according to the invention of claim 5 is executed by the application program execution means of the mobile communication terminal of claim 4 so that the data migration instruction is sent to the application program execution means using the instruction set. The computer of the mobile communication terminal is made to function so as to generate the error.
This application program can perform processing using detection result data obtained by the detection means, using an instruction set pre-installed in the application program execution means. The application program may be transferred using a recording medium such as an FD or a CD-ROM in which the program is recorded as digital information, or may be performed using a communication line such as a mobile communication network.

また、請求項6の発明は、データを記憶する記憶手段に記憶されたデータを用いて、アプリケーションプログラムを実行するアプリケーションプログラム実行手段とを備えた移動体通信端末において、上記アプリケーションプログラムの記述に従って上記アプリケーションプログラム実行手段が生成する検知命令に応じて、当該移動体通信端末の位置、向き、姿勢及び動きのうちの少なくとも1つを検知するための検知手段として、3軸の磁気センサ及び2軸の加速度センサを用い、該検知手段による検知結果に基づいて得られる検知結果データを、上記記憶手段に記憶する記憶処理手段を有し、該アプリケーションプログラム実行手段は、該記憶手段に記憶された検知結果データを用いて、上記アプリケーションプログラムを実行することを特徴とするものである。
この移動体通信端末において、アプリケーションプログラムが利用する検知結果データは、3軸の磁気センサ及び2軸の加速度センサの検知結果に基づいて得られるものである。3軸の磁気センサを用いれば、これにより地磁気を検知することで、簡単な構成で、各軸まわりの基準角に対する角度を特定することができ、当該移動体通信端末の姿勢を特定することができる。また、3軸の磁気センサを用いて地磁気を検知すれば、当該移動体通信端末の向き、すなわち、当該移動体通信端末上の特定方向が向いている方位を特定することができる。更に、本移動体通信端末は、2軸の加速度センサによって加速度も検知できるので、当該移動体通信端末の位置や動きも特定することが可能となる。例えば、2軸の加速度センサによって得られる加速度を時間で積分すれば、当該移動体通信端末の速度(動き)を特定することができる。また、例えば、上記3軸の磁気センサの検知結果と組み合わせることで、2軸の加速度センサによって得られる加速度から、検知開始地点に対する現在位置を特定することが可能となる。このように、本移動体通信端末によれば、簡単な構成で、当該移動体通信端末の位置、向き、姿勢及び動きのすべてを特定することが可能となる。なお、本移動体通信端末のアプリケーションプログラム実行手段が実行するアプリケーションプログラムは、プラットフォームに依存しないアプリケーションプログラムだけでなく、プラットフォームに依存するアプリケーションプログラムも含まれる。
According to a sixth aspect of the present invention, in a mobile communication terminal comprising application program execution means for executing an application program using data stored in a storage means for storing data, the mobile communication terminal according to the description of the application program As a detecting means for detecting at least one of the position, orientation, posture and movement of the mobile communication terminal in accordance with a detection command generated by the application program execution means, a 3-axis magnetic sensor and a 2-axis Using an acceleration sensor, and having storage processing means for storing the detection result data obtained based on the detection result by the detection means in the storage means, and the application program execution means stores the detection result stored in the storage means Executing the above application program using data It is an feature.
In this mobile communication terminal, detection result data used by the application program is obtained based on detection results of the three-axis magnetic sensor and the two-axis acceleration sensor. If a triaxial magnetic sensor is used, it is possible to identify the angle with respect to the reference angle around each axis with a simple configuration by detecting geomagnetism, and to identify the attitude of the mobile communication terminal. it can. Further, if geomagnetism is detected using a three-axis magnetic sensor, the direction of the mobile communication terminal, that is, the direction in which the specific direction on the mobile communication terminal faces can be specified. Furthermore, since this mobile communication terminal can also detect acceleration by a biaxial acceleration sensor, the position and movement of the mobile communication terminal can be specified. For example, if the acceleration obtained by the biaxial acceleration sensor is integrated over time, the speed (motion) of the mobile communication terminal can be specified. Further, for example, by combining with the detection result of the three-axis magnetic sensor, the current position with respect to the detection start point can be specified from the acceleration obtained by the two-axis acceleration sensor. Thus, according to this mobile communication terminal, it is possible to specify all of the position, orientation, posture and movement of the mobile communication terminal with a simple configuration. Note that the application programs executed by the application program execution means of the mobile communication terminal include not only platform-independent application programs but also platform-dependent application programs.

なお、上記「移動体通信端末」としては、PDC(Personal Digital Cellular)方式、GSM(Global System for Mobile Communication)方式、TIA(Telecommunications Industry Association)方式等の携帯電話機、IMT(International Mobile Telecommunications)−2000で標準化された携帯電話機、PHS(Personal Handyphone Service)、自動車電話機等の電話機のうち、プラットフォームに依存しないアプリケーションプログラムを実行可能なものが挙げられる。また、この「移動体通信端末」としては、上記電話機のほか、電話機能を有しないPDA(Personal Digital Assistance)等の移動型の移動体通信端末も挙げられる。   The “mobile communication terminal” includes a mobile phone such as a PDC (Personal Digital Cellular) method, a GSM (Global System for Mobile Communication) method, a TIA (Telecommunications Industry Association) method, and an IMT (International Mobile Telecommunications) -2000. Mobile phones, PHS (Personal Handyphone Service), automobile phones, and other telephones that can execute application programs independent of platforms. Examples of the “mobile communication terminal” include a mobile mobile communication terminal such as a PDA (Personal Digital Assistance) that does not have a telephone function in addition to the above-described telephone.

請求項1乃至5の発明によれば、位置、姿勢、動きを検知するための検知手段によって得られる検知結果データを、利用者が登録して利用することが可能なプラットフォームに依存しないアプリケーションプログラムで利用することが可能となるという優れた効果がある。
特に、請求項2の発明によれば、当該移動体通信端末の姿勢を利用した様々なアプリケーションプログラムを実行することが可能となるという優れた効果がある。
また、請求項3の発明によれば、当該移動体通信端末の位置や動きを利用した様々なアプリケーションプログラムを実行することが可能となるという優れた効果がある。
また、請求項4及び5の発明によれば、アプリケーションプログラムのプログラミングが容易になるという優れた効果がある。
また、請求項6の発明によれば、移動体通信端末の位置、向き、姿勢及び動きの一部又は全部を利用する多種多様なアプリケーションプログラムを実行することが可能となるので、利用者へ提供できるアプリケーションプログラムの種類を増やすことが可能となるという優れた効果がある。
According to the first to fifth aspects of the present invention, the detection result data obtained by the detection means for detecting the position, posture, and movement is a platform-independent application program that can be registered and used by the user. There is an excellent effect that it can be used.
In particular, according to the invention of claim 2, there is an excellent effect that various application programs using the attitude of the mobile communication terminal can be executed.
Moreover, according to the invention of claim 3, there is an excellent effect that various application programs using the position and movement of the mobile communication terminal can be executed.
Further, according to the inventions of claims 4 and 5, there is an excellent effect that the programming of the application program becomes easy.
Furthermore, according to the invention of claim 6, since it becomes possible to execute a wide variety of application programs that use part or all of the position, orientation, posture and movement of the mobile communication terminal, it is provided to the user. There is an excellent effect that it is possible to increase the types of application programs that can be created.

実施形態の動作例1における携帯電話機でアプリケーションプログラムを実行するための処理の流れを示すフローチャート。The flowchart which shows the flow of the process for performing an application program with the mobile telephone in the operation example 1 of embodiment. 同携帯電話機が利用可能な移動体通信システムの全体構成を説明するための説明図。Explanatory drawing for demonstrating the whole structure of the mobile communication system which can use the mobile phone. 同移動体通信システムを構成するダウンロードサーバのハードウェア構成を示す概略構成図。The schematic block diagram which shows the hardware constitutions of the download server which comprises the mobile communication system. 同携帯電話機の外観を示す正面図。The front view which shows the external appearance of the mobile phone. 同携帯電話機のハードウェア構成を示す概略構成図。The schematic block diagram which shows the hardware constitutions of the mobile phone. 同携帯電話機の主要部を抽出して示したブロック図。The block diagram which extracted and showed the principal part of the mobile phone. 同携帯電話機におけるソフトウェア構造の説明図。Explanatory drawing of the software structure in the mobile phone. 同携帯電話機でアプリケーションプログラムを実行する際のシーケンスフロー図。The sequence flow figure at the time of executing an application program with the mobile phone. 動作例2における携帯電話機でアプリケーションプログラムを実行するための処理の流れを示すフローチャート。9 is a flowchart showing a flow of processing for executing an application program on a mobile phone in an operation example 2. 同携帯電話機でアプリケーションプログラムを実行する際のシーケンスフロー図。The sequence flow figure at the time of executing an application program with the mobile phone. 動作例3における携帯電話機でアプリケーションプログラムを実行するための処理の流れを示すフローチャート。10 is a flowchart showing a flow of processing for executing an application program on the mobile phone in Operation Example 3; 同携帯電話機でアプリケーションプログラムを実行する際のシーケンスフロー図。The sequence flow figure at the time of executing an application program with the mobile phone.

以下、本発明の一実施形態を、図面を参照しながら説明する。
図2は、本実施形態に係る移動体通信端末としての携帯電話機が利用可能な移動体通信システムの全体構成を説明するための説明図である。
この移動体通信システムにおいて、ユーザー1が使用する携帯電話機20は、ユーザー1によって登録されたアプリケーションプログラムを実行可能な構成を有している。本実施形態において、このアプリケーションプログラムは、プラットフォームに依存しないオブジェクト指向プログラミングによって開発されたものである。このようなアプリケーションプログラムとしては、JAVAで記述されたアプリケーションプログラム、BREWのアプリケーション実行環境上で動作するアプリケーションプログラムなどが挙げられる。この携帯電話機20は、通信ネットワークとしての携帯電話通信網10に接続可能である。また、この携帯電話通信網10には、プログラム提供用サーバとしてのアプリケーションプログラムダウンロードサーバ(以下、「ダウンロードサーバ」という。)11が接続されている。このダウンロードサーバ11は、携帯電話機20からのダウンロード要求を受け付けると、その要求に係るアプリケーションプログラムを携帯電話機20に対して送信する。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 2 is an explanatory diagram for explaining the overall configuration of a mobile communication system in which a mobile phone as a mobile communication terminal according to the present embodiment can be used.
In this mobile communication system, the mobile phone 20 used by the user 1 has a configuration capable of executing an application program registered by the user 1. In the present embodiment, the application program is developed by object-oriented programming independent of the platform. Examples of such application programs include application programs written in JAVA, application programs that operate in the BREW application execution environment, and the like. The mobile phone 20 can be connected to a mobile phone communication network 10 as a communication network. Further, an application program download server (hereinafter referred to as “download server”) 11 as a program providing server is connected to the mobile phone communication network 10. When the download server 11 receives a download request from the mobile phone 20, the download server 11 transmits an application program related to the request to the mobile phone 20.

ダウンロードサーバ11から提供されるアプリケーションプログラムは、アプリケーションプログラムの開発元2から提供される。具体的には、例えば、アプリケーションプログラム開発元2側のパーソナルコンピュータ等から、専用回線や公衆回線を介してダウンロードサーバ11にアップロードして提供する。なお、開発したアプリケーションプログラムを記録した光ディスクや磁気ディスク等の記録媒体を、アプリケーションプログラム開発元2からダウンロードサーバ11を管理・運営する通信事業者に送り、その記録媒体内のアプリケーションプログラムをダウンロードサーバ11で読み取るようにして、提供してもよい。このようにして提供されたアプリケーションプログラムは、携帯電話機20から携帯電話通信網10を介してダウンロード可能な状態でダウンロードサーバ11に登録される。   The application program provided from the download server 11 is provided from the application program developer 2. Specifically, for example, it is uploaded from the personal computer on the application program developer 2 side to the download server 11 via a dedicated line or a public line. Note that a recording medium such as an optical disk or a magnetic disk on which the developed application program is recorded is sent from the application program developer 2 to a communication carrier that manages and operates the download server 11, and the application program in the recording medium is downloaded to the download server 11. You may read and provide. The application program thus provided is registered in the download server 11 in a state where it can be downloaded from the mobile phone 20 via the mobile phone communication network 10.

図3は、上記ダウンロードサーバ11のハードウェア構成を示す概略構成図である。
このダウンロードサーバ11は、システムバス100、CPU101、内部記憶装置、外部記憶装置104、入力装置105及び出力装置106を備えている。上記内部記憶装置は、RAM102やROM103等で構成されている。上記外部記憶装置は、ハードディスクドライブ(HDD)や光ディスクドライブ等で構成されている。上記入力装置105は、外部記憶装置104、マウスやキーボード等で構成されている。上記出力装置106は、ディスプレイやプリンタ等で構成されている。更に、このダウンロードサーバ11は、携帯電話通信網10を介して各ユーザー1の携帯電話機20と通信するための携帯電話用通信装置107を備えている。
上記CPU101やRAM102等の構成要素は、システムバス100を介して、互いにデータやプログラムの命令等のやり取りを行っている。このダウンロードサーバ11を所定の手順に従って動作させるためのプログラムは、ROM103や外部記憶装置104に記憶されており、必要に応じてCPU101やRAM102上の作業エリアに呼び出されて実行される。また、このダウンロードサーバ11には、携帯電話機20に提供するアプリケーションプログラムが外部記憶装置104に記憶されている。ダウンロードサーバ11は、携帯電話機20からのダウンロード要求に応じ、CPU101、RAM102、携帯電話通信網用通信装置107等が協働して、外部記憶装置104に記憶されているアプリケーションプログラムを、携帯電話通信網10を介して携帯電話機20に送信する機能を有している。なお、このダウンロードサーバ11は、専用の制御装置として構成してもいいし、汎用のコンピュータシステムを用いて構成してもよい。また、1台のコンピュータで構成してもいいし、複数の機能をそれぞれ受け持つ複数台のコンピュータをネットワークで結んで構成してもよい。
FIG. 3 is a schematic configuration diagram showing a hardware configuration of the download server 11.
The download server 11 includes a system bus 100, a CPU 101, an internal storage device, an external storage device 104, an input device 105, and an output device 106. The internal storage device includes a RAM 102, a ROM 103, and the like. The external storage device includes a hard disk drive (HDD), an optical disk drive, and the like. The input device 105 includes an external storage device 104, a mouse, a keyboard, and the like. The output device 106 includes a display, a printer, and the like. The download server 11 further includes a mobile phone communication device 107 for communicating with the mobile phone 20 of each user 1 via the mobile phone communication network 10.
The components such as the CPU 101 and the RAM 102 exchange data and program instructions with each other via the system bus 100. A program for operating the download server 11 according to a predetermined procedure is stored in the ROM 103 or the external storage device 104, and is called up and executed in the work area on the CPU 101 or the RAM 102 as necessary. In the download server 11, an application program to be provided to the mobile phone 20 is stored in the external storage device 104. In response to a download request from the mobile phone 20, the download server 11 cooperates with the CPU 101, the RAM 102, the mobile phone communication network communication device 107, and the like to transfer the application program stored in the external storage device 104 to the mobile phone communication It has a function of transmitting to the mobile phone 20 via the network 10. The download server 11 may be configured as a dedicated control device or may be configured using a general-purpose computer system. Further, it may be configured by a single computer, or may be configured by connecting a plurality of computers each having a plurality of functions via a network.

図4は、上記携帯電話機20の外観を示す正面図であり、図5は、その携帯電話機20のハードウェア構成を示す概略構成図である。
この携帯電話機20は、クラムシェル(折り畳み)タイプの携帯電話機であり、システムバス200、CPU201、RAM202やROM203等からなる内部制御装置、入力装置204、出力装置205、携帯電話用通信装置206、加速度センサ207及び地磁気センサ208を備えている。CPU201やRAM202等の構成要素は、システムバス200を介して、互いに各種データや後述のプログラムの命令等のやり取りを行っている。上記入力装置204は、データ入力キー(テンキー、*キー、#キー)21、通話開始キー22、終話キー23、スクロールキー24、多機能キー25、マイク26等から構成されている。上記出力装置205は、液晶ディスプレイ(LCD)27、スピーカ28等から構成されている。上記携帯電話用通信装置206は、携帯電話通信網10を介して他の携帯電話機や上記ダウンロードサーバ11と通信するためのものである。また、RAM202内には、後述する電話機プラットフォームが管理する第1の記憶手段としてのプラットフォーム用記憶領域と、後述するアプリケーション実行環境上で管理される第2の記憶手段としてのアプリケーション用記憶領域とが存在する。
4 is a front view showing the appearance of the mobile phone 20, and FIG. 5 is a schematic configuration diagram showing the hardware configuration of the mobile phone 20. As shown in FIG.
The mobile phone 20 is a clamshell (folding) type mobile phone, and includes an internal control device including a system bus 200, a CPU 201, a RAM 202, a ROM 203, an input device 204, an output device 205, a mobile phone communication device 206, an acceleration. A sensor 207 and a geomagnetic sensor 208 are provided. Components such as the CPU 201 and the RAM 202 exchange various data and instructions of a program to be described later via the system bus 200. The input device 204 includes a data input key (ten key, * key, # key) 21, a call start key 22, an end key 23, a scroll key 24, a multi-function key 25, a microphone 26, and the like. The output device 205 includes a liquid crystal display (LCD) 27, a speaker 28, and the like. The mobile phone communication device 206 is for communicating with another mobile phone or the download server 11 via the mobile phone communication network 10. Further, in the RAM 202, there are a platform storage area as a first storage means managed by a telephone platform described later and an application storage area as a second storage means managed in an application execution environment described later. Exists.

上記加速度センサ207は、LCD27の画像表示面に対して平行な面内で互いに直交する2方向(図4中、X軸方向及びY軸方向)に向かう加速度α,αを検出するための2軸のセンサである。この加速度センサ207は、携帯電話機20の内部に設けられた図示しない回路基板上に実装されており、上記加速度α,αを検出できる公知のものを用いることができる。
また、上記地磁気センサ208は、上記X軸及び上記Y軸並びにこれらの軸に直交するZ軸からなる3次元座標上における地磁気の方向を検知する3軸のセンサである。そして、本実施形態では、この地磁気センサ208の検知結果を利用して、X軸、Y軸及びZ軸のまわりの角度θ,θ,θを検出する。具体的には、地磁気の方向が、基準となる地磁気の方向(基準方向)に対して変化したときの変化量を、X軸、Y軸及びZ軸のまわりの角度θ,θ,θを用いて検出する。これにより、地磁気の方向が基準方向にあるときの姿勢から携帯電話機がその姿勢を変化させたとき、その変化後の姿勢を各角度θ,θ,θによって特定することができる。なお、以下の説明では、X軸まわりの角度θをピッチ角といい、Y軸まわりの角度θをロール角といい、Z軸まわりの角度θをヨー角という。また、上記地磁気センサ208を用いることで、例えば上記Y軸が北方位に対してどの向きに向いているかを検知することもできる。この場合、例えば、上記Y軸と北方位とのなす角(以下、「方位角」という。)θによって携帯電話機が向いている方角を特定する。この地磁気センサ208も、携帯電話機20の内部に設けられた図示しない回路基板上に実装されている。
なお、これらのセンサ207,208は、携帯電話機20の本体とは別体の装置として構成してもよい。この場合、例えば、これらのセンサ207,208を備えた外部装置を、携帯電話機20の本体に設けられる外部端子に接続し、その外部装置と携帯電話機20の本体とが一体となるように構成する。
The acceleration sensor 207 detects accelerations α x and α Y in two directions (X-axis direction and Y-axis direction in FIG. 4) orthogonal to each other in a plane parallel to the image display surface of the LCD 27. This is a biaxial sensor. The acceleration sensor 207 is mounted on a circuit board (not shown) provided inside the mobile phone 20, and a known sensor that can detect the accelerations α x and α Y can be used.
The geomagnetic sensor 208 is a three-axis sensor that detects the direction of geomagnetism on a three-dimensional coordinate including the X axis, the Y axis, and the Z axis orthogonal to these axes. In the present embodiment, the angles θ x , θ Y , and θ Z around the X axis, the Y axis, and the Z axis are detected using the detection result of the geomagnetic sensor 208. Specifically, the amount of change when the direction of the geomagnetism changes with respect to the reference geomagnetic direction (reference direction) is expressed as the angles θ x , θ Y , θ around the X axis, the Y axis, and the Z axis. Detect using Z. As a result, when the mobile phone changes its posture from the posture when the direction of geomagnetism is in the reference direction, the posture after the change can be specified by the angles θ x , θ Y , θ Z. In the following description, referred to as a pitch angle the angle theta x around the X-axis, the angle theta Y around the Y axis is called a roll angle, the angle theta Z around the Z-axis called yaw angle. Further, by using the geomagnetic sensor 208, for example, it can be detected in which direction the Y axis is directed with respect to the north direction. In this case, for example, the direction in which the mobile phone is facing is specified by the angle (hereinafter referred to as “azimuth angle”) θ N formed by the Y axis and the north direction. The geomagnetic sensor 208 is also mounted on a circuit board (not shown) provided inside the mobile phone 20.
Note that these sensors 207 and 208 may be configured as separate devices from the main body of the mobile phone 20. In this case, for example, an external device including these sensors 207 and 208 is connected to an external terminal provided on the main body of the mobile phone 20 so that the external device and the main body of the mobile phone 20 are integrated. .

図6は、上記携帯電話機20の主要部を抽出して示したブロック図であり、図7は、その携帯電話機20におけるソフトウェア構造の説明図である。
この携帯電話機20は、電話通信部211、データ通信部212、操作部213、アプリケーションプログラム実行管理部214、主制御部215、出力部216、検知手段としてのセンサ検知部217等を備えている。後述する動作例1及び動作例2においては、アプリケーションプログラム実行管理部214がアプリケーションプログラム実行手段として機能し、後述する動作例3においては、主制御部215がアプリケーションプログラム実行手段として機能する。
FIG. 6 is a block diagram showing an extracted main part of the mobile phone 20, and FIG. 7 is an explanatory diagram of the software structure in the mobile phone 20.
The cellular phone 20 includes a telephone communication unit 211, a data communication unit 212, an operation unit 213, an application program execution management unit 214, a main control unit 215, an output unit 216, a sensor detection unit 217 as a detection unit, and the like. In operation example 1 and operation example 2 described later, the application program execution management unit 214 functions as an application program execution unit, and in operation example 3 described later, the main control unit 215 functions as an application program execution unit.

上記電話通信部211は、他の携帯電話機や固定電話機と電話通信を行うために、携帯電話通信網10の基地局と無線通信を行うものであり、上述のハードウェア構成上の携帯電話用通信装置206等に対応する。   The telephone communication unit 211 performs wireless communication with a base station of the mobile phone communication network 10 in order to perform telephone communication with other mobile phones or fixed phones. This corresponds to the device 206 and the like.

上記データ通信部212は、上記電話通信部211と同様に、上述のハードウェア構成上の携帯電話用通信装置206等に対応する。このデータ通信部212は、携帯電話機通信網10を介して他の携帯電話機とメールのやり取りを行ったり、携帯電話機通信網10からゲートウェイサーバを介して、インターネット等の外部の通信ネットワークに接続し、インターネット上での電子メールのやり取りやWebページの閲覧等を行ったりするためのものである。また、このデータ通信部212は、携帯電話機通信網10を介して、ダウンロードサーバ11が提供するアプリケーションプログラムをダウンロードするためにも用いられる。   Similar to the telephone communication unit 211, the data communication unit 212 corresponds to the mobile phone communication device 206 having the above-described hardware configuration. The data communication unit 212 exchanges mail with other mobile phones via the mobile phone communication network 10 or connects to an external communication network such as the Internet from the mobile phone communication network 10 via a gateway server. This is for exchanging e-mails on the Internet, browsing web pages, and the like. The data communication unit 212 is also used to download an application program provided by the download server 11 via the mobile phone communication network 10.

上記操作部213は、ユーザー1が操作可能な上述のテンキー21、通話開始キー22、終話キー23等で構成されている。この操作部213を操作することにより、ユーザーは、携帯電話機20に対してURL等のデータを入力したり、電話着信の際に通話の開始及び終了を行ったり、アプリケーションプログラムの選択、起動及び停止を行ったりすることができる。また、ユーザーは操作部213を操作することにより、上記ダウンロードサーバ11からアプリケーションプログラムをダウンロードすることもできる。   The operation unit 213 includes the above-described numeric keypad 21, call start key 22, end call key 23, and the like that can be operated by the user 1. By operating the operation unit 213, the user inputs data such as a URL to the mobile phone 20, starts and ends a call when receiving a call, and selects, starts, and stops an application program. Can be done. The user can also download the application program from the download server 11 by operating the operation unit 213.

上記アプリケーションプログラム実行管理部214は、上述のシステムバス200、CPU201やRAM202の一部等で構成されている。このアプリケーションプログラム実行管理部214は、図7のソフトウェア構造上において中央の「アプリケーション実行環境」に対応しており、オブジェクト指向プログラミングで開発されたアプリケーションプログラムに利用されるクラスライブラリ、実行環境管理ライブラリ、アプリケーション管理等のソフトウェアを提供し、アプリケーションプログラムの実行環境を管理する。このアプリケーション実行環境は、実行するアプリケーションプログラムに応じて適宜選定される。例えば、実行するアプリケーションプログラムがJAVAで記述されたものである場合には、JAVAのアプリケーション実行環境を選定する。また、実行するアプリケーションプログラムがBREWの実行環境上で動作するC言語で記述されたものである場合には、BREWのアプリケーション実行環境を選定する。なお、実行するアプリケーションプログラムがJAVAで記述されたものである場合には、BREWのアプリケーション実行環境上に更にJAVAのアプリケーション実行環境を構築することで、これを実行することができる。   The application program execution management unit 214 includes the system bus 200, the CPU 201, a part of the RAM 202, and the like. The application program execution management unit 214 corresponds to the central “application execution environment” in the software structure of FIG. 7, and includes a class library, an execution environment management library, and an application program developed by object-oriented programming. Software such as application management is provided to manage the execution environment of application programs. This application execution environment is appropriately selected according to the application program to be executed. For example, if the application program to be executed is written in JAVA, the JAVA application execution environment is selected. If the application program to be executed is written in C language that operates in the BREW execution environment, the BREW application execution environment is selected. If the application program to be executed is written in JAVA, it can be executed by constructing a JAVA application execution environment on the BREW application execution environment.

ここで、アプリケーションプログラムは、クラスライブラリAPI(アプリケーションインターフェース)を介して上記アプリケーション実行環境内にある関数等のクラスライブラリを呼び出して使用できるようになっている。この関数等のクラスライブラリの呼び出しの履歴は、アプリケーションプログラムの仮想的な実行環境(仮想マシン:VM)が終了するまで、RAM202内におけるアプリケーション用記憶領域に記憶される。また、アプリケーション実行環境は、アプリケーションプログラムの実行に際して用いる各種データも、そのアプリケーション用記憶領域に記憶する。そして、この各種データを用いるときには、このアプリケーション用記憶領域から読み出したり、書き込んだりする。また、アプリケーション実行環境内の実行環境管理ライブラリは、電話機プラットフォームAPIを介して後述の電話機プラットフォーム内の電話機プラットフォームライブラリを呼び出して使用できるようになっている。   Here, the application program can be used by calling a class library such as a function in the application execution environment via a class library API (application interface). The call history of the class library such as this function is stored in the application storage area in the RAM 202 until the virtual execution environment (virtual machine: VM) of the application program is terminated. The application execution environment also stores various data used when executing the application program in the application storage area. When these various data are used, they are read from or written to the application storage area. The execution environment management library in the application execution environment can be used by calling a telephone platform library in the telephone platform described later via the telephone platform API.

後述の動作例1,2において説明するように、加速度センサ207及び地磁気センサ208等で構成される後述のセンサ検知部217で検知した検知結果データ(加速度α,α及びピッチ角θ、ロール角θ、ヨー角θ)は、アプリケーションプログラムで利用される。従来のアプリケーション実行環境においては、アプリケーションプログラムが上記検知結果データを利用する手段がなかったため、本実施形態では、クラスライブラリに新しいクラス(Orientationクラス)を追加している。このOrientationクラスには、加速度α,αのデータを取得するためのメソッドや、ピッチ角θ、ロール角θ、ヨー角θを取得するためのメソッドが個別に用意されており、いくつかの命令セットを定義可能である。よって、本実施形態によれば、アプリケーションプログラムは、これらのメソッドを使用して上記検知結果データを取得し、これを利用することができる。 As described in operation examples 1 and 2 described later, detection result data (acceleration α x , α Y and pitch angle θ x , detected by a sensor detection unit 217 described later configured by the acceleration sensor 207 and the geomagnetic sensor 208, etc. The roll angle θ Y and the yaw angle θ Z ) are used in the application program. In the conventional application execution environment, since there is no means for the application program to use the detection result data, in this embodiment, a new class (Orientation class) is added to the class library. In this Orientation class, methods for acquiring data of acceleration α x , α Y and methods for acquiring pitch angle θ x , roll angle θ Y , and yaw angle θ Z are individually prepared. Several instruction sets can be defined. Therefore, according to the present embodiment, the application program can acquire the detection result data using these methods, and can use it.

上記主制御部215は、上記電話通信部211、データ通信部212、操作部213、センサ検知部217を制御するものであり、上述のシステムバス200、CPU201やRAM202等で構成されている。この主制御部215は、アプリケーションプログラム実行管理部214との間で制御命令や各種データのやりとりを行い、これらと協働して制御を行う。また、主制御部215は、図7のソフトウェア構造上において最下部の「電話機プラットフォーム」に対応しており、上記電話通信部211等を制御するための制御用プログラムやユーザインターフェースを実行したり、電話機プラットフォームライブラリを提供したりする。この電話機プラットフォームは、上記アプリケーション実行環境内の実行環境管理ライブラリに対してイベントを送ることにより、アプリケーションプログラムにおいて各種処理を実行したり、アプリケーション管理APIを介して上記アプリケーション実行環境内のアプリケーション管理のソフトウェアを呼び出して使用したりできるようになっている。また、アプリケーション実行環境が電話機プラットフォームAPIを介して電話機プラットフォームライブラリを呼び出して使用したとき、電話機プラットフォームは、その電話機プラットフォームライブラリに応じた処理を実行する。例えば、電話機プラットフォームは、電話機プラットフォームライブラリを利用したアプリケーション実行環境からの指示に基づき、RAM202内における電話機プラットフォームが管理するプラットフォーム用記憶領域に記憶されたデータを読み出して、これをアプリケーション用記憶領域に移行することができる。   The main control unit 215 controls the telephone communication unit 211, the data communication unit 212, the operation unit 213, and the sensor detection unit 217, and includes the system bus 200, the CPU 201, the RAM 202, and the like. The main control unit 215 exchanges control commands and various data with the application program execution management unit 214 and performs control in cooperation with them. The main control unit 215 corresponds to the lowermost “telephone platform” on the software structure of FIG. 7, and executes a control program and user interface for controlling the telephone communication unit 211 and the like. Or provide a phone platform library. The telephone platform executes various processes in an application program by sending an event to an execution environment management library in the application execution environment, or performs application management software in the application execution environment via an application management API. Can be called and used. When the application execution environment calls and uses the telephone platform library via the telephone platform API, the telephone platform executes processing according to the telephone platform library. For example, the telephone platform reads out data stored in the platform storage area managed by the telephone platform in the RAM 202 based on an instruction from the application execution environment using the telephone platform library, and migrates it to the application storage area. can do.

上記出力部216は、上述の液晶ディスプレイ27、スピーカ28等からなる出力装置205等で構成されている。この出力部216は、上記データ通信部212で受信したWebページ画面を液晶ディスプレイ27に表示する。また、この出力部216の液晶ディスプレイ27は、上記電話通信部211やデータ通信部212で情報を着信した旨をユーザーに報知するときに用いられる。具体的には、その情報を着信すると、主制御部215により、出力部216の液晶ディスプレイ27に着信報知画像を表示したり、スピーカ28から着信音を出力させたりする。更に、この出力部216は、アプリケーション実行環境上で実行されるアプリケーションプログラムの実行中に、そのプログラム実行に関連したメニュー画面等の表示や音楽の出力にも用いられる。   The output unit 216 includes the output device 205 including the liquid crystal display 27 and the speaker 28 described above. The output unit 216 displays the Web page screen received by the data communication unit 212 on the liquid crystal display 27. The liquid crystal display 27 of the output unit 216 is used when the telephone communication unit 211 or the data communication unit 212 notifies the user that information has been received. Specifically, when the information is received, the main control unit 215 displays an incoming call notification image on the liquid crystal display 27 of the output unit 216 or outputs a ring tone from the speaker 28. Further, the output unit 216 is also used for displaying a menu screen or the like related to the execution of the program or outputting music during execution of the application program executed in the application execution environment.

上記センサ検知部217は、上述の加速度センサ207及び地磁気センサ208等で構成されている。このセンサ検知部217は、上記主制御部215の制御の下で動作し、その検出結果は主制御部215が取得する。その検出結果が示す加速度α,α並びにピッチ角θ、ロール角θ及びヨー角θのデータは、上述したようにRAM202のプラットフォーム用記憶領域に記憶される。
例えばユーザー1によって携帯電話機20が変位すると、X軸方向及びY軸方向に働く加速度がセンサ検知部217を構成する加速度センサ207によって検知される。その検知信号が主制御部215に入力されると、主制御部215は、その検出信号からX軸方向の加速度α及びY軸方向の加速度αを算出する。算出した加速度α,αのデータは、記憶処理手段として機能する主制御部215によって、RAM202内のプラットフォーム用記憶領域に記憶される。
また、携帯電話機20の姿勢が変わると、その姿勢の変化後におけるピッチ角θ、ロール角θ及びヨー角θがセンサ検知部217を構成する地磁気センサ207によって検知される。その検知信号が主制御部215に入力されると、主制御部215は、その検出信号から姿勢変化後のそれぞれの角度θ,θ,θを算出する。算出した各角度θ,θ,θのデータは、加速度α,αの場合と同様に、主制御部215によってRAM202内のプラットフォーム用記憶領域に記憶される。
また、携帯電話機20の向きが変わると、その向きの変化後における方位角θがセンサ検知部217を構成する地磁気センサ208によって検知される。その検知信号が主制御部215に入力されると、主制御部215は、その検出信号から姿勢変化後の方位角θを算出する。算出した方位角θのデータも、同様に、主制御部215によってRAM202内のプラットフォーム用記憶領域に記憶される。
The sensor detection unit 217 includes the acceleration sensor 207 and the geomagnetic sensor 208 described above. The sensor detection unit 217 operates under the control of the main control unit 215, and the detection result is acquired by the main control unit 215. The data of the accelerations α x and α Y , the pitch angle θ x , the roll angle θ Y and the yaw angle θ Z indicated by the detection results are stored in the platform storage area of the RAM 202 as described above.
For example, when the mobile phone 20 is displaced by the user 1, acceleration acting in the X-axis direction and the Y-axis direction is detected by the acceleration sensor 207 that constitutes the sensor detection unit 217. When the detection signal is inputted to the main control unit 215, the main control unit 215 calculates the acceleration alpha x and Y-axis directions of the acceleration alpha Y in the X-axis direction from the detected signal. The data of the calculated accelerations α x and α Y are stored in the platform storage area in the RAM 202 by the main control unit 215 functioning as a storage processing unit.
When the posture of the mobile phone 20 changes, the pitch angle θ x , roll angle θ Y, and yaw angle θ Z after the change of the posture are detected by the geomagnetic sensor 207 that constitutes the sensor detection unit 217. When the detection signal is input to the main control unit 215, the main control unit 215 calculates the respective angles θ x , θ Y , and θ Z after the posture change from the detection signal. The data of the calculated angles θ x , θ Y , θ Z is stored in the platform storage area in the RAM 202 by the main control unit 215 as in the case of the accelerations α x , α Y.
Further, if the direction of the mobile phone 20 is changed, the azimuth angle theta N after a change in its orientation is detected by the geomagnetic sensor 208 of the sensor detecting unit 217. When the detection signal is inputted to the main control unit 215, the main control unit 215 calculates the azimuth angle theta N after the posture change from the detection signal. Data of the calculated azimuth angle theta N likewise, by the main control unit 215 is stored in the platform memory area in RAM 202.

なお、プラットフォーム記憶領域へ記憶する加速度α,αや各角度θ,θ,θのデータを、主制御部215がセンサ検知部217から取得する方法としては、次のようなものが挙げられる。例えば、主制御部215からセンサ検知部217へリクエストを送り、これに応じてセンサ検知部217が出力したデータを主制御部215が受信する取得方法である。また、例えば、リクエストがなくてもセンサ検知部217が連続的に出力するデータを、主制御部215が適宜受信する取得方法を採用してもよい。また、アプリケーションプログラムがアプリケーションプログラム実行管理部214を介して出力したリクエストに応じて主制御部215がセンサ検知部217へリクエストを送り、これに応じてセンサ検知部217が出力したデータを主制御部215が受信する取得方法を採用することもできる。 As a method for the main control unit 215 to acquire the data of the acceleration α x , α Y and the angles θ x , θ Y , θ Z stored in the platform storage area from the sensor detection unit 217, the following method is used. Is mentioned. For example, this is an acquisition method in which a request is sent from the main control unit 215 to the sensor detection unit 217, and the data output by the sensor detection unit 217 is received by the main control unit 215 accordingly. In addition, for example, an acquisition method may be employed in which the main control unit 215 appropriately receives data continuously output from the sensor detection unit 217 even when there is no request. The main control unit 215 sends a request to the sensor detection unit 217 in response to a request output from the application program via the application program execution management unit 214, and the data output by the sensor detection unit 217 in response to the request is sent to the main control unit. The acquisition method received by 215 can also be adopted.

携帯電話機20を所定の手順に従って動作させる電話機プラットフォームを構築するための制御用プログラムは、RAM202やROM203に記憶されている。また、基本OS(オペレーティングシステム)のプログラムや、上記アプリケーション実行環境を構築するためのプログラム及びアプリケーションプログラムも、RAM202やROM203に記憶されている。そして、これらのプログラムは、必要に応じてCPU201やRAM202中の作業エリアに呼び出されて実行される。   A control program for constructing a telephone platform for operating the mobile telephone 20 according to a predetermined procedure is stored in the RAM 202 and the ROM 203. Further, a basic OS (operating system) program, a program for building the application execution environment, and an application program are also stored in the RAM 202 and the ROM 203. These programs are called up and executed in the work area in the CPU 201 or RAM 202 as necessary.

〔動作例1〕
次に、上記加速度α,αを用いたアプリケーションプログラムを実行するための処理動作(以下、「動作例1」という。)について説明する。本動作例1のアプリケーションプログラムは、上記携帯電話機20を、ノートパソコン等の携帯型パーソナルコンピュータやPDA等のポインティングデバイスであるマウスとして動作させるためのものである。もちろん、据え置き型のパーソナルコンピュータなどのポインティングデバイスとしても同様に動作させることができる。
[Operation example 1]
Next, a processing operation for executing an application program using the accelerations α x and α Y (hereinafter referred to as “operation example 1”) will be described. The application program of this operation example 1 is for operating the mobile phone 20 as a mouse which is a portable personal computer such as a notebook personal computer or a pointing device such as a PDA. Of course, it can be similarly operated as a pointing device such as a stationary personal computer.

図1は、本動作例1におけるアプリケーションプログラムを実行するための処理の流れを示すフローチャートである。
まず、ユーザー1は、マウス用のアプリケーションプログラムを上記ダウンロードサーバ11からダウンロードして取得し、これを登録する(S1)。具体的には、ユーザー1は、操作部213のキーを操作して、ダウンロードサーバ11にアクセスする。これにより、ダウンロード可能なアプリケーションプログラムを選択するためのダウンロード選択画面が液晶ディスプレイ27上に表示される。そして、そのダウンロード選択画面において、実行対象となるマウス用のアプリケーションプログラムをスクロールキー24を用いて選択し、多機能キー25を押下すると、主制御部215がデータ通信部212を制御して、そのアプリケーションプログラムをダウンロードサーバ11からダウンロードする。このようにしてダウンロードされたアプリケーションプログラムは、主制御部215により、RAM202に記憶される。
FIG. 1 is a flowchart showing a flow of processing for executing an application program in the first operation example.
First, the user 1 downloads and acquires a mouse application program from the download server 11 and registers it (S1). Specifically, the user 1 accesses the download server 11 by operating a key of the operation unit 213. As a result, a download selection screen for selecting a downloadable application program is displayed on the liquid crystal display 27. When the mouse application program to be executed is selected using the scroll key 24 on the download selection screen and the multi-function key 25 is pressed, the main control unit 215 controls the data communication unit 212 to An application program is downloaded from the download server 11. The application program downloaded in this way is stored in the RAM 202 by the main control unit 215.

ダウンロードしたアプリケーションプログラムを実行する場合、ユーザー1は、まず、携帯電話機20の外部端子と、ノートパソコン等のUSB(Universal Serial Bus)端子とを接続する。本実施形態の接続方式は、USB端子を利用した有線接続であるが、その他の有線接続又は無線接続を用いた方式であってもよい。また、本携帯電話機20をノートパソコン等に接続する場合に用いる携帯電話機20側の通信手段としては、その外部端子に限らず、ノートパソコン等との間でデータ通信が可能なあらゆる通信手段を利用することが可能である。携帯電話機20とノートパソコン等とを接続したら、ユーザー1は、操作部213のキーを操作して、実行するアプリケーションプログラムを選択するためのアプリケーション選択画面を液晶ディスプレイ27上に表示させる。そして、そのアプリケーション選択画面において、実行対象であるマウス用のアプリケーションプログラムをスクロールキー24を用いて選択し、多機能キー25を押下する。すると、図7に示した電話機プラットフォームすなわち図6に示した主制御部215に、アプリケーションプログラムの実行指示が入力される(S2)。これにより、主制御部215は、図7に示したアプリケーション実行環境すなわち図6に示したアプリケーションプログラム実行管理部214を起動させる(S3)。そして、アプリケーションプログラム実行管理部214は、アプリケーションプログラム実行手段として機能し、マウス用のアプリケーションプログラムを読み出してこれを起動する(S4)。   When executing the downloaded application program, the user 1 first connects an external terminal of the mobile phone 20 and a USB (Universal Serial Bus) terminal such as a notebook personal computer. The connection method of the present embodiment is a wired connection using a USB terminal, but may be a method using other wired connection or wireless connection. In addition, the communication means on the mobile phone 20 side used when the mobile phone 20 is connected to a notebook computer or the like is not limited to the external terminal, and any communication means capable of data communication with the notebook computer or the like is used. Is possible. When the cellular phone 20 is connected to the notebook computer or the like, the user 1 operates the keys of the operation unit 213 to display an application selection screen for selecting an application program to be executed on the liquid crystal display 27. Then, on the application selection screen, the mouse application program to be executed is selected using the scroll key 24 and the multifunction key 25 is pressed. Then, an application program execution instruction is input to the telephone platform shown in FIG. 7, that is, the main control unit 215 shown in FIG. 6 (S2). As a result, the main control unit 215 activates the application execution environment shown in FIG. 7, that is, the application program execution management unit 214 shown in FIG. 6 (S3). Then, the application program execution management unit 214 functions as an application program execution unit, reads an application program for a mouse, and starts it (S4).

マウス用のアプリケーションプログラムが起動した後、そのアプリケーションプログラムは、センサ検知部217によって検知される加速度α,αのデータをほぼリアルタイムで取得する。そして、アプリケーションプログラムは、取得したデータに基づいて携帯電話機20の移動量及び移動方向を求める。この移動量及び移動方向は、所定の短い時間間隔で、連続的に携帯電話機20の外部端子を介してノートパソコン等に出力される。
具体的に説明すると、図8に示すように、アプリケーション実行環境において、起動したアプリケーションプログラムは、アプリケーションプログラム実行管理部214に対して、加速度データの取得要求を送る。本動作例1では、加速度α,αのデータを取得するメソッドとしてgetXGravity()及びgetYGravity()の命令セットが定義されているので、これらの命令セットを利用する要求を送る。これを受けたアプリケーションプログラム実行管理部214は、電話機プラットフォームの主制御部215に対してデータ移行命令である加速度データの取得要求を送る(S5)。これを受けた主制御部215は、RAM202内のプラットフォーム用記憶領域に記憶した加速度α,αのデータを、アプリケーションプログラム実行管理部214に送り、このデータはアプリケーションプログラムに渡される(S6)。そして、加速度α,αのデータを取得したアプリケーションプログラムは、そのデータを、RAM202内のアプリケーション用記憶領域に記憶する。そして、その加速度α,αのデータから携帯電話機20の移動量及び移動方向を算出し、その移動量及び移動方向の情報を外部端子からノートパソコン等に出力する処理を実行する(S7)。本動作例1において、主制御部215は、アプリケーションプログラム実行管理部214から加速度データの取得要求を受け取ると、その後、プラットフォーム記憶領域内の加速度α,αが更新されるたびに、更新後のデータをアプリケーションプログラム実行管理部214に送る。よって、マウス用のアプリケーションプログラムは、ほぼリアルタイムで、加速度α,αのデータを取得し、ノートパソコン等に移動量及び移動方向の情報を出力することができる。
After the application program for the mouse is activated, the application program acquires acceleration α x and α Y data detected by the sensor detection unit 217 in almost real time. And an application program calculates | requires the movement amount and movement direction of the mobile telephone 20 based on the acquired data. The movement amount and the movement direction are continuously output to a notebook computer or the like via the external terminal of the mobile phone 20 at predetermined short time intervals.
More specifically, as shown in FIG. 8, in the application execution environment, the activated application program sends an acceleration data acquisition request to the application program execution management unit 214. In this operation example 1, since the instruction set of getXGravity () and getYGravity () is defined as a method for acquiring data of accelerations α x and α Y , a request for using these instruction sets is sent. In response to this, the application program execution management unit 214 sends an acquisition request for acceleration data, which is a data migration command, to the main control unit 215 of the telephone platform (S5). Receiving this, the main control unit 215 sends the acceleration α x and α Y data stored in the platform storage area in the RAM 202 to the application program execution management unit 214, and this data is passed to the application program (S6). . Then, the application program that has acquired the data of the accelerations α x and α Y stores the data in the application storage area in the RAM 202. Then, the movement amount and movement direction of the mobile phone 20 are calculated from the data of the accelerations α x and α Y , and processing for outputting information of the movement amount and movement direction from the external terminal to a notebook computer or the like is executed (S7). . In the first operation example, when receiving the acceleration data acquisition request from the application program execution management unit 214, the main control unit 215 thereafter updates the acceleration α x , α Y in the platform storage area each time it is updated. Are sent to the application program execution management unit 214. Therefore, the application program for the mouse can acquire the data of the acceleration α x and α Y in almost real time, and can output the information on the movement amount and the movement direction to a notebook personal computer or the like.

以上、本動作例1によれば、電話機プラットフォームに依存しない利用者が登録して利用することが可能なアプリケーションプログラムにより、電話機プラットフォームが制御するセンサ検知部217によって得られる加速度α,αのデータを用いた処理を行うことができる。具体的には、携帯電話機20を、携帯型パーソナルコンピュータ等のポインティングデバイスとして利用することができる。一般に、携帯型パーソナルコンピュータ等は小型化のため、備え付けのポインティングデバイスの操作性は、ディスクトップ型パーソナルコンピュータには劣るものである。そのため、ユーザーの中には、携帯型パーソナルコンピュータ等とは別個に、いわゆる外付けマウスを携帯する者も多い。本動作例1においては、一般のユーザーであればほぼ常時携帯している携帯電話機20を、外付けマウスとして利用することができる。よって、従来のように、外付けマウスをわざわざ持ち歩かなくても、ディスクトップ型パーソナルコンピュータと同様の操作性を得ることができる。 As described above, according to the first operation example, the accelerations α x and α Y obtained by the sensor detection unit 217 controlled by the telephone platform by an application program that can be registered and used by a user independent of the telephone platform. Processing using data can be performed. Specifically, the mobile phone 20 can be used as a pointing device such as a portable personal computer. In general, since a portable personal computer or the like is miniaturized, the operability of a pointing device provided is inferior to that of a desktop personal computer. Therefore, many users carry a so-called external mouse separately from a portable personal computer or the like. In this operation example 1, if it is a general user, the cellular phone 20 carried almost always can be used as an external mouse. Therefore, the operability similar to that of a desktop personal computer can be obtained without having to carry an external mouse.

なお、本動作例1では、加速度α,αのデータを用いたアプリケーションプログラムとして、マウス用のアプリケーションプログラムを例に挙げて説明したが、これに限られるものではない。
他のアプリケーションプログラムとしては、例えば、携帯電話機20を万歩計(登録商標)として動作させるものが挙げられる。この場合、そのアプリケーションプログラムは、例えば、上記と同様にほぼリアルタイムで加速度データを連続的に取得し、ある一定の閾値を越える加速度が検知された回数をカウントするような内容とする。また、上述した加速度α,αのデータを用いれば、その加速度変化から、歩いている時、走っている時、電車に乗っている時などのユーザー1の動きを推測することが可能である。これらの推測をもとに、ユーザー1の1日の行動履歴を記録するようなアプリケーションプログラムを提供することも可能である。このとき、上記地磁気センサ208によって検知される方位角θのデータも利用すれば、ユーザー1が移動した方角も把握することができ、より詳細な行動履歴を記録することが可能となる。この行動履歴の保存先は、携帯電話機20内に限らず、データ通信部212から通信ネットワーク上の所定のサーバに保存するようにしてもよい。
また、他のアプリケーションプログラムとしては、例えば、携帯電話機20に衝撃を与えることでアラームを止めることができるような目覚まし時計として、携帯電話機20を動作させるものも挙げられる。この場合、そのアプリケーションプログラムは、例えば、アラームが鳴っている間に一定以上の加速度が発生したら、アラームを止めるような内容とする。これによれば、ユーザーは、アラームを止める時に、従来のようにボタン操作を行う必要がなくなるので、ユーザーの利便性向上を図ることができる。
In the first operation example, the mouse application program is described as an example of the application program using the acceleration α x and α Y data. However, the present invention is not limited to this.
As another application program, for example, an application program that causes the mobile phone 20 to operate as a pedometer (registered trademark) can be cited. In this case, for example, the application program continuously acquires acceleration data almost in real time as described above, and counts the number of times an acceleration exceeding a certain threshold is detected. Further, by using the acceleration α x and α Y data described above, it is possible to estimate the movement of the user 1 such as when walking, running, or riding a train from the acceleration change. is there. It is also possible to provide an application program that records the daily action history of the user 1 based on these assumptions. At this time, by utilizing also data of azimuth theta N detected by the geomagnetic sensor 208, direction the user 1 moves can also be grasped, it is possible to record more detailed action history. The storage destination of the action history is not limited to the mobile phone 20 and may be stored from the data communication unit 212 to a predetermined server on the communication network.
As another application program, for example, an application that operates the mobile phone 20 as an alarm clock that can stop an alarm by giving an impact to the mobile phone 20 can be cited. In this case, for example, the application program has such a content as to stop the alarm when an acceleration of a certain level or more occurs while the alarm is sounding. According to this, when the user stops the alarm, it is not necessary to perform a button operation as in the conventional case, so that the convenience of the user can be improved.

〔動作例2〕
次に、上記ピッチ角θ、ロール角θ及びヨー角θを用いたアプリケーションプログラムを実行するための処理動作(以下、「動作例2」という。)について説明する。本動作例2のアプリケーションプログラムは、ゲームであるフライトシミュレータである。
[Operation example 2]
Next, a processing operation (hereinafter referred to as “operation example 2”) for executing an application program using the pitch angle θ x , roll angle θ Y and yaw angle θ Z will be described. The application program of the second operation example is a flight simulator that is a game.

図9は、本動作例2におけるアプリケーションプログラムを実行するための処理の流れを示すフローチャートである。
ユーザー1は、上記動作例1と同様にして、フライトシミュレータ用プログラム(アプリケーションプログラム)を上記ダウンロードサーバ11からダウンロードして取得し、これを起動する(S11〜S14)。このプログラムが起動すると、出力部216が、飛行機の操縦席からの視界を擬似的に表したゲーム画面をLCD27に表示する。また、このプログラムは、センサ検知部217によって検知されるピッチ角θ、ロール角θ及びヨー角θのデータをほぼリアルタイムで取得する。そして、そのプログラムは、取得したデータに応じてLCD27に表示されるゲーム画面の内容を更新する。例えば、ユーザー1が携帯電話機20のアンテナ側を鉛直方向下方に傾けると、これによりピッチ角θが変化し、ゲーム上の飛行機の機首が鉛直方向下方に向いたゲーム画面に更新される。また、例えば、ユーザー1が携帯電話機20を左側に傾けると、これによりロール角θが変化し、ゲーム上の飛行機が左側に傾いたゲーム画面に更新される。
FIG. 9 is a flowchart showing a flow of processing for executing the application program in the second operation example.
The user 1 downloads and acquires the flight simulator program (application program) from the download server 11 and activates it in the same manner as in the first operation example (S11 to S14). When this program is activated, the output unit 216 displays a game screen on the LCD 27 simulating the field of view from the cockpit of the airplane. In addition, this program acquires data of the pitch angle θ x , the roll angle θ Y, and the yaw angle θ Z detected by the sensor detection unit 217 in almost real time. Then, the program updates the content of the game screen displayed on the LCD 27 according to the acquired data. For example, when the user 1 tilts the antenna side of the portable telephone 20 downward in the vertical direction, thereby the pitch angle theta x is changed, the nose of the airplane in the game is updated on the game screen oriented vertically downward. Further, for example, user 1 Tilting the mobile phone 20 to the left, thereby the roll angle theta Y is changed, the airplane in the game is updated on the game screen is inclined to the left.

具体的に説明すると、図10に示すように、アプリケーション実行環境において、起動したアプリケーションプログラムは、アプリケーションプログラム実行管理部214に対して、角度データの取得要求を送る。本動作例2では、ピッチ角θ、ロール角θ、ヨー角θのデータを取得するメソッドとしてgetPitch()、getRoll()、getCompassBearing()等の命令セットが定義されているので、これらの命令セットを利用する要求を送る。これを受けたアプリケーションプログラム実行管理部214は、電話機プラットフォームの主制御部215に対してデータ移行命令である角度データの取得要求を送る(S15)。これを受けた主制御部215は、RAM202内のプラットフォーム用記憶領域に記憶したピッチ角θ、ロール角θ及びヨー角θのデータを、アプリケーションプログラム実行管理部214に送り、これらのデータはアプリケーションプログラムに渡される(S16)。そして、ピッチ角θ、ロール角θ及びヨー角θのデータを取得したアプリケーションプログラムは、そのデータを、RAM202内のアプリケーション用記憶領域に記憶する。そして、ピッチ角θ、ロール角θ及びヨー角θに基づいてゲーム画面を更新し、その更新後のゲーム画面を携帯電話機20のLCD27に表示する処理を実行する(S17)。なお、本動作例2においても、上記動作例1と同様に、主制御部215は、アプリケーションプログラム実行管理部214から角度データの取得要求を受け取った後は、プラットフォーム記憶領域内の角度θ,θ,θのデータが更新されるたびに、更新後のデータをアプリケーションプログラム実行管理部214に送る。よって、ユーザー1は、携帯電話機20のLCD27を見ながら携帯電話機20の本体を傾けることで、ゲーム上の飛行機を操縦するというゲームを楽しむことができる。 More specifically, as shown in FIG. 10, in the application execution environment, the activated application program sends an angle data acquisition request to the application program execution management unit 214. In this operation example 2, instruction sets such as getPitch (), getRoll (), and getCompassBearing () are defined as methods for obtaining data of the pitch angle θ x , roll angle θ Y , and yaw angle θ Z. Send a request to use the instruction set. In response to this, the application program execution management unit 214 sends an angle data acquisition request, which is a data migration command, to the telephone platform main control unit 215 (S15). Receiving this, the main control unit 215 sends the data of the pitch angle θ x , the roll angle θ Y and the yaw angle θ Z stored in the platform storage area in the RAM 202 to the application program execution management unit 214, and these data Is passed to the application program (S16). Then, the application program that acquired the data of the pitch angle θ x , the roll angle θ Y, and the yaw angle θ Z stores the data in the application storage area in the RAM 202. Then, the game screen is updated based on the pitch angle θ x , the roll angle θ Y, and the yaw angle θ Z , and a process of displaying the updated game screen on the LCD 27 of the mobile phone 20 is executed (S17). In the second operation example, as in the first operation example, after receiving the angle data acquisition request from the application program execution management unit 214, the main control unit 215 receives the angle θ x , Each time the data of θ Y and θ Z are updated, the updated data is sent to the application program execution management unit 214. Therefore, the user 1 can enjoy a game of manipulating an airplane on the game by tilting the main body of the mobile phone 20 while looking at the LCD 27 of the mobile phone 20.

以上、本動作例2によれば、電話機プラットフォームに依存しない利用者が登録して利用することが可能なアプリケーションプログラムにより、電話機プラットフォームが制御するセンサ検知部217によって得られる角度θ,θ,θのデータを用いた処理を行うことができる。具体的には、携帯電話機20の本体を傾ける操作を行うことで、フライトシミュレータ上の飛行機を操縦するというゲームを提供することができる。フライトシミュレータ上の飛行機の操縦は、携帯電話機20の操作部213を操作することでも可能ではあるが、本動作例2の方が操縦の臨場感を高めることができる。 As described above, according to the second operation example, the angles θ x , θ Y , obtained by the sensor detection unit 217 controlled by the telephone platform by an application program that can be registered and used by a user independent of the telephone platform. it is possible to perform the processing using the data of the theta Z. Specifically, a game of manipulating an airplane on a flight simulator can be provided by performing an operation of tilting the main body of the mobile phone 20. Although it is possible to control the airplane on the flight simulator by operating the operation unit 213 of the mobile phone 20, the operational example 2 can enhance the realistic feeling of the operation.

なお、本動作例2では、ピッチ角θ、ロール角θ及びヨー角θのデータを用いたアプリケーションプログラムとして、フライトシミュレータ用のプログラムを例に挙げて説明したが、これに限られるものではない。
他のアプリケーションプログラムとしては、例えば、LCD27に表示されるゲーム画面上においてボールを穴に落とすというゲームが挙げられる。この場合、そのアプリケーションプログラムは、例えば、携帯電話機20を傾けることで、ゲーム画面上のボールがその傾きの方向に移動するような内容とする。
In the second operation example, the application program using the data of the pitch angle θ x , the roll angle θ Y, and the yaw angle θ Z has been described as an example of a flight simulator program, but the application program is limited to this. is not.
As another application program, for example, there is a game in which a ball is dropped into a hole on a game screen displayed on the LCD 27. In this case, the application program is set such that, for example, when the mobile phone 20 is tilted, the ball on the game screen moves in the tilt direction.

〔動作例3〕
次に、上記動作例1と同様に、上記加速度α,αを用いたマウス用のアプリケーションプログラムを実行するための処理動作(以下、「動作例3」という。)について説明する。
本動作例3で実行されるアプリケーションプログラムは、電話機プラットフォームに依存するものである点で、上記動作例1のようにアプリケーション実行環境上で実行される電話機プラットフォームに依存しないアプリケーションプログラムとは異なるものである。なお、電話機プラットフォームに依存するアプリケーションプログラムとは、電話機プラットフォーム上で直接動作するもの、すなわち、アプリケーションプログラム実行手段として機能する主制御部215により実行されるものである。本動作例3における基本的な動作は、上記動作例1と同様であるので、以下、主に異なる点について説明する。
[Operation example 3]
Next, similarly to the operation example 1, a processing operation (hereinafter referred to as “operation example 3”) for executing an application program for a mouse using the accelerations α x and α Y will be described.
The application program executed in this operation example 3 is different from the application program not depending on the telephone platform executed on the application execution environment as in the above operation example 1 in that it depends on the telephone platform. is there. The application program depending on the telephone platform is one that directly operates on the telephone platform, that is, one that is executed by the main control unit 215 that functions as application program execution means. Since the basic operation in the third operation example is the same as that in the first operation example, differences will be mainly described below.

図11は、本動作例3におけるアプリケーションプログラムを実行するための処理の流れを示すフローチャートである。
本動作例3の実行対象であるマウス用のアプリケーションプログラムは、出荷段階で予めROM203に記憶されている。よって、上記動作例1のように、実行前に、アプリケーションプログラムを上記ダウンロードサーバ11からダウンロードして取得し、これを登録する処理を必要としない。アプリケーションプログラムを実行する場合、ユーザー1は、まず、上記動作例1と同様に、携帯電話機20をノートパソコン等に接続した後、操作部213のキーを操作して、実行するアプリケーションプログラムを選択する。すると、図7に示した電話機プラットフォームすなわち図6に示した主制御部215に、アプリケーションプログラムの実行指示が入力される(S21)。これにより、主制御部215は、マウス用のアプリケーションプログラムを読み出してこれを起動する(S22)。このとき、本動作例3では、アプリケーション実行環境を起動させる必要がない。
FIG. 11 is a flowchart showing a flow of processing for executing the application program in the third operation example.
The application program for the mouse that is the execution target of the operation example 3 is stored in the ROM 203 in advance at the time of shipment. Therefore, unlike the operation example 1 described above, it is not necessary to download and acquire the application program from the download server 11 and register it before execution. When executing the application program, first, the user 1 selects the application program to be executed by operating the keys of the operation unit 213 after connecting the mobile phone 20 to a notebook computer or the like, as in the first operation example. . Then, an application program execution instruction is input to the telephone platform shown in FIG. 7, that is, the main control unit 215 shown in FIG. 6 (S21). As a result, the main control unit 215 reads out the application program for the mouse and activates it (S22). At this time, in this operation example 3, it is not necessary to start the application execution environment.

マウス用のアプリケーションプログラムが起動した後、そのアプリケーションプログラムは、センサ検知部217によって検知される加速度α,αのデータをほぼリアルタイムで取得する。そして、アプリケーションプログラムは、取得したデータに基づいて携帯電話機20の移動量及び移動方向を求める。この移動量及び移動方向は、所定の短い時間間隔で、連続的に携帯電話機20の外部端子を介してノートパソコン等に出力される。
具体的に説明すると、図12に示すように、電話機プラットフォームにおいて、起動したアプリケーションプログラムは、主制御部215に対して、加速度データの取得要求を送る(S23)。これを受けた主制御部215は、RAM202内のプラットフォーム用記憶領域に記憶した加速度α,αのデータを、アプリケーションプログラムに受け渡す(S24)。そして、加速度α,αのデータを取得したアプリケーションプログラムは、そのデータから携帯電話機20の移動量及び移動方向を算出し、その移動量及び移動方向の情報をノートパソコン等に出力する処理を実行する(S25)。本動作例3において、主制御部215は、アプリケーションプログラムから加速度データの取得要求を受け取ると、その後、プラットフォーム記憶領域内の加速度α,αが更新されるたびに、更新後のデータをアプリケーションプログラムに送る。よって、マウス用のアプリケーションプログラムは、ほぼリアルタイムで、加速度α,αのデータを取得し、ノートパソコン等に移動量及び移動方向の情報を出力することができる。
After the application program for the mouse is activated, the application program acquires acceleration α x and α Y data detected by the sensor detection unit 217 in almost real time. And an application program calculates | requires the movement amount and movement direction of the mobile telephone 20 based on the acquired data. The movement amount and the movement direction are continuously output to a notebook computer or the like via the external terminal of the mobile phone 20 at predetermined short time intervals.
Specifically, as shown in FIG. 12, in the telephone platform, the activated application program sends an acceleration data acquisition request to the main control unit 215 (S23). Receiving this, the main control unit 215 delivers the data of the accelerations α x and α Y stored in the platform storage area in the RAM 202 to the application program (S24). And the application program which acquired the data of acceleration (alpha) x , (alpha) Y calculates the movement amount and movement direction of the mobile telephone 20 from the data, and the process which outputs the information of the movement amount and movement direction to a notebook personal computer etc. Execute (S25). In the third operation example, when the main control unit 215 receives the acceleration data acquisition request from the application program, each time the accelerations α x and α Y in the platform storage area are updated, the main control unit 215 transmits the updated data to the application program. Send to program. Therefore, the application program for the mouse can acquire the data of the acceleration α x and α Y in almost real time, and can output the information on the movement amount and the movement direction to a notebook personal computer or the like.

以上、本動作例3によれば、上記動作例1と同様に、携帯電話機20を、携帯型パーソナルコンピュータ等のポインティングデバイスとして利用することができる。
なお、本動作例3において実行されるアプリケーションプログラムは、主制御部215により実行される電話機プラットフォームに依存するものである。したがって、本動作例3は、アプリケーションプログラム実行管理部214を有しない携帯電話機に対しても適用することができる。
As described above, according to the third operation example, similarly to the first operation example, the mobile phone 20 can be used as a pointing device such as a portable personal computer.
The application program executed in the third operation example depends on the telephone platform executed by the main control unit 215. Therefore, this operation example 3 can also be applied to a mobile phone that does not have the application program execution management unit 214.

その他、加速度α,α、角度θ,θ,θ、方位角θを用いたアプリケーションプログラムとしては、例えば、携帯電話機20の位置、向き、姿勢、動きなどによって、マナーモード設定等の各種設定の変更を行うための入力手段として、携帯電話機20を動作させるものが挙げられる。この場合、そのアプリケーションプログラムは、例えば、携帯電話機20が起立した状態にあるときはマナーモードに設定されたり、携帯電話機20が静止状態にあるときは省電力モードに設定されたりするような内容とする。 In addition, as an application program using acceleration α x , α Y , angles θ x , θ Y , θ Z , and azimuth angle θ N , for example, the manner mode is set depending on the position, orientation, posture, movement, etc. of mobile phone 20. Examples of the input means for changing various settings such as those for operating the mobile phone 20 include. In this case, the application program has, for example, contents set to the manner mode when the cellular phone 20 is standing, or set to the power saving mode when the cellular phone 20 is stationary. To do.

なお、本実施形態においては、主制御部215は、アプリケーションプログラム実行管理部214を介して又はアプリケーションプログラムから直接に、取得要求を受けた後、プラットフォーム記憶領域内のデータ更新のたびに、更新後のデータを送るように動作するが、アプリケーションプログラムの内容に応じて適宜変更できる。例えば、取得要求を受けたら、プラットフォーム記憶領域内のデータを、1回だけ送るように動作させてもよい。また、上記動作例1及び動作例2においては、アプリケーションプログラムからの指示を待たずに、アプリケーションプログラム実行管理部214が取得要求を出力するようにしてもよい。
また、本発明は、携帯電話機のほか、PHS、自動車電話機等の電話機、携帯型のPDAの場合についても適用でき、同様な効果が得られるものである。
In the present embodiment, the main control unit 215 receives the acquisition request via the application program execution management unit 214 or directly from the application program, and then updates the data every time the data in the platform storage area is updated. However, it can be changed as appropriate according to the contents of the application program. For example, when an acquisition request is received, the data in the platform storage area may be sent only once. In the first and second operation examples, the application program execution management unit 214 may output an acquisition request without waiting for an instruction from the application program.
Further, the present invention can be applied to a case of a mobile phone, a phone such as a PHS and a car phone, and a portable PDA, and similar effects can be obtained.

10 携帯電話通信網
11 ダウンロードサーバ
20 携帯電話機
207 加速度センサ
208 地磁気センサ
212 データ通信部
213 操作部
214 アプリケーションプログラム実行管理部
215 主制御部
216 出力部
217 センサ検知部
DESCRIPTION OF SYMBOLS 10 Mobile phone communication network 11 Download server 20 Mobile phone 207 Acceleration sensor 208 Geomagnetic sensor 212 Data communication part 213 Operation part 214 Application program execution management part 215 Main control part 216 Output part 217 Sensor detection part

特開2000−347867号公報JP 2000-347867 A 特開2001−272413号公報JP 2001-272413 A 特開2002−169645号公報JP 2002-169645 A 特開2003−111142号公報JP 2003-111142 A

Claims (6)

データを記憶する第1の記憶手段及び第2の記憶手段と、
該第2の記憶手段に記憶されたデータを用いて、アプリケーションプログラムを実行するアプリケーションプログラム実行手段とを備えた移動体通信端末において、
当該移動体通信端末の位置、向き、姿勢及び動きのうちの少なくとも1つを検知するための検知手段と、
該検知手段による検知結果に基づいて得られる検知結果データを、上記第1の記憶手段に記憶する記憶処理を行う記憶処理手段と、
上記アプリケーションプログラム実行手段からのデータ移行命令に応じ、該第1の記憶手段に記憶された検知結果データを上記第2の記憶手段に移行するデータ移行手段とを有し、
上記アプリケーションプログラム実行手段は、該第2の記憶手段に記憶された検知結果データを用いて、上記アプリケーションプログラムを実行することを特徴とする移動体通信端末。
First storage means and second storage means for storing data;
In a mobile communication terminal comprising application program execution means for executing an application program using data stored in the second storage means,
Detecting means for detecting at least one of the position, orientation, posture and movement of the mobile communication terminal;
Storage processing means for performing storage processing for storing detection result data obtained based on the detection result by the detection means in the first storage means;
Data migration means for migrating the detection result data stored in the first storage means to the second storage means in response to a data migration instruction from the application program execution means,
The mobile communication terminal characterized in that the application program executing means executes the application program using detection result data stored in the second storage means.
請求項1の移動体通信端末において、
上記検知手段は、所定方向に延びる仮想軸のまわりの基準角に対する角度を検知するための角度検知手段を含むことを特徴とする移動体通信端末。
The mobile communication terminal according to claim 1, wherein
The mobile communication terminal characterized in that the detection means includes angle detection means for detecting an angle with respect to a reference angle around a virtual axis extending in a predetermined direction.
請求項1又は2の移動体通信端末において、
上記検知手段は、当該移動体通信端末に働く所定方向の加速度を検知するための加速度検知手段を含むことを特徴とする移動体通信端末。
In the mobile communication terminal according to claim 1 or 2,
The mobile communication terminal characterized in that the detection means includes an acceleration detection means for detecting an acceleration in a predetermined direction acting on the mobile communication terminal.
請求項1、2又は3の移動体通信端末において、
上記アプリケーションプログラム実行手段は、上記アプリケーションプログラムの記述に従って上記データ移行命令を発生させる命令セットを実装していることを特徴とする移動体通信端末。
In the mobile communication terminal according to claim 1, 2, or 3,
The mobile communication terminal, wherein the application program execution means is mounted with an instruction set for generating the data migration instruction according to the description of the application program.
請求項4の移動体通信端末が有するアプリケーションプログラム実行手段により実行されることにより、上記命令セットを用いて該アプリケーションプログラム実行手段に上記データ移行命令を発生させるように、該移動体通信端末のコンピュータを機能させることを特徴とするアプリケーションプログラム。   A computer of the mobile communication terminal, which is executed by the application program execution means included in the mobile communication terminal according to claim 4 to cause the application program execution means to generate the data migration instruction using the instruction set. An application program characterized by functioning. データを記憶する記憶手段に記憶されたデータを用いて、アプリケーションプログラムを実行するアプリケーションプログラム実行手段とを備えた移動体通信端末において、
上記アプリケーションプログラムの記述に従って上記アプリケーションプログラム実行手段が生成する検知命令に応じて、当該移動体通信端末の位置、向き、姿勢及び動きのうちの少なくとも1つを検知するための検知手段として、3軸の磁気センサ及び2軸の加速度センサを用い、
該検知手段による検知結果に基づいて得られる検知結果データを、上記記憶手段に記憶する記憶処理手段を有し、
該アプリケーションプログラム実行手段は、該記憶手段に記憶された検知結果データを用いて、上記アプリケーションプログラムを実行することを特徴とする移動体通信端末。
In a mobile communication terminal comprising application program execution means for executing an application program using data stored in a storage means for storing data,
As a detection means for detecting at least one of the position, orientation, posture and movement of the mobile communication terminal according to a detection command generated by the application program execution means according to the description of the application program, three axes Using a magnetic sensor and a biaxial acceleration sensor,
It has a storage processing means for storing the detection result data obtained based on the detection result by the detection means in the storage means,
The mobile communication terminal characterized in that the application program execution means executes the application program using detection result data stored in the storage means.
JP2009085549A 2009-03-31 2009-03-31 Mobile communication terminal and application program Expired - Fee Related JP4394742B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009085549A JP4394742B2 (en) 2009-03-31 2009-03-31 Mobile communication terminal and application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009085549A JP4394742B2 (en) 2009-03-31 2009-03-31 Mobile communication terminal and application program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2008001138A Division JP4331239B2 (en) 2008-01-08 2008-01-08 Mobile communication terminal and application program

Publications (2)

Publication Number Publication Date
JP2009207154A true JP2009207154A (en) 2009-09-10
JP4394742B2 JP4394742B2 (en) 2010-01-06

Family

ID=41148895

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009085549A Expired - Fee Related JP4394742B2 (en) 2009-03-31 2009-03-31 Mobile communication terminal and application program

Country Status (1)

Country Link
JP (1) JP4394742B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6981106B2 (en) 2017-08-29 2021-12-15 株式会社リコー Image pickup device, image display system, operation method, program

Also Published As

Publication number Publication date
JP4394742B2 (en) 2010-01-06

Similar Documents

Publication Publication Date Title
JP4179614B2 (en) External device for mobile communication terminal, mobile communication terminal, and external display system for mobile communication terminal
JP4220943B2 (en) Electronics
EP1783592B1 (en) Mobile communication terminal, application program, image display control apparatus, electronic device, and image display control method
WO2005039154A1 (en) Mobile communication terminal and application program
WO2006004063A1 (en) Electronic device
KR100869735B1 (en) Information processing method, information processor and information processing program
JP2006072466A (en) Electronic equipment
JP4149893B2 (en) Mobile communication terminal and application program
JP2005192206A (en) Mobile communication terminal
JP4331239B2 (en) Mobile communication terminal and application program
JP4394742B2 (en) Mobile communication terminal and application program
JP4350781B2 (en) Mobile communication terminal
JP2008070884A (en) Mobile communication terminal
JP2005227899A (en) Information communication terminal
JP4179607B2 (en) Mobile communication terminal
JP2005242283A (en) Mobile communication terminal
JP2006011106A (en) Display device and mobile communication terminal equipped with same
JP2008042624A (en) Mobile communication terminal

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20091009

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20091015

R150 Certificate of patent or registration of utility model

Ref document number: 4394742

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20121023

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20151023

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees