JP2018061126A - Mobile terminal device, sensor data transmission method, and program - Google Patents

Mobile terminal device, sensor data transmission method, and program Download PDF

Info

Publication number
JP2018061126A
JP2018061126A JP2016196933A JP2016196933A JP2018061126A JP 2018061126 A JP2018061126 A JP 2018061126A JP 2016196933 A JP2016196933 A JP 2016196933A JP 2016196933 A JP2016196933 A JP 2016196933A JP 2018061126 A JP2018061126 A JP 2018061126A
Authority
JP
Japan
Prior art keywords
sensor data
mobile terminal
terminal device
wireless communication
unit
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
JP2016196933A
Other languages
Japanese (ja)
Other versions
JP6736160B2 (en
Inventor
森彦 玉井
Morihiko Tamai
森彦 玉井
晃朗 長谷川
Akio Hasegawa
晃朗 長谷川
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.)
ATR Advanced Telecommunications Research Institute International
Original Assignee
ATR Advanced Telecommunications Research Institute International
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 ATR Advanced Telecommunications Research Institute International filed Critical ATR Advanced Telecommunications Research Institute International
Priority to JP2016196933A priority Critical patent/JP6736160B2/en
Publication of JP2018061126A publication Critical patent/JP2018061126A/en
Application granted granted Critical
Publication of JP6736160B2 publication Critical patent/JP6736160B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To reduce a load on a communication network to be used in transmitting sensor data to a server.SOLUTION: A mobile terminal device 1 includes: a storage section 14 for storing sensor data acquired by a sensor 13 and a position and time when the data is acquired; a short-range radio communication section 17 for receiving position information of an opposite terminal; a determination section 18 for determining whether sensor data is to be transmitted to the opposite terminal for each piece of sensor data by using position information of an own terminal, position information of the opposite terminal, and a residence position associated with an area including a position corresponding to the sensor data; and a transmission section 20 for transmitting sensor data and a position and time to a server 3. The short-range radio communication section 17 allows sensor data, etc., determined to be transmitted to be transmitted to the opposite terminal, and receiving sensor data, etc., transmitted from the opposite terminal. The storage section 14 stores sensor data, etc., received from the opposite terminal.SELECTED DRAWING: Figure 2

Description

本発明は、センサデータを取得してサーバに送信する移動端末装置等に関する。   The present invention relates to a mobile terminal device that acquires sensor data and transmits it to a server.

温度や湿度、大気の汚染の程度、周波数の空き状況などを広域にわたって多数のセンサによってセンシングすることによって、天気予報や大気汚染調査、無線基地局の設置計画等に役立てることができる。しかしながら、多数のセンサを広域にわたって設置することは、センサの設置や保守管理に多大なコストを要するため、実現が難しいという問題がある。一方、近年、多くの人がスマートフォンのような移動端末装置を携帯しており、また、自動車などの移動体にもナビゲーションシステムなどの移動端末装置が搭載されている。そのような端末の有するセンサを用いてセンシングを行うことによって、広域のセンシングを比較的少ないコストで行うことができる。そのようなセンシング方式は、例えば、参加型センシング、またはクラウドセンシングと呼ばれるものである。
なお、例えば、特許文献1には、参加型センシングを行うシステムにおいて、センシングの参加者の位置情報を匿名化する技術が記載されている。
By sensing the temperature, humidity, degree of air pollution, frequency vacancy, etc. with a large number of sensors over a wide area, it can be used for weather forecasting, air pollution investigation, radio base station installation planning, and the like. However, the installation of a large number of sensors over a wide area has a problem that it is difficult to realize because the sensor installation and maintenance management require a great deal of cost. On the other hand, in recent years, many people carry mobile terminal devices such as smartphones, and mobile terminal devices such as navigation systems are mounted on mobile objects such as automobiles. By performing sensing using the sensor of such a terminal, wide area sensing can be performed at a relatively low cost. Such a sensing method is called, for example, participatory sensing or cloud sensing.
For example, Patent Document 1 describes a technique for anonymizing position information of a participant in sensing in a system that performs participatory sensing.

特開2015−200862号公報Japanese Patent Laying-Open No. 2015-200862

参加型センシングでは、センサを有する移動端末装置から、センサデータを収集するサーバまでの通信として、例えば、LTE(Long Term Evolution)等のセルラ通信が用いられることが多い。そして、広域のセンシングを実現するために、多くの移動端末装置がセンサデータをサーバに送信するようになると、そのセンサデータの送信に用いられるセルラ通信等の通信網への負荷が大きくなるという問題があった。   In participatory sensing, for example, cellular communication such as LTE (Long Term Evolution) is often used as communication from a mobile terminal device having a sensor to a server that collects sensor data. In order to realize wide area sensing, when many mobile terminal devices transmit sensor data to a server, the load on a communication network such as cellular communication used for transmitting the sensor data increases. was there.

本発明は、上記課題を解決するためになされたものであり、センサデータをサーバに送信する際の通信網の負荷を低減することができる移動端末装置等を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a mobile terminal device and the like that can reduce the load on a communication network when sensor data is transmitted to a server.

上記目的を達成するため、本発明による移動端末装置は、無線通信を行う移動端末装置であって、現在の位置を取得する位置取得部と、現在の時刻を取得する時刻取得部と、センサデータを取得するセンサと、センサによって取得されたセンサデータと、センサデータの取得時に、位置取得部によって取得された位置及び時刻取得部によって取得された時刻とを蓄積する蓄積部と、他の移動端末装置から、他の移動端末装置に関する位置情報を近距離無線通信によって受信する近距離無線通信部と、蓄積部によって蓄積されたセンサデータごとに、自移動端末装置に関する位置情報と、近距離無線通信によって受信された、他の移動端末装置に関する位置情報と、センサデータに対応する位置を含む区域に対応付けられた滞留位置とを用いて、センサデータを他の移動端末装置に送信するかどうか判断する判断部と、蓄積部によって蓄積されたセンサデータと、センサデータに対応する位置及び時刻とを、センサデータを収集するサーバに、近距離無線通信とは異なる無線通信によって送信する送信部と、を備え、近距離無線通信部は、他の移動端末装置に送信すると判断部によって判断されたセンサデータと、センサデータに対応する位置及び時刻とを近距離無線通信によって他の移動端末装置に送信し、他の移動端末装置から近距離無線通信によって送信されたセンサデータと、センサデータに対応する位置及び時刻とを受信し、蓄積部は、近距離無線通信部によって受信されたセンサデータと、センサデータに対応する位置及び時刻とを蓄積する、ものである。
このような構成により、移動端末装置の間でセンサデータを移動させた後に、センサデータをサーバに送信することができ、各移動端末装置からセンサデータをサーバに送信する場合よりも、送信対象のデータ量を削減することができ、その結果、センサデータをサーバに送信する際に用いられる通信網の負荷を低減させることができるようになる。
In order to achieve the above object, a mobile terminal apparatus according to the present invention is a mobile terminal apparatus that performs wireless communication, a position acquisition unit that acquires a current position, a time acquisition unit that acquires a current time, and sensor data , A sensor unit that acquires the sensor data, a storage unit that stores the position acquired by the position acquisition unit and the time acquired by the time acquisition unit when acquiring the sensor data, and another mobile terminal A short-range wireless communication unit that receives position information related to other mobile terminal devices from the device by short-range wireless communication, and for each sensor data stored in the storage unit, position information related to the mobile terminal device and short-range wireless communication Using the position information related to the other mobile terminal device received by and the staying position associated with the area including the position corresponding to the sensor data. A determination unit for determining whether or not to transmit sensor data to another mobile terminal device, the sensor data stored by the storage unit, and the position and time corresponding to the sensor data to a server that collects the sensor data A short-distance wireless communication unit that is determined by the determination unit to transmit to another mobile terminal device, and a position and time corresponding to the sensor data. Is transmitted to other mobile terminal devices by short-range wireless communication, receives sensor data transmitted from other mobile terminal devices by short-range wireless communication, and the position and time corresponding to the sensor data, and the storage unit The sensor data received by the short-range wireless communication unit and the position and time corresponding to the sensor data are accumulated.
With such a configuration, the sensor data can be transmitted to the server after moving the sensor data between the mobile terminal devices, and the transmission target can be transmitted more than when the sensor data is transmitted from each mobile terminal device to the server. The amount of data can be reduced, and as a result, the load on the communication network used when transmitting sensor data to the server can be reduced.

また、本発明による移動端末装置では、蓄積部によって蓄積されたセンサデータのうち、同じ区域及び同じ期間に対応するセンサデータを集約する集約部をさらに備え、送信部は、集約部によって集約されたセンサデータと、センサデータに対応する位置及び時刻とをサーバに送信してもよい。
このような構成により、センサデータを集約しないでサーバに送信する場合と比較して、送信対象のデータ量を削減することができ、その結果、センサデータをサーバに送信する際に用いられる通信網の負荷をより低減させることができるようになる。
The mobile terminal device according to the present invention further includes an aggregating unit that aggregates sensor data corresponding to the same area and the same period among the sensor data accumulated by the accumulating unit, and the transmitting unit is aggregated by the aggregating unit. The sensor data and the position and time corresponding to the sensor data may be transmitted to the server.
With such a configuration, it is possible to reduce the amount of data to be transmitted compared to the case where sensor data is transmitted to a server without being aggregated. As a result, a communication network used when transmitting sensor data to the server It becomes possible to further reduce the load.

また、本発明による移動端末装置では、位置情報は、現在位置を含んでおり、判断部は、自移動端末装置の現在位置とセンサデータに対応する滞留位置との距離が、他の移動端末装置の現在位置と滞留位置との距離よりも大きい場合に、センサデータを他の移動端末装置に送信すると判断してもよい。
このような構成により、ある区域で取得されたセンサデータを、その区域に対応する滞留位置に近い移動端末装置に集めることができる。その結果、その区域で取得されたセンサデータを、より少ない移動端末装置で集中して保持することができ、送信対象のデータ量を削減することができる。
In the mobile terminal device according to the present invention, the position information includes the current position, and the determination unit determines that the distance between the current position of the mobile terminal device and the stay position corresponding to the sensor data is different from the other mobile terminal devices. When the distance between the current position and the staying position is larger than the current position, the sensor data may be determined to be transmitted to another mobile terminal device.
With such a configuration, sensor data acquired in a certain area can be collected in a mobile terminal device close to the staying position corresponding to that area. As a result, sensor data acquired in the area can be centrally held by fewer mobile terminal devices, and the amount of data to be transmitted can be reduced.

また、本発明による移動端末装置では、位置情報は、移動先の位置である目的位置を含んでおり、判断部は、自移動端末装置の目的位置とセンサデータに対応する滞留位置との距離が、他の移動端末装置の目的位置と滞留位置との距離よりも大きい場合に、センサデータを他の移動端末装置に送信すると判断してもよい。
このような構成により、ある区域で取得されたセンサデータを、その区域に対応する滞留位置に近い目的位置を有する移動端末装置に集めることができる。その結果、その区域で取得されたセンサデータを、より少ない移動端末装置で集中して保持することができ、送信対象のデータ量を削減することができる。
Further, in the mobile terminal device according to the present invention, the position information includes a target position that is the position of the destination, and the determination unit determines that the distance between the target position of the mobile terminal device and the stay position corresponding to the sensor data is When the distance between the target position of the other mobile terminal device and the staying position is larger, the sensor data may be determined to be transmitted to the other mobile terminal device.
With such a configuration, sensor data acquired in a certain area can be collected in a mobile terminal apparatus having a target position close to the stay position corresponding to that area. As a result, sensor data acquired in the area can be centrally held by fewer mobile terminal devices, and the amount of data to be transmitted can be reduced.

また、本発明による移動端末装置では、位置情報は、現在位置及び移動先の位置である目的位置を含んでおり、判断部は、自移動端末装置の現在位置から目的位置までのベクトルと自移動端末装置の現在位置からセンサデータに対応する滞留位置までのベクトルとの角度が、他の移動端末装置の現在位置から目的位置までのベクトルと他の移動端末装置の現在位置から滞留位置までのベクトルとの角度よりも大きい場合に、センサデータを他の移動端末装置に送信すると判断してもよい。
このような構成により、ある区域で取得されたセンサデータを、その区域に対応する滞留位置に近い向きに移動している移動端末装置に集めることができる。その結果、その区域で取得されたセンサデータを、より少ない移動端末装置で集中して保持することができ、送信対象のデータ量を削減することができる。
Further, in the mobile terminal device according to the present invention, the position information includes the current position and the target position which is the position of the movement destination, and the determination unit includes the vector from the current position to the target position of the own mobile terminal apparatus and the self-movement. The angle between the current position of the terminal device and the vector from the current position of the other mobile terminal device to the target position and the vector from the current position of the other mobile terminal device to the target position If the angle is larger than the angle, the sensor data may be determined to be transmitted to another mobile terminal device.
With such a configuration, sensor data acquired in a certain area can be collected in a mobile terminal apparatus that is moving in a direction close to the staying position corresponding to that area. As a result, sensor data acquired in the area can be centrally held by fewer mobile terminal devices, and the amount of data to be transmitted can be reduced.

また、本発明による移動端末装置では、目的位置は、現在の時点からあらかじめ決められた時間の経過時点における移動先の位置であってもよい。
このような構成により、あらかじめ決められた時間を適切に設定することによって、目的位置を用いた、より正確な判断が可能となる。
Further, in the mobile terminal device according to the present invention, the target position may be a destination position at the time when a predetermined time has elapsed from the current time point.
With such a configuration, it is possible to make a more accurate determination using the target position by appropriately setting a predetermined time.

また、本発明によるセンサデータ送信方法は、無線通信を行う移動端末装置において処理されるセンサデータ送信方法であって、現在の位置を取得する位置取得ステップと、現在の時刻を取得する時刻取得ステップと、センサデータを取得するセンサデータ取得ステップと、センサデータ取得ステップにおいて取得されたセンサデータと、センサデータの取得時に、位置取得ステップによって取得された位置及び時刻取得ステップによって取得された時刻とを蓄積する第1の蓄積ステップと、他の移動端末装置から、他の移動端末装置に関する位置情報を近距離無線通信によって受信する第1の受信ステップと、蓄積されたセンサデータごとに、自移動端末装置に関する位置情報と、近距離無線通信によって受信された、他の移動端末装置に関する位置情報と、センサデータに対応する位置を含む区域に対応付けられた滞留位置とを用いて、センサデータを他の移動端末装置に送信するかどうか判断する判断ステップと、判断ステップにおいて他の移動端末装置に送信すると判断されたセンサデータと、センサデータに対応する位置及び時刻とを近距離無線通信によって他の移動端末装置に送信する第1の送信ステップと、他の移動端末装置から近距離無線通信によって送信されたセンサデータと、センサデータに対応する位置及び時刻とを受信する第2の受信ステップと、第2の受信ステップにおいて受信されたセンサデータと、センサデータに対応する位置及び時刻とを蓄積する第2の蓄積ステップと、蓄積されたセンサデータと、センサデータに対応する位置及び時刻とを、センサデータを収集するサーバに、近距離無線通信とは異なる無線通信によって送信する第2の送信ステップと、を備えたものである。   The sensor data transmission method according to the present invention is a sensor data transmission method processed in a mobile terminal apparatus that performs wireless communication, and includes a position acquisition step for acquiring a current position and a time acquisition step for acquiring a current time. Sensor data acquisition step for acquiring sensor data, sensor data acquired in the sensor data acquisition step, and the position acquired by the position acquisition step and the time acquired by the time acquisition step at the time of sensor data acquisition A first accumulation step for accumulation, a first reception step for receiving position information relating to another mobile terminal device from another mobile terminal device by short-range wireless communication, and the own mobile terminal for each accumulated sensor data Location information about the device and other mobile terminal devices received via near field communication Determining whether to transmit the sensor data to another mobile terminal device using the position information to be performed and the staying position associated with the area including the position corresponding to the sensor data; A first transmission step of transmitting the sensor data determined to be transmitted to the mobile terminal device and the position and time corresponding to the sensor data to another mobile terminal device by short-range wireless communication; A second receiving step for receiving sensor data transmitted by distance wireless communication, a position and time corresponding to the sensor data, a sensor data received in the second receiving step, a position corresponding to the sensor data, and A second accumulation step for accumulating time, accumulated sensor data, and a position and time corresponding to the sensor data, A server for collecting Nsadeta, in which and a second transmitting step of transmitting by different wireless communication with the short-range wireless communication.

本発明による移動端末装置等によれば、センサデータを移動端末装置の間で送受信した後にサーバに送信することにより、サーバに送信する際の通信網の負荷を低減することができる。   According to the mobile terminal device and the like according to the present invention, sensor data is transmitted and received between mobile terminal devices and then transmitted to the server, whereby the load on the communication network when transmitting to the server can be reduced.

本発明の実施の形態による無線通信システムの構成を示す模式図Schematic diagram showing a configuration of a wireless communication system according to an embodiment of the present invention 同実施の形態による移動端末装置の構成を示すブロック図The block diagram which shows the structure of the mobile terminal device by the embodiment 同実施の形態によるサーバの構成を示すブロック図The block diagram which shows the structure of the server by the embodiment 同実施の形態による移動端末装置の動作を示すフローチャートThe flowchart which shows operation | movement of the mobile terminal device by the embodiment 同実施の形態による移動端末装置の動作を示すフローチャートThe flowchart which shows operation | movement of the mobile terminal device by the embodiment 同実施の形態による移動端末装置の動作を示すフローチャートThe flowchart which shows operation | movement of the mobile terminal device by the embodiment 同実施の形態による移動端末装置の動作を示すフローチャートThe flowchart which shows operation | movement of the mobile terminal device by the embodiment 同実施の形態による移動端末装置の動作を示すフローチャートThe flowchart which shows operation | movement of the mobile terminal device by the embodiment 同実施の形態における区域について説明するための図The figure for demonstrating the area in the embodiment 同実施の形態における期間について説明するための図The figure for demonstrating the period in the embodiment 同実施の形態における区域に対応する滞留位置の一例を示す図The figure which shows an example of the residence position corresponding to the area in the embodiment 同実施の形態における区域に対応する滞留位置の一例を示す図The figure which shows an example of the residence position corresponding to the area in the embodiment 同実施の形態における方式3の判断について説明するための図The figure for demonstrating the judgment of the system 3 in the embodiment 同実施の形態におけるデータの送受信の一例を示す図The figure which shows an example of transmission / reception of the data in the embodiment 同実施の形態における移動端末装置の位置関係の一例を示す図The figure which shows an example of the positional relationship of the mobile terminal device in the embodiment 同実施の形態における移動端末装置の位置関係の一例を示す図The figure which shows an example of the positional relationship of the mobile terminal device in the embodiment 同実施の形態における移動端末装置の位置関係の一例を示す図The figure which shows an example of the positional relationship of the mobile terminal device in the embodiment 同実施の形態における移動端末装置の位置関係の一例を示す図The figure which shows an example of the positional relationship of the mobile terminal device in the embodiment 同実施の形態における移動端末装置の位置関係の一例を示す図The figure which shows an example of the positional relationship of the mobile terminal device in the embodiment 同実施の形態における移動端末装置の位置関係の一例を示す図The figure which shows an example of the positional relationship of the mobile terminal device in the embodiment 同実施の形態におけるコンピュータシステムの構成の一例を示す図The figure which shows an example of a structure of the computer system in the embodiment

以下、本発明による移動端末装置等について、実施の形態を用いて説明する。なお、以下の実施の形態において、同じ符号を付した構成要素及びステップは同一または相当するものであり、再度の説明を省略することがある。本実施の形態による移動端末装置は、センサデータを取得し、近距離無線通信を用いて移動端末装置間でセンサデータを送受信し、センサデータを集約した後にサーバにアップロードするものである。   Hereinafter, mobile terminal devices and the like according to the present invention will be described using embodiments. In the following embodiments, components and steps denoted by the same reference numerals are the same or equivalent, and repetitive description may be omitted. The mobile terminal device according to the present embodiment acquires sensor data, transmits / receives sensor data between mobile terminal devices using short-range wireless communication, aggregates the sensor data, and then uploads the data to a server.

図1は、本実施の形態による無線通信システム100の構成を示すブロック図である。本実施の形態による無線通信システム100は、無線通信を行う複数の移動端末装置1−1,1−2,…,1−6と、複数の無線基地局2−1,2−2,2−3と、センサデータを収集するサーバ3とを備える。なお、各装置等を特に区別しない場合には、移動端末装置1,無線基地局2と記載するものとする。移動端末装置1は、参加型センシングにおいてセンサデータを取得する端末であり、例えば、スマートフォンやタブレット端末、携帯電話、ウェアラブル端末などのように、人が携帯する装置であってもよく、ナビゲーションシステム、車載装置などのように、自動車や電車、ドローン(マルチコプター)等の移動体に搭載される装置であってもよい。移動端末装置1は、後記の通り、移動端末装置1の間での近距離無線通信を行うことができ、また、無線基地局2との無線通信を行うことができるものとする。移動端末装置1の間で行われる近距離無線通信は、通常、いわゆるすれ違い通信として、ユーザ等の操作を介さないで行われることになる。本実施の形態では、移動端末装置1が無線基地局2を介して行う通信が、セルラ通信である場合について説明する。セルラ通信は、例えば、LTEやW−CDMA(Wideband Code Division Multiple Access)等の携帯電話による通信であってもよい。移動端末装置1のユーザは、例えば、ボランティアで、または何らかの報酬を受け取って、移動端末装置1を参加型センシングに参加させてもよい。無線基地局2と、サーバ3とは、有線または無線のネットワーク50を介して通信可能に接続されている。ネットワーク50は、例えば、インターネットであってもよく、公衆電話回線網であってもよく、その他のネットワークであってもよい。なお、移動端末装置1や無線基地局2の個数は問わない。   FIG. 1 is a block diagram showing a configuration of a wireless communication system 100 according to the present embodiment. A radio communication system 100 according to the present embodiment includes a plurality of mobile terminal apparatuses 1-1, 1-2,..., 1-6 that perform radio communication, and a plurality of radio base stations 2-1, 2-2, 2- 3 and a server 3 for collecting sensor data. In addition, when not distinguishing each apparatus in particular, it shall describe as the mobile terminal device 1 and the wireless base station 2. The mobile terminal device 1 is a terminal that acquires sensor data in participatory sensing. For example, the mobile terminal device 1 may be a device carried by a person such as a smartphone, a tablet terminal, a mobile phone, a wearable terminal, a navigation system, A device mounted on a moving body such as an automobile, a train, and a drone (multi-copter), such as an in-vehicle device. As described later, the mobile terminal apparatus 1 can perform short-range wireless communication between the mobile terminal apparatuses 1 and can perform wireless communication with the wireless base station 2. The short-range wireless communication performed between the mobile terminal devices 1 is usually performed as a so-called passing communication without an operation of a user or the like. This Embodiment demonstrates the case where the communication which the mobile terminal device 1 performs via the wireless base station 2 is cellular communication. The cellular communication may be, for example, communication using a mobile phone such as LTE or W-CDMA (Wideband Code Division Multiple Access). The user of the mobile terminal device 1 may cause the mobile terminal device 1 to participate in participatory sensing, for example, as a volunteer or receiving some reward. The wireless base station 2 and the server 3 are connected via a wired or wireless network 50 so that they can communicate with each other. The network 50 may be, for example, the Internet, a public telephone line network, or another network. The number of mobile terminal devices 1 and radio base stations 2 is not limited.

図2は、移動端末装置1の構成を示すブロック図である。図2において、移動端末装置1は、位置取得部11と、時刻取得部12と、センサ13と、蓄積部14と、記憶部15と、目的位置取得部16と、近距離無線通信部17と、判断部18と、集約部19と、送信部20とを備える。   FIG. 2 is a block diagram showing the configuration of the mobile terminal device 1. In FIG. 2, the mobile terminal device 1 includes a position acquisition unit 11, a time acquisition unit 12, a sensor 13, a storage unit 14, a storage unit 15, a target position acquisition unit 16, and a short-range wireless communication unit 17. The determination unit 18, the aggregation unit 19, and the transmission unit 20 are provided.

位置取得部11は、現在の位置を取得する。位置取得部11は、例えば、GPS(Global Positioning System)を用いて位置を取得してもよく、携帯電話や無線LAN等の最寄りの基地局を利用して位置を取得してもよい。また、移動端末装置1が車両等に搭載されている場合には、位置取得部11は、例えば、ジャイロなどの自律航法装置を用いて現在の位置を取得してもよい。位置取得部11によって取得される位置は、例えば、緯度と経度を示す座標であってもよく、その他の座標であってもよい。また、移動端末装置1がドローン等の飛行体等に搭載されている場合には、位置取得部11は、高度を含む3次元の位置を取得してもよい。その高度は、例えば、GPSを用いて取得されてもよく、高度計や、地表までの距離を測定する距離計等を用いて取得されてもよい。   The position acquisition unit 11 acquires the current position. The position acquisition unit 11 may acquire the position using, for example, GPS (Global Positioning System), or may acquire the position using a nearest base station such as a mobile phone or a wireless LAN. When the mobile terminal device 1 is mounted on a vehicle or the like, the position acquisition unit 11 may acquire the current position using an autonomous navigation device such as a gyro, for example. The position acquired by the position acquisition unit 11 may be, for example, coordinates indicating latitude and longitude, or may be other coordinates. In addition, when the mobile terminal device 1 is mounted on a flying body such as a drone, the position acquisition unit 11 may acquire a three-dimensional position including altitude. The altitude may be acquired using, for example, GPS, or may be acquired using an altimeter, a distance meter that measures the distance to the ground surface, or the like.

時刻取得部12は、現在の時刻を取得する。時刻取得部12は、例えば、時計を用いて時刻を取得してもよい。また、時刻取得部12は、時刻を含む日時を取得してもよい。日時は、時刻と年月日とを含んでいてもよい。時刻取得部12は、例えば、年月日をカレンダー部から取得してもよい。   The time acquisition unit 12 acquires the current time. For example, the time acquisition unit 12 may acquire the time using a clock. Moreover, the time acquisition part 12 may acquire the date and time containing time. The date and time may include time and date. For example, the time acquisition unit 12 may acquire the date from the calendar unit.

センサ13は、センサデータを取得する。そのセンサデータは、例えば、温度、湿度、気圧、二酸化炭素の濃度、粒子状物質(例えば、PM2.5)の濃度、花粉の飛散状況、環境音のレベル(騒音のレベル)、照度、紫外線強度、空いている周波数帯域等であってもよく、センシング対象となるその他のデータであってもよい。したがって、センサ13は、例えば、温度計、湿度計、気圧計、二酸化炭素の濃度計、浮遊粒子センサ、花粉センサ、音センサ、照度センサ、紫外線センサ、スペクトルセンシングを行って空き周波数帯域を検出する空き周波数帯域検出器等であってもよい。なお、空き周波数帯域検出器は、例えば、スペクトルセンシングを行い、各周波数において受信した無線信号の受信電力を閾値と比較することによって、無線通信の行われていない周波数帯域を検出してもよい。   The sensor 13 acquires sensor data. The sensor data includes, for example, temperature, humidity, atmospheric pressure, carbon dioxide concentration, particulate matter (eg, PM2.5) concentration, pollen scattering status, environmental sound level (noise level), illuminance, and ultraviolet intensity. It may be a vacant frequency band or the like, or other data to be sensed. Accordingly, the sensor 13 detects a free frequency band by performing, for example, a thermometer, a hygrometer, a barometer, a carbon dioxide concentration meter, a suspended particle sensor, a pollen sensor, a sound sensor, an illuminance sensor, an ultraviolet sensor, and spectrum sensing. An empty frequency band detector or the like may be used. Note that the vacant frequency band detector may detect a frequency band in which radio communication is not performed, for example, by performing spectrum sensing and comparing the received power of the radio signal received at each frequency with a threshold value.

蓄積部14は、センサ13によって取得されたセンサデータと、そのセンサデータの取得時に、位置取得部11によって取得された位置及び時刻取得部12によって取得された時刻とを記憶部15に蓄積する。蓄積部14は、その蓄積の際に、センサデータ、位置、及び時刻の対応関係が分かるように蓄積することが好適である。蓄積部14は、例えば、センサデータと、そのセンサデータの取得時の位置と、そのセンサデータの取得時の時刻とをひとまとまりの情報として記憶部15に蓄積してもよい。また、蓄積部14は、近距離無線通信部17によって受信されたセンサデータと、そのセンサデータに対応する位置及び時刻とを記憶部15に蓄積する。蓄積部14は、位置取得部11によって取得された位置をそのまま蓄積してもよく、または、その位置について所定の丸め処理(端数処理)を行った位置を蓄積してもよい。所定の丸め処理は、例えば、位置取得部11によって取得された位置を、その位置を含む区域(後記する)に変換することであってもよい。その場合には、センサデータが、区域である位置に対応付けられて記憶部15に蓄積されることになる。時刻についても同様に丸め処理が行われてもよい。すなわち、蓄積部14は、時刻取得部12によって取得された時刻をそのまま蓄積してもよく、または、その時刻について所定の丸め処理を行って時刻を蓄積してもよい。所定の丸め処理は、例えば、時刻取得部12によって取得された時刻を、その時刻を含む期間(後記する)に変換することであってもよい。その場合には、センサデータが、期間である時刻に対応付けられて記憶部15に蓄積されることになる。   The accumulating unit 14 accumulates in the storage unit 15 the sensor data acquired by the sensor 13 and the position acquired by the position acquiring unit 11 and the time acquired by the time acquiring unit 12 when the sensor data is acquired. The accumulation unit 14 preferably accumulates so that the correspondence between sensor data, position, and time can be understood during the accumulation. For example, the storage unit 14 may store the sensor data, the position when the sensor data is acquired, and the time when the sensor data is acquired in the storage unit 15 as a single piece of information. Further, the storage unit 14 stores the sensor data received by the short-range wireless communication unit 17 and the position and time corresponding to the sensor data in the storage unit 15. The accumulating unit 14 may accumulate the position acquired by the position acquiring unit 11 as it is, or may accumulate a position where a predetermined rounding process (fraction processing) has been performed on the position. The predetermined rounding process may be, for example, converting the position acquired by the position acquisition unit 11 into an area including the position (described later). In that case, the sensor data is stored in the storage unit 15 in association with the position that is the area. A rounding process may be similarly performed on the time. That is, the storage unit 14 may store the time acquired by the time acquisition unit 12 as it is, or may store the time by performing a predetermined rounding process on the time. The predetermined rounding process may be, for example, converting the time acquired by the time acquisition unit 12 into a period including the time (described later). In this case, the sensor data is accumulated in the storage unit 15 in association with the time that is the period.

記憶部15では、センサデータと、そのセンサデータの取得された位置と、そのセンサデータの取得された時刻とが記憶される。また、通常、記憶部15では、複数のセンサデータが記憶されることになる。記憶部15での記憶は、RAM等における一時的な記憶でもよく、または、長期的な記憶でもよい。記憶部15は、所定の記録媒体(例えば、半導体メモリや磁気ディスクなど)によって実現されうる。   The storage unit 15 stores sensor data, a position where the sensor data is acquired, and a time when the sensor data is acquired. In general, the storage unit 15 stores a plurality of sensor data. The storage in the storage unit 15 may be temporary storage in a RAM or the like, or may be long-term storage. The storage unit 15 can be realized by a predetermined recording medium (for example, a semiconductor memory or a magnetic disk).

目的位置取得部16は、移動端末装置1の目的位置を取得する。目的位置取得部16は、例えば、経路探索によって目的位置を取得してもよく、移動端末装置1の過去の移動履歴と、直近の移動履歴とを用いて目的位置を取得してもよい。移動端末装置1が経路探索装置を有する場合、または、移動端末装置1の搭載されている移動体にナビゲーションシステム等の経路探索装置が搭載されている場合には、例えば、経路探索装置によって現在位置から目的地(行き先)までの経路探索が行われることによって経路が特定され、その経路に応じた目的位置が取得されてもよい。その目的位置は、移動端末装置1の移動先の位置であり、例えば、ユーザによって入力された目的地そのものであってもよく、または、現在の時点からあらかじめ決められた時間の経過時点における移動先の位置であってもよい。後者の場合には、例えば、探索された経路における、現時点から所定の時間後(例えば、5分後や10分後など。移動端末装置1からサーバ3にセンサデータが定期的にアップロードされる場合には、その周期程度の時間であってもよい。)の位置が目的位置であってもよい。例えば、現在の時点から1時間後に到達する目的地を目的位置とした場合には、後記する方式2で判断するときに、途中の経路でセンサデータに対応する滞留位置に近い箇所を通過するにも関わらず、目的地である目的位置と滞留位置との距離が大きいと判断されることもあり得る。また、後記する方式3で判断するときに、現在の位置と目的地である目的位置との間に滞留位置が存在すると、途中の経路でセンサデータに対応する滞留位置を迂回して移動するにも関わらず、現在位置から目的位置までのベクトルと現在位置から滞留位置までのベクトルとの角度が小さいと判断されることもあり得る。そのような不適切な判断を回避するためには、現時点からあまり遠くない所定の時間後の位置を目的位置とすることが好適である。なお、例えば、現時点から所定の時間後の位置を目的位置とすると設定されていた場合に、目的位置取得部16が、その所定の時間後(例えば、10分後)の位置を取得できない場合には、現時点からその所定時間以内の時点(この時点は、所定時間に近いほど好適である。)の位置を目的位置としてもよい。また、移動履歴を用いて目的位置を取得する場合には、位置取得部11によって取得された現在の位置が、図示しない記録媒体に、移動履歴として記憶されるようになっていてもよい。そして、目的位置取得部16は、直近の移動履歴(例えば、直近の5分の履歴等)と一致する、それ以前の移動履歴をパターンマッチング等によって特定し、その特定した移動履歴の箇所から所定の時間後の移動履歴の位置を読み出すことによって、目的位置を取得してもよい。ここで、直近の移動履歴と、過去の移動履歴とが一致するとは、両者の類似度が閾値以上であることであってもよい。なお、目的位置取得部16は、目的位置を取得できないこともあり得る。具体的には、経路探索の行われていない場合や、直近の移動履歴と一致する過去の移動履歴が存在しない場合には、目的位置取得部16は、目的位置を取得できないことになる。   The target position acquisition unit 16 acquires the target position of the mobile terminal device 1. For example, the target position acquisition unit 16 may acquire the target position by route search, or may acquire the target position using the past movement history of the mobile terminal device 1 and the latest movement history. When the mobile terminal device 1 has a route search device, or when a route search device such as a navigation system is mounted on a mobile body on which the mobile terminal device 1 is mounted, for example, the current position is determined by the route search device. The route may be specified by performing a route search from the destination to the destination (destination), and the destination position corresponding to the route may be acquired. The destination position is the position of the destination of the mobile terminal device 1 and may be, for example, the destination itself input by the user, or the destination at the time when a predetermined time has elapsed from the current time. It may be the position. In the latter case, for example, after a predetermined time (for example, 5 minutes or 10 minutes after the current time) in the searched route, the sensor data is periodically uploaded from the mobile terminal device 1 to the server 3. May be the time of the period.) The position may be the target position. For example, when a destination that arrives one hour after the current time point is set as a destination position, when a method 2 described later is used, a route close to the stay position corresponding to the sensor data is passed along the route. Nevertheless, it may be determined that the distance between the destination position as the destination and the staying position is large. In addition, if a staying position exists between the current position and the destination target position when making a determination using method 3 to be described later, the staying position corresponding to the sensor data is detoured and moved along a route on the way. Nevertheless, it may be determined that the angle between the vector from the current position to the target position and the vector from the current position to the stay position is small. In order to avoid such an inappropriate determination, it is preferable to set the position after a predetermined time not far from the current time as the target position. For example, when it is set that the position after a predetermined time from the current time is set as the target position, the target position acquisition unit 16 cannot acquire the position after the predetermined time (for example, after 10 minutes). The target position may be a position within a predetermined time from the current time (this time is more suitable as the time is closer). When the target position is acquired using the movement history, the current position acquired by the position acquisition unit 11 may be stored as a movement history in a recording medium (not shown). Then, the target position acquisition unit 16 identifies the previous movement history that matches the latest movement history (for example, the latest five-minute history) by pattern matching or the like, and determines the predetermined movement history from the location of the identified movement history. The target position may be acquired by reading the position of the movement history after a predetermined time. Here, the fact that the most recent movement history and the past movement history match may be that the similarity between the two is equal to or greater than a threshold value. Note that the target position acquisition unit 16 may not be able to acquire the target position. Specifically, when the route search is not performed or when there is no past movement history that matches the latest movement history, the target position acquisition unit 16 cannot acquire the target position.

近距離無線通信部17は、他の移動端末装置1から、他の移動端末装置1に関する位置情報を、近距離無線通信によってアンテナ17aを介して受信する。近距離無線通信は、近距離で行われる無線通信であり、例えば、Wi−Fi Directや、Bluetooth(登録商標) LE(Low Energy)、LTE Direct等による無線通信であってもよい。その近距離無線通信は、すれ違い通信としてアドホックに行えることが好適である。アンテナ17aは、近距離無線通信用のアンテナである。また、近距離無線通信部17は、移動端末装置1の位置情報を、他の移動端末装置1に近距離無線通信によってアンテナ17aを介して送信してもよい。位置情報は、例えば、現在位置を含んでいてもよく、目的位置を含んでいてもよく、現在位置と目的位置とを含んでいてもよい。また、近距離無線通信部17は、他の移動端末装置1に送信すると判断部18によって判断されたセンサデータと、そのセンサデータに対応する位置及び時刻とを、近距離無線通信によって他の移動端末装置1にアンテナ17aを介して送信する。また、近距離無線通信部17は、他の移動端末装置1から近距離無線通信によって送信されたセンサデータと、そのセンサデータに対応する位置及び時刻とをアンテナ17aを介して受信する。近距離無線通信部17が送信する位置や時刻も、上記のように、丸め処理が行われてもよい。すなわち、近距離無線通信部17は、記憶部15で記憶されている位置や時刻に丸め処理の行われた位置や時刻を、他の移動端末装置1に送信してもよい。また、近距離無線通信部17が他の移動端末装置1から受信するセンサデータは、その送信元の移動端末装置1において取得されたものであってもよく、または、その送信元の移動端末装置1が他の移動端末装置1から受信したものであってもよい。近距離無線通信部17が、センサデータと、それに対応する位置及び時刻とを近距離無線通信によって他の移動端末装置1に送信した場合には、その送信されたセンサデータや位置及び時刻は、例えば、記憶部15から削除されてもよく、または、その後の処理において用いられないようになってもよい。その削除の処理は、例えば、近距離無線通信部17によって行われてもよい。   The short-range wireless communication unit 17 receives position information regarding another mobile terminal device 1 from another mobile terminal device 1 via the antenna 17a by short-range wireless communication. The short-range wireless communication is wireless communication performed at a short distance, and may be, for example, wireless communication using Wi-Fi Direct, Bluetooth (registered trademark) LE (Low Energy), LTE Direct, or the like. It is preferable that the short-range wireless communication can be performed ad hoc as passing communication. The antenna 17a is an antenna for near field communication. The short-range wireless communication unit 17 may transmit the position information of the mobile terminal device 1 to the other mobile terminal devices 1 via the antenna 17a by short-range wireless communication. The position information may include, for example, the current position, may include the target position, and may include the current position and the target position. Further, the short-range wireless communication unit 17 transmits the sensor data determined by the determination unit 18 to be transmitted to another mobile terminal device 1 and the position and time corresponding to the sensor data to other mobile terminals by the short-range wireless communication. It transmits to the terminal device 1 via the antenna 17a. The short-range wireless communication unit 17 receives sensor data transmitted from another mobile terminal device 1 by short-range wireless communication, and a position and time corresponding to the sensor data via the antenna 17a. As described above, the rounding process may also be performed on the position and time transmitted by the short-range wireless communication unit 17. That is, the short-range wireless communication unit 17 may transmit the position and time that have been rounded to the position and time stored in the storage unit 15 to other mobile terminal devices 1. Further, the sensor data received by the short-range wireless communication unit 17 from the other mobile terminal device 1 may be acquired by the mobile terminal device 1 that is the transmission source, or the mobile terminal device that is the transmission source. 1 may be received from another mobile terminal device 1. When the short-range wireless communication unit 17 transmits the sensor data and the corresponding position and time to another mobile terminal device 1 by short-range wireless communication, the transmitted sensor data, position, and time are: For example, it may be deleted from the storage unit 15 or may not be used in subsequent processing. The deletion process may be performed by the short-range wireless communication unit 17, for example.

近距離無線通信部17は、例えば、他の移動端末装置1からブロードキャストで送信された信号を受信した場合に、その移動端末装置1との近距離無線通信を行ってもよい。また、近距離無線通信部17によってブロードキャストで送信された信号が、他の移動端末装置1で受信され、その信号に対する返信があった場合に、近距離無線通信部17は、その返信を行った移動端末装置1との近距離無線通信を行ってもよい。そのように、ブロードキャストで送信される信号には、例えば、自移動端末装置1のアドレスが含まれていてもよい。以下、そのようにブロードキャストで送信される信号を、「Helloパケット」と記載することにする。そのHelloパケットの送受信によって、すれ違い通信が開始されてもよい。
なお、近距離無線通信部17は、通信を行うための無線の通信デバイスを含んでもよく、または含まなくてもよい。また、近距離無線通信部17は、ハードウェアによって実現されてもよく、または通信デバイスを駆動するドライバ等のソフトウェアによって実現されてもよい。
For example, the short-range wireless communication unit 17 may perform short-range wireless communication with the mobile terminal device 1 when receiving a signal transmitted by broadcast from another mobile terminal device 1. In addition, when a signal transmitted by broadcast by the short-range wireless communication unit 17 is received by another mobile terminal device 1 and a reply to the signal is received, the short-range wireless communication unit 17 performs the reply. Short-distance wireless communication with the mobile terminal device 1 may be performed. As such, the signal transmitted by broadcast may include, for example, the address of the own mobile terminal device 1. Hereinafter, such a signal transmitted by broadcast is referred to as a “Hello packet”. Passing communication may be started by transmission / reception of the Hello packet.
Note that the short-range wireless communication unit 17 may or may not include a wireless communication device for performing communication. The short-range wireless communication unit 17 may be realized by hardware, or may be realized by software such as a driver that drives a communication device.

判断部18は、蓄積部14によって記憶部15に蓄積されたセンサデータごとに、センサデータを他の移動端末装置1に送信するかどうか判断する。判断部18は、自移動端末装置1−mに関する位置情報と、近距離無線通信によって受信された、他の移動端末装置1−nに関する位置情報と、判断対象のセンサデータに対応する位置を含む区域に対応付けられた滞留位置とを用いて、その判断を行うものとする。なお、ここでは、自他の移動端末装置1を区別しやすくするため、「自移動端末装置1−m」、「他の移動端末装置1−n」と記載することにする。また、センサデータに対応する位置とは、そのセンサデータの取得された位置のことである。通常、その位置は、センサデータに対応付けられて記憶部15で記憶されている。センサ13によるセンシングの対象となる空間(例えば、日本の領域全体等)は、例えば、図7Aで示されるように、複数の区域C,C,…に分割されているものとする。なお、図7Aでは、各区域が正方形状である場合について示しているが、各区域は、例えば、矩形状であってもよく、その他の形状であってもよい。各区域の形状は、区域ごとに異なっていてもよく、または、同じであってもよい。各区域がどのような形状であったとしても、各区域の境界が分かるようになっているものとする。例えば、図7Aで示されるように、センサデータに対応する位置が(X1,Y1)である場合には、その位置(X1,Y1)は、区域Cに含まれることになる。また、各区域には、その区域に対応する滞留位置があらかじめ設定されているものとする。例えば、図8Aで示されるように、区域Cの滞留位置SY(C)は、区域Cの重心であってもよい。また、区域Cの滞留位置SY(C)は、区域C内の他の位置であってもよい。また、図8Bで示されるように、区域Cの滞留位置SY(C)は、区域C外の位置であってもよい。区域Cの滞留位置SY(C)は、その区域Cにおいて取得されたセンサデータが集合するように設定される位置である。したがって、より多くの移動端末装置1が集合し得る位置を滞留位置に設定してもよい。具体的には、駅やショッピングモール等が滞留位置に設定されてもよい。なお、所定のルール(例えば、重心等)によって区域の滞留位置が決まる場合には、区域ごとの滞留位置が記憶されていなくてもよいが、そうでない場合には、区域ごとに滞留位置が記憶されていることが好適である。例えば、区域の識別子と、その区域の滞留位置とを対応付ける情報が記憶部15で記憶されていてもよい。判断部18は、例えば、自移動端末装置1−m(以下、「自端末」とすることもある。)が、他の移動端末装置1−n(以下、「相手端末」とすることもある。)と近距離無線通信を行うことができるようになり、他の移動端末装置1−nから位置情報を受信した場合に、その判断を行うことが好適である。判断部18は、例えば、ある判断対象のセンサデータについて、他の移動端末装置1−nのほうが自移動端末装置1−mよりも、その判断対象のセンサデータに対応する滞留位置に近い場合には、そのセンサデータを送信すると判断し、他の移動端末装置1−nのほうが自移動端末装置1−mよりも、その判断対象のセンサデータに対応する滞留位置に近くない場合には、そのセンサデータを送信しないと判断してもよい。そのような判断に応じたセンサデータの送受信が行われることによって、できるだけ少数の移動端末装置1に、センサデータが集中して保持されるようにすることができる。なお、判断対象のセンサデータに対応する滞留位置とは、判断対象のセンサデータの取得された位置の含まれる区域の滞留位置のことである。また、判断に自端末の現在位置を用いる場合には、判断部18は、位置取得部11によって取得された位置を現在位置として用いる。また、判断に自端末の目的位置を用いる場合には、判断部18は、目的位置取得部16によって取得された目的位置を用いる。ここで、判断部18による判断の一例として、現在位置を用いた判断(方式1)と、目的位置を用いた判断(方式2)と、現在位置及び目的位置とを用いた判断(方式3)とについて説明する。 The determination unit 18 determines whether to transmit sensor data to another mobile terminal device 1 for each sensor data stored in the storage unit 15 by the storage unit 14. The determination unit 18 includes position information related to the own mobile terminal device 1-m, position information related to the other mobile terminal device 1-n received by short-range wireless communication, and a position corresponding to the sensor data to be determined. The determination shall be made using the stay position associated with the area. Here, in order to make it easy to distinguish the own mobile terminal device 1 from the other, it will be described as “own mobile terminal device 1-m” and “other mobile terminal device 1-n”. Further, the position corresponding to the sensor data is a position where the sensor data is acquired. Usually, the position is associated with the sensor data and stored in the storage unit 15. It is assumed that the space to be sensed by the sensor 13 (for example, the entire Japanese region) is divided into a plurality of areas C 1 , C 2 ,... As shown in FIG. Although FIG. 7A shows a case where each area has a square shape, each area may have, for example, a rectangular shape or other shapes. The shape of each area may be different for each area, or may be the same. Regardless of the shape of each area, the boundaries of each area should be known. For example, as shown in Figure 7A, when a position corresponding to the sensor data is (X1, Y1), the position (X1, Y1) will be included in the area C 1. Further, it is assumed that a staying position corresponding to each area is set in advance in each area. For example, as shown in Figure 8A, the residence location of zones C S SY (C S) may be a centroid of the area C S. Furthermore, dwell location SY (C S) of the area C S may be other positions in the area C S. Further, as shown in Figure 8B, dwell location SY (C S) of the area C S may be a position outside the area C S. Zone C S dwell location SY (C S) is a position where the sensor data obtained in the area C S is set to set. Therefore, a position where more mobile terminal devices 1 can gather may be set as a staying position. Specifically, a station, a shopping mall, or the like may be set as the staying position. In addition, when the stay position of the area is determined by a predetermined rule (for example, the center of gravity, etc.), the stay position for each area may not be stored, but in other cases, the stay position is stored for each area. It is preferred that For example, information that associates an identifier of an area with a staying position of the area may be stored in the storage unit 15. For example, the determination unit 18 may have its own mobile terminal device 1-m (hereinafter may be referred to as “own terminal”) as another mobile terminal device 1-n (hereinafter referred to as “partner terminal”). )) And short-range wireless communication can be performed, and it is preferable to make the determination when position information is received from another mobile terminal apparatus 1-n. For example, when the determination unit 18 has a certain determination target sensor data, the other mobile terminal device 1-n is closer to the staying position corresponding to the determination target sensor data than the own mobile terminal device 1-m. Determines that the sensor data is to be transmitted, and when the other mobile terminal device 1-n is not closer to the staying position corresponding to the sensor data to be determined than the mobile terminal device 1-m, It may be determined that sensor data is not transmitted. By transmitting and receiving sensor data according to such a determination, sensor data can be centrally held in as few mobile terminal devices 1 as possible. Note that the staying position corresponding to the determination target sensor data is a staying position in an area including the position where the determination target sensor data is acquired. When the current position of the terminal is used for the determination, the determination unit 18 uses the position acquired by the position acquisition unit 11 as the current position. When the target position of the terminal is used for the determination, the determination unit 18 uses the target position acquired by the target position acquisition unit 16. Here, as an example of the determination by the determination unit 18, a determination using the current position (method 1), a determination using the target position (method 2), and a determination using the current position and the target position (method 3). And will be described.

方式1(現在位置を用いた判断)
この場合には、位置情報に現在位置が含まれていることになる。判断部18は、自移動端末装置1−mの現在位置と、判断対象のセンサデータに対応する滞留位置との距離が、他の移動端末装置1−nの現在位置と、その滞留位置との距離よりも大きい場合に、その判断対象のセンサデータを他の移動端末装置1−nに送信すると判断し、自移動端末装置1−mの現在位置と滞留位置との距離が、他の移動端末装置1−nの現在位置と滞留位置との距離よりも大きくない場合に、その判断対象のセンサデータを他の移動端末装置1−nに送信しないと判断してもよい。すなわち、現在位置が滞留位置に近い移動端末装置1にセンサデータが渡されてもよい。なお、2つの位置の間の距離は、ユークリッド距離であってもよく、または2つの位置の間の移動経路に沿った最短距離(すなわち、地図を用いた経路探索によって探索された最短移動経路に沿った距離)であってもよい。
Method 1 (judgment using current position)
In this case, the current position is included in the position information. The determination unit 18 determines that the distance between the current position of the mobile terminal device 1-m and the stay position corresponding to the sensor data to be determined is the current position of the other mobile terminal device 1-n and the stay position. When it is larger than the distance, it is determined that the sensor data to be determined is transmitted to the other mobile terminal apparatus 1-n, and the distance between the current position and the staying position of the own mobile terminal apparatus 1-m is determined to be another mobile terminal. If the distance between the current position and the staying position of the device 1-n is not greater than the distance, the sensor data to be determined may be determined not to be transmitted to another mobile terminal device 1-n. That is, the sensor data may be passed to the mobile terminal device 1 whose current position is close to the staying position. Note that the distance between the two positions may be the Euclidean distance, or the shortest distance along the movement path between the two positions (that is, the shortest movement path searched by the route search using the map). (Distance along).

方式2(目的位置を用いた判断)
この場合には、位置情報に目的位置が含まれていることになる。判断部18は、自移動端末装置1−mの目的位置と、判断対象のセンサデータに対応する滞留位置との距離が、他の移動端末装置1−nの目的位置と、その滞留位置との距離よりも大きい場合に、その判断対象のセンサデータを他の移動端末装置1−nに送信すると判断し、自移動端末装置1−mの目的位置と滞留位置との距離が、他の移動端末装置1−nの目的位置と滞留位置との距離よりも大きくない場合に、その判断対象のセンサデータを他の移動端末装置1−nに送信しないと判断してもよい。すなわち、目的位置が滞留位置に近い移動端末装置1にセンサデータが渡されてもよい。
Method 2 (judgment using target position)
In this case, the target position is included in the position information. The determination unit 18 determines that the distance between the target position of the mobile terminal device 1-m and the stay position corresponding to the sensor data to be determined is the distance between the target position of the other mobile terminal device 1-n and the stay position. When it is larger than the distance, it is determined that the sensor data to be determined is transmitted to the other mobile terminal device 1-n, and the distance between the target position and the staying position of the own mobile terminal device 1-m is determined to be another mobile terminal. When the distance between the target position of the device 1-n and the staying position is not larger, it may be determined that the determination target sensor data is not transmitted to the other mobile terminal device 1-n. That is, the sensor data may be passed to the mobile terminal device 1 whose target position is close to the staying position.

方式3(現在位置及び目的位置を用いた判断)
この場合には、位置情報に現在位置及び目的位置が含まれていることになる。判断部18は、自移動端末装置1−mの現在位置から、自移動端末装置1−mの目的位置までのベクトルと、自移動端末装置1−mの現在位置から、判断対象のセンサデータに対応する滞留位置までのベクトルとの角度が、他の移動端末装置1−nの現在位置から、他の移動端末装置1−nの目的位置までのベクトルと、他の移動端末装置1−nの現在位置から、その滞留位置までのベクトルとの角度よりも大きい場合に、判断対象のセンサデータを他の移動端末装置1−nに送信すると判断し、自移動端末装置1−mの現在位置から目的位置までのベクトルと、自移動端末装置1−mの現在位置から滞留位置までのベクトルとの角度が、他の移動端末装置1−nの現在位置から目的位置までのベクトルと、他の移動端末装置1−mの現在位置から滞留位置までのベクトルとの角度よりも大きくない場合に、判断対象のセンサデータを他の移動端末装置1−nに送信しないと判断してもよい。すなわち、現在位置から滞留位置に向かう方向に対して、より近い方向に移動している移動端末装置1にセンサデータが渡されてもよい。
Method 3 (judgment using current position and target position)
In this case, the current position and the target position are included in the position information. The determination unit 18 uses the vector from the current position of the mobile terminal device 1-m to the target position of the mobile terminal device 1-m and the sensor data to be determined from the current position of the mobile terminal device 1-m. The angle with the vector to the corresponding staying position is such that the vector from the current position of the other mobile terminal apparatus 1-n to the target position of the other mobile terminal apparatus 1-n and the other mobile terminal apparatus 1-n When it is larger than the angle from the current position to the vector to the stay position, it is determined that the sensor data to be determined is to be transmitted to another mobile terminal apparatus 1-n, and from the current position of the own mobile terminal apparatus 1-m The angle between the vector to the target position and the vector from the current position of the mobile terminal device 1-m to the staying position is the vector from the current position of the other mobile terminal device 1-n to the target position, and other movements. Current position of terminal device 1-m If not greater than the angle between the vector to dwell positions from may determine not to transmit the sensor data decision object to another mobile terminal apparatus 1-n. That is, the sensor data may be passed to the mobile terminal device 1 that is moving in a direction closer to the direction from the current position toward the staying position.

方式3について、図9を用いて説明する。自移動端末装置1−mの現在位置をpos(m)とし、自移動端末装置1−mの目的位置をdest(m)とし、判断対象のセンサデータrに対応する滞留位置をstay(r)とする。また、他の移動端末装置1−nの現在位置をpos(n)とし、他の移動端末装置1−nの目的位置をdest(n)とする。また、pos(m)からdest(m)までのベクトルをVdest(m)とし、pos(m)からstay(r)までのベクトルをVstay(m,r)とする。また、pos(n)からdest(n)までのベクトルをVdest(n)とし、pos(n)からstay(r)までのベクトルをVstay(n,r)とする。また、ベクトルVdest(m)と、ベクトルVstay(m,r)とのなす角度をθとし、ベクトルVdest(n)と、ベクトルVstay(n,r)とのなす角度をθ'とすると、θ>θ'である場合には、図9で示されるように、pos(m)に存在する自移動端末装置1−mから、pos(n)に存在する他の移動端末装置1−nに、判断対象のセンサデータrが渡されることになる。 Method 3 will be described with reference to FIG. The current position of the mobile terminal 1-m and pos (m), the desired position of the own mobile terminal 1-m and dest (m), stay the dwell position corresponding to the sensor data r i determination target (r i ). Further, the current position of the other mobile terminal apparatus 1-n is assumed to be pos (n), and the target position of the other mobile terminal apparatus 1-n is assumed to be dest (n). A vector from pos (m) to dest (m) is V dest (m), and a vector from pos (m) to stay (r i ) is V stay (m, r i ). Further, a vector from pos (n) to dest (n) is V dest (n), and a vector from pos (n) to stay (r i ) is V stay (n, r i ). In addition, an angle between the vector V dest (m) and the vector V stay (m, r i ) is θ, and an angle between the vector V dest (n) and the vector V stay (n, r i ) is θ. If “θ> θ”, then, as shown in FIG. 9, from the mobile terminal device 1-m existing in pos (m) to another mobile terminal device existing in pos (n). The sensor data r i to be determined is passed to 1-n.

なお、方式3の判断を行う場合に、判断部18は、自端末の現在位置pos(m)から目的位置dest(m)までのベクトルVdest(m)と、自端末の現在位置pos(m)から滞留位置stay(r)までのベクトルVstay(m,r)とのコサイン類似度cs、及び、相手端末の現在位置pos(n)から目的位置dest(n)までのベクトルVdest(n)と、相手端末の現在位置pos(n)から滞留位置stay(r)までのベクトルVstay(n,r)とのコサイン類似度csを算出し、それらを用いて角度θと角度θ'との大きさを比較してもよい。ベクトルV1とベクトルV2とのコサイン類似度cs(V1,V2)は、次式のようにして算出される。ここで、V1・V2は、ベクトルV1とベクトルV2との内積である。また、||V1||は、ベクトルV1の大きさである。
cs(V1,V2)=(V1・V2)/(||V1||||V2||)
Note that, when the method 3 is determined, the determination unit 18 determines the vector V dest (m) from the current position pos (m) of the terminal itself to the target position dest (m) and the current position pos (m of the terminal itself. vector V stay (m from) to dwell position stay (r i), the cosine similarity cs m and r i), and the vector V from the current position pos (n) of the counterpart terminal to the target position dest (n) The cosine similarity cs n between dest (n) and the vector V stay (n, r i ) from the current position pos (n) of the counterpart terminal to the stay position stay (r i ) is calculated and the angle is used. You may compare the magnitude | size of (theta) and angle (theta) '. The cosine similarity cs (V1, V2) between the vector V1 and the vector V2 is calculated as follows. Here, V1 · V2 is an inner product of the vector V1 and the vector V2. || V1 || is the size of the vector V1.
cs (V1, V2) = (V1 · V2) / (|| V1 |||| V2 ||)

なお、ベクトルV1,V2のなす角度(0°〜180°)が小さいほど、両ベクトルのコサイン類似度cs(V1,V2)は大きくなる。したがって、sc<csであれば、ベクトルVdest(m)とベクトルVstay(m,r)とのなす角度θが、ベクトルVdest(n)とベクトルVstay(n,r)とのなす角度θ'よりも大きいことになる。このように、コサイン類似度を用いることによって、ベクトルのなす角度の大小を判断することができる。 Note that the smaller the angle (0 ° to 180 °) between the vectors V1 and V2, the greater the cosine similarity cs (V1, V2) of both vectors. Therefore, if sc m <cs n , the angle θ between the vector V dest (m) and the vector V stay (m, r i ) is equal to the vector V dest (n) and the vector V stay (n, r i ). It is larger than the angle θ ′ formed by Thus, the magnitude of the angle formed by the vectors can be determined by using the cosine similarity.

集約部19は、蓄積部14によって記憶部15に蓄積されたセンサデータのうち、同じ区域及び同じ期間に対応するセンサデータを集約する。その集約されたセンサデータも、記憶部15で記憶されるものとする。また、複数のセンサデータが集約されたデータについても、センサデータと呼ぶことにする。なお、時刻は、例えば、図7Bで示されるように、複数の期間T,T,…に分割されているものとする。その一つの期間の長さは、Tparである。同じ区域及び同じ期間に対応するセンサデータとは、同じ区域及び同じ期間においてセンシングされた複数のセンサデータのことである。すなわち、n個(nは2以上の整数である。)のセンサデータr(i=1,2,…,n)が存在し、各センサデータrに対応する位置p及び時刻tが、1からnまでのすべてのiについて、p∈C,t∈Tを満たす場合には、そのn個のセンサデータrは集約可能であり、同じ区域C及び同じ期間Tに対応するセンサデータとなる。複数のセンサデータを集約するとは、例えば、複数のセンサデータの代表値を取得することであってもよい。その代表値は、例えば、平均値、中央値(中間値)、最大値、最小値等であってもよい。例えば、第1のセンサデータrと、第1のセンサデータrに対応する第1の位置(X11,Y11)及び第1の時刻t11との組、並びに、第2のセンサデータrと、第2のセンサデータrに対応する第2の位置(X12,Y12)及び第2の時刻t12との組が集約可能である場合には、集約部19は、集約後のセンサデータrave=(r+r)/2と、集約後の位置(Xave,Yave)=((X11+X12)/2,(Y11+Y12)/2)と、集約後の時刻tave=(t11+t12)/2とを算出してもよい。なお、ここでは、平均値を取得することによって集約を行う場合について示している。また、複数のセンサデータを集約するとは、例えば、複数のセンサデータについて圧縮処理を行うことであってもよい。集約部19によって集約されたセンサデータは、集約前のセンサデータよりもデータ量が減少していることが好適である。集約部19は、センサデータがサーバ3に送信されるまでに集約の処理を行えばよい。したがって、集約部19は、例えば、センサデータをサーバ3に送信する直前にセンサデータの集約を行ってもよく、センサデータが記憶部15に蓄積された直後にセンサデータの集約を行ってもよい。後者の場合には、例えば、他の移動端末装置1にセンサデータ等が送信される前にセンサデータの集約が行われてもよい。センサデータが蓄積された直後に集約が行われる場合において、集約が平均値の算出であるときには、新たなセンサデータが蓄積された際にもセンサデータの集約を行うことができるようにするため、例えば、集約されたセンサデータの合計値と、個数とが、センサデータの平均と共に記憶部15で記憶されていてもよい。一方、センサデータが蓄積された直後に集約が行われる場合において、集約が最大値や最小値の取得であるときには、集約後のセンサデータのみが記憶部15で記憶されていてもよい。また、集約が中央値の取得である場合には、センサデータがサーバ3に送信される直前にセンサデータの集約が行われることが好適である。なお、集約部19は、センサデータを集約する際に、集約対象のセンサデータに対応する位置や時刻についても集約を行ってもよい。位置や時刻に関する集約は、例えば、センサデータの集約と同様に、代表値を取得することであってもよく、または、位置や時刻に対応する区域や期間を、集約されたセンサデータの位置や時刻とすることであってもよい。集約部19が、集約前の複数のセンサデータを集約した場合には、その集約前の複数のセンサデータは、例えば、記憶部15から削除されてもよく、または、その後の処理において用いられないようになってもよい。その削除の処理は、例えば、集約部19によって行われてもよい。なお、センサ13によって2種類以上のセンサデータが取得される場合には、集約部19は、同じ種類の複数のセンサデータについてのみ、集約を行ってもよい。 The aggregation unit 19 aggregates sensor data corresponding to the same area and the same period among the sensor data accumulated in the storage unit 15 by the accumulation unit 14. The aggregated sensor data is also stored in the storage unit 15. Further, data in which a plurality of sensor data is aggregated is also referred to as sensor data. It is assumed that the time is divided into a plurality of periods T 0 , T 1 ,... As shown in FIG. 7B, for example. The length of that one period is T par . The sensor data corresponding to the same area and the same period is a plurality of sensor data sensed in the same area and the same period. That is, (the n is an integer of 2 or more.) N number sensor data r i (i = 1, 2, ..., n) of present position p i and time t i corresponding to the sensor data r i If for all i from 1 to n, p i εC S , t i εT S , the n sensor data r i can be aggregated, and the same area C S and the same period the sensor data corresponding to T S. Aggregating a plurality of sensor data may be, for example, obtaining representative values of the plurality of sensor data. The representative value may be, for example, an average value, a median value (intermediate value), a maximum value, a minimum value, or the like. For example, the first sensor data r 1, the first position (X11, Y11) and the first set of the time t11 corresponding to the first sensor data r 1, and a second sensor data r 2 , when the second position (X12, Y12) and set the second time t12 corresponding to the second sensor data r 2 can be aggregation, aggregating unit 19, after aggregate sensor data r ave = (R 1 + r 2 ) / 2, position after aggregation (X ave , Y ave ) = ((X11 + X12) / 2, (Y11 + Y12) / 2), and time after aggregation t ave = (t11 + t12) / 2 And may be calculated. Here, a case where aggregation is performed by obtaining an average value is shown. Further, aggregating a plurality of sensor data may be, for example, performing a compression process on a plurality of sensor data. It is preferable that the sensor data aggregated by the aggregation unit 19 has a data amount that is smaller than the sensor data before aggregation. The aggregation unit 19 may perform the aggregation process before the sensor data is transmitted to the server 3. Therefore, for example, the aggregation unit 19 may aggregate the sensor data immediately before transmitting the sensor data to the server 3, or may aggregate the sensor data immediately after the sensor data is accumulated in the storage unit 15. . In the latter case, for example, sensor data may be aggregated before sensor data or the like is transmitted to another mobile terminal device 1. When aggregation is performed immediately after sensor data is accumulated, when aggregation is calculation of an average value, sensor data can be aggregated even when new sensor data is accumulated. For example, the total value and the number of aggregated sensor data may be stored in the storage unit 15 together with the average of the sensor data. On the other hand, when the aggregation is performed immediately after the sensor data is accumulated, when the aggregation is acquisition of the maximum value or the minimum value, only the sensor data after the aggregation may be stored in the storage unit 15. In addition, when the aggregation is acquisition of the median value, it is preferable that the sensor data is aggregated immediately before the sensor data is transmitted to the server 3. The aggregating unit 19 may aggregate the positions and times corresponding to the sensor data to be aggregated when the sensor data is aggregated. The aggregation regarding the position and the time may be, for example, obtaining a representative value in the same manner as the aggregation of the sensor data, or the area and the period corresponding to the position and the time It may be time. When the aggregation unit 19 aggregates a plurality of sensor data before aggregation, the plurality of sensor data before the aggregation may be deleted from, for example, the storage unit 15 or not used in subsequent processing. It may be like that. The deletion process may be performed by the aggregation unit 19, for example. When two or more types of sensor data are acquired by the sensor 13, the aggregation unit 19 may perform aggregation only for a plurality of sensor data of the same type.

送信部20は、蓄積部14によって蓄積されたセンサデータと、そのセンサデータに対応する位置及び時刻とをアンテナ20aを介してサーバ3に送信する。その送信は、近距離無線通信とは異なる無線通信によって行われるものとする。近距離無線通信と異なる無線通信は、上記のように、例えば、セルラ通信であってもよい。アンテナ20aは、送信部20が行う無線通信用のアンテナである。その送信対象のセンサデータは、集約部19によって集約されたセンサデータであってもよい。送信部20は、例えば、周期的にサーバ3へのセンサデータの送信を行ってもよい。その周期は、例えば、一定であってもよく、または、そうでなくてもよい。送信部20は、センサデータに対応する位置や時刻をサーバ3に送信する際に、その位置を区域に変換して送信してもよく、その時刻を期間に変換して送信してもよい。すなわち、送信部20は、区域である位置や、期間である時刻をサーバ3に送信してもよい。ある位置が区域に変換される場合には、その位置が含まれる区域に変換されてもよい。また、ある時刻が期間に変換される場合には、その時刻が含まれる期間に変換されてもよい。送信部20が送信する対象となるセンサデータには、近距離無線通信によって他の移動端末装置1に送信されたセンサデータや、すでにサーバ3に送信されたセンサデータは含まれないものとする。センサデータがサーバ3に送信された場合には、その送信されたセンサデータは、例えば、記憶部15から削除されてもよい。その削除の処理は、例えば、送信部20によって行われてもよい。   The transmission unit 20 transmits the sensor data accumulated by the accumulation unit 14 and the position and time corresponding to the sensor data to the server 3 via the antenna 20a. The transmission is performed by wireless communication different from short-range wireless communication. As described above, the wireless communication different from the short-range wireless communication may be cellular communication, for example. The antenna 20a is an antenna for wireless communication performed by the transmission unit 20. The sensor data to be transmitted may be sensor data aggregated by the aggregation unit 19. For example, the transmission unit 20 may periodically transmit sensor data to the server 3. The period may, for example, be constant or not. When transmitting the position and time corresponding to the sensor data to the server 3, the transmission unit 20 may convert the position into a zone and transmit it, or may convert the time into a period and transmit it. That is, the transmission unit 20 may transmit the position that is an area and the time that is a period to the server 3. If a position is converted to an area, it may be converted to an area that includes the position. When a certain time is converted into a period, it may be converted into a period including the time. It is assumed that sensor data to be transmitted by the transmission unit 20 does not include sensor data transmitted to another mobile terminal device 1 by short-range wireless communication or sensor data already transmitted to the server 3. When the sensor data is transmitted to the server 3, the transmitted sensor data may be deleted from the storage unit 15, for example. The deletion process may be performed by the transmission unit 20, for example.

なお、送信部20は、センサデータ等をサーバ3に直接送信してもよく、または、他のサーバ等を介して間接的に送信してもよい。また、送信部20は、図示しない記録媒体で保持しているアドレスを送信先として送信を行ってもよく、または、送信までに他の構成要素や他のサーバ等から受け取ったアドレスを送信先として送信を行ってもよい。また、送信部20は、送信を行うための送信デバイスを含んでもよく、または含まなくてもよい。また、送信部20は、ハードウェアによって実現されてもよく、または送信デバイスを駆動するドライバ等のソフトウェアによって実現されてもよい。   The transmission unit 20 may directly transmit sensor data or the like to the server 3 or may indirectly transmit it via another server or the like. Further, the transmission unit 20 may perform transmission using an address held in a recording medium (not shown) as a transmission destination, or an address received from another component or another server before transmission as a transmission destination. Transmission may be performed. Further, the transmission unit 20 may or may not include a transmission device for performing transmission. The transmission unit 20 may be realized by hardware, or may be realized by software such as a driver that drives the transmission device.

無線基地局2は、移動端末装置1と無線通信を行う基地局である。また、無線基地局2は、インターネット等のネットワーク50に接続されており、移動端末装置1とサーバ3との間の通信を提供することができる。無線基地局2は、例えば、セルラ通信や携帯電話の通信等において用いられる基地局であり、すでに公知であるため、その詳細な説明を省略する。   The radio base station 2 is a base station that performs radio communication with the mobile terminal device 1. The radio base station 2 is connected to a network 50 such as the Internet, and can provide communication between the mobile terminal device 1 and the server 3. The radio base station 2 is a base station used in, for example, cellular communication, mobile phone communication, and the like, and since it is already known, its detailed description is omitted.

図3は、サーバ3の構成を示すブロック図である。図3において、サーバ3は、センサデータを収集するものであり、通信部31と、蓄積部32と、記憶部33とを備える。
通信部31は、移動端末装置1から送信されたセンサデータと、それに対応する位置及び時刻とを受信する。なお、通信部31は、通信を行うための有線または無線の通信デバイスを含んでもよく、または含まなくてもよい。また、通信部31は、ハードウェアによって実現されてもよく、または通信デバイスを駆動するドライバ等のソフトウェアによって実現されてもよい。
FIG. 3 is a block diagram showing the configuration of the server 3. In FIG. 3, the server 3 collects sensor data, and includes a communication unit 31, an accumulation unit 32, and a storage unit 33.
The communication unit 31 receives the sensor data transmitted from the mobile terminal device 1 and the corresponding position and time. The communication unit 31 may or may not include a wired or wireless communication device for performing communication. The communication unit 31 may be realized by hardware, or may be realized by software such as a driver that drives a communication device.

蓄積部32は、通信部31によって受信されたセンサデータと、それに対応する位置及び時刻とを記憶部33に蓄積する。なお、蓄積部32は、センサデータ等を蓄積する際に、集約部19と同様に、センサデータの集約を行って蓄積してもよく、または、集約を行わないで蓄積してもよい。その集約も、例えば、代表値の取得等によって行われてもよい。   The accumulation unit 32 accumulates the sensor data received by the communication unit 31 and the corresponding position and time in the storage unit 33. In addition, when accumulating sensor data etc., the accumulation | storage part 32 may accumulate | store and accumulate sensor data similarly to the aggregation part 19, or may accumulate | store without performing aggregation. The aggregation may also be performed, for example, by obtaining a representative value.

記憶部33では、センサデータと、そのセンサデータに対応する位置及び時刻とが記憶される。それらの情報は、蓄積部32によって蓄積されたものである。この記憶部33に記憶されたセンサデータを用いて、例えば、天気予報や、大気汚染の調査、無線基地局の設置計画等が行われてもよい。そのため、例えば、記憶部33で記憶されている情報を出力する出力部をサーバ3が備えていてもよい。その出力は、例えば、情報の送信や表示、印刷、他の構成要素への引き渡し等であってもよい。記憶部33での記憶は、RAM等における一時的な記憶でもよく、または、長期的な記憶でもよい。記憶部33は、所定の記録媒体(例えば、半導体メモリや磁気ディスクなど)によって実現されうる。   The storage unit 33 stores sensor data and a position and time corresponding to the sensor data. Such information is accumulated by the accumulation unit 32. Using the sensor data stored in the storage unit 33, for example, a weather forecast, an air pollution survey, a radio base station installation plan, or the like may be performed. Therefore, for example, the server 3 may include an output unit that outputs information stored in the storage unit 33. The output may be, for example, transmission or display of information, printing, delivery to another component, or the like. The storage in the storage unit 33 may be temporary storage in a RAM or the like, or may be long-term storage. The storage unit 33 can be realized by a predetermined recording medium (for example, a semiconductor memory or a magnetic disk).

次に、無線通信システム100の動作について図4のフローチャートを用いて説明する。
(ステップS101)センサ13は、センサデータを取得するかどうか判断する。そして、センサデータを取得する場合には、ステップS102に進み、そうでない場合には、ステップS106に進む。センサ13は、例えば、センサデータを取得すると定期的に判断してもよい。
Next, the operation of the wireless communication system 100 will be described using the flowchart of FIG.
(Step S101) The sensor 13 determines whether to acquire sensor data. And when acquiring sensor data, it progresses to Step S102, and when that is not right, it progresses to Step S106. For example, the sensor 13 may periodically determine that sensor data is acquired.

(ステップS102)センサ13は、センサデータを取得する。   (Step S102) The sensor 13 acquires sensor data.

(ステップS103)位置取得部11は、その時点の現在の位置を取得する。   (Step S103) The position acquisition unit 11 acquires the current position at that time.

(ステップS104)時刻取得部12は、その時点の現在の時刻を取得する。   (Step S104) The time acquisition unit 12 acquires the current time at that time.

(ステップS105)蓄積部14は、ステップS102で取得されたセンサデータと、ステップS103で取得された位置と、ステップS104で取得された時刻とを記憶部15に蓄積する。そして、ステップS101に戻る。なお、蓄積部14は、センサデータと位置と時刻とを対応付けて蓄積することが好適である。   (Step S105) The storage unit 14 stores the sensor data acquired in step S102, the position acquired in step S103, and the time acquired in step S104 in the storage unit 15. Then, the process returns to step S101. The storage unit 14 preferably stores the sensor data, the position, and the time in association with each other.

(ステップS106)近距離無線通信部17は、Helloパケットを送信するかどうか判断する。そして、Helloパケットを送信する場合には、ステップS107に進み、そうでない場合には、ステップS113に進む。近距離無線通信部17は、例えば、Helloパケットを定期的に送信すると判断してもよい。また、近距離無線通信部17は、例えば、送信対象のセンサデータが存在しない場合、例えば、直前にすべてのセンサデータをサーバ3に送信した場合には、Helloパケットを送信しないと判断してもよい。   (Step S106) The short-range wireless communication unit 17 determines whether to transmit a Hello packet. And when transmitting a Hello packet, it progresses to step S107, and when that is not right, it progresses to step S113. For example, the short-range wireless communication unit 17 may determine to periodically transmit a Hello packet. Further, the short-range wireless communication unit 17 determines that the Hello packet is not transmitted, for example, when there is no sensor data to be transmitted, for example, when all the sensor data is transmitted to the server 3 immediately before. Good.

(ステップS107)近距離無線通信部17は、Helloパケットを送信する。このHelloパケットは、上記のように、ブロードキャストで送信されてもよい。このHelloパケットが他の移動端末装置1で受信されることにより、すれ違い通信が開始されることになる。   (Step S107) The short-range wireless communication unit 17 transmits a Hello packet. The Hello packet may be transmitted by broadcast as described above. When this Hello packet is received by another mobile terminal device 1, passing communication is started.

(ステップS108)近距離無線通信部17は、Helloパケットを受信した移動端末装置1である相手端末から、位置情報を受信したかどうか判断する。そして、位置情報を受信した場合には、ステップS109に進み、そうでない場合には、位置情報を受信するまでステップS108の処理を繰り返す。なお、Helloパケットを送信してから所定の時間が経過しても相手端末の位置情報を受信しない場合には、タイムアウトであると判断してステップS101に戻ってもよい。   (Step S108) The short-range wireless communication unit 17 determines whether or not position information has been received from the counterpart terminal that is the mobile terminal device 1 that has received the Hello packet. If position information is received, the process proceeds to step S109. If not, the process of step S108 is repeated until position information is received. If position information of the partner terminal is not received even after a predetermined time has elapsed since the transmission of the Hello packet, it may be determined that a timeout has occurred and the process may return to step S101.

(ステップS109)近距離無線通信部17は、自端末の位置情報を、ステップS108で受信した位置情報の送信元である相手端末に送信する。ステップS108で受信した位置情報に現在位置と目的位置との両方が含まれている場合には、近距離無線通信部17は、現在位置と目的位置との両方を含む位置情報を相手端末に送信してもよい。その現在位置は、その時点に位置取得部11によって取得された現在の位置である。また、その目的位置は、その時点に目的位置取得部16によって取得された目的位置である。なお、目的位置取得部16によって目的位置を取得できなかった場合には、近距離無線通信部17は、目的位置を含まず、現在位置を含む位置情報を相手端末に送信してもよい。また、ステップS108で受信した位置情報に目的位置が含まれておらず、現在位置が含まれている場合には、近距離無線通信部17は、現在位置を含む位置情報を相手端末に送信してもよい。   (Step S109) The short-range wireless communication unit 17 transmits the position information of the own terminal to the counterpart terminal that is the transmission source of the position information received in Step S108. If the position information received in step S108 includes both the current position and the target position, the short-range wireless communication unit 17 transmits position information including both the current position and the target position to the partner terminal. May be. The current position is the current position acquired by the position acquisition unit 11 at that time. The target position is the target position acquired by the target position acquisition unit 16 at that time. When the target position cannot be acquired by the target position acquisition unit 16, the short-range wireless communication unit 17 may transmit position information including the current position to the partner terminal without including the target position. In addition, when the target position is not included in the position information received in step S108 and the current position is included, the short-range wireless communication unit 17 transmits the position information including the current position to the partner terminal. May be.

(ステップS110)近距離無線通信部17等は、センサデータを相手端末に送信する処理を行う。この処理の詳細については、図5のフローチャートを用いて後記する。   (Step S110) The short-range wireless communication unit 17 or the like performs a process of transmitting sensor data to the partner terminal. Details of this processing will be described later with reference to the flowchart of FIG.

(ステップS111)近距離無線通信部17は、相手端末のセンサデータと、そのセンサデータに対応する位置及び時刻とを受信したかどうか判断する。そして、相手端末のセンサデータ等を受信した場合には、ステップS112に進み、そうでない場合には、相手端末のセンサデータ等を受信するまでステップS111の処理を繰り返す。なお、自端末の位置情報を送信してから所定の時間が経過しても相手端末のセンサデータ等を受信しない場合には、タイムアウトであると判断してステップS101に戻ってもよい。相手端末において送信対象のセンサデータ等が存在しない場合には、相手端末からのセンサデータ等の送信が行われない場合もあるからである。   (Step S111) The short-range wireless communication unit 17 determines whether or not the partner terminal sensor data and the position and time corresponding to the sensor data have been received. If sensor data or the like of the partner terminal is received, the process proceeds to step S112. If not, the process of step S111 is repeated until sensor data or the like of the partner terminal is received. If the sensor data or the like of the counterpart terminal is not received even after a predetermined time has elapsed since the transmission of the location information of the own terminal, it may be determined that a timeout has occurred and the process may return to step S101. This is because if there is no sensor data or the like to be transmitted in the counterpart terminal, the sensor data or the like may not be transmitted from the counterpart terminal.

(ステップS112)蓄積部14は、ステップS111で受信されたセンサデータ等を記憶部15に蓄積する。そして、ステップS101に戻る。   (Step S112) The accumulation unit 14 accumulates the sensor data and the like received in step S111 in the storage unit 15. Then, the process returns to step S101.

(ステップS113)近距離無線通信部17は、他の移動端末装置1から送信されたHelloパケットを受信したかどうか判断する。そして、Helloパケットを受信した場合には、ステップS114に進み、そうでない場合には、ステップS116に進む。なお、近距離無線通信部17は、例えば、送信対象のセンサデータが存在しない場合、例えば、直前にすべてのセンサデータをサーバ3に送信した場合には、Helloパケットを受信しなくてもよい。また、近距離無線通信部17は、直前にセンサデータの送受信を行った移動端末装置1から送信されたHelloパケットを、所定の期間は受信しなくてもよい。このHelloパケットの受信により、すれ違い通信が開始されることになる。   (Step S113) The short-range wireless communication unit 17 determines whether or not a Hello packet transmitted from another mobile terminal device 1 has been received. And when a Hello packet is received, it progresses to step S114, and when that is not right, it progresses to step S116. Note that the short-range wireless communication unit 17 does not need to receive a Hello packet, for example, when there is no sensor data to be transmitted, for example, when all the sensor data is transmitted to the server 3 immediately before. Further, the short-range wireless communication unit 17 may not receive the Hello packet transmitted from the mobile terminal device 1 that has just transmitted / received the sensor data for a predetermined period. Passing communication is started by reception of this Hello packet.

(ステップS114)近距離無線通信部17は、自端末の位置情報を、ステップS113で受信したHelloパケットの送信元である相手端末に送信する。その位置情報に含まれる現在位置は、その時点に位置取得部11によって取得された現在の位置である。また、その位置情報に含まれる目的位置は、その時点に目的位置取得部16によって取得された目的位置である。なお、その時点に目的位置取得部16によって目的位置を取得できる場合には、近距離無線通信部17は、現在位置と目的位置とを含む位置情報を相手端末に送信してもよい。また、その時点に目的位置取得部16によって目的位置を取得できない場合には、近距離無線通信部17は、目的位置を含まず、現在位置を含む位置情報を相手端末に送信してもよい。   (Step S114) The short-range wireless communication unit 17 transmits the position information of the own terminal to the counterpart terminal that is the transmission source of the Hello packet received in Step S113. The current position included in the position information is the current position acquired by the position acquisition unit 11 at that time. The target position included in the position information is the target position acquired by the target position acquisition unit 16 at that time. If the target position can be acquired by the target position acquisition unit 16 at that time, the short-range wireless communication unit 17 may transmit position information including the current position and the target position to the partner terminal. If the target position cannot be acquired by the target position acquisition unit 16 at that time, the short-range wireless communication unit 17 may transmit position information including the current position to the partner terminal without including the target position.

(ステップS115)近距離無線通信部17は、Helloパケットを送信した移動端末装置1である相手端末から、位置情報を受信したかどうか判断する。そして、位置情報を受信した場合には、ステップS110に進み、そうでない場合には、位置情報を受信するまでステップS115の処理を繰り返す。なお、自端末の位置情報を送信してから所定の時間が経過しても相手端末の位置情報を受信しない場合には、タイムアウトであると判断してステップS101に戻ってもよい。   (Step S115) The short-range wireless communication unit 17 determines whether or not position information has been received from the counterpart terminal that is the mobile terminal device 1 that has transmitted the Hello packet. If position information is received, the process proceeds to step S110. If not, the process of step S115 is repeated until position information is received. Note that if the position information of the partner terminal is not received even after a predetermined time has elapsed since the transmission of the position information of the own terminal, it may be determined that a timeout has occurred and the process may return to step S101.

(ステップS116)送信部20は、サーバ3にセンサデータ等を送信するかどうか判断する。そして、センサデータ等を送信する場合には、ステップS117に進み、そうでない場合には、ステップS101に戻る。なお、送信部20は、例えば、センサデータ等を送信すると定期的に判断してもよい。また、送信部20は、例えば、記憶部15で記憶されている送信対象のセンサデータのデータ量や個数等があらかじめ決められた閾値を超えた場合に、センサデータ等を送信すると判断してもよい。また、送信部20は、例えば、送信対象のセンサデータ等が記憶部15で記憶されていない場合には、サーバ3にセンサデータ等を送信すると判断しなくてもよい。   (Step S116) The transmission unit 20 determines whether to transmit sensor data or the like to the server 3. And when transmitting sensor data etc., it progresses to Step S117, and when that is not right, it returns to Step S101. Note that the transmission unit 20 may periodically determine to transmit sensor data or the like, for example. For example, the transmission unit 20 may determine to transmit sensor data or the like when the data amount or number of sensor data to be transmitted stored in the storage unit 15 exceeds a predetermined threshold. Good. Further, for example, when the transmission target sensor data or the like is not stored in the storage unit 15, the transmission unit 20 may not determine to transmit the sensor data or the like to the server 3.

(ステップS117)集約部19は、記憶部15で記憶されている未送信のセンサデータを集約する。また、集約部19は、集約したセンサデータに対応する位置や時刻についても集約の処理を行ってもよい。   (Step S117) The aggregation unit 19 aggregates untransmitted sensor data stored in the storage unit 15. The aggregating unit 19 may perform an aggregation process on the position and time corresponding to the aggregated sensor data.

(ステップS118)送信部20は、集約されたセンサデータと、そのセンサデータに対応する位置及び時刻とをサーバ3に送信する。   (Step S <b> 118) The transmission unit 20 transmits the aggregated sensor data and the position and time corresponding to the sensor data to the server 3.

(ステップS119)送信部20は、送信したセンサデータを記憶部15から削除する。ここで、送信したセンサデータとは、送信したセンサデータの集約に用いられたセンサデータであると考えてもよい。また、送信部20は、送信したセンサデータに対応する位置や時刻も記憶部15から削除してもよい。そして、ステップS101に戻る。   (Step S119) The transmission unit 20 deletes the transmitted sensor data from the storage unit 15. Here, the transmitted sensor data may be considered as sensor data used for aggregation of the transmitted sensor data. The transmission unit 20 may also delete the position and time corresponding to the transmitted sensor data from the storage unit 15. Then, the process returns to step S101.

なお、図4のフローチャートにおいて、近距離無線通信部17によって送信されたHelloパケットが2以上の相手端末によって受信され、2以上の相手端末から位置情報が送信された場合には、その2以上の相手端末のそれぞれについて、ステップS108からステップS112の処理が行われてもよい。また、センサデータ等の送信処理(ステップS110)を行っている際に相手端末からセンサデータ等が送信されることもあるため、ステップS110の処理とステップS111との処理は並列して行われてもよい。また、図4のフローチャートにおいて、Helloパケットを送信する場合に、自端末の位置情報を含むHelloパケットを送信するようにしてもよい。そのように、位置情報を含むHelloパケットを送信することによって、位置情報を別途、送信する必要がなくなる。また、Helloパケットによって、送信処理で用いる判断の方式が指定されていてもよい。その場合には、Helloパケットを受信した移動端末装置1は、指定されている方式に応じた位置情報を送信するものとする。そのような場合に、例えば、目的位置を取得することができない移動端末装置1は、方式2または方式3を指定しているHelloパケットについては、そのHelloパケットの受信に応じた処理を行わなくてもよい。また、図4のフローチャートにおける処理の順序は一例であり、同様の結果を得られるのであれば、各ステップの順序を変更してもよい。例えば、ステップS102〜S104の処理の順序は問わない。また、図4のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。   In the flowchart of FIG. 4, when the Hello packet transmitted by the short-range wireless communication unit 17 is received by two or more partner terminals and the location information is transmitted from two or more partner terminals, the two or more The processing from step S108 to step S112 may be performed for each counterpart terminal. In addition, since sensor data or the like may be transmitted from the counterpart terminal during the sensor data transmission process (step S110), the process of step S110 and the process of step S111 are performed in parallel. Also good. Moreover, in the flowchart of FIG. 4, when transmitting a Hello packet, you may make it transmit the Hello packet containing the positional information on an own terminal. As such, by transmitting a Hello packet including position information, it is not necessary to transmit position information separately. In addition, the determination method used in the transmission process may be specified by the Hello packet. In this case, the mobile terminal device 1 that has received the Hello packet transmits position information according to the designated method. In such a case, for example, the mobile terminal device 1 that cannot acquire the target position does not perform processing according to reception of the Hello packet for the Hello packet that specifies the method 2 or the method 3. Also good. Further, the order of processing in the flowchart of FIG. 4 is an example, and the order of each step may be changed as long as the same result can be obtained. For example, the order of processing in steps S102 to S104 is not limited. In the flowchart of FIG. 4, the process is terminated by power-off or a process termination interrupt.

図5は、図4のフローチャートにおける送信処理(ステップS110)の詳細を示すフローチャートである。
(ステップS201)判断部18は、相手端末から受信した位置情報と、自端末が送信した位置情報との両方に目的位置が含まれているかどうか判断する。そして、両者に目的位置が含まれている場合には、ステップS203に進み、そうでない場合には、ステップS202に進む。
FIG. 5 is a flowchart showing details of the transmission process (step S110) in the flowchart of FIG.
(Step S201) The determination unit 18 determines whether or not the target position is included in both the position information received from the counterpart terminal and the position information transmitted by the own terminal. If the target position is included in both, the process proceeds to step S203. If not, the process proceeds to step S202.

(ステップS202)判断部18は、センサデータを送信するかどうか判断する方式Xとして、方式1を用いることに決定する。   (Step S202) The determination unit 18 determines to use method 1 as the method X for determining whether to transmit sensor data.

(ステップS203)判断部18は、センサデータを送信するかどうか判断する方式Xとして、方式2または方式3を用いることに決定する。ここで、方式2を用いるのか、方式3を用いるのかについては、あらかじめ手動で設定されていてもよい。   (Step S203) The determination unit 18 determines to use the method 2 or the method 3 as the method X for determining whether to transmit sensor data. Here, whether to use method 2 or method 3 may be manually set in advance.

(ステップS204)判断部18は、カウンタiを1に設定する。   (Step S204) The determination unit 18 sets the counter i to 1.

(ステップS205)判断部18は、判断対象のi番目のセンサデータが記憶部15に記憶されているかどうか判断する。そして、判断対象のi番目のセンサデータが記憶部15に記憶されている場合には、ステップS206に進み、そうでない場合には、ステップS208に進む。   (Step S <b> 205) The determination unit 18 determines whether or not the i-th sensor data to be determined is stored in the storage unit 15. If the i-th sensor data to be determined is stored in the storage unit 15, the process proceeds to step S206, and if not, the process proceeds to step S208.

(ステップS206)判断部18は、ステップS202またはステップS203で決定した方式Xによる判断を行う。この処理の詳細については、図6A〜図6Cのフローチャートを用いて後記する。   (Step S206) The determination unit 18 performs determination based on the method X determined in step S202 or step S203. Details of this processing will be described later with reference to the flowcharts of FIGS. 6A to 6C.

(ステップS207)判断部18は、カウンタiを1だけインクリメントする。そして、ステップS205に戻る。   (Step S207) The determination unit 18 increments the counter i by 1. Then, the process returns to step S205.

(ステップS208)近距離無線通信部17は、判断部18によって送信対象であると判断されたセンサデータと、そのセンサデータに対応する位置及び時刻とを相手端末に送信する。なお、判断部18によって送信対象であると判断されたセンサデータが存在しない場合には、近距離無線通信部17は、相手端末への送信を行わなくてもよく、または、送信対象のセンサデータがない旨を相手端末に送信してもよい。   (Step S208) The short-range wireless communication unit 17 transmits the sensor data determined to be a transmission target by the determination unit 18 and the position and time corresponding to the sensor data to the counterpart terminal. When there is no sensor data determined to be a transmission target by the determination unit 18, the short-range wireless communication unit 17 does not have to transmit to the partner terminal, or sensor data to be transmitted You may transmit to the other party terminal that there is no.

(ステップS209)近距離無線通信部17は、送信したセンサデータを記憶部15から削除する。また、近距離無線通信部17は、送信したセンサデータに対応する位置や時刻も記憶部15から削除してもよい。そして、図4のフローチャートに戻る。   (Step S209) The short-range wireless communication unit 17 deletes the transmitted sensor data from the storage unit 15. The short-range wireless communication unit 17 may also delete the position and time corresponding to the transmitted sensor data from the storage unit 15. And it returns to the flowchart of FIG.

図6Aは、図5のフローチャートにおける方式1による判断(ステップS206)の詳細を示すフローチャートである。
(ステップS301)判断部18は、自端末の現在位置pos(m)から、判断対象のi番目のセンサデータrに対応する滞留位置stay(r)までの距離dを算出する。
FIG. 6A is a flowchart showing details of determination by method 1 (step S206) in the flowchart of FIG.
(Step S301) determining section 18, from the current position pos (m) of the terminal calculates the distance d m to dwell position stay (r i) corresponding to the i-th sensor data r i determination target.

(ステップS302)判断部18は、相手端末の現在位置pos(n)から、判断対象のi番目のセンサデータrに対応する滞留位置stay(r)までの距離dを算出する。 (Step S302) determining unit 18 calculates the distance d n from the current position pos (n) of the counterpart terminal, to dwell locations stay corresponding to the i-th sensor data r i determination target (r i).

(ステップS303)判断部18は、d<dであるかどうか判断する。そして、d<dである場合には、ステップS304に進み、d≧dである場合には、図5のフローチャートに戻る。 (Step S303) determining unit 18 determines whether or not d n <d m. When a d n <d m, the process proceeds to step S304, in the case of d nd m, the process returns to the flowchart of FIG.

(ステップS304)判断部18は、i番目のセンサデータrを、送信対象のセンサデータに設定する。なお、この設定は、例えば、i番目のセンサデータrと、そのセンサデータrに対応する位置及び時刻とを送信バッファに蓄積することによって行われてもよい。そして、図5のフローチャートに戻る。 (Step S304) The determination unit 18 sets the i-th sensor data r i as sensor data to be transmitted. This setting may be performed, for example, by accumulating the i-th sensor data r i and the position and time corresponding to the sensor data r i in the transmission buffer. And it returns to the flowchart of FIG.

図6Bは、図5のフローチャートにおける方式2による判断(ステップS206)の詳細を示すフローチャートである。
(ステップS401)判断部18は、自端末の目的位置dest(m)から、判断対象のi番目のセンサデータrに対応する滞留位置stay(r)までの距離dを算出する。
FIG. 6B is a flowchart showing details of the determination (step S206) according to method 2 in the flowchart of FIG.
(Step S401) determining section 18, the target position dest of the terminal (m), calculates the distance d m to dwell position stay (r i) corresponding to the i-th sensor data r i determination target.

(ステップS402)判断部18は、相手端末の目的位置dest(n)から、判断対象のi番目のセンサデータrに対応する滞留位置stay(r)までの距離dを算出する。 (Step S402) determining unit 18 calculates the distance d n from the target position of the counterpart terminal dest (n), to dwell locations stay corresponding to the i-th sensor data r i determination target (r i).

(ステップS403)判断部18は、d<dであるかどうか判断する。そして、d<dである場合には、ステップS404に進み、d≧dである場合には、図5のフローチャートに戻る。 (Step S403) determining unit 18 determines whether or not d n <d m. When a d n <d m, the process proceeds to step S404, in the case of d nd m, the process returns to the flowchart of FIG.

(ステップS404)判断部18は、i番目のセンサデータrを、送信対象のセンサデータに設定する。なお、この設定は、例えば、i番目のセンサデータrと、そのセンサデータrに対応する位置及び時刻とを送信バッファに蓄積することによって行われてもよい。そして、図5のフローチャートに戻る。 (Step S404) The determination unit 18 sets the i-th sensor data r i as sensor data to be transmitted. This setting may be performed, for example, by accumulating the i-th sensor data r i and the position and time corresponding to the sensor data r i in the transmission buffer. And it returns to the flowchart of FIG.

図6Cは、図5のフローチャートにおける方式3による判断(ステップS206)の詳細を示すフローチャートである。
(ステップS501)判断部18は、自端末に関するコサイン類似度と、相手端末に関するコサイン類似度とを算出できるかどうか判断する。そして、両コサイン類似度を算出できる場合には、ステップS502に進み、そうでない場合には、図5のフローチャートに戻る。なお、自端末の現在位置pos(m)が自端末の目的位置dest(m)と一致する場合、または、自端末の現在位置pos(m)が判断対象のi番目のセンサデータrに対応する滞留位置stay(r)と一致する場合には、判断部18は、自端末に関するコサイン類似度を算出できないと判断してもよい。また、相手端末の現在位置pos(n)が相手端末の目的位置dest(n)と一致する場合、または、相手端末の現在位置pos(n)が判断対象のi番目のセンサデータrに対応する滞留位置stay(r)と一致する場合には、判断部18は、相手端末に関するコサイン類似度を算出できないと判断してもよい。
FIG. 6C is a flowchart showing details of the determination by method 3 (step S206) in the flowchart of FIG.
(Step S <b> 501) The determination unit 18 determines whether the cosine similarity related to the own terminal and the cosine similarity related to the counterpart terminal can be calculated. If both cosine similarities can be calculated, the process proceeds to step S502. Otherwise, the process returns to the flowchart of FIG. When the current position pos (m) of the own terminal matches the target position dest (m) of the own terminal, or the current position pos (m) of the own terminal corresponds to the i-th sensor data r i to be determined. In the case where it coincides with the stay position stay (r i ) to be determined, the determination unit 18 may determine that the cosine similarity regarding the terminal itself cannot be calculated. Further, when the current position pos (n) of the counterpart terminal matches the target position dest (n) of the counterpart terminal, or the current position pos (n) of the counterpart terminal corresponds to the i-th sensor data r i to be determined. If it matches the staying position stay (r i ), the determination unit 18 may determine that the cosine similarity regarding the counterpart terminal cannot be calculated.

(ステップS502)判断部18は、自端末の現在位置pos(m)から目的位置dest(m)までのベクトルVdest(m)と、自端末の現在位置pos(m)から滞留位置stay(r)までのベクトルVstay(m,r)とのコサイン類似度csを算出する。 (Step S502) The determination unit 18 determines the vector V dest (m) from the current position pos (m) of the terminal itself to the target position dest (m), and the stay position stay (r) from the current position pos (m) of the terminal itself. vector V stay (m up to i), and calculates the cosine similarity cs m and r i).

(ステップS503)判断部18は、相手端末の現在位置pos(n)から目的位置dest(n)までのベクトルVdest(n)と、相手端末の現在位置pos(n)から滞留位置stay(r)までのベクトルVstay(n,r)とのコサイン類似度csを算出する。 (Step S503) The determination unit 18 determines the vector V dest (n) from the current position pos (n) of the counterpart terminal to the destination position dest (n) and the stay position stay (r) from the current position pos (n) of the counterpart terminal. vector V stay (n up to i), and calculates the cosine similarity cs n with r i).

(ステップS504)判断部18は、cs>csであるかどうか判断する。そして、cs>csである場合には、ステップS505に進み、cs≦csである場合には、図5のフローチャートに戻る。なお、cs>csである場合とは、ベクトルVdest(m)とベクトルVstay(m,r)とのなす角度θが、ベクトルVdest(n)とベクトルVstay(n,r)とのなす角度θ'よりも大きい場合となる。 (Step S504) The determination unit 18 determines whether cs n > cs m . If cs n > cs m , the process proceeds to step S505. If cs n ≤cs m , the process returns to the flowchart of FIG. Note that the case where cs n > cs m means that the angle θ formed by the vector V dest (m) and the vector V stay (m, r i ) is the vector V dest (n) and the vector V stay (n, r This is the case when the angle θ ′ formed with i ) is larger.

(ステップS505)判断部18は、i番目のセンサデータrを、送信対象のセンサデータに設定する。なお、この設定は、例えば、i番目のセンサデータrと、そのセンサデータrに対応する位置及び時刻とを送信バッファに蓄積することによって行われてもよい。そして、図5のフローチャートに戻る。 (Step S505) The determination unit 18 sets the i-th sensor data r i as sensor data to be transmitted. This setting may be performed, for example, by accumulating the i-th sensor data r i and the position and time corresponding to the sensor data r i in the transmission buffer. And it returns to the flowchart of FIG.

なお、図5のフローチャートにおいて、判断部18は、ステップS201でYesと判断した場合に、ステップS501の判断処理を行い、そのステップS501でYesと判断したときには、センサデータを送信するかどうか判断する方式Xとして方式3を用いることに決定し、そのステップS501でNoと判断したときには、センサデータを送信するかどうか判断する方式Xとして方式2を用いることに決定してもよい。その場合には、図6Cのフローチャートにおいて、ステップS501の処理を行わなくてもよい。   In the flowchart of FIG. 5, when the determination unit 18 determines Yes in step S201, the determination unit 18 performs the determination process of step S501. When the determination unit 18 determines Yes in step S501, the determination unit 18 determines whether to transmit sensor data. When it is determined that the method 3 is used as the method X and it is determined No in step S501, it may be determined that the method 2 is used as the method X for determining whether to transmit the sensor data. In that case, the process of step S501 may not be performed in the flowchart of FIG. 6C.

次に、本実施の形態による無線通信システム100の動作について、具体例を用いて説明する。この具体例では、説明を簡単にするため、方式1によって判断をする場合について説明する。また、この具体例では、各区域の重心が滞留位置となるものとする。   Next, the operation of radio communication system 100 according to the present embodiment will be described using a specific example. In this specific example, in order to simplify the description, a case where determination is made by the method 1 will be described. Further, in this specific example, the center of gravity of each zone is assumed to be the staying position.

まず、図10,図11A,図11Bを用いて、ある区域内において近距離無線通信によってセンサデータの送受信が行われる場合について説明する。図11Aで示されるように、移動端末装置1−1が区域Cに存在する際にセンサデータを取得するタイミングとなり、センサ13によってセンサデータrが取得されたとする(ステップS101,S102,S601)。その後、位置取得部11によって、その時点の位置(X101,Y101)が取得され、時刻取得部12によって、その時点の時刻t101が取得されたとする(ステップS103,S104)。それらの取得された情報は、蓄積部14によって記憶部15に蓄積される(ステップS105)。また、センサデータを取得する次のタイミングとなった場合にも、同様にして、センサデータr,位置(X102,Y102),時刻t102が取得され、記憶部15に蓄積されたとする(ステップS101〜S105,S602)。同様にして、区域Cに存在する移動端末装置1−2においても、センサデータr,位置(X201,Y201),時刻t201が取得されて蓄積され、センサデータr,位置(X202,Y202),時刻t202が取得されて蓄積されたとする(ステップS101〜S105,S701,S702)。 First, a case where sensor data is transmitted and received by short-range wireless communication in a certain area will be described with reference to FIGS. 10, 11A, and 11B. As shown in FIG. 11A, the mobile terminal 1-1 becomes a timing of acquiring the sensor data when present in the area C 1, and sensor data r 1 is acquired by the sensor 13 (step S101, S102, S601 ). Thereafter, it is assumed that the position (X101, Y101) at that time is acquired by the position acquisition unit 11, and the time t101 at that time is acquired by the time acquisition unit 12 (steps S103, S104). The acquired information is stored in the storage unit 15 by the storage unit 14 (step S105). Similarly, when the next timing for acquiring sensor data is reached, the sensor data r 2 , position (X102, Y102), and time t102 are acquired and stored in the storage unit 15 (step S101). To S105, S602). Similarly, in the mobile terminal apparatus 12 existing in the area C 1, the sensor data r 3, position (X201, Y201), time t201 is accumulated is acquired, the sensor data r 4, position (X202, Y202 ), The time t202 is acquired and stored (steps S101 to S105, S701, S702).

その後、移動端末装置1−1の近距離無線通信部17が、Helloパケットを送信するタイミングであると判断して、Helloパケットを送信したとする(ステップS106,S107,S603)。その時点において、移動端末装置1−2は、移動端末装置1−1の近距離無線通信の通信圏内に存在していたとする。すると、移動端末装置1−2の近距離無線通信部17は、移動端末装置1−1から送信されたHelloパケットを受信し(ステップS113)、その時点の位置である現在位置の取得を位置取得部11に指示し、それに応じて位置取得部11から受け取った現在位置(X203,Y203)を含む位置情報を、Helloパケットの送信元の移動端末装置1−1に送信する(ステップS114,S703)。移動端末装置1−2から送信された位置情報は、移動端末装置1−1の近距離無線通信部17によって受信され、判断部18に渡される(ステップS108)。相手端末からの位置情報を受信したため、移動端末装置1−1の近距離無線通信部17は、その時点の位置である現在位置の取得を位置取得部11に指示し、それに応じて位置取得部11から受け取った現在位置(X103,Y103)を含む位置情報を、位置情報の送信元の移動端末装置1−2に送信する(ステップS109,S604)。移動端末装置1−1から送信された位置情報は、移動端末装置1−2の近距離無線通信部17によって受信され、判断部18に渡される(ステップS115)。その後、移動端末装置1−1,1−2のそれぞれにおいて、送信判断が行われる(ステップS110,S605,S704)。この場合には、両装置での送信判断は同様のものになるため、ここでは、移動端末装置1−2における送信判断について説明する。   Thereafter, it is assumed that the short-range wireless communication unit 17 of the mobile terminal device 1-1 determines that it is time to transmit the Hello packet, and transmits the Hello packet (steps S106, S107, and S603). At that time, it is assumed that the mobile terminal device 1-2 is within the communication range of the short-distance wireless communication of the mobile terminal device 1-1. Then, the short-range wireless communication unit 17 of the mobile terminal apparatus 1-2 receives the Hello packet transmitted from the mobile terminal apparatus 1-1 (step S113), and acquires the current position that is the current position. The position information including the current position (X203, Y203) received from the position acquisition unit 11 is transmitted to the mobile terminal device 1-1 that is the transmission source of the Hello packet (steps S114 and S703). . The location information transmitted from the mobile terminal device 1-2 is received by the short-range wireless communication unit 17 of the mobile terminal device 1-1 and passed to the determination unit 18 (step S108). Since the location information from the counterpart terminal has been received, the short-range wireless communication unit 17 of the mobile terminal device 1-1 instructs the location acquisition unit 11 to acquire the current location, which is the current location, and the location acquisition unit accordingly. 11 transmits the position information including the current position (X103, Y103) received from 11 to the mobile terminal device 1-2 that is the transmission source of the position information (steps S109 and S604). The location information transmitted from the mobile terminal device 1-1 is received by the short-range wireless communication unit 17 of the mobile terminal device 1-2 and passed to the determination unit 18 (step S115). Thereafter, transmission determination is performed in each of the mobile terminal apparatuses 1-1 and 1-2 (steps S110, S605, and S704). In this case, since the transmission judgment in both apparatuses is the same, here, the transmission judgment in the mobile terminal apparatus 1-2 will be described.

移動端末装置1−2の判断部18は、まず、1個目のセンサデータrについて、方式1による判断を行う(ステップS201,S202,S204〜S206)。具体的には、判断部18は、自端末の現在位置(X203,Y203)から、センサデータrに対応する滞留位置stay(r)(=SY(C))までの距離dを算出する(ステップS301)。ここで、判断部18は、センサデータrに対応する位置(X201,Y201)を含む区域が、区域Cであることを特定し、その区域Cにおける滞留位置を特定することによって、センサデータrに対応する滞留位置stay(r)を特定することができる。センサデータrは、区域Cで取得されたため、その滞留位置stay(r)は、区域Cの重心となる。また、判断部18は、相手端末の現在位置(X103,Y103)から、センサデータrに対応する滞留位置stay(r)までの距離dを算出する(ステップS302)。ここでは、d<dであり、移動端末装置1−1のほうが、移動端末装置1−2よりも区域Cの滞留位置SY(C)に近かったとする(ステップS303)。すると、判断部18は、記憶部15で記憶されているセンサデータr,位置(X201,Y201),時刻t201を、近距離無線通信部17の送信バッファに追加する(ステップS304)。移動端末装置1−2の判断部18は、同様にして、センサデータrについても判断を行い(ステップS207,S205,S206)、そのセンサデータr等も送信バッファに追加する(ステップS301〜S304)。その後、移動端末装置1−2の近距離無線通信部17は、送信バッファで記憶されているセンサデータ等を読み出して、移動端末装置1−1に近距離無線通信によって送信し(ステップS208,S705)、送信済みのセンサデータr,位置(X201,Y201),時刻t201と、センサデータr,位置(X202,Y202),時刻t202とを記憶部15から削除する(ステップS209)。なお、移動端末装置1−1においても同様の判断が行われ、センサデータr,r等を送信しないと判断されることになり、移動端末装置1−1から移動端末装置1−2へのセンサデータ等の送信は行われないことになる。 Determination unit 18 of the mobile terminal apparatus 12, first, the 1 th sensor data r 3, a determination is made by the method 1 (step S201, S202, S204 to S206). Specifically, the determination unit 18, the current position of the terminal (X203, Y203), the distance d m to dwell locations stay corresponding to sensor data r 3 (r 3) (= SY (C 1)) Calculate (step S301). Here, the determination unit 18, by the position corresponding to the sensor data r 3 (X201, Y201) area containing the found identifying that the region C 1, to identify the dwell position in the region C 1, sensor The stay position stay (r 3 ) corresponding to the data r 3 can be specified. Since the sensor data r 3 is acquired in the area C 1 , the staying position stay (r 3 ) is the center of gravity of the area C 1 . Further, the determination unit 18 calculates the distance d n from the current position of the counterpart terminal (X103, Y103), to dwell locations stay corresponding to sensor data r 3 (r 3) (step S302). Here, a d n <d m, more mobile terminals 1-1, and was close to the area C 1 of the dwell position SY (C 1) than the mobile terminal device 1-2 (step S303). Then, the determination unit 18 adds the sensor data r 3 , position (X201, Y201), and time t201 stored in the storage unit 15 to the transmission buffer of the short-range wireless communication unit 17 (step S304). Determination unit 18 of the mobile terminal apparatus 12, similarly, also make decisions about the sensor data r 4 (step S207, S205, S206), and adds the transmission buffer that sensor data r 4, etc. (step S301~ S304). Thereafter, the short-range wireless communication unit 17 of the mobile terminal device 1-2 reads the sensor data and the like stored in the transmission buffer, and transmits the data to the mobile terminal device 1-1 by short-range wireless communication (steps S208 and S705). ), transmitted sensor data r 3, position (X201, Y201), and the time t201, the sensor data r 4, position (X202, Y202), to remove the time t202 from the storage unit 15 (step S209). Note that the same determination is also performed in the mobile terminal device 1-1, and it is determined that the sensor data r 1 , r 2 and the like are not transmitted, and the mobile terminal device 1-1 is transferred to the mobile terminal device 1-2. The sensor data and the like are not transmitted.

移動端末装置1−2から送信されたセンサデータ等は、移動端末装置1−1の近距離無線通信部17で受信され、記憶部15に蓄積される(ステップS111,S112)。その結果、図11Bで示されるように、移動端末装置1−1がセンサデータr〜rを保持することになる。そのように、移動端末装置1−1がセンサデータr〜rを保持している際に、送信部20が、センサデータ等をサーバ3に送信するタイミングであると判断したとする(ステップS116)。すると、送信部20は、その時点で記憶部15において記憶されているセンサデータを集約するように指示する。その指示を受け取ると、集約部19は、記憶部15からセンサデータr〜rと、それらに対応する位置及び時刻とを読み出し、同じ区域及び同じ期間ごとに集約を行う。ここでは、すべての位置は区域Cに含まれ、すべての時刻は期間Tに含まれたとする。すると、集約部19は、センサデータr〜rと、それらに対応する位置及び時刻とを、センサデータr〜rの平均rave(=(r+r+r+r)/4)と、位置(区域)C及び時刻(期間)Tとに集約し、送信部20に渡す(ステップS117,S606)。そして、送信部20は、集約されたセンサデータrave、位置C、時刻Tをサーバ3に送信する(ステップS118,S607)。また、送信部20は、集約前の各センサデータ、並びに各センサデータに対応する位置及び時刻を、記憶部15から削除する(ステップS119)。その結果、移動端末装置1−1の記憶部15では、記憶されているセンサデータ等は存在しないことになる。なお、移動端末装置1−2の送信部20が、センサデータ等をサーバ3に送信するタイミングであると判断したとしても、移動端末装置1−2の記憶部15では送信対象のセンサデータ等が記憶されていないため、センサデータ等のサーバ3への送信は行われないことになる。 Sensor data and the like transmitted from the mobile terminal device 1-2 are received by the short-range wireless communication unit 17 of the mobile terminal device 1-1 and accumulated in the storage unit 15 (steps S111 and S112). As a result, as shown in FIG. 11B, the mobile terminal device 1-1 holds the sensor data r 1 to r 4 . As described above, when the mobile terminal device 1-1 holds the sensor data r 1 to r 4 , it is assumed that the transmission unit 20 determines that it is time to transmit the sensor data and the like to the server 3 (steps). S116). Then, the transmission unit 20 instructs to collect the sensor data stored in the storage unit 15 at that time. When receiving the instruction, the aggregating unit 19 reads out the sensor data r 1 to r 4 and the corresponding positions and times from the storage unit 15 and performs aggregation for the same area and the same period. Here, all positions are included in the area C 1, all the time is to have been included in the period T 1. Then, the aggregating unit 19, the sensor data r 1 ~r 4, the position and time corresponding to them, the average r ave of the sensor data r 1 ~r 4 (= (r 1 + r 2 + r 3 + r 4) / and 4) aggregate on the position (area) C 1 and time (period) T 1, and passes to the transmitter 20 (step S117, S606). Then, the transmission unit 20 transmits the collected sensor data r ave , position C 1 , and time T 1 to the server 3 (steps S118 and S607). Further, the transmission unit 20 deletes each sensor data before aggregation and the position and time corresponding to each sensor data from the storage unit 15 (step S119). As a result, there is no stored sensor data or the like in the storage unit 15 of the mobile terminal device 1-1. Even if the transmission unit 20 of the mobile terminal device 1-2 determines that it is time to transmit sensor data or the like to the server 3, the storage unit 15 of the mobile terminal device 1-2 stores the sensor data or the like to be transmitted. Since it is not stored, transmission of sensor data or the like to the server 3 is not performed.

移動端末装置1−1から送信されたセンサデータ等は、サーバ3の通信部31で受信され、蓄積部32に渡される。蓄積部32は、通信部31から受け取ったセンサデータ等を、記憶部33に蓄積する(ステップS801)。なお、それまでに位置C、時刻Tに対応するセンサデータがすでに記憶されている場合には、蓄積部32は、それまでに記憶されているセンサデータと、新たに受信したセンサデータとを集約して、上書きで蓄積してもよく、または、新たに受信したセンサデータを別途、蓄積してもよい。 Sensor data and the like transmitted from the mobile terminal device 1-1 are received by the communication unit 31 of the server 3 and passed to the storage unit 32. The accumulation unit 32 accumulates the sensor data received from the communication unit 31 in the storage unit 33 (step S801). If sensor data corresponding to the position C 1 and time T 1 has already been stored so far, the storage unit 32 stores the sensor data stored so far, the newly received sensor data, May be accumulated and overwritten, or newly received sensor data may be accumulated separately.

次に、図12A〜図12Dを用いて、移動端末装置1の間でセンサデータ等が送受信される別の具体例について説明する。なお、この具体例では、センサデータ等の取得や送信、受信等に関する細かい説明は省略する。   Next, another specific example in which sensor data and the like are transmitted and received between the mobile terminal devices 1 will be described with reference to FIGS. 12A to 12D. In this specific example, detailed description regarding acquisition, transmission, reception, and the like of sensor data is omitted.

図12Aで示されるように、移動端末装置1−3,1−4が区域Cに存在する際に、移動端末装置1−3において、センサデータrと位置及び時刻とが取得され、移動端末装置1−4において、センサデータrと位置及び時刻とが取得されたとする。その後、図12Bで示されるように、移動端末装置1−3,1−4が区域Cから離れた際に、移動端末装置1−3の近距離無線通信の通信圏内に移動端末装置1−5が存在し、移動端末装置1−4の近距離無線通信の通信圏内に移動端末装置1−6が存在するようになったとする。また、移動端末装置1−3よりも、移動端末装置1−5のほうが区域Cの滞留位置SY(C)に近く、移動端末装置1−4よりも、移動端末装置1−6のほうが区域Cの滞留位置SY(C)に近かったとする。すると、移動端末装置1−3から移動端末装置1−5に、センサデータr等が近距離無線通信によって送信され、移動端末装置1−4から移動端末装置1−6に、センサデータr等が近距離無線通信によって送信される。その後、図12Cで示されるように、移動端末装置1−5が移動端末装置1−6の近傍に移動し、両装置が近距離無線通信を行うことができるようになったとする。また、移動端末装置1−5よりも、移動端末装置1−6のほうが区域Cの滞留位置SY(C)に近かったとする。すると、移動端末装置1−5から移動端末装置1−6に、センサデータr等が近距離無線通信によって送信される。したがって、移動端末装置1−6が、センサデータr,r等を保持するようになる。その後、図12Dで示されるように、移動端末装置1−6が区域C内に移動した後に、移動端末装置1−6において、センサデータ等をサーバ3に送信するタイミングであると判断されると、センサデータr,r等が集約された後に移動端末装置1−6からサーバ3に送信され、サーバ3で蓄積されることになる。 As shown in Figure 12A, when the mobile terminal device 1-3, 1-4 is present in the area C 2, in the mobile terminal device 1-3, the position and the time the sensor data r 5 is acquired, the mobile in the terminal device 1-4, and the location and time and sensor data r 6 is acquired. Thereafter, as shown in FIG. 12B, when the mobile terminal devices 1-3 and 1-4 leave the area C 2 , the mobile terminal device 1-1 enters the short-range wireless communication range of the mobile terminal device 1-3. 5, and the mobile terminal device 1-6 comes to exist in the communication area of the short-distance wireless communication of the mobile terminal device 1-4. Also, from the mobile terminal device 1-3, close to the dwell position better the area C 2 of the mobile terminal device 1-5 SY (C 2), than the mobile terminal device 1-4, is better for the mobile terminal device 1-6 It is assumed that it is close to the staying position SY (C 2 ) in the area C 2 . Then, the sensor data r 5 and the like are transmitted from the mobile terminal device 1-3 to the mobile terminal device 1-5 by short-range wireless communication, and the sensor data r 6 is transmitted from the mobile terminal device 1-4 to the mobile terminal device 1-6. Etc. are transmitted by short-range wireless communication. Then, as shown in FIG. 12C, it is assumed that the mobile terminal device 1-5 moves to the vicinity of the mobile terminal device 1-6, and both devices can perform short-range wireless communication. Also, from the mobile terminal device 1-5, more of the mobile terminals 1-6 and was close to the residence location of zones C 2 SY (C 2). Then, the sensor data r 5 and the like are transmitted from the mobile terminal device 1-5 to the mobile terminal device 1-6 by short-range wireless communication. Accordingly, the mobile terminal device 1-6, so to retain the sensor data r 5, r 6, and the like. Thereafter, as shown in Figure 12D, after the mobile terminal 1-6 has moved to the area C 2, in the mobile terminal device 1-6, it is determined that it is time to transmit the sensor data and the like to the server 3 Then, after the sensor data r 5 , r 6, etc. are collected, they are transmitted from the mobile terminal device 1-6 to the server 3 and accumulated in the server 3.

以上のように、本実施の形態による無線通信システム100によれば、移動端末装置1の間でセンサデータ等を移動させた後に、センサデータ等をサーバ3に送信することができる。したがって、各移動端末装置1からサーバ3にセンサデータ等を個別に送信する場合と比較して、送信対象のデータ量を削減することができる。通常、センサデータ等を移動端末装置1の間で移動させることにより、センサデータ等をサーバ3に送信する移動端末装置1の個数を低減させることができるからである。また特に、サーバ3にセンサデータ等を送信するまでにセンサデータ等の集約を行うことによって、効率的にデータ量を削減することができる。このように、サーバ3に送信されるデータ量を削減できることによって、サーバ3への通信に用いられる通信網の負荷を低減させることができる。また、自端末の位置情報と、相手端末の位置情報と、滞留位置とを用いて、現在位置や目的位置が滞留位置に近い移動端末装置1、または、移動の方向が滞留位置への方向に近い移動端末装置1にセンサデータが集まるようにすることによって、ある区域で取得されたセンサデータが、その区域の滞留位置の付近に集まるようにすることができる。その結果、集約対象のデータが特定の移動端末装置1に集中しやすくすることができ、集約の効果をより高めることができる。また、移動端末装置1間におけるセンサデータ等の送受信を、すれ違い通信によって自動的に行うことによって、その送受信にユーザの操作を介さないでよいことになり、ユーザに負担を掛けることなく、移動端末装置1の間におけるセンサデータ等の移動を実現することができる。   As described above, according to the wireless communication system 100 according to the present embodiment, sensor data or the like can be transmitted to the server 3 after the sensor data or the like is moved between the mobile terminal devices 1. Therefore, the amount of data to be transmitted can be reduced as compared with the case where sensor data and the like are individually transmitted from each mobile terminal device 1 to the server 3. This is because the number of mobile terminal devices 1 that transmit sensor data or the like to the server 3 can usually be reduced by moving sensor data or the like between the mobile terminal devices 1. In particular, the amount of data can be efficiently reduced by collecting the sensor data and the like before transmitting the sensor data and the like to the server 3. Thus, by reducing the amount of data transmitted to the server 3, it is possible to reduce the load on the communication network used for communication to the server 3. In addition, using the position information of the own terminal, the position information of the counterpart terminal, and the stay position, the mobile terminal device 1 whose current position or target position is close to the stay position, or the direction of movement is in the direction toward the stay position By making sensor data gather in the nearby mobile terminal device 1, sensor data acquired in a certain area can be gathered in the vicinity of the staying position in that area. As a result, the data to be aggregated can be easily concentrated on the specific mobile terminal device 1, and the aggregation effect can be further enhanced. In addition, by automatically performing transmission / reception of sensor data and the like between the mobile terminal devices 1 by passing communication, the transmission / reception does not have to be performed by the user's operation, and the mobile terminal is not burdened. Movement of sensor data or the like between the devices 1 can be realized.

なお、本実施の形態では、近距離無線通信によってセンサデータ等を相手端末に送信するかどうかの判断方法として、方式1〜3のいずれかを選択する場合について説明したが、そうでなくてもよい。方式1〜3のいずれかの方法が、判断方法としてあらかじめ設定されていてもよい。また、方式2が判断方法としてあらかじめ設定されている場合であって、目的位置取得部16によって目的位置を取得することができないときには、判断部18は、現在位置を目的位置として用いるようにしてもよい。   In the present embodiment, a case has been described in which one of methods 1 to 3 is selected as a method for determining whether or not to transmit sensor data or the like to the counterpart terminal by short-range wireless communication. Good. Any of the methods 1 to 3 may be set in advance as a determination method. Further, when the method 2 is set in advance as the determination method and the target position cannot be acquired by the target position acquisition unit 16, the determination unit 18 may use the current position as the target position. Good.

また、本実施の形態では、センサデータ等をサーバ3にアップロードするために集約を行う場合について説明したが、そうでなくてもよい。集約を行わないでセンサデータ等がサーバ3に送信されてもよい。その場合であっても、別々の移動端末装置1からセンサデータ等がサーバ3に送信される場合よりも、送信対象のデータ量を削減することができる。通常、N個のセンサデータをN個の装置から送信するよりも、N個のセンサデータを1個の装置から送信するほうが、オーバーヘッド等を考慮すると、送信対象のデータ量が少なくなるからである。   Moreover, although this Embodiment demonstrated the case where aggregation was performed in order to upload sensor data etc. to the server 3, it may not be so. Sensor data or the like may be transmitted to the server 3 without performing aggregation. Even in that case, the amount of data to be transmitted can be reduced as compared with the case where sensor data and the like are transmitted from the separate mobile terminal devices 1 to the server 3. This is because the amount of data to be transmitted is usually smaller when N sensor data is transmitted from one device than when N sensor data is transmitted from N devices in consideration of overhead and the like. .

また、本実施の形態による移動端末装置1が、目的位置を取得する目的位置取得部16を備える場合について説明したが、そうでなくてもよい。例えば、方式1による判断しか行わない場合には、移動端末装置1は、目的位置取得部16を備えていなくてもよい。   Moreover, although the case where the mobile terminal device 1 according to the present embodiment includes the target position acquisition unit 16 that acquires the target position has been described, this need not be the case. For example, when only the determination based on the method 1 is performed, the mobile terminal device 1 may not include the target position acquisition unit 16.

また、上記実施の形態において、各処理または各機能は、単一の装置または単一のシステムによって集中処理されることによって実現されてもよく、または、複数の装置または複数のシステムによって分散処理されることによって実現されてもよい。   In the above embodiment, each process or each function may be realized by centralized processing by a single device or a single system, or may be distributedly processed by a plurality of devices or a plurality of systems. It may be realized by doing.

また、上記実施の形態において、各構成要素間で行われる情報の受け渡しは、例えば、その情報の受け渡しを行う2個の構成要素が物理的に異なるものである場合には、一方の構成要素による情報の出力と、他方の構成要素による情報の受け付けとによって行われてもよく、または、その情報の受け渡しを行う2個の構成要素が物理的に同じものである場合には、一方の構成要素に対応する処理のフェーズから、他方の構成要素に対応する処理のフェーズに移ることによって行われてもよい。   In the above embodiment, the information exchange between the components is performed by one component when, for example, the two components that exchange the information are physically different from each other. It may be performed by outputting information and receiving information by the other component, or when two components that exchange information are physically the same, one component May be performed by moving from the phase of the process corresponding to to the phase of the process corresponding to the other component.

また、上記実施の形態において、各構成要素が実行する処理に関係する情報、例えば、各構成要素が受け付けたり、取得したり、選択したり、生成したり、送信したり、受信したりした情報や、各構成要素が処理で用いる閾値や数式、アドレス等の情報等は、上記説明で明記していなくても、図示しない記録媒体において、一時的に、または長期にわたって保持されていてもよい。また、その図示しない記録媒体への情報の蓄積を、各構成要素、または、図示しない蓄積部が行ってもよい。また、その図示しない記録媒体からの情報の読み出しを、各構成要素、または、図示しない読み出し部が行ってもよい。   In the above embodiment, information related to processing executed by each component, for example, information received, acquired, selected, generated, transmitted, or received by each component In addition, information such as threshold values, mathematical formulas, addresses, and the like used by each constituent element in processing may be temporarily or for a long time held in a recording medium (not shown), even if not specified in the above description. Further, the storage of information on the recording medium (not shown) may be performed by each component or a storage unit (not shown). Further, reading of information from the recording medium (not shown) may be performed by each component or a reading unit (not shown).

また、上記実施の形態において、各構成要素等で用いられる情報、例えば、各構成要素が処理で用いる閾値やアドレス、各種の設定値等の情報がユーザによって変更されてもよい場合には、上記説明で明記していなくても、ユーザが適宜、それらの情報を変更できるようにしてもよく、または、そうでなくてもよい。それらの情報をユーザが変更可能な場合には、その変更は、例えば、ユーザからの変更指示を受け付ける図示しない受付部と、その変更指示に応じて情報を変更する図示しない変更部とによって実現されてもよい。その図示しない受付部による変更指示の受け付けは、例えば、入力デバイスからの受け付けでもよく、通信回線を介して送信された情報の受信でもよく、所定の記録媒体から読み出された情報の受け付けでもよい。   In the above embodiment, when information used by each component, for example, information such as a threshold value, an address, and various setting values used by each component may be changed by the user, Even if it is not specified in the description, the user may be able to change the information as appropriate, or may not be so. If the information can be changed by the user, the change is realized by, for example, a not-shown receiving unit that receives a change instruction from the user and a changing unit (not shown) that changes the information in accordance with the change instruction. May be. The change instruction received by the receiving unit (not shown) may be received from an input device, information received via a communication line, or information read from a predetermined recording medium, for example. .

また、上記実施の形態において、移動端末装置1に含まれる2以上の構成要素が通信デバイスや入力デバイス等を有する場合に、2以上の構成要素が物理的に単一のデバイスを有してもよく、または、別々のデバイスを有してもよい。   In the above embodiment, when two or more components included in the mobile terminal device 1 have communication devices, input devices, or the like, the two or more components may have a physically single device. Well, or you may have separate devices.

また、上記実施の形態において、各構成要素は専用のハードウェアにより構成されてもよく、または、ソフトウェアにより実現可能な構成要素については、プログラムを実行することによって実現されてもよい。例えば、ハードディスクや半導体メモリ等の記録媒体に記録されたソフトウェア・プログラムをCPU等のプログラム実行部が読み出して実行することによって、各構成要素が実現され得る。その実行時に、プログラム実行部は、記憶部や記録媒体にアクセスしながらプログラムを実行してもよい。なお、上記実施の形態における移動端末装置1を実現するソフトウェアは、以下のようなプログラムである。つまり、このプログラムは、コンピュータを、無線通信を行う移動端末装置として機能させるためのプログラムであって、センサデータを取得するセンサによって取得されたセンサデータと、センサデータの取得時に、現在の位置を取得する位置取得部によって取得された位置及び現在の時刻を取得する時刻取得部によって取得された時刻とを蓄積する蓄積部、他の移動端末装置から、他の移動端末装置に関する位置情報を近距離無線通信によって受信する近距離無線通信部、蓄積部によって蓄積されたセンサデータごとに、自移動端末装置に関する位置情報と、近距離無線通信によって受信された、他の移動端末装置に関する位置情報と、センサデータに対応する位置を含む区域に対応付けられた滞留位置とを用いて、センサデータを他の移動端末装置に送信するかどうか判断する判断部、蓄積部によって蓄積されたセンサデータと、センサデータに対応する位置及び時刻とを、センサデータを収集するサーバに、近距離無線通信とは異なる無線通信によって送信する送信部として機能させ、近距離無線通信部は、他の移動端末装置に送信すると判断部によって判断されたセンサデータと、センサデータに対応する位置及び時刻とを近距離無線通信によって他の移動端末装置に送信し、他の移動端末装置から近距離無線通信によって送信されたセンサデータと、センサデータに対応する位置及び時刻とを受信し、蓄積部は、近距離無線通信部によって受信されたセンサデータと、センサデータに対応する位置及び時刻とを蓄積する、プログラムである。   In the above-described embodiment, each component may be configured by dedicated hardware, or a component that can be realized by software may be realized by executing a program. For example, each component can be realized by a program execution unit such as a CPU reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory. At the time of execution, the program execution unit may execute the program while accessing the storage unit or the recording medium. In addition, the software which implement | achieves the mobile terminal device 1 in the said embodiment is the following programs. That is, this program is a program for causing a computer to function as a mobile terminal device that performs wireless communication, and the sensor data acquired by a sensor that acquires sensor data and the current position at the time of acquisition of the sensor data. An accumulator that accumulates the position acquired by the position acquisition unit to acquire and the time acquired by the time acquisition unit that acquires the current time, and the position information related to the other mobile terminal devices from a short distance from other mobile terminal devices For each sensor data accumulated by the short-range wireless communication unit and the storage unit received by wireless communication, position information regarding the own mobile terminal device, position information regarding other mobile terminal devices received by short-range wireless communication, Using the dwell position associated with the area containing the position corresponding to the sensor data, A determination unit that determines whether or not to transmit to a mobile terminal device, sensor data stored by the storage unit, and a position and time corresponding to the sensor data to a server that collects the sensor data, which is different from short-range wireless communication The short-range wireless communication unit causes the sensor data determined by the determination unit to transmit to another mobile terminal device, and the position and time corresponding to the sensor data by short-range wireless communication. Sensor data transmitted to other mobile terminal devices and transmitted from other mobile terminal devices by short-range wireless communication, and the position and time corresponding to the sensor data are received, and the storage unit is received by the short-range wireless communication unit This is a program for accumulating received sensor data and a position and time corresponding to the sensor data.

なお、上記プログラムにおいて、上記プログラムが実現する機能には、ハードウェアでしか実現できない機能は含まれない。例えば、情報を通信する通信部や、情報を送信する送信部などにおけるモデムやインターフェースカードなどのハードウェアでしか実現できない機能は、上記プログラムが実現する機能には少なくとも含まれない。   In the program, the functions realized by the program do not include functions that can be realized only by hardware. For example, functions that can be realized only by hardware such as a modem and an interface card in a communication unit that communicates information, a transmission unit that transmits information, and the like are not included in at least the functions realized by the program.

また、このプログラムは、サーバなどからダウンロードされることによって実行されてもよく、所定の記録媒体(例えば、CD−ROMなどの光ディスクや磁気ディスク、半導体メモリなど)に記録されたプログラムが読み出されることによって実行されてもよい。また、このプログラムは、プログラムプロダクトを構成するプログラムとして用いられてもよい。   Further, this program may be executed by being downloaded from a server or the like, and a program recorded on a predetermined recording medium (for example, an optical disk such as a CD-ROM, a magnetic disk, a semiconductor memory, or the like) is read out. May be executed by Further, this program may be used as a program constituting a program product.

また、このプログラムを実行するコンピュータは、単数であってもよく、複数であってもよい。すなわち、集中処理を行ってもよく、または分散処理を行ってもよい。   Further, the computer that executes this program may be singular or plural. That is, centralized processing may be performed, or distributed processing may be performed.

図13は、上記プログラムを実行して、上記実施の形態による移動端末装置1を実現するコンピュータシステム900の一例を示す図である。上記実施の形態は、コンピュータハードウェア及びその上で実行されるコンピュータプログラムによって実現されうる。   FIG. 13 is a diagram illustrating an example of a computer system 900 that executes the program and realizes the mobile terminal device 1 according to the embodiment. The above-described embodiment can be realized by computer hardware and a computer program executed on the computer hardware.

図13において、コンピュータシステム900は、MPU(Micro Processing Unit)911と、ブートアッププログラム等のプログラムや、アプリケーションプログラム、システムプログラム、及びデータが記憶されるフラッシュメモリ等のROM912と、MPU911に接続され、アプリケーションプログラムの命令を一時的に記憶すると共に、一時記憶空間を提供するRAM913と、タッチパネル914と、無線通信モジュール915と、MPU911、ROM912等を相互に接続するバス916とを備える。   In FIG. 13, a computer system 900 is connected to an MPU (Micro Processing Unit) 911, a ROM 912 such as a flash memory in which a program such as a bootup program, an application program, a system program, and data are stored, and an MPU 911. A RAM 913 that temporarily stores application program instructions and provides a temporary storage space, a touch panel 914, a wireless communication module 915, and a bus 916 that interconnects the MPU 911, the ROM 912, and the like are provided.

コンピュータシステム900に、上記実施の形態による移動端末装置1の機能を実行させるプログラムは、無線通信モジュール915を介してROM912に記憶されてもよい。プログラムは実行の際にRAM913にロードされる。なお、プログラムは、ネットワークから直接、ロードされてもよい。   A program that causes the computer system 900 to execute the functions of the mobile terminal device 1 according to the above-described embodiment may be stored in the ROM 912 via the wireless communication module 915. The program is loaded into the RAM 913 when executed. Note that the program may be loaded directly from the network.

プログラムは、コンピュータシステム900に、上記実施の形態による移動端末装置1の機能を実行させるオペレーティングシステム(OS)、またはサードパーティプログラム等を必ずしも含んでいなくてもよい。プログラムは、制御された態様で適切な機能やモジュールを呼び出し、所望の結果が得られるようにする命令の部分のみを含んでいてもよい。コンピュータシステム900がどのように動作するのかについては周知であり、詳細な説明は省略する。   The program does not necessarily include an operating system (OS) or a third-party program that causes the computer system 900 to execute the functions of the mobile terminal device 1 according to the above-described embodiment. The program may include only a part of an instruction that calls an appropriate function or module in a controlled manner and obtains a desired result. How the computer system 900 operates is well known and will not be described in detail.

また、本発明は、以上の実施の形態に限定されることなく、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。   Further, the present invention is not limited to the above-described embodiment, and various modifications are possible, and it goes without saying that these are also included in the scope of the present invention.

以上より、本発明による移動端末装置等によれば、センサデータをサーバに送信する際に用いられる通信網の負荷を低減させることができるという効果が得られ、参加型センシングを行う装置等として有用である。   As described above, according to the mobile terminal device and the like according to the present invention, it is possible to reduce the load on the communication network used when transmitting sensor data to the server, and it is useful as a device that performs participatory sensing. It is.

1 移動端末装置
2 無線基地局
3 サーバ
11 位置取得部
12 時刻取得部
13 センサ
14 蓄積部
15 記憶部
16 目的位置取得部
17 近距離無線通信部
18 判断部
19 集約部
20 送信部
DESCRIPTION OF SYMBOLS 1 Mobile terminal device 2 Wireless base station 3 Server 11 Position acquisition part 12 Time acquisition part 13 Sensor 14 Accumulation part 15 Storage part 16 Target position acquisition part 17 Near field communication part 18 Judgment part 19 Aggregation part 20 Transmission part

Claims (8)

無線通信を行う移動端末装置であって、
現在の位置を取得する位置取得部と、
現在の時刻を取得する時刻取得部と、
センサデータを取得するセンサと、
前記センサによって取得されたセンサデータと、当該センサデータの取得時に、前記位置取得部によって取得された位置及び前記時刻取得部によって取得された時刻とを蓄積する蓄積部と、
他の移動端末装置から、当該他の移動端末装置に関する位置情報を近距離無線通信によって受信する近距離無線通信部と、
前記蓄積部によって蓄積されたセンサデータごとに、自移動端末装置に関する位置情報と、前記近距離無線通信によって受信された、他の移動端末装置に関する位置情報と、前記センサデータに対応する位置を含む区域に対応付けられた滞留位置とを用いて、センサデータを当該他の移動端末装置に送信するかどうか判断する判断部と、
前記蓄積部によって蓄積されたセンサデータと、当該センサデータに対応する位置及び時刻とを、センサデータを収集するサーバに、前記近距離無線通信とは異なる無線通信によって送信する送信部と、を備え、
前記近距離無線通信部は、他の移動端末装置に送信すると前記判断部によって判断されたセンサデータと、当該センサデータに対応する位置及び時刻とを近距離無線通信によって前記他の移動端末装置に送信し、他の移動端末装置から近距離無線通信によって送信されたセンサデータと、当該センサデータに対応する位置及び時刻とを受信し、
前記蓄積部は、前記近距離無線通信部によって受信されたセンサデータと、当該センサデータに対応する位置及び時刻とを蓄積する、移動端末装置。
A mobile terminal device that performs wireless communication,
A position acquisition unit for acquiring the current position;
A time acquisition unit for acquiring the current time;
A sensor for acquiring sensor data;
An accumulator that accumulates the sensor data acquired by the sensor, and the position acquired by the position acquisition unit and the time acquired by the time acquisition unit when the sensor data is acquired;
A short-range wireless communication unit that receives position information regarding the other mobile terminal device from another mobile terminal device by short-range wireless communication;
For each sensor data accumulated by the accumulation unit, the position information related to the own mobile terminal apparatus, the position information related to another mobile terminal apparatus received by the short-range wireless communication, and the position corresponding to the sensor data are included. A determination unit that determines whether or not to transmit the sensor data to the other mobile terminal device, using the stay position associated with the area;
A transmission unit that transmits the sensor data accumulated by the accumulation unit and the position and time corresponding to the sensor data to a server that collects the sensor data by wireless communication different from the short-range wireless communication; ,
The short-range wireless communication unit transmits the sensor data determined by the determination unit when transmitted to another mobile terminal device and the position and time corresponding to the sensor data to the other mobile terminal device by short-range wireless communication. Transmit and receive sensor data transmitted from other mobile terminal devices by short-range wireless communication, and the position and time corresponding to the sensor data,
The said storage part is a mobile terminal device which accumulate | stores the sensor data received by the said short distance wireless communication part, and the position and time corresponding to the said sensor data.
前記蓄積部によって蓄積されたセンサデータのうち、同じ区域及び同じ期間に対応するセンサデータを集約する集約部をさらに備え、
前記送信部は、前記集約部によって集約されたセンサデータと、当該センサデータに対応する位置及び時刻とを前記サーバに送信する、請求項1記載の移動端末装置。
Of the sensor data accumulated by the accumulation unit, further comprising an aggregation unit for aggregating sensor data corresponding to the same area and the same period,
The mobile terminal apparatus according to claim 1, wherein the transmission unit transmits the sensor data aggregated by the aggregation unit and the position and time corresponding to the sensor data to the server.
前記位置情報は、現在位置を含んでおり、
前記判断部は、自移動端末装置の現在位置とセンサデータに対応する滞留位置との距離が、他の移動端末装置の現在位置と当該滞留位置との距離よりも大きい場合に、当該センサデータを当該他の移動端末装置に送信すると判断する、請求項1または請求項2記載の移動端末装置。
The location information includes a current location,
When the distance between the current position of the mobile terminal device and the stay position corresponding to the sensor data is greater than the distance between the current position of another mobile terminal device and the stay position, the determination unit The mobile terminal apparatus according to claim 1, wherein the mobile terminal apparatus determines to transmit to the other mobile terminal apparatus.
前記位置情報は、移動先の位置である目的位置を含んでおり、
前記判断部は、自移動端末装置の目的位置とセンサデータに対応する滞留位置との距離が、他の移動端末装置の目的位置と当該滞留位置との距離よりも大きい場合に、当該センサデータを当該他の移動端末装置に送信すると判断する、請求項1または請求項2記載の移動端末装置。
The position information includes a target position that is a position of the destination,
The determination unit obtains the sensor data when the distance between the target position of the mobile terminal device and the stay position corresponding to the sensor data is larger than the distance between the target position of another mobile terminal device and the stay position. The mobile terminal apparatus according to claim 1, wherein the mobile terminal apparatus determines to transmit to the other mobile terminal apparatus.
前記位置情報は、現在位置及び移動先の位置である目的位置を含んでおり、
前記判断部は、自移動端末装置の現在位置から目的位置までのベクトルと当該自移動端末装置の現在位置からセンサデータに対応する滞留位置までのベクトルとの角度が、他の移動端末装置の現在位置から目的位置までのベクトルと当該他の移動端末装置の現在位置から当該滞留位置までのベクトルとの角度よりも大きい場合に、当該センサデータを当該他の移動端末装置に送信すると判断する、請求項1または請求項2記載の移動端末装置。
The position information includes a current position and a target position that is a position of the movement destination,
The determination unit determines that an angle between a vector from the current position of the own mobile terminal device to a target position and a vector from the current position of the own mobile terminal device to a stay position corresponding to the sensor data is the current of another mobile terminal device. Determining that the sensor data is transmitted to the other mobile terminal device when the angle between the vector from the position to the destination position and the vector from the current position of the other mobile terminal device to the staying position is greater than the angle. The mobile terminal device according to claim 1 or 2.
前記目的位置は、現在の時点からあらかじめ決められた時間の経過時点における移動先の位置である、請求項4または請求項5記載の移動端末装置。 The mobile terminal apparatus according to claim 4 or 5, wherein the target position is a position of a movement destination at a point in time that is predetermined from a current point in time. 無線通信を行う移動端末装置において処理されるセンサデータ送信方法であって、
現在の位置を取得する位置取得ステップと、
現在の時刻を取得する時刻取得ステップと、
センサデータを取得するセンサデータ取得ステップと、
前記センサデータ取得ステップにおいて取得されたセンサデータと、当該センサデータの取得時に、前記位置取得ステップによって取得された位置及び前記時刻取得ステップによって取得された時刻とを蓄積する第1の蓄積ステップと、
他の移動端末装置から、当該他の移動端末装置に関する位置情報を近距離無線通信によって受信する第1の受信ステップと、
蓄積されたセンサデータごとに、自移動端末装置に関する位置情報と、前記近距離無線通信によって受信された、他の移動端末装置に関する位置情報と、前記センサデータに対応する位置を含む区域に対応付けられた滞留位置とを用いて、センサデータを当該他の移動端末装置に送信するかどうか判断する判断ステップと、
前記判断ステップにおいて他の移動端末装置に送信すると判断されたセンサデータと、当該センサデータに対応する位置及び時刻とを近距離無線通信によって前記他の移動端末装置に送信する第1の送信ステップと、
他の移動端末装置から近距離無線通信によって送信されたセンサデータと、当該センサデータに対応する位置及び時刻とを受信する第2の受信ステップと、
前記第2の受信ステップにおいて受信されたセンサデータと、当該センサデータに対応する位置及び時刻とを蓄積する第2の蓄積ステップと、
蓄積されたセンサデータと、当該センサデータに対応する位置及び時刻とを、センサデータを収集するサーバに、前記近距離無線通信とは異なる無線通信によって送信する第2の送信ステップと、を備えたセンサデータ送信方法。
A sensor data transmission method processed in a mobile terminal device performing wireless communication,
A position acquisition step for acquiring the current position;
A time acquisition step for acquiring the current time;
A sensor data acquisition step for acquiring sensor data;
A first accumulating step for accumulating the sensor data acquired in the sensor data acquiring step, and the position acquired by the position acquiring step and the time acquired by the time acquiring step when acquiring the sensor data;
A first reception step of receiving position information regarding the other mobile terminal device from another mobile terminal device by short-range wireless communication;
Corresponding to the area including the position information relating to the own mobile terminal device, the location information relating to the other mobile terminal device received by the short-range wireless communication, and the location corresponding to the sensor data, for each accumulated sensor data A determination step of determining whether to transmit the sensor data to the other mobile terminal device using the stay position obtained;
A first transmission step of transmitting sensor data determined to be transmitted to another mobile terminal device in the determination step, and a position and time corresponding to the sensor data to the other mobile terminal device by short-range wireless communication; ,
A second receiving step of receiving sensor data transmitted from another mobile terminal device by short-range wireless communication, and a position and time corresponding to the sensor data;
A second accumulating step for accumulating the sensor data received in the second receiving step and the position and time corresponding to the sensor data;
A second transmission step of transmitting the accumulated sensor data and the position and time corresponding to the sensor data to a server that collects the sensor data by wireless communication different from the short-range wireless communication; Sensor data transmission method.
コンピュータを、
無線通信を行う移動端末装置として機能させるためのプログラムであって、
センサデータを取得するセンサによって取得されたセンサデータと、当該センサデータの取得時に、現在の位置を取得する位置取得部によって取得された位置及び現在の時刻を取得する時刻取得部によって取得された時刻とを蓄積する蓄積部、
他の移動端末装置から、当該他の移動端末装置に関する位置情報を近距離無線通信によって受信する近距離無線通信部、
前記蓄積部によって蓄積されたセンサデータごとに、自移動端末装置に関する位置情報と、前記近距離無線通信によって受信された、他の移動端末装置に関する位置情報と、前記センサデータに対応する位置を含む区域に対応付けられた滞留位置とを用いて、センサデータを当該他の移動端末装置に送信するかどうか判断する判断部、
前記蓄積部によって蓄積されたセンサデータと、当該センサデータに対応する位置及び時刻とを、センサデータを収集するサーバに、前記近距離無線通信とは異なる無線通信によって送信する送信部として機能させ、
前記近距離無線通信部は、他の移動端末装置に送信すると前記判断部によって判断されたセンサデータと、当該センサデータに対応する位置及び時刻とを近距離無線通信によって前記他の移動端末装置に送信し、他の移動端末装置から近距離無線通信によって送信されたセンサデータと、当該センサデータに対応する位置及び時刻とを受信し、
前記蓄積部は、前記近距離無線通信部によって受信されたセンサデータと、当該センサデータに対応する位置及び時刻とを蓄積する、プログラム。
Computer
A program for functioning as a mobile terminal device that performs wireless communication,
The sensor data acquired by the sensor that acquires the sensor data, the position acquired by the position acquisition unit that acquires the current position, and the time acquired by the time acquisition unit that acquires the current time when the sensor data is acquired An accumulator that accumulates
A short-range wireless communication unit that receives position information related to the other mobile terminal device from another mobile terminal device by short-range wireless communication;
For each sensor data accumulated by the accumulation unit, the position information related to the own mobile terminal apparatus, the position information related to another mobile terminal apparatus received by the short-range wireless communication, and the position corresponding to the sensor data are included. A determination unit that determines whether to transmit the sensor data to the other mobile terminal device using the stay position associated with the area;
The sensor data accumulated by the accumulation unit and the position and time corresponding to the sensor data are caused to function as a transmission unit that transmits the sensor data by wireless communication different from the short-range wireless communication,
The short-range wireless communication unit transmits the sensor data determined by the determination unit when transmitted to another mobile terminal device and the position and time corresponding to the sensor data to the other mobile terminal device by short-range wireless communication. Transmit and receive sensor data transmitted from other mobile terminal devices by short-range wireless communication, and the position and time corresponding to the sensor data,
The storage unit is a program for storing sensor data received by the short-range wireless communication unit and a position and time corresponding to the sensor data.
JP2016196933A 2016-10-05 2016-10-05 Mobile terminal device, sensor data transmission method, and program Active JP6736160B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016196933A JP6736160B2 (en) 2016-10-05 2016-10-05 Mobile terminal device, sensor data transmission method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016196933A JP6736160B2 (en) 2016-10-05 2016-10-05 Mobile terminal device, sensor data transmission method, and program

Publications (2)

Publication Number Publication Date
JP2018061126A true JP2018061126A (en) 2018-04-12
JP6736160B2 JP6736160B2 (en) 2020-08-05

Family

ID=61910162

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016196933A Active JP6736160B2 (en) 2016-10-05 2016-10-05 Mobile terminal device, sensor data transmission method, and program

Country Status (1)

Country Link
JP (1) JP6736160B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018166292A (en) * 2017-03-28 2018-10-25 トヨタ自動車株式会社 Information collection system and information collection device
WO2020153151A1 (en) * 2019-01-24 2020-07-30 木村 祐二 Method of attaching sensor for sensing carbon dioxide to drone, searching for site where carbon dioxide concentration is high, and sending information thereof to mobile terminal such as smartphone
WO2020174606A1 (en) * 2019-02-27 2020-09-03 三菱電機株式会社 Sensor information collection system, sensor information collection method, data acquisition terminal, and program
JP7349293B2 (en) 2019-08-29 2023-09-22 ダイハツ工業株式会社 Vehicle guidance system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018166292A (en) * 2017-03-28 2018-10-25 トヨタ自動車株式会社 Information collection system and information collection device
WO2020153151A1 (en) * 2019-01-24 2020-07-30 木村 祐二 Method of attaching sensor for sensing carbon dioxide to drone, searching for site where carbon dioxide concentration is high, and sending information thereof to mobile terminal such as smartphone
JP2020119303A (en) * 2019-01-24 2020-08-06 木村 祐二 Method of attaching sensor, which detects carbon dioxide, to drone, finding point where concentration of carbon dioxide is high, and transmitting information to portable terminal such as smartphone
WO2020174606A1 (en) * 2019-02-27 2020-09-03 三菱電機株式会社 Sensor information collection system, sensor information collection method, data acquisition terminal, and program
JP7349293B2 (en) 2019-08-29 2023-09-22 ダイハツ工業株式会社 Vehicle guidance system

Also Published As

Publication number Publication date
JP6736160B2 (en) 2020-08-05

Similar Documents

Publication Publication Date Title
EP2712488B1 (en) Prediction of indoor level and location using a three stage process
US9420424B2 (en) System and method for measuring the crowdedness of people at a place
US9143920B2 (en) Fine grain position data collection
JP6736160B2 (en) Mobile terminal device, sensor data transmission method, and program
JP5792412B1 (en) Location determination system
CN109275090B (en) Information processing method, device, terminal and storage medium
WO2013192270A1 (en) Visual signatures for indoor positioning
US11212649B2 (en) Determining a non-GNSS based position of a mobile device
EP3045000A1 (en) Indoor location determination of access points using mobile device indoor location information
US10527430B2 (en) Method and apparatus for beacon data collection
CN103501537A (en) Building internal positioning method and system based on smart phone and WiFi (Wireless Fidelity) wireless network
JP2013134631A (en) Attendance management device, attendance management method, and program
WO2016103498A1 (en) Location determination system and location determination program
WO2016067786A1 (en) Program, wireless terminal, and information-gathering device
JP6912271B2 (en) Device location management system and device location management server
US20150242509A1 (en) Method and System of Crowd Sourcing Data Using Mobile Device
JP6379305B1 (en) User context detection using mobile devices based on wireless signal characteristics
JP2016048529A (en) Apparatus, program and method capable of determining stay of user carrying mobile terminal
US11663281B2 (en) Context information from crowd-sourced data
JP5942404B2 (en) Information analysis apparatus, information analysis method, and program
Baeta et al. Mining users mobility at public transportation
CN107843906B (en) Navigation positioning method and system of mobile terminal
JP7307139B2 (en) Determining whether the tracking device is within the area of interest based on at least one set of radio signal observations acquired by the tracking device
JP2022082446A (en) Setting of object area based on at least one radio signal observation result set captured by tracking device
KR20220138425A (en) Method and apparatus for generating user information

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190710

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200616

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200710

R150 Certificate of patent or registration of utility model

Ref document number: 6736160

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250