[go: up one dir, main page]

JP6391768B2 - Portable device, control method and control program - Google Patents

Portable device, control method and control program Download PDF

Info

Publication number
JP6391768B2
JP6391768B2 JP2017115440A JP2017115440A JP6391768B2 JP 6391768 B2 JP6391768 B2 JP 6391768B2 JP 2017115440 A JP2017115440 A JP 2017115440A JP 2017115440 A JP2017115440 A JP 2017115440A JP 6391768 B2 JP6391768 B2 JP 6391768B2
Authority
JP
Japan
Prior art keywords
value
storage
determination result
atmospheric pressure
state
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.)
Active
Application number
JP2017115440A
Other languages
Japanese (ja)
Other versions
JP2017195623A (en
Inventor
茂輝 田辺
茂輝 田辺
英樹 森田
英樹 森田
功 益池
功 益池
信弥 齋藤
信弥 齋藤
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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP2017115440A priority Critical patent/JP6391768B2/en
Publication of JP2017195623A publication Critical patent/JP2017195623A/en
Application granted granted Critical
Publication of JP6391768B2 publication Critical patent/JP6391768B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Indicating Or Recording The Presence, Absence, Or Direction Of Movement (AREA)
  • Telephone Function (AREA)

Description

本出願は、携帯機器、制御方法及び制御プログラムに関する。   The present application relates to a portable device, a control method, and a control program.

従来、携帯機器には、移動中であるかを判定することができるものが存在する。例えば、特許文献1には、加速度センサなどの検出結果から電車などの乗り物による移動を判定する技術が開示されている。   Conventionally, there is a portable device that can determine whether or not it is moving. For example, Patent Document 1 discloses a technique for determining movement by a vehicle such as a train from a detection result of an acceleration sensor or the like.

特開2009−267770号公報JP 2009-267770 A

従来の移動を判定する技術には改善の余地がある。   There is room for improvement in conventional techniques for determining movement.

1つの態様に係る携帯機器は、自機に作用する気圧の値を取得する気圧センサと、自機に作用する加速度の値を取得する加速度センサと、前記気圧の値と、前記加速度の値とに基づいて移動状態を判定するコントローラと、前記コントローラの処理結果を記憶するストレージとを備える。前記コントローラは、前記加速度の値に基づいて移動状態を判定し、判定した前記加速度の値に基づく移動状態を仮判定結果として前記ストレージに格納した後に、前記気圧の値に基づいて、前記加速度の値に基づく移動状態を判定するまでの間における単位間隔当たりの前記気圧の値の変化量を算出する。前記コントローラは、前記変化量が所定の値である場合、前記加速度の値に基づく移動状態と異なる移動状態を判定結果として前記ストレージに格納し、前記変化量が所定の値でない場合、前記仮判定結果を前記判定結果として前記ストレージに格納する。   A portable device according to one aspect includes an atmospheric pressure sensor that acquires a value of an atmospheric pressure acting on the own device, an acceleration sensor that acquires an acceleration value acting on the own device, the value of the atmospheric pressure, and the value of the acceleration. And a storage for storing the processing result of the controller. The controller determines a moving state based on the acceleration value, stores the moving state based on the determined acceleration value in the storage as a temporary determination result, and then, based on the pressure value, A change amount of the value of the atmospheric pressure per unit interval until the movement state based on the value is determined is calculated. The controller stores a movement state different from a movement state based on the acceleration value as a determination result in the storage when the change amount is a predetermined value, and the temporary determination when the change amount is not a predetermined value. The result is stored in the storage as the determination result.

1つの態様に係る制御方法は、自機に作用する気圧の値を取得する気圧センサと、自機に作用する加速度の値を取得する加速度センサと、ストレージとを備える携帯機器により実行される制御方法である。当該制御方法は、前記加速度の値に基づいて移動状態であるかを判定するステップと、判定した前記加速度の値に基づく移動状態を仮判定結果として前記ストレージに格納した後に、前記気圧の値に基づいて、前記加速度の値に基づく移動状態を判定するまでの間における単位間隔当たりの前記気圧の値の変化量を算出するステップと、前記変化量が所定の値である場合、前記加速度の値に基づく移動状態と異なる移動状態を判定結果として前記ストレージに格納する一方で、前記変化量が所定の値でない場合、前記仮判定結果を前記判定結果として前記ストレージに格納するステップとを含む。   A control method according to one aspect is a control executed by a portable device including an atmospheric pressure sensor that acquires a value of an atmospheric pressure acting on the own device, an acceleration sensor that obtains an acceleration value acting on the own device, and a storage. Is the method. The control method includes a step of determining whether or not the vehicle is in a moving state based on the acceleration value, and storing the movement state based on the determined acceleration value in the storage as a temporary determination result, and A step of calculating a change amount of the atmospheric pressure value per unit interval until the movement state based on the acceleration value is determined, and when the change amount is a predetermined value, the acceleration value And storing a movement state different from the movement state based on the storage result as a determination result in the storage, while storing the temporary determination result in the storage as the determination result when the change amount is not a predetermined value.

1つの態様に係る制御プログラムは、自機に作用する気圧の値を取得する気圧センサと、自機に作用する加速度の値を取得する加速度センサと、ストレージとを備える携帯機器に、判定した前記加速度の値に基づく移動状態を仮判定結果として前記ストレージに格納した後に、前記気圧の値に基づいて、前記加速度の値に基づく移動状態を判定するまでの間における単位間隔当たりの前記気圧の値の変化量を算出するステップと、前記変化量が所定の値である場合、前記加速度の値に基づく移動状態と異なる移動状態を判定結果として前記ストレージに格納する一方で、前記変化量が所定の値でない場合、前記仮判定結果を前記判定結果として前記ストレージに格納するステップとを実行させる。   The control program which concerns on one aspect | mode has determined to the portable apparatus provided with the atmospheric | air pressure sensor which acquires the value of the atmospheric | air pressure which acts on an own machine, the acceleration sensor which acquires the value of the acceleration which acts on an own machine, and storage The value of the atmospheric pressure per unit interval after the movement state based on the acceleration value is stored in the storage as a temporary determination result and the movement state based on the acceleration value is determined based on the atmospheric pressure value And when the change amount is a predetermined value, a movement state different from the movement state based on the acceleration value is stored in the storage as a determination result, while the change amount is a predetermined value. If it is not a value, the step of storing the temporary determination result in the storage as the determination result is executed.

図1は、1つの実施形態に係るスマートフォンの機能構成を示すブロック図である。FIG. 1 is a block diagram illustrating a functional configuration of a smartphone according to one embodiment. 図2は、1つの実施形態に係るスマートフォンの処理の流れを示すフローチャートである。FIG. 2 is a flowchart illustrating a process flow of the smartphone according to one embodiment. 図3は、他の実施形態に係るスマートフォンの処理の流れを示すフローチャートである。FIG. 3 is a flowchart showing a process flow of the smartphone according to another embodiment.

本出願に係る携帯機器、制御方法及び制御プログラムを実施するための複数の実施形態を、図面を参照しつつ詳細に説明する。   A plurality of embodiments for carrying out a portable device, a control method, and a control program according to the present application will be described in detail with reference to the drawings.

以下では、携帯電子機器の一例として、スマートフォンについて説明するが、携帯電子機器はスマートフォンに限定されない。携帯電子機器は、ユーザが携行可能であって、移動手段の判別を実行する電子機器であれば、スマートフォン以外の機器であってもよく、例えば、モバイルフォン、タブレット、携帯型パソコン、デジタルカメラ、メディアプレイヤ、電子書籍リーダ、ナビゲータ、歩数計、活動量計、ウエアラブルデバイス、ヘッドマウントディスプレイ、補聴器、イヤホン、又はゲーム機等の機器であってよい。ウエアラブルデバイスは、時計型、メガネ型、靴型、髪留め型、鍵型、ネックレス型、首輪型、指輪型、腕輪型などが含む。   Below, although a smart phone is explained as an example of a portable electronic device, a portable electronic device is not limited to a smart phone. The portable electronic device may be a device other than a smartphone as long as it is an electronic device that can be carried by the user and performs determination of the moving means, for example, a mobile phone, a tablet, a portable computer, a digital camera, It may be a device such as a media player, an electronic book reader, a navigator, a pedometer, an activity meter, a wearable device, a head mounted display, a hearing aid, an earphone, or a game machine. The wearable device includes a watch type, a glasses type, a shoe type, a hair clip type, a key type, a necklace type, a collar type, a ring type, a bracelet type, and the like.

図1は、スマートフォン1の機能構成を示すブロック図である。以下の説明において、同様の構成要素について同一の符号を付すことがある。さらに、重複する説明は省略することがある。以下の説明において、スマートフォン1を「自機」と表記する場合がある。   FIG. 1 is a block diagram illustrating a functional configuration of the smartphone 1. In the following description, the same code | symbol may be attached | subjected about the same component. Furthermore, duplicate descriptions may be omitted. In the following description, the smartphone 1 may be referred to as “own device”.

図1に示すように、スマートフォン1は、タッチスクリーンディスプレイ2と、ボタン3と、照度センサ4と、近接センサ5と、通信ユニット6と、レシーバ7と、マイク8と、ストレージ9と、コントローラ10と、スピーカ11と、カメラ12と、カメラ13と、コネクタ14と、加速度センサ15と、方位センサ16と、ジャイロスコープ17と、磁気センサ18と、気圧センサ19とを含む。   As shown in FIG. 1, the smartphone 1 includes a touch screen display 2, a button 3, an illuminance sensor 4, a proximity sensor 5, a communication unit 6, a receiver 7, a microphone 8, a storage 9, and a controller 10. A speaker 11, a camera 12, a camera 13, a connector 14, an acceleration sensor 15, an orientation sensor 16, a gyroscope 17, a magnetic sensor 18, and an atmospheric pressure sensor 19.

タッチスクリーンディスプレイ2は、ディスプレイ2Aと、タッチスクリーン2Bとを有する。ディスプレイ2A及びタッチスクリーン2Bは、例えば、重なって位置してよいし、並んで位置してよいし、離れて位置してよい。ディスプレイ2Aとタッチスクリーン2Bとが重なって位置する場合、例えば、ディスプレイ2Aの1ないし複数の辺は、タッチスクリーン2Bのいずれの辺とも沿っていなくてもよい。タッチスクリーンディスプレイ2は、表示部の一例である。   The touch screen display 2 includes a display 2A and a touch screen 2B. The display 2A and the touch screen 2B may be positioned, for example, may be positioned side by side, or may be positioned apart from each other. When the display 2A and the touch screen 2B are positioned so as to overlap each other, for example, one or more sides of the display 2A may not be along any of the sides of the touch screen 2B. The touch screen display 2 is an example of a display unit.

ディスプレイ2Aは、液晶ディスプレイ(LCD:Liquid Crystal Display)、有機ELディスプレイ(OELD:Organic Electro−Luminescence Display)、又は無機ELディスプレイ(IELD:Inorganic Electro−Luminescence Display)等の表示デバイスを含む。ディスプレイ2Aは、文字、画像、記号、及び図形等のオブジェクトを画面内に表示する。ディスプレイ2Aが表示するオブジェクトを含む画面は、ロック画面と呼ばれる画面、ホーム画面と呼ばれる画面、アプリケーションの実行中に表示されるアプリケーション画面を含む。ホーム画面は、デスクトップ、待受画面、アイドル画面、標準画面、アプリ一覧画面又はランチャー画面と呼ばれることもある。   The display 2A is a liquid crystal display (LCD: Liquid Crystal Display), an organic EL display (OELD: Organic Electro-Luminescence Display), or an inorganic EL display (IELD: Inorganic Electro-Luminescence Display). The display 2A displays objects such as characters, images, symbols, and graphics on the screen. The screen including the object displayed on the display 2A includes a screen called a lock screen, a screen called a home screen, and an application screen displayed during execution of the application. The home screen may be called a desktop, a standby screen, an idle screen, a standard screen, an application list screen, or a launcher screen.

タッチスクリーン2Bは、タッチスクリーン2Bに対する指、ペン、又はスタイラスペン等の接触又は近接を検出する。タッチスクリーン2Bは、複数の指、ペン、又はスタイラスペン等がタッチスクリーン2Bに接触又は近接したときのタッチスクリーン2B上の位置を検出することができる。以下の説明において、タッチスクリーン2Bが検出する複数の指、ペン、及びスタイラスペン等がタッチスクリーン2Bに接触又は近接した位置を「検出位置」と表記する。タッチスクリーン2Bは、タッチスクリーン2Bに対する指の接触又は近接を、検出位置とともにコントローラ10に通知する。タッチスクリーン2Bは、検出位置の通知をもって接触又は近接の検出をコントローラ10に通知してよい。タッチスクリーン2Bが行える動作を、タッチスクリーン2Bを有するタッチスクリーンディスプレイ2は実行できる。言い換えると、タッチスクリーン2Bが行う動作は、タッチスクリーンディスプレイ2が行ってもよい。   The touch screen 2B detects contact or proximity of a finger, pen, stylus pen, or the like to the touch screen 2B. The touch screen 2B can detect a position on the touch screen 2B when a plurality of fingers, pens, stylus pens, or the like are in contact with or close to the touch screen 2B. In the following description, a position where a plurality of fingers, pens, stylus pens, and the like detected by the touch screen 2B are in contact with or close to the touch screen 2B is referred to as a “detection position”. The touch screen 2B notifies the controller 10 of the contact or proximity of the finger to the touch screen 2B together with the detection position. The touch screen 2B may notify the controller 10 of detection of contact or proximity by notification of the detection position. The touch screen display 2 having the touch screen 2B can execute operations that can be performed by the touch screen 2B. In other words, the operation performed by the touch screen 2B may be performed by the touch screen display 2.

コントローラ10は、タッチスクリーン2Bにより検出された接触又は近接、検出位置、検出位置の変化、接触又は近接が継続した時間、接触又は近接が検出された間隔、及び接触が検出された回数の少なくとも1つに基づいて、ジェスチャの種別を判別する。コントローラ10が行える動作を、コントローラ10を有するスマートフォン1は実行できる。言い換えると、コントローラ10が行う動作は、スマートフォン1が行ってもよい。ジェスチャは、指を用いて、タッチスクリーン2Bに対して行われる操作である。タッチスクリーン2Bに対して行われる操作は、タッチスクリーン2Bを有するタッチスクリーンディスプレイ2に行われてもよい。コントローラ10が、タッチスクリーン2Bを介して判別するジェスチャには、例えば、タッチ、ロングタッチ、リリース、スワイプ、タップ、ダブルタップ、ロングタップ、ドラッグ、フリック、ピンチイン、及びピンチアウトが含まれるが、これらに限定されない。   The controller 10 receives at least one of the contact or proximity detected by the touch screen 2B, the detection position, the change in the detection position, the time that the contact or proximity has continued, the interval at which contact or proximity was detected, and the number of times the contact was detected. The type of gesture is determined based on the one. The smartphone 1 having the controller 10 can execute operations that the controller 10 can perform. In other words, the operation performed by the controller 10 may be performed by the smartphone 1. The gesture is an operation performed on the touch screen 2B using a finger. The operation performed on the touch screen 2B may be performed on the touch screen display 2 having the touch screen 2B. The gestures that the controller 10 determines via the touch screen 2B include, for example, touch, long touch, release, swipe, tap, double tap, long tap, drag, flick, pinch in, and pinch out. It is not limited to.

タッチスクリーン2Bの検出方式は、静電容量方式、抵抗膜方式、表面弾性波方式、赤外線方式、及び荷重検出方式等の任意の方式でよい。   The detection method of the touch screen 2B may be any method such as a capacitance method, a resistive film method, a surface acoustic wave method, an infrared method, and a load detection method.

ボタン3は、利用者からの操作入力を受け付ける。ボタン3の数は、単数であっても、複数であってもよい。   The button 3 receives an operation input from the user. The number of buttons 3 may be singular or plural.

照度センサ4は、照度を検出する。照度は、照度センサ4の測定面の単位面積に入射する光束の値である。照度センサ4は、例えば、ディスプレイ2Aの輝度の調整に用いられる。   The illuminance sensor 4 detects illuminance. The illuminance is the value of the light beam incident on the unit area of the measurement surface of the illuminance sensor 4. The illuminance sensor 4 is used for adjusting the luminance of the display 2A, for example.

近接センサ5は、近隣の物体の存在を非接触で検出する。近接センサ5は、磁界の変化又は超音波の反射波の帰還時間の変化等に基づいて物体の存在を検出する。近接センサ5は、例えば、ディスプレイ2Aと顔とが接近したことを検出する。照度センサ4及び近接センサ5は、1つのセンサとして構成されていてもよい。照度センサ4は、近接センサとして用いられてもよい。   The proximity sensor 5 detects the presence of a nearby object without contact. The proximity sensor 5 detects the presence of an object based on a change in a magnetic field or a change in a feedback time of an ultrasonic reflected wave. The proximity sensor 5 detects, for example, that the display 2A is close to the face. The illuminance sensor 4 and the proximity sensor 5 may be configured as one sensor. The illuminance sensor 4 may be used as a proximity sensor.

通信ユニット6は、無線により通信する。通信ユニット6によってサポートされる無線通信規格には、例えば、2G、3G、4G等のセルラーフォンの通信規格と、近距離無線の通信規格とが含まれる。セルラーフォンの通信規格としては、例えば、LTE(Long Term Evolution)、W−CDMA(Wideband Code Division Multiple Access)、WiMAX(登録商標)(Worldwide Interoperability for Microwave Access)、CDMA2000、PDC(Personal Digital Cellular)、GSM(登録商標)(Global System for Mobile Communications)、PHS(Personal Handy−phone System)等がある。近距離無線の通信規格としては、例えば、IEEE802.11、Bluetooth(登録商標)、IrDA(Infrared Data Association)、NFC(Near Field Communication)、WPAN(Wireless Personal Area Network)等が含まれる。WPANの通信規格には、例えば、ZigBee(登録商標)が含まれる。通信ユニット6は、上述した通信規格の1つ又は複数をサポートしていてもよい。   The communication unit 6 communicates wirelessly. The wireless communication standards supported by the communication unit 6 include cellular phone communication standards such as 2G, 3G, and 4G, and short-range wireless communication standards, for example. Cellular phone communication standards include, for example, LTE (Long Term Evolution), W-CDMA (Wideband Code Division Multiple Access), WiMAX (registered trademark) (Worldwide InterPirality, PD). Examples thereof include GSM (registered trademark) (Global System for Mobile Communications), PHS (Personal Handy-phone System), and the like. Examples of short-range wireless communication standards include IEEE 802.11, Bluetooth (registered trademark), IrDA (Infrared Data Association), NFC (Near Field Communication), and WPAN (Wireless Personal Area Network). The WPAN communication standard includes, for example, ZigBee (registered trademark). The communication unit 6 may support one or more of the communication standards described above.

レシーバ7は、コントローラ10から送信される音信号を音として出力する。レシーバ7は、例えば、スマートフォン1にて再生される動画の音、音楽の音、及び通話時の相手の声を出力することができる。マイク8は、利用者の声等を音信号へ変換してコントローラ10へ送信する。   The receiver 7 outputs the sound signal transmitted from the controller 10 as sound. The receiver 7 can output, for example, the sound of a moving image reproduced on the smartphone 1, the sound of music, and the voice of the other party during a call. The microphone 8 converts a user's voice or the like into a sound signal and transmits the sound signal to the controller 10.

ストレージ9は、プログラム及びデータを記憶できる。ストレージ9は、コントローラ10の処理結果を一時的に記憶する作業領域として利用してよい。ストレージ9は、半導体記憶媒体、及び磁気記憶媒体等の任意の非一過的(non−transitory)な記憶媒体を含んでよい。ストレージ9は、複数の種類の記憶媒体を含んでよい。ストレージ9は、メモリカード、光ディスク、又は光磁気ディスク等の記憶媒体と、記憶媒体の読み取り装置との組み合わせを含んでよい。ストレージ9は、RAM(Random Access Memory)等の一時的な記憶領域として利用される記憶デバイスを含んでよい。   The storage 9 can store programs and data. The storage 9 may be used as a work area for temporarily storing the processing result of the controller 10. The storage 9 may include any non-transitory storage medium such as a semiconductor storage medium and a magnetic storage medium. The storage 9 may include a plurality of types of storage media. The storage 9 may include a combination of a storage medium such as a memory card, an optical disk, or a magneto-optical disk and a storage medium reader. The storage 9 may include a storage device used as a temporary storage area such as a RAM (Random Access Memory).

ストレージ9に記憶されるプログラムには、フォアグランド又はバックグランドで実行されるアプリケーションと、アプリケーションの動作を支援する基本プログラム(図示略)とが含まれる。アプリケーションの画面は、例えば、フォアグランドで実行される場合に、ディスプレイ2Aに表示される。基本プログラムには、例えば、OSが含まれる。アプリケーション及び基本プログラムは、通信ユニット6による無線通信又は非一過的な記憶媒体を介してストレージ9にインストールされてもよい。   The programs stored in the storage 9 include an application executed in the foreground or the background, and a basic program (not shown) that supports the operation of the application. The application screen is displayed on the display 2A when executed in the foreground, for example. The basic program includes an OS, for example. The application and the basic program may be installed in the storage 9 via wireless communication by the communication unit 6 or a non-transitory storage medium.

ストレージ9は、制御プログラム9A、気圧データ9B、加速度データ9C、移動判定データ9D、判定結果データ9E、及び設定データ9Zなどを記憶できる。   The storage 9 can store a control program 9A, atmospheric pressure data 9B, acceleration data 9C, movement determination data 9D, determination result data 9E, setting data 9Z, and the like.

制御プログラム9Aは、スマートフォン1を稼働させるための各種制御に関する機能を提供する。実施形態の1つの例において、制御プログラム9Aは、気圧の値と、加速度の値とに基づいて移動状態を判定する機能を提供できる。移動状態には、移動中と、移動停止中とが含まれる。   The control program 9A provides functions related to various controls for operating the smartphone 1. In one example of the embodiment, the control program 9A can provide a function of determining the movement state based on the atmospheric pressure value and the acceleration value. The moving state includes moving and stopping moving.

実施形態の1つの例において、制御プログラム9Aは、単位間隔当たりに変化した気圧の値が閾値以上である場合、加速度の値に基づく判定により移動中ではないという判定結果を得たとしても、当該判定結果を覆して移動状態を判定する機能を提供できる。   In one example of the embodiment, even when the control program 9A obtains a determination result that it is not moving by the determination based on the acceleration value when the value of the atmospheric pressure changed per unit interval is equal to or greater than the threshold value, It is possible to provide a function of determining the movement state by overturning the determination result.

実施形態の1つの例において、制御プログラム9Aは、単位間隔当たりに変化した気圧の値が閾値以上である場合、加速度の値に基づく移動状態の判定とは独立して移動状態を判定する機能を提供できる。単位間隔は、時間で設定してよい。単位間隔を時間で設定する場合、当該時間には、例えば、10分、5分、2分、1分、30秒、15秒、10秒、5秒、2秒、1秒、500マイクロ秒、200マイクロ秒、100マイクロ秒が含まれるがこれに限られない。単位間隔は、周期的に値を検出するデバイスにおける検出回数で設定してよい。単位間隔を検出回数で設定する場合、例えば、1回、2回、5回、10回などが含まれるがこれに限られない。   In one example of the embodiment, the control program 9A has a function of determining the movement state independently of the determination of the movement state based on the acceleration value when the value of the atmospheric pressure changed per unit interval is equal to or greater than the threshold value. Can be provided. The unit interval may be set by time. When setting the unit interval in time, the time includes, for example, 10 minutes, 5 minutes, 2 minutes, 1 minute, 30 seconds, 15 seconds, 10 seconds, 5 seconds, 2 seconds, 1 second, 500 microseconds, Examples include, but are not limited to, 200 microseconds and 100 microseconds. The unit interval may be set by the number of detections in a device that periodically detects values. In the case where the unit interval is set by the number of detections, for example, one time, two times, five times, ten times, and the like are included, but not limited thereto.

実施形態の1つの例において、制御プログラム9Aは、単位間隔当たりに変化した気圧の値が閾値以上であり、かつ当該単位間隔当たりに変化した気圧の値が閾値以上である状態が所定時間以上継続する場合、移動手段を判定する機能を提供できる。移動手段には、利用者の足、動力付きの乗り物、昇降用の乗り物が含まれる。制御プログラム9Aは、移動手段が利用者の足である場合に、歩行または走行を判定結果として出力してよい。制御プログラム9Aは、移動手段が動力付きの乗り物である場合に、電車又は自動車を判定結果として出力してよい。制御プログラム9Aは、移動手段が昇降用の乗り物である場合に、エレベータまたはエスカレータを判定結果として出力してよい。移動手段には、人力の乗り物が含まれてよい。制御プログラム9Aは、移動手段が人力の乗り物である場合に、自転車を判定結果として出力してよい。   In one example of the embodiment, the control program 9A continues the state where the value of the atmospheric pressure changed per unit interval is equal to or greater than the threshold and the value of the atmospheric pressure changed per unit interval is equal to or greater than the threshold. In this case, a function for determining the moving means can be provided. The moving means includes a user's foot, a powered vehicle, and an elevator vehicle. The control program 9A may output walking or running as the determination result when the moving means is the user's foot. The control program 9A may output a train or a car as a determination result when the moving means is a powered vehicle. The control program 9A may output an elevator or an escalator as a determination result when the moving means is a vehicle for lifting. The moving means may include a human-powered vehicle. The control program 9A may output a bicycle as a determination result when the moving means is a human-powered vehicle.

実施形態の1つの例において、制御プログラム9Aは、気圧の値が変化した累積値が閾値以上となるまでに要した間隔が閾値以下である場合、加速度の値に基づく移動状態の判定とは独立して移動状態を判定する機能を提供できる。気圧の値が変化した累積値は、気圧が変化した値のうち、絶対値を累積してよいし、スカラー量を累積してよい。要した間隔は、時間で設定してよい。要した間隔は、周期的に値を検出するデバイスにおける検出回数で設定してよい。   In one example of the embodiment, the control program 9A is independent of the determination of the moving state based on the acceleration value when the interval required for the accumulated value of the change in the atmospheric pressure to be equal to or greater than the threshold is equal to or less than the threshold. Thus, a function for determining the movement state can be provided. The accumulated value in which the value of the atmospheric pressure has changed may be accumulated as an absolute value or a scalar amount among the values in which the atmospheric pressure has changed. The required interval may be set in time. The required interval may be set by the number of detections in a device that periodically detects values.

制御プログラム9Aは、気圧の値が所定条件を満たす場合に、加速度の値に基づく移動状態を無視して、気圧の値に基づいて移動状態を判定してよい。制御プログラム9Aは、加速度の値に基づく移動状態の判定とは独立して移動状態を判定する際に、加速度の値を参照したうえで気圧の値に基づいて移動状態を判定してよい。   When the atmospheric pressure value satisfies the predetermined condition, the control program 9A may ignore the moving state based on the acceleration value and determine the moving state based on the atmospheric pressure value. When determining the movement state independently of the determination of the movement state based on the acceleration value, the control program 9A may determine the movement state based on the pressure value after referring to the acceleration value.

上述の制御プログラム9Aは、移動に伴って高さが変化する際の気圧の変化に比べて大気圧の自然変化が緩やかであるとの発明者等の知見に基づいて、気圧値の変化が閾値を越えるか否かに基づいて移動状態を判定している。上述の制御プログラム9Aは、気圧値の変化に基づくことで、利用者の高度に依存せずに移動状態を判定できる。   The control program 9A described above is based on the knowledge of the inventors that the natural change in the atmospheric pressure is gentler than the change in the atmospheric pressure when the height changes with movement. The movement state is determined based on whether or not the distance is exceeded. The control program 9A described above can determine the movement state without depending on the altitude of the user based on the change in the atmospheric pressure value.

気圧データ9Bは、気圧センサ19により取得された気圧の値のデータを含む。気圧データ9Bは、気圧センサ19により測定された全ての測定結果を含んでよい。加速度データ9Cは、加速度センサ15により取得された加速度の値を含む。加速度データ9Cは、加速度センサ15により取得された加速度の方向を含む。加速度データ9Cは、加速度センサ15により測定された全ての測定結果を含んでよい。移動判定データ9Dは、例えば、スマートフォン1の利用者の移動状態を判定するのに利用される判定条件の情報を含む。判定条件の情報は、スマートフォン1に作用する加速度の方向及び大きさ、加速度の方向及び大きさの時系列変化で構成される加速度パターン、又はX軸、Y軸およびZ軸の3軸の加速度を合成した合成ベクトル、スマートフォン1に作用する気圧が単位間隔当たりに変化した値の判定に用いる気圧閾値、及びスマートフォン1に作用する気圧が単位間隔当たりに変化した値が気圧閾値以上であった期間の判定に用いる時間閾値を含んでよい。気圧閾値は、例えば、大気圧の値が自然に変化する変化量に相当する。時間閾値は、例えば、エレベータ、若しくはエスカレータの乗降時間に相当する。時間閾値は、例えば、エレベータ、若しくはエスカレータに最も長く乗る時間に基づいて設定してよい。時間閾値は、乗降時間の偏差値に基づいて設定してよい。判定結果データ9Eは、移動状態の判定結果のデータを含む。設定データ9Zは、スマートフォン1の動作に関する各種設定の情報を含む。   The atmospheric pressure data 9 </ b> B includes atmospheric pressure value data acquired by the atmospheric pressure sensor 19. The atmospheric pressure data 9B may include all measurement results measured by the atmospheric pressure sensor 19. The acceleration data 9 </ b> C includes the acceleration value acquired by the acceleration sensor 15. The acceleration data 9 </ b> C includes the direction of acceleration acquired by the acceleration sensor 15. The acceleration data 9C may include all measurement results measured by the acceleration sensor 15. The movement determination data 9D includes, for example, information on determination conditions used to determine the movement state of the user of the smartphone 1. The information on the determination condition includes the direction and magnitude of acceleration acting on the smartphone 1, an acceleration pattern composed of time-series changes in the direction and magnitude of acceleration, or three-axis acceleration of X axis, Y axis, and Z axis. The synthesized vector, the atmospheric pressure threshold used to determine the value at which the atmospheric pressure acting on the smartphone 1 changes per unit interval, and the period when the value at which the atmospheric pressure acting on the smartphone 1 changes per unit interval is greater than or equal to the atmospheric pressure threshold. You may include the time threshold value used for determination. The atmospheric pressure threshold corresponds to, for example, the amount of change in which the atmospheric pressure value naturally changes. The time threshold corresponds to, for example, an elevator / escalator getting-on / off time. The time threshold may be set based on, for example, the longest ride time on an elevator or escalator. The time threshold may be set based on the deviation value of the getting on / off time. The determination result data 9E includes data on the determination result of the movement state. The setting data 9Z includes information on various settings related to the operation of the smartphone 1.

コントローラ10は、演算処理装置を含む。演算処理装置は、例えば、CPU(Central Processing Unit)、SoC(System−on−a−Chip)、MCU(Micro Control Unit)、FPGA(Field−Programmable Gate Array)、およびコプロセッサを含んでもよいが、これらに限定されない。コントローラ10は、スマートフォン1の動作を統括的に制御して各種の機能を実現する。コントローラ10は、制御部の一例である。   The controller 10 includes an arithmetic processing device. The arithmetic processing unit may include, for example, a CPU (Central Processing Unit), an SoC (System-on-a-Chip), an MCU (Micro Control Unit), an FPGA (Field-Programmable Gate Array), and a coprocessor. It is not limited to these. The controller 10 controls various operations of the smartphone 1 to realize various functions. The controller 10 is an example of a control unit.

具体的には、コントローラ10は、ストレージ9に記憶されているデータを必要に応じて参照しつつ、ストレージ9に記憶されているプログラムに含まれる命令を実行する。コントローラ10は、データ及び命令に応じて機能部を制御し、それによって各種機能を実現する。機能部は、例えば、ディスプレイ2A、通信ユニット6、マイク8、及びスピーカ11の少なくとも1つを含むが、これらに限定されない。コントローラ10は、検出部の検出結果に応じて、制御を変更することがある。検出部は、例えば、タッチスクリーン2B、ボタン3、照度センサ4、近接センサ5、マイク8、カメラ12、カメラ13、加速度センサ15、方位センサ16及び気圧センサ17の少なくとも1つを含むが、これらに限定されない。   Specifically, the controller 10 executes instructions included in the program stored in the storage 9 while referring to the data stored in the storage 9 as necessary. The controller 10 controls the functional unit according to data and instructions, thereby realizing various functions. The functional unit includes, for example, at least one of the display 2A, the communication unit 6, the microphone 8, and the speaker 11, but is not limited thereto. The controller 10 may change the control according to the detection result of the detection unit. The detection unit includes, for example, at least one of a touch screen 2B, a button 3, an illuminance sensor 4, a proximity sensor 5, a microphone 8, a camera 12, a camera 13, an acceleration sensor 15, an orientation sensor 16, and an atmospheric pressure sensor 17. It is not limited to.

スピーカ11は、音出力部を含む。スピーカ11は、コントローラ10から送信される音信号を音として出力する。スピーカ11は、例えば、着信音及び音楽を出力してよい。レシーバ7及びスピーカ11の一方が、他方の機能を兼ねてもよい。   The speaker 11 includes a sound output unit. The speaker 11 outputs the sound signal transmitted from the controller 10 as sound. The speaker 11 may output a ring tone and music, for example. One of the receiver 7 and the speaker 11 may also function as the other.

カメラ12及びカメラ13は、撮影した画像を電気信号へ変換できる。カメラ12は、ディスプレイ2Aに面している物体を撮影するインカメラでもよい。カメラ13は、ディスプレイ2Aの反対側の面に面している物体を撮影するアウトカメラでもよい。カメラ12及びカメラ13は、インカメラ及びアウトカメラを切り換えて利用可能なカメラユニットとして、機能的及び物理的に統合された状態でスマートフォン1に実装されてもよい。   The camera 12 and the camera 13 can convert the captured image into an electrical signal. The camera 12 may be an in-camera that captures an object facing the display 2A. The camera 13 may be an out camera that captures an object facing the opposite surface of the display 2A. The camera 12 and the camera 13 may be mounted on the smartphone 1 in a functionally and physically integrated state as a camera unit that can be used by switching between the in-camera and the out-camera.

コネクタ14は、他の装置が接続される端子である。コネクタ14は、USB(Universal Serial Bus)、HDMI(登録商標)(High−Definition Multimedia Interface)、ライトピーク(サンダーボルト(登録商標))、イヤホンマイクコネクタのような汎用的な端子であってもよい。コネクタ14は、Dockコネクタのような専用の端子でもよい。コネクタ14に接続される装置は、例えば、外部ストレージ、スピーカ、及び通信装置を含むが、これらに限定されない。   The connector 14 is a terminal to which another device is connected. The connector 14 may be a general-purpose terminal such as USB (Universal Serial Bus), HDMI (registered trademark) (High-Definition Multimedia Interface), Light Peak (Thunderbolt (registered trademark)), and an earphone microphone connector. . The connector 14 may be a dedicated terminal such as a dock connector. Devices connected to the connector 14 include, but are not limited to, external storage, speakers, and communication devices, for example.

加速度センサ15は、スマートフォン1に作用する加速度の方向及び大きさを測定できる。加速度センサ15は、加速度センサの一例である。方位センサ16は、例えば、地磁気の向きを検出し、地磁気の向きに基づいて、スマートフォン1の向き(方位)を測定できる。ジャイロスコープ17は、スマートフォン1の角度及び角速度を検出する。磁気センサ18は、スマートフォン1の周囲の磁力を検出する。制御プログラム9Aは、加速度センサ15、方位センサ16、およびジャイロスコープ17のいずれの測定結果を、移動状態の判定に利用してよい。制御プログラム9Aは、加速度センサ15、方位センサ16、およびジャイロスコープ17のいずれの測定結果を、移動手段の判定に利用してよい。   The acceleration sensor 15 can measure the direction and magnitude of acceleration acting on the smartphone 1. The acceleration sensor 15 is an example of an acceleration sensor. The direction sensor 16 can detect the direction of geomagnetism and measure the direction (azimuth) of the smartphone 1 based on the direction of geomagnetism, for example. The gyroscope 17 detects the angle and angular velocity of the smartphone 1. The magnetic sensor 18 detects the magnetic force around the smartphone 1. The control program 9A may use any measurement result of the acceleration sensor 15, the azimuth sensor 16, and the gyroscope 17 for the determination of the movement state. The control program 9A may use any measurement result of the acceleration sensor 15, the azimuth sensor 16, and the gyroscope 17 for the determination of the moving means.

気圧センサ17は、スマートフォン1に作用する気圧を測定できる。気圧センサ17は、気圧センサの一例である。気圧センサ17は、測定した気圧の値をコントローラ10に出力する。   The atmospheric pressure sensor 17 can measure the atmospheric pressure acting on the smartphone 1. The atmospheric pressure sensor 17 is an example of an atmospheric pressure sensor. The atmospheric pressure sensor 17 outputs the measured atmospheric pressure value to the controller 10.

スマートフォン1は、上記の各機能部の他、GPS受信機、及びバイブレータを備えてもよい。GPS受信機は、GPS衛星からの所定の周波数帯の電波信号を受信できる。GPS受信機は、受信した電波信号の復調処理を行って、処理後の信号をコントローラ10に送出する。GPS受信機は、スマートフォン1の現在位置の演算処理をサポートする。バイブレータは、スマートフォン1の一部又は全体を振動させる。バイブレータは、振動を発生させるために、例えば、圧電素子、又は偏心モータなどを有する。スマートフォン1は、バッテリなど、スマートフォン1の機能を維持するために当然に用いられる機能部、及びスマートフォン1の制御を実現するために当然に用いられる制御部を実装する。   The smartphone 1 may include a GPS receiver and a vibrator in addition to the above functional units. The GPS receiver can receive a radio signal of a predetermined frequency band from a GPS satellite. The GPS receiver demodulates the received radio signal and sends the processed signal to the controller 10. The GPS receiver supports the calculation processing of the current position of the smartphone 1. The vibrator vibrates a part or the whole of the smartphone 1. The vibrator includes, for example, a piezoelectric element or an eccentric motor in order to generate vibration. The smartphone 1 is equipped with a function unit that is naturally used to maintain the function of the smartphone 1 such as a battery, and a control unit that is naturally used to control the smartphone 1.

図2を参照しつつ、実施形態に係るスマートフォン1により実行される処理の流れを説明する。図2は、1つの実施形態に係るスマートフォンの処理の一例を示すフローチャートである。図2に示す処理は、コントローラ10が、ストレージ9に記憶されている制御プログラム9Aを実行することにより実現される。   The flow of processing executed by the smartphone 1 according to the embodiment will be described with reference to FIG. FIG. 2 is a flowchart illustrating an example of processing of the smartphone according to one embodiment. The processing shown in FIG. 2 is realized by the controller 10 executing the control program 9A stored in the storage 9.

図2に示すように、コントローラ10は、加速度センサ15の測定結果を取得する(ステップS101)。   As shown in FIG. 2, the controller 10 acquires the measurement result of the acceleration sensor 15 (step S101).

続いて、コントローラ10は、気圧センサ19の測定結果を取得する(ステップS102)。このステップS102は、ステップS101と並列に実行してよい。   Subsequently, the controller 10 acquires the measurement result of the atmospheric pressure sensor 19 (step S102). This step S102 may be executed in parallel with step S101.

続いて、コントローラ10は、加速度センサ15の測定結果に基づいて、移動状態を判定する(ステップS103)。このステップS103は、ステップS102と並列に実行してよい。このステップS103は、ステップS102の前に実行してよい。   Subsequently, the controller 10 determines the movement state based on the measurement result of the acceleration sensor 15 (step S103). This step S103 may be executed in parallel with step S102. This step S103 may be executed before step S102.

コントローラ10は、判定の結果、移動中でない場合(ステップS103,No)、移動停止中という判定結果を仮の判定結果として一旦留保する(ステップS104)。   If the controller 10 is not moving as a result of the determination (No at Step S103), the controller 10 temporarily holds the determination result that the movement is stopped as a temporary determination result (Step S104).

続いて、コントローラ10は、移動停止中と判定するまでの間に、スマートフォン1に作用した気圧の値の変化量が閾値以上であったか否かについて、ステップS102で取得した気圧の値に基づいて判定する(ステップS105)。   Subsequently, the controller 10 determines whether or not the amount of change in the value of the atmospheric pressure that has acted on the smartphone 1 is greater than or equal to the threshold before determining that the movement is stopped based on the value of the atmospheric pressure acquired in step S102. (Step S105).

コントローラ10は、判定の結果、スマートフォン1に作用した気圧の値の単位間隔当たりの変化量が閾値以上であった場合(ステップS105,Yes)、ステップS104で留保した移動停止中という仮判定結果を破棄して、移動中であると判定する(ステップS106)。このステップS106は、省略することができる。   As a result of the determination, if the change amount per unit interval of the pressure value acting on the smartphone 1 is equal to or greater than the threshold value (Yes in Step S105), the controller 10 determines the provisional determination result indicating that the movement is stopped in Step S104. Discard it and determine that it is moving (step S106). This step S106 can be omitted.

続いて、コントローラ10は、スマートフォン1に作用した気圧の値の変化量が閾値以上である状態が所定時間以上継続していたかを判定する(ステップS107)。例えば、コントローラ10は、例えば、エスカレータ、若しくはエレベータの乗降時間に基づいて設定される時間の閾値よりも長い時間、気圧変化の閾値よりも大きな気圧変化が生じていたかを判定する。   Subsequently, the controller 10 determines whether or not the state in which the amount of change in the value of the atmospheric pressure applied to the smartphone 1 is equal to or greater than the threshold has continued for a predetermined time or more (step S107). For example, the controller 10 determines whether an atmospheric pressure change larger than the atmospheric pressure change threshold has occurred for a time longer than a threshold of time set based on an escalator or elevator getting-on / off time, for example.

コントローラ10は、判定の結果、スマートフォン1に作用した気圧の値の単位間隔当たりの変化量が閾値以上である状態が所定時間以上継続していた場合(ステップS107,Yes)、移動手段が利用者の足または動力付きの乗り物であると判定し、判定結果を判定結果データ9Eとしてストレージ9に格納する(ステップS108)。   As a result of the determination, if the state in which the change amount per unit interval of the pressure value acting on the smartphone 1 is equal to or greater than the threshold value continues for a predetermined time or longer (Yes in step S107), the controller 10 determines that the moving means is the user. And the determination result is stored in the storage 9 as determination result data 9E (step S108).

一方、コントローラ10は、判定の結果、スマートフォン1に作用した気圧の値の単位間隔当たりの変化量が閾値以上である状態が所定時間以上継続していなかった場合(ステップS107,No)、移動手段が昇降用の乗り物であると判定し、判定結果を判定結果データ9Eとしてストレージ9に格納する(ステップS109)。   On the other hand, as a result of the determination, the controller 10 determines that the change amount per unit interval of the value of the atmospheric pressure acting on the smartphone 1 has not continued for a predetermined time or longer (No in step S107). Is a vehicle for lifting, and the determination result is stored in the storage 9 as determination result data 9E (step S109).

続いて、コントローラ10は、処理を継続するかを判定する(ステップS110)。コントローラ10は、判定の結果、処理を継続する場合(ステップS110,Yes)、ステップS101の処理手順に戻る。これとは反対に、コントローラ10は、判定の結果、処理を継続しない場合(ステップS110,No)、図2に示す処理を終了する。   Subsequently, the controller 10 determines whether to continue the process (step S110). As a result of the determination, the controller 10 returns to the processing procedure of step S101 when continuing the process (step S110, Yes). On the other hand, when the process is not continued as a result of the determination (No at Step S110), the controller 10 ends the process shown in FIG.

上記ステップS105において、コントローラ10は、判定の結果、スマートフォン1に作用した気圧の変化量が閾値以上ではなかった場合(ステップS105,No)、ステップS104で留保した移動中でないという仮判定結果を確定し、判定結果を判定結果データ9Eとしてストレージ9に格納して(ステップS111)、ステップS110の判定に移る。   In step S105, the controller 10 determines the tentative determination result indicating that the movement is reserved in step S104 when the change amount of the atmospheric pressure applied to the smartphone 1 is not equal to or greater than the threshold value as a result of the determination (No in step S105). Then, the determination result is stored in the storage 9 as determination result data 9E (step S111), and the process proceeds to the determination of step S110.

上記ステップS103において、コントローラ10は、判定の結果、移動中である場合(ステップS103,Yes)、ステップS110の判定に移る。   In step S103, if the controller 10 is moving as a result of the determination (step S103, Yes), the controller 10 proceeds to the determination of step S110.

上記図2に示す処理において、コントローラ10は、ステップS103の判定により、移動中である場合、続いて、移動手段の判別を実行してよい。   In the process shown in FIG. 2, if the controller 10 is moving as determined in step S <b> 103, the controller 10 may subsequently determine the moving means.

上記図2に示す処理において、コントローラ10は、ステップS108の判定により、移動手段が動力付きの乗り物であると判定した場合、続いて、地磁気センサ18の測定結果に基づいて、乗り物の種別を判別してよい。ある実施形態において、コントローラ10は、地磁気センサ18の測定結果に基づいて、乗り物の種別が電車か否かを判定してよい。   In the process shown in FIG. 2, when the controller 10 determines that the moving means is a powered vehicle in the determination in step S108, the controller 10 subsequently determines the type of the vehicle based on the measurement result of the geomagnetic sensor 18. You can do it. In an embodiment, the controller 10 may determine whether the type of vehicle is a train based on the measurement result of the geomagnetic sensor 18.

上記図2に示す処理において、コントローラ10は、ステップS109の判定により、移動手段が昇降用の乗り物であると判定した場合、続いて、気圧センサ19の測定結果に基づいて、乗り物の種別を判別してよい。ある実施形態において、コントローラ10は、加速度センサ15の測定結果に基づいて、乗り物の種別が電車か否かを判定してよい。   In the process shown in FIG. 2, if the controller 10 determines that the moving means is a vehicle for raising and lowering based on the determination in step S <b> 109, the controller 10 subsequently determines the type of vehicle based on the measurement result of the atmospheric pressure sensor 19. You can do it. In an embodiment, the controller 10 may determine whether the type of vehicle is a train based on the measurement result of the acceleration sensor 15.

上述した通り、スマートフォン1は、加速度センサ15の測定結果に基づいて、自機の振動を評価することにより移動状態を判定する。図2に示す処理のように、コントローラ10は、加速度センサ15の測定結果に基づき移動状態ではないと判定したとしても、スマートフォン1に作用する気圧を評価することによって、振動が小さい場合であっても移動状態を判定できる。   As described above, the smartphone 1 determines the movement state by evaluating the vibration of the own device based on the measurement result of the acceleration sensor 15. As in the process shown in FIG. 2, even if the controller 10 determines that the mobile device 1 is not in the moving state based on the measurement result of the acceleration sensor 15, the vibration is small by evaluating the atmospheric pressure acting on the smartphone 1. Can also determine the moving state.

スマートフォン1は、例えば、大気圧の変化以上の気圧変化が所定時間以上継続しているかを判定することにより、電車もしくは自動車による移動中であるか、又はエレベータもしくはエスカレータによる移動中であるかを判別できる。一般的に、電車もしくは自動車による移動は、エレベータもしくはエスカレータによる移動よりも長い時間継続する。大気圧変化以上の気圧変化がスマートフォン1に継続して作用する時間を評価することにより、移動種別の判定が可能となる。   The smartphone 1 determines, for example, whether it is moving by a train or a car, or moving by an elevator or an escalator, by determining whether a change in atmospheric pressure over a change in atmospheric pressure continues for a predetermined time or more. it can. In general, movement by train or automobile lasts longer than movement by elevator or escalator. The movement type can be determined by evaluating the time during which an atmospheric pressure change equal to or greater than the atmospheric pressure change continues to act on the smartphone 1.

図2に示す処理の例に関わらず、コントローラ10は、スマートフォン1に作用する気圧の値の変化のみを評価することにより、移動状態および移動手段を判定する処理を実行してよい。   Regardless of the example of the process illustrated in FIG. 2, the controller 10 may execute the process of determining the moving state and the moving unit by evaluating only the change in the value of the atmospheric pressure acting on the smartphone 1.

制御プログラム9Aは、気圧の値の変化が所定の条件を満足する場合、電車又は自動車による移動中であると判定する機能を提供できる。制御プログラム9Aは、所定の条件として、大気圧以上の気圧が所定時間以上継続しているかを判定する機能を提供する。   The control program 9A can provide a function of determining that the vehicle is moving by a train or a car when the change in the atmospheric pressure value satisfies a predetermined condition. The control program 9A provides a function of determining whether the atmospheric pressure equal to or higher than the atmospheric pressure continues for a predetermined time as a predetermined condition.

コントローラ10は、制御プログラム9Aを実行することにより、気圧の値の変化が所定の条件を満足する場合、移動手段が利用者の足または動力付きの乗り物であると判定する処理を実現する。   By executing the control program 9A, the controller 10 realizes a process of determining that the moving means is a user's foot or a powered vehicle when the change in the atmospheric pressure value satisfies a predetermined condition.

図3は、他の実施形態に係るスマートフォンの処理の一例を示すフローチャートである。図2に示す処理は、コントローラ10が、ストレージ9に記憶されている制御プログラム9Aを実行することにより実現される。   FIG. 3 is a flowchart illustrating an example of processing of a smartphone according to another embodiment. The processing shown in FIG. 2 is realized by the controller 10 executing the control program 9A stored in the storage 9.

図3に示すように、コントローラ10は、気圧センサ19の測定結果を取得する(ステップS201)。   As shown in FIG. 3, the controller 10 acquires the measurement result of the atmospheric pressure sensor 19 (step S201).

続いて、コントローラ10は、スマートフォン1に作用した気圧の値の変化量が閾値以上であったかを判定する(ステップS202)。   Subsequently, the controller 10 determines whether or not the amount of change in the value of the atmospheric pressure that has acted on the smartphone 1 is greater than or equal to the threshold (step S202).

コントローラ10は、判定の結果、スマートフォン1に作用した気圧の値の変化量が閾値以上であった場合(ステップS202,Yes)、スマートフォン1に作用した気圧の値の単位間隔当たりの変化量が閾値以上である状態が所定時間以上継続していたかを判定する(ステップS203)。   As a result of the determination, if the change amount of the atmospheric pressure value acting on the smartphone 1 is equal to or greater than the threshold value (Yes in step S202), the controller 10 determines that the change amount per unit interval of the atmospheric pressure value acting on the smartphone 1 is the threshold value. It is determined whether the above state has continued for a predetermined time or more (step S203).

コントローラ10は、判定の結果、スマートフォン1に作用した気圧の値の単位間隔当たりの変化量が閾値以上である状態が所定時間以上継続していた場合(ステップS203,Yes)、移動手段が利用者の足または動力付きの乗り物であると判定し、判定結果を判定結果データ9Eとしてストレージ9に格納する(ステップS204)。   As a result of the determination, if the state in which the change amount per unit interval of the atmospheric pressure value acting on the smartphone 1 is equal to or greater than the threshold value has been continued for a predetermined time or longer (step S203, Yes), the controller 10 determines that the moving means is the user. And the determination result is stored in the storage 9 as determination result data 9E (step S204).

一方、コントローラ10は、判定の結果、スマートフォン1に作用した気圧の値の単位間隔当たりの変化量が閾値以上である状態が所定時間以上継続していなかった場合(ステップS203,No)、移動手段が昇降用の乗り物であると判定し、判定結果を判定結果データ9Eとしてストレージ9に格納する(ステップS205)。   On the other hand, as a result of the determination, the controller 10 determines that the change amount per unit interval of the pressure value applied to the smartphone 1 has not continued for a predetermined time or longer (No in step S203). Is a vehicle for lifting, and the determination result is stored in the storage 9 as determination result data 9E (step S205).

続いて、コントローラ10は、処理を継続するかを判定する(ステップS206)。コントローラ10は、判定の結果、処理を継続する場合(ステップS206,Yes)、ステップS201の処理手順に戻る。これとは反対に、コントローラ10は、判定の結果、処理を継続しない場合(ステップS206,No)、図3に示す処理を終了する。   Subsequently, the controller 10 determines whether to continue the process (step S206). As a result of the determination, the controller 10 returns to the processing procedure of step S201 when the process is continued (step S206, Yes). On the other hand, if the controller 10 does not continue the process as a result of the determination (No in step S206), the controller 10 ends the process shown in FIG.

上記ステップS202において、コントローラ10は、判定の結果、スマートフォン1に作用した気圧の値の単位間隔当たりの変化量が閾値以上ではなかった場合(ステップS202,No)、ステップS206の判定に移る。   In step S202, when the controller 10 determines that the change amount per unit interval of the atmospheric pressure value applied to the smartphone 1 is not equal to or greater than the threshold value (No in step S202), the controller 10 proceeds to the determination in step S206.

スマートフォン1は、大気圧変化以上の気圧変化が所定時間以上継続しているかを判定することにより、移動手段が利用者の足もしくは動力付きの乗り物であるか、又は移動手段が昇降用の乗り物であるかを判別できる。スマートフォン1は、例えば、移動手段が利用者の足もしくは動力付きの乗り物であるか、又は移動手段が昇降用の乗り物であるかを直接的に判別する場合には、気圧センサ19の測定結果のみに基づいて処理が可能である。このような構成のスマートフォン1は、振動が小さい場合であっても移動状態を判定できる。   The smartphone 1 determines whether or not the atmospheric pressure change equal to or greater than the atmospheric pressure change has continued for a predetermined time or more, so that the moving means is a user's foot or a powered vehicle, or the moving means is an elevating vehicle. Can be determined. For example, when the smartphone 1 directly determines whether the moving means is a user's foot or a powered vehicle, or whether the moving means is a lifting vehicle, only the measurement result of the atmospheric pressure sensor 19 is used. Can be processed based on The smartphone 1 having such a configuration can determine the moving state even when the vibration is small.

スマートフォン1は、例えば、乗り物への乗車など、利用者の日常活動に関する記録を行うアプリケーションなどの処理精度を向上する際に利用可能である。   The smartphone 1 can be used to improve the processing accuracy of an application that records a user's daily activities such as riding on a vehicle.

添付の請求項に係る技術を完全かつ明瞭に開示するために特徴的な実施形態に関し記載してきた。しかし、添付の請求項は、上記の実施形態に限定されるべきものでなく、本明細書に示した基礎的事項の範囲内で当該技術分野の当業者が創作しうるすべての変形例及び代替可能な構成により具現化されるべきである。   The characterizing embodiments have been described in order to fully and clearly disclose the technology according to the appended claims. However, the appended claims should not be limited to the above-described embodiments, but all modifications and alternatives that can be created by those skilled in the art within the scope of the basic matters shown in this specification. Should be embodied by a possible configuration.

上述の実施形態では、制御プログラム9Aは、移動状態の判定と、移動手段の判定とが独立しているが、本出願の実施形態は、上述の実施形態に限定されない。ある実施形態において、制御プログラム9Aは、移動状態が移動中であるときの判定結果として、移動手段のいずれであるかを出力してよい。   In the above-described embodiment, the control program 9A is independent of the determination of the movement state and the determination of the movement means, but the embodiment of the present application is not limited to the above-described embodiment. In an embodiment, the control program 9A may output which of the moving means is the determination result when the moving state is moving.

上述の実施形態では、制御プログラム9Aは、スマートフォン1の移動有無に基づいて移動状態と移動手段とを整理している。本出願の実施形態は、上述の実施形態に限定されない。ある実施形態において、制御プログラム9Aは、利用者の移動有無に基づいて移動状態と移動手段とを整理してよい。例えば、エレベータおよびエスカレータを利用した利用者が立ち止まったまま昇降する場合を考慮して、エレベータおよびエスカレータを移動停止中に含めて整理してよい。   In the above-described embodiment, the control program 9A arranges the movement state and the movement means based on whether or not the smartphone 1 has moved. The embodiments of the present application are not limited to the above-described embodiments. In an embodiment, the control program 9A may arrange the movement state and the movement means based on whether or not the user has moved. For example, in consideration of a case where a user who uses an elevator and an escalator moves up and down while stopping, the elevator and the escalator may be arranged while being stopped.

1 スマートフォン
2A ディスプレイ
2B タッチスクリーン
3 ボタン
4 照度センサ
5 近接センサ
6 通信ユニット
7 レシーバ
8 マイク
9 ストレージ
9A 制御プログラム
9B 気圧データ
9C 加速度データ
9D 移動判定データ
9E 判定結果データ
9Z 設定データ
10 コントローラ
11 スピーカ
12 カメラ
13 カメラ
14 コネクタ
15 加速度センサ
16 方位センサ
17 ジャイロスコープ
18 磁気センサ
19 気圧センサ
DESCRIPTION OF SYMBOLS 1 Smart phone 2A Display 2B Touch screen 3 Button 4 Illuminance sensor 5 Proximity sensor 6 Communication unit 7 Receiver 8 Microphone 9 Storage 9A Control program 9B Pressure data 9C Acceleration data 9D Movement judgment data 9E Determination result data 9Z Setting data 10 Controller 11 Speaker 12 Camera 13 Camera 14 Connector 15 Acceleration sensor 16 Direction sensor 17 Gyroscope 18 Magnetic sensor 19 Barometric pressure sensor

Claims (6)

自機に作用する気圧の値を取得する気圧センサと、
自機に作用する加速度の値を取得する加速度センサと、
前記気圧の値と、前記加速度の値とに基づいて移動状態を判定するコントローラと、
前記コントローラの処理結果を記憶するストレージと
を備え、
前記コントローラは、
前記加速度の値に基づいて移動停止中であると判定し、
前記移動停止中であるとの状態を仮判定結果として前記ストレージに格納した後に、前記気圧の値に基づいて、前記移動停止中であると判定するまでの間における単位間隔当たりの前記気圧の値の変化量を算出し、
前記変化量が所定の値である場合、
前記所定の値である状態が所定時間以上継続していると、移動手段を利用者の足または動力付きの乗り物であると判定し、利用者の足または動力付きの乗り物を用いて移動中であるとの状態を判定結果として前記ストレージに格納し、
前記所定の値である状態が所定時間以上継続していないと、移動手段が昇降用の乗り物であると判定し、昇降用の乗り物であるとの状態を判定結果として前記ストレージに格納し、
前記変化量が所定の値でない場合、前記仮判定結果を前記判定結果として前記ストレージに格納する携帯機器。
An atmospheric pressure sensor that acquires the value of the atmospheric pressure acting on the aircraft,
An acceleration sensor that acquires the value of the acceleration acting on the aircraft,
A controller for determining a movement state based on the value of the atmospheric pressure and the value of the acceleration;
A storage for storing the processing result of the controller;
The controller is
It is determined that the movement is stopped based on the acceleration value,
The value of the atmospheric pressure per unit interval until it is determined that the movement is stopped based on the value of the atmospheric pressure after storing the state that the movement is stopped as a temporary determination result in the storage The amount of change in
When the amount of change is a predetermined value,
If the state having the predetermined value continues for a predetermined time or more, the moving means is determined to be a user's foot or a powered vehicle, and the user is moving using the user's foot or a powered vehicle. The state of being present is stored in the storage as a determination result,
If the state that is the predetermined value has not continued for a predetermined time or more, it is determined that the moving means is a vehicle for lifting, and the state that it is a vehicle for lifting is stored in the storage as a determination result,
When the change amount is not a predetermined value, the portable device stores the temporary determination result in the storage as the determination result.
前記コントローラは、
前記変化量が閾値以上である場合、前記加速度の値に基づく移動状態と異なる移動状態を判定結果として前記ストレージに格納し、
前記変化量が閾値以上でない場合、前記仮判定結果を前記判定結果として前記ストレージに格納する請求項1に記載の携帯機器。
The controller is
When the amount of change is equal to or greater than a threshold value, a moving state different from a moving state based on the acceleration value is stored in the storage as a determination result,
The portable device according to claim 1, wherein when the amount of change is not equal to or greater than a threshold, the temporary determination result is stored in the storage as the determination result.
前記コントローラは、
前記変化量が所定の値である場合、
前記所定の値である状態が所定時間以上継続しているか否かに応じて、前記判定結果を異ならせる請求項1に記載の携帯機器。
The controller is
When the amount of change is a predetermined value,
The portable device according to claim 1, wherein the determination result varies depending on whether or not the state having the predetermined value continues for a predetermined time or more.
地磁気センサを備え、
前記コントローラは、
移動手段を利用者の足または動力付きの乗り物であると判定した後、前記地磁気センサの測定結果に基づいて、当該乗り物が電車であるか否かを判定する請求項に記載の携帯機器。
With a geomagnetic sensor,
The controller is
After determining the moving means to be a user of the vehicle with the foot or power, on the basis of the measurement result of the geomagnetic sensor, the portable device according to claim 1 determines whether the vehicle is a train.
自機に作用する気圧の値を取得する気圧センサと、自機に作用する加速度の値を取得する加速度センサと、ストレージとを備える携帯機器により実行される制御方法であって、
前記加速度の値に基づいて移動停止中であると判定するステップと、
前記移動停止中であるとの状態を仮判定結果として前記ストレージに格納した後に、前記気圧の値に基づいて、前記移動停止中であると判定するまでの間における単位間隔当たりの前記気圧の値の変化量を算出するステップと、
前記変化量が所定の値である場合、前記所定の値である状態が所定時間以上継続していると、移動手段を利用者の足または動力付きの乗り物であると判定し、利用者の足または動力付きの乗り物を用いて移動中であるとの状態を判定結果として前記ストレージに格納する一方で、前記変化量が所定の値である場合、前記所定の値である状態が所定時間以上継続していないと、移動手段が昇降用の乗り物であると判定し、昇降用の乗り物であるとの状態を判定結果として前記ストレージに格納するステップと、
記変化量が所定の値でない場合、前記仮判定結果を前記判定結果として前記ストレージに格納するステップと
を含む制御方法。
A control method that is executed by a portable device that includes a pressure sensor that acquires a value of atmospheric pressure that acts on its own machine, an acceleration sensor that acquires a value of acceleration that acts on its own machine, and a storage,
Determining that the movement is stopped based on the acceleration value;
The value of the atmospheric pressure per unit interval until it is determined that the movement is stopped based on the value of the atmospheric pressure after storing the state that the movement is stopped as a temporary determination result in the storage Calculating a change amount of
When the amount of change is a predetermined value, if the state of the predetermined value continues for a predetermined time or more, it is determined that the moving means is a user's foot or a powered vehicle, and the user's foot Alternatively, the state that the vehicle is moving using a powered vehicle is stored in the storage as a determination result. On the other hand, if the amount of change is a predetermined value, the state of the predetermined value continues for a predetermined time or more. If not, the step of determining that the moving means is a vehicle for lifting and lowering, and storing the state of being a vehicle for lifting and lowering in the storage as a determination result;
If the previous SL variation is not a predetermined value, the control method comprising the step of storing the temporary determination result in the storage as the determination result.
自機に作用する気圧の値を取得する気圧センサと、自機に作用する加速度の値を取得する加速度センサと、ストレージとを備える携帯機器に、
前記加速度の値に基づいて移動停止中であると判定するステップと、
前記移動停止中であるとの状態を仮判定結果として前記ストレージに格納した後に、前記気圧の値に基づいて、前記移動停止中であると判定するまでの間における単位間隔当たりの前記気圧の値の変化量を算出するステップと、
前記変化量が所定の値である場合、前記所定の値である状態が所定時間以上継続していると、移動手段を利用者の足または動力付きの乗り物であると判定し、利用者の足または動力付きの乗り物を用いて移動中であるとの状態を判定結果として前記ストレージに格納する一方で、前記変化量が所定の値である場合、前記所定の値である状態が所定時間以上継続していないと、移動手段が昇降用の乗り物であると判定し、昇降用の乗り物であるとの状態を判定結果として前記ストレージに格納するステップと、
記変化量が所定の値でない場合、前記仮判定結果を前記判定結果として前記ストレージに格納するステップと
を実行させる制御プログラム。
In a portable device comprising an atmospheric pressure sensor that obtains a value of atmospheric pressure acting on its own device, an acceleration sensor that obtains an acceleration value acting on its own device, and a storage,
Determining that the movement is stopped based on the acceleration value;
The value of the atmospheric pressure per unit interval until it is determined that the movement is stopped based on the value of the atmospheric pressure after storing the state that the movement is stopped as a temporary determination result in the storage Calculating a change amount of
When the amount of change is a predetermined value, if the state of the predetermined value continues for a predetermined time or more, it is determined that the moving means is a user's foot or a powered vehicle, and the user's foot Alternatively, the state that the vehicle is moving using a powered vehicle is stored in the storage as a determination result. On the other hand, if the amount of change is a predetermined value, the state of the predetermined value continues for a predetermined time or more. If not, the step of determining that the moving means is a vehicle for lifting and lowering, and storing the state of being a vehicle for lifting and lowering in the storage as a determination result;
If the previous SL variation is not a predetermined value, the control program for executing and storing the provisional judgment result to the storage as the determination result.
JP2017115440A 2017-06-12 2017-06-12 Portable device, control method and control program Active JP6391768B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017115440A JP6391768B2 (en) 2017-06-12 2017-06-12 Portable device, control method and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017115440A JP6391768B2 (en) 2017-06-12 2017-06-12 Portable device, control method and control program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015190440A Division JP6185031B2 (en) 2015-09-28 2015-09-28 Portable device, control method and control program

Publications (2)

Publication Number Publication Date
JP2017195623A JP2017195623A (en) 2017-10-26
JP6391768B2 true JP6391768B2 (en) 2018-09-19

Family

ID=60155661

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017115440A Active JP6391768B2 (en) 2017-06-12 2017-06-12 Portable device, control method and control program

Country Status (1)

Country Link
JP (1) JP6391768B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7056617B2 (en) * 2019-03-25 2022-04-19 カシオ計算機株式会社 Portable electronic devices, electronic clocks, judgment methods and location information receiving methods

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007093433A (en) * 2005-09-29 2007-04-12 Hitachi Ltd Detector for motion of pedestrian
JP6151019B2 (en) * 2012-12-28 2017-06-21 ラピスセミコンダクタ株式会社 Semiconductor device, electronic device, and power supply control method
JP5774060B2 (en) * 2013-06-27 2015-09-02 京セラ株式会社 Electronic equipment and system
JP6312990B2 (en) * 2013-06-20 2018-04-18 京セラ株式会社 Portable device, and control program and control method for portable device
JP6153464B2 (en) * 2013-12-24 2017-06-28 京セラ株式会社 Portable electronic device and control program
JP6114175B2 (en) * 2013-12-24 2017-04-12 京セラ株式会社 Portable electronic device, control method, and control program
JP6178718B2 (en) * 2013-12-24 2017-08-09 京セラ株式会社 Portable electronic device, control method, and control program

Also Published As

Publication number Publication date
JP2017195623A (en) 2017-10-26

Similar Documents

Publication Publication Date Title
JP6185031B2 (en) Portable device, control method and control program
JP6154876B2 (en) Electronic device and control method
JP2017207933A (en) Electronic equipment, control method, and control program
JP6199142B2 (en) Portable electronic device, control method, and control program
WO2016031583A1 (en) Portable electronic device, control method, and control program
JP6391768B2 (en) Portable device, control method and control program
JP6215277B2 (en) Portable device, control method and control program
US10536810B2 (en) Electronic apparatus, control method, and non-transitory computer-readable recording medium
JP6760798B2 (en) Portable electronic device
JP6496783B2 (en) Wearable terminal and control program
JP6261546B2 (en) Portable device, control method and control program
JP6779707B2 (en) Electronics, control methods, and control programs
US20170354371A1 (en) Mobile electronic device, control method and non-transitory storage medium
JP6297663B1 (en) Electronic device, correction control method, and correction control program
JP6462056B2 (en) Electronic device, roadside machine, control method, and control program
JP6636606B2 (en) Electronic device, control method, and control program
JP6823092B2 (en) Portable electronic devices, control methods and control programs
JP6483202B2 (en) Electronic device, control method, control program, and roadside machine
JP6190000B1 (en) Wearable terminal and control program
JP2018056769A (en) Electronic apparatus, control method, and control program
JP2017195443A (en) Portable apparatus, control method, and control program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180522

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180720

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180821

R150 Certificate of patent or registration of utility model

Ref document number: 6391768

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150