JP2017224301A - Positional information server, position provision system, position provision method and computer program - Google Patents

Positional information server, position provision system, position provision method and computer program Download PDF

Info

Publication number
JP2017224301A
JP2017224301A JP2017118147A JP2017118147A JP2017224301A JP 2017224301 A JP2017224301 A JP 2017224301A JP 2017118147 A JP2017118147 A JP 2017118147A JP 2017118147 A JP2017118147 A JP 2017118147A JP 2017224301 A JP2017224301 A JP 2017224301A
Authority
JP
Japan
Prior art keywords
position information
application
information
terminal device
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.)
Granted
Application number
JP2017118147A
Other languages
Japanese (ja)
Other versions
JP6346348B2 (en
Inventor
純一 岸本
Junichi Kishimoto
純一 岸本
弘次 宇多
Koji Uta
弘次 宇多
中島 純
Jun Nakajima
純 中島
庄健 奈須
Shoken Nasu
庄健 奈須
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 JP2017118147A priority Critical patent/JP6346348B2/en
Publication of JP2017224301A publication Critical patent/JP2017224301A/en
Application granted granted Critical
Publication of JP6346348B2 publication Critical patent/JP6346348B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a positional information server which can improve convenience when using pieces of positional information collected in a server.SOLUTION: A positional information server comprises: a first reception part for receiving positional information acquired by a positional information acquisition part on the basis of a start request, from a terminal device having the positional information acquisition part for acquiring the positional information according to the start request; a storage part for associating the received positional information with information indicating whether or not, an application is the one in which use of the positional information is permitted, for each application, and storing the associated information; and an extraction part for, when there is an extraction request of the positional information which satisfies an extraction condition from an application server for providing an application other than the application that has performed the start request, extracting the positional information which satisfies the extraction condition, out of pieces of positional information associated with information indicating that the application is the one in which use of the positional information is permitted.SELECTED DRAWING: Figure 9

Description

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

Webサービスとしては、サービスの利用者に関する利用者情報を利用者端末から取得し、利用者情報を利用してサービスを提供するものがある。このサービスのうち、利用者端末が自装置の位置情報をWebサーバに送信し、Webサーバが位置情報に関連した情報を送信するものがある。   Some Web services obtain user information about a user of the service from a user terminal and provide the service using the user information. Among these services, there is a service in which a user terminal transmits position information of its own device to a 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 the terminal device request positioning data from the positioning method selection device. The positioning method selection device uses one or more positioning methods. At this time, the positioning method selection device compares the quality of positioning data provided by a certain positioning method with the quality of positioning required by the application, and provides positioning data to one or more applications.

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

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

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

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

(1)本発明の一態様は、起動要求に応じて位置情報を取得する位置情報取得部を備えた端末装置から、前記端末装置にインストールされた複数のアプリケーションのいずれかの起動要求に基づき前記位置情報取得部により取得された位置情報を受信する第1受信部と、前記第1受信部が受信した前記位置情報を、アプリケーション毎に、前記位置情報の利用が許諾されているアプリケーションであるか否かを示す情報を対応付けて記憶する記憶部と、前記端末装置にインストールされた複数のアプリケーションのうち起動要求を行ったアプリケーション以外のアプリケーションを提供するアプリケーションサーバから、前記記憶部が記憶する前記位置情報の中から抽出条件を満たす前記位置情報の抽出要求があった場合、前記位置情報の利用が許諾されているアプリケーションであることを示す情報と対応付けられている位置情報のうち、前記抽出条件を満たす前記位置情報を抽出する抽出部と、を備える位置情報サーバである。
(2)本発明の一態様は、上記(1)の位置情報サーバにおいて、前記記憶部は、アプリケーション毎に、位置情報の利用が許諾された許諾期間を示す情報を記憶し、前記抽出部は、前記端末装置に新たにインストールされたアプリケーションの前記許諾期間が当該インストールよりも前の期間である場合に、当該新たにインストールされたアプリケーションの前記許諾期間に対応する位置情報を、前記記憶部が記憶する前記位置情報の中から抽出する、位置情報サーバである。
(3)本発明の一態様は、上記(1)又は(2)のいずれかの位置情報サーバにおいて、前記端末装置から受信したアプリケーションの起動情報と位置情報の利用を許諾した許諾情報とに基づき、前記端末装置にインストールされているアプリケーションのうち、起動要求を行うアプリケーションを決定する、位置情報サーバである。
(1) One aspect of the present invention is based on a startup request of any of a plurality of applications installed in the terminal device from a terminal device including a location information acquisition unit that acquires location information in response to the startup request. Whether the first receiving unit that receives the position information acquired by the position information acquiring unit and the position information received by the first receiving unit are applications for which use of the position information is permitted for each application. The storage unit stores the storage unit that stores information indicating whether or not, and the application server that provides an application other than the application that requested the activation among the plurality of applications installed in the terminal device. When there is a request to extract the position information that satisfies the extraction condition from the position information, the position information is used. There among the location information associated with information indicating that the application is licensed, an extraction unit for extracting the extracted satisfies the position information is the position information server comprising a.
(2) According to one aspect of the present invention, in the location information server of (1), the storage unit stores information indicating a license period during which use of the location information is licensed for each application. When the permission period of the application newly installed in the terminal device is a period before the installation, the storage unit stores position information corresponding to the permission period of the newly installed application. It is a position information server extracted from the position information to be stored.
(3) One aspect of the present invention is based on the activation information of the application received from the terminal device and the permission information licensed to use the position information in the position information server of either (1) or (2). A position information server that determines an application that makes a startup request among applications installed in the terminal device.

(4)本発明の一態様は、上記(1)の位置情報サーバと、起動要求に応じて位置情報を取得する位置情報取得部を備えた端末装置と、前記端末装置にインストールされたアプリケーションを提供するアプリケーションサーバと、を備える位置提供システムである。 (4) According to one aspect of the present invention, there is provided a location information server of (1) above, a terminal device including a location information acquisition unit that acquires location information in response to an activation request, and an application installed in the terminal device. A position providing system including an application server to provide.

(5)本発明の一態様は、位置情報サーバが、起動要求に応じて位置情報を取得する位置情報取得部を備えた端末装置から、前記端末装置にインストールされた複数のアプリケーションのいずれかの起動要求に基づき前記位置情報取得部により取得された位置情報を受信する第1受信ステップと、前記位置情報サーバが、前記第1受信ステップが受信した前記位置情報を、アプリケーション毎に、前記位置情報の利用が許諾されているアプリケーションであるか否かを示す情報を対応付けて記憶部に記憶する記憶ステップと、前記位置情報サーバが、前記端末装置にインストールされた複数のアプリケーションのうち起動要求を行ったアプリケーション以外のアプリケーションを提供するアプリケーションサーバから、前記記憶部が記憶する前記位置情報の中から抽出条件を満たす前記位置情報の抽出要求があった場合、前記位置情報の利用が許諾されているアプリケーションであることを示す情報と対応付けられている位置情報のうち、前記抽出条件を満たす前記位置情報を抽出する抽出ステップと、を含む位置提供方法である。 (5) According to one aspect of the present invention, any one of a plurality of applications installed in the terminal device from a terminal device including a position information acquisition unit in which the position information server acquires position information in response to an activation request A first reception step for receiving the position information acquired by the position information acquisition unit based on an activation request, and the position information received by the position information server in the first reception step for each application. A storage step of associating and storing information indicating whether or not the application is permitted to be used in the storage unit; and the location information server issues an activation request among a plurality of applications installed in the terminal device. The storage unit stores information from an application server that provides an application other than the performed application. If there is a request to extract the position information that satisfies the extraction condition from the position information, the position information associated with the information indicating that the application is permitted to use the position information. An extraction step for extracting the position information satisfying the extraction condition.

(6)本発明の一態様は、コンピュータに、起動要求に応じて位置情報を取得する位置情報取得部を備えた端末装置から、前記端末装置にインストールされた複数のアプリケーションのいずれかの起動要求に基づき前記位置情報取得部により取得された位置情報を受信する第1受信機能と、前記第1受信機能が受信した前記位置情報を、アプリケーション毎に、前記位置情報の利用が許諾されているアプリケーションであるか否かを示す情報を対応付けて記憶する記憶機能と、前記端末装置にインストールされた複数のアプリケーションのうち起動要求を行ったアプリケーション以外のアプリケーションを提供するアプリケーションサーバから、前記記憶機能が記憶する前記位置情報の中から抽出条件を満たす前記位置情報の抽出要求があった場合、前記位置情報の利用が許諾されているアプリケーションであることを示す情報と対応付けられている位置情報のうち、前記抽出条件を満たす前記位置情報を抽出する抽出機能と、を実現させるためのコンピュータプログラムである。 (6) According to one aspect of the present invention, a startup request for any of a plurality of applications installed in the terminal device from a terminal device including a location information acquisition unit that acquires location information in response to the startup request. The first reception function for receiving the position information acquired by the position information acquisition unit based on the position information, and the position information received by the first reception function for each application A storage function for associating and storing information indicating whether or not, and an application server that provides an application other than an application that has requested activation among a plurality of applications installed in the terminal device. There is a request for extracting the position information satisfying the extraction condition from the stored position information. An extraction function for extracting the position information satisfying the extraction condition from the position information associated with the information indicating that the application is permitted to use the position information. It is a computer program.

本発明によれば、サーバに集められた位置情報を利用する際の利便性を向上させることができる。   ADVANTAGE OF THE INVENTION According to this invention, the convenience at the time of utilizing the positional information collected on the server can be improved.

本発明の一実施形態における位置提供システムの構成を示すブロック図である。It is a block diagram which shows the structure of the position provision system in one Embodiment of this 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 flowchart which shows an example of the procedure of a position information acquisition and transmission process performed in the terminal device which concerns on one Embodiment of this invention. 本発明の一実施形態に係る許諾設定情報を設定するための操作画面の一例を示す図である。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 which shows the structure of the positional infomation server which concerns on one Embodiment of this 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 illustrating a configuration of a position providing system 1 according to the embodiment. The location providing system 1 includes a plurality of terminal devices 10A, 10B,..., 10N (hereinafter simply referred to as “terminal device 10” when collectively referred to), a location information server 30, an authentication server 40, a POI (Point Of Interest) server 42, contractor information server 44, and application servers 50A, 50B,..., 50N (hereinafter simply referred to as “application server 50” when collectively referred to).

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

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

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

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

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

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

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

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

位置情報サーバ30は、蓄積した位置情報を、POIサーバ42及びアプリケーションサーバ50に送信する。実施形態において、位置情報サーバ30は、位置情報の利用の許諾の有無に応じて、POIサーバ42及びアプリケーションサーバ50に送信するか、送信しないかを選択する。具体的には、位置情報サーバ30は、蓄積した位置情報のうち、アプリケーションサーバ50が提供するアプリケーションにおいて位置情報の利用が許諾されている位置情報をアプリケーションサーバ50に送信する。逆に、位置情報サーバ30は、蓄積した位置情報のうち、アプリケーションサーバ50が提供するアプリケーションにおいて位置情報の利用が許諾されていない位置情報を、アプリケーションサーバ50に送信しない。
ただし、端末装置10が位置情報を取得した時点では、位置情報の利用が許諾されていなかったアプリケーションであっても、その後許諾期間が遡って変更された結果、その時点の位置情報の利用が許諾されることになった場合、位置情報サーバ30は、その位置情報をアプリケーションサーバ50に送信できる。つまり、位置情報サーバ30は、位置情報の利用が許諾されている許諾期間に対応する位置情報をアプリケーションサーバ50に送信する。位置情報を利用できる許諾期間は、いつでも変更可能である。
The location information server 30 transmits the accumulated location information to the POI server 42 and the application server 50. In the embodiment, the location information server 30 selects whether to transmit to the POI server 42 and the application server 50 according to whether or not the use of the location information is permitted. Specifically, the location information server 30 transmits, to the application server 50, location information for which use of location information is permitted in the application provided by the application server 50 among the accumulated location information. On the contrary, the location information server 30 does not transmit to the application server 50 location information that is not permitted to use location information in the application provided by the application server 50 among the accumulated location information.
However, when the terminal device 10 acquires the position information, even if the application is not permitted to use the position information, the use of the position information at that point is permitted as a result of the retroactive change of the permission period thereafter. In the case where the position information server 30 is to be used, the position information server 30 can transmit the position information to the application server 50. That is, the position information server 30 transmits position information corresponding to a license period for which use of the position information is permitted to the application server 50. The permission period during which the location information can be used 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 the position information associated with the terminal device 10 and the permission setting information from the terminal device 10. Hereinafter, the former method is referred to as a server linking method. The latter method is hereinafter referred to as a terminal linking method.

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

端末紐づけ方式について説明する。この方式の場合、端末装置10は、許諾設定情報を記憶部から読み出す。なお、許諾設定情報が位置情報サーバ30に格納されている場合、端末装置10は、位置情報サーバ30の許諾設定情報を参照してもよい。端末装置10は、許諾設定情報を参照して、位置情報サーバ30に送信する位置情報に含まれる測位時刻に基づき、測位時刻において位置情報の利用が許諾されているアプリケーションを特定する。端末装置10は、許諾設定情報を参照して、位置情報サーバ30に送信する位置情報に対応付けられた情報に基づき、位置情報の利用が許諾されているアプリケーションを特定してもよい。
端末装置10は、許諾設定情報(許諾)を、位置情報に対応付けて、位置情報サーバ30に送信する。位置情報サーバ30は、端末装置10から受信した位置情報に、許諾設定情報(許諾)を対応付けて、自身の記憶部に記憶させる。なお、端末装置10は、取得した位置情報を、位置情報の利用が許諾されているアプリケーションを提供するアプリケーションサーバ50へ直接送信してもよい。
The terminal linking method will be described. In the case of this method, the terminal device 10 reads 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 identifies an application that is permitted to use the position information at the positioning time, based on the positioning time included in the position information transmitted to the position information server 30. The terminal device 10 may identify an application that is permitted to use the position information based on the information associated with the position information transmitted to the position information server 30 with reference to the permission setting information.
The terminal device 10 transmits permission setting information (permission) to the position information server 30 in association with the position information. The position information server 30 associates the permission setting information (permission) with the position information received from the terminal device 10 and stores it in its own storage unit. The terminal device 10 may directly transmit the acquired position information to the application server 50 that provides an application for which 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 position information from the terminal device 10 that is permitted to use position information for its own application via the position information server 30. In other words, the application server 50 includes position information associated with permission setting information (permission) indicating permission to use the position information for an application corresponding to itself among the position information stored in the position information server 30. 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 location information of the terminal device 10. The tracked position information includes the latest position or past position of the terminal device 10 that is updated arbitrarily or repeatedly at predetermined intervals. This 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. Thereby, the application server 50 and the POI server 42 can display an advertisement or the like suitable for the position of the terminal device 10 on the terminal device 10. In this example, the application information corresponds to information based on the position information acquired by the position information acquisition 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 authentication processes when the terminal device 10 starts communication with the location 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. Specific examples of these authentication processes will be described. In the terminal authentication process, the authentication server 40 makes the authentication successful 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 makes the authentication successful 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 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 it 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 an arbitrary 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に送信する。   In addition, 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 telephone number transmitted from the terminal device 10 via the location information server 30. The authentication server 40 collates the received IP address and telephone number with a valid IP address and telephone number. If the received IP address and telephone number can be verified with a valid IP address and telephone number, the authentication server 40 transmits an authentication result permitting communication to the location 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 at least information indicating 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. In response to accepting this request, the POI server 42 searches for POI information corresponding to the position information, and returns POI information near the position information. The POI information may include a location ID such as a store, a location name, and a category. As a result, the POI server 42 can return a location ID, a location name, a category, and the like corresponding to the position information as a search result.
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 back as a search result. For example, the POI server 42 can search for the terminal device 10 present in a certain store and send back 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 illustrating a 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 that is owned and moved by a user. The terminal device 10 may be a mobile phone or a smartphone, for example.

通信部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 by a communication IC chip, for example. The communication unit 14 converts the position information supplied from the processing unit 12 into predetermined communication data and transmits it to the position information server 30. When the authentication server 40 performs application authentication, the position information may be associated with the application ID of the application that has been successfully authenticated. When communication data is received from the position information server 30 or the application server 50, the communication unit 14 performs a predetermined process on the received communication data and outputs it 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 device itself, generates position information, and outputs the position information to the processing unit 12. At this time, the GPS positioning unit 16 receives a GPS signal including the position and time of the GPS satellite from a plurality of GPS satellites. The GPS positioning unit 16 calculates the distance between the plurality of GPS satellites and the terminal device 10, and specifies the position of the own device by triangulation calculation. The specified 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, a sleep state and a normal operation state. Among these, the sleep state is a state in which standby is performed without performing positioning, and is a state in which 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 transitions from the sleep state to the normal operation state with the activation request from the processing unit 12 as a trigger. 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 calculation. Here, the activation request is a request that is output from the processing unit 12 to the GPS positioning unit 16 and is a command that requests execution of a process for 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 a sleep state during a period of waiting for an input of an activation request output from the processing unit 12. The sleep state is a state of operating with power saving and is canceled by a start request. The GPS positioning unit 16 is activated in response to an activation request input from the processing unit 12. As a result, the GPS positioning unit 16 switches from the sleep state to the normal operation state. The activation request is a command for acquiring position information of the own device. When the GPS positioning unit 16 acquires position information in response to the activation request and outputs it 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方式による測位に切り替える。
Note that the position information acquisition unit that acquires the position information may acquire the position information by another method.
The location information acquisition unit may acquire location information by a cell ID (mobile phone base station) method. In the cell ID method, when the terminal device 10 is a mobile phone terminal, the current location of the terminal device 10 is calculated based on radio wave information of three or more mobile phone base stations by applying a communication function as a mobile phone terminal. .
The position information acquisition unit may acquire position information by a Wi-Fi method. In the Wi-Fi scheme, radio waves transmitted from wireless LAN access points around the terminal device 10 are detected, and the location information of the terminal device 10 is acquired from the access point or a predetermined server based on the location information of the access point. .
Furthermore, the position information acquisition unit may acquire position information by a network positioning method. In the network positioning method, position information is acquired by positioning using the cell ID method and the 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 in a configuration using not only the GPS positioning method but also the cell ID method or the Wi-Fi method. Location information can be acquired.
In the present embodiment, the terminal device 10 gives priority to the positioning method by the GPS positioning unit 16 over the Wi-Fi method and the cell ID method as the position information acquisition method. 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 cannot perform positioning, for example, the terminal device 10 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 a processor such as a CPU (Central Processing Unit) executes a program stored in a memory. 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 simply referred to as “application processing unit 120” when collectively referred to). 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, each of the plurality of application processing units 120A, 120B, and 120C executes arbitrary application processing. Moreover, although this embodiment demonstrates the example which performs three application programs A, B, and C, it is not restricted to this. The application processing unit 120 only needs to execute two or more application programs at the same time.

端末装置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 is activated, the terminal device 10 transmits an application ID predetermined for each application program to the authentication server 40. More specifically, the terminal device 10 transmits an application ID indicating the application program A to the authentication server 40 when the application program A is activated. The terminal device 10 receives an authentication result indicating whether application authentication is permitted from the authentication server 40. The terminal device 10 permits the application program to be activated only when the authentication result is “permitted”.

処理部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 with a low priority among the plurality of application programs A, B, and C in the background. Note that the application programs A, B, and C may be set to output an activation request every predetermined period. The predetermined period may be set for each of the application programs A, B, and C. Examples of the predetermined period include 1 minute, 10 minutes, and 1 hour.
In the terminal device 10 of the present embodiment, even if the application program outputs an activation request, any one of the position information acquisition control units 122A, 122B, and 122C outputs the activation request to the GPS positioning unit 16.

記憶部18は、アプリケーションプログラムA、B、Cのそれぞれに付属する位置情報ライブラリを記憶している。実施形態において、アプリケーションプログラムAには、位置情報ライブラリAが付属している。また、アプリケーションプログラムBには、位置情報ライブラリBが付属しており、アプリケーションプログラムCには、位置情報ライブラリCが付属している。以下の説明において、これら位置情報ライブラリA、B、Cを総称して、位置情報ライブラリという。   The storage unit 18 stores a position information library attached to each of the application programs A, B, and C. In the embodiment, a position information library A is attached to the application program A. The application program B is attached with a position information library B, and the application program C is attached with a position information library C. In the following description, these position information libraries A, B, and C are collectively referred to as a position 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. Thereby, the terminal device 10 constitutes 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 software function units. That is, the processing unit 12 has 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 122 </ b> A, 122 </ b> B, and 122 </ b> C output activation requests 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, 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, 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 output the activation request. Any one of the position information acquisition control units 122A, 122B, and 122C to which the position information is input may output the position information to another position information acquisition control unit. As a result, 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, 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 that is permitted to use the position information based on the permission setting information. . That is, the position information acquisition control units 122A, 122B, and 122C do not output position information to the application processing unit 120 corresponding to an application that is not permitted to use the position information. 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つの位置情報ライブラリとして付属していてもよい。   The application programs A, B, and C are provided with location information libraries A, B, and C, respectively. However, all the location information acquisition control units 122A, 122B, and 122C are not necessarily connected to the GPS positioning unit 16. It is not necessary to output a start request. That is, the processing unit 12 has one position information acquisition control unit 122 that acquires position information and makes the position information available to the application processing unit 120 among the plurality of position information acquisition control units 122A, 122B, and 122C. It only has to exist. The “one position information acquisition control unit 122” is realized by a position information library which is a master described later. “One position information acquisition control unit 122” may be attached as one position information library corresponding to a plurality of applications, as will be 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 that is acquired by the GPS positioning unit 16 by one position information acquisition control unit 122.
“Use location information” includes using location information within the terminal device 10. For example, the application processing unit 120 can display the position of its own device on the map based on the position information acquired by the GPS positioning unit 16 by using the position information.
“Using position information” includes using information based on position information acquired by the GPS positioning unit 16. Information based on position information is new information obtained by using position information. The information based on the position information may be information obtained by processing based on the position information in the terminal device 10, or 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 based on the position information by the application server 50 and 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 makes the position information acquired by one position information acquisition control unit 122 available. “Making location information available” includes causing a device other than the terminal device 10 to acquire the position information and enabling a device 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. When the user permits transmission of the position information, the application processing unit 120 generates permission information that permits the use of the position information. The application processing unit 120 transmits the generated permission information to the location information server 30. After receiving the permission information transmitted from the terminal device 10, the location information server 30 can accumulate the position information transmitted from the terminal device 10 and transmit it to the application server 50 or the like thereafter. Accordingly, 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 the terminal device 10 in advance. 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, an application program with a location information library is downloaded at the same time and installed in the terminal device 10. Accordingly, 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 for inquiring whether transmission of position information of the own device is permitted. When transmission of location information is permitted based on a user operation, the application processing unit 120 transmits a download request for the location information library.
The location information server 30 transmits a location information library to the terminal device 10 in response to receiving the download request. As a result, the terminal device 10 starts downloading the position information library. When the download is completed, the processing unit 12 attaches the 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 not provided with the location information library. As a result, the processing unit 12 can attach the position information library to an application that does not have the position information library.
The processing unit 12 may update to the latest version of the position information library instead of the old version of the position information library already incorporated in the application. Accordingly, 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 makes an activation request to the GPS positioning unit 16. One position information acquisition control unit 122 among 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 an activation request to the GPS positioning unit 16. One position information acquisition control unit 122 that makes an activation request among the plurality of position information acquisition control units 122 is specified in advance. That is, it is specified which application program among the plurality of application programs A, B, and C outputs the activation request from the position information acquisition control unit 122 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が生成した位置情報を取得することができる。   Among the plurality of position information acquisition control units 122, the position information acquisition control unit 122 that has output the activation request 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 is supplied from the GPS positioning unit 16. The other position information acquisition control unit 122 requests position information from the position information acquisition control unit 122 that 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 activation request outputs position information to the other position information acquisition control unit 122 in response to a request from the other position information acquisition control unit 122. Here, the location information acquisition control unit 122 that has output the activation request is the location 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 another application. As a result, the position information acquisition control unit 122 attached to another application can acquire the position information generated by the GPS positioning unit 16 without making an activation 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 that does not have master authority or a slave position information acquisition control unit 122.
In other words, one location information acquisition control unit 122 that outputs an activation request has master authority over the other location information acquisition control unit 122. The other position information acquisition control unit 122 functions as a slave with respect to the master position information acquisition control unit 122. The other position information acquisition control unit 122 does not transmit an activation request to the GPS positioning unit 16. When receiving the notification from the master position information acquisition control unit 122, the other position information acquisition control unit 122 requests the position information from the master position information acquisition control unit 122 and acquires the position information.

記憶部18は、各種の情報を記憶する記録媒体である。記憶部18は、位置情報取得制御部122により取得された位置情報を蓄積する。記憶部18は、位置情報を時系列で記憶する。また、記憶部18は、許諾設定情報を記憶してもよい。許諾設定情報には、位置情報の利用が許諾された日時を示す情報、位置情報の利用が非許諾にされた日時を示す情報等が含まれてもよい。   The storage unit 18 is a recording medium that stores 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. 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, information indicating the date and time when the use of the position information is not permitted, and the like.

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

さらに、記憶部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 related to the access history to the web page accessed by the terminal device 10 at the position indicated by the position information and the operation history of the activated web browser. The web history information includes the time when the terminal device 10 accessed a corporate advertisement or a web page such as a home page and the address of the accessed web page.

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

記憶部18には、位置情報が示す位置において端末装置10が受け付けたユーザからの操作に関する操作履歴情報が格納されている。操作履歴情報には、端末装置10が操作を受け付けた時刻と受け付けた操作の名称や種類が含まれる。端末装置10が受け付ける操作には、例えば、電源をONする操作、電源をOFFする操作、スピーカ音量の調節操作、省電力モードへの切替操作等が含まれる。   The storage unit 18 stores operation history information related to an 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 receives an operation and the name and type of the received operation. The operations received by the terminal device 10 include, for example, an operation to turn on the power, an operation to turn off the power, an operation to adjust the speaker volume, and an operation to switch to the power saving mode.

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

記憶部18には、位置情報が示す位置における端末装置10の姿勢の変化を示す姿勢変化情報が格納されている。姿勢変化情報には、端末装置10の姿勢が変化した時刻が含まれる。なお、端末装置10の姿勢の変化は、後述する加速度センサ等により検出される。   The storage unit 18 stores posture change information indicating a change in posture of the terminal device 10 at the position indicated by the position information. The posture change information includes the time when the posture of the terminal device 10 is changed. Note that the change in the attitude of the terminal device 10 is detected by an acceleration sensor or the like to be described 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 environmental 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 information on audible sounds and inaudible sounds that are circulated in stores, for example. The communication history of near field communication includes, for example, Bluetooth (registered trademark), the time when infrared communication or the like was performed, and the like.

ウェブ履歴情報、プログラム実行履歴情報、操作履歴情報、充電履歴情報、姿勢変化情報、及び環境情報は、処理部12により生成される。   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は、位置情報とともに、ウェブ履歴情報、プログラム実行履歴情報、操作履歴情報、充電履歴情報、姿勢変化情報及び環境情報の全部又は一部を送信してもよい。   The position information acquisition control unit 122 reads the position information stored in the storage unit 18 and outputs the position information to the communication unit 14 when transmitting the position information to the position information server 30. Accordingly, 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 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 together with the position information.

さらに、位置情報取得制御部122は、位置情報を記憶部18から読み出して通信部14により通信させる度に、位置情報の送信完了または送信不能を送信履歴として記憶させてもよい。位置情報取得制御部122は、例えば自装置周辺の電波の影響により位置情報の送信ができない場合には、位置情報の送信を中止し、当該位置情報に対応づけて送信不能であるという送信履歴を記憶部18に記憶させる。位置情報取得制御部122は、送信タイミングにおいて送信履歴を参照し、前回の送信タイミング以降にGPS測位部16により取得された位置情報、および送信不能の位置情報を記憶部18から読み出し、通信部14により通信させる。これにより、位置情報取得制御部122は、位置情報の送信ができない状況が生じても、位置情報を漏れなく送信できる。   Furthermore, the position information acquisition control unit 122 may store the transmission completion or the transmission failure of the position information as a transmission history every time the position information is read from the storage unit 18 and communicated by the communication unit 14. For example, if the position information acquisition control unit 122 cannot transmit the position information due to the influence of radio waves around the device itself, the position information acquisition control unit 122 stops the transmission of the position information and displays a transmission history indicating that transmission is impossible in association with the position information. The data is stored in the storage unit 18. The position information acquisition control unit 122 refers to the transmission history at the transmission timing, reads out the position information acquired by the GPS positioning unit 16 after the previous transmission timing and the position information that cannot be transmitted from the storage unit 18, and communicates with the communication unit 14. To communicate. Thereby, the position information acquisition control unit 122 can transmit the position information without omission even when a situation where the position information cannot 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 location information acquisition control unit 122 associates information about the terminal device 10 such as a user ID, a terminal ID, a terminal model name, and an OS (Operating System) type with the location information, and sends the location information via the communication unit 14. You may transmit to the server 30. Further, the position information acquisition control unit 122 may transmit the position information in association with the positioning method of the position information and the positioning error of the position information measured by the positioning method. Examples of the positioning method include a GPS positioning method, a cell ID method, a Wi-Fi method, and a network positioning method. Further, when the terminal device 10 exists in the Wi-Fi network, the location information acquisition control unit 122 may transmit the location information in association with the ID of the access point of the Wi-Fi network. Furthermore, when the terminal device 10 is communicating by starting the Bluetooth (registered trademark) function, the location information acquisition control unit 122 transmits the location information in association with an ID as a Bluetooth (registered trademark) terminal. Also good. In addition, permission settings may be set 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 using 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 location information acquisition control unit 122 causes the location information server 30 to transmit location information when a predetermined condition is met. The predetermined condition is a transmission timing determined in advance in the terminal device 10. The predetermined condition may be a predetermined period transmitted from the location information server 30. Thereby, 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 a timing set by an application. For example, the terminal device 10 may measure the position information in accordance with the push instruction from 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. Thereby, the terminal device 10 can transmit 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 transmitted directly to the application server 50 without going through the position information server 30. Thereby, the terminal device 10 can transmit 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 of associating information indicating whether or not an application is permitted to use position information with position information in a system that employs a terminal association method will be described.
For example, the processing unit 12 associates permission setting information with position information. Note that the position information acquisition control unit 122 having the authority of the master is not limited to the processing unit 12, and the permission setting information may be associated with the position information. The processing unit 12 refers to the permission setting information and associates the application ID indicating the application for which the use of the position information is permitted by the user of the terminal device 10 with the position information acquired during the permission period. The permission period is, for example, a period during which use of location information is permitted by the user. 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 from the position information acquisition control unit 122 having the authority of the master. However, in the present embodiment, the processing unit 12 associates application IDs indicating all applications that are permitted to use position information with the position information when the position information is measured. That is, the processing unit 12 is associated with the position information including the application ID indicating the application having the authority of the slave, not limited to the application having the authority of the master that has output the activation request. By receiving the positional information and permission setting information associated in this way, the positional 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 the app A is every 5 minutes, the positioning interval of the app B is 1 hour, and the positioning interval of the app C is 3 hours. Here, when the application A has the master authority, the position information measured at intervals of 5 minutes is written in the correspondence table 38T of the position information server 30. In addition, when the use of the position information is permitted in each of the applications A to C, “◯” is displayed in the columns of “application A”, “application B”, and “application C” in the permission setting information of the correspondence table 38T. Written. Thereby, the position information server 30 can provide the position information measured at intervals 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 prescribed positioning intervals.

図3に端末装置10の他の構成例を示す。端末装置10は、図2に示した構成に限らず、図3に示すように構成されていてもよい。図3の端末装置10は、複数のアプリケーション処理部120A、120B、120Cに対して1つの位置情報取得制御部122を有している。位置情報取得制御部122は、複数のアプリケーションに対応した1つの位置情報ライブラリとして実装される。   FIG. 3 shows another configuration example of the terminal device 10. The terminal device 10 is not limited to the configuration shown in FIG. 2, and may be configured as shown in FIG. The terminal device 10 in FIG. 3 has one position information acquisition control unit 122 for a 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に代えて備えていてもよい。
FIG. 4 shows still another configuration example of the terminal device 10. 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 acceleration sensor 161 changes its physical quantity in accordance with a change in acceleration applied to the terminal device 10 that is its 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 in order to detect the behavior of the device itself. In the present embodiment, it is described that only the acceleration sensor 161 is provided. However, the gravity sensor, the gyro sensor, or the geomagnetic sensor may be provided together with the acceleration sensor 161 or instead 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 detecting the movement of the own device. Unlike the actual movement amount of the terminal device 10, this movement amount is a movement amount estimated from the behavior of the terminal device 10. This movement amount is output from the position information acquisition unit 160 to the processing unit 12. Thereby, the processing unit 12 can accumulate in the storage unit 18 the position information of the own device that changes according to the movement amount.

なお、位置情報取得部160は、加速度センサ161における物理量の変化に基づいて自装置が移動したことを検知してもよい。位置情報取得部160は、自装置が移動したことを検知したことに応じて、位置情報取得制御部122により測位タイミングを判定させることができる。例えば、位置情報取得制御部122は、自装置が移動状態である場合に、測位タイミングであることを判定することができる。また、位置情報取得制御部122は、単位時間当たりの移動距離又は所定位置からの移動距離が所定距離(例えば100メートル)を超えている場合には、測位タイミングであることを判定することができる。   Note that the position information acquisition unit 160 may detect that the device itself 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 detecting that the own apparatus has moved. For example, the position information acquisition control unit 122 can determine that it is the positioning timing when the own apparatus is in a moving state. 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により検出された通信エリアの識別子が変更したことを判定したタイミングを、測位タイミングであると判定できる。   Further, the position information acquisition control unit 122 may determine the positioning timing based on an identifier of a communication area in which the communication unit 14 can communicate. Examples of the identifier of the communication area include 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 to perform master determination processing for determining the position information acquisition control unit 122 having the authority of the master by the terminal device 10 configured as shown in FIG. FIG. 5 is a flowchart showing a processing procedure of master determination processing.

先ず図5のステップS100において、端末装置10は、処理部12によって複数のアプリケーションプログラムを同時に起動しているか否かを判定する。複数のアプリケーションプログラムが起動している場合にはステップS102に処理を進める。1つのアプリケーションプログラムしか起動していない場合には、端末装置10は、この判定を繰り返す。   First, in step S100 of FIG. 5, the terminal device 10 determines whether or not a plurality of application programs are simultaneously activated by the processing unit 12. If a plurality of application programs are activated, the process proceeds to step S102. When only one application program is activated, 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. This master determination process is described as being performed by the processing unit 12 of each position information acquisition control unit 122. This master determination process is merely an example, and it goes without saying that the position information library as a master may be determined by other processes.

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

次のステップ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 authority of the master. 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 authority of the master. The processing unit 12 may determine the position information acquisition control unit 122 attached to an application program with less 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 slave position information acquisition control unit 122.

ステップ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 a predetermined master determination condition. As the predetermined master determination condition, a condition for setting the position information library as 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 makes a start request to the GPS positioning unit 16 among a plurality of applications. In this case, the processing unit 12 refers to data including a history of application program activation times. The processing unit 12 detects an application having the largest number of activations. Thus, the processing unit 12 detects the position information acquisition control unit 122 attached to the application with the largest number of activations 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 activated first among the plurality of applications. In this case, the processing unit 12 refers to data including a history of application activation times. The processing unit 12 detects an application having the oldest activation time among currently activated applications. The position information acquisition control unit 122 attached to the application with the oldest start time is detected as the master candidate position information acquisition control unit 122.

所定のマスタ決定条件は、複数の位置情報ライブラリのうちバージョンが最新の位置情報ライブラリ、であってもよい。この場合、処理部12は、複数のアプリケーションに付属している各位置情報ライブラリのバージョン情報を参照する。処理部12は、位置情報ライブラリのバージョン情報のうち最新のバージョン情報の位置情報ライブラリを検出する。処理部12は、最新のバージョン情報の位置情報ライブラリに対応した位置情報取得制御部122を、マスタ候補の位置情報取得制御部122として検出する。   The predetermined master determination condition may be a position information library having the latest version among a plurality of position information libraries. In this case, the processing unit 12 refers to the 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 from 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として検出してもよい。   Note that the predetermined master determination conditions may include other conditions. The processing unit 12 may detect the position information acquisition control unit 122 attached to the application program having the oldest installation date and the least 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 having the most types of position information to be acquired as the position information acquisition control unit 122 of the master candidate. Further, the processing unit 12 may detect the position information acquisition control unit 122 attached to the application with the highest positioning frequency as the position information acquisition control unit 122 of the master candidate.

ステップ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 authority of the master as the position information acquisition control unit 122 having the authority of the slave. When a plurality of master candidate position information acquisition control units 122 are detected, the processing unit 12 determines that the position information acquisition control unit 122 that has a large number that matches a predetermined master determination condition The information acquisition control unit 122 may determine the information.

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

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

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

以上のように、処理部12は、複数の位置情報取得制御部122のうちいずれかの位置情報取得制御部122をマスタの権限を有する位置情報取得制御部122に決定できる。   As described above, the processing unit 12 can determine any 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 illustrating a processing procedure for causing the terminal device 10 to acquire position information by the master position information acquisition control unit 122 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 the positioning timing has come. The positioning timing is a timing for acquiring the position information of the own device. The positioning timing is a time interval set in advance in the own apparatus. The positioning timing may be a time interval specified by the position information server 30.

次のステップS302において、マスタの位置情報取得制御部122は、GPS測位部16に起動要求を出力する。これによりGPS測位部16は、GPS信号を受信して三角測量演算を行って自装置の位置を特定する。GPS測位部16は、特定した位置を位置情報として取得する。マスタの権限を有する位置情報取得制御部122には、GPS測位部16により取得された位置情報が供給される。マスタの権限を有する位置情報取得制御部122は、供給された位置情報を測位時刻と共に記憶部18に蓄積する。   In the next step S <b> 302, the master position information acquisition control unit 122 outputs an activation request to the GPS positioning unit 16. Thereby, the GPS positioning part 16 receives a GPS signal, performs a triangulation calculation, and pinpoints the position of an own apparatus. The GPS positioning unit 16 acquires the specified 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 accumulates 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 or not the request is 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 authority of the master stores the position information accumulated in step S302 in the position information acquisition control unit 122 having the authority of the slave that transmitted the request. Is 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 output the request. After the notification in step S304, if there is no request from the position information acquisition control unit 122 having the authority of the slave and a predetermined time has elapsed, the process may be timed out and the process proceeds to step S310.

ステップS310において、マスタの権限を有する位置情報取得制御部122は、位置情報サーバ30への位置情報の送信タイミングであるか否かを判定する。位置情報の送信タイミングは、前回の送信タイミングから所定時間を経過した時である。所定時間は、予め自装置内で決定された時間である。なお、所定時間は、位置情報サーバ30により要求された時間間隔であってもよい。
位置情報の送信タイミングとなった場合(ステップS310:YES)、マスタの権限を有する位置情報取得制御部122は、位置情報サーバ30に未送信の位置情報を記憶部18から読み出して、位置情報サーバ30に送信させる(ステップS312)。送信タイミングではない場合、マスタの権限を有する位置情報取得制御部122は、処理をステップS300に戻す。
In step S <b> 310, the position information acquisition control unit 122 having the authority of the master determines whether it is the transmission timing of the 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 determined in advance in the own apparatus. The predetermined time may be a time interval requested by the location information server 30.
When the transmission timing of the positional information is reached (step S310: YES), the positional information acquisition control unit 122 having the authority of the master reads the positional information that has not been transmitted to the positional information server 30 from the storage unit 18, and the positional information server 30 (step S312). If it is not the transmission timing, the position information acquisition control unit 122 having the authority of the master 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 illustrating an example of an operation screen for setting permission setting information.
The operation screen may be a screen displayed on the terminal device 10 when the terminal device 10 accesses the location information server 30, and is displayed on the terminal device 10 when the terminal device 10 accesses a predetermined address. It may be a screen.
As shown in FIG. 8, on the operation screen for setting permission setting information, “all application permission” B1, “permission” B2, and “non-permission” B3 are displayed. “Permission” B2 and “Non-Permission” 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. However, the present invention is not limited to this, and on the operation screen for setting the permission setting information, an installable application that is not yet installed in the terminal device 10 may be displayed.

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

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

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

次に、図9を参照して、位置情報サーバ30の構成について説明する。図9は、実施形態に係る位置情報サーバ30の構成を示すブロック図である。位置情報サーバ30は、処理部32、第1通信部34、第2通信部36、及び記憶部38を含む。   Next, the configuration of the location information server 30 will be described with reference to FIG. FIG. 9 is a block diagram illustrating a configuration of the location information server 30 according to the embodiment. The location 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 reception unit and a transmission unit 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 permission setting information from the terminal device 10.
The second communication unit 36 includes a reception unit and a transmission unit that communicate with the application server 50. The second communication unit 36 transmits the position information to the application server 50 that provides an application whose use 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 received from the terminal device 10. Here, an example of the correspondence table 38T stored in the storage unit 38 will be described with reference to FIG. FIG. 10 is a diagram illustrating an example of the correspondence table 38T stored in the storage unit 38. As illustrated 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 that associates environmental information.
The user ID, position information, web history information, program execution history information, operation history information, charging history information, attitude change information, and 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 association method, and is information associated with the position information server 30 in the case of the server association 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 column for each application ID. The permission setting information may be composed of only a column of applications installed in the terminal device 10, or may include a column of all applications recognized by the location information server 30. That is, the permission setting information may include a column of applications that are not installed in the terminal device 10. Each row of the permission setting information stores information indicating whether or not the use is permitted by the user for each position information. In the drawing, the permission setting information (permission) is indicated by “◯”, which indicates that the use of the position information is permitted by the user. The permission setting information (non-permitted) is indicated by “-”, and 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 a software function unit that functions when a processor such as a CPU executes a program stored in a memory. Some or all of these functional units may be hardware functional units such as an LSI or an ASIC.
The processing unit 32 includes an extraction unit 321 and an authentication unit 322. The authentication unit 322 determines whether or not the application server 50 that requests the position information is a valid application server 50. The legitimate application server 50 is a server that is permitted to acquire position 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 authentication unit 322 may determine whether or not the application server 50 is a legitimate application server 50 by executing a process similar to the authentication process executed by the authentication server 40. The authentication as to whether or not the application server 50 is legitimate 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 position information satisfying the extraction condition from the storage unit 38. 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 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 position information associated with the application set as the extraction condition from the position information associated with the permission setting information (permission). . More specifically, the extraction unit 321 refers to the correspondence table 38T and associates the application set with “o” indicating that the use of the position information is permitted among the applications set as the extraction condition. The obtained position information is extracted. As a result, the extraction unit 321 can extract the position information corresponding to the set application, which is permitted to be used, and transmit the extracted position information to the application server 50. Therefore, the application server 50 can only acquire and display position information about its own application from among the position information that the user has permitted use.
However, the present invention is not limited to this, and the extraction unit 321 may refer to the permission setting information and extract an application that is permitted to use the position information from among the applications set as the extraction condition. For example, the extraction unit 321 extracts the position information measured within the period permitted for use in the permission setting information based on the positioning time included in the position information in the correspondence table 38T.

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

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

例えば、抽出条件として時刻又は期間が設定された場合、抽出部321は、位置情報に含まれる測位時刻を参照して、抽出条件として設定された時刻又は期間に測位された位置情報を抽出する。具体的に説明すると、抽出部321は、対応テーブル38Tを参照して、設定された時刻又は時間に合致する測位時刻を含む位置情報を抽出する。時刻に合致するとは、設定された時刻と一致する場合であってもよく、設定された時刻を含む所定の期間に含まれる場合とを含む。時間に合致するとは、例えば、12時から13時までのように、設定された時間内に含まれる場合をいう。これにより、抽出部321は、設定された時刻又は期間に端末装置10が存在した位置を示す位置情報を抽出することができる。
ここで、抽出部321は、対応テーブル38Tを参照して、抽出条件として設定された時刻又は期間に測位された位置情報のうち、許諾設定情報(許諾)と対応付けられた位置情報を抽出してもよい。
また、抽出部321は、設定された時刻又は時間に位置情報を送信した端末装置10を示す端末IDに基づき、端末IDと対応付けられるユーザの属性情報を参照して、設定された時刻又は時間に位置情報を送信した端末装置10のユーザの属性を抽出してもよい。これにより、特定の時刻又は時間に位置情報を送信した端末装置10のユーザの属性を抽出することができる。
For example, when time or a 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 measured at the time or period set as the extraction condition. More specifically, the extracting unit 321 refers to the correspondence table 38T and extracts position information including positioning time that matches the set time or time. Matching the time may be a case where it matches the set time, and includes a case where the time is included in a predetermined period including the set time. Matching the time means a case where the time is included within a set time, for example, from 12:00 to 13:00. 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, and extracts position information associated with the permission setting information (permission) from the position information measured at the time or period set as the extraction condition. May be.
In addition, the extraction unit 321 refers to the user attribute information 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 sets the set time or time. The attribute of the user of the terminal device 10 that has transmitted the position information may be extracted. Thereby, the attribute of the user of the terminal device 10 that 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 an extraction condition, the extraction unit 321 refers to map data and extracts position information corresponding to a predetermined range including the place set as the extraction condition. More specifically, the extraction unit 321 refers to the correspondence table 38T and extracts the position information of latitude and longitude included within a predetermined radius centered on the latitude and longitude of the place set as the extraction condition. . Examples of places set as extraction conditions include facilities such as stations and landmarks, mountains, rivers, seas, and the like. The map data may be stored in the storage unit 38 or may be stored in an external server. Thereby, the extraction part 321 can extract the positional information which shows the position of the terminal device 10 which existed around the set place or the set place.
Here, the extraction unit 321 refers to the correspondence table 38T, and extracts position information associated with permission setting information (permission) among position information corresponding to a predetermined range including a place set as an extraction condition. It may be extracted.
Further, the extraction unit 321 refers to the user attribute information associated with the terminal ID based on the terminal ID indicating the terminal device 10 existing at the set location, and determines the attribute of the user existing at the set location. It may be extracted. 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 facility category is set as the extraction condition, the extraction unit 321 refers to the map data and extracts position information corresponding to a predetermined range including the location of the facility of the category set as the extraction condition. . More specifically, the extraction unit 321 refers to the correspondence table 38T, and obtains position information of latitude and longitude included in a predetermined radius centered on the latitude and longitude of the facility of the category set as the extraction condition. Extract. It is assumed that there are a plurality of facilities of the category set as the extraction condition. The extraction unit 321 extracts position information included in a predetermined range centered on at least one of the facilities. The categories set as extraction conditions include, for example, restaurants, convenience stores, bookstores, parking lots, supermarkets, nurseries, schools, and the like. The facility category includes a store name, a parking lot name, 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 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 existing in a convenience store with 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 corresponding to a predetermined range including the location of the facility of the category set as the extraction condition. The position information may be extracted.
Further, the extraction unit 321 exists in the facility of the set category with reference to the user 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. User attributes may be extracted. Thereby, the attribute of the user who existed in the facility of the 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. To do. More specifically, the extraction unit 321 refers to the correspondence table 38T and extracts position information associated with web history information indicating the access history to the set website. Thereby, the positional 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 accesses the website set as the extraction condition based on the permission setting information of the application or the application server 50 that is permitted to use the position information. Position information indicating ten 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 has executed the program of the type or name set as the extraction condition. The position information shown is extracted. More specifically, the extraction unit 321 refers to the correspondence table 38T and extracts position information associated with program execution history information indicating the set program. Thereby, the positional information which shows the position of the terminal device 10 which performed the specific program is extractable.
Here, the extraction unit 321 refers to the correspondence table 38T and corresponds to permission setting information (permission) among the position information indicating the position where the terminal device 10 has executed 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 determines the attribute of the user who has executed the set program. It may be extracted. Thereby, the attribute of the user who 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 accepts the operation of the type or name set as the extraction condition from the user. Position information indicating the selected position is extracted. Specifically, the extracting unit 321 refers to the correspondence table 38T and extracts position information associated with operation history information indicating the set operation. Thereby, it is possible to extract position information indicating a position where a specific operation is input to the terminal device 10.
Here, the extraction unit 321 refers to the correspondence table 38T, and the permission setting information (permission) among the position information indicating the position where the terminal device 10 has received the operation of the type or name set as the extraction condition from the user. You may extract the positional information matched with.
Further, the extracting unit 321 refers to the user attribute information associated with the terminal ID based on the terminal ID indicating the terminal device 10 that has received the set operation, and determines the attribute of the user who has input the set operation. It may be extracted. Thereby, the attribute of the user who input a specific operation can be extracted.

例えば、抽出条件として充電状態であることが設定された場合、抽出部321は、充電履歴情報を参照して、端末装置10が充電状態であった位置を示す位置情報を抽出する。具体的に説明すると、抽出部321は、対応テーブル38Tを参照して、充電が開始した時刻から終了した時刻までの間に測位時刻が含まれる位置情報を抽出する。これにより、端末装置10が充電された位置を示す位置情報を抽出することができる。
ここで、抽出部321は、対応テーブル38Tを参照して、端末装置10が充電状態であった位置を示す位置情報のうち、許諾設定情報(許諾)と対応付けられた位置情報を抽出してもよい。
また、抽出部321は、充電状態にあった端末装置10を示す端末IDに基づき、端末IDと対応付けられるユーザの属性情報を参照して、充電状態にあった端末装置10のユーザの属性を抽出してもよい。これにより、充電しているユーザの属性を抽出することができる。
For example, when the charging condition is set as the extraction condition, the extraction unit 321 refers to the charging history information and extracts position information indicating the position where the terminal device 10 was in the charging state. More specifically, the extracting unit 321 refers to the correspondence table 38T and extracts position information including the positioning time from the time when charging is started to the time when it is ended. Thereby, the positional information which shows the position where the terminal device 10 was charged can be extracted.
Here, the extraction unit 321 refers to the correspondence table 38T and extracts position information associated with permission setting information (permission) from position information indicating a position where the terminal device 10 is in the charged state. Also good.
Further, the extraction unit 321 refers to the user attribute information associated with the terminal ID based on the terminal ID indicating the terminal device 10 in the charged state, and determines the user attribute of the terminal device 10 in the charged state. It may be extracted. 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 and extracts position information indicating a position where the posture of the terminal device 10 has changed. Specifically, the extraction unit 321 refers to the correspondence table 38T and extracts position information associated with the posture change information. Thereby, the positional 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 includes position information indicating a position where the posture of the terminal device 10 satisfies the posture change condition set as the extraction condition. It may be extracted. Further, the extraction unit 321 may 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 a time-series change indicated by the posture change information. When the user condition is set as the extraction condition, the extraction unit 321 extracts position information associated with the 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) from position information indicating a position where the attitude of the terminal device 10 has changed. Good.
Further, the extraction unit 321 refers to the user attribute information associated with the terminal ID based on the terminal ID associated with the posture change information, and extracts the user attribute of the terminal device 10 whose posture has changed. Also good. Thereby, it is possible to extract the attributes of the user who is moving or jogging.

例えば、抽出条件としていずれかの環境条件が設定された場合、抽出部321は、環境情報を参照して、抽出条件として設定された環境条件を満たした位置を示す位置情報を抽出する。具体的に説明すると、抽出部321は、対応テーブル38Tを参照して、設定された環境条件を満たす環境情報と対応付けられた位置情報を抽出する。これにより、設定された環境条件に存在した可能性の高い端末装置10の位置を示す位置情報を抽出することができる。例えば、所定の施設では、場所を示す識別情報を含む可聴音又は不可聴音を出力する。この施設に存在する端末装置10は、集音した可聴音または不可聴音から識別情報を抽出し、位置情報サーバ30に出力する。このように、場所を示す識別情報を含む可聴音または不可聴音を出力している施設の位置を把握したい場合、抽出条件として、場所を示す識別情報を端末装置10が受信したことを設定する。これにより、抽出部321は、抽出条件を満たす施設の位置を示す位置情報を抽出することができる。
ここで、抽出部321は、対応テーブル38Tを参照して、抽出条件として設定された環境条件を満たす環境情報を端末装置10が取得した位置を示す位置情報のうち、許諾設定情報(許諾)と対応付けられた位置情報を抽出してもよい。
また、抽出部321は、環境条件を満たす環境に存在した端末装置10を示す端末IDに基づき、端末IDと対応付けられるユーザの属性情報を参照して、環境条件を満たす環境に存在したユーザの属性を抽出してもよい。これにより、環境条件を満たす環境に存在したユーザの属性を抽出することができる。
For example, when any one of the environmental conditions is set as the extraction condition, the extraction unit 321 refers to the environmental information and extracts position information indicating a position that satisfies the environmental condition set as the extraction condition. More specifically, the extracting unit 321 refers to the correspondence table 38T and extracts position information associated with environment information that satisfies the set environment conditions. Thereby, it is possible to extract position information indicating the position of the terminal device 10 that is likely to exist in the set environmental condition. For example, in a predetermined facility, an audible sound or an 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 or inaudible sound and outputs it to the position information server 30. As described above, when it is desired to grasp the position of the facility that outputs the audible sound or the inaudible sound including the identification information indicating the location, it is set as the extraction condition that the terminal device 10 has received the identification information indicating the location. Thereby, the extraction part 321 can extract the positional information which shows the position of the plant | facility which satisfy | fills extraction conditions.
Here, the extraction unit 321 refers to the correspondence table 38T, and among the position information indicating the position where the terminal apparatus 10 has acquired the environment information that satisfies the environment conditions set as the extraction condition, You may extract the positional information matched.
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 exists in the environment that satisfies the environment condition, and the user of the user that exists in the environment that satisfies the environment condition. 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を所有するユーザの行動を解析する解析処理を実行してもよい。   Based on the extracted information, the extraction unit 321 may execute an analysis process for analyzing the behavior of the user who owns the terminal device 10.

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

次に、サーバ紐づけ方式が採用されているシステムにおいて、位置情報と許諾設定情報とを対応付ける一例について説明する。
例えば、処理部32は、記憶部38に記憶されている許諾設定情報に基づき、許諾期間内に測位された位置情報の利用を許可するアプリケーションがあるか否かを判定する。処理部32は、位置情報の利用を許可するアプリケーションがあると判定した場合、許諾設定情報(許諾)を対応付ける。
例えば、位置情報P1の測位時刻が、アプリAの許諾期間に含まれ、アプリB,Cの許諾期間に含まれていないとする。この場合、処理部32は、許諾設定情報に基づき、対応テーブル38Tにおいて位置情報P1と対応する許諾設定情報の欄のうち、アプリAの欄に“○”を、アプリB,Cの欄に“−”を、それぞれ書き込む。なお、許諾設定情報において、許諾期間が変更された場合、処理部32は、変更後の許諾設定情報に基づき、対応テーブル38Tの許諾設定情報を書き換える。
Next, an example of associating position information with permission setting information in a system that employs a server association method 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 measured within the permission period. When the processing unit 32 determines that there is an application that permits the use of 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 and “B” in the columns of applications B and C among the columns of permission setting information corresponding to the position information P1 in the correspondence table 38T. Write “-” respectively. In the permission setting information, when the permission period is changed, the processing unit 32 rewrites the permission setting information in the correspondence table 38T based on the changed permission setting information.

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

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

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

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

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

以上、本発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。
本発明は、例えば、位置情報サーバなどとして実施することができる。
As mentioned above, although embodiment of this invention was explained in full detail with reference to drawings, the specific structure is not restricted to this embodiment, The design change etc. of the range which does not deviate from the summary of this invention are included.
The present invention can be implemented as, for example, a location information server.

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

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

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 ... Communication 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受信部が受信した前記位置情報を、アプリケーション毎に、前記位置情報の利用が許諾されているアプリケーションであるか否かを示す情報を対応付けて記憶する記憶部と、
前記端末装置にインストールされた複数のアプリケーションのうち起動要求を行ったアプリケーション以外のアプリケーションを提供するアプリケーションサーバから、前記記憶部が記憶する前記位置情報の中から抽出条件を満たす前記位置情報の抽出要求があった場合、前記位置情報の利用が許諾されているアプリケーションであることを示す情報と対応付けられている位置情報のうち、前記抽出条件を満たす前記位置情報を抽出する抽出部と、
を備える位置情報サーバ。
Location information acquired by the location information acquisition unit based on a startup request of any of a plurality of applications installed in the terminal device from a terminal device including a location information acquisition unit that acquires location information in response to the startup request A first receiving unit for receiving
A storage unit that stores the position information received by the first reception unit in association with information indicating whether the application is permitted to use the position information for each application;
An extraction request for the location information that satisfies an extraction condition from the location information stored in the storage unit, from an application server that provides an application other than the application that made the activation request among a plurality of applications installed in the terminal device If there is, an extraction unit that extracts the position information that satisfies the extraction condition from the position information associated with the information indicating that the application is permitted to use the position information;
A location information server comprising:
前記記憶部は、アプリケーション毎に、位置情報の利用が許諾された許諾期間を示す情報を記憶し、
前記抽出部は、前記端末装置に新たにインストールされたアプリケーションの前記許諾期間が当該インストールよりも前の期間である場合に、当該新たにインストールされたアプリケーションの前記許諾期間に対応する位置情報を、前記記憶部が記憶する前記位置情報の中から抽出する、
請求項1に記載の位置情報サーバ。
The storage unit stores, for each application, information indicating a license period during which use of location information is licensed,
The extraction unit, when the permission period of the application newly installed in the terminal device is a period before the installation, the position information corresponding to the permission period of the newly installed application, Extracting from the position information stored in the storage unit,
The location information server according to claim 1.
前記端末装置から受信したアプリケーションの起動情報と位置情報の利用を許諾した許諾情報とに基づき、前記端末装置にインストールされているアプリケーションのうち、起動要求を行うアプリケーションを決定する、
請求項1又は2のいずれか1項に記載の位置情報サーバ。
Based on the activation information of the application received from the terminal device and the permission information licensed to use the location information, the application that performs the activation request among the applications installed in the terminal device is determined.
The location information server according to claim 1 or 2.
請求項1に記載の位置情報サーバと、
起動要求に応じて位置情報を取得する位置情報取得部を備えた端末装置と、
前記端末装置にインストールされたアプリケーションを提供するアプリケーションサーバと、
を備える位置提供システム。
The location information server according to claim 1;
A terminal device including a position information acquisition unit that acquires position information in response to an activation request;
An application server for providing an application installed in the terminal device;
A position providing system comprising:
位置情報サーバが、起動要求に応じて位置情報を取得する位置情報取得部を備えた端末装置から、前記端末装置にインストールされた複数のアプリケーションのいずれかの起動要求に基づき前記位置情報取得部により取得された位置情報を受信する第1受信ステップと、
前記位置情報サーバが、前記第1受信ステップが受信した前記位置情報を、アプリケーション毎に、前記位置情報の利用が許諾されているアプリケーションであるか否かを示す情報を対応付けて記憶部に記憶する記憶ステップと、
前記位置情報サーバが、前記端末装置にインストールされた複数のアプリケーションのうち起動要求を行ったアプリケーション以外のアプリケーションを提供するアプリケーションサーバから、前記記憶部が記憶する前記位置情報の中から抽出条件を満たす前記位置情報の抽出要求があった場合、前記位置情報の利用が許諾されているアプリケーションであることを示す情報と対応付けられている位置情報のうち、前記抽出条件を満たす前記位置情報を抽出する抽出ステップと、
を含む位置提供方法。
From the terminal device provided with a location information acquisition unit that acquires location information in response to an activation request, the location information acquisition unit based on the activation request of any of a plurality of applications installed in the terminal device. A first receiving step of receiving the acquired position information;
The location information server stores the location information received in the first reception step in a storage unit in association with information indicating whether the location information is an application permitted to use the location information for each application. A memory step to
The location information server satisfies an extraction condition from the location information stored in the storage unit from an application server that provides an application other than an application that has requested activation among a plurality of applications installed in the terminal device When there is a request for extracting the position information, the position information satisfying the extraction condition is extracted from position information associated with information indicating that the application is permitted to use the position information. An extraction step;
A position providing method including:
コンピュータに、
起動要求に応じて位置情報を取得する位置情報取得部を備えた端末装置から、前記端末装置にインストールされた複数のアプリケーションのいずれかの起動要求に基づき前記位置情報取得部により取得された位置情報を受信する第1受信機能と、
前記第1受信機能が受信した前記位置情報を、アプリケーション毎に、前記位置情報の利用が許諾されているアプリケーションであるか否かを示す情報を対応付けて記憶する記憶機能と、
前記端末装置にインストールされた複数のアプリケーションのうち起動要求を行ったアプリケーション以外のアプリケーションを提供するアプリケーションサーバから、前記記憶機能が記憶する前記位置情報の中から抽出条件を満たす前記位置情報の抽出要求があった場合、前記位置情報の利用が許諾されているアプリケーションであることを示す情報と対応付けられている位置情報のうち、前記抽出条件を満たす前記位置情報を抽出する抽出機能と、
を実現させるためのコンピュータプログラム。
On the computer,
Location information acquired by the location information acquisition unit based on a startup request of any of a plurality of applications installed in the terminal device from a terminal device including a location information acquisition unit that acquires location information in response to the startup request A first receiving function for receiving
A storage function for storing the position information received by the first reception function in association with information indicating whether the application is permitted to use the position information for each application;
An extraction request for the location information that satisfies an extraction condition from the location information stored in the storage function, from an application server that provides an application other than the application that made the activation request among a plurality of applications installed in the terminal device An extraction function for extracting the position information that satisfies the extraction condition from the position information associated with the information indicating that the application is permitted to use the position information;
Computer program for realizing.
JP2017118147A 2017-06-15 2017-06-15 POSITION INFORMATION SERVER, POSITION PROVIDING SYSTEM, POSITION PROVIDING METHOD, AND COMPUTER PROGRAM Active JP6346348B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2014195835A Division JP6162669B2 (en) 2014-09-25 2014-09-25 Location information server

Related Child Applications (1)

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

Publications (2)

Publication Number Publication Date
JP2017224301A true JP2017224301A (en) 2017-12-21
JP6346348B2 JP6346348B2 (en) 2018-06-20

Family

ID=60686009

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP6346348B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012120058A (en) * 2010-12-02 2012-06-21 Zenrin Co Ltd Mobile terminal
WO2013134373A1 (en) * 2012-03-07 2013-09-12 Intel Corporation Device, system and method of controlling access to location sources
JP2014512774A (en) * 2011-04-19 2014-05-22 サムスン エレクトロニクス カンパニー リミテッド Method and system for sharing and using location information in portable terminals
JP2014102417A (en) * 2012-11-21 2014-06-05 Oceans Inc Information sharing system using map

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012120058A (en) * 2010-12-02 2012-06-21 Zenrin Co Ltd Mobile terminal
JP2014512774A (en) * 2011-04-19 2014-05-22 サムスン エレクトロニクス カンパニー リミテッド Method and system for sharing and using location information in portable terminals
WO2013134373A1 (en) * 2012-03-07 2013-09-12 Intel Corporation Device, system and method of controlling access to location sources
JP2014102417A (en) * 2012-11-21 2014-06-05 Oceans Inc Information sharing system using map

Also Published As

Publication number Publication date
JP6346348B2 (en) 2018-06-20

Similar Documents

Publication Publication Date Title
US10440538B2 (en) Location and contextual-based mobile application promotion and delivery
JP6470247B2 (en) Location-based service providing method and system for changing setting of mobile terminal using cell identifier information
WO2014061224A1 (en) Area-map provision system, terminal device, and server device
JP6397289B2 (en) Communication terminal device, location providing system, location transmission method, and location transmission control program
CN104221403A (en) Location-based application recommendation
CN103177178A (en) Information processing system, mobile information terminal, server, and information processing method
JP6262630B2 (en) Location information server
JP6140660B2 (en) Terminal device, position acquisition method, and position acquisition control program
JP6216702B2 (en) Terminal device, position providing system, and position acquisition control program
JP4712624B2 (en) Information distribution apparatus, information distribution method, and information distribution program
JP6429936B2 (en) POSITION INFORMATION MANAGEMENT DEVICE, POSITION INFORMATION MANAGEMENT METHOD, AND PROGRAM
JP6346348B2 (en) POSITION INFORMATION SERVER, POSITION PROVIDING SYSTEM, POSITION PROVIDING METHOD, AND COMPUTER PROGRAM
JP2018007270A (en) Terminal device, position acquisition method and program
JP6396534B2 (en) Apparatus, position acquisition method, and program for position acquisition control
JP6162669B2 (en) Location information server
JP2016071750A (en) Information provision system and information provision method
JP6692377B2 (en) Calculation device, calculation method, and calculation program
JP6573179B2 (en) Server and computer program
JP2017182136A (en) Application management system, application management method, and application management program
JP6522204B2 (en) Location information server, location providing method and computer program
JP3628685B1 (en) Service providing system and control method thereof, content server and control program thereof
JP6215164B2 (en) Terminal device, position acquisition method, and program
JP2014219333A (en) Submission information display system, server, terminal device, submission information display method, and program
JP6698716B2 (en) Judgment program, judgment device and judgment method
US10511677B2 (en) Information processing method, information processing device, and information processing system

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180524

R150 Certificate of patent or registration of utility model

Ref document number: 6346348

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150