JP2015154130A - Radio communication apparatus and radio communication setting method - Google Patents

Radio communication apparatus and radio communication setting method Download PDF

Info

Publication number
JP2015154130A
JP2015154130A JP2014024155A JP2014024155A JP2015154130A JP 2015154130 A JP2015154130 A JP 2015154130A JP 2014024155 A JP2014024155 A JP 2014024155A JP 2014024155 A JP2014024155 A JP 2014024155A JP 2015154130 A JP2015154130 A JP 2015154130A
Authority
JP
Japan
Prior art keywords
wireless communication
connection
communication
setting
radio communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2014024155A
Other languages
Japanese (ja)
Other versions
JP6277758B2 (en
Inventor
作田 健二
Kenji Sakuta
健二 作田
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2014024155A priority Critical patent/JP6277758B2/en
Publication of JP2015154130A publication Critical patent/JP2015154130A/en
Application granted granted Critical
Publication of JP6277758B2 publication Critical patent/JP6277758B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To easily establish connection of radio communication between a radio communication apparatus and a radio communication terminal.SOLUTION: The radio communication apparatus performing radio communication with the radio communication terminal includes: a temporary connection communication section performing radio communication in a temporarily connected state; a regular connection communication section for performing radio communication in a regularly connected state; and a communication setting section which receives setting information for establishing regular connection by means of the radio communication in the temporarily connected state and establishes the regular connection on the basis of the setting information. The communication setting section searches for a predetermined wireless communication network, determines whether the wireless communication network employs a first system based on peer-to-peer radio connection or a second system based on radio connection with the radio communication terminal that functions as an access point, on the basis of a search result, and establishes the temporary connection with the radio communication terminal according to either the first system or the second system on the basis of a determination result.

Description

本発明は、無線通信装置および無線通信設定方法に関する。   The present invention relates to a wireless communication apparatus and a wireless communication setting method.

従来、無線通信機能を備えた機器同士の無線通信の接続を確立するためのユーザーの設定作業を簡便にする手法が種々提案されている。例えば特許文献1には、無線通信端末と無線通信装置とを無線LANのアドホックモードで仮接続した上で、インフラストラクチャモードの無線LANの設定情報を無線通信端末から無線通信装置に送信させ、インフラストラクチャモードの無線LANで無線通信端末と無線通信装置との本接続を確立する技術が記載されている。   Conventionally, various methods for simplifying a user's setting work for establishing a wireless communication connection between devices having a wireless communication function have been proposed. For example, in Patent Document 1, a wireless communication terminal and a wireless communication device are temporarily connected in a wireless LAN ad-hoc mode, and infrastructure mode wireless LAN setting information is transmitted from the wireless communication terminal to the wireless communication device. A technique for establishing a main connection between a wireless communication terminal and a wireless communication apparatus using a structure mode wireless LAN is described.

特開2005−198154号公報JP 2005-198154 A

しかし、アドホックモードの無線LANは、セキュリティが脆弱であるため、アドホックモードの無線LAN通信機能は無線通信端末でサポートされなくなりつつある。このため、今後は、無線通信端末と無線通信装置とを無線LANのアドホックモードで仮接続した上で、インフラストラクチャモードの無線LANの設定情報を無線通信端末から無線通信装置に送信することができなくなる可能性がある。
本発明は、無線通信装置と無線通信端末との無線通信を容易に確立できるようにすることを目的とする。
However, since the ad hoc mode wireless LAN has weak security, the ad hoc mode wireless LAN communication function is not supported by the wireless communication terminal. Therefore, in the future, it is possible to transmit the infrastructure mode wireless LAN setting information from the wireless communication terminal to the wireless communication device after temporarily connecting the wireless communication terminal and the wireless communication device in the ad hoc mode of the wireless LAN. There is a possibility of disappearing.
An object of the present invention is to enable easy establishment of wireless communication between a wireless communication apparatus and a wireless communication terminal.

(1)上記目的を達成するための無線通信装置は無線通信端末と無線通信を行う無線通信装置であって、仮接続の無線通信を行う仮接続通信部と、本接続の無線通信を行う本接続通信部と、前記仮接続の無線通信により、前記本接続を確立するための設定情報を前記無線通信端末から受信し、前記設定情報に基づいて前記本接続の設定を行う通信設定部と、を備え、前記通信設定部は、ピアツーピアの無線接続を行う第一方式の無線通信の無線通信ネットワークと、前記無線通信端末が機能するアクセスポイントに無線接続する第二方式の無線通信の無線通信ネットワークを探索し、探索で発見された無線通信ネットワークが対応する方式で前記無線通信端末との前記仮接続を確立する。   (1) A wireless communication device for achieving the above object is a wireless communication device that performs wireless communication with a wireless communication terminal, and a temporary connection communication unit that performs temporary connection wireless communication and a book that performs wireless communication for main connection. A communication setting unit configured to receive setting information for establishing the main connection from the wireless communication terminal by wireless communication of the temporary connection, and to set the main connection based on the setting information; The communication setting unit includes a wireless communication network of a first method wireless communication for performing peer-to-peer wireless connection, and a wireless communication network of a second method wireless communication for wireless connection to an access point where the wireless communication terminal functions And the provisional connection with the wireless communication terminal is established by a method supported by the wireless communication network discovered by the search.

この発明によると、無線通信端末が無線通信する方式に応じて無線通信装置と無線通信端末との仮接続を確立した上で、本接続による無線通信を確立するための設定情報を無線通信装置と無線通信端末が共有することができる。したがって、無線通信装置と無線通信端末との無線通信の接続を容易に確立することができる。   According to the present invention, after establishing a temporary connection between a wireless communication device and a wireless communication terminal according to a method in which the wireless communication terminal performs wireless communication, setting information for establishing wireless communication by this connection is transmitted to the wireless communication device. Wireless communication terminals can share. Therefore, a wireless communication connection between the wireless communication device and the wireless communication terminal can be easily established.

(2)上記目的を達成するための無線通信装置において、前記通信設定部は、探索により発見されたネットワーク識別情報に付加された属性に基づいて、前記無線通信ネットワークが前記第一方式と前記第二方式のいずれの方式であるかを判定してもよい。
この構成を採用すると、無線LANの規格で定められた情報に基づいて、第一方式と第二方式のいずれの方式で無線通信端末と仮接続できるかを判定することができる。
(2) In the wireless communication apparatus for achieving the above object, the communication setting unit determines whether the wireless communication network is the first method and the first based on an attribute added to network identification information discovered by searching. It may be determined which of the two methods is used.
By adopting this configuration, it is possible to determine whether the first communication system or the second communication system can be temporarily connected to the wireless communication terminal based on information defined by the wireless LAN standard.

なお、以上の発明は、無線通信システムとしても無線通信設定方法としても無線通信設定プログラムとしても無線通信設定プログラムを記録した記録媒体としても構成可能である。また、無線通信装置が備える各部の機能は、ハードウェアとソフトウェアの協働によって実現しても良いし、ハードウェアによって実現しても良い。   The above invention can be configured as a wireless communication system, a wireless communication setting method, a wireless communication setting program, or a recording medium recording the wireless communication setting program. Moreover, the function of each part with which a radio | wireless communication apparatus is provided may be implement | achieved by cooperation of hardware and software, and may be implement | achieved by hardware.

本発明の実施形態にかかる無線通信システムを示す模式図。The schematic diagram which shows the radio | wireless communications system concerning embodiment of this invention. 本発明の実施形態にかかる無線通信システムを示すブロック図。1 is a block diagram showing a wireless communication system according to an embodiment of the present invention. 本発明の実施形態にかかる無線通信設定方法のシーケンス図。The sequence diagram of the radio | wireless communication setting method concerning embodiment of this invention.

以下、本発明の実施の形態を添付図面を参照しながら順に説明する。尚、各図において対応する構成要素には同一の符号が付され、重複する説明は省略される。
1.無線通信装置の構成
図1は、本発明による無線通信装置の一実施例としての印刷装置2と、無線通信端末の一実施例としてのPC(Personal Computer)1と、アクセスポイント3とによって構成された無線通信システムを示している。本実施例においてアクセスポイント3、印刷装置2およびPC1は、IEEE802.11の規格に準じた無線通信機能を備えている。以下では、IEEE802.11に準じた通信を無線LAN通信というものとする。
Hereinafter, embodiments of the present invention will be described in order with reference to the accompanying drawings. In addition, the same code | symbol is attached | subjected to the corresponding component in each figure, and the overlapping description is abbreviate | omitted.
1. Configuration of Wireless Communication Device FIG. 1 includes a printing device 2 as an embodiment of a wireless communication device according to the present invention, a PC (Personal Computer) 1 as an embodiment of a wireless communication terminal, and an access point 3. 1 shows a wireless communication system. In the present embodiment, the access point 3, the printing apparatus 2, and the PC 1 have a wireless communication function conforming to the IEEE 802.11 standard. Hereinafter, communication conforming to IEEE 802.11 is referred to as wireless LAN communication.

図2に示すように、無線通信装置としての印刷装置2は、印刷部21、無線通信部22および制御部23を備えている。印刷部21は、電子写真方式、インクジェット方式等の周知の印刷方式において写真紙・普通紙・OHPシートなどの印刷媒体に印刷を実行するためのアクチュエーターやセンサーや駆動回路や機械部品を備えている。無線通信部22は、IEEE802.11に準じた無線LAN通信をするための電子回路を備える。制御部23は、図示しないCPU、メインメモリ、不揮発性メモリ、入出力回路等を備える。制御部23は、不揮発性メモリに格納されている制御プログラムをメインメモリにロードしてCPUで実行することによって、印刷部21および無線通信部22を制御する。この制御プログラムには、OS(Operating System)の他、制御部23を仮接続通信部231、本接続通信部232および通信設定部233として機能させる無線通信設定プログラムが含まれている。   As illustrated in FIG. 2, the printing apparatus 2 as a wireless communication apparatus includes a printing unit 21, a wireless communication unit 22, and a control unit 23. The printing unit 21 includes an actuator, a sensor, a drive circuit, and a mechanical part for executing printing on a printing medium such as photographic paper, plain paper, and an OHP sheet in a known printing method such as an electrophotographic method or an inkjet method. . The wireless communication unit 22 includes an electronic circuit for performing wireless LAN communication conforming to IEEE 802.11. The control unit 23 includes a CPU, a main memory, a nonvolatile memory, an input / output circuit, and the like (not shown). The control unit 23 controls the printing unit 21 and the wireless communication unit 22 by loading a control program stored in the nonvolatile memory into the main memory and executing it by the CPU. In addition to the OS (Operating System), this control program includes a wireless communication setting program that causes the control unit 23 to function as the temporary connection communication unit 231, the main connection communication unit 232, and the communication setting unit 233.

図2に示すように、PC1は、無線通信部11および制御部12を備えている。無線通信部11は、IEEE802.11に準じた無線LAN通信をするための電子回路を備える。制御部12は、図示しないCPU、メインメモリ、ROM、入出力回路、外部記憶装置等を備える。制御部12は、各種のプログラムをメインメモリにロードしてCPUで実行することによって無線通信部11を制御する。制御部12が実行するプログラムには、OSの他、CD、インターネット等を用いてインストールされて実行されることにより、制御部12を通信設定支援部122として機能させる通信設定支援プログラムが含まれる。また本実施例では、制御部12をソフトアクセスポイント121として機能させるsoftAPと、制御部12をアドホックモード通信部123として機能させるアドホックモード通信プログラムの少なくともいずれか一方がPC1のOSに含まれていることを想定している。ソフトアクセスポイント121は、PC1を仮想的に無線アクセスポイントとして機能させる。   As shown in FIG. 2, the PC 1 includes a wireless communication unit 11 and a control unit 12. The wireless communication unit 11 includes an electronic circuit for performing wireless LAN communication according to IEEE802.11. The control unit 12 includes a CPU, a main memory, a ROM, an input / output circuit, an external storage device and the like (not shown). The control unit 12 controls the wireless communication unit 11 by loading various programs into the main memory and executing them by the CPU. The program executed by the control unit 12 includes a communication setting support program that causes the control unit 12 to function as the communication setting support unit 122 by being installed and executed using a CD, the Internet, or the like in addition to the OS. In the present embodiment, the OS of the PC 1 includes at least one of a soft AP that causes the control unit 12 to function as the soft access point 121 and an ad hoc mode communication program that causes the control unit 12 to function as the ad hoc mode communication unit 123. Assumes that. The soft access point 121 causes the PC 1 to function virtually as a wireless access point.

2.無線通信設定方法
次に図3を参照しながら、アクセスポイント3が中継機となる無線LANを介して印刷装置2をPC1に接続するための無線通信設定方法を説明する。ここで、PC1には、アクセスポイント3が中継器となる無線LANのSSID(Service Set Identifier)および暗号鍵が予め設定されており、PC1とアクセスポイント3とは無線LANのインフラストラクチャモードにより接続されているものとする。
2. Wireless Communication Setting Method Next, a wireless communication setting method for connecting the printing apparatus 2 to the PC 1 via a wireless LAN in which the access point 3 is a relay machine will be described with reference to FIG. Here, a wireless LAN SSID (Service Set Identifier) and an encryption key for which the access point 3 is a repeater are set in advance in the PC 1, and the PC 1 and the access point 3 are connected by the infrastructure mode of the wireless LAN. It shall be.

図3に示すPC1の処理は、ユーザーの操作に応じてPC1で通信設定支援プログラムが起動することより開始される。具体的には、印刷装置2に同梱されているセットアップディスクをPC1にセットすると、セットアップディスクに記憶されている通信設定支援プログラムが制御部12に自動的にロードされて起動される。通信設定支援プログラムが起動すると制御部12は通信設定支援部122として機能する。また図3に示す印刷装置2の処理は、ユーザーが印刷装置2の電源をはじめてオンにすることによって開始される。すなわち、本実施例の無線通信設定方法は、印刷装置2に同梱されているセットアップディスクをユーザーがPC1にセットし、印刷装置2の電源をはじめてオンにすることによって、有効に機能するものである。   The processing of the PC 1 shown in FIG. 3 is started when the communication setting support program is started on the PC 1 in response to a user operation. Specifically, when the setup disk bundled with the printing apparatus 2 is set in the PC 1, the communication setting support program stored in the setup disk is automatically loaded into the control unit 12 and started. When the communication setting support program is activated, the control unit 12 functions as the communication setting support unit 122. Also, the processing of the printing apparatus 2 shown in FIG. 3 is started when the user turns on the printing apparatus 2 for the first time. In other words, the wireless communication setting method of this embodiment functions effectively when the user sets the setup disk included with the printing apparatus 2 in the PC 1 and turns on the printing apparatus 2 for the first time. is there.

起動した通信設定支援部122は、はじめにアクセスポイント3のSSIDと暗号鍵を取得する(S1)。具体的には、通信設定支援部122は、アクセスポイント3のSSIDと暗号鍵をPC1のOSに問い合わせて取得する。   The activated communication setting support unit 122 first acquires the SSID and encryption key of the access point 3 (S1). Specifically, the communication setting support unit 122 inquires and acquires the SSID and encryption key of the access point 3 from the OS of the PC 1.

次に通信設定支援部122は、アクセスポイント3の無線LANとの接続を切断する(S2)。具体的には、通信設定支援部122は、アクセスポイント3のSSIDによって識別されるインフラストラクチャモードの無線LANとの接続を切断するように無線通信部11に指示する。これにより、アドホックモードの無線LANをPC1が生成することも、PC1がアクセスポイントとなるインフラストラクチャモードの無線LANをPC1が生成することも可能な状態になる。   Next, the communication setting support unit 122 disconnects the access point 3 from the wireless LAN (S2). Specifically, the communication setting support unit 122 instructs the wireless communication unit 11 to disconnect from the infrastructure mode wireless LAN identified by the SSID of the access point 3. As a result, the PC 1 can generate an ad hoc mode wireless LAN, or the PC 1 can generate an infrastructure mode wireless LAN in which the PC 1 serves as an access point.

次に通信設定支援部122は、softAPプログラムがPC1にインストールされているか否かを判定し、インストールされている場合にはソフトアクセスポイント121を起動してSSIDと暗号鍵を設定し、インストールされていない場合には、アドホックモード通信部123を起動してSSIDと暗号鍵を設定する(S3)。すなわち、通信設定支援部122は、PC1が中継器となる無線LANまたはPC1が親機となるP2Pの無線LANを生成する。ここで設定されるSSIDには予め通信設定支援プログラムに含まれている値が用いられる。またここで設定される暗号鍵は、通信設定支援プログラムにおいて予め決められた規則に基づいてSSIDから生成される。   Next, the communication setting support unit 122 determines whether the softAP program is installed in the PC 1. If installed, the communication setting support unit 122 activates the soft access point 121 to set the SSID and the encryption key, and is installed. If not, the ad hoc mode communication unit 123 is activated to set the SSID and encryption key (S3). That is, the communication setting support unit 122 generates a wireless LAN in which the PC 1 is a repeater or a P2P wireless LAN in which the PC 1 is a parent device. A value included in the communication setting support program in advance is used as the SSID set here. The encryption key set here is generated from the SSID based on a rule determined in advance in the communication setting support program.

次にPC1はSSIDと属性をブロードキャストする。ここでブロードキャストされる属性は、PC1がアクセスポイント(中継器)とクリエイター(親機)のいずれであるかを示す情報である。ソフトアクセスポイント121が起動している場合には、アクセスポイントの属性が無線通信部11によってブロードキャストされる。アドホックモード通信部123が起動している場合には、クリエイターの属性が無線通信部11によってブロードキャストされる。クリエイターの属性とは、アドホックモードでの無線LAN通信において親機であることを示す情報である。   Next, the PC 1 broadcasts the SSID and attributes. The attribute broadcast here is information indicating whether the PC 1 is an access point (relay device) or a creator (master device). When the soft access point 121 is activated, the attribute of the access point is broadcast by the wireless communication unit 11. When the ad hoc mode communication unit 123 is activated, the creator's attribute is broadcast by the wireless communication unit 11. The attribute of the creator is information indicating that it is a parent device in wireless LAN communication in the ad hoc mode.

印刷装置2の電源がはじめてオンになると通信設定部233が起動し、通信エリア内に存在する任意の無線通信端末から送信されるSSIDを受信し、予め決められた時間内に、予め決められたSSIDを受信したか否かを判定する(S5)。すなわち、通信設定部233は予め決められた無線通信ネットワークを探索する。ここで、予め決められたSSIDは、PC1で実行される通信設定支援プログラムによってソフトアクセスポイント121またはアドホックモード通信部123に設定されるSSIDと同一の値である。したがって、通信設定部233は、通信設定支援プログラムを実行しているPC1を探索することになる。予め決められた時間内に予め決められたSSIDを受信しなかった場合、セットアップモードが終了する。   When the power of the printing apparatus 2 is turned on for the first time, the communication setting unit 233 is activated, receives the SSID transmitted from any wireless communication terminal existing in the communication area, and is determined in advance within a predetermined time. It is determined whether or not an SSID has been received (S5). That is, the communication setting unit 233 searches for a predetermined wireless communication network. Here, the predetermined SSID is the same value as the SSID set in the soft access point 121 or the ad hoc mode communication unit 123 by the communication setting support program executed on the PC 1. Therefore, the communication setting unit 233 searches for the PC 1 that is executing the communication setting support program. If the predetermined SSID is not received within the predetermined time, the setup mode ends.

予め決められた時間内に予め決められたSSIDを受信した場合、印刷装置2は、アドホックモードまたはインフラストラクチャモードでPC1との仮接続を確立するために、受信したSSIDと属性とに基づいて仮接続を設定する(S6)。具体的には、通信設定部233は、受信したSSIDから予め決められた規則に基づいて暗号鍵を生成し、受信したSSIDと生成した暗号鍵とを無線通信部22に設定する。ここで暗号鍵は、通信設定支援プログラムが暗号鍵を生成したときに用いた規則と同じ規則に基づいて生成されるため、PC1に設定される暗号鍵と、印刷装置2に設定される暗号鍵は同一になる。なお、予め決められた時間内に互いに異なる予め決められた複数のSSIDを受信した場合、印刷装置2は、それらのSSIDのうち最初に受信したSSIDに基づいて仮接続を設定する。   If the printing apparatus 2 receives a predetermined SSID within a predetermined time, the printing apparatus 2 uses the temporary SSID and attribute to establish a temporary connection with the PC 1 in the ad hoc mode or the infrastructure mode. Connection is set (S6). Specifically, the communication setting unit 233 generates an encryption key based on a rule determined in advance from the received SSID, and sets the received SSID and the generated encryption key in the wireless communication unit 22. Here, since the encryption key is generated based on the same rule used when the communication setting support program generates the encryption key, the encryption key set in the PC 1 and the encryption key set in the printing apparatus 2 Are the same. When a plurality of different predetermined SSIDs are received within a predetermined time, the printing apparatus 2 sets a temporary connection based on the first received SSID among those SSIDs.

続いて印刷装置2は、受信した属性に応じた方式でPC1との仮接続を確立する(S7)。具体的には、PC1が生成した無線LANがアドホックモードであるなら、通信設定部233は、規格で定められたアドホックモードの通信方式でPC1との仮接続を確立する。またPC1が生成した無線LANがインフラストラクチャモードであるなら、通信設定部233は規格で定められたアドホックモードの通信方式でPC1との仮接続を確立する。   Subsequently, the printing apparatus 2 establishes a temporary connection with the PC 1 by a method according to the received attribute (S7). Specifically, if the wireless LAN generated by the PC 1 is in the ad hoc mode, the communication setting unit 233 establishes a temporary connection with the PC 1 using the ad hoc mode communication method defined in the standard. If the wireless LAN generated by the PC 1 is in the infrastructure mode, the communication setting unit 233 establishes a temporary connection with the PC 1 using the ad hoc mode communication method defined by the standard.

続いて印刷装置2は、本接続を確立するための設定情報をPC1に要求する(S8)。すなわち、印刷装置2は、アクセスポイント3が中継機となる無線LANを介して印刷装置2をPC1に本接続するための設定情報をPC1に要求する。具体的には、通信設定部233は、接続が確立されたインフラストラクチャモードまたはアドホックモードの無線LAN通信で、予め決められたメッセージをPC1に無線通信部22から送信する。ここで予め決められたメッセージとは、無線LAN通信の設定を支援する対象とする装置であることを識別できるように、PC1で実行される通信設定支援プログラムにおいて予め決められているメッセージである。   Subsequently, the printing apparatus 2 requests setting information for establishing this connection from the PC 1 (S8). That is, the printing apparatus 2 requests the PC 1 for setting information for making a main connection of the printing apparatus 2 to the PC 1 via the wireless LAN in which the access point 3 serves as a relay machine. Specifically, the communication setting unit 233 transmits a predetermined message from the wireless communication unit 22 to the PC 1 by the wireless LAN communication in the infrastructure mode or the ad hoc mode in which the connection is established. Here, the predetermined message is a message determined in advance in the communication setting support program executed by the PC 1 so that it can be identified that the device is a target device that supports the setting of wireless LAN communication.

本接続の設定情報を要求されると、PC1は、印刷装置2と仮接続した状態でアクセスポイント3のSSIDと暗号鍵を印刷装置2に送信する(S9)。具体的には、PC1の通信設定支援部122が、予め決められたメッセージを受信したか否かを判定し、予め決められたメッセージを受信した場合には、アクセスポイント3のSSIDと暗号鍵を印刷装置2に送信する。   When the setting information for this connection is requested, the PC 1 transmits the SSID and the encryption key of the access point 3 to the printing apparatus 2 while temporarily connected to the printing apparatus 2 (S9). Specifically, the communication setting support unit 122 of the PC 1 determines whether or not a predetermined message has been received. When the predetermined message is received, the SSID and the encryption key of the access point 3 are obtained. It transmits to the printing apparatus 2.

続いてPC1は、印刷装置2との仮接続を切断する(S10)。具体的には、アクセスポイント3のSSIDと暗号鍵を印刷装置2に送信した後に、通信設定支援部122は、仮接続に用いたSSIDで識別される無線LANとの接続を切断するように無線通信部11に指示する。   Subsequently, the PC 1 disconnects the temporary connection with the printing apparatus 2 (S10). Specifically, after transmitting the SSID and encryption key of the access point 3 to the printing apparatus 2, the communication setting support unit 122 wirelessly disconnects the connection with the wireless LAN identified by the SSID used for temporary connection. The communication unit 11 is instructed.

続いてPC1は、アクセスポイント3の無線LANとの再接続を確立する(S11)。具体的には、通信設定支援部122は、アクセスポイント3のSSIDによって識別される無線LANとの接続を確立するように無線通信部11に指示する。その結果、無線通信部11は規格で定められたインフラストラクチャモードの通信方式でアクセスポイント3との接続を確立する。   Subsequently, the PC 1 establishes reconnection with the wireless LAN of the access point 3 (S11). Specifically, the communication setting support unit 122 instructs the wireless communication unit 11 to establish a connection with the wireless LAN identified by the SSID of the access point 3. As a result, the wireless communication unit 11 establishes a connection with the access point 3 using an infrastructure mode communication method defined by the standard.

仮接続した状態でPC1からアクセスポイント3のSSIDと暗号鍵を受信すると、印刷装置2は、本接続用のSSIDと暗号鍵を設定する(S12)。具体的には、通信設定部233は、PC1との仮接続中に受信したアクセスポイント3のSSIDと暗号鍵を無線通信部22に設定する。   When the SSID and encryption key of the access point 3 are received from the PC 1 in the temporarily connected state, the printing apparatus 2 sets the SSID and encryption key for main connection (S12). Specifically, the communication setting unit 233 sets the SSID and encryption key of the access point 3 received during temporary connection with the PC 1 in the wireless communication unit 22.

続いて印刷装置2は、アクセスポイント3のSSIDと暗号鍵を用いてアクセスポイント3の無線LANとの本接続を確立する(S13)。具体的には、通信設定部233は、アクセスポイント3のSSIDによって識別される無線LANとの接続を確立するように無線通信部11に指示する。その結果、無線通信部22は規格で定められたインフラストラクチャモードの通信方式でアクセスポイント3を中継機としてPC1との本接続を確立する。   Subsequently, the printing apparatus 2 establishes the main connection with the wireless LAN of the access point 3 using the SSID and the encryption key of the access point 3 (S13). Specifically, the communication setting unit 233 instructs the wireless communication unit 11 to establish a connection with the wireless LAN identified by the SSID of the access point 3. As a result, the wireless communication unit 22 establishes the main connection with the PC 1 using the access point 3 as a relay in the infrastructure mode communication method defined by the standard.

以上の処理によって、印刷装置2とPC1とは、アクセスポイント3を介したインフラストラクチャモードの無線LANで接続された状態となる。すなわち、印刷装置2とPC1とはアクセスポイント3を中継器としてインフラストラクチャモードの通信方式で無線通信できる状態となる。   With the above processing, the printing apparatus 2 and the PC 1 are connected to each other via an infrastructure mode wireless LAN via the access point 3. That is, the printing apparatus 2 and the PC 1 are in a state where they can wirelessly communicate with the communication method in the infrastructure mode using the access point 3 as a repeater.

以上説明した実施例によると、ユーザーは、印刷装置2に同梱されているセットアップディスクをPC1にセットし、印刷装置2の電源をオンにするだけで、印刷装置2とPC1とをインフラストラクチャモードの無線LANで接続することができる。そしてPC1にsoftAPがインストールされているか否かに関わらず、印刷装置2とPC1とを仮接続した後に、アクセスポイント3を中継器とするインフラストラクチャモードの無線LANで本接続することができる。したがって、本実施例によると、PC1にsoftAPがインストールされているか否かに関わらず、無線通信装置としての印刷装置2と無線通信端末としてのPC1とのセキュアな無線通信の接続を容易に確立することができる。   According to the embodiment described above, the user sets the setup disk enclosed with the printing apparatus 2 to the PC 1 and turns on the printing apparatus 2 to turn on the printing apparatus 2 and the PC 1 in the infrastructure mode. Can be connected by wireless LAN. Regardless of whether or not the soft AP is installed in the PC 1, after temporarily connecting the printing apparatus 2 and the PC 1, the main connection can be made by the infrastructure mode wireless LAN using the access point 3 as a relay. Therefore, according to the present embodiment, a secure wireless communication connection between the printing apparatus 2 as the wireless communication apparatus and the PC 1 as the wireless communication terminal is easily established regardless of whether or not the soft AP is installed in the PC 1. be able to.

また以上説明した実施例によると、PC1にsoftAPがインストールされている場合には、PC1を中継機とするインフラストラクチャモードの無線LANでPC1と印刷装置2とが仮接続されるため、PC1と印刷装置2とをアドホックモードの無線LANで仮接続する場合に比べてセキュアである。   Further, according to the embodiment described above, when the soft AP is installed in the PC 1, the PC 1 and the printing apparatus 2 are temporarily connected by the infrastructure mode wireless LAN using the PC 1 as a relay. This is more secure than the case where the apparatus 2 is temporarily connected to the apparatus 2 through an ad hoc mode wireless LAN.

また以上説明した実施例によると、SSIDとともにブロードキャストされる属性(アクセスポイント/クリエイター)に基づいてPC1が生成した無線LANのモードが判定されるため、規格で定められた情報に基づいて、PC1と仮接続可能な無線LANのモードを判定することができる。   Further, according to the embodiment described above, since the mode of the wireless LAN generated by the PC 1 is determined based on the attribute (access point / creator) broadcast together with the SSID, the PC 1 The mode of the wireless LAN that can be temporarily connected can be determined.

3.他の実施形態
尚、本発明の技術的範囲は、上述した実施例に限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。以下、上述した実施例を変形した実施形態を例示する。
3. Other Embodiments The technical scope of the present invention is not limited to the above-described embodiments, and it goes without saying that various modifications can be made without departing from the scope of the present invention. Hereinafter, embodiments in which the above-described examples are modified will be exemplified.

仮接続の無線通信方式は、ピアツーピアの方式または無線通信端末が中継機として機能する方式であれば良く、無線LANの代わりにBlueToothや赤外線通信(IrDA等)の方式を用いても良い。したがって仮接続に用いる無線通信ネットワークを探索するときには、ネットワーク識別情報以外の情報を探索しても良いし、ネットワーク識別情報に付加された属性以外の情報に基づいて無線通信ネットワークの方式を判定してもよい。   The temporary connection wireless communication method may be a peer-to-peer method or a method in which a wireless communication terminal functions as a relay device, and a Bluetooth or infrared communication (IrDA, etc.) method may be used instead of the wireless LAN. Therefore, when searching for a wireless communication network used for temporary connection, information other than the network identification information may be searched, or the wireless communication network method may be determined based on information other than the attribute added to the network identification information. Also good.

本接続の無線通信方式は、中継機を介したセキュアで安定した通信方式であることが望ましいが、適用される無線通信装置と無線通信端末の機能に適合するのであれば、いかなる無線通信方式を用いてもよい。   The wireless communication method for this connection is preferably a secure and stable communication method via a repeater, but any wireless communication method can be used as long as it matches the functions of the applicable wireless communication device and wireless communication terminal. It may be used.

SSIDはESSID(Extended Service Set Identifier)を含むものとして構成しても良いし、ネットワーク識別情報として、SSIDのかわりにBSSID(Basic Service Set Identifier)を用いても良い。また例えば、仮接続または本接続を確立するための設定情報には、暗号鍵などの何らかのパスフレーズを含めることが望ましいが、必ずしもパスフレーズを含めなくても良い。   The SSID may be configured to include an ESSID (Extended Service Set Identifier), or BSSID (Basic Service Set Identifier) may be used as network identification information instead of the SSID. Further, for example, it is desirable to include some passphrase such as an encryption key in the setting information for establishing the temporary connection or the main connection, but it is not always necessary to include the passphrase.

無線通信装置は、スキャナー(画像読取装置)であってもよいし、ファクシミリであってもよいし、プロジェクターであってもよいし、スキャン機能やファクシミリ機能等を備えたマルチファンクションプリンターであってもよいし、PCやスマートフォンであってもよい。   The wireless communication device may be a scanner (image reading device), a facsimile, a projector, a multifunction printer having a scanning function, a facsimile function, or the like. It may be a PC or a smartphone.

1…PC、2…印刷装置、3…アクセスポイント、11…無線通信部、12…制御部、21…印刷部、22…無線通信部、23…制御部、121…ソフトアクセスポイント、122…通信設定支援部、123…アドホックモード通信部、231…仮接続通信部、232…本接続通信部、233…通信設定部 DESCRIPTION OF SYMBOLS 1 ... PC, 2 ... Printing apparatus, 3 ... Access point, 11 ... Wireless communication part, 12 ... Control part, 21 ... Printing part, 22 ... Wireless communication part, 23 ... Control part, 121 ... Soft access point, 122 ... Communication Setting support unit, 123 ... Ad hoc mode communication unit, 231 ... Temporary connection communication unit, 232 ... Main connection communication unit, 233 ... Communication setting unit

Claims (5)

無線通信端末と無線通信を行う無線通信装置であって、
仮接続の無線通信を行う仮接続通信部と、
本接続の無線通信を行う本接続通信部と、
前記仮接続の無線通信により、前記本接続を確立するための設定情報を前記無線通信端末から受信し、前記設定情報に基づいて前記本接続の設定を行う通信設定部と、
を備え、
前記通信設定部は、ピアツーピアの無線接続を行う第一方式の無線通信の無線通信ネットワークと、前記無線通信端末が機能するアクセスポイントに無線接続する第二方式の無線通信の無線通信ネットワークを探索し、探索で発見された無線通信ネットワークが対応する方式で前記無線通信端末との前記仮接続を確立する、
無線通信装置。
A wireless communication device that performs wireless communication with a wireless communication terminal,
A temporary connection communication unit for performing temporary connection wireless communication;
A connection communication unit for performing wireless communication of the connection;
A communication setting unit configured to receive setting information for establishing the main connection from the wireless communication terminal by the temporary connection wireless communication, and to set the main connection based on the setting information;
With
The communication setting unit searches for a wireless communication network of a first method wireless communication that performs peer-to-peer wireless connection and a wireless communication network of a second method wireless communication that wirelessly connects to an access point where the wireless communication terminal functions. Establishing the temporary connection with the wireless communication terminal in a manner supported by the wireless communication network discovered in the search;
Wireless communication device.
前記通信設定部は、探索により発見されたネットワーク識別情報に付加された属性に基づいて、前記無線通信ネットワークが前記第一方式と前記第二方式のいずれの方式であるかを判定する、
請求項1に記載の無線通信装置。
The communication setting unit determines whether the wireless communication network is the first method or the second method based on the attribute added to the network identification information discovered by the search.
The wireless communication apparatus according to claim 1.
前記第一方式は、アドホックモードによる無線通信であり、
前記第二方式は、前記無線通信端末が機能するアクセスポイントに接続する無線通信であり、
前記本接続の無線通信は、中継装置を介して前記無線通信端末と接続する無線通信である、
請求項1または2に記載の無線通信装置。
The first method is wireless communication in an ad hoc mode,
The second method is wireless communication connected to an access point where the wireless communication terminal functions,
The wireless communication of the main connection is wireless communication connected to the wireless communication terminal via a relay device.
The wireless communication apparatus according to claim 1 or 2.
前記通信設定部は、前記無線通信端末に設定されている前記設定情報を、前記仮接続の無線通信により前記無線通信端末から受信し、前記設定情報を前記本接続の設定に適用する、
請求項1ないし3のいずれかに記載の無線通信装置。
The communication setting unit receives the setting information set in the wireless communication terminal from the wireless communication terminal through the temporary connection wireless communication, and applies the setting information to the setting of the main connection.
The wireless communication apparatus according to claim 1.
無線通信端末と無線通信を行うための無線通信設定方法であって、
仮接続の無線通信を行う段階と、
本接続の無線通信を行う段階と、
前記仮接続の無線通信により前記本接続を確立するための設定情報を受信し、前記設定情報に基づいて前記本接続の設定を行う段階と、
を含み、
前記本接続を確立する段階において、ピアツーピアの無線接続による第一方式の無線通信ネットワークと、前記無線通信端末が機能するアクセスポイントに無線接続する第二方式の無線通信ネットワークを探索し、探索で発見された無線通信ネットワークの方式で前記無線通信端末との前記仮接続を確立する、
無線通信設定方法。
A wireless communication setting method for performing wireless communication with a wireless communication terminal,
Performing temporary connection wireless communication;
Performing wireless communication for this connection;
Receiving setting information for establishing the main connection by wireless communication of the temporary connection, and setting the main connection based on the setting information;
Including
In the step of establishing the main connection, a first-type wireless communication network by peer-to-peer wireless connection and a second-type wireless communication network wirelessly connected to an access point where the wireless communication terminal functions are searched and found by searching. Establishing the temporary connection with the wireless communication terminal in the form of a wireless communication network
Wireless communication setting method.
JP2014024155A 2014-02-12 2014-02-12 Wireless communication apparatus and wireless communication setting method Active JP6277758B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014024155A JP6277758B2 (en) 2014-02-12 2014-02-12 Wireless communication apparatus and wireless communication setting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014024155A JP6277758B2 (en) 2014-02-12 2014-02-12 Wireless communication apparatus and wireless communication setting method

Publications (2)

Publication Number Publication Date
JP2015154130A true JP2015154130A (en) 2015-08-24
JP6277758B2 JP6277758B2 (en) 2018-02-14

Family

ID=53896012

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014024155A Active JP6277758B2 (en) 2014-02-12 2014-02-12 Wireless communication apparatus and wireless communication setting method

Country Status (1)

Country Link
JP (1) JP6277758B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016204190A1 (en) * 2015-06-16 2016-12-22 ヤマハ株式会社 Connection method for communication device, communication device, and control terminal device
JP2017050780A (en) * 2015-09-03 2017-03-09 ブラザー工業株式会社 Communication device
JP2017069721A (en) * 2015-09-29 2017-04-06 ブラザー工業株式会社 Communication apparatus
JP2018046359A (en) * 2016-09-13 2018-03-22 富士ゼロックス株式会社 Apparatus and communication system
JP2018088582A (en) * 2016-11-28 2018-06-07 セイコーエプソン株式会社 Radio communication terminal, radio communication device, radio communication system, radio communication method, and radio communication program
JP2018088121A (en) * 2016-11-29 2018-06-07 フロンティアビジョン株式会社 Registration system and registration method
JP2018166311A (en) * 2017-03-28 2018-10-25 サクサ株式会社 Information setting method
JP2019016866A (en) * 2017-07-04 2019-01-31 キヤノン株式会社 Communication device, external device, control method of communication device, control method of external device, and program
JP2020529280A (en) * 2017-08-10 2020-10-08 青島海爾洗衣机有限公司QingDao Haier Washing Machine Co.,Ltd. Washing machine clothing identification system, binding of the system and clothing identification method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003163668A (en) * 2001-11-27 2003-06-06 Seiko Epson Corp Adaptor for radio network
JP2005136591A (en) * 2003-10-29 2005-05-26 Komatsu Ltd Method and program of setting communication environment
JP2005198154A (en) * 2004-01-09 2005-07-21 Seiko Epson Corp Method for setting radio communication equipment
JP2005303821A (en) * 2004-04-14 2005-10-27 Canon Inc Radio terminal device
JP2008182439A (en) * 2007-01-24 2008-08-07 Fuji Xerox Co Ltd Information processing apparatus, wireless communication equipment, wireless communication system, and wireless setting program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003163668A (en) * 2001-11-27 2003-06-06 Seiko Epson Corp Adaptor for radio network
JP2005136591A (en) * 2003-10-29 2005-05-26 Komatsu Ltd Method and program of setting communication environment
JP2005198154A (en) * 2004-01-09 2005-07-21 Seiko Epson Corp Method for setting radio communication equipment
JP2005303821A (en) * 2004-04-14 2005-10-27 Canon Inc Radio terminal device
JP2008182439A (en) * 2007-01-24 2008-08-07 Fuji Xerox Co Ltd Information processing apparatus, wireless communication equipment, wireless communication system, and wireless setting program

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016204190A1 (en) * 2015-06-16 2016-12-22 ヤマハ株式会社 Connection method for communication device, communication device, and control terminal device
JP2017050780A (en) * 2015-09-03 2017-03-09 ブラザー工業株式会社 Communication device
JP2017069721A (en) * 2015-09-29 2017-04-06 ブラザー工業株式会社 Communication apparatus
US10609532B2 (en) 2015-09-29 2020-03-31 Brother Kogyo Kabushiki Kaisha Communication apparatus
JP2018046359A (en) * 2016-09-13 2018-03-22 富士ゼロックス株式会社 Apparatus and communication system
JP2018088582A (en) * 2016-11-28 2018-06-07 セイコーエプソン株式会社 Radio communication terminal, radio communication device, radio communication system, radio communication method, and radio communication program
JP2018088121A (en) * 2016-11-29 2018-06-07 フロンティアビジョン株式会社 Registration system and registration method
JP2018166311A (en) * 2017-03-28 2018-10-25 サクサ株式会社 Information setting method
JP2019016866A (en) * 2017-07-04 2019-01-31 キヤノン株式会社 Communication device, external device, control method of communication device, control method of external device, and program
JP2020529280A (en) * 2017-08-10 2020-10-08 青島海爾洗衣机有限公司QingDao Haier Washing Machine Co.,Ltd. Washing machine clothing identification system, binding of the system and clothing identification method

Also Published As

Publication number Publication date
JP6277758B2 (en) 2018-02-14

Similar Documents

Publication Publication Date Title
JP6277758B2 (en) Wireless communication apparatus and wireless communication setting method
US20210243066A1 (en) Communication apparatus, methods, and non-transitory computer-readable media for determining ip addresses for use in different networks
US11818571B2 (en) Communication apparatus, communication method, and storage medium
JP6368989B2 (en) Communication device
JP5857850B2 (en) Communication device
US9974012B2 (en) Communication apparatus and communication system
JP5954024B2 (en) Communication device
US11729617B2 (en) Communication apparatus, communication method, and storage medium
JP5754254B2 (en) Wireless communication device
JP5736987B2 (en) Wireless communication device
JP6281223B2 (en) Communication equipment
US10849169B2 (en) Communication apparatus for connecting to a wireless network using a simple operation
US10367685B2 (en) Communication device, control method of communication device, and storage medium, for performing wireless communication
US10966261B2 (en) Communication apparatus, communication method, and program
US10021004B2 (en) Communication device, control method for communication device, and program
US9883438B2 (en) Communication apparatus, control method thereof, and program
JP6183506B2 (en) Communication device
JP6183445B2 (en) Communication device
JP6547820B2 (en) Communication device
US20140302847A1 (en) Communication apparatus and control method thereof
JP6634907B2 (en) Communication device, wireless terminal, and program
JP6662478B2 (en) Communication device and mobile terminal
JP6544468B2 (en) Wireless communication device
JP6601463B2 (en) Communication device
US20230102657A1 (en) Information processing apparatus, method for controlling the same, and storage medium

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20160617

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20160628

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170119

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170829

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171024

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171207

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20171219

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180101

R150 Certificate of patent or registration of utility model

Ref document number: 6277758

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150