JP2006271715A - Portable terminal device and control method of portable terminal device - Google Patents

Portable terminal device and control method of portable terminal device Download PDF

Info

Publication number
JP2006271715A
JP2006271715A JP2005095868A JP2005095868A JP2006271715A JP 2006271715 A JP2006271715 A JP 2006271715A JP 2005095868 A JP2005095868 A JP 2005095868A JP 2005095868 A JP2005095868 A JP 2005095868A JP 2006271715 A JP2006271715 A JP 2006271715A
Authority
JP
Japan
Prior art keywords
terminal device
portable terminal
game
unit
application
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
JP2005095868A
Other languages
Japanese (ja)
Other versions
JP4609151B2 (en
Inventor
Satoshi Hibino
三十四 日比野
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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2005095868A priority Critical patent/JP4609151B2/en
Publication of JP2006271715A publication Critical patent/JP2006271715A/en
Application granted granted Critical
Publication of JP4609151B2 publication Critical patent/JP4609151B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a portable terminal device for performing calibration of bearing sensors as a part of operation of an application game program. <P>SOLUTION: An application capable of being executed on the portable terminal device 1 includes a process for requesting a user to perform rotation operation of the portable terminal device 1. The calibration of the bearing sensors 521-1 and 521-2 is performed when the user rotates the portable terminal device 1 in this process. Thereby, the user performs calibration of the bearing sensors 521-1 and 521-2 as a part of operation of the application so that the user is not required to rotate the portable terminal device 1 only for calibration like conventional portable terminal devices. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明はアプリケーションゲームソフトを備えた携帯端末装置に関する。  The present invention relates to a portable terminal device provided with application game software.

近年、携帯電話機等の携帯端末装置では高機能化が進み、方位を測定するために地磁気を検出する磁気センサを備えたものや、ゲーム等のアプリケーションを実行できるものが開発されている。アプリケーションの中には、磁気センサの検出結果から算出した方位を使用しているものもあり、従来技術では、このようなアプリケーションを実行する前にまず磁気センサのキャリブレーションを行う必要があった。磁気センサのキャリブレーションとは、端末内部を流れる電気信号が発生する磁場の影響等を校正するためのものであり、ユーザが携帯電話機を所定の方向に回転させながら定期的に磁気センサのデータを取り込んで蓄積し、得られたデータから地磁気以外の磁場による影響を算出し取り除くという方法で行われていた。
なお、本出願に関する従来技術の参考文献として、特許文献1ないし特許文献4が知られている。
特開平10−179926号公報 特開2002−95871号公報 特開2003−199973号公報 特開2004−337619号公報
2. Description of the Related Art In recent years, mobile terminal devices such as mobile phones have been improved in functionality, and those equipped with a magnetic sensor that detects geomagnetism to measure azimuth and those that can execute applications such as games have been developed. Some applications use an orientation calculated from the detection result of the magnetic sensor. In the prior art, it is necessary to first calibrate the magnetic sensor before executing such an application. Calibration of the magnetic sensor is for calibrating the influence of the magnetic field generated by the electric signal flowing inside the terminal, and the user periodically scans the magnetic sensor data while rotating the mobile phone in a predetermined direction. It was done by a method of taking in and accumulating, and calculating and removing the influence of magnetic fields other than geomagnetism from the obtained data.
Note that Patent Documents 1 to 4 are known as prior art references relating to the present application.
JP-A-10-179926 JP 2002-95871 A JP 2003-199973 A Japanese Patent Laid-Open No. 2004-337619

しかし、従来のキャリブレーション方法では、磁気センサのキャリブレーションを行うまでは磁気センサの検出結果を使用するアプリケーションを実行することができない。アプリケーションを実行するためにキャリブレーションを行うと、アプリケーション操作とは直接関係のない操作、すなわち携帯電話を回転させるという操作をユーザが行わなければならず、ユーザに負担を与えていた。
本発明は上記事情を考慮してなされたもので、その目的は、ユーザに負担をかけることなく磁気センサのキャリブレーションを行うことのできる携帯端末装置を提供することにある。
However, in the conventional calibration method, an application that uses the detection result of the magnetic sensor cannot be executed until the magnetic sensor is calibrated. When calibration is performed in order to execute an application, the user has to perform an operation not directly related to the application operation, that is, an operation of rotating the mobile phone, which places a burden on the user.
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a portable terminal device capable of calibrating a magnetic sensor without placing a burden on the user.

この発明は上記の課題を解決するためになされたもので、請求項1に記載の発明は、アプリケーションゲームソフトを実行可能な携帯端末装置であって、前記アプリケーションゲームソフトを読み込んで実行する制御手段と、前記アプリケーションゲームソフトによって実行されるゲームの内容を表示する表示手段と、データを一時記憶する記憶手段と、磁界の強さを測定する磁気センサと、前記ゲームが進行している時に前記磁気センサが出力する磁界データを前記記憶手段へ記憶させるデータ格納手段と、前記記憶手段に記憶されている磁界データを基にして前記磁気センサのキャリブレーションを行うキャリブレーション手段とを具備することを特徴としている。  The present invention has been made to solve the above-described problem, and the invention according to claim 1 is a portable terminal device capable of executing application game software, wherein the control means reads and executes the application game software Display means for displaying the contents of the game executed by the application game software, storage means for temporarily storing data, a magnetic sensor for measuring the strength of the magnetic field, and the magnetism when the game is in progress Data storage means for storing the magnetic field data output from the sensor in the storage means; and calibration means for calibrating the magnetic sensor based on the magnetic field data stored in the storage means. It is said.

また、請求項2に記載の発明は、請求項1に記載の発明において、前記アプリケーションゲームソフトは装置本体を回転させる回転操作をゲームの進行に利用することを特徴としている。  The invention described in claim 2 is characterized in that, in the invention described in claim 1, the application game software uses a rotation operation for rotating the apparatus main body for the progress of the game.

また、請求項3に記載の発明は、請求項2に記載の発明において、前記回転操作は、装置本体の重心を回転中心とする操作であることを特徴としている。  According to a third aspect of the present invention, in the second aspect of the present invention, the rotation operation is an operation with the center of gravity of the apparatus main body as a rotation center.

また、請求項4に記載の発明は、請求項2に記載の発明において、前記回転操作は、装置本体の外部の位置を回転中心とし、装置本体を振り回す操作であることを特徴としている。  According to a fourth aspect of the present invention, in the second aspect of the present invention, the rotation operation is an operation of swinging the apparatus main body around a position outside the apparatus main body as a rotation center.

また、請求項5に記載の発明は、アプリケーションゲームソフトを実行可能な携帯端末装置の制御方法であって、前記携帯端末装置は、前記アプリケーションゲームソフトを読み込んで実行する制御ステップと、前記アプリケーションゲームソフトによって実行されるゲームの内容を表示する表示ステップと、データを一時記憶する記憶ステップと、磁界の強さを測定する磁気センサと、前記ゲームが進行している時に前記磁気センサが出力する磁界データを前記記憶ステップで記憶させるデータ格納ステップと、前記記憶ステップで記憶した磁界データを基にして前記磁気センサのキャリブレーションを行うキャリブレーションステップとを具備し、前記アプリケーションゲームソフトは、装置本体を回転させる回転操作をゲームの進行に利用することを特徴としている。   The invention according to claim 5 is a control method of a mobile terminal device capable of executing application game software, wherein the mobile terminal device reads and executes the application game software, and the application game A display step for displaying the contents of a game executed by software, a storage step for temporarily storing data, a magnetic sensor for measuring the strength of the magnetic field, and a magnetic field output by the magnetic sensor when the game is in progress A data storage step for storing data in the storage step; and a calibration step for calibrating the magnetic sensor based on the magnetic field data stored in the storage step. Rotating operation to rotate the game progress It is characterized in that to use.

この発明によれば、アプリケーションゲームを実行中に、アプリケーションゲームの操作の一環として組み込まれている携帯電話機の回転・振動といった操作を利用して、磁気センサのキャリブレーションを行う。そのため、ユーザは磁気センサのキャリブレーションをアプリケーションゲームの操作として自然と行うことになり、上記の負担を解消することができる。  According to the present invention, during execution of an application game, the magnetic sensor is calibrated using operations such as rotation and vibration of a mobile phone incorporated as part of the operation of the application game. Therefore, the user naturally performs the calibration of the magnetic sensor as the operation of the application game, and the above burden can be eliminated.

以下、図面を参照してこの発明の実施形態について説明する。
図1はこの発明の第1の実施形態にかかる携帯電話機1(携帯端末装置)の構成を示すブロック図、図2の(a)は携帯電話機1の端末ユニットを開いた状態にしたときの正面図であり、図2の(b)は携帯電話機1の端末ユニットを開いた状態にし、つまみ4を起こしたときの側面図である。X軸、Y軸およびZ軸は同図中の矢印で示す方向に設定する。端末ユニット2、3は携帯端末装置1の2つの筐体である。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a mobile phone 1 (mobile terminal device) according to the first embodiment of the present invention, and FIG. FIG. 2B is a side view when the terminal unit of the mobile phone 1 is opened and the knob 4 is raised. The X axis, Y axis, and Z axis are set in the directions indicated by the arrows in the figure. Terminal units 2 and 3 are two housings of the mobile terminal device 1.

つまみ4は、通常は端末ユニット2内に蓋をしてしまわれており、磨耗を防止するためのメッキがなされている。図2の(b)に示すように、端末ユニットを開いた状態でディスプレイ側が上に位置するように携帯電話機1を水平に保ち、蓋を開けてつまみ4を起こすと、つまみ4が携帯電話機1の重心の位置に来る。この状態で、平らな机等に携帯電話機1をつまみ4が下になるように置くと、つまみ4を中心にして携帯電話機1をZ軸の周りに回転させることができる。以下で携帯電話機1を回転させるときは、上述のように回転させることとする。  The knob 4 is normally covered with the terminal unit 2 and plated to prevent wear. As shown in FIG. 2 (b), when the mobile phone 1 is held horizontally so that the display side is positioned upward with the terminal unit opened, the cover 4 is opened and the knob 4 is raised. Come to the position of the center of gravity. In this state, when the cellular phone 1 is placed on a flat desk or the like so that the knob 4 faces downward, the cellular phone 1 can be rotated around the Z axis around the knob 4. In the following, when the mobile phone 1 is rotated, it is rotated as described above.

図1において、アンテナ201は図示しない無線基地局との間で電波信号の送受信を行うためのアンテナである。RF(Radio Frequency)部202は、アンテナ201が受信する受信信号を中間周波数の受信信号に変換して変復調部203へ出力するものである。さらにこのRF部202は変復調部203から入力する送信信号を送信周波数の信号に変調し、アンテナ201へ出力して送信を行うものである。  In FIG. 1, an antenna 201 is an antenna for transmitting and receiving radio signals to and from a radio base station (not shown). An RF (Radio Frequency) unit 202 converts a received signal received by the antenna 201 into a received signal having an intermediate frequency and outputs the received signal to the modem unit 203. Further, the RF unit 202 modulates a transmission signal input from the modulation / demodulation unit 203 to a signal having a transmission frequency, and outputs the signal to the antenna 201 for transmission.

変復調部203は、RF部202から入力した受信信号の復調処理と、CDMA(Code Division Mupltile Access:符号分割多元接続)部204から入力した送信信号の変調処理とを行うものである。CDMA部204は、送信信号の符号化処理、および受信信号の復号化処理を行うものである。音声処理部205は、マイクロホン301から入力される音声信号をデジタル信号に変換してCDMA部204へ出力し、また、CDMA部204からデジタル信号化された音声信号を入力してアナログ音声信号に変換し、スピーカ302へ出力して発音させるものである。  The modem unit 203 performs a demodulation process on the received signal input from the RF unit 202 and a modulation process on the transmission signal input from the CDMA (Code Division Multiple Access) unit 204. The CDMA unit 204 performs transmission signal encoding processing and reception signal decoding processing. The audio processing unit 205 converts the audio signal input from the microphone 301 into a digital signal and outputs the digital signal to the CDMA unit 204. The audio processing unit 205 inputs the digital audio signal from the CDMA unit 204 and converts it into an analog audio signal. Then, the sound is output to the speaker 302 and sounded.

アンテナ401は、GPS(Global Positioning System)衛星からの電波信号を受信するためのアンテナである。GPS受信部402は、GPS衛星から受信した電波信号を復調し、復調した電波信号に基づいて携帯端末装置1の緯度・経度(3次元モードの場合はさらに高度等)で表される位置を算出するものである。  The antenna 401 is an antenna for receiving a radio signal from a GPS (Global Positioning System) satellite. The GPS receiving unit 402 demodulates the radio signal received from the GPS satellite, and calculates the position represented by the latitude and longitude of the mobile terminal device 1 (further altitude in the case of the three-dimensional mode) based on the demodulated radio signal. To do.

加速度センサ510は端末ユニット2のXY平面上での加速度を検出するものである。第1の実施形態では、加速度センサ510はX、Y軸方向の重力加速度成分を検出するX、Y軸方向の加速度センサにより構成されており、その出力の直流成分から傾きを、交流成分から振動を検出するものである。  The acceleration sensor 510 detects the acceleration of the terminal unit 2 on the XY plane. In the first embodiment, the acceleration sensor 510 includes X and Y axis direction acceleration sensors that detect gravitational acceleration components in the X and Y axis directions. Is detected.

磁気センサ部520は磁気センサ521−1、521−2、温度センサ522およびセンサ制御部523を備えたものである。磁気センサ521−1、521−2は、それぞれX軸、Y軸方向の磁場を検出し、磁場データとして出力するものである。なお、磁気センサ部520にはX軸、Y軸、Z軸の3軸方向の磁場を検出する磁気センサを用いても良い。温度センサ522は、磁気センサ521−1、521−2の温度補償を行うために周囲温度を検出するものである。センサ制御部523は、磁気センサ521−1、521−2、温度センサ522および加速度センサ510の検出出力に対してデータ処理を行うものである。  The magnetic sensor unit 520 includes magnetic sensors 521-1 and 521-2, a temperature sensor 522, and a sensor control unit 523. The magnetic sensors 521-1 and 521-2 detect magnetic fields in the X-axis and Y-axis directions, respectively, and output them as magnetic field data. The magnetic sensor unit 520 may be a magnetic sensor that detects a magnetic field in the three-axis directions of the X axis, the Y axis, and the Z axis. The temperature sensor 522 detects the ambient temperature in order to perform temperature compensation of the magnetic sensors 521-1 and 521-2. The sensor control unit 523 performs data processing on the detection outputs of the magnetic sensors 521-1 and 521-2, the temperature sensor 522, and the acceleration sensor 510.

主制御部601は、携帯端末装置1の主制御を司るCPU(Central Processing Unit)である。ROM(Read Only Memory)602およびRAM(Random Access Memory)603は主制御部601のメインメモリを構成するメモリである。ROM602は、主制御部601のプログラムを保持する。RAM603は、CPUが動作中に使用するデータ等を記憶する領域をCPUに提供する。  The main control unit 601 is a CPU (Central Processing Unit) that performs main control of the mobile terminal device 1. A ROM (Read Only Memory) 602 and a RAM (Random Access Memory) 603 are memories constituting a main memory of the main control unit 601. The ROM 602 holds a program for the main control unit 601. The RAM 603 provides an area for storing data and the like used during operation by the CPU.

報知手段303は、スピーカ・バイブレータ・発光ダイオード等を備え、着信やメール受信等を音・振動・光等によってユーザに報知するものである。時計部304は、主制御部601が使用する計時機能部である。主操作部305はテンキーおよびファンクションキーを有し、ユーザの指示入力を取り込んで主制御部601に与えるものである。  The notification unit 303 includes a speaker, a vibrator, a light emitting diode, and the like, and notifies the user of an incoming call or mail reception by sound, vibration, light, or the like. The clock unit 304 is a time measuring function unit used by the main control unit 601. The main operation unit 305 has a numeric keypad and function keys, and takes a user's instruction input and gives it to the main control unit 601.

電子映像部306は、被写体の像をデジタル信号に変換して主制御部601へ出力するものである。表示部307は、主制御部から入力する表示用の信号に基づいて画像や文字等を表示する液晶ディスプレイ(LCD)である。タッチパネル308は、表示部307の液晶ディスプレイの表面に組み込まれ、ユーザの接触操作による入力内容を表す信号を主制御部601へ出力するものである。  The electronic video unit 306 converts an object image into a digital signal and outputs the digital signal to the main control unit 601. The display unit 307 is a liquid crystal display (LCD) that displays images, characters, and the like based on display signals input from the main control unit. The touch panel 308 is incorporated in the surface of the liquid crystal display of the display unit 307, and outputs a signal representing the input content by the user's contact operation to the main control unit 601.

次に、上述した第1の実施形態の動作を図3ないし図7を参照して説明する。第1の実施形態で用いるアプリケーションは、その実行中にキャリブレーションを行う必要があるため、ユーザによる操作の一環として携帯電話機1を回転・振動させる工程を取り入れる。図3において、携帯電話機1の電源を投入すると、主制御部601は上位のプログラムが立ち上がり、主制御部601を始めとして携帯電話機1の各部を初期化して立ち上げる処理を実行する(ステップS301)。上位のプログラムが終了すると、主操作部305を介してのユーザの指示命令を待つ(ステップS302)。ここで、ユーザがアプリケーションを実行する命令を送ると、主制御部601は指定されたアプリケーションを開始する(ステップS303:Yes)。電話をかける等、アプリケーション実行以外の命令がユーザにより与えられた場合は、その命令に対応する処理を行う(ステップS310)。ユーザがアプリケーション開始を指示すると、以後、主制御部601はアプリケーションを実行すると共に磁気センサ521−1、521−2のキャリブレーションを行う(ステップS304)。  Next, the operation of the above-described first embodiment will be described with reference to FIGS. Since the application used in the first embodiment needs to be calibrated during its execution, a process of rotating and vibrating the mobile phone 1 is taken in as part of the operation by the user. In FIG. 3, when the power of the mobile phone 1 is turned on, the main control unit 601 starts up a higher-level program and executes a process of initializing and starting up each part of the mobile phone 1 including the main control unit 601 (step S301). . When the upper program is finished, it waits for a user instruction command via the main operation unit 305 (step S302). Here, when the user sends a command to execute the application, the main control unit 601 starts the designated application (step S303: Yes). When a command other than application execution is given by the user, such as making a call, processing corresponding to the command is performed (step S310). When the user instructs to start the application, the main control unit 601 subsequently executes the application and calibrates the magnetic sensors 521-1 and 521-2 (step S304).

次に、アプリケーションの一例としてルーレットゲームを取り上げ、ルーレットゲームの操作とキャリブレーションの方法を図4ないし図7を参照して詳細に説明する。ルーレットゲームは、図4に示すような画像を表示部307に表示して行う。図4において、回転部51は16個のブロックに分割されており、それぞれのブロックには1〜16までの数字が1つずつ描かれている。回転部51はユーザの指示により回転し、回転が止まったところで、数字指示部52が指し示す数字が当たりとなる。ここで、回転するのは回転部51だけであり、数字表示部52は回転せず常に同じ場所を指し示している。広告表示部53は、企業の広告を表示する部分であり、ルーレットゲームで当たりが出たときには広告を表示した企業がユーザに景品を提供する。  Next, a roulette game will be taken as an example of an application, and a roulette game operation and calibration method will be described in detail with reference to FIGS. The roulette game is performed by displaying an image as shown in FIG. In FIG. 4, the rotation part 51 is divided | segmented into 16 blocks, and the numbers from 1 to 16 are drawn one by one in each block. The rotation unit 51 is rotated by an instruction from the user, and when the rotation stops, the number indicated by the number instruction unit 52 is a hit. Here, only the rotating unit 51 rotates, and the numeric display unit 52 always points to the same place without rotating. The advertisement display unit 53 is a part for displaying an advertisement of a company, and when a winning is found in the roulette game, the company that displayed the advertisement provides a premium to the user.

図5において、ユーザがルーレットゲーム開始を指示すると、主制御部601は図4に示すような画像を表示部307に表示する(ステップS501)。回転部51の回転後に数字指示部52が指し示すブロックの番号をユーザが予想し、予想した番号を主操作部305から入力すると、主制御部601は入力された番号をRAM603に記憶する(ステップS502)。続いて、主制御部601は表示部307にメッセージを表示してユーザに携帯電話機1を回転させるよう指示し、磁気センサ521−1、521−2の出力を監視する(ステップS503)。ここで、携帯電話機1の回転動作は磁気センサ521−1,521−2で磁場の変化として検出され、検出された磁場はセンサ制御部523でデジタルの磁場データに変換した上で主制御部601に伝えられる。  In FIG. 5, when the user instructs the start of the roulette game, the main control unit 601 displays an image as shown in FIG. 4 on the display unit 307 (step S501). When the user predicts the block number indicated by the numeral instruction unit 52 after the rotation of the rotation unit 51 and inputs the predicted number from the main operation unit 305, the main control unit 601 stores the input number in the RAM 603 (step S502). ). Subsequently, the main control unit 601 displays a message on the display unit 307 to instruct the user to rotate the mobile phone 1, and monitors the outputs of the magnetic sensors 521-1 and 521-2 (step S503). Here, the rotation operation of the mobile phone 1 is detected as a change in magnetic field by the magnetic sensors 521-1 and 521-2, and the detected magnetic field is converted into digital magnetic field data by the sensor control unit 523 and then the main control unit 601. To be told.

携帯電話機1を回転させる指示が表示部307に表示されると、ユーザは携帯電話機1を回転させる。このとき、前述のように、つまみ4を出した状態で図2のXY平面を水平面と平行に保ち、ディスプレイ側が上になるように平らな机等に携帯電話機1を設置し、つまみ4を中心にしてZ軸の周りに携帯電話機1を回転させる。磁気センサの出力から回転動作を検出すると(ステップS504:Yes)、主制御部601は動画処理を行い、図4の回転部51が円の中心点の周りに回転するという演出を動画にして表示部307に表示する(ステップS505)。次に、主制御部601は磁気センサ521−1,521−2のキャリブレーションが終了しているかどうかを確認し、すでに終了していた場合はステップS507へと進む(ステップS506:Yes)。終了していない場合は、キャリブレーション処理へ進む(ステップS506:No)。  When an instruction to rotate the mobile phone 1 is displayed on the display unit 307, the user rotates the mobile phone 1. At this time, as described above, the mobile phone 1 is placed on a flat desk or the like so that the XY plane of FIG. Then, the mobile phone 1 is rotated around the Z axis. When the rotation operation is detected from the output of the magnetic sensor (step S504: Yes), the main control unit 601 performs the moving image processing, and displays the effect that the rotating unit 51 of FIG. 4 rotates around the center point of the circle as a moving image. The information is displayed on the part 307 (step S505). Next, the main control unit 601 checks whether the calibration of the magnetic sensors 521-1 and 521-2 has been completed, and if it has already been completed, the process proceeds to step S507 (step S506: Yes). If not completed, the process proceeds to the calibration process (step S506: No).

キャリブレーションの処理に入ると、主制御部601は磁気センサ521−1、521−2で検出した磁場データをRAM603に蓄積する(ステップS511)。携帯電話機1が回転している間に、キャリブレーションに必要な角度範囲(100度)以上のデータを蓄積することができれば(ステップS512:Yes)、主制御部601は蓄積したデータに基づいてキャリブレーションの演算を行う(ステップS513)。キャリブレーションに必要な角度範囲(100度)以上のデータが蓄積される前に携帯電話機1の回転が停止した場合は(ステップS512:No)、表示部307にエラーメッセージを表示してユーザに回転角度を大きくするよう指示した上で、ステップS504に戻る(ステップS514)。  In the calibration process, the main control unit 601 accumulates magnetic field data detected by the magnetic sensors 521-1 and 521-2 in the RAM 603 (step S511). If the data over the angular range (100 degrees) required for calibration can be accumulated while the mobile phone 1 is rotating (step S512: Yes), the main control unit 601 performs calibration based on the accumulated data. Calculation is performed (step S513). If the rotation of the mobile phone 1 stops before data exceeding the angle range (100 degrees) necessary for calibration is accumulated (step S512: No), an error message is displayed on the display unit 307 and the user rotates. After instructing to increase the angle, the process returns to step S504 (step S514).

図6は蓄積した磁場データをプロットしたグラフであり、横軸はX軸方向の磁場、縦軸はY軸方向の磁場である。ステップS513における演算処理では、まずプロットしたデータを楕円の方程式で近似し、その楕円の中心点および楕円率を求める。図6上側のグラフにおいて、三角の印が測定データ、丸印が楕円の中心、点線で囲んだ図形が近似した楕円である。次に、近似した楕円が、原点を中心にした真円になるよう測定データ(磁気センサ出力データ)の座標変換を行うと演算処理が完了し、キャリブレーションが終了する。図6下側のグラフにおいて、四角の印が座標変換を行った後の測定データであり、点線の円が真円である。キャリブレーション後の座標系では、測定データの横軸からの角度(図6の角度α)が方位に対応する。  FIG. 6 is a graph plotting accumulated magnetic field data, where the horizontal axis represents the magnetic field in the X-axis direction and the vertical axis represents the magnetic field in the Y-axis direction. In the arithmetic processing in step S513, the plotted data is first approximated by an elliptic equation, and the center point and ellipticity of the ellipse are obtained. In the upper graph of FIG. 6, the triangle mark is the measurement data, the circle mark is the center of the ellipse, and the figure surrounded by the dotted line is the approximate ellipse. Next, when coordinate conversion of the measurement data (magnetic sensor output data) is performed so that the approximated ellipse becomes a perfect circle centered on the origin, the arithmetic processing is completed and the calibration is completed. In the graph on the lower side of FIG. 6, square marks are measurement data after coordinate conversion, and dotted circles are true circles. In the coordinate system after calibration, the angle from the horizontal axis of the measurement data (angle α in FIG. 6) corresponds to the azimuth.

図5に戻って、キャリブレーションが終了すると、主制御部601はルーレットゲームの処理に戻る。次に、回転部51の回転を止めるタイミングを決定するために、主制御部601は携帯電話機1の回転停止を検出する(ステップS507)。図7は、検出方位の変化を表したグラフであり、横軸が時間、縦軸が方位、四角の印が検出した方位データ、t0がステップS504で携帯電話機1が回転して方位が変化し始めた時間である。回転停止の検出も主制御部601が磁気センサ521−1、521−2の検出出力を監視することで行い、検出出力に変化がなくなった時刻を回転停止の時刻t1とする。ただし、回転部51の回転は時刻t1で停止させるのではなく、さらに一定時間は回転速度を徐々に減衰させながら回転を続け、時刻t2で完全に停止させる。時刻t1から時刻t2までの時間tは、携帯電話機1の回転を開始した時点での角速度v0に比例するように決定する(ステップS508)。角速度v0は、回転を開始した時間t0から3点程度の方位データに基づいて求める。この他に、時刻t0に加速度センサ510で検出した加速度に比例して時間tを求める方法を取ることも可能である。  Returning to FIG. 5, when the calibration is completed, the main control unit 601 returns to the process of the roulette game. Next, in order to determine the timing for stopping the rotation of the rotation unit 51, the main control unit 601 detects the rotation stop of the mobile phone 1 (step S507). FIG. 7 is a graph showing a change in the detected azimuth, in which the horizontal axis represents time, the vertical axis represents the azimuth, the azimuth data detected by the square mark, and t0 is rotated in step S504, and the azimuth is changed. It ’s time to start. The main control unit 601 also detects the rotation stop by monitoring the detection outputs of the magnetic sensors 521-1 and 521-2, and the time when the detection output does not change is defined as the rotation stop time t1. However, the rotation of the rotating unit 51 is not stopped at time t1, but is further continued for a certain time while gradually decreasing the rotation speed, and is completely stopped at time t2. The time t from the time t1 to the time t2 is determined so as to be proportional to the angular velocity v0 at the time when the rotation of the mobile phone 1 is started (step S508). The angular velocity v0 is obtained based on azimuth data of about three points from the time t0 when rotation is started. In addition, it is possible to obtain a time t in proportion to the acceleration detected by the acceleration sensor 510 at time t0.

時刻t1、t2が求まると、主制御部601は動画処理を行い、回転部51が上述のように回転速度を徐々に落としながら回転を止めるという演出を動画にして表示部307に表示する。この後、当たり判定や得点計算などルーレットゲームの進行を行い(ステップS509)、1回のルーレットゲームが終了する。続けてルーレットゲームを行う場合はステップS502に戻り、以後ステップS502〜ステップS510を繰り返し実行する(ステップS510:No)。  When the times t1 and t2 are obtained, the main control unit 601 performs moving image processing, and displays on the display unit 307 an effect that the rotation unit 51 stops rotation while gradually decreasing the rotation speed as described above. Thereafter, the roulette game progresses such as hit determination and score calculation (step S509), and one roulette game is completed. When continuing the roulette game, the process returns to step S502, and thereafter, steps S502 to S510 are repeatedly executed (step S510: No).

次に、図8および図9を参照して本発明の第2の実施形態を説明する。第2の実施形態においても、図1に示した携帯電話機1の構成は同じである。第2の実施形態では、アプリケーションゲームとしてスロットゲームを導入する。第2の実施形態では、図8に示すように、携帯電話機1を携帯電話機1の外部を回転中心として回転させる動作を、スロットゲームでレバーを引く動作に対応させる。図9はスロットゲームで表示される画面を表した図である。図9において、回転部90は数字の描かれた3つのブロックに分かれており、レバー91を引くと3つのブロック内で表示が回転する。表示の回転が停止したときに、各ブロックの中心に表示された数字が全て一致すると当たりとなる。   Next, a second embodiment of the present invention will be described with reference to FIGS. Also in the second embodiment, the configuration of the mobile phone 1 shown in FIG. 1 is the same. In the second embodiment, a slot game is introduced as an application game. In the second embodiment, as shown in FIG. 8, the operation of rotating the mobile phone 1 around the outside of the mobile phone 1 corresponds to the operation of pulling the lever in the slot game. FIG. 9 shows a screen displayed in the slot game. In FIG. 9, the rotation unit 90 is divided into three blocks on which numbers are drawn. When the lever 91 is pulled, the display rotates within the three blocks. When the rotation of the display stops, it is a win if all the numbers displayed at the center of each block match.

図10はスロットゲームにおけるアプリケーションのサブルーチン(図3のステップS304)を示したフローチャートである。図9において、ユーザがスロットゲーム開始を指示すると、主制御部601は図9に示すような画像を表示部307に表示する(ステップS901)。続いて、主制御部601は表示部307にメッセージを表示してユーザに携帯電話機1を図8のように回転させるよう指示し、磁気センサ521−1、521−2の出力を監視する(ステップS902)。   FIG. 10 is a flowchart showing an application subroutine (step S304 in FIG. 3) in the slot game. In FIG. 9, when the user instructs the start of the slot game, the main control unit 601 displays an image as shown in FIG. 9 on the display unit 307 (step S901). Subsequently, the main control unit 601 displays a message on the display unit 307 to instruct the user to rotate the mobile phone 1 as shown in FIG. 8, and monitors the outputs of the magnetic sensors 521-1 and 521-2 (step). S902).

携帯電話機1を回転させる指示が表示部307に表示されると、ユーザは携帯電話機1を回転させる。ここでは、実施形態1で実施したようにつまみ4を用いて回転させるのではなく、図8に示すように、ユーザが携帯電話機1を携帯電話機1の外部を回転中心として回転させる。例えば、ユーザが携帯電話機1を手に持った状態で振るという動作を行うことで実現可能である。磁気センサ521−1、521−2の出力から回転動作を検出すると(ステップS903:Yes)、主制御部601は動画処理を行い、図9のレバーを引くという演出および回転部90内の表示が回転するという演出を動画にして表示部307に表示する(ステップS904)。   When an instruction to rotate the mobile phone 1 is displayed on the display unit 307, the user rotates the mobile phone 1. Here, instead of rotating using the knob 4 as in the first embodiment, the user rotates the mobile phone 1 around the outside of the mobile phone 1 as shown in FIG. For example, this can be realized by performing an operation in which the user shakes the mobile phone 1 while holding it. When the rotation operation is detected from the output of the magnetic sensors 521-1 and 521-2 (step S903: Yes), the main control unit 601 performs the moving image processing, and the effect of pulling the lever of FIG. 9 and the display in the rotation unit 90 are displayed. The effect of rotation is displayed as a moving image on the display unit 307 (step S904).

次に、主制御部601は磁気センサ521−1、521−2のキャリブレーションが終了しているかどうかを確認し、すでに終了していた場合はステップS906に進む(ステップS905:No)。終了していない場合は、キャリブレーション処理へ進む(ステップS905:No)。ステップS909〜ステップS912のキャリブレーション処理は実施形態1と同様の方法で実施する。   Next, the main control unit 601 checks whether the calibration of the magnetic sensors 521-1 and 521-2 has been completed, and if it has already been completed, the process proceeds to step S906 (step S905: No). If not completed, the process proceeds to the calibration process (step S905: No). The calibration processing in steps S909 to S912 is performed by the same method as in the first embodiment.

キャリブレーション処理が終了すると、再びスロットゲームの処理に戻り、主制御部601は回転部90内で表示の回転を停止する位置を判定する(ステップS906)。第1の実施形態と同様に、回転の停止はユーザによる携帯電話機1の回転操作が終了した時刻から一定時間後に設定し、その時間は回転を開始した時点での角速度もしくは加速度に比例するように決定する。   When the calibration process is completed, the process returns to the slot game process again, and the main control unit 601 determines a position in the rotation unit 90 where the display rotation is stopped (step S906). As in the first embodiment, the stop of rotation is set after a certain time from the time when the rotation operation of the mobile phone 1 by the user is finished, and the time is proportional to the angular velocity or acceleration at the time of starting the rotation. decide.

回転停止の位置が求まり、主制御部601は動画処理を行い、回転部90内で表示の回転が停止するという演出を動画にして表示部307に表示する。この後、当たり判定や得点計算などスロットゲームの進行を行い(ステップS907)、1回のスロットゲームが終了する。続けてスロットゲームを行う場合はステップS902に戻り、以後ステップS902〜ステップS908を繰り返し実行する(ステップS908:No)。   The position of the rotation stop is obtained, and the main control unit 601 performs the moving image processing, and displays on the display unit 307 an effect that the rotation of the display stops in the rotating unit 90 as a moving image. Thereafter, the slot game proceeds such as hit determination and score calculation (step S907), and one slot game is completed. If the slot game is to be continued, the process returns to step S902, and thereafter, step S902 to step S908 are repeatedly executed (step S908: No).

以上、この発明の実施形態を詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。例えば、アプリケーションとして人生ゲームのようなすごろくを導入し、携帯電話機1の回転動作とサイコロを振る動きとを対応させることや、ダーツゲームに導入して、携帯電話機1の振動動作とダーツを投げる動作とを対応させること等も可能である。また、アプリケーションの画像や動画を表示する画面は図1の表示部307だけでなく、端末ユニットを閉じた状態にしたときに表示される第2の表示部であってもよい。この第2の表示部は、図2の端末ユニット2の主操作部305と反対側の面、もしくは端末ユニット3のディスプレイと反対側の面に取り付ける。  The embodiment of the present invention has been described in detail above, but the specific configuration is not limited to this embodiment, and includes design changes and the like within a scope not departing from the gist of the present invention. For example, introducing a game like a life game as an application and making the rotation movement of the mobile phone 1 correspond to the movement of rolling the dice, or introducing it into a dart game, the vibration movement of the mobile phone 1 and the action of throwing a dart It is also possible to make them correspond to each other. Further, the screen for displaying the application image and the moving image is not limited to the display unit 307 in FIG. 1 but may be a second display unit that is displayed when the terminal unit is closed. This second display unit is attached to the surface opposite to the main operation unit 305 of the terminal unit 2 in FIG. 2 or the surface opposite to the display of the terminal unit 3.

この発明は、方位センサを備え、アプリケーションゲームソフトを実行可能な携帯電話機等に用いて好適である。  The present invention is suitable for use in a mobile phone or the like that includes an orientation sensor and can execute application game software.

この発明の一実施形態にかかる携帯電話機1の構成を示すブロック図である。1 is a block diagram showing a configuration of a mobile phone 1 according to an embodiment of the present invention. この発明の一実施形態にかかる携帯電話機1の端末ユニットを開いた状態にしたときの図である。It is a figure when opening the terminal unit of the mobile telephone 1 concerning one Embodiment of this invention. この発明の一実施形態にかかる携帯電話機1の操作手順を表すフローチャートである。It is a flowchart showing the operation procedure of the mobile telephone 1 concerning one Embodiment of this invention. ルーレットゲームで表示される画面である。It is a screen displayed in a roulette game. ルーレットゲームの実行中にキャリブレーションを行う手順を表すフローチャートである。It is a flowchart showing the procedure which performs a calibration during execution of a roulette game. 図1における磁気センサ521−1、521−2のキャリブレーションを表したグラフである。It is the graph showing the calibration of the magnetic sensors 521-1 and 521-2 in FIG. 図1における磁気センサ521−1、521−2で検出した方位の時間変化を表したグラフである。It is the graph showing the time change of the azimuth | direction detected with the magnetic sensors 521-1 and 521-2 in FIG. この発明の第2の実施形態にかかる携帯電話機1の操作を示した図である。It is the figure which showed operation of the mobile telephone 1 concerning 2nd Embodiment of this invention. スロットゲームで表示される画面である。It is a screen displayed in a slot game. スロットゲームの実行中にキャリブレーションを行う手順を表すフローチャートである。It is a flowchart showing the procedure which performs a calibration during execution of a slot game.

符号の説明Explanation of symbols

1…携帯電話機(携帯端末装置) 2、3…端末ユニット 4…つまみ 50…ルーレット回転台 51…回転部 52…数字指示部 53…広告表示部 90…回転部 91…レバー 305…主操作部 307…表示部 510…加速度センサ 521−1、521−2…磁気センサ(方位センサ) 523…センサ制御部 601…主制御部 602…ROM 603…RAM DESCRIPTION OF SYMBOLS 1 ... Mobile telephone (mobile terminal device) 2, 3 ... Terminal unit 4 ... Knob 50 ... Roulette rotary table 51 ... Rotating part 52 ... Number indication part 53 ... Advertisement display part 90 ... Rotating part 91 ... Lever 305 ... Main operation part 307 ... Display unit 510 ... Acceleration sensor 521-1, 521-2 ... Magnetic sensor (azimuth sensor) 523 ... Sensor control unit 601 ... Main control unit 602 ... ROM 603 ... RAM

Claims (5)

アプリケーションゲームソフトを実行可能な携帯端末装置において、
前記アプリケーションゲームソフトを読み込んで実行する制御手段と、
前記アプリケーションゲームソフトによって実行されるゲームの内容を表示する表示手段と、
データを一時記憶する記憶手段と、
磁界の強さを測定する磁気センサと、
前記ゲームが進行している時に前記磁気センサが出力する磁界データを前記記憶手段へ記憶させるデータ格納手段と、
前記記憶手段に記憶されている磁界データを基にして前記磁気センサのキャリブレーションを行うキャリブレーション手段と、
を具備することを特徴とする携帯端末装置。
In a mobile terminal device capable of executing application game software,
Control means for reading and executing the application game software;
Display means for displaying the contents of the game executed by the application game software;
Storage means for temporarily storing data;
A magnetic sensor for measuring the strength of the magnetic field;
Data storage means for storing in the storage means magnetic field data output by the magnetic sensor when the game is in progress;
Calibration means for calibrating the magnetic sensor based on magnetic field data stored in the storage means;
A portable terminal device comprising:
前記アプリケーションゲームソフトは装置本体を回転させる回転操作をゲームの進行に利用することを特徴とする請求項1に記載の携帯端末装置。  The mobile terminal device according to claim 1, wherein the application game software uses a rotation operation for rotating the device main body for the progress of the game. 前記回転操作は、装置本体の重心を回転中心とする操作であることを特徴とする請求項2に記載の携帯端末装置。   The portable terminal device according to claim 2, wherein the rotation operation is an operation with the center of gravity of the apparatus main body as a rotation center. 前記回転操作は、装置本体の外部の位置を回転中心とし、装置本体を振り回す操作であることを特徴とする請求項2に記載の携帯端末装置。   The portable terminal device according to claim 2, wherein the rotation operation is an operation of swinging the apparatus main body around a position outside the apparatus main body as a rotation center. アプリケーションゲームソフトを実行可能な携帯端末装置の制御方法において、
前記携帯端末装置は、
前記アプリケーションゲームソフトを読み込んで実行する制御ステップと、
前記アプリケーションゲームソフトによって実行されるゲームの内容を表示する表示ステップと、
データを一時記憶する記憶ステップと、
磁界の強さを測定する磁気センサと、
前記ゲームが進行している時に前記磁気センサが出力する磁界データを前記記憶ステップで記憶させるデータ格納ステップと、
前記記憶ステップで記憶した磁界データを基にして前記磁気センサのキャリブレーションを行うキャリブレーションステップとを具備し、
前記アプリケーションゲームソフトは、
装置本体を回転させる回転操作をゲームの進行に利用することを特徴とする携帯端末装置の制御方法。
In a control method of a mobile terminal device capable of executing application game software,
The portable terminal device
A control step of reading and executing the application game software;
A display step for displaying the content of the game executed by the application game software;
A storage step for temporarily storing data;
A magnetic sensor for measuring the strength of the magnetic field;
A data storing step of storing magnetic field data output from the magnetic sensor when the game is in progress in the storing step;
A calibration step for calibrating the magnetic sensor based on the magnetic field data stored in the storage step,
The application game software is
A method for controlling a portable terminal device, characterized in that a rotation operation for rotating a device main body is used for the progress of a game.
JP2005095868A 2005-03-29 2005-03-29 Portable terminal device and method for controlling portable terminal device Expired - Fee Related JP4609151B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005095868A JP4609151B2 (en) 2005-03-29 2005-03-29 Portable terminal device and method for controlling portable terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005095868A JP4609151B2 (en) 2005-03-29 2005-03-29 Portable terminal device and method for controlling portable terminal device

Publications (2)

Publication Number Publication Date
JP2006271715A true JP2006271715A (en) 2006-10-12
JP4609151B2 JP4609151B2 (en) 2011-01-12

Family

ID=37207027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005095868A Expired - Fee Related JP4609151B2 (en) 2005-03-29 2005-03-29 Portable terminal device and method for controlling portable terminal device

Country Status (1)

Country Link
JP (1) JP4609151B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012061058A (en) * 2010-09-14 2012-03-29 Sony Computer Entertainment Inc Information processing system
JP2019188164A (en) * 2007-04-30 2019-10-31 シーエフピーエイチ, エル.エル.シー. Game with player actuated control structure

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003199973A (en) * 2002-01-07 2003-07-15 Yamaha Corp Portable information terminal, and control method for game software executed in the same
JP2004012416A (en) * 2002-06-11 2004-01-15 Asahi Kasei Corp Azimuth measuring apparatus, calibration method, and calibration program
JP2004337619A (en) * 2004-06-14 2004-12-02 Yamaha Corp Portable information terminal and control method by game software executed thereby

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003199973A (en) * 2002-01-07 2003-07-15 Yamaha Corp Portable information terminal, and control method for game software executed in the same
JP2004012416A (en) * 2002-06-11 2004-01-15 Asahi Kasei Corp Azimuth measuring apparatus, calibration method, and calibration program
JP2004337619A (en) * 2004-06-14 2004-12-02 Yamaha Corp Portable information terminal and control method by game software executed thereby

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019188164A (en) * 2007-04-30 2019-10-31 シーエフピーエイチ, エル.エル.シー. Game with player actuated control structure
JP2021142331A (en) * 2007-04-30 2021-09-24 シーエフピーエイチ, エル.エル.シー. Game with player actuated control structure
JP7214785B2 (en) 2007-04-30 2023-01-30 シーエフピーエイチ, エル.エル.シー. Games with control structures based on player actions
JP2012061058A (en) * 2010-09-14 2012-03-29 Sony Computer Entertainment Inc Information processing system

Also Published As

Publication number Publication date
JP4609151B2 (en) 2011-01-12

Similar Documents

Publication Publication Date Title
US8266808B2 (en) Portable electronic apparatus and geomagnetism sensor calibration method
US6957088B2 (en) Electronic apparatus
US9055164B2 (en) Mobile terminal device, time control method, and timer control program
JP6148747B2 (en) Emergency rescue request system, quick dial system, emergency rescue request method and quick dial method
JP4545814B2 (en) Portable electronic device and geomagnetic sensor calibration method
JP2001289646A (en) Position information display system
WO2011021285A1 (en) Portable device, method, and program
JP4111211B2 (en) Direction data generation method, direction sensor unit, storage medium, and portable electronic device
JP4161985B2 (en) Portable electronic device with orientation detection function and calibration method thereof
JP4229093B2 (en) Portable electronic device with azimuth detection function, magnetic sensor device, and calibration method thereof
JP2006047038A (en) Correction method for geomagnetic sensor
JP4609151B2 (en) Portable terminal device and method for controlling portable terminal device
JP2005234137A (en) Personal digital assistance
JP2003199973A (en) Portable information terminal, and control method for game software executed in the same
JP2003256129A (en) Portable terminal unit and its control method
JP2006038464A (en) Portable terminal and tilt angle computing method
JP3772895B2 (en) Portable information terminal and control method using game software executed in portable information terminal
JP4669751B2 (en) Direction measuring apparatus with wireless communication function, direction measuring method, and program
JP4407407B2 (en) Geomagnetic sensor correction method and portable information terminal
JP2009229062A (en) Portable electronic apparatus
JP3882601B2 (en) Mobile phone equipment
JP2005345387A (en) Portable terminal apparatus
JP2005345388A (en) Portable terminal apparatus
JP4593440B2 (en) Direction measuring device and direction measuring method
JP4525332B2 (en) Portable information processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100615

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100805

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: 20100914

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: 20100927

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

Free format text: PAYMENT UNTIL: 20131022

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees