JP5405617B2 - Mobile communication terminal and program - Google Patents

Mobile communication terminal and program Download PDF

Info

Publication number
JP5405617B2
JP5405617B2 JP2012096872A JP2012096872A JP5405617B2 JP 5405617 B2 JP5405617 B2 JP 5405617B2 JP 2012096872 A JP2012096872 A JP 2012096872A JP 2012096872 A JP2012096872 A JP 2012096872A JP 5405617 B2 JP5405617 B2 JP 5405617B2
Authority
JP
Japan
Prior art keywords
communication
router
control device
address
wireless communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012096872A
Other languages
Japanese (ja)
Other versions
JP2013225754A (en
Inventor
哲央 大堀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NTT Docomo Inc
Original Assignee
NTT Docomo Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2012096872A priority Critical patent/JP5405617B2/en
Publication of JP2013225754A publication Critical patent/JP2013225754A/en
Application granted granted Critical
Publication of JP5405617B2 publication Critical patent/JP5405617B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Description

本発明は、移動通信端末から遠隔で電気機器を操作するための技術に関する。   The present invention relates to a technique for operating an electrical device remotely from a mobile communication terminal.

ユーザの自宅やオフィスなどの建物の内部(以下、宅内という)において、様々な電気機器をLAN(Local Area Network)やそれに付随するネットワークで接続しておき、ユーザが携帯電話機やタブレット端末などの移動通信端末を用いてLAN経由で電気機器を遠隔操作するという技術が知られている(例えば特許文献1)。図1にこの種の技術の一構成例を示す。図1において、移動通信端末20は、例えばLTE(Long Term Evolution)やいわゆる3G、またはGSM(登録商標)(Global System for Mobile Communications)などに準拠した各種移動通信と、IEEE802.11nなどのいわゆる無線LANの規格に準拠した通信を行う。宅内には、宅内制御装置40のほかに種々の装置を含むLANが構築されている。宅内制御装置40は、例えばZigBee(登録商標)に準拠した無線を用い、制御アダプタ50を介して各種の電気機器30を制御する。ルータ70は、LANで接続された宅内制御装置40と通信を行うほか、無線LANの通信方式で移動通信端末20と通信を行う。ユーザは、移動通信端末20を用いて、宅外から移動通信網10及びインターネット60を介して宅内の電気機器30を遠隔操作することもできるし、これら移動通信網10及びインターネット60を介さずに、無線LAN経由で宅内の電気機器を遠隔操作することもできる。   Inside the building of the user's home or office (hereinafter referred to as “home”), various electrical devices are connected via a LAN (Local Area Network) or a network attached thereto, and the user moves a mobile phone or tablet terminal. A technique of remotely operating an electrical device via a LAN using a communication terminal is known (for example, Patent Document 1). FIG. 1 shows an example of the configuration of this type of technology. In FIG. 1, a mobile communication terminal 20 includes, for example, various mobile communications compliant with LTE (Long Term Evolution), so-called 3G, or GSM (registered trademark) (Global System for Mobile Communications), and so-called wireless such as IEEE802.11n. Communication conforming to the LAN standard is performed. In the home, a LAN including various devices in addition to the home control device 40 is constructed. The in-home control device 40 controls various electrical devices 30 via the control adapter 50 using, for example, radio conforming to ZigBee (registered trademark). The router 70 communicates with the home control device 40 connected via a LAN, and also communicates with the mobile communication terminal 20 using a wireless LAN communication method. The user can remotely control the electrical device 30 in the home from outside the home via the mobile communication network 10 and the Internet 60 using the mobile communication terminal 20, or without using the mobile communication network 10 and the Internet 60. It is also possible to remotely control electric appliances in the home via a wireless LAN.

ところで近年は、移動通信網10の通信速度の高速化が進んでいるが、それでも例えば3Gに準拠した移動通信網における通信速度よりも、IEEE802.11nなどに準拠した無線LANにおける通信速度のほうが速い。このような通信速度の違いから、ユーザは、宅外にいるときは移動通信網10を介して例えばWEBブラウジングなどを行うが、宅内に居るときは、無線LANを介してWEBブラウジングなどを行うというような使い分けをすることがある。   By the way, in recent years, the communication speed of the mobile communication network 10 has been increased. However, for example, the communication speed in the wireless LAN compliant with IEEE802.11n is faster than the communication speed in the mobile communication network compliant with 3G, for example. . Due to the difference in communication speed, the user performs, for example, WEB browsing via the mobile communication network 10 when outside the home, but performs WEB browsing via the wireless LAN when the user is at home. There are times when it is used properly.

ここで、電気機器30を遠隔操作するときの手順は、移動通信端末20が電気機器30の遠隔操作用のアプリケーションプログラムを起動してから、宅内制御装置40にアクセスすることから始まる。移動通信端末20が移動通信網10経由で宅内制御装置40にアクセスするときに宛先となる通信アドレスは、いわゆるブックマーク機能によって移動通信端末20に保持されている。この通信アドレスを、アクセス先URL(Uniform Resource Locator)という。このアクセス先URLは、DNS(Domain Name System)により、ルータ70に割り当てられたグローバルIP(Internet Protocol)アドレス(WAN(Wide Area Network)側IPアドレス)に変換される。移動通信端末20が、このグローバルIPアドレスを宛先としてルータ70にアクセスすると、このアクセスはルータ70のNAPT(Network Address Port Translation)機能により、宅内制御装置40へとルーティングされる。NAPT機能は、WAN側からのアクセスをLAN側にルーティングするべく、グローバルIPアドレスとローカルIPアドレス(プライベートIPアドレス)とを変換する機能である。この後、宅内制御装置40から移動通信端末20に対し、図6に例示するような画面を表示するための画面データが送信される。ユーザはこの画面上で所望する電気機器30に対する操作を行う。   Here, the procedure for remotely operating the electric device 30 starts when the mobile communication terminal 20 starts the application program for remote operation of the electric device 30 and then accesses the home control device 40. A communication address that is a destination when the mobile communication terminal 20 accesses the in-home control device 40 via the mobile communication network 10 is held in the mobile communication terminal 20 by a so-called bookmark function. This communication address is called an access destination URL (Uniform Resource Locator). This access destination URL is converted into a global IP (Internet Protocol) address (WAN (Wide Area Network) side IP address) assigned to the router 70 by DNS (Domain Name System). When the mobile communication terminal 20 accesses the router 70 with this global IP address as the destination, this access is routed to the home control device 40 by the NAPT (Network Address Port Translation) function of the router 70. The NAPT function is a function for converting a global IP address and a local IP address (private IP address) in order to route access from the WAN side to the LAN side. Thereafter, screen data for displaying a screen as illustrated in FIG. 6 is transmitted from the home control device 40 to the mobile communication terminal 20. The user performs an operation on the desired electrical device 30 on this screen.

これに対し、移動通信端末20が無線LAN経由で宅内制御装置にアクセスするときに宛先となる通信アドレスは、この無線LANにおいて宅内制御装置40に割り当てられたローカルIPアドレスである。この場合、NAPT機能によるアドレス変換はなされない。以降は、上記の例と同様に、宅内制御装置40から移動通信端末20に対し、図6の画面を表示するための画面データが送信され、ユーザはこの画面上で所望する電気機器30に対する操作を行う。   On the other hand, the communication address that is the destination when the mobile communication terminal 20 accesses the home control device via the wireless LAN is a local IP address assigned to the home control device 40 in this wireless LAN. In this case, address conversion by the NAPT function is not performed. Thereafter, similarly to the above example, screen data for displaying the screen of FIG. 6 is transmitted from the home control device 40 to the mobile communication terminal 20, and the user operates the desired electrical device 30 on this screen. I do.

さて、上述したブックマーク機能によって宅内制御装置40のアクセス先URLが保持されている状態で、移動通信端末20が宅内から無線LAN経由で宅内制御装置40にアクセスしようとした場合を想定する。このアクセス先URLもDNSによりルータ70のグローバルIPアドレスに変換されるから、移動通信端末20はまずルータにアクセスすることになる。ただし、このアクセスは、無線LAN内部の通信ノードからのアクセスであるから、ルータ70のNAPT機能が働かない。その結果、移動通信端末20からルータそのものへのアクセスとみなされ、ルータ70から宅内制御装置40へルーティングされない。この場合、移動通信端末20においては、図6のような画面ではなく、ルータ70における各種の設定画面や、接続不可を意味する画面が表示されるだけとなり、宅内制御装置40へのアクセスができない。   Now, a case is assumed where the mobile communication terminal 20 tries to access the home control device 40 from the home via the wireless LAN in a state where the access destination URL of the home control device 40 is held by the bookmark function described above. Since this access destination URL is also converted by DNS into the global IP address of the router 70, the mobile communication terminal 20 first accesses the router. However, since this access is from a communication node inside the wireless LAN, the NAPT function of the router 70 does not work. As a result, the mobile communication terminal 20 is regarded as an access to the router itself, and is not routed from the router 70 to the home control device 40. In this case, in the mobile communication terminal 20, not only the screen as shown in FIG. 6, but various setting screens in the router 70 and a screen indicating that connection is impossible are displayed, and the home control device 40 cannot be accessed. .

特開2001−256156号公報JP 2001-256156 A

そこで、移動通信端末20が宅内に居る場合に限り、ユーザが移動通信端末20を操作して、宅内制御装置40のアクセス先URLではなく、宅内制御装置40のローカルIPアドレスにアクセスするよう指示する、という解決策が考えられる。しかし、この方法では、ユーザは、自身が宅内に居るか否かに応じて異なる通信アドレスを移動通信端末20に都度、指示しなければならず、その手間が煩雑であるという問題がある。   Therefore, only when the mobile communication terminal 20 is in the home, the user operates the mobile communication terminal 20 to instruct to access the local IP address of the home control device 40 instead of the access destination URL of the home control device 40. A solution is possible. However, this method has a problem that the user has to instruct the mobile communication terminal 20 each time for a different communication address depending on whether or not he / she is in the house, which is troublesome.

また、無線LAN内部の通信ノードからルータ70に割り当てられているグローバルIPアドレスにアクセスされた場合にも、NAPT機能により宅内制御装置40へルーティングするようなルーティング規則を新たにルータ70に設定するという方法も考えられる。しかし、この方法では、そのような特殊な設定を行い得るルータを開発せねばならないし、また、ユーザがルータを新たに交換する度に、同様の設定を行わなければならないという問題がある。特にユーザはルータの利用開始時にその設定作業を行う機会がある程度で、通常の使用期間中はルータに触れることもなく、基本的にルータの取り扱いに不慣れであるから、この方法はユーザに強いる負担が大きいと考えられる。   In addition, when a global IP address assigned to the router 70 is accessed from a communication node inside the wireless LAN, a new routing rule is set in the router 70 so as to route to the home control device 40 by the NAPT function. A method is also conceivable. However, in this method, there is a problem that a router capable of performing such a special setting must be developed, and the same setting must be performed every time the user newly replaces the router. In particular, the user has some opportunity to perform the setting work when starting to use the router, and does not touch the router during the normal use period and is basically unfamiliar with the handling of the router, so this method imposes a burden on the user. Is considered large.

さらに別の方法として、もう1つのグローバルIPアドレスを用意しておき、そのグローバルIPアドレスからプロキシサーバ装置経由でルータ70にアクセスするという方法も考えられる。しかし、このような方法は、通信技術に詳しくないユーザが行うのには困難である。   As another method, another global IP address is prepared and the router 70 is accessed from the global IP address via the proxy server device. However, such a method is difficult for a user who is not familiar with communication technology.

そこで、本発明は、遠隔操作の対象となる電気機器を含むLANが設置された場所にユーザが居る場合であっても居ない場合であっても、そのユーザがより簡便に電気機器を遠隔操作できるようにすることを目的とする。   Therefore, the present invention makes it easier for a user to remotely operate an electric device regardless of whether the user is present or not at a location where the LAN including the electric device to be remotely operated is installed. The purpose is to be able to.

上記課題を達成するために、本発明は、電気機器を制御する制御装置にLANを介して接続されたルータと、WAN経由で通信を行う第1無線通信手段と、前記ルータと通信を行う第2無線通信手段と、前記WANにおいて前記制御装置に割り当てられた通信アドレスであるアクセス先アドレスと、前記LANにおいて前記制御装置に割り当てられた通信アドレスであるローカルアドレスと、前記ルータが前記第2無線通信手段と通信を行うために当該ルータに割り当てられた識別子とを記憶する記憶手段と、前記第2無線通信手段の通信相手である前記ルータに割り当てられた識別子が、前記記憶手段に記憶されている前記識別子と一致する場合には、前記第2無線通信手段を用いて前記ローカルアドレスを宛先とした第1の通信を行い、それ以外の場合には、前記第1無線通信手段または前記第2無線通信手段を用いて前記アクセス先アドレスを宛先とした第2の通信を行い、前記第1の通信から前記第2の通信へ切り替えた際及び前記第2の通信から前記第1の通信へ切り替えた際に、当該切り替えの前における前記制御装置との間の通信セッションに関する情報を当該切り替えの後に利用して、前記制御装置と通信を行う通信制御手段とを備えることを特徴とする移動通信端末を提供する。 In order to achieve the above object, the present invention provides a router connected via a LAN to a control device that controls an electrical device, first wireless communication means for communicating via a WAN, and first router for communicating with the router. Two wireless communication means, an access destination address which is a communication address assigned to the control device in the WAN, a local address which is a communication address assigned to the control device in the LAN, and the router Storage means for storing an identifier assigned to the router for communicating with the communication means, and an identifier assigned to the router that is a communication partner of the second wireless communication means are stored in the storage means. when matching the identifiers are the the local address performed first communication destined using the second wireless communication unit, In cases other than that performs a second communication with the access destination address by using the first radio communication means or the second wireless communication means as a destination, to the second communication from the first communication When switching and when switching from the second communication to the first communication, the information regarding the communication session with the control device before the switching is used after the switching, and the control device There is provided a mobile communication terminal comprising a communication control means for performing communication.

前記第2無線通信手段が前記ルータと行う通信は、無線LANの規格に準拠した通信であり、前記ルータに割り当てられた識別子はSSID(Service Set Identifier)であってもよい。   The communication performed by the second wireless communication unit with the router may be communication based on a wireless LAN standard, and the identifier assigned to the router may be an SSID (Service Set Identifier).

前記通信制御手段は、無線LANにおける接続に関するインタフェースを用いて、前記第2無線通信手段の通信相手である前記ルータのSSIDを取得し、前記記憶手段に記憶されている前記識別子との比較を行うようにしてもよい。   The communication control unit acquires an SSID of the router that is a communication partner of the second wireless communication unit using an interface related to connection in a wireless LAN, and compares the SSID with the identifier stored in the storage unit You may do it.

前記第2無線通信手段を用いて、前記制御装置に割り当てられた前記ローカルアドレスを要求するリクエストを送信し、当該リクエストに応答して前記制御装置から送信されてくる前記ローカルアドレスを受信するアドレス取得手段を備え、前記記憶手段は、前記アドレス取得手段によって取得されたローカルアドレスを記憶するようにしてもよい。   Using the second wireless communication means, an address acquisition is performed for transmitting a request for the local address assigned to the control device and receiving the local address transmitted from the control device in response to the request. The storage means may store the local address acquired by the address acquisition means.

また、本発明は、電気機器を制御する制御装置にLANを介して接続されたルータと、WAN経由で通信を行う第1無線通信手段と、前記ルータと通信を行う第2無線通信手段とを備えたコンピュータを、前記WANにおいて前記制御装置に割り当てられた通信アドレスであるアクセス先アドレスと、前記LANにおいて前記制御装置に割り当てられた通信アドレスであるローカルアドレスと、前記ルータが前記第2無線通信手段と通信を行うために当該ルータに割り当てられた識別子とを記憶する記憶手段と、前記第2無線通信手段の通信相手である前記ルータに割り当てられた識別子が、前記記憶手段に記憶されている前記識別子と一致する場合には、前記第2無線通信手段を用いて前記ローカルアドレスを宛先とした第1の通信を行い、それ以外の場合には、前記第1無線通信手段または前記第2無線通信手段を用いて前記アクセス先アドレスを宛先とした第2の通信を行い、前記第1の通信から前記第2の通信へ切り替えた際及び前記第2の通信から前記第1の通信へ切り替えた際に、当該切り替えの前における前記制御装置との間の通信セッションに関する情報を当該切り替えの後に利用して、前記制御装置と通信を行う通信制御手段として機能させるためのプログラムを提供する。 The present invention also includes a router connected via a LAN to a control device that controls an electrical device, a first wireless communication unit that communicates via a WAN, and a second wireless communication unit that communicates with the router. A computer having an access destination address that is a communication address assigned to the control device in the WAN, a local address that is a communication address assigned to the control device in the LAN, and the router that performs the second wireless communication. Storage means for storing an identifier assigned to the router to communicate with the means, and an identifier assigned to the router that is a communication partner of the second wireless communication means is stored in the storage means when matching the identifier, performs a first communication to the local address and the destination by using the second wireless communication means Otherwise, the said access address using the first radio communication means or the second wireless communication means performs the second communication destined, the first from the communication the second to the communication When switching and when switching from the second communication to the first communication, the information regarding the communication session with the control device before the switching is used after the switching, and the control device A program for causing communication to function as communication control means is provided.

本発明によれば、遠隔操作の対象となる電気機器を含むLANが設置された場所にユーザが居る場合であっても居ない場合であっても、そのユーザがより簡便に電気機器を遠隔操作できるようになる。   According to the present invention, even when a user is present or not at a location where a LAN including an electrical device to be remotely operated is installed, the user can remotely operate the electrical device more easily. become able to.

本発明の実施形態に係る通信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the communication system which concerns on embodiment of this invention. 同実施形態に係る移動通信端末のハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of the mobile communication terminal which concerns on the same embodiment. 同移動通信端末の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the mobile communication terminal. 同移動通信端末の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the mobile communication terminal. 同移動通信端末の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the mobile communication terminal. 同移動通信端末に表示される画面の一例を示す図である。It is a figure which shows an example of the screen displayed on the mobile communication terminal.

(構成)
図1は、本発明の一実施形態に係る通信システム1の構成を示すブロック図である。移動通信網10は、例えば、LTEやいわゆる3G、またはGSM(登録商標)などに準拠したネットワークである。移動通信網10は、図示せぬゲートウェイ設備を介してインターネット60と接続されている。ユーザの自宅やオフィスなどの宅内には、宅内制御装置40などを含むLANが構築されている。宅内制御装置40は、近距離無線通信規格の一つであるZigBee(登録商標)に準拠して、制御アダプタ50と無線通信を行う。各々の制御アダプタ50は電気機器30と1対1で接続されており、宅内制御装置40から無線送信されてくるデータに基づき、電気機器30が行うべき動作をその電気機器30に指示する。ルータ70は、インターネット60とLANとを接続する。ルータ70は、無線LAN機能も有しており、LANで接続された宅内制御装置40などと通信を行うほか、IEEE802.11nなどのいわゆる無線LANの規格に準拠して移動通信端末20と無線通信を行う。移動通信端末20は、携帯電話機やタブレット端末であり、移動通信網10を介した通信と、無線LANを介した通信と行うことができるようになっている。ユーザは、移動通信端末20を用い、移動通信網10及びインターネット60を介して電気機器30を遠隔操作することもできるし、無線LAN経由で電気機器30を遠隔操作することも可能である。
(Constitution)
FIG. 1 is a block diagram showing a configuration of a communication system 1 according to an embodiment of the present invention. The mobile communication network 10 is, for example, a network that is compliant with LTE, so-called 3G, or GSM (registered trademark). The mobile communication network 10 is connected to the Internet 60 via gateway equipment (not shown). A LAN including a home control device 40 and the like is built in a user's home or office. The home control device 40 performs wireless communication with the control adapter 50 in accordance with ZigBee (registered trademark), which is one of the short-range wireless communication standards. Each control adapter 50 is connected to the electrical device 30 on a one-to-one basis, and instructs the electrical device 30 to perform an operation to be performed by the electrical device 30 based on data wirelessly transmitted from the home control device 40. The router 70 connects the Internet 60 and the LAN. The router 70 also has a wireless LAN function, and communicates with the home control device 40 and the like connected via the LAN, and also communicates with the mobile communication terminal 20 in accordance with a so-called wireless LAN standard such as IEEE802.11n. I do. The mobile communication terminal 20 is a mobile phone or a tablet terminal, and can perform communication via the mobile communication network 10 and communication via a wireless LAN. A user can remotely operate the electric device 30 using the mobile communication terminal 20 via the mobile communication network 10 and the Internet 60, or can remotely operate the electric device 30 via a wireless LAN.

ルータ70には、WAN側IPアドレスとして、グローバルIPアドレスが割り当てられている。宅内制御装置40には、インターネット60上におけるアクセス先URLと、LANにおけるローカルIPアドレスが割り当てられている。移動通信端末20は、宅外から電気機器30を遠隔操作する場合、宅内制御装置40に割り当てられたアクセス先URLにアクセスする。このアクセス先URLは、DNSにより、ルータ70に割り当てられたグローバルIPアドレスに変換される。移動通信端末20が、このグローバルIPアドレスを宛先としてルータ70にアクセスすると、このアクセスはルータ70のNAPT機能により、宅内制御装置40へとルーティングされる。これに対し、移動通信端末20が、宅内において電気機器30を遠隔操作する場合、宅内制御装置40に割り当てられたローカルIPアドレスへアクセスする。   A global IP address is assigned to the router 70 as the WAN-side IP address. The home control device 40 is assigned an access destination URL on the Internet 60 and a local IP address on the LAN. The mobile communication terminal 20 accesses the access destination URL assigned to the in-home control device 40 when remotely operating the electric device 30 from outside the house. This access destination URL is converted into a global IP address assigned to the router 70 by DNS. When the mobile communication terminal 20 accesses the router 70 with this global IP address as the destination, this access is routed to the home control device 40 by the NAPT function of the router 70. On the other hand, when the mobile communication terminal 20 remotely operates the electrical device 30 in the home, the mobile communication terminal 20 accesses the local IP address assigned to the home control device 40.

宅外からのアクセス及び宅内におけるアクセスのいずれの場合においても、宅内制御装置40から移動通信端末20に対し、操作画面を表示するための画面データが送信される。ユーザはこの画面上で所望する電気機器30を選択し、さらにその電気機器30の動作を指定する操作を行う。この操作に応じた指示が、移動通信端末20からルータ70を介して宅内制御装置40へと送信される。宅内制御装置40は、ユーザによって選択された電気機器30に対応する制御アダプタ50に対し、上記の指示を意味するデータを無線で送信する。制御アダプタ50は、宅内制御装置40から無線送信されてくるデータに基づき、電気機器30が行うべき動作をその電気機器30に指示する。電気機器30はその指示に従って動作する。   In both cases of access from outside the house and access from within the house, screen data for displaying the operation screen is transmitted from the home control device 40 to the mobile communication terminal 20. The user selects a desired electrical device 30 on this screen, and further performs an operation for designating the operation of the electrical device 30. An instruction corresponding to this operation is transmitted from the mobile communication terminal 20 to the home control device 40 via the router 70. The in-home control device 40 wirelessly transmits data indicating the above instruction to the control adapter 50 corresponding to the electrical device 30 selected by the user. The control adapter 50 instructs the electrical device 30 to perform an operation to be performed by the electrical device 30 based on data wirelessly transmitted from the home control device 40. The electric device 30 operates according to the instruction.

図2は、移動通信端末20のハードウェア構成を示すブロック図であり、ここでは移動通信端末20が携帯電話機である場合を例示している。移動通信端末20は、制御部21と、記憶部22と、第1無線通信部23と、音声入出力部24と、操作部25と、表示部26と、第2無線通信部27とを備えたコンピュータである。制御部21は、CPU(Central Processing Unit)などの演算装置と、ROM(Read Only Memory)およびRAM(Random Access Memory)などの記憶装置とを備えている。CPUは、RAMをワークエリアとして用いてROMや記憶部22に記憶されたプログラムを実行することによって、移動通信端末20の各部の動作を制御する。第1無線通信部23は、無線用のアンテナや通信回路を備えており、移動通信網10の基地局と無線通信を行う。音声入出力部24は、スピーカ、マイクロホンおよび音声処理回路などを備えており、通話に係る音声の入出力を行う。操作部25は、複数のキーやタッチセンサなどの操作子を備え、ユーザの操作に応じた操作信号を制御部21に供給する。制御部21は、この操作信号に応じた処理を行う。表示部26は、液晶パネルや液晶駆動回路を備えており、制御部21からの指示に応じて画像を表示する。第2無線通信部27は、無線用のアンテナや通信回路を備えており、ルータ70と無線通信を行う。   FIG. 2 is a block diagram showing a hardware configuration of the mobile communication terminal 20, and here, a case where the mobile communication terminal 20 is a mobile phone is illustrated. The mobile communication terminal 20 includes a control unit 21, a storage unit 22, a first wireless communication unit 23, a voice input / output unit 24, an operation unit 25, a display unit 26, and a second wireless communication unit 27. Computer. The control unit 21 includes an arithmetic device such as a CPU (Central Processing Unit) and a storage device such as a ROM (Read Only Memory) and a RAM (Random Access Memory). The CPU controls the operation of each unit of the mobile communication terminal 20 by executing a program stored in the ROM or the storage unit 22 using the RAM as a work area. The first wireless communication unit 23 includes a wireless antenna and a communication circuit, and performs wireless communication with a base station of the mobile communication network 10. The voice input / output unit 24 includes a speaker, a microphone, a voice processing circuit, and the like, and performs voice input / output related to a call. The operation unit 25 includes operation elements such as a plurality of keys and touch sensors, and supplies an operation signal corresponding to a user operation to the control unit 21. The control unit 21 performs processing according to the operation signal. The display unit 26 includes a liquid crystal panel and a liquid crystal driving circuit, and displays an image according to an instruction from the control unit 21. The second wireless communication unit 27 includes a wireless antenna and a communication circuit, and performs wireless communication with the router 70.

記憶部22は、書き込み可能な不揮発性の記憶手段であり、例えばEEPROM(Electronically Erasable and Programmable ROM)やバックアップ電源を備えたSRAM(Static Random Access Memory)である。記憶部22には、Android(登録商標)と呼ばれるコンピュータ環境で実行されるアプリケーションプログラムなどのほか、上述したアクセス先URLと、ローカルIPアドレスと、無線LANにおいてルータに割り当てられた識別子であるSSID(Service Set Identifier)とが記憶されている。アクセス先URLは、電気機器30の遠隔操作用のアプリケーションプログラムによって設定されている。SSIDは、ユーザにより、そのユーザ自身の自宅に設置されたルータ70(つまり、ユーザが遠隔操作したい電気機器30が属するLAN内のルータ70)のSSIDである。このSSIDは、ユーザが操作部25を用いて移動通信端末20に入力したものであってもよいし、移動通信端末20が能動的に取得したものであってもよい。ローカルIPアドレスは、ユーザが操作部25を用いて移動通信端末20に入力したものであってもよいし、移動通信端末20が能動的に取得したものであってもよいが、この実施形態では、移動通信端末20が能動的に取得する例で説明する。   The storage unit 22 is a writable nonvolatile storage means such as an EEPROM (Electronically Erasable and Programmable ROM) or an SRAM (Static Random Access Memory) equipped with a backup power source. In addition to an application program executed in a computer environment called Android (registered trademark), the storage unit 22 has an access destination URL, a local IP address, and an SSID (identifier assigned to a router in a wireless LAN). Service Set Identifier) is stored. The access destination URL is set by an application program for remote operation of the electrical device 30. The SSID is the SSID of the router 70 installed in the user's own home (that is, the router 70 in the LAN to which the electric device 30 that the user wants to remotely operate) belongs to the user. This SSID may be input by the user to the mobile communication terminal 20 using the operation unit 25, or may be acquired actively by the mobile communication terminal 20. The local IP address may be one that the user has input to the mobile communication terminal 20 using the operation unit 25, or may be one that is actively acquired by the mobile communication terminal 20, but in this embodiment, An example in which the mobile communication terminal 20 actively acquires will be described.

図3は、移動通信端末20の機能構成を示すブロック図である。移動通信端末20は、第1無線通信部23と、第2無線通信部27と、アドレス取得部210と、記憶部22と、通信制御部220とを備える。アドレス取得部210および通信制御部220は制御部21(図2)によって実現される。第1無線通信部23は、WANであるインターネット60を介してルータ70と通信を行う。第2無線通信部27は、WANであるインターネット60を経由してルータ70と通信を行う場合もあるし、WANであるインターネット60を経由せずにルータ70と通信を行う場合もある。   FIG. 3 is a block diagram showing a functional configuration of the mobile communication terminal 20. The mobile communication terminal 20 includes a first wireless communication unit 23, a second wireless communication unit 27, an address acquisition unit 210, a storage unit 22, and a communication control unit 220. The address acquisition unit 210 and the communication control unit 220 are realized by the control unit 21 (FIG. 2). The first wireless communication unit 23 communicates with the router 70 via the Internet 60 that is a WAN. The second wireless communication unit 27 may communicate with the router 70 via the Internet 60 that is a WAN, or may communicate with the router 70 without passing through the Internet 60 that is a WAN.

アドレス取得部210は、第2無線通信部27を用いて、宅内制御装置40(制御装置)に割り当てられたローカルアドレスを要求するリクエストを送信し、当該リクエストに応答して宅内制御装置40から送信されてくるローカルIPアドレス(ローカルアドレス)を受信する。   The address acquisition unit 210 uses the second wireless communication unit 27 to transmit a request for requesting a local address assigned to the home control device 40 (control device), and transmits the request from the home control device 40 in response to the request. The received local IP address (local address) is received.

記憶部22は、WANであるインターネット60において宅内制御装置40(制御装置)に割り当てられた通信アドレスであるアクセス先アドレスと、LANにおいて宅内制御装置40(制御装置)に割り当てられ、アドレス取得部210によって取得された通信アドレスであるローカルIPアドレス(ローカルアドレス)と、ルータ70が第2無線通信部27と通信を行うために当該ルータ70に割り当てられた識別子であるSSIDとを記憶する。   The storage unit 22 is assigned an access destination address, which is a communication address assigned to the home control device 40 (control device) in the Internet 60 as a WAN, and is assigned to the home control device 40 (control device) in the LAN. The local IP address (local address) which is the communication address acquired by the above and the SSID which is the identifier assigned to the router 70 so that the router 70 communicates with the second wireless communication unit 27 are stored.

通信制御部220は、第2無線通信部27の通信相手であるルータ70に割り当てられた識別子であるSSIDが、記憶部22に記憶されているSSIDと一致する場合には、第2無線通信部27を用いてローカルIPアドレス(ローカルアドレス)を宛先とした通信を行い、それ以外の場合には、第1無線通信部23または第2無線通信部27を用いてアクセス先アドレスを宛先とした通信を行う。   When the SSID that is the identifier assigned to the router 70 that is the communication partner of the second wireless communication unit 27 matches the SSID stored in the storage unit 22, the communication control unit 220 determines that the second wireless communication unit 27, the communication is performed with the local IP address (local address) as the destination. In other cases, the communication is performed with the access destination address as the destination using the first wireless communication unit 23 or the second wireless communication unit 27. I do.

(動作)
次に、本実施形態の動作を説明する。以下の動作は、移動通信端末20においてアプリケーションプログラムが実行されることで実現される。
図4は、移動通信端末20に対し宅内制御装置40のローカルIPアドレスを登録するときの、制御部21の手順を示すフローチャートである。まず、ユーザが操作部25を用いて、宅内制御装置40のローカルIPアドレスを登録することを意味する操作を行うと、制御部21はその操作を受け付け、ローカルIPアドレスの初期登録の指示があったと判断する(ステップS1;YES)。次に、制御部21は、無線LANを介した通信が可能なエリアに居るか否かを判断する(ステップS2)。具体的には、制御部21は、無線LANにおける接続に関するインタフェース(例えば無線LANの規格のうち所定の認証試験を経たWiFi(登録商標)接続に関するインタフェース)を用いて、通信可能な範囲にある少なくとも1つのルータ(アクセスポイントとも言う)から、SSIDを含むブロードキャストメッセージを第2無線通信部27で受信する。そして、制御部21は、事前の設定に基づいて接続するアクセスポイントを選択するか、または、新規のSSIDを受信した場合には表示部26に表示されたSSIDのリストからユーザがいずれかを選択することにより、無線LANを介した通信が可能かを判断する。このとき、ユーザ制限や暗号化等の制限条件が予め設定されている場合は、制御部21は周知の無線LANに関する技術を用いて接続設定を行う。
(Operation)
Next, the operation of this embodiment will be described. The following operations are realized by executing an application program in the mobile communication terminal 20.
FIG. 4 is a flowchart showing a procedure of the control unit 21 when registering the local IP address of the home control device 40 in the mobile communication terminal 20. First, when the user performs an operation that means registering the local IP address of the in-home control device 40 using the operation unit 25, the control unit 21 accepts the operation and gives an instruction for initial registration of the local IP address. (Step S1; YES). Next, the control unit 21 determines whether or not it is in an area where communication via the wireless LAN is possible (step S2). Specifically, the control unit 21 uses at least a communication range using an interface related to a connection in a wireless LAN (for example, an interface related to a WiFi (registered trademark) connection that has undergone a predetermined authentication test in the wireless LAN standard). The second wireless communication unit 27 receives a broadcast message including the SSID from one router (also referred to as an access point). And the control part 21 selects the access point to connect based on a prior setting, or when a new SSID is received, a user selects either from the list of SSIDs displayed on the display part 26 As a result, it is determined whether communication via the wireless LAN is possible. At this time, when a restriction condition such as user restriction or encryption is set in advance, the control unit 21 performs connection setting using a well-known technique related to a wireless LAN.

このとき、制御部21は、例えばAndroid(登録商標)と呼ばれるコンピュータ環境において定義されているWifiManager及びWifiInfoのクラスを用いて、ルータ70のSSIDや無線LANの無線チャネルを取得することができるので、これらの取得の有無によって、無線LANを介した通信が可能なエリアに居るか否かを判断することが可能である。なお、WifiManagerは、無線LANを介した通信が可能になったことを特定し得るクラスであり、WifiInfoは、無線ルータのSSIDを取得し得るクラスである。具体的には、Android developersのWEBサイト(http://developer.android.com/reference/android/net/wifi/WifiManager.html
http://developer.android.com/reference/android/net/wifi/WifiInfo.html)を参照されたい。
At this time, the control unit 21 can acquire the SSID of the router 70 and the wireless channel of the wireless LAN using the WifiManager and WifiInfo classes defined in a computer environment called Android (registered trademark), for example. Based on the presence or absence of these acquisitions, it is possible to determine whether or not the user is in an area where communication via a wireless LAN is possible. WifiManager is a class that can specify that communication via a wireless LAN is possible, and WifiInfo is a class that can acquire the SSID of a wireless router. Specifically, the Android developers website (http://developer.android.com/reference/android/net/wifi/WifiManager.html
Refer to http://developer.android.com/reference/android/net/wifi/WifiInfo.html).

無線LANを介した通信が可能なエリアに居る場合には(ステップS2;YES)、制御部21は、予め決められたフォーマットの制御パケットを第2無線通信部27から送出する(ステップS3)。この制御パケットは、宅内制御装置40のローカルIPアドレスを要求するリクエストとしての意味を持つ。送出された制御パケットは、無線LAN内の各通信ノードに到達する。宅内制御装置40においては、この制御パケットを受信すると、自身のローカルIPアドレスを含む応答パケットを送信するという設定がなされている。よって、制御部21は、第2無線通信部27が宅内制御装置40からローカルIPアドレスを含む応答パケットを受信すると(ステップS4;YES)、そのローカルIPアドレスを記憶部22に記憶する(ステップS5)。なお、ステップS4において、制御部21は、第2無線通信部27が宅内制御装置40からローカルIPアドレスを含む応答パケットを受信しない場合には(ステップS4;NO)、処理を終了する。例えば、宅内制御装置40の電源が切れていた場合や、宅内ではない無線LANに移動通信端末20が接続していた場合などが、このケースに該当する。   When in an area where communication via a wireless LAN is possible (step S2; YES), the control unit 21 sends out a control packet of a predetermined format from the second wireless communication unit 27 (step S3). This control packet has a meaning as a request for requesting the local IP address of the home control device 40. The transmitted control packet reaches each communication node in the wireless LAN. The in-home control device 40 is set to transmit a response packet including its own local IP address when receiving this control packet. Therefore, when the second wireless communication unit 27 receives the response packet including the local IP address from the home control device 40 (step S4; YES), the control unit 21 stores the local IP address in the storage unit 22 (step S5). ). In step S4, when the second wireless communication unit 27 does not receive a response packet including the local IP address from the home control device 40 (step S4; NO), the control unit 21 ends the process. For example, this is the case when the power of the home control device 40 is turned off or when the mobile communication terminal 20 is connected to a wireless LAN that is not home.

図5は、移動通信端末20が宅内制御装置40にアクセスして通信を行うときの、制御部21の手順を示すフローチャートである。まず、ユーザが操作部25を用いて、電気機器30を遠隔操作することを意味する操作を行うと、制御部21はその操作を受け付け、遠隔操作の指示があったと判断する(ステップS11;YES)。次に、制御部21は、無線LANを介した通信が可能なエリアに居るか否かを判断する(ステップS12)。このとき、制御部21は、前述したWifiManager及びWifiInfoのクラスを用いて、ルータ70のSSIDを取得しておく。   FIG. 5 is a flowchart illustrating a procedure of the control unit 21 when the mobile communication terminal 20 accesses the home control device 40 to perform communication. First, when the user performs an operation meaning that the electric device 30 is remotely operated using the operation unit 25, the control unit 21 receives the operation and determines that there is an instruction for remote operation (step S11; YES). ). Next, the control unit 21 determines whether or not it is in an area where communication via the wireless LAN is possible (step S12). At this time, the control unit 21 acquires the SSID of the router 70 by using the WifiManager and WifiInfo classes described above.

なお、無線LANを介した通信が可能なエリアに居ない場合には(ステップS12;NO)、移動通信端末20が無線LANのエリア外に居るということであるから、制御部21は、移動通信網10を介した通信を行うべく、第1無線通信部23を用いて、記憶部22から読み出したアクセス先URLにアクセスする(ステップS15)。このアクセス先URLは、DNSにより、ルータ70に割り当てられたグローバルIPアドレスに変換される。制御部21が、このグローバルIPアドレスを宛先としてルータ70にアクセスすると、このアクセスはルータ70のNAPT機能により、宅内制御装置40へとルーティングされる。   If the mobile communication terminal 20 is outside the area of the wireless LAN when the mobile communication terminal 20 is not in an area where communication via the wireless LAN is possible (step S12; NO), the control unit 21 performs the mobile communication. In order to perform communication via the network 10, the first wireless communication unit 23 is used to access the access destination URL read from the storage unit 22 (step S15). This access destination URL is converted into a global IP address assigned to the router 70 by DNS. When the control unit 21 accesses the router 70 with the global IP address as the destination, the access is routed to the home control device 40 by the NAPT function of the router 70.

さて、制御部21は、無線LANを介した通信が可能なエリアに居ると判断した場合(ステップS12;YES)、ルータ70から取得したSSIDと、記憶部22に記憶しているSSIDとが一致しているか否かを判断する(ステップS13)。両者が一致していれば(ステップS13;YES)、移動通信端末20が宅内(つまり、遠隔操作の対象となる電気機器30が属するLANが設けられた場所)に居るということであるから、制御部21は、第2無線通信部27を用いて、記憶部22から読み出したローカルIPアドレスを宛先としたアクセスを行う(ステップS14)。このアクセスはルータ70により、宅内制御装置40へとルーティングされる。   When the control unit 21 determines that it is in an area where communication via the wireless LAN is possible (step S12; YES), the SSID acquired from the router 70 and the SSID stored in the storage unit 22 are equal. It is determined whether or not it has been done (step S13). If the two match (step S13; YES), it means that the mobile communication terminal 20 is in the house (that is, the place where the LAN to which the electric device 30 to be remotely operated belongs is provided), so that the control is performed. The unit 21 uses the second wireless communication unit 27 to perform access with the local IP address read from the storage unit 22 as the destination (step S14). This access is routed to the home control device 40 by the router 70.

一方、両者が一致していなければ(ステップS13;NO)、移動通信端末20が自宅以外の無線LANの通信可能エリア(つまり、遠隔操作の対象となる電気機器30が属するLANが設けられていないが、別の無線LANが設けられている場所)に居るということであるから、制御部21は、第2無線通信部27を用いて、記憶部22から読み出したアクセス先URLにアクセスする(ステップS15)。このアクセス先URLは、DNSにより、ルータ70に割り当てられたグローバルIPアドレスに変換される。制御部21が、このグローバルIPアドレスを宛先としてルータ70にアクセスすると、このアクセスはルータ70にとってWAN側からのアクセスになるから、NAPT機能により宅内制御装置40へとルーティングされる。   On the other hand, if the two do not match (step S13; NO), the mobile communication terminal 20 is not provided with a wireless LAN communicable area other than the home (that is, the LAN to which the electric device 30 to be remotely operated belongs is not provided. However, the control unit 21 uses the second wireless communication unit 27 to access the access destination URL read from the storage unit 22 (step S3). S15). This access destination URL is converted into a global IP address assigned to the router 70 by DNS. When the control unit 21 accesses the router 70 using the global IP address as a destination, the access is routed from the WAN side to the router 70, and is therefore routed to the home control device 40 by the NAPT function.

上記のように、制御部21は、第2無線通信部27の通信相手であるルータ70に割り当てられたSSIDが、記憶部22に記憶されているSSIDと一致する場合には(ステップS13;YES)、第2無線通信部を用いてローカルIDアドレスを宛先とした通信を行い、それ以外の場合には(ステップS12;NO、ステップS13;NO)、第1無線通信部23または第2無線通信部27を用いてアクセス先アドレスを宛先とした通信を行う。   As described above, when the SSID assigned to the router 70 that is the communication partner of the second wireless communication unit 27 matches the SSID stored in the storage unit 22 (step S13; YES) ), Using the second wireless communication unit to perform communication with the local ID address as the destination, otherwise (step S12; NO, step S13; NO), the first wireless communication unit 23 or the second wireless communication Using the unit 27, communication with the access destination address as the destination is performed.

そして、宅外からのアクセス及び宅内におけるアクセスのいずれの場合においても、宅内制御装置40から移動通信端末20に対し、図6に例示するような操作画面を表示するための画面データが送信される。ユーザはこの画面上で所望する電気機器30を選択し、さらにその電気機器30の動作を指定する操作を行う。この操作に応じた指示が、移動通信端末20からルータ70を介して宅内制御装置40へと送信される。宅内制御装置40は、ユーザによって選択された電気機器30に対応する制御アダプタ50に対し、上記指示を意味するデータを無線で送信する。制御アダプタ50は、宅内制御装置40から無線送信されてくるデータに基づき、電気機器30が行うべき動作をその電気機器30に指示する。電気機器30はその指示に従って動作する。   Then, in both cases of access from outside the house and access from within the house, screen data for displaying an operation screen as illustrated in FIG. 6 is transmitted from the home control device 40 to the mobile communication terminal 20. . The user selects a desired electrical device 30 on this screen, and further performs an operation for designating the operation of the electrical device 30. An instruction corresponding to this operation is transmitted from the mobile communication terminal 20 to the home control device 40 via the router 70. The in-home control device 40 wirelessly transmits data indicating the above instruction to the control adapter 50 corresponding to the electrical device 30 selected by the user. The control adapter 50 instructs the electrical device 30 to perform an operation to be performed by the electrical device 30 based on data wirelessly transmitted from the home control device 40. The electric device 30 operates according to the instruction.

以上の実施形態によれば、遠隔操作の対象となる電気機器30を含むLANが設置された場所にユーザが居る場合であっても居ない場合であっても、そのユーザがより簡便に電気機器30を遠隔操作できるようになる。より具体的には、例えばユーザが宅内に居るか否かに応じて異なる通信アドレスを移動通信端末20に指示する方法に比べると、上記実施形態のほうがユーザの手間がかからない。また、無線LAN内部の通信ノードからルータ70に割り当てられているグローバルIPアドレスにアクセスされた場合にも宅内制御装置40へルーティングするようなルーティング規則を新たにルータ70に設定する方法と比べると、上記実施形態ではそのようなルータに対する設定作業が不要となる。さらに、別に用意したグローバルIPアドレスからプロキシサーバ装置経由でルータ70にアクセスするという方法に比べても、上記実施形態のほうがユーザの手間やコストがかからない。   According to the above embodiment, even if the user is present or not present at the place where the LAN including the electrical device 30 to be remotely operated is installed, the user can more easily perform the electrical device. 30 can be operated remotely. More specifically, for example, compared to a method of instructing the mobile communication terminal 20 with a different communication address depending on whether or not the user is in the house, the above embodiment is less time-consuming for the user. Compared with a method of setting a new routing rule in the router 70 that routes to the home control device 40 even when a global IP address assigned to the router 70 is accessed from a communication node inside the wireless LAN, In the above-described embodiment, the setting work for such a router becomes unnecessary. Furthermore, even if compared with a method of accessing the router 70 via a proxy server device from a separately prepared global IP address, the above embodiment requires less time and effort for the user.

(変形例)
本発明は上述した実施形態に限定されず、次のような変形が可能である。また、以下の変形例を相互に組み合わせてもよい。
(変形例1)
例えばユーザが宅内において移動通信端末20を操作して電気機器30を遠隔操作しながら、そのまま宅外に出ていくことがある。また、これとは逆に、ユーザが宅外において移動通信端末20を操作して電気機器30を遠隔操作しながら、そのまま宅内に入ることもある。この場合、移動通信端末20において、第2無線通信部27を用いたローカルIPアドレス宛の通信と、第1無線通信部23または第2無線通信部27を用いたアクセス先アドレス宛の通信とが切り替えられることになる。制御部21は、この切り替えの前における宅内制御装置40との間の通信セッションに関する情報を記憶部22に記憶させておき、切り替えの後にこの記憶部から読み出して利用しながら、宅内制御装置40と通信を行う。このようにすれば、切り替えの前後において通信が途切れることがない。
(Modification)
The present invention is not limited to the above-described embodiment, and the following modifications are possible. Further, the following modifications may be combined with each other.
(Modification 1)
For example, the user may go out of the house as it is while operating the mobile communication terminal 20 in the house and remotely operating the electrical device 30. On the contrary, the user may enter the home as it is while operating the mobile communication terminal 20 outside the home to remotely control the electrical device 30. In this case, in the mobile communication terminal 20, communication addressed to the local IP address using the second radio communication unit 27 and communication addressed to the access destination address using the first radio communication unit 23 or the second radio communication unit 27 are performed. It will be switched. The control unit 21 stores information related to the communication session with the in-home control device 40 before the switching in the storage unit 22, and reads out from the storage unit and uses the information after the switching, Communicate. In this way, communication is not interrupted before and after switching.

(変形例2)
図1の例では、ルータ70と電気機器30との間に介在する宅内制御装置40が電気機器30の制御を行っていたが、電気機器30そのものがルータ70からの指示に従って動作してもよい。この場合、ルータ70と電気機器30が、宅内制御装置40を介さずに直接接続されることになる。そして、この場合、電気機器を制御する制御装置は、その電気機器に内蔵されている制御回路である。
また、図1の例では、宅内制御装置40と電気機器30とは制御アダプタ50を介して通信を行っていたが、宅内制御装置40と電気機器30が直接通信する形態であってもよい。
また、宅内制御装置40と電気機器30との間の通信は無線である必要はなし、宅内制御装置40とルータ70との間の通信は有線である必要もない。
(Modification 2)
In the example of FIG. 1, the home control device 40 interposed between the router 70 and the electric device 30 controls the electric device 30, but the electric device 30 itself may operate according to an instruction from the router 70. . In this case, the router 70 and the electrical device 30 are directly connected without going through the home control device 40. In this case, the control device that controls the electrical device is a control circuit built in the electrical device.
In the example of FIG. 1, the home control device 40 and the electric device 30 communicate with each other via the control adapter 50, but the home control device 40 and the electric device 30 may directly communicate with each other.
Further, the communication between the home control device 40 and the electrical device 30 does not need to be wireless, and the communication between the home control device 40 and the router 70 does not need to be wired.

(変形例3)
実施形態では、記憶部22に記憶されたSSIDが、移動通信端末20が能動的に取得したものであったが、これは既述のとおり、ユーザが操作部25を用いて移動通信端末20に入力したものであってもよい。このようにユーザが移動通信端末20にSSIDを入力する場合、実施形態のように移動通信端末20がSSIDを取得することができるように宅内制御装置40側の機能を改変、追加する必要がないという利点がある。
(Modification 3)
In the embodiment, the SSID stored in the storage unit 22 has been actively acquired by the mobile communication terminal 20. However, as described above, this can be performed by the user using the operation unit 25 in the mobile communication terminal 20. It may be entered. Thus, when the user inputs the SSID to the mobile communication terminal 20, there is no need to modify or add the function on the home control device 40 side so that the mobile communication terminal 20 can acquire the SSID as in the embodiment. There is an advantage.

(変形例4)
上記実施形態は、Androidと呼ばれるコンピュータ環境の例で説明したが、これに限らず、例えばiOSやシンビアン、Windows(登録商標)モバイルその他のOS(Operation System)を搭載した他のコンピュータ環境や、OS自体がネットワーク側に存在してユーザへ各種情報を提供するシンクライアント環境で適用されるあらゆるコンピュータ環境であってもよい。
また、上記実施形態で、制御部21は、Androidで定義されているWifiManager及びWifiInfoのクラスを用いてルータ70のSSIDを取得していた。ただし、前述したように、Android以外のコンピュータ環境を使用する場合には、制御部21は、このAndroidにおけるWifiManager及びWifiInfoのクラスのように、ルータ70のSSIDを取得し得る機能を持つ、無線LANにおける接続に関するインタフェースを用いればよい。
上述した移動通信端末20において実行されるプログラムは、磁気テープ、磁気ディスク、フロッピー(登録商標)ディスク、光記録媒体、光磁気記録媒体、CD(Compact Disk)、DVD(Digital Versatile Disk)、RAMなどの記録媒体に記録した状態で提供し得る。
(Modification 4)
The above embodiment has been described with reference to an example of a computer environment called Android. However, the present invention is not limited to this, and other computer environments such as iOS, Symbian, Windows (registered trademark) mobile, and other OS (Operation System) are installed. It may be any computer environment applied in a thin client environment that itself exists on the network side and provides various information to the user.
In the above embodiment, the control unit 21 acquires the SSID of the router 70 using the WifiManager and WifiInfo classes defined in Android. However, as described above, when using a computer environment other than Android, the control unit 21 has a function of acquiring the SSID of the router 70 like the WifiManager and WifiInfo classes in Android. An interface related to the connection may be used.
The programs executed in the mobile communication terminal 20 described above are magnetic tape, magnetic disk, floppy (registered trademark) disk, optical recording medium, magneto-optical recording medium, CD (Compact Disk), DVD (Digital Versatile Disk), RAM, and the like. It can be provided in a state of being recorded on the recording medium.

1・・・通信システム、10・・・移動通信網、20・・・移動通信端末、21・・・制御部、22・・・記憶部、23・・・第1無線通信部、24・・・音声入出力部、25・・・操作部、26・・・表示部、27・・・第2無線通信部、210・・・アドレス取得部、220・・・通信制御部、30・・・電気機器、40・・・宅内制御装置、50・・・制御アダプタ、60・・・インターネット、70・・・ルータ DESCRIPTION OF SYMBOLS 1 ... Communication system, 10 ... Mobile communication network, 20 ... Mobile communication terminal, 21 ... Control part, 22 ... Memory | storage part, 23 ... 1st radio | wireless communication part, 24 ... Voice input / output unit, 25 ... operation unit, 26 ... display unit, 27 ... second wireless communication unit, 210 ... address acquisition unit, 220 ... communication control unit, 30 ... Electrical equipment, 40 ... home control device, 50 ... control adapter, 60 ... Internet, 70 ... router

Claims (5)

電気機器を制御する制御装置にLAN(Local Area Network)を介して接続されたルータと、WAN(Wide Area Network)経由で通信を行う第1無線通信手段と、
前記ルータと通信を行う第2無線通信手段と、
前記WANにおいて前記制御装置に割り当てられた通信アドレスであるアクセス先アドレスと、前記LANにおいて前記制御装置に割り当てられた通信アドレスであるローカルアドレスと、前記ルータが前記第2無線通信手段と通信を行うために当該ルータに割り当てられた識別子とを記憶する記憶手段と、
前記第2無線通信手段の通信相手である前記ルータに割り当てられた識別子が、前記記憶手段に記憶されている前記識別子と一致する場合には、前記第2無線通信手段を用いて前記ローカルアドレスを宛先とした第1の通信を行い、それ以外の場合には、前記第1無線通信手段または前記第2無線通信手段を用いて前記アクセス先アドレスを宛先とした第2の通信を行い、前記第1の通信から前記第2の通信へ切り替えた際及び前記第2の通信から前記第1の通信へ切り替えた際に、当該切り替えの前における前記制御装置との間の通信セッションに関する情報を当該切り替えの後に利用して、前記制御装置と通信を行う通信制御手段と
を備えることを特徴とする移動通信端末。
A router connected to a control device for controlling electrical equipment via a LAN (Local Area Network), first wireless communication means for communicating via a WAN (Wide Area Network),
Second wireless communication means for communicating with the router;
An access destination address that is a communication address assigned to the control device in the WAN, a local address that is a communication address assigned to the control device in the LAN, and the router communicates with the second wireless communication means Storage means for storing an identifier assigned to the router for
If the identifier assigned to the router that is the communication partner of the second wireless communication means matches the identifier stored in the storage means, the local address is set using the second wireless communication means. In other cases, the first communication is performed, and otherwise, the second communication is performed using the first wireless communication unit or the second wireless communication unit as the destination, and the second communication is performed. When switching from the first communication to the second communication and when switching from the second communication to the first communication, the information related to the communication session with the control device before the switching is switched. A mobile communication terminal comprising: a communication control unit that communicates with the control device after use .
前記第2無線通信手段が前記ルータと行う通信は、無線LANの規格に準拠した通信であり、
前記ルータに割り当てられた識別子はSSID(Service Set Identifier)である
ことを特徴とする請求項1記載の移動通信端末。
The communication performed by the second wireless communication unit with the router is communication based on a wireless LAN standard,
The mobile communication terminal according to claim 1, wherein the identifier assigned to the router is an SSID (Service Set Identifier).
前記通信制御手段は、無線LANにおける接続に関するインタフェースを用いて、前記第2無線通信手段の通信相手である前記ルータのSSIDを取得し、前記記憶手段に記憶されている前記識別子との比較を行う
ことを特徴とする請求項2記載の移動通信端末。
The communication control unit acquires an SSID of the router that is a communication partner of the second wireless communication unit using an interface related to connection in a wireless LAN, and compares the SSID with the identifier stored in the storage unit The mobile communication terminal according to claim 2.
前記第2無線通信手段を用いて、前記制御装置に割り当てられた前記ローカルアドレスを要求するリクエストを送信し、当該リクエストに応答して前記制御装置から送信されてくる前記ローカルアドレスを受信するアドレス取得手段を備え、
前記記憶手段は、前記アドレス取得手段によって取得されたローカルアドレスを記憶する
ことを特徴とする請求項1〜3のいずれか1項に記載の移動通信端末。
Using the second wireless communication means, an address acquisition is performed for transmitting a request for the local address assigned to the control device and receiving the local address transmitted from the control device in response to the request. With means,
The mobile communication terminal according to any one of claims 1 to 3, wherein the storage unit stores a local address acquired by the address acquisition unit.
電気機器を制御する制御装置にLANを介して接続されたルータと、WAN経由で通信を行う第1無線通信手段と、前記ルータと通信を行う第2無線通信手段とを備えたコンピュータを、
前記WANにおいて前記制御装置に割り当てられた通信アドレスであるアクセス先アドレスと、前記LANにおいて前記制御装置に割り当てられた通信アドレスであるローカルアドレスと、前記ルータが前記第2無線通信手段と通信を行うために当該ルータに割り当てられた識別子とを記憶する記憶手段と、
前記第2無線通信手段の通信相手である前記ルータに割り当てられた識別子が、前記記憶手段に記憶されている前記識別子と一致する場合には、前記第2無線通信手段を用いて前記ローカルアドレスを宛先とした第1の通信を行い、それ以外の場合には、前記第1無線通信手段または前記第2無線通信手段を用いて前記アクセス先アドレスを宛先とした第2の通信を行い、前記第1の通信から前記第2の通信へ切り替えた際及び前記第2の通信から前記第1の通信へ切り替えた際に、当該切り替えの前における前記制御装置との間の通信セッションに関する情報を当該切り替えの後に利用して、前記制御装置と通信を行う通信制御手段と
して機能させるためのプログラム。
A computer comprising a router connected to a control device for controlling electrical equipment via a LAN, first wireless communication means for communicating via a WAN, and second wireless communication means for communicating with the router;
An access destination address that is a communication address assigned to the control device in the WAN, a local address that is a communication address assigned to the control device in the LAN, and the router communicates with the second wireless communication means Storage means for storing an identifier assigned to the router for
If the identifier assigned to the router that is the communication partner of the second wireless communication means matches the identifier stored in the storage means, the local address is set using the second wireless communication means. In other cases, the first communication is performed, and otherwise, the second communication is performed using the first wireless communication unit or the second wireless communication unit as the destination, and the second communication is performed. When switching from the first communication to the second communication and when switching from the second communication to the first communication, the information related to the communication session with the control device before the switching is switched. A program that is used after the program to function as communication control means for communicating with the control device.
JP2012096872A 2012-04-20 2012-04-20 Mobile communication terminal and program Active JP5405617B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012096872A JP5405617B2 (en) 2012-04-20 2012-04-20 Mobile communication terminal and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012096872A JP5405617B2 (en) 2012-04-20 2012-04-20 Mobile communication terminal and program

Publications (2)

Publication Number Publication Date
JP2013225754A JP2013225754A (en) 2013-10-31
JP5405617B2 true JP5405617B2 (en) 2014-02-05

Family

ID=49595547

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012096872A Active JP5405617B2 (en) 2012-04-20 2012-04-20 Mobile communication terminal and program

Country Status (1)

Country Link
JP (1) JP5405617B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6346204B2 (en) * 2014-01-29 2018-06-20 京セラ株式会社 Control apparatus and control method
JPWO2015115572A1 (en) * 2014-01-29 2017-03-23 京セラ株式会社 Operating device and operating method
JP6694461B2 (en) * 2018-03-14 2020-05-13 日立グローバルライフソリューションズ株式会社 Connection router determination method and device control system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3803654B2 (en) * 2003-05-20 2006-08-02 Necアクセステクニカ株式会社 LAN connection device and UPnP device disclosure method
JP4600992B2 (en) * 2005-08-17 2010-12-22 Kddi株式会社 Home appliance remote control system and operation method thereof
FR2904175A1 (en) * 2006-07-18 2008-01-25 France Telecom TOGGLE OF MULTIMEDIA SESSIONS OF A MOBILE TERMINAL ON AN EQUIPMENT OF A DOMESTIC LOCAL NETWORK
JP2009147517A (en) * 2007-12-12 2009-07-02 Sharp Corp Communication terminal apparatus, data repeating apparatus, cellular phone, communication system, method for controlling communication terminal apparatus, method for controlling data repeating apparatus, communication terminal apparatus control program, data repeating apparatus control program, and computer readable recording medium with the program recorded
JP5457052B2 (en) * 2009-03-06 2014-04-02 ソフトバンクモバイル株式会社 Remote control method and remote control system for electrical equipment, and communication terminal device and small base station device used in the remote control system

Also Published As

Publication number Publication date
JP2013225754A (en) 2013-10-31

Similar Documents

Publication Publication Date Title
EP3384725B1 (en) Method for device-to-device communication between a local device and a remote device
JP5943860B2 (en) Device device setting method in gateway device, device device setting system, and device device setting program
JP2017038235A (en) Communication device and control method of the same, program, and recording medium
EP3320722B1 (en) Network access technology indication
EP3291509A1 (en) Information processing device and non-transitory recording medium
KR20140117107A (en) Method and System for Executing IoT Service with Shortrange Communication Tag
US10405244B2 (en) Communication method, system, and device
JP5405617B2 (en) Mobile communication terminal and program
KR20130028316A (en) Remote access device and method for device in home network
KR101853398B1 (en) Method and system for registering server connection of IoT device using smartphone application
Boškov et al. Time-to-provision evaluation of IoT devices using automated zero-touch provisioning
JP6067322B2 (en) Mobile terminal, communication system, and mobile terminal program
JP2012239120A (en) Network system
US11122124B2 (en) Method and apparatus for controlling wireless communication for installing wireless internet in IoT devices
JP5894482B2 (en) Wireless LAN setting method and program, and recording medium therefor
JP2011248673A (en) Service disclosure device, method and program
JP6255468B2 (en) Mobile terminal, communication system, and mobile terminal program
US9485801B1 (en) Mobile communication device connected to home digital network
KR101676432B1 (en) Discovery and Access System of Internet of Things board and Application Server under wireless WiFi Environment and method at the same
JP2019054391A (en) Information processing unit and control method and program thereof
JP5853972B2 (en) Network system, communication terminal, method, program, and recording medium
JP2015091109A (en) Electronic apparatus and program
JP2013187768A (en) Mobile communication terminal and communication control method
JP2006319873A (en) Vpn(virtual private network) connecting method, virtual private network connection apparatus utilizing the same, radio terminal and virtual private network system
JP6882966B2 (en) Servers, communication systems, communication control methods, and programs

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130903

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130930

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131030

R150 Certificate of patent or registration of utility model

Ref document number: 5405617

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250