JP2017067565A - Terminal device and positioning program - Google Patents

Terminal device and positioning program Download PDF

Info

Publication number
JP2017067565A
JP2017067565A JP2015192260A JP2015192260A JP2017067565A JP 2017067565 A JP2017067565 A JP 2017067565A JP 2015192260 A JP2015192260 A JP 2015192260A JP 2015192260 A JP2015192260 A JP 2015192260A JP 2017067565 A JP2017067565 A JP 2017067565A
Authority
JP
Japan
Prior art keywords
transmitter
positioning
terminal device
rssi
beacon signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2015192260A
Other languages
Japanese (ja)
Inventor
佐野 博之
Hiroyuki Sano
博之 佐野
昌克 塚本
Masakatsu Tsukamoto
昌克 塚本
仁嗣 川崎
Hitotsugu Kawasaki
仁嗣 川崎
哲平 小西
Teppei Konishi
哲平 小西
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 JP2015192260A priority Critical patent/JP2017067565A/en
Publication of JP2017067565A publication Critical patent/JP2017067565A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Fixing By Use Of Radio Waves (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable positioning to be performed even when the environment of positioning has been changed.SOLUTION: The present invention includes: an acquisition part 110, which acquires a BSSID for specifying the RSSIs of beacon signals from a terminal device 100 and a transmitter; and a positioning part 140, which performs positioning on the basis of combinations of RSSIs of the beacon signals from a plurality of transmitters other than a specific transmitter that have been acquired by the acquisition part 110.SELECTED DRAWING: Figure 2

Description

本発明は、端末装置および測位プログラムに関する。   The present invention relates to a terminal device and a positioning program.

近年、GPS(Global Positioning System)の電波の受信が困難な屋内などにおいて、近距離無線通信技術による測位を行うことが提案されている(たとえば特許文献1参照)。   In recent years, it has been proposed to perform positioning using short-range wireless communication technology in indoors where reception of GPS (Global Positioning System) radio waves is difficult (see, for example, Patent Document 1).

特開2012−88237号公報JP 2012-88237 A

近距離無線通信技術による測位の手法としては、発信器からの無線信号(たとえばビーコン信号)をスマートフォンなどの端末装置で受信し、無線信号の受信レベルなどに基づいて端末装置の位置を特定するものがある。このような手法を用いる場合、発信器の移動、紛失、劣化、破損などが生じると、たとえば無線信号の受信レベルの変動によって測位環境が変化し、端末装置の位置が特定できなくなる可能性がある。   As a positioning method using short-range wireless communication technology, a wireless signal (for example, a beacon signal) from a transmitter is received by a terminal device such as a smartphone, and the position of the terminal device is specified based on the reception level of the wireless signal. There is. When such a technique is used, if the transmitter is moved, lost, deteriorated, damaged, etc., the positioning environment may change due to, for example, fluctuations in the reception level of the radio signal, and the position of the terminal device may not be specified. .

本発明は、上記問題点に鑑みてなされたものであり、測位環境に変化が生じた場合でも測位を行えるようにすることを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to enable positioning even when a change occurs in the positioning environment.

本発明の一態様に係る端末装置は、複数の発信器が所定の位置に配置された領域において測位を行う端末装置であって、発信器からの無線信号の受信レベルおよび発信器を特定するための発信器情報を取得する取得手段と、記取得手段によって取得された、特定の発信器を除く複数の発信器からの各無線信号の受信レベルの組み合わせに基づいて測位を行う測位手段と、を備える。   A terminal device according to an aspect of the present invention is a terminal device that performs positioning in an area where a plurality of transmitters are arranged at predetermined positions, and for specifying a reception level of radio signals from a transmitter and a transmitter. Acquisition means for acquiring the transmitter information and positioning means for performing positioning based on a combination of reception levels of each radio signal from a plurality of transmitters excluding a specific transmitter acquired by the acquisition means, Prepare.

また、本発明の一態様に係る測位プログラムは、複数の発信器が所定の位置に配置された領域において測位を行う端末装置に設けられたコンピュータを、発信器からの無線信号の受信レベルおよび発信器を特定するための発信器情報を取得する取得手段と、記取得手段によって取得された、特定の発信器を除く複数の発信器からの各無線信号の受信レベルの組み合わせに基づいて測位を行う測位手段、として機能させる。   In addition, a positioning program according to one embodiment of the present invention provides a computer provided in a terminal device that performs positioning in an area where a plurality of transmitters are arranged at predetermined positions, the reception level and transmission of a radio signal from the transmitter. Positioning is performed based on the combination of the reception level of each radio signal from a plurality of transmitters excluding the specific transmitter acquired by the acquiring unit for acquiring transmitter information for specifying the transmitter and the acquiring unit It functions as a positioning means.

上記端末装置および測位プログラムでは、特定の発信器を除く複数の発信器からの各無線信号の受信レベルの組み合わせに基づいて測位が行われる。特定の発信器は、たとえば、移動、紛失、劣化、破損などの状態にあり、測位環境の変化の原因となる発信器である。仮にこのような発信器を含めた複数の発信器からの各無線信号の受信レベルの組み合わせに基づいて測位を行うと、測位環境の変化の影響を受けて、正確な測位を行うことができない可能性がある。上記端末装置および測位プログラムでは、そのような発信器からの無線信号の受信レベルを利用せずに測位が行われるので、測位環境の変化による影響を受けにくい。よって、測位環境に変化が生じた場合でも測位を行うことができる。   In the terminal device and the positioning program, positioning is performed based on a combination of reception levels of radio signals from a plurality of transmitters excluding a specific transmitter. The specific transmitter is, for example, a transmitter that is in a state of movement, loss, deterioration, breakage, or the like, and causes a change in the positioning environment. If positioning is performed based on the combination of reception levels of radio signals from multiple transmitters including such transmitters, accurate positioning may not be possible due to the influence of changes in the positioning environment. There is sex. In the terminal device and the positioning program, since positioning is performed without using the reception level of the radio signal from such a transmitter, the terminal device and the positioning program are not easily affected by changes in the positioning environment. Therefore, positioning can be performed even when a change occurs in the positioning environment.

測位手段は、取得手段によって取得された無線信号の受信レベルのうち特定の発信器を除く複数の発信器からの各無線信号の受信レベルと、領域における位置を特定するための位置情報と当該位置における各無線信号の受信レベルとを対応づけて記述したデータベースとを照合することによって、測位を行ってもよい。たとえばこのようなデータベースを参照することによって、測位を行うことができる。   The positioning means includes a reception level of each radio signal from a plurality of transmitters excluding a specific transmitter among reception levels of the radio signal acquired by the acquisition means, position information for specifying a position in the region, and the position Positioning may be performed by collating with a database in which the reception level of each wireless signal in FIG. For example, positioning can be performed by referring to such a database.

測位手段は、測位が行われた位置を特定するための位置情報と当該位置における特定の発信器からの無線信号の受信レベルとを対応づけた測位結果情報によって、データベースを更新してもよい。これにより、データベースの内容を測位環境の変化に対応したものとすることができる。たとえば更新後のデータベースを参照すれば、測位環境の変化に対応した測位を行うことが可能になる。   The positioning means may update the database with positioning result information in which position information for specifying a position where positioning has been performed is associated with a reception level of a radio signal from a specific transmitter at the position. As a result, the contents of the database can correspond to changes in the positioning environment. For example, by referring to the updated database, it is possible to perform positioning corresponding to changes in the positioning environment.

測位手段は、測位の信頼度が所定の信頼度以上である場合に、データベースを更新してもよい。これにより、更新後のデータベースの内容の信頼性を高めることができるので、更新後のデータベースを参照して測位を行った場合の測位精度を高めることができる。   The positioning means may update the database when the reliability of positioning is equal to or higher than a predetermined reliability. Thereby, since the reliability of the contents of the updated database can be increased, the positioning accuracy when positioning is performed with reference to the updated database can be increased.

測位手段は、取得手段によって取得された無線信号の受信レベルのうち特定の発信器を含む複数の発信器からの各無線信号の受信レベルと、更新されたデータベースとを照合することによって、測位を行ってもよい。これにより、変化後の測位環境であっても、特定の発信器をも利用した測位が可能になる。   The positioning unit compares the reception level of each radio signal from a plurality of transmitters including a specific transmitter among the reception levels of the radio signal acquired by the acquisition unit with the updated database to perform positioning. You may go. Thereby, even if it is the positioning environment after a change, positioning using a specific transmitter is attained.

本発明によれば、測位環境に変化が生じた場合でも測位を行うことが可能になる。   According to the present invention, positioning can be performed even when the positioning environment changes.

実施形態による測位の手法の概要を説明するための図である。It is a figure for demonstrating the outline | summary of the method of positioning by embodiment. 端末の機能ブロックを示す図である。It is a figure which shows the functional block of a terminal. 異常個体DBの一例を示す第1の図である。It is a 1st figure which shows an example of abnormal individual DB. 異常個体DBの一例を示す第2の図である。It is a 2nd figure which shows an example of abnormal individual DB. フィンガープリントDBの一例を示す図である。It is a figure which shows an example of fingerprint DB. 各位置とビーコン信号のRSSIとの関係を説明するための図である。It is a figure for demonstrating the relationship between each position and RSSI of a beacon signal. 各ビーコン信号のRSSIと、初期状態でのRSSIとの差分の一例を示す図である。It is a figure which shows an example of the difference of RSSI of each beacon signal, and RSSI in an initial state. 端末のハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of a terminal. 測位プログラムの構成の一例を示す図である。It is a figure which shows an example of a structure of a positioning program. 端末において実行される処理の一例を示す第1のフローチャートである。It is a 1st flowchart which shows an example of the process performed in a terminal. 端末において実行される処理の一例を示す第2のフローチャートである。It is a 2nd flowchart which shows an example of the process performed in a terminal. 端末において実行される処理の一例を示す第3のフローチャートである。It is a 3rd flowchart which shows an example of the process performed in a terminal.

以下、本発明の実施形態について、図面を参照しながら説明する。なお、図面の説明において同一要素には同一符号を付し、重複する説明は省略する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the description of the drawings, the same elements are denoted by the same reference numerals, and redundant descriptions are omitted.

実施形態に係る端末装置は、所定の領域において測位を行う。端末装置は、たとえばスマートフォンのような移動体端末装置として実現されてよい。所定の領域は、所定の建物を含む領域であり、そのような領域を、以下、単に建物という場合もある。建物は、屋外型施設であってもよい。建物では、複数の発信器が所定の位置に配置されることによって、複数のノードおよびノード間のリンクが設定される。ノードは、建物における抽象化された位置である。リンクは、各ノードの接続経路を示す。このようなノードおよびリンクを用いた構造(ノード・リンク構造)によって、建物における各位置が抽象的に示される。たとえば、端末装置がいずれのノードに滞在しているかという情報に基づいて、建物における端末装置の位置を特定する(測位を行う)ことができる。また、端末装置がいずれのリンク(経路)に沿って移動したかという情報に基づいて、建物における端末装置の移動経路を特定することもできる。   The terminal device according to the embodiment performs positioning in a predetermined area. The terminal device may be realized as a mobile terminal device such as a smartphone. The predetermined region is a region including a predetermined building, and such a region may hereinafter be simply referred to as a building. The building may be an outdoor facility. In a building, a plurality of transmitters are arranged at predetermined positions, whereby a plurality of nodes and links between the nodes are set. A node is an abstracted position in a building. The link indicates a connection path of each node. With such a structure using nodes and links (node / link structure), each position in the building is abstractly shown. For example, the position of the terminal device in a building can be specified (positioning) based on the information on which node the terminal device is staying at. Moreover, the movement path | route of the terminal device in a building can also be specified based on the information on which link (path | route) the terminal device moved along.

発信器は、近距離無線信号を発信する。近距離無線信号は、たとえば、発信器から数メートルから数十メートルの範囲内において受信可能なビーコン信号である。ビーコン信号としては、たとえば、WiFi(登録商標)信号およびBLE(Bluetooth(登録商標) Low Energy)信号が用いられてよい。   The transmitter transmits a short-range wireless signal. The short-range wireless signal is a beacon signal that can be received within a range of several meters to several tens of meters from the transmitter, for example. As the beacon signal, for example, a WiFi (registered trademark) signal and a BLE (Bluetooth (registered trademark) Low Energy) signal may be used.

図1は、建物内に配置された発信器と、ノード・リンク構造との関係を説明するための図である。図1の(a)は、建物内に発信が配置された状態を模式的に示す。図1の(b)は、図1の(a)に対応するノード・リンク構造を示す。なお、発信器は、建物外にも配置されてよい。   FIG. 1 is a diagram for explaining the relationship between a transmitter arranged in a building and a node / link structure. FIG. 1A schematically shows a state in which a call is placed in a building. FIG. 1B shows a node / link structure corresponding to FIG. The transmitter may be arranged outside the building.

図1の(a)に示される例では、建物1は、スーパーマーケットのような店舗が想定されている。ただし、建物1はこの例に限定されない。建物1では、通路3に面した棚2が配置されている。建物1には、複数の発信器Tが配置される。なお、各発信器を区別し得るように、発信器Tには、TA〜TFの異なる符号を付している。発信器Tは、各通路3の接続点に配置されてもよく、この例では、各通路3の接続点に、発信器TA〜TFがそれぞれ配置されている。   In the example shown in FIG. 1A, the building 1 is assumed to be a store such as a supermarket. However, the building 1 is not limited to this example. In the building 1, a shelf 2 facing the passage 3 is arranged. A plurality of transmitters T are arranged in the building 1. In addition, the code | symbol from which TA-TF differs is attached | subjected to the transmitter T so that each transmitter can be distinguished. The transmitter T may be disposed at a connection point of each passage 3. In this example, transmitters TA to TF are disposed at connection points of the respective passages 3.

上述のように、発信器Tはビーコン信号を発信する。そこで、建物1での各位置Pにおいて、各発信器Tからのビーコン信号の受信レベルを示すRSSI(Received Signal Strength Indicator)が予め計測され、計測場所を抽象的に示すノードNが設定される。なお、各位置を区別し得るように、位置Pには、P1〜P7の異なる符号を付している。また、各ノードを区別し得るように、ノードNには、N1〜N7の異なる符号を付している。ノードN1〜N7は、位置P1〜P7にそれぞれ対応する。   As described above, the transmitter T transmits a beacon signal. Therefore, at each position P in the building 1, RSSI (Received Signal Strength Indicator) indicating the reception level of the beacon signal from each transmitter T is measured in advance, and a node N that abstractly indicates the measurement location is set. In addition, in order to distinguish each position, the different code | symbol of P1-P7 is attached | subjected to the position P. FIG. Further, different symbols N1 to N7 are attached to the node N so that the nodes can be distinguished. Nodes N1 to N7 correspond to the positions P1 to P7, respectively.

図1の(b)に示されるように、リンクLが、ノードN1〜N7間に設定される。リンクLはノードN1〜N7間を遷移可能な経路である。リンクLは、ノードN1〜N7を接続するすべての経路のうち、たとえば端末装置のユーザが移動可能な経路のみに対応し得る。この場合、リンクLは、通路3に対応する。なお、この図1の(b)に示されるノード・リンク構造は、有向グラフで表されてもよく、その場合、同じノードN間に設定されるリンクLであっても、一方のノードNから他方のノードNに向かう経路と、他方のノードNから一方のノードNに向かう経路とで、リンクLの性質(たとえば移動コストなど)が異なっていてよい。   As shown in FIG. 1B, the link L is set between the nodes N1 to N7. The link L is a path that can transit between the nodes N1 to N7. The link L can correspond to, for example, only a route that can be moved by the user of the terminal device among all the routes connecting the nodes N1 to N7. In this case, the link L corresponds to the passage 3. The node / link structure shown in FIG. 1B may be represented by a directed graph. In this case, even if the link L is set between the same nodes N, the one node N to the other The property of the link L (for example, movement cost) may be different between the route toward the node N and the route from the other node N to the one node N.

以上のようにして、建物1のフロアマップが、ノード・リンク構造(グラフ構造)として抽象化される。このようなノード・リンク構造を用いることで、建物1において測位を行うことができる。たとえば、建物1の或る位置において、各発信器Tからのビーコン信号のRSSIを取得し、取得したRSSIと、先に説明した予め計測されたRSSIとを比較(照合)すれば、その位置が、ノード・リンク構造におけるいずれのノードに位置しているかが特定される。そして、ノード・リンク構造は、建物1のフロアマップを抽象化したものであるので、ノード・リンク構造における位置が特定されれば、そこから、建物1における位置も特定される。   As described above, the floor map of the building 1 is abstracted as a node / link structure (graph structure). By using such a node / link structure, positioning in the building 1 can be performed. For example, if the RSSI of the beacon signal from each transmitter T is acquired at a certain position of the building 1 and the acquired RSSI is compared (matched) with the previously measured RSSI described above, the position is determined. , Which node in the node link structure is located is specified. Since the node / link structure is an abstraction of the floor map of the building 1, if the position in the node / link structure is specified, the position in the building 1 is also specified therefrom.

ここで、建物の各位置において各発信器Tからのビーコン信号のRSSIが予め計測された際の発信器Tの状態を「初期状態」と称する。初期状態では、発信器Tは、たとえば、発信器Tが発信するビーコン信号の出力レベルが所定のレベルであり、発信器Tの設置場所が所定の場所である、という条件のもとに置かれていることを意味する。   Here, the state of the transmitter T when the RSSI of the beacon signal from each transmitter T is measured in advance at each position of the building is referred to as an “initial state”. In the initial state, the transmitter T is placed under a condition that, for example, the output level of the beacon signal transmitted from the transmitter T is a predetermined level, and the installation location of the transmitter T is a predetermined location. Means that

図2は、実施形態に係る端末装置の機能ブロックを示す図である。図2に示されるように、端末装置100は、取得部110と、検出部120と、判定部130と、測位部140と、制御部150と、通信部160と、記憶部170とを含む。   FIG. 2 is a diagram illustrating functional blocks of the terminal device according to the embodiment. As illustrated in FIG. 2, the terminal device 100 includes an acquisition unit 110, a detection unit 120, a determination unit 130, a positioning unit 140, a control unit 150, a communication unit 160, and a storage unit 170.

取得部110は、発信器Tからのビーコン信号を受信することによって、端末装置100におけるビーコン信号のRSSI(Received Signal Strength Indicator)、および発信器Tを特定するための発信器情報を取得する部分(取得手段)である。発信器情報は、たとえばBSSID(Basic Service Set Identifier)である。なお、取得部110によって取得されたRSSIおよび発信器情報の履歴は、後述の記憶部170に記憶され得る。   The acquisition unit 110 receives a beacon signal from the transmitter T, thereby acquiring RSSI (Received Signal Strength Indicator) of the beacon signal in the terminal device 100 and transmitter information for specifying the transmitter T ( Acquisition means). The transmitter information is, for example, a BSSID (Basic Service Set Identifier). The RSSI and transmitter information history acquired by the acquisition unit 110 can be stored in the storage unit 170 described later.

図2に示される例では、取得部110は、WiFi信号受信部111と、BLE信号受信部112とを含む。WiFi信号受信部111は、WiFi信号を受信する部分である。ビーコン信号がWiFi信号である場合には、WiFi信号受信部111がビーコン信号を受信することとなる。BLE信号受信部112は、BLE信号を受信する部分である。ビーコン信号がBLE信号である場合には、BLE信号受信部112がビーコン信号を受信することとなる。   In the example illustrated in FIG. 2, the acquisition unit 110 includes a WiFi signal reception unit 111 and a BLE signal reception unit 112. The WiFi signal receiving unit 111 is a part that receives a WiFi signal. When the beacon signal is a WiFi signal, the WiFi signal reception unit 111 receives the beacon signal. The BLE signal receiving unit 112 is a part that receives a BLE signal. When the beacon signal is a BLE signal, the BLE signal receiving unit 112 receives the beacon signal.

検出部120は、異常状態にある発信器Tを検出する部分(検出手段)である。異常状態にある発信器Tとは、初期状態とは異なる状態にある発信器Tである。たとえば、発信器Tが初期状態の設置場所から異なる設置場所に移動した状態、発信器Tが紛失した状態などは異常状態である。また、発信器Tが劣化し、発信器Tが発信するビーコン信号の出力レベルが初期状態の出力レベルよりも低い状態、発信器Tが破損等してビーコン信号を発信していない状態なども異常状態である。なお、発信器Tの劣化によるビーコン信号の出力レベルが低下は、たとえば、発信器Tのバッテリ電圧の低下によって生じる。バッテリの残量がゼロになると、発信器Tのビーコン信号の発信が停止された状態となる。   The detection unit 120 is a part (detection means) that detects the transmitter T in an abnormal state. The transmitter T in the abnormal state is a transmitter T in a state different from the initial state. For example, the state in which the transmitter T has moved from the initial installation location to a different installation location, the state in which the transmitter T has been lost, etc. are abnormal states. In addition, the transmitter T is deteriorated, the output level of the beacon signal transmitted from the transmitter T is lower than the output level in the initial state, the transmitter T is damaged, etc., and the beacon signal is not transmitted. State. Note that the decrease in the output level of the beacon signal due to deterioration of the transmitter T is caused by, for example, a decrease in the battery voltage of the transmitter T. When the remaining amount of the battery becomes zero, the transmission of the beacon signal of the transmitter T is stopped.

図2に示される例では、検出部120は、異常固体検出部121と、移動先検出部122とを含む。異常固体検出部121は、異常状態にある発信器Tを検出する。たとえば、取得部110によって取得された発信器Tからのビーコン信号のRSSIが、初期状態の発信器Tからのビーコン信号のRSSIと異なる場合には、異常固体検出部121は、そのビーコン信号を発信する発信器Tを、異常状態にある発信器Tとして検出する。なお、異常固体検出部121によって異常状態にあると検出された発信器Tがどのような異常状態にあるかは、後述の判定部130によって判定される。移動先検出部122は、異常状態にある発信器Tが、初期状態の設置場所から移動したことによるものである場合に、その発信器Tの移動先を検出する。異常固体検出部121および移動先検出部122による検出手法さらなる詳細については後述する。   In the example shown in FIG. 2, the detection unit 120 includes an abnormal solid detection unit 121 and a movement destination detection unit 122. The abnormal solid detector 121 detects the transmitter T in an abnormal state. For example, when the RSSI of the beacon signal from the transmitter T acquired by the acquisition unit 110 is different from the RSSI of the beacon signal from the transmitter T in the initial state, the abnormal solid detection unit 121 transmits the beacon signal. The transmitter T to be detected is detected as the transmitter T in an abnormal state. In addition, it is determined by the determination part 130 mentioned later what kind of abnormal state the transmitter T detected by the abnormal solid detection part 121 is in an abnormal state. The movement destination detection unit 122 detects the movement destination of the transmitter T when the transmitter T in the abnormal state is moved from the installation location in the initial state. Further details of the detection method by the abnormal solid detection unit 121 and the movement destination detection unit 122 will be described later.

判定部130は、検出部120によって検出された異常状態にある発信器Tの異常状態を判定する部分(判定手段)である。異常状態の判定とは、上述の移動、紛失、劣化、破損などを含め、発信器Tがどのような異常状態にあるのかを判定することである。判定部130は、建物1における端末装置100の移動に伴い取得部110によって取得された発信器Tからのビーコン信号のRSSIおよび発信器情報の履歴に基づいて、発信器Tの異常状態を判定する。判定部130による判定手法の詳細については後述する。   The determination unit 130 is a part (determination unit) that determines the abnormal state of the transmitter T in the abnormal state detected by the detection unit 120. The determination of the abnormal state is to determine what abnormal state the transmitter T is in, including the above-mentioned movement, loss, deterioration, breakage, and the like. The determination unit 130 determines the abnormal state of the transmitter T based on the RSSI of the beacon signal acquired from the transmitter T and the history of transmitter information acquired by the acquisition unit 110 as the terminal device 100 moves in the building 1. . Details of the determination method by the determination unit 130 will be described later.

測位部140は、端末装置100の測位を行う部分(測位手段)である。測位部140は、取得部110によって取得された、複数の発信器Tのうちの特定の(異常状態にある)発信器Tを除く複数の発信器Tからのビーコン信号のRSSIの組み合わせに基づいて測位を行う。特定の発信器Tは、異常状態にある発信器Tであり、たとえば、上述の検出部120によって異常状態にあると検出された発信器Tであってよい。   The positioning unit 140 is a part (positioning means) that performs positioning of the terminal device 100. The positioning unit 140 is based on the RSSI combination of beacon signals from a plurality of transmitters T excluding a specific (in an abnormal state) transmitter T among the plurality of transmitters T acquired by the acquisition unit 110. Perform positioning. The specific transmitter T is a transmitter T in an abnormal state, and may be, for example, the transmitter T detected by the detection unit 120 as being in an abnormal state.

図2に示される例では、測位部140は、照合部141と、更新部142とを含む。照合部141は、取得部110によって取得されたRSSIのうち異常状態にある発信器Tを除く複数の発信器TからのRSSIと、後述の記憶部170に記憶されたフィンガープリントDB173と、を照合することによって、端末装置100の測位を行う。フィンガープリントDB173は、後述するように、建物1における位置を特定するための位置情報(場所ID)と、当該位置における各発信器Tからのビーコン信号のRSSIとを対応づけて記述している。フィンガープリントDB173の詳細については後に図5を参照して説明する。更新部142は、フィンガープリントDB173を更新する。照合部141による照合手法および更新部142による更新手法のさらなる詳細については後述する。   In the example illustrated in FIG. 2, the positioning unit 140 includes a matching unit 141 and an update unit 142. The collation unit 141 collates RSSI from a plurality of transmitters T excluding the transmitter T in an abnormal state among the RSSIs acquired by the acquisition unit 110 and a fingerprint DB 173 stored in the storage unit 170 described later. By doing so, positioning of the terminal device 100 is performed. As will be described later, the fingerprint DB 173 describes position information (location ID) for specifying the position in the building 1 and the RSSI of the beacon signal from each transmitter T at the position. Details of the fingerprint DB 173 will be described later with reference to FIG. The update unit 142 updates the fingerprint DB 173. Further details of the verification method by the verification unit 141 and the update method by the update unit 142 will be described later.

制御部150は、端末装置100に含まれる各要素を制御することによって、端末装置100の全体制御を行う部分である。   The control unit 150 is a part that performs overall control of the terminal device 100 by controlling each element included in the terminal device 100.

通信部160は、端末装置100の外部と通信を行う部分である。通信部160によって、たとえば、後述の記憶部170に記憶される種々の情報が追加して取得され、あるいは更新され得る。   The communication unit 160 is a part that communicates with the outside of the terminal device 100. For example, the communication unit 160 can additionally acquire or update various information stored in the storage unit 170 described later.

記憶部170は、端末装置100によって実行される処理に必要な種々の情報を記憶する部分である。たとえば、記憶部170は、建物1での各位置における初期状態の発信器Tからのビーコン信号RSSIと、発信器情報とを対応づけて記憶する。これについては、後に図6を参照して改めて説明する。また、記憶部170は、取得部110によって取得された端末装置100におけるビーコン信号のRSSIおよび発信器情報の履歴(履歴情報)を記憶する。履歴情報は、たとえば建物1での各位置と、RSSIと、発信器TのBSSIDとを対応づけて記述する。履歴情報には、時刻情報が含まれてもよい。また、記憶部170は、端末装置100が異常状態にある発信器Tを検出するために必要な処理を端末装置100に実行させるためのプログラム(検出プログラム)、および、端末装置100の測位を行うために必要な処理を端末装置100に実行させるためのプログラム(測位プログラム)を記憶する。さらに、図2に示される例では、記憶部170は、異常個体DB171と、グラフDB172と、フィンガープリントDB173とを記憶する。   The storage unit 170 is a part that stores various information necessary for processing executed by the terminal device 100. For example, the memory | storage part 170 matches and memorize | stores the beacon signal RSSI from the transmitter T of the initial state in each position in the building 1, and transmitter information. This will be described later with reference to FIG. In addition, the storage unit 170 stores the RSSI of the beacon signal and the history of transmitter information (history information) in the terminal device 100 acquired by the acquisition unit 110. The history information describes, for example, each position in the building 1, the RSSI, and the BSSID of the transmitter T in association with each other. The history information may include time information. Further, the storage unit 170 performs a program (detection program) for causing the terminal device 100 to execute processing necessary for detecting the transmitter T in which the terminal device 100 is in an abnormal state, and performs positioning of the terminal device 100. A program (positioning program) for causing the terminal device 100 to execute processing necessary for this is stored. Further, in the example illustrated in FIG. 2, the storage unit 170 stores an abnormal individual DB 171, a graph DB 172, and a fingerprint DB 173.

異常個体DB171は、異常状態にある発信器Tとして検出された発信器Tに関する情報を記憶する。図3は、異常個体DB171の一例を示す図である。図3に示される例では、異常個体DBは、「BSSID」と、「異常ステータス」と「移動先」とを対応づけて記述する。   The abnormal individual DB 171 stores information related to the transmitter T detected as the transmitter T in an abnormal state. FIG. 3 is a diagram illustrating an example of the abnormal individual DB 171. In the example shown in FIG. 3, the abnormal individual DB describes “BSSID”, “abnormal status”, and “destination” in association with each other.

「BSSID」は、発信器Tを特定するための識別子であり、一般的にはMACアドレスとも呼ばれている。図3に示される例では、BSSIDは、数値およびアルファベットの組み合わせ(「00:00:00:AA:BB:CC」など)で表される。   “BSSID” is an identifier for identifying the transmitter T, and is generally called a MAC address. In the example shown in FIG. 3, the BSSID is represented by a combination of a numerical value and an alphabet (such as “00: 00: 00: AA: BB: CC”).

「異常ステータス」は、発信器Tの異常状態の種類を示す。図3に示される例では、異常ステータスは、文字列(「停止」、「移動」、「劣化」など)で表される。異常ステータスの内容については、先に説明したとおりである。   The “abnormal status” indicates the type of abnormal state of the transmitter T. In the example shown in FIG. 3, the abnormal status is represented by a character string (“stop”, “move”, “deteriorated”, etc.). The contents of the abnormal status are as described above.

「移動先」は、移動後の発信器Tの設置場所を示す。図3に示される例では、移動先は、数字(「13」など)で表される。たとえば、ノード・リンク構造(図1の(b))における各位置を示す番号(場所ID)が定められており、「移動先」は場所IDを示す。いくつかの場所IDは、ノードNを示す識別子であってよい。なお、移動先は、異常ステータスが移動である場合に設定され、それ以外の場合には設定されない(「NULL」とされる)。   “Destination” indicates the installation location of the transmitter T after movement. In the example shown in FIG. 3, the movement destination is represented by a number (such as “13”). For example, a number (location ID) indicating each position in the node / link structure ((b) in FIG. 1) is defined, and “movement destination” indicates the location ID. Some place IDs may be identifiers indicating the node N. Note that the movement destination is set when the abnormal status is movement, and is not set otherwise (“NULL”).

図4は、異常個体DB171の別の例を示す図である。ここでは、異常個体DB171は、各発信器Tに異常が発生しているかどうかという情報を記憶する。図4に示される例では、異常個体DB171では、各発信器TA〜TBについて、「True」または「False」のいずれかのフラグが設定される。「True」は、発信器Tが異常状態にあることを示す。「False」は、そうでないこと(たとえば初期状態にあること)を示す。   FIG. 4 is a diagram illustrating another example of the abnormal individual DB 171. Here, the abnormal individual DB 171 stores information on whether or not an abnormality has occurred in each transmitter T. In the example shown in FIG. 4, in the abnormal individual DB 171, either “True” or “False” flag is set for each of the transmitters TA to TB. “True” indicates that the transmitter T is in an abnormal state. “False” indicates not (for example, in an initial state).

フィンガープリントDB173は、建物1での各位置と、各位置における各発信器Tからのビーコン信号のRSSIとの組合せを記憶する。図5は、フィンガープリントDB173の一例を示す図である。図5に示される例では、フィンガープリントDB173は、「場所ID」と、「RSSI_TA」と、「RSSI_TB」と、「RSSI_TC」と、「RSSI_TD」と、「RSSI_TE」と、「RSSI_TF」とを対応づけて記述する。   The fingerprint DB 173 stores a combination of each position in the building 1 and the RSSI of the beacon signal from each transmitter T at each position. FIG. 5 is a diagram illustrating an example of the fingerprint DB 173. In the example shown in FIG. 5, the fingerprint DB 173 corresponds to “location ID”, “RSSI_TA”, “RSSI_TB”, “RSSI_TC”, “RSSI_TD”, “RSSI_TE”, and “RSSI_TF”. Describe.

「場所ID」は、先に説明した図1の(b)に示されるノードNの場所を示す識別子である。図5に示される例では、場所IDは、数字(「1」など)で表される。たとえば場所ID「1」は、ノードN1(図1の(b))に対応する。   The “location ID” is an identifier indicating the location of the node N shown in FIG. In the example shown in FIG. 5, the location ID is represented by a number (such as “1”). For example, the place ID “1” corresponds to the node N1 ((b) in FIG. 1).

「RSSI_TA」から「RSSI_TF」は、対応する場所IDで示される建物1の各位置における、発信器TA〜TFからのビーコン信号のRSSIをそれぞれ示す。「RSSI_TA」から「RSSI_TF」は、対応する発信器TのBSSIDであってもよい。図5に示される例では、各RSSIの値は数値(「−62」など)で表される。RSSIの単位は、たとえばdBmである。   “RSSI_TA” to “RSSI_TF” indicate RSSIs of beacon signals from the transmitters TA to TF at each position of the building 1 indicated by the corresponding place ID. “RSSI_TA” to “RSSI_TF” may be the BSSID of the corresponding transmitter T. In the example shown in FIG. 5, each RSSI value is represented by a numerical value (such as “−62”). The unit of RSSI is, for example, dBm.

フィンガープリントDB173に記憶されている情報は、先に図1を参照して説明したように予め計測されたものである。ただし、後述するように、フィンガープリントDB173に記憶された情報は、測位部140の更新部142によって更新され得る。また、計測は、同じ位置で複数回行われてもよく、図5に示される例では、同じ場所ID(たとえば「1」)について複数回(たとえば2回)計測された各発信器Tからのビーコン信号のRSSIがそれぞれ記憶されている。   The information stored in the fingerprint DB 173 has been measured in advance as described above with reference to FIG. However, as will be described later, the information stored in the fingerprint DB 173 can be updated by the update unit 142 of the positioning unit 140. In addition, the measurement may be performed a plurality of times at the same position. In the example shown in FIG. 5, from each transmitter T measured a plurality of times (for example, twice) for the same place ID (for example, “1”). Each RSSI of the beacon signal is stored.

次に、図6および図7を参照して、検出部120による異常状態にある発信器Tの検出手法の例について説明する。   Next, an example of a technique for detecting the transmitter T in an abnormal state by the detection unit 120 will be described with reference to FIGS. 6 and 7.

図6は、或る建物内の各位置における、初期状態の各発信器Tからのビーコン信号のRSSIの一例を示す。この計測は、たとえば端末装置100の取得部110の機能を用いて行われる。図6のグラフの横軸は時刻を示し、縦軸はRSSIを示す。ここで、図6におけるグラフの下側に図示されるように、端末装置100が建物1を所定の速度で各位置を順番に移動するとともに、各発信器Tからのビーコン信号のRSSIを受信することによって、各時刻におけるRSSIが計測されてもよい。この場合、グラフの横軸は、時刻を示すとともに、建物内の各位置を示すことにもなる。なお、図6では、発信器TA〜TDの4つの発信器の例が示される。   FIG. 6 shows an example of RSSI of a beacon signal from each transmitter T in an initial state at each position in a building. This measurement is performed using the function of the acquisition part 110 of the terminal device 100, for example. The horizontal axis of the graph in FIG. 6 indicates time, and the vertical axis indicates RSSI. Here, as illustrated on the lower side of the graph in FIG. 6, the terminal device 100 sequentially moves through the building 1 at a predetermined speed and receives the RSSI of the beacon signal from each transmitter T. Thus, the RSSI at each time may be measured. In this case, the horizontal axis of the graph indicates time and also indicates each position in the building. In addition, in FIG. 6, the example of four transmitters, transmitter TA-TD, is shown.

各発信器TA〜TDからのビーコン信号のRSSIが、曲線CA〜CDによってそれぞれ示される。各発信器Tに対応する位置(その発信器Tに最も近づく位置)において、その発信器Tからのビーコン信号のRSSIが最大となる。ここで、各ビーコン信号のRSSIに対しては、閾値がそれぞれ設定されている。各閾値は、対応するビーコン信号RSSIの最大値よりも小さい値に設定される。   RSSIs of beacon signals from the respective transmitters TA to TD are indicated by curves CA to CD, respectively. At the position corresponding to each transmitter T (the position closest to the transmitter T), the RSSI of the beacon signal from the transmitter T is maximized. Here, a threshold is set for each RSSI of each beacon signal. Each threshold value is set to a value smaller than the maximum value of the corresponding beacon signal RSSI.

閾値を含めた図6に示されるグラフによって与えられる情報、つまり、建物内の各位置における初期状態の発信器Tから発信されるビーコン信号のRSSIと、各ビーコン信号のRSSIに対して設定される閾値と、発信器情報とを対応づけた情報は、記憶部170に予め記憶されている。このような記憶部170に記憶された情報を参照することによって、検出部120の異常固体検出部121は、異常状態にある発信器Tを検出する。具体的に、異常固体検出部121は、初期状態で発信器Tからビーコンが発信される場合の端末装置100におけるビーコン信号のRSSIと、取得部110によって取得されたRSSIとを比較する。図6に示される例では、曲線CA〜CDで示されるRSSIと、取得部110によって取得されたRSSIとが比較される。たとえば、各曲線CA〜CDで示されるRSSIが対応する閾値よりも大きくなると予測される位置において、取得部110によって取得されたRSSIと、閾値とが比較される。その場合、比較結果は、取得されたRSSIがその閾値よりも大きいか否かといった結果である。そして、異常固体検出部121は、比較結果と、取得部110によって取得された発信器情報とに基づいて、異常状態にある発信器Tを検出する。たとえば、取得部110によって取得されたRSSIが閾値以下であるビーコン信号のBSSIDに対応する発信器Tが、異常状態にある発信器Tとして検出される。これは、実際に取得された発信器Tからのビーコン信号のRSSIが、初期状態の発信器Tからのビーコン信号のレベルに対して大幅に変化(低下)しており、発信器Tに何らかの異常が発生していると考えられるためである。   The information given by the graph shown in FIG. 6 including the threshold value, that is, the RSSI of the beacon signal transmitted from the transmitter T in the initial state at each position in the building and the RSSI of each beacon signal are set. Information in which the threshold value and the transmitter information are associated with each other is stored in the storage unit 170 in advance. By referring to the information stored in the storage unit 170, the abnormal solid detection unit 121 of the detection unit 120 detects the transmitter T in an abnormal state. Specifically, the abnormal solid detection unit 121 compares the RSSI of the beacon signal in the terminal device 100 when the beacon is transmitted from the transmitter T in the initial state with the RSSI acquired by the acquisition unit 110. In the example illustrated in FIG. 6, the RSSI indicated by the curves CA to CD and the RSSI acquired by the acquisition unit 110 are compared. For example, the RSSI acquired by the acquisition unit 110 is compared with the threshold value at a position where the RSSI indicated by each of the curves CA to CD is predicted to be larger than the corresponding threshold value. In that case, the comparison result is a result of whether or not the acquired RSSI is larger than the threshold value. Then, the abnormal solid detector 121 detects the transmitter T in an abnormal state based on the comparison result and the transmitter information acquired by the acquisition unit 110. For example, the transmitter T corresponding to the BSSID of the beacon signal whose RSSI acquired by the acquisition unit 110 is equal to or less than the threshold is detected as the transmitter T in an abnormal state. This is because the RSSI of the beacon signal from the transmitter T that is actually acquired is significantly changed (decreased) relative to the level of the beacon signal from the transmitter T in the initial state, and there is some abnormality in the transmitter T. This is because it is considered that this occurs.

あるいは、次のようにして、異常状態にある発信器Tが検出されてもよい。すなわち、端末装置100が建物1の各位置を順番に移動する場合、端末装置100は、各発信器Tによって実現される各ノードNをリンクLに沿って移動することになる。たとえば、図6に示される例において、端末装置100が発信器TA,TBおよびTCに対応する各ノードNをこの順に移動したとき、発信器TAおよび発信器TCからのビーコン信号は正常に受信される(たとえばRSSIが閾値より大きい)一方で、発信器TBが異常状態にあるため発信器TBからのビーコン信号が正常に受信されない(たとえばRSSIが閾値以下あるいはビーコン信号自体が観測されなかった)場合を想定する。つまり、発信器TAからのビーコン信号および発信器TCからのビーコン信号がこの順に取得された場合を想定する。この場合、ノード・リンク構造上では、端末装置100が、発信器TAによって実現されるノードNおよび発信器TCによって実現されるノードNをこの順に移動したことになる。ここで、ノード・リンク構造が、たとえば、発信器TAによって実現されるノードNから発信器TCによって実現されるノードNへ移動するためには、発信器TBによって実現されるノードNを経由しなければならないノード・リンク構造となっていれば、発信器TBによって実現されるノードNを端末装置100が経由せずに移動したことに応じて、発信器TBが異常状態にあるとして検出することもできる。このように、異常固体検出部121は、端末装置100の移動に伴い取得部110によって取得された発信器Tからのビーコン信号のRSSIおよびBSSIDの取得順序に基づいて、異常状態にある発信器Tを検出してもよい。   Alternatively, the transmitter T in an abnormal state may be detected as follows. That is, when the terminal device 100 moves in order through each position of the building 1, the terminal device 100 moves along each link N along each node N realized by each transmitter T. For example, in the example shown in FIG. 6, when the terminal device 100 moves in this order through the nodes N corresponding to the transmitters TA, TB, and TC, the beacon signals from the transmitter TA and the transmitter TC are normally received. (For example, RSSI is larger than the threshold) On the other hand, when transmitter TB is in an abnormal state, the beacon signal from transmitter TB is not normally received (for example, RSSI is below the threshold or the beacon signal itself is not observed). Is assumed. That is, it is assumed that a beacon signal from the transmitter TA and a beacon signal from the transmitter TC are acquired in this order. In this case, on the node / link structure, the terminal device 100 has moved the node N realized by the transmitter TA and the node N realized by the transmitter TC in this order. Here, for example, in order for the node link structure to move from the node N realized by the transmitter TA to the node N realized by the transmitter TC, the node link structure must pass through the node N realized by the transmitter TB. If the node / link structure is required, the transmitter TB may be detected as being in an abnormal state in response to the movement of the node N realized by the transmitter TB without passing through the terminal device 100. it can. As described above, the abnormal solid detection unit 121 detects the transmitter T in the abnormal state based on the RSSI and BSSID acquisition order of the beacon signal from the transmitter T acquired by the acquisition unit 110 as the terminal device 100 moves. May be detected.

上述の図6の例では、異常状態にある発信器Tの検出を、その発信器Tからのビーコン信号のRSSIのみに基づいて判断していたが、異常状態にある発信器Tの検出は、他の発信器Tを含む複数の発信器Tからのビーコン信号のRSSIに基づいて判断されてもよい。これについて、次に図7を参照して説明する。   In the example of FIG. 6 described above, the detection of the transmitter T in the abnormal state is determined based only on the RSSI of the beacon signal from the transmitter T, but the detection of the transmitter T in the abnormal state is The determination may be made based on RSSI of beacon signals from a plurality of transmitters T including other transmitters T. This will be described next with reference to FIG.

図7は、各位置における初期状態の発信器Tからのビーコン信号のRSSIと、或る位置において取得部110によって取得された各発信器Tからのビーコン信号のRSSIのそれぞれとの差分を示すグラフである。なお、図7では、発信器TA〜TFの6つの発信器の例が示される。   FIG. 7 is a graph showing the difference between the RSSI of the beacon signal from the transmitter T in the initial state at each position and the RSSI of the beacon signal from each transmitter T acquired by the acquisition unit 110 at a certain position. It is. In addition, in FIG. 7, the example of six transmitters, transmitter TA-TF, is shown.

この例では、異なる3つの位置における初期状態の発信器Tからのビーコン信号のRSSIと、取得部110によって取得された発信器Tからのビーコン信号のRSSIとの差分を示す、3通りの曲線C1〜C3が示される。このうち、曲線C3で示されるRSSIの差分は、曲線C1およびC2で示されるRSSIの差分と比較して、特定の発信器Tからのビーコン信号のRSSIの差分のみが他の発信器Tからのビーコン信号のRSSIの差分と大きく異なっている。具体的に、発信器TA,TB,TD〜TFからのビーコン信号のRSSIの差分が比較的小さく且つ近い値(0〜2の範囲内)であるのに対し、発信器TCからのビーコン信号のRSSIの差分のみが比較的大きく(5以上と)なっている。よって、この場合には、発信器TCに異常が発生していると推定することができる。   In this example, three curves C1 showing the difference between the RSSI of the beacon signal from the transmitter T in the initial state at three different positions and the RSSI of the beacon signal from the transmitter T acquired by the acquisition unit 110. ~ C3 is shown. Of these, the RSSI difference indicated by the curve C3 is compared with the RSSI difference indicated by the curves C1 and C2, and only the RSSI difference of the beacon signal from the specific transmitter T is from the other transmitter T. This is greatly different from the RSSI difference of the beacon signal. Specifically, the RSSI difference of the beacon signals from the transmitters TA, TB, TD to TF is relatively small and close (within a range of 0 to 2), while the beacon signal from the transmitter TC Only the RSSI difference is relatively large (5 or more). Therefore, in this case, it can be estimated that an abnormality has occurred in the transmitter TC.

このような原理によっても、異常固体検出部121は、異常状態にある発信器Tを検出することができる。すなわち、異常固体検出部121は、初期状態で発信器Tからビーコン信号が発信される場合の各ビーコン信号のRSSIの組み合わせと、取得部110によって取得された各ビーコン信号のRSSIの組み合わせとを比較し(差分を算出し)、その比較結果と、取得部110によって取得された発信器情報とに基づいて、異常状態にある発信器Tを検出してもよい。   Also according to such a principle, the abnormal solid detector 121 can detect the transmitter T in an abnormal state. That is, the abnormal solid detection unit 121 compares the RSSI combination of each beacon signal when the beacon signal is transmitted from the transmitter T in the initial state with the RSSI combination of each beacon signal acquired by the acquisition unit 110. However, the transmitter T in an abnormal state may be detected based on the comparison result and the transmitter information acquired by the acquisition unit 110.

次に、図8を参照して、端末装置100のハードウェア構成について説明する。図8に示されるように、端末装置100は、物理的には、1または複数のCPU(Central Processing Unit)21、RAM(Random Access Memory)22およびROM(Read Only Memory)23、カメラなどの撮像装置24、データ送受信デバイスである通信モジュール26、半導体メモリなどの補助記憶装置27、操作盤(操作ボタンを含む)やタッチパネルなどのユーザ操作の入力を受け付ける入力装置28、ディスプレイなどの出力装置29、ならびにCD−ROMドライブ装置などの読み取り装置2Aを備えるコンピュータとして構成され得る。図2における端末装置100の機能は、たとえば、CD−ROMなどの記憶媒体Mに記憶された1または複数のプログラムを読み取り装置2Aにより読み取ってRAM22などのハードウェア上に取り込むことにより、CPU21の制御のもとで撮像装置24、通信モジュール26、入力装置28、出力装置29を動作させるとともに、RAM22および補助記憶装置27におけるデータの読み出しおよび書き込みを行うことで実現される。   Next, the hardware configuration of the terminal device 100 will be described with reference to FIG. As illustrated in FIG. 8, the terminal device 100 physically has one or more CPUs (Central Processing Units) 21, RAMs (Random Access Memory) 22, ROMs (Read Only Memory) 23, and imaging such as a camera. Device 24, communication module 26 that is a data transmission / reception device, auxiliary storage device 27 such as a semiconductor memory, input device 28 that receives an input of a user operation such as an operation panel (including operation buttons) or a touch panel, an output device 29 such as a display, Moreover, it can be configured as a computer including a reading device 2A such as a CD-ROM drive device. The function of the terminal device 100 in FIG. 2 is controlled by the CPU 21 by, for example, reading one or a plurality of programs stored in a storage medium M such as a CD-ROM with a reading device 2A and taking them into hardware such as a RAM 22. This is realized by operating the imaging device 24, the communication module 26, the input device 28, and the output device 29 under the above, and reading and writing data in the RAM 22 and the auxiliary storage device 27.

また、図9には、コンピュータを端末装置100として機能させるための測位プログラムのモジュールが示される。図9に示されるように、測位プログラムP100は、取得モジュールP110、検出モジュールP120、判定モジュールP130および測位モジュールP140を備えている。各モジュールによって、先に図2を参照して説明した、取得部110、検出部120、判定部130および測位部140の機能が実現される。   FIG. 9 shows a module of a positioning program for causing a computer to function as the terminal device 100. As shown in FIG. 9, the positioning program P100 includes an acquisition module P110, a detection module P120, a determination module P130, and a positioning module P140. Each module implements the functions of the acquisition unit 110, the detection unit 120, the determination unit 130, and the positioning unit 140 described above with reference to FIG.

検出プログラムは、たとえば記憶媒体に格納されて提供される。記憶媒体は、フレキシブルディスク、CD−ROM、USBメモリ、DVD、半導体メモリなどであってよい。   The detection program is provided by being stored in a storage medium, for example. The storage medium may be a flexible disk, CD-ROM, USB memory, DVD, semiconductor memory, or the like.

次に、図10を参照して、測位を行う際の端末装置100の動作(端末装置100によって実行される測位方法)について説明する。   Next, with reference to FIG. 10, the operation of the terminal device 100 when performing positioning (positioning method executed by the terminal device 100) will be described.

図10は、端末装置100が測位を行う際に実行される処理の一例を示す。この処理は、たとえば所定の周期で繰り返し実行される。なお、とくに説明がない場合、各処理は、制御部150によって実行され得る。   FIG. 10 shows an example of processing executed when the terminal device 100 performs positioning. This process is repeatedly executed at a predetermined cycle, for example. Note that each process can be executed by the control unit 150 unless otherwise specified.

まず、端末装置100は、ビーコンスキャンを行い、周辺のビーコの受信レベルおよびBSSIDを取得する(ステップS1)。具体的に、取得部110が、端末装置100の周辺に位置している発信器Tからのビーコン信号を受信することによって、端末装置100におけるビーコン信号のRSSIおよび発信器Tを特定するためのBSSIDを取得する。   First, the terminal device 100 performs a beacon scan, and acquires the reception levels and BSSIDs of nearby beacons (step S1). Specifically, the acquisition unit 110 receives the beacon signal from the transmitter T located in the vicinity of the terminal device 100, thereby identifying the RSSI of the beacon signal in the terminal device 100 and the BSSID for identifying the transmitter T. To get.

次に、端末装置100は、異常個体DBを参照し(ステップS2)、異常個体が存在するか否かを判断する(ステップS3)。具体的に、判定部130が、異常個体DB171(図3,4)を参照し、異常状態にある発信器Tが存在するか否かを判断する。異常個体が存在する場合(ステップS3:YES)、端末装置100は、ステップS4に処理を進める。そうでない場合(ステップS3:NO)、端末装置100は、ステップS8に処理を進める。   Next, the terminal device 100 refers to the abnormal individual DB (step S2), and determines whether there is an abnormal individual (step S3). Specifically, the determination unit 130 refers to the abnormal individual DB 171 (FIGS. 3 and 4) and determines whether or not there is a transmitter T in an abnormal state. If there is an abnormal individual (step S3: YES), the terminal device 100 advances the process to step S4. When that is not right (step S3: NO), the terminal device 100 advances a process to step S8.

ステップS4において、端末装置100は、取得した受信レベルおよびBSSIDから異常個体の値を削除してフィンガープリントと照合する。具体的に、照合部141が、先のステップS1で取得されたRSSIおよびBSSIDのうちの、異常状態にある発信器Tからのビーコン信号のRSSIおよびBSSIDを削除し、残りのRSSIおよびBSSIDと、フィンガープリントDB173(図5)とを照合し、対応する場所IDを特定する。対応する場所IDは、取得されたRSSIと、フィンガープリントDB173におけるRSSIとの差分が最も小さいと判断された場所IDとされてよい。たとえば、各RSSIの差分の平均値が最も小さい場合に、差分が最も小さいと判断されてよい。先に説明したように場所IDは、ノード・リンク構造(図1の(b))における各位置を示すので、場所IDが特定されることによって、ノード・リンク構造における端末装置100の位置が特定される。そして、ノード・リンク構造における各位置は、建物1の各位置と対応しているので、建物1における端末装置100の位置が特定されることとなる。   In step S4, the terminal device 100 deletes the value of the abnormal individual from the acquired reception level and BSSID, and collates it with the fingerprint. Specifically, the verification unit 141 deletes the RSSI and BSSID of the beacon signal from the transmitter T in an abnormal state out of the RSSI and BSSID acquired in the previous step S1, and the remaining RSSI and BSSID, The fingerprint ID 173 (FIG. 5) is collated and the corresponding place ID is specified. The corresponding location ID may be a location ID determined to have the smallest difference between the acquired RSSI and the RSSI in the fingerprint DB 173. For example, it may be determined that the difference is the smallest when the average value of the differences between the RSSIs is the smallest. As described above, the location ID indicates each position in the node / link structure ((b) in FIG. 1). Therefore, by specifying the location ID, the location of the terminal device 100 in the node / link structure is specified. Is done. Since each position in the node / link structure corresponds to each position of the building 1, the position of the terminal device 100 in the building 1 is specified.

次に、端末装置100は、照合結果を測位の推定結果として出力する(ステップS5)。具体的に、照合部141が、先のステップS4で特定された端末装置100の位置を、測位の推定結果として出力する。これにより、当該結果を端末装置100の位置とする測位が行われる。   Next, the terminal device 100 outputs a collation result as a positioning estimation result (step S5). Specifically, the collation unit 141 outputs the position of the terminal device 100 identified in the previous step S4 as a positioning estimation result. Thereby, the positioning which makes the said result the position of the terminal device 100 is performed.

次に、端末装置100は、測位の推定結果の信頼度が閾値以上か否かを判断する(ステップS6)。具体的に、更新部142が、先のステップS4,5による測位の信頼度を算出し、算出した信頼度が、所定の閾値以上であるか否かを判断する。たとえば、先のステップS4で照合された、取得されたRSSI(異常状態にある発信器Tからのビーコン信号のRSSIを除く)と、フィンガープリントDB173におけるRSSIとの差が小さいほど、測位の信頼度が高くなるように算出される。測位の推定結果の信頼度が閾値以上の場合(ステップS6:YES)、端末装置100は、ステップS7に処理を進める。そうでない場合(ステップS6:NO)、端末装置100は、フローチャートの処理を終了する。   Next, the terminal device 100 determines whether or not the reliability of the positioning estimation result is greater than or equal to a threshold (step S6). Specifically, the update unit 142 calculates the reliability of positioning in the previous steps S4 and S5, and determines whether or not the calculated reliability is greater than or equal to a predetermined threshold value. For example, as the difference between the acquired RSSI (excluding the RSSI of the beacon signal from the transmitter T in an abnormal state) collated in the previous step S4 and the RSSI in the fingerprint DB 173 is smaller, the reliability of positioning is smaller. Is calculated to be higher. When the reliability of the positioning estimation result is equal to or higher than the threshold (step S6: YES), the terminal device 100 proceeds with the process to step S7. When that is not right (step S6: NO), the terminal device 100 complete | finishes the process of a flowchart.

なお、上述の信頼度の算出するために、以下の手法が採用されてもよい。すなわち、フィンガープリントDB173に記憶されたRSSIと、取得部110によって取得されたRSSIとをそれぞれベクトルとみなし、それらのベクトル間の距離(ユークリッド距離、マハラノビス距離、マンハッタン距離等)が小さいほど信頼度が高くなるように算出してもよい(たとえばベクトル間の距離の逆数を信頼度とする等)。図5に示されるフィンガープリントDB173を例に挙げて説明すると、この例では、具体的な数値として、場所IDごとに4通りのRSSIの組み合わせ(フィンガープリント)が示され、フィンガープリントDB173に格納されている。この場合、それぞれのフィンガープリントのベクトルをV1_1、V1_2,V2,V7とすると、各ベクトルは、次のようなベクトルとみなすことができる。
V1_1=[−62,−62,−66,−65,−65,−67]
V1_2=[−62,−62,−66,−64,−65,−67]
V2=[−58,−54,−87,−77,−78,−82]
V7=[−73,−67,−73,−72,−90,−59]
たとえば或る場所Xで、RSSI_TA=−72,RSSI_TB=−68,RSSI_TC=−73,RSSI_TD=−73,RSSI_TD=−90,RSSI_TF=−60というRSSIが観測された場合、それらを要素とするVX=[−72,−68,−73,−73,−90,−60]というベクトルが作成可能である。詳細な計算過程の説明はここでは省略するが、VXとV2とのユークリッド距離は35.1、VXとV7とのユークリッド距離は2.0となる。それらの逆数を信頼度とする場合、場所XがV2である信頼度は1/35.1≒0.03、場所XがV7である信頼度は1/2≒0.5として算出することができる。なお、RSSIが完全に一致した場合にはベクトル間の距離が0となり、距離の逆数が算出できなくなるので、そのような場合を考慮して、たとえば距離に1を加える等の補正を行ったうえで逆数を算出してもよい。
In order to calculate the above-described reliability, the following method may be employed. That is, the RSSI stored in the fingerprint DB 173 and the RSSI acquired by the acquisition unit 110 are regarded as vectors, respectively, and the smaller the distance between these vectors (Euclidean distance, Mahalanobis distance, Manhattan distance, etc.), the higher the reliability. You may calculate so that it may become high (for example, the reciprocal of the distance between vectors is made into reliability, etc.). The fingerprint DB 173 shown in FIG. 5 will be described as an example. In this example, four types of RSSI combinations (fingerprints) are shown for each location ID as specific numerical values and stored in the fingerprint DB 173. ing. In this case, when the fingerprint vectors are V1_1, V1_2, V2, and V7, each vector can be regarded as the following vector.
V1_1 = [-62, -62, -66, -65, -65, -67]
V1_2 = [-62, -62, -66, -64, -65, -67]
V2 = [-58, -54, -87, -77, -78, -82]
V7 = [− 73, −67, −73, −72, −90, −59]
For example, when RSSI_TA = −72, RSSI_TB = −68, RSSI_TC = −73, RSSI_TD = −73, RSSI_TD = −90, RSSI_TF = −60 is observed at a certain place X, VX including these elements = [− 72, −68, −73, −73, −90, −60] can be created. Although a detailed description of the calculation process is omitted here, the Euclidean distance between VX and V2 is 35.1, and the Euclidean distance between VX and V7 is 2.0. When the reciprocal number is used as the reliability, the reliability when the location X is V2 can be calculated as 1 / 35.1≈0.03, and the reliability when the location X is V7 can be calculated as 1 / 2≈0.5. it can. When the RSSIs are completely matched, the distance between the vectors is 0, and the reciprocal of the distance cannot be calculated. Therefore, in consideration of such a case, for example, a correction such as adding 1 to the distance is performed. The reciprocal number may be calculated as follows.

ステップS7において、端末装置100は、取得結果に基づいてフィンガープリントを更新する。具体的に、更新部142が、先のステップS1で取得されたRSSIおよびBSSID(ここでは、異常状態にある発信器Tからのビーコン信号のRRSIおよびその発信器TのBSSIDを含む)と、先のステップS5で出力された測位の推定結果とによって、フィンガープリントDB173を更新する。ここでの測位の推定結果は、測位が行われた位置を特定するための位置情報であり、また、RSSIは、当該位置における異常状態にある発信器Tからのビーコン信号のRSSIを含む。このような位置情報とRSSIとを対応づけた情報(測位結果情報)によって、フィンガープリントDB173が更新されることとなる。これにより、フィンガープリントDB173では、建物1での各位置と、各位置における各発信器T(異常状態にある発信器Tを含む)からのビーコン信号のRSSIとの組合せが記憶される。また、フィンガープリントDB173が更新されることに応じて、更新部142は、異常個体DB171(図3,4)を更新する。具体的に、異常状態にあるとして異常個体DB171に記述されていた発信器Tが、異常状態にないものとされる。図3に示される例では、異常状態にあるとされていた発信器Tに関する記述が削除される。図4に示される例では、異常状態にあるためにフラグが「True」に設定されていた発信器Tのフラグが「False」に設定される。ステップS7の処理が完了した後、端末装置100は、フローチャートの処理を終了する。   In step S7, the terminal device 100 updates the fingerprint based on the acquisition result. Specifically, the update unit 142 includes the RSSI and BSSID acquired in the previous step S1 (here, the RRSI of the beacon signal from the transmitter T in an abnormal state and the BSSID of the transmitter T), The fingerprint DB 173 is updated according to the positioning estimation result output in step S5. The positioning estimation result here is position information for specifying the position where the positioning is performed, and the RSSI includes the RSSI of the beacon signal from the transmitter T in an abnormal state at the position. The fingerprint DB 173 is updated with information (positioning result information) that associates such position information with RSSI. Thereby, in fingerprint DB173, the combination of each position in building 1 and RSSI of the beacon signal from each transmitter T (including transmitter T in an abnormal state) in each position is memorized. Further, in response to the fingerprint DB 173 being updated, the update unit 142 updates the abnormal individual DB 171 (FIGS. 3 and 4). Specifically, it is assumed that the transmitter T described in the abnormal individual DB 171 as being in an abnormal state is not in the abnormal state. In the example shown in FIG. 3, the description related to the transmitter T that was supposed to be in an abnormal state is deleted. In the example shown in FIG. 4, the flag of the transmitter T whose flag is set to “True” because of an abnormal state is set to “False”. After the process of step S7 is completed, the terminal device 100 ends the process of the flowchart.

ステップS8において、端末装置100は、取得した受信レベルおよびBSSIDをフィンガープリントと照合する。具体的に、照合部141が、先のステップS1で取得されたRRSIおよびBSSIDと、フィンガープリントDB173(図5)とを照合し、対応する場所IDを特定する。場所IDが特定されることによって、建物1における端末装置100の位置が特定される。   In step S8, the terminal device 100 collates the acquired reception level and BSSID with the fingerprint. Specifically, the collation unit 141 collates the RRSI and BSSID acquired in the previous step S1 with the fingerprint DB 173 (FIG. 5) and identifies the corresponding location ID. By specifying the place ID, the position of the terminal device 100 in the building 1 is specified.

そして、端末装置100は、照合結果を測位結果として出力する(ステップS9)。具体的に、照合部141が、先のステップS8で特定された端末装置100の位置を、測位結果として出力する。これにより、当該結果を端末装置100の位置とする測位が行われる。ステップS9の処理が完了した後、端末装置100は、フローチャートの処理を終了する。   And the terminal device 100 outputs a collation result as a positioning result (step S9). Specifically, the collation unit 141 outputs the position of the terminal device 100 specified in the previous step S8 as a positioning result. Thereby, the positioning which makes the said result the position of the terminal device 100 is performed. After the process of step S9 is completed, the terminal device 100 ends the process of the flowchart.

なお、先に説明したように、図10に示されるフローチャートの処理は繰り返し実行されるので、ステップS7でフィンガープリントDB173および異常個体DB171が更新されれば、次のループにおいては、異常個体が存在しないと判断され(ステップS3:YES)、更新後のフィンガープリントDB173に基づいて測位が行われ得る(ステップS8,S9)。   As described above, since the processing of the flowchart shown in FIG. 10 is repeatedly executed, if the fingerprint DB 173 and the abnormal individual DB 171 are updated in step S7, there is an abnormal individual in the next loop. It is determined not to be performed (step S3: YES), and positioning can be performed based on the updated fingerprint DB 173 (steps S8 and S9).

次に、図11および図12を参照して、異常状態にある発信器Tを検出する際の端末装置100の動作(端末装置100によって実行される検出方法)について説明する。   Next, with reference to FIG. 11 and FIG. 12, an operation of the terminal device 100 when detecting the transmitter T in an abnormal state (a detection method executed by the terminal device 100) will be described.

図11は、端末装置100が異常状態にある発信器Tの検出を行う際に実行される処理の全体フローを示す。この処理は、たとえば、建物1における端末装置100の移動に伴って実行される。なお、とくに説明がない場合、各処理は、制御部150によって実行され得る。   FIG. 11 shows an overall flow of processing executed when the terminal device 100 detects the transmitter T in an abnormal state. This process is executed with the movement of the terminal device 100 in the building 1, for example. Note that each process can be executed by the control unit 150 unless otherwise specified.

まず、端末装置100は、ビーコンスキャンを行い、周辺のビーコンの受信レベルおよびBSSIDを取得する(ステップS10)。具体的に、取得部110が、端末装置100の周辺に位置している発信器Tからのビーコン信号を受信することによって、端末装置100におけるビーコン信号のRSSIおよび発信器Tを特定するためのBSSIDを取得する。   First, the terminal device 100 performs a beacon scan, and acquires the reception level and BSSID of surrounding beacons (step S10). Specifically, the acquisition unit 110 receives the beacon signal from the transmitter T located in the vicinity of the terminal device 100, thereby identifying the RSSI of the beacon signal in the terminal device 100 and the BSSID for identifying the transmitter T. To get.

次に、端末装置100は、異常個体を検出する(ステップS20)。具体的に、異常固体検出部121が、たとえば先に図6および図7を参照して説明した手法を用いて、異常状態にある発信器Tを検出する。   Next, the terminal device 100 detects an abnormal individual (step S20). Specifically, the abnormal solid detection unit 121 detects the transmitter T in the abnormal state using, for example, the method described above with reference to FIGS. 6 and 7.

次に、端末装置100は、異常個体が存在するか否かを判断する(ステップS30)。先のステップS20で異常個体が検出されると、異常個体が存在すると判断される。異常個体が存在する場合(ステップS30:YES)、端末装置100は、ステップS40に処理を進める。そうでない場合(ステップS30:NO)、端末装置100は、フローチャートの処理を終了する。   Next, the terminal device 100 determines whether there is an abnormal individual (step S30). If an abnormal individual is detected in the previous step S20, it is determined that there is an abnormal individual. If there is an abnormal individual (step S30: YES), the terminal device 100 advances the process to step S40. When that is not right (step S30: NO), the terminal device 100 complete | finishes the process of a flowchart.

ステップS40において、端末装置100は、異常ステータス判定を行う。この処理は、判定部130によって実行される。この処理について、図12を参照して説明する。   In step S40, the terminal device 100 performs an abnormal status determination. This process is executed by the determination unit 130. This process will be described with reference to FIG.

図12に示されるように、まず、端末装置100は、異常個体からのビーコン信号が観測できる場所があるか否かを判断する(ステップS41)。具体的に、制御部150が、記憶部170に記憶された取得部110によって取得されたRRSIおよび発信器情報の履歴(履歴情報)に基づいて、先のステップS20で検出された異常状態にある発信器Tからのビーコン信号が受信された場所があるか否かを判断する。異常個体からのビーコン信号が観測できる場所がある場合(ステップS41:YES)、端末装置100は、ステップS43に処理を進める。そうでない場合(ステップS41:NO)、端末装置100は、ステップS42に処理を進める。   As shown in FIG. 12, first, the terminal device 100 determines whether or not there is a place where a beacon signal from an abnormal individual can be observed (step S41). Specifically, the control unit 150 is in the abnormal state detected in the previous step S20 based on the RRSI acquired by the acquisition unit 110 stored in the storage unit 170 and the history of the transmitter information (history information). It is determined whether there is a place where the beacon signal from the transmitter T is received. If there is a place where a beacon signal from an abnormal individual can be observed (step S41: YES), the terminal device 100 proceeds to step S43. When that is not right (step S41: NO), the terminal device 100 advances a process to step S42.

ステップS42において、端末装置100は、異常ステータスとして「停止」を出力する。具体的に、判定部130が、発信器Tの異常状態が、先に図3を参照して説明した「停止」であると判定する。これは、端末装置100の移動に伴って取得された履歴情報に、異常状態が検出された発信器Tからのビーコン信号が含まれない場合(ステップS41:NO)、その発信器Tは、ビーコン信号を発信していないと判定できるためである。   In step S42, the terminal device 100 outputs “stop” as the abnormal status. Specifically, the determination unit 130 determines that the abnormal state of the transmitter T is “stop” described above with reference to FIG. This is because when the history information acquired with the movement of the terminal device 100 does not include a beacon signal from the transmitter T in which an abnormal state is detected (step S41: NO), the transmitter T This is because it can be determined that no signal is transmitted.

ステップS43において、端末装置100は、異常個体の信号強度が強くなった場所があるか否かを判断する。具体的に、判定部130が、記憶部170に記憶された履歴情報に基づいて、端末装置100における異常状態にある発信器Tからのビーコン信号のRSSIが大きい場所があるか否かが判断される。たとえば、発信器Tからのビーコン信号のRSSIが対応する閾値(図6参照)よりも大きい場合に、RSSIが大きい場所があると判断される。異常個体の信号強度が強くなった場所がある場合(ステップS43:YES)、端末装置100は、ステップS45に処理を進める。そうでない場合(ステップS43:NO)、端末装置100は、ステップS44に処理を進める。   In step S43, the terminal device 100 determines whether there is a place where the signal strength of the abnormal individual has increased. Specifically, the determination unit 130 determines whether there is a place where the RSSI of the beacon signal from the transmitter T in the abnormal state in the terminal device 100 is large, based on the history information stored in the storage unit 170. The For example, when the RSSI of the beacon signal from the transmitter T is larger than the corresponding threshold value (see FIG. 6), it is determined that there is a place where the RSSI is large. If there is a place where the signal strength of the abnormal individual has increased (step S43: YES), the terminal device 100 proceeds to step S45. When that is not right (step S43: NO), the terminal device 100 advances a process to step S44.

ステップS44において、端末装置100は、異常ステータスとして「劣化」を出力する。具体的に、判定部130が、発信器Tの異常状態が、先に図3を参照して説明した「劣化」であると判定する。これは、端末装置100の移動に伴って取得された履歴情報に、異常状態が検出された発信器Tからのビーコン信号のRSSIが大きい場所がない場合(ステップS43:NO)、その発信器Tのビーコン信号の出力が低下したと判定できるためである。   In step S44, the terminal device 100 outputs “deteriorated” as the abnormal status. Specifically, the determination unit 130 determines that the abnormal state of the transmitter T is “deterioration” described above with reference to FIG. This is because when there is no place where the RSSI of the beacon signal from the transmitter T from which the abnormal state is detected is large in the history information acquired with the movement of the terminal device 100 (step S43: NO), the transmitter T This is because it can be determined that the output of the beacon signal has decreased.

ステップS45において、端末装置100は、異常ステータスとして「移動」を出力する。具体的に、判定部130が、発信器Tの異常状態が、先に図3を参照して説明した「移動」であると判定する。これは、端末装置100の移動に伴って取得された履歴情報に、異常状態が検出された発信器Tからのビーコン信号のRSSIが大きい場所がある場合(ステップS45)、その発信器Tが初期状態の設置場所から別の設置場所に移動したと判定できるためである。   In step S <b> 45, the terminal device 100 outputs “move” as the abnormal status. Specifically, the determination unit 130 determines that the abnormal state of the transmitter T is “movement” described above with reference to FIG. 3. This is because when there is a place where the RSSI of the beacon signal from the transmitter T in which the abnormal state is detected is large in the history information acquired along with the movement of the terminal device 100 (step S45), the transmitter T is initial. This is because it can be determined that the current installation location has moved to another location.

ステップS45の処理が完了した後、端末装置100は、移動先を検出する(ステップS46)。具体的に、移動先検出部122が、記憶部170に記憶された履歴情報を参照し、端末装置100における異常状態にある発信器Tからのビーコン信号のRSSIが大きい場所を、異常状態にある発信器Tの移動先として検出する。たとえば、ビーコン信号のRSSIが最大となる場所が、異常状態にある発信器Tの移動先として検出される。これは、発信器Tからのビーコン信号のRSSIが最大となる位置が、発信器Tに最も近い位置であると推定できるためである。   After the process of step S45 is completed, the terminal device 100 detects a movement destination (step S46). Specifically, the destination detection unit 122 refers to the history information stored in the storage unit 170, and the location where the RSSI of the beacon signal from the transmitter T in the abnormal state in the terminal device 100 is large is in the abnormal state. It is detected as the destination of the transmitter T. For example, the place where the RSSI of the beacon signal is maximum is detected as the destination of the transmitter T in an abnormal state. This is because it can be estimated that the position where the RSSI of the beacon signal from the transmitter T is the maximum is the position closest to the transmitter T.

ステップS42,S44またはS46の処理が完了した後、端末装置100は、ステップS50(図11)に処理を進める。   After the process of step S42, S44 or S46 is completed, the terminal device 100 advances the process to step S50 (FIG. 11).

ステップS50において、端末装置100は、異常個体情報を異常個体DBへ登録する。具体的に、先のステップS20で検出された異常状態にある発信器TのBSSID、先のステップS40で判定された異常状態にある発信器Tの判定結果(異常ステータスおよび移動先)を示す異常個体情報が、異常個体DB171(図3,4)へ登録される。   In step S50, the terminal device 100 registers the abnormal individual information in the abnormal individual DB. Specifically, an abnormality indicating the BSSID of the transmitter T in the abnormal state detected in the previous step S20 and the determination result (abnormal status and destination) of the transmitter T in the abnormal state determined in the previous step S40. Individual information is registered in the abnormal individual DB 171 (FIGS. 3 and 4).

次に、端末装置100の作用効果について説明する。端末装置100では、異常状態にある発信器Tを除く複数の発信器Tからのビーコン信号のRSSIの組み合わせに基づいて測位が行われる。たとえば、照合部141が、取得部110によって取得されたビーコン信号のRSSIのうち異常状態にある発信器Tを除く複数の発信器Tからのビーコン信号のRSSIと、建物1における位置を特定するための場所IDと当該位置における各ビーコン信号のRSSIとを対応づけて記述したフィンガープリントDB173を参照することによって、端末装置100の測位を行う(ステップS3:YES、ステップS4,S5)。異常状態にある発信器Tは、たとえば、移動、紛失、劣化、破損などの状態にあり、測位環境の変化の原因となる発信器Tである。仮にこのような発信器Tを含めた複数の発信器Tからのビーコン信号のRSSIの組み合わせに基づいて測位を行うと、測位環境の変化の影響を受けて、正確な測位を行うことができない可能性がある。端末装置100では、そのような発信器Tからのビーコン信号のRSSIを利用せずに測位が行われるので、測位環境の変化による影響を受けにくい。よって、測位環境に変化が生じた場合でも測位を行うことができる。   Next, the effect of the terminal device 100 will be described. In the terminal device 100, positioning is performed based on a combination of RSSIs of beacon signals from a plurality of transmitters T excluding the transmitter T in an abnormal state. For example, the collating unit 141 specifies the RSSI of beacon signals from a plurality of transmitters T excluding the transmitter T in an abnormal state among the RSSIs of the beacon signals acquired by the acquiring unit 110 and the position in the building 1. The terminal device 100 is positioned by referring to the fingerprint DB 173 described in association with the location ID of the beacon and the RSSI of each beacon signal at the location (step S3: YES, steps S4 and S5). The transmitter T in the abnormal state is, for example, a transmitter T that is in a state of movement, loss, deterioration, breakage, etc., and causes a change in the positioning environment. If positioning is performed based on a combination of RSSIs of beacon signals from a plurality of transmitters T including such a transmitter T, accurate positioning may not be possible due to the influence of changes in the positioning environment. There is sex. Since the terminal device 100 performs positioning without using the RSSI of such a beacon signal from the transmitter T, it is not easily affected by changes in the positioning environment. Therefore, positioning can be performed even when a change occurs in the positioning environment.

また、更新部142は、測位が行われた位置を特定するための位置情報と当該位置における異常状態にある発信器Tからのビーコン信号のRSSIとを対応づけた測位結果情報によって、フィンガープリントDB173を更新する(ステップS7)。これにより、フィンガープリントDB173の内容を測位環境の変化に対応したものとすることができる。照合部141は、取得部110によって取得されたビーコン信号のRSSI(ここでは異常状態であると判断された発信器Tからのビーコン信号のRSSIを含む)と、更新されたフィンガープリントDB173とを参照することによって、測位環境の変化に対応した測位を行うことができる(ステップS8,S9)。   Further, the update unit 142 determines the fingerprint DB 173 based on the positioning result information that associates the position information for specifying the position where the positioning is performed with the RSSI of the beacon signal from the transmitter T in the abnormal state at the position. Is updated (step S7). Thereby, the content of fingerprint DB173 can be made to respond to the change of positioning environment. The collation unit 141 refers to the RSSI of the beacon signal acquired by the acquisition unit 110 (here, including the RSSI of the beacon signal from the transmitter T determined to be in an abnormal state) and the updated fingerprint DB 173. By doing so, positioning corresponding to the change of positioning environment can be performed (steps S8 and S9).

また、更新部142は、測位の信頼度が所定の信頼度である場合に、フィンガープリントDB173を更新する(ステップS6:YES、ステップS7)。これにより、更新後のフィンガープリントDB173の内容の信頼性を高めることができるので、更新後のフィンガープリントDB173を参照して測位を行った場合の測位精度を高めることができる。   Moreover, the update part 142 updates fingerprint DB173, when the reliability of positioning is a predetermined reliability (step S6: YES, step S7). Thereby, since the reliability of the content of the fingerprint DB173 after an update can be improved, the positioning precision at the time of positioning with reference to the fingerprint DB173 after an update can be improved.

以上説明した端末装置100の各機能は、たとえば、コンピュータにおいて測位プログラムが実行されることによって実現することもできる。   Each function of terminal device 100 explained above can also be realized by, for example, a positioning program being executed in a computer.

以上、本発明の一実施形態について説明したが、本発明は、上記実施形態に限定されるものではない。   Although one embodiment of the present invention has been described above, the present invention is not limited to the above embodiment.

たとえば、端末装置100は、通信部160を用いて、サーバ(不図示)と通信してもよい。この場合、たとえば、端末装置100の検出部120、判定部130、測位部140、記憶部170の少なくとも一部の機能を、サーバ側で備えるようにしてもよい。その分、端末装置100での処理負担を軽減するとともに、端末装置100の構成を簡素化することができる。この場合、端末装置100およびサーバによって構成されるシステムが、本発明に係る端末装置に相当する。   For example, the terminal device 100 may communicate with a server (not shown) using the communication unit 160. In this case, for example, at least some of the functions of the detection unit 120, the determination unit 130, the positioning unit 140, and the storage unit 170 of the terminal device 100 may be provided on the server side. Accordingly, the processing load on the terminal device 100 can be reduced and the configuration of the terminal device 100 can be simplified. In this case, the system constituted by the terminal device 100 and the server corresponds to the terminal device according to the present invention.

また、サーバ側においてフィンガープリントDB173を更新する場合には、サーバ側で端末装置100による測位結果(ステップS5,S6)を集計し、集計されたデータ(統計データ)に基づいて、フィンガープリントDB173を更新するようにしてもよい。ここでの端末装置100による測位結果は、たとえば異なるユーザがそれぞれ有する異なる複数の端末装置100による測位結果であってよい。このように多くの測位結果に基づいてフィンガープリントDB173を更新することによって、更新後のフィンガープリントDB173の内容の信頼性をさらに高めることができる。   Further, when the fingerprint DB 173 is updated on the server side, the positioning results (steps S5 and S6) by the terminal device 100 are tabulated on the server side, and the fingerprint DB 173 is stored based on the tabulated data (statistical data). You may make it update. The positioning result by the terminal device 100 here may be, for example, positioning results by a plurality of different terminal devices 100 respectively possessed by different users. Thus, by updating the fingerprint DB 173 based on many positioning results, the reliability of the contents of the updated fingerprint DB 173 can be further enhanced.

100…端末装置、110…取得部(取得手段)、120…検出部、130…判定部(判定手段)、140…測位部(測位手段)、141…照合部(測位手段)、142…更新部(測位手段)、150…制御部、160…通信部、170…記憶部。   DESCRIPTION OF SYMBOLS 100 ... Terminal device, 110 ... Acquisition part (acquisition means), 120 ... Detection part, 130 ... Determination part (determination means), 140 ... Positioning part (positioning means), 141 ... Collation part (positioning means), 142 ... Update part (Positioning means), 150 ... control unit, 160 ... communication unit, 170 ... storage unit.

Claims (6)

複数の発信器が所定の位置に配置された領域において測位を行う端末装置であって、
前記発信器からの無線信号の受信レベルおよび発信器を特定するための発信器情報を取得する取得手段と、
前記取得手段によって取得された、特定の発信器を除く前記複数の発信器からの各無線信号の受信レベルの組み合わせに基づいて測位を行う測位手段と、
を備える、
端末装置。
A terminal device that performs positioning in an area where a plurality of transmitters are arranged at predetermined positions,
An acquisition means for acquiring transmitter information for specifying a reception level of the radio signal from the transmitter and the transmitter;
Positioning means for performing positioning based on a combination of reception levels of radio signals from the plurality of transmitters excluding the specific transmitter acquired by the acquisition unit;
Comprising
Terminal device.
測位手段は、
前記取得手段によって取得された無線信号の受信レベルのうち前記特定の発信器を除く前記複数の発信器からの各無線信号の受信レベルと、
前記領域における位置を特定するための位置情報と当該位置における各無線信号の受信レベルとを対応づけて記述したデータベースと、
を照合することによって、前記測位を行う、
請求項1に記載の端末装置。
The positioning means is
The reception level of each radio signal from the plurality of transmitters excluding the specific transmitter among the reception levels of the radio signal acquired by the acquisition means,
A database in which position information for specifying a position in the region and a reception level of each radio signal at the position are described in association with each other;
To perform the positioning by checking
The terminal device according to claim 1.
前記測位手段は、前記測位が行われた位置を特定するための位置情報と当該位置における前記特定の発信器からの無線信号の受信レベルとを対応づけた測位結果情報によって、前記データベースを更新する、
請求項2に記載の端末装置。
The positioning means updates the database with positioning result information in which position information for specifying a position where the positioning is performed and a reception level of a radio signal from the specific transmitter at the position are associated with each other. ,
The terminal device according to claim 2.
前記測位手段は、前記測位の信頼度が所定の信頼度以上である場合に、前記データベースを更新する、
請求項3に記載の端末装置。
The positioning means updates the database when the positioning reliability is equal to or higher than a predetermined reliability.
The terminal device according to claim 3.
前記測位手段は、
前記取得手段によって取得された無線信号の受信レベルのうち前記特定の発信器を含む前記複数の発信器からの各無線信号の受信レベルと、
更新された前記データベースと、
を照合することによって、前記測位を行う、
請求項3または4に記載の端末装置。
The positioning means is
The reception level of each radio signal from the plurality of transmitters including the specific transmitter among the reception levels of the radio signal acquired by the acquisition means;
The updated database; and
To perform the positioning by checking
The terminal device according to claim 3 or 4.
複数の発信器が所定の位置に配置された領域において測位を行う端末装置に設けられたコンピュータを、
前記発信器からの無線信号の受信レベルおよび発信器を特定するための発信器情報を取得する取得手段と、
記取得手段によって取得された、特定の発信器を除く前記複数の発信器からの各無線信号の受信レベルの組み合わせに基づいて測位を行う測位手段、
として機能させるための測位プログラム。
A computer provided in a terminal device that performs positioning in an area where a plurality of transmitters are arranged at predetermined positions,
An acquisition means for acquiring transmitter information for specifying a reception level of the radio signal from the transmitter and the transmitter;
Positioning means for performing positioning based on a combination of reception levels of radio signals from the plurality of transmitters excluding a specific transmitter acquired by the acquisition means,
Positioning program to function as.
JP2015192260A 2015-09-29 2015-09-29 Terminal device and positioning program Pending JP2017067565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015192260A JP2017067565A (en) 2015-09-29 2015-09-29 Terminal device and positioning program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015192260A JP2017067565A (en) 2015-09-29 2015-09-29 Terminal device and positioning program

Publications (1)

Publication Number Publication Date
JP2017067565A true JP2017067565A (en) 2017-04-06

Family

ID=58492316

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015192260A Pending JP2017067565A (en) 2015-09-29 2015-09-29 Terminal device and positioning program

Country Status (1)

Country Link
JP (1) JP2017067565A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018200285A (en) * 2017-05-30 2018-12-20 ニッタン株式会社 Replacement work support system of transmitter
JP2019121930A (en) * 2018-01-05 2019-07-22 キヤノン株式会社 Information processing apparatus, control method of the same, and program
JP2019144120A (en) * 2018-02-21 2019-08-29 国立大学法人九州工業大学 Indoor position estimation system, indoor position estimation method, and program for executing indoor position estimation method
WO2020031258A1 (en) * 2018-08-07 2020-02-13 三菱電機株式会社 Receiving terminal, wireless transmission device, transmitting and receiving system, receiving method, and transmitting and receiving method
JP2020173177A (en) * 2019-04-11 2020-10-22 日本電気株式会社 Position estimating device, mobile device, spatial data presentation device, position estimating method, and program
WO2021095558A1 (en) 2019-11-14 2021-05-20 ソニーセミコンダクタソリューションズ株式会社 Communication device and communication method
JP2021192041A (en) * 2021-02-09 2021-12-16 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Method for positioning building, device, electronic device, storage medium, program, and terminal device
KR20220158691A (en) 2020-03-25 2022-12-01 소니 세미컨덕터 솔루션즈 가부시키가이샤 Communication device, communication system and communication method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004251714A (en) * 2003-02-19 2004-09-09 Mitsubishi Electric Corp Positioning device
JP2005123662A (en) * 2003-10-14 2005-05-12 Hitachi Ltd Position detecting system and apparatus thereof
WO2014000090A1 (en) * 2012-06-26 2014-01-03 The Governing Council Of The University Of Toronto System, method and computer program for dynamic generation of a radio map

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004251714A (en) * 2003-02-19 2004-09-09 Mitsubishi Electric Corp Positioning device
JP2005123662A (en) * 2003-10-14 2005-05-12 Hitachi Ltd Position detecting system and apparatus thereof
WO2014000090A1 (en) * 2012-06-26 2014-01-03 The Governing Council Of The University Of Toronto System, method and computer program for dynamic generation of a radio map

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谷内大祐 外3名: ""Boostingを用いた環境変化に頑健なWi-Fi屋内位置推定手法の提案"", 情報処理学会研究報告, vol. Volume 2013-HCI-155, Number 5, JPN6018047383, 5 November 2013 (2013-11-05), JP, pages Pages 1-7 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018200285A (en) * 2017-05-30 2018-12-20 ニッタン株式会社 Replacement work support system of transmitter
JP7042623B2 (en) 2018-01-05 2022-03-28 キヤノン株式会社 Information processing equipment, information processing system and storage medium
JP2019121930A (en) * 2018-01-05 2019-07-22 キヤノン株式会社 Information processing apparatus, control method of the same, and program
CN110045330A (en) * 2018-01-05 2019-07-23 佳能株式会社 Information processing equipment and its control method and storage medium
JP2019144120A (en) * 2018-02-21 2019-08-29 国立大学法人九州工業大学 Indoor position estimation system, indoor position estimation method, and program for executing indoor position estimation method
JPWO2020031258A1 (en) * 2018-08-07 2021-03-11 三菱電機株式会社 Receiving terminal, wireless transmission device, transmission / reception system, reception method and transmission / reception method
WO2020031258A1 (en) * 2018-08-07 2020-02-13 三菱電機株式会社 Receiving terminal, wireless transmission device, transmitting and receiving system, receiving method, and transmitting and receiving method
JP7065971B2 (en) 2018-08-07 2022-05-12 三菱電機株式会社 Receiving terminal, wireless transmission device, transmission / reception system, reception method and transmission / reception method
JP2020173177A (en) * 2019-04-11 2020-10-22 日本電気株式会社 Position estimating device, mobile device, spatial data presentation device, position estimating method, and program
JP7459457B2 (en) 2019-04-11 2024-04-02 日本電気株式会社 Position estimation device, mobile device, spatial data presentation device, position estimation method and program
WO2021095558A1 (en) 2019-11-14 2021-05-20 ソニーセミコンダクタソリューションズ株式会社 Communication device and communication method
KR20220098132A (en) 2019-11-14 2022-07-11 소니 세미컨덕터 솔루션즈 가부시키가이샤 Communication device and communication method
KR20220158691A (en) 2020-03-25 2022-12-01 소니 세미컨덕터 솔루션즈 가부시키가이샤 Communication device, communication system and communication method
JP2021192041A (en) * 2021-02-09 2021-12-16 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Method for positioning building, device, electronic device, storage medium, program, and terminal device
JP7214803B2 (en) 2021-02-09 2023-01-30 ベイジン バイドゥ ネットコム サイエンス テクノロジー カンパニー リミテッド Building positioning method, device, electronic device, storage medium, program, and terminal device

Similar Documents

Publication Publication Date Title
JP2017067565A (en) Terminal device and positioning program
Muralidharan et al. Barometric phone sensors: More hype than hope!
US20170171718A1 (en) Location estimation method for indoor device
EP2813816B1 (en) Method for performing map matching in user terminal
US20170245116A1 (en) Indoor positioning system and method having improved accuracy
US10075935B1 (en) Method and system for positioning state transition
US10028103B2 (en) Position management system, position management apparatus, position management method, and non-transitory computer-readable information recording medium
US9247518B2 (en) Mobile device positioning responsive to externally generated regional candidate position fix mode selection
US10830862B2 (en) Position measuring system including a server and a plurality of beacons
CN103200667A (en) A method of positioning, an electronic device using the method, and a positioning system thereof
KR20170032147A (en) A terminal for measuring a position and method thereof
JP2017067566A (en) Terminal device and detection program
CN114930180A (en) System and method for determining access point location
US20120244881A1 (en) Position-determining device, position-determining system, position-determining method and program
JP2017067569A (en) Terminal device and positioning program
CA3132938C (en) Method and system for zone-based localization of mobile devices
US20210209935A1 (en) System and method for controlling electronic devices
CA3094328C (en) Magnetic parameter-based localization in mobile device navigation
US11614332B2 (en) Systems for generating indications of traversable paths
WO2014097348A1 (en) Method for controlling information processing device, control program, and information processing device
KR102347560B1 (en) Radio signal transmission device and method for controlling the same
US10349221B1 (en) Method and system for mobile device processing timeout based localization
US20230345199A1 (en) Method and system for criterion-based localization of mobile devices
US11175144B2 (en) Magnetic parameter-based localization in mobile device navigation
Kroll et al. Context-aware indoor-outdoor detection for seamless smartphone positioning

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180213

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181204

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20190604