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
wireless communication
mobile terminal
data
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
裕 津守
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

Abstract

When building a HEMS, pairing with a home appliance or the like must be performed. Therefore, it is necessary to separately provide an interface or a graphical user interface for actually inputting settings in order to connect to a PC or the like in order to input settings to home appliances or the like.
Pairing is performed by performing one-to-one communication using a short-range communication function (infrared communication or the like) mounted on a smartphone or the like. By performing the one-to-one communication using the short-range communication function, there is no possibility that another device intercepts the communication, and the communication is securely established. By using the short-range wireless communication function, the setting can be easily performed without the need to separately provide a setting interface for the home appliance.
[Selection] Figure 1

Description

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

JP 2010-252180 A JP2012-099912A

  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.

  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. It is a block diagram explaining the structure of HAN. 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. It is a sequence diagram in the case of performing pairing by Zigbee communication. It is a sequence diagram in the case of performing pairing by communication (WPS) such as WiFi. It is a figure explaining the information management table of GW apparatus. It is a figure explaining the security table of a GW apparatus. It is a sequence diagram of the 1st pairing method. It is a whole flowchart of the 1st pairing method. It is a flowchart of the GW apparatus of the 1st pairing method. It is a sequence diagram of the 2nd pairing method. It is a whole flowchart of the 2nd pairing method. It is a block diagram explaining the system configuration | structure at the time of registering a portable terminal to GW apparatus. It is a figure explaining QR Code (registered trademark) for registration of a GW apparatus. It is a figure explaining the flame | frame structure of infrared communication (IrDA). It is a figure which shows the registration terminal table of GW apparatus. It is a sequence diagram which registers a portable terminal in GW apparatus. It is a whole flowchart of the 1st pairing method. It is a whole flowchart of the 1st pairing method. It is a whole flowchart of the 2nd pairing method. It is a whole flowchart of the 2nd pairing method. It is a flowchart of the GW apparatus of the 2nd pairing method.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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).

  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.

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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

  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.

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.

  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.

  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.

  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.

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.

  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.

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.

  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)

  1. 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.
  2. 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. .
  3. 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 (12)

* 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
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
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
US10750549B2 (en) 2016-05-30 2020-08-18 Mitsubishi Electric Corporation Communication system and method of controlling communication system

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 (18)

* 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
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
WO2016088185A1 (en) * 2014-12-01 2016-06-09 富士通株式会社 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
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
JP6145905B1 (en) * 2016-05-23 2017-06-14 株式会社Gpro Lighting control system and lighting 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
JP6480481B2 (en) Device connection apparatus and method in portable terminal
US9699174B2 (en) Facilitating network login
JP2018117378A (en) Communication device and communication method
CN105379190B (en) The system and method for being used to indicate service set identifier
EP3078142B1 (en) Methods and systems for enabling communication with a receiver device in a network
CN104798432B (en) The device and method that equipment is wirelessly connected for establishing equipment
CN106165341B (en) Household appliance, network connection system of household appliance and network connection method of household appliance
TWI526096B (en) Extended service set transitions in wireless networks
EP2555490B1 (en) Method for creating Wi-Fi P2P group
US9678693B2 (en) Method of setting wireless connection via near field communication function and image forming apparatus for performing the method
US9031050B2 (en) Using a mobile device to enable another device to connect to a wireless network
CN102387501B (en) Secure wireless link between two devices using probes
US8909196B2 (en) Systems and methods for facilitating communication between mobile devices and wireless access points
EP3484196A1 (en) Method and apparatus for registering wireless device in wireless communication system
US8380982B2 (en) Communication device and communication method
EP1792442B1 (en) Secure pairing for wired or wireless communications devices
JP5449531B2 (en) Method and apparatus for discovering authentication information in a wireless network environment
EP2919527B1 (en) Device association methods and systems
JP2014241487A (en) Communication device
KR100688272B1 (en) Wireless communication system, communication device, communication controlling method, and recording medium of recording communication control program
EP2355585B1 (en) Connecting wireless communications, wireless communications terminal and wireless communications system
JP2014528225A (en) Automatic configuration of wireless devices
CN101534505B (en) Communication device and communication method
JP5235778B2 (en) Communication device and communication device control method
KR20180114252A (en) Smart object identification in the digital home

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