JP2016001783A - Server device and method - Google Patents

Server device and method Download PDF

Info

Publication number
JP2016001783A
JP2016001783A JP2014120459A JP2014120459A JP2016001783A JP 2016001783 A JP2016001783 A JP 2016001783A JP 2014120459 A JP2014120459 A JP 2014120459A JP 2014120459 A JP2014120459 A JP 2014120459A JP 2016001783 A JP2016001783 A JP 2016001783A
Authority
JP
Japan
Prior art keywords
sensor
search
unit
condition
communication terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014120459A
Other languages
Japanese (ja)
Other versions
JP6321462B2 (en
Inventor
秀行 窪田
Hideyuki Kubota
秀行 窪田
龍之 原田
Tatsuyuki Harada
龍之 原田
あずみ 岩下
Azumi Iwashita
あずみ 岩下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Docomo Inc
Original Assignee
NTT Docomo Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2014120459A priority Critical patent/JP6321462B2/en
Publication of JP2016001783A publication Critical patent/JP2016001783A/en
Application granted granted Critical
Publication of JP6321462B2 publication Critical patent/JP6321462B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To efficiently search for a transmitter.SOLUTION: A server device sets a first search condition that a transmitter is situated on a second floor where a sensor 30-1 is installed, and a second search condition that a transmitter is situated on a third floor where a sensor 30-2 is installed, and transmits the first search condition to communication terminals 20-3 to 20-7, and transmits the second search condition to communication terminals 20-8 to 20-12. If the first search condition or second search condition received from the server device is met, the communication terminals 20-3 to 20-12 search for beacon information transmitted by the sensor 30-1 or 30-2. If the beacon information is received through search, the communication terminals 20-3 to 20-12 communicate with the sensor 30-1 or 30-2, obtain sensor information stored in the sensor 30-1 or 30-2, and transmit it to the server device.

Description

本発明は、発信機に関する情報をサーバ装置に送信する技術に関する。   The present invention relates to a technique for transmitting information related to a transmitter to a server device.

近距離通信機能を有する発信機に格納された情報をサーバ装置に転送する技術が知られている。例えば特許文献1には、センサが取得したデータを、端末装置を介して中央装置へ送信することが記載されている。   A technique for transferring information stored in a transmitter having a near field communication function to a server device is known. For example, Patent Literature 1 describes that data acquired by a sensor is transmitted to a central device via a terminal device.

特開2013−5294号公報JP 2013-5294 A

特許文献1に記載された技術のように、発信機の近くに位置する通信端末が発信機をサーチし、発信機に格納された情報をサーバ装置に送信する場合においては、例えば1つの通信端末が複数の発信機の近くを移動すると、この通信端末は、発信機の近くを通る度にサーチを行わなければならない。この場合、この通信端末のサーチ回数が増え、消費電力が増えるという問題がある。
本発明は、発信機を効率よくサーチすることを目的とする。
In the case where a communication terminal located near a transmitter searches for a transmitter and transmits information stored in the transmitter to a server device as in the technique described in Patent Document 1, for example, one communication terminal If the mobile terminal moves near a plurality of transmitters, the communication terminal must perform a search every time it passes near the transmitters. In this case, there is a problem that the number of searches for this communication terminal increases and power consumption increases.
An object of the present invention is to efficiently search for a transmitter.

本発明は、発信機から発信された信号をサーチするための異なる条件を、複数の通信端末の一部に送信する条件送信部を備えるサーバ装置を提供する。   The present invention provides a server device including a condition transmission unit that transmits different conditions for searching for a signal transmitted from a transmitter to a part of a plurality of communication terminals.

前記サーバ装置は、少なくともサーチ期間又はサーチエリアのいずれか一つが異なるように前記条件を設定する条件設定部を更に備えてもよい。   The server device may further include a condition setting unit that sets the condition so that at least one of a search period or a search area is different.

前記条件設定部は、前記発信機に関する情報の取得間隔、過去に行われたサーチにおいて前記発信機が発見されたときに用いられた条件、又は前記発信機の周辺に位置する通信端末の密度のいずれかに応じて、前記条件を設定してもよい。   The condition setting unit includes an acquisition interval of information on the transmitter, conditions used when the transmitter is found in a search performed in the past, or a density of communication terminals located around the transmitter. The condition may be set according to either.

前記サーバ装置は、前記発信機に関する情報の取得間隔、過去に行われたサーチにおいて前記発信機を発見した通信端末が選択された条件、又は前記発信機の周辺に位置する通信端末の密度のいずれかに応じて、前記複数の通信端末の一部を選択する選択部を更に備えてもよい。   The server device may be any one of an acquisition interval of information about the transmitter, a condition under which a communication terminal that has found the transmitter is selected in a past search, or a density of communication terminals located around the transmitter. Depending on this, a selection unit for selecting a part of the plurality of communication terminals may be further provided.

前記サーバ装置は、前記条件を受信した通信端末が前記発信機から所定の距離以上離れた場合に、前記条件の解除要求を前記通信端末に送信する解除部を更に備えてもよい。   The server device may further include a canceling unit that transmits a request for canceling the condition to the communication terminal when the communication terminal that has received the condition is more than a predetermined distance away from the transmitter.

前記条件の送信後、所定の時間経過しても前記発信機に関する情報が取得されない場合、前記条件設定部は前記条件とは異なる新たな条件を設定し、前記条件送信部は、前記複数の通信端末の一部に前記新たな条件を送信してもよい。   If information related to the transmitter is not acquired even after a predetermined time has elapsed after the transmission of the condition, the condition setting unit sets a new condition different from the condition, and the condition transmission unit includes the plurality of communication The new condition may be transmitted to a part of the terminal.

前記条件の送信後、所定の時間経過しても前記発信機に関する情報が取得されない場合、前記条件送信部は前記複数の通信端末の一部が存在するエリアと異なるエリアに存在する通信端末に前記条件を送信してもよい。   When the information related to the transmitter is not acquired even after a predetermined time has elapsed after the transmission of the condition, the condition transmission unit transmits the information to a communication terminal existing in an area different from an area where a part of the plurality of communication terminals exists. Conditions may be sent.

本発明は、発信機から発信された信号をサーチするための異なる条件を、複数の通信端末の一部に送信するステップを備える方法を提供する。   The present invention provides a method comprising transmitting different conditions for searching for a signal transmitted from a transmitter to a part of a plurality of communication terminals.

本発明によれば、発信機を通信端末に効率良くサーチさせることができる。   According to the present invention, a transmitter can be efficiently searched for a communication terminal.

第1実施形態に係る通信システムの全体構成を示す図。The figure which shows the whole structure of the communication system which concerns on 1st Embodiment. サーバ装置のハードウェア構成を示す図。The figure which shows the hardware constitutions of a server apparatus. 第1実施形態に係るデータベースの一例を示す図。The figure which shows an example of the database which concerns on 1st Embodiment. 通信端末のハードウェア構成を示す図。The figure which shows the hardware constitutions of a communication terminal. 第1実施形態に係る通信システムの機能構成を示す図。The figure which shows the function structure of the communication system which concerns on 1st Embodiment. サーチ条件の一例を示す図。The figure which shows an example of search conditions. 第1実施形態に係る通信システムの動作を示すシーケンスチャート。The sequence chart which shows operation | movement of the communication system which concerns on 1st Embodiment. 第1実施形態に係る通信システムの動作を示すシーケンスチャート。The sequence chart which shows operation | movement of the communication system which concerns on 1st Embodiment. センサの設置場所の一例を示す図。The figure which shows an example of the installation place of a sensor. 第2実施形態に係る通信システムの全体構成を示す図。The figure which shows the whole structure of the communication system which concerns on 2nd Embodiment. 第2実施形態に係るデータベースの一例を示す図。The figure which shows an example of the database which concerns on 2nd Embodiment. 第2実施形態に係る通信システムの機能構成を示す図。The figure which shows the function structure of the communication system which concerns on 2nd Embodiment. 第2実施形態に係る通信システムの動作を示すシーケンスチャート。The sequence chart which shows operation | movement of the communication system which concerns on 2nd Embodiment. 第2実施形態に係る通信システムの動作を示すシーケンスチャート。The sequence chart which shows operation | movement of the communication system which concerns on 2nd Embodiment. 探索エリアの一例を示す図。The figure which shows an example of a search area. サーバ装置が行う探索エリアを変更する処理を示すフローチャート。The flowchart which shows the process which changes the search area which a server apparatus performs. 変形例に係る通信システムの機能構成を示す図。The figure which shows the function structure of the communication system which concerns on a modification.

1.第1実施形態
以下、図面を参照して本発明の第1実施形態を説明する。
1. First Embodiment Hereinafter, a first embodiment of the present invention will be described with reference to the drawings.

1−1.構成
図1は、第1実施形態に係る通信システム1の全体構成を示す図である。通信システム1は、サーバ装置10と、複数の通信端末20と、複数のセンサ30とを有する。サーバ装置10と通信端末20とは、ネットワーク2を介して接続される。このネットワーク2には、例えばインターネット、移動体通信網、及び基地局が含まれる。
1-1. Configuration FIG. 1 is a diagram illustrating an overall configuration of a communication system 1 according to the first embodiment. The communication system 1 includes a server device 10, a plurality of communication terminals 20, and a plurality of sensors 30. Server device 10 and communication terminal 20 are connected via network 2. The network 2 includes, for example, the Internet, a mobile communication network, and a base station.

センサ30は、環境に関する物理量を測定する機器である。この環境に関する物理量には、例えば降水量、風向、風速、温度、湿度、紫外線量、花粉の飛散量が含まれる。複数のセンサ30は、互いに異なる場所に設置される。センサ30は、所定のタイミングで物理量を測定し、測定された物理量を示すセンサ情報を格納する。   The sensor 30 is a device that measures a physical quantity related to the environment. The physical quantities related to the environment include, for example, precipitation, wind direction, wind speed, temperature, humidity, ultraviolet light amount, and pollen scattering amount. The plurality of sensors 30 are installed at different locations. The sensor 30 measures a physical quantity at a predetermined timing, and stores sensor information indicating the measured physical quantity.

また、センサ30は、近距離通信機能を有する。具体的には、センサ30は、Bluetooth(登録商標)やZigBee(登録商標)等の近距離無線規格に従ってビーコン情報を発信し、通信範囲31内に存在する通信端末20との間で無線通信を行う。これにより、センサ30に格納されたセンサ情報が通信端末20を介してサーバ装置10にアップロードされる。なお、センサ30は、ネットワーク2に接続する機能を有さないため、ネットワーク2を介してサーバ装置10と通信を行うことはできない。   The sensor 30 has a short-range communication function. Specifically, the sensor 30 transmits beacon information according to a short-range wireless standard such as Bluetooth (registered trademark) or ZigBee (registered trademark), and performs wireless communication with the communication terminal 20 existing in the communication range 31. Do. Thereby, the sensor information stored in the sensor 30 is uploaded to the server device 10 via the communication terminal 20. The sensor 30 does not have a function of connecting to the network 2 and therefore cannot communicate with the server device 10 via the network 2.

(1)サーバ装置10のハードウェア構成
図2は、サーバ装置10のハードウェア構成を示す図である。サーバ装置10は、センサ30からアップロードされたセンサ情報を管理する装置である。サーバ装置10は、制御部11と、記憶部12と、通信部13とを有する。これらの構成要素は、バスを介して接続される。
(1) Hardware Configuration of Server Device 10 FIG. 2 is a diagram illustrating a hardware configuration of the server device 10. The server device 10 is a device that manages sensor information uploaded from the sensor 30. The server device 10 includes a control unit 11, a storage unit 12, and a communication unit 13. These components are connected via a bus.

制御部11は、記憶部12に記憶されたプログラムを実行することにより、データの演算や他の構成要素の制御を行う。制御部11には、例えばCPU(Central Processing Unit)が用いられる。記憶部12は、制御部11により実行されるプログラムや各種のデータを記憶する。記憶部12は、主記憶装置と補助記憶装置とを含む。主記憶装置には、例えばRAM(Random Access Memory)が用いられる。補助記憶装置には、例えばHDD(Hard Disk Drive)が用いられる。記憶部12には、データベース121が記憶される。通信部13は、データ通信を行うための通信インタフェースである。通信部13は、例えばネットワーク2を介して通信端末20とデータ通信を行う。   The control unit 11 executes a program stored in the storage unit 12 to perform calculation of data and control of other components. For example, a CPU (Central Processing Unit) is used as the control unit 11. The storage unit 12 stores programs executed by the control unit 11 and various data. The storage unit 12 includes a main storage device and an auxiliary storage device. For example, a RAM (Random Access Memory) is used as the main storage device. For example, an HDD (Hard Disk Drive) is used as the auxiliary storage device. A database 121 is stored in the storage unit 12. The communication unit 13 is a communication interface for performing data communication. The communication unit 13 performs data communication with the communication terminal 20 via the network 2, for example.

図3は、データベース121の一例を示す図である。データベース121は、センサ情報を管理する。データベース121を構成する各レコードは、「センサID」、「取得間隔」、「接続キー」、「内容」、及び「センサ情報」のフィールドを有する。「センサID」のフィールドには、センサ30を識別するセンサIDが格納される。「取得間隔」は、センサ情報を取得する時間間隔が格納される。「接続キー」のフィールドには、センサ30への接続に必要な接続キーが格納される。この接続キーには、例えば認証パスワードが含まれる。「内容」のフィールドには、センサ情報がどのような情報であるかを示す内容情報が格納される。「センサ情報」のフィールドには、センサ30から取得されたセンサ情報が格納される。   FIG. 3 is a diagram illustrating an example of the database 121. The database 121 manages sensor information. Each record constituting the database 121 has fields of “sensor ID”, “acquisition interval”, “connection key”, “content”, and “sensor information”. A sensor ID for identifying the sensor 30 is stored in the “sensor ID” field. The “acquisition interval” stores a time interval for acquiring sensor information. In the “connection key” field, a connection key necessary for connection to the sensor 30 is stored. This connection key includes, for example, an authentication password. In the “content” field, content information indicating what kind of information the sensor information is stored is stored. In the “sensor information” field, sensor information acquired from the sensor 30 is stored.

(2)通信端末20のハードウェア構成
図4は、通信端末20のハードウェア構成を示す図である。通信端末20は、携帯電話機、スマートフォン、タブレット端末等のユーザにより携帯される装置である。また、通信端末20は、音楽プレーヤや携帯ゲーム機であってもよい。通信端末20は、センサ30からセンサ情報がアップロードされるときに、センサ30とサーバ装置10との間でセンサ情報を中継する。通信端末20は、制御部21と、記憶部22と、通信部23と、操作部24と、表示部25と、音声入出力部26と、測位部27とを有する。これらの構成要素は、バスを介して接続される。
(2) Hardware Configuration of Communication Terminal 20 FIG. 4 is a diagram illustrating a hardware configuration of the communication terminal 20. The communication terminal 20 is a device that is carried by a user such as a mobile phone, a smartphone, and a tablet terminal. The communication terminal 20 may be a music player or a portable game machine. When the sensor information is uploaded from the sensor 30, the communication terminal 20 relays the sensor information between the sensor 30 and the server device 10. The communication terminal 20 includes a control unit 21, a storage unit 22, a communication unit 23, an operation unit 24, a display unit 25, a voice input / output unit 26, and a positioning unit 27. These components are connected via a bus.

制御部21は、記憶部22に記憶されたプログラムを実行することにより、データの演算や他の構成要素の制御を行う。制御部21には、例えばCPUが用いられる。記憶部22は、制御部21により実行されるプログラムや各種のデータを記憶する。記憶部22は、主記憶装置と補助記憶装置とを含む。主記憶装置には、例えばRAMが用いられる。補助記憶装置には、例えばフラッシュメモリが用いられる。   The control unit 21 executes a program stored in the storage unit 22 to perform calculation of data and control of other components. For example, a CPU is used as the control unit 21. The storage unit 22 stores programs executed by the control unit 21 and various data. The storage unit 22 includes a main storage device and an auxiliary storage device. For example, a RAM is used as the main storage device. For example, a flash memory is used as the auxiliary storage device.

通信部23は、データ通信を行うための通信インタフェースである。通信部23は、例えばネットワーク2を介してサーバ装置10とデータ通信を行う。操作部24は、ユーザの操作に応じた信号を制御部21に入力する。操作部24には、例えばタッチパネルや操作ボタンが用いられる。表示部25は、各種の情報を表示する。表示部25には、例えば液晶ディスプレイが用いられる。音声入出力部26は、音声の入出力を行う。音声入出力部26には、例えばマイクロフォンとスピーカとが用いられる。   The communication unit 23 is a communication interface for performing data communication. The communication unit 23 performs data communication with the server device 10 via the network 2, for example. The operation unit 24 inputs a signal corresponding to a user operation to the control unit 21. For the operation unit 24, for example, a touch panel or operation buttons are used. The display unit 25 displays various information. As the display unit 25, for example, a liquid crystal display is used. The voice input / output unit 26 performs voice input / output. For the voice input / output unit 26, for example, a microphone and a speaker are used.

測位部27は、通信端末20の現在の位置を測定する。この位置は、3次元位置であり、水平方向の位置と垂直方向の位置とを含む。測位部27には、例えばGPS(Global Positioning System)センサと気圧センサとが用いられる。GPSセンサは、水平方向の位置である緯度及び経度の測定に用いられる。気圧センサは、垂直方向の位置である高度の測定に用いられる。   The positioning unit 27 measures the current position of the communication terminal 20. This position is a three-dimensional position, and includes a horizontal position and a vertical position. For the positioning unit 27, for example, a GPS (Global Positioning System) sensor and an atmospheric pressure sensor are used. The GPS sensor is used to measure latitude and longitude, which are horizontal positions. The barometric sensor is used to measure altitude, which is a vertical position.

また、測位部27は、GPSが利用できない場合には、アクセスポイントを利用して、水平方向の位置を測定してもよい。具体的には、記憶部22には、予め各アクセスポイントの位置情報が記憶される。測位部27は、通信端末20がアクセスポイントに接続されると、このアクセスポイントから受信した電波の強度と、記憶部22に記憶されたこのアクセスポイントの位置情報とに基づいて、通信端末20の現在の位置(水平方向の位置)を測定する。   In addition, the positioning unit 27 may measure the position in the horizontal direction using an access point when GPS cannot be used. Specifically, location information of each access point is stored in the storage unit 22 in advance. When the communication terminal 20 is connected to the access point, the positioning unit 27 determines whether the communication terminal 20 has the communication terminal 20 based on the strength of the radio wave received from the access point and the location information of the access point stored in the storage unit 22. Measure the current position (horizontal position).

(3)通信システム1の機能構成
図5は、第1実施形態に係る通信システム1の機能構成を示す図である。サーバ装置10は、条件設定部111と、エリア設定部112と、選択部113と、条件送信部114と、管理部115と、解除部116と、拡大部117の機能を有する。これらの機能は、制御部11が1又は複数のプログラムを実行することにより実現される。また、これらの機能は、制御部11と他の構成要素との協働により実現されてもよい。
(3) Functional Configuration of Communication System 1 FIG. 5 is a diagram illustrating a functional configuration of the communication system 1 according to the first embodiment. The server device 10 has functions of a condition setting unit 111, an area setting unit 112, a selection unit 113, a condition transmission unit 114, a management unit 115, a cancellation unit 116, and an enlargement unit 117. These functions are realized by the control unit 11 executing one or a plurality of programs. Further, these functions may be realized by cooperation between the control unit 11 and other components.

条件設定部111は、センサ30毎に、少なくともサーチ期間又はサーチエリアのいずれか一つが異なるように、センサ30(発信機の一例)から発信されたビーコン情報(信号の一例)をサーチするためのサーチ条件を設定する。例えば、条件設定部111は、センサ30が設置されたエリア(サーチエリアの一例)に位置するというサーチ条件を設定する。エリア設定部112は、センサ30が設置されたエリアを対象エリアとして設定する。選択部113は、複数の通信端末20の一部を選択する。例えば、選択部113は、複数の通信端末20から受信した位置情報に基づいて、複数の通信端末20のうち対象エリアに位置する通信端末20を選択する。条件送信部114は、条件設定部111により設定されたサーチ条件を、選択部113により選択された通信端末20に送信する。   The condition setting unit 111 searches for beacon information (an example of a signal) transmitted from the sensor 30 (an example of a transmitter) so that at least one of the search period or the search area is different for each sensor 30. Set search conditions. For example, the condition setting unit 111 sets a search condition that the sensor 30 is located in an area where the sensor 30 is installed (an example of a search area). The area setting unit 112 sets an area where the sensor 30 is installed as a target area. The selection unit 113 selects a part of the plurality of communication terminals 20. For example, the selection unit 113 selects the communication terminal 20 located in the target area among the plurality of communication terminals 20 based on the position information received from the plurality of communication terminals 20. The condition transmission unit 114 transmits the search condition set by the condition setting unit 111 to the communication terminal 20 selected by the selection unit 113.

図6は、サーチ条件の一例を示す図である。図6に示す例では、サーチ条件には、センサIDと、端末IDと、サーチ期間と、サーチエリアとが含まれる。センサIDは、サーチ対象となるセンサ30を識別する情報である。端末IDは、サーチ条件の送信先となる通信端末20を識別する情報である。サーチ期間は、通信端末20がサーチを実行する期間である。サーチエリアは、通信端末20がサーチを実行する領域である。   FIG. 6 is a diagram illustrating an example of search conditions. In the example shown in FIG. 6, the search condition includes a sensor ID, a terminal ID, a search period, and a search area. The sensor ID is information for identifying the sensor 30 to be searched. The terminal ID is information for identifying the communication terminal 20 that is the transmission destination of the search condition. The search period is a period during which the communication terminal 20 performs a search. The search area is an area where the communication terminal 20 performs a search.

図5に戻り、管理部115は、センサ情報(センサ30に関する情報の一例)を格納するデータベース121を管理する。解除部116は、通信端末20からセンサ情報が受信されると、サーチ条件を解除する。拡大部117は、サーチ条件が送信されてから所定の時間経過しても、センサ情報が受信されない場合には、対象エリアを拡大する。   Returning to FIG. 5, the management unit 115 manages the database 121 that stores sensor information (an example of information related to the sensor 30). When the sensor information is received from the communication terminal 20, the canceling unit 116 cancels the search condition. The enlargement unit 117 enlarges the target area when sensor information is not received even after a predetermined time has elapsed since the search condition was transmitted.

通信端末20は、サーチ部211と、取得部212と、情報送信部213と、表示制御部214の機能を有する。ただし、実際には、サーチ部211、取得部212、及び情報送信部213と、表示制御部214とは、別々の通信端末20により実現される。これらの機能は、制御部21が1又は複数のプログラムを実行することにより実現される。また、これらの機能は、制御部21と他の構成要素との協働により実現されてもよい。   The communication terminal 20 has the functions of a search unit 211, an acquisition unit 212, an information transmission unit 213, and a display control unit 214. However, in practice, the search unit 211, the acquisition unit 212, the information transmission unit 213, and the display control unit 214 are realized by separate communication terminals 20. These functions are realized by the control unit 21 executing one or a plurality of programs. Further, these functions may be realized by cooperation between the control unit 21 and other components.

サーチ部211は、サーバ装置10から受信したサーチ条件を受信し、且つ、受信したサーチ条件を満たす場合には、センサ30から発信されたビーコン情報をサーチする。取得部212は、サーチに応じてセンサ30から発信された信号を受信すると、受信した信号の発信元であるセンサ30と通信を行うことにより、そのセンサ30に格納されたセンサ情報を取得する。情報送信部213は、取得部212により取得されたセンサ情報をサーバ装置10に送信する。このセンサ情報は、データベース121に格納される。また、情報送信部213は、所定の時間間隔で、測位部27により測定された位置を示す位置情報をサーバ装置10に送信する。表示制御部214は、データベース121に格納されたセンサ情報を表示部25に表示する。   The search unit 211 receives the search condition received from the server device 10 and searches for the beacon information transmitted from the sensor 30 when the received search condition is satisfied. When the acquisition unit 212 receives a signal transmitted from the sensor 30 in response to the search, the acquisition unit 212 acquires sensor information stored in the sensor 30 by communicating with the sensor 30 that is a transmission source of the received signal. The information transmission unit 213 transmits the sensor information acquired by the acquisition unit 212 to the server device 10. This sensor information is stored in the database 121. In addition, the information transmission unit 213 transmits position information indicating the position measured by the positioning unit 27 to the server device 10 at predetermined time intervals. The display control unit 214 displays the sensor information stored in the database 121 on the display unit 25.

1−2.動作
図7及び図8は、第1実施形態に係る通信システム1の動作を示すシーケンスチャートである。この動作は、センサ30に格納されたセンサ情報をサーバ装置10にアップロードするために行われる。この動作は、データベース121に格納された取得間隔で行われる。例えば図3に示すように、データベース121に格納された取得間隔が「1時間に1回」である場合には、この動作は1時間に1回行われる。取得間隔に応じたタイミングになると、サーバ装置10はステップS101に進む。
1-2. Operation FIGS. 7 and 8 are sequence charts showing the operation of the communication system 1 according to the first embodiment. This operation is performed in order to upload the sensor information stored in the sensor 30 to the server device 10. This operation is performed at an acquisition interval stored in the database 121. For example, as shown in FIG. 3, when the acquisition interval stored in the database 121 is “once per hour”, this operation is performed once per hour. When the timing according to the acquisition interval comes, the server apparatus 10 proceeds to step S101.

ステップS101において、条件設定部111は、センサ30毎に、センサ30のサーチ条件を設定する。このサーチ条件は、例えばセンサ30が設置されたエリアに位置するという条件である。   In step S <b> 101, the condition setting unit 111 sets a search condition for the sensor 30 for each sensor 30. This search condition is, for example, a condition that the sensor 30 is located in an area where the sensor 30 is installed.

図9は、センサ30の設置場所の一例を示す図である。この例では、センサ30‐1及び30‐2は、ショッピングセンター等のビル内に設置されている。具体的には、センサ30‐1はビルの2階に設置されている。また、センサ30‐2はビルの3階に設置されている。この場合、センサ30‐1が設置されたエリアはビルの2階になる。したがって、センサ30‐1については、ビルの2階に位置するというサーチ条件(以下、「第1サーチ条件」という。)が設定される。また、センサ30‐2が設置されたエリアはビルの3階になる。したがって、センサ30‐2については、ビルの3階に位置するというサーチ条件(以下、「第2サーチ条件」という。)が設定される。   FIG. 9 is a diagram illustrating an example of the installation location of the sensor 30. In this example, the sensors 30-1 and 30-2 are installed in a building such as a shopping center. Specifically, the sensor 30-1 is installed on the second floor of the building. The sensor 30-2 is installed on the third floor of the building. In this case, the area where the sensor 30-1 is installed is the second floor of the building. Accordingly, a search condition (hereinafter referred to as “first search condition”) that is located on the second floor of the building is set for the sensor 30-1. The area where the sensor 30-2 is installed is on the third floor of the building. Accordingly, a search condition (hereinafter referred to as “second search condition”) that is located on the third floor of the building is set for the sensor 30-2.

ステップS102において、エリア設定部112は、センサ30毎に、センサ30が設置されたエリアを対象エリアとして設定する。図9に示す例では、センサ30‐1については、ビルの2階が対象エリアとして設定される。センサ30‐2については、ビルの3階が対象エリアとして設定される。   In step S <b> 102, the area setting unit 112 sets, for each sensor 30, the area where the sensor 30 is installed as a target area. In the example shown in FIG. 9, for the sensor 30-1, the second floor of the building is set as the target area. For the sensor 30-2, the third floor of the building is set as the target area.

ステップS103において、選択部113は、各通信端末20から受信した位置情報に基づいて、センサ30毎に、対象エリアに位置する通信端末20をサーチ条件の割り当て先として選択する。図9に示す例では、ビルの2階には、通信端末20‐3〜20‐7が位置する。したがって、通信端末20‐3〜20‐7が第1サーチ条件の割り当て先として選択される。また、ビルの3階には、通信端末20‐8〜20‐12が位置する。したがって、通信端末20‐8〜20‐12が第2サーチ条件の割り当て先として選択される。   In step S <b> 103, the selection unit 113 selects, for each sensor 30, the communication terminal 20 located in the target area as the search condition assignment destination for each sensor 30 based on the position information received from each communication terminal 20. In the example shown in FIG. 9, communication terminals 20-3 to 20-7 are located on the second floor of the building. Accordingly, the communication terminals 20-3 to 20-7 are selected as assignment destinations of the first search condition. Further, communication terminals 20-8 to 20-12 are located on the third floor of the building. Accordingly, the communication terminals 20-8 to 20-12 are selected as assignment destinations of the second search condition.

また、選択部113は、電池残量が閾値より少ない通信端末20を選択対象から除外してもよい。この場合、サーバ装置10には、各通信端末20から電池残量が送信される。選択部113は、各通信端末20から受信した電池残量に基づいて、電池残量が閾値より少ない通信端末20を検出する。選択部113は、検出した通信端末20を選択対象から除外する。   Moreover, the selection part 113 may exclude the communication terminal 20 whose battery remaining amount is less than a threshold value from selection object. In this case, the remaining battery level is transmitted from each communication terminal 20 to the server device 10. The selection unit 113 detects the communication terminal 20 whose battery remaining amount is less than the threshold based on the battery remaining amount received from each communication terminal 20. The selection unit 113 excludes the detected communication terminal 20 from the selection target.

ステップS104において、条件送信部114は、ステップS101で設定されたサーチ条件をその割り当て先として選択された通信端末20に送信する。図9に示す例では、第1サーチ条件が通信端末20‐3〜20‐7に送信され、第2サーチ条件が通信端末20‐8〜20‐12に送信される。通信端末20‐3〜20‐12は、サーバ装置10からサーチ条件を受信すると、ステップS105に進む。   In step S104, the condition transmission unit 114 transmits the search condition set in step S101 to the communication terminal 20 selected as the assignment destination. In the example shown in FIG. 9, the first search condition is transmitted to the communication terminals 20-3 to 20-7, and the second search condition is transmitted to the communication terminals 20-8 to 20-12. When receiving the search condition from the server device 10, the communication terminals 20-3 to 20-12 proceed to step S105.

ステップS105において、サーチ部211は、受信されたサーチ条件を満たすか否かを判断する。具体的には、通信端末20‐3〜20‐7では、第1サーチ条件を満たすか否かが判断される。例えば通信端末20‐3〜20‐7が2階から移動し、他の階に位置した場合には、第1サーチ条件を満たさないと判断される(ステップS105:NO)。この場合、第1サーチ条件を満たすまで、ステップS105の処理が繰り返される。一方、通信端末20‐3〜20‐7が2階に位置する場合には、第1サーチ条件を満たすと判断される(ステップS105:YES)。ここでは、通信端末20‐3〜20‐7は、2階に位置するものとする。この場合、通信端末20‐3〜20‐7は、いずれも第1サーチ条件を満たすと判断し、ステップS106に進む。   In step S105, the search unit 211 determines whether or not the received search condition is satisfied. Specifically, the communication terminals 20-3 to 20-7 determine whether or not the first search condition is satisfied. For example, when the communication terminals 20-3 to 20-7 move from the second floor and are located on other floors, it is determined that the first search condition is not satisfied (step S105: NO). In this case, the process of step S105 is repeated until the first search condition is satisfied. On the other hand, when the communication terminals 20-3 to 20-7 are located on the second floor, it is determined that the first search condition is satisfied (step S105: YES). Here, it is assumed that the communication terminals 20-3 to 20-7 are located on the second floor. In this case, the communication terminals 20-3 to 20-7 all determine that the first search condition is satisfied, and the process proceeds to step S106.

また、通信端末20‐8〜20‐12では、第2サーチ条件を満たすか否かが判断される。例えば通信端末20‐8〜20‐12が3階から移動し、他の階に位置した場合には、第2サーチ条件を満たさないと判断される(ステップS105:NO)。この場合、第2サーチ条件を満たすまで、ステップS105の処理が繰り返される。一方、通信端末20‐8〜20‐12が3階に位置する場合には、第2サーチ条件を満たすと判断される(ステップS105:YES)。ここでは、通信端末20‐8〜20‐12は、3階に位置するものとする。この場合、通信端末20‐8〜20‐12は、いずれも第2サーチ条件を満たすと判断し、ステップS106に進む。   Further, the communication terminals 20-8 to 20-12 determine whether or not the second search condition is satisfied. For example, when the communication terminals 20-8 to 20-12 move from the third floor and are located on other floors, it is determined that the second search condition is not satisfied (step S105: NO). In this case, the process of step S105 is repeated until the second search condition is satisfied. On the other hand, when the communication terminals 20-8 to 20-12 are located on the third floor, it is determined that the second search condition is satisfied (step S105: YES). Here, it is assumed that the communication terminals 20-8 to 20-12 are located on the third floor. In this case, each of the communication terminals 20-8 to 20-12 determines that the second search condition is satisfied, and proceeds to step S106.

ステップS106において、サーチ部211は、近距離無線規格に従って所定の周波数帯をスキャンすることにより、センサ30から発信されたビーコン情報をサーチする。他方、サーバ装置10は、ステップS104でサーチ条件を送信した後、ステップS107に進む。   In step S106, the search unit 211 searches for beacon information transmitted from the sensor 30 by scanning a predetermined frequency band in accordance with the short-range wireless standard. On the other hand, after transmitting the search conditions in step S104, the server device 10 proceeds to step S107.

ステップS107において、拡大部117は、センサ30が発見されたか否かを判断する。例えばステップS104でサーチ条件が送信されてから所定の時間経過しても、センサ情報が受信されない場合には、センサ30が発見されなかったと判断される(ステップS107:NO)。この場合、サーバ装置10は、ステップS108に進み、対象エリアを拡大する処理を行う。対象エリアが拡大されると、再びステップS103〜S107の処理が行われる。この処理は、センサ30が発見されるまで繰り返される。   In step S107, the enlargement unit 117 determines whether the sensor 30 has been found. For example, if sensor information is not received even after a predetermined time has elapsed since the search condition was transmitted in step S104, it is determined that the sensor 30 was not found (step S107: NO). In this case, the server apparatus 10 proceeds to step S108 and performs a process of expanding the target area. When the target area is enlarged, steps S103 to S107 are performed again. This process is repeated until the sensor 30 is found.

ステップS108において、拡大部117は、対象エリアを拡大する。例えば、今回の処理で用いられた対象エリアが、センサ30が設置されたエリアである場合、対象エリアは、センサ30が設置されたエリア及びこれに隣接するエリアに拡大される。例えば図9に示すビルの2階が対象エリアである場合、この対象エリアはビルの1〜3階に拡大される。また、図9に示すビルの3階が対象エリアである場合、この対象エリアはビルの2〜4階に拡大される。このように、隣接するエリアは、垂直方向に隣接するエリアであってもよい。   In step S108, the enlargement unit 117 enlarges the target area. For example, when the target area used in the current process is an area where the sensor 30 is installed, the target area is expanded to an area where the sensor 30 is installed and an area adjacent thereto. For example, when the second floor of the building shown in FIG. 9 is the target area, this target area is expanded to the first to third floors of the building. Further, when the third floor of the building shown in FIG. 9 is the target area, this target area is expanded to the second to fourth floors of the building. Thus, the adjacent areas may be areas that are adjacent in the vertical direction.

図9に示す例では、ビルの1〜3階には、通信端末20‐1〜20‐12が位置する。また、ビルの2〜4階には、通信端末20‐3〜20‐15が位置する。この場合、次のステップS103では、センサ30‐1については通信端末20‐1〜20‐12が選択され、センサ30‐2については通信端末20‐3〜20‐15が選択される。次のステップS104では、第1サーチ条件が通信端末20‐1〜20‐12に送信され、第2サーチ条件が通信端末20‐3〜20‐15に送信される。新たに第1サーチ条件が送信された通信端末20‐1、20‐2、20‐8〜20‐12は、前回のステップS104で第1サーチ条件が送信された通信端末20‐3〜20‐7が存在するエリアとは異なるエリアに存在する。また、新たに第2サーチ条件が送信された通信端末20‐3〜20‐7及び20‐13〜20‐15は、前回のステップS104で第2サーチ条件が送信された通信端末20‐8〜20‐12が存在するエリアとは異なるエリアに存在する。この場合、例えば通信端末20‐1、20‐2、20‐8〜20‐12がビルの2階に移動すると、通信端末20‐1、20‐2、20‐8〜20‐12もサーチを行う。また、通信端末20‐3〜20‐7及び20‐13〜20‐15がビルの3階に移動すると、通信端末20‐3〜20‐7及び20‐13〜20‐15もサーチを行う。   In the example shown in FIG. 9, communication terminals 20-1 to 20-12 are located on the first to third floors of the building. Communication terminals 20-3 to 20-15 are located on the 2nd to 4th floors of the building. In this case, in the next step S103, the communication terminals 20-1 to 20-12 are selected for the sensor 30-1, and the communication terminals 20-3 to 20-15 are selected for the sensor 30-2. In the next step S104, the first search condition is transmitted to the communication terminals 20-1 to 20-12, and the second search condition is transmitted to the communication terminals 20-3 to 20-15. The communication terminals 20-1, 20-2, 20-8 to 20-12 to which the first search condition is newly transmitted are the communication terminals 20-3 to 20- to which the first search condition is transmitted in the previous step S104. 7 exists in an area different from the area where 7 exists. Further, the communication terminals 20-3 to 20-7 and 20-13 to 20-15 to which the second search condition is newly transmitted are the communication terminals 20-8 to 20-8 to which the second search condition is transmitted in the previous step S104. It exists in an area different from the area where 20-12 exists. In this case, for example, when the communication terminals 20-1, 20-2, 20-8 to 20-12 move to the second floor of the building, the communication terminals 20-1, 20-2, 20-8 to 20-12 also search. Do. When the communication terminals 20-3 to 20-7 and 20-13 to 20-15 move to the third floor of the building, the communication terminals 20-3 to 20-7 and 20-13 to 20-15 also perform a search.

サーバ装置10からサーチ条件を受信した通信端末20のいずれかが、センサ30の通信範囲31に移動すると、このセンサ30が発見される。ここでは、通信端末20‐3がセンサ30‐1の通信範囲31‐1に移動し、センサ30‐1を発見したものとする。この場合、通信端末20‐3は、図8に示すステップS109に進む。   When any of the communication terminals 20 that have received the search conditions from the server device 10 moves to the communication range 31 of the sensor 30, the sensor 30 is discovered. Here, it is assumed that the communication terminal 20-3 moves to the communication range 31-1 of the sensor 30-1 and discovers the sensor 30-1. In this case, the communication terminal 20-3 proceeds to step S109 shown in FIG.

ステップS109において、サーチ部211は、センサ30‐1からビーコン情報を受信する。このビーコン情報には、センサ30‐1を識別するセンサID「S1」が含まれる。   In step S109, the search unit 211 receives beacon information from the sensor 30-1. This beacon information includes a sensor ID “S1” for identifying the sensor 30-1.

ステップS110において、情報送信部213は、受信されたビーコン情報をサーバ装置10に送信する。サーバ装置10は、通信端末20からビーコン情報を受信すると、センサ30が発見されたと判断し(図7に示すステップS107:YES)、ステップS111に進む。   In step S <b> 110, the information transmission unit 213 transmits the received beacon information to the server device 10. When receiving the beacon information from the communication terminal 20, the server device 10 determines that the sensor 30 has been found (step S107: YES shown in FIG. 7), and proceeds to step S111.

ステップS111において、管理部115は、センサ30‐1のセンサ情報の取得に必要な接続キー及び内容情報をデータベース121から読み出して、通信端末20‐3に送信する。具体的には、管理部115は、図3に示すデータベース121から、センサID「S1」と関連付けて格納された接続キー「K1」及び内容情報「温度情報及び湿度情報」を読み出す。管理部115は、読み出した接続キー及び内容情報を通信端末20‐3に送信する。通信端末20‐3は、サーバ装置10から接続キー及び内容情報を受信すると、ステップS112に進む。   In step S111, the management unit 115 reads a connection key and content information necessary for acquiring sensor information of the sensor 30-1 from the database 121, and transmits the connection key and content information to the communication terminal 20-3. Specifically, the management unit 115 reads the connection key “K1” and the content information “temperature information and humidity information” stored in association with the sensor ID “S1” from the database 121 illustrated in FIG. The management unit 115 transmits the read connection key and content information to the communication terminal 20-3. When receiving the connection key and the content information from the server device 10, the communication terminal 20-3 proceeds to Step S112.

ステップS112において、取得部212は、近距離無線規格に従って、受信された接続キーを用いてセンサ30‐1と接続する。具体的には、接続キー「K1」を用いてセンサ30‐1と接続する。これにより、通信端末20‐3とセンサ30‐1との間に通信が確立される。   In step S112, the acquisition unit 212 connects to the sensor 30-1 using the received connection key in accordance with the short-range wireless standard. Specifically, the connection is made with the sensor 30-1 using the connection key “K1”. As a result, communication is established between the communication terminal 20-3 and the sensor 30-1.

ステップS113において、取得部212は、ステップS111で受信された内容情報に基づいて、センサ30‐1からセンサ情報を取得する。具体的には、取得部212は、センサ情報の取得要求をセンサ30‐1に送信する。この取得要求には、内容情報「温度情報及び湿度情報」が含まれる。センサ30‐1は、通信端末20‐3から取得要求を受信すると、センサ30‐1に格納された温度情報及び湿度情報をセンサ情報として通信端末20‐3に送信する。なお、センサ情報は、暗号化されてもよい。例えば、センサ情報は、センサ30‐1の所有者が使用する通信端末20の公開鍵で暗号化されてもよいし、サーバ装置10の公開鍵で暗号化されてもよい。通信端末20‐3は、センサ30‐1からセンサ情報を受信するとステップS114に進む。   In step S113, the acquisition unit 212 acquires sensor information from the sensor 30-1 based on the content information received in step S111. Specifically, the acquisition unit 212 transmits a sensor information acquisition request to the sensor 30-1. This acquisition request includes content information “temperature information and humidity information”. When receiving the acquisition request from the communication terminal 20-3, the sensor 30-1 transmits the temperature information and humidity information stored in the sensor 30-1 to the communication terminal 20-3 as sensor information. The sensor information may be encrypted. For example, the sensor information may be encrypted with the public key of the communication terminal 20 used by the owner of the sensor 30-1 or may be encrypted with the public key of the server device 10. When receiving the sensor information from the sensor 30-1, the communication terminal 20-3 proceeds to step S114.

ステップS114において、情報送信部213は、受信されたセンサ情報をサーバ装置10に送信する。   In step S <b> 114, the information transmission unit 213 transmits the received sensor information to the server device 10.

ステップS115において、取得部212は、センサ30‐1との接続を切断する。これにより、センサ30‐1との通信が終了する。一方、サーバ装置10は、通信端末20‐3からセンサ情報を受信すると、ステップS116に進む。   In step S115, the acquisition unit 212 disconnects the connection with the sensor 30-1. Thereby, the communication with the sensor 30-1 is completed. On the other hand, when receiving the sensor information from the communication terminal 20-3, the server device 10 proceeds to step S116.

ステップS116において、管理部115は、受信されたセンサ情報をデータベース121に格納する。具体的には、管理部115は、図3に示すデータベース121にて、センサID「S1」を含むレコードにセンサ情報を格納する。なお、センサ情報がセンサ30の所有者が使用する通信端末20の公開鍵で暗号化されている場合には、センサ情報は暗号化された状態でデータベース121に格納されてもよい。これにより、第三者の通信端末20を介して取得されたセンサ情報を第三者に閲覧されることなく、センサ30の所有者のみが閲覧できる。一方、センサ情報がサーバ装置10の公開鍵で暗号化されている場合には、管理部115は、センサ情報を復号せずにデータベース121に格納してもよいし、サーバ装置10の秘密鍵を用いてセンサ情報を復号してからデータベース121に格納してもよい。この場合にも、ユーザの通信端末20からセンサ情報の閲覧や取得が要求された場合に、センサ40の所有者であると判定されることを条件として取得や取得を許可する等のアクセス制限を行うことにより、センサ情報を第三者が閲覧できないようにすることができる。   In step S <b> 116, the management unit 115 stores the received sensor information in the database 121. Specifically, the management unit 115 stores the sensor information in a record including the sensor ID “S1” in the database 121 illustrated in FIG. If the sensor information is encrypted with the public key of the communication terminal 20 used by the owner of the sensor 30, the sensor information may be stored in the database 121 in an encrypted state. Thereby, only the owner of the sensor 30 can browse without the sensor information acquired via the communication terminal 20 of the third party being browsed by the third party. On the other hand, when the sensor information is encrypted with the public key of the server device 10, the management unit 115 may store the sensor information in the database 121 without decrypting the sensor information, or may store the secret key of the server device 10. The sensor information may be decrypted using the data and stored in the database 121. Also in this case, when browsing or acquisition of sensor information is requested from the user's communication terminal 20, access restrictions such as permitting acquisition or acquisition are provided on condition that it is determined that the sensor 40 is the owner. By doing so, it is possible to prevent the third party from browsing the sensor information.

ステップS116でセンサ30‐1のセンサ情報が格納されると、サーバ装置10は、第1サーチ条件を解除する。具体的には、解除部116は、図7に示すステップS104で第1サーチ条件が送信された全ての通信端末20に、第1サーチ条件の解除要求を送信する。サーバ装置10から解除要求を受信すると、これらの通信端末20は、ステップS105及びS106の処理を終了する。   When the sensor information of the sensor 30-1 is stored in step S116, the server device 10 cancels the first search condition. Specifically, the cancellation unit 116 transmits a request for canceling the first search condition to all the communication terminals 20 to which the first search condition has been transmitted in step S104 illustrated in FIG. When receiving a release request from the server device 10, these communication terminals 20 end the processes of steps S105 and S106.

また、サーバ装置10から第2サーチ条件を受信した通信端末20のいずれかが、センサ30‐2の通信範囲31‐2に移動し、センサ30‐2を発見した場合にも、上述したステップS109〜S116と同様の処理が行われる。そして、ステップS116でセンサ30‐2のセンサ情報が格納されると、サーバ装置10は、第2サーチ条件を解除する。具体的には、解除部116は、ステップS104で第2サーチ条件が送信された全ての通信端末20に、第2サーチ条件の解除要求を送信する。サーバ装置10から解除要求を受信すると、これらの通信端末20は、ステップS105及びS106の処理を終了する。   Even when any of the communication terminals 20 receiving the second search condition from the server device 10 moves to the communication range 31-2 of the sensor 30-2 and finds the sensor 30-2, the above-described step S109 is performed. Processing similar to that in S116 is performed. When the sensor information of the sensor 30-2 is stored in step S116, the server device 10 cancels the second search condition. Specifically, the cancellation unit 116 transmits a request for canceling the second search condition to all the communication terminals 20 to which the second search condition has been transmitted in step S104. When receiving a release request from the server device 10, these communication terminals 20 end the processes of steps S105 and S106.

センサ30の所有者は、自分の通信端末20を用いて、サーバ装置10に格納されたセンサ30のセンサ情報を利用することができる。ここでは、センサ30‐1の所有者が通信端末20‐16を用いて、センサ30‐1のセンサ情報を閲覧するものとする。この場合、所有者は、通信端末20‐16の操作部24を用いて、センサ情報の表示を指示する操作を行う。この操作が行われると、通信端末20‐16はステップS117に進む。   The owner of the sensor 30 can use the sensor information of the sensor 30 stored in the server device 10 using his / her communication terminal 20. Here, it is assumed that the owner of the sensor 30-1 browses the sensor information of the sensor 30-1 using the communication terminal 20-16. In this case, the owner uses the operation unit 24 of the communication terminal 20-16 to perform an operation for instructing display of sensor information. When this operation is performed, the communication terminal 20-16 proceeds to step S117.

ステップS117において、表示制御部214は、サーバ装置10にセンサ情報の取得要求を送信する。この取得要求には、センサ30‐1のセンサID「S1」が含まれる。サーバ装置10は、通信端末20‐16から取得要求を受信すると、ステップS118に進む。   In step S <b> 117, the display control unit 214 transmits a sensor information acquisition request to the server device 10. This acquisition request includes the sensor ID “S1” of the sensor 30-1. When receiving the acquisition request from the communication terminal 20-16, the server apparatus 10 proceeds to step S118.

ステップS118において、管理部115は、センサ30‐1のセンサ情報をデータベース121から読み出して、通信端末20‐16に送信する。具体的には、管理部115は、データベース121から、センサID「S1」と関連付けて格納されたセンサ情報を読み出す。管理部115は、読み出したセンサ情報を通信端末20‐16に送信する。通信端末20‐16は、サーバ装置10からセンサ情報を受信するとステップS119に進む。   In step S118, the management unit 115 reads the sensor information of the sensor 30-1 from the database 121 and transmits it to the communication terminal 20-16. Specifically, the management unit 115 reads the sensor information stored in association with the sensor ID “S1” from the database 121. The management unit 115 transmits the read sensor information to the communication terminal 20-16. When the communication terminal 20-16 receives the sensor information from the server device 10, the communication terminal 20-16 proceeds to step S119.

ステップS119において、表示制御部214は、受信されたセンサ情報を表示部25に表示する。これにより、所有者は、センサ30‐1のセンサ情報を閲覧することができる。   In step S119, the display control unit 214 displays the received sensor information on the display unit 25. Thereby, the owner can browse the sensor information of the sensor 30-1.

第1実施形態によれば、サーバ装置10から第1サーチ条件が割り当てられた通信端末20によりセンサ30‐1のサーチが行われ、サーバ装置10から第2サーチ情報が割り当てられた通信端末20によりセンサ30‐2のサーチが行われる。このように、複数の通信端末20が分担してセンサ30をサーチすることにより、効率よくセンサ30をサーチすることができる。   According to the first embodiment, a search for the sensor 30-1 is performed by the communication terminal 20 to which the first search condition is assigned from the server device 10, and the communication terminal 20 to which the second search information is assigned from the server device 10. A search for sensor 30-2 is performed. In this way, the plurality of communication terminals 20 share and search for the sensor 30, whereby the sensor 30 can be searched efficiently.

2.第2実施形態
以下、図面を参照して本発明の第2実施形態を説明する。以下の説明では、第1実施形態と異なる点を中心に説明する。
2. Second Embodiment Hereinafter, a second embodiment of the present invention will be described with reference to the drawings. In the following description, differences from the first embodiment will be mainly described.

2−1.構成
図10は、第2実施形態に係る通信システム3の全体構成を示す図である。通信システム3は、第1実施形態で説明した通信システム1と同様に、サーバ装置10と、複数の通信端末20とを有する。また、通信システム3は、複数のタグ40を有する。
2-1. Configuration FIG. 10 is a diagram illustrating an overall configuration of a communication system 3 according to the second embodiment. Similar to the communication system 1 described in the first embodiment, the communication system 3 includes a server device 10 and a plurality of communication terminals 20. The communication system 3 has a plurality of tags 40.

タグ40は、ユーザの所有物に貼り付けられ、ユーザが所有物を紛失したときに、この所有物を発見するために用いられる。タグ40は、第1実施形態で説明したセンサ30と同様に、近距離通信機能を有する。具体的には、タグ40は、BluetoothやZigBee等の近距離無線規格に従ってビーコン情報を発信し、通信範囲41内に存在する通信端末20との間で無線通信を行う。タグ40からビーコン情報を受信した通信端末20は、タグ40の近くに位置することになる。したがって、この通信端末20の位置情報が得られれば、タグ40の位置、すなわち所有物の位置が分かる。   The tag 40 is affixed to the user's property and is used to find the property when the user loses the property. The tag 40 has a short-range communication function, like the sensor 30 described in the first embodiment. Specifically, the tag 40 transmits beacon information according to a short-range wireless standard such as Bluetooth or ZigBee, and performs wireless communication with the communication terminal 20 existing within the communication range 41. The communication terminal 20 that has received the beacon information from the tag 40 is located near the tag 40. Therefore, if the position information of the communication terminal 20 is obtained, the position of the tag 40, that is, the position of the property can be known.

図11は、第2実施形態に係るデータベース122の一例を示す図である。記憶部12には、第1実施形態で説明したデータベース121に代えて、データベース122が格納される。データベース122は、タグ40の位置情報を管理する。データベース122を構成する各レコードは、「タグID」、「位置情報」、及び「探索状態」のフィールドを有する。「タグID」のフィールドには、タグ40を識別するタグIDが格納される。「位置情報」のフィールドには、タグ40の位置情報が格納される。「探索状態」のフィールドには、タグ40が探索されているか否かを示す情報が格納される。   FIG. 11 is a diagram illustrating an example of the database 122 according to the second embodiment. The storage unit 12 stores a database 122 instead of the database 121 described in the first embodiment. The database 122 manages the position information of the tag 40. Each record constituting the database 122 has fields of “tag ID”, “position information”, and “search state”. A tag ID for identifying the tag 40 is stored in the “tag ID” field. The position information of the tag 40 is stored in the “position information” field. The “search state” field stores information indicating whether or not the tag 40 is being searched.

図12は、第2実施形態に係る通信システム3の機能構成を示す図である。サーバ装置10は、エリア設定部131と、条件設定部132と、選択部133と、条件送信部134と、管理部135と、解除部136と、変更部137と、拡大部138の機能を有する。これらの機能は、制御部11が1又は複数のプログラムを実行することにより実現される。また、これらの機能は、制御部11と他の構成要素との協働により実現されてもよい。   FIG. 12 is a diagram illustrating a functional configuration of the communication system 3 according to the second embodiment. The server device 10 has functions of an area setting unit 131, a condition setting unit 132, a selection unit 133, a condition transmission unit 134, a management unit 135, a release unit 136, a change unit 137, and an enlargement unit 138. . These functions are realized by the control unit 11 executing one or a plurality of programs. Further, these functions may be realized by cooperation between the control unit 11 and other components.

エリア設定部131は、タグ40の探索エリアを設定する。条件設定部132は、タグ40から発信されたビーコン情報(信号の一例)をサーチするためのサーチ条件を設定する。例えば、条件設定部132は、エリア設定部131により設定された探索エリアに位置するというサーチ条件を設定する。選択部133は、複数の通信端末20の一部を選択する。例えば、選択部133は、複数の通信端末20から受信した位置情報に基づいて、複数の通信端末20のうち探索エリアに位置する通信端末20を選択する。条件送信部134は、条件設定部132により設定されたサーチ条件を、選択部133により選択された通信端末20に送信する。管理部135は、位置情報(タグ40に関する情報の一例)を格納するデータベース122を管理する。解除部136は、通信端末20から位置情報が受信されると、サーチ条件を解除する。変更部137は、探索エリアを変更する。拡大部138は、サーチ条件が送信されてから所定の時間経過しても、位置情報が受信されない場合には、エリア設定部131により設定された探索エリアを拡大する。また、選択部133は、拡大部138により探索エリアが拡大された場合には、複数の通信端末20のうち拡大された探索エリアに位置する通信端末20を選択する。   The area setting unit 131 sets a search area for the tag 40. The condition setting unit 132 sets search conditions for searching for beacon information (an example of a signal) transmitted from the tag 40. For example, the condition setting unit 132 sets a search condition to be located in the search area set by the area setting unit 131. The selection unit 133 selects a part of the plurality of communication terminals 20. For example, the selection unit 133 selects the communication terminal 20 located in the search area among the plurality of communication terminals 20 based on the position information received from the plurality of communication terminals 20. The condition transmission unit 134 transmits the search condition set by the condition setting unit 132 to the communication terminal 20 selected by the selection unit 133. The management unit 135 manages the database 122 that stores position information (an example of information related to the tag 40). When the position information is received from the communication terminal 20, the canceling unit 136 cancels the search condition. The changing unit 137 changes the search area. The enlargement unit 138 enlarges the search area set by the area setting unit 131 when position information is not received even after a predetermined time has elapsed since the search condition was transmitted. Further, when the search area is enlarged by the enlargement unit 138, the selection unit 133 selects the communication terminal 20 located in the enlarged search area among the plurality of communication terminals 20.

通信端末20は、サーチ部221と、情報送信部222と、表示制御部223の機能を有する。ただし、実際には、サーチ部221及び情報送信部222と、表示制御部223とは、別々の通信端末20により実現される。これらの機能は、制御部21が1又は複数のプログラムを実行することにより実現される。また、これらの機能は、制御部21と他の構成要素との協働により実現されてもよい。   The communication terminal 20 has functions of a search unit 221, an information transmission unit 222, and a display control unit 223. However, in practice, the search unit 221, the information transmission unit 222, and the display control unit 223 are realized by separate communication terminals 20. These functions are realized by the control unit 21 executing one or a plurality of programs. Further, these functions may be realized by cooperation between the control unit 21 and other components.

サーチ部221は、サーバ装置10からサーチ条件を受信し、且つ、受信したサーチ条件を満たす場合には、タグ40から発信されたビーコン情報をサーチする。情報送信部222は、サーチに応じてビーコン情報を受信した場合、測位部27により測定された位置を示す位置情報をサーバ装置10に送信する。この位置情報は、データベース122に格納される。また、情報送信部222は、所定の時間間隔で、測位部27により測定された位置を示す位置情報をサーバ装置10に送信する。表示制御部223は、データベース122に格納された位置情報を表示部25に表示する。   The search unit 221 searches for beacon information transmitted from the tag 40 if the search condition is received from the server device 10 and the received search condition is satisfied. When receiving the beacon information in response to the search, the information transmission unit 222 transmits position information indicating the position measured by the positioning unit 27 to the server device 10. This position information is stored in the database 122. The information transmission unit 222 transmits position information indicating the position measured by the positioning unit 27 to the server device 10 at a predetermined time interval. The display control unit 223 displays the position information stored in the database 122 on the display unit 25.

2−2.動作
図13及び図14は、第2実施形態に係る通信システム3の動作を示すシーケンスチャートである。この動作は、ユーザが紛失した所有物を探すときに行われる。ここでは、ユーザがタグ40‐1の貼り付けられた紛失物を探すものとする。タグ40‐1は、ユーザが使用する通信端末20‐20と予めリンクされている。通信端末20‐20は、所定の時間間隔で、測位部27により測定された位置を示す位置情報と、接続中のセンサ30を識別するセンサIDと、接続中のアクセスポイントを識別するアクセスポイントIDと、接続中の基地局を識別する基地局IDと、タグ40‐1とのリンクの有無を示すリンク情報とをサーバ装置10に送信する。ユーザは、通信端末20‐20の操作部24を用いて、タグ40‐1の探索を指示する操作を行う。この操作が行われると、通信端末20‐20はステップS201に進む。
2-2. Operation FIGS. 13 and 14 are sequence charts showing the operation of the communication system 3 according to the second embodiment. This operation is performed when the user searches for lost property. Here, it is assumed that the user searches for a lost item to which the tag 40-1 is attached. The tag 40-1 is linked in advance with the communication terminal 20-20 used by the user. The communication terminal 20-20 includes position information indicating the position measured by the positioning unit 27 at a predetermined time interval, a sensor ID for identifying the connected sensor 30, and an access point ID for identifying the connected access point. And the base station ID for identifying the currently connected base station and the link information indicating the presence or absence of the link with the tag 40-1 are transmitted to the server device 10. The user uses the operation unit 24 of the communication terminal 20-20 to perform an operation for instructing the search for the tag 40-1. When this operation is performed, the communication terminal 20-20 proceeds to step S201.

ステップS201において、通信端末20‐20は、タグ40‐1の探索要求を送信する。この探索要求には、タグ40‐1のタグID「T1」が含まれる。サーバ装置10は、通信端末20‐20から探索要求を受信すると、ステップS202に進む。   In step S201, the communication terminal 20-20 transmits a search request for the tag 40-1. This search request includes the tag ID “T1” of the tag 40-1. When receiving the search request from the communication terminal 20-20, the server apparatus 10 proceeds to step S202.

ステップS202において、管理部135は、タグ40‐1の探索状態を変更する。具体的には、管理部135は、図11に示すデータベース122にて、タグID「T1」を含むレコードに探索状態「探索中」を格納する。この「探索中」という探索状態は、タグ40‐1が探索されていることを示す。   In step S202, the management unit 135 changes the search state of the tag 40-1. Specifically, the management unit 135 stores the search state “searching” in the record including the tag ID “T1” in the database 122 illustrated in FIG. 11. The search state “searching” indicates that the tag 40-1 is being searched.

ステップS203において、エリア設定部131は、タグ40‐1の探索エリアを設定する。具体的には、エリア設定部131は、まずタグ40‐1が最後に確認された位置を候補位置Pとして設定する。上述したように、サーバ装置10には、通信端末20‐20から所定の時間間隔で位置情報とリンク情報とを含む情報が送信される。通信端末20‐20から受信された位置情報の履歴において、リンクが有ることを示すリンク情報とともに受信された最後の位置情報の示す位置が、タグ40‐1が最後に確認された位置となる。したがって、この位置情報が示す位置が、候補位置Pとして設定される。   In step S203, the area setting unit 131 sets a search area for the tag 40-1. Specifically, the area setting unit 131 first sets the position where the tag 40-1 was last confirmed as the candidate position P. As described above, information including position information and link information is transmitted to the server device 10 from the communication terminal 20-20 at a predetermined time interval. In the position information history received from the communication terminal 20-20, the position indicated by the last position information received together with the link information indicating that there is a link is the position where the tag 40-1 was last confirmed. Therefore, the position indicated by the position information is set as the candidate position P.

続いて、エリア設定部131は、候補位置Pの近くに設置されたセンサ30の通信範囲31を、探索エリアとして設定する。図15は、探索エリアの一例を示す図である。この例では、候補位置Pの近くにセンサ30が設置されている。上述したように、サーバ装置10には、通信端末20‐20から所定の時間間隔でセンサIDとリンク情報とを含む情報が送信される。センサ30は、例えば通信端末20‐20から受信されたセンサIDの履歴において、リンクが有ることを示すリンク情報とともに受信された最後のセンサIDにより示される。この場合、センサ30の通信範囲31が探索エリアとして設定される。   Subsequently, the area setting unit 131 sets the communication range 31 of the sensor 30 installed near the candidate position P as a search area. FIG. 15 is a diagram illustrating an example of a search area. In this example, the sensor 30 is installed near the candidate position P. As described above, information including the sensor ID and the link information is transmitted to the server device 10 from the communication terminal 20-20 at a predetermined time interval. The sensor 30 is indicated by, for example, the last sensor ID received together with link information indicating that there is a link in the history of sensor IDs received from the communication terminal 20-20. In this case, the communication range 31 of the sensor 30 is set as the search area.

ステップS204において、条件設定部132は、タグ40‐1のサーチ条件を設定する。このサーチ条件は、探索エリアに位置し、且つ、所定の時間(サーチ期間の一例)内であることである。この所定の時間は、例えば1時間である。   In step S204, the condition setting unit 132 sets search conditions for the tag 40-1. This search condition is to be located in the search area and within a predetermined time (an example of a search period). This predetermined time is, for example, one hour.

ステップS205において、選択部133は、各通信端末20から受信した位置情報に基づいて、探索エリアに位置する通信端末20をサーチ条件の割り当て先として選択する。図15に示す例では、センサ30の通信範囲31に位置する通信端末20‐21〜20‐25が選択される。また、選択部133は、第1実施形態で説明したように、電池残量が閾値より少ない通信端末20を選択対象から除外してもよい。   In step S205, the selection unit 133 selects the communication terminal 20 located in the search area as a search condition assignment destination based on the position information received from each communication terminal 20. In the example illustrated in FIG. 15, the communication terminals 20-21 to 20-25 located in the communication range 31 of the sensor 30 are selected. Further, as described in the first embodiment, the selection unit 133 may exclude the communication terminal 20 having a remaining battery level less than the threshold from the selection target.

ステップS206において、条件送信部134は、ステップS204で設定されたサーチ条件をその割り当て先として選択された通信端末20に送信する。図15に示す例では、サーチ条件が通信端末20‐21〜20‐25に送信される。通信端末20‐21〜20‐25は、サーバ装置10からサーチ条件を受信すると、ステップS207に進む。   In step S206, the condition transmission unit 134 transmits the search condition set in step S204 to the communication terminal 20 selected as the assignment destination. In the example shown in FIG. 15, the search condition is transmitted to the communication terminals 20-21 to 20-25. Upon receiving the search condition from the server device 10, the communication terminals 20-21 to 20-25 proceed to step S207.

ステップS207において、サーチ部221は、受信されたサーチ条件を満たすか否かを判断する。例えばサーチ条件を受信してから所定の時間を経過した場合、又は、通信端末20‐21〜20‐25がセンサ30の通信範囲31の外に移動した場合には、サーチ条件を満たさないと判断される(ステップ207:NO)。この場合、サーチ条件を満たすまで、ステップS207の処理が繰り返される。一方、サーチ条件を受信してから所定の時間内であり、且つ、通信端末20‐21〜20‐25がセンサ30の通信範囲31に位置する場合には、サーチ条件を満たすと判断される(ステップS207:YES)。ここでは、通信端末20‐21〜20‐25は、サーチ条件を受信してから所定の時間内にセンサ30の通信範囲31に位置するものとする。この場合、通信端末20‐21〜20‐25は、いずれもサーチ条件を満たすと判断し、ステップS208に進む。   In step S207, the search unit 221 determines whether or not the received search condition is satisfied. For example, when a predetermined time has elapsed after receiving the search condition, or when the communication terminals 20-21 to 20-25 move outside the communication range 31 of the sensor 30, it is determined that the search condition is not satisfied. (Step 207: NO). In this case, the process of step S207 is repeated until the search condition is satisfied. On the other hand, when the search condition is received within a predetermined time and the communication terminals 20-21 to 20-25 are located in the communication range 31 of the sensor 30, it is determined that the search condition is satisfied ( Step S207: YES). Here, it is assumed that the communication terminals 20-21 to 20-25 are located in the communication range 31 of the sensor 30 within a predetermined time after receiving the search condition. In this case, the communication terminals 20-21 to 20-25 all determine that the search condition is satisfied, and the process proceeds to step S208.

ステップS208において、サーチ部221は、近距離無線規格に従って所定の周波数帯をスキャンすることにより、タグ40から発信されたビーコン情報をサーチする。他方、サーバ装置10は、ステップS206でサーチ条件を送信した後、ステップS209に進む。   In step S208, the search unit 221 searches for the beacon information transmitted from the tag 40 by scanning a predetermined frequency band according to the short-range wireless standard. On the other hand, after transmitting the search condition in step S206, the server device 10 proceeds to step S209.

ステップS209において、変更部137は、タグ40‐1が発見されたか否かを判断する。例えばステップS206でサーチ条件が送信されてから所定の時間経過しても、位置情報が受信されない場合には、タグ40‐1が発見されなかったと判断される(ステップS209:NO)。この場合、サーバ装置10は、図16に示すステップS301に進み、探索エリアを変更する処理を行う。探索エリアが変更されると、再びステップS204〜S209の処理が行われる。この処理は、タグ40‐1が発見されるまで繰り返される。   In step S209, the changing unit 137 determines whether or not the tag 40-1 has been found. For example, if the position information is not received even after a predetermined time has elapsed since the search condition was transmitted in step S206, it is determined that the tag 40-1 has not been found (step S209: NO). In this case, the server apparatus 10 proceeds to step S301 shown in FIG. 16 and performs processing for changing the search area. When the search area is changed, the processes in steps S204 to S209 are performed again. This process is repeated until the tag 40-1 is found.

図16は、サーバ装置10が行う探索エリアを変更する処理を示すフローチャートである。ステップS301において、変更部137は、今回の処理で用いられた探索エリアが最大の探索エリアであるか否かを判断する。図15に示す例では、センサ30の通信範囲31は最小の探索エリアである。アクセスポイント50の通信範囲51は、2番目に小さい探索エリアである。基地局60の通信範囲61は、最大の探索エリアである。今回の処理で用いられた探索エリアは、センサ30の通信範囲31であるため、最大の探索エリアではないと判断される(ステップS301:NO)。この場合、サーバ装置10は、ステップS302に進む。   FIG. 16 is a flowchart illustrating processing for changing the search area performed by the server device 10. In step S301, the changing unit 137 determines whether or not the search area used in the current process is the maximum search area. In the example shown in FIG. 15, the communication range 31 of the sensor 30 is the smallest search area. The communication range 51 of the access point 50 is the second smallest search area. The communication range 61 of the base station 60 is the maximum search area. Since the search area used in the current process is the communication range 31 of the sensor 30, it is determined that it is not the maximum search area (step S301: NO). In this case, the server apparatus 10 proceeds to step S302.

ステップS302において、拡大部138は、探索エリアを拡大する。図15に示す例では、候補位置Pの近くにアクセスポイント50が設置されている。上述したように、サーバ装置10には、通信端末20‐20から所定の時間間隔でアクセスポイントIDとリンク情報とを含む情報が送信される。アクセスポイント50は、例えば通信端末20‐20から受信されたアクセスポイントIDの履歴において、リンクが有ることを示すリンク情報とともに受信された最後のアクセスポイントIDにより示される。このアクセスポイント50の通信範囲51は、センサ30の通信範囲31より大きい。この場合、探索エリアは、アクセスポイント50の通信範囲51に拡大される。   In step S302, the enlargement unit 138 enlarges the search area. In the example shown in FIG. 15, the access point 50 is installed near the candidate position P. As described above, information including the access point ID and link information is transmitted from the communication terminal 20-20 to the server device 10 at predetermined time intervals. The access point 50 is indicated by, for example, the last access point ID received together with link information indicating that there is a link in the history of access point IDs received from the communication terminals 20-20. The communication range 51 of the access point 50 is larger than the communication range 31 of the sensor 30. In this case, the search area is expanded to the communication range 51 of the access point 50.

この場合、次のステップS204では、拡大された探索エリアに位置し、且つ、所定の時間内であるというサーチ条件が設定される。このサーチ条件は、前回ステップS204で設定されたサーチ条件とは異なる新たなサーチ条件である。また、図15に示す例では、アクセスポイント50の通信範囲51には、通信端末20‐26〜20‐30が位置する。そのため、次のステップS205では通信端末20‐26〜20‐30が選択され、ステップS206では、通信端末20‐26〜20‐30にサーチ条件が送信される。この通信端末20‐26〜20‐30は、前回ステップS206でサーチ条件が送信された通信端末20‐21〜20‐25が存在するエリアとは異なるエリアに存在する。この場合、通信端末20‐26〜20‐30もステップS207及びS208の処理を行う。次のステップS209で再びタグ40‐1が発見されなかったと判断されると(ステップS209:NO)、サーバ装置10は、再びステップS301に進む。   In this case, in the next step S204, a search condition that is located in the enlarged search area and within a predetermined time is set. This search condition is a new search condition different from the search condition set in the previous step S204. In the example shown in FIG. 15, communication terminals 20-26 to 20-30 are located in the communication range 51 of the access point 50. Therefore, in the next step S205, the communication terminals 20-26 to 20-30 are selected, and in step S206, the search conditions are transmitted to the communication terminals 20-26 to 20-30. The communication terminals 20-26 to 20-30 exist in an area different from the area where the communication terminals 20-21 to 20-25 to which the search conditions are transmitted in the previous step S206 exist. In this case, the communication terminals 20-26 to 20-30 also perform steps S207 and S208. If it is determined in the next step S209 that the tag 40-1 has not been found again (step S209: NO), the server apparatus 10 proceeds to step S301 again.

図15に示す例では、アクセスポイント50の通信範囲51は最大の探索エリアではないため、次のステップS301でも最大の探索エリアではないと判断される(ステップS301:NO)。この場合、サーバ装置10は、再びステップS302に進む。図15に示す例では、候補位置Pの近くに基地局60が設置されている。上述したように、サーバ装置10には、通信端末20‐20から所定の時間間隔で基地局IDとリンク情報とを含む情報が送信される。基地局60は、例えば通信端末20‐20から受信された基地局IDの履歴において、リンクが有ることを示すリンク情報とともに受信された最後の基地局IDにより示される。基地局60の通信範囲61は、アクセスポイント50の通信範囲51より大きい。この場合、次のステップS302では、探索エリアが基地局60の通信範囲61に拡大される。   In the example shown in FIG. 15, since the communication range 51 of the access point 50 is not the maximum search area, it is determined that it is not the maximum search area even in the next step S301 (step S301: NO). In this case, the server apparatus 10 proceeds again to step S302. In the example shown in FIG. 15, the base station 60 is installed near the candidate position P. As described above, information including the base station ID and the link information is transmitted to the server device 10 from the communication terminal 20-20 at a predetermined time interval. The base station 60 is indicated by, for example, the last base station ID received together with link information indicating that there is a link in the history of the base station ID received from the communication terminal 20-20. The communication range 61 of the base station 60 is larger than the communication range 51 of the access point 50. In this case, in the next step S302, the search area is expanded to the communication range 61 of the base station 60.

この場合、次のステップS204では、拡大された探索エリアに位置し、且つ、所定の時間内であるというサーチ条件が設定される。このサーチ条件は、前回ステップS204で設定されたサーチ条件とは異なる新たなサーチ条件である。また、図15に示す例では、基地局60の通信範囲61には、通信端末20‐31〜20‐35が位置する。そのため、次のステップS205では通信端末20‐31〜20‐35が選択され、ステップS206では、通信端末20‐31〜20‐35にサーチ条件が送信される。この通信端末20‐31〜20‐35は、前回ステップS206でサーチ条件が送信された通信端末20‐26〜20‐30が存在するエリアとは異なるエリアに存在する。この場合、通信端末20‐31〜20‐35もステップS207及びS208の処理を行う。次のステップS209で再びタグ40‐1が発見されなかったと判断されると(ステップS209:NO)、サーバ装置10は、再びステップS301に進む。   In this case, in the next step S204, a search condition that is located in the enlarged search area and within a predetermined time is set. This search condition is a new search condition different from the search condition set in the previous step S204. In the example shown in FIG. 15, communication terminals 20-31 to 20-35 are located in the communication range 61 of the base station 60. Therefore, in the next step S205, the communication terminals 20-31 to 20-35 are selected, and in step S206, the search conditions are transmitted to the communication terminals 20-31 to 20-35. The communication terminals 20-31 to 20-35 exist in an area different from the area where the communication terminals 20-26 to 20-30 to which the search condition is transmitted in the previous step S206 exist. In this case, the communication terminals 20-31 to 20-35 also perform steps S207 and S208. If it is determined in the next step S209 that the tag 40-1 has not been found again (step S209: NO), the server apparatus 10 proceeds to step S301 again.

図15に示す例では、基地局60の通信範囲61は最大の探索エリアであるため、次のステップS301では最大の探索エリアであると判断される(ステップS301:YES)。この場合、サーバ装置10は、ステップS303に進む。   In the example shown in FIG. 15, since the communication range 61 of the base station 60 is the maximum search area, it is determined in the next step S301 that it is the maximum search area (step S301: YES). In this case, the server apparatus 10 proceeds to step S303.

ステップS303において、変更部137は、候補位置Pを変更する。具体的には、通信端末20‐20から受信した位置情報の履歴に基づいて、タグ40‐1が過去に存在した別の位置に候補位置Pが変更される。また、変更部137は、変更後の候補位置Pの近くに設置されたセンサ30の通信範囲31を、探索エリアとして設定する。   In step S303, the changing unit 137 changes the candidate position P. Specifically, based on the history of position information received from the communication terminal 20-20, the candidate position P is changed to another position where the tag 40-1 has existed in the past. Moreover, the change part 137 sets the communication range 31 of the sensor 30 installed near the candidate position P after a change as a search area.

このように、探索エリアを拡大し又は候補位置Pを変更しながら、タグ40‐1が発見されるまでステップS204〜S209の処理が繰り返される。   In this way, the process of steps S204 to S209 is repeated until the tag 40-1 is found while expanding the search area or changing the candidate position P.

サーバ装置10からサーチ条件を受信した通信端末20のいずれかが、タグ40‐1の通信範囲41‐1に移動すると、タグ40‐1が発見される。ここでは、通信端末20‐31がタグ40‐1の通信範囲41‐1に移動し、タグ40‐1を発見したものとする。この場合、通信端末20‐31は、図14に示すステップS210に進む。   When any of the communication terminals 20 that have received the search conditions from the server device 10 moves to the communication range 41-1 of the tag 40-1, the tag 40-1 is found. Here, it is assumed that the communication terminal 20-31 has moved to the communication range 41-1 of the tag 40-1 and found the tag 40-1. In this case, the communication terminal 20-31 proceeds to step S210 shown in FIG.

ステップS210において、サーチ部221は、タグ40‐1からビーコン情報を受信する。このビーコンには、タグ40‐1を識別するタグID「T1」が含まれる。   In step S210, the search unit 221 receives beacon information from the tag 40-1. This beacon includes a tag ID “T1” for identifying the tag 40-1.

ステップS211において、情報送信部222は、測位部27により測定された位置を示す位置情報をサーバ装置10に送信する。サーバ装置10は、通信端末20‐31から位置情報を受信すると、タグ40‐1が発見されたと判断し(図13に示すステップS209:YES)、ステップS212に進む。   In step S <b> 211, the information transmission unit 222 transmits position information indicating the position measured by the positioning unit 27 to the server device 10. When receiving the position information from the communication terminal 20-31, the server device 10 determines that the tag 40-1 has been found (step S209: YES shown in FIG. 13), and proceeds to step S212.

ステップS212において、管理部135は、受信された位置情報をデータベース122に格納する。具体的には、管理部135は、図11に示すデータベース122にて、タグID「T1」を含むレコードにこの位置情報を格納する。   In step S <b> 212, the management unit 135 stores the received position information in the database 122. Specifically, the management unit 135 stores this position information in a record including the tag ID “T1” in the database 122 illustrated in FIG. 11.

ステップS212で位置情報が格納されると、サーバ装置10は、サーチ条件を解除する。具体的には、解除部136は、ステップS206でサーチ条件が送信された全ての通信端末20に、サーチ条件の解除要求を送信する。サーバ装置10から解除要求を受信すると、これらの通信端末20は、ステップS207及びS208の処理を終了する。   When the position information is stored in step S212, the server device 10 cancels the search condition. Specifically, the cancellation unit 136 transmits a search condition cancellation request to all the communication terminals 20 to which the search conditions have been transmitted in step S206. When receiving the release request from the server device 10, these communication terminals 20 end the processes of steps S207 and S208.

ステップS213において、管理部135は、タグ40が発見されたことを示す発見通知を通信端末20‐20に送信する。通信端末20‐20は、発見通知を受信すると、ステップS214に進む。   In step S213, the management unit 135 transmits a discovery notification indicating that the tag 40 has been discovered to the communication terminal 20-20. Upon receiving the discovery notification, the communication terminal 20-20 proceeds to step S214.

ステップS214において、表示制御部223は、タグ40‐1の位置情報の取得要求を送信する。この取得要求には、タグ40‐1のタグID「T1」が含まれる。サーバ装置10は、通信端末20‐20からこの取得要求を受信すると、ステップS215に進む。   In step S214, the display control unit 223 transmits an acquisition request for position information of the tag 40-1. This acquisition request includes the tag ID “T1” of the tag 40-1. When the server apparatus 10 receives this acquisition request from the communication terminal 20-20, the process proceeds to step S215.

ステップS215において、管理部135は、データベース122からタグ40‐1の位置情報を読み出して、通信端末20‐20に送信する。具体的には、管理部135は、データベース122において、タグID「T1」と関連付けられた位置情報をデータベース122から読み出して、通信端末20‐20に送信する。通信端末20‐20は、サーバ装置10から位置情報を受信すると、ステップS216に進む。   In step S215, the management unit 135 reads the position information of the tag 40-1 from the database 122 and transmits it to the communication terminal 20-20. Specifically, in the database 122, the management unit 135 reads position information associated with the tag ID “T1” from the database 122 and transmits it to the communication terminal 20-20. When receiving the position information from the server device 10, the communication terminal 20-20 proceeds to step S216.

ステップS216において、表示制御部223は、受信された位置情報を表示部25に表示する。これにより、ユーザは、タグ40‐1の現在位置、すなわち紛失した所有物の現在位置を認識することができる。   In step S <b> 216, the display control unit 223 displays the received position information on the display unit 25. Thereby, the user can recognize the current position of the tag 40-1, that is, the current position of the lost property.

第2実施形態によれば、最初はセンサ30‐1の通信範囲31に位置する通信端末20‐21〜20‐25によりサーチが行われ、タグ40‐1が発見されなかった場合には、アクセスポイント50の通信範囲51に位置する通信端末20‐26〜20‐30によりサーチが行われ、タグ40‐1が発見されなかった場合には、基地局60の通信範囲61に位置する通信端末20‐31〜20‐35にサーチが行われる。また、最初の候補位置Pでタグ40‐1が発見されなかった場合には、次の候補位置Pで同様のサーチが行われる。このように、複数の通信端末20が分担してタグ40をサーチすることにより、効率よくタグ40をサーチすることができる。   According to the second embodiment, when a search is initially performed by the communication terminals 20-21 to 20-25 located in the communication range 31 of the sensor 30-1, and the tag 40-1 is not found, access is performed. When a search is performed by the communication terminals 20-26 to 20-30 located in the communication range 51 of the point 50 and the tag 40-1 is not found, the communication terminal 20 located in the communication range 61 of the base station 60. A search is performed at -31 to 20-35. When the tag 40-1 is not found at the first candidate position P, the same search is performed at the next candidate position P. Thus, the tag 40 can be searched efficiently by searching for the tag 40 in a shared manner by the plurality of communication terminals 20.

3.変形例
本発明は、第1実施形態及び第2実施形態に限定されない。例えば、第1実施形態又は第2実施形態を以下のように変形してもよい。また、以下の変形例を組み合わせてもよい。
3. The present invention is not limited to the first embodiment and the second embodiment. For example, the first embodiment or the second embodiment may be modified as follows. Further, the following modifications may be combined.

(1)第1実施形態において、対象エリアに位置する通信端末20の密度により、対象エリアの大きさが変更されてもよい。例えば、センサ30が都市のような人が多い場所に設置される場合と地方のような人が少ない場所に設置される場合とでは、対象エリアの大きさが同じであっても、対象エリアに位置する通信端末20の数が相違する。本変形例によれば、このような通信端末20の数の差を小さくすることができる。 (1) In the first embodiment, the size of the target area may be changed depending on the density of the communication terminals 20 located in the target area. For example, when the sensor 30 is installed in a place with many people, such as a city, and when the sensor 30 is installed in a place with few people, such as a rural area, even if the size of the target area is the same, The number of communication terminals 20 located is different. According to this modification, such a difference in the number of communication terminals 20 can be reduced.

図17は、この変形例に係る通信システム1の機能構成を示す図である。サーバ装置10は、第1実施形態で説明した機能に加えて、算出部118及び変更部119の機能を有する。算出部118は、複数の通信端末20のうち対象エリアに位置する通信端末20の密度を算出する。変更部119は、算出部118により算出された密度に基づいて、対象エリアの大きさを変更する。例えば、変更部119は、密度が第1閾値より小さい場合には、上述したステップS108と同様に対象エリアを拡大する。また、変更部119は、密度が第2閾値より大きい場合には、探索エリアを縮小してもよい。変更部119により対象エリアの大きさが変更されると、選択部113は、変更後の対象エリアに位置する通信端末20を選択する。つまり、選択部113は、センサ30の周辺に位置する通信端末20の密度のいずれかに応じて、複数の通信端末20の一部を選択する。   FIG. 17 is a diagram showing a functional configuration of the communication system 1 according to this modification. The server device 10 has functions of a calculation unit 118 and a change unit 119 in addition to the functions described in the first embodiment. The calculation unit 118 calculates the density of the communication terminals 20 located in the target area among the plurality of communication terminals 20. The changing unit 119 changes the size of the target area based on the density calculated by the calculating unit 118. For example, when the density is smaller than the first threshold, the changing unit 119 enlarges the target area as in step S108 described above. Further, the changing unit 119 may reduce the search area when the density is larger than the second threshold value. When the size of the target area is changed by the changing unit 119, the selection unit 113 selects the communication terminal 20 located in the changed target area. That is, the selection unit 113 selects a part of the plurality of communication terminals 20 according to any of the densities of the communication terminals 20 located around the sensor 30.

また、この変形例において、対象エリアの大きさとともに、又は対象エリアの大きさに代えて、サーチ条件が割り当てられる通信端末20の数が変更されてもよい。この変形例では、選択部113は、対象エリアに位置する通信端末20を全て選択せずに、対象エリアに位置する通信端末20のうち所定数の通信端末20だけを選択する。変更部119は、算出部118により算出された密度に基づいて、この所定数を変更する。例えば、変更部119は、密度が第1閾値より小さい場合には、所定数を増やす。このとき、変更部119は、所定数に定数を加えることにより所定数を増やしてもよいし、所定数に定数を乗じることにより所定数を増やしてもよい。また、変更部119は、密度が第2閾値より大きい場合には、所定数を減らしてもよい。変更部119により所定数が変更されると、選択部113は、対象エリアに位置する通信端末20のうち、変更後の所定数の通信端末20を選択する。つまり、選択部113は、センサ30の周辺に位置する通信端末20の密度のいずれかに応じて、複数の通信端末20の一部を選択する。   In this modification, the number of communication terminals 20 to which search conditions are assigned may be changed together with the size of the target area or instead of the size of the target area. In this modification, the selection unit 113 selects only a predetermined number of communication terminals 20 among the communication terminals 20 located in the target area without selecting all the communication terminals 20 located in the target area. The changing unit 119 changes the predetermined number based on the density calculated by the calculating unit 118. For example, the changing unit 119 increases the predetermined number when the density is smaller than the first threshold. At this time, the changing unit 119 may increase the predetermined number by adding a constant to the predetermined number, or may increase the predetermined number by multiplying the predetermined number by the constant. Moreover, the change part 119 may reduce a predetermined number, when a density is larger than a 2nd threshold value. When the predetermined number is changed by the changing unit 119, the selecting unit 113 selects the predetermined number of communication terminals 20 after the change from the communication terminals 20 located in the target area. That is, the selection unit 113 selects a part of the plurality of communication terminals 20 according to any of the densities of the communication terminals 20 located around the sensor 30.

また、この変形例において、条件設定部111は、算出部118により算出された密度に応じて、サーチ条件を設定してもよい。例えば、条件設定部111は、算出部118により算出された密度に応じて、サーチ条件に含まれるエリアの大きさを変更してもよい。   In this modification, the condition setting unit 111 may set search conditions according to the density calculated by the calculation unit 118. For example, the condition setting unit 111 may change the size of the area included in the search condition according to the density calculated by the calculation unit 118.

(2)第1実施形態において、センサ情報の取得間隔により対象エリアの大きさが変更されてもよい。例えば、センサ情報の取得間隔が長い場合には、センサ情報の取得にある程度時間がかかっても許容されるが、センサ情報の取得間隔が短い場合には、センサ情報を迅速に取得することが求められる。この変形例によれば、このような要求に答えることができる。 (2) In the first embodiment, the size of the target area may be changed according to the sensor information acquisition interval. For example, if the sensor information acquisition interval is long, it is acceptable even if it takes a certain amount of time to acquire the sensor information, but if the sensor information acquisition interval is short, it is required to acquire the sensor information quickly. It is done. According to this modification, such a request can be answered.

この変形例に係る通信システム1は、図17に示す機能構成を有する。ただし、この変形例では、変更部119は、センサ情報の取得間隔に基づいて、対象エリアの大きさを変更する。センサ30‐1の所有者は、通信端末20‐16を用いて、センサ30‐1のセンサ情報の取得間隔を変更することができる。例えば、所有者により、センサ30‐1のセンサ情報の取得間隔が「1時間に1回」から「1分に1回」に変更された場合、データベース121には、センサ30‐1のセンサID「S1」と関連付けて、「1分に1回」という取得間隔が格納される。変更部119は、データベース121に格納された取得間隔が閾値より小さい場合には、上述したステップS108と同様に対象エリアを拡大する。変更部119により対象エリアの大きさが変更されると、選択部113は、変更後の対象エリアに位置する通信端末20を選択する。つまり、選択部113は、センサ情報の取得間隔に応じて、複数の通信端末20の一部を選択する。   The communication system 1 according to this modification has a functional configuration shown in FIG. However, in this modification, the changing unit 119 changes the size of the target area based on the sensor information acquisition interval. The owner of the sensor 30-1 can change the sensor information acquisition interval of the sensor 30-1 using the communication terminal 20-16. For example, when the sensor information acquisition interval of the sensor 30-1 is changed from “once per hour” to “once per minute” by the owner, the database 121 stores the sensor ID of the sensor 30-1 in the database 121. In association with “S1”, an acquisition interval “once per minute” is stored. When the acquisition interval stored in the database 121 is smaller than the threshold value, the changing unit 119 enlarges the target area as in step S108 described above. When the size of the target area is changed by the changing unit 119, the selection unit 113 selects the communication terminal 20 located in the changed target area. That is, the selection unit 113 selects a part of the plurality of communication terminals 20 according to the sensor information acquisition interval.

また、この変形例において、対象エリアの大きさとともに、又は対象エリアの大きさに代えて、サーチ条件が割り当てられる通信端末20の数が変更されてもよい。この変形例では、選択部113は、対象エリアに位置する通信端末20を全て選択せずに、対象エリアに位置する通信端末20のうち所定数の通信端末20だけを選択する。変更部119は、データベース121に格納された時間間隔が閾値より小さい場合には、所定数を増やす。このとき、変更部119は、所定数に定数を加えることにより所定数を増やしてもよいし、所定数に定数を乗じることにより所定数を増やしてもよい。変更部119により所定数が変更されると、選択部113は、対象エリアに位置する通信端末20のうち、変更後の所定数の通信端末20を選択する。つまり、選択部113は、センサ情報の取得間隔に応じて、複数の通信端末20の一部を選択する。   In this modification, the number of communication terminals 20 to which search conditions are assigned may be changed together with the size of the target area or instead of the size of the target area. In this modification, the selection unit 113 selects only a predetermined number of communication terminals 20 among the communication terminals 20 located in the target area without selecting all the communication terminals 20 located in the target area. The changing unit 119 increases the predetermined number when the time interval stored in the database 121 is smaller than the threshold value. At this time, the changing unit 119 may increase the predetermined number by adding a constant to the predetermined number, or may increase the predetermined number by multiplying the predetermined number by the constant. When the predetermined number is changed by the changing unit 119, the selecting unit 113 selects the predetermined number of communication terminals 20 after the change from the communication terminals 20 located in the target area. That is, the selection unit 113 selects a part of the plurality of communication terminals 20 according to the sensor information acquisition interval.

また、この変形例において、条件設定部111は、センサ情報の取得間隔に応じて、サーチ条件を設定してもよい。例えば、条件設定部111は、データベース121に格納された取得間隔に応じて、サーチ条件に含まれるエリアの大きさを変更してもよい。   In this modification, the condition setting unit 111 may set search conditions according to the sensor information acquisition interval. For example, the condition setting unit 111 may change the size of the area included in the search condition according to the acquisition interval stored in the database 121.

(3)第2実施形態において、探索の緊急度により探索エリアの大きさが変更されてもよい。例えば、緊急度が低い場合には、タグ40‐1の位置情報の取得にある程度時間がかかっても許容されるが、緊急度が高い場合には、タグ40‐1の位置情報を迅速に取得することが求められる。この変形例によれば、このような要求に答えることができる。 (3) In the second embodiment, the size of the search area may be changed depending on the urgency of the search. For example, when the urgency level is low, it is acceptable even if it takes some time to acquire the position information of the tag 40-1, but when the urgency level is high, the position information of the tag 40-1 is quickly acquired. It is required to do. According to this modification, such a request can be answered.

この変形例では、ユーザは、通信端末20‐20の操作部24を用いて、探索の緊急度を設定する操作を行う。ステップS201では、設定された緊急度を含む探索要求がサーバ装置10に送信される。変更部137は、通信端末20‐20から受信された緊急度に基づいて、探索エリアの大きさを変更する。例えば、変更部137は、緊急度が閾値より高い場合には、上述したステップS302と同様に探索エリアを拡大する。   In this modification, the user uses the operation unit 24 of the communication terminal 20-20 to perform an operation for setting the emergency level of search. In step S <b> 201, a search request including the set urgency level is transmitted to the server device 10. The changing unit 137 changes the size of the search area based on the urgency received from the communication terminal 20-20. For example, when the urgency level is higher than the threshold value, the changing unit 137 expands the search area as in step S302 described above.

また、この変形例において、探索エリアの大きさとともに、又は探索エリアの大きさに代えて、サーチ条件が割り当てられる通信端末20の数が変更されてもよい。この変形例では、選択部133は、探索エリアに位置する通信端末20を全て選択せずに、探索エリアに位置する通信端末20のうち所定数の通信端末20だけを選択する。変更部137は、通信端末20‐20から受信された緊急度に基づいて、所定数を変更する。例えば変更部137は、緊急度が閾値より高い場合には、所定数を増やす。このとき、変更部137は、所定数に定数を加えることにより所定数を増やしてもよいし、所定数に定数を乗じることにより所定数を増やしてもよい。   In this modification, the number of communication terminals 20 to which the search condition is assigned may be changed together with the size of the search area or instead of the size of the search area. In this modification, the selection unit 133 selects only a predetermined number of communication terminals 20 among the communication terminals 20 located in the search area without selecting all the communication terminals 20 located in the search area. The changing unit 137 changes the predetermined number based on the urgency received from the communication terminal 20-20. For example, the changing unit 137 increases the predetermined number when the degree of urgency is higher than a threshold value. At this time, the changing unit 137 may increase the predetermined number by adding a constant to the predetermined number, or may increase the predetermined number by multiplying the predetermined number by the constant.

(4)第1実施形態、変形例(1)又は(2)において、前回の処理でセンサ30が発見されたときに用いられた対象エリア又は所定数が次回の処理で用いられてもよい。この変形例では、記憶部12には、センサ30が発見されたときに用いられた対象エリア又は所定数が記憶される。選択部113は、次回の処理において、記憶部12に記憶された対象エリアに位置する通信端末20を選択し、又は対象エリアに位置する通信端末20のうち、記憶部12に記憶された所定数の通信端末20を選択する。つまり、選択部113は、過去に行われたサーチにおいてセンサ30を発見した通信端末20が選択された条件に応じて、複数の通信端末20の一部を選択する。この変形例によれば、処理を繰り返すにつれて、サーチ条件の割り当て対象が最適化される。 (4) In the first embodiment, the modified example (1) or (2), the target area or the predetermined number used when the sensor 30 is found in the previous process may be used in the next process. In this modification, the storage unit 12 stores a target area or a predetermined number used when the sensor 30 is discovered. The selection unit 113 selects the communication terminal 20 located in the target area stored in the storage unit 12 in the next process, or the predetermined number stored in the storage unit 12 among the communication terminals 20 located in the target area. Communication terminal 20 is selected. In other words, the selection unit 113 selects a part of the plurality of communication terminals 20 according to the condition under which the communication terminal 20 that has found the sensor 30 in the past search is selected. According to this modification, as the process is repeated, the search condition assignment target is optimized.

同様に、第2実施形態又は変形例(3)において、前回の処理でタグ40‐1が発見されたときに用いられた探索エリア又は所定数が次回の処理において用いられてもよい。この変形例では、記憶部12には、過去に行われたサーチにおいてタグ40‐1が発見されたときに用いられた探索エリアが記憶される。条件設定部132は、記憶部12に記憶された探索エリアに位置するというサーチ条件を設定する。つまり、条件設定部132は、過去に行われたサーチにおいてタグ40‐1が発見されたときに用いられたサーチ条件を設定する。   Similarly, in the second embodiment or the modification (3), the search area or the predetermined number used when the tag 40-1 is found in the previous process may be used in the next process. In this modification, the storage unit 12 stores a search area used when the tag 40-1 is found in a search performed in the past. The condition setting unit 132 sets a search condition to be located in the search area stored in the storage unit 12. That is, the condition setting unit 132 sets a search condition used when the tag 40-1 is found in a search performed in the past.

(5)第1実施形態において、複数の近距離無線規格に対応する通信端末20には、サーチ条件が優先して割り当てられてもよい。例えば、センサ30がBluetoothに対応する場合には、ZigBeeだけに対応する通信端末20にサーチ条件が割り当てても、この通信端末20はセンサ30と通信を行うことができない。この変形例によれば、このような事態を抑制することができる。 (5) In the first embodiment, search conditions may be preferentially assigned to the communication terminals 20 corresponding to a plurality of short-range wireless standards. For example, when the sensor 30 is compatible with Bluetooth, the communication terminal 20 cannot communicate with the sensor 30 even if a search condition is assigned to the communication terminal 20 that supports only ZigBee. According to this modification, such a situation can be suppressed.

この変形例では、記憶部12には、予め各通信端末20が対応する近距離無線規格が記憶される。選択部113は、対象エリアに位置する通信端末20のうち所定数の通信端末20を選択する。このとき、選択部113は、対象エリアに位置する通信端末20の中に、複数の近距離無線規格に対応する通信端末20が存在する場合には、この通信端末20を他の通信端末20に優先して選択する。   In this modification, the short-distance wireless standard to which each communication terminal 20 corresponds is stored in the storage unit 12 in advance. The selection unit 113 selects a predetermined number of communication terminals 20 among the communication terminals 20 located in the target area. At this time, when there are communication terminals 20 corresponding to a plurality of short-range wireless standards among the communication terminals 20 located in the target area, the selection unit 113 transfers the communication terminal 20 to another communication terminal 20. Select with priority.

(6)第1実施形態において、対象エリアに位置する通信端末20だけでなく、対象エリアと隣接するエリアに位置する通信端末20にもサーチ条件が割り当てられてもよい。この変形例では、選択部113は、対象エリアに位置する通信端末20と、対象エリアと隣接するエリアに位置する通信端末20とを選択する。このとき、対象エリアに位置する通信端末20の数に対して所定の比率の数の通信端末20が隣接するエリアから選択されてもよいし、所定数の通信端末20が隣接するエリアから選択されてもよい。 (6) In the first embodiment, the search condition may be assigned not only to the communication terminal 20 located in the target area but also to the communication terminal 20 located in an area adjacent to the target area. In this modification, the selection unit 113 selects the communication terminal 20 located in the target area and the communication terminal 20 located in an area adjacent to the target area. At this time, a predetermined number of communication terminals 20 relative to the number of communication terminals 20 located in the target area may be selected from adjacent areas, or a predetermined number of communication terminals 20 may be selected from adjacent areas. May be.

(7)第1実施形態において、特定のセンサ30の近くを頻繁に通る通信端末20が存在する場合には、所定のタイミングで、この通信端末20に特定のセンサ30に対応するサーチ条件が割り当てられてもよい。この変形例では、サーバ装置10は、各通信端末20から受信した位置情報に基づいて、各通信端末20の移動パターンを求める。例えば、ある通信端末20が8:00に第1対象エリアを通る移動パターンを有する場合、条件設定部111は、所定のタイミングで、8:00を含む時間帯、例えば7:00〜9:00であり、且つ、第1対象エリアに位置するという第1サーチ条件を設定する。選択部113は、この第1サーチ条件の割り当て先としてこの通信端末20を選択する。 (7) In the first embodiment, when there is a communication terminal 20 that frequently passes near the specific sensor 30, a search condition corresponding to the specific sensor 30 is assigned to the communication terminal 20 at a predetermined timing. May be. In this modification, the server device 10 obtains the movement pattern of each communication terminal 20 based on the position information received from each communication terminal 20. For example, when a certain communication terminal 20 has a movement pattern passing through the first target area at 8:00, the condition setting unit 111 has a predetermined timing and a time zone including 8:00, for example, 7:00 to 9:00. And the first search condition is set to be located in the first target area. The selection unit 113 selects the communication terminal 20 as an assignment destination of the first search condition.

(8)第1実施形態において、対象エリアに位置する複数の通信端末20には、所定のタイミングで、互いに異なる時間(サーチ期間の一例)を含むサーチ条件が割り当てられてもよい。例えば、対象エリアが会社のフロアである場合には、対象エリアに位置する複数の通信端末20がほとんど移動しない場合がある。この場合、この対象エリアでは、常に同じ通信端末20がサーチを行い、センサ情報を送信することになるため、この通信端末20のサーチ回数が増えてしまう。この変形例によれば、このような場合でも、複数の通信端末20が分担してセンサ30をサーチすることができる。 (8) In the first embodiment, a plurality of communication terminals 20 located in the target area may be assigned search conditions including different times (an example of a search period) at a predetermined timing. For example, when the target area is a company floor, a plurality of communication terminals 20 located in the target area may hardly move. In this case, in this target area, the same communication terminal 20 always performs a search and transmits sensor information, so the number of searches for this communication terminal 20 increases. According to this modification, even in such a case, the plurality of communication terminals 20 can share and search for the sensor 30.

この変形例では、サーバ装置10は、各通信端末20から受信した位置情報に基づいて、各通信端末20の移動パターンを求める。ここでは、図9に示す例において、第1対象エリアに位置する通信端末20‐3〜10‐7が、いずれも13:00〜18:00の間、ほとんど移動しない移動パターンを有するものとする。この場合、条件設定部111は、例えば第1対象エリアに位置し、且つ、13:00〜14:00の間であるというサーチ条件(以下、「第3サーチ条件」という。)と、第1対象エリアに位置し、且つ、14:00〜15:00の間であるというサーチ条件(以下、「第4サーチ条件」という。)と、第1対象エリアに位置し、且つ、15:00〜16:00の間であるというサーチ条件(以下、「第5サーチ条件」という。)と、第1対象エリアに位置し、且つ、16:00〜17:00の間であるというサーチ条件(以下、「第6サーチ条件」という。)と、第1対象エリアに位置し、且つ、17:00〜18:00の間であるというサーチ条件(以下、「第7サーチ条件」という。)とを設定する。条件送信部114は、所定のタイミングで、第3サーチ条件を通信端末20‐3に送信し、第4サーチ条件を通信端末20‐4に送信し、第5サーチ条件を通信端末20‐5に送信し、第6サーチ条件を通信端末20‐6に送信し、第7サーチ条件を通信端末20‐7に送信する。この場合、第1対象エリアにおいては、13:00〜14:00の間は、通信端末20‐3によりサーチが行われる。14:00〜15:00の間は、通信端末20‐4によりサーチが行われる。15:00〜16:00の間は、通信端末20‐5によりサーチが行われる。16:00〜17:00の間は、通信端末20‐6によりサーチが行われる。17:00〜18:00の間は、通信端末20‐7によりサーチが行われる。   In this modification, the server device 10 obtains the movement pattern of each communication terminal 20 based on the position information received from each communication terminal 20. Here, in the example shown in FIG. 9, it is assumed that the communication terminals 20-3 to 10-7 located in the first target area have a movement pattern that hardly moves between 13:00 and 18:00. . In this case, the condition setting unit 111 is, for example, a search condition that is located in the first target area and is between 13:00:00 and 14:00 (hereinafter referred to as “third search condition”), and the first. A search condition that is located in the target area and between 14:00 and 15:00 (hereinafter referred to as “fourth search condition”), and that is located in the first target area and that is 15:00 A search condition that is between 16:00 (hereinafter referred to as “fifth search condition”) and a search condition that is located in the first target area and is between 16:00 and 17:00 (hereinafter referred to as “first search condition”). , “Sixth search condition”) and a search condition (hereinafter referred to as “seventh search condition”) that is located in the first target area and that is between 17:00 and 18:00. Set. The condition transmission unit 114 transmits the third search condition to the communication terminal 20-3, the fourth search condition to the communication terminal 20-4, and the fifth search condition to the communication terminal 20-5 at a predetermined timing. The sixth search condition is transmitted to the communication terminal 20-6, and the seventh search condition is transmitted to the communication terminal 20-7. In this case, in the first target area, the search is performed by the communication terminal 20-3 between 13:00 and 14:00. A search is performed by the communication terminal 20-4 between 14:00 and 15:00. A search is performed by the communication terminal 20-5 between 15:00 and 16:00. A search is performed by the communication terminal 20-6 between 16:00 and 17:00. A search is performed by the communication terminal 20-7 between 17:00 and 18:00.

(9)第1実施形態において、過去にセンサ情報の送信を行った通信端末20にサーチ条件が割り当てられてもよい。過去にセンサ情報の送信を行った通信端末20は、再びそのセンサ情報を格納したセンサ30の近くを通る可能性が高い。この変形例によれば、より効率的にセンサ30をサーチすることができる。 (9) In the first embodiment, a search condition may be assigned to the communication terminal 20 that has transmitted sensor information in the past. The communication terminal 20 that has transmitted sensor information in the past is likely to pass near the sensor 30 that stores the sensor information again. According to this modification, the sensor 30 can be searched more efficiently.

この変形例では、記憶部12には、センサ30毎に、そのセンサ情報をサーバ装置10に送信した通信端末20を識別する端末IDが記憶される。選択部113は、記憶部12に記憶された端末IDに基づいて、センサ30毎に、過去にそのセンサ30のセンサ情報の送信を行った通信端末20を特定し、特定した通信端末20をそのセンサ30に対応するサーチ条件の割り当て先として選択する。例えばセンサ30‐1のセンサ情報が過去に通信端末20‐15により送信された場合には、第1サーチ条件の割り当て先として通信端末20‐15が選択される。   In this modification, the storage unit 12 stores, for each sensor 30, a terminal ID that identifies the communication terminal 20 that transmitted the sensor information to the server device 10. Based on the terminal ID stored in the storage unit 12, the selection unit 113 identifies, for each sensor 30, the communication terminal 20 that has transmitted the sensor information of the sensor 30 in the past, and identifies the identified communication terminal 20. The search condition corresponding to the sensor 30 is selected as an assignment destination. For example, when the sensor information of the sensor 30-1 has been transmitted by the communication terminal 20-15 in the past, the communication terminal 20-15 is selected as the assignment destination of the first search condition.

(10)第1実施形態において、通信端末20の対象エリアへの出入りが発生したときに、サーチ条件の送付又は解除条件の送付が行われてもよい。この変形例では、サーバ装置10は、各通信端末20から受信した位置情報に基づいて、通信端末20の対象エリアへの出入りを監視する。例えば、新たな通信端末20が対象エリアに移動すると、条件送信部114は、この通信端末20にサーチ条件を送信する。また、ステップS104でサーチ条件が送信された通信端末20が、対象エリアの外に移動したり、センサ30から所定の距離以上離れると、解除部116は、この通信端末20に解除要求を送信する。 (10) In the first embodiment, when the communication terminal 20 enters or exits the target area, the search condition may be sent or the release condition may be sent. In this modification, the server device 10 monitors the entry / exit of the communication terminal 20 into / from the target area based on the position information received from each communication terminal 20. For example, when a new communication terminal 20 moves to the target area, the condition transmission unit 114 transmits a search condition to the communication terminal 20. Further, when the communication terminal 20 to which the search condition is transmitted in step S104 moves out of the target area or moves away from the sensor 30 by a predetermined distance or more, the canceling unit 116 transmits a cancel request to the communication terminal 20. .

(11)第2実施形態において、ユーザと所定の関係を有する他のユーザの通信端末20には、サーチ条件が優先して割り当てられてもよい。この所定の関係を有する他のユーザとは、家族、同僚、友人等、ユーザと何らかの人的関係を有する人をいう。他のユーザは、例えばユーザの通信端末20‐20にて電話帳に登録された人であってもよい。このような他のユーザは、ユーザと同じような場所を通る可能性が高い。この変形例によれば、より効率的にタグ40‐1をサーチすることができる。 (11) In the second embodiment, search conditions may be preferentially assigned to communication terminals 20 of other users having a predetermined relationship with the user. The other user having the predetermined relationship refers to a person having some kind of personal relationship with the user, such as a family member, a colleague or a friend. The other user may be, for example, a person registered in the phone book in the user communication terminal 20-20. Such other users are likely to go through the same place as the user. According to this modified example, the tag 40-1 can be searched more efficiently.

この変形例では、選択部133は、探索エリアに位置する通信端末20のうち、所定数の通信端末20を選択する。このとき、選択部133は、探索エリアにユーザと所定の関係を有する他のユーザの通信端末20が存在する場合には、この通信端末20を他の通信端末20に優先して選択する。   In this modification, the selection unit 133 selects a predetermined number of communication terminals 20 among the communication terminals 20 located in the search area. At this time, when there is a communication terminal 20 of another user having a predetermined relationship with the user in the search area, the selection unit 133 selects the communication terminal 20 with priority over the other communication terminal 20.

(12)第2実施形態において、発見されたタグ40‐1が移動している場合には、タグ40‐1が停止するまで、タグ40‐1の探索が継続されてもよい。この変形例では、タグ40は、加速度センサを有する。加速度センサは、加速度を測定する。通信端末20‐31は、ステップS210でビーコン情報を受信した後、加速度センサにより測定された加速度をタグ40‐1から取得し、ステップS211で位置情報とともに加速度をサーバ装置10に送信する。サーバ装置10は、通信端末20‐31から受信した加速度に基づいて、タグ40‐1が移動しているか否かを判断する。タグ40‐1が移動している場合、サーバ装置10は、ステップS301に戻り、探索エリアを変更する処理を行う。探索エリアが変更されると、再びステップS204〜S212の処理が行われる。この処理は、タグ40‐1が停止したと判断されるまで繰り返される。 (12) In the second embodiment, when the discovered tag 40-1 is moving, the search for the tag 40-1 may be continued until the tag 40-1 stops. In this modification, the tag 40 has an acceleration sensor. The acceleration sensor measures acceleration. After receiving the beacon information at step S210, the communication terminal 20-31 acquires the acceleration measured by the acceleration sensor from the tag 40-1, and transmits the acceleration together with the position information to the server device 10 at step S211. The server device 10 determines whether or not the tag 40-1 is moving based on the acceleration received from the communication terminal 20-31. When the tag 40-1 is moving, the server apparatus 10 returns to step S301 and performs a process of changing the search area. When the search area is changed, steps S204 to S212 are performed again. This process is repeated until it is determined that the tag 40-1 has stopped.

(13)第1実施形態において、対象エリアは、センサ30が設置されたエリアに限定されない。例えば、対象エリアは、センサ30が設置されたエリア及びこのエリアに隣接するエリアであってもよい。また、第2実施形態において、探索エリアは、タグ40が過去に存在したエリアに限定されない。例えば、探索エリアは、タグ40が過去に存在したエリア及びこのエリアに隣接するエリアであってもよい。 (13) In the first embodiment, the target area is not limited to the area where the sensor 30 is installed. For example, the target area may be an area where the sensor 30 is installed and an area adjacent to this area. In the second embodiment, the search area is not limited to the area where the tag 40 has existed in the past. For example, the search area may be an area where the tag 40 has existed in the past and an area adjacent to this area.

(14)第1実施形態において、センサ30の設置場所は、ビル内に限定されない。センサ30は、畑等の屋外に設置されてもよい。また、センサ30は、環境に関する物理量を測定する機器に限定されない。例えば、センサ30は、近距離通信機能を有する電流計であってもよい。 (14) In the first embodiment, the installation location of the sensor 30 is not limited to a building. The sensor 30 may be installed outdoors such as a field. Moreover, the sensor 30 is not limited to the apparatus which measures the physical quantity regarding an environment. For example, the sensor 30 may be an ammeter having a short-range communication function.

(15)サーバ装置10の制御部11により実行されるプログラム及び通信端末20の制御部21により実行されるプログラムは、インターネット等の通信回線を介してダウンロードされてもよい。また、これらのプログラムは、磁気記録媒体(磁気テープ、磁気ディスクなど)、光記録媒体(光ディスクなど)、光磁気記録媒体、半導体メモリなどの、コンピュータが読取可能な記録媒体に記録した状態で提供されてもよい。 (15) The program executed by the control unit 11 of the server device 10 and the program executed by the control unit 21 of the communication terminal 20 may be downloaded via a communication line such as the Internet. These programs are provided in a state where they are recorded on a computer-readable recording medium such as a magnetic recording medium (magnetic tape, magnetic disk, etc.), an optical recording medium (optical disk, etc.), a magneto-optical recording medium, or a semiconductor memory May be.

(16)第1実施形態において、サーチ条件は、センサ30毎、通信端末20毎に、少なくともサーチ期間又はサーチエリアのいずれか一つが異なるように設定されてもよい。これにより、各通信端末20が備える通信規格を基準として、最適なサーチ条件を設定することができる。 (16) In the first embodiment, the search condition may be set so that at least one of the search period or the search area is different for each sensor 30 and each communication terminal 20. Thereby, optimal search conditions can be set on the basis of the communication standard with which each communication terminal 20 is provided.

1:通信システム、3:通信システム、10:サーバ装置、20:通信端末、27:測位部、30:センサ、40:タグ、111:条件設定部、112:エリア設定部、113:選択部、114:条件送信部、115:管理部、116:解除部、117:拡大部、118:算出部、119:変更部、131:エリア設定部、132:条件設定部、133:選択部、134:条件送信部、135:管理部、136:解除部、137:変更部、138:拡大部、211:サーチ部、212:取得部、213:情報送信部、214:表示制御部、221:サーチ部、222:情報送信部、223:表示制御部 1: communication system, 3: communication system, 10: server device, 20: communication terminal, 27: positioning unit, 30: sensor, 40: tag, 111: condition setting unit, 112: area setting unit, 113: selection unit, 114: Condition transmission unit, 115: Management unit, 116: Release unit, 117: Enlargement unit, 118: Calculation unit, 119: Change unit, 131: Area setting unit, 132: Condition setting unit, 133: Selection unit, 134: Condition transmission unit, 135: management unit, 136: release unit, 137: change unit, 138: enlargement unit, 211: search unit, 212: acquisition unit, 213: information transmission unit, 214: display control unit, 221: search unit 222: Information transmission unit, 223: Display control unit

Claims (8)

発信機から発信された信号をサーチするための異なる条件を、複数の通信端末の一部に送信する条件送信部
を備えるサーバ装置。
A server apparatus comprising a condition transmission unit that transmits different conditions for searching for a signal transmitted from a transmitter to a part of a plurality of communication terminals.
少なくともサーチ期間又はサーチエリアのいずれか一つが異なるように前記条件を設定する条件設定部を更に備える
請求項1に記載のサーバ装置。
The server apparatus according to claim 1, further comprising a condition setting unit that sets the condition so that at least one of a search period or a search area is different.
前記条件設定部は、前記発信機に関する情報の取得間隔、過去に行われたサーチにおいて前記発信機が発見されたときに用いられた条件、又は前記発信機の周辺に位置する通信端末の密度のいずれかに応じて、前記条件を設定する
請求項2に記載のサーバ装置。
The condition setting unit includes an acquisition interval of information on the transmitter, conditions used when the transmitter is found in a search performed in the past, or a density of communication terminals located around the transmitter. The server apparatus according to claim 2, wherein the condition is set according to any of the above.
前記発信機に関する情報の取得間隔、過去に行われたサーチにおいて前記発信機を発見した通信端末が選択された条件、又は前記発信機の周辺に位置する通信端末の密度のいずれかに応じて、前記複数の通信端末の一部を選択する選択部を更に備える
請求項1から3のいずれか1項に記載のサーバ装置。
Depending on either the acquisition interval of information about the transmitter, the condition under which the communication terminal that found the transmitter in a search performed in the past was selected, or the density of communication terminals located around the transmitter, The server apparatus according to claim 1, further comprising a selection unit that selects a part of the plurality of communication terminals.
前記条件を受信した通信端末が前記発信機から所定の距離以上離れた場合に、前記条件の解除要求を前記通信端末に送信する解除部を更に備える
請求項1から4のいずれか1項に記載のサーバ装置。
The cancel part which transmits the cancellation request | requirement of the said condition to the said communication terminal is further provided, when the communication terminal which received the said conditions leaves | separated more than predetermined distance from the said transmitter. Server device.
前記条件の送信後、所定の時間経過しても前記発信機に関する情報が取得されない場合、前記条件設定部は前記条件とは異なる新たな条件を設定し、
前記条件送信部は、前記複数の通信端末の一部に前記新たな条件を送信する
請求項2に記載のサーバ装置。
If the information regarding the transmitter is not acquired even after a predetermined time has passed after the transmission of the condition, the condition setting unit sets a new condition different from the condition,
The server device according to claim 2, wherein the condition transmission unit transmits the new condition to a part of the plurality of communication terminals.
前記条件の送信後、所定の時間経過しても前記発信機に関する情報が取得されない場合、前記条件送信部は前記複数の通信端末の一部が存在するエリアと異なるエリアに存在する通信端末に前記条件を送信する
請求項1から6のいずれか1項に記載のサーバ装置。
When the information related to the transmitter is not acquired even after a predetermined time has elapsed after the transmission of the condition, the condition transmission unit transmits the information to a communication terminal existing in an area different from an area where a part of the plurality of communication terminals exists. The server device according to claim 1, which transmits a condition.
発信機から発信された信号をサーチするための異なる条件を、複数の通信端末の一部に送信するステップ
を備える方法。
Transmitting different conditions for searching for a signal transmitted from a transmitter to a part of a plurality of communication terminals.
JP2014120459A 2014-06-11 2014-06-11 Server device Active JP6321462B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014120459A JP6321462B2 (en) 2014-06-11 2014-06-11 Server device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014120459A JP6321462B2 (en) 2014-06-11 2014-06-11 Server device

Publications (2)

Publication Number Publication Date
JP2016001783A true JP2016001783A (en) 2016-01-07
JP6321462B2 JP6321462B2 (en) 2018-05-09

Family

ID=55077189

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014120459A Active JP6321462B2 (en) 2014-06-11 2014-06-11 Server device

Country Status (1)

Country Link
JP (1) JP6321462B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001282859A (en) * 2000-03-31 2001-10-12 Osaka Gas Co Ltd Information management system, telecommunication line communication device and transmission medium
JP2005003627A (en) * 2003-06-16 2005-01-06 Matsushita Electric Ind Co Ltd Lost article searching system
JP2013098593A (en) * 2011-10-28 2013-05-20 Hitachi Ltd Radio communication system, method for creating neighbor information in radio communication system, and base station

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001282859A (en) * 2000-03-31 2001-10-12 Osaka Gas Co Ltd Information management system, telecommunication line communication device and transmission medium
JP2005003627A (en) * 2003-06-16 2005-01-06 Matsushita Electric Ind Co Ltd Lost article searching system
JP2013098593A (en) * 2011-10-28 2013-05-20 Hitachi Ltd Radio communication system, method for creating neighbor information in radio communication system, and base station

Also Published As

Publication number Publication date
JP6321462B2 (en) 2018-05-09

Similar Documents

Publication Publication Date Title
US10462277B2 (en) Method and device for providing function of mobile terminal
EP3669559B1 (en) Tracking device operation in safety-classified zone
US11736555B2 (en) IOT interaction system
JP6160447B2 (en) Terminal device and program
JP2012529873A (en) Context-based interaction model for mobile devices
EP2981135B1 (en) Position estimation apparatus, position estimation method, terminal of concern, communication method and position estimation system
US10051598B2 (en) Information processing apparatus, information processing method, target terminal, communication method, and program
JP6469782B1 (en) Guidance system, guidance method, information processing apparatus, and information processing program
JP6907063B2 (en) Display control device, display control method and display control program
JP2017166889A (en) Control device, position confirmation system, and program
JP2014011546A (en) Information provision system, information provision method, program, information processing server, and portable terminal
JP6321462B2 (en) Server device
KR20170087270A (en) Server, method and computer program for lodging management and portable terminal
JPWO2019202848A1 (en) Mobile terminal device and user authentication method
KR102042603B1 (en) A server providing locker service based on an augmented reality, a terminal, and computer program stored in computer readable medium
JP6796190B2 (en) Data sharing judgment device
JP6810252B2 (en) Information processing terminal and automatic response method
JP2016157384A (en) Congestion estimation apparatus and congestion estimation method
JP2017163467A (en) Control device, terminal device, position confirmation system, and program
WO2016054290A1 (en) Using proximity sensors for receiving signals in a facility
JP5916778B2 (en) Server, terminal, communication system, and server control program
KR20200004773A (en) A server providing locker service based on an augmented reality, a terminal, and computer program stored in computer readable medium
JP2017224257A (en) Portable electronic equipment, network server, provision method of location name, and computer program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170215

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171017

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171204

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171226

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180226

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180313

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180405

R150 Certificate of patent or registration of utility model

Ref document number: 6321462

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250