JP2018182436A - Terminal device, radio communication system comprising the same, program to be executed by computer, and computer-readable storage medium recording program - Google Patents
Terminal device, radio communication system comprising the same, program to be executed by computer, and computer-readable storage medium recording program Download PDFInfo
- Publication number
- JP2018182436A JP2018182436A JP2017076270A JP2017076270A JP2018182436A JP 2018182436 A JP2018182436 A JP 2018182436A JP 2017076270 A JP2017076270 A JP 2017076270A JP 2017076270 A JP2017076270 A JP 2017076270A JP 2018182436 A JP2018182436 A JP 2018182436A
- Authority
- JP
- Japan
- Prior art keywords
- sensor data
- terminal device
- reliability
- detected
- sensor
- 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.)
- Pending
Links
- 238000004891 communication Methods 0.000 title claims abstract description 125
- 238000000034 method Methods 0.000 claims description 52
- 238000012545 processing Methods 0.000 claims description 40
- 230000005540 biological transmission Effects 0.000 claims description 30
- 230000008569 process Effects 0.000 claims description 18
- 230000007423 decrease Effects 0.000 claims description 16
- 230000004931 aggregating effect Effects 0.000 claims description 5
- 238000001514 detection method Methods 0.000 claims description 3
- 230000002776 aggregation Effects 0.000 description 56
- 238000004220 aggregation Methods 0.000 description 56
- 230000006870 function Effects 0.000 description 37
- 238000010586 diagram Methods 0.000 description 25
- 238000009434 installation Methods 0.000 description 3
- 238000007781 pre-processing Methods 0.000 description 3
- 102100023882 Endoribonuclease ZC3H12A Human genes 0.000 description 2
- 101710112715 Endoribonuclease ZC3H12A Proteins 0.000 description 2
- 238000003915 air pollution Methods 0.000 description 2
- 230000010267 cellular communication Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- QGVYYLZOAMMKAH-UHFFFAOYSA-N pegnivacogin Chemical compound COCCOC(=O)NCCCCC(NC(=O)OCCOC)C(=O)NCCCCCCOP(=O)(O)O QGVYYLZOAMMKAH-UHFFFAOYSA-N 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000004888 barrier function Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000013011 mating Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
Images
Abstract
Description
この発明は、端末装置、それを備える無線通信システム、コンピュータに実行させるためのプログラムおよびプログラムを記録したコンピュータ読み取り可能な記録媒体に関する。 The present invention relates to a terminal device, a wireless communication system including the same, a program for causing a computer to execute, and a computer readable recording medium storing the program.
温湿度、大気の汚染度合および周波数の空き状況等を広域にわたって多数のセンサーによってセンシングすることで、天気予報、大気汚染調査および無線基地局の設置計画等に役立てることができる。 By sensing the temperature and humidity, the degree of air pollution, the availability of frequencies, etc. with a large number of sensors over a wide area, it can be used for weather forecasting, air pollution surveys, installation plans of wireless base stations, and the like.
しかし、センサーを搭載した機器を広域に多数設置することは、機器の設置および保守管理に多大なコストを要するため、実現への障壁が大きい。 However, installing a large number of devices equipped with sensors over a wide area requires a great deal of cost for installation and maintenance of the devices, resulting in a large barrier to realization.
そこで、人が携帯するスマートフォン等の移動端末に着目し、それらの端末が搭載するセンサーを用いてセンシングを行うことで、広域のセンシングを比較的少ないコストで実現する参加型センシングまたはクラウドセンシングと呼ばれるセンシングの一形態が、近年提案され、運用され始めている。 Therefore, focusing on mobile terminals such as smartphones carried by humans and performing sensing using sensors mounted on those terminals, it is called participatory sensing or cloud sensing that realizes wide-area sensing at relatively low cost. One form of sensing has recently been proposed and is beginning to be used.
参加型センシングとしては、特許文献1,2に記載のものが知られている。この参加型センシングにおいては、各端末でセンシングされたデータをサーバへアップロードするため、セルラー通信(例えば、LTE:Long Term Evolution)を利用することが考えられる。
As participatory sensing, those described in
しかし、広域のセンシングを達成するためには、多くの端末が必要であり、多くの端末がセンシングしたデータをサーバへアップロードすると、セルラー通信へ多大な負荷がかかるという問題がある。 However, in order to achieve wide-area sensing, many terminals are required, and uploading data sensed by many terminals to a server has a problem that the cellular communication is heavily loaded.
そこで、この発明の実施の形態によれば、通信網への負荷を低減してセンシング結果をサーバへアップロード可能な端末装置を提供する。 Therefore, according to the embodiment of the present invention, there is provided a terminal device capable of uploading a sensing result to a server while reducing the load on the communication network.
また、この発明の実施の形態によれば、通信網への負荷を低減してセンシング結果をサーバへアップロード可能な端末装置を備える無線通信システムを提供する。 Further, according to the embodiment of the present invention, there is provided a wireless communication system including a terminal device capable of uploading a sensing result to a server while reducing load on the communication network.
更に、この発明の実施の形態によれば、通信網への負荷を低減してセンシング結果のサーバへのアップロードをコンピュータに実行させるためのプログラムを提供する。 Furthermore, according to the embodiment of the present invention, a program for reducing the load on the communication network and causing the computer to execute uploading of the sensing result to the server is provided.
更に、この発明の実施の形態によれば、通信網への負荷を低減してセンシング結果のサーバへのアップロードをコンピュータに実行させるためのプログラムを記録したコンピュータ読み取り可能な記録媒体を提供する。 Furthermore, according to the embodiment of the present invention, there is provided a computer readable recording medium recording a program for causing a computer to execute uploading of sensing results to a server by reducing load on a communication network.
(構成1)
この発明の実施の形態によれば、端末装置は、センサーと、処理手段と、送信手段とを備える。センサーは、センサーデータを検出する。処理手段は、検出されたセンサーデータのうち、センサーデータの信頼度がしきい値以上であるセンサーデータをサーバへ送信するセンサーデータとして決定する決定処理を行う。送信手段は、決定されたセンサーデータをサーバへ送信する。
(Configuration 1)
According to the embodiment of the present invention, the terminal device includes the sensor, the processing means, and the transmission means. The sensor detects sensor data. The processing means performs a determination process of determining, as sensor data to be transmitted to the server, sensor data whose reliability of the sensor data is equal to or higher than a threshold among the detected sensor data. The transmitting means transmits the determined sensor data to the server.
構成1によれば、端末装置は、検出したセンサーデータのうち、信頼度がしきい値以上であるセンサーデータをサーバへ送信する。
According to
従って、通信網への負荷を低減してセンサーデータをサーバへアップロードできる。 Therefore, the load on the communication network can be reduced and sensor data can be uploaded to the server.
(構成2)
構成1において、処理手段は、センサーデータの信頼度がしきい値以上であるセンサーデータが複数であるとき、複数のセンサーデータを集約する。送信手段は、集約されたセンサーデータをサーバへ送信する。
(Configuration 2)
In
構成2によれば、サーバへ送信されるセンサーデータの個数が低減される。
According to
従って、各端末装置が、検出した複数のセンサーデータの全てをサーバへ送信する場合よりもデータ量を低減できる。 Therefore, the amount of data can be reduced compared to the case where each terminal device transmits all of the plurality of detected sensor data to the server.
(構成3)
構成1において、処理手段は、自己が搭載された端末装置が他の端末装置からセンサーデータを受信したとき、他の端末装置から受信したセンサーデータの信頼度と、センサーによって検出されたセンサーデータの信頼度との総和を演算し、その演算した総和がしきい値以上であるとき、他の端末装置から受信したセンサーデータとセンサーによって検出されたセンサーデータとを集約する。送信手段は、集約されたセンサーデータをサーバへ送信する。
(Configuration 3)
In
構成3によれば、サーバへセンサーデータを送信する端末装置の個数が低減されるとともに、サーバへ送信されるセンサーデータの個数が低減される。
According to
従って、通信網に与える負荷を更に低減できる。 Therefore, the load on the communication network can be further reduced.
(構成4)
構成3において、送信手段は、自己が搭載された端末装置のランクが他の端末装置のランクよりも高いとき、集約されたセンサーデータをサーバへ送信する。
(Configuration 4)
In
構成4によれば、サーバへセンサーデータを送信する端末装置の個数が低減される。
According to
従って、通信網に与える負荷を低減できる。 Thus, the load on the communication network can be reduced.
(構成5)
構成1において、センサーデータは、検出された位置を示す位置情報と、検出された時間を示す時間情報とによって規定される。処理手段は、センサーデータが検出された位置についての信頼度を示す位置信頼度と、センサーデータが検出された時間についての信頼度を示す時間信頼度との重み付け和をセンサーデータの信頼度として用いて決定処理を行う。
(Configuration 5)
In
構成5によれば、センサーデータの信頼度は、センサーデータが検出される位置および時間に基づいて決定される。 According to configuration 5, the reliability of the sensor data is determined based on the position and time at which the sensor data is detected.
従って、複数のセンサーデータに対しても、信頼度を一義的に決定でき、サーバへ送信するセンサーデータを容易に決定できる。 Therefore, the reliability can be uniquely determined even for a plurality of sensor data, and the sensor data to be transmitted to the server can be easily determined.
(構成6)
構成5において、ある位置における位置信頼度は、センサーによって検出されたセンサーデータの位置との距離が大きくなるに従って低くなり、センサーによって検出されたセンサーデータの位置との距離が小さくなるに従って高くなる。
(Configuration 6)
In configuration 5, the position reliability at a certain position decreases as the distance to the position of the sensor data detected by the sensor increases, and increases as the distance to the position of the sensor data detected by the sensor decreases.
また、ある時間における時間信頼度は、センサーによって検出されたセンサーデータの時間との差の絶対値が大きくなるに従って低くなり、センサーによって検出されたセンサーデータの時間との差の絶対値が小さくなるに従って高くなる。 Also, the time reliability at a certain time decreases as the absolute value of the difference from the sensor data detected by the sensor increases, and the absolute value of the difference from the sensor data detected by the sensor decreases. According to
構成6によれば、検出されるセンサーデータの位置および時間に対し、それと近い位置および時間においては、そのセンサーデータの信頼度が高くなり、サーバへ送信される可能性が高まる。 According to the configuration 6, with respect to the position and time of the sensor data to be detected, in the position and time close thereto, the reliability of the sensor data becomes high and the possibility of being transmitted to the server increases.
従って、位置的および時間的に近いセンサーデータを収集できる。 Therefore, position and near-time sensor data can be collected.
(構成7)
また、この発明の実施の形態によれば、無線通信システムは、端末装置と、サーバとを備える。端末装置は、構成1から構成6のいずれかに記載の端末装置からなる。サーバは、端末装置からセンサーデータを受信し、その受信したセンサーデータを保持する。
(Configuration 7)
Further, according to the embodiment of the present invention, the wireless communication system includes a terminal device and a server. The terminal device includes the terminal device according to any one of
構成7によれば、端末装置がサーバへセンサーデータをアップロードするときの通信負荷を低減できる。 According to configuration 7, it is possible to reduce the communication load when the terminal device uploads sensor data to the server.
(構成8)
更に、この発明の実施の形態によれば、プログラムは、処理手段が、センサーによって検出されたセンサーデータのうち、センサーデータの信頼度がしきい値以上であるセンサーデータをサーバへ送信するセンサーデータとして決定する決定処理を行う第1のステップと、
送信手段が、第1のステップにおいて決定されたセンサーデータの一部をサーバへ送信する第2のステップとをコンピュータに実行させるためのプログラムである。
(Configuration 8)
Furthermore, according to the embodiment of the present invention, the program causes the processing means to transmit to the server the sensor data whose reliability of the sensor data is equal to or higher than the threshold among the sensor data detected by the sensor. A first step of performing determination processing to determine
The transmitting means is a program for causing the computer to execute the second step of transmitting a part of the sensor data determined in the first step to the server.
構成8によれば、プログラムをコンピュータに実行させることにより、検出したセンサーデータのうち、信頼度がしきい値以上であるセンサーデータがサーバへ送信される。 According to the configuration 8, by causing the computer to execute the program, sensor data having a reliability higher than or equal to the threshold among the detected sensor data is transmitted to the server.
従って、通信網への負荷を低減してセンサーデータをサーバへアップロードできる。 Therefore, the load on the communication network can be reduced and sensor data can be uploaded to the server.
(構成9)
構成8において、処理手段は、第1のステップにおいて、センサーデータの信頼度がしきい値以上であるセンサーデータが複数であるとき、複数のセンサーデータを集約する。第2のステップにおいて、送信手段は、集約されたセンサーデータをサーバへ送信する。
(Configuration 9)
In Configuration 8, the processing means, in the first step, aggregates a plurality of sensor data when there are a plurality of sensor data whose reliability of the sensor data is equal to or greater than a threshold. In the second step, the transmitting means transmits the aggregated sensor data to the server.
構成9によれば、プログラムをコンピュータに実行させることにより、サーバへ送信されるセンサーデータの個数が低減される。 According to configuration 9, by causing the computer to execute the program, the number of sensor data to be transmitted to the server is reduced.
従って、各端末装置が、検出した複数のセンサーデータの全てをサーバへ送信する場合よりもデータ量を低減できる。 Therefore, the amount of data can be reduced compared to the case where each terminal device transmits all of the plurality of detected sensor data to the server.
(構成10)
構成8において、処理手段は、第1のステップにおいて、自己が搭載された端末装置が他の端末装置からセンサーデータを受信したとき、他の端末装置から受信したセンサーデータの信頼度と、センサーによって検出されたセンサーデータの信頼度との総和を演算し、その演算した総和がしきい値以上であるとき、他の端末装置から受信したセンサーデータとセンサーによって検出されたセンサーデータとを集約する。第2のステップにおいて、送信手段は、集約されたセンサーデータをサーバへ送信する。
(Configuration 10)
In the configuration 8, when the terminal device on which the processing device is mounted receives sensor data from the other terminal device in the first step, the processing means determines the reliability of the sensor data received from the other terminal device by the sensor The sum of the reliability of the detected sensor data is calculated, and when the calculated sum is equal to or greater than the threshold value, sensor data received from another terminal device and sensor data detected by the sensor are aggregated. In the second step, the transmitting means transmits the aggregated sensor data to the server.
構成10によれば、プログラムをコンピュータに実行させることにより、サーバへセンサーデータを送信する端末装置の個数が低減されるとともに、サーバへ送信されるセンサーデータの個数が低減される。
According to
従って、通信網に与える負荷を更に低減できる。 Therefore, the load on the communication network can be further reduced.
(構成11)
構成10において、送信手段は、第2のステップにおいて、自己が搭載された端末装置のランクが他の端末装置のランクよりも高いとき、集約されたセンサーデータをサーバへ送信する。
(Configuration 11)
In
構成11によれば、プログラムをコンピュータに実行させることにより、サーバへセンサーデータを送信する端末装置の個数が低減される。
According to the
従って、通信網に与える負荷を低減できる。 Thus, the load on the communication network can be reduced.
(構成12)
構成8において、センサーデータは、検出された位置を示す位置情報と、検出された時間を示す時間情報とによって規定される。第1のステップにおいて、処理手段は、センサーデータが検出された位置についての信頼度を示す位置信頼度と、センサーデータが検出された時間についての信頼度を示す時間信頼度との重み付け和をセンサーデータの信頼度として用いて決定処理を行う。
(Configuration 12)
In configuration 8, sensor data is defined by position information indicating a detected position and time information indicating a detected time. In the first step, the processing means includes a sensor that is a weighted sum of a position reliability indicating the reliability of the position at which the sensor data is detected and a time reliability indicating the reliability of the time at which the sensor data is detected. It performs decision processing using it as the reliability of data.
構成12によれば、プログラムをコンピュータに実行させることにより、センサーデータの信頼度は、センサーデータが検出される位置および時間に基づいて決定される。
According to
従って、種類が異なる複数のセンサーデータに対しても、信頼度を一義的に決定でき、サーバへ送信するセンサーデータを容易に決定できる。 Therefore, the reliability can be uniquely determined even for a plurality of sensor data of different types, and the sensor data to be transmitted to the server can be easily determined.
(構成13)
構成12において、ある位置における位置信頼度は、センサーによって検出されたセンサーデータの位置との距離が大きくなるに従って低くなり、センサーによって検出されたセンサーデータの位置との距離が小さくなるに従って高くなる。また、ある時間における時間信頼度は、センサーによって検出されたセンサーデータの時間との差の絶対値が大きくなるに従って低くなり、センサーによって検出されたセンサーデータの時間との差の絶対値が小さくなるに従って高くなる。
(Configuration 13)
In
構成13によれば、プログラムをコンピュータに実行させることにより、検出されるセンサーデータの位置および時間に対し、それと近い位置および時間においては、そのセンサーデータの信頼度が高くなり、サーバへ送信される可能性が高まる。
According to the
従って、位置的および時間的に近いセンサーデータを収集できる。 Therefore, position and near-time sensor data can be collected.
(構成14)
更に、この発明の実施の形態による記録媒体は、構成8から構成13のいずれかに記載のプログラムを記録したコンピュータ読み取り可能な記録媒体である。
(Configuration 14)
Furthermore, a recording medium according to the embodiment of the present invention is a computer readable recording medium recording the program according to any one of constitution 8 to
通信網への負荷を低減してセンサーデータをサーバへアップロードできる。 Sensor data can be uploaded to the server with reduced load on the network.
本発明の実施の形態について図面を参照しながら詳細に説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰返さない。 Embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding portions are denoted by the same reference characters and description thereof will not be repeated.
図1は、この発明の実施の形態による無線通信システムの概略図である。図1を参照して、この発明の実施の形態による無線通信システム100は、端末装置1〜10と、無線基地局20,30,40と、ネットワーク50と、サーバ60とを備える。
FIG. 1 is a schematic view of a wireless communication system according to an embodiment of the present invention. Referring to FIG. 1, a
端末装置1〜10および無線基地局20,30,40は、無線通信空間に配置される。
The
端末装置1〜10の各々は、例えば、スマートフォン、携帯電話、ウェアラブルデバイスおよび一定の位置に固定された通信機器等からなり、自己に搭載されたセンサーを用いてセンサーデータを検出する参加型センシングを行う端末装置である。
Each of the
端末装置1〜10の各々は、人によって移動してもよく、例えば、バスまたは自家用車等の車両に設置されて移動してもよい。
Each of the
そして、端末装置1〜10のユーザは、ボランティアによって端末装置1〜10を無線通信システム100に参加させてもよいし、何らかの報酬を受け取って端末装置1〜10を無線通信システム100に参加させてもよい。
Then, the user of the
このようにすることによって、環境に対して、固定のセンサーを設置してセンシングを行う場合に比べ、センサーの設置または運用によるコストを削減でき、また人の移動に伴い広範囲にセンサーデータをセンシングできる。 By doing this, compared to the case where a fixed sensor is installed for sensing with respect to the environment, the cost due to the installation or operation of the sensor can be reduced, and sensor data can be sensed in a wide range as a person moves. .
また、端末装置1〜10の各々は、近距離無線通信システムを用いて無線通信を行う機能と、近距離無線通信システムと異なる無線通信システム(この発明の実施の形態においては、「サーバ用無線通信システム」と言う。)を用いて無線基地局(無線基地局20,30,40のいずれか)を介してサーバ60へセンサーデータを送信する機能とを有する。
Further, each of the
近距離無線通信システムは、例えば、Bluetooth(登録商標) LE(Low Energy)、およびWiFi Direct等である。但し、近距離無線通信システムは、これらに限定されず、端末装置1〜10間で無線通信可能な無線通信システムであれば、どのような無線通信システムであってもよい。
The short distance wireless communication system is, for example, Bluetooth (registered trademark) LE (Low Energy), WiFi Direct, or the like. However, the short-distance wireless communication system is not limited to these, and any wireless communication system may be used as long as it can wirelessly communicate between the
サーバ用無線通信システムは、一般的には、ネットワーク50を介して端末装置1〜10とサーバ60との間で無線通信可能な無線通信システムである。そして、サーバ用無線通信システムは、例えば、LTE、およびW−CDMA(Wideband Code Division Multiple Access)等である。但し、サーバ用無線通信システムは、これらに限定されず、ネットワーク50を介して端末装置1〜10とサーバ60との間で無線通信可能な無線通信システムであれば、どのような無線通信システムであってもよい。
The server wireless communication system is generally a wireless communication system capable of performing wireless communication between the
端末装置1〜10の各々は、ランクRkが割り当てられる。従って、端末装置1〜10の各々は、ランクRkを保持する。
Each of the
端末装置1〜10の各々は、近距離無線通信システムを用いて、自己のアドレスおよびランクRkを含むHelloパケットを定期的にブロードキャストする。
Each of the
端末装置1〜10の各々は、例えば、気温、湿度、気圧、CO2、PM2.5、照度、紫外線強度、騒音、および無線周波数等を検出し、その検出した気温および湿度等をセンサーデータとして保持する。
Each of the
端末装置1〜10の各々は、センサーデータを検出したときの位置および時刻を検出し、その検出した位置を示す位置情報と、その検出した時刻を示す時間情報とをセンサーデータに対応付けて保持する。
Each of the
そして、端末装置1〜10の各々は、後述する方法によって、センサーデータの信頼度に基づいて、検出したセンサーデータの一部、位置情報および時間情報をサーバ用無線通信システムを用いてサーバ60へ送信する。
Then, each of the
また、端末装置1〜10の各々は、他の端末装置からHelloパケットを受信し、その受信したHelloパケットに含まれるアドレスを検出することにより、他の端末装置を検知する。そして、端末装置1〜10の各々は、他の端末装置を検知すると、後述する方法によって、自己が検出したセンサーデータ、位置情報および時間情報を近距離無線通信システムを用いて他の端末装置へ送信し、または他の端末装置で検出されたセンサーデータ、位置情報および時間情報を近距離無線通信システムを用いて他の端末装置から受信する。
Also, each of the
後述する端末間通信によって、他の端末装置からセンサーデータ等を受信した端末装置は、自己が検出したセンサーデータと他の端末装置から受信したセンサーデータとが集約可能であるか否かを判定する。 A terminal device that has received sensor data and the like from another terminal device through inter-terminal communication described later determines whether it is possible to combine sensor data detected by itself and sensor data received from another terminal device. .
そして、センサーデータの集約が可能であると判定したとき、他の端末装置からセンサーデータ等を受信した端末装置は、複数のセンサーデータを後述する方法によって集約する。 Then, when it is determined that the sensor data can be aggregated, the terminal device that has received the sensor data and the like from another terminal device aggregates the plurality of sensor data by a method described later.
端末装置1〜10の各々は、複数のセンサーデータを集約すると、その集約したセンサーデータ、位置情報および時間情報をサーバ用無線通信システムを用いてサーバ60へ送信する。
When the plurality of sensor data are aggregated, each of the
無線基地局20,30,40の各々は、ネットワーク50に接続される。無線基地局20,30,40は、相互に同じサーバ用無線通信システムによって無線通信を行ってもよく、相互に異なるサーバ用無線通信システムによって無線通信を行ってもよい。
Each of the
無線基地局20,30,40の各々は、サーバ用無線通信システムを用いて、端末装置(端末装置1〜10の少なくとも1つ)からセンサーデータ、位置情報および時間情報を受信し、その受信したセンサーデータ、位置情報および時間情報をネットワーク50を介してサーバ60へ送信する。
Each of the
サーバ60は、ネットワークを介して、センサーデータ、位置情報および時間情報を無線基地局(無線基地局20,30,40の少なくとも1つ)から受信し、その受信したセンサーデータ、位置情報および時間情報を保持する。
The
図2は、図1に示す端末装置1の概略図である。図2を参照して、端末装置1は、アンテナ11,12と、通信部13と、制御部14と、センサー15と、GPS(Global Positioning System)16と、ストレージ部17とを含む。
FIG. 2 is a schematic view of the
通信部13は、アンテナ11を介してHelloパケットを他の端末装置から受信し、その受信したHelloパケットを制御部14へ出力する。
The
通信部13は、端末装置1のアドレスおよびランクRkを含むHelloパケットを制御部14から受け、その受けたHelloパケットを近距離無線通信システムを用いてアンテナ11を介してブロードキャストする。
The
通信部13は、センサーデータ等を含むパケットPKT_1を制御部14から受け、その受けたパケットPKT_1を近距離無線通信システムを用いてアンテナ11を介して送信先の端末装置へ送信する。
The
通信部13は、近距離無線通信システムを用いてアンテナ11を介してパケットPKT_1を他の端末装置から受信し、その受信したパケットPKT_1を制御部14へ出力する。
The
通信部13は、集約したセンサーデータを含むパケットPKT_2を制御部14から受け、その受けたパケットPKT_2をサーバ用無線通信システムを用いてアンテナ12を介してサーバ60へ送信する。
The
制御部14は、タイマーを内蔵する。制御部14は、端末装置1のアドレス、および端末装置1に割り当てられたランクRkを保持する。
The
制御部14は、センサーデータを検出するタイミングになると、センサーデータを検出するようにセンサー15を制御するとともに、位置を検出するようにGPS16を制御する。
When it is time to detect sensor data, the
制御部14は、センサー15からセンサーデータを受け、GPSから端末装置1の位置を示す位置情報を受けると、センサーデータおよび位置情報を受けたときの時刻を検出する。そして、制御部14は、センサーデータ、位置情報、および時刻を示す時間情報を相互に対応付けてストレージ部17に格納する。
When the
制御部14は、通信部13からHelloパケットを受け、その受けたHelloパケットからアドレスおよびランクRkを検出する。そして、制御部14は、その検出したアドレスに基づいて、近距離無線通信システムを用いて端末装置1と無線通信可能な他の端末装置を検知する。これにより、制御部14は、端末装置1と遭遇した他の端末装置を検知する。
The
また、制御部14は、その検出したランクRkに基づいて、端末装置1で検出されたセンサーデータを他の端末装置へ送信すべきか否かを判定する。より具体的には、制御部14は、Helloパケットから検出したランクRkが、端末装置1のランクRkよりも大きいとき、端末装置1で検出したセンサーデータを他の端末装置へ送信すべきと判定する。一方、Helloパケットから検出したランクRkが、端末装置1のランクRk以下であるとき、制御部14は、端末装置1で検出したセンサーデータを他の端末装置へ送信すべきでないと判定する。
In addition, the
制御部14は、端末装置1で検出したセンサーデータを他の端末装置へ送信すべきと判定したとき、端末装置1のアドレスと、センサーデータ、位置情報および時間情報とを相互に対応付けたデータを生成するとともに、その生成したデータと送信先の端末装置のアドレスとを含むパケットPKT_1を生成し、その生成したパケットPKT_1を通信部13へ出力する。
When the
制御部14は、後述する方法によって、センサーデータをサーバ60へ送信すべきか否かを判定し、センサーデータをサーバ60へ送信すべきであると判定したとき、端末装置1で検出したセンサーデータおよび/または他の端末装置から受信したセンサーデータを後述する方法によって集約する。そして、制御部14は、その集約したセンサーデータを含むパケットPKT_2を生成し、その生成したパケットPKT_2を通信部13へ出力する。
The
センサー15は、制御部14からの制御に従ってセンサーデータを検出し、その検出したセンサーデータを制御部14へ出力する。
The
GPS16は、制御部14からの制御に従って端末装置1の位置を検出し、その検出した位置を示す位置情報を制御部14へ出力する。
The GPS 16 detects the position of the
ストレージ部17は、センサーデータ、位置情報および時間情報を相互に対応付けて記憶する。 The storage unit 17 stores sensor data, position information, and time information in association with one another.
なお、図1に示す端末装置2〜10の各々も、図2に示す端末装置1と同じ構成からなる。
Each of the
図3は、図1に示すサーバ60の概略図である。図3を参照して、サーバ60は、通信部61と、制御部62と、ストレージ部63とを含む。
FIG. 3 is a schematic view of the
通信部61は、無線基地局(無線基地局20,30,40の少なくとも1つ)およびネットワーク50を介して、端末装置1〜10で検出されたセンサーデータおよび/または集約されたセンサーデータ(集約センサーデータ)を受信し、その受信したセンサーデータおよび/または集約センサーデータを制御部62へ出力する。
The
制御部62は、通信部61からセンサーデータおよび/または集約センサーデータを受け、その受けたセンサーデータおよび/または集約センサーデータをストレージ部63に格納する。
The control unit 62 receives sensor data and / or aggregated sensor data from the
ストレージ部63は、制御部62から受けたセンサーデータおよび/または集約センサーデータを記憶する。
The
図4は、センサーデータの保存形式を示す概念図である。図4を参照して、センサーデータ名N_ri(iは、正の整数)、時間情報time(ri)、位置情報pos(ri)およびセンサーデータriは、相互に対応付けられる。 FIG. 4 is a conceptual view showing a storage format of sensor data. Referring to FIG. 4, sensor data name N_r i (i is a positive integer), the time information time (r i), the position information pos (r i) and sensor data r i are associated with each other.
時間情報time(ri)は、YYYY/MM/DD/HH/SSの形式によって表される。YYYYは、年を表し、MMは、月を表し、DDは、日を表し、HHは、時間を表し、SSは、分を表す。 The time information time (r i ) is represented by the format YYYY / MM / DD / HH / SS. YYYY represents a year, MM represents a month, DD represents a day, HH represents a hour, and SS represents a minute.
また、位置情報pos(ri)は、経度および緯度によって表される。 The position information pos (r i) is represented by longitude and latitude.
なお、センサーデータの形式は、何であってもよい。例えば、センサーデータは、温度のような単一のデータであってもよく、周波数帯ごとの信号強度のような表形式のデータであってもよい。 The format of the sensor data may be anything. For example, the sensor data may be single data such as temperature, or may be tabular data such as signal strength for each frequency band.
図5は、セルの概念図である。図5を参照して、センサーデータの検出対象となる空間全体(例えば、日本国の領域全体)を格子状に分割し、複数のセルc1,c2,・・・,cL(Lは、2以上の整数)を規定する。 FIG. 5 is a conceptual view of a cell. Referring to FIG. 5, the entire space to be detected sensor data (e.g., Japanese entire area) was divided in a grid pattern, a plurality of cells c 1, c 2, ···, c L (L is , And an integer of 2 or more).
複数のセルc1,c2,・・・,cLの各々は、例えば、矩形からなる。そして、各セルc1,c2,・・・,cLの重心の位置を、そのセルの「代表位置」と言う。 Each of the plurality of cells c 1 , c 2 ,..., C L is, for example, a rectangle. The position of the center of gravity of each cell c 1 , c 2 ,..., C L is referred to as the “representative position” of that cell.
図6は、タイムスロットの概念図である。図6を参照して、時間を一定間隔Tparで分割したタイムスロットt0,t1,・・・を規定する。一定間隔Tparは、例えば、100秒または5分である。そして、各タイムスロットt0,t1,・・・の中点の時刻を、そのタイムスロットの「代表時刻」と言う。 FIG. 6 is a conceptual view of time slots. Referring to FIG. 6, time slots t 0 , t 1 ,... In which time is divided by a constant interval T par are defined. The fixed interval T par is, for example, 100 seconds or 5 minutes. The time at the midpoint of each time slot t 0 , t 1 ,... Is referred to as the “representative time” of that time slot.
この発明の実施の形態においては、あるセルciと、あるタイムスロットtj(jは正の整数)との組(ci,tj)を「時空間ブロック」(または単に「ブロック」)と言う。 In the embodiment of the present invention, a pair (c i , t j ) of a cell c i and a certain time slot t j (j is a positive integer) is a “space-time block” (or simply “block”) Say.
そして、センサーデータrkが、セルciに対してpos(rk)∈ciであり、かつ、タイムスロットtjに対してtime(rk)∈tjであるとき、ブロック(ci,tj)を「rkが属するブロック」と呼び、blk(rk)と表記する。即ち、センサーデータrkの位置情報pos(rk)がセルciに含まれ、かつ、センサーデータrkの時間情報time(rk)がタイムスロットtjに含まれるとき、ブロック(ci,tj)を「rkが属するブロックblk(rk)」と呼ぶ。 Then, when sensor data r k is the pos (r k) ∈ C i to the cell c i, and a time (r k) ∈t j with respect to the time slot t j, block (c i , T j ) is called “the block to which r k belongs” and is written as blk (r k ). That is, when the position information pos sensor data r k (r k) is included in the cell c i, and the sensor data r k of time information time (r k) is included in time slot t j, block (c i , T j ) is called “the block blk (r k ) to which r k belongs”.
[センサーデータの信頼度]
センサーデータの信頼度について説明する。センサーデータriについて、ブロックbjにおける信頼度を与える関数を「信頼度関数」と言い、rel(ri,bj)と表記する。
[Reliability of sensor data]
The reliability of sensor data will be described. The sensor data r i, a function that gives the confidence in the block b j is referred to as a "reliability function", denoted rel (r i, b j) and.
図7は、センサーデータの信頼度関数を説明するための図である。図7を参照して、1つ1つの立方体は、ブロックを表す。信頼度関数は、センサーデータrkが属するブロックblk(rk)で値が最も大きくなり、ブロックblk(rk)から離れたブロックほど、”0”に近づく。そして、信頼度関数によって決定される信頼度は、0以上1以下の実数値からなる。 FIG. 7 is a diagram for explaining the reliability function of sensor data. Referring to FIG. 7, each cube represents a block. The reliability function has the largest value in the block blk (r k ) to which the sensor data r k belongs, and approaches “0” for blocks farther from the block blk (r k ). And the reliability determined by the reliability function consists of a real value of 0 or more and 1 or less.
図7においては、色の濃いブロックほど、信頼度が高いことを表し、色の薄いブロックほど、信頼度が低いことを表す。 In FIG. 7, darker blocks represent higher reliability, and lighter blocks represent lower reliability.
図7において、各ブロックは、セルciとタイムスロットtjとによって規定される(即ち、(ci,tj)によって規定される)ので、x−y平面に配置されるブロックは、セルciが異なるブロックであり、時間方向に配置されるブロックは、タイムスロットtjが異なるブロックである。 In FIG. 7, each block is defined by a cell c i and a time slot t j (ie, defined by (c i , t j )), so the blocks arranged in the xy plane are cells c i is the different blocks, blocks that are arranged in the time direction, the time slot t j are different block.
従って、同じセルciを有するブロックblk(ri)に対して、タイムスロットtjが異なるブロック(ci,tj−1)、(ci,tj)、(ci,tj+1)、・・・が規定される。 Therefore, for blocks blk (r i ) having the same cell c i , blocks (c i , t j -1 ), (c i , t j ), (c i , t j + 1 ) having different time slots t j , ... are defined.
図8は、信頼度関数の例を示す図である。図8を参照して、信頼度関数rel(ri,bj)は、d=0のとき、”1”になり、dが大きくなるに従って値が直線的に小さくなる。そして、信頼度関数rel(ri,bj)は、d≧cのとき、”0”となる。ここで、cは、パラメータである。 FIG. 8 is a diagram showing an example of the reliability function. Referring to FIG. 8, the reliability function rel (r i, b j), when the d = 0, "1" becomes a value that linearly decreases as d increases. Then, the reliability function rel (r i, b j), when the d ≧ c, becomes "0". Here, c is a parameter.
このように、信頼度関数rel(ri,bj)は、dが0≦d<cの範囲において、dが大きくなるに従って値が直線的に低下し、dがc以上になると、値が”0”になる。 Thus, the reliability function rel (r i, b j), in the range of d is 0 ≦ d <c, d is the value linearly decreases as the large and d is equal to or higher than c, the value It becomes "0".
そして、この発明の実施の形態においては、空間についての信頼度関数relspace(ri,bj)と、時間についての信頼度関数reltime(ri,bj)とを規定する。なお、この発明の実施の形態においては、信頼度関数relspace(ri,bj)によって決定される信頼度を「位置信頼度」と言い、信頼度関数reltime(ri,bj)によって決定される信頼度を「時間信頼度」と言う。 Then, in the embodiment of the present invention, the reliability function rel space (r i , b j ) for the space and the reliability function rel time (r i , b j ) for the time are defined. In the embodiments of the invention, said reliability function rel space (r i, b j ) reliability determined by the "position confidence", the reliability function rel time (r i, b j ) The reliability determined by is called "time reliability".
信頼度関数relspace(ri,bj)は、次式によって表される。 Reliability function rel space (r i, b j ) is expressed by the following equation.
式(1)において、c1は、パラメータであり、d1は、センサーデータriの位置pos(ri)と、ブロックbj(=(ci,tj))のセルciの代表位置とのユークリッド距離を表す。 In equation (1), c 1 is a parameter, and d 1 is a position pos (r i ) of sensor data r i and a representative of cell c i of block b j (= (c i , t j )) Represents the Euclidean distance to the position.
信頼度関数relspace(ri,bj)は、ユークリッド距離d1=0のとき、値が”1”となり、ユークリッド距離d1が長くなるに従って、値が直線的に小さくなる。そして、信頼度関数relspace(ri,bj)は、ユークリッド距離d1がc1以上になると、”0”になる。
Reliability function rel space (r i, b j ) , when the
ユークリッド距離d1=0であることは、センサーデータriが検出された位置と、センサーデータriが属するブロックbjの代表位置とが等しいことを表すので、信頼度関数relspace(ri,bj)は、値が最も大きくなる(即ち、値が”1”になる)。
It is the
また、信頼度関数reltime(ri,bj)は、次式によって表される。 Further, the reliability function rel time (r i, b j ) is expressed by the following equation.
式(2)において、c2は、パラメータであり、d2は、センサーデータriが検出された時間と、センサーデータriが属するブロックbj(=(ci,tj))のタイムスロットtjの代表時刻との差の絶対値を表す。 In the formula (2), c 2 is a parameter, d 2 is the time of the time at which sensor data r i is detected, the sensor data r i belongs blocks b j (= (c i, t j)) It represents the absolute value of the difference from the representative time of the slot t j .
信頼度関数reltime(ri,bj)は、絶対値d2=0のとき、”1”となり、絶対値d2が長くなるに従って、値が直線的に小さくなる。そして、信頼度関数relspace(ri,bj)は、絶対値d2がc2以上になると、”0”になる。
Reliability function rel time (r i, b j ) , when the
絶対値d2=0であることは、センサーデータriが検出された時間と、センサーデータriが属するブロックbj(=(ci,tj))のタイムスロットtjの代表時刻とが等しいことを表すので、信頼度関数reltime(ri,bj)は、値が最も大きくなる(即ち、値が”1”になる)。
It is an
そして、信頼度関数rel(ri,bj)は、次式によって表される。 Then, the reliability function rel (r i, b j) is expressed by the following equation.
式(3)において、αは、重み付け係数であり、0≦α≦1を満たす実数である。 In equation (3), α is a weighting coefficient and is a real number satisfying 0 ≦ α ≦ 1.
このように、信頼度関数rel(ri,bj)は、信頼度関数relspace(ri,bj)と、信頼度関数reltime(ri,bj)との重み付け和によって表される。 Thus, the reliability function rel (r i, b j) is the reliability function rel space (r i, b j ) and, expressed confidence function rel time (r i, b j ) by the weighted sum of Ru.
その結果、時間についての信頼度よりも空間についての信頼度を重み付けする場合は、αを0.5よりも大きい値に設定し、空間についての信頼度よりも時間についての信頼度を重み付けする場合は、αを0.5よりも小さい値に設定し、空間についての信頼度および時間についての信頼度を同等に重み付けする場合は、αを0.5に設定する。 As a result, when weighting the reliability of space more than the reliability of time, setting α to a value larger than 0.5 and weighting the reliability of time more than the reliability of space Sets α to a value smaller than 0.5, and sets α to 0.5 when equally weighting the space reliability and the time reliability.
また、パラメータc1,c2は、センサーデータriの種類に応じて変えてもよい。
The
なお、上記においては、信頼度関数relspace(ri,bj)は、ユークリッド距離d1が大きくなるに従って値が直線的に小さくなり、信頼度関数reltime(ri,bj)は、絶対値d2が大きくなるに従って値が直線的に小さくなると説明したが、この発明の実施の形態においては、これに限らず、信頼度関数relspace(ri,bj)は、ユークリッド距離d1が大きくなるに従って値が小さくなるものであれば、どのような関数であってもよく、信頼度関数reltime(ri,bj)は、絶対値d2が大きくなるに従って値が小さくなるものであれば、どのような関数であってもよい。 In the above, the reliability function rel space (r i, b j ) , the value according to the Euclidean distance d 1 is larger linearly decreases, the reliability function rel time (r i, b j ) is Although it has been described that the value linearly decreases as the absolute value d 2 increases, the embodiment of the present invention is not limited to this, and the reliability function rel space (r i , b j ) is the Euclidean distance d as long as 1 the value according to increases becomes smaller, may be any function, the reliability function rel time (r i, b j ) , the value becomes smaller as the absolute value d 2 is greater As long as it is a thing, it may be any function.
図9は、センサーデータの有効範囲を詳細に説明するための図である。図9を参照して、端末装置(端末装置1〜10のいずれか)が、自己が存在するセルc0でセンサーデータriを検出すると、円CIR内に存在する各セル(セルc0以外のセル)において、riが一定の信頼度で各セル(セルc0以外のセル)でのセンサーデータの値の推定値を与えるものとみなす。 FIG. 9 is a diagram for describing the effective range of sensor data in detail. Referring to FIG. 9, (either the terminal apparatus 10) terminal device detects sensor data r i in cell c 0 by itself exists, other than the cell (cell c 0 present in the circle CIR In cell c), let r i be assumed to give an estimate of the value of the sensor data in each cell (cell other than cell c 0 ) with a certain degree of confidence.
そして、セルc0で検出されたセンサーデータriの位置および時間がそれぞれ位置情報pos(ri)および時間情報time(ri)によって表されるとき、円CIR内のセルc0以外のセルにおいて推定されたセンサーデータriの位置および時間も、それぞれ、位置情報pos(ri)および時間情報time(ri)によって表されると推定される。円CIRの領域は、信頼度が”0”よりも大きい領域である。従って、円CIRは、上述したc1を半径とする円である。 Then, when the position and time of sensor data r i detected in cell c 0 is represented by a respective position information pos (r i) and time information time (r i), other than the cell c 0 in a circle CIR cell It is estimated that the position and time of the sensor data r i estimated in step are also represented by position information pos (r i ) and time information time (r i ), respectively. The area of the circle CIR is an area whose reliability is greater than "0". Therefore, the circle CIR is a circle whose radius is c 1 described above.
図9においては、x−y平面におけるセルを表しているが、セルは、時間方向にも広がっているので、実際には、信頼度が”0”よりも大きい範囲からなる球体内の各セルにおけるセンサーデータriがサーバ60へのアップロードの候補となる。
Although FIG. 9 shows cells in the xy plane, since the cells also extend in the time direction, in fact, each cell in a sphere whose range of reliability is larger than “0” The sensor data r i at is a candidate for uploading to the
図10は、センサーデータriが存在するブロックを示す図である。なお、図10は、ある端末装置において、同じタイムスロットにおいて検出されたセンサーデータr0〜r5が存在するブロックを示す。 Figure 10 is a diagram showing a block of sensor data r i exists. FIG. 10 shows a block in which sensor data r 0 to r 5 detected in the same time slot exist in a certain terminal device.
図10を参照して、センサーデータr0〜r5は、それぞれ、ブロックblk(r0)〜blk(r5)に属している。
Referring to FIG. 10,
図11および図12は、センサーデータが属するブロックの信頼度を示す図である。なお、図11の(a)は、図10に示すブロックblk(r0)に属するセンサーデータr0に関する信頼度を計算するための図を示し、図11の(b)は、図10に示すブロックblk(r2)に属するセンサーデータr2に関する信頼度を計算するための図を示し、図11の(c)は、図10に示すブロックblk(r4)に属するセンサーデータr4に関する信頼度を計算するための図を示す。そして、図11においては、簡単のために、時間方向で隣接するブロックの信頼度を”0”と見做している。 11 and 12 show the reliability of the block to which the sensor data belongs. Note that FIG. 11A shows a diagram for calculating the reliability of the sensor data r 0 belonging to the block blk (r 0 ) shown in FIG. 10, and FIG. FIG. 11C is a diagram for calculating the reliability of the sensor data r 2 belonging to the block blk (r 2 ), and FIG. 11C shows the reliance on the sensor data r 4 belonging to the block blk (r 4 ) shown in FIG. Fig. 6 shows a diagram for calculating the degree. Then, in FIG. 11, for the sake of simplicity, the reliability of the block adjacent in the time direction is regarded as "0".
簡単のために、信頼度の計算を次のように行うものとする。 For the sake of simplicity, it is assumed that the reliability calculation is performed as follows.
(1)センサーデータが属するブロックの信頼度を”1”とする。 (1) The reliability of the block to which the sensor data belongs is set to "1".
(2)センサーデータが属するブロックを中心として上下左右でセルが隣接するブロックの信頼度を”0.5”とする。 (2) The reliability of a block in which cells are adjacent vertically and horizontally around the block to which sensor data belongs is set to "0.5".
(3)上記以外のブロックの信頼度を”0”とする。 (3) The reliability of blocks other than the above is set to "0".
その結果、ブロックblk(r0)に属するセンサーデータr0に関する信頼度の計算結果は、図11の(a)に示すようになる。また、ブロックblk(r2)に属するセンサーデータr2に関する信頼度の計算結果は、図11の(b)に示すようになる。更に、ブロックblk(r4)に属するセンサーデータr4に関する信頼度の計算結果は、図11の(c)に示すようになる。 As a result, the calculation result of the reliability of the sensor data r 0 belonging to the block blk (r 0 ) is as shown in FIG. Further, the calculation result of the reliability regarding the sensor data r 2 belonging to the block blk (r 2 ) is as shown in (b) of FIG. Furthermore, the calculation result of the reliability of the sensor data r 4 belonging to the block blk (r 4 ) is as shown in (c) of FIG.
図12の(a)は、図10に示すブロックblk(r3)に属するセンサーデータr3に関する信頼度を計算するための図を示し、図12の(b)は、図10に示すブロックblk(r1)に属するセンサーデータr1に関する信頼度を計算するための図を示し、図12の(c)は、図10に示すブロックblk(r5)に属するセンサーデータr5に関する信頼度を計算するための図を示す。 (A) of FIG. 12 shows a diagram for calculating a reliability related to sensor data r 3 belonging to the block blk (r 3) shown in FIG. 10, (b) in FIG. 12, block blk shown in FIG. 10 FIG. 12 shows a diagram for calculating the reliability of sensor data r 1 belonging to (r 1 ), and FIG. 12C shows the reliability of sensor data r 5 belonging to block blk (r 5 ) shown in FIG. The figure for calculating is shown.
上記(1)〜(3)に従って信頼度を計算すると、ブロックblk(r3)に属するセンサーデータr3に関する信頼度の計算結果は、図12の(a)に示すようになる。また、ブロックblk(r1)に属するセンサーデータr1に関する信頼度の計算結果は、図12の(b)に示すようになる。更に、ブロックblk(r5)に属するセンサーデータr5に関する信頼度の計算結果は、図12の(c)に示すようになる。 When calculating the reliability according to the above (1) to (3), the calculation result of the reliability relating to sensor data r 3 belonging to the block blk (r 3) is as shown in FIG. 12 (a). The calculation result of the reliability of the sensor data r 1 belonging to the block blk (r 1 ) is as shown in (b) of FIG. Further, the calculation result of the reliability relating to sensor data r 5 belonging to the block blk (r 5) is as shown in FIG. 12 (c).
図13は、信頼度の計算結果を集計した集計結果を示す図である。図13を参照して、ブロックblk(r0)に属するセンサーデータr0の信頼度は、図11の(a)〜(c)および図12の(a)〜(c)に示すブロックblk(r0)に記載された信頼度の値を合計すると、1+0.5+0.5+0+0+0=2.0となる。 FIG. 13 is a diagram showing a tally result obtained by tallying the calculation result of the reliability. Referring to FIG. 13, the reliability of sensor data r 0 belonging to block blk (r 0 ) is the block blk shown in (a) to (c) of FIG. 11 and (a) to (c) of FIG. The sum of the reliability values described in r 0 ) yields 1 + 0.5 + 0.5 + 0 + 0 + 0 = 2.0.
同様にして、全てのブロックに属するセンサーデータの信頼度の値を合計すると、図13に示すようになる。 Similarly, the sum of the reliability values of sensor data belonging to all blocks is as shown in FIG.
ここで、集約処理候補ブロック集合をBとし、ブロックbjの集約対象センサーデータ集合をD(bj)とし、ブロックbjの信頼度をR(bj)とし、信頼度のしきい値をRthreshとし、最大アップロードデータ数をUmaxとする。 Here, the aggregation processing candidate block set is B, the aggregation target sensor data set of block b j is D (b j ), the reliability of block b j is R (b j ), and the threshold value of reliability is Let R thresh and let U max be the maximum upload data number.
集約処理候補ブロック集合Bは、集約処理を行う候補となるブロックの集合である。集約対象センサーデータ集合D(bj)は、ブロックbjについての集約処理を行うためのセンサーデータの集合である。信頼度R(bj)は、ブロックbjの集約後のセンサーデータをサーバ60へアップロードするか否かを決定するための数値である。しきい値Rthreshは、ブロックbjの信頼度R(bj)がしきい値Rthresh以上であれば、ブロックbjの集約後のセンサーデータをサーバ60へアップロードすることを決定するための基準値である。最大アップロードデータ数Umaxは、各端末装置1〜10がセンサーデータriをサーバ60へアップロードする際に、超えてはならないセンサーデータ数である。
The aggregation process candidate block set B is a set of blocks to be candidates for the aggregation process. The aggregation target sensor data set D (b j ) is a set of sensor data for performing the aggregation process on the block b j . The reliability R (b j ) is a numerical value for determining whether or not the sensor data after aggregation of the block b j is to be uploaded to the
図13に示すように、各ブロックに属するセンサーデータriの信頼度の合計値(即ち、ブロックの信頼度R(bj))を求めると、しきい値Rthresh以上の信頼度R(bj)を有するブロックの集約後のセンサーデータriをサーバ60へアップロードすると決定する。
As shown in FIG. 13, the total value of the reliability of the sensor data r i belonging to each block (i.e., the reliability of the block R (b j)) when obtaining the threshold R thresh more reliability R (b sensor data r i after aggregation block having a j) determines to upload to the
しきい値Rthreshを、例えば、2.0とすると、図13に示す場合、ブロックblk(r0),blk(r2),blk(r3),blk(r4)の集約後のセンサーデータをサーバ60へアップロードすると決定する。
Assuming that the threshold value R thresh is, for example, 2.0, in the case shown in FIG. 13, the sensor after aggregation of the blocks blk (r 0 ), blk (r 2 ), blk (r 3 ), blk (r 4 ) It is decided to upload data to the
ブロックblk(r0)の信頼度R(blk(r0))(=2.0)は、センサーデータr0に基づく信頼度(=1)と、センサーデータr2に基づく信頼度(=0.5)と、センサーデータr4に基づく信頼度(=0.5)との合計値であるので、集約対象センサーデータ集合D(blk(r0))は、D(blk(r0))={r0,r2,r4}となる。 The reliability R (blk (r 0 )) (= 2.0) of the block blk (r 0 ) is the reliability (= 1) based on the sensor data r 0 and the reliability (= 0 ) based on the sensor data r 2 .5) and the reliability (= 0.5) based on the sensor data r 4 , the aggregation target sensor data set D (blk (r 0 )) is D (blk (r 0 )) = {R 0 , r 2 , r 4 }.
また、ブロックblk(r2)の信頼度R(blk(r2))(=2.0)は、センサーデータr2に基づく信頼度(=1)と、センサーデータr0に基づく信頼度(=0.5)と、センサーデータr3に基づく信頼度(=0.5)との合計値であるので、集約対象センサーデータ集合D(blk(r2))は、D(blk(r2))={r0,r2,r3}となる。 Also, the reliability R (blk (r 2 )) (= 2.0) of the block blk (r 2 ) is the reliability (= 1) based on the sensor data r 2 and the reliability (based on the sensor data r 0 ) = 0.5), (since the sum of the = 0.5), the aggregation target sensor data set D (blk (r 2) reliability based on sensor data r 3) is, D (blk (r 2 )) = a {r 0, r 2, r 3}.
更に、ブロックblk(r3)の信頼度R(blk(r3))(=2.5)は、センサーデータr3に基づく信頼度(=1)と、センサーデータr2に基づく信頼度(=0.5)と、センサーデータr4に基づく信頼度(=0.5)と、センサーデータr1に基づく信頼度(=0.5)との合計値であるので、集約対象センサーデータ集合D(blk(r3))は、D(blk(r3))={r1,r2,r3,r4}となる。
Furthermore, the reliability R (blk (r 3 )) (= 2.5) of the block blk (r 3 ) is the reliability (= 1) based on the sensor data r 3 and the reliability (based on the sensor data r 2 ) = 0.5), the reliability based on the sensor data r 4 and (= 0.5) are the sum of the confidence level based on the sensor data r 1 (= 0.5), the aggregation target sensor data set D (blk (r 3)) becomes D (blk (r 3)) = {
更に、ブロックblk(r4)の信頼度R(blk(r4))(=2.5)は、センサーデータr4に基づく信頼度(=1)と、センサーデータr0に基づく信頼度(=0.5)と、センサーデータr3に基づく信頼度(=0.5)と、センサーデータr5に基づく信頼度(=0.5)との合計値であるので、集約対象センサーデータ集合D(blk(r4))は、D(blk(r3))={r0,r3,r4,r5}となる。 Furthermore, the reliability R (blk (r 4 )) (= 2.5) of the block blk (r 4 ) is the reliability (= 1) based on the sensor data r 4 and the reliability (based on the sensor data r 0 ) = 0.5), the reliability based on the sensor data r 3 and (= 0.5) are the sum of the confidence level based on the sensor data r 5 (= 0.5), the aggregation target sensor data set D (blk (r 4 )) becomes D (blk (r 3 )) = {r 0 , r 3 , r 4 , r 5 }.
センサーデータの集約について説明する。センサーデータを集約する集約処理には、2つの方式がある。 Describe aggregation of sensor data. There are two methods of aggregation processing for aggregating sensor data.
(方式1)
方式1は、信頼度がしきい値Rthresh以上であれば、必ず、センサーデータriを収集したいという場合に使用される。
(Method 1)
(方式2)
方式2は、信頼度ができるだけ高いセンサーデータriを収集したいが、サーバ60へアップロードされるセンサーデータriの数は、最大アップロードデータ数Umax以下に抑えたいという場合に使用される。
(Method 2)
そして、方式1,2のうち、いずれを用いるかは、システムの運用者が決定する。
Then, the operator of the system decides which of the
図14は、センサーデータriの集約方法の例を示す図である。図14を参照して、最大値を取ることによって2つのセンサーデータr1,r2を集約する場合、集約後の集約センサーデータは、タイムスロットtjと、セルcjと、33.1の値とからなる。 Figure 14 is a diagram showing an example of a grouping method sensor data r i. Referring to FIG. 14, in the case of aggregating two sensor data r 1 and r 2 by taking the maximum value, the aggregated sensor data after aggregation are time slot t j , cell c j and 33.1. Consists of a value.
これによって、2つのセンサーデータr1,r2は、1つのセンサーデータに集約される。
Thus, the two
なお、センサーデータriを集約する方法は、最大値を取ることに限らず、最小値を取ること、平均値を取ること、および中央値を取ること等であってもよい。 The method for aggregating sensor data r i is not limited to taking the maximum value, taking the minimum value, taking the average value, and may be that like taking the median value.
上述したように、集約対象センサーデータ集合D(blk(r0))={r0,r2,r4}、集約対象センサーデータ集合D(blk(r2))={r0,r2,r3}、集約対象センサーデータ集合D(blk(r3))={r1,r2,r3,r4}および集約対象センサーデータ集合D(blk(r4))={r0,r3,r4,r5}を求めると、集約対象センサーデータ集合D(blk(r0)),D(blk(r2)),D(blk(r3)),D(blk(r4))の各々に含まれる複数のセンサーデータriを、上述した集約方法によって集約する。そして、集約した集約センサーデータriをサーバ60へアップロードする。
As described above, aggregation target sensor data set D (blk (r 0 )) = {r 0 , r 2 , r 4 }, aggregation target sensor data set D (blk (r 2 )) = {r 0 , r 2 , R 3 }, aggregation target sensor data set D (blk (r 3 )) = {r 1 , r 2 , r 3 , r 4 } and aggregation target sensor data set D (blk (r 4 )) = {r 0 , R 3 , r 4 , r 5 }, the aggregation target sensor data set D (blk (r 0 )), D (blk (r 2 )), D (blk (r 3 )), D (blk ( a plurality of sensor data r i included in each of r 4)), is aggregated by aggregation method described above. Then, the aggregated sensor data r i aggregated is uploaded to the
端末装置1〜10の各々は、上述した方法によって、各センサーデータriの信頼度に基づいてブロックbjの信頼度R(bj)を求め、しきい値Rthresh以上の信頼度R(bj)を有するブロックのセンサーデータ集合D(bj)を集約してサーバ60へアップロードする。
Each of the
なお、上記においては、同じタイムスロットtjの異なるセルciにおいて検出されたセンサーデータriの信頼度に基づいてブロックbjの信頼度R(bj)を求め、しきい値Rthresh以上の信頼度R(bj)を有するブロックのセンサーデータ集合D(bj)を集約してサーバ60へアップロードする場合について説明したが、実際には、異なるセルおよび/または異なるタイムスロットにおいて検出された各センサーデータriの信頼度に基づいてブロックbjの信頼度R(bj)を求め、その求めた信頼度R(bj)がしきい値Rthresh以上であれば、集約対象センサーデータ集合Dに含まれる複数のセンサーデータを上述した方法によって集約し、その集約したセンサーデータriをサーバ60へアップロードする。
In the above, the reliability R (b j ) of the block b j is obtained based on the reliability of the sensor data r i detected in different cells c i of the same time slot t j , and the threshold R thresh or more is obtained. In the above description, the sensor data set D (b j ) of blocks having the reliability R (b j ) of 1 is aggregated and uploaded to the
なお、上記においては、ブロックbjの信頼度は、上記(1)〜(3)に従って決定されると説明したが、実際には、式(1)〜式(3)によって決定される。この場合、斜め方向に隣接するブロック間でも、センサーデータriに基づいて式(1)〜式(3)によって信頼度を決定してもよい。 Although the reliability of the block b j has been described above as being determined according to the above (1) to (3), it is actually determined by the equations (1) to (3). In this case, even between blocks adjacent in a diagonal direction, it may determine the reliability by on the basis of the sensor data r i Equation (1) to (3).
また、上記においては、信頼度R(bj)がしきい値Rthresh以上であるブロックbjの集約対象センサーデータ集合D(bj)に含まれるセンサーデータriが複数である場合、端末装置1〜10の各々は、複数のセンサーデータriを集約してサーバ60へアップロードすることを説明したが、信頼度R(bj)がしきい値Rthresh以上であるブロックbjの集約対象センサーデータ集合D(bj)に含まれるセンサーデータriが1個である場合、端末装置1〜10の各々は、センサーデータriを集約せずにサーバ60へアップロードする。
In the above, if the sensor data r i the reliability R (b j) is included in the aggregation target sensor data set D of blocks b j is the threshold value R thresh or (b j) is plural, terminals each
[端末間通信]
図15は、端末間通信の種類を示す図である。この発明の実施の形態においては、2つの端末装置が相互に相手のアドレスを検知し、2つの端末装置が近距離無線通信システムを用いて相互に自己のセンサーデータを相手方の端末装置へ送受信することを「端末間通信」と言う。
[Terminal communication]
FIG. 15 is a diagram showing the type of inter-terminal communication. In the embodiment of the present invention, two terminal devices mutually detect the address of the other party, and the two terminal devices mutually transmit and receive their own sensor data to the other party's terminal device using the short distance wireless communication system. This is called "inter-terminal communication".
図15の(a)を参照して、端末装置p,qは、相互に無線通信を直接行い、相手の端末装置を検知する。そして、端末装置p,qは、センサーデータを相互に直接送受信する。 Referring to (a) of FIG. 15, the terminal devices p and q directly perform wireless communication with each other to detect the other terminal device. Then, the terminal devices p and q directly transmit and receive sensor data to each other.
図15の(b)を参照して、端末装置p,qは、無線基地局APを介して相互に相手の端末装置を検知する。そして、端末装置p,qは、無線基地局APを介さずに、センサーデータを相互に直接送受信する。 Referring to (b) of FIG. 15, the terminal devices p and q mutually detect the other terminal device via the wireless base station AP. Then, the terminal devices p and q directly transmit and receive sensor data mutually without passing through the radio base station AP.
図15の(c)を参照して、端末装置p,qは、無線基地局APを介して相互に相手の端末装置を検知する。そして、端末装置p,qは、無線基地局APを介して、センサーデータを相互に送受信する。即ち、端末装置p,qは、無線基地局APを介して、相互に相手の端末装置を検知するとともにセンサーデータを相互に送受信する。 Referring to (c) of FIG. 15, the terminal devices p and q mutually detect the other terminal device via the wireless base station AP. Then, the terminal devices p and q mutually transmit and receive sensor data via the wireless base station AP. That is, the terminal devices p and q mutually detect the other terminal device and mutually transmit and receive sensor data via the radio base station AP.
このように、この発明の実施の形態における「端末間通信」は、図15に示す3つの方式を含む。 Thus, the "terminal-to-terminal communication" in the embodiment of the present invention includes the three systems shown in FIG.
[ランクの割当]
次に、ランクRkの割当方法について説明する。
Assign rank
Next, the method of assigning the rank Rk will be described.
端末装置の無線インターフェースの物理アドレス(例えば、MACアドレス)を整数値に変換してランクRkとする。例えば、“12:34:56:78:9a:bc”を“20015998343868”に変換し、“20015998343868”をランクRkとして端末装置に割り当てる。 The physical address (for example, the MAC address) of the wireless interface of the terminal device is converted into an integer value to obtain a rank Rk. For example, “12: 34: 56: 78: 9 a: bc” is converted to “20015998343868”, and “20015998343868” is assigned to the terminal apparatus as a rank Rk.
ランクRkの割当方法は、この割当方法以外であってもよく、一般的には、端末装置1〜10に割り当てられたランクRkを相互に識別できるように割り当てる方法であれば、どのような割当方法であってもよい。
The allocation method of rank Rk may be other than this allocation method, and in general, any allocation as long as ranks Rk allocated to
なお、ランクRkは、必ずしも数値である必要はなく、概念的には、「半順序集合」の要素であればよい。「半順序集合」とは、その集合に属する2つの要素間に順序が定まったものと、順序が定まっていないものとが存在する集合を言う。 Note that the rank Rk does not necessarily have to be a numerical value, and conceptually, it may be an element of the “half-order set”. The "semi-ordered set" refers to a set in which two elements belonging to the set have a fixed order and one having an unordered order.
[センサーデータのセンシングのタイミング]
センサーデータのセンシングのタイミングとしては、例えば、予め定められた周期(例えば、10分に1回、1時間に1回、および1日に1回等)であり、センサーデータの種類に応じて決定されたタイミング等が想定される。
[Sensing timing of sensor data]
The timing of sensing sensor data is, for example, a predetermined cycle (for example, once every 10 minutes, once an hour, once a day, etc.), and is determined according to the type of sensor data. Timing etc. are assumed.
図16は、端末間通信の概念図である。図16を参照して、端末装置pは、ランクRk=2を保持している。そして、端末装置pは、あるセルciおよびあるタイムスロットtjにおいてセンサーデータriを検出する。また、端末装置qは、ランクRk=3を保持している。そして、端末装置qは、あるセルci+1およびあるタイムスロットtj+1においてセンサーデータri+1を検出する。 FIG. 16 is a conceptual diagram of communication between terminals. Referring to FIG. 16, terminal device p holds rank Rk = 2. Then, the terminal apparatus p detects sensor data r i in a given cell c i and a time slot t j. Also, the terminal device q holds the rank Rk = 3. The terminal device q detects sensor data r i + 1 in a cell c i + 1 and a time slot t j + 1.
その後、端末装置p,qは、領域REG1内へ移動し、相手の端末装置からHelloパケットを受信する。そして、端末装置pは、端末装置qから受信したHelloパケットから端末装置qのアドレスAdd_qとランクRk=3とを検出する。また、端末装置qは、端末装置pから受信したHelloパケットから端末装置pのアドレスAdd_pとランクRk=2とを検出する。 Thereafter, the terminal devices p and q move into the area REG1, and receive the Hello packet from the other terminal device. Then, the terminal device p detects the address Add_q of the terminal device q and the rank Rk = 3 from the Hello packet received from the terminal device q. The terminal device q also detects the address Add_p of the terminal device p and the rank Rk = 2 from the Hello packet received from the terminal device p.
その後、端末装置pは、自己が検出したセンサーデータriを端末装置qへ送信し、端末装置qは、センサーデータriを受信する。また、端末装置qは、自己が検出したセンサーデータri+1を端末装置pへ送信し、端末装置pは、センサーデータri+1を受信する。 Thereafter, the terminal apparatus p transmits sensor data r i itself are detected to the terminal device q, terminal q receives the sensor data r i. Also, the terminal device q transmits the sensor data ri + 1 detected by itself to the terminal device p, and the terminal device p receives the sensor data ri + 1 .
これによって、端末装置p,qの各々は、センサーデータri,ri+1を保持する。そして、端末装置pは、各ブロックbjにおける信頼度R(bj)を、センサーデータriとセンサーデータri+1とから求める。 By this, each of the terminal devices p and q holds the sensor data r i and r i + 1 . Then, the terminal device p obtains the reliability R (b j ) in each block b j from the sensor data r i and the sensor data r i +1 .
そうすると、端末装置pは、各ブロックbjにおける信頼度R(bj)がしきい値Rthresh以上であるか否かを判定し、信頼度R(bj)がしきい値Rthresh以上であると判定したとき、センサーデータriとセンサーデータri+1とを上述した方法によって集約し、その集約したセンサーデータをサーバ60へアップロードする。
Then, the terminal device p determines whether the reliability R (b j ) in each block b j is equal to or higher than the threshold R thresh , and the reliability R (b j ) is equal to or higher than the threshold R thresh . when it is determined that the sensor data r i and the sensor data r i + 1 aggregates by the method described above, to upload sensor data that aggregate to the
なお、信頼度R(bj)がしきい値Rthreshよりも小さいと判定されたとき、端末装置pは、センサーデータriとセンサーデータri+1とを集約したセンサーデータをサーバ60へアップロードすることを停止する。
Incidentally, when the reliability R (b j) is determined to be smaller than the threshold value R thresh, terminal p uploads sensor data aggregated sensor data r i and the sensor data r i + 1 to the
端末装置qも、端末装置pと同じ方法によって、センサーデータriとセンサーデータri+1とを集約してサーバ60へアップロードし、またはセンサーデータri,ri+1を集約したセンサーデータをサーバ60へアップロードすることを停止する。
Terminal q may, in the same manner as the terminal device p, uploaded to the
端末装置pが求めた信頼度R(bj)と、端末装置qが求めた信頼度R(bj)との両方がしきい値Rthresh以上である場合、センサーデータri,ri+1は、端末装置p,qの両方によって集約されてサーバ60へアップロードされるが、端末装置pが求めた信頼度R(bj)と、端末装置qが求めた信頼度R(bj)との一方のみがしきい値Rthresh以上である場合、センサーデータri,ri+1は、端末装置p,qの一方のみによってサーバ60へアップロードされる。従って、ネットワーク50に与える負荷を低減できる。
A terminal p is calculated reliability R (b j), if both the reliability R of the terminal device q is calculated (b j) is the threshold value R thresh above, sensor data r i, r i + 1 is , terminal p, but are aggregated by both q is uploaded to the
センサーデータri,ri+1を保持する端末装置p,qは、次の方法によってセンサーデータri,ri+1をサーバ60へアップロードしてもよい。
Terminal p, q for holding the sensor data r i, the r i + 1, the sensor data r i by the following methods may upload r i + 1 to the
即ち、端末装置p,qのうち、最も高いランクRkを有する端末装置(端末装置p,qのいずれか)がセンサーデータri,ri+1をサーバ60へアップロードする。
That is, among the terminal devices p and q, the terminal device (one of the terminal devices p and q) having the highest rank Rk uploads the sensor data r i and r i + 1 to the
この場合、端末装置pは、端末装置qから受信したランクRk=3が自己のランクRk=2よりも高いので、端末装置qとの遭遇時に自己が検出したセンサーデータriを端末装置qへ送信し、自己が保持するセンサーデータriを削除し、サーバ60へのアップロードを停止する。一方、端末装置qは、端末装置pから受信したランクRk=2よりも自己のランクRk=3が高いので、端末装置pとの遭遇時に自己が検出したセンサーデータri+1を端末装置pへ送信することを抑制し、その後、端末装置pから受信したセンサーデータriとセンサーデータri+1とを集約してサーバ60へアップロードする。これによって、ネットワーク50に与える負荷を低減できる。
In this case, the terminal device p, since rank Rk = 3 received from the terminal device q is higher than its own rank Rk = 2, the sensor data r i itself are detected when encountering the terminal device q to the terminal device q send and delete the sensor data r i by itself to hold, to stop the upload to the
なお、領域REG1内で端末間通信を行う端末装置は、2個に限らず、3個以上であってもよい。この場合、3個以上の端末装置は、自己が検出したセンサーデータriを相互に送受信し、その送受信したセンサーデータから各ブロックの信頼度R(bj)を求め、信頼度R(bj)がしきい値Rthresh以上であるブロックについて、センサーデータriを集約してサーバ60へアップロードする。そして、3個以上の端末装置のうち、最大のランクRkを有する端末装置のみがセンサーデータriを集約してサーバ60へアップロードしてもよい。
The number of terminal devices performing inter-terminal communication in the region REG1 is not limited to two, and may be three or more. In this case, three or more terminal devices, self send and receive each other sensor data r i detected, obtains the reliability R (b j) of each block from the transmitted and received sensor data, the reliability R (b j The sensor data r i is aggregated and uploaded to the
図17は、端末装置p,qおよびサーバ60の動作を説明するためのフローチャートを示す図である。なお、端末装置pは、端末装置1〜10のいずれかであり、端末装置qは、端末装置1〜10のうち、端末装置pと異なる端末装置である。
FIG. 17 is a flowchart for explaining the operations of the terminal devices p and q and the
図17を参照して、端末装置pのセンサー15は、定期的にセンサーデータrpをセンシングし(ステップS1〜S3)、そのセンシングしたセンサーデータrpを制御部14へ出力する。
Referring to FIG. 17,
制御部14は、センサーデータrpをセンサー15から受けると、タイマーに基づいて、センサーデータrpを受けたときの時刻を検出し、その検出した時刻を示す時間情報time(rp)を生成する。また、制御部14は、センサーデータrpを受けたときの位置情報pos(rp)をGPS16から受ける。そして、制御部14は、センサーデータrp、時間情報time(rp)および位置情報pos(rp)を相互に対応付けてストレージ部17に記憶する。
When receiving the sensor data r p from the
一方、端末装置qのセンサー15も、定期的にセンサーデータrqをセンシングし(ステップS4〜S6)、そのセンシングしたセンサーデータrqを制御部14へ出力する。そして、端末装置qの制御部14は、端末装置pの制御部14と同じ方法によって、センサーデータrq、時間情報time(rq)および位置情報pos(rq)を相互に対応付けてストレージ部17に記憶する。
Meanwhile, the
そして、端末装置p,qは、相互に相手端末を検知し、端末間通信を行う(ステップS7,S8)。 Then, the terminal devices p and q mutually detect the other terminal and perform inter-terminal communication (steps S7 and S8).
その後、端末装置pのセンサー15は、センサーデータrpをセンシングし(ステップS9)、そのセンシングしたセンサーデータrpを制御部14へ出力する。端末装置pの制御部14は、上述した方法によって、センサーデータrp、時間情報time(rp)および位置情報pos(rp)を相互に対応付けてストレージ部17に記憶する。
Thereafter, the
そして、端末装置pの制御部14は、ストレージ部17に格納されたセンサーデータrpを集約し、その集約したセンサーデータrpを通信部13へ出力し、通信部13は、集約したセンサーデータrpをアンテナ12を介してサーバ60へアップロードする(ステップS10)。
Then, the
一方、端末装置qのセンサー15は、ステップS8の後、センサーデータrqをセンシングし(ステップS11)、そのセンシングしたセンサーデータrqを制御部14へ出力する。端末装置qの制御部14は、上述した方法によって、センサーデータrq、時間情報time(rq)および位置情報pos(rq)を相互に対応付けてストレージ部17に記憶する。
On the other hand, after step S8, the
そして、端末装置qの制御部14は、ストレージ部17に格納されたセンサーデータrqを集約し、その集約したセンサーデータrqを通信部13へ出力し、通信部13は、集約したセンサーデータrqをアンテナ12を介してサーバ60へアップロードする(ステップS12)。
Then, the
サーバ60の通信部61は、端末装置qからのセンサーデータrqを受信するとともに(ステップS13)、端末装置pからのセンサーデータrpを受信する(ステップS14)。そして、サーバ60の通信部61は、その受信したセンサーデータrp,rqを制御部62へ出力し、制御部62は、通信部61から受けたセンサーデータrp,rqをストレージ部63に格納する。
The
端末装置pのセンサー15は、ステップS10の後、センサーデータrpをセンシングし(ステップS15)、そのセンシングしたセンサーデータrpを制御部14へ出力する。端末装置pの制御部14は、上述した方法によって、センサーデータrp、時間情報time(rp)および位置情報pos(rp)を相互に対応付けてストレージ部17に記憶する。
After step S10, the
また、端末装置qのセンサー15は、ステップS12の後、センサーデータrqをセンシングし(ステップS16)、そのセンシングしたセンサーデータrqを制御部14へ出力する。端末装置qの制御部14は、上述した方法によって、センサーデータrq、時間情報time(rq)および位置情報pos(rq)を相互に対応付けてストレージ部17に記憶する。
In addition, after step S12, the
端末装置p,qおよびサーバ60は、上述した動作を繰り返し実行する。
The terminal devices p and q and the
これによって、端末装置p,qの各々は、センシングしたセンサーデータを集約してサーバ60へアップロードする(つまり、センシングしたセンサーデータの一部をサーバ60へアップロードする)ので、ネットワーク50に与える負荷を低減できる。
As a result, each of the terminal devices p and q aggregates the sensed sensor data and uploads it to the server 60 (that is, uploads a part of the sensed sensor data to the server 60), so the load given to the
図18は、センサーデータの集約処理を説明するためのフローチャートを示す図である。図18を参照して、センサーデータriの集約処理が開始されると、端末装置1〜10の制御部14は、集約の前処理を行う(ステップS21)。そして、端末装置1〜10の制御部14は、集約処理を行う(ステップS22)。その後、端末装置1〜10の制御部14は、集約したセンサーデータriを通信部13へ出力し、通信部13は、制御部14から受けたセンサーデータriを送信バッファに格納し、アンテナ12を介して送信バッファ内のセンサーデータriを全てサーバ60へアップロードする(ステップS23)。これによって、集約処理が終了する。
FIG. 18 is a diagram showing a flowchart for explaining the sensor data aggregation process. Referring to FIG. 18, when the aggregation processing of sensor data r i is started, the
図19は、図18に示すステップS21の詳細な動作を説明するためのフローチャートを示す図である。 FIG. 19 is a flowchart for explaining the detailed operation of step S21 shown in FIG.
図19を参照して、集約処理が開始されると、端末装置1〜10の制御部14は、集約処理候補ブロック集合Bを”0”に設定し(ステップS211)、i=0を設定する(ステップS212)。
Referring to FIG. 19, when aggregation processing is started,
そして、端末装置1〜10の制御部14は、センサーデータriについて、信頼度関数rel(ri,bj)が”0”よりも大きい全てのブロックbjを抽出する(ステップS213)。この場合、端末装置1〜10の制御部14は、図9に示す円CIRに含まれるブロックbjの全てを抽出し、その抽出したブロックbjの総数をJmaxとする。
Then, the
その後、端末装置1〜10の制御部14は、j=0を設定し(ステップS214)、ブロックbjが集約処理候補ブロック集合Bに含まれるか否かを判定する(ステップS215)。
Thereafter, the
ステップS215において、ブロックbjが集約処理候補ブロック集合Bに含まれないと判定されたとき、端末装置1〜10の制御部14は、集約対象センサーデータ集合D(bj)を”0”に設定し、ブロックbjの信頼度R(bj)を”0”に設定し、集約処理候補ブロック集合Bとブロックbjとの和集合を演算し、その演算した和集合を集約処理候補ブロック集合Bとする(ステップS216)。
When it is determined in step S215 that the block b j is not included in the aggregation processing candidate block set B, the
ステップS215において、ブロックbjが集約処理候補ブロック集合Bに含まれると判定されたとき、またはステップS216の後、端末装置1〜10の制御部14は、集約対象センサーデータ集合D(bj)とセンサーデータriとの和集合を演算し、その演算した和集合を集約対象センサーデータ集合D(bj)とするとともに、ブロックbjの信頼度R(bj)と信頼度関数rel(ri,bj)との和を演算し、その演算した和をブロックbjの信頼度R(bj)とする(ステップS217)。
When it is determined in step S215 that the block b j is included in the aggregation processing candidate block set B, or after step S216, the
その後、端末装置1〜10の制御部14は、j=Jmaxであるか否かを判定する(ステップS218)。なお、Jmaxは、ステップS213において抽出されたブロックbjの総数である。
Thereafter, the
ステップS218において、j=Jmaxでないと判定されたとき、端末装置1〜10の制御部14は、j=j+1を設定する(ステップS219)。その後、一連の動作は、ステップS215へ移行し、ステップS218において、j=Jmaxであると判定されるまで、ステップS215〜ステップS219が繰り返し実行される。
If it is determined in step S218 that j = Jmax is not satisfied, the
そして、ステップS218において、j=Jmaxであると判定されると、端末装置1〜10の制御部14は、i=Imaxであるか否かを判定する(ステップS220)。なお、Imaxは、集約処理の対象となるセンサーデータの総数である。
Then, if it is determined in step S218 that j = Jmax, the
ステップS220において、i=Imaxでないと判定されたとき、端末装置1〜10の制御部14は、i=i+1を設定する(ステップS221)。その後、一連の動作は、ステップS213へ移行し、ステップS220において、i=Imaxであると判定されるまで、ステップS213〜ステップS221が繰り返し実行される。
When it is determined in step S220 that i is not i = Imax, the
そして、ステップS220において、i=Imaxであると判定されると、一連の動作は、図18に示すステップS22へ移行する。 When it is determined in step S220 that i = Imax, the series of operations proceeds to step S22 shown in FIG.
ステップS216において、D(bj)=0、R(bj)=0およびB=B∪{bj}と設定するのは、図19に示すフローチャートは、集約の前処理を行うフローチャートであるので、初期化するためである。 Setting D (b j ) = 0, R (b j ) = 0 and B = B∪ {b j } in step S216 is a flowchart for performing pre-processing of aggregation in the flowchart shown in FIG. Because it is to initialize.
また、ステップS217において、D(bj)=D(bj)∪{ri}と設定するのは、センサーデータriを集約の対象とするためであり、R(bj)=R(bj)+rel(ri,bj)と設定するのは、センサーデータriを集約の対象としたことによって信頼度R(bj)を更新するためである。そして、ステップS217が繰り返し実行されることによって、図10から図12において説明したように、各ブロックbjの信頼度R(bj)は、信頼度関数rel(ri,bj)によって決定されたブロックbjにおけるJmax個の信頼度の総和になり、集約対象センサーデータ集合D(bj)は、Jmax個の信頼度のうち、”0”よりも大きい信頼度をブロックbjにおいて有する全てのセンサーデータriから構成される。 Further, in step S217, D (b j) = D (b j) to set the ∪ {r i} is for the purpose of the object of aggregate sensor data r i, R (b j) = R ( The reason that b j ) + rel (r i , b j ) is set is to update the reliability R (b j ) by subjecting the sensor data r i to aggregation. Then, by repeatedly executing step S217, as described in FIG. 10 to FIG. 12, the reliability R (b j ) of each block b j is determined by the reliability function rel (r i , b j ) The sum of Jmax reliabilities in the block b j is calculated, and the aggregation target sensor data set D (b j ) has the reliability in the block b j that is larger than “0” among the Jmax reliabilities. consists of all of the sensor data r i.
従って、全てのセンサーデータriについて、図19に示すフローチャートを実行することによって、集約処理に必要な集約処理候補ブロック集合B、集約対象センサーデータ集合D(bj)および信頼度R(bj)が決定される。 Therefore, for all the sensor data r i, by executing the flowchart shown in FIG. 19, the aggregation process candidate block set B necessary for aggregation processing, aggregation target sensor data set D (b j), and the reliability R (b j ) Is determined.
図20は、図18に示すステップS22の詳細な動作を説明するためのフローチャートを示す図である。なお、図20に示すフローチャートは、上述した方式1における集約処理(図18のステップS22)の詳細な動作を説明するためのフローチャートである。
FIG. 20 is a flowchart for explaining the detailed operation of step S22 shown in FIG. The flowchart shown in FIG. 20 is a flowchart for explaining the detailed operation of the aggregation process (step S22 in FIG. 18) in the above-described
図20を参照して、図18のステップS21において、集約の前処理が終了すると、端末装置1〜10の制御部14は、j=0を設定する(ステップS222)。
Referring to FIG. 20, in step S21 of FIG. 18, when the aggregation pre-processing ends, the
そして、端末装置1〜10の制御部14は、ブロックbjの信頼度R(bj)がしきい値Rthresh以上であるか否かを判定する(ステップS223)。
Then, the
ステップS223において、ブロックbjの信頼度R(bj)がしきい値Rthresh以上であると判定されたとき、端末装置1〜10の制御部14は、集約対象センサーデータ集合D(bj)に属する全てのセンサーデータriを対象にして集約演算を実行する(ステップS224)。
When it is determined in step S223 that the reliability R (b j ) of the block b j is equal to or greater than the threshold R thresh , the
そして、端末装置1〜10の制御部14は、集約したセンサーデータriを通信部13へ出力し、通信部13は、集約したセンサーデータriを送信バッファに追加する(ステップS225)。
Then, the
ステップS223において、ブロックbjの信頼度R(bj)がしきい値Rthresh以上でないと判定されたとき、またはステップS225の後、端末装置1〜10の制御部14は、j=Jmaxであるか否かを判定する(ステップS226)。
When it is determined in step S223 that the reliability R (b j ) of the block b j is not greater than or equal to the threshold R thresh , or after step S225, the
ステップS226において、j=Jmaxでないと判定されたとき、端末装置1〜10の制御部14は、j=j+1を設定する(ステップS227)。その後、一連の動作は、ステップS223へ移行し、ステップS226において、j=Jmaxであると判定されるまで、ステップS223〜ステップS227が繰り返し実行される。
When it is determined in step S226 that j = Jmax is not satisfied, the
そして、ステップS226において、j=Jmaxであると判定されると、一連の動作は、図18のステップS23へ移行する。 When it is determined in step S226 that j = Jmax, the series of operations proceeds to step S23 in FIG.
図20に示すフローチャートを実行することによって、しきい値Rthresh以上の信頼度R(bj)を有するブロックbjに属するセンサーデータriが集約されて送信バッファに追加される。その後、図18のステップS23が実行されることによって、送信バッファ内の全てのセンサーデータriがサーバ60へアップロードされる。
By executing the flowchart shown in FIG. 20, sensor data r i belonging to the block b j with a threshold R thresh more reliability R (b j) is added to the transmission buffer are aggregated. After that, step S23 of FIG. 18 is executed, all the sensor data r i in the transmission buffer is uploaded to the
図21は、図18に示すステップS22の別の詳細な動作を説明するためのフローチャートを示す図である。なお、図21に示すフローチャートは、上述した方式2における集約処理(図18のステップS22)の詳細な動作を説明するためのフローチャートである。また、図21に示すフローチャートは、図20に示すフローチャートのステップS222,S223をステップS228,S229に代え、図20に示すフローチャートのステップS226,S227をステップS230に代えたものであり、その他は、図20に示すフローチャートと同じである。
FIG. 21 is a flowchart illustrating another detailed operation of step S22 shown in FIG. The flowchart shown in FIG. 21 is a flowchart for explaining the detailed operation of the aggregation process (step S22 in FIG. 18) in the above-described
図21を参照して、図18のステップS21において、集約の前処理が終了すると、端末装置1〜10の制御部14は、n=0を設定する(ステップS228)。なお、nは、正の整数であり、サーバ60へアップロードするセンサーデータriの個数である。
Referring to FIG. 21, in step S21 of FIG. 18, when the aggregation pre-processing ends, the
ステップS228の後、端末装置1〜10の制御部14は、サーバ60へアップロードするセンサーデータriの個数nが最大アップロード数Umaxよりも大きいか否かを判定する(ステップS229)。
After step S228, the
ステップS229において、サーバ60へアップロードするセンサーデータriの個数nが最大アップロード数Umaxよりも大きくないと判定されたとき、上述したステップS224,S225が順次実行される。
In step S229, when the number n of sensor data r i to be uploaded to the
そして、ステップS225の後、端末装置1〜10の制御部14は、n=n+1を設定する(ステップS230)。その後、一連の動作は、ステップS229へ移行し、ステップS229において、サーバ60へアップロードするセンサーデータriの個数nが最大アップロード数Umaxよりも大きいと判定されるまで、ステップS229,S224,S225,S230が繰り返し実行される。
Then, after step S225, the
そして、ステップS229において、サーバ60へアップロードするセンサーデータriの個数nが最大アップロード数Umaxよりも大きいと判定されると、一連の動作は、図18のステップS23へ移行する。
Then, in step S229, the number n of sensor data r i to be uploaded to the
なお、集約対象センサーデータ集合D(bj)に属するセンサーデータriの個数が1個である場合も、図20または図21に示すフローチャートが実行される。この場合、集約演算は、上述したように、最大値を取ること、最小値を取ることおよび中央値を取ること等からなるので、ステップS224を実行しても問題はない。 Even if the number of sensor data r i belonging to the aggregation target sensor data set D (b j) is one, the flow chart shown in FIG. 20 or 21 is executed. In this case, since the aggregation operation includes taking the maximum value, taking the minimum value, taking the median value, and the like as described above, there is no problem in performing step S224.
図22は、Helloパケットの送信動作を説明するためのフローチャートを示す図である。 FIG. 22 is a diagram showing a flowchart for explaining the hello packet transmission operation.
図22を参照して、Helloパケットの送信動作が開始されると、端末装置1〜10の制御部14は、自己が搭載された端末装置(端末装置1〜10のいずれか)のアドレスと、ランクRkとを含むHelloパケットを生成し、その生成したHelloパケットを通信部13へ出力する。
Referring to FIG. 22, when the transmission operation of the Hello packet is started, the
そして、端末装置1〜10の通信部13は、制御部14から受けたHelloパケットを近距離無線通信システムを用いてアンテナ11を介してブロードキャストする(ステップS31)。
Then, the
その後、端末装置1〜10の制御部14は、一定時間待機する(ステップS32)。
Thereafter, the
そして、端末装置1〜10の各々は、ステップS31,S32を繰り返し実行して、Helloパケットを定期的にブロードキャストする。
Then, each of the
図23は、Helloパケットの受信側端末および送信側端末の動作を説明するためのフローチャートを示す図である。 FIG. 23 is a diagram showing a flowchart for explaining the operation of the reception side terminal and the transmission side terminal of the Hello packet.
図23を参照して、一連の動作が開始されると、Helloパケットの受信側端末の通信部13は、アンテナ11を介してHelloパケットを受信し(ステップS41)、その受信したHelloパケットを制御部14へ出力する。
Referring to FIG. 23, when a series of operations are started,
そして、Helloパケットの受信側端末の制御部14は、Helloパケットを通信部13から受ける。その後、Helloパケットの受信側端末の制御部14は、自己が搭載された端末装置のアドレスおよびランクRkを含むHelloパケットを生成し、その生成したHelloパケットを通信部13へ出力する。
Then, the
Helloパケットの受信側端末の通信部13は、Helloパケットを制御部14から受け、その受けたHelloパケットをアンテナ11を介して送信する。即ち、Helloパケットの受信側端末の通信部13は、Helloパケットの送信元端末(相手端末)へ自端末の情報を送信する(ステップS42)。
The
Helloパケットの送信側端末の通信部13は、アンテナ11を介して相手端末から相手端末の情報(=Helloパケット)を受信し(ステップS43)、その受信した相手端末の情報(=Helloパケット)を制御部14へ出力する。
The
その後、Helloパケットの送信側端末の制御部14は、自己が搭載された端末装置のアドレスおよびランクRkを含むHelloパケットを生成し、その生成したHelloパケットを通信部13へ出力する。
Thereafter, the
そして、Helloパケットの送信側端末の通信部13は、Helloパケットを制御部14から受け、その受けたHelloパケットをアンテナ11を介して送信する。即ち、Helloパケットの送信側端末の通信部13は、相手端末へ自端末の情報(Helloパケット)を送信する(ステップS44)。
Then, the
Helloパケットの受信側端末の通信部13は、アンテナ11を介して相手端末から相手端末の情報(=Helloパケット)を受信し(ステップS45)、その受信した相手端末の情報(=Helloパケット)を制御部14へ出力する。
The
そして、Helloパケットの受信側端末の制御部14は、センサーデータriを通信部13へ出力し、通信部13は、送信処理を実行する(ステップS46)。
Then, the
Helloパケットの送信側端末の通信部13は、アンテナ11を介して相手端末からセンサーデータriを受信し(ステップS47)、その受信したセンサーデータriを制御部14へ出力する。
The
その後、Helloパケットの送信側端末の制御部14は、センサーデータriを通信部13へ出力し、通信部13は、送信処理を実行する(ステップS48)。
Thereafter, the
Helloパケットの受信側端末の通信部13は、アンテナ11を介して相手端末からセンサーデータriを受信し(ステップS49)、その受信したセンサーデータriを制御部14へ出力する。
The
ステップS48の後、Helloパケットの送信側端末の動作は、終了し、ステップS49の後、Helloパケットの受信側端末の動作は、終了する。 After step S48, the operation of the transmitting terminal of the hello packet ends, and after step S49, the operation of the receiving terminal of the hello packet ends.
図24は、図23のステップS46の詳細な動作を説明するためのフローチャートを示す図である。 FIG. 24 is a flowchart for explaining the detailed operation of step S46 of FIG.
図24を参照して、図23のステップS45の後、Helloパケットの受信側端末の制御部14は、i=0を設定する(ステップS461)。
Referring to FIG. 24, after step S45 in FIG. 23, the
そして、Helloパケットの受信側端末の制御部14は、センサーデータriを相手端末が保持した方が適切であると判断される場合、センサーデータriを通信部13へ出力する。そして、Helloパケットの受信側端末の通信部13は、センサーデータriを制御部14から受け、その受けたセンサーデータriを送信バッファへ追加する。即ち、Helloパケットの受信側端末は、センサーデータriを相手端末が保持した方が適切であると判断される場合、センサーデータriを送信バッファへ追加する(ステップS462)。
Then, the
そして、Helloパケットの受信側端末の制御部14は、i=Imaxであるか否かを判定する(ステップS463)。
Then, the
ステップS463において、i=Imaxでないと判定されたとき、Helloパケットの受信側端末の制御部14は、i=i+1を設定する(ステップS464)。その後、一連の動作は、ステップS462へ移行し、ステップS463において、i=Imaxであると判定されるまで、ステップS462〜ステップS464が繰り返し実行される。
When it is determined in step S463 that i is not i = Imax, the
そして、ステップS463において、i=Imaxであると判定されると、Helloパケットの受信側端末の通信部13は、アンテナ11を介して送信バッファ内のセンサーデータriを相手端末へ送信する(ステップS465)。
Then, in step S463, when it is determined that the i = Imax, the
その後、一連の動作は、図23のステップS47へ移行する。 Thereafter, the series of operations proceeds to step S47 in FIG.
なお、図23のステップS48の動作も、図24に示すフローチャートに従って実行される。 The operation of step S48 in FIG. 23 is also executed in accordance with the flowchart shown in FIG.
図25は、図24に示すステップS462の詳細な動作を説明するためのフローチャートを示す図である。 FIG. 25 shows a flowchart for explaining the detailed operation of step S462 shown in FIG.
図25を参照して、図24のステップS461の後、Helloパケットの受信側端末の制御部14は、自端末のランクRkが相手端末のランクRkよりも小さいか否かを判定する(ステップS4621)。
Referring to FIG. 25, after step S461 in FIG. 24, the
ステップS4621において、自端末のランクRkが相手端末のランクRkよりも小さいと判定されたとき、Helloパケットの受信側端末の制御部14は、センサーデータriを通信部13へ出力し、通信部13は、制御部14から受けたセンサーデータriを送信バッファへ追加する(S4622)。
In step S4621, when the rank Rk of the terminal is determined to be less than the rank Rk of the counterpart terminal, the
一方、ステップS4621において、自端末のランクRkが相手端末のランクRkよりも小さくないと判定されたとき、Helloパケットの受信側端末は、センサーデータriの相手端末への送信を停止する(ステップS4623)。 On the other hand, in step S4621, when the rank Rk of the terminal is determined to not less than the rank Rk opponent terminal, the receiving terminal of the Hello packet, stops transmission to the other terminal of the sensor data r i (step S4623).
そして、ステップS4622の後、一連の動作は、図24のステップS463へ移行し、ステップS4623の後、一連の動作は、図23のステップS48へ移行する。 Then, after step S4622, the series of operations proceeds to step S463 of FIG. 24, and after step S4623, the series of operations proceeds to step S48 of FIG.
図25に示すフローチャートに従えば、自端末のランクRkが相手端末のランクRkよりも小さいと判定されたとき、センサーデータriは、送信バッファへ追加され(ステップS4621の”YES”,ステップS4622参照)、相手端末へ送信される(図24のステップS465参照)。 According to the flowchart shown in FIG. 25, when the rank Rk of the terminal is determined to be less than the rank Rk of the partner terminal, sensor data r i is added to the transmit buffer (step S4621 "YES", the step S4622 (Refer to step S465 in FIG. 24).
一方、自端末のランクRkが相手端末のランクRkよりも小さくないと判定されたとき、センサーデータriの相手端末への送信が停止される(ステップS4623参照)。これは、次の理由による。自端末のランクRkが相手端末のランクRkよりも小さくないと判定された場合、自端末のランクRkが相手端末のランクRkよりも大きい場合と、自端末のランクRkが相手端末のランクRkと同じである場合とがある。自端末のランクRkが相手端末のランクRkよりも大きい場合は、自端末がセンサーデータriをサーバ60へアップロードすべきであるので、センサーデータriの相手端末への送信が停止される。また、自端末のランクRkが相手端末のランクRkと同じである場合、自端末および相手端末の両方が、それぞれ、自己が保持するセンサーデータriをサーバ60へアップロードすべきであるので、センサーデータriの相手端末への送信が停止される。
Meanwhile, when the rank Rk of the terminal is determined to not less than the rank Rk opponent terminal, transmission to the partner terminal of sensor data r i is stopped (see step S4623). This is due to the following reason. If it is determined that the rank Rk of the own terminal is not smaller than the rank Rk of the opposite terminal, the rank Rk of the own terminal is higher than the rank Rk of the opposite terminal, and the rank Rk of the own terminal is equal to the rank Rk of the opposite terminal. There is the same case. If rank Rk of the terminal is greater than the rank Rk opponent terminal, the host terminal so should upload sensor data r i to the
このように、センサーデータriを相手端末が保持した方が適切であるか否かの判断は、各端末装置1〜10に割り当てられたランクRkを用いて行われる。
Thus, determination of whether the sensor data r i is better partner terminal is held is appropriate is performed using the rank Rk assigned to each
なお、センサーデータriを相手端末が保持した方が適切であるか否かの判断は、各端末装置1〜10に割り当てられたランクRkに限らず、本発明者による特願2016−196933に記載されているように、滞留地点により近づくと予想される端末がセンサーデータを保持すると判断してもよい。
Note that determines whether the sensor data r i is better partner terminal is held is appropriate is not limited to the rank Rk assigned to each
また、図17に示すステップS7,S8の端末間通信は、図22から図25に示すフローチャートに従って実行される。また、図17に示すステップS10,S12の集約とサーバ60へのアップロードは、図18、図19および図20(または図21)に示すフローチャートに従って実行される。
The inter-terminal communication in steps S7 and S8 shown in FIG. 17 is executed according to the flowcharts shown in FIGS. Further, the aggregation of steps S10 and S12 shown in FIG. 17 and the uploading to the
そして、自端末で検出したセンサーデータと、端末間通信によって相手端末から受信したセンサーデータとを集約する場合、図20のステップS223において、自端末で検出したセンサーデータの信頼度と、相手端末から受信したセンサーデータの信頼度とから、各ブロックでの信頼度の総和R(bj)を求め、その求めた総和R(bj)がしきい値Rthresh以上であるか否かが判定される。 Then, when the sensor data detected by the own terminal and the sensor data received from the other terminal by inter-terminal communication are aggregated, the reliability of the sensor data detected by the own terminal in step S223 of FIG. From the reliability of the received sensor data, the sum R (b j ) of the reliability in each block is determined, and it is determined whether the calculated sum R (b j ) is equal to or greater than the threshold R thresh Ru.
そして、総和R(bj)がしきい値Rthresh以上であると判定されたとき、ステップS224,S225が順次実行される。一方、総和R(bj)がしきい値Rthresh以上でないと判定されたとき、ステップS224,S225は、実行されない(即ち、センサーデータは、サーバ60へアップロードされない)。 When it is determined that the total sum R (b j ) is equal to or greater than the threshold value R thresh , steps S224 and S225 are sequentially executed. On the other hand, when it is determined that the sum R (b j ) is not greater than or equal to the threshold R thresh , steps S224 and S225 are not performed (that is, sensor data is not uploaded to the server 60).
この発明の実施の形態においては、端末装置1〜10の動作は、ソフトウェアによって実現されてもよい。
In the embodiment of the present invention, the operations of the
この場合、端末装置1〜10の各々は、CPU(Central Processing Unit)、ROM(Read Only Memory)およびRAM(Random Access Memory)を備える。
In this case, each of the
端末装置1〜10の各々のROMは、図17に示すフローチャートのステップS1〜S3,S7,S9,S10,S15(図18に示すフローチャートのステップS21〜S23、図19に示すフローチャートのステップS221〜S221、図20に示すフローチャートのステップS222〜S227(または図21に示すフローチャートのステップS228,S229,S224,S225,S230)、図22に示すフローチャートのステップS31,S32、図23に示すフローチャートのステップS41,S42,S45,S46,S49(または図23に示すフローチャートのステップS43,S44,S47,S48)、図24に示すフローチャートのステップS461〜S465、および図25に示すフローチャートのステップS4621〜S4623を含む)を備えるプログラムProg_Aを格納する。
The ROM of each of the
また、端末装置1〜10の各々のROMは、図17に示すフローチャートのステップS4〜S6,S8,S11,S12,S16(図18に示すフローチャートのステップS21〜S23、図19に示すフローチャートのステップS221〜S221、図20に示すフローチャートのステップS222〜S227(または図21に示すフローチャートのステップS228,S229,S224,S225,S230)、図22に示すフローチャートのステップS31,S32、図23に示すフローチャートのステップS41,S42,S45,S46,S49(または図23に示すフローチャートのステップS43,S44,S47,S48)、図24に示すフローチャートのステップS461〜S465、および図25に示すフローチャートのステップS4621〜S4623を含む)を備えるプログラムProg_Bを格納する。
Further, the ROM of each of the
RAMは、演算の途中結果を一時的に格納する。 The RAM temporarily stores intermediate results of the operation.
そして、CPUは、ROMからプログラムProg_A(またはプログラムProg_B)を読み出して実行し、上述した方法によって、センサーデータriをサーバ60へアップロードする。
Then, CPU reads out and executes a program prog_a (or program PROG_B) from ROM, the method described above, to upload sensor data r i to the
また、プログラムProg_A(またはプログラムProg_B)は、CD,DVD等の記録媒体に記録されて流通してもよい。 Also, the program Prog_A (or the program Prog_B) may be distributed by being recorded on a recording medium such as a CD or a DVD.
プログラムProg_A(またはプログラムProg_B)を記録した記録媒体をパーソナルコンピュータに装着すると、CPUは、記録媒体からプログラムProg_A(またはプログラムProg_B)を読み出して実行し、上述した方法によって、センサーデータriをサーバ60へアップロードする。
When mounting the recording medium recording the program prog_a (or program PROG_B) to the personal computer, CPU, executes the recording medium by reading the program prog_a (or program PROG_B), by the method described above, the
従って、プログラムProg_A(またはプログラムProg_B)を記録した記録媒体は、コンピュータ(CPU)読み取り可能な記録媒体である。 Therefore, the recording medium recording the program Prog_A (or the program Prog_B) is a computer (CPU) readable recording medium.
なお、この発明の実施の形態においては、上述した方法によってサーバ60へアップロードするセンサーデータriを決定する制御部14は、センサー15によって検出されたセンサーデータriのうち、センサーデータの信頼度がしきい値以上であるセンサーデータriをサーバ60へ送信するセンサーデータとして決定する決定処理を行う「処理手段」を構成する。
In the embodiments of the invention, the
また、この発明の実施の形態においては、センサーデータriをサーバ60へ送信する通信部13は、制御部14によって決定されたセンサーデータriをサーバ60へ送信する「送信手段」を構成する。
Further, in embodiments of the present invention, a
上記においては、センサーデータriの検出対象の空間をセルciに分割し、その分割したセルci、およびタイムスロットtjで検出したセンサーデータriを上述した方法によってサーバ60へアップロードすると説明したが、この発明の実施の形態においては、これに限らず、セルciおよびタイムスロットtjを規定せずに、センサーデータriを検出した位置を示す位置情報pos(ri)と、センサーデータriを検出した時刻を示す時間情報time(ri)とをセンサーデータriに対応付けて保持しておき、その保持したセンサーデータriのうち、サーバ60へアップロードするセンサーデータを上述した方法によって決定し、その決定したセンサーデータを集約して位置情報pos(ri)および時間情報time(ri)とともにサーバ60へアップロードするものであればよい。
In the above, by dividing the detected spatial sensor data r i in cell c i, when uploading the divided cell c i, and the sensor data r i detected by the time slot t j to the
従って、この発明の実施の形態による端末装置は、センサーデータを検出するセンサーと、検出されたセンサーデータのうち、センサーデータの信頼度がしきい値以上であるセンサーデータをサーバへ送信するセンサーデータとして決定する決定処理を行う処理手段と、決定されたセンサーデータをサーバへ送信する送信手段とを備えていればよい。 Therefore, the terminal device according to the embodiment of the present invention is a sensor that detects sensor data, and among the detected sensor data, sensor data that transmits sensor data whose sensor data reliability is equal to or higher than a threshold to the server And the transmission means for transmitting the determined sensor data to the server.
端末装置は、センサーと、処理手段と、送信手段とを備えていれば、検出したセンサーデータのうち、信頼度がしきい値以上であるセンサーデータがサーバへ送信され、通信網への負荷を低減できるからである。 If the terminal device includes the sensor, the processing means, and the transmission means, among the detected sensor data, the sensor data whose reliability is equal to or more than the threshold value is transmitted to the server to load the communication network. It is because it can reduce.
また、この発明の実施の形態による無線通信システムは、上記端末装置と、端末装置からセンサーデータを受信し、その受信したセンサーデータを保持するサーバとを備えていればよい。 Further, the wireless communication system according to the embodiment of the present invention may include the above-described terminal device and a server that receives sensor data from the terminal device and holds the received sensor data.
無線通信システムが上記端末装置とサーバとを備えていれば、端末装置がサーバへセンサーデータを送信するときの通信負荷を低減できるからである。 If the wireless communication system includes the terminal device and the server, it is possible to reduce the communication load when the terminal device transmits sensor data to the server.
更に、この発明の実施の形態によるプログラムは、処理手段が、センサーによって検出されたセンサーデータのうち、センサーデータの信頼度がしきい値以上であるセンサーデータをサーバへ送信するセンサーデータとして決定する決定処理を行う第1のステップと、
送信手段が、第1のステップにおいて決定されたセンサーデータの一部をサーバへ送信する第2のステップとをコンピュータに実行させるためのプログラムであればよい。
Furthermore, in the program according to the embodiment of the present invention, the processing means determines, as sensor data to be transmitted to the server, sensor data having a reliability of the sensor data equal to or higher than a threshold among sensor data detected by the sensor. A first step of performing determination processing;
The transmission means may be a program for causing the computer to execute the second step of transmitting a part of the sensor data determined in the first step to the server.
プログラムが第1および第2のステップをコンピュータに実行させれば、検出したセンサーデータのうち、信頼度がしきい値以上であるセンサーデータがサーバへ送信され、通信網への負荷を低減できるからである。 If the program causes the computer to execute the first and second steps, among the detected sensor data, sensor data whose reliability is equal to or higher than the threshold value is transmitted to the server, and the load on the communication network can be reduced. It is.
今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した実施の形態の説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 It should be understood that the embodiments disclosed herein are illustrative and non-restrictive in every respect. The scope of the present invention is shown not by the above description of the embodiments but by the scope of claims, and is intended to include all modifications within the meaning and scope equivalent to the scope of claims.
この発明は、端末装置、それを備える無線通信システム、コンピュータに実行させるためのプログラムおよびプログラムを記録したコンピュータ読み取り可能な記録媒体に適用される。 The present invention is applied to a terminal device, a wireless communication system including the same, a program to be executed by a computer, and a computer readable recording medium recording the program.
1〜10 端末装置、11,12 アンテナ、13,61 通信部、14,62 制御部、15 センサー、16 GPS 17,63 ストレージ部、20,30,40 無線基地局、50 ネットワーク、60サーバ、100 無線通信システム。
1 to 10 terminal devices, 11, 12 antennas, 13, 61 communication units, 14, 62 control units, 15 sensors, 16
Claims (14)
前記検出されたセンサーデータのうち、前記センサーデータの信頼度がしきい値以上であるセンサーデータをサーバへ送信するセンサーデータとして決定する決定処理を行う処理手段と、
前記決定されたセンサーデータを前記サーバへ送信する送信手段とを備える端末装置。 Sensors that detect sensor data,
Processing means for performing a determination process of determining sensor data having a reliability of the sensor data equal to or greater than a threshold among the detected sensor data as sensor data to be transmitted to the server;
And a transmitting unit configured to transmit the determined sensor data to the server.
前記送信手段は、前記集約されたセンサーデータを前記サーバへ送信する、請求項1に記載の端末装置。 The processing unit aggregates a plurality of sensor data when there are a plurality of sensor data whose reliability of the sensor data is equal to or greater than a threshold value,
The terminal device according to claim 1, wherein the transmission unit transmits the aggregated sensor data to the server.
前記送信手段は、前記集約されたセンサーデータを前記サーバへ送信する、請求項1に記載の端末装置。 When the terminal device on which the processing unit is mounted receives sensor data from another terminal device, the processing means may measure the reliability of the sensor data received from the other terminal device and the reliability of the sensor data detected by the sensor. Calculating a sum of the degree of freedom, and when the calculated sum is equal to or greater than a threshold, aggregating sensor data received from the other terminal device and sensor data detected by the sensor;
The terminal device according to claim 1, wherein the transmission unit transmits the aggregated sensor data to the server.
前記処理手段は、前記センサーデータが検出された位置についての信頼度を示す位置信頼度と、前記センサーデータが検出された時間についての信頼度を示す時間信頼度との重み付け和を前記センサーデータの信頼度として用いて前記決定処理を行う、請求項1に記載の端末装置。 The sensor data is defined by position information indicating a detected position and time information indicating a detected time,
The processing means includes a weighted sum of a position reliability indicating the reliability of the position at which the sensor data is detected and a time reliability indicating the reliability of the time at which the sensor data is detected. The terminal device according to claim 1, wherein the determination process is performed using the reliability.
前記時間信頼度は、前記他の端末装置において検出されたセンサーデータの時間と前記センサーによって検出されたセンサーデータの時間との差の絶対値が大きくなるに従って低くなり、前記他の端末装置において検出されたセンサーデータの時間と前記センサーによって検出されたセンサーデータの時間との差の絶対値が小さくなるに従って高くなる、請求項5に記載の端末装置。 The position reliability decreases as the distance between the position of the sensor data detected in the other terminal device and the position of the sensor data detected by the sensor increases, and the sensor detected in the other terminal device The higher the distance between the data position and the sensor data position detected by the sensor, the higher the
The time reliability becomes lower as the absolute value of the difference between the time of sensor data detected in the other terminal device and the time of sensor data detected by the sensor becomes larger, and detection is performed in the other terminal device The terminal device according to claim 5, wherein as the absolute value of the difference between the time of the detected sensor data and the time of the sensor data detected by the sensor decreases, it increases.
前記端末装置からセンサーデータを受信し、その受信したセンサーデータを保持するサーバとを備える無線通信システム。 The terminal device according to any one of claims 1 to 6, and
A wireless communication system, comprising: sensor data received from the terminal device; and a server holding the received sensor data.
送信手段が、前記第1のステップにおいて決定されたセンサーデータを前記サーバへ送信する第2のステップとをコンピュータに実行させるためのプログラム。 A first step of performing a determination process of determining, as sensor data to be transmitted to the server, sensor data having a reliability of the sensor data equal to or greater than a threshold among the sensor data detected by the sensor;
A program for causing a computer to execute a second step in which transmitting means transmits the sensor data determined in the first step to the server.
前記第2のステップにおいて、前記送信手段は、前記集約されたセンサーデータを前記サーバへ送信する、請求項8に記載のコンピュータに実行させるためのプログラム。 In the first step, the processing means aggregates a plurality of sensor data when there are a plurality of sensor data whose reliability of the sensor data is equal to or greater than a threshold value,
The program for causing a computer to execute according to claim 8, wherein in the second step, the transmission means transmits the aggregated sensor data to the server.
前記第2のステップにおいて、前記送信手段は、前記集約されたセンサーデータを前記サーバへ送信する、請求項8に記載のコンピュータに実行させるためのプログラム。 In the first step, when the terminal device on which the processing unit is mounted receives sensor data from another terminal device, the processing means uses reliability of sensor data received from the other terminal device, and the sensor A sum of reliability of detected sensor data is calculated, and when the calculated sum is equal to or greater than a threshold value, sensor data received from the other terminal device and sensor data detected by the sensor are aggregated And
The program for causing a computer to execute according to claim 8, wherein in the second step, the transmission means transmits the aggregated sensor data to the server.
前記第1のステップにおいて、前記処理手段は、前記センサーデータが検出された位置についての信頼度を示す位置信頼度と、前記センサーデータが検出された時間についての信頼度を示す時間信頼度との重み付け和を前記センサーデータの信頼度として用いて前記決定処理を行う、請求項8に記載のコンピュータに実行させるためのプログラム。 The sensor data is defined by position information indicating a detected position and time information indicating a detected time,
In the first step, the processing means includes a position reliability indicating a reliability of the position at which the sensor data is detected, and a time reliability indicating a reliability of the time at which the sensor data is detected. The program according to claim 8, wherein the determination process is performed using a weighted sum as the reliability of the sensor data.
前記時間信頼度は、前記他の端末装置において検出されたセンサーデータの時間と前記センサーによって検出されたセンサーデータの時間との差の絶対値が大きくなるに従って低くなり、前記他の端末装置において検出されたセンサーデータの時間と前記センサーによって検出されたセンサーデータの時間との差の絶対値が小さくなるに従って高くなる、請求項12に記載のコンピュータに実行させるためのプログラム。 The position reliability decreases as the distance between the position of the sensor data detected in the other terminal device and the position of the sensor data detected by the sensor increases, and the sensor detected in the other terminal device The higher the distance between the data position and the sensor data position detected by the sensor, the higher the
The time reliability becomes lower as the absolute value of the difference between the time of sensor data detected in the other terminal device and the time of sensor data detected by the sensor becomes larger, and detection is performed in the other terminal device The program according to claim 12, wherein the absolute value of the difference between the detected sensor data time and the sensor data time detected by the sensor decreases.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017076270A JP2018182436A (en) | 2017-04-06 | 2017-04-06 | Terminal device, radio communication system comprising the same, program to be executed by computer, and computer-readable storage medium recording program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017076270A JP2018182436A (en) | 2017-04-06 | 2017-04-06 | Terminal device, radio communication system comprising the same, program to be executed by computer, and computer-readable storage medium recording program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2018182436A true JP2018182436A (en) | 2018-11-15 |
Family
ID=64276031
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017076270A Pending JP2018182436A (en) | 2017-04-06 | 2017-04-06 | Terminal device, radio communication system comprising the same, program to be executed by computer, and computer-readable storage medium recording program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2018182436A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003115092A (en) * | 2001-10-04 | 2003-04-18 | Omron Corp | Sensor network system managing method, sensor network system managing program, recording medium having sensor network system managing program recorded thereon, sensor network system managing device, managing method for relay network, relay network managing program, recording medium having relay network managing program recorded thereon and relay network managing device |
WO2007110968A1 (en) * | 2006-03-28 | 2007-10-04 | Hitachi, Ltd. | Sensor net system, sensor net system data managing method, and sensor net system data managing program |
JP2012530466A (en) * | 2009-06-15 | 2012-11-29 | クアルコム,インコーポレイテッド | Method for sensor configuration in a network |
JP2013013049A (en) * | 2011-05-31 | 2013-01-17 | Fujitsu Ltd | Sensor data collection system |
-
2017
- 2017-04-06 JP JP2017076270A patent/JP2018182436A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003115092A (en) * | 2001-10-04 | 2003-04-18 | Omron Corp | Sensor network system managing method, sensor network system managing program, recording medium having sensor network system managing program recorded thereon, sensor network system managing device, managing method for relay network, relay network managing program, recording medium having relay network managing program recorded thereon and relay network managing device |
WO2007110968A1 (en) * | 2006-03-28 | 2007-10-04 | Hitachi, Ltd. | Sensor net system, sensor net system data managing method, and sensor net system data managing program |
JP2012530466A (en) * | 2009-06-15 | 2012-11-29 | クアルコム,インコーポレイテッド | Method for sensor configuration in a network |
JP2013013049A (en) * | 2011-05-31 | 2013-01-17 | Fujitsu Ltd | Sensor data collection system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10599205B2 (en) | Methods and systems for managing machine learning involving mobile devices | |
US10045161B2 (en) | Systems and methods for vehicular positioning based on the round-trip time of DSRC messages in a network of moving things | |
Alimpertis et al. | City-wide signal strength maps: Prediction with random forests | |
US9743237B2 (en) | Method and apparatus for predicting mobility based on relative mobile characteristics | |
Ozturk et al. | Energy-aware smart connectivity for IoT networks: Enabling smart ports | |
US9978075B2 (en) | Population estimation apparatus, program and population estimation method | |
CN103797332A (en) | Selectively performing positioning procedure at access terminal based on behavior model | |
US20150302123A1 (en) | X-maps with flexible tiles | |
US20160219409A1 (en) | Methods, Wireless Device and Network Node for Managing Positioning Method Based on Prediction | |
US10117108B2 (en) | Method and device for controlling an autonomous device | |
CN108141802A (en) | Switching of the user equipment between indoor and Outdoor Network node | |
CN106105338B (en) | Method and apparatus for positioning measurement management | |
CN113498095A (en) | Method, apparatus and computer program for predicting future quality of service of a wireless communication link | |
Fortes et al. | Location-based distributed sleeping cell detection and root cause analysis for 5G ultra-dense networks | |
KR20220155289A (en) | Federated learning apparatus and method, and storage medium | |
CN113498071A (en) | Method, apparatus and program for predicting future quality of service of a wireless communication link | |
JP6894080B2 (en) | A mobile terminal device, a wireless communication system equipped with it, a program to be executed by a computer, and a computer-readable recording medium on which the program is recorded. | |
US20190219709A1 (en) | Using historical data to correct gps data in a network of moving things | |
Poosamani et al. | Towards a practical indoor location matching system using 4G LTE PHY layer information | |
KR101420016B1 (en) | System and method for determinating location in network based location | |
JP2018182436A (en) | Terminal device, radio communication system comprising the same, program to be executed by computer, and computer-readable storage medium recording program | |
WO2020052243A1 (en) | Multimodal location sensing on a mobile phone | |
JP2016048529A (en) | Apparatus, program and method capable of determining stay of user carrying mobile terminal | |
US11386777B2 (en) | Obstacle localization based on probabilistic consensus | |
Burgstahler et al. | Probsense. kom: A probabilistic sensing approach for gathering vehicular sensed data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20191217 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200819 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200929 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201125 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20210518 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20210712 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20211228 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220324 |
|
C60 | Trial request (containing other claim documents, opposition documents) |
Free format text: JAPANESE INTERMEDIATE CODE: C60 Effective date: 20220324 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20220331 |
|
C21 | Notice of transfer of a case for reconsideration by examiners before appeal proceedings |
Free format text: JAPANESE INTERMEDIATE CODE: C21 Effective date: 20220405 |
|
A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20220603 |
|
C211 | Notice of termination of reconsideration by examiners before appeal proceedings |
Free format text: JAPANESE INTERMEDIATE CODE: C211 Effective date: 20220607 |
|
C22 | Notice of designation (change) of administrative judge |
Free format text: JAPANESE INTERMEDIATE CODE: C22 Effective date: 20220706 |
|
C22 | Notice of designation (change) of administrative judge |
Free format text: JAPANESE INTERMEDIATE CODE: C22 Effective date: 20220908 |
|
C23 | Notice of termination of proceedings |
Free format text: JAPANESE INTERMEDIATE CODE: C23 Effective date: 20220928 |
|
C03 | Trial/appeal decision taken |
Free format text: JAPANESE INTERMEDIATE CODE: C03 Effective date: 20221024 |
|
C30A | Notification sent |
Free format text: JAPANESE INTERMEDIATE CODE: C3012 Effective date: 20221024 |