JP2014127729A - Gateway device and pairing method - Google Patents

Gateway device and pairing method Download PDF

Info

Publication number
JP2014127729A
JP2014127729A JP2012280800A JP2012280800A JP2014127729A JP 2014127729 A JP2014127729 A JP 2014127729A JP 2012280800 A JP2012280800 A JP 2012280800A JP 2012280800 A JP2012280800 A JP 2012280800A JP 2014127729 A JP2014127729 A JP 2014127729A
Authority
JP
Japan
Prior art keywords
pairing
communication
setting
wireless communication
mobile 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.)
Pending
Application number
JP2012280800A
Other languages
Japanese (ja)
Inventor
Takuro Chiba
拓郎 千葉
Tsutomu Konno
勉 今野
Yutaka Tsumori
裕 津守
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2012280800A priority Critical patent/JP2014127729A/en
Publication of JP2014127729A publication Critical patent/JP2014127729A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To make it unnecessary to install an interface or a graphical user interface when constructing a home energy management system (HEMS), although it is necessary to perform pairing with a device such as a home electric appliance, and in the prior art in order to input setting into the device such as the home electric appliance, it is necessary to separately install an interface for connecting with a PC or the like or a graphical user interface to actually input setting.SOLUTION: Pairing is performed through one-to-one communication by using a short-range communication function (such as infrared communication) on a smart phone or the like. Communication is established securely due to elimination of the possibility that other devices may eavesdrop the communication, by performing one-to-one communication using the short-range communication function. By using the short-range radio communication function, setting is performed without requiring separate installation of an interface for setting to a home electric appliance, and thus the setting can be performed easily.

Description

本発明は、ホームエリアネットワーク(以降、HANと記載)またはパーソナルエリアネットワーク(以降、PANと記載)を構築するための簡易にペアリングを行うゲートウェイ装置(以降、GW装置と記載)およびペアリング方法に関する。   The present invention relates to a gateway device (hereinafter referred to as a GW device) and a pairing method for simple pairing for constructing a home area network (hereinafter referred to as HAN) or a personal area network (hereinafter referred to as PAN). About.

近年、AV機器がネットワークに接続する無線通信を備えていることが一般的になってきている。また、家電機器など住宅内のエネルギー消費機器をネットワーク化し、自動制御するHEMS(Home Energy Management System)の普及が期待されている。   In recent years, it has become common for AV equipment to include wireless communication for connecting to a network. In addition, it is expected that a home energy management system (HEMS) that automatically controls home energy consumption devices such as home appliances by networking will be widely used.

また、原子力や火力など従来の発電に加えて、太陽光、風力、地熱などの再生可能エネルギーを併用する際、電力品質の安定化を図るために次世代電力網(スマートグリッド)が構築されている。スマートグリッドは、前述したHEMS、スマートメータなどの住宅向けシステムであるHANと、送配電システム等の重要インフラネットワークシステムとのネットワークを構築する必要がある。なお、HEMS等のHANの構築は、無線通信により行われることが大半であり、IEEE802.11 b/g/n、Zigbee(登録商標)等の無線通信規格が採用されている。   In addition to conventional power generation such as nuclear power and thermal power, next-generation power grids (smart grids) have been established to stabilize power quality when using renewable energy such as solar, wind, and geothermal. . In the smart grid, it is necessary to construct a network between the above-described HAN, which is a residential system such as HEMS and smart meter, and an important infrastructure network system such as a power transmission and distribution system. The HAN such as HEMS is mostly constructed by wireless communication, and wireless communication standards such as IEEE802.11 b / g / n and Zigbee (registered trademark) are adopted.

無線通信は、有線通信と比較して、端末の配置等の自由度に優れており、有線ケーブルを省くことができ配線などに気を使う必要がなくなる。しかし、無線通信機能に対応した機器を所有しているにも関わらず、その機能を使用していないユーザは少なくない、その原因のひとつとして、セキュリティの不安がある。事実、無線通信では、情報を載せた電波を空間に放射して通信を行うため、所望の通信相手ではない第三者に情報が漏れる危険性が存在する。このため、無線通信では、事前に所望の通信相手との認証を行い、暗号キーを共有し、伝送する情報に秘匿性を持たせることが一般的に推奨されている。ただし、その設定は、各装置(例えば、無線アクセスポイントや無線子機、無線機能を有した家電)に、何らかのユーザインターフェースを持たせ設定を入れる必要がある。その設定作業が、無線通信の認証情報を調べる等、ユーザにとっては複雑である場合が多く、非常に手間が掛かる。   Compared with wired communication, wireless communication is superior in the degree of freedom of arrangement of terminals and the like, and it is possible to omit a wired cable and not to pay attention to wiring. However, there are many users who do not use the function even though they have a device that supports the wireless communication function. One of the causes is security anxiety. In fact, in wireless communication, communication is performed by radiating radio waves carrying information into a space, and thus there is a risk that information leaks to a third party who is not a desired communication partner. For this reason, in wireless communication, it is generally recommended to authenticate with a desired communication partner in advance, share an encryption key, and give confidentiality to information to be transmitted. However, for the setting, it is necessary to provide each device (for example, a wireless access point, a wireless slave device, a home appliance having a wireless function) with some user interface. The setting work is often complicated for the user, such as checking authentication information for wireless communication, and is very time-consuming.

無線通信の接続設定を簡単に実現する従来技術として、Wi−fi(登録商標) Allianceによって規格化されたWPS(Wifi Protected Setup)がある。WPSのうち、PIN(Personal Identification Number)と呼ばれる方式と、PBC(Push Button Configuration)と呼ばれる方式の2方式がよく知られている。なお、Zigbeeにおいても、WPSと同様の方式を用いて端末同士のペアリングを行うことが検討されている。   As a conventional technique for easily realizing connection settings for wireless communication, there is WPS (Wifi Protected Setup) standardized by Wi-fi (registered trademark) Alliance. Of WPS, two methods, a method called PIN (Personal Identification Number) and a method called PBC (Push Button Configuration), are well known. In Zigbee, pairing between terminals using a method similar to that of WPS is being studied.

PIN方式では、設定情報を受け取る側の無線端末に一意に生成される8桁のPINコードを、認定情報を配布する側の無線通信端末に登録し、共有されたコードを用いて自動的に認証、鍵交換の接続設定を行う。一般的には、設定情報を配布する側が無線アクセスポイントであり、暗号を受け取る側がクライアントとなる無線の子機にあたる。PIN方式は、認証方式や暗号キーをユーザ自身で2つの端末に入力して設定する必要はなくなるものの、代わりに、設定情報を配布する側の端末に対して8桁のコードを入力しなければならない。コードを入力される側となる無線アクセスポイントの多くは、キーボード、テンキー、ディスプレイなどのユーザインターフェースを有していない。このことから、ユーザは、PC等を無線アクセスポイントに有線接続し、ブラウザを利用してコードを入力する等の作業が必要となる。   In the PIN method, an 8-digit PIN code that is uniquely generated by the wireless terminal that receives the setting information is registered in the wireless communication terminal that distributes the authorization information, and is automatically authenticated using the shared code. , Set up key exchange connection. Generally, the side that distributes the setting information is a wireless access point, and the side that receives the encryption is a wireless slave device that is a client. The PIN method eliminates the need for the user to input and set the authentication method and encryption key to the two terminals, but instead, an 8-digit code must be input to the terminal that distributes the setting information. Don't be. Many wireless access points on which codes are input do not have a user interface such as a keyboard, a numeric keypad, and a display. For this reason, the user needs to perform operations such as connecting a PC or the like to the wireless access point by wire and inputting a code using a browser.

これに対して、PBC方式は、2台の無線通信端末に備え付けられたボタンを順に押すことで端末に“00000000”のコードをセットし、PIN方式と同様のプロトコルで認証、鍵交換を行う。PBC方式では、PIN方式でPINコードを無線通信端末に入力する煩雑さ軽減される。また、PBC方式で用いるボタンは、無線通信端末の筺体に設けたボタンでもよく、グラフィカルユーザインターフェース(GUI)上に表示されるボタンでもよいので、UIが十分でない無線通信端末であっても実現することが容易である。しかし、PBC方式で生成されるコードが“00000000”という単純なものであるため、無線通信の秘匿性を高めるための認証や暗号キーなど接続設定自体が傍受される可能性があり、セキュリティ面で課題を有している。   On the other hand, in the PBC method, a code “00000000” is set in the terminals by sequentially pressing buttons provided in two wireless communication terminals, and authentication and key exchange are performed using the same protocol as the PIN method. In the PBC method, the complexity of inputting the PIN code to the wireless communication terminal in the PIN method is reduced. In addition, the button used in the PBC method may be a button provided on the housing of the wireless communication terminal or a button displayed on a graphical user interface (GUI), and thus can be realized even in a wireless communication terminal with insufficient UI. Is easy. However, since the code generated by the PBC method is a simple code “00000000”, there is a possibility that connection settings such as authentication and encryption key for enhancing the confidentiality of wireless communication may be intercepted. Has a problem.

さらに、PIN方式およびPBC方式のいずれの方式においても、無線通信の接続設定を、通常の無線通信を行う場合と同様の広い通信範囲で行うので、その通信範囲内に所望の無線通信端末とは別の無線通信端末が存在した場合、その所望でない無線通信端末と接続設定を行ってしまうことがある。   Furthermore, in both the PIN method and the PBC method, the connection setting for wireless communication is performed in the same wide communication range as in the case of performing normal wireless communication. When another wireless communication terminal exists, connection setting may be performed with an undesired wireless communication terminal.

また、PIN方式では、8桁の認証番号を入力して認証を行い、認証方式や暗号キーの送信を行う。しかし、PIN入力が間違っていた場合に返される「EAP−NACK」メッセージという情報を読み取ることで、入力された文字列のうち、上4桁が正しいかどうかが判断できてしまう。そのため、ブルートフォース攻撃によって認証を突破されやすいという脆弱性があることが分かっている。   In the PIN method, authentication is performed by inputting an 8-digit authentication number, and the authentication method and encryption key are transmitted. However, by reading the information “EAP-NACK” message that is returned when the PIN input is incorrect, it is possible to determine whether or not the first four digits of the input character string are correct. For this reason, it is known that there is a vulnerability that authentication is easily broken by a brute force attack.

特許文献1では、より高い秘匿性で無線接続設定が確実に行える無線通信システムについて記述されている。また、特許文献2では、自身が選択した一部の無線通信端末とのみデータ通信を行うことができる無線通信端末について記述されている。   Patent Document 1 describes a wireless communication system that can reliably perform wireless connection setting with higher secrecy. Patent Document 2 describes a wireless communication terminal that can perform data communication only with some of the wireless communication terminals selected by itself.

特開2010−252180号公報JP 2010-252180 A 特開2012−099912号公報JP2012-099912A

無線通信を構築する場合、セキュリティの不安があることや設定の煩わしさがある。特許文献1、2は、できるだけセキュアにネットワークを構築する方法について記載されている。しかし、今後のスマートグリッドやHEMSの普及に伴い、HANを構築するのが、工事保守者であったりユーザ自身であったりすることが容易に考えられ、より簡単でセキュアなペアリング方法が必要になる。また、スマートグリッドなどのネットワーク構築には重要インフラとの接続の可能性があることを考慮にいれると、よりセキュアなペアリング方法が必要になる。   When constructing wireless communication, there are security concerns and troublesome settings. Patent Documents 1 and 2 describe a method for constructing a network as securely as possible. However, with the spread of smart grids and HEMS in the future, it is easy to construct a HAN as a construction maintainer or the user himself, and a simpler and more secure pairing method is required. Become. Considering that there is a possibility of connection to an important infrastructure in the construction of a network such as a smart grid, a more secure pairing method is required.

また、無線通信のペアリング方法には上述したように、直接装置側に設定を入れることにより通信を確立する方法もあるが、HEMSを構築する場合、家電機器等とのペアリングを行わなければならない。そのため、家電機器等に設定を入力するためのインターフェースが別途必要になる。しかし、既存の家電機器等には、設定用のインターフェースを別途設けることは非常に困難であり、設定を行うこと自体が困難である。   In addition, as described above, there is a wireless communication pairing method that establishes communication by directly setting on the device side. However, when building a HEMS, pairing with home appliances or the like is not necessary. Don't be. Therefore, an interface for inputting settings to home appliances or the like is required separately. However, it is very difficult to separately provide an interface for setting in existing home appliances and the like, and it is difficult to perform the setting itself.

上述しだ課題は、携帯端末および被接続装置と近距離無線通信する無線通信部と、装置全体を制御する制御部と、ワイドエリアネットワークのインターフェースであるポートと、を備え、携帯端末から、ペアリングに必要なデータの要求を受信したとき、制御部は、当該データを無線通信部を介して、携帯端末に送信し、被接続装置から、接続要求を受信したとき、制御部は、無線通信部を介して、被接続装置との間で帰属シーケンスを実行するゲートウェイ装置により、達成できる。   The problem described above includes a wireless communication unit that performs short-range wireless communication with a mobile terminal and a connected device, a control unit that controls the entire device, and a port that is an interface of a wide area network. When receiving a request for data necessary for the ring, the control unit transmits the data to the mobile terminal via the wireless communication unit, and when receiving a connection request from the connected device, the control unit performs wireless communication. This can be achieved by the gateway device that executes the belonging sequence with the connected device via the unit.

また、携帯端末から、近距離無線通信によるペアリングに必要なデータの要求を受信するステップと、当該データを近距離無線通信によって、携帯端末に送信するステップと、被接続装置から、近距離無線通信による接続要求を受信するステップと、被接続装置との間で近距離無線通信による帰属シーケンスを実行するステップと、からなるペアリング方法により、達成できる。   A step of receiving a request for data necessary for pairing by short-range wireless communication from the portable terminal; a step of transmitting the data to the portable terminal by short-range wireless communication; This can be achieved by a pairing method including a step of receiving a connection request by communication and a step of executing a belonging sequence by short-range wireless communication with a connected device.

本発明によれば、スマートフォン等の近距離無線通信機能を利用して無線通信のペアリングを行うことにより、よりセキュアに設定を行うことができ、より簡易的に設定を行う事ができる。   According to the present invention, by performing wireless communication pairing using a short-distance wireless communication function such as a smartphone, it is possible to perform more secure setting and more simple setting.

システムの構成を説明するブロック図である。It is a block diagram explaining the structure of a system. HANの構成を説明するブロック図である。It is a block diagram explaining the structure of HAN. GW装置のブロック図である。It is a block diagram of a GW apparatus. アダプタのブロック図である。It is a block diagram of an adapter. 携帯端末のブロック図である。It is a block diagram of a portable terminal. Zigbee通信によるペアリングを行う場合のシーケンス図である。It is a sequence diagram in the case of performing pairing by Zigbee communication. Wifi等の通信(WPS)によるペアリングを行う場合のシーケンス図である。It is a sequence diagram in the case of performing pairing by communication (WPS) such as WiFi. GW装置の情報管理テーブルを説明する図である。It is a figure explaining the information management table of GW apparatus. GW装置のセキュリティテーブルを説明する図である。It is a figure explaining the security table of a GW apparatus. 第1のペアリング方法のシーケンス図である。It is a sequence diagram of the 1st pairing method. 第1のペアリング方法の全体フローチャートである。It is a whole flowchart of the 1st pairing method. 第1のペアリング方法のGW装置のフローチャートである。It is a flowchart of the GW apparatus of the 1st pairing method. 第2のペアリング方法のシーケンス図である。It is a sequence diagram of the 2nd pairing method. 第2のペアリング方法の全体フローチャートである。It is a whole flowchart of the 2nd pairing method. GW装置に携帯端末を登録する際のシステム構成を説明するブロック図である。It is a block diagram explaining the system configuration | structure at the time of registering a portable terminal to GW apparatus. GW装置の登録用QRコード(登録商標)を説明する図である。It is a figure explaining QR Code (registered trademark) for registration of a GW apparatus. 赤外線通信(IrDA)のフレーム構成を説明する図である。It is a figure explaining the flame | frame structure of infrared communication (IrDA). GW装置の登録端末テーブルを示す図である。It is a figure which shows the registration terminal table of GW apparatus. GW装置に携帯端末を登録するシーケンス図である。It is a sequence diagram which registers a portable terminal in GW apparatus. 第1のペアリング方法の全体フローチャートである。It is a whole flowchart of the 1st pairing method. 第1のペアリング方法の全体フローチャートである。It is a whole flowchart of the 1st pairing method. 第2のペアリング方法の全体フローチャートである。It is a whole flowchart of the 2nd pairing method. 第2のペアリング方法の全体フローチャートである。It is a whole flowchart of the 2nd pairing method. 第2のペアリング方法のGW装置のフローチャートである。It is a flowchart of the GW apparatus of the 2nd pairing method.

本実施例では、無線通信をIEEE802.11 b/g/n(以降、Wifiと記載)およびZigbeeについて記載しているが、その他の通信方式も適用可能である。また、本実施例として、携帯端末(スマートフォン)を利用した方式について記載しているが、トークン端末であったり、独自の端末、既存の装置(PC等)についても適用可能である。さらに、本実施例では、HANの構築について記載しているが、他のネットワークを構築する際も適用可能である。   In the present embodiment, the wireless communication is described with respect to IEEE802.11 b / g / n (hereinafter referred to as Wifi) and Zigbee, but other communication methods are also applicable. Moreover, although the system using a portable terminal (smartphone) is described as a present Example, it is applicable also to a token terminal, an original terminal, and existing apparatuses (PC etc.). Furthermore, although the present embodiment describes the construction of the HAN, it can also be applied when constructing other networks.

以下、本発明の実施の形態について、実施例を用い図面を参照して詳細に説明する。なお、実質同一部位には同じ参照番号を振り、説明は繰り返さない。しかし、かかる実施例が、発明の技術範囲を限定するものではない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings using examples. The same reference numerals are assigned to substantially the same parts, and the description will not be repeated. However, such examples do not limit the technical scope of the invention.

図1を参照して、通信システムの構成を説明する。図1において、通信システムは、GW装置1と、スマートフォン6と、被接続装置7とから構成されている。携帯端末6は、赤外線通信等の近距離通信実施し、GW装置1と被接続装置7とデータの授受を行い、GW装置1と被接続装置7のペアリングを行う。なお、アダプタ2を介した家電機器およびセンサ類3および無線機能を有した家電機器およびセンサ類4を総称して、本明細書では、被接続装置7と呼ぶ。本実施形態では、携帯端末についてスマートフォンを利用した構成について記載しているが、他の端末を利用した方式について適用可能である。また、赤外線通信を用いたデータの授受について記載しているが、他の通信方法を用いた方式についても適用可能である。   The configuration of the communication system will be described with reference to FIG. In FIG. 1, the communication system includes a GW device 1, a smartphone 6, and a connected device 7. The portable terminal 6 performs near field communication such as infrared communication, exchanges data with the GW device 1 and the connected device 7, and performs pairing between the GW device 1 and the connected device 7. The home appliances and sensors 3 through the adapter 2 and the home appliances and sensors 4 having a wireless function are collectively referred to as a connected device 7 in this specification. In this embodiment, although the structure using a smart phone is described about a portable terminal, it is applicable about the system using other terminals. Moreover, although data transmission / reception using infrared communication is described, the present invention can also be applied to methods using other communication methods.

図2を参照して、HANの構成を説明する。図2において、HANは、GW装置1と、アダプタ2と、無線機能のない非無線対応機器3と、無線対応機器4とから構成されている。GW装置1は、ネットワーク5と接続されている。非無線対応機器3は、アダプタ2と接続されている。   The configuration of the HAN will be described with reference to FIG. In FIG. 2, the HAN includes a GW apparatus 1, an adapter 2, a non-wireless compatible device 3 having no wireless function, and a wireless compatible device 4. The GW apparatus 1 is connected to the network 5. The non-wireless compatible device 3 is connected to the adapter 2.

アダプタ2は、無線通信機能を有し、非無線対応機器3と接続することにより、HEMSネットワークを構築することを可能とする。また、無線対応機器4は、アダプタを介さずHEMSネットワークを構築することができる。GW装置1は、Wifi、Zigbeeの無線通信機能を有する。GW装置1は、アダプタ2を介して家電機器およびセンサ類3および無線通信機能を有した家電機器およびセンサ類等4と接続し、HEMSネットワークを構築する。また、GW装置1は、有線LANによる接続も可能であり、有線LANにより、M2M等スマートグリッドのネットワークを構築する重要インフラネットワーク、インターネット等のネットワーク5と接続する。無線対応機器4には、TV、照明等が含まれる。非無線対応機器3には、スマートメータ、エアコン、インターホン、ネットワークカメラ、各種センサ類が含まれる。   The adapter 2 has a wireless communication function, and can connect to the non-wireless compatible device 3 to construct a HEMS network. Further, the wireless compatible device 4 can construct a HEMS network without using an adapter. The GW apparatus 1 has a wireless communication function of WiFi and Zigbee. The GW apparatus 1 is connected to the home appliances and sensors 3 and the home appliances and sensors 4 having a wireless communication function via the adapter 2 to construct a HEMS network. The GW apparatus 1 can also be connected by a wired LAN, and is connected by a wired LAN to a network 5 such as an important infrastructure network that constructs a smart grid network such as M2M and the Internet. The wireless compatible device 4 includes a TV, lighting, and the like. The non-wireless compatible device 3 includes a smart meter, an air conditioner, an interphone, a network camera, and various sensors.

図3を参照して、GW装置のブロック構成を説明する。図3において、GW装置1は、CPU11と、無線LAN機能部12と、IrDA機能部13と、LED機能部14と、メモリ部15と、USB機能部16と、WANポート部17と、L2SW18と、LANポート部19とを有する。   A block configuration of the GW apparatus will be described with reference to FIG. In FIG. 3, the GW apparatus 1 includes a CPU 11, a wireless LAN function unit 12, an IrDA function unit 13, an LED function unit 14, a memory unit 15, a USB function unit 16, a WAN port unit 17, and an L2SW 18. And a LAN port unit 19.

CPU11は、機能制御部111と、フレーム解析部112と、通信制御部113と、認証制御部114と、セキュリティ制御部115と、端末管理部116と、装置情報管理部117とを有する。CPU11は、GW装置1の各機能の制御等を行っている。無線LAN機能部12は、WPS機能部121を有する。無線LAN機能部12は、Wifi通信機器と通信する。WPS機能部121は、スイッチを設けることにより、そのスイッチを押下すると、WPS機能が有効になる。WPS機能を有効にするには、スイッチの押下以外にも、ユーザインターフェースを用いて、GW装置1の設定を変更することにより、機能を有効にすることもできる。   The CPU 11 includes a function control unit 111, a frame analysis unit 112, a communication control unit 113, an authentication control unit 114, a security control unit 115, a terminal management unit 116, and a device information management unit 117. The CPU 11 performs control of each function of the GW apparatus 1 and the like. The wireless LAN function unit 12 includes a WPS function unit 121. The wireless LAN function unit 12 communicates with a WiFi communication device. The WPS function unit 121 is provided with a switch, and when the switch is pressed, the WPS function becomes valid. In order to validate the WPS function, in addition to pressing the switch, the function can be validated by changing the setting of the GW apparatus 1 using the user interface.

IrDA機能部13は、赤外線通信機能を有し、赤外線通信によりデータを授受する。LED機能部14は、LEDの点灯状況によりGW装置の状態を表示する。メモリ部15は、装置の情報や各種通信により授受を行ったデータを保持する。USB機能部16は、USB機器を接続する機能を有し、Zigbee機能部161を有したUSB機器を接続する。USB機能部16は、その他RF機器162、具体的には、NFC(Near Field Communication)機器を接続する。USB機能部16は、USBメモリ、ハードディスクドライブ等のストレージも接続できる。   The IrDA function unit 13 has an infrared communication function, and exchanges data by infrared communication. The LED function unit 14 displays the state of the GW device according to the lighting state of the LED. The memory unit 15 holds device information and data exchanged through various communications. The USB function unit 16 has a function of connecting a USB device, and connects a USB device having the Zigbee function unit 161. The USB function unit 16 connects other RF devices 162, specifically, NFC (Near Field Communication) devices. The USB function unit 16 can also connect a storage such as a USB memory or a hard disk drive.

WANポート部17は、WAN(Wide Area Network)とデータを送受信するインターフェース部である。WANポート部17は、ネットワーク5とデータの送受信を行う。L2SW18は、WANポート部17より受信したデータをCPU11へ送信を行う。L2SW18は、逆にCPU11から受信したデータをWANポート部17へ送信する。L2SW18は、同様にLANポート部19から送受信したデータも同様の処理を行う。LANポート部19は、PC等のLANインターフェースを所持した装置と接続する。   The WAN port unit 17 is an interface unit that transmits and receives data to and from a WAN (Wide Area Network). The WAN port unit 17 transmits / receives data to / from the network 5. The L2SW 18 transmits the data received from the WAN port unit 17 to the CPU 11. Conversely, the L2SW 18 transmits the data received from the CPU 11 to the WAN port unit 17. Similarly, the L2SW 18 performs the same processing on data transmitted and received from the LAN port unit 19. The LAN port unit 19 is connected to a device having a LAN interface such as a PC.

機能制御部111は、無線LAN機能部12、IrDA機能部13、LED機能部14の制御を行う。フレーム解析部112は、無線LAN機能部12、IrDA機能部13、USB機能部16から受信した、データフレームの解析を行う。通信制御部113は、無線LAN通信、Zigbee通信、赤外線通信のうちどの方式での通信を行うか制御する。認証制御部114は、各種通信方式の認証について制御を行う。認証制御部114は、共有キーによるデータの暗号化および復号化を行う。また、認証制御部114は、WPS等の簡易無線通信方式等の制御を行う。セキュリティ機能部115は、後述する図9のセキュリティテーブルを管理する。セキュリティ機能部115は、セキュリティテーブルに情報を追加、削除を行う。装置情報管理部は、後述する図8の装置情報管理テーブルを管理する。端末管理部116は、後述する図15の登録端末テーブルの管理を行う。   The function control unit 111 controls the wireless LAN function unit 12, the IrDA function unit 13, and the LED function unit 14. The frame analysis unit 112 analyzes the data frame received from the wireless LAN function unit 12, the IrDA function unit 13, and the USB function unit 16. The communication control unit 113 controls which method is used for wireless LAN communication, Zigbee communication, and infrared communication. The authentication control unit 114 controls authentication of various communication methods. The authentication control unit 114 encrypts and decrypts data using the shared key. The authentication control unit 114 also controls a simple wireless communication method such as WPS. The security function unit 115 manages a security table in FIG. The security function unit 115 adds and deletes information to the security table. The device information management unit manages a device information management table shown in FIG. The terminal management unit 116 manages a registered terminal table in FIG.

図4を参照して、アダプタのブロック構成を説明する。図4において、アダプタ2は、無線LAN機能部21と、IrDA機能部22と、CPU23と、LED機能部24と、Zigbee機能部25と、メモリ部26と、インターフェース部27と、を有する。無線LAN機能部21は、無線通信機能を有し、Wifi通信機器と通信する。IrDA機能部22は、赤外線通信機能を有し、赤外線通信によりデータを授受する。LED機能部24は、LEDの点灯状況によりアダプタ2の状態を表示する。Zigbee機能部25は、Zigbee通信機能を有し、Zigbee通信機器と通信する。メモリ部26は、装置の情報および各種通信により授受を行ったデータを保持する。インターフェース部27は、無線機能を有していない家電機器およびセンサ類等3と接続するためのインターフェース部である。インターフェース部27は、USB、LAN、HDMI等のポート部である。   The block configuration of the adapter will be described with reference to FIG. In FIG. 4, the adapter 2 includes a wireless LAN function unit 21, an IrDA function unit 22, a CPU 23, an LED function unit 24, a Zigbee function unit 25, a memory unit 26, and an interface unit 27. The wireless LAN function unit 21 has a wireless communication function and communicates with a WiFi communication device. The IrDA function unit 22 has an infrared communication function, and exchanges data by infrared communication. The LED function unit 24 displays the state of the adapter 2 according to the lighting state of the LED. The Zigbee function unit 25 has a Zigbee communication function, and communicates with a Zigbee communication device. The memory unit 26 holds device information and data exchanged through various communications. The interface unit 27 is an interface unit for connecting to home appliances and sensors 3 that do not have a wireless function. The interface unit 27 is a port unit such as USB, LAN, or HDMI.

図5を参照して、携帯端末のブロック構成を説明する。図5において、携帯端末6は、制御部60と、キー61と、IrDA制御部62と、メモリ63と、ディスプレイ64と、無線信号処理部65と、NFC66と、赤外線通信部IrDA67と、カメラ68と、アンテナ69と、を含んで構成されている。   With reference to FIG. 5, the block configuration of the portable terminal will be described. In FIG. 5, the portable terminal 6 includes a control unit 60, a key 61, an IrDA control unit 62, a memory 63, a display 64, a wireless signal processing unit 65, an NFC 66, an infrared communication unit IrDA 67, and a camera 68. And an antenna 69.

制御部60は、携帯電話機6の有する通話機能、電子メール機能、インターネット接続機能を制御する。制御部60は、CPUおよびCPUに実行されるプログラムを格納するメモリなどから構成される。キー61は、数字や文字を入力するための入力手段である。カメラ68は、映像、画像等を記録する。メモリ63は、カメラで記録した画像等を保存する。ディスプレイ64は、表示手段である。   The control unit 60 controls a call function, an e-mail function, and an internet connection function of the mobile phone 6. The control unit 60 includes a CPU and a memory that stores a program executed by the CPU. The key 61 is an input means for inputting numbers and characters. The camera 68 records video, images, and the like. The memory 63 stores images recorded by the camera. The display 64 is a display means.

無線処理部65は、アンテナ66を介して基地局との間で送受信される信号を処理し、通話、電子メールやインターネット接続にかかる信号を取り扱う。IrDA制御部62は、赤外線通信をもちいて送受信を行う。赤外線通信部67は、IrDAにより、赤外線通信によるデータ送受信を行う。なお、赤外線通信の規格は、IrDAに限られず、他の規格であってもよい。NFC66は、赤外線通信以外の方式による近距離無線通信をもちいて送受信を行う。   The wireless processing unit 65 processes a signal transmitted / received to / from the base station via the antenna 66, and handles a signal related to a call, electronic mail, or Internet connection. The IrDA control unit 62 performs transmission / reception using infrared communication. The infrared communication unit 67 performs data transmission / reception by infrared communication using IrDA. Note that the standard of infrared communication is not limited to IrDA, and may be another standard. The NFC 66 performs transmission / reception using short-range wireless communication using a method other than infrared communication.

図6を参照して、Zigbee通信によるペアリングを行うシーケンスを説明する。なお、このシーケンスは、Zigbee通信でのペアリングを行う場合であり、他の通信手段でのペアリングは、他のシーケンスでもよい。   With reference to FIG. 6, a sequence for performing pairing by Zigbee communication will be described. This sequence is a case of performing pairing by Zigbee communication, and other sequences may be used for pairing by other communication means.

図6において、被接続装置7は、GW装置1に接続要求を送信している(S101)。この接続要求には×××コード(XXXはZigbee製品により名称が異なる場合があるため、ここでは×××と記載)が含まれており、接続行うGW装置1に同様の×××コードを設定することにより、接続要求を認識することができる。GW装置1は、直接装置に×××コードの設定を行う(S102)。これにより、GW装置1は、接続要求を受信する(S103)。GW装置1は、ACKを被接続装置7に送信する(S104)。被接続装置7は、送信されてきたACKを確認し、共有キー送信要求を送信する(S106)。GW装置1は、共有キー送信要求を受信すると、それに対してACKを返信する(S107)。GW装置1は、GW装置情報テーブルに登録されている共有キーを被接続装置7に送信する(S108)。被接続装置7は、共有キーを登録する(S109)。被接続装置7は、ACKをGW装置1に返信する(S111)。被接続装置7は、送信するデータを共有キーにて暗号化するとともに受信したデータを復号する。共有キーの共有後、GW装置1と被接続装置7は、接続シーケンスに従い接続を行い(S112)、ペアリングを完了する。GW装置1と被接続装置7は、Joinedの帰属状態になる。
なお、×××コードを参加コードと呼ぶことがある。また、接続シーケンス(S112)は、当業者周知事項である。
In FIG. 6, the connected device 7 has transmitted a connection request to the GW device 1 (S101). This connection request includes an XXX code (XXX may have a different name depending on the Zigbee product, so described here as XXX), and the same XXX code is assigned to the GW device 1 to be connected. By setting, the connection request can be recognized. The GW apparatus 1 sets the XXX code directly in the apparatus (S102). Thereby, the GW apparatus 1 receives a connection request (S103). The GW apparatus 1 transmits ACK to the connected apparatus 7 (S104). The connected device 7 confirms the transmitted ACK and transmits a shared key transmission request (S106). When the GW apparatus 1 receives the shared key transmission request, the GW apparatus 1 returns an ACK in response thereto (S107). The GW apparatus 1 transmits the shared key registered in the GW apparatus information table to the connected apparatus 7 (S108). The connected device 7 registers the shared key (S109). The connected device 7 returns an ACK to the GW device 1 (S111). The connected device 7 encrypts the data to be transmitted with the shared key and decrypts the received data. After sharing the shared key, the GW device 1 and the connected device 7 connect according to the connection sequence (S112), and the pairing is completed. The GW device 1 and the connected device 7 are in the Joined belonging state.
The xxx code may be referred to as a participation code. The connection sequence (S112) is a matter well known to those skilled in the art.

図7を参照して、Wifi通信(WPS)によるペアリングを行うシーケンスを説明する。図7において、GW装置1は、WPS設定モードに移行するためのボタンを押下受付、または、ユーザインターフェースによる設定を受け付け(S201)、WPSモードに移行する。被接続装置7も、ほぼ同様のタイミングによりボタン押下受付、または設定モードへの移行を受け付ける(S202)。GW装置1と被接続装置7は、対応している方式、具体的には、らくらく無線スタートまたはAOSSによりペアリングを行う(S203)。GW装置1と被接続装置7は、Joined状態となる。なお、図7において、無線通信の簡易ペアリング方法にWPS方式について記載しているが、他の方式によるペアリングでもよい。   A sequence for performing pairing by WiFi communication (WPS) will be described with reference to FIG. In FIG. 7, the GW apparatus 1 accepts pressing of a button for shifting to the WPS setting mode, or accepts setting by the user interface (S201), and shifts to the WPS mode. The connected device 7 also accepts button presses or shifts to the setting mode at substantially the same timing (S202). The GW device 1 and the connected device 7 perform pairing by a compatible method, specifically, easy wireless start or AOSS (S203). The GW device 1 and the connected device 7 are in a Joined state. In FIG. 7, the WPS method is described as the simple pairing method for wireless communication, but pairing by other methods may be used.

実施例1では、図2のHANを構築を行う場合、図1のようにGW装置1とペアリングを行う必要のある被接続装置7から、スマートフォン等の携帯端末6を用いて、ペアリングに必要な情報のやり取りを行う。これにより、HANを構成する。   In the first embodiment, when the HAN of FIG. 2 is constructed, the connected device 7 that needs to be paired with the GW device 1 as shown in FIG. Exchange necessary information. Thereby, HAN is comprised.

図8を参照して、GW装置の情報管理テーブルを説明する。図8において、情報管理テーブル80は、No.81と、通信方式82と、認証方式83と、セキュリティ情報1 84と、セキュリティ情報2(共有キー)85と、セキュリティ情報3 86と、を含んで構成されている。情報管理テーブル80は、GW装置1が利用可能な無線通信方式について登録されており、各通信方式の認証方式およびセキュリティキー等のセキュリティ情報等が含まれている。GW装置1から携帯端末6がペアリングの情報を引き出す際、携帯端末6は、GW装置1からこの情報管理テーブルの情報を受信し、被接続装置7に送信する。なお、図8では、それぞれの通信方法において、別々の共有キーを設定しているが、装置のリソース等を考慮し同様の共有キーを設定してもよい。   The information management table of the GW device will be described with reference to FIG. In FIG. 81, a communication method 82, an authentication method 83, security information 184, security information 2 (shared key) 85, and security information 386. The information management table 80 is registered for wireless communication systems that can be used by the GW apparatus 1, and includes authentication information for each communication system, security information such as a security key, and the like. When the mobile terminal 6 extracts the pairing information from the GW device 1, the mobile terminal 6 receives the information in the information management table from the GW device 1 and transmits it to the connected device 7. In FIG. 8, different shared keys are set in each communication method, but similar shared keys may be set in consideration of the resource of the apparatus.

図9を参照して、GW装置のセキュリティテーブルを説明する。図9において、セキュリティテーブル90は、No.91と、MACアドレス92と、通信方式93と、セキュリティ情報94と、を含んで構成されている。セキュリティテーブル90は、ペアリングを行った被接続装置7の情報を登録する。図9では登録情報として、被接続装置7のMACアドレス92、通信方式93、セキュリティ情報94が登録されている。セキュリティテーブル90に登録される情報は、上記以外のセキュリティ情報でもよい。   The security table of the GW device will be described with reference to FIG. In FIG. 91, MAC address 92, communication method 93, and security information 94. The security table 90 registers information of the connected device 7 that has been paired. In FIG. 9, the MAC address 92, communication method 93, and security information 94 of the connected device 7 are registered as registration information. The information registered in the security table 90 may be other security information.

図10を参照して、第1のペアリング方法の処理シーケンスを説明する。図10において、携帯端末6は、GW装置1へ赤外線通信IrDA等を用いてデータ通知要求を行う(S301)。その際、携帯端末6は、どの無線通信方式でペアリングを行うか選択を行う。Wifiでの無線通信を選択した場合、携帯端末6は、Wifiでのペアリングに必要な認証データを要求する。情報管理テーブル80の内容に基づいて、GW装置1は、無線通信方式に合わせた認証情報を、携帯端末6にデータ通知を行う(S302)。携帯端末6は、GW装置1より得た情報を被接続装置7へ赤外線通信IrDA等を用いてデータ通知を行う(S303)。被接続装置7は、携帯端末6より入手した、認証情報をもとに加入要求をGW装置1へ送信する(S304)。GW装置1は、加入要求に対して認証情報の確認を行い、ここではGW装置情報と一致したので、加入通知を被接続装置7に対して通知する(S305)。被接続装置7は、加入通知を受けて、GW装置1とjoined状態となり、ペアリングを完了する。なお、加入要求および加入通知は、ステップ303で通知された共通キーに依る暗号化が為されている。   A processing sequence of the first pairing method will be described with reference to FIG. In FIG. 10, the portable terminal 6 makes a data notification request to the GW apparatus 1 using infrared communication IrDA or the like (S301). At that time, the portable terminal 6 selects which wireless communication method is used for pairing. When the wireless communication with WiFi is selected, the mobile terminal 6 requests authentication data necessary for pairing with WiFi. Based on the contents of the information management table 80, the GW apparatus 1 notifies the portable terminal 6 of data of authentication information adapted to the wireless communication method (S302). The mobile terminal 6 notifies the data obtained from the GW apparatus 1 to the connected apparatus 7 using infrared communication IrDA or the like (S303). The connected device 7 transmits a subscription request to the GW device 1 based on the authentication information obtained from the mobile terminal 6 (S304). The GW apparatus 1 confirms the authentication information in response to the subscription request. Since the GW apparatus 1 matches the GW apparatus information here, the GW apparatus 1 notifies the connected apparatus 7 of the subscription (S305). Upon receiving the subscription notification, the connected device 7 enters a joined state with the GW device 1 and completes the pairing. The subscription request and subscription notification are encrypted using the common key notified in step 303.

図11を参照して、第1のペアリング方法のフローを説明する。図11において、ペアリング設定を開始すると、携帯端末6は、設定用アプリ等を用いて、まずペアリングを行う装置の無線通信方式の選択を受け付ける。ここでの選択が、被接続装置7の無線通信方式とアンマッチになる場合、携帯端末6ではペアリング設定が完了しても、GW装置1と被接続装置7のペアリングを完了することができなくなる。以降、無線通信設定が正しく行われている事を前提とする。   The flow of the first pairing method will be described with reference to FIG. In FIG. 11, when the pairing setting is started, the mobile terminal 6 first accepts selection of a wireless communication method of a device that performs pairing using a setting application or the like. If the selection here is unmatched with the wireless communication system of the connected device 7, the pairing between the GW device 1 and the connected device 7 can be completed even if the pairing setting is completed in the mobile terminal 6. Disappear. Hereinafter, it is assumed that wireless communication settings are correctly performed.

携帯端末6は、無線通信方式を選択後、赤外線通信を用いてGW装置1にペアリングに必要な認証情報等の要求を行う(S402)。携帯端末6は、赤外線通信のプロトコルによりデータ要求がGW装置1に受信されているかの確認を行う(S403)。受信されていない場合、携帯端末6は、再度設定を行うか中断するかの選択を表示する(S405)。携帯端末6は、再度設定を行うかの選択を受け付ける(S406)。再度設定を行う場合(YES)、携帯端末6は、ステップ402から再度設定を行う。また、ステップ406で設定を中断する場合、携帯端末6は、設定を中断しましたと表示し(S407)、終了する。   After selecting the wireless communication method, the portable terminal 6 requests authentication information and the like necessary for pairing to the GW apparatus 1 using infrared communication (S402). The portable terminal 6 confirms whether the data request is received by the GW apparatus 1 by the infrared communication protocol (S403). If not received, the portable terminal 6 displays a selection of setting again or interruption (S405). The portable terminal 6 accepts the selection of whether to set again (S406). When the setting is performed again (YES), the mobile terminal 6 performs the setting again from step 402. When the setting is interrupted in step 406, the mobile terminal 6 displays that the setting has been interrupted (S407) and ends.

ステップ403でデータ要求が受信されている場合、GW装置1は、携帯端末6にデータの送信を行う(S404)。このデータは、情報管理テーブル80に登録されているセキュリティ情報である。携帯端末6は、データ受信のタイマーがタイムアウトしたか判定する(S408)。YESのとき、携帯端末6は、ステップ405に遷移する。ステップ408でNO(データを受信)のとき、携帯端末6は、被接続装置7にデータを送信する(S409)。なお、携帯端末6から被接続装置7に向けての送信方法も赤外線通信方式も用いて行う。携帯端末6は、データ送信内容が被接続装置7に受信されたか判定する(S410)。YESのとき、携帯端末6は、表示画面に設定完了の表示をして(S411)、終了する。その際、携帯端末6は、GW装置1から取得した情報を破棄する。   If a data request is received in step 403, the GW apparatus 1 transmits data to the mobile terminal 6 (S404). This data is security information registered in the information management table 80. The portable terminal 6 determines whether the data reception timer has timed out (S408). If YES, the mobile terminal 6 transitions to step 405. If NO (receive data) in step 408, the portable terminal 6 transmits data to the connected device 7 (S409). Note that a transmission method from the portable terminal 6 to the connected device 7 is performed using an infrared communication method. The portable terminal 6 determines whether the data transmission content is received by the connected device 7 (S410). If YES, the portable terminal 6 displays a setting completion message on the display screen (S411) and ends. At that time, the mobile terminal 6 discards the information acquired from the GW apparatus 1.

ステップ410にてNOのとき、携帯端末6は、データを再度取得するか中断するかの選択画面を表示する(S413)。ユーザの操作を受け付け、携帯端末6は、再度設定を行うか判定する(S414)。YESのとき、ステップ409へ遷移する。ステップ414でNO(設定を中断)のとき、携帯端末6は、設定を中断しましたと表示し(S415)、終了する。その際、携帯端末6は、GW装置1から取得した情報を破棄する。   When NO in step 410, the portable terminal 6 displays a selection screen for acquiring or interrupting data again (S413). Upon accepting the user's operation, the mobile terminal 6 determines whether to set again (S414). When YES, the process proceeds to step 409. If NO in step 414 (setting is interrupted), the portable terminal 6 displays that the setting has been interrupted (S415), and ends. At that time, the mobile terminal 6 discards the information acquired from the GW apparatus 1.

図12を参照して、GW装置による第1のペアリング方法のフローを説明する。図12において、GW装置1は、赤外線通信により、ペアリングに必要なデータの要求を受信する(S421)。GW装置1は、管理情報テーブル80から、セキュリティ情報を取得して、赤外線通信で送信する(S422)。GW装置1は、接続要求を受信する(S423)。GW装置1は、帰属シーケンスを実施し、被接続装置7を帰属して(S424)、終了する。   With reference to FIG. 12, the flow of the 1st pairing method by a GW apparatus is demonstrated. In FIG. 12, the GW apparatus 1 receives a request for data necessary for pairing by infrared communication (S421). The GW apparatus 1 acquires security information from the management information table 80 and transmits it by infrared communication (S422). The GW apparatus 1 receives the connection request (S423). The GW apparatus 1 performs the belonging sequence, attaches the connected apparatus 7 (S424), and ends.

図13を参照して、第2のペアリング方法のシーケンスを説明する。図13において、携帯端末6は、被接続装置7へ赤外線通信IrDAを用いてデータ通知要求を行う(S501)。その際、携帯端末6は、どの無線通信方式でペアリングを行うか選択を行う。具体的には、Zigbeeでの無線通信を選択した場合、Zigbeeでのペアリングに必要な認証データを要求する。被接続装置7は、携帯端末6へペアリングに必要な認証データを含むデータ通知を送信する(S502)。   A sequence of the second pairing method will be described with reference to FIG. In FIG. 13, the mobile terminal 6 makes a data notification request to the connected device 7 using the infrared communication IrDA (S501). At that time, the portable terminal 6 selects which wireless communication method is used for pairing. Specifically, when wireless communication using Zigbee is selected, authentication data required for pairing using Zigbee is requested. The connected device 7 transmits a data notification including authentication data necessary for pairing to the mobile terminal 6 (S502).

携帯端末6は、被接続装置7より得た情報をGW装置1へ赤外線通信IrDAを用いてデータ通知を行う(S503)。GW装置1は、セキュリティテーブル90に受信したデータを登録する(S504)。被接続装置7は、暗号化された認証要求をGW装置1に送信する(S505)。GW装置1は、携帯端末6より入手した認証情報をもとに復号化して、ACKを被接続装置7に送信する(S506)。被接続装置7は、共有キーを要求するデータ送信要求をGW装置1に送信する(S507)。GW装置1は、ACKを被接続装置7に送信する(S508)。 GW装置1は、情報管理テーブル80の通信方式に適した、セキュリティ情報をのせ接続応答を送信する(S509)。被接続装置7は、接続応答に対して、ACKをGW装置1に返す(S510)。GW装置1と被接続装置7は、接続シーケンスを実行する(S511)。最終的に、GW装置1と被接続装置7は、joined状態となる。   The portable terminal 6 notifies the GW device 1 of data obtained from the connected device 7 using the infrared communication IrDA (S503). The GW apparatus 1 registers the received data in the security table 90 (S504). The connected device 7 transmits the encrypted authentication request to the GW device 1 (S505). The GW apparatus 1 decrypts based on the authentication information obtained from the mobile terminal 6 and transmits ACK to the connected apparatus 7 (S506). The connected device 7 transmits a data transmission request for requesting the shared key to the GW device 1 (S507). The GW apparatus 1 transmits ACK to the connected apparatus 7 (S508). The GW apparatus 1 transmits a connection response with security information suitable for the communication method of the information management table 80 (S509). In response to the connection response, the connected device 7 returns an ACK to the GW device 1 (S510). The GW apparatus 1 and the connected apparatus 7 execute a connection sequence (S511). Finally, the GW device 1 and the connected device 7 are in a joined state.

上述した第1のペアリング方法は、GW装置1を起因とするペアリング方法について記載している。第1のペアリング方法は、Wifi等の設定を行う場合に用いる。
一方、第2のペアリング方法2は、被接続装置7を起因とするペアリングを行う方法である。第2のペアリング方法は、Zigbee等でのペアリングを行う場合に使用する。但し、第1および第2のペアリング方法は、上記した通信方式以外の場合に適用しても良い。具体的には、Zigbee通信のペアリングを行う場合に、通信シーケンスが第1のペアリング方法が適している場合は、第1のペアリング方法1を適用する。
The first pairing method described above describes a pairing method caused by the GW device 1. The first pairing method is used when setting WiFi or the like.
On the other hand, the second pairing method 2 is a method of performing pairing caused by the connected device 7. The second pairing method is used when performing pairing using Zigbee or the like. However, the first and second pairing methods may be applied to cases other than the communication method described above. Specifically, when performing pairing for Zigbee communication, if the first pairing method is suitable for the communication sequence, the first pairing method 1 is applied.

図14を参照して、第2のペアリング方法のフローを説明する。図14において、携帯端末6は、ペアリング設定を開始する。携帯端末6では、設定用アプリを用いて操作を行う。携帯端末6は、まずペアリングを行う装置の無線通信方式の選択を行う。ここでの設定が、被接続装置7の無線通信方式とアンマッチになる場合、携帯端末6ではペアリング設定を行うことができない。以降、無線通信設定が正しく行われている事を前提にして実施例を記載する。   The flow of the second pairing method will be described with reference to FIG. In FIG. 14, the mobile terminal 6 starts pairing setting. The mobile terminal 6 performs an operation using a setting application. The portable terminal 6 first selects a wireless communication method of a device that performs pairing. If the setting here is unmatched with the wireless communication method of the connected device 7, the portable terminal 6 cannot perform the pairing setting. Hereinafter, an embodiment will be described on the assumption that the wireless communication setting is correctly performed.

携帯端末6は、無線通信方式を選択後、赤外線通信を用いて被接続装置7にペアリングに必要な認証情報等の要求を行う(S602)。携帯端末6は、赤外線通信のプロトコルによりデータ要求が被接続装置7に受信されているかの確認を行う(S603)。受信されていない場合、携帯端末6は、再度設定を行うか中断するかの選択を表示する(S605)。ユーザは再度設定を行うかの選択し、携帯端末6は、選択結果を判定する(S606)。再度設定を行う場合、携帯端末6は、ステップ602に遷移する。ステップ606でまた、設定を中断する場合、携帯端末6は設定を中断しましたと表示し(S607)、終了する。   After selecting the wireless communication method, the portable terminal 6 makes a request for authentication information or the like necessary for pairing to the connected device 7 using infrared communication (S602). The portable terminal 6 confirms whether the data request is received by the connected device 7 using the infrared communication protocol (S603). If not received, the portable terminal 6 displays a selection of whether to perform the setting again or to interrupt (S605). The user selects whether to perform the setting again, and the mobile terminal 6 determines the selection result (S606). When performing the setting again, the mobile terminal 6 transitions to Step 602. If the setting is interrupted in step 606, the portable terminal 6 displays that the setting has been interrupted (S607) and ends.

ステップ603でデータ要求が受信されている場合(YES)、被接続装置7は、携帯端末6にデータの送信を行う(S604)。携帯端末6は、データ受信のタイマーがタイムアウトしたか判定する(S608)。YESのとき、携帯端末6は、ステップ605に遷移する。ステップ608でNO(データを受信)のとき、携帯端末6は、GW装置1に向けて送信を行う(S609)、携帯端末6からGW装置1に向けての送信方法も赤外線通信方式も用いて行う。携帯端末6は、データ送信内容がGW装置1に受信されているか判定する(S610)。受信されている場合、携帯端末6は、GW装置1から受信完了通知を確認し、表示画面に設定完了を表示して(S611)、終了する。その際、携帯端末6は、被接続装置7から取得した情報を破棄する。GW装置1は、携帯端末6より受信したデータをセキュリティテーブル90に追加を行う。   If a data request is received in step 603 (YES), the connected device 7 transmits data to the mobile terminal 6 (S604). The portable terminal 6 determines whether the data reception timer has timed out (S608). When the determination is YES, the mobile terminal 6 transitions to step 605. When NO in step 608 (data is received), the mobile terminal 6 performs transmission toward the GW apparatus 1 (S609), using both the transmission method from the mobile terminal 6 to the GW apparatus 1 and the infrared communication method. Do. The portable terminal 6 determines whether the data transmission content is received by the GW apparatus 1 (S610). If received, the mobile terminal 6 confirms the reception completion notification from the GW device 1, displays setting completion on the display screen (S 611), and ends. At that time, the mobile terminal 6 discards the information acquired from the connected device 7. The GW apparatus 1 adds data received from the mobile terminal 6 to the security table 90.

ステップ610にてデータを受信できない場合、携帯端末6は、データを再度取得するか中断するかの選択を表示する(S613)。携帯端末6は、再度設定を判定する(S614)。YESのとき、携帯端末6は、ステップ609に遷移する。ステップ610でNOのとき、携帯端末6は、設定を中断しましたと表示し(S615)、終了する。その際、携帯端末6は、被接続装置7から取得した情報を破棄する。   If the data cannot be received in step 610, the portable terminal 6 displays a selection of whether to acquire the data again or to interrupt (S613). The portable terminal 6 determines the setting again (S614). When the determination is YES, the mobile terminal 6 transitions to step 609. If NO in step 610, the portable terminal 6 displays that the setting has been interrupted (S615) and ends. At that time, the mobile terminal 6 discards the information acquired from the connected device 7.

実施例1に記載した、ペアリング方法に対して、更にセキュアに設定を行う方法について、実施例2にて説明する。図1のシステム構成にてペアリングを実施する場合、他のGW装置に対しても同様の設定を行うことができてしまう。そのため、携帯電話等の汎用端末を利用したペアリングを行う場合、意図した装置以外での設定を行えないようにする必要がある。また、容易に設定できるということは、携帯端末を用いれば簡単に設定を変更されてしまうということになる。その様な事を未然に防ぐために、意図した携帯端末以外からの設定を行えないようにする。以下、特定の携帯端末のみでのペアリング設定を行う方法について記載する。   A method for more securely setting the pairing method described in the first embodiment will be described in a second embodiment. When pairing is performed with the system configuration of FIG. 1, the same setting can be performed for other GW apparatuses. Therefore, when performing pairing using a general-purpose terminal such as a mobile phone, it is necessary to prevent settings other than the intended device. Also, the fact that it can be set easily means that the setting can be easily changed if a mobile terminal is used. In order to prevent such a problem, settings other than the intended mobile terminal should be disabled. Hereinafter, a method for performing pairing setting only on a specific mobile terminal will be described.

図15を参照して、GW装置1に携帯端末6を登録する際のシステム構成を説明する。図15において、ペアリング設定を他の携帯端末6Aを使用して設定を行えなくするため、GW装置1に事前に、特定の携帯端末6の登録を行う。登録に際して、携帯端末6は、GW装置1から取得したインターネット8上のURLにアクセスして、アプリケーションプログラムをダウンロードする。   With reference to FIG. 15, a system configuration when registering the mobile terminal 6 in the GW apparatus 1 will be described. In FIG. 15, the specific mobile terminal 6 is registered in advance in the GW apparatus 1 in order to disable the pairing setting using the other mobile terminal 6 </ b> A. At the time of registration, the mobile terminal 6 accesses the URL on the Internet 8 acquired from the GW device 1 and downloads the application program.

図16を参照して、GW装置1の登録用QRコードを説明する。GW装置1本体に貼り付けられているラベル10に、登録用QRコード101が印字しておく。そのQRコード101を携帯端末6のカメラ68で読み取ることにより、登録設定を開始する。ここでは、QRコード101に、共有キーとURLを登録しておく。携帯端末6は、QRコードを読み取ると、そのURLにアクセスする。URLには、GW装置1に携帯端末6を登録するためのアプリがあり、携帯端末6は、そのアプリをダウンロードする。   With reference to FIG. 16, the QR code for registration of the GW apparatus 1 will be described. A QR code 101 for registration is printed on a label 10 attached to the main body of the GW apparatus 1. The QR code 101 is read by the camera 68 of the portable terminal 6 to start registration setting. Here, the shared key and the URL are registered in the QR code 101. When the mobile terminal 6 reads the QR code, the mobile terminal 6 accesses the URL. In the URL, there is an application for registering the mobile terminal 6 in the GW apparatus 1, and the mobile terminal 6 downloads the application.

図17を参照して、赤外線通信(IrDA)のフレームフォーマットを説明する。図17において、IrDAフレームフォーマット30は、STA31と、ADDR32と、DATA33と、FCS34と、STO35とから構成されている。STA31は、開始フラグである。ADDR32は、アドレスフィールドを示しており、赤外線通信を行う際の、送信元アドレス、受信元アドレスが含まれる。DATA33は、データフィールドである。FCS34は、フレームチェックシーケンスである。STO35は、終了フラグである。なお、STA31は、STA31−1とSTA31−2の2つの開始フラグである。   The frame format of infrared communication (IrDA) will be described with reference to FIG. In FIG. 17, the IrDA frame format 30 includes an STA 31, an ADDR 32, a DATA 33, an FCS 34, and an STO 35. The STA 31 is a start flag. ADDR 32 indicates an address field, and includes a transmission source address and a reception source address when performing infrared communication. DATA33 is a data field. FCS 34 is a frame check sequence. STO 35 is an end flag. STA31 is two start flags, STA31-1 and STA31-2.

図18を参照して、GW装置の登録端末テーブルを説明する。図18において、登録端末テーブル40は、No.41と、携帯端末アドレス42とから構成されている。登録端末テーブル40は、GW装置1に登録を行うために必要な情報を保持する。ここでは、登録を行う携帯端末のアドレスについて記載している。この携帯端末アドレス42は、フレームフォーマット30のADDR32の送信元アドレスである。   With reference to FIG. 18, the registration terminal table of a GW apparatus is demonstrated. In FIG. 41 and a mobile terminal address 42. The registration terminal table 40 holds information necessary for registration with the GW apparatus 1. Here, it describes about the address of the portable terminal which registers. The portable terminal address 42 is a source address of the ADDR 32 in the frame format 30.

図19を参照して、GW装置1に携帯端末6を登録する際のシーケンスを説明する。図19において、携帯端末6は、GW装置1に貼り付けられている、ラベルの登録用QRコードをカメラ68で読み取る(S901)。QRコードには、Wifi通信用の共有キーとURLが登録されている。携帯端末6は、共有キーを登録する(S902)。携帯端末6は、読み取ったURLにアクセスする(S903)。アクセスしたサイトには、端末登録を行うためのアプリがあり、携帯端末6は、ダウンロードを行う(S904)。ダウンロードされたアプリは、端末アドレスを共有キーを利用して暗号化し、データ送信を行う(S905)。送信データには、赤外線通信のフレームにあるADDRのデータを含んでいる。GW装置1は、受信したデータを共有キーにより復号し、ADDRのデータに含まれている送信元アドレスを登録端末テーブル40に登録する(S906)。ここでは、Wifi通信を用いて携帯端末6の登録を行っているが、その他の無線通信方式を用いた方法にも適用できる。   With reference to FIG. 19, the sequence at the time of registering the portable terminal 6 to the GW apparatus 1 is demonstrated. In FIG. 19, the mobile terminal 6 reads the label registration QR code attached to the GW apparatus 1 with the camera 68 (S <b> 901). In the QR code, a shared key and a URL for WiFi communication are registered. The portable terminal 6 registers the shared key (S902). The portable terminal 6 accesses the read URL (S903). The accessed site has an application for terminal registration, and the mobile terminal 6 performs download (S904). The downloaded application encrypts the terminal address using the shared key and performs data transmission (S905). The transmission data includes ADDR data in an infrared communication frame. The GW apparatus 1 decrypts the received data with the shared key, and registers the transmission source address included in the ADDR data in the registration terminal table 40 (S906). Here, the mobile terminal 6 is registered using WiFi communication, but the present invention can also be applied to methods using other wireless communication methods.

図20を参照して、第1のペアリング方法の処理フローを説明する。図20において、ペアリングは、携帯端末6により、開始される。携帯端末6では、設定用アプリ等を用いて操作を行う。設定を開始すると、ペアリングを行う装置の無線通信方式の選択を行う。ここでの設定が、被接続装置7の無線通信方式とアンマッチになる場合、携帯端末6ではペアリング設定が完了しても、GW装置1と被接続装置7のペアリングを完了することができなくなる。無線通信設定が正しく行われている事を前提にして、以下記載する。   A processing flow of the first pairing method will be described with reference to FIG. In FIG. 20, pairing is started by the mobile terminal 6. The portable terminal 6 performs an operation using a setting application or the like. When the setting is started, the wireless communication method of the device that performs pairing is selected. When the setting here is unmatched with the wireless communication system of the connected device 7, the pairing between the GW device 1 and the connected device 7 can be completed even if the pairing setting is completed in the mobile terminal 6. Disappear. The following description assumes that the wireless communication settings are set correctly.

携帯端末6は、無線通信方式を選択後、赤外線通信を用いてGW装置1にペアリングに必要な認証情報の要求を行う(S702)。携帯端末6は、赤外線通信のプロトコルによりデータ要求がGW装置1に受信されているかの確認を行う(S703)。受信されていない場合、携帯端末6は、再度設定を行う中断するかの選択を表示を行う(S704)。携帯端末6は、ユーザによる再度設定を行うかの選択を受け付け、処理を判定する(S705)。再度設定を行う場合、携帯端末6は、ステップ702から再度設定を行う。ステップ705で、設定を中断する場合、携帯端末6は、設定を中断しましたと表示し(706)、終了する。   After selecting the wireless communication method, the portable terminal 6 requests authentication information necessary for pairing to the GW apparatus 1 using infrared communication (S702). The portable terminal 6 confirms whether the data request is received by the GW apparatus 1 by the infrared communication protocol (S703). If not received, the portable terminal 6 displays a selection of whether to interrupt the setting again (S704). The portable terminal 6 receives a selection as to whether or not to perform the setting again by the user, and determines processing (S705). When performing the setting again, the mobile terminal 6 performs the setting again from step 702. If the setting is interrupted in step 705, the portable terminal 6 displays that the setting has been interrupted (706) and ends.

ステップ703でデータ要求が受信されている場合、GW装置1は、フレームの内容を確認する(S707)。GW装置1は、受信したフレームが登録されている端末からのデータかどうかを判断する(S708)。登録されていない端末からのデータの場合、GW装置1は、受信したデータを破棄して(S709)、終了する。登録されている携帯端末6からのフレームの場合、GW装置1は、携帯端末6にデータの送信を行う(S710)。このデータは、GW装置のGW装置情報管理テーブルに登録されているセキュリティ情報である。携帯端末6は、タイムアウトを判定する(S711)。YESのとき、携帯端末6は、ステップS704に遷移する。ステップ711でNOのとき、携帯端末6は、被接続装置7に向けて送信を行う(S712)。携帯端末6から被接続装置7に向けての送信方法も赤外線通信方式も用いて行う。携帯端末6は、データ送信内容が被接続装置7に受信されているか判定する(S713)。受信されている場合、携帯端末6は、被接続装置7から受信完了通知を確認し、携帯端末6のディスプレイ等の表示画面に設定完了の表示をして(S714)、終了する。その際、携帯端末6は、GW装置1から取得した情報は破棄する。   When the data request is received in step 703, the GW apparatus 1 confirms the content of the frame (S707). The GW apparatus 1 determines whether the received frame is data from a registered terminal (S708). In the case of data from an unregistered terminal, the GW apparatus 1 discards the received data (S709) and ends. In the case of a frame from the registered mobile terminal 6, the GW apparatus 1 transmits data to the mobile terminal 6 (S710). This data is security information registered in the GW device information management table of the GW device. The portable terminal 6 determines a timeout (S711). In the case of YES, the mobile terminal 6 makes a transition to Step S704. When NO in step 711, the mobile terminal 6 performs transmission toward the connected device 7 (S712). A transmission method from the portable terminal 6 to the connected device 7 is performed using an infrared communication method. The portable terminal 6 determines whether the data transmission content is received by the connected device 7 (S713). If received, the mobile terminal 6 confirms the reception completion notification from the connected device 7, displays the setting completion on the display screen of the mobile terminal 6 (S714), and ends. At that time, the mobile terminal 6 discards the information acquired from the GW apparatus 1.

ステップ713にてデータを受信できない場合、携帯端末6は、データを再度取得するか中断するかの選択画面を表示する(S716)。携帯端末6は、ユーザの操作を受け付けて、再度設定を行うか判定する(S717)。YESのとき、携帯端末6は、ステップ712に遷移する。ステップ717でNOのとき、携帯端末6は、設定を中断しましたと表示し(S718)、終了する。その際、GW装置1から取得した情報は破棄する。
設定完了後、図10のステップ304以降のシーケンスによりペアリングを行い、GW装置1と被接続装置7は、帰属し、通信が可能となる。
If the data cannot be received in step 713, the portable terminal 6 displays a selection screen for acquiring or interrupting the data again (S716). The portable terminal 6 receives the user's operation and determines whether to set again (S717). If YES, the mobile terminal 6 transitions to step 712. If NO in step 717, the portable terminal 6 displays that the setting has been interrupted (S718) and ends. At that time, the information acquired from the GW apparatus 1 is discarded.
After the setting is completed, pairing is performed according to the sequence after step 304 in FIG. 10, and the GW device 1 and the connected device 7 belong to each other and can communicate with each other.

図21を参照して、第2のペアリング方法の処理フローを説明する。図21において、携帯端末6は、ペアリング設定を開始すると、設定用アプリ等を用いて操作を行う。設定を開始すると、携帯端末6は、まずペアリングを行う装置の無線通信方式の選択を行う。ここでの設定が、被接続装置7側の無線通信方式とアンマッチになる場合、携帯端末6ではペアリング設定を行うことができない。ここでは、無線通信設定が正しく行われている事を前提にして説明する。   With reference to FIG. 21, the processing flow of the second pairing method will be described. In FIG. 21, when the mobile terminal 6 starts pairing setting, the mobile terminal 6 performs an operation using a setting application or the like. When the setting is started, the mobile terminal 6 first selects the wireless communication method of the device that performs pairing. When the setting here is unmatched with the wireless communication system on the connected device 7 side, the portable terminal 6 cannot perform the pairing setting. Here, the description will be made on the assumption that the wireless communication setting is correctly performed.

携帯端末6は、無線通信方式を選択後、赤外線通信を用いて被接続装置7にペアリングに必要な認証情報の要求を行う(S802)。携帯端末6は、赤外線通信のプロトコルによりデータ要求が被接続装置に受信されているか判定する(S803)。受信されていない場合、携帯端末6は、再度設定を行う中断するかの選択画面を表示する(S804)。携帯端末6は、ユーザによる操作を受け付けて、処理を判定する(S805)。再度設定を行う場合、携帯端末6は、ステップ802に遷移する。ステップ805で設定を中断する場合(NO)、携帯端末6は、設定を中断しましたと表示し(S806)、終了する。   After selecting the wireless communication method, the portable terminal 6 requests authentication information necessary for pairing to the connected device 7 using infrared communication (S802). The portable terminal 6 determines whether a data request is received by the connected device using the infrared communication protocol (S803). If not received, the mobile terminal 6 displays a screen for selecting whether to interrupt the setting again (S804). The portable terminal 6 receives the operation by the user and determines the process (S805). When performing the setting again, the mobile terminal 6 transitions to Step 802. When the setting is interrupted in step 805 (NO), the mobile terminal 6 displays that the setting has been interrupted (S806) and ends.

ステップ803でデータ要求が受信されている場合(YES)、被接続装置7は、携帯端末6にデータの送信を行う(S807)。携帯端末6、タイムアウトを判定する(S808)。送信されていない場合(YES)、携帯端末6は、ステップ804に遷移する。ステップ808でNOのとき、携帯端末6は、GW装置1に向けて送信を行う(S809)。ここで、携帯端末6からGW装置1に向けての送信方法も赤外線通信方式も用いて行う。携帯端末6は、データ送信内容がGW装置1に受信されているか判定する(S810)。データを受信できない場合、携帯端末6は、データを再度取得するか中断するかの選択画面を表示する(S811)。携帯端末6は、ユーザの操作を受け付けて、再度設定を行うか判定する(S812)。YESのとき、携帯端末6は、ステップ809に遷移する。ステップ812で設定を中断する場合(NO)、携帯端末6は、設定を中断しましたと表示し(S813)、終了する。その際、被接続装置7から取得した情報は破棄する。   If a data request is received in step 803 (YES), the connected device 7 transmits data to the portable terminal 6 (S807). The portable terminal 6 determines a timeout (S808). If not transmitted (YES), the mobile terminal 6 transitions to Step 804. When NO in step 808, the mobile terminal 6 performs transmission toward the GW apparatus 1 (S809). Here, a transmission method from the portable terminal 6 to the GW apparatus 1 is performed using an infrared communication method. The portable terminal 6 determines whether the data transmission content is received by the GW apparatus 1 (S810). If the data cannot be received, the portable terminal 6 displays a selection screen for acquiring or interrupting the data again (S811). The portable terminal 6 receives the user's operation and determines whether to set again (S812). When the determination is YES, the mobile terminal 6 makes a transition to Step 809. When the setting is interrupted in step 812 (NO), the mobile terminal 6 displays that the setting has been interrupted (S813) and ends. At this time, the information acquired from the connected device 7 is discarded.

ステップ810でデータが受信されている場合(YES)、GW装置1は、フレーム内容の確認を行う(S814)。GW装置1は、受信したフレームが登録されている端末からのデータかどうかを判断する(S815)。登録されていないデータの場合(NO)、GW装置1は、受信したデータを破棄して(S816)、終了する。ステップ815で登録されている携帯端末6からのフレームの場合、GW装置1は、携帯端末6に受信完了通知を送信し、携帯端末1は、画面に設定完了しましたと表示して(S817)、終了する。その際、携帯端末6は、被接続装置7から取得した情報は破棄する。GW装置1は、携帯端末6より受信したデータをセキュリティテーブル90に追加を行う。
設定完了後、図13のステップ505以降のシーケンスによりペアリングを行い、GW装置1と被接続装置7は、帰属し、通信が可能となる。
When data is received in step 810 (YES), the GW apparatus 1 confirms the frame contents (S814). The GW apparatus 1 determines whether the received frame is data from a registered terminal (S815). If the data is not registered (NO), the GW apparatus 1 discards the received data (S816) and ends. In the case of the frame from the mobile terminal 6 registered in step 815, the GW apparatus 1 transmits a reception completion notification to the mobile terminal 6, and the mobile terminal 1 displays on the screen that the setting has been completed (S817). ,finish. At that time, the mobile terminal 6 discards the information acquired from the connected device 7. The GW apparatus 1 adds data received from the mobile terminal 6 to the security table 90.
After the setting is completed, pairing is performed according to the sequence from step 505 onward in FIG. 13, and the GW device 1 and the connected device 7 belong to each other and can communicate with each other.

図22を参照して、GW装置の第2のペアリングの処理を説明する。図22において、GW装置1は、携帯端末6を登録端末テーブルに登録する(S621)。GW装置1は、赤外線通信により、携帯端末6からペアリングに必要なデータの要求を受信する(S622)。GW装置1は、データ要求が登録端末テーブルに登録された端末からか判定する(S623)。YESのとき、GW装置1は、GW装置情報管理テーブルからセキュリティ情報を読み出して、赤外線通信により、携帯端末6に送信する(S624)。GW装置1は、接続要求を被接続装置7から受信する(S625)。GW装置1は、被接続装置7と帰属シーケンスを実施し、被接続装置7を帰属して(S626)、終了する。ステップ623でNOのとき、GW装置1は、データ要求を破棄して(S627)、終了する。   With reference to FIG. 22, the second pairing process of the GW apparatus will be described. In FIG. 22, the GW apparatus 1 registers the portable terminal 6 in the registered terminal table (S621). The GW apparatus 1 receives a request for data necessary for pairing from the mobile terminal 6 by infrared communication (S622). The GW apparatus 1 determines whether the data request is from a terminal registered in the registered terminal table (S623). When YES, the GW apparatus 1 reads the security information from the GW apparatus information management table and transmits it to the mobile terminal 6 by infrared communication (S624). The GW apparatus 1 receives a connection request from the connected apparatus 7 (S625). The GW apparatus 1 executes the belonging sequence with the connected apparatus 7, attaches the connected apparatus 7 (S 626), and ends. When NO in step 623, the GW apparatus 1 discards the data request (S627) and ends.

このように、スマートフォン等に搭載された近距離通信機能(赤外線通信等)を利用して、1対1の通信を行いペアリングを行うことにより、他の装置が通信を傍受する等の介在する可能性がなくなり、よりセキュアに通信を確立することができる。また、スマートフォン等に設定アプリを作成し必要な情報を抽出することや、対象装置にその情報を設定することが容易になる。
また、スマートフォン等の携帯端末の情報をGW装置に登録することにより、他の携帯端末での設定を行えないようにして、よりセキュアなペアリングを行うことができる。
In this way, by using a short-range communication function (infrared communication or the like) mounted on a smartphone or the like, one-to-one communication is performed and pairing is performed, whereby another device intercepts communication or the like. The possibility disappears and communication can be established more securely. In addition, it becomes easy to create a setting application on a smartphone or the like and extract necessary information, or to set the information on the target device.
In addition, by registering information of a mobile terminal such as a smartphone in the GW device, it is possible to perform more secure pairing so that setting on another mobile terminal cannot be performed.

1…GW装置(ゲートウェイ装置)、10…ラベル、101…QRコード、11…CPU、111…機能制御部、112…フレーム解析部、113…通信制御部、114…認証制御部、115…セキュリティ制御部、116…端末管理部、117…装置情報管理部、12…無線LAN機能部、121…WPS機能部、13…IrDA機能部、14…LED機能部、15…メモリ部、16…USB機能部、161…Zigbee機能部、162…その他RF機能部、17…WANポート部、18…L2SW、19…LANポート部、2…アダプタ、21…無線LAN機能部、22…IrDA機能部、23…CPU、231…セキュリティ制御部、232…通信制御部、233…機能制御部、24…LED機能部、25…Zigbee機能部、26…メモリ部、27…インターフェース部、3…家電および各種センサ類(無線通信機能なし)、30…フレームフォーマット、4…家電および各種センサ類(無線通信機能有り)、40…登録端末テーブル、5…ネットワーク、6…携帯端末、60…制御部、61…キー、62…IrDA制御部、63…メモリ、64…ディスプレイ、65…無線信号処理部、66…NFC、67…赤外線通信部(IrDA)、68…カメラ、69…アンテナ、7…被接続装置(家電品、各種センサ類およびアダプタ)、8…インターネット、80…情報管理テーブル、90…セキュリティテーブル。   DESCRIPTION OF SYMBOLS 1 ... GW apparatus (gateway apparatus), 10 ... Label, 101 ... QR code, 11 ... CPU, 111 ... Function control part, 112 ... Frame analysis part, 113 ... Communication control part, 114 ... Authentication control part, 115 ... Security control 116: Terminal management unit, 117 ... Device information management unit, 12 ... Wireless LAN function unit, 121 ... WPS function unit, 13 ... IrDA function unit, 14 ... LED function unit, 15 ... Memory unit, 16 ... USB function unit 161 ... Zigbee function unit 162 ... Other RF function unit 17 ... WAN port unit 18 ... L2SW 19 ... LAN port unit 2 ... Adapter 21 ... Wireless LAN function unit 22 ... IrDA function unit 23 ... CPU 231 ... Security control unit, 232 ... Communication control unit, 233 ... Function control unit, 24 ... LED function unit, 25 ... Zigbee function unit, 2 ... Memory unit, 27 ... Interface unit, 3 ... Home appliance and various sensors (without wireless communication function), 30 ... Frame format, 4 ... Home appliance and various sensors (with wireless communication function), 40 ... Registered terminal table, 5 ... Network, 6 ... portable terminal, 60 ... control unit, 61 ... key, 62 ... IrDA control unit, 63 ... memory, 64 ... display, 65 ... wireless signal processing unit, 66 ... NFC, 67 ... infrared communication unit (IrDA), 68 ... Camera, 69 ... Antenna, 7 ... Connected device (home appliance, various sensors and adapters), 8 ... Internet, 80 ... Information management table, 90 ... Security table.

Claims (3)

携帯端末および被接続装置と近距離無線通信する無線通信部と、装置全体を制御する制御部と、ワイドエリアネットワークのインターフェースであるポートと、を備え、
前記携帯端末から、ペアリングに必要なデータの要求を受信したとき、
前記制御部は、当該データを前記無線通信部を介して、前記携帯端末に送信し、
前記被接続装置から、接続要求を受信したとき、
前記制御部は、前記無線通信部を介して、前記被接続装置との間で帰属シーケンスを実行することを特徴とするゲートウェイ装置。
A wireless communication unit that performs short-range wireless communication with a mobile terminal and a connected device, a control unit that controls the entire device, and a port that is an interface of a wide area network,
When a request for data necessary for pairing is received from the mobile terminal,
The control unit transmits the data to the mobile terminal via the wireless communication unit,
When a connection request is received from the connected device,
The gateway device characterized in that the control unit executes an belonging sequence with the connected device via the wireless communication unit.
請求項1に記載のゲートウェイ装置であって、
さらに、登録端末テーブルを記憶するメモリを備え、
携帯端末から、ペアリングに必要なデータの要求を受信したとき、
前記制御部は、要求を送信した要求携帯端末が、前記登録端末テーブルに含まれているかを判定して、当該データの前記要求携帯端末への送信の可否を判定することを特徴とするゲートウェイ装置。
The gateway device according to claim 1,
Furthermore, a memory for storing the registered terminal table is provided,
When a request for data necessary for pairing is received from a mobile device,
The control unit determines whether or not the request portable terminal that transmitted the request is included in the registered terminal table, and determines whether or not the data can be transmitted to the request portable terminal. .
携帯端末から、近距離無線通信によるペアリングに必要なデータの要求を受信するステップと、
当該データを前記近距離無線通信によって、前記携帯端末に送信するステップと、
被接続装置から、前記近距離無線通信による接続要求を受信するステップと、
前記被接続装置との間で前記近距離無線通信による帰属シーケンスを実行するステップと、からなるペアリング方法。
Receiving a request for data necessary for pairing via short-range wireless communication from a mobile terminal;
Transmitting the data to the mobile terminal by the short-range wireless communication;
Receiving a connection request by the short-range wireless communication from a connected device;
Executing a belonging sequence by the short-range wireless communication with the connected device.
JP2012280800A 2012-12-25 2012-12-25 Gateway device and pairing method Pending JP2014127729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012280800A JP2014127729A (en) 2012-12-25 2012-12-25 Gateway device and pairing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012280800A JP2014127729A (en) 2012-12-25 2012-12-25 Gateway device and pairing method

Publications (1)

Publication Number Publication Date
JP2014127729A true JP2014127729A (en) 2014-07-07

Family

ID=51406949

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012280800A Pending JP2014127729A (en) 2012-12-25 2012-12-25 Gateway device and pairing method

Country Status (1)

Country Link
JP (1) JP2014127729A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1071139A (en) * 1996-07-31 1998-03-17 Siemens Ag Radiograph
JP2016015544A (en) * 2014-06-30 2016-01-28 シャープ株式会社 Remote control system and exclusive controller
WO2016059680A1 (en) * 2014-10-15 2016-04-21 株式会社E3 Operation environment setting system for electronic device and program for setting operation environment
WO2016088185A1 (en) * 2014-12-01 2016-06-09 富士通株式会社 Pairing management method, pairing management program, and terminal device
JP2016152571A (en) * 2015-02-19 2016-08-22 Necプラットフォームズ株式会社 Information management device, communication system and control method of information management device
JP2017507623A (en) * 2014-12-15 2017-03-16 シャオミ・インコーポレイテッド Equipment networking method, apparatus, program, and storage medium
WO2017061187A1 (en) * 2015-10-05 2017-04-13 シャープ株式会社 Terminal device, base station device, and communication method
WO2017061186A1 (en) * 2015-10-05 2017-04-13 シャープ株式会社 Terminal device, base station device, and communication method
JP2017091261A (en) * 2015-11-11 2017-05-25 株式会社リコー Device, program, and system
JP6145905B1 (en) * 2016-05-23 2017-06-14 株式会社Gpro Lighting control system and lighting control method
US10178261B2 (en) 2016-07-12 2019-01-08 Fuji Xerox Co., Ltd. System and image forming apparatus that stops or controls the transmission of control information between at least one controlled device and an external device
US10178251B2 (en) 2016-09-02 2019-01-08 Fuji Xerox Co., Ltd. Information processing apparatus configured to notify about a service
JPWO2017208299A1 (en) * 2016-05-30 2019-02-28 三菱電機株式会社 COMMUNICATION SYSTEM AND COMMUNICATION SYSTEM CONTROL METHOD

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005323070A (en) * 2004-05-07 2005-11-17 Nippon Telegr & Teleph Corp <Ntt> Authentication method for home information appliance by portable telephone
JP2006174320A (en) * 2004-12-20 2006-06-29 Nippon Telegr & Teleph Corp <Ntt> Authentication apparatus and authentication method
JP2006345451A (en) * 2005-06-10 2006-12-21 Canon Inc Management system and control method
JP2011244358A (en) * 2010-05-21 2011-12-01 Nec Access Technica Ltd Wireless communication device, disconnection method and program for the same
JP2012253424A (en) * 2011-05-31 2012-12-20 Ricoh Co Ltd Radio communication system and registrar device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005323070A (en) * 2004-05-07 2005-11-17 Nippon Telegr & Teleph Corp <Ntt> Authentication method for home information appliance by portable telephone
JP2006174320A (en) * 2004-12-20 2006-06-29 Nippon Telegr & Teleph Corp <Ntt> Authentication apparatus and authentication method
JP2006345451A (en) * 2005-06-10 2006-12-21 Canon Inc Management system and control method
JP2011244358A (en) * 2010-05-21 2011-12-01 Nec Access Technica Ltd Wireless communication device, disconnection method and program for the same
JP2012253424A (en) * 2011-05-31 2012-12-20 Ricoh Co Ltd Radio communication system and registrar device

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1071139A (en) * 1996-07-31 1998-03-17 Siemens Ag Radiograph
JP2016015544A (en) * 2014-06-30 2016-01-28 シャープ株式会社 Remote control system and exclusive controller
CN105900520B (en) * 2014-10-15 2017-06-23 株式会社益善 The working environment initialization system and working environment establishing method of electronic equipment
WO2016059680A1 (en) * 2014-10-15 2016-04-21 株式会社E3 Operation environment setting system for electronic device and program for setting operation environment
JP5952978B1 (en) * 2014-10-15 2016-07-13 株式会社E3 Electronic device operating environment setting system, operating environment setting method, and operating environment setting program
CN105900520A (en) * 2014-10-15 2016-08-24 株式会社益善 Operation environment setting system for electronic device and program for setting operation environment
US9655152B2 (en) 2014-10-15 2017-05-16 E3 Co., Ltd Operating environment setting system of electronic device, operating environment setting method and operating environment setting program
WO2016088185A1 (en) * 2014-12-01 2016-06-09 富士通株式会社 Pairing management method, pairing management program, and terminal device
US10362613B2 (en) 2014-12-01 2019-07-23 Fujitsu Limited Pairing management method, recording medium, and terminal apparatus
JPWO2016088185A1 (en) * 2014-12-01 2017-08-24 富士通株式会社 Pairing management method, pairing management program, and terminal device
JP2017507623A (en) * 2014-12-15 2017-03-16 シャオミ・インコーポレイテッド Equipment networking method, apparatus, program, and storage medium
JP2016152571A (en) * 2015-02-19 2016-08-22 Necプラットフォームズ株式会社 Information management device, communication system and control method of information management device
WO2017061186A1 (en) * 2015-10-05 2017-04-13 シャープ株式会社 Terminal device, base station device, and communication method
WO2017061187A1 (en) * 2015-10-05 2017-04-13 シャープ株式会社 Terminal device, base station device, and communication method
JP2017091261A (en) * 2015-11-11 2017-05-25 株式会社リコー Device, program, and system
JP6145905B1 (en) * 2016-05-23 2017-06-14 株式会社Gpro Lighting control system and lighting control method
JP2017212029A (en) * 2016-05-23 2017-11-30 株式会社Gpro Illumination control system and illumination control method
JPWO2017208299A1 (en) * 2016-05-30 2019-02-28 三菱電機株式会社 COMMUNICATION SYSTEM AND COMMUNICATION SYSTEM CONTROL METHOD
US10750549B2 (en) 2016-05-30 2020-08-18 Mitsubishi Electric Corporation Communication system and method of controlling communication system
US10178261B2 (en) 2016-07-12 2019-01-08 Fuji Xerox Co., Ltd. System and image forming apparatus that stops or controls the transmission of control information between at least one controlled device and an external device
US10178251B2 (en) 2016-09-02 2019-01-08 Fuji Xerox Co., Ltd. Information processing apparatus configured to notify about a service

Similar Documents

Publication Publication Date Title
JP2014127729A (en) Gateway device and pairing method
KR102060547B1 (en) Method and apparatus for registering wireless device in wireless communication system
JP6250922B2 (en) Wireless connection system
CN101668290B (en) Method and device for configuring wireless local area network (WLAN)
EP2814273A1 (en) Method of connecting an appliance to a WIFI network
JP5120417B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
CN104540126A (en) Method and system for multiple pieces of WI-FI equipment to automatically access specified access point (AP)
KR20170105566A (en) Method, apparatus and computer program product for local control via intermediate device
JP5987552B2 (en) Wireless communication apparatus, program and method
US20140380443A1 (en) Network connection in a wireless communication device
KR20150112361A (en) Method for setting sensor node and setting security in sensor network, and sensor network system including the same
CN106105131B (en) Electronic device, method, apparatus, and computer medium pairing a plurality of devices
JP6570355B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
KR102214940B1 (en) Method and apparatus for registering wireless device in wireless communication system
JP2012227787A (en) Communication system, communication device, information processing device, and program
KR20140128764A (en) Method for connectivity information control and an electronic device thereof
CN113301563A (en) Network configuration method, device, equipment and storage medium
JP2014033282A (en) Communication method, radio communication device, and program
JP2012165059A (en) Remote communication apparatus and portable terminal
WO2012026932A1 (en) Method and apparatus for over-the-air configuration of a wireless device
JP5721183B2 (en) Wireless LAN communication system, wireless LAN base unit, communication connection establishment method, and program
JP7387275B2 (en) Communication devices, communication methods and programs
JP2016100626A (en) Radio communication method, radio communication system, radio communication device, and program
JP6576129B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
KR102390887B1 (en) Method and apparatus for registering wireless device in wireless communication system

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140908

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20141029

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150707

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150708

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20151110