Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6282605B2 - Connection setting method, server, and program - Google Patents
[go: Go Back, main page]

JP6282605B2 - Connection setting method, server, and program - Google Patents

Connection setting method, server, and program Download PDF

Info

Publication number
JP6282605B2
JP6282605B2 JP2015035722A JP2015035722A JP6282605B2 JP 6282605 B2 JP6282605 B2 JP 6282605B2 JP 2015035722 A JP2015035722 A JP 2015035722A JP 2015035722 A JP2015035722 A JP 2015035722A JP 6282605 B2 JP6282605 B2 JP 6282605B2
Authority
JP
Japan
Prior art keywords
signal
server
unit
slave unit
slave
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.)
Expired - Fee Related
Application number
JP2015035722A
Other languages
Japanese (ja)
Other versions
JP2016158173A (en
Inventor
義行 美原
義行 美原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Inc
NTT Inc USA
Original Assignee
Nippon Telegraph and Telephone Corp
NTT Inc USA
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 Nippon Telegraph and Telephone Corp, NTT Inc USA filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2015035722A priority Critical patent/JP6282605B2/en
Publication of JP2016158173A publication Critical patent/JP2016158173A/en
Application granted granted Critical
Publication of JP6282605B2 publication Critical patent/JP6282605B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Description

本発明は、1つ以上の子機と、複数の親機と、を備える通信システムにおけるネットワークの接続設定方法、サーバ、およびプログラムに関し、特に、親機のリソースが限られている場合であっても子機と親機との接続を確立可能な接続設定方法、サーバ、およびプログラムに関する。   The present invention relates to a network connection setting method, a server, and a program in a communication system including one or more slave units and a plurality of master units, and particularly, when the resources of the master unit are limited. The present invention also relates to a connection setting method, a server, and a program that can establish a connection between a child device and a parent device.

従来、子機と親機とが通信を行う通信システムにおいて、子機と親機との接続を確立するために、子機の接続ID(例えば、SSIDまたはPAN−IDなど)が用いられることがある。例えば、特許文献1には、親機が子機の位置情報を取得し、子機の周囲の情報を事前に取得する手法が開示されている。当該手法を利用することによって、親機が自装置の近傍に存在する子機の接続IDを事前に把握することが可能である。   Conventionally, in a communication system in which a slave unit and a master unit communicate with each other, a connection ID (for example, SSID or PAN-ID) of the slave unit is used to establish a connection between the slave unit and the master unit. is there. For example, Patent Literature 1 discloses a method in which a parent device acquires position information of a child device and information around the child device is acquired in advance. By using this method, it is possible for the parent device to grasp in advance the connection ID of the child device existing in the vicinity of the own device.

特開平10−21259号公報Japanese Patent Laid-Open No. 10-21259

しかしながら、従来の手法は、親機側に複数の子機の情報を設定する必要があるため、親機のリソースが限られている場合、子機と親機との間で必ずしも接続を確立できない。   However, since the conventional method needs to set information of a plurality of slave units on the master unit side, when the resources of the master unit are limited, a connection cannot always be established between the slave unit and the master unit. .

かかる事情に鑑みてなされた本発明の目的は、親機のリソースが限られている場合であっても子機と親機との間で接続を確立可能な接続設定方法、サーバ、およびプログラムを提供することにある。   An object of the present invention made in view of such circumstances is to provide a connection setting method, server, and program capable of establishing a connection between a child device and the parent device even when the resources of the parent device are limited. It is to provide.

上記課題を解決するために本発明に係る接続設定方法は、1つ以上の子機と、前記1つ以上の子機を収容可能な複数の親機と、エリア毎に設けられ該エリア内に設置された前記親機と通信可能な複数の代表サーバと、を備える通信システムにおけるネットワークの接続設定方法であって、前記1つ以上の子機が、自装置の子機IDおよび接続IDをそれぞれ記憶するステップと、前記複数の代表サーバが、前記1つ以上の子機の前記子機IDと、前記接続IDと、検索順位と、を対応付けた子機情報データベースをそれぞれ記憶するステップと、前記子機が、自装置の前記子機IDを含む第1の信号を出力するステップと、出力された前記第1の信号を受信した前記親機が、前記第1の信号に含まれる前記子機IDと、前記第1の信号の受信電波強度と、を含む第2の信号を、自装置が設置されたエリアに対応する前記代表サーバに送信するステップと、前記第2の信号を受信した前記代表サーバが、前記第2の信号に含まれる前記子機IDをクエリとして、検索順位が上位である子機IDから順番に前記子機情報データベースを検索するステップと、前記第2の信号に含まれる前記受信電波強度に応じて、前記第2の信号に含まれる前記子機IDに対応する前記検索順位を変動させて前記子機情報データベースを更新するステップと、前記第2の信号に含まれる前記子機IDに対応する前記接続IDを、前記子機情報データベースから抽出して前記親機に送信するステップと、前記親機が、前記代表サーバから受信した前記接続IDを前記子機に送信するステップと、前記子機が、前記親機から受信した前記接続IDと、自装置が記憶する前記接続IDと、が一致する場合、前記親機との接続を確立するステップと、を含むことを特徴とする。   In order to solve the above problems, a connection setting method according to the present invention includes one or more slave units, a plurality of master units capable of accommodating the one or more slave units, and provided in each area. A network connection setting method in a communication system comprising a plurality of representative servers capable of communicating with the installed master device, wherein the one or more slave devices each have their own slave device ID and connection ID. A step of storing, a step of storing each of the plurality of representative servers in a handset information database in which the handset ID of the one or more handset, the connection ID, and the search order are associated with each other; The child device includes a step of outputting a first signal including the child device ID of the device itself, and the parent device that has received the output first signal includes the child included in the first signal. Machine ID and reception of the first signal Transmitting the second signal including the wave intensity to the representative server corresponding to the area where the device is installed, and the representative server receiving the second signal uses the second signal as the second signal. Searching the slave unit information database in order from the slave unit ID having the highest search order using the slave unit ID included as a query, and according to the received radio wave intensity included in the second signal, Updating the slave unit information database by changing the search order corresponding to the slave unit ID included in the second signal; and the connection ID corresponding to the slave unit ID included in the second signal. Are extracted from the slave unit information database and transmitted to the master unit, the master unit transmits the connection ID received from the representative server to the slave unit, and the slave unit is If said connection ID received from the parent device, and the connection ID when the device itself stores, matches, characterized in that it comprises the steps of: establishing a connection with the master unit.

また、本発明に係るサーバは、1つ以上の子機と、前記1つ以上の子機を収容可能な複数の親機と、エリア毎に設けられ該エリア内に設置された前記親機と通信可能な複数の代表サーバと、を備える通信システムの前記代表サーバとして機能するサーバであって、前記複数の子機の子機IDと、接続IDと、検索順位と、をそれぞれ対応付けた子機情報データベースを記憶する記憶部と、前記子機が出力した前記子機の前記子機IDを含む第1の信号を受信した前記親機から、前記第1の信号に含まれる前記子機IDと、前記第1の信号の受信電波強度と、を含む第2の信号を受信し、前記第2の信号に含まれる前記子機IDをクエリとして、検索順位が上位である子機IDから順番に前記子機情報データベースを検索し、前記第2の信号に含まれる前記受信電波強度に応じて、前記第2の信号に含まれる前記子機IDに対応する前記検索順位を変動させて前記子機情報データベースを更新し、前記第2の信号に含まれる前記子機IDに対応する前記接続IDを、前記子機情報データベースから抽出して前記親機に送信する制御部と、を備えることを特徴とする。   The server according to the present invention includes one or more slave units, a plurality of master units capable of accommodating the one or more slave units, and the master unit provided in each area and installed in the area. A server functioning as the representative server of a communication system comprising a plurality of communicable representative servers, each of which associates a slave unit ID, a connection ID, and a search order of the plurality of slave units. A storage unit for storing a machine information database; and the slave unit ID included in the first signal from the master unit receiving the first signal including the slave unit ID of the slave unit output by the slave unit A second signal including the received signal strength of the first signal, and using the child device ID included in the second signal as a query, the child device ID having the highest search order is ordered. The slave device information database is searched for and the second signal is In response to the received radio wave strength, the search order corresponding to the child device ID included in the second signal is changed to update the child device information database, and the second signal is included in the second signal. And a control unit that extracts the connection ID corresponding to the child device ID from the child device information database and transmits the extracted connection ID to the parent device.

また、本発明に係るプログラムは、1つ以上の子機と、前記1つ以上の子機を収容可能な複数の親機と、エリア毎に設けられ該エリア内に設置された前記親機と通信可能な複数の代表サーバと、を備える通信システムの前記代表サーバとして機能するサーバに、前記複数の子機の子機IDと、接続IDと、検索順位と、をそれぞれ対応付けた子機情報データベースを記憶部に記憶するステップと、前記子機が出力した自装置の前記子機IDを含む第1の信号を受信した前記親機から、前記第1の信号に含まれる前記子機IDと、前記第1の信号の受信電波強度と、を含む第2の信号を受信するステップと、前記第2の信号に含まれる前記子機IDをクエリとして、検索順位が上位である子機IDから順番に前記子機情報データベースを検索するステップと、前記第2の信号に含まれる前記受信電波強度に応じて、前記第2の信号に含まれる前記子機IDに対応する前記検索順位を変動させて前記子機情報データベースを更新するステップと、前記第2の信号に含まれる前記子機IDに対応する前記接続IDを、前記子機情報データベースから抽出して前記親機に送信するステップと、を実行させることを特徴とする。   Further, the program according to the present invention includes one or more slave units, a plurality of master units capable of accommodating the one or more slave units, and the master unit provided in each area and installed in the area. Slave unit information in which a slave unit ID, a connection ID, and a search order of each of the slave units are associated with a server functioning as the representative server of a communication system including a plurality of representative servers capable of communication A step of storing a database in a storage unit; and the slave unit ID included in the first signal from the master unit that has received the first signal including the slave unit ID of the own device output by the slave unit; , Receiving a second signal including the received radio wave intensity of the first signal, and using the slave unit ID included in the second signal as a query, from the slave unit ID having the highest search order Search the handset information database in order. And updating the slave unit information database by changing the search order corresponding to the slave unit ID included in the second signal according to the received radio wave intensity included in the second signal. And extracting the connection ID corresponding to the child device ID included in the second signal from the child device information database and transmitting it to the parent device.

本発明に係る接続設定方法、サーバ、およびプログラムによれば、親機のリソースが限られている場合であっても子機と親機との間で接続が確立可能である。   According to the connection setting method, server, and program according to the present invention, a connection can be established between a slave unit and a master unit even when resources of the master unit are limited.

本発明の一実施形態に係る通信システムの概略構成を示す図である。It is a figure which shows schematic structure of the communication system which concerns on one Embodiment of this invention. 図1の子機の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the subunit | mobile_unit of FIG. 図1の親機の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the main | base station of FIG. 図3の収容子機DBの例を示す図である。It is a figure which shows the example of accommodation subunit | mobile_unit DB of FIG. 図1の代表サーバの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the representative server of FIG. 図5の親機情報DBの例を示す図である。It is a figure which shows the example of the main | base station information DB of FIG. 図5の子機情報DBの例を示す図である。It is a figure which shows the example of the subunit | mobile_unit information DB of FIG. 図1の統合サーバの概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the integrated server of FIG. 図8の代表サーバDBの例を示す図である。It is a figure which shows the example of representative server DB of FIG. 図8の子機リストの例を示す図である。It is a figure which shows the example of the subunit | mobile_unit list | wrist of FIG. 図1の通信システムが実行する処理を説明するフローチャート図である。It is a flowchart figure explaining the process which the communication system of FIG. 1 performs. 図1の通信システムが実行する処理を説明するフローチャート図である。It is a flowchart figure explaining the process which the communication system of FIG. 1 performs. 図1の通信システムが実行する処理を説明するフローチャート図である。It is a flowchart figure explaining the process which the communication system of FIG. 1 performs. 図1の通信システムが実行する処理を説明するフローチャート図である。It is a flowchart figure explaining the process which the communication system of FIG. 1 performs.

以下、本発明の実施形態について説明する。   Hereinafter, embodiments of the present invention will be described.

はじめに、本発明の一実施形態に係るサーバを備える通信システムの概要について説明する。図1に示すように、通信システム10は、子機11と、複数の親機12と、複数の代表サーバ13と、統合サーバ14と、を備える。図1においては簡便のため、子機11は1つのみ図示しているが、通信システム10は2つ以上の子機11を備えてもよい。   First, an outline of a communication system including a server according to an embodiment of the present invention will be described. As shown in FIG. 1, the communication system 10 includes a slave unit 11, a plurality of master units 12, a plurality of representative servers 13, and an integrated server 14. In FIG. 1, for convenience, only one slave unit 11 is illustrated, but the communication system 10 may include two or more slave units 11.

子機11は、例えばバイタルセンサまたは車載センサなどの移動端末装置である。子機11のユーザは、例えばバイタルセンサを子機11とした健康管理サービスまたは車載センサを子機11とした車両状態監視サービスなど、子機11を用いたサービスに加入するために、子機11に関する情報、例えば、MACアドレスなどの子機IDと、SSIDまたはPAN−IDなどの接続IDと、を当該サービスの提供者に連絡する。   The subunit | mobile_unit 11 is mobile terminal apparatuses, such as a vital sensor or a vehicle-mounted sensor, for example. A user of the slave unit 11 is required to subscribe to a service using the slave unit 11 such as a health management service using a vital sensor as the slave unit 11 or a vehicle state monitoring service using a vehicle-mounted sensor as the slave unit 11. Information related to the service, for example, a slave ID such as a MAC address and a connection ID such as SSID or PAN-ID are communicated to the service provider.

親機12は、例えば無線通信によって子機11との間で情報の送受信が可能な基地局装置であって、近傍に存在する子機11を収容する。また、親機12は、例えばインターネットなどのIPネットワーク15を介して代表サーバ13と通信可能である。   The base unit 12 is a base station device capable of transmitting and receiving information to and from the handset 11 by wireless communication, for example, and accommodates the handset 11 existing in the vicinity. In addition, the base unit 12 can communicate with the representative server 13 via an IP network 15 such as the Internet.

代表サーバ13は、任意の1つの地理的なエリアに対応して設けられ、当該エリア内に設置された親機12と通信可能である。例えば、図1に示す代表サーバ13aは、エリアA内に設置された親機12aと通信可能である。また、代表サーバ13bは、エリアB内に設置された親機12bと通信可能である。   The representative server 13 is provided corresponding to any one geographical area, and can communicate with the parent device 12 installed in the area. For example, the representative server 13a illustrated in FIG. 1 can communicate with the parent device 12a installed in the area A. In addition, the representative server 13b can communicate with the parent device 12b installed in the area B.

統合サーバ14は、IPネットワーク15を介して、通信システム10が備える全ての代表サーバ13と通信可能である。また、統合サーバ14には、サービス提供者の入力によって、通信システム10が備える全ての子機11に関する情報、例えば子機IDおよび接続IDが登録(記憶)されている。   The integrated server 14 can communicate with all the representative servers 13 included in the communication system 10 via the IP network 15. The integrated server 14 registers (stores) information related to all the slave units 11 included in the communication system 10, such as a slave unit ID and a connection ID, according to the input of the service provider.

次に、通信システム10の各構成要素について説明する。図2に示すように、子機11は、子機通信部16と、子機記憶部17と、子機制御部18と、を備える。   Next, each component of the communication system 10 will be described. As shown in FIG. 2, the child device 11 includes a child device communication unit 16, a child device storage unit 17, and a child device control unit 18.

子機通信部16は、無線通信によって情報の送受信を行うインターフェースである。本実施形態において、子機通信部16は、無線通信によって親機12との間で情報の送受信を行う。   The subunit | mobile_unit communication part 16 is an interface which transmits / receives information by radio | wireless communication. In this embodiment, the subunit | mobile_unit communication part 16 transmits / receives information between the main | base stations 12 by radio | wireless communication.

子機記憶部17は、例えばメモリであって、子機11の動作に必要なプログラムおよび多様な情報を記憶する。例えば、子機記憶部17は、子機11の子機IDおよび接続IDを記憶する。   The subunit | mobile_unit memory | storage part 17 is memory, for example, Comprising: A program required for operation | movement of the subunit | mobile_unit 11 and various information are memorize | stored. For example, the handset storage unit 17 stores the handset ID and connection ID of the handset 11.

子機制御部18は、例えば専用のマイクロプロセッサまたは特定のプログラムを読み込むことによって特定の処理を実行する汎用のCPUである。子機制御部18は、子機11の動作全体を制御する。   The subunit | mobile_unit control part 18 is a general purpose CPU which performs a specific process, for example by reading a specific microprocessor or a specific program. The handset controller 18 controls the entire operation of the handset 11.

例えば、子機制御部18は、何れの親機12とも接続を確立していない場合、または接続先の親機12から受信する信号の受信電波強度が所定の閾値以下となった場合、新たな接続先の親機12を検索するために、子機11の子機IDを含む第1の信号を出力する。また、子機制御部18は、何れかの親機12と接続を確立している場合、第1の信号を出力する。第1の信号を出力することは、例えば子機制御部18が能動的に報知(ブロードキャスト)することであってもよく、親機12が報知したビーコン信号の受信に応じて当該親機12に送信することであってもよい。   For example, when the slave unit control unit 18 has not established a connection with any of the master units 12 or when the received radio wave intensity of the signal received from the master unit 12 to be connected is equal to or lower than a predetermined threshold, In order to search for the parent device 12 of the connection destination, a first signal including the child device ID of the child device 11 is output. Moreover, the subunit | mobile_unit control part 18 outputs a 1st signal, when the connection with one of the main | base stations 12 is established. The output of the first signal may be, for example, that the slave unit control unit 18 actively reports (broadcasts), and responds to reception of the beacon signal notified by the master unit 12 to the master unit 12. It may be to transmit.

また、子機制御部18は、親機12から接続IDを受信すると、受信した接続IDと、子機記憶部17に記憶された接続IDとが一致するか否かを判断する。接続IDが一致する場合、子機制御部18は、親機12との間で、例えば一般的な認証処理を行い、無線通信の接続を確立する。子機制御部18は、複数の親機12から接続IDを受信している場合、例えば親機12が送信する信号の受信電波強度が大きい親機12を優先して接続を試みる。無線通信の接続が確立されると、子機11のユーザは、加入するサービスの提供を受けることができる。   In addition, when receiving the connection ID from the parent device 12, the child device control unit 18 determines whether or not the received connection ID matches the connection ID stored in the child device storage unit 17. If the connection IDs match, the handset controller 18 performs, for example, a general authentication process with the base unit 12 to establish a wireless communication connection. When receiving a connection ID from a plurality of parent devices 12, the child device control unit 18 tries to connect with priority given to, for example, the parent device 12 having a high received radio wave intensity of a signal transmitted from the parent device 12. When the wireless communication connection is established, the user of the slave unit 11 can receive the service to be subscribed to.

図3に示すように、親機12は、親機通信部19と、親機記憶部20と、親機制御部21と、を備える。   As shown in FIG. 3, base unit 12 includes base unit communication unit 19, base unit storage unit 20, and base unit control unit 21.

親機通信部19は、無線通信によって、およびIPネットワーク15を介して情報の送受信を行うインターフェースである。本実施形態において、親機通信部19は、無線通信によって子機11との間で情報の送受信を行い、IPネットワーク15を介して代表サーバ13との間で情報の送受信を行う。   The base unit communication unit 19 is an interface that transmits and receives information through wireless communication and through the IP network 15. In the present embodiment, the base unit communication unit 19 transmits / receives information to / from the slave unit 11 by wireless communication, and transmits / receives information to / from the representative server 13 via the IP network 15.

親機記憶部20は、例えばメモリであって、親機12の動作に必要なプログラムおよび多様な情報を記憶する。例えば、親機記憶部20は、親機12の親機ID(例えば、MACアドレス)、および親機12が設置されたエリア(設置エリア)に対応する代表サーバ13の代表サーバアドレス(例えば、IPアドレス)を記憶する。また、親機記憶部20は、収容子機データベース(DB)22を記憶する。   The base unit storage unit 20 is a memory, for example, and stores programs and various information necessary for the operation of the base unit 12. For example, the parent device storage unit 20 includes a parent device ID (for example, MAC address) of the parent device 12 and a representative server address (for example, IP address) of the representative server 13 corresponding to the area (installation area) in which the parent device 12 is installed. Address). In addition, the parent device storage unit 20 stores an accommodation child device database (DB) 22.

収容子機DB22は、親機12と接続を確立した子機11に関する情報を含む。例えば図4に示すように、収容子機DB22は、親機12と接続を確立した子機11の子機IDおよび接続IDに対応付けて、接続日時を含む。接続日時は、対応する子機11との間で接続を確立した最新の日時を示す。   The accommodation child device DB 22 includes information regarding the child device 11 that has established a connection with the parent device 12. For example, as shown in FIG. 4, the accommodation child device DB 22 includes a connection date and time in association with the child device ID and connection ID of the child device 11 that has established a connection with the parent device 12. The connection date / time indicates the latest date / time when the connection with the corresponding slave unit 11 is established.

図3に示す親機制御部21は、例えば専用のマイクロプロセッサまたは特定のプログラムを読み込むことによって特定の処理を実行する汎用のCPUである。親機制御部21は、親機12の動作全体を制御する。例えば、親機制御部21は、親機12の親機IDなどを含むビーコン信号を定期的に報知する。   3 is a general-purpose CPU that executes specific processing by reading a dedicated microprocessor or a specific program, for example. The base unit control unit 21 controls the entire operation of the base unit 12. For example, the base unit control unit 21 periodically notifies a beacon signal including the base unit ID of the base unit 12 and the like.

また、親機制御部21は、何れの親機12とも接続を確立していない子機11から第1の信号を受信する。親機制御部21は、第1の信号の受信電波強度(受信電界強度)を測定する。親機制御部21は、第1の信号に含まれる子機IDと、第1の信号の受信電波強度と、親機12の親機IDと、を含む信号第2の信号を、親機12の設置エリアに対応する代表サーバ13に送信する。親機制御部21は、第2の信号の送信に応じて代表サーバ13から接続IDを受信すると、受信した接続IDを子機11に送信する。また、親機制御部21は、子機11との間で、例えば一般的な認証処理を行い、無線通信の接続を確立する。   Further, the parent device control unit 21 receives the first signal from the child device 11 that has not established a connection with any parent device 12. Base unit control unit 21 measures the received radio wave intensity (received electric field intensity) of the first signal. The parent device control unit 21 outputs a second signal, which includes the child device ID included in the first signal, the received radio wave intensity of the first signal, and the parent device ID of the parent device 12, to the parent device 12. To the representative server 13 corresponding to the installation area. When receiving the connection ID from the representative server 13 in response to the transmission of the second signal, the parent device control unit 21 transmits the received connection ID to the child device 11. Further, the parent device control unit 21 performs, for example, a general authentication process with the child device 11 to establish a wireless communication connection.

また、親機制御部21は、何れかの親機12と接続を確立している子機11から第1の信号を受信する。親機制御部21は、第1の信号の受信電波強度を測定し、親機12の設置エリアに対応する代表サーバ13に第2の信号を送信する。   In addition, the parent device control unit 21 receives the first signal from the child device 11 that has established a connection with any of the parent devices 12. The base unit control unit 21 measures the received radio wave intensity of the first signal, and transmits the second signal to the representative server 13 corresponding to the installation area of the base unit 12.

図5に示すように、代表サーバ13は、代表サーバ通信部23と、代表サーバ記憶部24と、代表サーバ制御部25と、を備える。   As illustrated in FIG. 5, the representative server 13 includes a representative server communication unit 23, a representative server storage unit 24, and a representative server control unit 25.

代表サーバ通信部23は、IPネットワーク15を介して情報の送受信を行うインターフェースである。本実施形態において、代表サーバ通信部23は、IPネットワーク15を介して親機12または統合サーバ14との間で情報の送受信を行う。   The representative server communication unit 23 is an interface that transmits and receives information via the IP network 15. In the present embodiment, the representative server communication unit 23 transmits and receives information to and from the parent device 12 or the integrated server 14 via the IP network 15.

代表サーバ記憶部24は、例えばメモリであって、代表サーバ13の動作に必要なプログラムおよび多様な情報を記憶する。例えば、代表サーバ記憶部24は、代表サーバ13の代表サーバアドレスおよび代表サーバID(例えば、MACアドレス)と、統合サーバ14の統合サーバアドレス(例えば、IPアドレス)と、代表サーバ13に対応するエリアを示す情報と、を記憶する。また、代表サーバ記憶部24は、親機情報データベース(DB)26と、子機情報データベース(DB)27と、を記憶する。   The representative server storage unit 24 is, for example, a memory, and stores programs and various information necessary for the operation of the representative server 13. For example, the representative server storage unit 24 includes a representative server address and a representative server ID (for example, a MAC address) of the representative server 13, an integrated server address (for example, an IP address) of the integrated server 14, and an area corresponding to the representative server 13. Is stored. The representative server storage unit 24 stores a parent device information database (DB) 26 and a child device information database (DB) 27.

親機情報DB26は、代表サーバ13に対応するエリア内に設置された親機12に関する情報を含む。例えば図6に示すように、親機情報DB26は、エリア内に設置された親機12の親機IDおよび親機アドレス(例えば、IPアドレス)に対応付けて、住所を含む。住所は、対応する親機12が設置されている住所または位置情報(例えば、緯度および経度)である。   The parent device information DB 26 includes information related to the parent device 12 installed in the area corresponding to the representative server 13. For example, as shown in FIG. 6, the parent device information DB 26 includes an address in association with the parent device ID and the parent device address (for example, IP address) of the parent device 12 installed in the area. The address is an address or position information (for example, latitude and longitude) where the corresponding parent device 12 is installed.

子機情報DB27は、通信システム10が備える全ての子機11に関する情報を含む。例えば図7に示すように、子機情報DB27は、通信システム10が備える全ての子機11の子機IDおよび接続IDに対応付けて、検索順位と、スコアと、受信電波強度情報と、を含む。   The subunit | mobile_unit information DB27 contains the information regarding all the subunit | mobile_units 11 with which the communication system 10 is provided. For example, as shown in FIG. 7, the handset information DB 27 associates the handset IDs and connection IDs of all handset 11 included in the communication system 10 with search ranks, scores, and received signal strength information. Including.

検索順位は、代表サーバ制御部25が子機IDをクエリとして子機情報DB27を検索する際の検索順を規定する情報である。具体的には、検索順位が上位である子機IDから順番に、子機情報DB27が検索される。このようにして、検索順位が上位である子機IDほど、子機情報DB27の検索によって特定されるまでに要する時間が短縮される。検索順位は、スコアに応じて定められる。具体的には、スコアが大きいほど、検索順位が上位となるように、すなわち検索順が早くなるように定められる。   The search order is information that defines the search order when the representative server control unit 25 searches the handset information DB 27 using the handset ID as a query. Specifically, the handset information DB 27 is searched in order from the handset ID having the highest search order. In this way, the time required for the child device ID having the higher search order to be specified by the search of the child device information DB 27 is shortened. The search order is determined according to the score. Specifically, the higher the score, the higher the search order, that is, the faster the search order.

スコアは、検索順位を定めるために用いられるパラメータである。スコアは、対応する子機11によって出力された第1の信号の、代表サーバ13に対応するエリア内に設置された親機12によって測定された受信電波強度に基づいて定められる。具体的には、親機12によって測定された受信電波強度が大きいほど、スコアが大きくなるように定められる。本実施形態では、スコアは、エリア内に設置された親機12によって測定された受信電波強度の合計値であって、スコアの初期値はゼロである。スコアの初期値は、任意の値に定められてもよい。   The score is a parameter used to determine the search order. The score is determined based on the received radio wave intensity measured by the master unit 12 installed in the area corresponding to the representative server 13 of the first signal output by the corresponding slave unit 11. Specifically, the higher the received radio wave intensity measured by the parent device 12, the higher the score. In the present embodiment, the score is a total value of the received radio wave intensity measured by the parent device 12 installed in the area, and the initial value of the score is zero. The initial value of the score may be set to an arbitrary value.

受信電波強度情報は、対応する子機11によって出力された第1の信号の、代表サーバ13に対応するエリア内に設置された親機12によって測定された受信電波強度を示す情報である。具体的には、受信電波強度情報は、エリア内に設置された親機12毎に、親機IDと、測定された受信電波強度と、を含む。本実施形態では、上述したように、受信電波強度情報に含まれる受信電波強度の合計が、スコアに定められる。   The received radio wave intensity information is information indicating the received radio wave intensity of the first signal output by the corresponding slave unit 11 and measured by the master unit 12 installed in the area corresponding to the representative server 13. Specifically, the received radio wave intensity information includes a parent machine ID and a measured received radio wave intensity for each parent machine 12 installed in the area. In the present embodiment, as described above, the sum of the received radio wave strengths included in the received radio wave strength information is determined as the score.

図5に示す代表サーバ制御部25は、例えば専用のマイクロプロセッサまたは特定のプログラムを読み込むことによって特定の処理を実行する汎用のCPUである。代表サーバ制御部25は、代表サーバ13の動作全体を制御する。   The representative server control unit 25 illustrated in FIG. 5 is, for example, a general-purpose CPU that executes a specific process by reading a dedicated microprocessor or a specific program. The representative server control unit 25 controls the entire operation of the representative server 13.

例えば、代表サーバ制御部25は、統合サーバ14から子機IDおよび接続IDを受信すると、当該子機IDおよび接続IDを子機情報DB27に登録(追加)する。ここで初期状態として、当該子機IDに対応するスコアはゼロに定められ、検索順位は最下位に定められる。   For example, when receiving the slave unit ID and the connection ID from the integrated server 14, the representative server control unit 25 registers (adds) the slave unit ID and the connection ID in the slave unit information DB 27. Here, as an initial state, the score corresponding to the child machine ID is set to zero, and the search order is set to the lowest.

また、代表サーバ制御部25は、何れの親機12とも接続を確立していない子機11から第1の信号を受信した親機12から、第2の信号を受信する。代表サーバ制御部25は、第2の信号に含まれる子機IDをクエリとして、スコアに基づく検索順に、すなわち検索順位が上位である子機IDから順番に、子機情報DB27を検索する。代表サーバ制御部25は、検索によって特定した子機IDに対応する受信電波強度情報の、当該親機12の親機IDに対応する受信電波強度(例えば、0)を、第2の信号に含まれる受信電波強度(例えば、100)と等しくなるように変動させる。また、代表サーバ制御部25は、特定した子機IDに対応するスコアを変動(例えば、100増加)させて、子機情報DB27を更新する。そして、代表サーバ制御部25は、特定した子機IDに対応する接続IDを子機情報DB27から抽出して、当該親機12に送信する。上述の子機情報DB27の更新処理と、接続IDの送信処理と、は実行順序が逆であってもよい。   The representative server control unit 25 receives the second signal from the parent device 12 that has received the first signal from the child device 11 that has not established a connection with any of the parent devices 12. The representative server control unit 25 searches the slave unit information DB 27 using the slave unit ID included in the second signal as a query in the search order based on the score, that is, in order from the slave unit ID having the highest search order. The representative server control unit 25 includes the received signal strength (for example, 0) corresponding to the parent device ID of the parent device 12 in the received signal strength information corresponding to the child device ID specified by the search in the second signal. To be equal to the received radio wave intensity (for example, 100). In addition, the representative server control unit 25 changes the score corresponding to the specified child device ID (for example, increases by 100), and updates the child device information DB 27. Then, the representative server control unit 25 extracts the connection ID corresponding to the identified child device ID from the child device information DB 27 and transmits it to the parent device 12. The update order of the above-described slave unit information DB 27 and the connection ID transmission process may be executed in reverse order.

また、代表サーバ制御部25は、何れかの親機12と接続を確立している子機11から第1の信号を受信した親機12から、第2の信号を受信する。代表サーバ制御部25は、第2の信号に含まれる子機IDをクエリとして、スコアに基づく検索順に、すなわち検索順位が上位である子機IDから順番に、子機情報DB27を検索する。代表サーバ制御部25は、検索によって特定した子機IDに対応する受信電波強度情報に含まれる、当該親機12の親機IDに対応する受信電波強度を、第2の信号に含まれる受信電波強度と等しくなるように変動させる。また、代表サーバ制御部25は、特定した子機IDに対応するスコアを変動させて、子機情報DB27を更新する。そして、代表サーバ制御部25は、子機情報DB27の更新完了通知を、当該親機12に送信する。   Further, the representative server control unit 25 receives the second signal from the parent device 12 that has received the first signal from the child device 11 that has established a connection with any of the parent devices 12. The representative server control unit 25 searches the slave unit information DB 27 using the slave unit ID included in the second signal as a query in the search order based on the score, that is, in order from the slave unit ID having the highest search order. The representative server control unit 25 uses the received radio wave intensity corresponding to the parent machine ID of the parent machine 12 included in the received radio wave intensity information corresponding to the child machine ID specified by the search as the received radio wave included in the second signal. Vary to be equal to strength. In addition, the representative server control unit 25 updates the child device information DB 27 by changing the score corresponding to the specified child device ID. Then, the representative server control unit 25 transmits an update completion notification of the child device information DB 27 to the parent device 12.

また、代表サーバ制御部25は、子機情報DB27を更新すると、代表サーバ13の代表サーバIDと、更新されたスコアに対応する子機IDと、を統合サーバ14に送信する。   In addition, when the slave server information DB 27 is updated, the representative server control unit 25 transmits the representative server ID of the representative server 13 and the slave device ID corresponding to the updated score to the integrated server 14.

また、代表サーバ制御部25は、統合サーバ14から子機IDを含む第3の信号を受信すると、子機情報DB27内の当該子機IDに対応するスコアが初期値(例えば、ゼロ)であるか否かを判定する。スコアがゼロである場合、代表サーバ制御部25は、スコアがゼロである全ての子機IDのうち、第3の信号に含まれる子機IDに対応する検索順位を最上位に変動させて、子機情報DB27を更新する。一方、スコアがゼロでない場合、代表サーバ制御部25は、上述した子機情報DB27の更新を実行しない。すなわち、代表サーバ制御部25は、第3の信号に含まれる子機IDに対応する検索順位を変動させずに、本処理を終了する。   Further, when the representative server control unit 25 receives the third signal including the child device ID from the integrated server 14, the score corresponding to the child device ID in the child device information DB 27 is an initial value (for example, zero). It is determined whether or not. When the score is zero, the representative server control unit 25 varies the search order corresponding to the child device ID included in the third signal among all the child device IDs having a score of zero, The handset information DB 27 is updated. On the other hand, if the score is not zero, the representative server control unit 25 does not update the child device information DB 27 described above. That is, the representative server control unit 25 ends this processing without changing the search order corresponding to the child device ID included in the third signal.

図8に示すように、統合サーバ14は、統合サーバ通信部28と、統合サーバ記憶部29と、統合サーバ制御部30と、を備える。   As illustrated in FIG. 8, the integrated server 14 includes an integrated server communication unit 28, an integrated server storage unit 29, and an integrated server control unit 30.

統合サーバ通信部28は、IPネットワーク15を介して情報の送受信を行うインターフェースである。本実施形態において、統合サーバ通信部28は、IPネットワーク15を介して代表サーバ13との間で情報の送受信を行う。   The integrated server communication unit 28 is an interface that transmits and receives information via the IP network 15. In the present embodiment, the integrated server communication unit 28 transmits and receives information to and from the representative server 13 via the IP network 15.

統合サーバ記憶部29は、例えばメモリであって、統合サーバ14の動作に必要なプログラムおよび多様な情報を記憶する。例えば、統合サーバ記憶部29は、統合サーバ14の統合サーバアドレスを記憶する。また、統合サーバ記憶部29は、代表サーバデータベース(DB)31と、子機リスト32と、を記憶する。   The integrated server storage unit 29 is, for example, a memory, and stores programs and various information necessary for the operation of the integrated server 14. For example, the integrated server storage unit 29 stores the integrated server address of the integrated server 14. The integrated server storage unit 29 stores a representative server database (DB) 31 and a slave unit list 32.

代表サーバDB31は、通信システム10が備える全ての代表サーバ13に関する情報を含む。例えば図9に示すように、代表サーバDB31は、代表サーバIDおよび代表サーバアドレスに対応付けて、エリアと、親機リストと、を含む。   The representative server DB 31 includes information regarding all the representative servers 13 included in the communication system 10. For example, as shown in FIG. 9, the representative server DB 31 includes an area and a parent device list in association with the representative server ID and the representative server address.

エリアは、代表サーバ13に対応するエリアを示す情報である。   The area is information indicating an area corresponding to the representative server 13.

親機リストは、対応するエリア内に設置された親機12の親機IDを含む。   The parent device list includes the parent device ID of the parent device 12 installed in the corresponding area.

子機リスト32は、通信システム10が備える全ての子機11に関する情報を含む。例えば図10に示すように、子機リスト32は、子機IDと、接続IDと、を対応付けて含む。   The subunit | mobile_unit list | wrist 32 contains the information regarding all the subunit | mobile_units 11 with which the communication system 10 is provided. For example, as shown in FIG. 10, the slave unit list 32 includes a slave unit ID and a connection ID in association with each other.

図8に示す統合サーバ制御部30は、例えば専用のマイクロプロセッサまたは特定のプログラムを読み込むことによって特定の処理を実行する汎用のCPUである。統合サーバ制御部30は、統合サーバ14の動作全体を制御する。   The integrated server control unit 30 shown in FIG. 8 is a general-purpose CPU that executes a specific process by reading a dedicated microprocessor or a specific program, for example. The integrated server control unit 30 controls the overall operation of the integrated server 14.

例えば、統合サーバ制御部30は、サービス提供者によって入力された子機IDおよび接続IDを、子機リスト32に登録(追加)する。また、統合サーバ制御部30は、子機リスト32に登録した子機IDおよび接続IDを、通信システム10が備える全ての代表サーバ13に送信する。   For example, the integrated server control unit 30 registers (adds) the handset ID and connection ID input by the service provider in the handset list 32. Further, the integrated server control unit 30 transmits the slave unit ID and the connection ID registered in the slave unit list 32 to all the representative servers 13 included in the communication system 10.

また、統合サーバ制御部30は、代表サーバ記憶部24が記憶する子機情報DB27を更新した代表サーバ13から、当該代表サーバ13の代表サーバIDと、更新されたスコアに対応する子機IDと、を受信する。統合サーバ制御部30は、受信した代表サーバIDをクエリとして、代表サーバDB31を検索する。統合サーバ制御部30は、検索によって特定した代表サーバIDに対応するエリアを参照し、当該エリアの近傍に位置する(例えば、当該エリアに隣接する)他のエリアを特定する。例えば、統合サーバ制御部30は、エリアの位置関係を示す情報を予め統合サーバ記憶部29に記憶しておき、当該情報との照合によって、他のエリアを特定する。そして、統合サーバ制御部30は、特定された他のエリアに対応する他の代表サーバ13に、当該子機IDを送信する。   Also, the integrated server control unit 30 starts from the representative server 13 that has updated the child device information DB 27 stored in the representative server storage unit 24, and the representative server ID of the representative server 13 and the child device ID corresponding to the updated score. , Receive. The integrated server control unit 30 searches the representative server DB 31 using the received representative server ID as a query. The integrated server control unit 30 refers to the area corresponding to the representative server ID specified by the search, and specifies another area located in the vicinity of the area (for example, adjacent to the area). For example, the integrated server control unit 30 stores information indicating the positional relationship of the areas in the integrated server storage unit 29 in advance, and specifies another area by collating with the information. And the integrated server control part 30 transmits the said subunit | mobile_unit ID to the other representative server 13 corresponding to the specified other area.

次に、図11のフローチャートを参照して、通信システム10において任意の子機11が新たに登録される処理について説明する。本処理は、例えばサービス提供者が子機11のユーザから連絡された子機IDおよび接続IDを統合サーバ14に入力した後に開始される。   Next, processing for newly registering an arbitrary slave unit 11 in the communication system 10 will be described with reference to the flowchart of FIG. This process is started, for example, after the service provider inputs the handset ID and connection ID notified from the user of the handset 11 to the integrated server 14.

ステップS100:はじめに、統合サーバ14は、例えばサービス提供者によって入力された子機IDおよび接続IDを、子機リスト32に登録する。   Step S100: First, the integration server 14 registers, for example, the slave unit ID and the connection ID input by the service provider in the slave unit list 32.

ステップS101:続いて、統合サーバ14は、子機リスト32に登録した子機IDおよび接続IDを、通信システム10が備える全ての代表サーバ13に送信する。   Step S101: Subsequently, the integrated server 14 transmits the slave device ID and the connection ID registered in the slave device list 32 to all the representative servers 13 included in the communication system 10.

ステップS102:そして、代表サーバ13は、統合サーバ14から子機IDおよび接続IDを受信すると、当該子機IDおよび接続IDを子機情報DB27に登録する。登録時点において、すなわち初期状態において、子機情報DB27内の当該子機IDおよび接続IDに対応するスコアはゼロに設定され、検索順位は最下位に設定される。   Step S102: Upon receiving the slave unit ID and the connection ID from the integrated server 14, the representative server 13 registers the slave unit ID and connection ID in the slave unit information DB 27. At the time of registration, that is, in the initial state, the score corresponding to the child device ID and connection ID in the child device information DB 27 is set to zero, and the search order is set to the lowest.

次に、図12のフローチャートを参照して、親機12と、何れの親機12とも接続を確立していない子機11との間で無線通信の接続が確立される処理について説明する。   Next, processing for establishing a wireless communication connection between the parent device 12 and the child device 11 that has not established a connection with any of the parent devices 12 will be described with reference to the flowchart of FIG.

ステップS200:はじめに、子機11は、子機11の子機IDを含む第1の信号を出力(例えば、報知)する。ここで、子機11は、何れの親機12とも接続を確立していないものとする。   Step S200: First, the slave unit 11 outputs (for example, reports) a first signal including the slave unit ID of the slave unit 11. Here, it is assumed that the slave unit 11 has not established a connection with any master unit 12.

ステップS201:次に、親機12は、子機11から第1の信号を受信すると、第1の信号に含まれる子機IDと、第1の信号の受信電波強度と、親機12の親機IDと、を含む第2の信号を、親機12の設置エリアに対応する代表サーバ13に送信する。   Step S201: Next, when receiving the first signal from the child device 11, the parent device 12 receives the child device ID included in the first signal, the received radio wave intensity of the first signal, and the parent of the parent device 12. A second signal including the machine ID is transmitted to the representative server 13 corresponding to the installation area of the parent machine 12.

ステップS202:次に、代表サーバ13は、親機12から第2の信号を受信すると、第2の信号に含まれる子機IDをクエリとして、スコアに基づく検索順に、すなわち検索順位が上位である子機IDから順番に、子機情報DB27を検索する。   Step S202: Next, when the representative server 13 receives the second signal from the master unit 12, the slave server ID included in the second signal is used as a query, and the search order based on the score, that is, the search order is higher. The handset information DB 27 is searched in order from the handset ID.

ステップS203:続いて、代表サーバ13は、検索によって特定した子機IDに対応する受信電波強度情報の、親機12の親機IDに対応する受信電波強度を、第2の信号に含まれる受信電波強度と等しくなるように変動させる。また、代表サーバ13は、特定した子機IDに対応するスコアを変動させて、子機情報DB27を更新する。   Step S203: Subsequently, the representative server 13 receives, in the second signal, the received radio wave intensity information corresponding to the parent machine ID of the parent machine 12 in the received radio wave intensity information corresponding to the child machine ID specified by the search. Fluctuate to be equal to the radio wave intensity. In addition, the representative server 13 updates the child device information DB 27 by changing the score corresponding to the specified child device ID.

ステップS204:続いて、代表サーバ13は、特定した子機IDに対応する接続IDを子機情報DB27から抽出して、親機12に送信する。   Step S204: Subsequently, the representative server 13 extracts the connection ID corresponding to the identified child device ID from the child device information DB 27 and transmits the connection ID to the parent device 12.

ステップS205:次に、親機12は、代表サーバ13から接続IDを受信すると、受信した接続IDを子機11に送信する。   Step S205: Next, when receiving the connection ID from the representative server 13, the parent device 12 transmits the received connection ID to the child device 11.

ステップS206:次に、子機11は、親機12から接続IDを受信すると、受信した接続IDと、子機記憶部17に記憶された接続IDとが一致するか否かを判断する。接続IDが一致する場合(ステップS206−Yes)、ステップS207に進む。一方、接続IDが一致しない場合(ステップS206−No)、ステップS200に戻る。   Step S206: Next, when receiving the connection ID from the parent device 12, the child device 11 determines whether or not the received connection ID matches the connection ID stored in the child device storage unit 17. If the connection IDs match (step S206—Yes), the process proceeds to step S207. On the other hand, if the connection IDs do not match (step S206—No), the process returns to step S200.

ステップS207:ステップS206で接続IDが一致する場合(ステップS206−Yes)、子機11および親機12は、例えば一般的な認証処理を行い、無線通信の接続を確立する。   Step S207: When the connection IDs match in step S206 (step S206—Yes), the slave unit 11 and the master unit 12 perform, for example, a general authentication process to establish a wireless communication connection.

次に、図13のフローチャートを参照して、何れかの親機12と接続を確立している子機11に関して、代表サーバ13が子機情報DB27を更新する処理について説明する。   Next, a process in which the representative server 13 updates the slave unit information DB 27 for the slave unit 11 that has established a connection with any of the master units 12 will be described with reference to the flowchart of FIG.

ステップS300:はじめに、子機11は、子機11の子機IDを含む第1の信号を出力(例えば、報知)する。ここで、子機11は、何れかの親機12と接続を確立しているものとする。   Step S300: First, the slave unit 11 outputs (for example, informs) a first signal including the slave unit ID of the slave unit 11. Here, it is assumed that the slave unit 11 has established a connection with any one of the master units 12.

ステップS301:次に、親機12は、子機11から第1の信号を受信すると、第1の信号に含まれる子機IDと、第1の信号の受信電波強度と、親機12の親機IDと、を含む第2の信号を、親機12の設置エリアに対応する代表サーバ13に送信する。   Step S301: Next, when receiving the first signal from the child device 11, the parent device 12 receives the child device ID included in the first signal, the received radio wave intensity of the first signal, and the parent of the parent device 12. A second signal including the machine ID is transmitted to the representative server 13 corresponding to the installation area of the parent machine 12.

ステップS302:次に、代表サーバ13は、親機12から第2の信号を受信すると、第2の信号に含まれる子機IDをクエリとして、スコアに基づく検索順に、すなわち検索順位が上位である子機IDから順番に、子機情報DB27を検索する。   Step S302: Next, when the representative server 13 receives the second signal from the master unit 12, the slave server ID included in the second signal is used as a query, and the search order based on the scores, that is, the search order is higher. The handset information DB 27 is searched in order from the handset ID.

ステップS303:続いて、代表サーバ13は、検索によって特定した子機IDに対応する受信電波強度情報の、ステップS301で第2の信号を送信した親機12の親機IDに対応する受信電波強度を、第2の信号に含まれる受信電波強度と等しくなるように変動させる。また、代表サーバ13は、特定した子機IDに対応するスコアを変動させて、子機情報DB27を更新する。   Step S303: Subsequently, the representative server 13 receives the received radio wave intensity information corresponding to the parent machine ID of the parent machine 12 that transmitted the second signal in step S301 of the received radio wave intensity information corresponding to the child machine ID specified by the search. Is changed to be equal to the received radio wave intensity included in the second signal. In addition, the representative server 13 updates the child device information DB 27 by changing the score corresponding to the specified child device ID.

ステップS304:そして、代表サーバ13は、子機情報DB27の更新完了通知を親機12に送信する。   Step S304: The representative server 13 transmits an update completion notification of the child device information DB 27 to the parent device 12.

次に、図14のフローチャートを参照して、子機情報DB27を更新した代表サーバ13と異なる他の代表サーバ13の子機情報DB27が更新される処理について説明する。本処理は、例えば図12または図13に示す処理において代表サーバ13が子機情報DB27を更新した後に実行される。   Next, with reference to the flowchart of FIG. 14, processing for updating the slave unit information DB 27 of another representative server 13 different from the representative server 13 that updated the slave unit information DB 27 will be described. This process is executed, for example, after the representative server 13 updates the handset information DB 27 in the process shown in FIG.

ステップS400:はじめに、代表サーバ13は、子機情報DB27を更新すると、代表サーバ13の代表サーバIDと、更新されたスコアに対応する子機IDと、を統合サーバ14に送信する。   Step S400: First, when the representative server 13 updates the slave unit information DB 27, the representative server 13 transmits the representative server ID of the representative server 13 and the slave unit ID corresponding to the updated score to the integrated server 14.

ステップS401:次に、統合サーバ14は、代表サーバIDと、子機IDと、を代表サーバ13から受信すると、受信した代表サーバIDをクエリとして、代表サーバDB31を検索する。   Step S401: Next, upon receiving the representative server ID and the slave unit ID from the representative server 13, the integrated server 14 searches the representative server DB 31 using the received representative server ID as a query.

ステップS402:続いて、統合サーバ14は、検索によって特定した代表サーバIDに対応するエリアを参照し、当該エリアの近傍に位置する(例えば、当該エリアに隣接する)他のエリアを特定する。統合サーバ14は、当該他のエリアに対応する他の代表サーバ13に、ステップS401で受信した子機IDを含む第3の信号を送信する。   Step S402: Subsequently, the integrated server 14 refers to the area corresponding to the representative server ID identified by the search, and identifies another area located in the vicinity of the area (for example, adjacent to the area). The integrated server 14 transmits a third signal including the child device ID received in step S401 to the other representative server 13 corresponding to the other area.

ステップS403:次に、他の代表サーバ13は、統合サーバ14から第3の信号を受信すると、子機情報DB27内の、当該第3の信号に含まれる子機IDに対応するスコアが初期値(例えば、ゼロ)であるか否かを判定する。スコアがゼロである場合(ステップS403−Yes)、ステップS404に進む。一方、スコアがゼロでない場合、本処理を終了する。   Step S403: Next, when the other representative server 13 receives the third signal from the integration server 14, the score corresponding to the child device ID included in the third signal in the child device information DB 27 is the initial value. It is determined whether or not (for example, zero). When the score is zero (step S403-Yes), the process proceeds to step S404. On the other hand, if the score is not zero, this process is terminated.

ステップS404:ステップS403でスコアがゼロである場合(ステップS403−Yes)、他の代表サーバ13は、スコアがゼロである子機IDのうち、ステップS403で受信した子機IDに対応する検索順位を最上位に変動させて、子機情報DB27を更新する。   Step S404: When the score is zero in step S403 (step S403-Yes), the other representative server 13 searches for the slave unit ID received in step S403 among the slave unit IDs having a score of zero. Is updated to the highest level, and the handset information DB 27 is updated.

以上説明したように、本実施形態に係る通信システム10において、代表サーバ13が、親機12から受信した第2の信号に含まれる子機IDをクエリとして、第1の信号の受信電波強度に応じた検索順位が上位である子機IDから順番に子機情報DB27を検索し、クエリに定められた子機IDおよび対応する接続IDを特定する。そして、親機12が、代表サーバ13から接続IDを受信し、受信した接続IDを用いて子機11との間で接続を確立する。このため、子機11と親機12との間の接続の確立に必要な接続IDを親機12に記憶させておく必要がなく、親機12のリソースが限られている場合であっても子機11を収容可能である。また、検索順位は、第1の信号の受信電波強度に応じて変動されるので、代表サーバ13が子機情報DB27を検索する際、例えばエリア内の親機12との間の距離が比較的長い子機11、すなわちスコアが所定値未満である子機IDを検索対象から除外できる。このため、クエリに定められた子機IDを子機情報DB27の検索によって特定するまでに要する時間が短縮され、子機11と親機12との間の接続を確立するまでに要する時間が短縮される。   As described above, in the communication system 10 according to the present embodiment, the representative server 13 uses the slave unit ID included in the second signal received from the base unit 12 as a query to set the received signal strength of the first signal. The slave unit information DB 27 is searched in order from the slave unit ID having the higher search order according to the search order, and the slave unit ID and the corresponding connection ID determined in the query are specified. The master unit 12 receives the connection ID from the representative server 13 and establishes a connection with the slave unit 11 using the received connection ID. For this reason, it is not necessary to store the connection ID necessary for establishing the connection between the child device 11 and the parent device 12 in the parent device 12, and even when the resources of the parent device 12 are limited. The subunit | mobile_unit 11 can be accommodated. In addition, since the search order varies depending on the received radio wave intensity of the first signal, when the representative server 13 searches the slave unit information DB 27, for example, the distance from the master unit 12 in the area is relatively small. A long handset 11, that is, a handset ID whose score is less than a predetermined value can be excluded from search targets. For this reason, the time required for specifying the child device ID specified in the query by searching the child device information DB 27 is reduced, and the time required for establishing the connection between the child device 11 and the parent device 12 is reduced. Is done.

具体的には、受信電波強度が大きいほど、子機情報DB27の検索順位が上位となるように変動される。このようにして、親機12との間の距離が短い子機11の子機IDほど、子機情報DB27の検索によって特定するまでに要する時間が短縮され、子機11と親機12との間の接続を確立するまでに要する時間が短縮される。   Specifically, the higher the received radio wave strength, the higher the search order of the handset device information DB 27 is changed. In this way, the time required to specify the child device ID of the child device 11 having a shorter distance from the parent device 12 by searching the child device information DB 27 is shortened. The time required to establish a connection between them is reduced.

また、代表サーバ13が、子機情報DB27を更新すると、変動させた検索順位に対応する子機IDを統合サーバ14に送信し、統合サーバ14が、他の代表サーバ13に当該子機IDを含む第3の信号を送信する。そして、当該他の代表サーバ13が、自装置が記憶する子機情報DB27における、当該第3信号に含まれる子機IDに対応するスコアと等しいスコアが対応付けられた全ての子機IDのうち、第3の信号に含まれる子機IDに対応する検索順位を最上位に設定する。このようにして、他の代表サーバ13が記憶する子機情報DB27における、第3の信号に含まれる子機IDの検索順位が上位となるように変動されるので、例えば代表サーバ13に対応するエリア(例えば、エリアA)内で親機12との接続を確立していた子機11が、他の代表サーバ13に対応する他のエリア(例えば、エリアAに隣接するエリアB)内に移動してエリアB内に設置された親機12との接続を試みる際、子機情報DB27の検索によって特定するまでに要する時間が短縮され、子機11と親機12との間の接続を確立するまでに要する時間が短縮される。   When the representative server 13 updates the handset information DB 27, the handset ID corresponding to the changed search order is transmitted to the integrated server 14, and the integrated server 14 sends the handset ID to the other representative server 13. A third signal including is transmitted. Then, the other representative server 13 among all the child device IDs associated with a score equal to the score corresponding to the child device ID included in the third signal in the child device information DB 27 stored in the own device. The search order corresponding to the handset ID included in the third signal is set to the top. In this manner, since the search order of the slave unit ID included in the third signal in the slave unit information DB 27 stored in the other representative server 13 is changed so as to be higher, for example, it corresponds to the representative server 13. The slave unit 11 that has established a connection with the master unit 12 in the area (eg, area A) moves to another area (eg, area B adjacent to the area A) corresponding to the other representative server 13 Then, when trying to connect to the master unit 12 installed in the area B, the time required for specifying by searching the slave unit information DB 27 is shortened, and the connection between the slave unit 11 and the master unit 12 is established. The time required to do this is shortened.

本発明を諸図面や実施例に基づき説明してきたが、当業者であれば本開示に基づき種々の変形や修正を行うことが容易であることに注意されたい。したがって、これらの変形や修正は本発明の範囲に含まれることに留意されたい。例えば、各構成部、各ステップなどに含まれる機能などは論理的に矛盾しないように再配置可能であり、複数の構成部やステップなどを1つに組合せたり、あるいは分割したりすることが可能である。   Although the present invention has been described based on the drawings and examples, it should be noted that those skilled in the art can easily make various modifications and corrections based on the present disclosure. Therefore, it should be noted that these variations and modifications are included in the scope of the present invention. For example, the functions included in each component, each step, etc. can be rearranged so that there is no logical contradiction, and multiple components, steps, etc. can be combined or divided into one It is.

10 通信システム
11 子機
12、12a、12b 親機
13、13a、13b 代表サーバ
14 統合サーバ
15 IPネットワーク
16 子機通信部
17 子機記憶部
18 子機制御部
19 親機通信部
20 親機記憶部
21 親機制御部
23 代表サーバ通信部
24 代表サーバ記憶部
25 代表サーバ制御部
28 統合サーバ通信部
29 統合サーバ記憶部
30 統合サーバ制御部
32 子機リスト
DESCRIPTION OF SYMBOLS 10 Communication system 11 Child machine 12, 12a, 12b Parent machine 13, 13a, 13b Representative server 14 Integrated server 15 IP network 16 Child machine communication part 17 Child machine memory | storage part 18 Child machine control part 19 Parent machine communication part 20 Parent machine memory | storage Unit 21 Base unit control unit 23 Representative server communication unit 24 Representative server storage unit 25 Representative server control unit 28 Integrated server communication unit 29 Integrated server storage unit 30 Integrated server control unit 32 Child device list

Claims (7)

1つ以上の子機と、前記1つ以上の子機を収容可能な複数の親機と、エリア毎に設けられ該エリア内に設置された前記親機と通信可能な複数の代表サーバと、を備える通信システムにおけるネットワークの接続設定方法であって、
前記1つ以上の子機が、自装置の子機IDおよび接続IDをそれぞれ記憶するステップと、
前記複数の代表サーバが、前記1つ以上の子機の前記子機IDと、前記接続IDと、検索順位と、を対応付けた子機情報データベースをそれぞれ記憶するステップと、
前記子機が、自装置の前記子機IDを含む第1の信号を出力するステップと、
出力された前記第1の信号を受信した前記親機が、前記第1の信号に含まれる前記子機IDと、前記第1の信号の受信電波強度と、を含む第2の信号を、自装置が設置されたエリアに対応する前記代表サーバに送信するステップと、
前記第2の信号を受信した前記代表サーバが、
前記第2の信号に含まれる前記子機IDをクエリとして、検索順位が上位である子機IDから順番に前記子機情報データベースを検索するステップと、
前記第2の信号に含まれる前記受信電波強度に応じて、前記第2の信号に含まれる前記子機IDに対応する前記検索順位を変動させて前記子機情報データベースを更新するステップと、
前記第2の信号に含まれる前記子機IDに対応する前記接続IDを、前記子機情報データベースから抽出して前記親機に送信するステップと、
前記親機が、前記代表サーバから受信した前記接続IDを前記子機に送信するステップと、
前記子機が、前記親機から受信した前記接続IDと、自装置が記憶する前記接続IDと、が一致する場合、前記親機との接続を確立するステップと、
を含む、接続設定方法。
One or more slave units, a plurality of master units capable of accommodating the one or more slave units, a plurality of representative servers provided for each area and capable of communicating with the master unit installed in the area; A network connection setting method in a communication system comprising:
The one or more slave devices each storing a slave device ID and a connection ID of the device;
The plurality of representative servers each storing a handset information database in which the handset ID, the connection ID, and the search order of the one or more handset are associated with each other;
The child device outputs a first signal including the child device ID of the device;
The master unit that has received the output first signal receives a second signal including the slave unit ID included in the first signal and the received radio wave intensity of the first signal. Transmitting to the representative server corresponding to the area where the device is installed;
The representative server that has received the second signal,
Searching the handset information database in order from the handset ID having a higher search order, using the handset ID included in the second signal as a query;
Updating the slave unit information database by changing the search order corresponding to the slave unit ID included in the second signal according to the received radio wave intensity included in the second signal;
Extracting the connection ID corresponding to the child device ID included in the second signal from the child device information database and transmitting it to the parent device;
The master unit transmitting the connection ID received from the representative server to the slave unit;
When the slave unit matches the connection ID received from the master unit and the connection ID stored in the own device, establishing a connection with the master unit;
Connection setting method including
請求項1に記載の接続設定方法であって、
前記子機情報データベースを更新するステップにおいて、前記受信電波強度が大きいほど、前記検索順位が上位となるように変動される、接続設定方法。
The connection setting method according to claim 1,
In the step of updating the handset information database, the connection setting method is such that the higher the received radio wave intensity is, the higher the search order is.
請求項1または2に記載の接続設定方法であって、
前記通信システムは、前記複数の代表サーバと通信可能な統合サーバをさらに備え、
前記子機情報データベースは、前記複数の子機の前記子機IDと、前記接続IDと、検索順位と、スコアと、をそれぞれ対応付けて含み、
前記代表サーバが前記子機情報データベースを更新するステップにおいて、前記代表サーバは、自装置に対応するエリアに設置された前記親機それぞれから受信した第2の信号に含まれる受信電波強度に応じて、前記第2の信号に含まれる前記子機IDに対応する前記スコアを決定し、該スコアに基づいて前記子機IDに対応する前記検索順位を変動させて前記子機情報データベースを更新し、
前記代表サーバが、前記子機情報データベースを更新すると、変動させた前記検索順位に対応する前記子機IDを前記統合サーバに送信するステップと、
前記統合サーバが、前記代表サーバから受信した前記子機IDを含む第3の信号を他の代表サーバに送信するステップと、
前記他の代表サーバが、自装置が記憶する前記子機情報データベースにおける、前記第3の信号に含まれる前記子機IDに対応する前記スコアと等しい前記スコアが対応付けられた全ての前記子機IDのうち、前記第3の信号に含まれる前記子機IDに対応する検索順位を最上位に設定するステップと、
をさらに含む、接続設定方法。
The connection setting method according to claim 1 or 2,
The communication system further includes an integrated server capable of communicating with the plurality of representative servers,
The slave unit information database includes the slave unit IDs of the plurality of slave units, the connection ID, a search order, and a score in association with each other,
In the step in which the representative server updates the slave device information database, the representative server responds to the received radio wave intensity included in the second signal received from each of the master devices installed in the area corresponding to the own device. Determining the score corresponding to the child device ID included in the second signal, updating the child device information database by changing the search order corresponding to the child device ID based on the score,
When the representative server updates the slave unit information database, the slave server ID corresponding to the changed search order is transmitted to the integrated server;
The integrated server transmitting a third signal including the slave unit ID received from the representative server to another representative server;
All the slave units in which the other representative server is associated with the score equal to the score corresponding to the slave unit ID included in the third signal in the slave unit information database stored in the own device A step of setting a search order corresponding to the slave unit ID included in the third signal among the IDs to the top;
A connection setting method, further comprising:
1つ以上の子機と、前記1つ以上の子機を収容可能な複数の親機と、エリア毎に設けられ該エリア内に設置された前記親機と通信可能な複数の代表サーバと、を備える通信システムの前記代表サーバとして機能するサーバであって、
前記複数の子機の子機IDと、接続IDと、検索順位と、をそれぞれ対応付けた子機情報データベースを記憶する記憶部と、
前記子機が出力した前記子機の前記子機IDを含む第1の信号を受信した前記親機から、前記第1の信号に含まれる前記子機IDと、前記第1の信号の受信電波強度と、を含む第2の信号を受信し、前記第2の信号に含まれる前記子機IDをクエリとして、検索順位が上位である子機IDから順番に前記子機情報データベースを検索し、前記第2の信号に含まれる前記受信電波強度に応じて、前記第2の信号に含まれる前記子機IDに対応する前記検索順位を変動させて前記子機情報データベースを更新し、前記第2の信号に含まれる前記子機IDに対応する前記接続IDを、前記子機情報データベースから抽出して前記親機に送信する制御部と、
を備える、サーバ。
One or more slave units, a plurality of master units capable of accommodating the one or more slave units, a plurality of representative servers provided for each area and capable of communicating with the master unit installed in the area; A server functioning as the representative server of a communication system comprising:
A storage unit for storing a handset information database in which handset IDs, connection IDs, and search orders of the plurality of handset are associated with each other;
The slave unit ID included in the first signal and the received radio wave of the first signal from the master unit that has received the first signal including the slave unit ID of the slave unit output by the slave unit. A second signal including the strength, and using the child device ID included in the second signal as a query, the child device information database is searched in order from the child device ID having a higher search order; According to the received radio wave intensity included in the second signal, the search order corresponding to the slave unit ID included in the second signal is changed to update the slave unit information database, and the second A control unit that extracts the connection ID corresponding to the slave unit ID included in the signal of the slave unit from the slave unit information database and transmits the extracted connection ID to the master unit;
Comprising a server.
請求項4に記載のサーバであって、
前記制御部は、前記受信電波強度が大きいほど、前記検索順位を上位となるように変動させる、サーバ。
The server according to claim 4, wherein
The said control part is a server which fluctuates | varies so that the said search order may become a high rank, so that the said received signal strength is large.
請求項4または5に記載のサーバであって、
前記通信システムは、前記複数の代表サーバと通信可能な統合サーバをさらに備え、
前記子機情報データベースは、前記複数の子機の前記子機IDと、前記接続IDと、検索順位と、スコアと、をそれぞれ対応付けて含み、
前記制御部は、
自装置に対応するエリアに設置された前記親機それぞれから受信した第2の信号に含まれる受信電波強度に応じて、前記第2の信号に含まれる前記子機IDに対応する前記スコアを決定し、該スコアに基づいて前記子機IDに対応する前記検索順位を変動させて前記子機情報データベースを更新し、
前記統合サーバから子機IDを含む第3の信号を受信すると、自装置が記憶する前記子機情報データベースにおける、前記第3の信号に含まれる前記子機IDに対応する前記スコアと等しい前記スコアが対応付けられた全ての前記子機IDのうち、前記第3の信号に含まれる前記子機IDに対応する検索順位を最上位に設定する、サーバ。
The server according to claim 4 or 5, wherein
The communication system further includes an integrated server capable of communicating with the plurality of representative servers,
The slave unit information database includes the slave unit IDs of the plurality of slave units, the connection ID, a search order, and a score in association with each other,
The controller is
The score corresponding to the child device ID included in the second signal is determined according to the received radio wave intensity included in the second signal received from each of the parent devices installed in the area corresponding to the own device. And updating the handset information database by changing the search order corresponding to the handset ID based on the score,
When the third signal including the child device ID is received from the integrated server, the score equal to the score corresponding to the child device ID included in the third signal in the child device information database stored in the own device A server that sets a search order corresponding to the child device ID included in the third signal to the highest among all the child device IDs that are associated with each other.
1つ以上の子機と、前記1つ以上の子機を収容可能な複数の親機と、エリア毎に設けられ該エリア内に設置された前記親機と通信可能な複数の代表サーバと、を備える通信システムの前記代表サーバとして機能するサーバに、
前記複数の子機の子機IDと、接続IDと、検索順位と、をそれぞれ対応付けた子機情報データベースを記憶部に記憶するステップと、
前記子機が出力した自装置の前記子機IDを含む第1の信号を受信した前記親機から、前記第1の信号に含まれる前記子機IDと、前記第1の信号の受信電波強度と、を含む第2の信号を受信するステップと、
前記第2の信号に含まれる前記子機IDをクエリとして、検索順位が上位である子機IDから順番に前記子機情報データベースを検索するステップと、
前記第2の信号に含まれる前記受信電波強度に応じて、前記第2の信号に含まれる前記子機IDに対応する前記検索順位を変動させて前記子機情報データベースを更新するステップと、
前記第2の信号に含まれる前記子機IDに対応する前記接続IDを、前記子機情報データベースから抽出して前記親機に送信するステップと、
を実行させる、プログラム。
One or more slave units, a plurality of master units capable of accommodating the one or more slave units, a plurality of representative servers provided for each area and capable of communicating with the master unit installed in the area; A server functioning as the representative server of a communication system comprising:
Storing a handset information database in which a handset ID, a connection ID, and a search order of the plurality of handset are associated with each other in a storage unit;
The slave unit ID included in the first signal and the received radio wave intensity of the first signal from the master unit that has received the first signal including the slave unit ID of the own device output by the slave unit. Receiving a second signal comprising:
Searching the handset information database in order from the handset ID having a higher search order, using the handset ID included in the second signal as a query;
Updating the slave unit information database by changing the search order corresponding to the slave unit ID included in the second signal according to the received radio wave intensity included in the second signal;
Extracting the connection ID corresponding to the child device ID included in the second signal from the child device information database and transmitting it to the parent device;
A program that executes
JP2015035722A 2015-02-25 2015-02-25 Connection setting method, server, and program Expired - Fee Related JP6282605B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015035722A JP6282605B2 (en) 2015-02-25 2015-02-25 Connection setting method, server, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015035722A JP6282605B2 (en) 2015-02-25 2015-02-25 Connection setting method, server, and program

Publications (2)

Publication Number Publication Date
JP2016158173A JP2016158173A (en) 2016-09-01
JP6282605B2 true JP6282605B2 (en) 2018-02-21

Family

ID=56826469

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015035722A Expired - Fee Related JP6282605B2 (en) 2015-02-25 2015-02-25 Connection setting method, server, and program

Country Status (1)

Country Link
JP (1) JP6282605B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7755506B2 (en) * 2022-02-03 2025-10-16 シャープ株式会社 Communication system and communication method
US12380220B2 (en) * 2023-03-02 2025-08-05 Palo Alto Networks, Inc. Automated attribute scraping for security feature implementation prediction

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3477600B2 (en) * 1996-07-19 2003-12-10 日本電気エンジニアリング株式会社 Wireless LAN system
JP2004221680A (en) * 2003-01-09 2004-08-05 Sony Corp Communications system
JP2005323234A (en) * 2004-05-11 2005-11-17 Matsushita Electric Ind Co Ltd Wireless network system
KR100901373B1 (en) * 2005-10-11 2009-06-05 삼성전자주식회사 Connection identifier management device and method in broadband wireless access communication system using multi-hop relay method
JP5721183B2 (en) * 2012-05-25 2015-05-20 Necプラットフォームズ株式会社 Wireless LAN communication system, wireless LAN base unit, communication connection establishment method, and program

Also Published As

Publication number Publication date
JP2016158173A (en) 2016-09-01

Similar Documents

Publication Publication Date Title
US10667207B2 (en) Access point assisted roaming
CN105027464A (en) Proximity detection in a device to device network
US20090325574A1 (en) Mobile station and wireless communication method
EP1227694A1 (en) Location information providing apparatus, communication terminal, mobile communication terminal and location information providing method
CN112314004A (en) Profile selection for CBRS communication
CN105519143A (en) Regulatory Compliance for Wireless Devices
US20180027545A1 (en) Radio communication terminal and base station assignment method
EP3813393B1 (en) Vehicle communication system
KR102123636B1 (en) Method for positioning based on network and an electronic device thereof
US20170339628A1 (en) Hidden hotspot access method and apparatus
JP6282605B2 (en) Connection setting method, server, and program
CN107404404B (en) Terminal routing method based on Internet of things and Internet of things terminal
JP2018125572A (en) Position detection system, server device thereof, portable terminal
US10009347B2 (en) Communication device, communication method, and communication system
CN105530684A (en) Method, device and system for network access
CN113596792A (en) Binding method and device of electronic equipment, storage medium and electronic device
CN108848066B (en) Terminal communication method, terminal and storage medium
TWI258944B (en) Data distribution device
CN105472731A (en) Positioning method, auxiliary positioning device and geographical position monitoring device and system
JP2014143621A (en) Radio communication control device, radio communication system, and radio communication control method
TWI631840B (en) Machine type communication (mtc) method and mtc device using same
CN112788093B (en) Vehicle management server, vehicle management method, and non-transitory storage medium
JP5582977B2 (en) Wireless communication system, base station and terminal of wireless communication system, and wireless communication method
JP7290699B2 (en) Servers, Systems and Programs
JP6327070B2 (en) Wireless communication system and wireless communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170302

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180117

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180124

R150 Certificate of patent or registration of utility model

Ref document number: 6282605

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees