JP6657675B2 - Communication system, relay device, communication control method, and communication control program - Google Patents

Communication system, relay device, communication control method, and communication control program Download PDF

Info

Publication number
JP6657675B2
JP6657675B2 JP2015169476A JP2015169476A JP6657675B2 JP 6657675 B2 JP6657675 B2 JP 6657675B2 JP 2015169476 A JP2015169476 A JP 2015169476A JP 2015169476 A JP2015169476 A JP 2015169476A JP 6657675 B2 JP6657675 B2 JP 6657675B2
Authority
JP
Japan
Prior art keywords
terminal device
relay device
predetermined area
name resolution
wireless terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015169476A
Other languages
Japanese (ja)
Other versions
JP2017046305A (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.)
Sumitomo Electric Industries Ltd
Original Assignee
Sumitomo Electric Industries 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 Sumitomo Electric Industries Ltd filed Critical Sumitomo Electric Industries Ltd
Priority to JP2015169476A priority Critical patent/JP6657675B2/en
Publication of JP2017046305A publication Critical patent/JP2017046305A/en
Application granted granted Critical
Publication of JP6657675B2 publication Critical patent/JP6657675B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、通信システム、中継装置、通信制御方法および通信制御プログラムに関し、特に、情報の中継が行われる通信システム、中継装置、通信制御方法および通信制御プログラムに関する。   The present invention relates to a communication system, a relay device, a communication control method, and a communication control program, and particularly to a communication system, a relay device, a communication control method, and a communication control program in which information is relayed.

たとえば、特開平11−27734号公報(特許文献1)には、以下のようなマンロケーションシステムが開示されている。すなわち、対象者に携帯されて移動する移動側端末装置と、当該移動側端末装置との間でデータ通信を行い対象者の所在を管理する追跡側端末装置とを備えたマンロケーションシステムである。移動側端末装置は、屋内に設置された親機装置に接続する家庭モードと屋外の公衆エリアに設置された公衆用CSに接続する公衆モードとを切替可能なPHS装置と、モードを切替えて家庭モードと公衆モードでの受信電界強度を比較して対象者の外出/在宅を判定し少なくとも外出判定の場合にPHS装置を使用して追跡側端末装置に判定結果を伝送するPHS制御装置とを備える。   For example, Japanese Patent Laying-Open No. 11-27734 (Patent Document 1) discloses the following manlocation system. In other words, the man-location system includes a mobile terminal device that is carried by a target person and moves, and a tracking terminal device that performs data communication with the mobile terminal device and manages the location of the target person. The mobile terminal device includes a PHS device that can switch between a home mode connected to a parent device installed indoors and a public mode connected to a public CS installed in an outdoor public area. A PHS control device that compares the received electric field strengths in the mode and the public mode to determine whether or not the subject person is going out or at home, and transmits a determination result to the tracking terminal device using the PHS device at least in the case of going out determination. .

また、たとえば、特許第3847760号公報(特許文献2)には、以下のような独居人安否確認システムが開示されている。すなわち、独居人安否確認システムは、独居人用住居に設置され当該独居人用住居内の生活行動を検出するセンサにより検出された生活行動情報を送信する住居内通信端末と、独居人に携帯され、上記独居人用住居内では通信モードを第1のモードとし上記独居人用住居外では通信モードを第2のモードとし、使用している通信モードを示す通信モード情報を送信する移動体通信端末と、上記住居内通信端末からの生活行動情報を受信し、上記移動体通信端末からの通信モード情報を受信し、受信した通信モード情報に基づき独居人が在宅であるか外出であるかを判定し、独居人が在宅であると判定した場合には、上記生活行動情報に基づき当該独居人の安否判定を行い、独居人が外出であると判定した場合には、上記生活行動情報に基づき侵入者の検出判定を行う情報処理装置とを備える。   Also, for example, Japanese Patent No. 3847760 (Patent Document 2) discloses the following single person safety confirmation system. That is, the single person safety confirmation system is installed in the single person residence and transmits the living activity information detected by the sensor that detects the living activity in the single person residence. A mobile communication terminal for transmitting communication mode information indicating a communication mode being used, wherein the communication mode is a first mode inside the single person residence and the communication mode is a second mode outside the single residence residence; Receiving the living activity information from the in-house communication terminal, receiving the communication mode information from the mobile communication terminal, and determining whether the single person is at home or out based on the received communication mode information When it is determined that the single person is at home, the safety of the single person is determined based on the living activity information, and when it is determined that the single person is out, based on the living activity information, And a processing unit that performs detection determination of subscribers.

また、たとえば、特開2001−67506号公報(特許文献3)には、以下のような在宅・外出判定システムが開示されている。すなわち、在宅・外出判定システムは、建物内に設けられた通信路と、前記通信路に接続され、出入り口付近で人体を検知する第1のセンサと、前記通信路に接続され、前記出入り口以外の建物内で人体を検知する第2のセンサと、前記通信路に接続され、前記第1と第2のセンサからの検知信号をもとに人の存在を監視するコントローラとを備える。前記コントローラは、前記第1のセンサからの検知信号を受け取った後、一定時間の間、前記第2のセンサからの検知信号を無視するように設定され、一定時間後の所定時間の間に前記第2のセンサからの検知信号を受け取った場合、人が前記建物内に存在すると判定する。   Also, for example, Japanese Patent Application Laid-Open No. 2001-67506 (Patent Document 3) discloses the following at-home / out-of-home determination system. That is, the at-home / out-of-home determination system includes a communication path provided in the building, a first sensor connected to the communication path and detecting a human body near an entrance and exit, and a first sensor connected to the communication path and other than the entrance and exit. A second sensor for detecting a human body in the building; and a controller connected to the communication path and monitoring the presence of a person based on detection signals from the first and second sensors. The controller is set to ignore the detection signal from the second sensor for a predetermined time after receiving the detection signal from the first sensor, and the controller is configured to ignore the detection signal from the second sensor for a predetermined time after the predetermined time. When receiving a detection signal from the second sensor, it is determined that a person is present in the building.

特開平11−27734号公報JP-A-11-27734 特許第3847760号公報Japanese Patent No. 3847760 特開2001−67506号公報JP 2001-67506 A

このような特許文献1〜3に記載の技術を超えて、端末装置を使用するユーザのたとえば在宅または外出をより正しく判断するための技術が求められている。   Beyond the techniques described in Patent Literatures 1 to 3, there is a need for a technique for more correctly determining whether a user who uses a terminal device is at home or out, for example.

この発明は、上述の課題を解決するためになされたもので、その目的は、端末装置が所定エリアに存在するか否かをより正しく判断することが可能な通信システム、中継装置、通信制御方法および通信制御プログラムを提供することである。   The present invention has been made to solve the above-described problems, and has as its object to provide a communication system, a relay device, and a communication control method capable of more correctly determining whether a terminal device is present in a predetermined area. And a communication control program.

(1)上記課題を解決するために、この発明のある局面に係わる通信システムは、所定エリアにて用いられる中継装置と、端末装置と、判断部とを備え、前記端末装置は、前記中継装置の名前解決要求を送信し、前記名前解決要求に対する名前解決応答を受信し、受信した前記名前解決応答の示す前記中継装置のアドレスを宛先とする通知情報を送信し、前記判断部は、前記通知情報の受信結果に基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行う。   (1) In order to solve the above problem, a communication system according to an aspect of the present invention includes a relay device used in a predetermined area, a terminal device, and a determination unit, wherein the terminal device includes the relay device Transmitting a name resolution request, receiving a name resolution response to the name resolution request, transmitting notification information addressed to the address of the relay device indicated by the received name resolution response, the determination unit includes: A determination process is performed to determine whether or not the terminal device is in the predetermined area based on a result of receiving information.

(5)上記課題を解決するために、この発明の他の局面に係わる通信システムは、所定エリアにおける内部ネットワーク、および前記所定エリア外の外部ネットワーク間の通信を中継する中継装置と、端末装置と、判断部とを備え、前記端末装置は、前記中継装置の名前解決要求を送信し、前記名前解決要求に対する名前解決応答を受信し、前記判断部は、前記名前解決応答の示す前記中継装置のアドレスに基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行う。   (5) In order to solve the above problem, a communication system according to another aspect of the present invention includes a relay device that relays communication between an internal network in a predetermined area and an external network outside the predetermined area, and a terminal device. The terminal device transmits a name resolution request of the relay device, receives a name resolution response to the name resolution request, the determination unit, the terminal device of the relay device indicated by the name resolution response A determination process is performed to determine whether the terminal device is present in the predetermined area based on the address.

(10)上記課題を解決するために、この発明のある局面に係わる中継装置は、所定エリアにて用いられる中継装置であって、端末装置から前記中継装置のアドレスを宛先とする通知情報を受信する受信部と、前記受信部による前記通知情報の受信結果に基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行う判断部とを備える。   (10) In order to solve the above problem, a relay device according to an aspect of the present invention is a relay device used in a predetermined area, and receives notification information addressed to an address of the relay device from a terminal device. A determination unit that determines whether the terminal device is present in the predetermined area based on a result of receiving the notification information by the reception unit.

(11)上記課題を解決するために、この発明のある局面に係わる通信制御方法は、所定エリアにて用いられる中継装置と、端末装置と、判断部とを備える通信システムにおける通信制御方法であって、前記端末装置が、前記中継装置の名前解決要求を送信するステップと、前記端末装置が、前記名前解決要求に対する名前解決応答を受信するステップと、前記端末装置が、受信した前記名前解決応答の示す前記中継装置のアドレスを宛先とする通知情報を送信するステップと、前記判断部が、前記通知情報の受信結果に基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行うステップとを含む。   (11) In order to solve the above problem, a communication control method according to an aspect of the present invention is a communication control method in a communication system including a relay device used in a predetermined area, a terminal device, and a determination unit. Transmitting the name resolution request of the relay device, the terminal device receiving a name resolution response to the name resolution request, and the terminal device receiving the name resolution response. Transmitting the notification information addressed to the address of the relay device indicated by, and the determination unit determines whether the terminal device is present in the predetermined area based on a reception result of the notification information Performing a determination process.

(12)上記課題を解決するために、この発明の他の局面に係わる通信制御方法は、所定エリアにおける内部ネットワーク、および前記所定エリア外の外部ネットワーク間の通信を中継する中継装置と、端末装置と、判断部とを備える通信システムにおける通信制御方法であって、前記端末装置が、前記中継装置の名前解決要求を送信するステップと、前記端末装置が、前記名前解決要求に対する名前解決応答を受信するステップと、前記判断部が、前記名前解決応答の示す前記中継装置のアドレスに基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行うステップとを含む。   (12) In order to solve the above problem, a communication control method according to another aspect of the present invention includes a relay device that relays communication between an internal network in a predetermined area and an external network outside the predetermined area, and a terminal device. A communication control method in a communication system comprising: a terminal device transmitting a name resolution request for the relay device; and the terminal device receiving a name resolution response to the name resolution request. And determining the terminal device is present in the predetermined area based on the address of the relay device indicated by the name resolution response.

(13)上記課題を解決するために、この発明のある局面に係わる通信制御プログラムは、所定エリアにて用いられる中継装置において用いられる通信制御プログラムであって、コンピュータに、端末装置から前記中継装置のアドレスを宛先とする通知情報を受信するステップと、前記通知情報の受信結果に基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行うステップとを実行させるためのプログラムである。   (13) In order to solve the above problem, a communication control program according to an aspect of the present invention is a communication control program used in a relay device used in a predetermined area. Receiving notification information addressed to the address of the terminal device, and performing a determination process of determining whether the terminal device is present in the predetermined area based on a reception result of the notification information. Program.

本発明は、このような特徴的な処理部を備える通信システムとして実現できるだけでなく、かかる特徴的な処理部を備える端末装置として実現したり、通信システムの一部または全部を実現する半導体集積回路として実現したりすることができる。   The present invention can be realized not only as a communication system having such a characteristic processing unit, but also as a terminal device having such a characteristic processing unit, or a semiconductor integrated circuit which realizes part or all of a communication system. Or can be realized as

本発明によれば、端末装置が所定エリアに存在するか否かをより正しく判断することができる。   ADVANTAGE OF THE INVENTION According to this invention, it can be determined more correctly whether a terminal device exists in a predetermined area.

図1は、本発明の第1の実施の形態に係る通信システムの構成を示す図である。FIG. 1 is a diagram illustrating a configuration of a communication system according to the first embodiment of the present invention. 図2は、本発明の第1の実施の形態に係る通信システムの住宅における配置例を示す図である。FIG. 2 is a diagram showing an example of an arrangement in a house of the communication system according to the first embodiment of the present invention. 図3は、本発明の第1の実施の形態に係る通信システムにおいて、無線端末装置が内部ネットワークを介して中継装置と情報の送受信を行う際の動作の一例を示すシーケンス図である。FIG. 3 is a sequence diagram illustrating an example of an operation when the wireless terminal device transmits and receives information to and from the relay device via the internal network in the communication system according to the first embodiment of the present invention. 図4は、本発明の第1の実施の形態に係る通信システムにおいて、無線端末装置が外部ネットワークを介して中継装置と情報の送受信を行う際の動作の一例を示すシーケンス図である。FIG. 4 is a sequence diagram illustrating an example of an operation when the wireless terminal device transmits and receives information to and from the relay device via the external network in the communication system according to the first embodiment of the present invention. 図5は、本発明の第1の実施の形態に係る通信システムにおける無線端末装置の構成を示す図である。FIG. 5 is a diagram illustrating a configuration of the wireless terminal device in the communication system according to the first embodiment of the present invention. 図6は、本発明の第1の実施の形態に係る通信システムにおける中継装置の構成を示す図である。FIG. 6 is a diagram illustrating a configuration of the relay device in the communication system according to the first embodiment of the present invention. 図7は、本発明の第2の実施の形態に係る通信システムの構成を示す図である。FIG. 7 is a diagram illustrating a configuration of a communication system according to the second embodiment of the present invention. 図8は、本発明の第2の実施の形態に係る通信システムにおいて、無線端末装置が内部ネットワークを介して中継装置と情報の送受信を行う際の動作の一例を示すシーケンス図である。FIG. 8 is a sequence diagram illustrating an example of an operation when the wireless terminal device transmits and receives information to and from the relay device via the internal network in the communication system according to the second embodiment of the present invention. 図9は、本発明の第2の実施の形態に係る通信システムにおいて、無線端末装置が外部ネットワークを介して中継装置と情報の送受信を行う際の動作の一例を示すシーケンス図である。FIG. 9 is a sequence diagram illustrating an example of an operation when the wireless terminal device transmits and receives information to and from the relay device via the external network in the communication system according to the second embodiment of the present invention. 図10は、本発明の第2の実施の形態に係る通信システムにおける無線端末装置の構成を示す図である。FIG. 10 is a diagram illustrating a configuration of a wireless terminal device in the communication system according to the second embodiment of the present invention. 図11は、本発明の第2の実施の形態に係る通信システムにおける中継装置の構成を示す図である。FIG. 11 is a diagram illustrating a configuration of a relay device in the communication system according to the second embodiment of the present invention.

最初に、本発明の実施形態の内容を列記して説明する。   First, the contents of the embodiment of the present invention will be listed and described.

(1)本発明の実施の形態に係る通信システムは、所定エリアにて用いられる中継装置と、端末装置と、判断部とを備え、前記端末装置は、前記中継装置の名前解決要求を送信し、前記名前解決要求に対する名前解決応答を受信し、受信した前記名前解決応答の示す前記中継装置のアドレスを宛先とする通知情報を送信し、前記判断部は、前記通知情報の受信結果に基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行う。   (1) A communication system according to an embodiment of the present invention includes a relay device used in a predetermined area, a terminal device, and a determination unit, and the terminal device transmits a name resolution request of the relay device. Receiving a name resolution response to the name resolution request, transmitting notification information addressed to the address of the relay device indicated by the received name resolution response, the determining unit based on the reception result of the notification information And a determination process for determining whether the terminal device is present in the predetermined area.

このような構成により、たとえば、端末装置が所定エリアに存在する場合における通知情報の受信結果と、端末装置が所定エリアに存在しない場合における通知情報の受信結果とが異なる場合に、通知情報の受信結果から、端末装置が所定エリアに存在するか否かをより正しく判断することができる。また、端末装置からの通知情報の受信結果を用いる構成により、たとえば住宅等の所定エリアにおいて位置の算出誤差が大きくなるGPS(Global Positioning System)衛星からの信号を用いる方法と比べて、より正しい判断処理を行うことができる。さらに、端末装置が有線通信を行う場合には、通信接続先をより確実に確定させることができるので、さらに正しい判断処理を行うことができる。   With such a configuration, for example, when the reception result of the notification information when the terminal device is in the predetermined area is different from the reception result of the notification information when the terminal device is not in the predetermined area, the reception of the notification information is performed. From the result, it can be more correctly determined whether or not the terminal device exists in the predetermined area. In addition, the configuration using the reception result of the notification information from the terminal device makes more accurate determination than a method using a signal from a GPS (Global Positioning System) satellite in which a position calculation error increases in a predetermined area such as a house, for example. Processing can be performed. Further, when the terminal device performs the wired communication, the communication connection destination can be more reliably determined, so that a more correct determination process can be performed.

(2)好ましくは、前記判断部は、前記通知情報の伝送経路を判別し、判別結果に基づいて前記判断処理を行う。   (2) Preferably, the determination unit determines a transmission path of the notification information, and performs the determination process based on a determination result.

このような構成により、たとえば端末装置が所定エリアに存在する場合において通知情報が伝送される所定エリア内の伝送経路と、端末装置が所定エリアに存在しない場合において通知情報が伝送される所定エリア外の伝送経路とを判別することができるため、より正しい判断処理を行うことができる。   With such a configuration, for example, a transmission path in the predetermined area through which the notification information is transmitted when the terminal device is in the predetermined area, and a transmission path outside the predetermined area through which the notification information is transmitted when the terminal device is not in the predetermined area Can be determined, so that more accurate determination processing can be performed.

(3)好ましくは、前記中継装置は、前記所定エリアにおける内部ネットワーク、および前記所定エリア外の外部ネットワーク間の通信を中継し、前記判断部は、前記通知情報の送信元のアドレスに基づいて前記判断処理を行う。   (3) Preferably, the relay device relays communication between an internal network in the predetermined area and an external network outside the predetermined area, and the determination unit performs the communication based on a source address of the notification information. Perform judgment processing.

このような構成により、たとえば所定エリアに存在する端末装置が用いる内部ネットワーク、および所定エリア外に存在する端末装置が用いる外部ネットワークのいずれのネットワークを通知情報が経由したかについて通知情報の送信元のアドレスから認識することができるので、通知情報の送信元のアドレスに基づいてより正しい判断処理を行うことができる。   With such a configuration, for example, the transmission source of the notification information determines which network of the internal network used by the terminal device existing in the predetermined area and the external network used by the terminal device existing outside the predetermined area. Since it is possible to recognize from the address, it is possible to perform more correct determination processing based on the address of the source of the notification information.

(4)好ましくは、前記中継装置は、前記判断部を含み、前記判断処理の結果を前記端末装置に通知する。   (4) Preferably, the relay device includes the determination unit, and notifies a result of the determination process to the terminal device.

このような構成により、端末装置において、たとえば判断処理の結果に応じた処理を行うことができる。   With such a configuration, the terminal device can perform, for example, a process according to the result of the determination process.

(5)本発明の実施の形態に係る通信システムは、所定エリアにおける内部ネットワーク、および前記所定エリア外の外部ネットワーク間の通信を中継する中継装置と、端末装置と、判断部とを備え、前記端末装置は、前記中継装置の名前解決要求を送信し、前記名前解決要求に対する名前解決応答を受信し、前記判断部は、前記名前解決応答の示す前記中継装置のアドレスに基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行う。   (5) A communication system according to an embodiment of the present invention includes: a relay device that relays communication between an internal network in a predetermined area and an external network outside the predetermined area; a terminal device; The terminal device transmits a name resolution request of the relay device, receives a name resolution response to the name resolution request, the determination unit, based on an address of the relay device indicated by the name resolution response, the terminal device Is performed to determine whether or not exists in the predetermined area.

このような構成により、たとえば、所定エリアに存在する端末装置が用いる内部ネットワーク、および所定エリア外に存在する端末装置が用いる外部ネットワークのいずれのネットワークを用いて端末装置および中継装置間の通信が行われるかを名前解決応答の示す中継装置のアドレスから認識することができるので、当該アドレスから、端末装置が所定エリアに存在するか否かをより正しく判断することができる。また、名前解決応答の示す中継装置のアドレスを用いる構成により、たとえば住宅等の所定エリアにおいて位置の算出誤差が大きくなるGPS衛星からの信号を用いる方法と比べて、より正しい判断処理を行うことができる。さらに、端末装置が有線通信を行う場合には、通信接続先をより確実に確定させることができるので、さらに正しい判断処理を行うことができる。   With such a configuration, for example, communication between the terminal device and the relay device is performed using either the internal network used by the terminal device existing in the predetermined area or the external network used by the terminal device existing outside the predetermined area. Since it can be recognized from the address of the relay device indicated by the name resolution response, it can be more correctly determined from the address whether or not the terminal device exists in the predetermined area. Further, the configuration using the address of the relay device indicated by the name resolution response enables more accurate determination processing to be performed as compared with a method using a signal from a GPS satellite in which a position calculation error increases in a predetermined area such as a house. it can. Further, when the terminal device performs the wired communication, the communication connection destination can be more reliably determined, so that a more correct determination process can be performed.

(6)好ましくは、前記端末装置は、前記中継装置に通信接続する動作モードが選択されているか否かを示すモード情報を取得する取得部を含み、前記判断部は、前記取得部によって取得された前記モード情報にさらに基づいて前記判断処理を行う。   (6) Preferably, the terminal device includes an acquisition unit that acquires mode information indicating whether an operation mode for communication connection with the relay device is selected, and the determination unit is acquired by the acquisition unit. The determination process is further performed based on the mode information.

このような構成により、端末装置が所定エリアに存在する場合において、当該端末装置が中継装置と通信接続を確立する動作モードであるか否かを認識することができるので、当該動作モードが選択されていない場合に、たとえば判断結果の確度が低いことを評価することができる。   With such a configuration, when the terminal device is in the predetermined area, it is possible to recognize whether or not the terminal device is in an operation mode for establishing a communication connection with the relay device, so that the operation mode is selected. If not, for example, it can be evaluated that the accuracy of the determination result is low.

(7)好ましくは、前記中継装置は、前記名前解決要求を前記端末装置から受信した場合、前記内部ネットワークにおける自己のアドレスを示す前記名前解決応答を前記端末装置へ送信し、前記端末装置は、前記名前解決要求を前記中継装置以外の装置へ送信した場合、前記外部ネットワークにおける前記中継装置のアドレスを示す前記名前解決応答を受信する。   (7) Preferably, when the relay device receives the name resolution request from the terminal device, the relay device transmits the name resolution response indicating its own address in the internal network to the terminal device, and the terminal device includes: If the name resolution request is transmitted to a device other than the relay device, the name resolution response indicating the address of the relay device in the external network is received.

このような構成により、端末装置は、内部ネットワークおよび外部ネットワークのいずれに接続している場合においても、自己が接続するネットワーク側の中継装置のアドレスを取得することができる。   With this configuration, the terminal device can acquire the address of the relay device on the network side to which the terminal device is connected, regardless of whether the terminal device is connected to the internal network or the external network.

(8)好ましくは、前記端末装置は、前記判断部を含み、前記判断処理の結果を前記中継装置に通知する。   (8) Preferably, the terminal device includes the determination unit, and notifies a result of the determination process to the relay device.

このような構成により、中継装置において、たとえば判断処理の結果に応じた処理を行うことができる。   With such a configuration, in the relay device, for example, a process according to the result of the determination process can be performed.

(9)好ましくは、前記端末装置は、前記判断部によって自己が前記所定エリアに存在すると判断された場合、前記所定エリアにおいて行うべき所定の処理を開始する。   (9) Preferably, when the determination unit determines that the terminal device is present in the predetermined area, the terminal device starts a predetermined process to be performed in the predetermined area.

このような構成により、端末装置において、所定エリアで実行すべき専用のアプリケーション等を自動で起動することができる。   With this configuration, the terminal device can automatically start a dedicated application to be executed in a predetermined area.

(10)本発明の実施の形態に係る中継装置は、所定エリアにて用いられる中継装置であって、端末装置から前記中継装置のアドレスを宛先とする通知情報を受信する受信部と、前記受信部による前記通知情報の受信結果に基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行う判断部とを備える。   (10) A relay device according to an embodiment of the present invention is a relay device used in a predetermined area, wherein the receiving unit receives notification information addressed to an address of the relay device from a terminal device; A determination unit that performs a determination process of determining whether the terminal device is present in the predetermined area based on a reception result of the notification information by the unit.

このような構成により、たとえば、端末装置が所定エリアに存在する場合における通知情報の受信結果と、端末装置が所定エリアに存在しない場合における通知情報の受信結果とが異なる場合に、通知情報の受信結果から、端末装置が所定エリアに存在するか否かをより正しく判断することができる。また、端末装置からの通知情報の受信結果を用いる構成により、たとえば住宅等の所定エリアにおいて位置の算出誤差が大きくなるGPS衛星からの信号を用いる方法と比べて、より正しい判断処理を行うことができる。さらに、端末装置が有線通信を行う場合には、通信接続先をより確実に確定させることができるので、さらに正しい判断処理を行うことができる。   With such a configuration, for example, when the reception result of the notification information when the terminal device is in the predetermined area is different from the reception result of the notification information when the terminal device is not in the predetermined area, the reception of the notification information is performed. From the result, it can be more correctly determined whether or not the terminal device exists in the predetermined area. In addition, the configuration using the reception result of the notification information from the terminal device enables more accurate determination processing to be performed as compared to a method using a signal from a GPS satellite in which a position calculation error increases in a predetermined area such as a house. it can. Further, when the terminal device performs the wired communication, the communication connection destination can be more reliably determined, so that a more correct determination process can be performed.

(11)本発明の実施の形態に係る通信制御方法は、所定エリアにて用いられる中継装置と、端末装置と、判断部とを備える通信システムにおける通信制御方法であって、前記端末装置が、前記中継装置の名前解決要求を送信するステップと、前記端末装置が、前記名前解決要求に対する名前解決応答を受信するステップと、前記端末装置が、受信した前記名前解決応答の示す前記中継装置のアドレスを宛先とする通知情報を送信するステップと、前記判断部が、前記通知情報の受信結果に基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行うステップとを含む。   (11) A communication control method according to an embodiment of the present invention is a communication control method in a communication system including a relay device used in a predetermined area, a terminal device, and a determination unit, wherein the terminal device includes: Transmitting the name resolution request of the relay device; the terminal device receiving a name resolution response to the name resolution request; and the terminal device addressing the relay device indicated by the received name resolution response. Transmitting the notification information to the destination, and performing the determination process of determining whether the terminal device is present in the predetermined area based on the reception result of the notification information. Including.

このような構成により、たとえば、端末装置が所定エリアに存在する場合における通知情報の受信結果と、端末装置が所定エリアに存在しない場合における通知情報の受信結果とが異なる場合に、通知情報の受信結果から、端末装置が所定エリアに存在するか否かをより正しく判断することができる。また、端末装置からの通知情報の受信結果を用いる構成により、たとえば住宅等の所定エリアにおいて位置の算出誤差が大きくなるGPS衛星からの信号を用いる方法と比べて、より正しい判断処理を行うことができる。さらに、端末装置が有線通信を行う場合には、通信接続先をより確実に確定させることができるので、さらに正しい判断処理を行うことができる。   With such a configuration, for example, when the reception result of the notification information when the terminal device is in the predetermined area is different from the reception result of the notification information when the terminal device is not in the predetermined area, the reception of the notification information is performed. From the result, it can be more correctly determined whether or not the terminal device exists in the predetermined area. In addition, the configuration using the reception result of the notification information from the terminal device enables more accurate determination processing to be performed as compared to a method using a signal from a GPS satellite in which a position calculation error increases in a predetermined area such as a house. it can. Further, when the terminal device performs the wired communication, the communication connection destination can be more reliably determined, so that a more correct determination process can be performed.

(12)本発明の実施の形態に係る通信制御方法は、所定エリアにおける内部ネットワーク、および前記所定エリア外の外部ネットワーク間の通信を中継する中継装置と、端末装置と、判断部とを備える通信システムにおける通信制御方法であって、前記端末装置が、前記中継装置の名前解決要求を送信するステップと、前記端末装置が、前記名前解決要求に対する名前解決応答を受信するステップと、前記判断部が、前記名前解決応答の示す前記中継装置のアドレスに基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行うステップとを含む。   (12) A communication control method according to an embodiment of the present invention provides a communication device comprising: a relay device that relays communication between an internal network in a predetermined area and an external network outside the predetermined area; a terminal device; and a determination unit. A communication control method in a system, wherein the terminal device transmits a name resolution request of the relay device, the terminal device receives a name resolution response to the name resolution request, Performing a determination process of determining whether or not the terminal device is present in the predetermined area based on the address of the relay device indicated by the name resolution response.

このような構成により、たとえば、所定エリアに存在する端末装置が用いる内部ネットワーク、および所定エリア外に存在する端末装置が用いる外部ネットワークのいずれのネットワークを用いて端末装置および中継装置間の通信が行われるかを名前解決応答の示す中継装置のアドレスから認識することができるので、当該アドレスから、端末装置が所定エリアに存在するか否かをより正しく判断することができる。また、名前解決応答の示す中継装置のアドレスを用いる構成により、たとえば住宅等の所定エリアにおいて位置の算出誤差が大きくなるGPS衛星からの信号を用いる方法と比べて、より正しい判断処理を行うことができる。さらに、端末装置が有線通信を行う場合には、通信接続先をより確実に確定させることができるので、さらに正しい判断処理を行うことができる。   With such a configuration, for example, communication between the terminal device and the relay device is performed using either the internal network used by the terminal device existing in the predetermined area or the external network used by the terminal device existing outside the predetermined area. Since it can be recognized from the address of the relay device indicated by the name resolution response, it can be more correctly determined from the address whether or not the terminal device exists in the predetermined area. Further, the configuration using the address of the relay device indicated by the name resolution response enables more accurate determination processing to be performed as compared with a method using a signal from a GPS satellite in which a position calculation error increases in a predetermined area such as a house. it can. Further, when the terminal device performs the wired communication, the communication connection destination can be more reliably determined, so that a more correct determination process can be performed.

(13)本発明の実施の形態に係る通信制御プログラムは、所定エリアにて用いられる中継装置において用いられる通信制御プログラムであって、コンピュータに、端末装置から前記中継装置のアドレスを宛先とする通知情報を受信するステップと、前記通知情報の受信結果に基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行うステップとを実行させるためのプログラムである。   (13) A communication control program according to an embodiment of the present invention is a communication control program used in a relay device used in a predetermined area, and notifies a computer from a terminal device to an address of the relay device as an address. A program for executing a step of receiving information and a step of performing a determination process of determining whether or not the terminal device is present in the predetermined area based on a result of receiving the notification information.

このような構成により、たとえば、端末装置が所定エリアに存在する場合における通知情報の受信結果と、端末装置が所定エリアに存在しない場合における通知情報の受信結果とが異なる場合に、通知情報の受信結果から、端末装置が所定エリアに存在するか否かをより正しく判断することができる。また、端末装置からの通知情報の受信結果を用いる構成により、たとえば住宅等の所定エリアにおいて位置の算出誤差が大きくなるGPS衛星からの信号を用いる方法と比べて、より正しい判断処理を行うことができる。さらに、端末装置が有線通信を行う場合には、通信接続先をより確実に確定させることができるので、さらに正しい判断処理を行うことができる。   With such a configuration, for example, when the reception result of the notification information when the terminal device is in the predetermined area is different from the reception result of the notification information when the terminal device is not in the predetermined area, the reception of the notification information is performed. From the result, it can be more correctly determined whether or not the terminal device exists in the predetermined area. In addition, the configuration using the reception result of the notification information from the terminal device enables more accurate determination processing to be performed as compared to a method using a signal from a GPS satellite in which a position calculation error increases in a predetermined area such as a house. it can. Further, when the terminal device performs the wired communication, the communication connection destination can be more reliably determined, so that a more correct determination process can be performed.

以下、本発明の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。また、以下に記載する実施の形態の少なくとも一部を任意に組み合わせてもよい。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the drawings, the same or corresponding portions have the same reference characters allotted, and description thereof will not be repeated. Further, at least some of the embodiments described below may be arbitrarily combined.

<第1の実施の形態>
[構成および基本動作]
図1は、本発明の第1の実施の形態に係る通信システムの構成を示す図である。
<First embodiment>
[Configuration and basic operation]
FIG. 1 is a diagram illustrating a configuration of a communication system according to the first embodiment of the present invention.

図1を参照して、通信システム301は、中継装置101と、宅内装置111と、監視装置112と、見守り装置113と、アクセスポイント150,151と、DNSサーバ161と、基地局171と、無線端末装置202A,202B,202Cとを備える。   Referring to FIG. 1, communication system 301 includes relay device 101, home device 111, monitoring device 112, monitoring device 113, access points 150 and 151, DNS server 161, base station 171, Terminal devices 202A, 202B, and 202C are provided.

以下、無線端末装置202A,202B,202Cの各々を、無線端末装置202とも称する。図1では、1つのアクセスポイント150を代表的に示しているが、複数のアクセスポイント150が設けられてもよい。また、1つのアクセスポイント151を代表的に示しているが、複数のアクセスポイント151が設けられてもよい。また、1つのDNSサーバ161を代表的に示しているが、複数のDNSサーバ161が設けられてもよい。また、1つの基地局171を代表的に示しているが、複数の基地局171が設けられてもよい。また、3つの無線端末装置202を代表的に示しているが、さらに多数または少数の無線端末装置202が設けられてもよい。また、中継装置101は、通信システム301におけるアクセスポイント150および151の少なくともいずれか一方と一体化されてもよい。   Hereinafter, each of the wireless terminal devices 202A, 202B, and 202C is also referred to as a wireless terminal device 202. In FIG. 1, one access point 150 is representatively shown, but a plurality of access points 150 may be provided. Although one access point 151 is shown as a representative, a plurality of access points 151 may be provided. Although one DNS server 161 is shown as a representative, a plurality of DNS servers 161 may be provided. Although one base station 171 is shown as a representative, a plurality of base stations 171 may be provided. Further, although three wireless terminal devices 202 are representatively illustrated, more or less wireless terminal devices 202 may be provided. Further, the relay device 101 may be integrated with at least one of the access points 150 and 151 in the communication system 301.

アクセスポイント150は、たとえば、家庭内無線LANサービスを提供するためのアクセスポイントである。アクセスポイント151は、たとえば、公衆無線LANサービスを提供するためのアクセスポイントである。基地局171は、たとえば通信事業者が管理および運営を行う基地局である。   The access point 150 is, for example, an access point for providing a home wireless LAN service. The access point 151 is, for example, an access point for providing a public wireless LAN service. The base station 171 is a base station managed and operated by a communication carrier, for example.

無線端末装置202は、たとえば携帯電話またはスマートホンであり、Wi−Fi(登録商標)およびBluetooth(登録商標)等の通信規格に従ってアクセスポイント150または151と無線通信を行うことにより、アクセスポイント150または151と情報の送受信を行う。また、無線端末装置202は、たとえば、3GおよびLTE(Long Term Evolution)等の通信規格に従って基地局171と無線通信を行うことにより、基地局171と情報の送受信を行う。   The wireless terminal device 202 is, for example, a mobile phone or a smart phone, and performs wireless communication with the access point 150 or 151 in accordance with a communication standard such as Wi-Fi (registered trademark) and Bluetooth (registered trademark) to thereby provide the access point 150 or 151. 151 to transmit and receive information. The wireless terminal device 202 transmits and receives information to and from the base station 171 by performing wireless communication with the base station 171 according to communication standards such as 3G and LTE (Long Term Evolution).

また、無線端末装置202A,202B,202Cは、それぞれ固有の端末IDを有する。無線端末装置202A,202B,202Cの端末IDは、たとえば当該端末IDを有する無線端末装置202のユーザ情報とともに中継装置101に登録されている。   Each of the wireless terminal devices 202A, 202B, and 202C has a unique terminal ID. The terminal IDs of the wireless terminal devices 202A, 202B, 202C are registered in the relay device 101 together with the user information of the wireless terminal device 202 having the terminal ID, for example.

DNSサーバ161は、たとえば、DNS(Domain Name System)サービス、およびDDNS(Dynamic DNS)サービスを提供することが可能なサーバである。   The DNS server 161 is a server capable of providing, for example, a DNS (Domain Name System) service and a DDNS (Dynamic DNS) service.

中継装置101、宅内装置111、監視装置112、見守り装置113およびアクセスポイント150は、たとえば、内部ネットワーク10を介して他の装置と情報の送受信を行う。   The relay device 101, the in-home device 111, the monitoring device 112, the watching device 113, and the access point 150 transmit and receive information to and from other devices via the internal network 10, for example.

中継装置101、アクセスポイント151、DNSサーバ161および基地局171は、たとえば、外部ネットワーク11を介して他の装置と情報の送受信を行う。   The relay device 101, the access point 151, the DNS server 161, and the base station 171 transmit and receive information to and from other devices via the external network 11, for example.

図2は、本発明の第1の実施の形態に係る通信システムの住宅における配置例を示す図である。   FIG. 2 is a diagram showing an example of an arrangement in a house of the communication system according to the first embodiment of the present invention.

図2を参照して、通信システム301におけるアクセスポイント150は、たとえば住宅H1に設けられ、通信エリアである所定エリアA1を形成する。所定エリアA1は、たとえば住宅H1の内部である。また、基地局171の通信エリアは、たとえば所定エリアA1を含む。   Referring to FIG. 2, access point 150 in communication system 301 is provided, for example, in house H1, and forms a predetermined area A1 which is a communication area. The predetermined area A1 is, for example, inside the house H1. Further, the communication area of base station 171 includes, for example, predetermined area A1.

無線端末装置202A,202B,202Cのユーザは、たとえば、対応の無線端末装置202を住宅H1内に置いて過ごしたり、対応の無線端末装置202を携帯して住宅H1から外出したりする。   The users of the wireless terminal devices 202A, 202B, and 202C, for example, spend the corresponding wireless terminal device 202 in the house H1 or carry the corresponding wireless terminal device 202 and go out of the house H1.

中継装置101は、所定エリアA1に用いられる。たとえば、中継装置101は、所定エリアA1にて用いられる。より詳細には、中継装置101は、たとえば、所定エリアA1に設けられ、所定エリアA1における通信のために用いられる。なお、中継装置101は、所定エリアA1における通信のために使用可能であればよく、所定エリアA1の外部に設けられてもよい。   The relay device 101 is used for a predetermined area A1. For example, the relay device 101 is used in a predetermined area A1. More specifically, the relay device 101 is provided, for example, in a predetermined area A1, and is used for communication in the predetermined area A1. Note that the relay device 101 only needs to be usable for communication in the predetermined area A1, and may be provided outside the predetermined area A1.

中継装置101は、たとえば、ブロードバンドルータであり、所定エリアA1における内部ネットワーク10、および所定エリアA1外の外部ネットワーク11間の通信を中継する。より詳細には、中継装置101は、たとえば、内部ネットワーク10および外部ネットワーク11間において情報を中継する、具体的には、情報を含むIPパケットを中継する。内部ネットワーク10および外部ネットワーク11は、それぞれたとえばLAN(Local Area Network)およびインターネットである。   The relay device 101 is, for example, a broadband router, and relays communication between the internal network 10 in the predetermined area A1 and the external network 11 outside the predetermined area A1. More specifically, the relay device 101 relays information between the internal network 10 and the external network 11, for example, specifically, relays an IP packet including information. The internal network 10 and the external network 11 are, for example, a LAN (Local Area Network) and the Internet, respectively.

また、中継装置101は、たとえば、ホスト名HNとして「myhouse.bb.net」を有している。また、中継装置101は、たとえば、内部ネットワーク10側のIPアドレスLA、および外部ネットワーク11側のIPアドレスWAを有している。図1に示すように、IPアドレスLAは、たとえば、ユーザにより設定されるプライベートIPアドレスであり、ここでは「192.168.1.1」である。IPアドレスWAは、グローバルIPアドレスであり、たとえば「133.153.101.10」である。   The relay apparatus 101 has, for example, “myhouse.bb.net” as the host name HN. The relay device 101 has, for example, an IP address LA on the internal network 10 side and an IP address WA on the external network 11 side. As shown in FIG. 1, the IP address LA is, for example, a private IP address set by a user, and here is “192.168.1.1”. The IP address WA is a global IP address, for example, “133.153.101.10”.

宅内装置111、監視装置112および見守り装置113は、たとえば所定エリアA1に設けられる。宅内装置111は、電灯およびエアコンディショナー等であり、中継装置101から受信する制御情報に従ってオンまたはオフする。   The home device 111, the monitoring device 112, and the watching device 113 are provided, for example, in a predetermined area A1. The in-home device 111 is a light, an air conditioner, or the like, and is turned on or off according to control information received from the relay device 101.

監視装置112は、たとえば、所定エリアA1に対する侵入者の検知を行うための装置であり、中継装置101から受信する制御情報に従ってオンまたはオフする。見守り装置113は、たとえば、所定エリアA1すなわち住宅H1に帰宅する子供等の対象者の見守りを行うための装置であり、中継装置101から受信する制御情報に従ってオンまたはオフする。   The monitoring device 112 is, for example, a device for detecting an intruder in the predetermined area A1, and is turned on or off in accordance with control information received from the relay device 101. The watching device 113 is a device for watching a target person such as a child who returns to the predetermined area A1, that is, the house H1, and turns on or off in accordance with control information received from the relay device 101.

[動作(内部ネットワーク10側における通信動作)]
通信システム301における各装置は、コンピュータを備え、当該コンピュータにおけるCPU等の演算処理部は、以下のシーケンス図またはフローチャートの各ステップの一部または全部を含むプログラムを図示しないメモリからそれぞれ読み出して実行する。これら複数の装置のプログラムは、それぞれ、外部からインストールすることができる。これら複数の装置のプログラムは、それぞれ、記録媒体に格納された状態で流通する。
[Operation (communication operation on the internal network 10 side)]
Each device in the communication system 301 includes a computer, and an arithmetic processing unit such as a CPU in the computer reads a program including a part or all of each step of the following sequence diagram or flowchart from a memory (not illustrated) and executes the program. . Each of the programs of the plurality of devices can be externally installed. The programs of the plurality of devices are distributed while being stored in a recording medium.

図3は、本発明の第1の実施の形態に係る通信システムにおいて、無線端末装置が内部ネットワークを介して中継装置と情報の送受信を行う際の動作の一例を示すシーケンス図である。   FIG. 3 is a sequence diagram illustrating an example of an operation when the wireless terminal device transmits and receives information to and from the relay device via the internal network in the communication system according to the first embodiment of the present invention.

図3を参照して、たとえば、無線端末装置202が所定エリアA1に存在する場合において、無線端末装置202および中継装置101間では、通信接続の確立処理が行われる(ステップS102)。より詳細には、無線端末装置202および中継装置101間においてDHCP(Dynamic Host Configuration Protocol)に従うIPアドレスの割り当て処理が行われることにより、無線端末装置202は、中継装置101の配下に属し、かつ中継装置101からローカルIPアドレスが割り当てられる。ここで、無線端末装置202が中継装置101から割り当てられるローカルIPアドレスの値は、たとえば「192.168.1.2」である。   Referring to FIG. 3, for example, when wireless terminal device 202 is present in predetermined area A1, a communication connection establishment process is performed between wireless terminal device 202 and relay device 101 (step S102). More specifically, by performing an IP address assignment process according to the DHCP (Dynamic Host Configuration Protocol) between the wireless terminal device 202 and the relay device 101, the wireless terminal device 202 belongs to the relay device 101 and relays. The device 101 assigns a local IP address. Here, the value of the local IP address to which the wireless terminal device 202 is assigned from the relay device 101 is, for example, “192.168.1.2”.

通信システム301では、無線端末装置202が内部ネットワーク10を介して中継装置101と通信接続を確立すると、中継装置101が無線端末装置202のDNSプロキシサーバおよびデフォルトルータとなる。また、無線端末装置202では、たとえば中継装置101がデフォルトルータおよび優先DNSサーバとして設定される。   In the communication system 301, when the wireless terminal device 202 establishes a communication connection with the relay device 101 via the internal network 10, the relay device 101 becomes a DNS proxy server and a default router of the wireless terminal device 202. In the wireless terminal device 202, for example, the relay device 101 is set as a default router and a priority DNS server.

次に、無線端末装置202は、中継装置101の名前解決要求ML1を送信する(ステップS104)。より詳細には、たとえば、無線端末装置202は、任意のタイミングにおいて、ホスト名HNに対応するIPアドレスを取得するためのメッセージである「myhouse.bb.net」を含む名前解決要求ML1を優先DNSサーバである中継装置101へ送信する。   Next, the wireless terminal device 202 transmits a name solution request ML1 of the relay device 101 (step S104). More specifically, for example, the wireless terminal device 202 gives priority to the name resolution request ML1 including “myhouse.bb.net” which is a message for acquiring the IP address corresponding to the host name HN at an arbitrary timing. The message is transmitted to the relay device 101 which is a server.

次に、中継装置101は、無線端末装置202から名前解決要求ML1を受信すると、受信した名前解決要求ML1の応答として、自己の内部ネットワーク10側のIPアドレスLAを示すメッセージである「myhouse.bb.net=192.168.1.1」を含む名前解決応答ML2を作成し、作成した名前解決応答ML2を無線端末装置202へ送信する。無線端末装置202は、名前解決要求ML1に対する名前解決応答ML2を受信する(ステップS106)。   Next, when the relay device 101 receives the name resolution request ML1 from the wireless terminal device 202, the relay device 101 responds to the received name resolution request ML1 with a message “myhouse.bb” indicating the IP address LA of its own internal network 10 side. .Net = 192.168.1.1 ", and sends the created name resolution response ML2 to the wireless terminal device 202. The wireless terminal device 202 receives the name resolution response ML2 for the name resolution request ML1 (step S106).

次に、無線端末装置202は、受信した名前解決応答ML2の示す中継装置101のIPアドレスを宛先とする通知情報ML3を送信する(ステップS108)。より詳細には、たとえば、無線端末装置202は、中継装置101から名前解決応答ML2を受信すると、モード情報、自己が住宅H1内および住宅H1外のいずれに存在するのかを問い合わせるためのメッセージである「HTTP GET where I am?」、および自己の端末IDたとえば「ID=12345」を含む通知情報ML3を作成する。   Next, the wireless terminal device 202 transmits the notification information ML3 addressed to the IP address of the relay device 101 indicated by the received name resolution response ML2 (step S108). More specifically, for example, upon receiving the name solution response ML2 from the relay device 101, the wireless terminal device 202 is a mode information and a message for inquiring whether the wireless terminal device 202 is located inside the house H1 or outside the house H1. Notification information ML3 including “HTTP GET where I am?” And its own terminal ID, for example, “ID = 12345” is created.

ここで、モード情報は、たとえば、端末装置202において、中継装置101に通信接続する動作モードが選択されているか否かを示す。そして、無線端末装置202は、たとえば、作成した通知情報ML3を、名前解決応答ML2に含まれるIPアドレスLAを宛先として中継装置101へ送信する。   Here, the mode information indicates, for example, whether or not an operation mode for communication connection with the relay device 101 is selected in the terminal device 202. Then, the wireless terminal device 202 transmits, for example, the created notification information ML3 to the relay device 101 with the IP address LA included in the name resolution response ML2 as a destination.

次に、中継装置101は、無線端末装置202から通知情報ML3を受信すると、通知情報ML3の受信結果に基づいて、無線端末装置202が所定エリアA1に存在するか否かを判断する判断処理を行う(ステップS110)。   Next, when receiving the notification information ML3 from the wireless terminal device 202, the relay device 101 performs a determination process of determining whether or not the wireless terminal device 202 exists in the predetermined area A1 based on the reception result of the notification information ML3. Perform (Step S110).

次に、中継装置101は、たとえば、判断処理の結果に基づいて、自己が行うべき所定処理P1を開始する(ステップS112)。   Next, the relay device 101 starts a predetermined process P1 to be performed by itself, for example, based on the result of the determination process (step S112).

次に、中継装置101は、たとえば、通知情報ML3の応答として、判断処理の結果を示す通知応答ML4を送信する(ステップS114)。より詳細には、中継装置101は、たとえば無線端末装置202が住宅H1内に存在していると判断すると、無線端末装置202が住宅H1内に存在していることを示すメッセージである「HTTP 200 OK you are in house」を含む通知応答ML4を作成し、作成した通知応答ML4を無線端末装置202へ送信する。   Next, the relay device 101 transmits, for example, a notification response ML4 indicating the result of the determination process as a response to the notification information ML3 (step S114). More specifically, if the relay device 101 determines that the wireless terminal device 202 is present in the house H1, for example, the message “HTTP 200” indicating that the wireless terminal device 202 is present in the house H1 is provided. A notification response ML4 including “OK you are in house” is created, and the created notification response ML4 is transmitted to the wireless terminal device 202.

次に、無線端末装置202は、中継装置101から通知応答ML4を受信すると、受信した通知応答ML4の示す判断処理の結果に基づいて、自己が行うべき所定処理P2を開始する(ステップS116)。より詳細には、無線端末装置202は、たとえば、判断処理の結果が、自己が所定エリアA1に存在することを示す場合、所定エリアA1において行うべき所定処理P2を開始する。   Next, upon receiving the notification response ML4 from the relay device 101, the wireless terminal device 202 starts a predetermined process P2 to be performed by itself based on the result of the determination process indicated by the received notification response ML4 (step S116). More specifically, for example, when the result of the determination process indicates that the wireless terminal device 202 is present in the predetermined area A1, the wireless terminal device 202 starts the predetermined process P2 to be performed in the predetermined area A1.

なお、上記ステップS112およびS114の順番は、上記に限らず、順番を入れ替えてもよい。   The order of steps S112 and S114 is not limited to the above, and the order may be changed.

[動作(外部ネットワーク11側における通信動作)]
図4は、本発明の第1の実施の形態に係る通信システムにおいて、無線端末装置が外部ネットワークを介して中継装置と情報の送受信を行う際の動作の一例を示すシーケンス図である。
[Operation (communication operation on external network 11 side)]
FIG. 4 is a sequence diagram illustrating an example of an operation when the wireless terminal device transmits and receives information to and from the relay device via the external network in the communication system according to the first embodiment of the present invention.

図4を参照して、たとえば、無線端末装置202が所定エリアA1の外部に存在する場合において、無線端末装置202とアクセスポイント151または基地局171との間では、通信接続の確立処理が行われる(ステップS202)。これにより、無線端末装置202は、中継装置101およびDNSサーバ161との通信が可能となる。より詳細には、無線端末装置202とアクセスポイント151または基地局171との間において、無線通信方式および周波数の設定、ならびに暗号鍵の交換等が行われる。そして、無線端末装置202は、アクセスポイント151または基地局171を介して、DHCP等の手順に従って、自己が使用するIPアドレスの割り当て、およびDNSプロキシサーバのIPアドレスの配布を受ける。このようにして、無線端末装置202は、中継装置101およびDNSサーバ161との通信が可能となる。ここで、無線端末装置202が割り当てられるIPアドレスの値は、たとえば「133.153.101.11」である。   Referring to FIG. 4, for example, when wireless terminal device 202 exists outside predetermined area A1, a communication connection establishment process is performed between wireless terminal device 202 and access point 151 or base station 171. (Step S202). Thereby, the wireless terminal device 202 can communicate with the relay device 101 and the DNS server 161. More specifically, between the wireless terminal device 202 and the access point 151 or the base station 171, the setting of the wireless communication system and the frequency, the exchange of the encryption key, and the like are performed. Then, the wireless terminal device 202 receives, via the access point 151 or the base station 171, the assignment of the IP address used by itself and the distribution of the IP address of the DNS proxy server according to the procedure such as the DHCP. In this way, the wireless terminal device 202 can communicate with the relay device 101 and the DNS server 161. Here, the value of the IP address to which the wireless terminal device 202 is assigned is, for example, “133.153.101.11”.

通信システム301では、無線端末装置202がアクセスポイント151または基地局171と通信接続を確立すると、アクセスポイント151または基地局171が無線端末装置202のDNSプロキシサーバおよびデフォルトルータとなる。無線端末装置202では、たとえばアクセスポイント151または基地局171がデフォルトルータおよび優先DNSサーバとして設定される。   In the communication system 301, when the wireless terminal device 202 establishes a communication connection with the access point 151 or the base station 171, the access point 151 or the base station 171 becomes a DNS proxy server and a default router of the wireless terminal device 202. In the wireless terminal device 202, for example, the access point 151 or the base station 171 is set as a default router and a priority DNS server.

次に、中継装置101は、たとえば、DNSサーバ161からDDNSサービスを受けるためのDNS登録手続きを行う(ステップS204)。より詳細には、中継装置101は、たとえば、自己のホスト名HNおよび自己のグローバルIPアドレスすなわちIPアドレスWAを含み、かつDDNSサービスを要求するためのメッセージであるDNS登録要求を外部ネットワーク11経由でDNSサーバ161へ送信する。DNSサーバ161は、たとえば、中継装置101からDNS登録要求を受信すると、受信したDNS登録要求からホスト名HNおよびIPアドレスWAを取得し、取得したホスト名HNとIPアドレスWAとの対応関係を保持する。   Next, the relay device 101 performs, for example, a DNS registration procedure for receiving a DDNS service from the DNS server 161 (step S204). More specifically, the relay apparatus 101 transmits, via the external network 11, a DNS registration request including a host name HN and a global IP address of the relay apparatus, that is, an IP address WA, and a message for requesting a DDNS service. It transmits to the DNS server 161. For example, upon receiving a DNS registration request from the relay device 101, the DNS server 161 acquires the host name HN and the IP address WA from the received DNS registration request, and holds the correspondence between the acquired host name HN and the IP address WA. I do.

次に、無線端末装置202は、中継装置101の名前解決要求MW1を送信する(ステップS206)。より詳細には、たとえば、無線端末装置202は、任意のタイミングにおいて、ホスト名HNに対応するIPアドレスを取得するためのメッセージである「myhouse.bb.net」を含む名前解決要求MW1を、アクセスポイント151または基地局171経由でDNSサーバ161へ送信する。   Next, the wireless terminal device 202 transmits the name solution request MW1 of the relay device 101 (step S206). More specifically, for example, the wireless terminal device 202 accesses the name resolution request MW1 including “myhouse.bb.net” which is a message for acquiring the IP address corresponding to the host name HN at an arbitrary timing. The data is transmitted to the DNS server 161 via the point 151 or the base station 171.

次に、DNSサーバ161は、無線端末装置202から名前解決要求MW1を受信すると、自己が保持する対応関係に基づいて、受信した名前解決要求MW1の示すホスト名HNに対応するIPアドレスWAを取得する。そして、DNSサーバ161は、たとえば、取得したIPアドレスWAを示すメッセージである「myhouse.bb.net=133.153.101.10」を含む名前解決応答MW2を作成し、作成した名前解決応答MW2をアクセスポイント151または基地局171経由で無線端末装置202へ送信する。無線端末装置202は、名前解決要求MW1に対する名前解決応答MW2を受信する(ステップS208)。   Next, upon receiving the name resolution request MW1 from the wireless terminal device 202, the DNS server 161 acquires the IP address WA corresponding to the host name HN indicated by the received name resolution request MW1, based on the correspondence held by the DNS server 161. I do. Then, the DNS server 161 creates a name resolution response MW2 including, for example, “myhouse.bb.net = 133.153.101.10” which is a message indicating the acquired IP address WA, and creates the created name resolution response MW2. Is transmitted to the wireless terminal device 202 via the access point 151 or the base station 171. The wireless terminal device 202 receives the name resolution response MW2 for the name resolution request MW1 (step S208).

次に、無線端末装置202は、受信した名前解決応答MW2の示す中継装置101のIPアドレスを宛先とする通知情報MW3を送信する(ステップS210)。より詳細には、たとえば、無線端末装置202は、DNSサーバ161から名前解決応答MW2を受信すると、モード情報、自己が住宅H1内および住宅H1外のいずれに存在するのかを問い合わせるためのメッセージである「HTTP GET where I am?」、および自己の端末IDを含む通知情報MW3を作成する。そして、無線端末装置202は、たとえば、作成した通知情報MW3を、名前解決応答MW2に含まれるIPアドレスWAを宛先としてアクセスポイント151または基地局171経由で中継装置101へ送信する。   Next, the wireless terminal device 202 transmits the notification information MW3 addressed to the IP address of the relay device 101 indicated by the received name resolution response MW2 (step S210). More specifically, for example, upon receiving the name resolution response MW2 from the DNS server 161, the wireless terminal device 202 receives the mode information and a message for inquiring whether the wireless terminal device 202 is located inside the house H1 or outside the house H1. Notification information MW3 including “HTTP GET where I am?” And its own terminal ID is created. Then, the wireless terminal device 202 transmits, for example, the created notification information MW3 to the relay device 101 via the access point 151 or the base station 171 with the IP address WA included in the name resolution response MW2 as a destination.

次に、中継装置101は、無線端末装置202から通知情報MW3を受信すると、通知情報MW3の受信結果に基づいて、無線端末装置202が所定エリアA1に存在するか否かを判断する判断処理を行う(ステップS212)。   Next, when receiving the notification information MW3 from the wireless terminal device 202, the relay device 101 performs a determination process of determining whether or not the wireless terminal device 202 is present in the predetermined area A1 based on the reception result of the notification information MW3. Perform (Step S212).

次に、中継装置101は、たとえば、判断処理の結果に基づいて、自己が行うべき所定処理P3を開始する(ステップS214)。   Next, the relay device 101 starts a predetermined process P3 to be performed by itself, based on a result of the determination process (step S214).

次に、中継装置101は、たとえば、通知情報MW3の応答として、判断処理の結果を示す通知応答MW4を送信する(ステップS216)。より詳細には、中継装置101は、たとえば無線端末装置202が住宅H1外に存在していると判断すると、無線端末装置202が住宅H1外に存在していることを示すメッセージである「HTTP 200 OK you are out of house」を含む通知応答MW4を作成し、作成した通知応答MW4を無線端末装置202へ送信する。   Next, the relay device 101 transmits, for example, a notification response MW4 indicating the result of the determination process as a response to the notification information MW3 (step S216). More specifically, if the relay device 101 determines that the wireless terminal device 202 exists outside the house H1, for example, the message “HTTP 200” indicating that the wireless terminal device 202 exists outside the house H1 is provided. A notification response MW4 including “OK you are out of house” is created, and the created notification response MW4 is transmitted to the wireless terminal device 202.

次に、無線端末装置202は、中継装置101から通知応答MW4を受信すると、受信した通知応答MW4の示す判断処理の結果に基づいて、自己が行うべき所定処理P4を開始する(ステップS218)。より詳細には、無線端末装置202は、たとえば、判断処理の結果が、自己が所定エリアA1の外部に存在することを示す場合、所定エリアA1の外部において行うべき所定処理P4を開始する。   Next, upon receiving the notification response MW4 from the relay device 101, the wireless terminal device 202 starts a predetermined process P4 to be performed by itself based on the result of the determination process indicated by the received notification response MW4 (step S218). More specifically, when, for example, the result of the determination process indicates that the wireless terminal device 202 is outside the predetermined area A1, the wireless terminal device 202 starts a predetermined process P4 to be performed outside the predetermined area A1.

なお、上記ステップS202およびS204の順番は、上記に限らず、順番を入れ替えてもよい。また、上記ステップS214およびS216の順番は、上記に限らず、順番を入れ替えてもよい。   The order of steps S202 and S204 is not limited to the above, and the order may be changed. The order of steps S214 and S216 is not limited to the above, and the order may be changed.

また、中継装置101は、上記ステップS216において、通知応答MW4の代わりに通知応答MW4Uを無線端末装置202に送信することがある。通知応答MW4Uの詳細については後述する。   In addition, the relay device 101 may transmit a notification response MW4U to the wireless terminal device 202 instead of the notification response MW4 in the above step S216. Details of the notification response MW4U will be described later.

[無線端末装置の構成]
図5は、本発明の第1の実施の形態に係る通信システムにおける無線端末装置の構成を示す図である。
[Configuration of wireless terminal device]
FIG. 5 is a diagram illustrating a configuration of the wireless terminal device in the communication system according to the first embodiment of the present invention.

図5を参照して、無線端末装置202は、取得部41と、無線通信部42と、処理部43とを備える。   Referring to FIG. 5, wireless terminal device 202 includes acquisition unit 41, wireless communication unit 42, and processing unit 43.

無線端末装置202における無線通信部42は、たとえば、無線LANモードおよび携帯電話網モードの少なくともいずれか一方の動作モードで動作する。無線LANモードおよび携帯電話網モードは、たとえば、無線端末装置202のユーザにより少なくともいずれか一方が「有効」に設定される。   The wireless communication unit 42 in the wireless terminal device 202 operates, for example, in at least one of a wireless LAN mode and a mobile phone network mode. At least one of the wireless LAN mode and the mobile phone network mode is set to “valid” by the user of the wireless terminal device 202, for example.

無線通信部42は、たとえば、動作モードとして無線LANモードが「有効」に設定されている場合、Wi−FiおよびBluetooth等の通信規格に従ってアクセスポイント150またはアクセスポイント151と無線通信を行うことにより、アクセスポイント150またはアクセスポイント151とそれぞれIPパケットの送受信を行うことが可能である。   For example, when the wireless LAN mode is set to “valid” as the operation mode, the wireless communication unit 42 performs wireless communication with the access point 150 or the access point 151 according to a communication standard such as Wi-Fi and Bluetooth. It is possible to transmit and receive IP packets to and from the access point 150 or the access point 151, respectively.

より詳細には、無線通信部42は、たとえば、動作モードとして無線LANモードが「有効」に設定されている場合において、アクセスポイント150またはアクセスポイント151が形成する通信エリア内に位置するとき、Wi−FiおよびBluetooth等の通信規格に従ってアクセスポイント150またはアクセスポイント151とそれぞれIPパケットの送受信を行う。   More specifically, when the wireless communication unit 42 is located in a communication area formed by the access point 150 or the access point 151 when the wireless LAN mode is set to “valid” as the operation mode, for example, IP packets are transmitted and received with the access point 150 or the access point 151 according to communication standards such as Fi and Bluetooth.

また、無線通信部42は、たとえば、動作モードとして携帯電話網モードが「有効」に設定されている場合、3GおよびLTE等の通信規格に従って基地局171と無線通信を行うことにより、基地局171とIPパケットの送受信を行うことが可能である。   In addition, for example, when the mobile phone network mode is set to “valid” as the operation mode, the wireless communication unit 42 performs wireless communication with the base station 171 according to communication standards such as 3G and LTE, so that the base station 171 And the transmission and reception of IP packets.

より詳細には、無線通信部42は、たとえば、動作モードとして携帯電話網モードが「有効」に設定されている場合において、基地局171が形成する通信エリア内に位置するとき、3GおよびLTE等の通信規格に従って基地局171とIPパケットの送受信を行う。   More specifically, when the mobile communication mode is set to “valid” as the operation mode, the wireless communication unit 42 is located in the communication area formed by the base station 171, for example, 3G and LTE. The base station 171 transmits and receives IP packets in accordance with the communication standard.

取得部41は、たとえば、自己の無線端末装置202において、中継装置101に通信接続する動作モードが選択されているか否かを示すモード情報を取得する。   The acquiring unit 41 acquires, for example, mode information indicating whether or not an operation mode for communication connection with the relay apparatus 101 is selected in its own wireless terminal apparatus 202.

具体的には、取得部41は、たとえば、無線通信部42において無線LANモードが「有効」に設定されている場合、自己の無線端末装置202が中継装置101と通信接続を確立することが可能であると判断する。そして、取得部41は、たとえば、中継装置101に通信接続する動作モードが選択されている旨を示すモード情報を作成し、作成したモード情報を処理部43へ出力する。   Specifically, for example, when the wireless LAN mode is set to “valid” in the wireless communication unit 42, the acquisition unit 41 can establish a communication connection between the wireless terminal device 202 of itself and the relay device 101. Is determined to be. Then, the obtaining unit 41 creates, for example, mode information indicating that the operation mode for communication connection with the relay apparatus 101 is selected, and outputs the created mode information to the processing unit 43.

一方、取得部41は、たとえば、無線通信部42において無線LANモードが「無効」に設定されている場合、自己の無線端末装置202が中継装置101と通信接続を確立することが不可能であると判断する。そして、取得部41は、たとえば、中継装置101に通信接続する動作モードが選択されていない旨を示すモード情報を作成し、作成したモード情報を処理部43へ出力する。   On the other hand, for example, when the wireless LAN mode is set to “invalid” in the wireless communication unit 42, the acquiring unit 41 cannot establish a communication connection between the wireless terminal device 202 of itself and the relay device 101. Judge. Then, the acquiring unit 41 creates, for example, mode information indicating that the operation mode for communication connection with the relay apparatus 101 is not selected, and outputs the created mode information to the processing unit 43.

処理部43は、名前解決要求ML1,MW1、名前解決応答ML2,MW2、通知情報ML3,MW3および通知応答ML4,MW4を処理する。   The processing unit 43 processes the name resolution requests ML1 and MW1, the name resolution responses ML2 and MW2, the notification information ML3 and MW3, and the notification responses ML4 and MW4.

より詳細には、処理部43は、たとえば、任意のタイミングにおいて名前解決要求ML1またはMW1を作成し、作成した名前解決要求ML1またはMW1を無線通信部42経由で優先DNSサーバへ送信する、具体的には中継装置101またはDNSサーバ161へ送信する。   More specifically, for example, the processing unit 43 creates the name resolution request ML1 or MW1 at an arbitrary timing, and transmits the created name resolution request ML1 or MW1 to the priority DNS server via the wireless communication unit 42. Is transmitted to the relay apparatus 101 or the DNS server 161.

ここで、名前解決要求ML1およびMW1は、同じ内容を含む。一方、名前解決要求ML1およびMW1の宛先は、デフォルトルータおよび優先DNSサーバとして中継装置101が設定されているか、またはアクセスポイント151もしくは基地局171が設定されているかに応じて異なる。したがって、処理部43は、宛先を意識することなく名前解決要求を作成し、作成した名前解決要求を、デフォルトルータおよび優先DNSサーバとして設定された宛先へ無線通信部42経由で送信する。   Here, the name resolution requests ML1 and MW1 include the same contents. On the other hand, the destinations of the name resolution requests ML1 and MW1 differ depending on whether the relay device 101 is set as the default router and the priority DNS server, or whether the access point 151 or the base station 171 is set. Accordingly, the processing unit 43 creates a name resolution request without considering the destination, and transmits the created name resolution request to the destination set as the default router and the priority DNS server via the wireless communication unit 42.

処理部43は、たとえば、名前解決要求を中継装置101以外の装置へ送信した場合、外部ネットワーク11における中継装置101のIPアドレスを示す名前解決応答MW2を受信する。   For example, when transmitting the name resolution request to a device other than the relay device 101, the processing unit 43 receives a name resolution response MW2 indicating the IP address of the relay device 101 in the external network 11.

具体的には、処理部43は、たとえば、名前解決要求MW1を無線通信部42経由でDNSサーバ161へ送信した場合、外部ネットワーク11における中継装置101のIPアドレスすなわちIPアドレスWAを示すメッセージである「myhouse.bb.net=133.153.101.10」を含む名前解決応答MW2を無線通信部42経由で受信する。   Specifically, for example, when transmitting the name resolution request MW1 to the DNS server 161 via the wireless communication unit 42, the processing unit 43 is a message indicating the IP address of the relay device 101 in the external network 11, that is, the IP address WA. The name resolution response MW2 including “myhouse.bb.net = 133.153.101.10” is received via the wireless communication unit 42.

処理部43は、たとえば、受信した名前解決応答MW2の応答として、モード情報、「HTTP GET where I am?」を示すメッセージ、および端末IDを含む通知情報MW3を作成し、作成した通知情報MW3を、IPアドレスWAを宛先として無線通信部42経由で中継装置101へ送信する。   The processing unit 43 creates notification information MW3 including, for example, mode information, a message indicating “HTTP GET where I am?”, And a terminal ID as a response to the received name resolution response MW2, and transmits the created notification information MW3. , To the relay device 101 via the wireless communication unit 42 with the IP address WA as a destination.

また、処理部43は、たとえば、名前解決要求ML1を無線通信部42経由で中継装置101へ送信した場合、内部ネットワーク10における中継装置101のIPアドレスすなわちIPアドレスLAを示すメッセージである「myhouse.bb.net=192.168.1.1」を含む名前解決応答ML2を無線通信部42経由で受信する。   Further, for example, when transmitting the name resolution request ML1 to the relay device 101 via the wireless communication unit 42, the processing unit 43 is a message indicating the IP address of the relay device 101 in the internal network 10, that is, the IP address LA, "myhouse. bb.net = 192.168.1.1 "via the wireless communication unit 42.

処理部43は、たとえば、受信した名前解決応答ML2の応答として、モード情報、「HTTP GET where I am?」を示すメッセージ、および端末IDを含む通知情報ML3を作成し、作成した通知情報ML3を、IPアドレスLAを宛先として無線通信部42経由で中継装置101へ送信する。   The processing unit 43, for example, creates notification information ML3 including mode information, a message indicating “HTTP GET where I am?”, And a terminal ID as a response to the received name resolution response ML2, and transmits the created notification information ML3. , To the relay device 101 via the wireless communication unit 42 with the IP address LA as the destination.

ここで、通知情報MW3およびML3は、同じ内容を含む。一方、通知情報MW3およびML3の宛先は、デフォルトルータおよび優先DNSサーバとして中継装置101が設定されているか、またはアクセスポイント151もしくは基地局171が設定されているかに応じて異なる。したがって、処理部43は、宛先を意識することなく通知情報を作成し、作成した通知情報を、デフォルトルータおよび優先DNSサーバとして設定された宛先へ無線通信部42経由で送信する。   Here, the notification information MW3 and ML3 include the same content. On the other hand, the destinations of the notification information MW3 and ML3 differ depending on whether the relay device 101 is set as the default router and the priority DNS server, or whether the access point 151 or the base station 171 is set. Therefore, the processing unit 43 creates the notification information without considering the destination, and transmits the created notification information to the destination set as the default router and the priority DNS server via the wireless communication unit 42.

処理部43は、たとえば、中継装置101によって自己の無線端末装置202が所定エリアA1に存在すると判断された場合、所定エリアA1において行うべき所定処理P2を開始する。   For example, when the relay device 101 determines that the wireless terminal device 202 itself is present in the predetermined area A1, the processing unit 43 starts a predetermined process P2 to be performed in the predetermined area A1.

具体的には、処理部43は、たとえば、メッセージである「HTTP 200 OK you are in house」を含む通知応答ML4を中継装置101から無線通信部42経由で受信した場合、中継装置101によって自己の無線端末装置202が所定エリアA1に存在すると判断されたと認識する。そして、処理部43は、所定処理P2として、たとえば宅内専用アプリケーションを起動する。ここで、宅内専用アプリケーションは、たとえば自己の無線端末装置202をテレビのリモコンとして動作させるためのアプリケーションである。   Specifically, for example, when the processing unit 43 receives the notification response ML4 including the message “HTTP 200 OK you are in house” from the relay device 101 via the wireless communication unit 42, the processing unit 43 It recognizes that the wireless terminal device 202 has been determined to be in the predetermined area A1. Then, the processing unit 43 activates, for example, a home dedicated application as the predetermined process P2. Here, the in-home dedicated application is, for example, an application for operating its own wireless terminal device 202 as a television remote control.

また、処理部43は、たとえば、中継装置101によって自己の無線端末装置202が所定エリアA1の外部に存在すると判断された場合、所定エリアA1の外部において行うべき所定処理P4を開始する。   Further, for example, when the relay device 101 determines that the wireless terminal device 202 itself is outside the predetermined area A1, the processing unit 43 starts a predetermined process P4 to be performed outside the predetermined area A1.

具体的には、処理部43は、たとえば、メッセージである「HTTP 200 OK you are out of house」を含む通知応答MW4を中継装置101から無線通信部42経由で受信した場合、中継装置101によって自己の無線端末装置202が所定エリアA1の外部に存在すると判断されたと認識する。そして、処理部43は、所定処理P4として、たとえば、起動した上記宅内専用アプリケーションを終了する。   Specifically, for example, when the processing unit 43 receives the notification response MW4 including the message “HTTP 200 OK you are out of house” from the relay device 101 via the wireless communication unit 42, the processing unit 43 It is determined that the wireless terminal device 202 is determined to be outside the predetermined area A1. Then, as the predetermined process P4, the processing unit 43 ends, for example, the activated home dedicated application.

[中継装置の構成]
図6は、本発明の第1の実施の形態に係る通信システムにおける中継装置の構成を示す図である。
[Relay configuration]
FIG. 6 is a diagram illustrating a configuration of the relay device in the communication system according to the first embodiment of the present invention.

図6を参照して、中継装置101は、LAN側ポート21と、LAN側通信部(受信部)22と、処理部23と、WAN側通信部(受信部)24と、判断部25と、WAN側ポート26とを備える。   Referring to FIG. 6, relay device 101 includes LAN-side port 21, LAN-side communication unit (reception unit) 22, processing unit 23, WAN-side communication unit (reception unit) 24, determination unit 25, A WAN-side port 26.

LAN側ポート21は、たとえば内部ネットワーク10に接続されたイーサネット(登録商標)ケーブルを接続するためのポートである。また、WAN側ポート26は、たとえば外部ネットワーク11に接続されたイーサネットケーブルを接続するためのポートである。   The LAN port 21 is a port for connecting, for example, an Ethernet (registered trademark) cable connected to the internal network 10. The WAN port 26 is a port for connecting, for example, an Ethernet cable connected to the external network 11.

LAN側通信部22は、たとえば、IPアドレスLAを用いて、LAN側ポート21を介して内部ネットワーク10に接続された装置と情報の送受信を行う。より詳細には、LAN側通信部22は、たとえば、宅内装置111、監視装置112、見守り装置113および無線端末装置202と情報の送受信を行う。   The LAN communication section 22 transmits and receives information to and from a device connected to the internal network 10 via the LAN port 21 using the IP address LA, for example. More specifically, the LAN-side communication unit 22 transmits and receives information to and from the home device 111, the monitoring device 112, the watching device 113, and the wireless terminal device 202, for example.

LAN側通信部22は、無線端末装置202から自己の中継装置101のIPアドレスLAを宛先とする通知情報ML3を受信する。また、LAN側通信部22は、たとえば、無線端末装置202において、中継装置101に通信接続する動作モードが選択されているか否かを示すモード情報を取得する。   The LAN communication unit 22 receives the notification information ML3 addressed to the IP address LA of the relay device 101 from the wireless terminal device 202. Further, the LAN-side communication unit 22 acquires, for example, mode information indicating whether or not an operation mode for communication connection with the relay apparatus 101 is selected in the wireless terminal apparatus 202.

詳細には、LAN側通信部22は、たとえば、LAN側ポート21を介して内部ネットワーク10に接続された装置からIPパケットを受信すると、受信したIPパケットに含まれる情報(以下、パケット情報とも称する。)、当該IPパケットの送信元のIPアドレス(以下、送信元IPアドレスとも称する。)、および当該IPパケットの宛先のIPアドレスであるIPアドレスLAを判断部25へ出力するとともに、パケット情報を処理部23へ出力する。   Specifically, when the LAN communication unit 22 receives an IP packet from a device connected to the internal network 10 via the LAN port 21, for example, the information included in the received IP packet (hereinafter, also referred to as packet information) ), The IP address of the source of the IP packet (hereinafter, also referred to as the source IP address) and the IP address LA of the destination of the IP packet are output to the determination unit 25, and the packet information is output. Output to the processing unit 23.

より詳細には、LAN側通信部22は、たとえば、LAN側ポート21を介して無線端末装置202から名前解決要求ML1を含むIPパケットを受信すると、受信したIPパケットに含まれる名前解決要求ML1、送信元IPアドレス、およびIPアドレスLAを判断部25へ出力するとともに、名前解決要求ML1を処理部23へ出力する。   More specifically, when the LAN communication unit 22 receives an IP packet including the name resolution request ML1 from the wireless terminal device 202 via the LAN port 21, for example, the name resolution request ML1 included in the received IP packet, The source IP address and the IP address LA are output to the determination unit 25, and the name resolution request ML1 is output to the processing unit 23.

また、LAN側通信部22は、たとえば、LAN側ポート21を介して無線端末装置202から通知情報ML3を含むIPパケットを受信すると、受信したIPパケットに含まれる通知情報ML3、送信元IPアドレス、およびIPアドレスLAを判断部25へ出力するとともに、通知情報ML3を処理部23へ出力する。   When the LAN communication unit 22 receives an IP packet including the notification information ML3 from the wireless terminal device 202 via the LAN port 21, for example, the notification information ML3 included in the received IP packet, the transmission source IP address, And the IP address LA to the determination unit 25, and the notification information ML3 to the processing unit 23.

WAN側通信部24は、たとえば、IPアドレスWAを用いて、WAN側ポート26を介して外部ネットワーク11に接続された装置と情報の送受信を行う。より詳細には、WAN側通信部24は、たとえば、DNSサーバ161および無線端末装置202と情報の送受信を行う。   The WAN-side communication unit 24 transmits and receives information to and from a device connected to the external network 11 via the WAN-side port 26, for example, using the IP address WA. More specifically, the WAN-side communication unit 24 transmits and receives information to and from the DNS server 161 and the wireless terminal device 202, for example.

WAN側通信部24は、無線端末装置202から自己の中継装置101のIPアドレスWAを宛先とする通知情報MW3を受信する。また、WAN側通信部24は、たとえば、無線端末装置202において、中継装置101に通信接続する動作モードが選択されているか否かを示すモード情報を取得する。   The WAN-side communication unit 24 receives, from the wireless terminal device 202, notification information MW3 addressed to the IP address WA of its own relay device 101. In addition, the WAN-side communication unit 24 acquires, for example, mode information indicating whether or not an operation mode for communication connection with the relay apparatus 101 is selected in the wireless terminal device 202.

詳細には、WAN側通信部24は、たとえば、WAN側ポート26を介して外部ネットワーク11に接続された装置からIPパケットを受信すると、パケット情報、送信元IPアドレス、および当該IPパケットの宛先のIPアドレスであるIPアドレスWAを判断部25へ出力するとともに、パケット情報を処理部23へ出力する。   Specifically, for example, upon receiving an IP packet from a device connected to the external network 11 via the WAN port 26, the WAN-side communication unit 24 receives the packet information, the source IP address, and the destination of the IP packet. It outputs the IP address WA, which is the IP address, to the determination unit 25 and outputs the packet information to the processing unit 23.

より詳細には、WAN側通信部24は、たとえば、WAN側ポート26を介して無線端末装置202から通知情報MW3を含むIPパケットを受信すると、受信したIPパケットに含まれる通知情報MW3、送信元IPアドレス、およびIPアドレスWAを判断部25へ出力するとともに、通知情報MW3を処理部23へ出力する。   More specifically, when the WAN communication unit 24 receives an IP packet including the notification information MW3 from the wireless terminal device 202 via the WAN port 26, the WAN communication unit 24 transmits the notification information MW3 included in the received IP packet, The IP address and the IP address WA are output to the determination unit 25, and the notification information MW3 is output to the processing unit 23.

判断部25は、LAN側通信部22またはWAN側通信部24による通知情報の受信結果に基づいて、無線端末装置202が所定エリアA1に存在するか否かを判断する判断処理を行う。   The determination unit 25 performs a determination process of determining whether or not the wireless terminal device 202 exists in the predetermined area A1, based on the result of receiving the notification information from the LAN communication unit 22 or the WAN communication unit 24.

より詳細には、判断部25は、たとえば、LAN側通信部22またはWAN側通信部24によって取得されたモード情報にさらに基づいて判断処理を行う。言い換えると、判断部25は、たとえば、LAN側通信部22またはWAN側通信部24によって取得されたモード情報、および上記受信結果に基づいて判断処理を行う。   More specifically, the determination unit 25 performs the determination process further based on, for example, the mode information obtained by the LAN communication unit 22 or the WAN communication unit 24. In other words, the determination unit 25 performs a determination process based on, for example, the mode information acquired by the LAN communication unit 22 or the WAN communication unit 24 and the reception result.

[伝送経路に基づく判断処理]
判断部25は、たとえば、通知情報ML3またはMW3の伝送経路を判別し、判別結果に基づいて判断処理を行う。
[Judgment processing based on transmission route]
The determination unit 25 determines, for example, the transmission path of the notification information ML3 or MW3, and performs a determination process based on the determination result.

具体的には、判断部25は、たとえば、LAN側通信部22からパケット情報およびIPアドレスを受けると、受けたパケット情報の内容を確認する。   Specifically, for example, when receiving the packet information and the IP address from the LAN side communication unit 22, the determination unit 25 checks the contents of the received packet information.

判断部25は、たとえば、受けたパケット情報において、「HTTP GET where I am?」を示すメッセージが含まれる場合、当該パケット情報が内部ネットワーク10経由で無線端末装置202から受信した通知情報ML3であると認識し、通知情報ML3の伝送経路が内部ネットワーク10側に存在するため無線端末装置202が所定エリアA1に存在すると判断する。   For example, when the received packet information includes a message indicating “HTTP GET where I am?”, The packet information is the notification information ML3 received from the wireless terminal device 202 via the internal network 10. It is determined that the wireless terminal device 202 exists in the predetermined area A1 because the transmission path of the notification information ML3 exists on the internal network 10 side.

また、判断部25は、たとえば、WAN側通信部24からパケット情報およびIPアドレスを受けると、受けたパケット情報の内容を確認する。   Further, for example, when receiving the packet information and the IP address from the WAN-side communication unit 24, the determination unit 25 checks the contents of the received packet information.

判断部25は、たとえば、受けたパケット情報において、「HTTP GET where I am?」を示すメッセージが含まれる場合、当該パケット情報が外部ネットワーク11経由で無線端末装置202から受信した通知情報MW3であると認識し、通知情報MW3の伝送経路が外部ネットワーク11側に存在するため無線端末装置202が所定エリアA1の外部に存在すると判断する。   For example, when the received packet information includes a message indicating “HTTP GET where I am?”, The packet information is the notification information MW3 received from the wireless terminal device 202 via the external network 11. It is determined that the wireless terminal device 202 exists outside the predetermined area A1 because the transmission path of the notification information MW3 exists on the external network 11 side.

[IPアドレスに基づく判断処理]
判断部25は、たとえば、通知情報ML3またはMW3の送信元のアドレスすなわち送信元IPアドレスに基づいて判断処理を行う。
[Judgment processing based on IP address]
The determination unit 25 performs the determination process based on, for example, the source address of the notification information ML3 or MW3, that is, the source IP address.

具体的には、判断部25は、たとえば、LAN側通信部22またはWAN側通信部24からパケット情報、送信元IPアドレスおよびIPアドレスLAまたはWAを受けると、受けたパケット情報の内容を確認する。   Specifically, for example, when receiving the packet information, the source IP address, and the IP address LA or WA from the LAN-side communication unit 22 or the WAN-side communication unit 24, the determination unit 25 checks the contents of the received packet information. .

判断部25は、たとえば、受けたパケット情報において、「HTTP GET where I am?」を示すメッセージが含まれる場合、受けたパケット情報が通知情報であると認識し、以下の処理を行う。   For example, when the received packet information includes a message indicating “HTTP GET where I am?” In the received packet information, the determination unit 25 recognizes that the received packet information is notification information, and performs the following processing.

すなわち、判断部25は、たとえば、LAN側通信部22またはWAN側通信部24から受けた送信元IPアドレスの値に基づいて、当該通知情報が通知情報ML3およびMW3のいずれであるかを判別する。   That is, the determination unit 25 determines which of the notification information ML3 and MW3 the notification information is based on, for example, the value of the transmission source IP address received from the LAN communication unit 22 or the WAN communication unit 24. .

判断部25は、たとえば、送信元IPアドレスの値が「192.168.1.2」である場合、当該値がプライベートIPアドレスの範囲内であることを確認し、当該通知情報が内部ネットワーク10側から受信した通知情報ML3であると判別する。そして、判断部25は、たとえば、通知情報ML3を送信した無線端末装置202が所定エリアA1に存在すると判断する。   For example, when the value of the source IP address is “192.168.1.2”, the determination unit 25 confirms that the value is within the range of the private IP address, and transmits the notification information to the internal network 10. Is determined to be the notification information ML3 received from the side. Then, the determination unit 25 determines, for example, that the wireless terminal device 202 that has transmitted the notification information ML3 exists in the predetermined area A1.

また、判断部25は、たとえば、送信元IPアドレスの値が「133.153.101.11」である場合、当該値がプライベートIPアドレスの範囲外であることを確認し、当該通知情報が外部ネットワーク11側から受信した通知情報MW3であると判別する。そして、判断部25は、たとえば、通知情報MW3を送信した無線端末装置202が所定エリアA1の外部に存在すると判断する。   Further, for example, when the value of the transmission source IP address is “133.153.101.11”, the determination unit 25 confirms that the value is out of the range of the private IP address, and determines that the notification information is external. It is determined that the notification information MW3 is received from the network 11 side. Then, the determination unit 25 determines, for example, that the wireless terminal device 202 that has transmitted the notification information MW3 exists outside the predetermined area A1.

なお、判断部25が、通知情報ML3またはMW3の送信元のアドレスに基づいて判断処理を行う構成に限らず、判断部25が、通知情報ML3またはMW3の宛先に基づいて判断処理を行う構成であってもよい。   The determination unit 25 is not limited to the configuration in which the determination unit 25 performs the determination process based on the transmission source address of the notification information ML3 or MW3, and the determination unit 25 performs the determination process based on the destination of the notification information ML3 or MW3. There may be.

また、本発明の第1の実施の形態に係る中継装置では、判断部25は、伝送経路に基づく判断処理、およびIPアドレスに基づく判断処理の両方を行う構成であるとしたが、これに限定するものではない。判断部25は、これらの判断処理のいずれか一方を行う構成であればよい。   Further, in the relay device according to the first embodiment of the present invention, the determination unit 25 is configured to perform both the determination process based on the transmission path and the determination process based on the IP address. It does not do. The determination unit 25 may be configured to perform any one of these determination processes.

[判断結果の確度]
判断部25は、たとえば、通知情報ML3またはMW3に含まれるモード情報が、無線端末装置202において中継装置101に通信接続する動作モードが選択されていることを示す場合、判断結果の確度が高い旨、当該判断結果および端末IDを判断処理の結果として処理部23へ通知する。
[Accuracy of judgment result]
For example, when the mode information included in the notification information ML3 or MW3 indicates that the operation mode for communication connection with the relay apparatus 101 is selected in the wireless terminal device 202, the determination unit 25 indicates that the accuracy of the determination result is high. Then, the processing unit 23 is notified of the determination result and the terminal ID as a result of the determination process.

一方、判断部25は、たとえば、通知情報ML3またはMW3に含まれるモード情報が、無線端末装置202において中継装置101に通信接続する動作モードが選択されていないことを示す場合、判断結果の確度が低い旨、当該判断結果および端末IDを判断処理の結果として処理部23へ通知する。   On the other hand, for example, when the mode information included in the notification information ML3 or MW3 indicates that the operation mode for communication connection with the relay apparatus 101 is not selected in the wireless terminal device 202, the determination unit 25 determines that the accuracy of the determination result is To the effect that it is low, the determination result and the terminal ID are notified to the processing unit 23 as a result of the determination process.

処理部23は、たとえば、名前解決要求ML1、名前解決応答ML2、通知情報ML3,MW3、および通知応答ML4,MW4を処理する。   The processing unit 23 processes, for example, the name resolution request ML1, the name resolution response ML2, the notification information ML3, MW3, and the notification responses ML4, MW4.

より詳細には、処理部23は、たとえば、名前解決要求ML1を無線端末装置202からLAN側通信部22経由で受信した場合、受けた名前解決要求ML1の応答として、内部ネットワーク10における自己のIPアドレスLAを示す名前解決応答ML2を作成し、作成した名前解決応答ML2をLAN側通信部22経由で無線端末装置202へ送信する。   More specifically, when the processing unit 23 receives the name resolution request ML1 from the wireless terminal device 202 via the LAN-side communication unit 22, for example, the processing unit 23 transmits its own IP address in the internal network 10 as a response to the received name resolution request ML1. A name resolution response ML2 indicating the address LA is created, and the created name resolution response ML2 is transmitted to the wireless terminal device 202 via the LAN-side communication unit 22.

[所定処理P1,P3]
処理部23は、たとえば、判断処理の結果に基づいて、自己が行うべき所定処理P1またはP3を開始する。また、処理部23は、たとえば判断処理の結果を無線端末装置202に通知する。
[Predetermined processing P1, P3]
The processing unit 23 starts the predetermined processing P1 or P3 to be performed by itself, based on the result of the determination processing, for example. In addition, the processing unit 23 notifies the wireless terminal device 202 of the result of the determination process, for example.

具体的には、処理部23は、たとえば、登録されている端末IDごとに、対応の無線端末装置202が所定エリアA1に存在するか否かを示すフラグを保持する。ここでは、処理部23は、たとえば、無線端末装置202A〜202Cの端末IDにそれぞれ対応するフラグFA〜FCを保持する。   Specifically, for example, the processing unit 23 holds, for each registered terminal ID, a flag indicating whether or not the corresponding wireless terminal device 202 exists in the predetermined area A1. Here, the processing unit 23 holds, for example, flags FA to FC respectively corresponding to the terminal IDs of the wireless terminal devices 202A to 202C.

フラグFA〜FCは、たとえば、「対応の無線端末装置202が高い確度で所定エリアA1に存在する」、「対応の無線端末装置202が高い確度で所定エリアA1の外部に存在する」、および「対応の無線端末装置202が所定エリアA1に存在するか否か不明である」ことをそれぞれ示す「1」、「−1」または「0」の値に設定することが可能である。   The flags FA to FC include, for example, “the corresponding wireless terminal device 202 exists with high accuracy in the predetermined area A1”, “the corresponding wireless terminal device 202 exists with high accuracy outside the predetermined area A1”, and “ It is unknown whether or not the corresponding wireless terminal device 202 exists in the predetermined area A1 ", which can be set to" 1 "," -1 ", or" 0 ", respectively.

処理部23は、たとえば、LAN側通信部22から通知情報ML3を受け、かつ判断部25から判断結果の確度が高い旨、無線端末装置202が所定エリアA1に存在することを示す判断結果、および端末IDの通知を受けると、以下の処理を行う。   The processing unit 23 receives, for example, the notification information ML3 from the LAN-side communication unit 22 and a determination result indicating that the accuracy of the determination result is high from the determination unit 25, indicating that the wireless terminal device 202 is present in the predetermined area A1, and When the terminal ID is notified, the following processing is performed.

すなわち、処理部23は、たとえば、当該端末IDに対応するフラグを「1」に設定するとともに、通知応答ML4を作成し、作成した通知応答ML4を当該端末IDの示す無線端末装置202へLAN側通信部22および内部ネットワーク10経由で送信する。   That is, the processing unit 23 sets, for example, a flag corresponding to the terminal ID to “1”, creates a notification response ML4, and transmits the created notification response ML4 to the wireless terminal device 202 indicated by the terminal ID on the LAN side. It is transmitted via the communication unit 22 and the internal network 10.

具体的には、処理部23は、たとえば、当該端末IDが無線端末装置202Aの端末IDである場合、フラグFAを「1」に設定するとともに、通知応答ML4をLAN側通信部22および内部ネットワーク10経由で無線端末装置202Aへ送信する。   Specifically, for example, when the terminal ID is the terminal ID of the wireless terminal device 202A, the processing unit 23 sets the flag FA to “1” and sets the notification response ML4 to the LAN-side communication unit 22 and the internal network. 10 to the wireless terminal device 202A.

また、処理部23は、たとえば、WAN側通信部24から通知情報MW3を受け、かつ判断部25から判断結果の確度が高い旨、無線端末装置202が所定エリアA1の外部に存在することを示す判断結果、および端末IDの通知を受けると、以下の処理を行う。   Further, for example, the processing unit 23 receives the notification information MW3 from the WAN-side communication unit 24, and indicates that the accuracy of the determination result is high from the determination unit 25, and indicates that the wireless terminal device 202 exists outside the predetermined area A1. When the notification of the judgment result and the terminal ID is received, the following processing is performed.

すなわち、処理部23は、たとえば、当該端末IDに対応するフラグを「−1」に設定するとともに、通知応答MW4を作成し、作成した通知応答MW4を当該端末IDの示す無線端末装置202へWAN側通信部24および外部ネットワーク11経由で送信する。   That is, for example, the processing unit 23 sets the flag corresponding to the terminal ID to “−1”, creates the notification response MW4, and transmits the created notification response MW4 to the wireless terminal device 202 indicated by the terminal ID in the WAN. It is transmitted via the side communication unit 24 and the external network 11.

具体的には、処理部23は、たとえば、当該端末IDが無線端末装置202Bの端末IDである場合、フラグFBを「−1」に設定するとともに、通知応答MW4をWAN側通信部24および外部ネットワーク11経由で無線端末装置202Bへ送信する。   Specifically, for example, when the terminal ID is the terminal ID of the wireless terminal device 202B, the processing unit 23 sets the flag FB to “−1” and sets the notification response MW4 to the WAN-side communication unit 24 and the external The data is transmitted to the wireless terminal device 202B via the network 11.

また、処理部23は、たとえば、WAN側通信部24から通知情報MW3を受け、かつ判断部25から判断結果の確度が低い旨、無線端末装置202が所定エリアA1の外部に存在することを示す判断結果、および端末IDの通知を受けると、以下の処理を行う。   Further, for example, the processing unit 23 receives the notification information MW3 from the WAN-side communication unit 24, and indicates that the accuracy of the determination result is low from the determination unit 25, and indicates that the wireless terminal device 202 exists outside the predetermined area A1. When the notification of the judgment result and the terminal ID is received, the following processing is performed.

すなわち、処理部23は、たとえば、当該端末IDに対応するフラグを「0」に設定するとともに、対応の無線端末装置202が所定エリアA1に存在するか否か不明であることを示すメッセージを含む通知応答MW4Uを作成し、作成した通知応答MW4Uを当該端末IDの示す無線端末装置202へWAN側通信部24および外部ネットワーク11経由で送信する。   That is, for example, the processing unit 23 sets a flag corresponding to the terminal ID to “0” and includes a message indicating that it is unknown whether the corresponding wireless terminal device 202 exists in the predetermined area A1. The notification response MW4U is created, and the created notification response MW4U is transmitted to the wireless terminal device 202 indicated by the terminal ID via the WAN communication unit 24 and the external network 11.

具体的には、処理部23は、たとえば、当該端末IDが無線端末装置202Cの端末IDである場合、フラグFCを「0」に設定するとともに、通知応答MW4UをWAN側通信部24および外部ネットワーク11経由で無線端末装置202Cへ送信する。   Specifically, for example, when the terminal ID is the terminal ID of the wireless terminal device 202C, the processing unit 23 sets the flag FC to “0” and sets the notification response MW4U to the WAN-side communication unit 24 and the external network. 11 to the wireless terminal device 202C.

処理部23は、たとえば、フラグFA〜FCの値を監視し、監視結果に基づいて所定処理P1またはP3を開始する。   The processing unit 23 monitors, for example, the values of the flags FA to FC, and starts the predetermined processing P1 or P3 based on the monitoring result.

より詳細には、処理部23は、たとえば、フラグFA〜FCのうちの少なくともいずれか1つの値が「1」である状態から、フラグFA〜FCの値がすべて「−1」である状態に遷移すると、無線端末装置202A〜202Cのユーザが全員外出してしまって対象エリアA1が無人状態であると判断し、所定処理P3を開始する。   More specifically, the processing unit 23 changes, for example, from a state in which at least one of the flags FA to FC is “1” to a state in which all the values of the flags FA to FC are “−1”. When the transition is made, it is determined that all the users of the wireless terminal devices 202A to 202C have gone out and the target area A1 is in the unmanned state, and the predetermined process P3 is started.

具体的には、処理部23は、所定処理P3として、たとえば、監視装置112をオンするための制御を行うとともに、見守り装置113および宅内装置111をオフするための制御を行う。   Specifically, the processing unit 23 performs, for example, control for turning on the monitoring device 112 and control for turning off the watching device 113 and the in-home device 111 as the predetermined process P3.

より詳細には、処理部23は、たとえば、監視装置112をオンするための制御情報、見守り装置113をオフするための制御情報、および宅内装置111をオフするための制御情報を作成し、作成した各制御情報をLAN側通信部22,内部ネットワーク10経由で監視装置112、見守り装置113、および宅内装置111へそれぞれ送信する。   More specifically, the processing unit 23 creates and creates, for example, control information for turning on the monitoring device 112, control information for turning off the watching device 113, and control information for turning off the home device 111. The control information is transmitted to the monitoring device 112, the watching device 113, and the home device 111 via the LAN-side communication unit 22 and the internal network 10, respectively.

処理部23は、たとえば、フラグFA〜FCの値がすべて「−1」である状態から、フラグFA〜FCのうちの少なくともいずれか1つの値が「1」である状態に遷移すると、無線端末装置202A〜202Cのユーザのうちの少なくとも1人が帰宅し、対象エリアA1が有人状態であると判断し、所定処理P1を開始する。   For example, when a transition is made from a state in which the values of the flags FA to FC are all “−1” to a state in which at least one of the flags FA to FC is “1”, the processing unit 23 At least one of the users of the devices 202A to 202C returns home, determines that the target area A1 is in a manned state, and starts the predetermined process P1.

具体的には、処理部23は、所定処理P1として、たとえば、監視装置112をオフするための制御を行うとともに、宅内装置111をオンするための制御を行う。より詳細には、処理部23は、たとえば、監視装置112をオフするための制御情報、および宅内装置111をオンするための制御情報を作成し、作成した各制御情報をLAN側通信部22,内部ネットワーク10経由で監視装置112および宅内装置111へそれぞれ送信する。   Specifically, the processing unit 23 performs, as the predetermined process P1, for example, control for turning off the monitoring device 112 and control for turning on the home device 111. More specifically, the processing unit 23 creates, for example, control information for turning off the monitoring device 112 and control information for turning on the home device 111, and transmits the created control information to the LAN-side communication unit 22. The information is transmitted to the monitoring device 112 and the in-home device 111 via the internal network 10.

また、処理部23は、たとえば、登録されているユーザ情報、および通知情報に含まれる端末IDに基づいて、帰宅したユーザが子供または老人であるか否かを判断する。処理部23は、たとえば、帰宅したユーザが子供または老人であると判断した場合、見守り装置113をオンするための制御を行う。より詳細には、処理部23は、たとえば、見守り装置113をオンするための制御情報を作成し、作成した制御情報をLAN側通信部22,内部ネットワーク10経由で見守り装置113へ送信する。   Further, the processing unit 23 determines whether or not the user who has returned home is a child or an elderly person, based on the registered user information and the terminal ID included in the notification information, for example. When determining that the user who has returned home is a child or an elderly person, the processing unit 23 performs control for turning on the watching apparatus 113, for example. More specifically, the processing unit 23 creates, for example, control information for turning on the watching apparatus 113, and transmits the created control information to the watching apparatus 113 via the LAN-side communication unit 22 and the internal network 10.

なお、処理部23は、宅内装置111をオンまたはオフする制御において、無線端末装置202A〜202Cのユーザのうち、いずれのユーザが外出または帰宅したかをフラグの値に基づいて特定し、住宅H1における、特定したユーザの部屋の電灯およびエアコンディショナー等を個別にオンまたはオフする制御を行う構成であってもよい。   In the control of turning on or off the in-home device 111, the processing unit 23 specifies which of the users of the wireless terminal devices 202A to 202C has gone out or returned based on the value of the flag, and determines whether the house H1 , The control for individually turning on or off the lights and the air conditioner in the room of the specified user may be performed.

また、本発明の第1の実施の形態に係る通信システムは、無線通信を行う無線端末装置202を備える構成であるとしたが、これに限定するものではない。通信システム301は、無線端末装置202の代わりに、有線通信を行う端末装置を備える構成であってもよい。   In addition, the communication system according to the first embodiment of the present invention has a configuration including the wireless terminal device 202 that performs wireless communication, but is not limited thereto. The communication system 301 may include a terminal device that performs wired communication instead of the wireless terminal device 202.

また、本発明の第1の実施の形態に係る通信システムでは、中継装置101が、判断部25を備える構成であるとしたが、これに限定するものではない。通信システム301では、無線端末装置202以外の装置が判断部25を備える構成であればよい。   Further, in the communication system according to the first embodiment of the present invention, the relay device 101 has the configuration including the determination unit 25, but is not limited thereto. In the communication system 301, any device other than the wireless terminal device 202 may have the configuration including the determination unit 25.

また、本発明の第1の実施の形態に係る中継装置では、判断部25が、LAN側通信部22またはWAN側通信部24によって取得されたモード情報、およびLAN側通信部22またはWAN側通信部24による通知情報の受信結果に基づいて判断処理を行う構成であるとしたが、これに限定するものではない。判断部25は、上記受信結果に基づいて判断処理を行う構成であればよい。   Further, in the relay device according to the first embodiment of the present invention, the determination unit 25 determines whether the mode information acquired by the LAN-side communication unit 22 or the WAN-side communication unit 24 and the LAN-side communication unit 22 or the WAN-side communication Although the configuration has been described in which the determination process is performed based on the reception result of the notification information by the unit 24, the configuration is not limited to this. The determination unit 25 may be configured to perform the determination process based on the reception result.

ところで、特許文献1〜3に記載の技術を超えて、端末装置を使用するユーザのたとえば在宅または外出をより正しく判断するための技術が求められている。   By the way, beyond the techniques described in Patent Literatures 1 to 3, there is a demand for a technique for more correctly determining a user who uses a terminal device, for example, at home or going out.

これに対して、本発明の第1の実施の形態に係る通信システムでは、中継装置101は、所定エリアA1にて用いられる。無線端末装置202は、中継装置101の名前解決要求ML1またはMW1を送信し、名前解決要求ML1またはMW1に対する名前解決応答ML2またはMW2をそれぞれ受信する。無線端末装置202は、受信した名前解決応答ML2またはMW2の示す中継装置101のIPアドレスLAまたはWAを宛先とする通知情報ML3またはMW3をそれぞれ送信する。そして、判断部25は、通知情報ML3またはMW3の受信結果に基づいて、無線端末装置202が所定エリアA1に存在するか否かを判断する判断処理を行う。   On the other hand, in the communication system according to the first embodiment of the present invention, the relay device 101 is used in the predetermined area A1. The wireless terminal device 202 transmits the name resolution request ML1 or MW1 of the relay device 101, and receives the name resolution response ML2 or MW2 for the name resolution request ML1 or MW1, respectively. The wireless terminal device 202 transmits the notification information ML3 or MW3 addressed to the IP address LA or WA of the relay device 101 indicated by the received name resolution response ML2 or MW2, respectively. Then, the determination unit 25 performs a determination process of determining whether the wireless terminal device 202 exists in the predetermined area A1 based on the reception result of the notification information ML3 or MW3.

このような構成により、たとえば、無線端末装置202が所定エリアA1に存在する場合における通知情報ML3の受信結果と、無線端末装置202が所定エリアA1に存在しない場合における通知情報MW3の受信結果とが異なる場合に、通知情報ML3またはMW3の受信結果から、無線端末装置202が所定エリアA1に存在するか否かをより正しく判断することができる。また、無線端末装置202からの通知情報ML3またはMW3の受信結果を用いる構成により、たとえば住宅等の所定エリアA1において位置の算出誤差が大きくなるGPS衛星からの信号を用いる方法と比べて、より正しい判断処理を行うことができる。さらに、無線端末装置202の代わりに、端末装置が有線通信を行う場合には、通信接続先をより確実に確定させることができるので、さらに正しい判断処理を行うことができる。   With such a configuration, for example, the reception result of notification information ML3 when wireless terminal device 202 is in predetermined area A1 and the reception result of notification information MW3 when wireless terminal device 202 is not in predetermined area A1 are If different, it can be more correctly determined from the reception result of the notification information ML3 or MW3 whether the wireless terminal device 202 exists in the predetermined area A1. Further, the configuration using the reception result of the notification information ML3 or MW3 from the wireless terminal device 202 is more accurate than a method using a signal from a GPS satellite in which a position calculation error increases in a predetermined area A1 such as a house. A determination process can be performed. Furthermore, when the terminal device performs wired communication instead of the wireless terminal device 202, the communication connection destination can be more reliably determined, so that a more correct determination process can be performed.

また、本発明の第1の実施の形態に係る通信システムでは、判断部25は、通知情報ML3またはMW3の伝送経路を判別し、判別結果に基づいて判断処理を行う。   In the communication system according to the first embodiment of the present invention, the determination unit 25 determines the transmission path of the notification information ML3 or MW3, and performs a determination process based on the determination result.

このような構成により、たとえば無線端末装置202が所定エリアA1に存在する場合において通知情報ML3が伝送される所定エリアA1内の伝送経路と、無線端末装置202が所定エリアA1に存在しない場合において通知情報MW3が伝送される所定エリアA1外の伝送経路とを判別することができるため、より正しい判断処理を行うことができる。   With such a configuration, for example, when the wireless terminal device 202 is present in the predetermined area A1, the transmission path in the predetermined area A1 through which the notification information ML3 is transmitted, and when the wireless terminal device 202 is not present in the predetermined area A1, Since a transmission path outside the predetermined area A1 through which the information MW3 is transmitted can be determined, more accurate determination processing can be performed.

また、本発明の第1の実施の形態に係る通信システムでは、中継装置101は、所定エリアA1における内部ネットワーク10、および所定エリアA1外の外部ネットワーク11間の通信を中継する。そして、判断部25は、通知情報ML3またはMW3の送信元のアドレスに基づいて判断処理を行う。   In the communication system according to the first embodiment of the present invention, the relay device 101 relays communication between the internal network 10 in the predetermined area A1 and the external network 11 outside the predetermined area A1. Then, the determination unit 25 performs a determination process based on the transmission source address of the notification information ML3 or MW3.

このような構成により、たとえば所定エリアA1に存在する無線端末装置202が用いる内部ネットワーク10、および所定エリアA1外に存在する無線端末装置202が用いる外部ネットワーク11のいずれのネットワークを通知情報ML3またはMW3が経由したかについて通知情報ML3またはMW3の送信元のアドレスから認識することができるので、通知情報ML3またはMW3の送信元のアドレスに基づいてより正しい判断処理を行うことができる。   With such a configuration, for example, any one of the internal network 10 used by the wireless terminal device 202 existing in the predetermined area A1 and the external network 11 used by the wireless terminal device 202 existing outside the predetermined area A1 is notified to the notification information ML3 or MW3. Can be recognized from the address of the transmission source of the notification information ML3 or MW3, so that a more correct determination process can be performed based on the transmission source address of the notification information ML3 or MW3.

また、本発明の第1の実施の形態に係る通信システムでは、中継装置101は、判断部25を含み、判断処理の結果を示す通知応答ML4、MW4またはMW4Uを無線端末装置202に通知する。   Further, in the communication system according to the first embodiment of the present invention, relay apparatus 101 includes determination section 25 and notifies wireless terminal apparatus 202 of notification response ML4, MW4 or MW4U indicating the result of the determination processing.

このような構成により、無線端末装置202において、たとえば判断処理の結果に応じた処理を行うことができる。   With such a configuration, in the wireless terminal device 202, for example, a process according to the result of the determination process can be performed.

また、本発明の第1の実施の形態に係る通信システムでは、無線端末装置202において、取得部41は、中継装置101に通信接続する動作モードが選択されているか否かを示すモード情報を取得する。そして、判断部25は、取得部41によって取得されたモード情報、および上記受信結果に基づいて判断処理を行う。   Further, in the communication system according to the first embodiment of the present invention, in the wireless terminal device 202, the acquisition unit 41 acquires mode information indicating whether an operation mode for communication connection with the relay device 101 is selected. I do. Then, the determination unit 25 performs a determination process based on the mode information acquired by the acquisition unit 41 and the reception result.

このような構成により、無線端末装置202が所定エリアA1に存在する場合において、無線端末装置202が中継装置101と通信接続を確立する動作モードであるか否かを認識することができるので、当該動作モードが選択されていない場合に、たとえば判断結果の確度が低いことを評価することができる。   With such a configuration, when the wireless terminal device 202 is in the predetermined area A1, it is possible to recognize whether or not the wireless terminal device 202 is in an operation mode for establishing a communication connection with the relay device 101. When the operation mode is not selected, for example, it can be evaluated that the accuracy of the determination result is low.

また、本発明の第1の実施の形態に係る通信システムでは、中継装置101は、名前解決要求ML1を無線端末装置202から受信した場合、内部ネットワーク10における自己のIPアドレスLAを示す名前解決応答ML2を無線端末装置202へ送信する。そして、無線端末装置202は、名前解決要求MW1を中継装置101以外の装置、具体的にはDNSサーバ161へ送信した場合、外部ネットワーク11における中継装置101のIPアドレスWAを示す名前解決応答MW2を受信する。   Further, in the communication system according to the first embodiment of the present invention, when receiving the name resolution request ML1 from the wireless terminal device 202, the relay device 101 receives the name resolution response indicating its own IP address LA in the internal network 10. ML2 is transmitted to the wireless terminal device 202. Then, when transmitting the name resolution request MW1 to a device other than the relay device 101, specifically, the DNS server 161, the wireless terminal device 202 transmits a name resolution response MW2 indicating the IP address WA of the relay device 101 in the external network 11. Receive.

このような構成により、無線端末装置202は、内部ネットワーク10および外部ネットワーク11のいずれに接続している場合においても、自己が接続するネットワーク側の中継装置101のIPアドレスLAまたはWAを取得することができる。   With such a configuration, the wireless terminal device 202 acquires the IP address LA or WA of the relay device 101 on the network side to which the wireless terminal device 202 is connected, regardless of whether the wireless terminal device 202 is connected to the internal network 10 or the external network 11. Can be.

また、本発明の第1の実施の形態に係る通信システムでは、無線端末装置202は、判断部25によって自己が所定エリアA1に存在すると判断された場合、所定エリアA1において行うべき所定処理P2を開始する。   Also, in the communication system according to the first embodiment of the present invention, when the determination unit 25 determines that the wireless terminal device 202 is present in the predetermined area A1, the wireless terminal device 202 performs a predetermined process P2 to be performed in the predetermined area A1. Start.

このような構成により、無線端末装置202において、所定エリアA1で実行すべき宅内専用アプリケーション、たとえば自己の無線端末装置202をテレビのリモコンとして動作させるためのアプリケーションを自動で起動することができる。   With such a configuration, the wireless terminal device 202 can automatically start an in-home application to be executed in the predetermined area A1, for example, an application for operating the wireless terminal device 202 as a television remote control.

また、本発明の第1の実施の形態に係る中継装置は、所定エリアA1にて用いられる。LAN側通信部22は、無線端末装置202から自己の中継装置101のIPアドレスLAを宛先とする通知情報ML3を受信する。WAN側通信部24は、無線端末装置202から自己の中継装置101のIPアドレスWAを宛先とする通知情報MW3を受信する。そして、判断部25は、LAN側通信部22またはWAN側通信部24による通知情報ML3またはMW3の受信結果にそれぞれ基づいて、無線端末装置202が所定エリアA1に存在するか否かを判断する判断処理を行う。   Further, the relay device according to the first embodiment of the present invention is used in a predetermined area A1. The LAN communication unit 22 receives the notification information ML3 addressed to the IP address LA of the relay device 101 from the wireless terminal device 202. The WAN-side communication unit 24 receives, from the wireless terminal device 202, notification information MW3 addressed to the IP address WA of its own relay device 101. Then, the determination unit 25 determines whether or not the wireless terminal device 202 exists in the predetermined area A1 based on the reception result of the notification information ML3 or MW3 by the LAN communication unit 22 or the WAN communication unit 24, respectively. Perform processing.

このような構成により、たとえば、無線端末装置202が所定エリアA1に存在する場合における通知情報ML3の受信結果と、無線端末装置202が所定エリアA1に存在しない場合における通知情報MW3の受信結果とが異なる場合に、通知情報ML3またはMW3の受信結果から、無線端末装置202が所定エリアA1に存在するか否かをより正しく判断することができる。また、無線端末装置202からの通知情報ML3またはMW3の受信結果を用いる構成により、たとえば住宅等の所定エリアA1において位置の算出誤差が大きくなるGPS衛星からの信号を用いる方法と比べて、より正しい判断処理を行うことができる。さらに、無線端末装置202の代わりに、端末装置が有線通信を行う場合には、通信接続先をより確実に確定させることができるので、さらに正しい判断処理を行うことができる。   With such a configuration, for example, the reception result of notification information ML3 when wireless terminal device 202 is in predetermined area A1 and the reception result of notification information MW3 when wireless terminal device 202 is not in predetermined area A1 are If different, it can be more correctly determined from the reception result of the notification information ML3 or MW3 whether the wireless terminal device 202 exists in the predetermined area A1. Further, the configuration using the reception result of the notification information ML3 or MW3 from the wireless terminal device 202 is more accurate than a method using a signal from a GPS satellite in which a position calculation error increases in a predetermined area A1 such as a house. A determination process can be performed. Furthermore, when the terminal device performs wired communication instead of the wireless terminal device 202, the communication connection destination can be more reliably determined, so that a more correct determination process can be performed.

次に、本発明の他の実施の形態について図面を用いて説明する。なお、図中同一または相当部分には同一符号を付してその説明は繰り返さない。   Next, another embodiment of the present invention will be described with reference to the drawings. In the drawings, the same or corresponding portions have the same reference characters allotted, and description thereof will not be repeated.

<第2の実施の形態>
本実施の形態は、第1の実施の形態に係る通信システムと比べて無線端末装置において判断処理が行われる通信システムに関する。以下で説明する内容以外は第1の実施の形態に係る通信システムと同様である。
<Second embodiment>
This embodiment relates to a communication system in which a determination process is performed in a wireless terminal device as compared with the communication system according to the first embodiment. The contents other than those described below are the same as those of the communication system according to the first embodiment.

[構成および基本動作]
図7は、本発明の第2の実施の形態に係る通信システムの構成を示す図である。
[Configuration and basic operation]
FIG. 7 is a diagram illustrating a configuration of a communication system according to the second embodiment of the present invention.

図7を参照して、通信システム302は、本発明の第1の実施の形態に係る通信システム301と比べて、中継装置101および無線端末装置202A,202B,202Cの代わりに、中継装置102および無線端末装置203A,203B,203Cを備える。   Referring to FIG. 7, communication system 302 differs from communication system 301 according to the first embodiment of the present invention in that relay device 102 and wireless terminal devices 202A, 202B, and 202C are used instead of relay device 101 and wireless terminal devices 202A, 202B, and 202C. The mobile terminal includes wireless terminal devices 203A, 203B, and 203C.

以下、無線端末装置203A,203B,203Cの各々を、無線端末装置203とも称する。図1では、3つの無線端末装置203を代表的に示しているが、さらに多数または少数の無線端末装置203が設けられてもよい。また、中継装置102は、通信システム302におけるアクセスポイント150および151の少なくともいずれか一方と一体化されてもよい。   Hereinafter, each of the wireless terminal devices 203A, 203B, and 203C is also referred to as a wireless terminal device 203. In FIG. 1, three wireless terminal devices 203 are representatively shown, but more or fewer wireless terminal devices 203 may be provided. Further, the relay device 102 may be integrated with at least one of the access points 150 and 151 in the communication system 302.

再び図2を参照して、中継装置102は、所定エリアA1にて用いられる。中継装置102は、所定エリアA1における内部ネットワーク10、および所定エリアA1外の外部ネットワーク11間の通信を中継する。   Referring to FIG. 2 again, relay apparatus 102 is used in predetermined area A1. The relay device 102 relays communication between the internal network 10 in the predetermined area A1 and the external network 11 outside the predetermined area A1.

[動作(内部ネットワーク10側における通信動作)]
図8は、本発明の第2の実施の形態に係る通信システムにおいて、無線端末装置が内部ネットワークを介して中継装置と情報の送受信を行う際の動作の一例を示すシーケンス図である。
[Operation (communication operation on the internal network 10 side)]
FIG. 8 is a sequence diagram illustrating an example of an operation when the wireless terminal device transmits and receives information to and from the relay device via the internal network in the communication system according to the second embodiment of the present invention.

図8を参照して、たとえば、無線端末装置203が所定エリアA1に存在する場合において、無線端末装置203および中継装置102間では、通信接続の確立処理が行われる(ステップS302)。   Referring to FIG. 8, for example, when wireless terminal device 203 is present in predetermined area A1, a communication connection establishment process is performed between wireless terminal device 203 and relay device 102 (step S302).

次に、無線端末装置203は、中継装置102の名前解決要求ML1を送信する(ステップS304)。   Next, the wireless terminal device 203 transmits a name resolution request ML1 of the relay device 102 (step S304).

次に、中継装置102は、無線端末装置203から名前解決要求ML1を受信すると、受信した名前解決要求ML1の応答として、自己の内部ネットワーク10側のIPアドレスLAを示すメッセージである「myhouse.bb.net=192.168.1.1」を含む名前解決応答ML2を作成し、作成した名前解決応答ML2を無線端末装置203へ送信する。無線端末装置203は、名前解決要求ML1に対する名前解決応答ML2を受信する(ステップS306)。   Next, when the relay device 102 receives the name resolution request ML1 from the wireless terminal device 203, the relay device 102 responds to the received name resolution request ML1 with a message “myhouse.bb” indicating the IP address LA of its own internal network 10 side. .Net = 192.168.1.1 ", and transmits the created name resolution response ML2 to the wireless terminal device 203. The wireless terminal device 203 receives the name resolution response ML2 for the name resolution request ML1 (step S306).

次に、無線端末装置203は、中継装置102から名前解決応答ML2を受信すると、受信した名前解決応答ML2の示す中継装置102のアドレスに基づいて、無線端末装置203が所定エリアA1に存在するか否かを判断する判断処理を行う(ステップS308)。   Next, upon receiving the name resolution response ML2 from the relay device 102, the wireless terminal device 203 determines whether the wireless terminal device 203 exists in the predetermined area A1 based on the address of the relay device 102 indicated by the received name resolution response ML2. A judgment process for judging whether or not is performed is performed (step S308).

次に、無線端末装置203は、判断処理の結果に基づいて、自己が行うべき所定処理P2を開始する(ステップS310)。より詳細には、無線端末装置203は、たとえば、判断処理の結果が、自己が所定エリアA1に存在することを示す場合、所定エリアA1において行うべき所定処理P2を開始する。   Next, the wireless terminal device 203 starts a predetermined process P2 to be performed by itself based on the result of the determination process (step S310). More specifically, for example, when the result of the determination process indicates that the wireless terminal device 203 is present in the predetermined area A1, the wireless terminal device 203 starts a predetermined process P2 to be performed in the predetermined area A1.

次に、無線端末装置203は、たとえば判断処理の結果を中継装置102に通知する。より詳細には、無線端末装置203は、たとえば、中継装置102から名前解決応答ML2を受信すると、判断結果の確度、当該判断結果、および自己の端末IDを含む通知情報ML3Sを作成する。そして、無線端末装置203は、たとえば、作成した通知情報ML3Sを、名前解決応答ML2の示す中継装置102のIPアドレスであるIPアドレスLAを宛先として中継装置102へ送信する(ステップS312)。   Next, wireless terminal apparatus 203 notifies relay apparatus 102 of the result of the determination processing, for example. More specifically, upon receiving the name resolution response ML2 from the relay device 102, for example, the wireless terminal device 203 creates notification information ML3S including the accuracy of the determination result, the determination result, and its own terminal ID. Then, the wireless terminal device 203 transmits, for example, the created notification information ML3S to the relay device 102 with the IP address LA, which is the IP address of the relay device 102 indicated by the name resolution response ML2, as the destination (step S312).

次に、中継装置102は、無線端末装置203から通知情報ML3Sを受信すると、受信した通知情報ML3Sの示す判断処理の結果に基づいて、自己が行うべき所定処理P1を開始する(ステップS314)。   Next, when receiving the notification information ML3S from the wireless terminal device 203, the relay device 102 starts a predetermined process P1 to be performed by itself based on the result of the determination process indicated by the received notification information ML3S (step S314).

なお、上記ステップS310およびS312の順番は、上記に限らず、順番を入れ替えてもよい。   The order of steps S310 and S312 is not limited to the above, and the order may be changed.

[動作(外部ネットワーク11側における通信動作)]
図9は、本発明の第2の実施の形態に係る通信システムにおいて、無線端末装置が外部ネットワークを介して中継装置と情報の送受信を行う際の動作の一例を示すシーケンス図である。
[Operation (communication operation on external network 11 side)]
FIG. 9 is a sequence diagram illustrating an example of an operation when the wireless terminal device transmits and receives information to and from the relay device via the external network in the communication system according to the second embodiment of the present invention.

図9を参照して、たとえば、無線端末装置203が所定エリアA1の外部に存在する場合において、無線端末装置203とアクセスポイント151または基地局171との間では、通信接続の確立処理が行われる(ステップS402)。これにより、無線端末装置203は、中継装置102およびDNSサーバ161との通信が可能となる。   Referring to FIG. 9, for example, when wireless terminal device 203 exists outside predetermined area A1, a process of establishing a communication connection is performed between wireless terminal device 203 and access point 151 or base station 171. (Step S402). Accordingly, the wireless terminal device 203 can communicate with the relay device 102 and the DNS server 161.

次に、中継装置102は、たとえば、DNSサーバ161からDDNSサービスを受けるためのDNS登録手続きを行う(ステップS404)。   Next, the relay device 102 performs, for example, a DNS registration procedure for receiving a DDNS service from the DNS server 161 (step S404).

次に、無線端末装置203は、中継装置102の名前解決要求MW1を送信する(ステップS406)。より詳細には、たとえば、無線端末装置203は、任意のタイミングにおいて、ホスト名HNに対応するIPアドレスを取得するためのメッセージである「myhouse.bb.net」を含む名前解決要求MW1を、アクセスポイント151または基地局171経由でDNSサーバ161へ送信する。   Next, the wireless terminal device 203 transmits a name resolution request MW1 of the relay device 102 (step S406). More specifically, for example, the wireless terminal device 203 accesses the name resolution request MW1 including “myhouse.bb.net” that is a message for acquiring the IP address corresponding to the host name HN at an arbitrary timing. The data is transmitted to the DNS server 161 via the point 151 or the base station 171.

次に、DNSサーバ161は、無線端末装置203から名前解決要求MW1を受信すると、自己が保持するホスト名とグローバルIPアドレスとの対応関係に基づいて、受信した名前解決要求MW1の示すホスト名HNに対応するIPアドレスWAを取得する。そして、DNSサーバ161は、たとえば、取得したIPアドレスWAを示すメッセージである「myhouse.bb.net=133.153.101.10」を含む名前解決応答MW2を作成し、作成した名前解決応答MW2をアクセスポイント151または基地局171経由で無線端末装置203へ送信する。無線端末装置203は、名前解決要求MW1に対する名前解決応答MW2を受信する(ステップS408)。   Next, upon receiving the name resolution request MW1 from the wireless terminal device 203, the DNS server 161 receives the host name HN indicated by the received name resolution request MW1 based on the correspondence between the host name held by itself and the global IP address. To obtain the IP address WA corresponding to. Then, the DNS server 161 creates a name resolution response MW2 including, for example, “myhouse.bb.net = 133.153.101.10” which is a message indicating the acquired IP address WA, and creates the created name resolution response MW2. Is transmitted to the wireless terminal device 203 via the access point 151 or the base station 171. The wireless terminal device 203 receives the name resolution response MW2 for the name resolution request MW1 (step S408).

次に、無線端末装置203は、中継装置102から名前解決応答MW2を受信すると、受信した名前解決応答MW2の示す中継装置102のアドレスに基づいて、無線端末装置203が所定エリアA1に存在するか否かを判断する判断処理を行う(ステップS410)。   Next, upon receiving the name resolution response MW2 from the relay device 102, the wireless terminal device 203 determines whether the wireless terminal device 203 exists in the predetermined area A1 based on the address of the relay device 102 indicated by the received name resolution response MW2. A determination process is performed to determine whether or not there is (Step S410).

次に、無線端末装置203は、判断処理の結果に基づいて、自己が行うべき所定処理P4を開始する(ステップS412)。より詳細には、無線端末装置203は、たとえば、判断処理の結果が、自己が所定エリアA1の外部に存在することを示す場合、所定エリアA1の外部において行うべき所定処理P4を開始する。   Next, the wireless terminal device 203 starts a predetermined process P4 to be performed by itself based on the result of the determination process (step S412). More specifically, when, for example, the result of the determination process indicates that the wireless terminal device 203 is outside the predetermined area A1, the wireless terminal device 203 starts a predetermined process P4 to be performed outside the predetermined area A1.

次に、無線端末装置203は、たとえば判断処理の結果を中継装置102に通知する。より詳細には、無線端末装置203は、たとえば、DNSサーバ161から名前解決応答MW2を受信すると、判断結果の確度、当該判断結果、および自己の端末IDを含む通知情報MW3Sを作成する。そして、無線端末装置203は、たとえば、作成した通知情報MW3Sを、名前解決応答MW2に含まれるIPアドレスWAを宛先としてアクセスポイント151または基地局171経由で中継装置102へ送信する(ステップS414)。   Next, wireless terminal apparatus 203 notifies relay apparatus 102 of the result of the determination processing, for example. More specifically, upon receiving the name resolution response MW2 from the DNS server 161, for example, the wireless terminal device 203 creates notification information MW3S including the accuracy of the determination result, the determination result, and its own terminal ID. Then, the wireless terminal device 203 transmits, for example, the created notification information MW3S to the relay device 102 via the access point 151 or the base station 171 with the IP address WA included in the name resolution response MW2 as a destination (step S414).

次に、中継装置102は、無線端末装置203から通知情報MW3Sを受信すると、受信した通知情報MW3Sの示す判断処理の結果に基づいて、自己が行うべき所定処理P3を開始する(ステップS416)。   Next, when receiving the notification information MW3S from the wireless terminal device 203, the relay device 102 starts a predetermined process P3 to be performed by itself based on the result of the determination process indicated by the received notification information MW3S (step S416).

なお、上記ステップS402およびS404の順番は、上記に限らず、順番を入れ替えてもよい。また、上記ステップS412およびS414の順番は、上記に限らず、順番を入れ替えてもよい。   The order of steps S402 and S404 is not limited to the above, and the order may be changed. Further, the order of steps S412 and S414 is not limited to the above, and the order may be changed.

また、無線端末装置203は、上記ステップS414において、通知情報MW3Sの代わりに通知情報MW3SUを中継装置102に送信することがある。通知情報MW3SUの詳細については後述する。   In addition, the wireless terminal device 203 may transmit the notification information MW3SU instead of the notification information MW3S to the relay device 102 in step S414. Details of the notification information MW3SU will be described later.

[無線端末装置の構成]
図10は、本発明の第2の実施の形態に係る通信システムにおける無線端末装置の構成を示す図である。
[Configuration of wireless terminal device]
FIG. 10 is a diagram illustrating a configuration of a wireless terminal device in the communication system according to the second embodiment of the present invention.

図10を参照して、無線端末装置203は、本発明の第1の実施の形態に係る無線端末装置202と比べて、さらに、判断部45を備える。   Referring to FIG. 10, wireless terminal apparatus 203 is different from wireless terminal apparatus 202 according to the first embodiment of the present invention in further including a determination unit 45.

取得部41は、たとえば、自己の無線端末装置203において、中継装置102に通信接続する動作モードが選択されているか否かを示すモード情報を取得する。   The acquiring unit 41 acquires, for example, mode information indicating whether or not an operation mode for communication connection with the relay device 102 is selected in its own wireless terminal device 203.

具体的には、取得部41は、たとえば、無線通信部42において無線LANモードが「有効」に設定されている場合、自己の無線端末装置203が中継装置102と通信接続を確立することが可能であると判断する。そして、取得部41は、たとえば、中継装置102に通信接続する動作モードが選択されている旨を示すモード情報を作成し、作成したモード情報を判断部45へ出力する。   Specifically, for example, when the wireless LAN mode is set to “valid” in the wireless communication unit 42, the acquisition unit 41 can establish a communication connection between the wireless terminal device 203 of itself and the relay device 102. Is determined to be. Then, for example, the acquisition unit 41 creates mode information indicating that an operation mode for communication connection with the relay device 102 is selected, and outputs the created mode information to the determination unit 45.

一方、取得部41は、たとえば、無線通信部42において無線LANモードが「無効」に設定されている場合、自己の無線端末装置203が中継装置102と通信接続を確立することが不可能であると判断する。そして、取得部41は、たとえば、中継装置102に通信接続する動作モードが選択されていない旨を示すモード情報を作成し、作成したモード情報を判断部45へ出力する。   On the other hand, for example, when the wireless LAN mode is set to “invalid” in the wireless communication unit 42, the acquiring unit 41 cannot establish a communication connection between the wireless terminal device 203 and the relay device 102. Judge. Then, the obtaining unit 41 creates, for example, mode information indicating that the operation mode for communication connection with the relay device 102 is not selected, and outputs the created mode information to the determining unit 45.

無線通信部42は、基地局171、アクセスポイント150またはアクセスポイント151からIPパケットを受信すると、受信したIPパケットに含まれる情報であるパケット情報を判断部45および処理部43へ出力する。   Upon receiving an IP packet from base station 171, access point 150, or access point 151, wireless communication unit 42 outputs packet information, which is information included in the received IP packet, to determination unit 45 and processing unit 43.

より詳細には、無線通信部42は、アクセスポイント150を介して中継装置102から名前解決応答ML2を含むIPパケットを受信すると、受信したIPパケットに含まれる名前解決応答ML2を判断部45および処理部43へ出力する。   More specifically, when receiving the IP packet including the name resolution response ML2 from the relay device 102 via the access point 150, the wireless communication unit 42 determines the name resolution response ML2 included in the received IP packet by the determination unit 45 and the processing. Output to the unit 43.

また、無線通信部42は、アクセスポイント151または基地局171を介してDNSサーバ161から名前解決応答MW2を含むIPパケットを受信すると、受信したIPパケットに含まれる名前解決応答MW2を判断部45および処理部43へ出力する。   Further, when receiving the IP packet including the name resolution response MW2 from the DNS server 161 via the access point 151 or the base station 171, the wireless communication unit 42 determines the name resolution response MW2 included in the received IP packet by the determination unit 45 and Output to the processing unit 43.

判断部45は、名前解決応答ML2またはMW2の示す中継装置102のアドレスに基づいて、自己の無線端末装置203が所定エリアA1に存在するか否かを判断する判断処理を行う。   The determination unit 45 performs a determination process of determining whether or not its own wireless terminal device 203 exists in the predetermined area A1 based on the address of the relay device 102 indicated by the name resolution response ML2 or MW2.

詳細には、判断部45は、たとえば、取得部41によって取得されたモード情報にさらに基づいて判断処理を行う。言い換えると、判断部45は、たとえば、取得部41によって取得されたモード情報、および名前解決応答ML2またはMW2の示す中継装置102のアドレスに基づいて判断処理を行う。   Specifically, the determination unit 45 performs the determination process based on, for example, the mode information acquired by the acquisition unit 41. In other words, the determination unit 45 performs the determination process based on, for example, the mode information acquired by the acquisition unit 41 and the address of the relay device 102 indicated by the name resolution response ML2 or MW2.

より詳細には、判断部45は、無線通信部42からパケット情報を受けると、受けたパケット情報の内容を確認する。   More specifically, when receiving the packet information from the wireless communication unit 42, the determination unit 45 checks the content of the received packet information.

判断部45は、無線通信部42から受けたパケット情報において、たとえば「myhouse.bb.net=192.168.1.1」または「myhouse.bb.net=133.153.101.10」を示すメッセージが含まれる場合、受けたパケット情報が名前解決応答であると認識し、以下の処理を行う。   The determination unit 45 indicates, for example, “myhouse.bb.net = 192.168.1.1” or “myhouse.bb.net = 133.153.3.101.10” in the packet information received from the wireless communication unit 42. If a message is included, the received packet information is recognized as a name resolution response, and the following processing is performed.

すなわち、判断部45は、たとえば、無線通信部42から受けた名前解決応答の示すIPアドレスの値に基づいて、当該名前解決応答が名前解決応答ML2およびMW2のいずれであるかを判別する。   That is, the determination unit 45 determines which of the name resolution responses ML2 and MW2 the name resolution response is based on, for example, the value of the IP address indicated by the name resolution response received from the wireless communication unit 42.

具体的には、判断部45は、名前解決応答の示すIPアドレスの値がたとえば「192.168.1.1」である場合、当該値がプライベートIPアドレスの範囲内であることを確認し、当該名前解決応答がアクセスポイント150経由で受信した名前解決応答ML2であると判別する。そして、判断部45は、自己の無線端末装置203が所定エリアA1に存在すると判断する。   Specifically, when the value of the IP address indicated by the name resolution response is, for example, “192.168.1.1”, the determination unit 45 confirms that the value is within the range of the private IP address, It is determined that the name resolution response is the name resolution response ML2 received via the access point 150. Then, the determination unit 45 determines that its own wireless terminal device 203 exists in the predetermined area A1.

また、判断部45は、名前解決応答の示すIPアドレスの値がたとえば「133.153.101.10」である場合、当該値がプライベートIPアドレスの範囲外であることを確認し、当該名前解決応答がアクセスポイント151または基地局171経由で受信した名前解決応答MW2であると判別する。そして、判断部45は、自己の無線端末装置203が所定エリアA1の外部に存在すると判断する。   When the value of the IP address indicated by the name resolution response is, for example, “133.153.101.10”, the determination unit 45 confirms that the value is out of the range of the private IP address, and It is determined that the response is the name resolution response MW2 received via the access point 151 or the base station 171. Then, the determination unit 45 determines that its own wireless terminal device 203 exists outside the predetermined area A1.

[判断処理の確度]
判断部45は、たとえば、取得部41から受けるモード情報が、中継装置102に通信接続する動作モードが選択されていることを示す場合、判断結果の確度が高い旨、および当該判断結果を判断処理の結果として処理部43へ通知する。
[Accuracy of judgment processing]
For example, when the mode information received from the acquisition unit 41 indicates that the operation mode for communication connection with the relay device 102 is selected, the determination unit 45 determines that the accuracy of the determination result is high and determines the determination result. Is notified to the processing section 43 as a result.

一方、判断部45は、たとえば、取得部41から受けるモード情報が、中継装置102に通信接続する動作モードが選択されていないことを示す場合、判断結果の確度が低い旨、および当該判断結果を判断処理の結果として処理部43へ通知する。   On the other hand, for example, when the mode information received from the acquisition unit 41 indicates that the operation mode for communication connection with the relay device 102 has not been selected, the determination unit 45 determines that the accuracy of the determination result is low and that the determination result is low. The processing unit 43 is notified as a result of the determination processing.

処理部43は、名前解決要求ML1,MW1、名前解決応答ML2,MW2、通知情報ML3,MW3および通知応答ML4,MW4を処理する。   The processing unit 43 processes the name resolution requests ML1 and MW1, the name resolution responses ML2 and MW2, the notification information ML3 and MW3, and the notification responses ML4 and MW4.

より詳細には、処理部43は、たとえば、任意のタイミングにおいて名前解決要求ML1またはMW1を作成し、作成した名前解決要求ML1またはMW1を無線通信部42経由で優先DNSサーバへ送信する、具体的には中継装置102またはDNSサーバ161へ送信する。   More specifically, for example, the processing unit 43 creates the name resolution request ML1 or MW1 at an arbitrary timing, and transmits the created name resolution request ML1 or MW1 to the priority DNS server via the wireless communication unit 42. To the relay device 102 or the DNS server 161.

処理部43は、名前解決要求ML1を無線通信部42経由で中継装置102へ送信した場合、内部ネットワーク10における中継装置102のIPアドレスすなわちIPアドレスLAを示すメッセージである「myhouse.bb.net=192.168.1.1」を含む名前解決応答ML2を無線通信部42経由で受信する。   When transmitting the name resolution request ML1 to the relay device 102 via the wireless communication unit 42, the processing unit 43 transmits a message indicating the IP address of the relay device 102 in the internal network 10, that is, the IP address LA, "myhouse.bb.net = 192.168.1.1 "is received via the wireless communication unit 42.

処理部43は、たとえば判断処理の結果を中継装置102に通知する。また、処理部43は、たとえば、判断部45によって自己の無線端末装置203が所定エリアA1に存在すると判断された場合、所定エリアA1において行うべき所定処理P2を開始する。   The processing unit 43 notifies the relay device 102 of the result of the determination process, for example. In addition, for example, when the determination unit 45 determines that the wireless terminal device 203 is present in the predetermined area A1, the processing unit 43 starts a predetermined process P2 to be performed in the predetermined area A1.

より詳細には、処理部43は、たとえば、名前解決応答ML2を無線通信部42経由で受信し、かつ判断部45から判断結果の確度が高い旨、および自己の無線端末装置203が所定エリアA1に存在することを示す判断処理の結果の通知を受けると、所定処理P2を開始するとともに、以下の処理を行う。   More specifically, the processing unit 43 receives, for example, the name resolution response ML2 via the wireless communication unit 42, and indicates that the accuracy of the determination result from the determination unit 45 is high, and that the own wireless terminal device 203 has the predetermined area A1 When the notification of the result of the determination processing indicating that the information is present is received, the predetermined processing P2 is started and the following processing is performed.

すなわち、処理部43は、たとえば、判断結果の確度が高い旨、自己の無線端末装置203が所定エリアA1に存在することを示す判断結果、および端末IDを含む通知情報ML3Sを作成し、作成した通知情報ML3Sを、名前解決応答ML2の示す中継装置102のIPアドレスであるIPアドレスLAを宛先として無線通信部42経由で中継装置102へ送信する。   That is, the processing unit 43 creates and creates the notification information ML3S including, for example, that the accuracy of the determination result is high, the determination result indicating that the own wireless terminal device 203 exists in the predetermined area A1, and the terminal ID. The notification information ML3S is transmitted to the relay device 102 via the wireless communication unit 42 with the IP address LA, which is the IP address of the relay device 102 indicated by the name resolution response ML2, as the destination.

また、処理部43は、たとえば、名前解決要求を中継装置102以外の装置へ送信した場合、外部ネットワーク11における中継装置102のIPアドレスを示す名前解決応答MW2を受信する。また、処理部43は、たとえば、判断部45によって自己の無線端末装置203が所定エリアA1の外部に存在すると判断された場合、所定エリアA1の外部において行うべき所定処理P4を開始する。   Further, for example, when transmitting the name resolution request to a device other than the relay device 102, the processing unit 43 receives a name resolution response MW2 indicating the IP address of the relay device 102 in the external network 11. Further, for example, when the determination unit 45 determines that the wireless terminal device 203 is outside the predetermined area A1, the processing unit 43 starts a predetermined process P4 to be performed outside the predetermined area A1.

具体的には、処理部43は、たとえば、名前解決要求MW1を無線通信部42経由でDNSサーバ161へ送信した場合、外部ネットワーク11における中継装置102のIPアドレスすなわちIPアドレスWAを示すメッセージである「myhouse.bb.net=133.153.101.10」を含む名前解決応答MW2を無線通信部42経由で受信する。   Specifically, for example, when transmitting the name resolution request MW1 to the DNS server 161 via the wireless communication unit 42, the processing unit 43 is a message indicating the IP address of the relay device 102 in the external network 11, that is, the IP address WA. The name resolution response MW2 including “myhouse.bb.net = 133.153.101.10” is received via the wireless communication unit 42.

処理部43は、たとえば、名前解決応答MW2を無線通信部42経由で受信し、かつ判断部45から判断結果の確度が高い旨、および自己の無線端末装置203が所定エリアA1の外部に存在することを示す判断の結果の通知を受けると、所定処理P4を開始するとともに、以下の処理を行う。   The processing unit 43 receives, for example, the name resolution response MW2 via the wireless communication unit 42, and indicates that the accuracy of the determination result is high from the determination unit 45, and that the own wireless terminal device 203 exists outside the predetermined area A1. When the notification of the result of the determination indicating the above is received, the predetermined process P4 is started and the following process is performed.

すなわち、処理部43は、たとえば、判断結果の確度が高い旨、自己の無線端末装置203が所定エリアA1の外部に存在することを示す判断結果、および端末IDを含む通知情報MW3Sを作成し、作成した通知情報MW3Sを、名前解決応答MW2の示す中継装置102のIPアドレスであるIPアドレスWAを宛先として無線通信部42経由で中継装置102へ送信する。   That is, the processing unit 43 creates the notification information MW3S including, for example, that the accuracy of the determination result is high, the determination result indicating that the own wireless terminal device 203 exists outside the predetermined area A1, and the terminal ID, The created notification information MW3S is transmitted to the relay device 102 via the wireless communication unit 42 with the IP address WA, which is the IP address of the relay device 102 indicated by the name resolution response MW2, as the destination.

また、処理部43は、たとえば、名前解決応答MW2を無線通信部42経由で受信し、かつ判断部45から判断結果の確度が低い旨、および自己の無線端末装置203が所定エリアA1の外部に存在することを示す判断処理の結果の通知を受けると、以下の処理を行う。   Further, the processing unit 43 receives, for example, the name resolution response MW2 via the wireless communication unit 42, and indicates that the accuracy of the determination result from the determination unit 45 is low, and that the own wireless terminal device 203 is outside the predetermined area A1. Upon receiving the notification of the result of the determination process indicating that the file exists, the following process is performed.

すなわち、処理部43は、たとえば、判断結果の確度が低い旨、自己の無線端末装置203が所定エリアA1の外部に存在することを示す判断結果、および端末IDを含む通知情報MW3SUを作成し、作成した通知情報MW3SUを、IPアドレスWAを宛先として無線通信部42経由で中継装置102へ送信する。   That is, the processing unit 43 creates notification information MW3SU including, for example, the fact that the accuracy of the determination result is low, the determination result indicating that the own wireless terminal device 203 exists outside the predetermined area A1, and the terminal ID, The created notification information MW3SU is transmitted to the relay device 102 via the wireless communication unit 42 with the IP address WA as a destination.

[中継装置の構成]
図11は、本発明の第2の実施の形態に係る通信システムにおける中継装置の構成を示す図である。
[Relay configuration]
FIG. 11 is a diagram illustrating a configuration of a relay device in the communication system according to the second embodiment of the present invention.

図11を参照して、中継装置102は、本発明の第1の実施の形態に係る中継装置101と比べて、判断部25を備えない構成である。   Referring to FIG. 11, relay device 102 is different from relay device 101 according to the first embodiment of the present invention in that it does not include determination unit 25.

LAN側通信部22は、無線端末装置203から自己の中継装置102のIPアドレスLAを宛先とする名前解決要求ML1をLAN側ポート21経由で受信し、受信した名前解決要求ML1を処理部23へ出力する。   The LAN communication unit 22 receives a name resolution request ML1 addressed to the IP address LA of the relay device 102 from the wireless terminal device 203 via the LAN port 21 and sends the received name resolution request ML1 to the processing unit 23. Output.

また、LAN側通信部22は、無線端末装置203から自己の中継装置102のIPアドレスLAを宛先とする通知情報ML3SをLAN側ポート21経由で受信し、受信した通知情報ML3Sを処理部23へ出力する。   Further, the LAN-side communication unit 22 receives the notification information ML3S addressed to the IP address LA of its own relay device 102 from the wireless terminal device 203 via the LAN-side port 21, and sends the received notification information ML3S to the processing unit 23. Output.

WAN側通信部24は、無線端末装置203から自己の中継装置102のIPアドレスWAを宛先とする通知情報MW3S,MW3SUをWAN側ポート26経由で受信し、受信した通知情報MW3S,MW3SUをそれぞれ処理部23へ出力する。   The WAN communication unit 24 receives the notification information MW3S and MW3SU addressed to the IP address WA of the relay device 102 from the wireless terminal device 203 via the WAN port 26, and processes the received notification information MW3S and MW3SU, respectively. Output to the unit 23.

処理部23は、たとえば、名前解決要求ML1、名前解決応答ML2、および通知情報ML3S,MW3S,MW3SUを処理する。   The processing unit 23 processes the name resolution request ML1, the name resolution response ML2, and the notification information ML3S, MW3S, MW3SU, for example.

[所定処理P1,P3]
処理部23は、たとえば、通知情報ML3S,MW3S,MW3SUに基づいて、自己が行うべき所定処理P1またはP3を開始する。
[Predetermined processing P1, P3]
The processing unit 23 starts a predetermined process P1 or P3 to be performed by itself, based on the notification information ML3S, MW3S, MW3SU, for example.

より詳細には、処理部23は、LAN側通信部22から通知情報ML3Sを受けると、判断結果の確度が高い旨、無線端末装置203が所定エリアA1に存在することを示す判断結果、および端末IDを通知情報ML3Sから取得し、当該端末IDに対応するフラグを「1」に設定する。   More specifically, when the processing unit 23 receives the notification information ML3S from the LAN-side communication unit 22, the processing unit 23 determines that the accuracy of the determination result is high, indicates that the wireless terminal device 203 exists in the predetermined area A1, and The ID is acquired from the notification information ML3S, and the flag corresponding to the terminal ID is set to “1”.

また、処理部23は、WAN側通信部24から通知情報MW3Sを受けると、判断結果の確度が高い旨、自己の無線端末装置203が所定エリアA1の外部に存在することを示す判断結果、および端末IDを通知情報MW3Sから取得し、当該端末IDに対応するフラグを「−1」に設定する。   Further, when receiving the notification information MW3S from the WAN-side communication unit 24, the processing unit 23 determines that the accuracy of the determination result is high, the determination result indicating that the wireless terminal device 203 is outside the predetermined area A1, and The terminal ID is acquired from the notification information MW3S, and the flag corresponding to the terminal ID is set to “−1”.

また、処理部23は、WAN側通信部24から通知情報MW3SUを受けると、判断結果の確度が低い旨、自己の無線端末装置203が所定エリアA1の外部に存在することを示す判断結果、および端末IDを通知情報MW3SUから取得し、当該端末IDに対応するフラグを「0」に設定する。   Further, when receiving the notification information MW3SU from the WAN-side communication unit 24, the processing unit 23 determines that the accuracy of the determination result is low, the determination result indicating that its wireless terminal device 203 exists outside the predetermined area A1, and The terminal ID is acquired from the notification information MW3SU, and the flag corresponding to the terminal ID is set to “0”.

処理部23は、たとえば、フラグFA〜FCの値を監視し、監視結果に基づいて所定処理P1またはP3を開始する。   The processing unit 23 monitors, for example, the values of the flags FA to FC, and starts the predetermined processing P1 or P3 based on the monitoring result.

なお、本発明の第2の実施の形態に係る通信システムでは、無線端末装置203が、判断部45を備える構成であるとしたが、これに限定するものではない。通信システム302では、中継装置102以外の装置が判断部45を備える構成であればよい。   In the communication system according to the second embodiment of the present invention, the wireless terminal device 203 has the configuration including the determination unit 45, but the configuration is not limited to this. In the communication system 302, any device other than the relay device 102 may include the determination unit 45.

また、本発明の第2の実施の形態に係る無線端末装置では、判断部45が、取得部41によって取得されたモード情報、および名前解決応答ML2またはMW2の示す中継装置102のアドレスに基づいて判断処理を行う構成であるとしたが、これに限定するものではない。判断部45は、名前解決応答ML2またはMW2の示す中継装置102のアドレスに基づいて判断処理を行う構成であればよい。   In the wireless terminal device according to the second embodiment of the present invention, determination unit 45 determines based on the mode information acquired by acquisition unit 41 and the address of relay device 102 indicated by name resolution response ML2 or MW2. Although it is described that the determination process is performed, the configuration is not limited to this. The determination unit 45 may be configured to perform the determination process based on the address of the relay device 102 indicated by the name resolution response ML2 or MW2.

以上のように、本発明の第2の実施の形態に係る通信システムでは、中継装置102は、所定エリアA1における内部ネットワーク10、および所定エリアA1外の外部ネットワーク11間の通信を中継する。無線端末装置203は、中継装置102の名前解決要求ML1またはMW1を送信し、名前解決要求ML1またはMW1に対する名前解決応答ML2またはMW2をそれぞれ受信する。判断部45は、名前解決応答ML2またはMW2の示す中継装置102のIPアドレスに基づいて、自己の無線端末装置203が所定エリアA1に存在するか否かを判断する判断処理を行う。   As described above, in the communication system according to the second embodiment of the present invention, the relay device 102 relays communication between the internal network 10 in the predetermined area A1 and the external network 11 outside the predetermined area A1. The wireless terminal device 203 transmits the name resolution request ML1 or MW1 of the relay device 102, and receives the name resolution response ML2 or MW2 for the name resolution request ML1 or MW1, respectively. The determination unit 45 performs a determination process of determining whether or not its own wireless terminal device 203 exists in the predetermined area A1 based on the IP address of the relay device 102 indicated by the name resolution response ML2 or MW2.

このような構成により、たとえば、所定エリアA1に存在する無線端末装置203が用いる内部ネットワーク10、および所定エリアA1外に存在する無線端末装置203が用いる外部ネットワーク11のいずれのネットワークを用いて無線端末装置203および中継装置102間の通信が行われるかを名前解決応答ML2またはMW2の示す中継装置102のIPアドレスから認識することができるので、当該IPアドレスから、無線端末装置203が所定エリアA1に存在するか否かをより正しく判断することができる。また、名前解決応答ML2またはMW2の示す中継装置102のIPアドレスを用いる構成により、たとえば住宅等の所定エリアA1において位置の算出誤差が大きくなるGPS衛星からの信号を用いる方法と比べて、より正しい判断処理を行うことができる。さらに、無線端末装置203の代わりに、端末装置が有線通信を行う場合には、通信接続先をより確実に確定させることができるので、さらに正しい判断処理を行うことができる。   With such a configuration, for example, the wireless terminal can use any one of the internal network 10 used by the wireless terminal device 203 existing in the predetermined area A1 and the external network 11 used by the wireless terminal device 203 existing outside the predetermined area A1. Whether the communication between the device 203 and the relay device 102 is performed can be recognized from the IP address of the relay device 102 indicated by the name resolution response ML2 or MW2, and from the IP address, the wireless terminal device 203 moves to the predetermined area A1. It is possible to more correctly determine whether or not it exists. Further, the configuration using the IP address of the relay device 102 indicated by the name resolution response ML2 or MW2 is more accurate than a method using a signal from a GPS satellite in which a position calculation error increases in a predetermined area A1 such as a house. A determination process can be performed. Furthermore, when the terminal device performs wired communication instead of the wireless terminal device 203, the communication connection destination can be more reliably determined, so that a more correct determination process can be performed.

また、本発明の第2の実施の形態に係る通信システムでは、無線端末装置203において、取得部41は、中継装置102に通信接続する動作モードが選択されているか否かを示すモード情報を取得する。そして、判断部45は、取得部41によって取得されたモード情報、および上記IPアドレスに基づいて判断処理を行う。   In the communication system according to the second embodiment of the present invention, in wireless terminal device 203, obtaining section 41 obtains mode information indicating whether or not an operation mode for communication connection with relay apparatus 102 has been selected. I do. Then, the determination unit 45 performs a determination process based on the mode information acquired by the acquisition unit 41 and the IP address.

このような構成により、無線端末装置203が所定エリアA1に存在する場合において、無線端末装置203が中継装置102と通信接続を確立する動作モードであるか否かを認識することができるので、当該動作モードが選択されていない場合に、たとえば判断結果の確度が低いことを評価することができる。   With such a configuration, when the wireless terminal device 203 is in the predetermined area A1, it is possible to recognize whether or not the wireless terminal device 203 is in an operation mode for establishing a communication connection with the relay device 102. When the operation mode is not selected, for example, it can be evaluated that the accuracy of the determination result is low.

また、本発明の第2の実施の形態に係る通信システムでは、中継装置102は、名前解決要求ML1を無線端末装置203から受信した場合、内部ネットワーク10における自己のIPアドレスLAを示す名前解決応答ML2を無線端末装置203へ送信する。そして、無線端末装置203は、名前解決要求MW1を中継装置102以外の装置、具体的にはDNSサーバ161へ送信した場合、外部ネットワーク11における中継装置102のIPアドレスWAを示す名前解決応答MW2を受信する。   Also, in the communication system according to the second embodiment of the present invention, when receiving the name resolution request ML1 from the wireless terminal device 203, the relay device 102 receives the name resolution response indicating its own IP address LA in the internal network 10. ML2 is transmitted to the wireless terminal device 203. Then, when transmitting the name resolution request MW1 to a device other than the relay device 102, specifically, the DNS server 161, the wireless terminal device 203 sends a name resolution response MW2 indicating the IP address WA of the relay device 102 in the external network 11. Receive.

このような構成により、無線端末装置203は、内部ネットワーク10および外部ネットワーク11のいずれに接続している場合においても、自己が接続するネットワーク側の中継装置102のIPアドレスLAまたはWAを取得することができる。   With this configuration, the wireless terminal device 203 acquires the IP address LA or WA of the relay device 102 on the network side to which the wireless terminal device 203 is connected, regardless of whether the wireless terminal device 203 is connected to the internal network 10 or the external network 11. Can be.

また、本発明の第2の実施の形態に係る通信システムでは、無線端末装置203は、判断部45を含み、判断処理の結果を中継装置102に通知する。   In the communication system according to the second embodiment of the present invention, wireless terminal device 203 includes determination unit 45, and notifies relay device 102 of the result of the determination process.

このような構成により、中継装置102において、たとえば判断処理の結果に応じた処理を行うことができる。   With such a configuration, the relay device 102 can perform a process according to the result of the determination process, for example.

また、本発明の第2の実施の形態に係る通信システムでは、無線端末装置203は、自己が所定エリアA1に存在すると判断した場合、所定エリアA1において行うべき所定処理P2を開始する。   Further, in the communication system according to the second embodiment of the present invention, when the radio terminal device 203 determines that it is present in the predetermined area A1, it starts a predetermined process P2 to be performed in the predetermined area A1.

このような構成により、無線端末装置203において、所定エリアA1で実行すべき宅内専用アプリケーション、たとえば自己の無線端末装置203をテレビのリモコンとして動作させるためのアプリケーションを自動で起動することができる。   With such a configuration, in the wireless terminal device 203, an in-home application to be executed in the predetermined area A1, for example, an application for operating the wireless terminal device 203 as a television remote control can be automatically started.

その他の構成および動作は第1の実施の形態に係る通信システムと同様であるため、ここでは詳細な説明を繰り返さない。   Other configurations and operations are the same as those of the communication system according to the first embodiment, and thus detailed description will not be repeated here.

なお、本発明の第1の実施の形態および第2の実施の形態に係る各装置の構成要素および動作のうち、一部または全部を適宜組み合わせることも可能である。   In addition, some or all of the components and operations of each device according to the first embodiment and the second embodiment of the present invention can be appropriately combined.

上記実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記説明ではなく特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The above embodiment is to be considered in all respects as illustrative and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

以上の説明は、以下に付記する特徴を含む。   The above description includes the features described below.

[付記1]
所定エリアにて用いられる中継装置と、
端末装置と、
判断部とを備え、
前記端末装置は、前記中継装置の名前解決要求を送信し、前記名前解決要求に対する名前解決応答を受信し、受信した前記名前解決応答の示す前記中継装置のアドレスを宛先とする通知情報を送信し、
前記判断部は、前記通知情報の受信結果に基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行い、
前記所定エリアは、住宅の内部であり、
前記中継装置は、ブロードバンドルータであり、
前記端末装置は、無線端末装置であり、
前記無線端末装置は、携帯電話またはスマートホンであり、
前記無線端末装置は、Wi−FiおよびBluetoothの通信規格に従ってアクセスポイントと無線通信を行うことが可能であり、
前記無線端末装置は、3GおよびLTE(Long Term Evolution)の通信規格に従って基地局と無線通信を行うことが可能であり、
前記無線端末装置は、前記アクセスポイントまたは前記基地局経由で、前記中継装置の前記名前解決要求を送信し、前記名前解決要求に対する前記名前解決応答を受信し、受信した前記名前解決応答の示す前記中継装置の前記アドレスを宛先とする前記通知情報を送信する、通信システム。
[Appendix 1]
A relay device used in a predetermined area,
A terminal device;
With a judgment unit,
The terminal device transmits a name resolution request for the relay device, receives a name resolution response to the name resolution request, and transmits notification information addressed to the address of the relay device indicated by the received name resolution response. ,
The determination unit performs a determination process of determining whether the terminal device is present in the predetermined area based on a reception result of the notification information,
The predetermined area is inside a house,
The relay device is a broadband router,
The terminal device is a wireless terminal device,
The wireless terminal device is a mobile phone or a smartphone,
The wireless terminal device can perform wireless communication with an access point according to Wi-Fi and Bluetooth communication standards,
The wireless terminal device can perform wireless communication with a base station according to 3G and LTE (Long Term Evolution) communication standards,
The wireless terminal device transmits the name resolution request of the relay device via the access point or the base station, receives the name resolution response to the name resolution request, and indicates the received name resolution response. A communication system for transmitting the notification information addressed to the address of the relay device.

[付記2]
所定エリアにおける内部ネットワーク、および前記所定エリア外の外部ネットワーク間の通信を中継する中継装置と、
端末装置と、
判断部とを備え、
前記端末装置は、前記中継装置の名前解決要求を送信し、前記名前解決要求に対する名前解決応答を受信し、
前記判断部は、前記名前解決応答の示す前記中継装置のアドレスに基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行い、
前記所定エリアは、住宅の内部であり、
前記内部ネットワークおよび前記外部ネットワークは、それぞれLAN(Local Area Network)およびインターネットであり、
前記中継装置は、ブロードバンドルータであり、
前記端末装置は、無線端末装置であり、
前記無線端末装置は、携帯電話またはスマートホンであり、
前記無線端末装置は、Wi−FiおよびBluetoothの通信規格に従ってアクセスポイントと無線通信を行うことが可能であり、
前記無線端末装置は、3GおよびLTE(Long Term Evolution)の通信規格に従って基地局と無線通信を行うことが可能であり、
前記無線端末装置は、前記名前解決要求が前記アクセスポイントおよび前記内部ネットワーク経由で送信された場合、前記中継装置の前記内部ネットワーク側の前記アドレスであるLAN側アドレスを示す前記名前解決応答を受信し、
前記無線端末装置は、前記名前解決要求が前記アクセスポイントまたは前記基地局、および前記外部ネットワーク経由で送信された場合、前記中継装置の前記外部ネットワーク側の前記アドレスであるインターネット側アドレスを示す前記名前解決応答を受信し、
前記判断部は、前記名前解決応答の示す前記アドレスが前記LAN側アドレスである場合、前記判断処理として、前記端末装置が前記所定エリアに存在すると判断し、
前記判断部は、前記名前解決応答の示す前記アドレスが前記インターネット側アドレスである場合、前記判断処理として、前記端末装置が前記所定エリアに存在しないと判断する、通信システム。
[Appendix 2]
An internal network in a predetermined area, and a relay device for relaying communication between external networks outside the predetermined area,
A terminal device;
With a judgment unit,
The terminal device transmits a name resolution request of the relay device, receives a name resolution response to the name resolution request,
The determination unit performs a determination process of determining whether the terminal device is present in the predetermined area based on an address of the relay device indicated by the name resolution response,
The predetermined area is inside a house,
The internal network and the external network are a LAN (Local Area Network) and the Internet, respectively.
The relay device is a broadband router,
The terminal device is a wireless terminal device,
The wireless terminal device is a mobile phone or a smartphone,
The wireless terminal device can perform wireless communication with an access point according to Wi-Fi and Bluetooth communication standards,
The wireless terminal device can perform wireless communication with a base station according to 3G and LTE (Long Term Evolution) communication standards,
The wireless terminal device, when the name resolution request is transmitted via the access point and the internal network, receives the name resolution response indicating the LAN address, which is the address of the relay device on the internal network side. ,
The wireless terminal device may further include, when the name resolution request is transmitted via the access point or the base station, and the external network, the name indicating the Internet-side address that is the address of the relay device on the external network side. Receiving a resolution response,
When the address indicated by the name resolution response is the LAN-side address, the determination unit determines that the terminal device is present in the predetermined area as the determination process,
The communication system, wherein, when the address indicated by the name resolution response is the Internet-side address, the determination unit determines that the terminal device does not exist in the predetermined area as the determination process.

[付記3]
所定エリアにて用いられる中継装置であって、
端末装置から前記中継装置のアドレスを宛先とする通知情報を受信する受信部と、
前記受信部による前記通知情報の受信結果に基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行う判断部とを備え、
前記所定エリアは、住宅の内部であり、
前記中継装置は、ブロードバンドルータであり、
前記端末装置は、無線端末装置であり、
前記無線端末装置は、携帯電話またはスマートホンであり、
前記無線端末装置は、Wi−FiおよびBluetoothの通信規格に従ってアクセスポイントと無線通信を行うことが可能であり、
前記無線端末装置は、3GおよびLTE(Long Term Evolution)の通信規格に従って基地局と無線通信を行うことが可能であり、
前記受信部は、前記アクセスポイントまたは前記基地局経由で、前記無線端末装置から前記中継装置の前記アドレスを宛先とする前記通知情報を受信する、中継装置。
[Appendix 3]
A relay device used in a predetermined area,
A receiving unit that receives notification information addressed to the address of the relay device from a terminal device,
A determination unit that performs a determination process of determining whether the terminal device is present in the predetermined area based on a reception result of the notification information by the reception unit,
The predetermined area is inside a house,
The relay device is a broadband router,
The terminal device is a wireless terminal device,
The wireless terminal device is a mobile phone or a smartphone,
The wireless terminal device can perform wireless communication with an access point according to Wi-Fi and Bluetooth communication standards,
The wireless terminal device can perform wireless communication with a base station according to 3G and LTE (Long Term Evolution) communication standards,
The relay device, wherein the receiving unit receives the notification information addressed to the address of the relay device from the wireless terminal device via the access point or the base station.

21 LAN側ポート
22 LAN側通信部(受信部)
23 処理部
24 WAN側通信部(受信部)
25 判断部
26 WAN側ポート
41 取得部
42 無線通信部
43 処理部
45 判断部
101,102 中継装置
111 宅内装置
112 監視装置
113 見守り装置
150,151 アクセスポイント
161 DNSサーバ
171 基地局
202,203 無線端末装置
301,302 通信システム
21 LAN side port 22 LAN side communication unit (receiving unit)
23 processing unit 24 WAN side communication unit (receiving unit)
Reference Signs List 25 judgment unit 26 WAN side port 41 acquisition unit 42 wireless communication unit 43 processing unit 45 judgment unit 101, 102 relay device 111 in-home device 112 monitoring device 113 monitoring device 150, 151 access point 161 DNS server 171 base station 202, 203 wireless terminal Device 301, 302 Communication system

Claims (11)

所定エリアにて用いられる中継装置と、
端末装置と、
判断部とを備え、
前記中継装置は、前記判断部を含み、
前記端末装置は、前記中継装置の名前解決要求を送信し、前記名前解決要求に対する名前解決応答を受信し、受信した前記名前解決応答の示す前記中継装置のアドレスを宛先とする通知情報を前記中継装置へ送信し、
前記判断部は、前記中継装置における前記通知情報の受信結果に基づいて前記通知情報の伝送経路を判別し、判別結果に基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行う、通信システム。
A relay device used in a predetermined area,
A terminal device;
With a judgment unit,
The relay device includes the determination unit,
The terminal device transmits a name resolution request of the relay device, receives a name resolution response to the name resolution request, and relays notification information addressed to the address of the relay device indicated by the received name resolution response. To the device,
The determining unit determines a transmission path of the notification information based on a reception result of the notification information in the relay device , and determines whether the terminal device is in the predetermined area based on the determination result. cormorants line the determination processing, communication system.
前記中継装置は、前記所定エリアにおける内部ネットワーク、および前記所定エリア外の外部ネットワーク間の通信を中継し、
前記判断部は、前記通知情報の送信元のアドレスにさらに基づいて、前記通知情報の伝送経路を判別する、請求項1に記載の通信システム。
The relay device relays communication between an internal network in the predetermined area, and an external network outside the predetermined area,
The communication system according to claim 1, wherein the determination unit determines a transmission path of the notification information further based on a source address of the notification information .
前記中継装置は、前記判断処理の結果を前記端末装置に通知する、請求項1または請求項2に記載の通信システム。   The communication system according to claim 1, wherein the relay device notifies the terminal device of a result of the determination processing. 所定エリアにおける内部ネットワーク、および前記所定エリア外の外部ネットワーク間の通信を中継する中継装置と、
端末装置と、
判断部とを備え、
前記端末装置は、前記中継装置の名前解決要求を送信し、前記名前解決要求に対する名前解決応答を受信し、
前記判断部は、前記名前解決応答の示す前記中継装置のアドレスに基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行い、
前記端末装置は、前記中継装置に通信接続する動作モードが選択されているか否かを示すモード情報を取得する取得部を含み、
前記判断部は、前記取得部によって取得された前記モード情報に基づいて前記判断処理の結果の確度を判断する、通信システム。
An internal network in a predetermined area, and a relay device for relaying communication between external networks outside the predetermined area,
A terminal device;
With a judgment unit,
The terminal device transmits a name resolution request of the relay device, receives a name resolution response to the name resolution request,
The determination unit performs a determination process of determining whether the terminal device is present in the predetermined area based on an address of the relay device indicated by the name resolution response,
The terminal device includes an acquisition unit that acquires mode information indicating whether an operation mode for communication connection with the relay device has been selected,
The determination unit is based on the mode information acquired by the acquisition unit, to determine the accuracy of the result of the determination processing, the communication system.
前記中継装置は、前記所定エリアにおける内部ネットワーク、および前記所定エリア外の外部ネットワーク間の通信を中継し、
前記中継装置は、前記名前解決要求を前記端末装置から受信した場合、前記内部ネットワークにおける自己のアドレスを示す前記名前解決応答を前記端末装置へ送信し、
前記端末装置は、前記名前解決要求を前記中継装置以外の装置へ送信した場合、前記外部ネットワークにおける前記中継装置のアドレスを示す前記名前解決応答を受信する、請求項1から請求項4のいずれか1項に記載の通信システム。
The relay device relays communication between an internal network in the predetermined area, and an external network outside the predetermined area,
The relay device, when receiving the name resolution request from the terminal device, transmits the name resolution response indicating its own address in the internal network to the terminal device,
5. The terminal device according to claim 1, wherein, when transmitting the name resolution request to a device other than the relay device, the terminal device receives the name resolution response indicating an address of the relay device in the external network. 6. 2. The communication system according to claim 1.
前記端末装置は、前記判断部を含み、前記判断処理の結果を前記中継装置に通知する、請求項4に記載の通信システム。   The communication system according to claim 4, wherein the terminal device includes the determination unit, and notifies the relay device of a result of the determination process. 前記端末装置は、前記判断部によって自己が前記所定エリアに存在すると判断された場合、前記所定エリアにおいて行うべき所定の処理を開始する、請求項1から請求項6のいずれか1項に記載の通信システム。   7. The terminal device according to claim 1, wherein the terminal device starts a predetermined process to be performed in the predetermined area when the terminal device determines that the terminal device is present in the predetermined area. 8. Communications system. 所定エリアにて用いられる中継装置であって、
端末装置から前記中継装置のアドレスを宛先とする通知情報を受信する受信部と、
前記受信部による前記通知情報の受信結果に基づいて前記通知情報の伝送経路を判別し、判別結果に基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行う判断部とを備える、中継装置。
A relay device used in a predetermined area,
A receiving unit that receives notification information addressed to the address of the relay device from a terminal device,
Judgment for performing a judgment process of judging a transmission route of the notification information based on a reception result of the notification information by the receiving unit and judging whether the terminal device is present in the predetermined area based on the judgment result. Ru and a section, a relay device.
所定エリアにて用いられる中継装置と、端末装置と、判断部とを備える通信システムにおける通信制御方法であって、
前記中継装置は、前記判断部を含み、
前記端末装置が、前記中継装置の名前解決要求を送信するステップと、
前記端末装置が、前記名前解決要求に対する名前解決応答を受信するステップと、
前記端末装置が、受信した前記名前解決応答の示す前記中継装置のアドレスを宛先とする通知情報を前記中継装置へ送信するステップと、
前記判断部が、前記中継装置における前記通知情報の受信結果に基づいて前記通知情報の伝送経路を判別し、判別結果に基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行うステップとを含む、通信制御方法。
A relay device used in a predetermined area, a terminal device, a communication control method in a communication system including a determination unit,
The relay device includes the determination unit,
The terminal device transmits a name resolution request of the relay device,
The terminal device receives a name resolution response to the name resolution request,
The terminal device transmits to the relay device notification information addressed to the address of the relay device indicated by the received name resolution response,
The determination unit determines a transmission path of the notification information based on a reception result of the notification information in the relay device , and determines whether the terminal device is in the predetermined area based on a determination result. including the step of performing determination processing, the communication control method.
所定エリアにおける内部ネットワーク、および前記所定エリア外の外部ネットワーク間の通信を中継する中継装置と、端末装置と、判断部とを備える通信システムにおける通信制御方法であって、
前記端末装置が、前記中継装置の名前解決要求を送信するステップと、
前記端末装置が、前記名前解決要求に対する名前解決応答を受信するステップと、
前記判断部が、前記名前解決応答の示す前記中継装置のアドレスに基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行うステップと、
前記端末装置が、前記中継装置に通信接続する動作モードが選択されているか否かを示すモード情報を取得するステップとを含み、
前記判断処理を行うステップにおいては、取得した前記モード情報に基づいて前記判断処理の結果の確度を判断する、通信制御方法。
An internal network in a predetermined area, and a relay device that relays communication between external networks outside the predetermined area, a terminal device, and a communication control method in a communication system including a determination unit,
The terminal device transmits a name resolution request of the relay device,
The terminal device receives a name resolution response to the name resolution request,
The determining unit performs a determination process of determining whether the terminal device is present in the predetermined area based on an address of the relay device indicated by the name resolution response,
The terminal device comprises: acquiring mode information indicating whether an operation mode for communication connection with the relay device is selected,
Wherein in the determination process performs steps, based on the acquired said mode information to determine the accuracy of the result of the determination processing, the communication control method.
所定エリアにて用いられる中継装置において用いられる通信制御プログラムであって、
コンピュータに、
端末装置から前記中継装置のアドレスを宛先とする通知情報を受信するステップと、
前記通知情報の受信結果に基づいて前記通知情報の伝送経路を判別し、判別結果に基づいて、前記端末装置が前記所定エリアに存在するか否かを判断する判断処理を行うステップとを実行させるための、通信制御プログラム。
A communication control program used in a relay device used in a predetermined area,
On the computer,
Receiving notification information addressed to the address of the relay device from a terminal device;
Determining a transmission path of the notification information based on the reception result of the notification information, and performing a determination process of determining whether the terminal device is present in the predetermined area based on the determination result . for, communication control program.
JP2015169476A 2015-08-28 2015-08-28 Communication system, relay device, communication control method, and communication control program Active JP6657675B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015169476A JP6657675B2 (en) 2015-08-28 2015-08-28 Communication system, relay device, communication control method, and communication control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015169476A JP6657675B2 (en) 2015-08-28 2015-08-28 Communication system, relay device, communication control method, and communication control program

Publications (2)

Publication Number Publication Date
JP2017046305A JP2017046305A (en) 2017-03-02
JP6657675B2 true JP6657675B2 (en) 2020-03-04

Family

ID=58212282

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015169476A Active JP6657675B2 (en) 2015-08-28 2015-08-28 Communication system, relay device, communication control method, and communication control program

Country Status (1)

Country Link
JP (1) JP6657675B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4385288B2 (en) * 2004-03-08 2009-12-16 ソニー株式会社 Data transmission system

Also Published As

Publication number Publication date
JP2017046305A (en) 2017-03-02

Similar Documents

Publication Publication Date Title
RU2721938C1 (en) Efficient communication for home network devices
US10348906B2 (en) Method and apparatus for controlling visitor call in home network system
US11595310B2 (en) Optimized routing in connected environments
EP3145161B1 (en) Automatic wireless access network configuration synchronization method and apparatus
US20190387458A1 (en) Mechanisms for ad hoc service discovery
US20120010521A1 (en) Scalable WLAN Gateway
CN107113892B (en) Method and device for automatically networking gateway equipment
US20020169886A1 (en) Communication device and communication control device for enabling operation of control protocol for one network on other types of networks
TWI508609B (en) Network configuration method and wireless networking system
KR101937388B1 (en) Method and apparatus for configuration dns name
CN107517138A (en) Equipment detection method and device
EP2369791B1 (en) Apparatus and method for establishing connections with a plurality of virtual networks
US9591601B2 (en) Method, control node, gateway and computer program for enabling communication with a newly detected device
JP5181811B2 (en) Access point, access point dependency destination determination method, and wireless communication system
JP6657675B2 (en) Communication system, relay device, communication control method, and communication control program
KR100744214B1 (en) Wireless network communication control apparatus and network system
US11792080B1 (en) Reverse wireless discovery for adding an IoT device to an IoT ecosystem
CN106888279B (en) Method for establishing communication and local area network communication system
JP2004147034A (en) Address management system and access point device
JP2014195197A (en) Communication system and communication method
JP2014033312A (en) Communication apparatus, communication method, and communication program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20181206

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20181218

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20190213

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190403

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190730

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190918

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200120

R150 Certificate of patent or registration of utility model

Ref document number: 6657675

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250