JP2020106363A - Distance measuring system and program - Google Patents

Distance measuring system and program Download PDF

Info

Publication number
JP2020106363A
JP2020106363A JP2018244426A JP2018244426A JP2020106363A JP 2020106363 A JP2020106363 A JP 2020106363A JP 2018244426 A JP2018244426 A JP 2018244426A JP 2018244426 A JP2018244426 A JP 2018244426A JP 2020106363 A JP2020106363 A JP 2020106363A
Authority
JP
Japan
Prior art keywords
distance
user terminal
terminal device
user
wireless communication
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
JP2018244426A
Other languages
Japanese (ja)
Other versions
JP7274141B2 (en
Inventor
修 下田
Osamu Shimoda
修 下田
俊介 梶川
Shunsuke Kajikawa
俊介 梶川
大翼 伊藤
Daisuke Ito
大翼 伊藤
悠登 下田
Yuto Shimoda
悠登 下田
雄太 小林
Yuta Kobayashi
雄太 小林
香織 宮澤
Kaori Miyazawa
香織 宮澤
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.)
INTERACT CO Ltd
Original Assignee
INTERACT CO Ltd
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 INTERACT CO Ltd filed Critical INTERACT CO Ltd
Priority to JP2018244426A priority Critical patent/JP7274141B2/en
Publication of JP2020106363A publication Critical patent/JP2020106363A/en
Application granted granted Critical
Publication of JP7274141B2 publication Critical patent/JP7274141B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

To provide a distance measuring system with which it is possible to measure the distance between a plurality of user terminal devices both of which move.SOLUTION: Provided is a distance measuring system comprising a first user terminal device 5a, a second user terminal device 5b and a server device 7. The distance measuring system is characterized by having: near distance wireless communication means capable of detecting received wave strength between the first user terminal device 5a and the second user terminal device 5b and measuring the distance to each other; positioning means capable of measuring the distance to each other from the first position information of the first user terminal device 5a and the second position information of the second user terminal device 5b, with the first and second position information transmitted to the server device 7; and switching means for switching to distance measurement by the near distance wireless communication means and distance measurement by the positioning means in accordance with a change of distance between the first user terminal device 5a and the second user terminal device 5b, with a prescribed distance used as a threshold.SELECTED DRAWING: Figure 28

Description

本発明は、複数のユーザ間の距離を計測する距離計測システム及びプログラムに関するものである。 The present invention relates to a distance measuring system and a program for measuring the distance between a plurality of users.

特許文献1では、アクセスポイント等の第1のデバイスから送信された発見メッセージを携帯情報端末等の第2のデバイスが受信し、発見メッセージの送信電力や、発見メッセージの送信から受信までの経過時間に基づいて第1のデバイスと第2のデバイスとの間の距離を判定する。第1のデバイスと第2のデバイスとの間の距離は、所定の閾値に応じてブルートゥース(登録商標)信号や近距離通信(NFC)信号、全地球測位システム(GPS)信号に基づいて判定されることが記載されている。 In Patent Document 1, a discovery message transmitted from a first device such as an access point is received by a second device such as a mobile information terminal, and transmission power of the discovery message and elapsed time from transmission of the discovery message to reception. And determining the distance between the first device and the second device. The distance between the first device and the second device is determined based on a Bluetooth (registered trademark) signal, a near field communication (NFC) signal, or a global positioning system (GPS) signal according to a predetermined threshold value. Is described.

特許文献2では、目的地までの経路に予め基地局端末を複数設置し、子供等の非保護者が所持するブルートゥース(登録商標)端末(以下、「BLE端末」という)が基地局端末に接近したときBLE端末を検出して非保護者の位置情報を取得することが記載されている。 In Patent Document 2, a plurality of base station terminals are installed in advance on a route to a destination, and a Bluetooth (registered trademark) terminal (hereinafter, referred to as “BLE terminal”) possessed by an unprotected person such as a child approaches the base station terminal. It is described that the BLE terminal is detected and the position information of the non-guardian is acquired when doing.

特許文献3では、特定の商品や陳列棚に設けられた無線タグと通信する近距離無線通信機能と、位置測定電波の受信状況に応じて、屋内用の第1の位置測定機能と、屋外用の第2の位置測定機能と、を切り替える測位機能セレクタを携帯端末に備えている。測位機能セレクタは、所定の時間間隔で動作し、各測定機能の測位状況を確認して、それぞれの測位手段における位置情報算出の精度を比較し、その時点で最も精度の高い測定機能を選択する。これにより屋内、屋外、地下の複数店舗の広範なエリアで消費者の行動を収集することでマーケティングに役立てることが記載されている。 In Patent Document 3, a short-range wireless communication function for communicating with a specific product or a wireless tag provided on a display shelf, a first position measuring function for indoors, and a first position measuring function for indoors according to the reception status of position measurement radio waves. The mobile terminal is provided with a positioning function selector that switches between the second position measurement function and the second position measurement function. The positioning function selector operates at predetermined time intervals, checks the positioning status of each measurement function, compares the accuracy of position information calculation by each positioning means, and selects the most accurate measurement function at that time. .. It is described that this will be useful for marketing by collecting the behavior of consumers in a wide area of multiple stores indoors, outdoors, and underground.

特開2018−088706号公報JP, 2008-088706, A 国際公開第2015/170538号International Publication No. 2015/170538 特開2008−226009号公報JP, 2008-22609, A

しかしながら、特許文献1では、固定位置にあるアクセスポイント等の第1のデバイスと、移動する携帯情報端末等の第2のデバイスとの間の距離を判定できるが、両者が移動する複数のユーザ端末装置間の距離を計測することはできなかった。特許文献2では、目的地までの経路に予め基地局端末を複数設置する必要があるため経路毎に設置する基地局端末の数が膨大となりコストがかかるといった問題があった。また、複数のユーザ端末装置間の距離を計測することはできなかった。特許文献3では、測位機能セレクタにより、その時点で最も精度の高い測定機能を選択することはできるが、複数のユーザ端末装置間の距離を計測することはできなかった。 However, in Patent Document 1, the distance between the first device such as an access point at a fixed position and the second device such as a mobile information terminal that moves can be determined, but a plurality of user terminals where both move It was not possible to measure the distance between the devices. In Patent Document 2, since it is necessary to install a plurality of base station terminals on the route to the destination in advance, there is a problem that the number of base station terminals to be installed for each route becomes huge and the cost is high. Moreover, the distance between a plurality of user terminal devices cannot be measured. In Patent Document 3, the positioning function selector can select the most accurate measurement function at that time, but the distance between a plurality of user terminal devices cannot be measured.

本発明は前記課題を解決するものであり、その目的とするところは、両者が移動する複数のユーザ端末装置間の距離を計測することができる距離計測システムを提供するものである。 The present invention is to solve the above problems, and an object of the present invention is to provide a distance measuring system capable of measuring the distance between a plurality of user terminal devices that both move.

前記目的を達成するための本発明に係る距離計測システムの代表的な構成は、第1のユーザ端末装置と、第2のユーザ端末装置と、サーバ装置と、を有する距離計測システムであって、前記第1のユーザ端末装置と第2のユーザ端末装置との間で受信電波強度を検知して互いの距離を計測することができる近距離無線通信手段と、前記第1のユーザ端末装置の第1の位置情報と、第2のユーザ端末装置の第2の位置情報とが前記サーバ装置に送信されて前記第1の位置情報と前記第2の位置情報とから互いの距離を計測することができる測位手段と、前記第1のユーザ端末装置と前記第2のユーザ端末装置との距離の変化に応じて、所定の距離を閾値として前記近距離無線通信手段による距離の計測と前記測位手段による距離の計測とを切り替える切替手段と、を有することを特徴とする。 A typical configuration of the distance measuring system according to the present invention for achieving the above object is a distance measuring system having a first user terminal device, a second user terminal device, and a server device, Short-distance wireless communication means capable of detecting the received radio field intensity between the first user terminal device and the second user terminal device and measuring the mutual distance; The position information of No. 1 and the second position information of the second user terminal device may be transmitted to the server device to measure the mutual distance from the first position information and the second position information. The positioning means capable of measuring the distance by the short-range wireless communication means and the positioning means according to a change in the distance between the first user terminal device and the second user terminal device with a predetermined distance as a threshold. And a switching means for switching between measurement of distance.

本発明によれば、両者が移動する複数のユーザ端末装置間の距離を計測することができる。 According to the present invention, it is possible to measure the distance between a plurality of user terminal devices that both move.

杖の制御系の構成を示すブロック図である。It is a block diagram which shows the structure of the control system of a cane. 杖の構成を示す斜視図である。It is a perspective view which shows the structure of a cane. ユーザ端末装置の制御系の構成を示すブロック図である。It is a block diagram which shows the structure of the control system of a user terminal device. サーバ装置の制御系の構成を示すブロック図である。It is a block diagram which shows the structure of the control system of a server apparatus. 第1のユーザが所持する第1の杖と、第1のユーザ端末装置と、第2のユーザが所持する第2の杖と、第2のユーザ端末装置と、サーバ装置と、データベースとの間で通信情報を送信する機能を説明する図である。Between the first cane carried by the first user, the first user terminal device, the second cane carried by the second user, the second user terminal device, the server device, and the database. It is a figure explaining the function which transmits communication information by. 図5に続く、第1のユーザが所持する第1の杖と、第1のユーザ端末装置と、第2のユーザが所持する第2の杖と、第2のユーザ端末装置と、サーバ装置と、データベースとの間で通信情報を送信する機能を説明する図である。Continuing from FIG. 5, a first cane carried by the first user, a first user terminal device, a second cane carried by the second user, a second user terminal device, and a server device. , Is a diagram illustrating a function of transmitting communication information to and from a database. 図6に続く、第1のユーザが所持する第1の杖と、第1のユーザ端末装置と、第2のユーザが所持する第2の杖と、第2のユーザ端末装置と、サーバ装置と、データベースとの間で通信情報を送信する機能を説明する図である。Continuing from FIG. 6, a first cane carried by the first user, a first user terminal device, a second cane carried by the second user, a second user terminal device, and a server device. , Is a diagram illustrating a function of transmitting communication information to and from a database. 図7に続く、第1のユーザが所持する第1の杖と、第1のユーザ端末装置と、第2のユーザが所持する第2の杖と、第2のユーザ端末装置と、サーバ装置と、データベースとの間で通信情報を送信する機能を説明する図である。Continuing from FIG. 7, a first cane carried by the first user, a first user terminal device, a second cane carried by the second user, a second user terminal device, and a server device. , Is a diagram illustrating a function of transmitting communication information to and from a database. 図8に続く、第1のユーザが所持する第1の杖と、第1のユーザ端末装置と、第2のユーザが所持する第2の杖と、第2のユーザ端末装置と、サーバ装置と、データベースとの間で通信情報を送信する機能を説明する図である。Continuing from FIG. 8, a first cane carried by the first user, a first user terminal device, a second cane carried by the second user, a second user terminal device, and a server device. , Is a diagram illustrating a function of transmitting communication information to and from a database. 図9に続く、第1のユーザが所持する第1の杖と、第1のユーザ端末装置と、第2のユーザが所持する第2の杖と、第2のユーザ端末装置と、サーバ装置と、データベースとの間で通信情報を送信する機能を説明する図である。Continuing from FIG. 9, a first cane carried by the first user, a first user terminal device, a second cane carried by the second user, a second user terminal device, and a server device. , Is a diagram illustrating a function of transmitting communication information to and from a database. 図10に続く、第1のユーザが所持する第1の杖と、第1のユーザ端末装置と、第2のユーザが所持する第2の杖と、第2のユーザ端末装置と、サーバ装置と、データベースとの間で通信情報を送信する機能を説明する図である。Continuing from FIG. 10, a first cane carried by the first user, a first user terminal device, a second cane carried by the second user, a second user terminal device, and a server device. , Is a diagram illustrating a function of transmitting communication information to and from a database. 図11に続く、第1のユーザが所持する第1の杖と、第1のユーザ端末装置と、第2のユーザが所持する第2の杖と、第2のユーザ端末装置と、サーバ装置と、データベースとの間で通信情報を送信する機能を説明する図である。Continuing from FIG. 11, a first cane carried by the first user, a first user terminal device, a second cane carried by the second user, a second user terminal device, and a server device. , Is a diagram illustrating a function of transmitting communication information to and from a database. 振動パターンと発光パターンの信号データの一例を示す図である。It is a figure which shows an example of the signal data of a vibration pattern and a light emission pattern. 杖の動作を示すフローチャートである。It is a flowchart which shows operation|movement of a cane. 図14のステップS1100内のペアリング処理動作を示すフローチャートである。15 is a flowchart showing a pairing processing operation in step S1100 of FIG. 図14のステップS1200内のデータ送受信処理動作を示すフローチャートである。15 is a flowchart showing a data transmission/reception processing operation in step S1200 of FIG. 14. 図16のステップS1215内のデバイス出力命令の送受信処理動作を示すフローチャートである。17 is a flowchart showing a transmission/reception processing operation of a device output instruction in step S1215 of FIG. 図14のステップS1300内のロール切替処理動作を示すフローチャートである。15 is a flowchart showing the roll switching processing operation in step S1300 of FIG. 14. サーバ装置側の測位及び通知処理動作を示すフローチャートである。It is a flow chart which shows positioning and notification processing operation by the side of a server device. 図19に続く、サーバ装置側の測位及び通知処理動作を示すフローチャートである。FIG. 20 is a flowchart showing positioning and notification processing operation on the server device side following FIG. 19. 図20に続く、サーバ装置側の測位及び通知処理動作を示すフローチャートである。FIG. 21 is a flowchart of the positioning and notification processing operation on the server device side continued from FIG. 20. 図18のステップS3000内の近距離無線通信による近接度判定処理動作を示すフローチャートである。20 is a flowchart showing a proximity determination processing operation by short-range wireless communication in step S3000 of FIG. 第1のユーザ端末装置側の位置情報送信処理動作を示すフローチャートである。It is a flow chart which shows position information transmission processing operation by the side of the 1st user terminal unit. 図21のステップS3200内の近接度ステータスの更新処理動作を示すフローチャートである。22 is a flowchart showing a proximity status update processing operation in step S3200 of FIG. 21. 図24に続く、近接度ステータスの更新処理動作を示すフローチャートである。FIG. 25 is a flowchart showing a proximity status update processing operation following FIG. 24. FIG. 近接度情報、アカウント情報、位置情報のデータ構造を示す図である。It is a figure which shows the data structure of proximity information, account information, and positional information. (a)は、アカウント情報、(b)は、近接度情報、(c)は、位置情報のデータ構造の一例を示す図である。(A) is a figure which shows an example of a data structure of account information, (b) is proximity information, (c) is a data structure of position information. (a)は、第1のユーザに対して、第2のユーザが「圏外」のエリアから「遠い」のエリアに移動したときと、第3のユーザが「遠い」のエリアにいる場合の位置情報と近接度を示す図である。(b)は、(a)の状態で第1のユーザが所持する第1のユーザ端末装置に表示される画面の一例である。(A) is the position when the second user moves from the “out of service” area to the “far” area and when the third user is in the “far” area with respect to the first user. It is a figure which shows information and proximity. (B) is an example of a screen displayed on the first user terminal device owned by the first user in the state of (a). (a)は、第1のユーザに対して、第2のユーザが「遠い」のエリアにいて、第3のユーザが「遠い」のエリアから「近い」のエリアに移動したときの位置情報と近接度を示す図である。(b)は、(a)の状態で第1のユーザが所持する第1のユーザ端末装置に表示される画面の一例である。(A) shows position information when the second user is in the “far” area and the third user moves from the “far” area to the “close” area with respect to the first user. It is a figure which shows proximity. (B) is an example of a screen displayed on the first user terminal device owned by the first user in the state of (a). (a)は、第2のユーザが圏外に離れた場合の位置情報と近接度を示す図である。(b)は、第2のユーザが圏外に離れた場合に第1のユーザが所持する第1のユーザ端末装置に表示される画面の一例である。(A) is a figure which shows the positional information and the proximity degree when a 2nd user leaves|separates out of range. (B) is an example of a screen displayed on the first user terminal device possessed by the first user when the second user leaves the area. 第1のユーザと第2のユーザとの間の2点間の距離と、近距離無線通信の通信距離と、GPSにより計測される広域レベルの距離範囲との関係を示す図である。It is a figure which shows the relationship between the distance between two points between a 1st user and a 2nd user, the communication distance of short-distance wireless communication, and the wide range level distance range measured by GPS. 第1のユーザと第2のユーザとの間の距離が所定の閾値未満になったときに互いに知らせる様子を示す図である。It is a figure which shows a mode that each other is notified when the distance between a 1st user and a 2nd user becomes less than a predetermined threshold value. 第1のユーザと第2のユーザとの間の距離が更に接近して相手のユーザ端末装置と近距離無線通信の通信で接続できたときに互いに知らせる様子を示す図である。It is a figure which shows a mode that the distance between a 1st user and a 2nd user is further approached, and when it can connect with the other party's user terminal device by communication of short-distance wireless communication, it notifies each other. 4人のユーザ間で位置情報と近接度を示す図である。It is a figure which shows a positional information and a proximity degree among four users. ユーザ間の移動の履歴を参照することにより時間や移動方向等からユーザ間の移動のベクトル情報を作成して移動の予測を行う様子を示す図である。It is a figure which shows a mode that the vector of the movement between users is produced from time and the moving direction etc. by referring to the movement history between users, and a movement is estimated.

図により本発明に係る距離計測システム及びプログラムの一実施形態を具体的に説明する。以下に説明する第1、第2の杖1a,1b、第1、第2のユーザ端末装置5a,5b、サーバ装置7は、それぞれコンピュータシステムにより構成され、それぞれがコンピュータプログラムにより制御される。 An embodiment of a distance measuring system and a program according to the present invention will be specifically described with reference to the drawings. The first and second canes 1a and 1b, the first and second user terminal devices 5a and 5b, and the server device 7 described below are each configured by a computer system, and each is controlled by a computer program.

<杖>
図1は、杖1a,1bの制御系の構成を示すブロック図である。図2は、杖1a,1bの構成を示す斜視図である。図1及び図2に示す杖1a,1bは、杖1a,1bの利用者としての高齢者や視覚障害者等の第1、第2のユーザ6a,6bが歩行補助用に日常使用する杖である。杖1a,1bをそれぞれ利用するユーザ6a,6bは、併せてユーザ端末装置5a,5bをそれぞれ所持している。ユーザ端末装置5a,5bは、スマートフォン、携帯電話、タブレット端末、パーソナルコンピュータ等が適用できる。杖1a,1bは、複数のユーザ端末装置5a,5bの間でサーバ装置7を介して通信可能に設けられた通信システムに使用される。
<Canes>
FIG. 1 is a block diagram showing a configuration of a control system for the canes 1a and 1b. FIG. 2 is a perspective view showing the structures of the canes 1a and 1b. The walking sticks 1a and 1b shown in FIGS. 1 and 2 are walking sticks that the first and second users 6a and 6b, such as the elderly and visually impaired users as users of the walking sticks 1a and 1b, routinely use for walking assistance. is there. The users 6a and 6b who use the canes 1a and 1b, respectively, also have the user terminal devices 5a and 5b, respectively. A smart phone, a mobile phone, a tablet terminal, a personal computer, or the like can be applied to the user terminal devices 5a and 5b. The canes 1a and 1b are used in a communication system provided so as to be communicable between a plurality of user terminal devices 5a and 5b via a server device 7.

<制御部>
図1に示すように、杖1a,1bに設けられる制御部8には、杖1a,1bのグリップ部の内部に取り外し可能に設けられた電源装置12、近距離無線通信ユニットとしてのブルートゥース(登録商標)通信モジュール(以下、「BLE通信モジュール」という)2が接続されている。また、制御部8には、杖1a,1bの下部の外周面に設けられたLED(Light Emitting Diode;発光ダイオード)等の発光装置11が接続されている。制御部8は、バイブレータ10を駆動し、杖1a,1bを振動させる。また、制御部8は、発光装置11を発光させる。また、制御部8は、BLE通信モジュール2を制御してユーザ端末装置5a,5bに設けられたBLE通信モジュール16との間で送受信するデータを変換するための計算機能を有する。
<Control part>
As shown in FIG. 1, a control unit 8 provided on the canes 1a and 1b includes a power supply device 12 that is detachably provided inside the grips of the canes 1a and 1b, and a Bluetooth (registered as a short-range wireless communication unit). A trademark) communication module (hereinafter referred to as “BLE communication module”) 2 is connected. Further, a light emitting device 11 such as an LED (Light Emitting Diode) provided on the outer peripheral surfaces of the lower portions of the walking sticks 1a and 1b is connected to the control unit 8. The controller 8 drives the vibrator 10 to vibrate the canes 1a and 1b. The control unit 8 also causes the light emitting device 11 to emit light. Further, the control unit 8 has a calculation function for controlling the BLE communication module 2 and converting data to be transmitted/received to/from the BLE communication module 16 provided in the user terminal devices 5a and 5b.

<制御プログラム>
第1のユーザ6aが所持する第1のユーザ端末装置5aと、第2のユーザ6bが所持する第2のユーザ端末装置5bと、第1のユーザ6aが所持する第1の近距離無線通信ユニットとしての第1の杖1aに設けられたBLE通信モジュール2、或いは、第1のユーザ端末装置5aに設けられたBLE通信モジュール16と、第2のユーザ6bが所持する第2の近距離無線通信ユニットとしての第2の杖1bに設けられたBLE通信モジュール2、或いは、第2のユーザ端末装置5bに設けられたBLE通信モジュール16と、サーバ装置7とを有する距離計測システムを制御するプログラムにおいて、コンピュータを第1の近距離無線通信ユニットと第2の近距離無線通信ユニットとの間で受信電波強度を検知して互いの距離を計測することができる近距離無線通信手段として機能させる。
<Control program>
The first user terminal device 5a owned by the first user 6a, the second user terminal device 5b owned by the second user 6b, and the first short-range wireless communication unit owned by the first user 6a. BLE communication module 2 provided on the first cane 1a, or BLE communication module 16 provided on the first user terminal device 5a, and second short-range wireless communication carried by the second user 6b. In a program for controlling a distance measuring system having the BLE communication module 2 provided on the second cane 1b as a unit or the BLE communication module 16 provided on the second user terminal device 5b and the server device 7. The computer is caused to function as a short-range wireless communication unit capable of detecting the intensity of the received radio wave between the first short-range wireless communication unit and the second short-range wireless communication unit and measuring the mutual distance.

このとき、第1の近距離無線通信ユニットが第1の杖1aに設けられたBLE通信モジュール2であるときは、第2の近距離無線通信ユニットが第2のユーザ端末装置5bに設けられたBLE通信モジュール16であり、第1の近距離無線通信ユニットが第1のユーザ端末装置5aに設けられたBLE通信モジュール16であるときは、第2の近距離無線通信ユニットが第2の杖1bに設けられたBLE通信モジュール2である。このように近距離無線通信手段は、各杖1a,1bに設けられたBLE通信モジュール2と、各ユーザ端末装置5a,5bに設けられたBLE通信モジュール16とにより構成される。 At this time, when the first short-range wireless communication unit is the BLE communication module 2 provided on the first cane 1a, the second short-range wireless communication unit is provided on the second user terminal device 5b. When it is the BLE communication module 16 and the first short-range wireless communication unit is the BLE communication module 16 provided in the first user terminal device 5a, the second short-range wireless communication unit is the second walking stick 1b. BLE communication module 2 provided in the. As described above, the short-range wireless communication means is configured by the BLE communication module 2 provided in each of the canes 1a and 1b and the BLE communication module 16 provided in each of the user terminal devices 5a and 5b.

また、各ユーザ端末装置5a,5b内にBLE通信モジュール16とは別にBLE通信モジュール2を設けた場合には、第1のユーザ端末装置5aと、第2のユーザ端末装置5bと、サーバ装置7とを有する距離計測システムを制御するプログラムにおいて、コンピュータを第1のユーザ端末装置5aと第2のユーザ端末装置5bとの間で受信電波強度を検知して互いの距離を計測することができる近距離無線通信手段として機能させる。 When the BLE communication module 2 is provided separately from the BLE communication module 16 in each user terminal device 5a, 5b, the first user terminal device 5a, the second user terminal device 5b, and the server device 7 are provided. In a program for controlling the distance measuring system having a computer, the computer can detect the received radio wave intensity between the first user terminal device 5a and the second user terminal device 5b and measure the distance between them. Function as a range wireless communication means.

このとき、近距離無線通信手段は、第1のユーザ端末装置5aに設けられたBLE通信モジュール2と、第2のユーザ端末装置5bに設けられたBLE通信モジュール16とにより構成されるか、或いは、第1のユーザ端末装置5aに設けられたBLE通信モジュール16と、第2のユーザ端末装置5bに設けられたBLE通信モジュール2とにより構成される。 At this time, the short-range wireless communication means is configured by the BLE communication module 2 provided in the first user terminal device 5a and the BLE communication module 16 provided in the second user terminal device 5b, or , The BLE communication module 16 provided in the first user terminal device 5a and the BLE communication module 2 provided in the second user terminal device 5b.

杖1a,1bを制御するコンピュータプログラムは、少なくともコンピュータを、制御信号により発光手段としての発光装置11の発光状態と振動手段としてのバイブレータ10の振動状態の少なくとも1つを制御する制御手段として機能させる。この制御手段は、制御部8により構成される。 The computer program for controlling the wands 1a and 1b causes at least the computer to function as control means for controlling at least one of a light emitting state of the light emitting device 11 as a light emitting means and a vibration state of the vibrator 10 as a vibrating means by a control signal. .. This control means is composed of the control unit 8.

<BLE通信モジュール>
図1に示すように、第1、第2のユーザ6a,6bが所持する第1、第2の杖1a,1bには、第1、第2のユーザ6a,6bが所持する第1、第2のユーザ端末装置5a,5bとの間でそれぞれ通信を行う近距離無線通信手段としてのBLE通信モジュール2がそれぞれ設けられている。
<BLE communication module>
As shown in FIG. 1, the first and second wands 1a and 1b carried by the first and second users 6a and 6b have first and second wands 1a and 6b carried by the first and second users 6a and 6b, respectively. BLE communication modules 2 are provided as short-distance wireless communication means for communicating with the two user terminal devices 5a and 5b, respectively.

ここで、近距離無線手段は、無線LAN(localareanetwork)、WiFi(商標)(wireless fidelity)、NFC(near field communication)、Bluetooth(登録商標)、BLE(Bluetooth(登録商標) low energy)、Zigbee(登録商標)、WFD(WiFi(商標) direct)、UWB(ultra wide band)等であり得る。 Here, the short-distance wireless means is a wireless LAN (local area network), WiFi (trademark) (wireless fidelity), NFC (near field communication), Bluetooth (registered trademark), BLE (Bluetooth (registered trademark) low energy),. (Registered trademark), WFD (WiFi (trademark) direct), UWB (ultra wide band), and the like.

<振動装置>
制御部8には、杖1a,1bを振動させるための振動手段としてのバイブレータ10が接続されている。バイブレータ10を駆動することによりバイブレータ10が杖1a,1bを振動させる。杖1a,1bを握ったユーザ6a,6bに対して、杖1a,1bの振動による感触によって、情報の通知または識別を補助する。
<Vibration device>
A vibrator 10 is connected to the control unit 8 as a vibrating means for vibrating the canes 1a and 1b. By driving the vibrator 10, the vibrator 10 vibrates the canes 1a and 1b. The users 6a and 6b holding the canes 1a and 1b assist the notification or identification of information by the feeling of vibration of the canes 1a and 1b.

<発光装置>
制御部8には、杖1a,1bに設けられた発光手段としての発光装置11が接続されている。発光装置11としては、LED(Light Emitting Diode;発光ダイオード)が適用できる。発光装置11の発光により杖1a,1bを所持したユーザ6a,6bだけではなく、ユーザ6a,6bの周囲にいる人に対しても注意を喚起することができる。
<Light emitting device>
The control unit 8 is connected to a light emitting device 11 as a light emitting means provided on the canes 1a and 1b. As the light emitting device 11, an LED (Light Emitting Diode) can be applied. By the light emission of the light emitting device 11, it is possible to call attention not only to the users 6a and 6b who carry the canes 1a and 1b but also to the people around the users 6a and 6b.

<電源装置>
制御部8には、杖1a,1bを通信機器として機能させるための電源装置12が設けられている。電源装置12としては、小型軽量で持ち運びが可能な電池やバッテリー等が適用できる。図2に示すように、電源装置12とバイブレータ10とBLE通信モジュール2とは、杖1a,1bのグリップ部の内部に格納されている。これらは必要に応じて外部に取り出すことができる。発光装置11は、杖1a,1bの下部の外周面に設けられている。
<Power supply>
The control unit 8 is provided with a power supply device 12 for causing the canes 1a and 1b to function as communication devices. As the power supply device 12, a small and lightweight portable battery or battery can be applied. As shown in FIG. 2, the power supply device 12, the vibrator 10, and the BLE communication module 2 are housed inside the grips of the canes 1a and 1b. These can be taken out as needed. The light emitting device 11 is provided on the outer peripheral surfaces of the lower portions of the canes 1a and 1b.

<タイマ>
制御部8には、計測手段としてのタイマ35が接続されている。タイマ35は、基準時刻からの経過時間を計測する。基準時刻としては、電源装置12のバッテリを交換した時刻等である。
<Timer>
A timer 35 as a measuring means is connected to the control unit 8. The timer 35 measures the elapsed time from the reference time. The reference time is, for example, the time when the battery of the power supply device 12 is replaced.

<メモリ>
制御部8には、記憶手段としてのメモリ31が接続されている。
<Memory>
A memory 31 as a storage unit is connected to the control unit 8.

<ユーザ端末装置>
次に、図3を用いてユーザ端末装置5a,5bの構成について説明する。図3は、杖1a,1bのBLE通信モジュール2との間で通信を行うユーザ端末装置5a,5bの制御系の構成を示すブロック図である。
<User terminal device>
Next, the configuration of the user terminal devices 5a and 5b will be described with reference to FIG. FIG. 3 is a block diagram showing a configuration of a control system of the user terminal devices 5a and 5b that communicate with the BLE communication module 2 of the canes 1a and 1b.

<制御部>
図3に示すように、ユーザ端末装置5a,5bに設けられる制御部15は、モバイルオペレーティングシステム(Android;登録商標)を使用している。制御部15は、杖1aとユーザ端末装置5aを所持する第1のユーザ6aと、杖1bとユーザ端末装置5bを所持する第2のユーザ6bとの距離Lの変化に応じて、所定の距離を閾値としてBLE通信モジュール2,16からなる近距離無線通信手段による距離Lの計測と、GPS22からなる測位手段による距離Lの計測とを切り替える切替手段を兼ねる。
<Control part>
As shown in FIG. 3, the control unit 15 provided in the user terminal devices 5a and 5b uses a mobile operating system (Android; registered trademark). The control unit 15 determines a predetermined distance according to a change in the distance L between the first user 6a who carries the cane 1a and the user terminal device 5a and the second user 6b who carries the cane 1b and the user terminal device 5b. Also serves as a switching unit that switches between the measurement of the distance L by the short-range wireless communication unit including the BLE communication modules 2 and 16 and the measurement of the distance L by the positioning unit including the GPS 22.

また、ユーザ端末装置5a,5b内に近距離無線通信ユニットとしてのBLE通信モジュール2,16を内蔵した場合には、制御部15は、第1のユーザ6aが所持する第1のユーザ端末装置5aと、第2のユーザ6bが所持する第2のユーザ端末装置5bとの距離Lの変化に応じて、所定の距離を閾値としてBLE通信モジュール2,16からなる近距離無線通信手段による距離Lの計測と、GPS22からなる測位手段による距離Lの計測とを切り替える切替手段を兼ねる。 When the BLE communication modules 2 and 16 as short-distance wireless communication units are incorporated in the user terminal devices 5a and 5b, the control unit 15 controls the first user terminal device 5a owned by the first user 6a. Then, according to the change in the distance L with the second user terminal device 5b possessed by the second user 6b, the distance L by the short-distance wireless communication means including the BLE communication modules 2 and 16 is set with a predetermined distance as a threshold. It also serves as a switching unit that switches between measurement and measurement of the distance L by the positioning unit including the GPS 22.

切替手段としての制御部15は、杖1aとユーザ端末装置5aを所持する第1のユーザ6aと、杖1bとユーザ端末装置5bを所持する第2のユーザ6bとの距離Lが所定の閾値以上であれば、GPS22からなる測位手段により前記距離Lを計測し、第1のユーザ6aと、第2のユーザ6bとの距離Lが所定の閾値未満であれば、BLE通信モジュール2,16からなる近距離無線通信手段により前記距離Lを計測する。ここで、「閾値(所定の距離)」の具体例としては、図28(a)等に記載した「50m」が適用できる。「閾値(所定の距離)」は、「50m」以外にも適宜設定でき、ユーザ端末装置5毎に異なる「閾値(所定の距離)」に設定することもできる。 The control unit 15 serving as a switching unit has a distance L between the first user 6a carrying the cane 1a and the user terminal device 5a and the second user 6b carrying the cane 1b and the user terminal device 5b which is equal to or greater than a predetermined threshold value. In that case, the distance L is measured by the positioning means including the GPS 22, and if the distance L between the first user 6a and the second user 6b is less than a predetermined threshold value, the BLE communication modules 2 and 16 are included. The distance L is measured by the short-range wireless communication means. Here, as a specific example of the “threshold value (predetermined distance)”, “50 m” described in FIG. 28A or the like can be applied. The "threshold value (predetermined distance)" can be appropriately set other than "50 m", and can be set to a different "threshold value (predetermined distance)" for each user terminal device 5.

また、ユーザ端末装置5a,5b内にBLE通信モジュール2,16を内蔵した場合には、切替手段としての制御部15は、第1のユーザ端末装置5aと第2のユーザ端末装置5bとの距離Lが所定の閾値以上であれば、GPS22からなる測位手段により前記距離Lを計測し、第1のユーザ端末装置5aと第2のユーザ端末装置5bとの距離Lが所定の閾値未満であれば、BLE通信モジュール2,16からなる近距離無線通信手段により前記距離Lを計測する。ここで、「閾値(所定の距離)」の具体例としては、図28(a)等に記載した「50m」が適用できる。 Further, when the BLE communication modules 2 and 16 are built in the user terminal devices 5a and 5b, the control unit 15 as a switching unit controls the distance between the first user terminal device 5a and the second user terminal device 5b. If L is equal to or greater than a predetermined threshold value, the distance L is measured by the positioning unit including the GPS 22, and if the distance L between the first user terminal device 5a and the second user terminal device 5b is less than the predetermined threshold value. , The BLE communication modules 2 and 16 are used to measure the distance L. Here, as a specific example of the “threshold value (predetermined distance)”, “50 m” described in FIG. 28A or the like can be applied.

杖1a,1bに設けられた制御部8は、ユーザ端末装置5a,5bに設けられた切替手段としての制御部15により近距離無線通信手段としてのBLE通信モジュール2,16による距離Lの計測と、測位手段としてのGPS22による距離Lの計測とを切り替えたときに第1、第2の近距離無線通信ユニットとしてのBLE通信モジュール2が受信した制御信号により発光手段としての発光装置11の発光状態と振動手段としてのバイブレータ10の振動状態の少なくとも1つを制御する制御手段を兼ねる。 The control unit 8 provided on the canes 1a and 1b measures the distance L by the BLE communication modules 2 and 16 as short-distance wireless communication means by the control unit 15 as switching means provided to the user terminal devices 5a and 5b. The light emitting state of the light emitting device 11 as the light emitting means by the control signal received by the BLE communication module 2 as the first and second short-range wireless communication units when the measurement of the distance L by the GPS 22 as the positioning means is switched. And also as a control means for controlling at least one of the vibration states of the vibrator 10 as the vibration means.

<制御プログラム>
コンピュータを第1のユーザ6aと第2のユーザ6bとの距離Lの変化に応じて、所定の距離を閾値として前記近距離無線通信手段による距離の計測と測位手段としてのGPS22による距離の計測とを切り替える切替手段として機能させる。切替手段は、各ユーザ端末装置5a,5bの制御部15により構成される。
<Control program>
According to the change in the distance L between the first user 6a and the second user 6b, the computer measures the distance by the short-distance wireless communication means and the distance by the GPS 22 as the positioning means with a predetermined distance as a threshold. To function as switching means. The switching unit is configured by the control unit 15 of each user terminal device 5a, 5b.

また、杖1a,1bをそれぞれ利用するユーザ6a,6bがそれぞれ所持するユーザ端末装置5a,5bを制御するコンピュータプログラムを、切替手段としての制御部15により前記近距離無線通信手段による距離の計測と測位手段としてのGPS22による距離の計測とを切り替えたときに各杖1a,1bに設けられた第1、第2の近距離無線通信ユニットとしてのBLE通信モジュール2が受信した制御信号により発光手段としての発光装置11の発光状態と振動手段としてのバイブレータ10の振動状態の少なくとも1つを制御する制御手段として機能させる。制御手段は、杖1a,1bの制御部8により構成される。 Further, a computer program for controlling the user terminal devices 5a, 5b owned by the users 6a, 6b respectively using the canes 1a, 1b is used by the control unit 15 as a switching unit to measure the distance by the short-range wireless communication unit. As a light emitting means by a control signal received by the BLE communication module 2 as the first and second short-range wireless communication units provided in each cane 1a, 1b when the distance measurement by the GPS 22 as the positioning means is switched. The light emitting device 11 functions as a control unit that controls at least one of the light emitting state and the vibration state of the vibrator 10 as the vibration unit. The control means is constituted by the control unit 8 of the canes 1a and 1b.

<BLE通信モジュール>
制御部15には、BLE通信モジュール16が接続されている。BLE通信モジュール16は、杖1a,1bのBLE通信モジュール2とスマートフォン等のユーザ端末装置5a,5bとの間でデータを送受信するための装置である。BLE通信モジュール16は、リアルタイムで双方向通信を実現することができる。
<BLE communication module>
A BLE communication module 16 is connected to the control unit 15. The BLE communication module 16 is a device for transmitting and receiving data between the BLE communication module 2 of the canes 1a and 1b and the user terminal devices 5a and 5b such as smartphones. The BLE communication module 16 can realize bidirectional communication in real time.

<BLE通信モジュールによる近距離無線通信手段>
ここで、第1のユーザ6aが所持する第1の近距離無線通信ユニットとして杖1aのBLE通信モジュール2を想定したとき、第2のユーザ6bの所持する第2の近距離無線通信ユニットとして第2のユーザ端末装置5bのBLE通信モジュール16が想定される。そして、第1の近距離無線通信ユニットとして杖1aのBLE通信モジュール2と、第2の近距離無線通信ユニットとして第2のユーザ端末装置5bのBLE通信モジュール16との間で受信電波強度を検知してBLE通信モジュール2とBLE通信モジュール16との互いの距離Lを計測することができる近距離無線通信手段として構成される。
<Short-range wireless communication means by BLE communication module>
When the BLE communication module 2 of the cane 1a is assumed as the first short-range wireless communication unit carried by the first user 6a, the second short-range wireless communication unit carried by the second user 6b is used as the second short-range wireless communication unit. The BLE communication module 16 of the second user terminal device 5b is assumed. Then, the received radio wave intensity is detected between the BLE communication module 2 of the cane 1a as the first short-range wireless communication unit and the BLE communication module 16 of the second user terminal device 5b as the second short-range wireless communication unit. Then, the BLE communication module 2 and the BLE communication module 16 are configured as short-distance wireless communication means capable of measuring the distance L between them.

逆に、第1のユーザ6aが所持する第1の近距離無線通信ユニットとして第1のユーザ端末装置5aのBLE通信モジュール16を想定したとき、第2のユーザ6b所持する第2の近距離無線通信ユニットとして杖1bのBLE通信モジュール2が想定される。そして、第1の近距離無線通信ユニットとして第1のユーザ端末装置5aのBLE通信モジュール16と、第2の近距離無線通信ユニットとして杖1bのBLE通信モジュール2との間で受信電波強度を検知してBLE通信モジュール2とBLE通信モジュール16との互いの距離Lを計測することができる近距離無線通信手段として構成される。 On the contrary, when the BLE communication module 16 of the first user terminal device 5a is assumed as the first short-range wireless communication unit possessed by the first user 6a, the second short-range wireless possessed by the second user 6b is assumed. The BLE communication module 2 of the cane 1b is assumed as a communication unit. Then, the received radio wave intensity is detected between the BLE communication module 16 of the first user terminal device 5a as the first short-range wireless communication unit and the BLE communication module 2 of the cane 1b as the second short-range wireless communication unit. Then, the BLE communication module 2 and the BLE communication module 16 are configured as short-distance wireless communication means capable of measuring the distance L between them.

<ユーザ端末装置内にBLE通信モジュールが内蔵されている他の構成>
杖1a,1bに設けられるBLE通信モジュール2を第1、第2のユーザ端末装置5a,5bに内蔵させることもできる。その場合、第1のユーザ端末装置5aに内蔵されたBLE通信モジュール2と、第2のユーザ端末装置5bに内蔵されたBLE通信モジュール16との間で受信電波強度を検知して第1のユーザ端末装置5aに内蔵されたBLE通信モジュール2と、第2のユーザ端末装置5bに内蔵されたBLE通信モジュール16との互いの距離Lを計測することができる近距離無線通信手段として構成することもできる。
<Other configuration in which BLE communication module is built in user terminal device>
The BLE communication module 2 provided on the canes 1a and 1b may be built in the first and second user terminal devices 5a and 5b. In that case, the first user terminal device 5a detects the received radio wave intensity between the BLE communication module 2 built in the second user terminal device 5b and the BLE communication module 16 built in the second user terminal device 5b. The BLE communication module 2 built in the terminal device 5a and the BLE communication module 16 built in the second user terminal device 5b may also be configured as a short-range wireless communication means capable of measuring the mutual distance L. it can.

逆に、第1のユーザ端末装置5aに内蔵されたBLE通信モジュール16と、第2のユーザ端末装置5bに内蔵されたBLE通信モジュール2との間で受信電波強度を検知して第1のユーザ端末装置5aに内蔵されたBLE通信モジュール16と、第2のユーザ端末装置5bに内蔵されたBLE通信モジュール2との互いの距離Lを計測することができる近距離無線通信手段として構成することもできる。 On the contrary, the first user terminal 5a detects the received radio wave intensity between the BLE communication module 16 built in the first user terminal device 5a and the BLE communication module 2 built in the second user terminal device 5b. The BLE communication module 16 built in the terminal device 5a and the BLE communication module 2 built in the second user terminal device 5b can also be configured as a short-range wireless communication means capable of measuring the mutual distance L. it can.

<アプリケーション>
制御部15には、アプリケーション17が接続されている。アプリケーション17は、コンピュータソフトウェアで構成される。アプリケーション17は、杖1a,1bのBLE通信モジュール2から発信された情報を通知したり、内容を画面に表示させたりする。
<Application>
An application 17 is connected to the control unit 15. The application 17 is composed of computer software. The application 17 notifies the information transmitted from the BLE communication module 2 of the canes 1a and 1b or displays the content on the screen.

<Webブラウザ>
アプリケーション17に設けられるWebブラウザ18は、Webページを画面表示させたりするソフトウェアである。Webとは、インターネット上で標準的に用いられている、文書の公開・閲覧システムである。文字や画像、動画等を一体化した文書をネット上で公開・配布したり、また、それを入手・閲覧することができる。
<Web browser>
The web browser 18 provided in the application 17 is software for displaying a web page on the screen. The Web is a document disclosure/browsing system that is standardly used on the Internet. You can publish and distribute documents that integrate characters, images, movies, etc. on the Internet, and you can also obtain and browse them.

<Webアプリケーション>
また、アプリケーション17に設けられるWebアプリケーション19は、インターネットを介して使用できるコンピュータソフトウェアである。
<Web application>
The Web application 19 provided in the application 17 is computer software that can be used via the Internet.

<インターネット通信モジュール>
制御部15には、インターネット通信モジュール20が接続されている。インターネット通信モジュール20は、基地局や特定のアクセスポイントを経由し、広域通信網からサーバ装置7との通信を実現させる。インターネット通信モジュール20は、サーバ装置7との間でメッセージの送受信を行うマルチキャスト通信手段として構成される。ここで、マルチキャスト通信手段とは、1対多数で通信を行うもので、サーバ装置7との間で複数のユーザ端末装置5a,5bに情報が送信される。
<Internet communication module>
An internet communication module 20 is connected to the control unit 15. The internet communication module 20 realizes communication with the server device 7 from a wide area communication network via a base station or a specific access point. The internet communication module 20 is configured as a multicast communication means for transmitting/receiving a message to/from the server device 7. Here, the multicast communication means performs one-to-many communication, and information is transmitted to the plurality of user terminal devices 5a and 5b with the server device 7.

<画面入出力部>
制御部15には、画面入出力部21が接続されている。画面入出力部21は、画面の表示とユーザ入力を行う。画面入出力部21は、サーバ装置7によって送信された報知情報を出力する報知手段として構成される。
<Screen input/output section>
A screen input/output unit 21 is connected to the control unit 15. The screen input/output unit 21 performs screen display and user input. The screen input/output unit 21 is configured as a notification unit that outputs the notification information transmitted by the server device 7.

<GPS>
制御部15には、第1のユーザ端末装置5aの第1の位置情報と、第2のユーザ端末装置5bの第2の位置情報とがそれぞれのインターネット通信モジュール20を介してサーバ装置7に送信されて第1の位置情報と第2の位置情報とから互いの距離Lを計測することができる測位手段としてのGPS(Global Positioning System;全地球測位システム)22が接続されている。GPS22は、地球上の現在位置を、人工衛星からの電波で測り知る装置である。GPS22により杖1a,1bとユーザ端末装置5a,5bを所持しているユーザ6a,6bのそれぞれの現在の位置情報を取得することができる。
<GPS>
The control unit 15 transmits the first position information of the first user terminal device 5a and the second position information of the second user terminal device 5b to the server device 7 via the respective internet communication modules 20. A GPS (Global Positioning System) 22 is connected as a positioning means capable of measuring the mutual distance L from the first position information and the second position information. The GPS 22 is a device for measuring the current position on the earth by radio waves from artificial satellites. The GPS 22 can acquire the current position information of each of the users 6a and 6b who possess the canes 1a and 1b and the user terminal devices 5a and 5b.

<振動装置>
制御部15には、バイブレータ24が接続されている。バイブレータ24を駆動することでユーザ端末装置5a,5bが振動する。杖1a,1bとユーザ端末装置5a,5bを所持しているユーザ6a,6bは、ユーザ端末装置5a,5bの振動による感触によって、情報の通知または識別を補助することができる。
<Vibration device>
A vibrator 24 is connected to the control unit 15. By driving the vibrator 24, the user terminal devices 5a and 5b vibrate. The users 6a and 6b who carry the canes 1a and 1b and the user terminal devices 5a and 5b can assist the notification or identification of information by the feeling of vibration of the user terminal devices 5a and 5b.

<スピーカ>
制御部15には、スピーカ25が接続されている。杖1a,1bとユーザ端末装置5a,5bを所持しているユーザ6a,6bが連絡の送受信を行う際に、スピーカ25から流れる音声により確認することができる。制御部15は、サーバ装置7によって送信された近接度通知メッセージをスピーカ25により読み上げを行う。
<Speaker>
A speaker 25 is connected to the control unit 15. When the users 6a and 6b, who carry the canes 1a and 1b and the user terminal devices 5a and 5b, send and receive the contact, the user can confirm the voice through the speaker 25. The controller 15 causes the speaker 25 to read the proximity notification message transmitted by the server device 7.

<メモリ>
制御部15には、記憶手段としてのメモリ28が接続されている。
<Memory>
A memory 28 as a storage unit is connected to the control unit 15.

<電源装置>
制御部15には、電源装置34が接続されている。
<Power supply>
A power supply device 34 is connected to the control unit 15.

<サーバ装置>
次に、図4を用いてサーバ装置7の構成について説明する。図4は、サーバ装置7の構成を示すブロック図である。
<Server device>
Next, the configuration of the server device 7 will be described with reference to FIG. FIG. 4 is a block diagram showing the configuration of the server device 7.

<制御部>
図4に示すサーバ装置7は、オペレーティングシステムからなる制御部32を備えている。制御部32は、データベース27から取得したユーザ情報に基づいて、杖1a,1bを利用するユーザ6a,6bが所持するユーザ端末装置5a,5bに近接度通知メッセージを通知する通知手段を兼ねる。ここで、ユーザ情報は、データベース27のみで扱う情報である。ユーザ情報には、杖1a,1bを利用する利用者としてのユーザ6a,6bの情報が含まれる。
<Control part>
The server device 7 illustrated in FIG. 4 includes a control unit 32 including an operating system. The control unit 32 also serves as a notification unit that notifies the user terminal devices 5a and 5b possessed by the users 6a and 6b who use the canes 1a and 1b of the proximity notification message based on the user information acquired from the database 27. Here, the user information is information handled only by the database 27. The user information includes information on users 6a and 6b as users who use the canes 1a and 1b.

第1のユーザ6aが所持する第1のユーザ端末装置5aと、第2のユーザ6bが所持する第2のユーザ端末装置5bと、第1のユーザ6aが所持する第1の近距離無線通信ユニットとしての第1の杖1aに設けられたBLE通信モジュール2、或いは、第1のユーザ端末装置5aに設けられたBLE通信モジュール16と、第2のユーザ6bが所持する第2の近距離無線通信ユニットとしての第2の杖1bに設けられたBLE通信モジュール2、或いは、第2のユーザ端末装置5bに設けられたBLE通信モジュール16と、サーバ装置7とを有する距離計測システムを制御するプログラムにおいて、コンピュータを第1のユーザ端末装置5aの第1の位置情報と、第2のユーザ端末装置5bの第2の位置情報とがそれぞれインターネット通信モジュール20を介してサーバ装置7に送信されて前記第1の位置情報と前記第2の位置情報とから互いの距離を計測することができる測位手段として機能させる。測位手段は、各ユーザ端末装置5a,5bに設けられたGPS22とサーバ装置7に設けられた制御部32とにより構成される。 The first user terminal device 5a owned by the first user 6a, the second user terminal device 5b owned by the second user 6b, and the first short-range wireless communication unit owned by the first user 6a. BLE communication module 2 provided on the first cane 1a, or BLE communication module 16 provided on the first user terminal device 5a, and second short-range wireless communication carried by the second user 6b. In a program for controlling a distance measuring system having the BLE communication module 2 provided on the second cane 1b as a unit or the BLE communication module 16 provided on the second user terminal device 5b and the server device 7. , The computer transmits the first position information of the first user terminal device 5a and the second position information of the second user terminal device 5b to the server device 7 via the Internet communication module 20, respectively. It is made to function as a positioning means capable of measuring the mutual distance from the first position information and the second position information. The positioning means is composed of the GPS 22 provided in each user terminal device 5a, 5b and the control unit 32 provided in the server device 7.

<データベース>
制御部32には、データベース27が接続されている。データベース27は、杖1a,1bを利用するユーザ6a,6bが所持するユーザ端末装置5a,5bのそれぞれのアカウント名や位置情報といった各種情報を記憶して管理する。
<Database>
The database 27 is connected to the control unit 32. The database 27 stores and manages various information such as account names and position information of the user terminal devices 5a and 5b possessed by the users 6a and 6b who use the canes 1a and 1b.

<カウンタ>
制御部32には、計数手段としてのカウンタ4が接続されている。
<Counter>
The control unit 32 is connected to the counter 4 as a counting unit.

<メモリ>
制御部32には、記憶手段としてのメモリ33が接続されている。
<Memory>
A memory 33 as a storage unit is connected to the control unit 32.

<時計>
制御部32には、時刻測定手段としての時計3が接続されている。
<Clock>
A clock 3 as a time measuring means is connected to the control unit 32.

次に、図5〜図12を用いて、第1のユーザ6aが所持する第1の杖1aと、第1のユーザ端末装置5aと、第2のユーザ6bが所持する第2の杖1bと、第2のユーザ端末装置5bと、サーバ装置7と、データベース27との間で通信情報を送信する機能を説明する。 Next, with reference to FIGS. 5 to 12, a first cane 1a carried by the first user 6a, a first user terminal device 5a, and a second cane 1b carried by the second user 6b. , A function of transmitting communication information among the second user terminal device 5b, the server device 7, and the database 27 will be described.

図5のステップS1,S11において、杖1a,1bの制御部8は、BLE通信モジュール2を介してアドバタイズを開始する。アドバタイズにおいて、機器(ペリフェラルまたはブロードキャスタ)は、定期的にパケットを配信する。ペリフェラルによるアドバタイズの場合は、機器の発見と相互接続を目的とし、複数のセントラルに対して接続可能なアドバタイジングパケットを配信する。ブロードキャスタによるアドバタイズの場合は、定期的なデータの配信や互いの距離を計測することを目的とし、複数のオブザーバに対して接続不可なアドバタイジングパケットを配信する。セントラルとは、主に中心機器であり、ペリフェラルに対してデータを受信する。オブザーバとは、ブロードキャスタから定期的にデータを受信する機器である。 In steps S1 and S11 of FIG. 5, the control units 8 of the canes 1a and 1b start advertising through the BLE communication module 2. In advertising, the device (peripheral or broadcaster) periodically delivers packets. In the case of advertising by peripherals, advertising packets that can be connected to multiple central points are distributed for the purpose of device discovery and interconnection. In the case of advertising using broadcasters, advertising packets that cannot be connected to multiple observers are distributed for the purpose of periodically distributing data and measuring the mutual distance. The central is mainly a central device and receives data from peripherals. An observer is a device that regularly receives data from a broadcaster.

次に、ステップS2,S12において、ユーザ端末装置5a,5bの制御部15は、杖1a,1bのBLE通信モジュール2から送信されるアドバタイジングパケットを受信するためにBLE通信モジュール16を介してスキャンを開始する。ここで、アドバタイジングパケットとは、アドバタイズにおいて、ペリフェラルまたはブロードキャスタから送信される通信パケットであり、パケットには接続可能または接続不可であることを示す領域が含まれている。パケットの受信側(セントラルまたはオブザーバ)は、この領域を参照することで、ペリフェラルによるアドバタイズか、もしくはブロードキャスタによるアドバタイズか、を検出することが出来る。ブロードキャスタによるアドバタイズの場合、アドバタイジングパケットに所定のサイズのデータを含めることができ、オブザーバはこのパケットからデータを読み取ることが出来る。 Next, in steps S2 and S12, the control unit 15 of the user terminal devices 5a and 5b scans via the BLE communication module 16 to receive the advertising packet transmitted from the BLE communication module 2 of the canes 1a and 1b. Start. Here, the advertising packet is a communication packet transmitted from the peripheral or broadcaster in the advertisement, and the packet includes an area indicating that connection is possible or not. The packet receiving side (central or observer) can detect whether the advertisement is by the peripheral or the broadcaster by referring to this area. In the case of a broadcaster advertisement, the advertising packet can include data of a predetermined size, and the observer can read the data from this packet.

次に、ステップS3,S13において、杖1a,1bの制御部8は、ユーザ端末装置5a,5bとのコネクションを生成するために接続可能なアドバタイジングパケットをBLE通信モジュール2を介して送信する。次に、ステップS4,S14において、ユーザ端末装置5a,5bの制御部15は、BLE通信モジュール16を介して杖1a,1bのBLE通信モジュール2から送信されたアドバタイジングパケットを受信する。 Next, in steps S3 and S13, the control unit 8 of the canes 1a and 1b transmits an connectable advertising packet through the BLE communication module 2 to generate a connection with the user terminal devices 5a and 5b. Next, in steps S4 and S14, the control unit 15 of the user terminal devices 5a and 5b receives the advertising packet transmitted from the BLE communication module 2 of the canes 1a and 1b via the BLE communication module 16.

次に、ステップS5,S15において、ユーザ端末装置5a,5bの制御部15は、杖1a,1bの制御部8に接続要求を行う。次に、ステップS6,S16において、杖1a,1bの制御部8は、ユーザ端末装置5a,5bとの接続を確立させる。次に、ステップS7,S17において、杖1a,1bの制御部8は、アドバタイズを終了する。アドバタイズを終了した時刻からタイマ35により経過時間を測定する。 Next, in steps S5 and S15, the control unit 15 of the user terminal devices 5a and 5b makes a connection request to the control unit 8 of the canes 1a and 1b. Next, in steps S6 and S16, the control unit 8 of the canes 1a and 1b establishes a connection with the user terminal devices 5a and 5b. Next, in steps S7 and S17, the control unit 8 of the canes 1a and 1b ends the advertisement. The timer 35 measures the elapsed time from the time when the advertisement is ended.

次に、ステップS18において、タイマ35により測定された経過時間が予め設定された時間間隔を経過すると、ステップS19に進む。ステップS19において、杖1aの制御部8は、BLE通信モジュール2を介して杖1aのID情報をユーザ端末装置5aへ送信する。 Next, in step S18, when the elapsed time measured by the timer 35 has passed the preset time interval, the process proceeds to step S19. In step S19, the control unit 8 of the cane 1a transmits the ID information of the cane 1a to the user terminal device 5a via the BLE communication module 2.

次に、ステップS20において、ユーザ端末装置5aの制御部15は、BLE通信モジュール16を介して、杖1aのBLE通信モジュール2から送信された杖1aのID情報を受け取る。その後、ユーザ端末装置5aの制御部15がGPS22を使用して、ユーザ端末装置5aの現在位置である緯度と経度からなる基準点座標を得る。 Next, in step S20, the control unit 15 of the user terminal device 5a receives the ID information of the cane 1a transmitted from the BLE communication module 2 of the cane 1a via the BLE communication module 16. After that, the control unit 15 of the user terminal device 5a uses the GPS 22 to obtain the reference point coordinates including the latitude and longitude, which is the current position of the user terminal device 5a.

次に、ステップS21において、ユーザ端末装置5aの制御部15は、インターネット通信モジュール20を介してユーザ端末装置5aの送信元アドレスと、ユーザ端末装置5aの現在位置である緯度と経度からなる基準点座標とをサーバ装置7に送信する。 Next, in step S21, the control unit 15 of the user terminal device 5a controls the transmission source address of the user terminal device 5a via the Internet communication module 20 and a reference point including the latitude and longitude of the current position of the user terminal device 5a. And the coordinates are transmitted to the server device 7.

次に、ステップS22において、サーバ装置7の制御部32は、時計3により現在日時を取得する。また、サーバ装置7の制御部32は、ユーザ端末装置5aから送信された送信元アドレスと、緯度と経度からなる基準点座標とを取得する。また、制御部32は、ユーザ端末装置5aから取得した送信元アドレスを基に、データベース27に記憶されていたユーザ端末装置5aの位置情報(緯度と経度と最終更新日時)を、緯度と経度からなる基準点座標と現在日時とを用いて更新する。 Next, in step S22, the control unit 32 of the server device 7 acquires the current date and time by the clock 3. In addition, the control unit 32 of the server device 7 acquires the transmission source address transmitted from the user terminal device 5a and the reference point coordinates including latitude and longitude. Further, the control unit 32 determines the position information (latitude and longitude and the last update date and time) of the user terminal device 5a stored in the database 27 from the latitude and longitude based on the transmission source address acquired from the user terminal device 5a. Is updated using the reference point coordinates and the current date and time.

次に、ステップS23において、サーバ装置7の制御部32は、データベース27を参照して、位置情報を検索する。このとき、サーバ装置7の制御部32は、ステップS21で取得したユーザ端末装置5aの送信元アドレスを除き、ユーザ端末装置5bを含む他の全てのユーザ端末装置5の送信先アドレスと、緯度と経度からなる指定点座標と、最終更新日時とを得る。 Next, in step S23, the control unit 32 of the server device 7 refers to the database 27 to search for position information. At this time, the control unit 32 of the server device 7 excludes the source address of the user terminal device 5a acquired in step S21 and the destination addresses of all other user terminal devices 5 including the user terminal device 5b and the latitude. The designated point coordinates consisting of longitude and the last update date and time are obtained.

ここで、サーバ装置7の制御部32は、近接度が更新されたレコード数を「0」に初期化し、ステップS23で取得した第1のユーザ端末装置5a以外の全ての位置情報(送信先アドレスと指定点座標と最終更新日時)のそれぞれについて、ステップS21で取得した第1のユーザ端末装置5aの送信元アドレスと基準点座標と現在日時とに基づいて、ステップS24〜ステップS31の処理を繰り返す。 Here, the control unit 32 of the server device 7 initializes the number of records whose proximity is updated to “0”, and acquires all position information (transmission destination address) other than the first user terminal device 5a acquired in step S23. And designated point coordinates and last update date and time), the processes of steps S24 to S31 are repeated based on the transmission source address of the first user terminal device 5a, the reference point coordinates, and the current date and time acquired in step S21. ..

次に、ステップS24において、制御部32は、データベース27を参照して抽出した最終更新日時がステップS22で取得したユーザ端末装置5aから送信された現在日時と比較して、所定の時間間隔以上が経過しているか否かを判定する。ステップS24において、制御部32は、ステップS23で取得したユーザ端末装置5bを含む他のユーザ端末装置5の最終更新日時と、ステップS22で時計3により取得した現在日時との差が所定の時間間隔を超えている場合には、ステップS25に進む。このとき、制御部32は、データベース27を参照して抽出した対象レコードを古い情報と判断して、ユーザ端末装置5aと、ユーザ端末装置5bを含む他のユーザ端末装置5との近接度を「圏外」とする。 Next, in step S24, the control unit 32 compares the last update date and time extracted by referring to the database 27 with the current date and time transmitted from the user terminal device 5a acquired in step S22, and determines that the predetermined time interval or more. Determine whether or not it has elapsed. In step S24, the control unit 32 determines that the difference between the last update date and time of the other user terminal device 5 including the user terminal device 5b acquired in step S23 and the current date and time acquired by the clock 3 in step S22 is a predetermined time interval. If it exceeds, the process proceeds to step S25. At this time, the control unit 32 determines that the target record extracted by referring to the database 27 is old information, and determines the proximity between the user terminal device 5a and other user terminal devices 5 including the user terminal device 5b. Out of range".

ステップS24において、制御部32は、ステップS23で取得したユーザ端末装置5bを含む他のユーザ端末装置5の最終更新日時と、ステップS22で時計3により取得した現在日時との差が所定の時間間隔以内の場合には、ステップS26に進む。このとき、制御部32は、ステップS21で取得したユーザ端末装置5aの送信元アドレスと、データベース27から抽出したユーザ端末装置5bを含む他のユーザ端末装置5の送信先アドレスとで、2人1組のペアを作成し、送信元アドレスにより特定される緯度と経度からなる基準点座標と、送信先アドレスにより特定される緯度と経度からなる指定点座標とを基に、ユーザ端末装置5aと、ユーザ端末装置5bを含む他のユーザ端末装置5との2点間の距離Lを計算する。 In step S24, the control unit 32 determines that the difference between the last update date and time of the other user terminal device 5 including the user terminal device 5b acquired in step S23 and the current date and time acquired by the clock 3 in step S22 is a predetermined time interval. If it is within the range, the process proceeds to step S26. At this time, the control unit 32 uses the transmission source address of the user terminal device 5a acquired in step S21 and the transmission destination address of the other user terminal device 5 including the user terminal device 5b extracted from the database 27, and two persons 1 A pair of pairs is created, and based on the reference point coordinates composed of the latitude and longitude specified by the source address and the specified point coordinates composed of the latitude and longitude specified by the destination address, the user terminal device 5a, A distance L between two points with another user terminal device 5 including the user terminal device 5b is calculated.

<2点間の距離計算>
ユーザ端末装置5aと、ユーザ端末装置5bを含む他のユーザ端末装置5との2点間の距離Lの計算は、公知のヒュベニの公式を使用して求めることができる。ヒュベニの公式とは、地球が楕円体であることを考慮して、地球表面上の2点間の距離Lを測定する際に用いられる公式である。ここで、ユーザ端末装置5aの現在位置の緯度をy1(ラジアン)、ユーザ端末装置5bを含む他のユーザ端末装置5の現在位置の緯度をy2(ラジアン)とすれば、2点間の緯度の差Dy(ラジアン)は、以下の数1式で示される。
<Calculation of distance between two points>
The calculation of the distance L between the two points of the user terminal device 5a and the other user terminal devices 5 including the user terminal device 5b can be obtained by using the well-known Hubeny's formula. The Hubeny's formula is a formula used when measuring the distance L between two points on the surface of the earth in consideration of the fact that the earth is an ellipsoid. Here, if the latitude of the current position of the user terminal device 5a is y1 (radian) and the latitude of the current position of the other user terminal devices 5 including the user terminal device 5b is y2 (radian), the latitude between the two points The difference Dy (radian) is expressed by the following mathematical formula 1.

[数1]
Dy=y1−y2
[Equation 1]
Dy=y1-y2

また、ユーザ端末装置5aの現在位置の経度をx1(ラジアン)、ユーザ端末装置5bを含む他のユーザ端末装置5の現在位置の経度をx2(ラジアン)とすれば、2点間の経度の差Dx(ラジアン)は、以下の数2式で示される。 If the longitude of the current position of the user terminal device 5a is x1 (radian) and the longitude of the current position of the other user terminal device 5 including the user terminal device 5b is x2 (radian), the difference in longitude between the two points. Dx (radian) is expressed by the following mathematical expression 2.

[数2]
Dx=x1−x2
[Equation 2]
Dx=x1-x2

また、2点間の緯度の平均Pyは、ユーザ端末装置5aの現在位置の緯度y1(ラジアン)と、ユーザ端末装置5bを含む他のユーザ端末装置5の現在位置の緯度y2(ラジアン)とを用いて以下の数3式で示される。 Also, the average Py of the latitudes between the two points is the latitude y1 (radian) of the current position of the user terminal device 5a and the latitude y2 (radian) of the current position of the other user terminal devices 5 including the user terminal device 5b. The following equation 3 is used.

[数3]
Py=(y1+y2)/2
[Equation 3]
Py=(y1+y2)/2

また、赤道半径からなる長半径αと、極半径からなる短半径βとからなる地球の形を近似するのに回転楕円体が用いられる。長半径αと、短半径βとを用いて、以下の数4式により離心率Eを求めることができる。ここで、離心率Eは、焦点距離と赤道直径である長径(2×α)との比である。焦点距離は、楕円における、2つの定点間の距離である。楕円とは、2つの定点からの距離の和が等しい点の集合である。 A spheroid is used to approximate the shape of the earth consisting of a major radius α consisting of the equatorial radius and a minor radius β consisting of the polar radius. Using the major radius α and the minor radius β, the eccentricity E can be obtained by the following formula 4. Here, the eccentricity E is the ratio of the focal length to the major axis (2×α) which is the equator diameter. The focal length is the distance between two fixed points on the ellipse. An ellipse is a set of points with the same sum of distances from two fixed points.

[数4]
E=((α−β)/α1/2
[Equation 4]
E=((α 2 −β 2 )/α 2 ) 1/2

ここで、子午線曲率半径Mを求める際の分母W、卯酉線曲率半径Nを求める際の分母Wに使用されるWは、離心率Eと、2点間の緯度の平均Pyとを用いて、以下の数5式により求めることができる。尚、子午線(しごせん;Meridian)とは、地球の北極と南極を結ぶ線で経度を表す線(経線)である。卯酉線(ぼうゆうせん;Prime vertical)とは、子午線に対して直交する線(緯線)である。 Here, W used for the denominator W 3 when finding the meridian curvature radius M and the denominator W when finding the rooster line curvature radius N uses the eccentricity E and the average Py of the latitude between the two points. Then, it can be obtained by the following equation 5. The meridian is the line connecting the north and south poles of the earth and representing the longitude (meridian). The rooster line (Bouyuusen; Prime vertical) is a line orthogonal to the meridian (latitude).

[数5]
W=(1−E×(sinPy)1/2
[Equation 5]
W=(1-E 2 ×(sinPy) 2 ) 1/2

また、子午線曲率半径Mは、数5式のWと、長半径αと、離心率Eとを用いて、以下の数6式により求めることができる。 Further, the meridian curvature radius M can be obtained by the following formula 6 using W of the formula 5, the major radius α, and the eccentricity E.

[数6]
M=α(1−E)/W
[Equation 6]
M=α(1-E 2 )/W 3

また、卯酉線曲率半径Nは、数5式のWと、長半径αとを用いて、以下の数7式により求めることができる。 Further, the radius of curvature N of the rooster can be obtained by the following formula 7 using W of the formula 5 and the major radius α.

[数7]
N=α/W
[Equation 7]
N=α/W

また、ユーザ端末装置5aと、ユーザ端末装置5bを含む他のユーザ端末装置5との2点間の距離Lは、2点間の経度の差Dxと、2点間の緯度の差Dyと、子午線曲率半径Mと、卯酉線曲率半径Nと、2点間の緯度の平均Pyと、を用いて、以下の数8式により求めることができる。 Further, the distance L between two points between the user terminal device 5a and another user terminal device 5 including the user terminal device 5b is a longitude difference Dx between the two points and a latitude difference Dy between the two points. Using the meridian radius of curvature M, the rooster line radius of curvature N, and the average Py of the latitude between the two points, it can be obtained by the following formula 8.

[数8]
L={(Dy×M)+(Dx×N×cosPy)1/2
[Equation 8]
L={(Dy×M) 2 +(Dx×N×cosPy) 2 } 1/2

尚、距離計算のプログラムにおいて、長半径αを6378137mとし、離心率Eを0.08181919084296535と定めて計算することが好適である。 In the distance calculation program, it is preferable to set the major radius α to 6378137 m and the eccentricity E to 0.081819190842965353 for calculation.

サーバ装置7の制御部32は、上記の数1式〜数8式により計算したユーザ端末装置5aと、ユーザ端末装置5bを含む他のユーザ端末装置5との2点間の距離Lに基づいて、ユーザ端末装置5aと、ユーザ端末装置5bを含む他のユーザ端末装置5との近接度の判定を行う。制御部32による近接度の判定は、ユーザ端末装置5aの送信元アドレスにより特定される緯度と経度からなる基準点座標と、ユーザ端末装置5bを含む他のユーザ端末装置5の送信先アドレスにより特定される緯度と経度からなる指定点座標との2点間の距離Lが150mを超える場合は「圏外」と判定する。また、2点間の距離Lが150m以下で、50m以上の場合は「遠い」と判定する。また、2点間の距離Lが50m未満の場合は「近い」と判定する。制御部32により判定した結果を近接度とする。 The control unit 32 of the server device 7 is based on the distance L between the two points of the user terminal device 5a and the other user terminal device 5 including the user terminal device 5b, which are calculated by the above formulas 1 to 8. , The proximity of the user terminal device 5a and other user terminal devices 5 including the user terminal device 5b is determined. The determination of the proximity degree by the control unit 32 is specified by the reference point coordinates including the latitude and the longitude specified by the source address of the user terminal device 5a and the destination address of another user terminal device 5 including the user terminal device 5b. When the distance L between the two points of the designated point coordinates consisting of latitude and longitude exceeds 150 m, it is determined to be “out of range”. If the distance L between the two points is 150 m or less and 50 m or more, it is determined to be “far”. If the distance L between the two points is less than 50 m, it is determined to be "near". The result determined by the control unit 32 is the proximity.

次に、図7に示すステップS27に進んで、サーバ装置7の制御部32は、データベース27を参照してユーザ端末装置5aの送信元アドレスと、ユーザ端末装置5bを含む他のユーザ端末装置5の送信先アドレスを基に、データベース27からユーザ端末装置5aと、ユーザ端末装置5bを含む他のユーザ端末装置5との近接度を抽出する。 Next, proceeding to step S27 shown in FIG. 7, the control unit 32 of the server device 7 refers to the database 27 and the transmission source address of the user terminal device 5a and other user terminal devices 5 including the user terminal device 5b. Based on the transmission destination address of the user terminal device 5a, the degree of proximity between the user terminal device 5a and another user terminal device 5 including the user terminal device 5b is extracted from the database 27.

そして、ステップS28に進んで、ステップS27で抽出した近接度がステップS25またはステップS26で決定した近接度と同じか否かを判定する。ステップS28において、データベース27から抽出した近接度がステップS25またはステップS26で決定した近接度と同じである場合には、ステップS32に進み、制御部32は、近接度の更新は行わずに次のレコードに処理を進めて、ステップS23で取得したレコード数に到達したか否かを判定する。ステップS28において、データベース27から抽出した近接度がステップS25またはステップS26で決定した近接度と異なる場合には、ステップS29に進んで、制御部32は、データベース27に記憶された近接度の更新を行う。 Then, the process proceeds to step S28, and it is determined whether the proximity extracted in step S27 is the same as the proximity determined in step S25 or step S26. In step S28, when the proximity extracted from the database 27 is the same as the proximity determined in step S25 or step S26, the process proceeds to step S32, and the control unit 32 does not update the proximity and proceeds to the next step. The process proceeds to the record, and it is determined whether or not the number of records acquired in step S23 is reached. In step S28, when the proximity extracted from the database 27 is different from the proximity determined in step S25 or step S26, the process proceeds to step S29, and the control unit 32 updates the proximity stored in the database 27. To do.

ステップS25またはステップS26で取得した近接度を更新する際の条件は、ステップS25またはステップS26で取得した近接度が、ステップS27でデータベース27から抽出した近接度と異なり、かつ、ステップS22で取得したユーザ端末装置5aの送信元アドレスがステップS27でデータベース27から抽出したユーザ端末装置5aの送信元アドレスと同じで、かつ、ステップS23で取得したユーザ端末装置5bを含む他のユーザ端末装置5の送信先アドレスがステップS27でデータベース27から抽出したユーザ端末装置5bを含む他のユーザ端末装置5の送信先アドレスと同じである場合である。 The condition for updating the degree of proximity acquired in step S25 or step S26 is that the degree of proximity acquired in step S25 or step S26 is different from the degree of proximity extracted from the database 27 in step S27, and is acquired in step S22. The transmission source address of the user terminal device 5a is the same as the transmission source address of the user terminal device 5a extracted from the database 27 in step S27, and transmission of another user terminal device 5 including the user terminal device 5b acquired in step S23 This is the case where the destination address is the same as the destination address of another user terminal device 5 including the user terminal device 5b extracted from the database 27 in step S27.

次に、ステップS30に進んで、サーバ装置7の制御部32は、データベース27を参照してユーザ端末装置5aの送信元アドレスを基にデータベース27からユーザ端末装置5aのアカウント名を取得する。そして、サーバ装置7の制御部32は、ステップS29で更新したユーザ端末装置5bを含む他のユーザ端末装置5の送信先アドレスに対して、メッセージ表示用にユーザ端末装置5aのアカウント名と近接度とステップS22で取得した現在日時を送信する。 Next, in step S30, the control unit 32 of the server device 7 refers to the database 27 and acquires the account name of the user terminal device 5a from the database 27 based on the source address of the user terminal device 5a. Then, the control unit 32 of the server device 7 sets the account name and proximity of the user terminal device 5a for displaying a message to the destination address of the other user terminal device 5 including the user terminal device 5b updated in step S29. And the current date and time acquired in step S22 are transmitted.

次に、ステップS31に進んで、ユーザ端末装置5bを含む他のユーザ端末装置5(以下、「ユーザ端末装置5b」を代表して説明する)の制御部15は、サーバ装置7から送信されたユーザ端末装置5aのアカウント名と近接度と現在日時とをインターネット通信モジュール20を介して受信した後、メッセージを生成して出力する。 Next, proceeding to step S31, the control unit 15 of another user terminal device 5 including the user terminal device 5b (hereinafter, described as representative of the “user terminal device 5b”) is transmitted from the server device 7. After receiving the account name, proximity, and current date and time of the user terminal device 5a via the Internet communication module 20, a message is generated and output.

ステップS24〜S31は、繰り返し処理を行う。ステップS30からステップS32に進み、ステップS23で取得したレコード数に到達していない場合は、ステップS24に戻る。ステップS32において、ステップS23で取得したレコード数に到達した場合にはステップS33に進み、サーバ装置7の制御部32は、ステップS24〜S31の繰り返し処理で近接度が更新されたレコード数が「0」よりも大きいか否かを判定する。 Steps S24 to S31 perform repetitive processing. The process proceeds from step S30 to step S32, and if the number of records acquired in step S23 has not been reached, the process returns to step S24. In step S32, when the number of records acquired in step S23 is reached, the process proceeds to step S33, and the control unit 32 of the server device 7 determines that the number of records whose proximity has been updated by the repeating processing of steps S24 to S31 is “0”. Is larger than ".

ステップS33において、ステップS24〜S31の繰り返し処理で近接度が更新されたレコード数が「0」よりも大きい場合には、ステップS34に進んで、サーバ装置7の制御部32は、ユーザ端末装置5aの送信元アドレスを基にデータベース27を参照して近接度を集約し、ユーザ端末装置5bを含む他のユーザ端末装置5のなかで一番高い近接度を判定する。そして、一番高い近接度を近接度ステータスとし、近接度ステータスをユーザ端末装置5aに送信する。 In step S33, when the number of records whose proximity has been updated in the iterative process of steps S24 to S31 is larger than “0”, the process proceeds to step S34, and the control unit 32 of the server device 7 causes the user terminal device 5a to operate. Based on the transmission source address of the above, the database 27 is referred to, the proximity is aggregated, and the highest proximity is determined among the other user terminal devices 5 including the user terminal device 5b. Then, the highest proximity is set as the proximity status, and the proximity status is transmitted to the user terminal device 5a.

ステップS33において、ステップS24〜S31の繰り返し処理で近接度が更新されたレコード数が「0」のときには、処理を終了する。次に、ステップS35に進んで、ユーザ端末装置5aの制御部15は、インターネット通信モジュール20を介してサーバ装置7から送信された近接度ステータスを受信し、ユーザ端末装置5aの制御部15は、BLE通信モジュール16を介して杖1aの近接度ステータスの読み取りを行う。次に、ステップS36に進んで、杖1aの制御部8は、BLE通信モジュール2を介して杖1aの近接度ステータスをユーザ端末装置5aへ送信する。 In step S33, when the number of records whose proximity has been updated by the repeating processing of steps S24 to S31 is "0", the processing is ended. Next, proceeding to step S35, the control unit 15 of the user terminal device 5a receives the proximity status transmitted from the server device 7 via the Internet communication module 20, and the control unit 15 of the user terminal device 5a The proximity status of the cane 1a is read via the BLE communication module 16. Next, in step S36, the control unit 8 of the cane 1a transmits the proximity status of the cane 1a to the user terminal device 5a via the BLE communication module 2.

次に、ステップS37に進んで、ユーザ端末装置5aの制御部15は、杖1aとユーザ端末5aの近接度ステータスが同じか否かを判定する。ステップS37において、杖1aから取得した近接度ステータスとサーバ装置7から取得した近接度ステータスとが異なる場合には、ステップS38に進んで、ユーザ端末装置5a,5bの制御部15は、サーバ装置7から取得した近接度ステータスを基に、図13に示す振動、発光信号データを作成し、BLE通信モジュール16を介して杖1a,1bに送信する。 Next, proceeding to step S37, the control unit 15 of the user terminal device 5a determines whether or not the proximity statuses of the cane 1a and the user terminal 5a are the same. In step S37, if the proximity status acquired from the cane 1a and the proximity status acquired from the server device 7 are different, the process proceeds to step S38, and the control unit 15 of the user terminal devices 5a and 5b causes the server device 7 to operate. The vibration and light emission signal data shown in FIG. 13 is created on the basis of the proximity status acquired from the, and transmitted to the canes 1a and 1b via the BLE communication module 16.

図13は、振動パターンと発光パターンの信号データの一例を示す図である。図13の信号データコードが「01」の場合には、近接度(近接度ステータス)が「圏外」に変更された際の振動パターンと発光パターンを示す。図13の信号データコードが「02」の場合には、近接度(近接度ステータス)が「遠い」に変更された際の振動パターンと発光パターンを示す。 FIG. 13 is a diagram showing an example of signal data of a vibration pattern and a light emission pattern. When the signal data code in FIG. 13 is “01”, the vibration pattern and the light emission pattern when the proximity (proximity status) is changed to “out of range” are shown. When the signal data code in FIG. 13 is “02”, the vibration pattern and the light emission pattern when the proximity (proximity status) is changed to “far” are shown.

図13の信号データコードが「03」の場合には、近接度(近接度ステータス)が「近い」に変更された際の振動パターンと発光パターンを示す。図13の信号データコードが「04」の場合には、近接度(近接度ステータス)が「非常に近い」の場合の振動パターンと発光パターンを示す。 When the signal data code in FIG. 13 is “03”, the vibration pattern and the light emission pattern when the proximity (proximity status) is changed to “close” are shown. When the signal data code in FIG. 13 is “04”, the vibration pattern and the light emission pattern when the proximity (proximity status) is “very close” are shown.

ステップS37において、杖1aとユーザ端末5aの近接度ステータスが同じ場合には、処理を終了する。ステップS38の次に、ステップS39に進み、杖1a,1bの制御部8は、BLE通信モジュール16を介して図13に示す振動、発光信号データを取得し、取得したデータをメモリ28に書き込む。 In step S37, if the proximity statuses of the cane 1a and the user terminal 5a are the same, the process ends. After step S38, the process proceeds to step S39, where the control unit 8 of the canes 1a and 1b acquires the vibration and light emission signal data shown in FIG. 13 via the BLE communication module 16 and writes the acquired data in the memory 28.

次に、ステップS40に進み、杖1a,1bの制御部8は、メモリ28に書き込まれた振動信号データを基にバイブレータ24により杖1a,1bを振動させる。次に、ステップS41に進み、杖1a,1bの制御部8は、メモリ28に書き込まれた発光信号データを基に杖1a,1bの下部の外周面に設けられた発光装置11を発光させる。その後、処理を終了する。 Next, in step S40, the control unit 8 of the canes 1a and 1b causes the vibrator 24 to vibrate the canes 1a and 1b based on the vibration signal data written in the memory 28. Next, in step S41, the control unit 8 of the canes 1a and 1b causes the light emitting device 11 provided on the outer peripheral surface of the lower portions of the canes 1a and 1b to emit light based on the light emission signal data written in the memory 28. Then, the process ends.

ステップS38の次は、ステップS42にも進み、ユーザ端末装置5aの制御部15は、近接度ステータスをBLE通信モジュール16を介して杖1aへ送信する。次に、ステップS43に進み、杖1aの制御部8は、BLE通信モジュール2を介して取得した近接度ステータスをメモリ31に書き込む。次に、ステップS44に進み、杖1aの制御部8は、メモリ31に格納された近接度ステータスによりタイマ35の時間間隔を変更する。 After step S38, the process also proceeds to step S42, and the control unit 15 of the user terminal device 5a transmits the proximity status to the walking stick 1a via the BLE communication module 16. Next, in step S43, the control unit 8 of the walking stick 1a writes the proximity status acquired via the BLE communication module 2 in the memory 31. Next, proceeding to step S44, the control unit 8 of the cane 1a changes the time interval of the timer 35 according to the proximity status stored in the memory 31.

次に、ステップS45に進み、杖1aの制御部8は、メモリ31に格納された近接度ステータスが「近い」か否かを判定する。ステップS45において、メモリ31に格納された近接度ステータスが「近い」場合には、ステップS46に進んで、BLE通信モジュール2によるユーザ端末装置5aと、ユーザ端末装置5bを含む他のユーザ端末装置5との2点間の距離Lの測定に切り替えるために杖1aの制御部8がユーザ端末装置5aへ切断要求を送信する。 Next, proceeding to step S45, the control unit 8 of the cane 1a determines whether or not the proximity status stored in the memory 31 is "close". In step S45, when the proximity status stored in the memory 31 is “close”, the process proceeds to step S46, and the user terminal device 5a by the BLE communication module 2 and other user terminal devices 5 including the user terminal device 5b. The control unit 8 of the cane 1a transmits a disconnection request to the user terminal device 5a in order to switch to the measurement of the distance L between the two points.

ステップS45において、メモリ31に格納された近接度ステータスが「近い」でない場合には、処理を終了する。次に、ステップS47に進み、ユーザ端末装置5aの制御部15は、杖1aとのコネクションを切断する。 In step S45, if the proximity status stored in the memory 31 is not "close", the process ends. Next, in step S47, the control unit 15 of the user terminal device 5a disconnects the connection with the walking stick 1a.

次に、ステップS48に進んで、ユーザ端末装置5aの制御部15は、杖1aのBLE通信モジュール2から送信されるアドバタイジングパケットを受信するために再スキャンを開始する。そして、ステップS49に進んで、ユーザ端末装置5aの制御部15は、BLE通信モジュール16を介して杖1aのBLE通信モジュール2から送信されたアドバタイジングパケットを受信する。その後、ステップS50に進んで、ユーザ端末装置5aの制御部15は、杖1aの制御部8に接続要求を行う。 Next, proceeding to step S48, the control unit 15 of the user terminal device 5a starts rescanning in order to receive the advertising packet transmitted from the BLE communication module 2 of the cane 1a. Then, proceeding to step S49, the control unit 15 of the user terminal device 5a receives the advertising packet transmitted from the BLE communication module 2 of the cane 1a via the BLE communication module 16. After that, the process proceeds to step S50, and the control unit 15 of the user terminal device 5a makes a connection request to the control unit 8 of the cane 1a.

次に、ステップS51に進んで、杖1aの制御部8は、ユーザ端末装置5aとの接続を確立させる。次に、ステップS52に進んで、杖1aの制御部8は、アドバタイズを終了する。ステップS46において、杖1aの制御部8がユーザ端末装置5aへ切断要求を送信した後、ステップS47で、ユーザ端末装置5aの制御部15は、杖1aとのコネクションを切断する。一方、杖1a側では、ステップS46からステップS61に進んで、杖1aの制御部8は、BLE通信モジュール2を介してアドバタイズを開始する。 Next, in step S51, the control unit 8 of the cane 1a establishes a connection with the user terminal device 5a. Next, in step S52, the control unit 8 of the cane 1a ends the advertisement. After the control unit 8 of the cane 1a transmits a disconnection request to the user terminal device 5a in step S46, the control unit 15 of the user terminal device 5a disconnects the connection with the cane 1a in step S47. On the other hand, on the cane 1a side, the process proceeds from step S46 to step S61, and the control unit 8 of the cane 1a starts the advertisement via the BLE communication module 2.

その後、ステップS62に進んで、杖1aの制御部8は、杖1aのBLE通信モジュール2と、ユーザ端末装置5bのBLE通信モジュール16との間の2点間の距離Lを測定するために接続不可なアドバタイジングパケットに杖1aのID情報を含めて送信する。 Then, in step S62, the control unit 8 of the cane 1a is connected to measure the distance L between two points between the BLE communication module 2 of the cane 1a and the BLE communication module 16 of the user terminal device 5b. The improper advertising packet including the ID information of the cane 1a is transmitted.

一方、ユーザ端末装置5bでは、図5のステップS15において、ユーザ端末装置5bの制御部15は、杖1bの制御部8に接続要求を行った後、ステップS71に進み、ユーザ端末装置5bの制御部15は、杖1bのBLE通信モジュール2から送信されるアドバタイジングパケットを受信するために再スキャンを開始する。 On the other hand, in the user terminal device 5b, in step S15 of FIG. 5, the control unit 15 of the user terminal device 5b sends a connection request to the control unit 8 of the cane 1b, and then proceeds to step S71 to control the user terminal device 5b. The unit 15 starts rescanning to receive the advertising packet transmitted from the BLE communication module 2 of the cane 1b.

その後、ステップS72に進んで、ユーザ端末装置5bの制御部15は、杖1aから送信されたアドバタイジングパケットを受信し、アドバタイジングパケットから杖1aのID情報と、シグナル強度基準値Kとを取得する。その際、アドバタイジングパケットから受信信号強度Jも合わせて取得する。 After that, the process proceeds to step S72, and the control unit 15 of the user terminal device 5b receives the advertising packet transmitted from the wand 1a, and acquires the ID information of the wand 1a and the signal strength reference value K from the advertising packet. At that time, the received signal strength J is also acquired from the advertising packet.

その後、ステップS73に進んで、ユーザ端末装置5bの制御部15は、BLE通信モジュール16を介して杖1aのBLE通信モジュール2から取得したシグナル強度基準値Kから杖1aのBLE通信モジュール2と、ユーザ端末装置5bのBLE通信モジュール16との間の2点間の距離Lを算出する。 After that, the process proceeds to step S73, and the control unit 15 of the user terminal device 5b uses the signal intensity reference value K acquired from the BLE communication module 2 of the cane 1a via the BLE communication module 16 to the BLE communication module 2 of the cane 1a. The distance L between the two points with the BLE communication module 16 of the user terminal device 5b is calculated.

ここで、自由空間では受信信号強度Jは、距離の二乗に反比例して減衰する。また、ユーザ端末装置5bの制御部15は、BLE通信モジュール16を介して、デバイスが受信した電波の強さ(dBm)である受信信号強度Jと、所定の距離だけ離れた位置で計測された基準となる出力信号強度を示す既知の受信信号強度Jsとを取得することができ、受信信号強度Jの減衰率をn(定数)としたとき、障害物の無い理想空間では、「n=2.0」とした場合、以下の数9式を用いて2点間の距離Lを計算することができる。 Here, in free space, the received signal strength J attenuates in inverse proportion to the square of the distance. Further, the control unit 15 of the user terminal device 5b is measured via the BLE communication module 16 at a position separated from the received signal strength J, which is the strength (dBm) of the electric wave received by the device, by a predetermined distance. The known received signal strength Js indicating the reference output signal strength can be acquired, and when the attenuation rate of the received signal strength J is n (constant), "n=2" in an ideal space without obstacles. .0”, the distance L between the two points can be calculated using the following formula 9.

[数9]
J=Js−n×10×logL
L=10(Js−J)/20
[Equation 9]
J=Js-n×10×logL
L=10 (Js-J)/20

次に、ステップS74において、ユーザ端末装置5bの制御部15は、2点間の距離Lの近接度が「非常に近い」か否かを判定する。ステップS74において、近接度が「非常に近い」場合は、ステップS75に進んで、ユーザ端末装置5bの制御部15は、取得した近接度を基に、図13に示す振動、発光信号データを作成し、BLE通信モジュール16を介して杖1bに送信する。 Next, in step S74, the control unit 15 of the user terminal device 5b determines whether or not the proximity of the distance L between the two points is "very close". If the degree of proximity is “very close” in step S74, the process proceeds to step S75, and the control unit 15 of the user terminal device 5b creates the vibration and light emission signal data shown in FIG. 13 based on the obtained degree of proximity. Then, the data is transmitted to the cane 1b via the BLE communication module 16.

ステップS74において、近接度が「非常に近い」ではない場合は、ステップS71に戻り、ステップS71〜S75を繰り返す。ステップS75において、振動、発光信号データを杖1bに送信した後、ステップS76に進み、杖1bの制御部8は、BLE通信モジュール2を介して図13に示す振動、発光信号データを取得し、取得したデータをメモリ31に書き込む。 If the degree of proximity is not "very close" in step S74, the process returns to step S71 and steps S71 to S75 are repeated. In step S75, after transmitting the vibration and light emission signal data to the cane 1b, the process proceeds to step S76, and the control unit 8 of the cane 1b acquires the vibration and light emission signal data shown in FIG. The acquired data is written in the memory 31.

次に、ステップS77に進み、杖1bの制御部8は、メモリ31に書き込まれた振動信号データを基にバイブレータ10により杖1bを振動させる。次に、ステップS78に進み、杖1bの制御部8は、メモリ31に書き込まれた発光信号データを基に杖1bの下部の外周面に設けられた発光装置11を発光させる。 Next, in step S77, the control unit 8 of the cane 1b causes the vibrator 10 to vibrate the cane 1b based on the vibration signal data written in the memory 31. Next, in step S78, the control unit 8 of the cane 1b causes the light emitting device 11 provided on the lower outer peripheral surface of the cane 1b to emit light based on the light emission signal data written in the memory 31.

図11のステップS62の後は、図12のステップS81に進み、杖1aの制御部8は、アドバタイズを終了する。その後、ステップS82に進み、杖1aの制御部8は、BLE通信モジュール2を介してアドバタイズを開始する。次に、ステップS63に進み、杖1aの制御部8は、ユーザ端末装置5aとのコネクションを生成するために接続可能なアドバタイジングパケットをBLE通信モジュール2を介して送信する。その後、ステップS49に進む図12のステップS52の後は、ステップS43に戻り、ステップS43〜S52を繰り返す。 After step S62 in FIG. 11, the process proceeds to step S81 in FIG. 12, and the control unit 8 of the cane 1a ends the advertisement. Then, it progresses to step S82 and the control part 8 of the cane 1a starts an advertisement via the BLE communication module 2. Next, in step S63, the control unit 8 of the cane 1a transmits an connectable advertising packet to generate a connection with the user terminal device 5a via the BLE communication module 2. Then, after step S52 of FIG. 12 which proceeds to step S49, the process returns to step S43 and steps S43 to S52 are repeated.

次に、図14〜図25を用いて、杖1、ユーザ端末装置5、サーバ装置7の個々の動作について説明する。図14は、杖1a,1bの動作を示すフローチャートである。図15は、図14のステップS1100内のペアリング処理動作を示すフローチャートである。第1のユーザ6aが所持する第1の杖1aの制御部8は、電源が投入されて起動すると、図14のステップS1001において、近接度ステータスの値を初期化し、ステップS1002において、所定の処理の周期時間を制御するための値(経過時間の閾値)を初期化する。 Next, the individual operations of the cane 1, the user terminal device 5, and the server device 7 will be described with reference to FIGS. 14 to 25. FIG. 14 is a flowchart showing the operation of the canes 1a and 1b. FIG. 15 is a flowchart showing the pairing processing operation in step S1100 of FIG. The control unit 8 of the first cane 1a carried by the first user 6a initializes the value of the proximity status in step S1001 of FIG. 14 when the power is turned on and is activated, and then executes a predetermined process in step S1002. A value (threshold of elapsed time) for controlling the cycle time of is initialized.

第1の杖1aの制御部8は、ステップS1100において、ペアリング処理を開始する。ペアリング処理において、図15に示すステップS1101では、第1の杖1aの制御部8は、BLE通信モジュール2を制御し、近距離無線通信におけるペリフェラル(主に周辺機器であり、セントラルに対してデータを発信する側)として作動する。 The control unit 8 of the first cane 1a starts the pairing process in step S1100. In the pairing process, in step S1101 shown in FIG. 15, the control unit 8 of the first walking stick 1a controls the BLE communication module 2 to perform a peripheral (mainly a peripheral device, which is a peripheral device) in short-range wireless communication. It acts as the sender of data).

また、図15のステップS1102において、第1の杖1aの制御部8は、BLE通信モジュール2を制御し、近距離無線通信におけるアドバタイズを開始させ、接続可能なアドバタイジングパケットをブロードキャストする。ここで、ブロードキャストとは、複数の情報通信端末に向けて送信することである。ここで、アドバタイジングパケットは、ペアリングによる1対1のデータ送受信を目的とした接続可能なアドバタイジングパケットと、ビーコン機能を例とする定期的なデータ送信のみを目的とした接続不可なアドバタイジングパケットとを含み得る。 Further, in step S1102 in FIG. 15, the control unit 8 of the first walking stick 1a controls the BLE communication module 2 to start the advertisement in the short-range wireless communication and broadcast the connectable advertising packet. Here, the broadcast is transmission to a plurality of information communication terminals. Here, the advertising packet includes a connectable advertising packet for the purpose of one-to-one data transmission/reception by pairing, and an unconnectable advertising packet for the purpose of only periodic data transmission such as a beacon function. May be included.

一方、第1のユーザ6aが所持する第1のユーザ端末装置5aの制御部15は、起動すると、近距離無線通信におけるセントラル(主に中心機器であり、データを受信する側)で、かつ、オブザーバ(定期的にデータを受信する側)として作動し、周辺のペリフェラルの検索(スキャン)を開始する。 On the other hand, when the control unit 15 of the first user terminal device 5a possessed by the first user 6a is activated, it is a central unit (mainly a central device and a data receiving side) in short-range wireless communication, and It operates as an observer (the side that regularly receives data) and starts searching (scanning) peripheral peripherals.

図15のステップS1103において、第1のユーザ端末装置5aの制御部15は、第1の杖1aから送信されたアドバタイジングパケットを受信すると、ステップS1104において、受信したアドバタイジングパケットに基づいて送信元を判定し、第1の杖1aに接続を要求する。次に、図15のステップS1105において、第1の杖1aに設けられたBLE通信モジュール2が、第1のユーザ端末装置5aから送信された接続要求を受信すると、制御部8は、その接続要求を受理し、接続が確立される。 In step S1103 of FIG. 15, when the controller 15 of the first user terminal device 5a receives the advertising packet transmitted from the first walking stick 1a, in step S1104 the transmission source is determined based on the received advertising packet. Then, the connection is requested to the first cane 1a. Next, in step S1105 of FIG. 15, when the BLE communication module 2 provided in the first cane 1a receives the connection request transmitted from the first user terminal device 5a, the control unit 8 causes the connection request. Is accepted and the connection is established.

第1の杖1aの制御部8は、図14に示すステップS1100のペアリング処理を終了すると、ステップS1003に進み、タイマ35による時間の計測を開始させる。その後、ステップS1004に進み、第1の杖1aの制御部8は、タイマ35に基づいて経過時間を測定する。その後、ステップS1005に進み、第1の杖1aの制御部8は、タイマ35により計測した経過時間と、図14のステップS1002または図18のステップS1302で設定された閾値とを比較する。 When the pairing process of step S1100 shown in FIG. 14 is completed, the control unit 8 of the first cane 1a proceeds to step S1003, and starts the time measurement by the timer 35. Then, the process proceeds to step S1004, and the control unit 8 of the first cane 1a measures the elapsed time based on the timer 35. Then, the process proceeds to step S1005, and the control unit 8 of the first walking stick 1a compares the elapsed time measured by the timer 35 with the threshold value set in step S1002 of FIG. 14 or step S1302 of FIG.

ステップS1005において、タイマ35により計測した経過時間が閾値以上である場合には、ステップS1006に進んで、第1の杖1aの制御部8は、タイマ35を停止させる。その後、ステップS1007に進んで、制御部8は、BLE通信モジュール2を介して第1のユーザ端末装置5aに第1の杖1aのID情報を送信する。次に、ステップS1008に進んで、制御部8は、タイマ35による時間の御計測を開始する。 In step S1005, when the elapsed time measured by the timer 35 is equal to or more than the threshold value, the process proceeds to step S1006, and the control unit 8 of the first walking stick 1a stops the timer 35. After that, the process proceeds to step S1007, and the control unit 8 transmits the ID information of the first cane 1a to the first user terminal device 5a via the BLE communication module 2. Next, proceeding to step S1008, the control unit 8 starts measuring the time by the timer 35.

次に、ステップS1200において、第1の杖1aの制御部8は、データ送受信処理を実行した後、ステップS1300に進んでロール切替処理を実行する。BLE通信では、その通信制御方式の特徴から、送信側または受信側の機器それぞれを、ペリフェラル、セントラル、ブロードキャスタ、オブザーバの4つの役割(ロール)に分類することができる。 Next, in step S1200, the control unit 8 of the first cane 1a executes the data transmission/reception process, and then proceeds to step S1300 to execute the roll switching process. In the BLE communication, each device on the transmitting side or the receiving side can be classified into four roles (peripheral, central, broadcaster, and observer) from the characteristics of the communication control method.

その後、ステップS1004に戻って、第1の杖1aの制御部8は、タイマ35により計測した経過時間を判定し、周期的にステップS1004〜S1300を繰り返し実行する。 Then, returning to step S1004, the control unit 8 of the first cane 1a determines the elapsed time measured by the timer 35, and periodically repeats steps S1004 to S1300.

一方、第1のユーザ端末装置5aの制御部15は、図23に示すステップS3101において、第1の杖1aのBLE通信モジュール2を介して送信された第1の杖1aのID情報を、BLE通信モジュール16を介して受信すると、ステップS3102に進んで、第1の杖1aのID情報から送信元アドレスを取得する。 On the other hand, the control unit 15 of the first user terminal device 5a sets the ID information of the first cane 1a transmitted via the BLE communication module 2 of the first cane 1a to BLE in step S3101 shown in FIG. When it is received via the communication module 16, the process proceeds to step S3102, and the sender address is acquired from the ID information of the first cane 1a.

第1のユーザ端末装置5aの制御部15は、ステップS3103に進んで、GPS22により緯度と経度とからなる基準点座標を取得する。その後、ステップS3104に進んで、ステップS3102で取得した送信元アドレスと、ステップS3103で取得した基準点座標とをインターサネット通信モジュール20を介してサーバ装置7に送信する。その後、図23に示すステップS2100に進んで、測位及び通知処理を開始する。 The control unit 15 of the first user terminal device 5a proceeds to step S3103 to acquire the reference point coordinates including the latitude and the longitude by the GPS 22. After that, the process advances to step S3104, and the source address acquired in step S3102 and the reference point coordinates acquired in step S3103 are transmitted to the server device 7 via the internet communication module 20. After that, the procedure advances to step S2100 shown in FIG. 23, and positioning and notification processing is started.

図19に示すステップS2101において、サーバ装置7の制御部32は、第1のユーザ端末装置5aから送信された送信元アドレスと、基準点座標とを受信すると、時計3から現在日時を取得する。 In step S2101 shown in FIG. 19, when the control unit 32 of the server device 7 receives the source address and the reference point coordinates transmitted from the first user terminal device 5a, it acquires the current date and time from the clock 3.

サーバ装置7の制御部32は、図19のステップS2101で取得した第1のユーザ端末装置5aの送信元アドレスと、第1のユーザ端末装置5aの現在位置である緯度と経度とからなる基準点座標と、時計3から取得した現在日時とを、それぞれ端末ID情報と、緯度と経度とからなる位置情報と、最終更新日時として、ステップS2102においてデータベース27に記憶する。 The control unit 32 of the server device 7 has a reference point composed of the source address of the first user terminal device 5a acquired in step S2101 of FIG. 19 and the latitude and longitude of the current position of the first user terminal device 5a. The coordinates and the current date and time acquired from the clock 3 are stored in the database 27 in step S2102 as the terminal ID information, the position information including latitude and longitude, and the last update date and time.

サーバ装置7の制御部32は、ステップS2103において、第1のユーザ端末装置5aの送信元アドレスと端末ID情報とが異なるレコードをデータベース27から検索し、第1のユーザ端末装置5a以外の全てのレコードの端末ID情報と、緯度と経度とからなる位置情報と、最終更新日時とを、それぞれ送信先アドレスと緯度と経度とからなる指定点座標と、最終更新日時として抽出する。 In step S2103, the control unit 32 of the server device 7 searches the database 27 for a record in which the transmission source address of the first user terminal device 5a and the terminal ID information are different, and finds all records other than the first user terminal device 5a. The terminal ID information of the record, the position information including latitude and longitude, and the last update date and time are extracted as the designated point coordinates including the destination address, latitude and longitude, and the last update date and time.

例えば、第1の杖1aを利用する第1のユーザ6aと、第2の杖1bを利用する第2のユーザ6bとが、互いに10m程度離れた付近を歩いているとき、第2の杖1bを利用する第2のユーザ6bが所持する第2のユーザ端末装置5bとサーバ装置7とによってデータベース27に記憶された第2の杖1bを利用する第2のユーザ6bが所持する第2のユーザ端末装置5bの送信先アドレスと、指定点座標と、最終更新日時とが抽出される。 For example, when a first user 6a who uses the first cane 1a and a second user 6b who uses the second cane 1b are walking in the vicinity of 10 m apart from each other, the second cane 1b Second user possessed by second user 6b utilizing second cane 1b stored in database 27 by second user terminal device 5b possessed by second user 6b utilizing server 7 and server device 7 The destination address of the terminal device 5b, the designated point coordinates, and the last update date and time are extracted.

サーバ装置7の制御部32は、更新レコード数の値を「0」に初期化し、ステップS2103で取得した、第1のユーザ端末装置5a以外の全てのレコード(送信先アドレスと指定点座標と最終更新日時)のそれぞれについて、ステップS2101で取得した第1のユーザ端末装置5aの送信元アドレスと基準点座標と現在日時とに基づいて、図19に示すステップS2104〜図20に示すステップS2115の処理を繰り返す。 The control unit 32 of the server device 7 initializes the value of the number of updated records to “0”, and acquires all the records other than the first user terminal device 5a acquired in step S2103 (the destination address, the designated point coordinates, and the final coordinates). For each of (update date and time), the processing of step S2104 shown in FIG. 19 to step S2115 shown in FIG. 20 based on the transmission source address, reference point coordinates, and current date and time of the first user terminal device 5a acquired in step S2101. repeat.

図19のステップS2105において、サーバ装置7の制御部32は、時計3により取得した現在日時とデータベース27を参照して抽出した最終更新日時との差が所定の時間間隔を超えたか否かを判定する。現在日時と最終更新日時との差分時間が予め設定された所定の時間間隔よりも大きい場合は、ステップS2106に進んで、サーバ装置7の制御部32は、第1のユーザ6aと、第2のユーザ6bとの近接度を「圏外」とする。 In step S2105 of FIG. 19, the control unit 32 of the server device 7 determines whether the difference between the current date and time acquired by the clock 3 and the last update date and time extracted by referring to the database 27 exceeds a predetermined time interval. To do. If the difference time between the current date and time and the last update date and time is greater than the predetermined time interval set in advance, the process proceeds to step S2106, and the control unit 32 of the server device 7 causes the first user 6a and the second user 6a to The proximity with the user 6b is set as "out of service".

ステップS2105において、現在日時と最終更新日時との差分時間が所定の時間以内である場合は、ステップS2107に進んで、サーバ装置7の制御部32は、基準点座標の緯度と、基準点座標の経度と、指定点座標の緯度と、指定点座標の経度と、に基づいて第1のユーザ6aと、第2のユーザ6bとの2点間の距離Lを計算する。 In step S2105, when the difference time between the current date and time and the last update date and time is within the predetermined time, the process proceeds to step S2107, and the control unit 32 of the server device 7 determines the latitude of the reference point coordinates and the reference point coordinates. The distance L between the two points of the first user 6a and the second user 6b is calculated based on the longitude, the latitude of the designated point coordinates, and the longitude of the designated point coordinates.

その後、ステップS2108に進んで、2点間の距離Lが150mを超えれば「圏外」とし、2点間の距離Lが50m以上、且つ、150m以内であれば「遠い」とし、2点間の距離Lが50m未満であれば「近い」として、第1のユーザ6aと、第2のユーザ6bとの近接度を判定する。 After that, proceeding to step S2108, if the distance L between the two points exceeds 150 m, it is set as "out of range", and if the distance L between the two points is 50 m or more and within 150 m, it is set as "far" and between the two points. If the distance L is less than 50 m, it is determined to be “close”, and the degree of proximity between the first user 6a and the second user 6b is determined.

例えば、第1の杖1aを利用する第1のユーザ6aと、第2の杖1bを利用する第2のユーザ6bとが互いに10m程度離れた付近を歩いているとき、サーバ装置7の制御部32は、第1のユーザ6aと、第2のユーザ6bとの近接度は「近い」と判定する。ここで、第1のユーザ6aと、第2のユーザ6bとの2点間の距離Lは、前記数8式により計算することができる。 For example, when the first user 6a using the first cane 1a and the second user 6b using the second cane 1b are walking in the vicinity of about 10 m apart from each other, the control unit of the server device 7 32 determines that the degree of proximity between the first user 6a and the second user 6b is “close”. Here, the distance L between the two points of the first user 6a and the second user 6b can be calculated by the equation (8).

図20のステップS2109において、サーバ装置7の制御部32は、データベース27に記憶されている各ユーザ端末装置5の送信先アドレスと端末ID情報とが等しいレコードから近接度を抽出する。その後、ステップS2110に進んで、サーバ装置7の制御部32は、データベース27から抽出した近接度と、算出した近接度とが異なるか否かを判定する。 In step S2109 of FIG. 20, the control unit 32 of the server device 7 extracts the proximity degree from the record in which the destination address of each user terminal device 5 and the terminal ID information stored in the database 27 are the same. After that, proceeding to step S2110, the control unit 32 of the server device 7 determines whether or not the proximity degree extracted from the database 27 and the calculated proximity degree are different.

ステップS2110において、二つの近接度が異なる場合は、ステップS2111に進んで、サーバ装置7の制御部32は、送信先アドレスと近接度とを、それぞれ端末ID情報と近接度としてデータベース27に記憶し、カウンタ4により更新レコード数の値を「1」加算する。 When the two proximities are different in step S2110, the process proceeds to step S2111, and the control unit 32 of the server device 7 stores the transmission destination address and the proximity in the database 27 as the terminal ID information and the proximity, respectively. The counter 4 increments the value of the number of updated records by "1".

その後、ステップS2112に進んで、サーバ装置7の制御部32は、データベース27に記憶されている送信元アドレスと端末ID情報とが等しいレコードからアカウント名を抽出する。その後、ステップS2113に進んで、アカウント名と近接度と現在日時とを第2のユーザ端末装置5bに送信する。その後、ステップS2114に進んで、第2のユーザ端末装置5bの制御部15は、サーバ装置7から受信したアカウント名と近接度と現在日時とを含む近接度通知メッセージを出力する。 After that, proceeding to step S2112, the control unit 32 of the server device 7 extracts the account name from the record in which the transmission source address and the terminal ID information stored in the database 27 are the same. After that, the process advances to step S2113, and the account name, the proximity, and the current date and time are transmitted to the second user terminal device 5b. After that, the process advances to step S2114, and the control unit 15 of the second user terminal device 5b outputs the proximity notification message including the account name, the proximity, and the current date and time received from the server device 7.

サーバ装置7の制御部32は、図19に示すステップS2104から図20に示すステップS2115までの処理を繰り返し、ステップS2116において、得られた更新レコード数に基づいて、近接度ステータスの通知の要否を判定する。図20のステップS2110において、サーバ装置7の制御部32は、データベース27から抽出した近接度と、算出した近接度とが異なるか否かを判定する。二つの近接度が同じである場合には、ステップS2115に進む。 The control unit 32 of the server device 7 repeats the processing from step S2104 shown in FIG. 19 to step S2115 shown in FIG. 20, and in step S2116, it is necessary to notify the proximity status based on the obtained update record number. To judge. In step S2110 of FIG. 20, the control unit 32 of the server device 7 determines whether the proximity degree extracted from the database 27 is different from the calculated proximity degree. If the two proximities are the same, the process advances to step S2115.

ステップS2116において、更新レコード数の値が「0」よりも大きい場合には、ステップS2117に進んで、サーバ装置7の制御部32は、データベース27に記憶されている送信元アドレスと端末ID情報とが等しいレコードから近接度を集計し、その集計結果に基づいて近接度ステータスを判定する。ステップS2116において、更新レコード数の値が「0」の場合には、処理を終了する。 When the value of the number of updated records is larger than “0” in step S2116, the process proceeds to step S2117, and the control unit 32 of the server device 7 stores the source address and the terminal ID information stored in the database 27. Proximity is calculated from the records having the same value, and the proximity status is determined based on the result of the calculation. In step S2116, if the value of the number of updated records is “0”, the process ends.

<近接度ステータスの判定>
ステップS2117において、近接度が「近い」レコードが少なくとも1件以上存在するとき、サーバ装置7の制御部32は、近接度ステータスを「近い」とする。近接度が「近い」レコードが存在せず、且つ、近接度が「遠い」レコードが少なくとも1件以上存在するとき、サーバ装置7の制御部32は、近接度ステータスを「遠い」とする。
<Judgment of proximity status>
In step S2117, when there is at least one record having a “closeness” to the proximity, the control unit 32 of the server device 7 sets the proximity status to “close”. When there is no record whose proximity is “close” and at least one record whose proximity is “far” exists, the control unit 32 of the server device 7 sets the proximity status to “far”.

近接度が「近い」レコードが存在せず、且つ、近接度が「遠い」レコードも存在しないとき、サーバ装置7の制御部32は、近接度ステータスを「圏外」とする。その後、ステップS2118に進んで、サーバ装置7の制御部32は、近接度ステータスを第1のユーザ端末装置5aに送信する。 When there is no record having a “proximity” and no record having a “proximity”, the control unit 32 of the server device 7 sets the proximity status to “out of range”. After that, the process advances to step S2118, and the control unit 32 of the server device 7 transmits the proximity status to the first user terminal device 5a.

次に、ステップS3200に進んで、第1のユーザ端末装置5aの制御部15は、近接度ステータスの更新処理を行う。図24のステップS3201において、第1のユーザ端末装置5aの制御部15は、サーバ装置7から送信された近接度ステータスをインターサネット通信モジュール20を介して受信する。その後、ステップS3202に進んで、第1のユーザ端末装置5aの制御部15は、BLE通信モジュール16を介して第1の杖1aの近接度ステータスの読み出しを要求する。 Next, proceeding to step S3200, the control unit 15 of the first user terminal device 5a performs a proximity status update process. In step S3201 of FIG. 24, the control unit 15 of the first user terminal device 5a receives the proximity status transmitted from the server device 7 via the internet communication module 20. After that, proceeding to step S3202, the control unit 15 of the first user terminal device 5a requests reading of the proximity status of the first cane 1a via the BLE communication module 16.

次に、ステップS1200に進んで、データ送受信処理を実行する。図16のステップS1205において、ペリフェラルとしての第1の杖1aの制御部8は、近接度ステータスの読み出しを検知すると、保持している近接度ステータスの値をセントラルとしての第1のユーザ端末装置5aに送信する。尚、ペリフェラルとは、コンピュータと組み合わせて利用される機器のことである。また、セントラルとは、主に中心機器であり、データを受信する側である。 Next, in step S1200, a data transmission/reception process is executed. In step S1205 of FIG. 16, when the control unit 8 of the first walking stick 1a serving as the peripheral detects the reading of the proximity status, the first user terminal device 5a serving as the central value of the held proximity status. Send to. The peripheral is a device used in combination with a computer. The central is mainly a central device and is a side that receives data.

図24のステップS3203において、第1のユーザ端末装置5aの制御部15は、第1の杖1aから送信された近接度ステータスをBLE通信モジュール16を介して受信する。次に、ステップS3204に進んで、第1のユーザ端末装置5aの制御部15は、サーバ装置7から送信された近接度ステータスと、第1の杖1aから送信された近接度ステータスとを比較し、更新が必要か否かを判定する。 In step S3203 of FIG. 24, the control unit 15 of the first user terminal device 5a receives the proximity status transmitted from the first walking stick 1a via the BLE communication module 16. Next, proceeding to step S3204, the control unit 15 of the first user terminal device 5a compares the proximity status transmitted from the server device 7 with the proximity status transmitted from the first cane 1a. , Determines whether an update is required.

ステップS3204において、2つの近接度ステータスが異なる場合は、ステップS3205に進んで、第1のユーザ端末装置5aの制御部15は、サーバ装置7から送信された近接度ステータスに基づいて、振動手段としてのバイブレータ10の振動状態と、発光手段としての発光装置11の発光状態の制御情報を判定する。その後、図25のステップS3206に進んで、第1のユーザ端末装置5aの制御部15は、BLE通信モジュール16を介して第1の杖1aにデバイス出力命令の書き込みを要求する。 When the two proximity statuses are different in step S3204, the process proceeds to step S3205, and the control unit 15 of the first user terminal device 5a operates as a vibrating unit based on the proximity status transmitted from the server device 7. The vibration state of the vibrator 10 and the control information of the light emitting state of the light emitting device 11 as the light emitting means are determined. After that, proceeding to step S3206 in FIG. 25, the control unit 15 of the first user terminal device 5a requests the first walking stick 1a to write a device output command via the BLE communication module 16.

次に、ステップS1200に進んで、データ送受信処理を実行する。図17のステップS1209において、第1の杖1aの制御部8は、デバイス出力命令の書き込みを検知する。その後、ステップS1210に進んで、第1の杖1aの制御部8は、受信したデバイス出力命令の値に基づいて、振動手段としてのバイブレータ10により第1の杖1aを振動させる。また、ステップS1211に進んで、第1の杖1aの制御部8は、受信したデバイス出力命令の値に基づいて、第1の杖1aの外周面に設けられたLED(Light Emitting Diode;発光ダイオード)を発光させる。その後、図25のステップS3207に進んで、第1のユーザ端末装置5aの制御部15は、BLE通信モジュール16を介して第1の杖1aの近接度ステータスの書き込みを要求する。 Next, in step S1200, a data transmission/reception process is executed. In step S1209 of FIG. 17, the control unit 8 of the first walking stick 1a detects the writing of the device output command. After that, the process proceeds to step S1210, and the control unit 8 of the first walking stick 1a vibrates the first walking stick 1a by the vibrator 10 as the vibrating means based on the value of the received device output command. Further, the processing proceeds to step S1211, and the control unit 8 of the first walking stick 1a, based on the value of the received device output command, is an LED (Light Emitting Diode; ) Is emitted. After that, proceeding to step S3207 in FIG. 25, the control unit 15 of the first user terminal device 5a requests the writing of the proximity status of the first cane 1a via the BLE communication module 16.

その後、ステップS1200に進んで、データ送受信処理を実行する。図16に示すステップS1201において、第1の杖1aの制御部8は、BLE通信モジュール2を介して第1のユーザ端末装置5aからデータのアクセス要求を受信する。次に、ステップS1202に進んで、第1の杖1aの制御部8は、アクセス要求を解析する。次に、ステップS1203に進んで、第1の杖1aの制御部8は、対象のデータがデバイス出力命令か近接度ステータスであるかを判定する。対象のデータが近接度ステータスである場合には、ステップS1204に進んで、第1の杖1aの制御部8は、アクセス方法が読み出しか書き込みかを判定する。アクセス方法が読み出しの場合には、ステップS1205に進んで、第1の杖1aの制御部8は、BLE通信モジュール2を介して第1のユーザ端末装置5aに近接度ステータスを送信する。一方、ステップS1204において、アクセス方法が書き込みの場合には、ステップS1206に進んで、第1の杖1aの制御部8は、BLE通信モジュール2を介して第1のユーザ端末装置5aから受信した値で近接度ステータスを更新する。一方、ステップS1203において、対象のデータがデバイス出力命令である場合には、ステップS1215に進んで、第1の杖1aの制御部8は、デバイス出力命令の送受信を行う。ステップS1205、S1206、S1215の次にステップS1213に進んで、第1の杖1aの制御部8は、BLE通信モジュール2のバッファから次のアクセス要求を読み出す。次に、ステップS1214に進んで、第1の杖1aの制御部8は、BLE通信モジュール2のバッファから次のアクセス要求が読み出せたか否かを判定し、読み出せた場合には、処理を終了する。ステップS1214において、BLE通信モジュール2のバッファから次のアクセス要求が読み出せなかった場合には、ステップS1202に戻る。 Then, the process proceeds to step S1200, and data transmission/reception processing is executed. In step S1201 shown in FIG. 16, the control unit 8 of the first cane 1a receives a data access request from the first user terminal device 5a via the BLE communication module 2. Next, proceeding to step S1202, the control unit 8 of the first cane 1a analyzes the access request. Next, proceeding to step S1203, the control unit 8 of the first cane 1a determines whether the target data is a device output command or a proximity status. When the target data is the proximity status, the process proceeds to step S1204, and the control unit 8 of the first walking stick 1a determines whether the access method is read or write. When the access method is read, the process proceeds to step S1205, and the control unit 8 of the first walking stick 1a transmits the proximity status to the first user terminal device 5a via the BLE communication module 2. On the other hand, if the access method is writing in step S1204, the process proceeds to step S1206, and the control unit 8 of the first walking stick 1a receives the value received from the first user terminal device 5a via the BLE communication module 2. To update the proximity status. On the other hand, if the target data is the device output command in step S1203, the process proceeds to step S1215, and the control unit 8 of the first walking stick 1a transmits/receives the device output command. After steps S1205, S1206, and S1215, the process proceeds to step S1213, and the control unit 8 of the first walking stick 1a reads the next access request from the buffer of the BLE communication module 2. Next, proceeding to step S1214, the control unit 8 of the first walking stick 1a determines whether or not the next access request can be read from the buffer of the BLE communication module 2, and if the next access request can be read, the processing is performed. finish. If the next access request cannot be read from the buffer of the BLE communication module 2 in step S1214, the process returns to step S1202.

図24のステップS3204において、2つの近接度ステータスが等しい場合は、処理を終了する。図16のステップS1206において、ペリフェラルとしての第1の杖1aの制御部8は、近接度ステータスの書き込みを検知すると、その受信した値で近接度ステータスを更新する。 In step S3204 of FIG. 24, if the two proximity statuses are equal, the process ends. In step S1206 of FIG. 16, when the controller 8 of the first walking stick 1a as the peripheral detects the writing of the proximity status, it updates the proximity status with the received value.

図18のステップS1301において、第1の杖1aの制御部8は、第1のユーザ端末装置5aから送信された近接度ステータスをBLE通信モジュール2を介して読み取る。次に、ステップS1302に進んで、第1の杖1aの制御部8は、近接度ステータスの値に基づいて、経過時間の閾値を設定する。 In step S1301 of FIG. 18, the control unit 8 of the first walking stick 1a reads the proximity status transmitted from the first user terminal device 5a via the BLE communication module 2. Next, proceeding to step S1302, the control unit 8 of the first walking stick 1a sets the threshold value of the elapsed time based on the value of the proximity status.

<経過時間の閾値設定>
近接度ステータスが「圏外」であるとき、第1の杖1aの制御部8は、経過時間の閾値を45秒とする。近接度ステータスが「遠い」であるとき、第1の杖1aの制御部8は、経過時間の閾値を15秒とする。近接度ステータスが「近い」であるとき、第1の杖1aの制御部8は、経過時間の閾値を15秒とする。
<Elapsed time threshold setting>
When the proximity status is "out of service", the control unit 8 of the first walking stick 1a sets the threshold of the elapsed time to 45 seconds. When the proximity status is "far", the control unit 8 of the first walking stick 1a sets the threshold of the elapsed time to 15 seconds. When the proximity status is "close", the control unit 8 of the first walking stick 1a sets the threshold value of the elapsed time to 15 seconds.

図18のステップS1303において、第1の杖1aの制御部8は、近接度ステータスが「近い」か否かを判定し、近接度ステータスが「近い」ときは、ステップS1304に進んで、第1の杖1aの制御部8は、第1のユーザ端末装置5aに切断を要求する。 In step S1303 of FIG. 18, the control unit 8 of the first walking stick 1a determines whether or not the proximity status is “close”. When the proximity status is “close”, the process proceeds to step S1304, and the first The control unit 8 of the wand 1a requests the first user terminal device 5a to disconnect.

次に、ステップS1305に進んで、第1のユーザ端末装置5aの制御部15は、第1の杖1aとのコネクションを切断する。次に、ステップS1306に進んで、第1の杖1aの制御部8は、BLE通信モジュール2を制御してBLE通信におけるペリフェラルからブロードキャスタ(オブザーバに対して定期的にデータを発信する機器)として設定する。 Next, proceeding to step S1305, the control unit 15 of the first user terminal device 5a disconnects the connection with the first walking stick 1a. Next, proceeding to step S1306, the control unit 8 of the first cane 1a controls the BLE communication module 2 to act as a broadcaster (device that periodically transmits data to the observer) from the peripheral in BLE communication. Set.

次に、ステップS1307に進んで、第1の杖1aの制御部8は、BLE通信モジュール2を制御して近距離無線通信におけるアドバタイズを開始させ、接続不可なアドバタイジングパケットを複数のユーザ端末装置5に向けて送信(ブロードキャスト)する。 Next, proceeding to step S1307, the control unit 8 of the first walking stick 1a controls the BLE communication module 2 to start an advertisement in short-range wireless communication, and transmits an unreachable advertising packet to the plurality of user terminal devices 5. To send (broadcast) to.

次に、ステップS3000に進んで、近距離無線通信による近接度判定処理を実行する。第1の杖1aは、ステップS3000に進んで、BLE通信による近接度判定処理を実行すると、図18に示すステップS1308において、アドバタイズを中止し、図14に示すステップS1100のペアリング処理でBLE通信におけるブロードキャスタから、BLE通信におけるペリフェラルとして作動する。図22のステップS3001において、第2のユーザ端末装置5bは、オブザーバであり、第1の杖1aから送信されたアドバタイジングパケットをBLE通信モジュール16を介して受信する。次に、ステップS3002に進んで、第2のユーザ端末装置5bの制御部15は、BLE通信モジュール16を介して受信したアドバタイジングパケットに基づいて送信元を判定し、第1の杖1aのID情報を取得する。 Next, the process proceeds to step S3000, and proximity determination processing by short-range wireless communication is executed. When the first walking stick 1a proceeds to step S3000 and executes the proximity determination processing by BLE communication, the advertisement is stopped in step S1308 shown in FIG. 18, and the BLE communication is performed by the pairing processing in step S1100 shown in FIG. From the broadcaster in the above, it operates as a peripheral in BLE communication. In step S3001 of FIG. 22, the second user terminal device 5b is an observer, and receives the advertising packet transmitted from the first walking stick 1a via the BLE communication module 16. Next, proceeding to step S3002, the control unit 15 of the second user terminal device 5b determines the transmission source based on the advertising packet received via the BLE communication module 16, and the ID information of the first walking stick 1a. To get

次に、ステップS3003に進んで、第2のユーザ端末装置5bの制御部15は、送信元がペアリング済みか否かを判定し、送信元がペアリング未設定であるときは、ステップS3004、S3005に進んで、第2のユーザ端末装置5bの制御部15は、BLE通信モジュール16により受信したシグナル強度基準値に基づいて、第1の杖1aと第2のユーザ端末装置5bとの距離(近接度)を算出し、その算出した距離が、10m以内であれば「非常に近い」とし、10mを超えていれば「近い」として近接度ステータスを特定する。 Next, proceeding to step S3003, the control unit 15 of the second user terminal device 5b determines whether or not the transmission source has been paired, and when the transmission source is not paired, step S3004, In step S3005, the control unit 15 of the second user terminal device 5b, based on the signal strength reference value received by the BLE communication module 16, sets the distance between the first cane 1a and the second user terminal device 5b ( (Proximity) is calculated, and if the calculated distance is within 10 m, it is “very close”, and if it is over 10 m, the proximity status is specified as “close”.

ここで、近距離無線通信による近接度判定処理における2点間の距離Lは、前記数9式により計算することができる。 Here, the distance L between two points in the proximity determination processing by the short-range wireless communication can be calculated by the above-mentioned equation 9.

次に、ステップS3005において、第2のユーザ端末装置5bの制御部15は、近接度が「非常に近い」か否かを判定する。ステップS3004で算出した距離Lが10m未満であるとき、第2のユーザ端末装置5bの制御部15は、近接度を「非常に近い」と判定する。例えば、第1の杖1aを所持するユーザ6aと第2の杖1bを所持するユーザ6bとが、互いに8mほど離れた付近を歩いているとき、近接度が「非常に近い」と判定される。近接度が「非常に近い」ときは、ステップS3006に進んで、第2のユーザ端末装置5bの制御部15は、近接度に基づいて、振動手段としてのバイブレータ10の振動状態と、発光手段としての発光装置11の発光状態との制御情報を判定する。 Next, in step S3005, the control unit 15 of the second user terminal device 5b determines whether the degree of proximity is “very close”. When the distance L calculated in step S3004 is less than 10 m, the control unit 15 of the second user terminal device 5b determines that the degree of proximity is “very close”. For example, when the user 6a who possesses the first cane 1a and the user 6b who possesses the second cane 1b are walking in the vicinity of 8 m apart from each other, the proximity is determined to be "very close". .. When the proximity is “very close”, the process proceeds to step S3006, and the control unit 15 of the second user terminal device 5b determines, based on the proximity, the vibration state of the vibrator 10 as the vibration unit and the light emission unit. The control information regarding the light emitting state of the light emitting device 11 is determined.

次に、ステップS3007に進んで、第2のユーザ端末装置5bの制御部15は、BLE通信モジュール16を介して第2の杖1bの制御部8にデバイス出力命令の書き込みを要求する。ステップS3005において、近接度が「非常に近い」ではないときは、処理を終了する。 Next, proceeding to step S3007, the controller 15 of the second user terminal device 5b requests the controller 8 of the second cane 1b to write a device output command via the BLE communication module 16. In step S3005, if the proximity is not “very close”, the process ends.

図17に示すステップS1207において、第1の杖1aの制御部8は、デバイス出力命令の書き込みを検知すると、ステップS1209、S1210に進み、そのデバイス出力命令の値に基づいて、振動手段としてのバイブレータ10により第1の杖1aを振動させる。また、ステップS1211に進んで、第1の杖1aの制御部8は、受信したデバイス出力命令の値に基づいて、第1の杖1aの外周面に設けられたLED(Light Emitting Diode;発光ダイオード)を発光させる。 In step S1207 shown in FIG. 17, when the controller 8 of the first walking stick 1a detects writing of the device output command, the process proceeds to steps S1209 and S1210, and based on the value of the device output command, the vibrator as the vibrating means. The first cane 1a is vibrated by 10. Further, the processing proceeds to step S1211, and the control unit 8 of the first walking stick 1a, based on the value of the received device output command, is an LED (Light Emitting Diode; light emitting diode) provided on the outer peripheral surface of the first walking stick 1a. ) Is emitted.

図17のステップS1215において、第1の杖1aの制御部8は、デバイス出力命令の送受信を実行する。ステップS1207において、第1の杖1aの制御部8は、デバイス出力命令のアクセス方法が読み出しか書き込みかを判定する。デバイス出力命令のアクセス方法が読み出しの場合には、ステップS1208に進んで、第1の杖1aの制御部8は、BLE通信モジュール2を介して第1のユーザ端末装置5aにデバイス出力命令の値を送信した後、処理を終了する。ステップS1207において、デバイス出力命令のアクセス方法が書き込みの場合には、ステップS1209に進んで、第1の杖1aの制御部8は、BLE通信モジュール2を介して第1のユーザ端末装置5aから受信した値でデバイス出力命令を更新する。次に、ステップS1210に進んで、第1の杖1aの制御部8は、デバイス出力命令の値に基づいてバイブレータ10により第1の杖1aを振動させる。次に、ステップS1211に進んで、第1の杖1aの制御部8は、デバイス出力命令の値に基づいて発光装置11を発光させる。次に、ステップS1212に進んで、第1の杖1aの制御部8は、デバイス出力命令の値を初期化して処理を終了する。 In step S1215 of FIG. 17, the control unit 8 of the first walking stick 1a executes transmission/reception of a device output command. In step S1207, the control unit 8 of the first walking stick 1a determines whether the access method of the device output instruction is read or write. When the access method of the device output command is read, the process proceeds to step S1208, and the control unit 8 of the first walking stick 1a sends the value of the device output command to the first user terminal device 5a via the BLE communication module 2. After transmitting, the process ends. In step S1207, when the access method of the device output command is writing, the process proceeds to step S1209, and the control unit 8 of the first walking stick 1a receives from the first user terminal device 5a via the BLE communication module 2. The device output instruction is updated with the specified value. Next, proceeding to step S1210, the control unit 8 of the first cane 1a causes the vibrator 10 to vibrate the first cane 1a based on the value of the device output command. Next, proceeding to step S1211, the control unit 8 of the first walking stick 1a causes the light emitting device 11 to emit light based on the value of the device output command. Next, proceeding to step S1212, the control unit 8 of the first walking stick 1a initializes the value of the device output command and ends the processing.

図26は、近接度情報、アカウント情報、位置情報のデータ構造を示す図である。図27(a)は、アカウント情報、図27(b)は、近接度情報、図27(c)は、位置情報のデータ構造の一例を示す図である。図26に示す近接度情報の送信元端末IDと、送信先端末IDと、位置情報の端末IDとは、アカウント情報の端末IDとして登録されている。これによりアカウント情報の端末IDに基づいて近接度情報の送信元端末IDと、送信先端末IDと、位置情報の端末IDとを特定することができる。 FIG. 26 is a diagram showing a data structure of proximity information, account information, and position information. FIG. 27A is a diagram showing an example of the data structure of account information, FIG. 27B is a diagram of proximity information, and FIG. 27C is a diagram showing an example of a data structure of position information. The source terminal ID of the proximity information, the destination terminal ID, and the terminal ID of the position information shown in FIG. 26 are registered as the terminal ID of the account information. This makes it possible to specify the source terminal ID of the proximity information, the destination terminal ID, and the terminal ID of the position information based on the terminal ID of the account information.

図28(a)は、第1のユーザ6aに対して、第2のユーザ6bとしての「はなこさん」が「圏外」のエリアから「遠い」のエリアに移動したときと、第3のユーザ6cとしての「たろうさん」が「遠い」のエリアにいる場合の位置情報と近接度を示す図である。図28(b)は、図28(a)の状態で第1のユーザ6aが所持する第1のユーザ端末装置5aに表示される画面の一例である。 FIG. 28(a) shows a case where “Hanako-san” as the second user 6b has moved from the “out of service” area to the “far” area with respect to the first user 6a and the third user 6c. Is a diagram showing position information and proximity in the case where "Taro-san" is in the "far" area. 28B is an example of a screen displayed on the first user terminal device 5a possessed by the first user 6a in the state of FIG. 28A.

このとき、第3のユーザ6cも第3の杖1cと第3のユーザ端末装置5cとを所持しているものとする。ここで、図28(a)に示す近接度の「近い」は、第1のユーザ6aを中心として50m以内にユーザ6が接近している場合である。また、近接度の「遠い」は、第1のユーザ6aを中心として50mを超えて、150m以内にユーザ6が離れている場合である。また、近接度の「圏外」は、第1のユーザ6aを中心として150mを超えてユーザ6が離れている場合である。 At this time, it is assumed that the third user 6c also has the third cane 1c and the third user terminal device 5c. Here, the proximity degree “close” shown in FIG. 28A is a case where the user 6 approaches within 50 m around the first user 6 a. Further, the proximity “far” is a case where the user 6 is away from the first user 6a by more than 50 m and within 150 m around the center. Further, the proximity “out of range” is a case where the user 6 is away from the first user 6a by more than 150 m with the center at the center.

図29(a)は、第1のユーザ6aに対して、第2のユーザ6bとしての「はなこさん」が「遠い」のエリアにいて、第3のユーザ6cとしての「たろうさん」が「遠い」のエリアから「近い」のエリアに移動したときの位置情報と近接度を示す図である。図29(b)は、図29(a)の状態で第1のユーザ6aが所持する第1のユーザ端末装置5aに表示される画面の一例である。 In FIG. 29A, "Hanako-san" as the second user 6b is in the "far" area with respect to the first user 6a, and "Taro-san" as the third user 6c is "far away". FIG. 6 is a diagram showing position information and proximity when moving from the “Area” area to the “Near” area. FIG. 29B is an example of a screen displayed on the first user terminal device 5a possessed by the first user 6a in the state of FIG. 29A.

図30(a)は、第1のユーザ6aに対して、第2のユーザ6bとしての「はなこさん」が「遠い」のエリアから「圏外」のエリアに移動して離れ、第3のユーザ6cとしての「たろうさん」が「近い」のエリアにいる場合の位置情報と近接度を示す図である。図30(b)は、図30(a)の状態で第1のユーザ6aが所持する第1のユーザ端末装置5aに表示される画面の一例である。 FIG. 30(a) shows that, with respect to the first user 6a, "Hanako-san" as the second user 6b moves from the "far" area to the "out of service" area and leaves the third user 6c. FIG. 3 is a diagram showing position information and proximity when “Taro-san” is in the “close” area. FIG. 30(b) is an example of a screen displayed on the first user terminal device 5a possessed by the first user 6a in the state of FIG. 30(a).

第1のユーザ6aに対して、各ユーザ6の位置情報と近接度とが図28(a)→図29(a)→図30(a)のように変化すると、第1のユーザ6aが所持する第1のユーザ端末装置5aに表示される画面は、各ユーザ6の近接度が変化するタイミングで近接度通知情報を受信して図28(b)→図29(b)→図30(b)のように履歴を残しながら変化する。 When the positional information and the proximity of each user 6 change with respect to the first user 6a as shown in FIG. 28(a)→FIG. 29(a)→FIG. 30(a), the first user 6a possesses The screen displayed on the first user terminal device 5a receives the proximity notification information at the timing when the proximity of each user 6 changes, and FIG. 28(b)→FIG. 29(b)→FIG. 30(b). ) Changes while leaving a history.

図31は、第1のユーザ6aと第2のユーザ6bとの間の2点間の距離Lと、近距離無線通信の通信距離Lbと、GPS22により計測される広域レベルの距離範囲Lgとの関係を示す図である。第1のユーザ6aと第2のユーザ6bとの間の2点間の距離Lは、第1のユーザ端末装置5aと第2のユーザ端末装置5bにそれぞれ設けられたGPS22により第1のユーザ6aと第2のユーザ6bとの2地点の緯度と経度とからなる座標から2点間の距離Lを定常的に測定する。座標情報は、各ユーザ端末装置5にインストールされているAndroid(登録商標)の位置情報取得API(Application Programming Interface;アプリケーションプログラミングインタフェース)を呼び出して取得し、その情報を定期的にサーバ装置7に送信し、計算結果を各ユーザ端末装置5が受信する。 FIG. 31 shows a distance L between two points between the first user 6a and the second user 6b, a communication distance Lb for short-distance wireless communication, and a wide range distance range Lg measured by the GPS 22. It is a figure which shows a relationship. The distance L between the two points between the first user 6a and the second user 6b is determined by the GPS 22 provided in each of the first user terminal device 5a and the second user terminal device 5b. The distance L between the two points is constantly measured from the coordinates composed of the latitude and longitude of the two points with the second user 6b. The coordinate information is acquired by calling a position information acquisition API (Application Programming Interface) of Android (registered trademark) installed in each user terminal device 5, and the information is periodically transmitted to the server device 7. Then, each user terminal device 5 receives the calculation result.

図32は、第1のユーザ6aと第2のユーザ6bとの間の2点間の距離Lが所定の閾値未満になったときに互いに知らせる様子を示す図である。図33は、第1のユーザ6aと第2のユーザ6bとの間の2点間の距離Lが更に接近して相手のユーザ端末装置5のBLE通信モジュール16と自分の杖1のBLE通信モジュール2との間で近距離無線通信通信で接続できたときに互いに知らせる様子を示す図である。 FIG. 32 is a diagram showing how to notify each other when the distance L between two points between the first user 6a and the second user 6b becomes less than a predetermined threshold value. In FIG. 33, the distance L between the two points between the first user 6a and the second user 6b becomes closer, and the BLE communication module 16 of the user terminal device 5 of the other party and the BLE communication module of the cane 1 of the other user. FIG. 3 is a diagram showing how to notify each other when a short-distance wireless communication communication can be established between the two.

このとき、杖1側をペリフェラルにして、ユーザ端末装置5側をセントラルにする。ペリフェラルとしての杖1側は、定期的にパケットデータを送信続け、セントラルとしてのユーザ端末装置5側は、杖1を検索する。 At this time, the cane 1 side is the peripheral and the user terminal device 5 side is the central. The cane 1 side as a peripheral continues to transmit packet data periodically, and the user terminal device 5 side as a central searches for the cane 1.

図34は、4人のユーザ6a〜6d間で位置情報と近接度を示す図である。各ユーザ6a〜6dは、それぞれユーザ端末装置5a〜5dと杖1a〜1dを所持しているものとする。互いに最も近いノードとしてのユーザ端末装置5や杖1や、最も遠いノードとしてのユーザ端末装置5や杖1を検索することも可能である。 FIG. 34 is a diagram showing position information and proximity between the four users 6a to 6d. It is assumed that the users 6a to 6d have user terminal devices 5a to 5d and canes 1a to 1d, respectively. It is also possible to search the user terminal device 5 and the wand 1 which are the nodes closest to each other, and the user terminal device 5 and the wand 1 which are the nodes farthest from each other.

また、GPS22により計測される広域レベルの距離範囲Lgの閾値を複数設けてGPS22により計測される広域レベルの距離範囲Lg1,Lg2を複数設定することでユーザ6間の近接度をより細かく判定することができる。図35は、ユーザ6間の移動の履歴を参照することにより時間や移動方向等からユーザ6間の移動のベクトル情報を作成して移動の予測を行う様子を示す図である。図35に示すTa1〜Ta3,Tb1〜Tb3は、それぞれユーザ6a,6bの移動ベクトルを示す。このようなベクトル情報を考慮して機械学習やディープラーニングを活用することで、ユーザ6間の近接度をより高い精度で判定でき、計算効率の向上が図れる。これにより複数のユーザが移動する際のユーザ間の距離を計測することができる。これにより視覚障害者等が日常的に利用する杖1と、ユーザ端末装置5を所持することで、衝突防止や待ち合わせ等に有効利用することができる。 Further, by providing a plurality of thresholds of the wide range distance range Lg measured by the GPS 22 and setting a plurality of wide range distance ranges Lg1 and Lg2 measured by the GPS 22, it is possible to more finely determine the proximity between the users 6. You can FIG. 35 is a diagram showing a state in which vector information of movement between users 6 is created from time and movement directions by referring to a movement history between users 6 to predict movement. Ta1 to Ta3 and Tb1 to Tb3 shown in FIG. 35 indicate movement vectors of the users 6a and 6b, respectively. By utilizing machine learning or deep learning in consideration of such vector information, the proximity between the users 6 can be determined with higher accuracy, and the calculation efficiency can be improved. With this, it is possible to measure the distance between users when a plurality of users move. Thus, by possessing the cane 1 and the user terminal device 5 that the visually impaired person or the like routinely uses, they can be effectively used for collision prevention and waiting.

本発明の活用例として、複数のユーザ間の距離を計測する距離計測システムに適用できる。 As an application example of the present invention, it can be applied to a distance measurement system that measures distances between a plurality of users.

Dx…2点間の経度の差
Dy…2点間の緯度の差
E…離心率
J…受信信号強度
Js…既知の受信信号強度
L…ユーザ端末装置5aと、ユーザ端末装置5bを含む他のユーザ端末装置との2点間の距離
Lb…近距離無線通信の通信距離
Lg…GPS22により計測される広域レベルの距離範囲
M…子午線曲率半径
N…卯酉線曲率半径
n…受信信号強度Jの減衰率(定数)
Py…2点間の緯度の平均
Ta1〜Ta3,Tb1〜Tb3…ユーザ6a,6bの移動ベクトル
W…子午線・卯酉線曲率半径の分母に使用される値
x1…ユーザ端末装置5aの現在位置の経度
x2…ユーザ端末装置5bを含む他のユーザ端末装置の現在位置の経度
y1…ユーザ端末装置5aの現在位置の緯度
y2…ユーザ端末装置5bを含む他のユーザ端末装置の現在位置の緯度
α…長半径
β…短半径
1…杖
1a…杖(第1の杖)
1b…杖(第2の杖)
1c…杖(第3の杖)
1d…杖(第4の杖)
2…BLE通信モジュール(近距離無線通信手段;第1、第2の近距離無線通信ユニット)
3…時計
4…カウンタ
5…ユーザ端末装置
5a…ユーザ6aのユーザ端末装置(第1のユーザ端末装置)
5b…ユーザ6bのユーザ端末装置(第2のユーザ端末装置)
5c…ユーザ6bのユーザ端末装置(第3のユーザ端末装置)
5d…ユーザ6bのユーザ端末装置(第4のユーザ端末装置)
6…ユーザ
6a…ユーザ(第1のユーザ)
6b…ユーザ(第2のユーザ)
6c…ユーザ(第3のユーザ)
6d…ユーザ(第4のユーザ)
7…サーバ装置
8…杖1a,1bの制御部(制御手段)
10…バイブレータ(振動手段)
11…発光装置(発光手段)
12…電源装置
15…ユーザ6a,6bのユーザ端末装置5a,5bの制御部
16…BLE通信モジュール(近距離無線通信手段;近距離無線通信ユニット)
17…アプリケーション
18…Webブラウザ
19…Webアプリケーション
31…杖1a,1bのメモリ
35…杖1a,1bのタイマ
20…ユーザ6a,6bのユーザ端末装置5a,5bのインターネット通信モジュール
21…ユーザ6a,6bのユーザ端末装置5a,5bの画面入出力部
22…GPS(測位手段)
24…バイブレータ
25…スピーカ
26…ユーザ6a,6bのユーザ端末装置5a,5bのタイマ
27…データベース
28…ユーザ6a,6bのユーザ端末装置5a,5bのメモリ
32…サーバ装置7の制御部(測位手段)
33…サーバ装置7のメモリ
34…ユーザ6a,6bのユーザ端末装置5a,5bの電源装置
Dx... Longitude difference between two points Dy... Latitude difference between two points E... Eccentricity J... Received signal strength Js... Known received signal strength L... Others including the user terminal device 5a and the user terminal device 5b Distance between two points with user terminal device Lb...Communication distance for short-distance wireless communication Lg...Distance range of wide level measured by GPS 22 M...Meridional radius of curvature N...Rainbow radius of curvature n...Received signal strength J Attenuation rate (constant)
Py... Average of latitude between two points Ta1 to Ta3, Tb1 to Tb3... Movement vector of users 6a and 6b W... Value used for denominator of radius of curvature of meridian and rooster line x1... of current position of user terminal device 5a Longitude x2...Longitude of current position of other user terminal device including user terminal device 5b y1...Latitude of current position of user terminal device 5a y2...Latitude of current position of other user terminal device including user terminal device 5b α... Major radius β... Minor radius 1... Cane 1a... Cane (first cane)
1b... cane (second cane)
1c... cane (third cane)
1d... Cane (4th cane)
2... BLE communication module (short-range wireless communication means; first and second short-range wireless communication units)
3... Clock 4... Counter 5... User Terminal Device 5a... User Terminal Device of User 6a (First User Terminal Device)
5b... User terminal device of user 6b (second user terminal device)
5c... User terminal device of user 6b (third user terminal device)
5d... User terminal device of user 6b (fourth user terminal device)
6... User 6a... User (first user)
6b... User (second user)
6c... User (third user)
6d... User (fourth user)
7... Server device 8... Control unit (control means) for the canes 1a and 1b
10... Vibrator (vibration means)
11... Light emitting device (light emitting means)
12... Power supply device 15... Control part of user terminal devices 5a and 5b of users 6a and 6b 16... BLE communication module (short-distance wireless communication means; short-distance wireless communication unit)
Reference numeral 17... Application 18... Web browser 19... Web application 31... Memory of canes 1a and 1b 35... Timers of canes 1a and 1b 20... Internet communication module 21 of user terminals 5a and 5b of users 6a and 6b 21... Users 6a and 6b Screen input/output unit 22 of the user terminal devices 5a and 5b of... GPS (positioning means)
24... Vibrator 25... Speaker 26... Timer of user terminal device 5a, 5b of user 6a, 6b 27... Database 28... Memory of user terminal device 5a, 5b of user 6a, 6b 32... Control part of server device 7 (positioning means) )
33... Memory of server device 34... Power supply device of user terminal devices 5a, 5b of users 6a, 6b

Claims (9)

第1のユーザ端末装置と、
第2のユーザ端末装置と、
サーバ装置と、
を有する距離計測システムであって、
前記第1のユーザ端末装置と第2のユーザ端末装置との間で受信電波強度を検知して互いの距離を計測することができる近距離無線通信手段と、
前記第1のユーザ端末装置の第1の位置情報と、第2のユーザ端末装置の第2の位置情報とが前記サーバ装置に送信されて前記第1の位置情報と前記第2の位置情報とから互いの距離を計測することができる測位手段と、
前記第1のユーザ端末装置と前記第2のユーザ端末装置との距離の変化に応じて、所定の距離を閾値として前記近距離無線通信手段による距離の計測と前記測位手段による距離の計測とを切り替える切替手段と、
を有することを特徴とする距離計測システム。
A first user terminal device;
A second user terminal device;
A server device,
A distance measuring system having
Short-distance wireless communication means capable of detecting the intensity of received radio waves between the first user terminal device and the second user terminal device and measuring the distance between them.
The first position information of the first user terminal device and the second position information of the second user terminal device are transmitted to the server device, and the first position information and the second position information are transmitted. Positioning means that can measure the distance from each other,
Depending on the change in the distance between the first user terminal device and the second user terminal device, the distance measurement by the short-range wireless communication means and the distance measurement by the positioning means are performed with a predetermined distance as a threshold value. Switching means for switching,
A distance measuring system comprising:
前記切替手段は、
前記第1のユーザ端末装置と前記第2のユーザ端末装置との距離が前記閾値以上であれば、前記測位手段により前記距離を計測し、
前記第1のユーザ端末装置と前記第2のユーザ端末装置との距離が前記閾値未満であれば、前記近距離無線通信手段により前記距離を計測することを特徴とする請求項1に記載の距離計測システム。
The switching means is
If the distance between the first user terminal device and the second user terminal device is greater than or equal to the threshold value, the distance is measured by the positioning means,
The distance according to claim 1, wherein if the distance between the first user terminal device and the second user terminal device is less than the threshold value, the short-distance wireless communication unit measures the distance. Measuring system.
第1のユーザが所持する第1のユーザ端末装置と、
第2のユーザが所持する第2のユーザ端末装置と、
前記第1のユーザが所持する第1の近距離無線通信ユニットと、
前記第2のユーザが所持する第2の近距離無線通信ユニットと、
サーバ装置と、
を有する距離計測システムであって、
前記第1の近距離無線通信ユニットと前記第2の近距離無線通信ユニットとの間で受信電波強度を検知して互いの距離を計測することができる近距離無線通信手段と、
前記第1のユーザ端末装置の第1の位置情報と、第2のユーザ端末装置の第2の位置情報とが前記サーバ装置に送信されて前記第1の位置情報と前記第2の位置情報とから互いの距離を計測することができる測位手段と、
前記第1のユーザと前記第2のユーザとの距離の変化に応じて、所定の距離を閾値として前記近距離無線通信手段による距離の計測と前記測位手段による距離の計測とを切り替える切替手段と、
を有することを特徴とする距離計測システム。
A first user terminal device carried by the first user;
A second user terminal device carried by the second user;
A first short-range wireless communication unit carried by the first user;
A second short-range wireless communication unit carried by the second user;
A server device,
A distance measuring system having
Short-distance wireless communication means capable of detecting the intensity of received radio waves between the first short-distance wireless communication unit and the second short-distance wireless communication unit to measure the distance between them.
The first position information of the first user terminal device and the second position information of the second user terminal device are transmitted to the server device, and the first position information and the second position information are transmitted. Positioning means that can measure the distance from each other,
Switching means for switching between measurement of the distance by the short-distance wireless communication means and measurement of the distance by the positioning means with a predetermined distance as a threshold value according to a change in the distance between the first user and the second user. ,
A distance measuring system comprising:
前記切替手段は、
前記第1のユーザと前記第2のユーザとの距離が前記閾値以上であれば、前記測位手段により前記距離を計測し、
前記第1のユーザと前記第2のユーザとの距離が前記閾値未満であれば、前記近距離無線通信手段により前記距離を計測することを特徴とする請求項3に記載の距離計測システム。
The switching means is
If the distance between the first user and the second user is greater than or equal to the threshold value, the distance is measured by the positioning unit,
The distance measuring system according to claim 3, wherein if the distance between the first user and the second user is less than the threshold value, the short distance wireless communication unit measures the distance.
前記第1の近距離無線通信ユニットは、前記第1のユーザが所持する第1の杖に設けられ、
前記第2の近距離無線通信ユニットは、前記第2のユーザが所持する第2の杖に設けられ、
前記第1、第2の杖は、それぞれ発光手段と振動手段の少なくとも1つを有し、
前記切替手段により前記近距離無線通信手段による距離の計測と前記測位手段による距離の計測とを切り替えたときに前記第1、第2の近距離無線通信ユニットが受信した制御信号により前記発光手段の発光状態と前記振動手段の振動状態の少なくとも1つを制御する制御手段と、
を有することを特徴とする請求項3または請求項4に記載の距離計測システム。
The first short-range wireless communication unit is provided on a first cane carried by the first user,
The second short-range wireless communication unit is provided on a second cane carried by the second user,
The first and second canes each include at least one of a light emitting means and a vibrating means,
When the switching unit switches between the distance measurement by the short-range wireless communication unit and the distance measurement by the positioning unit, the control signal received by the first and second short-range wireless communication units causes the light-emitting unit to operate. Control means for controlling at least one of a light emitting state and a vibrating state of the vibrating means;
The distance measuring system according to claim 3 or 4, further comprising:
前記第1、第2の杖は、視覚障害者が歩行補助用に使用する杖であることを特徴とする請求項5に記載の距離計測システム。 The distance measuring system according to claim 5, wherein the first and second walking sticks are walking sticks used by a visually impaired person to assist walking. 第1のユーザ端末装置と、第2のユーザ端末装置と、サーバ装置と、を有する距離計測システムを制御するプログラムにおいて、
コンピュータを、
前記第1のユーザ端末装置と第2のユーザ端末装置との間で受信電波強度を検知して互いの距離を計測することができる近距離無線通信手段と、
前記第1のユーザ端末装置の第1の位置情報と、第2のユーザ端末装置の第2の位置情報とが前記サーバ装置に送信されて前記第1の位置情報と前記第2の位置情報とから互いの距離を計測することができる測位手段と、
前記第1のユーザ端末装置と前記第2のユーザ端末装置との距離の変化に応じて、所定の距離を閾値として前記近距離無線通信手段による距離の計測と前記測位手段による距離の計測とを切り替える切替手段と、
して機能させるためのプログラム。
In a program for controlling a distance measuring system having a first user terminal device, a second user terminal device, and a server device,
Computer,
Short-distance wireless communication means capable of detecting the intensity of received radio waves between the first user terminal device and the second user terminal device and measuring the distance between them.
The first position information of the first user terminal device and the second position information of the second user terminal device are transmitted to the server device, and the first position information and the second position information are transmitted. Positioning means that can measure the distance from each other,
Depending on the change in the distance between the first user terminal device and the second user terminal device, the distance measurement by the short-range wireless communication means and the distance measurement by the positioning means are performed with a predetermined distance as a threshold value. Switching means for switching,
A program to make it work.
第1のユーザが所持する第1のユーザ端末装置と、第2のユーザが所持する第2のユーザ端末装置と、前記第1のユーザが所持する第1の近距離無線通信ユニットと、前記第2のユーザが所持する第2の近距離無線通信ユニットと、サーバ装置と、を有する距離計測システムを制御するプログラムにおいて、
コンピュータを、
前記第1の近距離無線通信ユニットと前記第2の近距離無線通信ユニットとの間で受信電波強度を検知して互いの距離を計測することができる近距離無線通信手段と、
前記第1のユーザ端末装置の第1の位置情報と、第2のユーザ端末装置の第2の位置情報とが前記サーバ装置に送信されて前記第1の位置情報と前記第2の位置情報とから互いの距離を計測することができる測位手段と、
前記第1のユーザと前記第2のユーザとの距離の変化に応じて、所定の距離を閾値として前記近距離無線通信手段による距離の計測と前記測位手段による距離の計測とを切り替える切替手段と、
して機能させるためのプログラム。
A first user terminal device carried by a first user, a second user terminal device carried by a second user, a first short-range wireless communication unit carried by the first user, and the first user terminal device In a program for controlling a distance measuring system having a second short-range wireless communication unit possessed by two users and a server device,
Computer,
Short-distance wireless communication means capable of detecting the intensity of received radio waves between the first short-distance wireless communication unit and the second short-distance wireless communication unit to measure the distance between them.
The first position information of the first user terminal device and the second position information of the second user terminal device are transmitted to the server device to generate the first position information and the second position information. Positioning means that can measure the distance from each other,
Switching means for switching between measurement of the distance by the short-distance wireless communication means and measurement of the distance by the positioning means with a predetermined distance as a threshold value according to a change in the distance between the first user and the second user. ,
A program to make it work.
前記第1の近距離無線通信ユニットは、前記第1のユーザが所持する第1の杖に設けられ、
前記第2の近距離無線通信ユニットは、前記第2のユーザが所持する第2の杖に設けられ、
前記第1、第2の杖は、それぞれ発光手段と振動手段の少なくとも1つを有し、
コンピュータを、
前記切替手段により前記近距離無線通信手段による距離の計測と前記測位手段による距離の計測とを切り替えたときに前記第1、第2の近距離無線通信ユニットが受信した制御信号により前記発光手段の発光状態と前記振動手段の振動状態の少なくとも1つを制御する制御手段と、
して機能させるための請求項8に記載のプログラム。
The first short-range wireless communication unit is provided on a first cane carried by the first user,
The second short-range wireless communication unit is provided on a second cane carried by the second user,
The first and second canes each include at least one of a light emitting means and a vibrating means,
Computer,
When the switching unit switches between the distance measurement by the short-range wireless communication unit and the distance measurement by the positioning unit, the control signal received by the first and second short-range wireless communication units causes the light-emitting unit to operate. Control means for controlling at least one of a light emitting state and a vibrating state of the vibrating means;
The program according to claim 8, which is caused to function by being executed.
JP2018244426A 2018-12-27 2018-12-27 Distance measurement system and program Active JP7274141B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018244426A JP7274141B2 (en) 2018-12-27 2018-12-27 Distance measurement system and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018244426A JP7274141B2 (en) 2018-12-27 2018-12-27 Distance measurement system and program

Publications (2)

Publication Number Publication Date
JP2020106363A true JP2020106363A (en) 2020-07-09
JP7274141B2 JP7274141B2 (en) 2023-05-16

Family

ID=71448807

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018244426A Active JP7274141B2 (en) 2018-12-27 2018-12-27 Distance measurement system and program

Country Status (1)

Country Link
JP (1) JP7274141B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022130674A1 (en) * 2020-12-18 2022-06-23 株式会社Jvcケンウッド Contact degree confirmation device and contact degree confirmation system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002027571A (en) * 2000-07-05 2002-01-25 Toshiba Corp Communication terminal and radio terminal which are used in electric apparatus control system
JP2003272062A (en) * 2002-03-18 2003-09-26 Hitachi Ltd Warning generating method and device
JP2005184065A (en) * 2003-12-16 2005-07-07 Vodafone Kk Mutual confirmation system of position of mobile station
JP2016115164A (en) * 2014-12-16 2016-06-23 コニカミノルタ株式会社 Guide system and guiding support device
JP2018509669A (en) * 2014-12-19 2018-04-05 アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited Information push method and device
JP2018066577A (en) * 2016-10-17 2018-04-26 一般財団法人 衛星測位利用推進センター Positioning processing system, method, computer program, positioning processing device and user terminal
WO2018145571A1 (en) * 2017-02-10 2018-08-16 Dongxia Datong (Beijing) Management And Consulting Co., Ltd. Systems and methods for vehicle sharing service

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002027571A (en) * 2000-07-05 2002-01-25 Toshiba Corp Communication terminal and radio terminal which are used in electric apparatus control system
JP2003272062A (en) * 2002-03-18 2003-09-26 Hitachi Ltd Warning generating method and device
JP2005184065A (en) * 2003-12-16 2005-07-07 Vodafone Kk Mutual confirmation system of position of mobile station
JP2016115164A (en) * 2014-12-16 2016-06-23 コニカミノルタ株式会社 Guide system and guiding support device
JP2018509669A (en) * 2014-12-19 2018-04-05 アリババ・グループ・ホールディング・リミテッドAlibaba Group Holding Limited Information push method and device
JP2018066577A (en) * 2016-10-17 2018-04-26 一般財団法人 衛星測位利用推進センター Positioning processing system, method, computer program, positioning processing device and user terminal
WO2018145571A1 (en) * 2017-02-10 2018-08-16 Dongxia Datong (Beijing) Management And Consulting Co., Ltd. Systems and methods for vehicle sharing service

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022130674A1 (en) * 2020-12-18 2022-06-23 株式会社Jvcケンウッド Contact degree confirmation device and contact degree confirmation system

Also Published As

Publication number Publication date
JP7274141B2 (en) 2023-05-16

Similar Documents

Publication Publication Date Title
Rukzio et al. Design, implementation and evaluation of a novel public display for pedestrian navigation: the rotating compass
RU2417437C2 (en) Displaying network objects on mobile devices based on geolocation
KR101487944B1 (en) Augmented reality panorama supporting visually imparired individuals
KR101373007B1 (en) Method for identifying peripheral device and apparatus thereof
JP2017513410A (en) Personal work system that can be dynamically combined and adjusted
CN104639737B (en) Mobile terminal and its control method
US20200318988A1 (en) Methods, systems, and devices for displaying maps
CN103945108A (en) Information provision system, server system, terminal device and information provision method
CN103024497A (en) Method, system and switching method for making friends by controlling smart television through mobile phone
CN108326875B (en) Communication control method and apparatus, telepresence robot, and storage medium
CN101339725A (en) Introduction system, device and method of exhibit
WO2014155851A1 (en) Location estimation device, lo cation estimation method, terminal of concern, communication method, communication terminal, recording medium, and location estimation system
CN101479689A (en) NFC enabled pointing with a mobile device
CN110399570B (en) Geographic object recommendation method, device and storage medium
CN103688572A (en) Systems and methods for audio roaming for mobile devices, group information server among mobile devices, and defining group of users with mobile devices
Ang et al. Information communication assistive technologies for visually impaired people
JP7274141B2 (en) Distance measurement system and program
CN105516480A (en) Method and system for preventing target person from being lost
Baranski et al. Field trials of a teleassistance system for the visually impaired
JP2013179586A (en) Terminal cooperation control system, terminal, controller, and terminal cooperation control method
JP2018121322A (en) Communication control method, communication controller, telepresence robot, and communication control program
JP4113108B2 (en) Mobile station location mutual confirmation system
JP6818439B2 (en) Wearable devices, information processing devices, their control methods, and programs
JP5410857B2 (en) Map information providing system and map information providing method
JP4539264B2 (en) Information processing apparatus and method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211007

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220829

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220906

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20221031

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230105

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230420

R150 Certificate of patent or registration of utility model

Ref document number: 7274141

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150