JP6522204B2 - Location information server, location providing method and computer program - Google Patents

Location information server, location providing method and computer program Download PDF

Info

Publication number
JP6522204B2
JP6522204B2 JP2018099131A JP2018099131A JP6522204B2 JP 6522204 B2 JP6522204 B2 JP 6522204B2 JP 2018099131 A JP2018099131 A JP 2018099131A JP 2018099131 A JP2018099131 A JP 2018099131A JP 6522204 B2 JP6522204 B2 JP 6522204B2
Authority
JP
Japan
Prior art keywords
position information
application
terminal device
information
server
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
JP2018099131A
Other languages
Japanese (ja)
Other versions
JP2018142369A (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.)
KDDI Corp
Original Assignee
KDDI 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 KDDI Corp filed Critical KDDI Corp
Priority to JP2018099131A priority Critical patent/JP6522204B2/en
Publication of JP2018142369A publication Critical patent/JP2018142369A/en
Application granted granted Critical
Publication of JP6522204B2 publication Critical patent/JP6522204B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Navigation (AREA)
  • Information Transfer Between Computers (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Description

本発明は、位置情報サーバ、位置提供方法及びコンピュータプログラムに関する。   The present invention relates to a position information server, a position providing method, and a computer program.

Webサービスとしては、サービスの利用者に関する利用者情報を利用者端末から取得し、利用者情報を利用してサービスを提供するものがある。このサービスのうち、利用者端末が自装置の位置情報をWebサーバに送信し、Webサーバが位置情報に関連した情報を送信するものがある。   Among web services, there is one that acquires user information on a user of a service from a user terminal and provides the service using the user information. Among these services, there is one in which the user terminal transmits the position information of its own device to the Web server, and the Web server transmits information related to the position information.

利用者端末が自装置の位置情報を得る技術としては、下記の特許文献1に記載された端末装置が知られている。この端末装置における1又はそれ以上のアプリケーションは、測位方法選択装置に測位データを要求する。測位方法選択装置は、1又はそれ以上の測位方法を使用する。このとき、測位方法選択装置は、ある測位方法によって提供される測位データの質と、アプリケーションが要求する測位の質とを比較して、1又はそれ以上のアプリケーションに測位データを提供する。   As a technique for a user terminal to obtain position information of its own device, a terminal device described in Patent Document 1 below is known. One or more applications in this terminal device request positioning data from the positioning method selection device. The positioning method selection apparatus uses one or more positioning methods. At this time, the positioning method selection device provides positioning data to one or more applications by comparing the quality of positioning data provided by a certain positioning method with the quality of positioning required by the application.

測位方法選択装置により測位された位置情報は、サーバに集められる。アプリケーションを提供する提供者は、サーバに集められた位置情報を利用して、利用者端末の位置を把握することができる。   The position information determined by the positioning method selection device is collected in the server. The provider providing the application can grasp the position of the user terminal using the position information collected by the server.

特開2011−209298号公報JP, 2011-209298, A

しかしながら、サーバに集められる位置情報が膨大であるため、位置情報の取り扱いが煩雑になる問題があった。特に、アプリケーションの提供者がそれぞれのタイミングで位置情報を求める場合、各利用者端末が測位する位置情報がアプリケーションの数だけ増える場合があった。この場合、サーバに集められる位置情報が、より増大する問題があった。   However, there is a problem that handling of the position information becomes complicated because the position information collected by the server is enormous. In particular, when the provider of the application requests the position information at each timing, the position information that each user terminal measures may be increased by the number of applications. In this case, there is a problem that location information collected on the server is further increased.

本発明は、このような事情を考慮してなされたもので、サーバに集められた位置情報を利用する際の利便性を向上させることができる位置情報サーバ、位置提供方法及びコンピュータプログラムを提供することを課題とする。   The present invention has been made in consideration of such circumstances, and provides a position information server, a position providing method, and a computer program that can improve the convenience when using the position information collected by the server. To be an issue.

(1)本発明の一態様は、位置情報を取得する位置情報取得部を備えた端末装置から、前記位置情報取得部により取得された位置情報を受信する第1受信部と、前記第1受信部が受信した前記位置情報を、前記端末装置にインストールされた複数のアプリケーション毎に、前記位置情報の利用が許諾されているアプリケーションであるか否かを示す情報を対応付けて記憶する記憶部と、前記端末装置にインストールされたアプリケーションに関連付けられているサーバから、前記記憶部が記憶する前記位置情報の中から抽出条件を満たす前記位置情報の抽出要求があった場合、前記位置情報の利用が許諾されているアプリケーションであることを示す情報と対応付けられている位置情報のうち、前記抽出条件を満たす前記位置情報を抽出する抽出部と、を備える位置情報サーバである。
(2)本発明の一態様は、上記(1)の位置情報サーバにおいて、前記記憶部は、アプリケーション毎に、位置情報の利用が許諾された許諾期間を示す情報を記憶し、前記抽出部は、前記端末装置に新たにインストールされたアプリケーションの前記許諾期間が当該インストールよりも前の期間である場合に、当該新たにインストールされたアプリケーションの前記許諾期間に対応する位置情報を、前記記憶部が記憶する前記位置情報の中から抽出する、位置情報サーバである。
(3)本発明の一態様は、上記(1)又は(2)のいずれかの位置情報サーバにおいて、前記端末装置から受信したアプリケーションの起動情報と位置情報の利用を許諾した許諾情報とに基づき、前記端末装置にインストールされているアプリケーションのうち、前記位置情報取得部へ起動要求を行うアプリケーションを決定する、位置情報サーバである。
(4)本発明の一態様は、上記(1)から(3)のいずれかの位置情報サーバにおいて、前記記憶部に記憶されている過去の位置情報に対して、ユーザからの要求に応じて利用の許諾または非許諾を設定する、位置情報サーバである。
(1) One aspect of the present invention is a first receiving unit for receiving position information acquired by the position information acquiring unit from a terminal device provided with a position information acquiring unit for acquiring position information, and the first reception A storage unit that stores, for each of a plurality of applications installed in the terminal device, the position information received by the unit in association with information indicating whether the application is permitted to use the position information; When there is a request from the server associated with the application installed in the terminal device for extraction of the position information satisfying the extraction condition from among the position information stored in the storage unit, use of the position information is The position information satisfying the extraction condition is extracted from the position information associated with the information indicating that the application is permitted. A detection section, a position information server comprising a.
(2) In one aspect of the present invention, in the position information server according to the above (1), the storage unit stores, for each application, information indicating a permission period in which use of the position information is permitted, and the extraction unit The storage unit stores location information corresponding to the permission period of the newly installed application when the permission period of the application newly installed in the terminal device is a period prior to the installation; It is a position information server which extracts out of the position information to be stored.
(3) One aspect of the present invention is based on the start information of the application received from the terminal device and the permission information for permitting the use of the position information in the position information server according to any one of the above (1) or (2) And a position information server that determines an application that is requested to be activated to the position information acquisition unit among the applications installed in the terminal device.
(4) According to one aspect of the present invention, in the position information server according to any one of the above (1) to (3), the past position information stored in the storage unit is requested by the user. It is a location information server that sets permission or non-permission of usage.

(5)本発明の一態様は、位置情報サーバが、位置情報を取得する位置情報取得部を備えた端末装置から、前記位置情報取得部により取得された位置情報を受信する第1受信ステップと、前記位置情報サーバが、前記第1受信ステップが受信した前記位置情報を、前記端末装置にインストールされた複数のアプリケーション毎に、前記位置情報の利用が許諾されているアプリケーションであるか否かを示す情報を対応付けて記憶部に記憶する記憶ステップと、前記位置情報サーバが、前記端末装置にインストールされたアプリケーションに関連付けられているサーバから、前記記憶部が記憶する前記位置情報の中から抽出条件を満たす前記位置情報の抽出要求があった場合、前記位置情報の利用が許諾されているアプリケーションであることを示す情報と対応付けられている位置情報のうち、前記抽出条件を満たす前記位置情報を抽出する抽出ステップと、を含む位置提供方法である。 (5) One aspect of the present invention is a first receiving step in which the position information server receives the position information acquired by the position information acquiring unit from a terminal device provided with a position information acquiring unit that acquires position information. Whether the position information server is an application for which the use of the position information is permitted for each of a plurality of applications installed in the terminal device. A storage step of storing information in the storage unit in association with each other, and extracting from the position information stored in the storage unit from a server associated with an application installed in the terminal device, the position information server It is an application for which the use of the position information is permitted when there is a request for extraction of the position information that satisfies the condition Of the positional information associated with information indicating a position providing method comprising, an extraction step of extracting the extraction satisfying the positional information.

(6)本発明の一態様は、コンピュータに、位置情報を取得する位置情報取得部を備えた端末装置から、前記位置情報取得部により取得された位置情報を受信する第1受信機能と、前記第1受信機能が受信した前記位置情報を、前記端末装置にインストールされた複数のアプリケーション毎に、前記位置情報の利用が許諾されているアプリケーションであるか否かを示す情報を対応付けて記憶する記憶機能と、前記端末装置にインストールされたアプリケーションに関連付けられているサーバから、前記記憶機能が記憶する前記位置情報の中から抽出条件を満たす前記位置情報の抽出要求があった場合、前記位置情報の利用が許諾されているアプリケーションであることを示す情報と対応付けられている位置情報のうち、前記抽出条件を満たす前記位置情報を抽出する抽出機能と、を実現させるためのコンピュータプログラムである。 (6) One aspect of the present invention is a computer comprising a first receiving function of receiving position information acquired by the position information acquiring unit from a terminal device including the position information acquiring unit that acquires position information; The location information received by the first reception function is stored in association with information indicating whether the application for which use of the location information is permitted is the application for each of the plurality of applications installed in the terminal device. When there is a request from the storage function and a server associated with an application installed in the terminal device to extract the position information satisfying the extraction condition from the position information stored in the storage function, the position information Of the location information associated with the information indicating that the application is permitted to be used, the extraction condition is satisfied. A computer program for implementing the, the extraction function of extracting the position information.

本発明によれば、サーバに集められた位置情報を利用する際の利便性を向上させることができる。   According to the present invention, it is possible to improve the convenience when using the position information collected by the server.

本発明の一実施形態における位置提供システムの構成を示すブロック図である。It is a block diagram showing composition of a position offer system in one embodiment of the present invention. 本発明の一実施形態に係る端末装置の構成を示すブロック図である。It is a block diagram which shows the structure of the terminal device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る端末装置の他の構成を示すブロック図である。It is a block diagram which shows the other structure of the terminal device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る端末装置の他の構成を示すブロック図である。It is a block diagram which shows the other structure of the terminal device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る端末装置において行われる処理手順の一例を示すフローチャートである。It is a flowchart which shows an example of the process sequence performed in the terminal device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る端末装置において行われるマスタ決定処理の手順の一例を示すフローチャートである。It is a flowchart which shows an example of the procedure of the master determination process performed in the terminal device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る端末装置において行われる位置情報の取得及び送信処理の手順の一例を示すフローチャートである。It is a flow chart which shows an example of a procedure of acquisition of position information performed in a terminal unit concerning one embodiment of the present invention, and transmission processing. 本発明の一実施形態に係る許諾設定情報を設定するための操作画面の一例を示す図である。It is a figure which shows an example of the operation screen for setting the permission setting information which concerns on one Embodiment of this invention. 本発明の一実施形態に係る位置情報サーバの構成を示すブロック図である。It is a block diagram showing composition of a position information server concerning one embodiment of the present invention. 本発明の一実施形態に係る対応テーブルの一例を示す図である。It is a figure which shows an example of the corresponding | compatible table which concerns on one Embodiment of this invention.

以下、実施形態の位置提供システム1を、図面を参照して説明する。   Hereinafter, a position providing system 1 according to an embodiment will be described with reference to the drawings.

図1は、実施形態に係る位置提供システム1の構成を示すブロック図である。この位置提供システム1は、複数の端末装置10A、10B、・・・、10N(以下、総称する場合には単に「端末装置10」と呼ぶ)、位置情報サーバ30、認証サーバ40、POI(Point Of Interest)サーバ42、契約者情報サーバ44、及びアプリケーションサーバ50A、50B、・・・、50N(以下、総称する場合には単に「アプリケーションサーバ50」と呼ぶ)を有する。   FIG. 1 is a block diagram showing the configuration of a position providing system 1 according to an embodiment. The position providing system 1 includes a plurality of terminal devices 10A, 10B,..., 10N (hereinafter referred to simply as “terminal device 10” when collectively referred to), a position information server 30, an authentication server 40, POI (Point Of Interest) server 42, contractor information server 44, and application servers 50A, 50B,..., 50N (hereinafter collectively referred to simply as “application server 50”).

位置提供システム1は、端末装置10から位置情報サーバ30に、端末装置10の位置情報を送信し、位置情報サーバ30において、受信した位置情報を管理するものである。位置情報サーバ30は、位置情報とともに、各端末装置10を識別する識別情報(端末ID)を受信する。契約者情報サーバ44には、端末IDと対応付けられるユーザの属性情報が記憶されている。なお、端末IDは、端末装置10の所有者であるユーザのユーザIDと対応付けられている。位置情報サーバ30は、契約者情報サーバ44を参照して、端末IDに基づき、端末装置10から受信した位置情報に対応するユーザの属性情報を取得し、位置情報と対応付けて管理する。
また、位置情報サーバ30は、各位置情報に対して、位置情報の利用が許諾されているアプリケーションであるか否かを示す情報を対応付けて記憶する。これにより、位置情報サーバ30は、各位置情報の利用が許諾されているか否かを各アプリケーションについて管理することができる。ユーザは、位置情報の利用の許諾または非許諾、許諾期間等を、各アプリケーションについて設定できる。ユーザにより設定された許諾または非許諾を示す設定値を、以下、許諾設定情報という。許諾設定情報は、例えば、各アプリケーションについて設定される設定値であって、位置情報の利用を許諾するか否かを示す情報である。また、許諾設定情報は、許諾期間を示す設定値等を含んでよい。
The position providing system 1 transmits position information of the terminal device 10 from the terminal device 10 to the position information server 30, and the position information server 30 manages the received position information. The position information server 30 receives, together with the position information, identification information (terminal ID) for identifying each terminal device 10. The contractor information server 44 stores user attribute information associated with the terminal ID. The terminal ID is associated with the user ID of the user who is the owner of the terminal device 10. The position information server 30 refers to the contractor information server 44, acquires attribute information of the user corresponding to the position information received from the terminal device 10 based on the terminal ID, and manages it in association with the position information.
Further, the position information server 30 associates and stores information indicating whether each application of the position information is an application for which the use of the position information is permitted. Thus, the position information server 30 can manage, for each application, whether or not the use of each position information is permitted. The user can set permission or non-permission of usage of location information, a permission period, and the like for each application. The setting value indicating permission or non-permission set by the user is hereinafter referred to as permission setting information. The permission setting information is, for example, a setting value set for each application, and is information indicating whether to permit the use of the position information. Further, the permission setting information may include a setting value or the like indicating a permission period.

また、位置情報サーバ30は、受信した位置情報の中から抽出条件を満たす位置情報を抽出する。実施形態において、位置情報サーバ30は、位置情報の中から、位置情報の利用が許諾されていることを示す情報と対応付けられた位置情報のうち、抽出条件を満たす位置情報を抽出する。位置情報サーバ30は、抽出した位置情報をPOIサーバ42又はアプリケーションサーバ50へ提供する。
端末装置10は、任意の送信タイミング又は所定期間ごとに位置情報を送信する。位置情報には、測位時刻、緯度及び経度が含まれている。本実施形態においては、予め端末装置10内で決定された送信タイミングによって位置情報を送信する例について説明する。しかし、端末装置10の位置情報の送信タイミングは、位置情報サーバ30によって設定されてもよい。
Also, the position information server 30 extracts position information that satisfies the extraction condition from the received position information. In the embodiment, the position information server 30 extracts, from the position information, the position information which satisfies the extraction condition among the position information associated with the information indicating that the use of the position information is permitted. The position information server 30 provides the extracted position information to the POI server 42 or the application server 50.
The terminal device 10 transmits position information at an arbitrary transmission timing or every predetermined period. The position information includes positioning time, latitude and longitude. In the present embodiment, an example will be described in which position information is transmitted at transmission timings determined in advance in the terminal device 10. However, the transmission timing of the position information of the terminal device 10 may be set by the position information server 30.

位置情報サーバ30は、端末装置10から送信された位置情報を受信して蓄積する。この具体例においては、位置情報サーバ30は、端末装置10毎に時系列に位置情報を蓄積する。また、位置情報サーバ30は、位置情報に対応付けて、端末装置10のユーザにより位置情報の利用が許諾されているアプリケーションであるか否かを示す許諾設定情報を蓄積する。ここで、ユーザには、端末装置10の位置情報(例えば、自分の現在位置)を、自分以外の他者に知らせたい場合と、知らせたくない場合とがある。ユーザが位置情報を他者に知らせたい場合の一例としては、他者とある場所において待ち合わせをする場合や、ある場所の情報を取得したい場合などがある。この場合、ユーザは、位置情報の利用を許諾することにより、他者に端末装置10の位置情報を提供することができる。また、ユーザが位置情報を他者に知らせたくない場合には、ユーザは、位置情報の利用を非許諾することにより、位置情報の提供を停止することができる。
また、ユーザは、現在以降の位置情報について、位置情報の利用の許諾または非許諾を設定することができる。また、ユーザは、過去の位置情報について、位置情報の利用の許諾または非許諾を、時間を遡って設定することができる。つまり、ここでいう位置情報の利用の許諾または非許諾の設定には、新しい位置情報についての使用の諾否という意味と、既に登録されている位置情報の使用の諾否という意味が含まれる。
The position information server 30 receives and stores the position information transmitted from the terminal device 10. In this specific example, the position information server 30 accumulates position information in time series for each terminal device 10. Further, the position information server 30 stores, in association with the position information, permission setting information indicating whether the application of the user of the terminal device 10 is permitted to use the position information. Here, the user may or may not want to inform the other person of the position information of the terminal device 10 (for example, his / her current position). As an example of the case where the user wants to inform another person of position information, there is a case of meeting with another person at a certain place, or a case of wanting to acquire information of a certain place. In this case, the user can provide the other person with the position information of the terminal device 10 by permitting the use of the position information. In addition, when the user does not want to notify the other person of the position information, the user can stop the provision of the position information by disallowing the use of the position information.
In addition, the user can set permission or non-permission of use of the position information for the position information after the present. In addition, the user can retroactively set the permission or non-permission of use of the position information for the past position information. That is, the setting of permission or non-permission of use of the location information mentioned here includes the meaning of acceptance or rejection of use of the new position information and the meaning of acceptance or non-use of the position information already registered.

なお、ここでいうアプリケーションとは、端末装置10にインストールされた場合に、所定の機能を提供するソフトウェアである。このアプリケーションには、端末装置10にインストールされているアプリケーションと、端末装置10にインストールされていないアプリケーションとがある。上述した許諾設定情報は、端末装置10にインストールされているアプリケーションだけでなく、端末装置10にインストールされていないアプリケーションに対して設定されてもよい。
また、アプリケーションには、認証サーバ40によって認証されたアプリケーションと、認証サーバ40による認証をされていないアプリケーションとがある。ここで認証サーバ40によって認証されたアプリケーションとは、認証サーバ40により端末装置10において利用することが許可されたアプリケーションである。また、認証サーバ40による認証をされていないアプリケーションとは、認証サーバ40により端末装置10において利用することが許可されていないアプリケーションである。上述した許諾設定情報は、認証サーバ40により端末装置10において利用することが許可されたアプリケーションだけでなく、認証サーバ40により端末装置10において利用することが許可されていないアプリケーションに対して設定されてもよい。
In addition, an application here is software which provides a predetermined | prescribed function, when it installs in the terminal device 10. FIG. The applications include an application installed in the terminal device 10 and an application not installed in the terminal device 10. The permission setting information described above may be set not only for the application installed in the terminal device 10 but also for an application not installed in the terminal device 10.
The applications include applications authenticated by the authentication server 40 and applications not authenticated by the authentication server 40. Here, the application authenticated by the authentication server 40 is an application permitted to be used in the terminal device 10 by the authentication server 40. Further, an application that has not been authenticated by the authentication server 40 is an application that is not permitted to be used by the authentication server 40 in the terminal device 10. The permission setting information described above is set not only for the application permitted to be used in the terminal device 10 by the authentication server 40 but also for the application not permitted to be used in the terminal device 10 by the authentication server 40 It is also good.

許諾設定情報は、さまざまな方法で設定可能である。例えば、端末装置10において、アプリケーションごとに設定されていてもよい。また、端末装置10が位置情報サーバ30にアクセスして、位置情報サーバ30で管理している全てのアプリケーションに対してそれぞれ設定してもよい。これにより、ユーザは、端末装置10上でアプリケーションごとに許諾設定情報を設定できるだけでなく、位置情報サーバ30にアクセスして、許諾設定情報を設定することができる。例えば、現在使用しているアプリケーションの一覧を端末装置10に表示させて、ユーザは、一覧を見ながら、アプリケーションごと、会社ごと、またはアプリケーションの種別ごとに、許諾設定情報を設定できる。さらに、端末装置10において新しいアプリケーションがインストールされた場合、その旨が位置情報サーバ30へ自動的にアップロードされてもよく、位置情報サーバ30からのプッシュ指示でアップロードされてもよい。位置情報サーバ30は、端末装置10に対して、新しくインストールされたアプリケーションについて、位置情報の利用を許諾するか否かを設定するよう求めてもよい。   The permission setting information can be set in various ways. For example, in the terminal device 10, it may be set for each application. Alternatively, the terminal device 10 may access the position information server 30 and set each of all the applications managed by the position information server 30. Thus, the user can not only set the permission setting information for each application on the terminal device 10, but can also access the position information server 30 to set the permission setting information. For example, a list of currently used applications can be displayed on the terminal device 10, and the user can set permission setting information for each application, company, or type of application while viewing the list. Furthermore, when a new application is installed in the terminal device 10, that effect may be automatically uploaded to the position information server 30, or may be uploaded by a push instruction from the position information server 30. The position information server 30 may request the terminal device 10 to set whether to permit the use of the position information for the newly installed application.

また、許諾設定情報は、設定された時から将来において、位置情報の利用の許諾または非許諾を設定する情報に限られない。許諾設定情報は、設定される時点よりも過去に遡って設定されてもよい。例えば、許諾設定情報として、位置情報の利用を許諾する期間を示す許諾期間が設定されてもよい。   Further, the permission setting information is not limited to information for setting permission or non-permission of use of location information in the future from the time of setting. The permission setting information may be set retroactively to the past than the setting time. For example, as the permission setting information, a permission period indicating a period for permitting use of the position information may be set.

許諾設定情報は、さまざまな方法で管理可能である。例えば、端末装置10または位置情報サーバ30において、アプリケーションごと、またはユーザIDごとに、許諾または非許諾が決められた許諾設定情報を保持する。また、端末装置10および位置情報サーバ30の両方において許諾設定情報を保持してもよい。   License setting information can be managed in various ways. For example, the terminal device 10 or the position information server 30 holds permission setting information for which permission or non-permission is determined for each application or each user ID. Further, the permission setting information may be held in both the terminal device 10 and the position information server 30.

位置情報サーバ30は、位置情報と許諾設定情報と対応付けた情報とを自身の記憶部に格納しており、ユーザにより許諾設定情報が設定または変更された場合、記憶部に格納されている許諾設定情報の一部を更新してもよい。更新には、設定値がない状態から設定値が登録される処理と、設定値が他の値に変更される処理とを含む。   The position information server 30 stores the position information and the information associated with the permission setting information in its storage unit, and when the permission setting information is set or changed by the user, the permission stored in the storage unit Some of the setting information may be updated. The update includes a process in which the setting value is registered from the state without the setting value, and a process in which the setting value is changed to another value.

位置情報サーバ30は、蓄積した位置情報を、POIサーバ42及びアプリケーションサーバ50に送信する。実施形態において、位置情報サーバ30は、位置情報の利用の許諾の有無に応じて、POIサーバ42及びアプリケーションサーバ50に送信するか、送信しないかを選択する。具体的には、位置情報サーバ30は、蓄積した位置情報のうち、アプリケーションサーバ50が提供するアプリケーションにおいて位置情報の利用が許諾されている位置情報をアプリケーションサーバ50に送信する。逆に、位置情報サーバ30は、蓄積した位置情報のうち、アプリケーションサーバ50が提供するアプリケーションにおいて位置情報の利用が許諾されていない位置情報を、アプリケーションサーバ50に送信しない。
ただし、端末装置10が位置情報を取得した時点では、位置情報の利用が許諾されていなかったアプリケーションであっても、その後許諾期間が遡って変更された結果、その時点の位置情報の利用が許諾されることになった場合、位置情報サーバ30は、その位置情報をアプリケーションサーバ50に送信できる。つまり、位置情報サーバ30は、位置情報の利用が許諾されている許諾期間に対応する位置情報をアプリケーションサーバ50に送信する。位置情報を利用できる許諾期間は、いつでも変更可能である。
The position information server 30 transmits the accumulated position information to the POI server 42 and the application server 50. In the embodiment, the position information server 30 selects whether to transmit or not transmit to the POI server 42 and the application server 50 according to the presence or absence of permission of use of the position information. Specifically, the position information server 30 transmits, to the application server 50, position information for which use of the position information is permitted in the application provided by the application server 50 among the accumulated position information. Conversely, the position information server 30 does not transmit, to the application server 50, position information for which use of the position information is not permitted in the application provided by the application server 50 among the accumulated position information.
However, when the terminal device 10 acquires the position information, even if the application for which the use of the position information is not permitted is permitted, the use of the position information at that time is permitted as a result of the permission period being changed retroactively thereafter. If it is to be performed, the position information server 30 can transmit the position information to the application server 50. That is, the position information server 30 transmits, to the application server 50, the position information corresponding to the permitted period in which the use of the position information is permitted. The permission period for using location information can be changed at any time.

ここで、位置情報サーバ30は、位置情報と許諾設定情報とを自身で対応付けてもよく、端末装置10が対応付けた位置情報と許諾設定情報とを端末装置10から取得してもよい。前者の方式を、以下、サーバ紐づけ方式という。後者の方式を、以下、端末紐づけ方式という。   Here, the position information server 30 may associate the position information with the permission setting information by itself, or may acquire, from the terminal device 10, the position information associated with the terminal device 10 and the permission setting information. The former method is hereinafter referred to as a server connection method. The latter method is hereinafter referred to as a terminal connection method.

サーバ紐づけ方式について説明する。この方式の場合、位置情報サーバ30は、許諾設定情報を保持しておく。ここで、許諾設定情報には、位置情報の利用が許諾されたアプリケーションを示すアプリケーションID又はアプリケーションの名称や種類、位置情報の利用が許諾された許諾期間を示す情報等が含まれている。位置情報サーバ30は、端末装置10から、位置情報を受信する。位置情報サーバ30は、許諾設定情報を参照して、受信した位置情報に含まれる測位時刻に基づき、測位時刻において、位置情報を送信した端末装置10のユーザにおいて位置情報の利用が許諾されているアプリケーションを特定する。なお、位置情報サーバ30は、許諾設定情報を参照して、受信した位置情報に対応付けられた情報に基づき、位置情報を送信した端末装置10のユーザにおいて位置情報の利用が許諾されているアプリケーションを特定してもよい。位置情報に対応付けられた情報には、端末ID、ユーザID、OS情報や、後述するウェブ履歴情報、プログラム実行履歴情報、操作履歴情報、充電履歴情報、姿勢変化情報、環境情報、端末の電池残量などの情報が含まれる。
位置情報サーバ30は、特定したアプリケーションを提供するアプリケーションサーバ50による位置情報の利用が許諾されていることを示す許諾設定情報を、位置情報に対応付けて記憶部に記憶させる。許諾設定情報のうち、位置情報の利用が許諾されていることを表わす許諾設定情報を許諾設定情報(許諾)と、位置情報の利用が許諾されていないことを表わす許諾設定情報を許諾設定情報(非許諾)と、以下記す。
The server connection method will be described. In the case of this method, the position information server 30 holds the permission setting information. Here, the permission setting information includes an application ID indicating the application for which the use of the position information is permitted, the name and type of the application, and information indicating the permission period for which the use of the position information is permitted. The position information server 30 receives position information from the terminal device 10. The position information server 30 refers to the permission setting information, and based on the positioning time included in the received position information, the user of the terminal device 10 that has transmitted the position information at the positioning time is permitted to use the position information Identify the application The position information server 30 refers to the permission setting information, and based on the information associated with the received position information, an application for which the user of the terminal device 10 that has transmitted the position information is permitted to use the position information. May be identified. Terminal ID, user ID, OS information, web history information to be described later, program execution history information, operation history information, charging history information, posture change information, environment information, terminal battery It contains information such as the remaining amount.
The position information server 30 stores, in the storage unit, permission setting information indicating that use of the position information by the application server 50 providing the specified application is permitted, in association with the position information. Among the permission setting information, permission setting information indicating that the use of the position information is permitted is permission setting information (license), and permission setting information indicating that the use of the position information is not permitted is permission setting information (the permission setting information Not permitted), and described below.

端末紐づけ方式について説明する。この方式の場合、端末装置10は、許諾設定情報を記憶部から読み出す。なお、許諾設定情報が位置情報サーバ30に格納されている場合、端末装置10は、位置情報サーバ30の許諾設定情報を参照してもよい。端末装置10は、許諾設定情報を参照して、位置情報サーバ30に送信する位置情報に含まれる測位時刻に基づき、測位時刻において位置情報の利用が許諾されているアプリケーションを特定する。端末装置10は、許諾設定情報を参照して、位置情報サーバ30に送信する位置情報に対応付けられた情報に基づき、位置情報の利用が許諾されているアプリケーションを特定してもよい。
端末装置10は、許諾設定情報(許諾)を、位置情報に対応付けて、位置情報サーバ30に送信する。位置情報サーバ30は、端末装置10から受信した位置情報に、許諾設定情報(許諾)を対応付けて、自身の記憶部に記憶させる。なお、端末装置10は、取得した位置情報を、位置情報の利用が許諾されているアプリケーションを提供するアプリケーションサーバ50へ直接送信してもよい。
The terminal connection method will be described. In the case of this method, the terminal device 10 reads the permission setting information from the storage unit. When the permission setting information is stored in the position information server 30, the terminal device 10 may refer to the permission setting information of the position information server 30. The terminal device 10 refers to the permission setting information, and based on the positioning time included in the position information to be transmitted to the position information server 30, identifies the application for which the use of the position information is permitted at the positioning time. The terminal device 10 may specify the application for which the use of the position information is permitted, based on the information associated with the position information to be transmitted to the position information server 30, with reference to the permission setting information.
The terminal device 10 transmits permission setting information (license) to the position information server 30 in association with the position information. The position information server 30 associates the permission setting information (license) with the position information received from the terminal device 10, and stores the information in its own storage unit. The terminal device 10 may directly transmit the acquired position information to the application server 50 that provides the application for which the use of the position information is permitted.

アプリケーションサーバ50は、複数のアプリケーションのそれぞれに対応したサーバ装置である。端末装置10には、複数のアプリケーションプログラムをインストールすることができる。本実施形態においては、端末装置10にアプリケーションプログラムA〜Cがインストールされている場合を一例にして説明する。この具体例においては、アプリケーションサーバ50Aは、アプリケーションプログラムAに対応したサーバ装置である。また、アプリケーションサーバ50Bは、アプリケーションプログラムBに対応したサーバ装置である。また、アプリケーションサーバ50Cは、アプリケーションプログラムCに対応したサーバ装置である。このアプリケーションサーバ50は、位置情報サーバ30を介して、自身のアプリケーションについて位置情報の利用が許諾された端末装置10から、位置情報を受信する。つまり、アプリケーションサーバ50は、位置情報サーバ30に記憶されている位置情報のうち、自身に対応したアプリケーションについて位置情報の利用を許諾することを示す許諾設定情報(許諾)と対応付けられた位置情報を受信する。   The application server 50 is a server device corresponding to each of a plurality of applications. A plurality of application programs can be installed in the terminal device 10. In the present embodiment, a case where application programs A to C are installed in the terminal device 10 will be described as an example. In this specific example, the application server 50A is a server device corresponding to the application program A. The application server 50B is a server device corresponding to the application program B. The application server 50C is a server device corresponding to the application program C. The application server 50 receives, via the position information server 30, the position information from the terminal device 10 for which the use of the position information of the application is permitted. That is, of the position information stored in the position information server 30, the application server 50 is position information associated with permission setting information (license) indicating that the application corresponding to the application server is permitted to use the position information. Receive

アプリケーションサーバ50は、トラッキングされた端末装置10の位置情報を用いて所定のアプリケーション処理を行う。トラッキングされた位置情報には、任意又は所定の期間ごとに繰り返して更新された端末装置10の最新位置又は過去の位置が含まれる。このアプリケーション処理には、端末装置10の位置の変化を解析して、端末装置10に適した広告情報等のアプリケーション情報を判定する処理などが含まれていてもよい。アプリケーション情報は、アプリケーションサーバ50から端末装置10に送信されてもよく、POIサーバ42から端末装置10に送信されてもよい。これによりアプリケーションサーバ50及びPOIサーバ42は、端末装置10に、端末装置10の位置に適した広告等を表示させることができる。この一例の場合、アプリケーション情報は、端末装置10の位置情報取得部で取得された位置情報に基づく情報に相当する。   The application server 50 performs predetermined application processing using the tracked position information of the terminal device 10. The tracked position information includes the latest position or the past position of the terminal device 10 that is repeatedly updated at any time or every predetermined period. The application process may include a process of analyzing a change in the position of the terminal device 10 and determining application information such as advertisement information suitable for the terminal device 10. The application information may be transmitted from the application server 50 to the terminal device 10, or may be transmitted from the POI server 42 to the terminal device 10. Thus, the application server 50 and the POI server 42 can cause the terminal device 10 to display an advertisement or the like suitable for the position of the terminal device 10. In the case of this example, the application information corresponds to information based on the position information acquired by the position information acquiring unit of the terminal device 10.

認証サーバ40は、端末装置10が位置情報サーバ30と通信を開始する際に、各種の認証処理を行う。この認証サーバ40が行う認証処理には、一例として、端末認証処理、ユーザ認証処理、又はアプリケーション認証処理が含まれている。これら認証処理の具体例について説明すると、端末認証処理において認証サーバ40は、端末装置10から送信された端末IDと予め記憶しておいた端末IDとが合致した場合に認証を成功させる。ここで、端末IDとは、端末装置10を識別するための固有の記号や番号などの情報である。ユーザ認証処理における認証サーバ40は、端末装置10から送信されたユーザIDと予め記憶しておいたユーザIDとが合致した場合に認証を成功させる。ここで、ユーザIDとは、端末装置10を利用するユーザを識別するための固有の記号や番号などの情報である。アプリケーション認証処理における認証サーバ40は、端末装置10から送信されたアプリケーションIDと予め記憶しておいたアプリケーションIDとが合致した場合に認証を成功させる。ここで、アプリケーションIDとは、各アプリケーションプログラムを識別するための固有の記号や番号などの情報である。   The authentication server 40 performs various types of authentication processing when the terminal device 10 starts communication with the position information server 30. The authentication process performed by the authentication server 40 includes, for example, a terminal authentication process, a user authentication process, or an application authentication process. The specific example of the authentication process will be described. In the terminal authentication process, the authentication server 40 succeeds in the authentication when the terminal ID transmitted from the terminal device 10 matches the terminal ID stored in advance. Here, the terminal ID is information such as a unique symbol or number for identifying the terminal device 10. The authentication server 40 in the user authentication process succeeds in authentication when the user ID transmitted from the terminal device 10 matches the user ID stored in advance. Here, the user ID is information such as a unique symbol or a number for identifying a user who uses the terminal device 10. The authentication server 40 in the application authentication process makes the authentication successful when the application ID transmitted from the terminal device 10 matches the application ID stored in advance. Here, the application ID is information such as a unique symbol or number for identifying each application program.

認証サーバ40による認証が成功した場合、認証サーバ40は、端末装置10にトークンを生成して、端末装置10に送信する。認証サーバ40から送信されたトークンは、端末装置10に記憶される。これにより端末装置10は、位置情報サーバ30及びアプリケーションサーバ50とセキュアな通信が可能となる。なお、トークンは任意のタイミングで更新されてもよい。これにより、端末装置10は、さらにセキュアな通信が可能となる。   When the authentication by the authentication server 40 is successful, the authentication server 40 generates a token in the terminal device 10 and transmits the token to the terminal device 10. The token transmitted from the authentication server 40 is stored in the terminal device 10. Thereby, the terminal device 10 can perform secure communication with the position information server 30 and the application server 50. Note that the token may be updated at any timing. Thereby, the terminal device 10 can perform more secure communication.

また、認証サーバ40は、端末装置10が携帯電話である場合、端末認証処理においてIP(Internet Protocol)アドレス及び電話番号を用いてもよい。認証サーバ40は、位置情報サーバ30を介して、端末装置10から送信されたIPアドレス及び電話番号を受信する。認証サーバ40は、受信したIPアドレス及び電話番号と、正当なIPアドレス及び電話番号とを照合する。認証サーバ40は、受信したIPアドレス及び電話番号が正当なIPアドレス及び電話番号と照合できた場合には、通信を許可する認証結果を位置情報サーバ30に送信する。   When the terminal device 10 is a mobile phone, the authentication server 40 may use an IP (Internet Protocol) address and a telephone number in the terminal authentication process. The authentication server 40 receives the IP address and the telephone number transmitted from the terminal device 10 via the position information server 30. The authentication server 40 collates the received IP address and telephone number with the valid IP address and telephone number. When the received IP address and the telephone number can be compared with the valid IP address and the telephone number, the authentication server 40 transmits an authentication result permitting communication to the position information server 30.

POIサーバ42は、POI情報を蓄積している。POI情報は、少なくとも店舗等の緯度、経度を示す情報を含んでいる。POIサーバ42は、端末装置10、位置情報サーバ30又はアプリケーションサーバ50から要求を受け付ける。この要求には、端末装置10の位置情報が含まれる。POIサーバ42は、この要求の受け付けに応じて当該位置情報に対応したPOI情報を検索し、当該位置情報付近のPOI情報を返信する。なお、POI情報には、店舗等のロケーションID、ロケーション名、及びカテゴリ等を含んでいてもよい。これによりPOIサーバ42は、位置情報に対応したロケーションID、ロケーション名、及びカテゴリ等を検索結果として返信できる。
また、POIサーバ42は、POI情報をキーとして端末装置10を検索してもよい。
これによりPOIサーバ42は、POI情報に該当する端末装置10を抽出して、検索結果として返信することができる。例えば、POIサーバ42は、ある店舗内に存在する端末装置10を検索して、端末装置10のユーザIDを返信することができる。
The POI server 42 stores POI information. The POI information includes information indicating at least the latitude and longitude of a store or the like. The POI server 42 receives a request from the terminal device 10, the position information server 30, or the application server 50. This request includes the position information of the terminal device 10. The POI server 42 retrieves POI information corresponding to the position information in response to the reception of the request, and returns POI information in the vicinity of the position information. The POI information may include a location ID of a store or the like, a location name, a category, and the like. As a result, the POI server 42 can return a location ID, a location name, a category, and the like corresponding to the location information as a search result.
Also, the POI server 42 may search the terminal device 10 using the POI information as a key.
As a result, the POI server 42 can extract the terminal device 10 corresponding to the POI information and send it as a search result. For example, the POI server 42 can search for the terminal device 10 existing in a certain store, and can return the user ID of the terminal device 10.

図2は、実施形態に係る端末装置10の構成を示すブロック図である。端末装置10は、処理部12、通信部14、GPS(Global Positioning System)測位部16、及び記憶部18を含む。端末装置10は、ユーザに保有されて移動する機器である。端末装置10は、例えば携帯電話又はスマートフォンであってもよい。   FIG. 2 is a block diagram showing the configuration of the terminal device 10 according to the embodiment. The terminal device 10 includes a processing unit 12, a communication unit 14, a GPS (Global Positioning System) positioning unit 16, and a storage unit 18. The terminal device 10 is a device owned and moved by a user. The terminal device 10 may be, for example, a mobile phone or a smartphone.

通信部14は、位置情報サーバ30との間で通信を行う。通信部14は、例えば通信ICチップにより構成されている。通信部14は、処理部12から供給された位置情報を所定の通信データに変換して位置情報サーバ30に送信する。認証サーバ40がアプリケーション認証をする場合には、位置情報に、アプリケーション認証が成功しているアプリケーションのアプリケーションIDが対応付けられていてもよい。位置情報サーバ30又はアプリケーションサーバ50から通信データを受信した場合、通信部14は、受信した通信データに所定の処理を施して処理部12に出力する。   The communication unit 14 communicates with the position information server 30. The communication unit 14 is configured of, for example, a communication IC chip. The communication unit 14 converts the position information supplied from the processing unit 12 into predetermined communication data and transmits the communication data to the position information server 30. When the authentication server 40 performs application authentication, the application ID of an application for which application authentication has been successful may be associated with position information. When communication data is received from the position information server 30 or the application server 50, the communication unit 14 performs predetermined processing on the received communication data and outputs the processing to the processing unit 12.

GPS測位部16は、位置情報を取得する位置情報取得部として機能する。GPS測位部16は、自装置の位置を特定して位置情報を生成し、処理部12に出力する。このときGPS測位部16は、複数のGPS衛星からGPS衛星の位置及び時刻を含むGPS信号を受信する。GPS測位部16は、複数のGPS衛星と端末装置10の距離を演算し、三角測量演算により自装置の位置を特定する。特定された位置及び時刻は、位置情報としてGPS測位部16から処理部12に供給される。   The GPS positioning unit 16 functions as a position information acquisition unit that acquires position information. The GPS positioning unit 16 specifies the position of the own device, generates position information, and outputs the position information to the processing unit 12. At this time, the GPS positioning unit 16 receives GPS signals including the position and time of the GPS satellites from a plurality of GPS satellites. The GPS positioning unit 16 calculates distances between a plurality of GPS satellites and the terminal device 10, and specifies the position of the own device by triangulation calculation. The identified position and time are supplied from the GPS positioning unit 16 to the processing unit 12 as position information.

GPS測位部16は、スリープ状態と、通常動作状態との少なくとも2つの状態で動作する。このうち、スリープ状態とは、測位を実施せずに待機している状態であって、通常動作状態よりも消費電力が少ない状態である。また、通常動作状態とは、測位を実施する状態であって、スリープ状態よりも消費電力が多い状態である。GPS測位部16は、処理部12による起動要求、及び、通常動作の完了によって、状態を遷移させる。具体的には、GPS測位部16の動作状態は、処理部12による起動要求をトリガにして、スリープ状態から通常動作状態に遷移する。また、GPS測位部16の動作状態は、測位演算が完了したことをトリガにして、通常動作状態からスリープ状態に遷移する。ここで、起動要求とは、処理部12がGPS測位部16に対して出力する要求であって、自装置の位置を特定して位置情報を生成する処理の実行を要求するコマンドである。   The GPS positioning unit 16 operates in at least two states of the sleep state and the normal operation state. Among these states, the sleep state is a state in which positioning is not performed and standby is performed, and power consumption is less than that in the normal operation state. The normal operation state is a state in which positioning is performed, and is a state in which power consumption is higher than that in the sleep state. The GPS positioning unit 16 changes the state according to the activation request from the processing unit 12 and the completion of the normal operation. Specifically, the operation state of the GPS positioning unit 16 is transitioned from the sleep state to the normal operation state by using the activation request from the processing unit 12 as a trigger. Further, the operation state of the GPS positioning unit 16 transitions from the normal operation state to the sleep state, triggered by the completion of the positioning operation. Here, the activation request is a request that the processing unit 12 outputs to the GPS positioning unit 16, and is a command that requests execution of a process of specifying the position of the own device and generating position information.

換言すれば、GPS測位部16は、処理部12から出力される起動要求の入力を待機している期間においてスリープ状態となっている。スリープ状態とは、省電力で動作している状態であり、起動要求により解除される。GPS測位部16は、処理部12から起動要求を入力することに応じて起動する。これによりGPS測位部16は、スリープ状態から通常動作状態に切り替わる。起動要求は、自装置の位置情報を取得する命令である。GPS測位部16は、起動要求に応じて位置情報を取得して処理部12に出力すると、所定時間後にスリープ状態となる。   In other words, the GPS positioning unit 16 is in the sleep state while waiting for the input of the activation request output from the processing unit 12. The sleep state is a state of operation with power saving and is canceled by a start request. The GPS positioning unit 16 is activated in response to the activation request from the processing unit 12. Thereby, the GPS positioning unit 16 switches from the sleep state to the normal operation state. The activation request is an instruction to acquire position information of the own device. When the GPS positioning unit 16 acquires position information in response to the activation request and outputs the position information to the processing unit 12, the GPS positioning unit 16 enters a sleep state after a predetermined time.

なお、位置情報を取得する位置情報取得部は、他の方式により位置情報を取得してもよい。
この位置情報取得部は、セルID(携帯電話基地局)方式によって位置情報を取得してもよい。このセルID方式は、端末装置10が携帯電話端末の場合、携帯電話端末としての通信機能を応用して、3つ以上の携帯電話基地局の電波情報に基づいて端末装置10の現在地を算出する。
位置情報取得部は、Wi−Fi方式によって位置情報を取得してもよい。Wi−Fi方式は、端末装置10周辺の無線LANのアクセスポイントから送信される電波を検出し、アクセスポイントの位置情報に基づいてアクセスポイントまたは所定のサーバ等から端末装置10の位置情報を取得する。
さらに、位置情報取得部は、ネットワーク測位方式によって位置情報を取得してもよい。ネットワーク測位方式は、セルID方式とWi−Fi方式による測位で位置情報を取得する。
このように、位置情報取得部は、GPS測位方式のみならず、セルID方式又はWi−Fi方式を用いる構成であっても、処理部12からの起動要求に応じてスリープ状態から起動して、位置情報を取得できる。
本実施形態において、端末装置10は、位置情報の取得方式として、Wi−Fi方式およびセルID方式よりも、GPS測位部16による測位方式を優先する。端末装置10は、例えば自装置が屋内にいる等のGPS測位部16に測位ができない状況において、GPS測位部16による測位に代えて、セルID方式またはWi−Fi方式による測位に切り替える。
The position information acquisition unit that acquires position information may acquire position information by another method.
The position information acquisition unit may acquire position information by a cell ID (mobile telephone base station) method. When the terminal device 10 is a mobile phone terminal, this cell ID method applies the communication function as a mobile phone terminal to calculate the current location of the terminal device 10 based on radio wave information of three or more mobile phone base stations. .
The position information acquisition unit may acquire position information by the Wi-Fi method. The Wi-Fi system detects radio waves transmitted from access points in a wireless LAN around the terminal device 10, and acquires position information of the terminal device 10 from an access point or a predetermined server based on position information of the access point. .
Furthermore, the position information acquisition unit may acquire position information by the network positioning method. The network positioning method acquires position information by positioning using a cell ID method and a Wi-Fi method.
As described above, the position information acquisition unit is activated from the sleep state in response to the activation request from the processing unit 12 even if the configuration uses not only the GPS positioning method but also the cell ID method or the Wi-Fi method. You can get location information.
In the present embodiment, the terminal device 10 prioritizes the positioning method by the GPS positioning unit 16 over the Wi-Fi method and the cell ID method as a method of acquiring position information. The terminal device 10 switches to the positioning by the cell ID method or the Wi-Fi method instead of the positioning by the GPS positioning unit 16 in a situation where the GPS positioning unit 16 can not perform positioning, for example, the own device is indoors.

処理部12は、例えば、CPU(Central Processing Unit)等のプロセッサが、メモリに記憶されたプログラムを実行することにより機能するソフトウェア機能部である。また、これらの機能部のうち一部または全部は、LSI(Large Scale Integration)やASIC(Application Specific Integrated Circuit)等のハードウェア機能部であってもよい。   The processing unit 12 is a software function unit that functions when, for example, a processor such as a central processing unit (CPU) executes a program stored in the memory. Further, some or all of these functional units may be hardware functional units such as LSI (Large Scale Integration) and ASIC (Application Specific Integrated Circuit).

処理部12は、アプリケーション処理部120A、120B、120C(以下、総称する場合には単に「アプリケーション処理部120」と呼ぶ。)を有する。アプリケーション処理部120A、120B、120Cは、CPUがアプリケーションプログラムA、B、Cを実行することにより機能するソフトウェア機能部である。本実施形態において、複数のアプリケーション処理部120A、120B、120Cは、それぞれ任意のアプリケーション処理を実行する。また、本実施形態では、アプリケーションプログラムA、B、Cの3つを実行する例について説明するが、これに限られない。アプリケーション処理部120は、2以上のアプリケーションプログラムを同時に実行するものであればよい。   The processing unit 12 includes application processing units 120A, 120B, and 120C (hereinafter, collectively referred to simply as “application processing unit 120”). The application processing units 120A, 120B, and 120C are software function units that function when the CPU executes the application programs A, B, and C. In the present embodiment, the plurality of application processing units 120A, 120B, and 120C each execute arbitrary application processing. Further, in the present embodiment, an example in which three application programs A, B, and C are executed will be described, but the present invention is not limited thereto. The application processing unit 120 only needs to execute two or more application programs simultaneously.

端末装置10は、アプリケーションプログラムA、B、Cの起動時にアプリケーション認証のための動作を行ってもよい。この場合、端末装置10は、アプリケーションプログラムが起動する際に、アプリケーションプログラムごとに予め定められているアプリケーションIDを認証サーバ40に送信する。より具体的には、端末装置10は、アプリケーションプログラムAが起動する際に、アプリケーションプログラムAを示すアプリケーションIDを認証サーバ40に送信する。端末装置10は、認証サーバ40からアプリケーション認証が許可されたか否かの認証結果を受信する。端末装置10は、認証結果が「許可」の場合のみアプリケーションプログラムの起動を許可する。   The terminal device 10 may perform an operation for application authentication when the application programs A, B, and C are activated. In this case, when the application program starts up, the terminal device 10 transmits an application ID predetermined for each application program to the authentication server 40. More specifically, when the application program A starts up, the terminal device 10 transmits an application ID indicating the application program A to the authentication server 40. The terminal device 10 receives, from the authentication server 40, an authentication result as to whether application authentication is permitted. The terminal device 10 permits the activation of the application program only when the authentication result is “permit”.

処理部12は、同時に複数のアプリケーションプログラムA、B、Cが実行可能である。処理部12は、複数のアプリケーションプログラムA、B、Cのうち優先度の低いアプリケーションプログラムをバックグラウンドで実行する。なお、アプリケーションプログラムA、B、Cは、所定期間ごとに起動要求を出力することが設定されていてもよい。所定期間は、アプリケーションプログラムA、B、Cごとに設定されていてもよい。所定期間は、例えば、1分、10分、1時間などが挙げられる。
本実施形態の端末装置10は、アプリケーションプログラムが起動要求を出力するものであっても、位置情報取得制御部122A、122B、122Cのうちいずれか1つがGPS測位部16に起動要求を出力する。
The processing unit 12 can execute a plurality of application programs A, B and C at the same time. The processing unit 12 executes an application program having a lower priority among the plurality of application programs A, B, and C in the background. The application programs A, B, and C may be set to output the activation request at predetermined intervals. The predetermined period may be set for each of the application programs A, B, and C. The predetermined period includes, for example, one minute, ten minutes, one hour, and the like.
In the terminal device 10 according to the present embodiment, any one of the position information acquisition control units 122A, 122B, and 122C outputs the start request to the GPS positioning unit 16 even if the application program outputs the start request.

記憶部18は、アプリケーションプログラムA、B、Cのそれぞれに付属する位置情報ライブラリを記憶している。実施形態において、アプリケーションプログラムAには、位置情報ライブラリAが付属している。また、アプリケーションプログラムBには、位置情報ライブラリBが付属しており、アプリケーションプログラムCには、位置情報ライブラリCが付属している。以下の説明において、これら位置情報ライブラリA、B、Cを総称して、位置情報ライブラリという。   The storage unit 18 stores position information libraries attached to the application programs A, B, and C, respectively. In the embodiment, a position information library A is attached to the application program A. Further, a position information library B is attached to the application program B, and a position information library C is attached to the application program C. In the following description, these positional information libraries A, B and C are collectively referred to as a positional information library.

位置情報ライブラリとは、端末装置10のCPUによって実行されるソフトウェアである。すなわち、端末装置10において、CPUが位置情報ライブラリを実行する。これにより、端末装置10は、ソフトウェア機能部として位置情報取得制御部122A、122B、122C(以下、総称する場合には単に「位置情報取得制御部122」と呼ぶ。)を構成する。すなわち、処理部12は、これら位置情報取得制御部122をアプリケーションごとに有している。   The position information library is software executed by the CPU of the terminal device 10. That is, in the terminal device 10, the CPU executes the position information library. Thus, the terminal device 10 configures the position information acquisition control units 122A, 122B, and 122C (hereinafter simply referred to as “position information acquisition control unit 122” when collectively referred to) as a software function unit. That is, the processing unit 12 includes the position information acquisition control unit 122 for each application.

位置情報取得制御部122A、122B、122Cは、GPS測位部16に対して、起動要求を出力する。実施形態において、起動要求は、位置情報取得制御部122A、122B、122Cのうちいずれか1つから出力される。位置情報取得制御部122A、122B、122Cは、この起動要求に応じてGPS測位部16により生成された位置情報を取得し、取得した位置情報をアプリケーション処理部120A、120B、120Cに出力する。実施形態において、GPS測位部16は、生成した位置情報を、起動要求を出力した位置情報取得制御部122A、122B、122Cのうちいずれか1つに出力する。位置情報が入力した位置情報取得制御部122A、122B、122Cのうちいずれか1つは、他の位置情報取得制御部に対して位置情報を出力してもよい。これにより、各アプリケーション処理部120A、120B、120Cは、GPS測位部16が生成した位置情報の利用が可能になる。   The position information acquisition control units 122A, 122B, and 122C output an activation request to the GPS positioning unit 16. In the embodiment, the activation request is output from any one of the position information acquisition control units 122A, 122B, and 122C. The position information acquisition control units 122A, 122B, and 122C acquire the position information generated by the GPS positioning unit 16 in response to the activation request, and output the acquired position information to the application processing units 120A, 120B, and 120C. In the embodiment, the GPS positioning unit 16 outputs the generated position information to any one of the position information acquisition control units 122A, 122B, and 122C that has output the activation request. Any one of the position information acquisition control units 122A, 122B, and 122C that has received the position information may output the position information to another position information acquisition control unit. Thereby, each of the application processing units 120A, 120B, and 120C can use the position information generated by the GPS positioning unit 16.

ここで、位置情報取得制御部122A、122B、122Cは、許諾設定情報に基づき、位置情報の利用を許諾されているアプリケーションに対応するアプリケーション処理部120に対して、位置情報を出力してもよい。つまり、位置情報取得制御部122A、122B、122Cは、位置情報の利用を許諾されていないアプリケーションに対応するアプリケーション処理部120に対しては位置情報を出力しない。位置情報取得制御部122A、122B、122Cは、端末装置10に記憶されている許諾設定情報を参照してもよく、位置情報サーバ30に記憶されている許諾設定情報を参照してもよい。   Here, based on the permission setting information, the position information acquisition control units 122A, 122B, and 122C may output the position information to the application processing unit 120 corresponding to the application for which the use of the position information is permitted. . That is, the position information acquisition control units 122A, 122B, and 122C do not output the position information to the application processing unit 120 corresponding to the application for which the use of the position information is not permitted. The position information acquisition control units 122A, 122B and 122C may refer to the permission setting information stored in the terminal device 10 or may refer to the permission setting information stored in the position information server 30.

なお、アプリケーションプログラムA、B、Cには、それぞれに位置情報ライブラリA、B、Cが付属しているが、必ずしも、すべての位置情報取得制御部122A、122B、122CがGPS測位部16に対して起動要求を出力しなくてもよい。つまり、処理部12には、複数の位置情報取得制御部122A、122B、122Cのうち、位置情報を取得させて位置情報をアプリケーション処理部120に利用可能にする一つの位置情報取得制御部122が存在していればよい。「一つの位置情報取得制御部122」は、後述するマスタとされた位置情報ライブラリにより実現される。「一つの位置情報取得制御部122」は、図3を参照して後述するように、複数のアプリケーションに対応した1つの位置情報ライブラリとして付属していてもよい。   Although the application programs A, B, and C respectively include position information libraries A, B, and C, all position information acquisition control units 122A, 122B, and 122C do not necessarily respond to the GPS positioning unit 16. It is not necessary to output a start request. That is, among the plurality of position information acquisition control units 122A, 122B, and 122C, the position information acquisition control unit 122 which causes the processing unit 12 to acquire position information and make the position information available to the application processing unit 120. It should just exist. The “one position information acquisition control unit 122” is realized by a position information library which is a master described later. The “one position information acquisition control unit 122” may be attached as one position information library corresponding to a plurality of applications, as described later with reference to FIG.

アプリケーション処理部120は、一つの位置情報取得制御部122によってGPS測位部16に取得させる位置情報を利用する。
「位置情報を利用する」とは、端末装置10内で位置情報を使用することを含む。アプリケーション処理部120は、例えば、位置情報を使用することにより、GPS測位部16により取得された位置情報に基づいて自装置の位置を地図上に表示させることができる。
「位置情報を利用する」とは、GPS測位部16により取得した位置情報に基づく情報を使用することを含む。位置情報に基づく情報は、位置情報を用いることによって得られた新たな情報である。位置情報に基づく情報は、端末装置10内で位置情報に基づいて処理をしたことによって得られた情報であってもよく、アプリケーションサーバ50内で位置情報に基づいて処理したことによって得られた情報であってもよい。例えば、アプリケーション処理部120は、自装置の位置に近い店舗の広告情報を抽出して、広告情報をプッシュ広告として表示してもよい。アプリケーション処理部120は、アプリケーションサーバ50によって位置情報に基づいて抽出された広告情報を受信して、広告情報をプッシュ広告として表示してもよい。
The application processing unit 120 uses position information acquired by the GPS positioning unit 16 by one position information acquisition control unit 122.
“Use of position information” includes using position information in the terminal device 10. The application processing unit 120 can display the position of the own device on the map based on the position information acquired by the GPS positioning unit 16 by using the position information, for example.
“Use of position information” includes using information based on the position information acquired by the GPS positioning unit 16. The information based on position information is new information obtained by using the position information. The information based on the position information may be information obtained by performing processing based on the position information in the terminal device 10, and information obtained by processing based on the position information in the application server 50 It may be For example, the application processing unit 120 may extract advertisement information of a store close to the position of the own device and display the advertisement information as a push advertisement. The application processing unit 120 may receive the advertisement information extracted by the application server 50 based on the position information, and may display the advertisement information as a push advertisement.

アプリケーション処理部120は、一つの位置情報取得制御部122が取得する位置情報を利用可能にする。「位置情報を利用可能にする」とは、端末装置10以外の装置に位置情報を取得させ、端末装置10以外の装置に位置情報を処理可能にすることを含む。
このために、アプリケーション処理部120は、GPS測位部16により取得された位置情報の利用を許可する。このときアプリケーション処理部120は、位置情報を送信することを許可するかをユーザに問い合わる。ユーザが位置情報の送信を許可した場合、アプリケーション処理部120は、位置情報の利用を許可する許可情報を生成する。アプリケーション処理部120は、生成した許可情報を位置情報サーバ30に送信する。位置情報サーバ30は、端末装置10から送信された許可情報を受信した後、以降において端末装置10から送信された位置情報を蓄積して、アプリケーションサーバ50等に送信できる。これによりアプリケーション処理部120は、アプリケーションサーバ50によって位置情報を利用して、端末装置10の位置の解析等を行わせることができる。
The application processing unit 120 enables use of position information acquired by one position information acquisition control unit 122. “Making position information available” includes causing devices other than the terminal device 10 to acquire position information and enabling devices other than the terminal device 10 to process the position information.
For this purpose, the application processing unit 120 permits the use of the position information acquired by the GPS positioning unit 16. At this time, the application processing unit 120 inquires of the user whether to permit transmission of the position information. If the user permits transmission of the position information, the application processing unit 120 generates permission information for permitting use of the position information. The application processing unit 120 transmits the generated permission information to the position information server 30. After receiving the permission information transmitted from the terminal device 10, the position information server 30 can accumulate the position information transmitted from the terminal device 10 and transmit the accumulated information to the application server 50 or the like. Thus, the application processing unit 120 can cause the application server 50 to analyze the position of the terminal device 10 by using the position information.

さらに、アプリケーション処理部120は、予め端末装置10にインストールされたものである。アプリケーション処理部120は、位置情報ライブラリが端末装置10に供給されることに伴って、端末装置10にインストールされたものであってもよい。具体的には、位置情報ライブラリが付属したアプリケーションプログラムを同時にダウンロードして端末装置10にインストールする。これにより端末装置10は、アプリケーション処理部120及び位置情報取得制御部122を備えることができる。   Furthermore, the application processing unit 120 is installed in advance in the terminal device 10. The application processing unit 120 may be installed in the terminal device 10 as the position information library is supplied to the terminal device 10. Specifically, the application program to which the position information library is attached is simultaneously downloaded and installed in the terminal device 10. Thus, the terminal device 10 can include the application processing unit 120 and the position information acquisition control unit 122.

位置情報ライブラリは、ユーザの許可に応じてダウンロードされる。アプリケーションプログラムを起動している時に、アプリケーション処理部120は、自装置の位置情報の送信を許可するかを問い合わせる画面を表示させる。ユーザの操作に基づいて位置情報の送信が許可された場合、アプリケーション処理部120は、位置情報ライブラリのダウンロード要求を送信させる。
位置情報サーバ30は、ダウンロード要求を受信したことに応じて位置情報ライブラリを端末装置10に送信する。これにより端末装置10は、位置情報ライブラリのダウンロードを開始する。処理部12は、ダウンロードが完了すると、位置情報ライブラリを各アプリケーションプログラムに付属させる。
The location information library is downloaded according to the user's permission. When the application program is activated, the application processing unit 120 displays a screen asking whether to permit transmission of position information of the own device. When the transmission of the position information is permitted based on the user's operation, the application processing unit 120 transmits a download request of the position information library.
The position information server 30 transmits the position information library to the terminal device 10 in response to receiving the download request. Thus, the terminal device 10 starts downloading of the position information library. When the download is completed, the processing unit 12 attaches a position information library to each application program.

処理部12は、ダウンロードした位置情報ライブラリを他のアプリケーションに付属させてもよい。処理部12は、ダウンロードした位置情報ライブラリを複製し、位置情報ライブラリが付属していないアプリケーションに組み込む。これにより処理部12は、位置情報ライブラリが付属していないアプリケーションに位置情報ライブラリを付属させることができる。
処理部12は、既にアプリケーションに組み入れられている古いバージョンの位置情報ライブラリに代えて最新バージョンの位置情報ライブラリに更新してもよい。これにより処理部12は、アプリケーションの位置情報ライブラリを最新なものに更新することができる。
The processing unit 12 may attach the downloaded position information library to another application. The processing unit 12 duplicates the downloaded location information library, and incorporates it into an application to which the location information library is not attached. Thus, the processing unit 12 can attach the position information library to an application to which the position information library is not attached.
The processing unit 12 may update to the latest version of the location information library instead of the old version of the location information library already incorporated into the application. Thereby, the processing unit 12 can update the position information library of the application to the latest one.

上述の通り、位置情報取得制御部122は、GPS測位部16に起動要求を行う。複数のアプリケーション処理部120A、120B、120Cに付属した複数の位置情報取得制御部122A、122B、122Cのうちの一つの位置情報取得制御部122が、GPS測位部16に起動要求を行う。複数の位置情報取得制御部122のうち起動要求を行う一つの位置情報取得制御部122は、予め特定されている。すなわち、複数のアプリケーションプログラムA、B、Cのうちどのアプリケーションプログラムの位置情報取得制御部122からGPS測位部16に起動要求を出力するかは特定されている。   As described above, the position information acquisition control unit 122 requests the GPS positioning unit 16 to start up. The position information acquisition control unit 122 of one of the plurality of position information acquisition control units 122A, 122B, and 122C attached to the plurality of application processing units 120A, 120B, and 120C makes a start request to the GPS positioning unit 16. Of the plurality of position information acquisition control units 122, one position information acquisition control unit 122 that makes an activation request is specified in advance. That is, among the plurality of application programs A, B, and C, it is specified which application program's position information acquisition control unit 122 outputs the activation request to the GPS positioning unit 16.

複数の位置情報取得制御部122のうち、起動要求を出力した位置情報取得制御部122には、GPS測位部16から位置情報が供給される。この位置情報取得制御部122は、GPS測位部16から位置情報が供給されたことを、他の位置情報取得制御部122に通知する。この、他の位置情報取得制御部122は、位置情報が供給されたことを示す通知に応じて、起動要求を出力した位置情報取得制御部122に対して位置情報を要求する。起動要求を出力した位置情報取得制御部122は、他の位置情報取得制御部122からの要求に応じて、他の位置情報取得制御部122に対して位置情報を出力する。ここで、起動要求を出力した位置情報取得制御部122とは、予め特定されたアプリケーションに付属した位置情報取得制御部122である。また、他の位置情報取得制御部122とは、予め特定されたアプリケーション以外のアプリケーションに付属した位置情報取得制御部122である。つまり、予め特定されたアプリケーションに付属した位置情報取得制御部122は、他のアプリケーションに付属した位置情報取得制御部122に位置情報を出力する。これにより、他のアプリケーションに付属した位置情報取得制御部122は、GPS測位部16に起動要求を行うことなく、GPS測位部16が生成した位置情報を取得することができる。   The position information acquisition control unit 122 that has output the activation request among the plurality of position information acquisition control units 122 is supplied with position information from the GPS positioning unit 16. The position information acquisition control unit 122 notifies the other position information acquisition control unit 122 that the position information has been supplied from the GPS positioning unit 16. The other position information acquisition control unit 122 requests the position information acquisition control unit 122 which has output the activation request in response to the notification indicating that the position information has been supplied. The position information acquisition control unit 122 that has output the start request outputs the position information to the other position information acquisition control unit 122 in response to the request from the other position information acquisition control unit 122. Here, the position information acquisition control unit 122 which has output the start request is the position information acquisition control unit 122 attached to the application specified in advance. The other position information acquisition control unit 122 is a position information acquisition control unit 122 attached to an application other than the application specified in advance. That is, the position information acquisition control unit 122 attached to the application specified in advance outputs the position information to the position information acquisition control unit 122 attached to the other application. Thus, the position information acquisition control unit 122 attached to the other application can acquire the position information generated by the GPS positioning unit 16 without making a start request to the GPS positioning unit 16.

ここで、予め特定されたアプリケーションに付属した位置情報取得制御部122を、マスタの権限を有する位置情報取得制御部122とも称する。また、予め特定されたアプリケーション以外のアプリケーションに付属した位置情報取得制御部122を、マスタの権限を有しない位置情報取得制御部122、または、スレーブの位置情報取得制御部122とも称する。
換言すれば、起動要求を出力する一つの位置情報取得制御部122は、他の位置情報取得制御部122に対してマスタの権限を有する。他の位置情報取得制御部122は、マスタの位置情報取得制御部122に対してスレーブとして機能する。他の位置情報取得制御部122は、GPS測位部16に対して起動要求を送信しない。他の位置情報取得制御部122は、マスタの位置情報取得制御部122から通知を受けた場合に、マスタの位置情報取得制御部122に位置情報を要求して、位置情報を取得する。
Here, the position information acquisition control unit 122 attached to the application specified in advance is also referred to as a position information acquisition control unit 122 having the authority of the master. Further, the position information acquisition control unit 122 attached to an application other than the application specified in advance is also referred to as a position information acquisition control unit 122 which does not have the authority of the master or a position information acquisition control unit 122 of the slave.
In other words, one position information acquisition control unit 122 that outputs a start request has the authority of the master with respect to the other position information acquisition control unit 122. The other position information acquisition control unit 122 functions as a slave with respect to the position information acquisition control unit 122 of the master. The other position information acquisition control unit 122 does not transmit the activation request to the GPS positioning unit 16. When receiving the notification from the master's position information acquisition control unit 122, the other position information acquisition control unit 122 requests the master's position information acquisition control unit 122 for position information, and acquires position information.

記憶部18は、各種の情報を記憶する記録媒体である。記憶部18は、位置情報取得制御部122により取得された位置情報を蓄積する。記憶部18は、位置情報を時系列で記憶する。また、記憶部18は、許諾設定情報を記憶してもよい。許諾設定情報には、位置情報の利用が許諾された日時を示す情報、位置情報の利用が非許諾にされた日時を示す情報等が含まれてもよい。   The storage unit 18 is a recording medium for storing various types of information. The storage unit 18 accumulates the position information acquired by the position information acquisition control unit 122. The storage unit 18 stores position information in time series. Also, the storage unit 18 may store permission setting information. The permission setting information may include information indicating the date and time when the use of the position information is permitted, and information indicating the date and time when the use of the position information is not permitted.

また、記憶部18には、位置情報取得制御部122が動作するための位置取得制御用プログラムとしての位置情報ライブラリが記憶される。位置取得制御用プログラムは、コンピュータにより読込可能なプログラムである。   The storage unit 18 also stores a position information library as a position acquisition control program for the position information acquisition control unit 122 to operate. The position acquisition control program is a computer readable program.

さらに、記憶部18には、以下の情報が記憶されている。
記憶部18には、端末装置10に割り当てられた端末IDが格納されている。
記憶部18には、端末装置10のユーザに割り当てられたユーザIDが格納されている。
記憶部18には、位置情報が示す位置において端末装置10がアクセスしたウェブページへのアクセス履歴や起動したウェブブラウザの操作履歴に関するウェブ履歴情報が格納されている。ウェブ履歴情報には、端末装置10が企業の広告、又は、ホームページ等のWebページにアクセスした時刻とアクセスしたWebページのアドレスとが含まれる。
Further, the storage unit 18 stores the following information.
The storage unit 18 stores a terminal ID assigned to the terminal device 10.
The storage unit 18 stores a user ID assigned to the user of the terminal device 10.
The storage unit 18 stores web history information on an access history to a web page accessed by the terminal device 10 at the position indicated by the position information and an operation history of the started web browser. The web history information includes the time when the terminal device 10 accesses a web page such as a company advertisement or a home page and the address of the accessed web page.

記憶部18には、位置情報が示す位置において端末装置10が実行したプログラムに関するプログラム実行履歴情報が格納されている。プログラム実行履歴情報には、端末装置10がプログラムを実行した時刻と実行したプログラムの名称や種類が含まれる。なお、プログラム実行履歴情報には、プログラムの起動された時刻と、スリープ状態からのプログラムが再起動された時刻とが含まれる。端末装置10が実行するプログラムには、例えば、カメラプログラム、メールプログラム、電話プログラム、音楽再生プログラム(再生した楽曲名などを含んでもよい)、電卓プログラム等が含まれる。   The storage unit 18 stores program execution history information on a program executed by the terminal device 10 at the position indicated by the position information. The program execution history information includes the time when the terminal device 10 executed the program and the name and type of the executed program. The program execution history information includes the time when the program was started and the time when the program from the sleep state was restarted. The programs executed by the terminal device 10 include, for example, a camera program, a mail program, a telephone program, a music reproduction program (which may include a reproduced music title and the like), a calculator program, and the like.

記憶部18には、位置情報が示す位置において端末装置10が受け付けたユーザからの操作に関する操作履歴情報が格納されている。操作履歴情報には、端末装置10が操作を受け付けた時刻と受け付けた操作の名称や種類が含まれる。端末装置10が受け付ける操作には、例えば、電源をONする操作、電源をOFFする操作、スピーカ音量の調節操作、省電力モードへの切替操作等が含まれる。   The storage unit 18 stores operation history information regarding the operation from the user received by the terminal device 10 at the position indicated by the position information. The operation history information includes the time when the terminal device 10 received the operation and the name and type of the received operation. The operation received by the terminal device 10 includes, for example, an operation of turning on the power, an operation of turning off the power, an operation of adjusting the speaker volume, an operation of switching to the power saving mode, and the like.

記憶部18には、位置情報が示す位置において端末装置10が充電モードであるか否かを示す充電履歴情報が格納されている。充電履歴情報には、端末装置10が充電を開始した時刻と充電を終了した時刻とが含まれる。また、充電履歴情報には、端末装置10の充電容量の残容量や残容量の割合が含まれていてもよい。   The storage unit 18 stores charging history information indicating whether the terminal device 10 is in the charging mode at the position indicated by the position information. The charging history information includes the time when the terminal device 10 starts charging and the time when charging is ended. Further, the charge history information may include the remaining capacity of the charge capacity of the terminal device 10 and the ratio of the remaining capacity.

記憶部18には、位置情報が示す位置における端末装置10の姿勢の変化を示す姿勢変化情報が格納されている。姿勢変化情報には、端末装置10の姿勢が変化した時刻が含まれる。なお、端末装置10の姿勢の変化は、後述する加速度センサ等により検出される。   In the storage unit 18, posture change information indicating a change in the posture of the terminal device 10 at the position indicated by the position information is stored. The attitude change information includes the time when the attitude of the terminal device 10 has changed. In addition, the change of the attitude | position of the terminal device 10 is detected by the acceleration sensor etc. which are mentioned later.

記憶部18には、位置情報が示す位置において端末装置10が取得した環境情報が格納されている。環境情報には、端末装置10が収集した音情報や、近距離通信の通信履歴等が含まれる。端末装置10が収集した音情報は、例えば店舗で流される可聴音や不可聴音に関する情報である。近距離通信の通信履歴は、例えばBluetooth(登録商標)及び赤外線等の通信を行った時刻等が含まれる。   The storage unit 18 stores environment information acquired by the terminal device 10 at the position indicated by the position information. The environment information includes sound information collected by the terminal device 10, a communication history of near field communication, and the like. The sound information collected by the terminal device 10 is, for example, information on an audible sound or an inaudible sound that is flowed at a store. The communication history of the short-distance communication includes, for example, the time when communication such as Bluetooth (registered trademark) and infrared light was performed.

ウェブ履歴情報、プログラム実行履歴情報、操作履歴情報、充電履歴情報、姿勢変化情報、及び環境情報は、処理部12により生成される。   The web history information, program execution history information, operation history information, charging history information, posture change information, and environment information are generated by the processing unit 12.

位置情報取得制御部122は、位置情報サーバ30に位置情報を送信する場合に、記憶部18に蓄積した位置情報を読み出して、通信部14に出力する。これにより位置情報取得制御部122は、記憶部18から読み出した位置情報を、通信部14から位置情報サーバ30に送信させる。なお、位置情報取得制御部122は、位置情報とともに、ウェブ履歴情報、プログラム実行履歴情報、操作履歴情報、充電履歴情報、姿勢変化情報及び環境情報の全部又は一部を送信してもよい。   When transmitting position information to the position information server 30, the position information acquisition control unit 122 reads out the position information accumulated in the storage unit 18 and outputs the position information to the communication unit 14. Thus, the position information acquisition control unit 122 causes the communication unit 14 to transmit the position information read from the storage unit 18 to the position information server 30. The position information acquisition control unit 122 may transmit all or part of web history information, program execution history information, operation history information, charging history information, posture change information, and environment information, together with the position information.

さらに、位置情報取得制御部122は、位置情報を記憶部18から読み出して通信部14により通信させる度に、位置情報の送信完了または送信不能を送信履歴として記憶させてもよい。位置情報取得制御部122は、例えば自装置周辺の電波の影響により位置情報の送信ができない場合には、位置情報の送信を中止し、当該位置情報に対応づけて送信不能であるという送信履歴を記憶部18に記憶させる。位置情報取得制御部122は、送信タイミングにおいて送信履歴を参照し、前回の送信タイミング以降にGPS測位部16により取得された位置情報、および送信不能の位置情報を記憶部18から読み出し、通信部14により通信させる。これにより、位置情報取得制御部122は、位置情報の送信ができない状況が生じても、位置情報を漏れなく送信できる。   Furthermore, every time the position information acquisition control unit 122 reads out the position information from the storage unit 18 and causes the communication unit 14 to communicate, the transmission completion or untransmission of the position information may be stored as a transmission history. For example, when transmission of position information can not be performed due to the influence of radio waves around the own apparatus, the position information acquisition control unit 122 stops transmission of the position information and transmits a transmission history that transmission is not possible in association with the position information. It is stored in the storage unit 18. The position information acquisition control unit 122 refers to the transmission history at the transmission timing, reads from the storage unit 18 the position information acquired by the GPS positioning unit 16 after the previous transmission timing, and the position information of the untransmittable, and Communicate by Thus, the position information acquisition control unit 122 can transmit the position information without omission even if a situation in which the position information can not be transmitted occurs.

位置情報取得制御部122は、位置情報に、ユーザID、端末ID、端末機種名、及びOS(Operating System)の種別等の端末装置10に関する情報を対応付けて、通信部14を介して位置情報サーバ30に送信してもよい。さらに、位置情報取得制御部122は、位置情報に、位置情報の測位方式、及び当該測位方式で測位された位置情報の測位誤差を対応づけて送信してもよい。測位方式としては、例えばGPS測位方式、セルID方式、Wi−Fi方式、又はネットワーク測位方式が挙げられる。さらに、端末装置10がWi−Fiネットワークに存在する場合、位置情報取得制御部122は、位置情報に、Wi−FiネットワークのアクセスポイントのIDを対応付けて送信してもよい。さらに、端末装置10がBluetooth(登録商標)機能を起動して通信している場合、位置情報取得制御部122は、位置情報に、Bluetooth(登録商標)端末としてのIDを対応付けて送信してもよい。また、位置情報のそれぞれについて、許諾設定できてもよい。
また、位置情報取得制御部122は、位置情報サーバ30を介さずに、アプリケーションサーバ50に直接的に位置情報を送信してもよい。
The position information acquisition control unit 122 associates position information with information related to the terminal device 10 such as a user ID, a terminal ID, a terminal model name, and a type of OS (Operating System), and transmits position information via the communication unit 14 It may be sent to the server 30. Furthermore, the position information acquisition control unit 122 may associate the position information with the positioning method of the position information and the positioning error of the position information measured by the positioning method, and may transmit the position information. As a positioning system, a GPS positioning system, a cell ID system, a Wi-Fi system, or a network positioning system is mentioned, for example. Furthermore, when the terminal device 10 is present in a Wi-Fi network, the position information acquisition control unit 122 may associate the position information with the ID of the access point of the Wi-Fi network and transmit it. Furthermore, when the terminal device 10 communicates by activating the Bluetooth (registered trademark) function, the position information acquisition control unit 122 transmits the position information in association with the ID as the Bluetooth (registered trademark) terminal. It is also good. In addition, permission setting may be made for each piece of position information.
Further, the position information acquisition control unit 122 may transmit the position information directly to the application server 50 without passing through the position information server 30.

位置情報取得制御部122は、所定条件となった場合に、端末装置10から位置情報サーバ30に位置情報を送信させる。所定条件は、予め端末装置10内で決定された送信タイミングである。所定条件は、位置情報サーバ30から送信された所定期間であってもよい。これにより端末装置10は、位置情報サーバ30が要求する頻度で位置情報サーバ30に位置情報を送信できる。
所定条件は、アプリケーションによって設定されたタイミングであってもよい。例えば、端末装置10は、位置情報サーバ30のプッシュ指示に従い、位置情報を測位してもよい。また、位置情報サーバ30のプッシュ指示は、アプリケーションサーバ50から位置情報サーバ30に指示される測位タイミングに従って行われてもよい。これにより端末装置10は、アプリケーションが要求する頻度で位置情報サーバ30に位置情報を送信できる。
所定条件は、位置情報サーバ30を介さずにアプリケーションサーバ50に直接的に位置情報を送信する場合、アプリケーションサーバ50から送信された所定期間であってもよい。これにより端末装置10は、アプリケーションサーバ50が要求する頻度で、アプリケーションサーバ50に位置情報を送信できる。
The position information acquisition control unit 122 causes the terminal device 10 to transmit the position information to the position information server 30 when the predetermined condition is satisfied. The predetermined condition is a transmission timing previously determined in the terminal device 10. The predetermined condition may be a predetermined period transmitted from the position information server 30. Thus, the terminal device 10 can transmit position information to the position information server 30 at a frequency requested by the position information server 30.
The predetermined condition may be timing set by an application. For example, the terminal device 10 may position the position information in accordance with the push instruction of the position information server 30. Further, the push instruction of the position information server 30 may be performed according to the positioning timing instructed from the application server 50 to the position information server 30. Accordingly, the terminal device 10 can transmit the position information to the position information server 30 at a frequency requested by the application.
The predetermined condition may be a predetermined period transmitted from the application server 50 when the position information is directly transmitted to the application server 50 without passing through the position information server 30. Thus, the terminal device 10 can transmit the position information to the application server 50 at a frequency requested by the application server 50.

次に、端末紐づけ方式が採用されているシステムにおいて、位置情報に位置情報の利用が許可されたアプリケーションであるか否かを示す情報を対応付ける一例について説明する。
例えば、処理部12が、位置情報に、許諾設定情報を対応付ける。なお、処理部12に限られず、マスタの権限を有する位置情報取得制御部122が、位置情報に、許諾設定情報を対応付けてもよい。処理部12は、許諾設定情報を参照して、端末装置10のユーザにより位置情報の利用が許諾されているアプリケーションを示すアプリケーションIDと、許諾期間において取得された位置情報とを対応付ける。許諾期間とは、例えば、ユーザにより位置情報の利用が許諾されている期間である。許諾期間は、アプリケーションプログラムごとにユーザにより設定される。許諾期間は、許諾設定情報に含まれる。
Next, an example will be described in which information indicating whether or not an application is permitted to use position information is associated with the position information in a system in which the terminal connection method is adopted.
For example, the processing unit 12 associates the permission setting information with the position information. The position information acquisition control unit 122 having the authority of the master may associate permission setting information with the position information, without being limited to the processing unit 12. The processing unit 12 refers to the permission setting information and associates the application ID indicating the application for which the user of the terminal device 10 is permitted to use the position information with the position information acquired in the permission period. The permission period is, for example, a period during which the user is permitted to use the location information. The permission period is set by the user for each application program. The permission period is included in the permission setting information.

上述の通り、GPS測位部16は、マスタの権限を有する位置情報取得制御部122が出力した起動要求に応じて、位置情報を測位する。しかし本実施形態において、処理部12は、位置情報が測位されたときに位置情報の利用が許諾されている全てのアプリケーションを示すアプリケーションIDを位置情報に対応付ける。つまり、処理部12は、起動要求を出力したマスタの権限を有するアプリケーションに限られず、スレーブの権限を有するアプリケーションを示すアプリケーションIDも含めて、位置情報に対応付ける。このようにして対応付けられた位置情報と許諾設定情報を受信することにより、位置情報サーバ30は、以下のような情報を対応テーブル38Tに書き込む。   As described above, the GPS positioning unit 16 measures the position information in response to the activation request output by the position information acquisition control unit 122 having the authority of the master. However, in the present embodiment, the processing unit 12 associates, with the position information, an application ID indicating all the applications for which the use of the position information is permitted when the position information is measured. That is, the processing unit 12 is not limited to the application having the authority of the master that has output the activation request, and includes the application ID indicating the application having the authority of the slave to correspond to the position information. By receiving the position information and the permission setting information associated in this way, the position information server 30 writes the following information in the correspondence table 38T.

例えば、アプリAの測位間隔が5分毎であり、アプリBの測位間隔が1時間であり、アプリCの測位間隔が3時間であるとする。ここで、アプリAがマスタ権限を有する場合、位置情報サーバ30の対応テーブル38Tには、5分間隔に測位された位置情報が書き込まれる。また、アプリA〜Cのそれぞれにおいて、位置情報の利用が許諾されている場合、対応テーブル38Tの許諾設定情報の“アプリA”と“アプリB”と“アプリC”の欄に“○”が書き込まれる。これにより、位置情報サーバ30は、アプリA〜Cのアプリケーションサーバ50A〜50Cの全てに対して、5分間隔に測位された位置情報を提供できる。また、アプリB,Cのアプリケーションサーバ50B,50Cは、自身においてそれぞれ規定の測位間隔よりも短い間隔で測位された位置情報を利用できる。   For example, it is assumed that the positioning interval of application A is every five minutes, the positioning interval of application B is one hour, and the positioning interval of application C is three hours. Here, when the application A has master authority, the position information measured at 5-minute intervals is written in the correspondence table 38T of the position information server 30. In each of the applications A to C, when use of the position information is permitted, “o” is displayed in the “application A”, “application B” and “application C” column of the permission setting information of the correspondence table 38T. Will be written. Thus, the position information server 30 can provide position information measured at an interval of 5 minutes to all of the application servers 50A to 50C of the applications A to C. In addition, the application servers 50B and 50C of the applications B and C can use the position information measured at intervals shorter than the predetermined positioning intervals.

図3に端末装置10の他の構成例を示す。端末装置10は、図2に示した構成に限らず、図3に示すように構成されていてもよい。図3の端末装置10は、複数のアプリケーション処理部120A、120B、120Cに対して1つの位置情報取得制御部122を有している。位置情報取得制御部122は、複数のアプリケーションに対応した1つの位置情報ライブラリとして実装される。   The other structural example of the terminal device 10 is shown in FIG. The terminal device 10 may be configured as shown in FIG. 3 without being limited to the configuration shown in FIG. The terminal device 10 of FIG. 3 includes one position information acquisition control unit 122 for the plurality of application processing units 120A, 120B, and 120C. The position information acquisition control unit 122 is implemented as one position information library corresponding to a plurality of applications.

図4に端末装置10のさらに他の構成例を示す。この端末装置10において、位置情報取得部160は、上述したGPS測位部16に加えて、加速度センサ161を含んでいる。加速度センサ161は、自装置である端末装置10に加わる加速度の変化に応じて物理量が変化する。この加速度センサ161は、半導体静電容量センサであってもよい。
なお、端末装置10は、自装置の挙動を検出するため、重力センサ、ジャイロセンサ、又は地磁気センサを含んでいてもよい。本実施形態においては、加速度センサ161のみを備えることを説明するが、これらの重力センサ、ジャイロセンサ、又は地磁気センサは、加速度センサ161と共に、又は、加速度センサ161に代えて備えていてもよい。
The further another structural example of the terminal device 10 is shown in FIG. In the terminal device 10, the position information acquisition unit 160 includes an acceleration sensor 161 in addition to the GPS positioning unit 16 described above. The physical quantity of the acceleration sensor 161 changes in accordance with the change of the acceleration applied to the terminal device 10 which is the own device. The acceleration sensor 161 may be a semiconductor capacitance sensor.
The terminal device 10 may include a gravity sensor, a gyro sensor, or a geomagnetic sensor to detect the behavior of the terminal device 10. In the present embodiment, although it is described that only the acceleration sensor 161 is provided, these gravity sensor, gyro sensor, or geomagnetic sensor may be provided together with the acceleration sensor 161 or in place of the acceleration sensor 161.

加速度センサ161により検出された加速度は、端末装置10の挙動に相当する。位置情報取得部160は、加速度センサ161により検出された挙動に基づいて自装置の移動を検出する。位置情報取得部160は、自装置の移動を検出したことに応じて移動量を更新する。この移動量は、実際の端末装置10の移動量とは異なり、端末装置10の挙動から推定される移動量である。この移動量は位置情報取得部160から処理部12に出力される。これにより、処理部12は、移動量に応じて変化する自装置の位置情報を記憶部18に蓄積することができる。   The acceleration detected by the acceleration sensor 161 corresponds to the behavior of the terminal device 10. The position information acquisition unit 160 detects the movement of the own device based on the behavior detected by the acceleration sensor 161. The position information acquisition unit 160 updates the movement amount in response to the detection of the movement of the own device. This movement amount is different from the actual movement amount of the terminal device 10, and is the movement amount estimated from the behavior of the terminal device 10. The movement amount is output from the position information acquisition unit 160 to the processing unit 12. Thereby, the processing unit 12 can store the position information of the own device, which changes according to the movement amount, in the storage unit 18.

なお、位置情報取得部160は、加速度センサ161における物理量の変化に基づいて自装置が移動したことを検知してもよい。位置情報取得部160は、自装置が移動したことを検知したことに応じて、位置情報取得制御部122により測位タイミングを判定させることができる。例えば、位置情報取得制御部122は、自装置が移動状態である場合に、測位タイミングであることを判定することができる。また、位置情報取得制御部122は、単位時間当たりの移動距離又は所定位置からの移動距離が所定距離(例えば100メートル)を超えている場合には、測位タイミングであることを判定することができる。   Note that the position information acquisition unit 160 may detect that the own device has moved based on a change in physical quantity in the acceleration sensor 161. The position information acquisition unit 160 can cause the position information acquisition control unit 122 to determine the positioning timing in response to the detection of the movement of the own device. For example, the position information acquisition control unit 122 can determine that it is a positioning timing when the own device is in a moving state. Further, the position information acquisition control unit 122 can determine that it is the positioning timing when the movement distance per unit time or the movement distance from the predetermined position exceeds a predetermined distance (for example, 100 meters). .

さらに位置情報取得制御部122は、通信部14が通信可能な通信エリアの識別子に基づいて測位タイミングを判定してもよい。この通信エリアの識別子としては、基地局のセルID又はWi−FiネットワークにおけるアクセスポイントIDが挙げられる。位置情報取得制御部122は、通信部14により検出された通信エリアの識別子が変更したことを判定したタイミングを、測位タイミングであると判定できる。   Furthermore, the position information acquisition control unit 122 may determine the positioning timing based on the identifier of the communication area in which the communication unit 14 can communicate. The identifier of the communication area may be a cell ID of a base station or an access point ID in a Wi-Fi network. The position information acquisition control unit 122 can determine that the timing at which it is determined that the identifier of the communication area detected by the communication unit 14 has changed is the positioning timing.

つぎに、端末装置10の動作を説明する。図5は、図2に示すように構成された端末装置10によって、マスタの権限を有する位置情報取得制御部122を決定するマスタ決定処理を行うかを判定するフローチャートである。図5はマスタ決定処理の処理手順を示すフローチャートである。   Next, the operation of the terminal device 10 will be described. FIG. 5 is a flowchart for determining whether or not to perform the master determination processing of determining the position information acquisition control unit 122 having the master authority by the terminal device 10 configured as shown in FIG. FIG. 5 is a flowchart showing the procedure of the master determination process.

先ず図5のステップS100において、端末装置10は、処理部12によって複数のアプリケーションプログラムを同時に起動しているか否かを判定する。複数のアプリケーションプログラムが起動している場合にはステップS102に処理を進める。1つのアプリケーションプログラムしか起動していない場合には、端末装置10は、この判定を繰り返す。   First, in step S100 in FIG. 5, the terminal device 10 determines whether the processing unit 12 is simultaneously activating a plurality of application programs. If a plurality of application programs are activated, the process proceeds to step S102. When only one application program has been started, the terminal device 10 repeats this determination.

ステップS102において、処理部12は、図6のマスタ決定処理を行う。このマスタ決定処理は、各位置情報取得制御部122の処理部12によって行うものとして説明する。なお、このマスタ決定処理は、あくまで一例であり、他の処理によってマスタとしての位置情報ライブラリを決定してよいのは勿論である。   In step S102, the processing unit 12 performs the master determination process of FIG. The master determination process is described as being performed by the processing unit 12 of each position information acquisition control unit 122. Note that this master determination process is merely an example, and it goes without saying that the position information library as the master may be determined by another process.

先ず図6のステップS200において、処理部12は、自装置の現在の動作モードが省電力モードであるか否かを判定する。このとき処理部12は、自装置における電池残量を参照する。処理部12は、電池残量が所定値以下である場合には省電力モードであることを判定する。省電力モードである場合にはステップS202に処理を進め、そうでない場合にはステップS204に処理を進める。なお、処理部12は、ユーザの操作によって省電力モードに設定されていることを検知してもよい。   First, in step S200 in FIG. 6, the processing unit 12 determines whether the current operation mode of the own device is the power saving mode. At this time, the processing unit 12 refers to the battery remaining amount in the own device. The processing unit 12 determines that the power saving mode is set when the battery remaining amount is equal to or less than a predetermined value. If it is the power saving mode, the process proceeds to step S202. If not, the process proceeds to step S204. Note that the processing unit 12 may detect that the power saving mode is set by the operation of the user.

次のステップS202において、処理部12は、省電力モードに対応したアプリケーションプログラムに付属された位置情報取得制御部122を、マスタの権限を有する位置情報取得制御部122に決定する。このとき処理部12は、バージョンが古いアプリケーションプログラムに付属された位置情報取得制御部122を、マスタの権限を有する位置情報取得制御部122に決定してもよい。処理部12は、取得する情報が少ないアプリケーションプログラムに付属された位置情報取得制御部122を、マスタの権限を有する位置情報取得制御部122に決定してもよい。処理部12は、マスタの権限を有する位置情報取得制御部122以外の位置情報取得制御部122を、スレーブの位置情報取得制御部122に決定する。   In the next step S202, the processing unit 12 determines the position information acquisition control unit 122 attached to the application program corresponding to the power saving mode as the position information acquisition control unit 122 having the master's authority. At this time, the processing unit 12 may determine the position information acquisition control unit 122 attached to the application program with the old version as the position information acquisition control unit 122 having the master's authority. The processing unit 12 may determine the position information acquisition control unit 122 attached to the application program with a small amount of information to be acquired as the position information acquisition control unit 122 having the authority of the master. The processing unit 12 determines the position information acquisition control unit 122 other than the position information acquisition control unit 122 having the authority of the master as the position information acquisition control unit 122 of the slave.

ステップS204において、処理部12は、所定のマスタ決定条件に合致する位置情報取得制御部122を検出する。所定のマスタ決定条件は、位置情報ライブラリをマスタの権限を有する位置情報取得制御部122とするための条件が予め設定されている。この所定のマスタ決定条件は、複数のアプリケーションのうち、GPS測位部16に起動要求を行う頻度が高いアプリケーションに付属した位置情報取得制御部122、であってもよい。この場合、処理部12は、アプリケーションプログラムの起動時間の履歴を含むデータを参照する。処理部12は、起動回数が最も多いアプリケーションを検出する。これにより処理部12は、起動回数が最も多いアプリケーションに付属した位置情報取得制御部122を、マスタ候補の位置情報取得制御部122として検出する。   In step S204, the processing unit 12 detects the position information acquisition control unit 122 that matches the predetermined master determination condition. As the predetermined master determination condition, a condition for making the position information library the position information acquisition control unit 122 having the authority of the master is set in advance. The predetermined master determination condition may be the position information acquisition control unit 122 attached to an application that frequently requests the GPS positioning unit 16 to start up among a plurality of applications. In this case, the processing unit 12 refers to data including the history of the activation time of the application program. The processing unit 12 detects an application with the largest number of activations. Thereby, the processing unit 12 detects the position information acquisition control unit 122 attached to the application with the largest number of activation times as the position information acquisition control unit 122 of the master candidate.

所定のマスタ決定条件は、複数のアプリケーションのうち最先に起動したアプリケーションに付属した位置情報取得制御部122、であってもよい。この場合、処理部12は、アプリケーションの起動時間の履歴を含むデータを参照する。処理部12は、現在起動しているアプリケーションのうち起動時刻が最も古いアプリケーションを検出する。起動時刻が最も古いアプリケーションに付属した位置情報取得制御部122を、マスタ候補の位置情報取得制御部122として検出する。   The predetermined master determination condition may be the position information acquisition control unit 122 attached to the application started first among the plurality of applications. In this case, the processing unit 12 refers to data including the history of the activation time of the application. The processing unit 12 detects an application having the oldest activation time among the currently activated applications. The position information acquisition control unit 122 attached to the application with the oldest start time is detected as the position information acquisition control unit 122 of the master candidate.

所定のマスタ決定条件は、複数の位置情報ライブラリのうちバージョンが最新の位置情報ライブラリ、であってもよい。この場合、処理部12は、複数のアプリケーションに付属している各位置情報ライブラリのバージョン情報を参照する。処理部12は、位置情報ライブラリのバージョン情報のうち最新のバージョン情報の位置情報ライブラリを検出する。処理部12は、最新のバージョン情報の位置情報ライブラリに対応した位置情報取得制御部122を、マスタ候補の位置情報取得制御部122として検出する。   The predetermined master determination condition may be a position information library whose version is the latest among the plurality of position information libraries. In this case, the processing unit 12 refers to version information of each position information library attached to a plurality of applications. The processing unit 12 detects the position information library of the latest version information among the version information of the position information library. The processing unit 12 detects the position information acquisition control unit 122 corresponding to the position information library of the latest version information as the position information acquisition control unit 122 of the master candidate.

なお、所定のマスタ決定条件には、他の条件も含まれていてもよい。処理部12は、インストール日時が最も古いアプリケーションプログラムであって、削除される可能性が低いアプリケーションプログラムに付属した位置情報取得制御部122を、マスタ候補の位置情報取得制御部122として検出してもよい。また、処理部12は、取得する位置情報の種別が最も多いアプリケーションに付属した位置情報取得制御部122を、マスタ候補の位置情報取得制御部122として検出してもよい。さらに処理部12は、測位頻度が最も多いアプリケーションに付属した位置情報取得制御部122を、マスタ候補の位置情報取得制御部122として検出してもよい。   The predetermined master determination condition may include other conditions. The processing unit 12 detects the position information acquisition control unit 122 attached to the application program with the oldest installed date and time and which is less likely to be deleted as the position information acquisition control unit 122 of the master candidate. Good. Further, the processing unit 12 may detect the position information acquisition control unit 122 attached to the application with the largest number of types of position information to be acquired as the position information acquisition control unit 122 of the master candidate. Furthermore, the processing unit 12 may detect the position information acquisition control unit 122 attached to the application with the highest positioning frequency as the master candidate position information acquisition control unit 122.

ステップS206において、処理部12は、ステップS204において検出された所定のマスタ決定条件に該当する位置情報取得制御部122を、マスタの権限を有する位置情報取得制御部122に決定する。処理部12は、マスタの権限を有する位置情報取得制御部122以外の位置情報取得制御部122を、スレーブの権限を有する位置情報取得制御部122に決定する。なお、処理部12は、マスタ候補の位置情報取得制御部122が複数検出された場合には、所定のマスタ決定条件に合致した数が多い位置情報取得制御部122を、マスタの権限を有する位置情報取得制御部122に決定してもよい。   In step S206, the processing unit 12 determines the position information acquisition control unit 122 corresponding to the predetermined master determination condition detected in step S204 as the position information acquisition control unit 122 having the authority of the master. The processing unit 12 determines the position information acquisition control unit 122 other than the position information acquisition control unit 122 having the master authority as the position information acquisition control unit 122 having the slave authority. When a plurality of position information acquisition control units 122 of the master candidate are detected, the processing unit 12 is a position where the position information acquisition control unit 122 having a large number of meeting the predetermined master determination condition has the authority of the master. It may be determined by the information acquisition control unit 122.

なお、この実施形態において、位置情報サーバ30がマスタの権限を有する位置情報取得制御部122を決定してもよい。位置情報サーバ30は、端末装置10から、起動しているアプリケーションの情報及びユーザが位置情報の利用を許可した許可情報を定めたリストを受信する。位置情報サーバ30は、受信したリストを参照して、位置情報の利用が許可され、かつ起動しているアプリケーションのうち、どのアプリケーションに付属している位置情報ライブラリがマスタとなるかを決定できる。位置情報サーバ30は、決定したマスタとなる位置情報ライブラリが付属しているアプリケーションを端末装置10に通知する。これにより端末装置10は、位置情報サーバ30によって決定されたアプリケーションに付属した位置情報ライブラリをマスタに設定できる。   In this embodiment, the position information server 30 may determine the position information acquisition control unit 122 having the authority of the master. The position information server 30 receives, from the terminal device 10, a list in which information of the activated application and permission information for which the user has permitted the use of the position information are defined. The position information server 30 refers to the received list and can determine which application is attached to which of the applications for which use of the position information is permitted and which has been activated becomes the master. The position information server 30 notifies the terminal device 10 of the application to which the determined position information library serving as the master is attached. Thus, the terminal device 10 can set the position information library attached to the application determined by the position information server 30 as the master.

なお、位置情報サーバ30は、定期的、決まった日時、あるいは前回送信したリストに変更が生じたタイミングに、端末装置10から、起動しているアプリケーションの情報及びユーザが位置情報の利用を許可した許可情報を定めたリストを受信してもよい。これにより、位置情報サーバ30は、起動しているアプリケーションやユーザが位置情報の利用を許可した許可情報に変化があった場合でも、端末装置10に、次のマスタを遅滞なく通知することができる。
また、位置情報サーバ30は、端末装置10から位置情報とともに充電の残量を示す情報を受信して、充電の残量が所定容量を下回った場合に、マスタを変更する指示を行ってもよい。
In addition, the position information server 30 allows the user of the information of the application and the user to use the position information from the terminal device 10 periodically, at a fixed date, or at a timing when the list transmitted last time is changed. A list defining permission information may be received. As a result, even if there is a change in the activated information or permission information for which the user has permitted the use of the position information, the position information server 30 can notify the terminal device 10 of the next master without delay. .
In addition, the position information server 30 may receive information indicating the remaining amount of charge from the terminal device 10 together with the position information, and may issue an instruction to change the master when the remaining amount of charge falls below a predetermined capacity. .

また、位置情報サーバ30は、端末装置10から受信した、起動しているアプリケーションの情報及びユーザが位置情報の利用を許可した許可情報を定めたリストに基づき、マスタとなる位置情報ライブラリが付属しているアプリケーションの順位を定めたリストを作成してもよい。これにより、端末装置10は、マスタの位置情報ライブラリが付属されたアプリケーションが削除された場合に、次の順位のアプリケーションに付属された位置情報ライブラリをマスタに決定することができる。   Further, the position information server 30 is attached with a position information library to be a master based on the information of the activated application received from the terminal device 10 and the list defining permission information that the user permitted the use of the position information. You may create a ranked list of applications. Thereby, the terminal device 10 can determine the position information library attached to the application of the next rank as the master when the application to which the position information library of the master is attached is deleted.

以上のように、処理部12は、複数の位置情報取得制御部122のうちいずれかの位置情報取得制御部122をマスタの権限を有する位置情報取得制御部122に決定できる。   As described above, the processing unit 12 can determine one of the plurality of position information acquisition control units 122 as the position information acquisition control unit 122 having the authority of the master.

図7は、端末装置10において、マスタの位置情報取得制御部122によって位置情報を取得させ、取得された位置情報を位置情報サーバ30に送信する処理手順を示すフローチャートである。   FIG. 7 is a flowchart showing a processing procedure for causing the position information acquisition control unit 122 of the master to acquire position information in the terminal device 10 and transmitting the acquired position information to the position information server 30.

先ずステップS300において、マスタの位置情報取得制御部122は、測位タイミングとなったか否かを判定する。測位タイミングは、自装置の位置情報を取得するタイミングである。測位タイミングは、予め自装置内に設定された時間間隔である。なお、測位タイミングは、位置情報サーバ30により指定された時間間隔であってもよい。   First, in step S300, the master position information acquisition control unit 122 determines whether or not positioning timing has come. Positioning timing is timing to acquire position information of the own device. The positioning timing is a time interval set in advance in the own device. The positioning timing may be a time interval designated by the position information server 30.

次のステップS302において、マスタの位置情報取得制御部122は、GPS測位部16に起動要求を出力する。これによりGPS測位部16は、GPS信号を受信して三角測量演算を行って自装置の位置を特定する。GPS測位部16は、特定した位置を位置情報として取得する。マスタの権限を有する位置情報取得制御部122には、GPS測位部16により取得された位置情報が供給される。マスタの権限を有する位置情報取得制御部122は、供給された位置情報を測位時刻と共に記憶部18に蓄積する。   In the next step S302, the master position information acquisition control unit 122 outputs a start request to the GPS positioning unit 16. Thereby, the GPS positioning unit 16 receives the GPS signal and performs triangulation calculation to specify the position of the own device. The GPS positioning unit 16 acquires the identified position as position information. The position information acquired by the GPS positioning unit 16 is supplied to the position information acquisition control unit 122 having the authority of the master. The position information acquisition control unit 122 having the authority of the master stores the supplied position information in the storage unit 18 together with the positioning time.

次のステップS304において、マスタの権限を有する位置情報取得制御部122は、ステップS302にて位置情報を取得したことをスレーブの権限を有する位置情報取得制御部122に通知する。   In the next step S304, the position information acquisition control unit 122 having the authority of the master notifies the position information acquisition control unit 122 having the authority of the slave that the position information has been acquired in step S302.

次のステップS306は、マスタの権限を有する位置情報取得制御部122は、スレーブの権限を有する位置情報取得制御部122から要求を受信したか否かを判定する。要求を受信した場合(ステップS306:YES)、マスタの権限を有する位置情報取得制御部122は、要求を送信したスレーブの権限を有する位置情報取得制御部122に、ステップS302にて蓄積した位置情報を出力する(ステップS308)。マスタの権限を有する位置情報取得制御部122は、要求を出力した全てのスレーブの権限を有する位置情報取得制御部122に位置情報を出力する。なお、ステップS304の通知後、スレーブの権限を有する位置情報取得制御部122から要求がなくなって所定時間が経過した場合には、タイムアウトしてステップS310に処理を進めてもよい。   In the next step S306, the position information acquisition control unit 122 having the authority of the master determines whether a request has been received from the position information acquisition control unit 122 having the authority of the slave. When the request is received (step S306: YES), the position information acquisition control unit 122 having the master authority transmits the position information accumulated in step S302 to the position information acquisition control unit 122 having the authority of the slave that transmitted the request. Are output (step S308). The position information acquisition control unit 122 having the authority of the master outputs the position information to the position information acquisition control unit 122 having the authority of all the slaves that have output the request. After the notification in step S304, when there is no request from the position information acquisition control unit 122 having the slave authority and the predetermined time has elapsed, the process may proceed to step S310 by timing out.

ステップS310において、マスタの権限を有する位置情報取得制御部122は、位置情報サーバ30への位置情報の送信タイミングであるか否かを判定する。位置情報の送信タイミングは、前回の送信タイミングから所定時間を経過した時である。所定時間は、予め自装置内で決定された時間である。なお、所定時間は、位置情報サーバ30により要求された時間間隔であってもよい。
位置情報の送信タイミングとなった場合(ステップS310:YES)、マスタの権限を有する位置情報取得制御部122は、位置情報サーバ30に未送信の位置情報を記憶部18から読み出して、位置情報サーバ30に送信させる(ステップS312)。送信タイミングではない場合、マスタの権限を有する位置情報取得制御部122は、処理をステップS300に戻す。
In step S310, the position information acquisition control unit 122 having the authority of the master determines whether or not it is a transmission timing of position information to the position information server 30. The transmission timing of the position information is when a predetermined time has elapsed from the previous transmission timing. The predetermined time is a time previously determined in the own device. The predetermined time may be a time interval requested by the position information server 30.
When it becomes the transmission timing of the position information (step S310: YES), the position information acquisition control unit 122 having the authority of the master reads out the position information not transmitted to the position information server 30 from the storage unit 18, and the position information server 30 (step S312). When it is not the transmission timing, the position information acquisition control unit 122 having the master's authority returns the process to step S300.

次に、図8を参照して、許諾設定情報を設定するための操作画面について説明する。図8は、許諾設定情報を設定するための操作画面の一例を示す図である。
操作画面は、端末装置10が位置情報サーバ30にアクセスすることにより、端末装置10に表示される画面であってもよく、端末装置10が所定のアドレスにアクセスすることにより端末装置10に表示される画面であってもよい。
図8に示す通り、許諾設定情報を設定するための操作画面には、「全アプリ許諾」B1、「許諾」B2、及び「非許諾」B3が表示される。「許諾」B2及び「非許諾」B3は、アプリケーションごとに設けられる。許諾設定情報を設定するための操作画面には、例えば、端末装置10においてインストールされているアプリケーションが表示されている。これに限られず、許諾設定情報を設定するための操作画面には、端末装置10において未だインストールされていないがインストール可能なアプリケーションが表示されてもよい。
Next, an operation screen for setting permission setting information will be described with reference to FIG. FIG. 8 is a diagram showing an example of an operation screen for setting permission setting information.
The operation screen may be a screen displayed on the terminal device 10 by the terminal device 10 accessing the position information server 30, and displayed on the terminal device 10 by the terminal device 10 accessing a predetermined address. Screen may be displayed.
As shown in FIG. 8, on the operation screen for setting the permission setting information, “all application permission” B1, “permission” B2, and “non-permission” B3 are displayed. The "permitted" B2 and the "not permitted" B3 are provided for each application. For example, an application installed in the terminal device 10 is displayed on the operation screen for setting the permission setting information. The present invention is not limited to this. On the operation screen for setting the permission setting information, an application that is not yet installed in the terminal device 10 but can be installed may be displayed.

「全アプリ許諾」B1は、操作画面に表示される全てのアプリケーションについて位置情報の利用を許諾するための操作を受け付ける操作部である。「全アプリ許諾」B1が指示された場合、許諾設定情報を設定するための操作画面に表示される全てのアプリケーションについての位置情報の利用を許諾するという設定を受け付ける。   The “all application permission” B1 is an operation unit that receives an operation for permitting use of position information for all the applications displayed on the operation screen. When "all application permission" B1 is instructed, the setting of permitting the use of the position information of all the applications displayed on the operation screen for setting the permission setting information is accepted.

「許諾」B2は、対応付けられたアプリケーションについて位置情報の利用を許諾するための操作を受け付ける操作部である。「許諾」B2が指示された場合、対応付けられたアプリケーションについての位置情報の利用を許諾するという設定を受け付ける。
「非許諾」B3は、対応付けられたアプリケーションについて位置情報の利用を許諾しないための操作を受け付ける操作部である。「非許諾」B3が指示された場合、対応付けられたアプリケーションについての位置情報の利用を許諾しないという設定を受け付ける。
The “permission” B2 is an operation unit that receives an operation for permitting use of the position information of the associated application. When the "permission" B2 is instructed, the setting of permitting the use of the position information of the associated application is accepted.
The “non-permission” B3 is an operation unit that receives an operation for not permitting use of the position information for the associated application. When "non-permission" B3 is instructed, the setting of not permitting the use of the position information of the associated application is accepted.

「許諾」B2及び「非許諾」B3と対応付けられたアプリケーションとは、「許諾」B2及び「非許諾」B3のそれぞれの操作画面内の左側に表示されたアプリケーションである。図示の例では、アプリAについては位置情報の利用が許諾されており、アプリB,Cについては位置情報の利用が許諾されていない。なお、「許諾」B2及び「非許諾」B3において、設定されている方の表示態様は、背景の色よりも文字の色の方が薄くなっている。一方、設定されていない方の表示態様は、判定表示されており、背景の色よりも文字の色の方が濃くなっている。
また、許諾設定情報を設定するための操作画面には、許諾された場合に外部装置に送信される情報の種類や、外部装置に情報を送信する目的、アプリケーションの種類ごとに各設定が可能であることなどが記載されている。
The applications associated with "permitted" B2 and "not permitted" B3 are applications displayed on the left side in the respective operation screens of "permitted" B2 and "not permitted" B3. In the illustrated example, use of the location information is permitted for the application A, and use of the location information is not permitted for the applications B and C. Note that, in the “permitted” B2 and “not permitted” B3, the display mode of the set one is lighter in the color of the text than in the background. On the other hand, the display mode of the one not set is judged and displayed, and the color of the text is darker than the color of the background.
In addition, on the operation screen for setting the permission setting information, each setting can be made for each type of information to be transmitted to the external device when permitted, the purpose for transmitting the information to the external device, and the type of application. Some things are described.

次に、図9を参照して、位置情報サーバ30の構成について説明する。図9は、実施形態に係る位置情報サーバ30の構成を示すブロック図である。位置情報サーバ30は、処理部32、第1通信部34、第2通信部36、及び記憶部38を含む。   Next, the configuration of the position information server 30 will be described with reference to FIG. FIG. 9 is a block diagram showing the configuration of the position information server 30 according to the embodiment. The position information server 30 includes a processing unit 32, a first communication unit 34, a second communication unit 36, and a storage unit 38.

第1通信部34は、端末装置10との間で通信を行う受信部と送信部とを備える。第1通信部34は、端末装置10から位置情報を受信する。また、第1通信部34は、許諾設定情報を端末装置10から受信する。
第2通信部36は、アプリケーションサーバ50との間で通信を行う受信部と送信部とを備える。第2通信部36は、ユーザにより位置情報の利用が許諾されているアプリケーションを提供するアプリケーションサーバ50に対して、位置情報を送信する。
The first communication unit 34 includes a receiver and a transmitter that communicate with the terminal device 10. The first communication unit 34 receives position information from the terminal device 10. Further, the first communication unit 34 receives the permission setting information from the terminal device 10.
The second communication unit 36 includes a receiving unit and a transmitting unit that communicate with the application server 50. The second communication unit 36 transmits the position information to the application server 50 that provides the application for which the use of the position information is permitted by the user.

記憶部38は、端末装置10から受信した位置情報等を記憶する。ここで、図10を参照して、記憶部38に格納される対応テーブル38Tの一例について説明する。図10は、記憶部38に格納される対応テーブル38Tの一例を示す図である。
図10に示す通り、対応テーブル38Tは、ユーザIDと、許諾設定情報と、位置情報と、ウェブ履歴情報と、プログラム実行履歴情報と、操作履歴情報と、充電履歴情報と、姿勢変化情報と、環境情報とを対応付けるテーブルである。
ユーザIDと、位置情報と、ウェブ履歴情報と、プログラム実行履歴情報と、操作履歴情報と、充電履歴情報と、姿勢変化情報と、環境情報とは、端末装置10から受信した情報である。許諾設定情報は、端末紐づけ方式の場合は端末装置10から受信される情報であり、サーバ紐づけ方式の場合は位置情報サーバ30が対応付ける情報である。
The storage unit 38 stores position information and the like received from the terminal device 10. Here, with reference to FIG. 10, an example of the correspondence table 38T stored in the storage unit 38 will be described. FIG. 10 is a diagram showing an example of the correspondence table 38T stored in the storage unit 38. As shown in FIG.
As shown in FIG. 10, the correspondence table 38T includes a user ID, permission setting information, position information, web history information, program execution history information, operation history information, charging history information, posture change information, It is a table which matches environmental information.
The user ID, the position information, the web history information, the program execution history information, the operation history information, the charging history information, the posture change information, and the environment information are information received from the terminal device 10. The permission setting information is information received from the terminal device 10 in the case of the terminal connection method, and is information to be associated with the position information server 30 in the case of the server connection method.

対応テーブル38Tにおいて、ユーザIDに対応付けられる許諾設定情報と位置情報との詳細について説明する。
許諾設定情報は、アプリケーションIDごとの列を含む。許諾設定情報は、端末装置10においてインストールされているアプリケーションの列だけで構成されていてもよく、位置情報サーバ30において認識している全てのアプリケーションの列を含むものでもよい。つまり、許諾設定情報は、端末装置10においてインストールされていないアプリケーションの列を含むものでもよい。許諾設定情報の各行には、位置情報ごとに、ユーザにより利用が許諾されているか否かを示す情報が格納されている。図示において、許諾設定情報(許諾)は“○”で示され、ユーザにより位置情報の利用が許諾されていることを示す。許諾設定情報(非許諾)は“−”で示され、ユーザにより位置情報の利用が許諾されていないことを示す。
位置情報は、緯度と経度を示す列と、測位時刻を示す列とを含む。
Details of the permission setting information and the position information associated with the user ID in the correspondence table 38T will be described.
The permission setting information includes a row for each application ID. The permission setting information may be composed of only the application sequence installed in the terminal device 10, or may include all application sequences recognized in the position information server 30. That is, the permission setting information may include a row of applications not installed in the terminal device 10. In each row of the permission setting information, information indicating whether or not use is permitted by the user is stored for each position information. In the drawing, the permission setting information (permission) is indicated by “o”, which indicates that the use of the position information is permitted by the user. The permission setting information (non-permission) is indicated by "-", which indicates that the use of the position information is not permitted by the user.
The position information includes a column indicating latitude and longitude, and a column indicating positioning time.

処理部32は、例えば、CPU等のプロセッサが、メモリに記憶されたプログラムを実行することにより機能するソフトウェア機能部である。また、これらの機能部のうち一部または全部は、LSIやASIC等のハードウェア機能部であってもよい。
処理部32は、抽出部321と認証部322とを有する。認証部322は、位置情報を要求するアプリケーションサーバ50が正当なアプリケーションサーバ50であるか否かを判定する。正当なアプリケーションサーバ50とは、位置情報の取得が許可されているサーバである。認証部322は、例えば、認証サーバ40と連携し、認証サーバ40により認証されたアプリケーションサーバ50を、正当なアプリケーションサーバ50であると判定する。なお、これに限られず、認証部322は、認証サーバ40が実行する認証処理と同様の処理を実行することにより、正当なアプリケーションサーバ50であるか否かを判定してもよい。正当なアプリケーションサーバ50であるか否かの認証は、IDとパスワードとの組み合わせに基づく認証であってもよく、IPアドレスを用いた認証であってもよい。
The processing unit 32 is, for example, a software function unit that functions when a processor such as a CPU executes a program stored in a memory. Also, some or all of these functional units may be hardware functional units such as LSI and ASIC.
The processing unit 32 includes an extraction unit 321 and an authentication unit 322. The authentication unit 322 determines whether the application server 50 that requests location information is a valid application server 50. The valid application server 50 is a server that is permitted to acquire location information. For example, the authentication unit 322 cooperates with the authentication server 40 and determines that the application server 50 authenticated by the authentication server 40 is a valid application server 50. The present invention is not limited to this, and the authentication unit 322 may determine whether or not the application server 50 is a valid application server by executing the same process as the authentication process performed by the authentication server 40. The authentication as to whether the application server 50 is valid may be authentication based on a combination of an ID and a password, or may be authentication using an IP address.

抽出部321は、記憶部38から、抽出条件を満たす位置情報を抽出する。抽出条件は、位置情報サーバ30又はアプリケーションサーバ50により任意に設定可能である。アプリケーションサーバ50により設定された場合、第2通信部36が、抽出条件を設定する情報を受信する。抽出部321は、第2通信部36が受信した情報により設定された抽出条件を満たす位置情報を抽出する。第2通信部36は、アプリケーションサーバ50により設定された抽出条件に基づき抽出された位置情報を、抽出条件を送信したアプリケーションサーバ50に送信する。   The extraction unit 321 extracts, from the storage unit 38, positional information that satisfies the extraction condition. The extraction condition can be arbitrarily set by the position information server 30 or the application server 50. When set by the application server 50, the second communication unit 36 receives the information for setting the extraction condition. The extraction unit 321 extracts position information that satisfies the extraction condition set by the information received by the second communication unit 36. The second communication unit 36 transmits the position information extracted based on the extraction condition set by the application server 50 to the application server 50 that has transmitted the extraction condition.

例えば、抽出条件としてアプリケーションが設定された場合、抽出部321は、許諾設定情報(許諾)と対応付けられた位置情報のうち、抽出条件として設定されたアプリケーションと対応付けられた位置情報を抽出する。具体的に説明すると、抽出部321は、対応テーブル38Tを参照して、抽出条件として設定されたアプリケーションのうち位置情報の利用が許諾されたことを示す“○”が書き込まれたアプリケーションと対応付けられた位置情報を抽出する。これにより、抽出部321は、設定されたアプリケーションに対応する位置情報であって、利用が許諾されている位置情報を抽出し、アプリケーションサーバ50に送信することができる。よって、アプリケーションサーバ50は、ユーザが利用を許諾した位置情報のうち、自身のアプリケーションについての位置情報しか取得し、表示することができない。
なお、これに限られず、抽出部321は、許諾設定情報を参照して、抽出条件として設定されたアプリケーションのうち位置情報の利用が許諾されたアプリケーションを抽出してもよい。例えば、抽出部321は、対応テーブル38Tにおいて、位置情報に含まれる測位時刻に基づき、許諾設定情報において利用が許諾されている期間内に測位された位置情報を抽出する。
For example, when an application is set as the extraction condition, the extraction unit 321 extracts the position information associated with the application set as the extraction condition out of the position information associated with the permission setting information (permission). . Specifically, the extraction unit 321 refers to the correspondence table 38T and associates the application set as the extraction condition with the application in which “o” indicating that use of the position information is permitted is written. Extracted location information. Thus, the extraction unit 321 can extract the position information corresponding to the set application and permitted to be used, and can transmit the position information to the application server 50. Therefore, the application server 50 can obtain and display only the position information on its own application among the position information for which the user has permitted use.
The present invention is not limited to this, and the extraction unit 321 may extract the application for which the use of the position information is permitted among the applications set as the extraction condition with reference to the permission setting information. For example, in the correspondence table 38T, the extraction unit 321 extracts the position information positioned within the period in which the use is permitted in the permission setting information, based on the positioning time included in the position information.

また、抽出部321は、抽出条件として設定されたアプリケーションの利用を許諾したユーザを示すユーザIDに基づき、ユーザIDと対応付けられるユーザの属性情報を参照して、設定されたアプリケーションの利用が許諾したユーザの属性を抽出してもよい。これにより、特定のアプリケーションの利用を許諾したユーザの属性を抽出することができる。   Further, the extraction unit 321 refers to the user's attribute information associated with the user ID based on the user ID indicating the user who has permitted the use of the application set as the extraction condition, and the use of the set application is permitted. You may extract the attribute of the user who has Thereby, it is possible to extract the attribute of the user who has permitted the use of the specific application.

例えば、抽出条件としてユーザの属性が設定された場合、抽出部321は、ユーザIDと対応付けられるユーザの属性情報を参照して、抽出条件として設定されたユーザの属性を満たすユーザのユーザIDと対応付けられた位置情報を抽出する。具体的に説明すると、抽出部321は、対応テーブル38Tを参照して、設定されたユーザの属性と対応付けられたユーザIDを検索し、検索により得たユーザIDと対応付けられている位置情報を抽出する。なお、ユーザIDと対応付けられるユーザの属性情報は、記憶部38に記憶されていてもよく、外部のサーバに記憶されていてもよい。ユーザの属性情報には、例えば、年齢、性別、嗜好、住んでいる地域、よく出かける地域等が含まれる。これにより、抽出部321は、設定された属性を有するユーザが存在した位置を示す位置情報を抽出することができる。
ここで、抽出部321は、対応テーブル38Tを参照して、抽出条件として設定されたユーザの属性を満たすユーザのユーザIDと対応付けられた位置情報のうち、許諾設定情報(許諾)と対応付けられた位置情報を抽出してもよい。
For example, when the attribute of the user is set as the extraction condition, the extraction unit 321 refers to the attribute information of the user associated with the user ID, and the user ID of the user satisfying the attribute of the user set as the extraction condition Extract the associated position information. Specifically, the extraction unit 321 refers to the correspondence table 38T to search for a user ID associated with the set user attribute, and position information associated with the user ID obtained by the search. Extract The attribute information of the user associated with the user ID may be stored in the storage unit 38 or may be stored in an external server. The attribute information of the user includes, for example, age, gender, preference, area in which the user lives, area in which the user often goes, and the like. Thus, the extraction unit 321 can extract position information indicating the position where the user having the set attribute is present.
Here, the extraction unit 321 refers to the correspondence table 38T and associates with the permission setting information (permission) among the position information associated with the user ID of the user satisfying the user attribute set as the extraction condition. The extracted position information may be extracted.

例えば、抽出条件として時刻又は期間が設定された場合、抽出部321は、位置情報に含まれる測位時刻を参照して、抽出条件として設定された時刻又は期間に測位された位置情報を抽出する。具体的に説明すると、抽出部321は、対応テーブル38Tを参照して、設定された時刻又は時間に合致する測位時刻を含む位置情報を抽出する。時刻に合致するとは、設定された時刻と一致する場合であってもよく、設定された時刻を含む所定の期間に含まれる場合とを含む。時間に合致するとは、例えば、12時から13時までのように、設定された時間内に含まれる場合をいう。これにより、抽出部321は、設定された時刻又は期間に端末装置10が存在した位置を示す位置情報を抽出することができる。
ここで、抽出部321は、対応テーブル38Tを参照して、抽出条件として設定された時刻又は期間に測位された位置情報のうち、許諾設定情報(許諾)と対応付けられた位置情報を抽出してもよい。
また、抽出部321は、設定された時刻又は時間に位置情報を送信した端末装置10を示す端末IDに基づき、端末IDと対応付けられるユーザの属性情報を参照して、設定された時刻又は時間に位置情報を送信した端末装置10のユーザの属性を抽出してもよい。これにより、特定の時刻又は時間に位置情報を送信した端末装置10のユーザの属性を抽出することができる。
For example, when the time or period is set as the extraction condition, the extraction unit 321 refers to the positioning time included in the position information, and extracts the position information positioned at the time or period set as the extraction condition. Specifically, the extraction unit 321 refers to the correspondence table 38T, and extracts position information including positioning time that matches the set time or time. To match the time may be the case where it matches the set time, and includes the case where it is included in a predetermined period including the set time. To match the time means, for example, a case of being included in a set time, such as 12 o'clock to 13 o'clock. Thereby, the extraction part 321 can extract the positional information which shows the position where the terminal device 10 existed in the set time or period.
Here, the extraction unit 321 refers to the correspondence table 38T to extract position information associated with the permission setting information (license) among the position information measured at the time or period set as the extraction condition. May be
Further, the extraction unit 321 refers to the attribute information of the user associated with the terminal ID based on the terminal ID indicating the terminal device 10 that has transmitted the position information at the set time or time, and the set time or time The attribute of the user of the terminal device 10 that has transmitted the position information to may be extracted. Thereby, the attribute of the user of the terminal device 10 that has transmitted the position information at a specific time or time can be extracted.

例えば、抽出条件として場所が設定された場合、抽出部321は、地図データを参照して、抽出条件として設定された場所を含む所定範囲内に該当する位置情報を抽出する。具体的に説明すると、抽出部321は、対応テーブル38Tを参照して、抽出条件として設定された場所の緯度と経度を中心として所定半径の範囲内に含まれる緯度と経度の位置情報を抽出する。抽出条件として設定される場所としては、例えば、駅、ランドマーク等の施設、山、川、海等が含まれる。地図データは、記憶部38に記憶されていてもよく、外部のサーバに記憶されていてもよい。これにより、抽出部321は、設定された場所、または、設定された場所の周辺に存在した端末装置10の位置を示す位置情報を抽出することができる。
ここで、抽出部321は、対応テーブル38Tを参照して、抽出条件として設定された場所を含む所定範囲内に該当する位置情報のうち、許諾設定情報(許諾)と対応付けられた位置情報を抽出してもよい。
また、抽出部321は、設定された場所に存在した端末装置10を示す端末IDに基づき、端末IDと対応付けられるユーザの属性情報を参照して、設定された場所に存在したユーザの属性を抽出してもよい。これにより、特定の場所に存在したユーザの属性を抽出することができる。
For example, when a place is set as the extraction condition, the extraction unit 321 refers to the map data to extract position information that falls within a predetermined range including the place set as the extraction condition. Specifically, the extraction unit 321 refers to the correspondence table 38T, and extracts positional information of latitude and longitude included in a range of a predetermined radius centering on the latitude and longitude of the place set as the extraction condition. . As a place set as extraction conditions, facilities, such as a station and a landmark, a mountain, a river, the sea etc. are contained, for example. The map data may be stored in the storage unit 38 or may be stored in an external server. As a result, the extraction unit 321 can extract position information indicating the position of the terminal device 10 existing at or near the set place.
Here, the extraction unit 321 refers to the correspondence table 38T, and among the position information that falls within the predetermined range including the place set as the extraction condition, the position information associated with the permission setting information (license) You may extract.
Further, the extraction unit 321 refers to the attribute information of the user associated with the terminal ID based on the terminal ID indicating the terminal device 10 existing in the set location, and the attribute of the user existing in the set location You may extract. Thereby, the attribute of the user who existed in the specific place can be extracted.

例えば、抽出条件として施設のカテゴリが設定された場合、抽出部321は、地図データを参照して、抽出条件として設定されたカテゴリの施設の所在地を含む所定範囲内に該当する位置情報を抽出する。具体的に説明すると、抽出部321は、対応テーブル38Tを参照して、抽出条件として設定されたカテゴリの施設の緯度と経度を中心として所定半径の範囲内に含まれる緯度と経度の位置情報を抽出する。なお、抽出条件として設定されたカテゴリの施設は、複数ある場合が想定される。抽出部321は、少なくとも何れか一つの施設を中心とした所定範囲内に含まれる位置情報を抽出する。抽出条件として設定されるカテゴリとしては、例えば、飲食店、コンビニエンスストア、本屋、駐車場、スーパー、保育園、学校等が含まれる。また、施設のカテゴリには、店舗の名称、駐車場の名称等も含まれる。これにより、抽出部321は、設定されたカテゴリの施設に存在した端末装置10の位置を示す位置情報を抽出することができる。例えば、カテゴリとしてコンビニエンスストアが設定された場合、抽出部321は、異なる店名のコンビニエンスストアに存在した端末装置10の位置を示す位置情報を抽出することができる。
ここで、抽出部321は、対応テーブル38Tを参照して、抽出条件として設定されたカテゴリの施設の所在地を含む所定範囲内に該当する位置情報のうち、許諾設定情報(許諾)と対応付けられた位置情報を抽出してもよい。
また、抽出部321は、設定されたカテゴリの施設に存在した端末装置10を示す端末IDに基づき、端末IDと対応付けられるユーザの属性情報を参照して、設定されたカテゴリの施設に存在したユーザの属性を抽出してもよい。これにより、特定のカテゴリの施設に存在したユーザの属性を抽出することができる。
For example, when the category of the facility is set as the extraction condition, the extraction unit 321 refers to the map data to extract position information corresponding to a predetermined range including the location of the facility of the category set as the extraction condition. . Specifically, referring to the correspondence table 38T, the extraction unit 321 refers to the latitude and longitude position information included in the range of a predetermined radius centering on the latitude and longitude of the facility of the category set as the extraction condition. Extract. In addition, the case where there are two or more facilities of the category set as extraction conditions is assumed. The extraction unit 321 extracts position information included in a predetermined range centered on at least one facility. As a category set as extraction conditions, for example, a restaurant, a convenience store, a bookstore, a parking lot, a supermarket, a nursery school, a school, etc. are included. Also, the category of facility includes the name of a store, the name of a parking lot, and the like. Thereby, the extraction part 321 can extract the positional information which shows the position of the terminal device 10 which existed in the plant | facility of the set category. For example, when a convenience store is set as a category, the extraction unit 321 can extract position information indicating the position of the terminal device 10 present in a convenience store having a different store name.
Here, the extraction unit 321 refers to the correspondence table 38T, and is associated with permission setting information (permission) among position information that falls within a predetermined range including the location of the facility of the category set as the extraction condition. Location information may be extracted.
Further, the extraction unit 321 refers to the user's attribute information associated with the terminal ID based on the terminal ID indicating the terminal device 10 existing in the facility of the set category, and exists in the facility of the set category. User attributes may be extracted. Thereby, the attribute of the user who existed in the facility of a specific category can be extracted.

例えば、抽出条件としてウェブサイトが設定された場合、抽出部321は、ウェブ履歴情報を参照して、例えば、抽出条件として設定されたウェブサイトにアクセスした端末装置10の位置を示す位置情報を抽出する。具体的に説明すると、抽出部321は、対応テーブル38Tを参照して、設定されたウェブサイトへのアクセス履歴を示すウェブ履歴情報と対応付けられた位置情報を抽出する。これにより、特定のウェブサイトにアクセスした端末装置10の位置を示す位置情報を、そのウェブサイト情報とともに抽出することができる。
ここで、抽出部321は、対応テーブル38Tを参照して、位置情報の利用が許諾されているアプリケーション又はアプリケーションサーバ50の許諾設定情報に基づき、抽出条件として設定されたウェブサイトにアクセスした端末装置10の位置を示す位置情報を抽出してもよい。
また、抽出部321は、設定されたウェブサイトにアクセスした端末装置10を示す端末IDに基づき、端末IDと対応付けられるユーザの属性情報を参照して、設定されたウェブサイトにアクセスしたユーザの属性を抽出してもよい。これにより、特定のウェブサイトにアクセスしたユーザの属性を抽出することができる。
For example, when a website is set as the extraction condition, the extraction unit 321 refers to the web history information and extracts, for example, position information indicating the position of the terminal device 10 that has accessed the website set as the extraction condition. Do. Specifically, the extraction unit 321 refers to the correspondence table 38T, and extracts position information associated with web history information indicating a set access history to a website. Thereby, the position information which shows the position of the terminal device 10 which accessed the specific website can be extracted with the website information.
Here, the extraction unit 321 refers to the correspondence table 38T, and based on the permission setting information of the application or application server 50 for which the use of the position information is permitted, the terminal device that has accessed the website set as the extraction condition Position information indicating 10 positions may be extracted.
Further, the extraction unit 321 refers to the attribute information of the user associated with the terminal ID based on the terminal ID indicating the terminal device 10 that has accessed the set website, and the user who has accessed the set website Attributes may be extracted. Thereby, the attribute of the user who accessed the specific website can be extracted.

例えば、抽出条件としてプログラムの種類又は名称が設定された場合、抽出部321は、プログラム実行履歴情報を参照して、抽出条件として設定された種類又は名称のプログラムを端末装置10が実行した位置を示す位置情報を抽出する。具体的に説明すると、抽出部321は、対応テーブル38Tを参照して、設定されたプログラムを示すプログラム実行履歴情報と対応付けられた位置情報を抽出する。これにより、特定のプログラムを実行した端末装置10の位置を示す位置情報を抽出することができる。
ここで、抽出部321は、対応テーブル38Tを参照して、抽出条件として設定された種類又は名称のプログラムを端末装置10が実行した位置を示す位置情報のうち、許諾設定情報(許諾)と対応付けられた位置情報を抽出してもよい。
また、抽出部321は、設定されたプログラムを実行した端末装置10を示す端末IDに基づき、端末IDと対応付けられるユーザの属性情報を参照して、設定されたプログラムを実行したユーザの属性を抽出してもよい。これにより、特定のプログラムを実行したユーザの属性を抽出することができる。
For example, when the type or name of the program is set as the extraction condition, the extraction unit 321 refers to the program execution history information and determines the position where the terminal device 10 executes the program of the type or name set as the extraction condition. Extract location information to indicate. Specifically, the extraction unit 321 refers to the correspondence table 38T to extract position information associated with program execution history information indicating a set program. Thereby, the position information which shows the position of the terminal device 10 which ran the specific program can be extracted.
Here, the extraction unit 321 refers to the correspondence table 38T, and corresponds to the permission setting information (permission) among the position information indicating the position where the terminal apparatus 10 executes the program of the type or name set as the extraction condition. The attached position information may be extracted.
Further, the extraction unit 321 refers to the attribute information of the user associated with the terminal ID based on the terminal ID indicating the terminal device 10 that has executed the set program, and the attribute of the user who has executed the set program. You may extract. Thereby, the attribute of the user who has executed the specific program can be extracted.

例えば、抽出条件としてユーザによる操作の種類又は名称が設定された場合、抽出部321は、操作履歴情報を参照して、抽出条件として設定された種類又は名称の操作を端末装置10がユーザから受け付けた位置を示す位置情報を抽出する。具体的に説明すると、抽出部321は、対応テーブル38Tを参照して、設定された操作を示す操作履歴情報と対応付けられた位置情報を抽出する。これにより、特定の操作が端末装置10に入力された位置を示す位置情報を抽出することができる。
ここで、抽出部321は、対応テーブル38Tを参照して、抽出条件として設定された種類又は名称の操作を端末装置10がユーザから受け付けた位置を示す位置情報のうち、許諾設定情報(許諾)と対応付けられた位置情報を抽出してもよい。
また、抽出部321は、設定された操作を受け付けた端末装置10を示す端末IDに基づき、端末IDと対応付けられるユーザの属性情報を参照して、設定された操作を入力したユーザの属性を抽出してもよい。これにより、特定の操作を入力したユーザの属性を抽出することができる。
For example, when the type or name of the operation by the user is set as the extraction condition, the extraction unit 321 refers to the operation history information, and the terminal device 10 receives an operation of the type or name set as the extraction condition from the user It extracts position information that indicates the Specifically, the extraction unit 321 refers to the correspondence table 38T to extract position information associated with the operation history information indicating the set operation. Thereby, the position information which shows the position where specific operation was input into the terminal device 10 can be extracted.
Here, the extraction unit 321 refers to the correspondence table 38T, and among the position information indicating the position at which the terminal device 10 receives the operation of the type or name set as the extraction condition from the user, permission setting information (permission) The position information associated with may be extracted.
Further, the extraction unit 321 refers to the attribute information of the user associated with the terminal ID based on the terminal ID indicating the terminal device 10 that has received the set operation, and the attribute of the user who has input the set operation You may extract. Thereby, the attribute of the user who has input the specific operation can be extracted.

例えば、抽出条件として充電状態であることが設定された場合、抽出部321は、充電履歴情報を参照して、端末装置10が充電状態であった位置を示す位置情報を抽出する。具体的に説明すると、抽出部321は、対応テーブル38Tを参照して、充電が開始した時刻から終了した時刻までの間に測位時刻が含まれる位置情報を抽出する。これにより、端末装置10が充電された位置を示す位置情報を抽出することができる。
ここで、抽出部321は、対応テーブル38Tを参照して、端末装置10が充電状態であった位置を示す位置情報のうち、許諾設定情報(許諾)と対応付けられた位置情報を抽出してもよい。
また、抽出部321は、充電状態にあった端末装置10を示す端末IDに基づき、端末IDと対応付けられるユーザの属性情報を参照して、充電状態にあった端末装置10のユーザの属性を抽出してもよい。これにより、充電しているユーザの属性を抽出することができる。
For example, when it is set that it is a charge state as extraction conditions, extraction part 321 extracts position information which shows a position where terminal unit 10 was in a charge state with reference to charge history information. Specifically, the extraction unit 321 refers to the correspondence table 38T, and extracts position information in which the positioning time is included between the time when charging starts and the time when charging ends. Thereby, the position information which shows the position by which the terminal device 10 was charged can be extracted.
Here, the extraction unit 321 refers to the correspondence table 38T to extract position information associated with the permission setting information (permission) among the position information indicating the position where the terminal device 10 was in the charging state. It is also good.
Further, the extraction unit 321 refers to the attribute information of the user associated with the terminal ID based on the terminal ID indicating the terminal device 10 in the charged state, and the attribute of the user of the terminal device 10 in the charged state You may extract. Thereby, the attribute of the user who is charging can be extracted.

例えば、抽出条件として姿勢の変化が設定された場合、抽出部321は、姿勢変化情報を参照して、端末装置10の姿勢が変化した位置を示す位置情報を抽出する。具体的に説明すると、抽出部321は、対応テーブル38Tを参照して、姿勢変化情報と対応付けられている位置情報を抽出する。これにより、端末装置10の姿勢が変化した位置を示す位置情報を抽出することができる。なお、姿勢変化情報に、どのように姿勢が変化したのかが示される場合、抽出部321は、端末装置10の姿勢が抽出条件として設定された姿勢変化の条件を満たした位置を示す位置情報を抽出してもよい。また、抽出部321は、姿勢変化情報に基づき、ユーザの状態を判定してもよい。例えば、抽出部321は、姿勢変化情報が示す時系列の変化に基づき、ユーザが移動中であるか、または、ユーザが走行中であるかを判定する。抽出条件として、ユーザの状態が走行中であることが設定されている場合、抽出部321は、ユーザが走行中であることを示す姿勢変化情報と対応付けられている位置情報を抽出する。
ここで、抽出部321は、対応テーブル38Tを参照して、端末装置10の姿勢が変化した位置を示す位置情報のうち、許諾設定情報(許諾)と対応付けられた位置情報を抽出してもよい。
また、抽出部321は、姿勢変化情報と対応付けられた端末IDに基づき、端末IDと対応付けられるユーザの属性情報を参照して、姿勢が変化した端末装置10のユーザの属性を抽出してもよい。これにより、移動中やジョギング中であったユーザの属性を抽出することができる。
For example, when a change in posture is set as the extraction condition, the extraction unit 321 refers to the posture change information to extract position information indicating a position at which the posture of the terminal device 10 has changed. Specifically, the extraction unit 321 refers to the correspondence table 38T to extract position information associated with posture change information. Thereby, the position information which shows the position where the attitude | position of the terminal device 10 changed can be extracted. When the posture change information indicates how the posture has changed, the extraction unit 321 indicates position information indicating a position at which the posture of the terminal device 10 satisfies the posture change condition set as the extraction condition. You may extract. The extraction unit 321 may also determine the state of the user based on the posture change information. For example, the extraction unit 321 determines whether the user is moving or the user is traveling based on the time-series change indicated by the posture change information. When it is set that the state of the user is traveling as the extraction condition, the extraction unit 321 extracts position information associated with posture change information indicating that the user is traveling.
Here, the extraction unit 321 refers to the correspondence table 38T and extracts position information associated with permission setting information (permission) among position information indicating a position at which the attitude of the terminal device 10 has changed. Good.
Further, the extraction unit 321 extracts the attribute of the user of the terminal device 10 whose attitude has changed, by referring to the attribute information of the user associated with the terminal ID, based on the terminal ID associated with the attitude change information. It is also good. In this way, it is possible to extract the attributes of the user who was moving or jogging.

例えば、抽出条件としていずれかの環境条件が設定された場合、抽出部321は、環境情報を参照して、抽出条件として設定された環境条件を満たした位置を示す位置情報を抽出する。具体的に説明すると、抽出部321は、対応テーブル38Tを参照して、設定された環境条件を満たす環境情報と対応付けられた位置情報を抽出する。これにより、設定された環境条件に存在した可能性の高い端末装置10の位置を示す位置情報を抽出することができる。例えば、所定の施設では、場所を示す識別情報を含む可聴音又は不可聴音を出力する。この施設に存在する端末装置10は、集音した可聴音または不可聴音から識別情報を抽出し、位置情報サーバ30に出力する。このように、場所を示す識別情報を含む可聴音または不可聴音を出力している施設の位置を把握したい場合、抽出条件として、場所を示す識別情報を端末装置10が受信したことを設定する。これにより、抽出部321は、抽出条件を満たす施設の位置を示す位置情報を抽出することができる。
ここで、抽出部321は、対応テーブル38Tを参照して、抽出条件として設定された環境条件を満たす環境情報を端末装置10が取得した位置を示す位置情報のうち、許諾設定情報(許諾)と対応付けられた位置情報を抽出してもよい。
また、抽出部321は、環境条件を満たす環境に存在した端末装置10を示す端末IDに基づき、端末IDと対応付けられるユーザの属性情報を参照して、環境条件を満たす環境に存在したユーザの属性を抽出してもよい。これにより、環境条件を満たす環境に存在したユーザの属性を抽出することができる。
For example, when one of the environmental conditions is set as the extraction condition, the extraction unit 321 refers to the environmental information to extract position information indicating a position satisfying the environmental condition set as the extraction condition. Specifically, the extraction unit 321 refers to the correspondence table 38T to extract position information associated with environmental information that satisfies the set environmental conditions. In this way, it is possible to extract position information indicating the position of the terminal device 10 that is likely to exist in the set environmental conditions. For example, in a predetermined facility, an audible or inaudible sound including identification information indicating a place is output. The terminal device 10 present in this facility extracts identification information from the collected audible sound or inaudible sound, and outputs the identification information to the position information server 30. As described above, when it is desired to grasp the position of the facility outputting the audible sound or the inaudible sound including the identification information indicating the place, it is set that the terminal device 10 has received the identification information indicating the place as the extraction condition. Thus, the extraction unit 321 can extract position information indicating the position of the facility that satisfies the extraction condition.
Here, the extraction unit 321 refers to the correspondence table 38T and, among the position information indicating the position at which the terminal device 10 has acquired, the environment information satisfying the environmental condition set as the extraction condition and the permission setting information (license) The associated position information may be extracted.
Further, the extraction unit 321 refers to the attribute information of the user associated with the terminal ID based on the terminal ID indicating the terminal device 10 existing in the environment satisfying the environmental condition, and the extraction unit 321 refers to the user Attributes may be extracted. Thereby, the attribute of the user who existed in the environment which satisfy | fills environmental conditions can be extracted.

抽出部321は、抽出した情報に基づき、端末装置10を所有するユーザの行動を解析する解析処理を実行してもよい。   The extraction unit 321 may execute analysis processing for analyzing the action of the user who owns the terminal device 10 based on the extracted information.

なお、処理部32の抽出部321は、アプリケーションサーバ50からの要求に応じて、位置情報をアプリケーションサーバ50に送信することに限られない。例えば、アプリケーションサーバ50は、将来の期間又は日時を位置情報サーバ30に対して指定し、指定した期間又は日時に測位された位置情報を要求してもよい。位置情報サーバ30は、アプリケーションサーバ50により指定された期間又は日時を経過した場合、指定された期間又は日時に測位された位置情報やユーザID等を抽出し、アプリケーションサーバ50に送信する。   The extracting unit 321 of the processing unit 32 is not limited to transmitting the position information to the application server 50 in response to a request from the application server 50. For example, the application server 50 may designate a future period or date and time for the location information server 30, and request location information located at the designated period or date and time. When the period or date and time designated by the application server 50 has passed, the location information server 30 extracts position information, a user ID, and the like positioned at the designated period or date and transmits the information to the application server 50.

次に、サーバ紐づけ方式が採用されているシステムにおいて、位置情報と許諾設定情報とを対応付ける一例について説明する。
例えば、処理部32は、記憶部38に記憶されている許諾設定情報に基づき、許諾期間内に測位された位置情報の利用を許可するアプリケーションがあるか否かを判定する。処理部32は、位置情報の利用を許可するアプリケーションがあると判定した場合、許諾設定情報(許諾)を対応付ける。
例えば、位置情報P1の測位時刻が、アプリAの許諾期間に含まれ、アプリB,Cの許諾期間に含まれていないとする。この場合、処理部32は、許諾設定情報に基づき、対応テーブル38Tにおいて位置情報P1と対応する許諾設定情報の欄のうち、アプリAの欄に“○”を、アプリB,Cの欄に“−”を、それぞれ書き込む。なお、許諾設定情報において、許諾期間が変更された場合、処理部32は、変更後の許諾設定情報に基づき、対応テーブル38Tの許諾設定情報を書き換える。
Next, an example in which position information and permission setting information are associated with each other in a system in which the server connection method is adopted will be described.
For example, based on the permission setting information stored in the storage unit 38, the processing unit 32 determines whether there is an application that permits the use of the position information positioned within the permission period. If the processing unit 32 determines that there is an application that permits the use of the position information, the processing unit 32 associates permission setting information (permission).
For example, it is assumed that the positioning time of the position information P1 is included in the permission period of the application A and not included in the permission periods of the applications B and C. In this case, based on the permission setting information, the processing unit 32 sets “○” in the column of application A in the column of permission setting information corresponding to the position information P1 in the correspondence table 38T, and in the column of applications B and C. Write "-" respectively. When the permission period is changed in the permission setting information, the processing unit 32 rewrites the permission setting information of the correspondence table 38T based on the changed permission setting information.

なお、上述において、許諾設定情報が位置情報の利用の許諾または非許諾を示す情報である例について説明したが、限られない。例えば、許諾設定情報は、ウェブ履歴情報、プログラム実行履歴情報、操作履歴情報、充電履歴情報、姿勢変化情報、環境情報のうち少なくとも1つの利用を許諾するか否かを示す情報を含んでもよい。これら情報についても、各ユーザが、利用を許諾するか否かを設定できる。また、ユーザは、これらの情報についての利用の許諾又は非許諾について、アプリケーションごとに設定することもできる。これらの利用が許諾されている場合、位置情報サーバ30の抽出部321は、利用が許諾されている情報を利用して、位置情報を抽出することができる。   In the above, an example in which the permission setting information is information indicating permission or non-permission of use of position information has been described, but the present invention is not limited thereto. For example, the permission setting information may include information indicating whether to permit the use of at least one of web history information, program execution history information, operation history information, charging history information, posture change information, and environment information. With respect to these pieces of information, each user can set whether to permit the use. The user can also set for each application the permission or non-permission of usage of the information. When the use is permitted, the extraction unit 321 of the position information server 30 can extract the position information using the information for which the use is permitted.

以上のように、位置情報サーバ30によれば、位置情報の利用を許諾されたアプリケーション及びアプリケーションサーバ50がそれぞれ個別に位置情報を記憶し管理することなく、ユーザごとに記憶した1セットの位置情報を、複数のアプリケーション及びアプリケーションサーバ50に共通して利用させることができる。これにより、位置情報の管理の効率化、サーバ容量の削減が可能となる。   As described above, according to the position information server 30, one set of position information stored for each user without the application and the application server 50 that are permitted to use the position information individually storing and managing the position information Can be commonly used by a plurality of applications and application servers 50. This makes it possible to improve management of location information and reduce server capacity.

また、位置情報サーバ30によれば、位置情報の利用の許諾期間に含まれている限り、アプリケーション及びアプリケーションサーバ50は、その期間内の位置情報を利用できる。これにより、自身のアプリケーション及びアプリケーションサーバ50で設定された位置情報の項目以外の情報や測位タイミング以外の情報を取得することができる。   Further, according to the position information server 30, as long as the application and application server 50 is included in the permission period of use of the position information, the position information within the period can be used. As a result, it is possible to acquire information other than the item of the position information set by the application and the application server 50 of its own and information other than the positioning timing.

また、この位置情報サーバ30によれば、1つの位置情報に対して複数のアプリケーションで利用が許可されている情報が対応付けられた場合、複数のアプリケーションについて1つの位置情報を共通して利用することができる。これにより、位置情報の管理の効率化、サーバ容量の削減が可能となる。   Moreover, according to the position information server 30, when information permitted to be used by a plurality of applications is associated with one position information, one position information is commonly used for a plurality of applications. be able to. This makes it possible to improve management of location information and reduce server capacity.

また、この位置情報サーバ30によれば、端末装置10で利用可能な複数のアプリケーション間の関係に応じて決められた起動要求に基づき位置情報取得部160により取得された位置情報を記憶する。つまり、この位置情報サーバ30は、他のアプリケーションの測位タイミングであって自身の測位タイミングでないときに測位された位置情報についても、アプリケーションごとに利用を許諾するか否かを管理することができる。これにより、アプリケーションサーバ50等は、自身のアプリケーションの測位タイミングで測位された位置情報だけでなく、自身のアプリケーションの測位タイミング以外のタイミングで測位された位置情報を利用することが可能となる。   Further, according to the position information server 30, the position information acquired by the position information acquiring unit 160 is stored based on the activation request determined according to the relationship between the plurality of applications available in the terminal device 10. That is, the position information server 30 can manage whether to permit use for each application also with respect to the position information which is measured when it is not the positioning timing of another application but the positioning timing of itself. As a result, the application server 50 and the like can use not only the position information measured at the positioning timing of their own application, but also the position information measured at a timing other than the positioning timing of its own application.

以上、本発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。
本発明は、例えば、位置情報サーバなどとして実施することができる。
Although the embodiments of the present invention have been described in detail with reference to the drawings, the specific configuration is not limited to this embodiment, and design changes and the like within the scope of the present invention are also included.
The present invention can be implemented, for example, as a position information server.

また、上述した端末装置10及び位置情報サーバ30の機能を実現するためのコンピュータプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行するようにしてもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものであってもよい。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、フラッシュメモリ等の書き込み可能な不揮発性メモリ、DVD(Digital Versatile Disk)等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。
A computer program for realizing the functions of the terminal device 10 and the position information server 30 described above is recorded in a computer readable recording medium, and the computer system reads the program recorded in the recording medium and executes it. You may do so. Note that the “computer system” referred to here may include an OS and hardware such as peripheral devices.
The “computer readable recording medium” is a writable non-volatile memory such as a flexible disk, a magneto-optical disk, a ROM, a flash memory, etc., a portable medium such as a DVD (Digital Versatile Disk), and a computer system. Storage devices such as hard disks.

さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(例えばDRAM(Dynamic Random Access Memory))のように、一定時間プログラムを保持しているものも含むものとする。
また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。
また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。
Furthermore, the “computer-readable recording medium” is a volatile memory (for example, DRAM (Dynamic Memory) inside a computer system that becomes a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line). As Random Access Memory), it is assumed that the program which holds the program for a fixed time is included.
The program may be transmitted from a computer system in which the program is stored in a storage device or the like to another computer system via a transmission medium or by transmission waves in the transmission medium. Here, the “transmission medium” for transmitting the program is a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.
Further, the program may be for realizing a part of the functions described above. Furthermore, it may be a so-called difference file (difference program) that can realize the above-described functions in combination with a program already recorded in the computer system.

1…位置提供システム、10、10A、10B、・・・、10N…端末装置、12…処理部、14…通信部、16…GPS測位部、160…位置情報取得部、161…加速度センサ、18…記憶部、30…位置情報サーバ、40…認証サーバ、42…POIサーバ、50、50A、50B、・・・、50N…アプリケーションサーバ、120、120A、120B、120B…アプリケーション処理部、122、122A、122B、122C…位置情報取得制御部、32…処理部、321…抽出部、34…第1通信部、36…第2通信部、38…記憶部 DESCRIPTION OF SYMBOLS 1 ... Position provision system, 10, 10A, 10B ......... 10N ... Terminal device, 12 ... Processing part, 14 ... Communications part, 16 ... GPS positioning part, 160 ... Position information acquisition part, 161 ... Acceleration sensor, 18 ... storage unit 30 ... location information server 40 ... authentication server 42 ... POI server 50, 50A, 50B ... ... 50N ... application server 120, 120A, 120B, 120B ... application processing unit 122, 122A , 122B, 122C ... position information acquisition control unit, 32 ... processing unit, 321 ... extraction unit, 34 ... first communication unit, 36 ... second communication unit, 38 ... storage unit

Claims (6)

位置情報を取得する位置情報取得部を備えた端末装置から、前記位置情報取得部により取得された位置情報を受信する第1受信部と、
前記第1受信部が受信した前記位置情報を、前記端末装置にインストールされた複数のアプリケーション毎に、前記位置情報の利用が許諾されているアプリケーションであるか否かを示す情報を対応付けて記憶する記憶部と、
前記端末装置にインストールされたアプリケーションに関連付けられているサーバから、前記記憶部が記憶する前記位置情報の中から抽出条件を満たす前記位置情報の抽出要求があった場合、前記位置情報の利用が許諾されているアプリケーションであることを示す情報と対応付けられている位置情報のうち、前記抽出条件を満たす前記位置情報を抽出する抽出部と、
を備える位置情報サーバ。
A first receiving unit that receives the position information acquired by the position information acquiring unit from a terminal device including the position information acquiring unit that acquires the position information;
The position information received by the first receiving unit is stored in association with information indicating whether or not the use of the position information is permitted for each of a plurality of applications installed in the terminal device. A storage unit to
When a server associated with an application installed in the terminal device requests extraction of the position information satisfying an extraction condition from among the position information stored in the storage unit, use of the position information is permitted An extraction unit for extracting the position information satisfying the extraction condition among the position information associated with the information indicating that the application is being executed;
Location information server comprising
前記記憶部は、アプリケーション毎に、位置情報の利用が許諾された許諾期間を示す情報を記憶し、
前記抽出部は、前記端末装置に新たにインストールされたアプリケーションの前記許諾期間が当該インストールよりも前の期間である場合に、当該新たにインストールされたアプリケーションの前記許諾期間に対応する位置情報を、前記記憶部が記憶する前記位置情報の中から抽出する、
請求項1に記載の位置情報サーバ。
The storage unit stores, for each application, information indicating a permission period in which use of the position information is permitted,
The extraction unit, when the permission period of the application newly installed in the terminal device is a period before the installation, location information corresponding to the permission period of the newly installed application, Extract from the position information stored in the storage unit,
The position information server according to claim 1.
前記端末装置から受信したアプリケーションの起動情報と位置情報の利用を許諾した許諾情報とに基づき、前記端末装置にインストールされているアプリケーションのうち、前記位置情報取得部へ起動要求を行うアプリケーションを決定する、
請求項1又は2のいずれか1項に記載の位置情報サーバ。
Based on the application activation information received from the terminal device and the permission information permitted to use the position information, an application installed in the terminal device to which an activation request is issued to the position information acquisition unit is determined. ,
The position information server according to any one of claims 1 and 2.
前記記憶部に記憶されている過去の位置情報に対して、ユーザからの要求に応じて利用の許諾または非許諾を設定する、
請求項1から3のいずれか1項に記載の位置情報サーバ。
For the past position information stored in the storage unit, permission or non-permission of use is set according to a request from the user.
The position information server according to any one of claims 1 to 3.
位置情報サーバが、位置情報を取得する位置情報取得部を備えた端末装置から、前記位置情報取得部により取得された位置情報を受信する第1受信ステップと、
前記位置情報サーバが、前記第1受信ステップが受信した前記位置情報を、前記端末装置にインストールされた複数のアプリケーション毎に、前記位置情報の利用が許諾されているアプリケーションであるか否かを示す情報を対応付けて記憶部に記憶する記憶ステップと、
前記位置情報サーバが、前記端末装置にインストールされたアプリケーションに関連付けられているサーバから、前記記憶部が記憶する前記位置情報の中から抽出条件を満たす前記位置情報の抽出要求があった場合、前記位置情報の利用が許諾されているアプリケーションであることを示す情報と対応付けられている位置情報のうち、前記抽出条件を満たす前記位置情報を抽出する抽出ステップと、
を含む位置提供方法。
A first receiving step of receiving the position information acquired by the position information acquiring unit from the terminal device including the position information acquiring unit which acquires the position information;
The position information server indicates whether the position information received by the first receiving step is an application for which use of the position information is permitted for each of a plurality of applications installed in the terminal device. A storage step of storing information in a storage unit in association with each other;
When the location information server makes a request for extracting the location information satisfying the extraction condition from among the location information stored in the storage unit from a server associated with an application installed in the terminal device. An extraction step of extracting the position information satisfying the extraction condition among the position information associated with the information indicating that the application is permitted to use the position information;
Location providing method including:
コンピュータに、
位置情報を取得する位置情報取得部を備えた端末装置から、前記位置情報取得部により取得された位置情報を受信する第1受信機能と、
前記第1受信機能が受信した前記位置情報を、前記端末装置にインストールされた複数のアプリケーション毎に、前記位置情報の利用が許諾されているアプリケーションであるか否かを示す情報を対応付けて記憶する記憶機能と、
前記端末装置にインストールされたアプリケーションに関連付けられているサーバから、前記記憶機能が記憶する前記位置情報の中から抽出条件を満たす前記位置情報の抽出要求があった場合、前記位置情報の利用が許諾されているアプリケーションであることを示す情報と対応付けられている位置情報のうち、前記抽出条件を満たす前記位置情報を抽出する抽出機能と、
を実現させるためのコンピュータプログラム。
On the computer
A first reception function of receiving position information acquired by the position information acquisition unit from a terminal device including a position information acquisition unit that acquires position information;
The position information received by the first reception function is stored in association with information indicating whether or not the use of the position information is permitted for each of a plurality of applications installed in the terminal device. Memory function,
When a server associated with an application installed in the terminal device requests extraction of the position information satisfying an extraction condition from among the position information stored in the storage function, use of the position information is permitted An extraction function of extracting the position information satisfying the extraction condition among position information associated with information indicating that the application is being executed;
Computer program to make it happen.
JP2018099131A 2018-05-23 2018-05-23 Location information server, location providing method and computer program Active JP6522204B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018099131A JP6522204B2 (en) 2018-05-23 2018-05-23 Location information server, location providing method and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018099131A JP6522204B2 (en) 2018-05-23 2018-05-23 Location information server, location providing method and computer program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017118147A Division JP6346348B2 (en) 2017-06-15 2017-06-15 POSITION INFORMATION SERVER, POSITION PROVIDING SYSTEM, POSITION PROVIDING METHOD, AND COMPUTER PROGRAM

Publications (2)

Publication Number Publication Date
JP2018142369A JP2018142369A (en) 2018-09-13
JP6522204B2 true JP6522204B2 (en) 2019-05-29

Family

ID=63528286

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018099131A Active JP6522204B2 (en) 2018-05-23 2018-05-23 Location information server, location providing method and computer program

Country Status (1)

Country Link
JP (1) JP6522204B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FI108372B (en) * 2000-06-30 2002-01-15 Nokia Corp Method and apparatus for position measurement
JP4074277B2 (en) * 2004-09-09 2008-04-09 ソフトバンクモバイル株式会社 Communication service system, mobile communication terminal and server
JP2012120058A (en) * 2010-12-02 2012-06-21 Zenrin Co Ltd Mobile terminal
JP5884827B2 (en) * 2011-09-29 2016-03-15 沖電気工業株式会社 ID management device, program, user terminal, and ID management system

Also Published As

Publication number Publication date
JP2018142369A (en) 2018-09-13

Similar Documents

Publication Publication Date Title
US20240015481A1 (en) Providing, organizing, and managing location history records of a mobile device
US10440538B2 (en) Location and contextual-based mobile application promotion and delivery
JP6352407B2 (en) Fusion of geofence events
CN109247070B (en) Proactive actions on mobile devices using uniquely identifiable and unmarked locations
US20140324856A1 (en) Application discoverability
KR20150103721A (en) Managing applications on a client device
JP6397289B2 (en) Communication terminal device, location providing system, location transmission method, and location transmission control program
CN103916473A (en) Travel information processing method and relative device
WO2019134469A1 (en) Physical store query method and electronic device
JP2018508895A (en) Techniques for implementing location-based device services
JP6262630B2 (en) Location information server
JP6216702B2 (en) Terminal device, position providing system, and position acquisition control program
JP6140660B2 (en) Terminal device, position acquisition method, and position acquisition control program
JP6144243B2 (en) POSITION INFORMATION MANAGEMENT DEVICE, POSITION INFORMATION MANAGEMENT METHOD, AND PROGRAM
JP6522204B2 (en) Location information server, location providing method and computer program
JP6429936B2 (en) POSITION INFORMATION MANAGEMENT DEVICE, POSITION INFORMATION MANAGEMENT METHOD, AND PROGRAM
JP6573179B2 (en) Server and computer program
JP6271386B2 (en) Information providing system and information providing method
JP2018007270A (en) Terminal device, position acquisition method and program
WO2016147744A1 (en) Information processing device, information processing method, and computer program
JP6664583B2 (en) Information control device, information control method, and information control program
JP6396534B2 (en) Apparatus, position acquisition method, and program for position acquisition control
JP6346348B2 (en) POSITION INFORMATION SERVER, POSITION PROVIDING SYSTEM, POSITION PROVIDING METHOD, AND COMPUTER PROGRAM
JP6215164B2 (en) Terminal device, position acquisition method, and program
JP6162669B2 (en) Location information server

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190326

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190329

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190423

R150 Certificate of patent or registration of utility model

Ref document number: 6522204

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150