JP6171297B2 - Wireless communication device - Google Patents

Wireless communication device Download PDF

Info

Publication number
JP6171297B2
JP6171297B2 JP2012218086A JP2012218086A JP6171297B2 JP 6171297 B2 JP6171297 B2 JP 6171297B2 JP 2012218086 A JP2012218086 A JP 2012218086A JP 2012218086 A JP2012218086 A JP 2012218086A JP 6171297 B2 JP6171297 B2 JP 6171297B2
Authority
JP
Japan
Prior art keywords
wireless communication
connection
mfp
state
wireless network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012218086A
Other languages
Japanese (ja)
Other versions
JP2014072764A (en
Inventor
裕紀 矢田
裕紀 矢田
弘崇 朝倉
弘崇 朝倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2012218086A priority Critical patent/JP6171297B2/en
Publication of JP2014072764A publication Critical patent/JP2014072764A/en
Application granted granted Critical
Publication of JP6171297B2 publication Critical patent/JP6171297B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本明細書では、外部装置と対象データの無線通信を実行するための無線通信装置を開示する。   The present specification discloses a wireless communication device for executing wireless communication of target data with an external device.

非特許文献1には、WFD(Wi-Fi Directの略)方式に従った無線通信に関する技術が開示されている。WFD方式では、一対の無線通信装置は、新たな無線ネットワークを形成すべき際に、G/O(Group Ownerの略)ネゴシエーションと呼ばれる無線通信を実行する。これにより、一方の無線通信装置が無線ネットワークのG/O機器として動作すると共に、他方の無線通信装置が無線ネットワークのクライアント機器として動作すべきことが決定される。   Non-Patent Document 1 discloses a technique related to wireless communication according to a WFD (abbreviation of Wi-Fi Direct) method. In the WFD scheme, a pair of wireless communication devices perform wireless communication called G / O (abbreviation of Group Owner) negotiation when a new wireless network is to be formed. Accordingly, it is determined that one wireless communication device operates as a G / O device of a wireless network and the other wireless communication device should operate as a client device of the wireless network.

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

「Wi−Fi Peer−to−Peer(P2P) Technical Specification Version1.1」、Wi−Fi Alliance、2010年"Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.1", Wi-Fi Alliance, 2010

本明細書では、無線通信装置が、無線通信装置自身が所属する無線ネットワークの状態に応じた処理を実行して、外部装置と対象データの無線通信を適切に実行し得る技術を開示する。   In the present specification, a technique is disclosed in which a wireless communication device can appropriately execute wireless communication of target data with an external device by executing processing according to the state of the wireless network to which the wireless communication device itself belongs.

本明細書によって開示される無線通信装置は、第1の接続部と、判断部と、出力部と、を備える。第1の接続部は、第1の外部装置と無線通信装置との間に、第1の無線通信方式に従った第1の接続を確立する。第1の無線通信方式は、一対の機器の間に第1の無線通信方式に従った接続が確立されて、無線ネットワークが形成されるべき際に、一対の機器が無線ネットワークの親局及び子局を決定するための無線通信を実行する仕組みを有する方式である。判断部は、第1の接続が確立された結果として、第1の外部装置と無線通信装置とが所属している第1の無線ネットワークが形成されている状況で、第1の外部装置とは異なる第2の外部装置と対象データの無線通信を実行するための特定の指示が与えられる場合に、第1の無線ネットワークが第1の状態であるのか第2の状態であるのかを判断する。第1の状態は、無線通信装置が子局として動作し、かつ、第1の外部装置が親局として動作する状態である。第2の状態は、無線通信装置が親局として動作し、かつ、第1の外部装置が子局として動作する状態である。出力部は、第1の無線ネットワークが第1の状態であると判断される第1の場合に、第2の外部装置が第1の無線ネットワークに参加するための参加情報を出力する。第1の接続部は、参加部と、通信部と、を備える。参加部は、第1の無線ネットワークが第2の状態であると判断される第2の場合に、第2の外部装置と無線通信装置との間に、第1の無線通信方式に従った第2の接続を確立して、第2の外部装置を第1の無線ネットワークに参加させる。通信部は、(A)第1の場合において、参加情報が出力された結果として、第2の外部装置が第1の無線ネットワークに参加する場合に、第1の無線ネットワークを利用して、第1の外部装置を介して、第2の外部装置と対象データの無線通信を実行し、(B)第2の場合に、第1の無線ネットワークを利用して、他装置を介さずに、第2の外部装置と対象データの無線通信を実行する。   The wireless communication device disclosed in this specification includes a first connection unit, a determination unit, and an output unit. The first connection unit establishes a first connection according to the first wireless communication method between the first external device and the wireless communication device. In the first wireless communication method, when a connection according to the first wireless communication method is established between a pair of devices and a wireless network is to be formed, the pair of devices are connected to a master station and a child of the wireless network. This is a system having a mechanism for executing wireless communication for determining a station. As a result of the establishment of the first connection, the determination unit is a situation where a first wireless network to which the first external device and the wireless communication device belong is formed. When a specific instruction for performing wireless communication of target data with a different second external device is given, it is determined whether the first wireless network is in the first state or the second state. The first state is a state in which the wireless communication device operates as a slave station and the first external device operates as a parent station. The second state is a state in which the wireless communication device operates as a master station and the first external device operates as a slave station. The output unit outputs participation information for the second external device to participate in the first wireless network in the first case where the first wireless network is determined to be in the first state. The first connection unit includes a participation unit and a communication unit. In the second case where the first wireless network is determined to be in the second state, the participation unit performs a first operation according to the first wireless communication method between the second external device and the wireless communication device. 2 connection is established, and the second external device joins the first wireless network. The communication unit (A) uses the first wireless network when the second external device joins the first wireless network as a result of outputting the participation information in the first case. Wireless communication of the target data with the second external device via the first external device, and (B) in the second case, using the first wireless network and without passing through other devices, Wireless communication of the target data with the external device 2 is executed.

上記の構成によると、無線通信装置は、第1の無線ネットワークの状態が、無線通信装置が子局として動作する第1の状態であるのか、無線通信装置が親局として動作する第2の状態であるのか、に応じた適切な処理を実行し得る。この結果、無線通信装置は、第2の外部装置と対象データの無線通信を適切に実行し得る。   According to the above configuration, in the wireless communication device, whether the state of the first wireless network is the first state in which the wireless communication device operates as a slave station or the second state in which the wireless communication device operates as a parent station Therefore, it is possible to execute an appropriate process depending on whether or not. As a result, the wireless communication device can appropriately perform wireless communication of the target data with the second external device.

参加情報は、第1の無線ネットワークを識別するための識別情報を含んでいてもよい。この構成によると、無線通信装置は、識別情報を含む参加情報を出力するので、第2の外部装置を第1の無線ネットワークに適切に参加させ得る。   The participation information may include identification information for identifying the first wireless network. According to this configuration, the wireless communication device outputs the participation information including the identification information, so that the second external device can appropriately participate in the first wireless network.

出力部は、第1の場合に、第1の無線ネットワークが維持された状態で、上記の仕組みを有さない第2の無線通信方式に従って、参加情報を第2の外部装置に送信することによって、参加情報を出力してもよい。この構成によると、無線通信装置は、例えば、第1の無線ネットワークの子局として動作するので(即ち第1の場合)、第2の外部装置と無線通信装置との間に第1の無線通信方式に従った接続を確立することができない場合でも、第2の無線通信方式に従って参加情報を適切に出力し得る。   In the first case, the output unit transmits the participation information to the second external device according to the second wireless communication method that does not have the above mechanism in a state where the first wireless network is maintained. Participation information may be output. According to this configuration, for example, the wireless communication device operates as a slave station of the first wireless network (that is, in the first case), so the first wireless communication is performed between the second external device and the wireless communication device. Even when the connection according to the method cannot be established, the participation information can be appropriately output according to the second wireless communication method.

出力部は、第1の場合に、第1の無線ネットワークが維持された状態で、第2の外部装置と無線通信装置との間に、第2の無線通信方式に従った第3の接続を確立する第2の接続部を備えていてもよい。出力部は、第3の接続が確立された結果として、第2の外部装置と無線通信装置とが所属している第2の無線ネットワークが形成される場合に、第2の無線ネットワークを利用して、参加情報を第2の外部装置に送信してもよい。この構成によると、無線通信装置は、第2の無線通信方式に従った第2の無線ネットワークを利用して、参加情報を適切に出力し得る。   In the first case, the output unit establishes a third connection according to the second wireless communication method between the second external device and the wireless communication device in a state where the first wireless network is maintained. You may provide the 2nd connection part to establish. The output unit uses the second wireless network when the second wireless network to which the second external device and the wireless communication device belong is formed as a result of the establishment of the third connection. The participation information may be transmitted to the second external device. According to this configuration, the wireless communication device can appropriately output the participation information using the second wireless network according to the second wireless communication method.

第2の無線ネットワークは、無線通信装置が第2の無線通信方式のアクセスポイントモードに従ったアクセスポイントとして動作する無線ネットワークであってもよい。この構成によると、無線通信装置は、第2の無線ネットワークのアクセスポイントとして動作して、参加情報を適切に出力し得る。   The second wireless network may be a wireless network in which the wireless communication device operates as an access point according to the access point mode of the second wireless communication method. According to this configuration, the wireless communication device can operate as an access point of the second wireless network and appropriately output the participation information.

第1の接続部は、無線通信装置に割り当てられる第1のMACアドレスを利用して、第1の接続及び前記第2の接続を確立してもよい。第2の接続部は、無線通信装置に割り当てられる第2のMACアドレスを利用して、第3の接続を確立してもよい。第1のMACアドレスと第2のMACアドレスとは異なってもよい。この構成によると、無線通信装置は、第1及び第2のMACアドレスを利用して、各接続を適切に確立することができる。   The first connection unit may establish the first connection and the second connection using a first MAC address assigned to the wireless communication device. The second connection unit may establish the third connection using a second MAC address assigned to the wireless communication device. The first MAC address and the second MAC address may be different. According to this configuration, the wireless communication apparatus can appropriately establish each connection using the first and second MAC addresses.

出力部は、第2の場合に、無線通信装置の表示部に参加情報を表示させることによって、参加情報を出力してもよい。この構成によると、無線通信装置は、参加情報を適切に出力し得る。これにより、第2の外部装置のユーザは、参加情報を適切に認識し得る。   In the second case, the output unit may output the participation information by causing the display unit of the wireless communication device to display the participation information. According to this configuration, the wireless communication device can appropriately output the participation information. Thereby, the user of the second external device can appropriately recognize the participation information.

特定の指示は、ユーザによって無線通信装置に特定の操作が加えられることによって、与えられてもよい。特定の指示は、第2の外部装置から、第1の無線通信方式に従った接続を確立するための接続要求を受信することによって、与えられてもよい。   The specific instruction may be given by a user performing a specific operation on the wireless communication device. The specific instruction may be given by receiving a connection request for establishing a connection according to the first wireless communication scheme from the second external device.

また、上記の無線通信装置を実現するための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを格納するコンピュータ読取可能記録媒体も、新規で有用である。また、上記の無線通信装置、第1の外部装置、及び、第2の外部装置のうちの2個以上のデバイスを備える通信システムも、新規で有用である。   A control method, a computer program, and a computer-readable recording medium for storing the computer program for realizing the wireless communication apparatus are also novel and useful. In addition, a communication system including two or more devices of the wireless communication device, the first external device, and the second external device is also novel and useful.

通信システムの構成を示す。1 shows a configuration of a communication system. MFPの操作監視処理のフローチャートを示す。6 shows a flowchart of MFP operation monitoring processing. MFPの受信監視処理のフローチャートを示す。6 shows a flowchart of MFP reception monitoring processing. 各デバイスによって実行される各処理のシーケンス図を示す。The sequence diagram of each process performed by each device is shown. 図4のケースAの続きのシーケンス図を示す。FIG. 5 shows a sequence diagram subsequent to case A in FIG. 4. 図4のケースAの続きのシーケンス図を示す。FIG. 5 shows a sequence diagram subsequent to case A in FIG. 4. 図4のケースBの続きのシーケンス図を示す。FIG. 5 shows a sequence diagram subsequent to case B in FIG. 4. 図4のケースAの続きの第2実施例のシーケンス図を示す。FIG. 6 shows a sequence diagram of a second embodiment following the case A of FIG. 4.

(第1実施例)
(通信システム2の構成)
図1に示されるように、通信システム2は、AP(Access Pointの略)4と、PC(Personal Computerの略)6と、多機能機(以下では「MFP(Multi-Function Peripheralの略)」と呼ぶ)10と、複数個の携帯端末50,100と、を備える。
(First embodiment)
(Configuration of communication system 2)
As shown in FIG. 1, the communication system 2 includes an AP (abbreviation for Access Point) 4, a PC (abbreviation for Personal Computer) 6, and a multi-function device (hereinafter “MFP (abbreviation for Multi-Function Peripheral)”). 10) and a plurality of portable terminals 50 and 100.

(MFP10の構成)
MFP10は、印刷機能及びスキャン機能を含む多機能を実行可能な周辺機器である。MFP10は、操作部12と、表示部14と、印刷実行部16と、スキャン実行部18と、無線LANインターフェース(以下ではインターフェースのことを「I/F」と記載する)20と、制御部30と、を備える。各部12〜30は、バス線(符号省略)に接続されている。
(Configuration of MFP 10)
The MFP 10 is a peripheral device that can execute multiple functions including a printing function and a scanning function. The MFP 10 includes an operation unit 12, a display unit 14, a print execution unit 16, a scan execution unit 18, a wireless LAN interface (hereinafter referred to as “I / F”) 20, and a control unit 30. And comprising. Each part 12-30 is connected to a bus line (reference number omitted).

操作部12は、複数のキーを備える。ユーザは、操作部12を操作することによって、様々な指示をMFP10に与えることができる。表示部14は、様々な情報を表示するためのディスプレイである。印刷実行部16は、インクジェット方式、レーザ方式等の印刷機構である。スキャン実行部18は、CCD、CIS等のスキャン機構である。   The operation unit 12 includes a plurality of keys. The user can give various instructions to the MFP 10 by operating the operation unit 12. The display unit 14 is a display for displaying various information. The print execution unit 16 is a printing mechanism such as an inkjet method or a laser method. The scan execution unit 18 is a scan mechanism such as a CCD or CIS.

無線LANI/F20は、無線通信を実行するためのインターフェースであり、物理的には1個のインターフェース(即ち1個のICチップ)である。ただし、無線LANI/F20には、WFD(Wi-Fi Directの略)方式に従った無線通信(以下では「WFD通信」と呼ぶ)で利用されるMACアドレス(以下では「WFDMAC」と呼ぶ)と、通常Wi−Fi方式に従った無線通信(以下では「通常Wi−Fi通信」と呼ぶ)で利用されるMACアドレス(以下では「通常Wi−FiMAC」と呼ぶ)と、の両方が割り当てられる。   The wireless LAN I / F 20 is an interface for executing wireless communication, and is physically one interface (that is, one IC chip). However, the wireless LAN I / F 20 includes a MAC address (hereinafter referred to as “WFDMAC”) used in wireless communication (hereinafter referred to as “WFD communication”) according to the WFD (abbreviation of Wi-Fi Direct) method. Both of the MAC addresses (hereinafter referred to as “normal Wi-Fi MAC”) used in wireless communication (hereinafter referred to as “normal Wi-Fi communication”) according to the normal Wi-Fi scheme are allocated.

具体的に言うと、無線LANI/F20には、通常Wi−FiMACが予め割り当てられている。制御部30は、通常Wi−FiMACを利用して、通常Wi−FiMACとは異なるWFDMACを生成して、WFDMACを無線LANI/F20に割り当てる。従って、制御部30は、通常Wi−FiMACを利用した通常Wi−Fi通信と、WFDMACを利用したWFD通信と、の両方を同時的に実行し得る。   Specifically, the normal Wi-Fi MAC is pre-assigned to the wireless LAN I / F 20. The control unit 30 generates a WFDMAC different from the normal Wi-FiMAC using the normal Wi-FiMAC, and allocates the WFDMAC to the wireless LAN I / F 20. Therefore, the control unit 30 can simultaneously execute both normal Wi-Fi communication using normal Wi-FiMAC and WFD communication using WFDMAC.

制御部30は、CPU32とメモリ34とを備える。メモリ34は、ROM、RAM、ハードディスク等によって構成される。CPU32は、メモリ34に格納されているプログラムに従って、様々な処理(例えば後述の図2又は図3の各処理)を実行する。CPU32が上記のプログラムに従って処理を実行することによって、第1の接続部41、判断部44、及び、出力部45の各機能が実現される。なお、第1の接続部41は、参加部42と、通信部43と、を備える。また、出力部45は、第2の接続部46を備える。ただし、第2の接続部46は、後述の第2実施例で利用される構成であり、本実施例では省略されてもよい。   The control unit 30 includes a CPU 32 and a memory 34. The memory 34 includes a ROM, a RAM, a hard disk, and the like. The CPU 32 executes various processes (for example, each process in FIG. 2 or FIG. 3 described later) according to the program stored in the memory 34. When the CPU 32 executes processing according to the above-described program, the functions of the first connection unit 41, the determination unit 44, and the output unit 45 are realized. The first connection unit 41 includes a participation unit 42 and a communication unit 43. The output unit 45 includes a second connection unit 46. However, the 2nd connection part 46 is a structure utilized in 2nd Example mentioned later, and may be abbreviate | omitted in a present Example.

(WFDと通常Wi−Fi)
上述したように、MFP10によって利用されるMACアドレスという観点では、WFD通信、WFD方式は、それぞれ、WFDMACが利用される無線通信、無線通信方式である。また、通常Wi−Fi通信、通常Wi−Fi方式は、それぞれ、通常Wi−FiMACが利用される無線通信、無線通信方式である。
(WFD and normal Wi-Fi)
As described above, from the viewpoint of the MAC address used by the MFP 10, the WFD communication and the WFD method are wireless communication and a wireless communication method using WFDMAC, respectively. The normal Wi-Fi communication and the normal Wi-Fi method are a wireless communication and a wireless communication method in which the normal Wi-Fi MAC is used, respectively.

(WFD)
WFD方式は、Wi−Fi Allianceによって作成された規格書「Wi−Fi Peer−to−Peer(P2P) Technical Specification Version1.1」に記述されている無線通信方式である。WFD方式は、例えば、IEEE(The Institute of Electrical and Electronics Engineers, Inc.の略)の802.11の規格、及び、それに準ずる規格(例えば、802.11a,11b,11g,11n等)に従って、無線通信を実行するための無線通信方式である。
(WFD)
The WFD method is a wireless communication method described in a standard document “Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.1” created by Wi-Fi Alliance. The WFD system is, for example, wireless in accordance with the 802.11 standard of IEEE (abbreviation of The Institute of Electrical and Electronics Engineers, Inc.) and standards conforming thereto (for example, 802.11a, 11b, 11g, 11n, etc.). It is a wireless communication system for executing communication.

MFP10は、通常Wi−FiMACを利用する場合には、WFD方式に従って無線ネットワークに所属することができないが、WFDMACを利用する場合には、WFD方式に従って無線ネットワークに所属することができる。以下では、MFP10のように、WFD方式に従って無線ネットワークに所属することができる機器のことを「WFD対応機器」と呼ぶ。上記のWFDの規格書では、WFD対応機器の状態として、Group Owner状態(以下では「G/O状態」と呼ぶ)、クライアント状態(以下では「CL状態」と呼ぶ)、及び、デバイス状態の3つの状態が定義されている。WFD対応機器は、上記の3つの状態のうちの1つの状態で選択的に動作可能である。   The MFP 10 cannot belong to the wireless network according to the WFD scheme when using the normal Wi-Fi MAC, but can belong to the wireless network according to the WFD scheme when using the WFDMAC. Hereinafter, a device that can belong to a wireless network in accordance with the WFD scheme, such as the MFP 10, is referred to as a “WFD-compatible device”. In the WFD standard document, the states of the WFD-compatible device are group owner state (hereinafter referred to as “G / O state”), client state (hereinafter referred to as “CL state”), and device state. Two states are defined. The WFD compatible device can selectively operate in one of the above three states.

デバイス状態の一対のWFD対応機器が無線ネットワークを新たに形成すべき際に、通常、当該一対のWFD対応機器は、G/Oネゴシエーションと呼ばれる無線通信を実行する。G/Oネゴシエーションでは、当該一対のWFD対応機器のうちの一方は、G/O状態(即ちG/O機器)になることを決定し、当該一対のWFD対応機器のうちの他方は、CL状態(即ちCL機器)になることを決定する。その後、当該一対のWFD対応機器は、接続を確立して、無線ネットワークを形成する。以下では、G/Oネゴシエーションの結果として形成される無線ネットワークのことを「WFDNW」と呼ぶ。   When a pair of WFD-compatible devices in the device state should newly form a wireless network, the pair of WFD-compatible devices normally perform wireless communication called G / O negotiation. In the G / O negotiation, one of the pair of WFD compatible devices is determined to be in the G / O state (that is, the G / O device), and the other of the pair of WFD compatible devices is in the CL state. (That is, CL device). Thereafter, the pair of WFD-compatible devices establish a connection and form a wireless network. Hereinafter, the wireless network formed as a result of the G / O negotiation is referred to as “WFDNW”.

G/OネゴシエーションによってWFDNWが新たに形成された段階では、1個のG/O機器及び1個のCL機器のみがWFDNWに所属している。ただし、G/O機器は、他の機器と接続を確立して、当該他の機器をCL機器としてWFDNWに新たに参加させることができる。この場合、2個以上のCL機器がWFDNWに所属している状態になる。即ち、WFDNWでは、1個のG/O機器と1個以上のCL機器とが存在し得る。G/O機器は、1個以上のCL機器を管理する。具体的に言うと、G/O機器は、1個以上のCL機器のMACアドレスを、G/O機器のメモリ内の管理リストに登録する。また、G/O機器は、CL機器がWFDNWから離脱すると、CL機器のMACアドレスを管理リストから削除する。なお、G/O機器は、CL機器の数がゼロになると(即ち、管理リストに登録されているMACアドレスの数がゼロになると)、G/O状態からデバイス状態に移行して、WFDNWを消滅させる。   At the stage where a WFDNW is newly formed by G / O negotiation, only one G / O device and one CL device belong to the WFDNW. However, the G / O device can establish a connection with another device, and can newly participate in the WFDNW as the CL device. In this case, two or more CL devices belong to the WFDNW. That is, in the WFDNW, there can be one G / O device and one or more CL devices. The G / O device manages one or more CL devices. Specifically, the G / O device registers the MAC addresses of one or more CL devices in the management list in the memory of the G / O device. Further, when the CL device leaves the WFDNW, the G / O device deletes the MAC address of the CL device from the management list. When the number of CL devices becomes zero (that is, when the number of MAC addresses registered in the management list becomes zero), the G / O device shifts from the G / O state to the device state, and sets the WFDNW. Extinguish.

G/O機器は、管理リストに登録されているCL機器と、他の機器を介さずに、目的データの無線通信を実行可能である。目的データは、OSI参照モデルのネットワーク層の情報、及び、ネットワーク層よりも上位層(例えばアプリケーション層)の情報を含むデータであり、例えば、印刷データ、スキャンデータ等を含む。また、G/O機器は、複数個のCL機器の間の目的データの無線通信を中継可能である。換言すると、一対のCL機器は、G/O機器を介して、目的データの無線通信を実行可能である。   The G / O device can execute wireless communication of target data without passing through other devices with the CL device registered in the management list. The target data is data including information on the network layer of the OSI reference model and information on an upper layer (for example, application layer) than the network layer, and includes, for example, print data, scan data, and the like. In addition, the G / O device can relay wireless communication of target data between a plurality of CL devices. In other words, the pair of CL devices can perform wireless communication of target data via the G / O device.

上述したように、WFDNWでは、目的データの送信元のWFD対応機器と、目的データの送信先のWFD対応機器と、の間で、これらのWFD対応機器とは別体に構成されているAP(例えばAP4)を介さずに、目的データの無線通信を実行することができる。即ち、WFD通信、WFD方式は、それぞれ、APを介さない無線通信、APが利用されない無線通信方式であると言える。なお、AP(例えばAP4)は、無線アクセスポイント、無線LANルータ等と呼ばれる通常のAPであり、WFD方式のG/O機器や通常Wi−Fi方式のいわゆるSoftAPとは異なる。   As described above, in the WFDNW, the AP (configured separately from the WFD-compatible device between the WFD-compatible device that is the transmission source of the target data and the WFD-compatible device that is the transmission destination of the target data. For example, wireless communication of target data can be executed without going through AP4). That is, it can be said that the WFD communication and the WFD method are wireless communication that does not use an AP and a wireless communication method that does not use an AP, respectively. The AP (for example, AP4) is a normal AP called a wireless access point, a wireless LAN router, or the like, and is different from a WFD G / O device or a so-called Soft AP of a normal Wi-Fi system.

また、G/O機器は、目的データの無線通信をデバイス機器(即ちデバイス状態のWFD対応機器)と実行不可能であるが、接続を確立するための接続用データの無線通信をデバイス機器と実行可能である。即ち、G/O機器は、接続用データの無線通信をデバイス機器と実行することによって、デバイス機器と接続を確立して、デバイス機器をWFDNWに新たに参加させることができる。換言すると、デバイス機器は、接続用データの無線通信をG/O機器と実行することによって、G/O機器と接続を確立して、WFDNWに新たに参加することができる。この場合、デバイス機器は、デバイス状態からCL状態に移行する(即ち、CL機器としてWFDNWに参加する)。接続用データは、OSI参照モデルのネットワーク層よりも下位層(例えば、物理層、データリンク層)の情報を含むデータ(即ち、ネットワーク層の情報を含まないデータ)であり、例えば、Probe Request信号、Probe Response信号、Association Request信号、Association Response信号、Authentication Request信号、Authentication Response信号、4-Way Handshake信号等を含む。   In addition, the G / O device cannot execute wireless communication of target data with a device device (that is, a WFD compatible device in a device state), but performs wireless communication of connection data for establishing a connection with the device device. Is possible. That is, the G / O device can establish a connection with the device device by executing wireless communication of the connection data with the device device, and can newly join the device device to the WFDNW. In other words, the device device can establish a connection with the G / O device by performing wireless communication of connection data with the G / O device, and can newly participate in the WFDNW. In this case, the device device transitions from the device state to the CL state (that is, participates in the WFDNW as the CL device). The connection data is data including information of lower layers (for example, physical layer and data link layer) than the network layer of the OSI reference model (that is, data not including information of the network layer), for example, a Probe Request signal. , Probe Response signal, Association Request signal, Association Response signal, Authentication Request signal, Authentication Response signal, 4-Way Handshake signal, and the like.

また、G/O機器は、目的データの無線通信をWFD非対応機器と実行不可能であるが、接続用データの無線通信をWFD非対応機器と実行可能である。なお、WFD非対応機器は、WFD方式に従って無線ネットワークに所属することができないが、通常Wi−Fi方式に従って無線ネットワークに所属することができる機器である。G/O機器は、接続用データの無線通信をWFD非対応機器と実行することによって、WFD非対応機器と接続を確立して、WFD非対応機器をWFDNWに新たに参加させることができる。換言すると、WFD非対応機器は、接続用データの無線通信をG/O機器と実行することによって、G/O機器と接続を確立して、WFDNWに新たに参加することができる。WFD非対応機器は、3つの状態(即ち、G/O状態、CL状態、デバイス状態)のいずれかの状態で選択的に動作するものではないが、WFDNWに所属している間には、CL状態と同様の状態で動作する。   The G / O device cannot execute wireless communication of target data with a WFD non-compliant device, but can execute wireless communication of connection data with a WFD non-compliant device. Note that a device that does not support WFD cannot belong to a wireless network according to the WFD scheme, but can belong to a wireless network according to a normal Wi-Fi scheme. The G / O device can establish a connection with the WFD-incompatible device by performing wireless communication of connection data with the WFD-incompatible device, and can newly join the WFD-incompatible device to the WFDNW. In other words, the WFD non-compliant device can establish a connection with the G / O device by performing wireless communication of connection data with the G / O device, and can newly participate in the WFDNW. A device that does not support WFD does not selectively operate in any of three states (ie, G / O state, CL state, and device state), but while belonging to the WFDNW, Operates in the same state as the state.

上述したように、G/O機器は、デバイス機器又はWFD非対応機器と接続を確立して、デバイス機器又はWFD非対応機器をWFDNWに新たに参加させることができる。しかしながら、CL機器は、G/O機器とは異なり、デバイス機器又はWFD非対応機器と接続を確立して、デバイス機器又はWFD非対応機器をWFDNWに新たに参加させることができない。   As described above, the G / O device can establish a connection with a device device or a device that does not support WFD, and can newly join the device device or device that does not support WFD to the WFDNW. However, unlike the G / O device, the CL device cannot establish a connection with the device device or the WFD non-compliant device, and cannot newly join the device device or the WFD non-compliant device to the WFDNW.

(通常Wi−Fi)
通常Wi−Fi方式は、Wi−Fi Allianceによって定められた無線通信方式であって、WFD方式とは異なる無線通信方式である。通常Wi−Fi方式は、WFD方式と同様に、IEEEの802.11の規格、及び、それに準ずる規格(例えば、802.11a,11b,11g,11n等)に従って、無線通信を実行するための無線通信方式である。
(Normal Wi-Fi)
The normal Wi-Fi system is a wireless communication system defined by the Wi-Fi Alliance, and is a wireless communication system different from the WFD system. The normal Wi-Fi system, like the WFD system, is a wireless for performing wireless communication in accordance with the IEEE 802.11 standard and standards conforming thereto (for example, 802.11a, 11b, 11g, 11n, etc.). It is a communication method.

ただし、WFD方式は、G/Oネゴシエーションの仕組みを有する無線通信方式であるが、通常Wi−Fi方式は、当該仕組みを有さない無線通信方式である。また、WFD方式は、3つの状態(即ち、G/O状態、CL状態、デバイス状態)のいずれの状態で選択的に動作することを許容する無線通信方式であるが、通常Wi−Fi方式は、このような選択的な動作を許容しない無線通信方式である。これらの点において、WFD方式と通常Wi−Fi方式とは異なる。   However, the WFD scheme is a wireless communication scheme having a G / O negotiation mechanism, but the normal Wi-Fi scheme is a wireless communication scheme having no such mechanism. The WFD method is a wireless communication method that allows selective operation in any of three states (ie, G / O state, CL state, and device state), but the normal Wi-Fi method is The wireless communication system does not allow such a selective operation. In these points, the WFD system and the normal Wi-Fi system are different.

通常Wi−Fi方式は、インフラストラクチャモード(以下では「インフラ」と簡単に呼ぶ)と、アドホックモード(以下では「アドホック」と簡単に呼ぶ)と、に分類される。一般的に言うと、インフラは、APが利用されるモードであり、アドホックは、APが利用されないモードである。通常Wi−Fi方式のアドホックについては、後述の第3実施例で説明する。ここでは、通常Wi−Fi方式のインフラについて説明する。   The normal Wi-Fi system is classified into an infrastructure mode (hereinafter simply referred to as “infrastructure”) and an ad hoc mode (hereinafter simply referred to as “ad hoc”). Generally speaking, infrastructure is a mode in which AP is used, and ad hoc is a mode in which AP is not used. The normal Wi-Fi type ad hoc will be described in a third embodiment to be described later. Here, a normal Wi-Fi infrastructure will be described.

インフラの無線ネットワーク(以下では「通常Wi−FiNW」と呼ぶ)は、APによって形成される。例えば、AP4が通常Wi−FiNWを形成している状況を想定する。MFP10は、通常Wi−FiMACを利用して、AP4とMFP10との間に、通常Wi−Fi方式のインフラに従った接続を確立することができる。これにより、MFP10は、通常Wi−FiNWに新たに参加する。この過程において、MFP10は、G/Oネゴシエーションを実行しないし、G/O状態又はCL状態で動作することを選択的に決定しない。MFP10は、通常Wi−FiNWに所属する他の機器(例えばPC6)と、AP4を介して、目的データの無線通信を実行することができる。なお、AP4は、AP4自身に接続されている各機器のMACアドレスを、AP4の管理リストに登録する。   An infrastructure wireless network (hereinafter referred to as “normal Wi-Fi NW”) is formed by an AP. For example, assume a situation where the AP 4 forms a normal Wi-Fi NW. The MFP 10 can establish a connection according to the infrastructure of the normal Wi-Fi system between the AP 4 and the MFP 10 using the normal Wi-Fi MAC. Thereby, the MFP 10 newly participates in the normal Wi-Fi NW. In this process, the MFP 10 does not execute the G / O negotiation and does not selectively determine to operate in the G / O state or the CL state. The MFP 10 can perform wireless communication of target data with another device (for example, the PC 6) belonging to the normal Wi-Fi NW via the AP 4. Note that AP4 registers the MAC address of each device connected to AP4 itself in the management list of AP4.

(MFP10が無線ネットワークに所属するための手法)
上述したように、MFP10は、WFD方式又は通常Wi−Fi方式に従って、無線ネットワークに所属することができる。ここでは、MFP10が無線ネットワークに所属するための手法について、まとめておく。
(Method for MFP 10 to belong to wireless network)
As described above, the MFP 10 can belong to a wireless network according to the WFD method or the normal Wi-Fi method. Here, methods for allowing the MFP 10 to belong to a wireless network are summarized.

(第1の手法;G/Oネゴシエーション)
MFP10がWFDMACを利用して無線ネットワークに所属していない状況では、MFP10は、WFD方式のデバイス状態である。デバイス状態のMFP10の操作部12にWFD接続操作が加えられると、MFP10は、SLS(Scan Listen Searchの略)を実行する。なお、WFD接続操作は、MFP10と他装置(例えば携帯端末50,100)との間にWFD方式に従った接続を確立すべきことを、ユーザがMFP10に指示するための操作(例えば、表示部14に表示される複数個の項目(例えば、「WFDの無線接続」、「通常Wi−Fiの無線接続」)の中から「WFDの無線接続」を選択する操作)である。
(First method; G / O negotiation)
In a situation where the MFP 10 does not belong to the wireless network using the WFDMAC, the MFP 10 is in a WFD device state. When a WFD connection operation is applied to the operation unit 12 of the MFP 10 in the device state, the MFP 10 executes SLS (abbreviation of Scan Listen Search). The WFD connection operation is an operation (for example, a display unit) for the user to instruct the MFP 10 that a connection according to the WFD method should be established between the MFP 10 and another device (for example, the portable terminals 50 and 100). 14 is an operation for selecting “WFD wireless connection” from among a plurality of items (for example, “WFD wireless connection” and “normal Wi-Fi wireless connection”).

SLSは、MFP10の周囲に存在する1個以上の機器(即ち、G/O機器、デバイス機器、及び、AP)を見つけるための無線通信であり、Scan処理と、Listen処理と、Search処理と、を含む。Scan処理は、Probe Request信号を送信してProbe Response信号を受信することによって、MFP10の周囲に存在するG/O機器及びAPを見つけるための処理である。Listen処理は、Probe Request信号を受信してProbe Response信号を送信することによって、MFP10の周囲に存在する機器にMFP10の存在を知らせるための処理である。Search処理は、Probe Request信号を送信してProbe Response信号を受信することによって、MFP10の周囲に存在するデバイス機器を見つけるための処理である。本手法のScan処理及びSearch処理では、Probe Request信号は、MFP10のWFDMACを送信元として含む。なお、SLSでは、通常、MFP10の周囲に存在するCL機器を見つけることはできない。   SLS is wireless communication for finding one or more devices (that is, a G / O device, a device device, and an AP) existing around the MFP 10, and includes a scan process, a listen process, a search process, including. The scan process is a process for finding a G / O device and an AP existing around the MFP 10 by transmitting a probe request signal and receiving a probe response signal. The Listen process is a process for notifying the devices existing around the MFP 10 of the presence of the MFP 10 by receiving a Probe Request signal and transmitting a Probe Response signal. The Search process is a process for finding a device device existing around the MFP 10 by transmitting a Probe Request signal and receiving a Probe Response signal. In the Scan process and the Search process of this method, the Probe Request signal includes the WFDMAC of the MFP 10 as a transmission source. In SLS, it is usually not possible to find CL devices that exist around the MFP 10.

MFP10は、SLSで見つかった1個以上の機器に関する情報を示す機器リストを表示部14に表示させる。ユーザは、操作部12を操作して、機器リストの中からデバイス機器(以下では「対象デバイス機器」と呼ぶ)を選択する。この場合、MFP10は、WFDMACを送信元として含む接続要求(即ちAssociation Request信号)を対象デバイス機器に送信し、その後、対象デバイス機器とG/Oネゴシエーションを実行する。   The MFP 10 causes the display unit 14 to display a device list indicating information on one or more devices found by SLS. The user operates the operation unit 12 to select a device device (hereinafter referred to as “target device device”) from the device list. In this case, the MFP 10 transmits a connection request (that is, an Association Request signal) including the WFDMAC as a transmission source to the target device device, and then performs G / O negotiation with the target device device.

G/Oネゴシエーションでは、MFP10は、MFP10のG/O優先度を示す情報を対象デバイス機器に送信すると共に、対象デバイス機器のG/O優先度を示す情報を対象デバイス機器から受信する。MFP10のG/O優先度は、MFP10がG/O状態になるべき程度を示す指標であり、MFP10において予め決められている。同様に、対象デバイス機器のG/O優先度は、対象デバイス機器がG/O状態になるべき程度を示す指標である。   In the G / O negotiation, the MFP 10 transmits information indicating the G / O priority of the MFP 10 to the target device device, and receives information indicating the G / O priority of the target device device from the target device device. The G / O priority of the MFP 10 is an index indicating the degree to which the MFP 10 should be in the G / O state, and is determined in advance in the MFP 10. Similarly, the G / O priority of the target device device is an index indicating the degree to which the target device device should be in the G / O state.

MFP10は、MFP10のG/O優先度と対象デバイス機器のG/O優先度とを比較して、優先度が高い方の機器(MFP10又は対象デバイス機器)がG/O状態になることを決定し、優先度が低い方の機器(対象デバイス機器又はMFP10)がCL状態になることを決定する。対象デバイス機器は、MFP10と同じ手法を利用して、MFP10のG/O優先度と対象機器のG/O優先度とに基づいて、G/O状態及びCL状態を決定する。   The MFP 10 compares the G / O priority of the MFP 10 with the G / O priority of the target device device, and determines that the higher priority device (MFP 10 or target device device) is in the G / O state. Then, it is determined that the lower priority device (target device device or MFP 10) is in the CL state. The target device device uses the same method as the MFP 10 to determine the G / O state and the CL state based on the G / O priority of the MFP 10 and the G / O priority of the target device.

G/Oネゴシエーションにおいて、MFP10がG/O状態になることが決定される場合には、MFP10は、対象デバイス機器と接続を確立してWFDNWを形成するが、それに先立って、当該WFDNWで利用されるべきWFD無線設定情報を準備して、WFD無線設定情報を対象デバイス機器に供給する。WFD無線設定情報は、認証方式、暗号化方式、パスワード、SSID(Service Set Identifierの略)、BSSID(Basic Service Set Identifierの略)等を含む。WFD無線設定情報に含まれる認証方式、暗号化方式、及び、パスワードは、WFDNWにおいて、認証及び暗号化のために利用される情報である。WFD無線設定情報に含まれるSSIDは、WFDNWを識別するためのネットワーク識別子である。WFD無線設定情報に含まれるBSSIDは、G/O機器のMACアドレスである。なお、以下では、無線設定情報のことを「WSI(Wireless Setting Informationの略)」と呼ぶ。   In the G / O negotiation, when it is determined that the MFP 10 enters the G / O state, the MFP 10 establishes a connection with the target device device and forms a WFDNW. WFD wireless setting information to be prepared is prepared, and the WFD wireless setting information is supplied to the target device device. The WFD wireless setting information includes an authentication method, an encryption method, a password, an SSID (abbreviation for service set identifier), a BSSID (abbreviation for basic service set identifier), and the like. The authentication method, encryption method, and password included in the WFD wireless setting information are information used for authentication and encryption in the WFDNW. The SSID included in the WFD wireless setting information is a network identifier for identifying the WFDNW. The BSSID included in the WFD wireless setting information is the MAC address of the G / O device. Hereinafter, the wireless setting information is referred to as “WSI (abbreviation of Wireless Setting Information)”.

MFP10がG/O状態になることが決定される場合には、MFP10は、予め決められている認証方式及び暗号化方式を特定する。MFP10は、予め決められているパスワードを特定するか、あるいは、パスワードを新たに生成することによって、パスワードを準備する。MFP10は、予め決められているSSIDを特定するか、あるいは、SSIDを新たに生成することによって、SSIDを準備する。本実施例では、MFP10は、予め決められているWFDMACをBSSIDとして特定する。   When it is determined that the MFP 10 enters the G / O state, the MFP 10 specifies a predetermined authentication method and encryption method. The MFP 10 prepares a password by specifying a predetermined password or generating a new password. The MFP 10 prepares an SSID by specifying a predetermined SSID or by newly generating an SSID. In this embodiment, the MFP 10 specifies a predetermined WFDMAC as a BSSID.

MFP10がWFDWSIを対象デバイス機器に供給すれば、対象デバイス機器は、WFDWSIに従った認証の実行をMFP10に要求する(即ちAuthentication Request信号)。MFP10が認証を実行して、当該認証が成功すれば、MFP10と対象デバイス機器との間に接続が確立される。MFP10は、対象デバイス機器のMACアドレスを、MFP10の管理リストに登録する。これにより、MFP10は、G/O機器としてWFDNWに新たに所属し(即ち、WFDNWを新たに形成し)、対象デバイス機器は、CL機器としてWFDNWに新たに所属する。   When the MFP 10 supplies WFDWSI to the target device device, the target device device requests the MFP 10 to execute authentication in accordance with WFDWSI (that is, an Authentication Request signal). If the MFP 10 executes authentication and the authentication is successful, a connection is established between the MFP 10 and the target device. The MFP 10 registers the MAC address of the target device device in the management list of the MFP 10. Accordingly, the MFP 10 newly belongs to the WFDNW as a G / O device (that is, newly forms a WFDNW), and the target device device newly belongs to the WFDNW as a CL device.

一方において、G/Oネゴシエーションにおいて、MFP10がCL状態になることが決定される場合には、対象デバイス機器は、WFDWSIを準備して、WFDWSIをMFP10に供給する。MFP10は、対象デバイス機器からWFDWSIを取得して、WFDWSIに従った認証の実行を対象デバイス機器に要求する。対象デバイス機器が認証を実行して、当該認証が成功すれば、MFP10と対象デバイス機器との間に接続が確立される。対象デバイス機器は、MFP10のWFDMACを、対象デバイス機器の管理リストに登録する。これにより、対象デバイス機器は、G/O機器としてWFDNWに新たに所属し(即ち、WFDNWを新たに形成し)、MFP10は、CL機器としてWFDNWに新たに所属する。   On the other hand, when it is determined in the G / O negotiation that the MFP 10 is in the CL state, the target device device prepares WFDWSI and supplies WFDWSI to the MFP 10. The MFP 10 acquires WFDWSI from the target device device, and requests the target device device to execute authentication in accordance with WFDWSI. If the target device apparatus executes authentication and the authentication is successful, a connection is established between the MFP 10 and the target device apparatus. The target device device registers the WFDMAC of the MFP 10 in the management list of the target device device. Accordingly, the target device device newly belongs to the WFDNW as a G / O device (that is, a new WFDNW is formed), and the MFP 10 newly belongs to the WFDNW as a CL device.

(第2の手法;既存のWFDNWに参加する)
上述したように、デバイス状態のMFP10は、WFD接続操作が操作部12に加えられると、機器リストを表示部14に表示させる。ユーザは、操作部12を操作して、機器リストの中からG/O機器(以下では「対象G/O機器」と呼ぶ)を選択する。この場合、MFP10は、G/Oネゴシエーションを実行せずに、CL状態になることを決定する。
(Second method; join existing WFDNW)
As described above, the MFP 10 in the device state causes the display unit 14 to display the device list when the WFD connection operation is applied to the operation unit 12. The user operates the operation unit 12 to select a G / O device (hereinafter referred to as “target G / O device”) from the device list. In this case, the MFP 10 determines to enter the CL state without executing the G / O negotiation.

MFP10は、WFDMACを送信元として含む接続要求(即ちAssociation Request信号)を対象G/O機器に送信する。この結果、MFP10は、対象G/O機器から、WFDNWで現在利用されているWFDWSIを取得して、WFDWSIに従った認証の実行を対象G/O機器に要求する。対象G/O機器が認証を実行して、当該認証が成功すれば、MFP10と対象G/O機器との間に接続が確立される。対象G/O機器は、MFP10のWFDMACを、対象G/O機器の管理リストに登録する。これにより、MFP10は、WFDMACを利用して、CL機器として既存のWFDNWに新たに所属する(即ち参加する)。   The MFP 10 transmits a connection request (that is, an Association Request signal) including the WFDMAC as a transmission source to the target G / O device. As a result, the MFP 10 acquires the WFD WSI currently used in the WFDNW from the target G / O device, and requests the target G / O device to execute authentication according to the WFD WSI. If the target G / O device executes authentication and the authentication is successful, a connection is established between the MFP 10 and the target G / O device. The target G / O device registers the WFDMAC of the MFP 10 in the management list of the target G / O device. As a result, the MFP 10 newly belongs (that is, participates) in the existing WFDNW as a CL device using the WFDMAC.

(第3の手法;インフラの通常Wi−FiNWに参加する)
MFP10の操作部12に通常Wi−Fi接続操作が加えられると、MFP10は、上記のSLSのうちのScan処理のみを実行して(即ち、G/O機器及びAPを見つけるための処理を実行して)、機器リストを表示部14に表示させる。なお、通常Wi−Fi接続操作は、MFP10とAP4との間に通常Wi−Fi方式に従った接続を確立すべきことを、ユーザがMFP10に指示するための操作(例えば、表示部14に表示される複数個の項目の中から「通常Wi−Fiの無線接続」を選択する操作)である。本手法のScan処理では、Probe Request信号は、MFP10の通常Wi−FiMACを送信元として含む。ユーザは、操作部12を操作して、機器リストの中からAP(以下では「対象AP」と呼ぶ)を選択する。この場合、MFP10は、WFD接続操作が実行される上記の第1及び第2の手法とは異なり、MFP10の状態(即ちG/O状態又はCL状態)を選択的に決定しない。
(Third method; participate in infrastructure normal Wi-Fi NW)
When a normal Wi-Fi connection operation is applied to the operation unit 12 of the MFP 10, the MFP 10 executes only the Scan process of the above SLS (that is, executes a process for finding a G / O device and an AP). The device list is displayed on the display unit 14. The normal Wi-Fi connection operation is an operation for instructing the MFP 10 that the user should establish a connection according to the normal Wi-Fi method between the MFP 10 and the AP 4 (for example, displayed on the display unit 14). This is an operation of selecting “normal Wi-Fi wireless connection” from among a plurality of items to be performed. In the Scan process of this method, the Probe Request signal includes the normal Wi-Fi MAC of the MFP 10 as a transmission source. The user operates the operation unit 12 to select an AP (hereinafter referred to as “target AP”) from the device list. In this case, unlike the first and second methods in which the WFD connection operation is executed, the MFP 10 does not selectively determine the state of the MFP 10 (that is, the G / O state or the CL state).

MFP10は、通常Wi−FiMACを送信元として含む接続要求(即ちAssociation Request信号)を対象AP(例えばAP4)に送信する。この結果、MFP10は、対象APから、通常Wi−FiNWで現在利用されている通常Wi−FiWSIを取得して、通常Wi−FiWSIに従った認証の実行を対象APに要求する。対象APが認証を実行して、当該認証が成功すれば、MFP10と対象APとの間に接続が確立される。対象APは、MFP10の通常Wi−FiMACを、対象APの管理リストに登録する。これにより、MFP10は、通常Wi−FiMACを利用して、既存の通常Wi−FiNWに新たに所属する(即ち参加する)。   The MFP 10 transmits a connection request (that is, an Association Request signal) including the normal Wi-Fi MAC as a transmission source to the target AP (for example, AP4). As a result, the MFP 10 acquires the normal Wi-Fi WSI currently used in the normal Wi-Fi NW from the target AP, and requests the target AP to execute authentication according to the normal Wi-Fi WSI. If the target AP executes authentication and the authentication is successful, a connection is established between the MFP 10 and the target AP. The target AP registers the normal Wi-Fi MAC of the MFP 10 in the management list of the target AP. As a result, the MFP 10 newly belongs to (ie participates in) the existing normal Wi-Fi NW using the normal Wi-Fi MAC.

なお、通常Wi−FiWSIは、対象APによって準備される無線設定情報であり、WFDWSIと同様に、認証方式、暗号化方式、パスワード、SSID、BSSID等を含む。これらの各情報は、通常Wi−FiNWで利用される点を除くと、WFDWSIに含まれる各情報と同様である。なお、通常Wi−FiWSIに含まれるBSSIDは、APのMACアドレスである。   Note that the normal Wi-Fi WSI is wireless setting information prepared by the target AP, and includes an authentication method, an encryption method, a password, an SSID, a BSSID, and the like, similarly to the WFD WSI. Each of these pieces of information is the same as each piece of information included in WFDWSI except that it is normally used in Wi-Fi NW. Note that the BSSID normally included in Wi-Fi WSI is the MAC address of the AP.

(多機能機10のメモリ34に記憶される情報)
多機能機10のメモリ34は、MFP10がWFDMACを利用して無線ネットワークに所属している場合(即ち上記の第1及び第2の手法)には、WFDMACに対応付けて、WFD状態値と、WFDWSIと、を格納する。WFD状態値は、WFD方式に関するMFP10の現在の状態(即ちG/O状態又はCL状態)を示す値である。
(Information stored in the memory 34 of the multi-function device 10)
When the MFP 10 belongs to a wireless network using the WFDMAC (that is, the first and second methods described above), the memory 34 of the multi-function device 10 is associated with the WFDMAC and the WFD state value, WFDWSI is stored. The WFD state value is a value indicating the current state (that is, the G / O state or the CL state) of the MFP 10 related to the WFD method.

メモリ34は、さらに、MFP10が通常Wi−FiMACを利用して無線ネットワークに所属している場合(即ち上記の第3の手法)には、通常Wi−FiMACに対応付けて、通常Wi−FiWSIを格納する。   Further, when the MFP 10 belongs to the wireless network using the normal Wi-FiMAC (that is, the third method described above), the memory 34 associates the normal Wi-FiMAC with the normal Wi-FiMAC. Store.

(携帯端末50,100の構成)
携帯端末50,100は、例えば、携帯電話(例えばスマートフォン)、PDA、ノートPC、タブレットPC、携帯型音楽再生装置、携帯型動画再生装置等の可搬型の端末装置である。携帯端末50,100のそれぞれは、MFP10と同様に、WFD通信と通常Wi−Fi通信とを実行可能である。
(Configuration of portable terminals 50 and 100)
The portable terminals 50 and 100 are portable terminal devices such as a mobile phone (for example, a smartphone), a PDA, a notebook PC, a tablet PC, a portable music playback device, and a portable video playback device. Each of the portable terminals 50 and 100 can execute WFD communication and normal Wi-Fi communication, similarly to the MFP 10.

携帯端末50,100のそれぞれは、MFP10に機能(例えば印刷機能、スキャン機能等)を実行させるためのアプリケーション(以下では「MFP用アプリケーション」と呼ぶ)を格納している。MFP用アプリケーションは、例えば、MFP10のベンダによって提供されるサーバから携帯端末50,100にインストールされてもよいし、MFP10と共に出荷されるメディアから携帯端末50,100にインストールされてもよい。   Each of the portable terminals 50 and 100 stores an application (hereinafter referred to as “MFP application”) for causing the MFP 10 to execute a function (for example, a print function, a scan function, etc.). For example, the MFP application may be installed in the portable terminals 50 and 100 from a server provided by the vendor of the MFP 10, or may be installed in the portable terminals 50 and 100 from a medium shipped together with the MFP 10.

(MFP10によって実行される処理)
続いて、MFP10によって実行される処理の内容を説明する。本実施例では、上記のWFD接続操作が加えられる場合の処理(図2)と、後述の接続要求が受信される場合の処理(図3)と、を中心に説明する。従って、例えば、上記の通常Wi−Fi接続操作が加えられる場合の処理については、説明を省略する。
(Processing executed by MFP 10)
Next, the contents of processing executed by the MFP 10 will be described. In the present embodiment, the description will focus on the processing when the above WFD connection operation is applied (FIG. 2) and the processing when a connection request described later is received (FIG. 3). Therefore, for example, the description of the processing when the normal Wi-Fi connection operation is added is omitted.

(MFP10によって実行される操作監視処理;図2)
例えば、携帯端末(例えば50,100)のユーザが、携帯端末に格納されているデータによって表される画像の印刷を望む状況を想定する。この場合、ユーザは、携帯端末とMFP10との間に接続を確立させるために、上記のWFD接続操作をMFP10の操作部12に加える。以下では、MFP10と接続が確立されるべき携帯端末のことを「対象携帯端末」と呼ぶ。
(Operation monitoring process executed by the MFP 10; FIG. 2)
For example, a situation is assumed in which a user of a mobile terminal (for example, 50, 100) desires to print an image represented by data stored in the mobile terminal. In this case, the user applies the above WFD connection operation to the operation unit 12 of the MFP 10 in order to establish a connection between the portable terminal and the MFP 10. Hereinafter, a mobile terminal that is to be connected to the MFP 10 is referred to as a “target mobile terminal”.

S10では、MFP10の制御部30は、WFD接続操作が操作部12に加えられることを監視している。制御部30は、WFD接続操作が操作部12に加えられると、S10でYESと判断して、S12に進む。   In S <b> 10, the control unit 30 of the MFP 10 monitors whether a WFD connection operation is applied to the operation unit 12. When the WFD connection operation is applied to the operation unit 12, the control unit 30 determines YES in S10 and proceeds to S12.

S12では、判断部44は、MFP10の状態がデバイス状態であるのか否かを判断する。具体的に言うと、判断部44は、WFDMACに対応付けられているWFD状態値(即ちG/O状態を示す値又はCL状態を示す値)がメモリ34に格納されていない場合には、MFP10の状態がデバイス状態であると判断し(S12でYES)、S14に進む。一方において、判断部44は、WFDMACに対応付けられているWFD状態値がメモリ34に格納されている場合には、MFP10の状態がデバイス状態でないと判断し(S12でNO)、S20に進む。   In S12, the determination unit 44 determines whether the state of the MFP 10 is a device state. Specifically, if the WFD state value associated with WFDMAC (that is, the value indicating the G / O state or the value indicating the CL state) is not stored in the memory 34, the determination unit 44 determines that the MFP 10 Is determined to be a device state (YES in S12), the process proceeds to S14. On the other hand, when the WFD state value associated with WFDMAC is stored in the memory 34, the determination unit 44 determines that the state of the MFP 10 is not the device state (NO in S12), and proceeds to S20.

S14では、第1の接続部41は、SLSを実行する。上述したように、第1の接続部41は、Probe Request信号を送信してProbe Response信号を受信することによって、MFP10の周囲に存在するG/O機器及びデバイス機器を見つけることができる。より具体的に言うと、Probe Response信号は、当該信号の送信元のMACアドレス、デバイス名等を含む。また、G/O機器から受信されるProbe Response信号は、さらに、G/O機器が形成しているWFDNWのSSIDを含む。   In S14, the first connection unit 41 executes SLS. As described above, the first connection unit 41 can find G / O devices and device devices existing around the MFP 10 by transmitting a Probe Request signal and receiving a Probe Response signal. More specifically, the Probe Response signal includes the MAC address, device name, etc. of the transmission source of the signal. Further, the Probe Response signal received from the G / O device further includes the SSID of the WFDNW formed by the G / O device.

S14では、第1の接続部41は、さらに、SLSで見つかった各機器の情報(SSID、デバイス名、MACアドレス等)を示す機器リストを生成して、機器リストを表示部14に表示させる。ユーザは、操作部12を操作して、機器リストの中から対象携帯端末を選択する。第1の接続部41は、対象携帯端末が選択されると、S16に進む。   In S14, the first connection unit 41 further generates a device list indicating information (SSID, device name, MAC address, etc.) of each device found in the SLS, and causes the display unit 14 to display the device list. The user operates the operation unit 12 to select the target mobile terminal from the device list. When the target mobile terminal is selected, the first connection unit 41 proceeds to S16.

S16では、第1の接続部41は、対象携帯端末に接続要求(即ちAssociation Request信号)を送信する。当該接続要求は、MFP10のWFDMACを送信元として含み、S14のSLSで取得された対象携帯端末のMACアドレスを送信先として含む。   In S16, the first connection unit 41 transmits a connection request (that is, an Association Request signal) to the target mobile terminal. The connection request includes the WFDMAC of the MFP 10 as a transmission source, and includes the MAC address of the target mobile terminal acquired by the SLS in S14 as a transmission destination.

ユーザは、S14で表示される機器リストの中から対象携帯端末を選択した後に、さらに、対象携帯端末を操作してMFP用アプリケーションを起動させる。そして、ユーザは、MFP用アプリケーションによって実現される画面に従った印刷操作(以下では「接続印刷操作」と呼ぶ)を、対象携帯端末に加える。対象携帯端末は、接続印刷操作が加えられると、MFP10から接続要求を受信して、接続可能であることを示す情報を含む応答(即ちAssociation Response信号)をMFP10に送信する。   After selecting the target mobile terminal from the device list displayed in S14, the user further operates the target mobile terminal to activate the MFP application. Then, the user adds a printing operation (hereinafter referred to as “connected printing operation”) according to the screen realized by the MFP application to the target mobile terminal. When the connection printing operation is performed, the target portable terminal receives a connection request from the MFP 10 and transmits a response including information indicating that connection is possible (that is, an Association Response signal) to the MFP 10.

S16では、第1の接続部41は、さらに、対象携帯端末から応答を受信すると、対象携帯端末の状態に応じた処理を実行する。例えば、対象携帯端末がデバイス状態である場合には、第1の接続部41は、G/Oネゴシエーションを対象携帯端末と実行して、MFP10がG/O状態になるのかCL状態になるのかを決定する。   In S16, the 1st connection part 41 will perform the process according to the state of the object portable terminal, if a response is further received from the object portable terminal. For example, when the target mobile terminal is in the device state, the first connection unit 41 executes G / O negotiation with the target mobile terminal to determine whether the MFP 10 enters the G / O state or the CL state. decide.

第1の接続部41は、MFP10がG/O状態になることを決定する場合には、WFDWSIを準備する。WFDWSIを準備する手法は、上述のとおりである(例えば、MFP10のWFDMACをBSSIDとして準備する)。そして、第1の接続部41は、WPS(Wi-Fi Protected Setup)のいわゆるプッシュボタン方式(即ちPBC方式)に従った無線通信(即ちWPS通信)を対象携帯端末と実行して、WFDWSIを対象携帯端末に供給する。プッシュボタン方式は、いわゆるPINコード方式とは異なる方式であり、一対のデバイスのそれぞれに予め決められた操作が実行される場合に、当該一対のデバイスにおいてPINコードの表示及び入力がなされなくても、一方のデバイスから他方のデバイスにWSIを供給する(即ちWPS通信を実行する)ための方式である。本実施例では、上記の予め決められた操作は、MFP10でのWFD接続操作と、対象携帯端末での接続印刷操作と、に対応する。   The first connection unit 41 prepares WFD WSI when determining that the MFP 10 is in the G / O state. The method for preparing WFDWSI is as described above (for example, preparing WFDMAC of MFP 10 as BSSID). And the 1st connection part 41 performs wireless communication (namely, WPS communication) according to what is called pushbutton method (namely, PBC method) of WPS (Wi-Fi Protected Setup) with an object portable terminal, and is intended for WFDWSI Supply to mobile devices. The push button method is a method different from the so-called PIN code method, and when a predetermined operation is performed on each of the pair of devices, even if the PIN code is not displayed and input on the pair of devices. This is a method for supplying WSI from one device to the other device (that is, executing WPS communication). In the present embodiment, the predetermined operation corresponds to a WFD connection operation on the MFP 10 and a connection printing operation on the target portable terminal.

なお、変形例では、WPSのPBC方式を採用せずに、AOSS(登録商標)、AOSS2、SES(Secure Easy Setupの略;登録商標)等を採用してもよい。これらのいずれも、WPSのPBC方式と同様の方式である。また、別の変形例では、WPSのPINコード方式が採用されてもよい。PINコード方式は、一方のデバイスにおいてPINコードが表示され、かつ、他方のデバイスに上記のPINコードが入力される場合に、一方(又は他方)のデバイスから他方(又は一方)のデバイスにWSIを供給する(即ちWPS通信を実行する)ための方式である。   In the modification, AOSS (registered trademark), AOSS2, SES (abbreviation of Secure Easy Setup; registered trademark) or the like may be employed without employing the WPS PBC method. Both of these are similar to the WPS PBC method. In another modification, a WPS PIN code method may be adopted. In the PIN code method, when a PIN code is displayed on one device and the above PIN code is input to the other device, WSI is transmitted from one (or the other) device to the other (or one) device. This is a method for supplying (that is, executing WPS communication).

次いで、第1の接続部41は、対象携帯端末から受信される認証要求(即ちAuthentication Request信号)に応じて、認証通信(即ち4-Way Handshake信号等の通信)を実行して、対象携帯端末の認証を実行する。これにより、第1の接続部41は、MFP10と対象携帯端末との間に、WFD方式に従った接続を確立する。そして、第1の接続部41は、対象携帯端末のMACアドレスを、MFP10の管理リストに登録する。これにより、MFP10は、WFDNWを新たに形成することができる。なお、第1の接続部41は、さらに、WFDMACに対応付けて、G/O状態を示すWFD状態値と、準備済みのWFDWSIと、をメモリ34に格納する。これらの各処理が終了すると、S40に進む。   Next, the first connection unit 41 executes authentication communication (that is, communication such as a 4-way handshake signal) in response to an authentication request (that is, Authentication Request signal) received from the target portable terminal, and the target portable terminal Perform authentication of. Thereby, the first connection unit 41 establishes a connection according to the WFD method between the MFP 10 and the target portable terminal. Then, the first connection unit 41 registers the MAC address of the target mobile terminal in the management list of the MFP 10. Thereby, the MFP 10 can newly form a WFDNW. The first connection unit 41 further stores the WFD state value indicating the G / O state and the prepared WFD WSI in the memory 34 in association with the WFDMAC. When these processes are completed, the process proceeds to S40.

一方において、第1の接続部41は、MFP10がCL状態になることを決定する場合には、WPS通信を実行して、対象携帯端末からWFDWSIを取得する。次いで、第1の接続部41は、認証要求(即ちAuthentication Request信号)を対象携帯端末に送信して、認証通信を実行する。この結果、第1の接続部41は、MFP10と対象携帯端末との間に、WFD方式に従った接続を確立する。そして、対象携帯端末の管理リストにWFDMACが登録される。これにより、MFP10は、対象携帯端末によって新たに形成されるWFDNWに所属することができる。なお、第1の接続部41は、さらに、WFDMACに対応付けて、CL状態を示すWFD状態値と、取得済みのWFDWSIと、をメモリ34に格納する。これらの各処理が終了すると、S40に進む。   On the other hand, when determining that the MFP 10 is in the CL state, the first connection unit 41 executes WPS communication and acquires WFD WSI from the target portable terminal. Next, the first connection unit 41 transmits an authentication request (that is, an Authentication Request signal) to the target mobile terminal and executes authentication communication. As a result, the first connection unit 41 establishes a connection according to the WFD method between the MFP 10 and the target portable terminal. Then, WFDMAC is registered in the management list of the target mobile terminal. Thereby, the MFP 10 can belong to a WFDNW newly formed by the target portable terminal. The first connection unit 41 further stores the WFD state value indicating the CL state and the acquired WFD WSI in the memory 34 in association with the WFDMAC. When these processes are completed, the process proceeds to S40.

また、S16が開始される時点で、対象携帯端末が既にG/O状態である場合には、第1の接続部41は、G/Oネゴシエーションを実行せずに、MFP10がCL状態になることを決定する。そして、第1の接続部41は、WPS通信を実行して、対象携帯端末からWFDWSIを取得し、次いで、認証通信を実行する。この結果、第1の接続部41は、MFP10と対象携帯端末との間に、WFD方式に従った接続を確立する。これにより、対象携帯端末の管理リストにWFDMACが登録される。MFP10は、対象携帯端末が形成している既存のWFDNWに所属(即ち参加)することができる。なお、第1の接続部41は、さらに、WFDMACに対応付けて、CL状態を示すWFD状態値と、取得済みのWFDWSIと、をメモリ34に格納する。これらの各処理を終えると、S40に進む。   Further, when the target mobile terminal is already in the G / O state at the time when S16 is started, the first connection unit 41 does not execute the G / O negotiation, and the MFP 10 enters the CL state. To decide. And the 1st connection part 41 performs WPS communication, acquires WFDWSI from an object portable terminal, and then performs authentication communication. As a result, the first connection unit 41 establishes a connection according to the WFD method between the MFP 10 and the target portable terminal. Thereby, WFDMAC is registered in the management list of the target mobile terminal. The MFP 10 can belong to (that is, participate in) the existing WFDNW formed by the target mobile terminal. The first connection unit 41 further stores the WFD state value indicating the CL state and the acquired WFD WSI in the memory 34 in association with the WFDMAC. When these processes are completed, the process proceeds to S40.

一方において、S20では、判断部44は、MFP10の状態がCL状態であるのか否かを判断する。具体的に言うと、判断部44は、メモリ34内のWFD状態値がCL状態を示す値である場合には、MFP10の状態がCL状態であると判断し(S20でYES)、S22に進む。一方において、判断部44は、メモリ34内のWFD状態値がG/O状態を示す値である場合には、MFP10の状態がCL状態でない(即ちG/O状態である)と判断し(S20でNO)、S30に進む。   On the other hand, in S20, the determination unit 44 determines whether or not the MFP 10 is in the CL state. Specifically, when the WFD state value in the memory 34 is a value indicating the CL state, the determination unit 44 determines that the state of the MFP 10 is the CL state (YES in S20), and proceeds to S22. . On the other hand, when the WFD state value in the memory 34 is a value indicating the G / O state, the determination unit 44 determines that the state of the MFP 10 is not the CL state (that is, the G / O state) (S20). NO), the process proceeds to S30.

MFP10の状態がG/O状態である場合(S20でNO)には、MFP10は、G/O機器としてWFDNW(以下では「WFDNW(MFP=G/O)」と呼ぶ)に所属しており、対象携帯端末をWFDNW(MFP=G/O)に新たに参加させることができる。従って、後述のS30において、MFP10は、対象携帯端末をWFDNW(MFP=G/O)に新たに参加させるための処理を実行する。   When the MFP 10 is in the G / O state (NO in S20), the MFP 10 belongs to the WFDNW (hereinafter referred to as “WFDNW (MFP = G / O)”) as a G / O device, The target portable terminal can newly participate in WFDNW (MFP = G / O). Accordingly, in S30 described later, the MFP 10 executes processing for newly joining the target portable terminal to the WFDNW (MFP = G / O).

一方において、MFP10の状態がCL状態である場合(S20でYES)には、MFP10は、CL機器としてWFDNW(以下では「WFDNW(MFP=CL)」と呼ぶ)に所属しており、対象携帯端末をWFDNW(MFP=CL)に新たに参加させることができない。WFDNW(MFP=CL)に対象携帯端末を新たに参加させる権限は、WFDNW(MFP=CL)を形成しているG/O機器(以下では「特定のG/O機器」と呼ぶ)のみに与えられるからである。このために、MFP10は、次のS22の処理を実行する。   On the other hand, when the MFP 10 is in the CL state (YES in S20), the MFP 10 belongs to the WFDNW (hereinafter referred to as “WFDNW (MFP = CL)”) as the CL device, and the target mobile terminal Cannot be newly added to WFDNW (MFP = CL). The authority to newly join the target mobile terminal to the WFDNW (MFP = CL) is given only to the G / O device forming the WFDNW (MFP = CL) (hereinafter referred to as “specific G / O device”). Because it is. For this purpose, the MFP 10 executes the following process of S22.

S22では、出力部45は、WFDNW(MFP=CL)で現在利用されているWFDWSIに含まれるSSID(以下では「特定のSSID」と呼ぶ)を、表示部14に表示させる。MFP10のメモリ34は、WFDMACに対応付けられているWFDWSI(即ち、WFDNW(MFP=CL)で現在利用されているWFDWSI)を格納している。従って、出力部45は、メモリ34内のWFDWSIに含まれる特定のSSIDを取得して、特定のSSIDを表示部14に表示させることができる。   In S <b> 22, the output unit 45 causes the display unit 14 to display the SSID (hereinafter referred to as “specific SSID”) included in the WFD WSI currently used by the WFDNW (MFP = CL). The memory 34 of the MFP 10 stores WFDWSI associated with WFDMAC (that is, WFDWSI currently used in WFDNW (MFP = CL)). Therefore, the output unit 45 can acquire a specific SSID included in the WFD WSI in the memory 34 and cause the display unit 14 to display the specific SSID.

S22において、特定のSSIDが表示部14に表示されるために、対象携帯端末のユーザは、表示部14を見ることによって、特定のSSIDを知ることができる。即ち、ユーザは、特定のSSIDによって識別されるWFDNW(MFP=CL)に対象携帯端末を参加させるべきことを知ることができる。そして、ユーザは、対象携帯端末を操作してMFP用アプリケーションを起動させ、対象携帯端末に接続印刷操作を加える。この場合、対象携帯端末は、SLSを実行して、機器リストを表示させる。当該機器リストは、WFDNW(MFP=CL)を形成している特定のG/O機器に関する情報(即ち特定のSSID)を含む。   In S22, since the specific SSID is displayed on the display unit 14, the user of the target portable terminal can know the specific SSID by looking at the display unit 14. That is, the user can know that the target portable terminal should participate in the WFDNW (MFP = CL) identified by the specific SSID. Then, the user operates the target mobile terminal to activate the MFP application, and performs a connection printing operation on the target mobile terminal. In this case, the target mobile terminal executes SLS to display a device list. The device list includes information regarding a specific G / O device forming the WFDNW (MFP = CL) (that is, a specific SSID).

ユーザは、機器リストから特定のG/O機器(即ち特定のSSID)を選択する。これにより、対象携帯端末は、特定のG/O機器に接続要求(即ちAssociation Request信号)を送信する。対象携帯端末及び特定のG/O機器は、WPS通信及び認証通信を実行する。この結果、特定のG/O機器と対象携帯端末との間に、WFD方式に従った接続が確立される。これにより、特定のG/O機器の管理リストに対象携帯端末のMACアドレスが登録される。従って、対象携帯端末は、WFDNW(MFP=CL)に所属(即ち参加)することができる。即ち、MFP10及び対象携帯端末は、特定のG/O機器によって形成されている同じ無線ネットワーク(即ちWFDNW(MFP=CL))に所属することができる。S22が終了すると、S40に進む。   The user selects a specific G / O device (that is, a specific SSID) from the device list. Thereby, the target mobile terminal transmits a connection request (that is, an Association Request signal) to a specific G / O device. The target mobile terminal and the specific G / O device execute WPS communication and authentication communication. As a result, a connection according to the WFD method is established between the specific G / O device and the target mobile terminal. Thereby, the MAC address of the target portable terminal is registered in the management list of the specific G / O device. Therefore, the target portable terminal can belong to (that is, participate in) WFDNW (MFP = CL). That is, the MFP 10 and the target mobile terminal can belong to the same wireless network (that is, WFDNW (MFP = CL)) formed by a specific G / O device. When S22 ends, the process proceeds to S40.

一方において、MFP10の状態がG/O状態である場合(S20でNO)には、S30が実行される。ユーザは、MFP10の操作部12にWFD接続操作(S10)を加えた後に、対象携帯端末に接続印刷操作を加える。この場合、対象携帯端末は、SLSを実行して、機器リストを表示させる。当該機器リストは、G/O機器であるMFP10に関する情報を含む。ユーザは、機器リストからMFP10を選択する。これにより、対象携帯端末は、MFP10に接続要求(即ちAssociation Request信号)を送信する。   On the other hand, when the MFP 10 is in the G / O state (NO in S20), S30 is executed. The user adds a WFD connection operation (S10) to the operation unit 12 of the MFP 10, and then adds a connection printing operation to the target portable terminal. In this case, the target mobile terminal executes SLS to display a device list. The device list includes information related to the MFP 10 that is a G / O device. The user selects the MFP 10 from the device list. Thereby, the target portable terminal transmits a connection request (that is, an Association Request signal) to the MFP 10.

S30では、参加部42は、対象携帯端末から接続要求を受信して、接続可能であることを示す情報を含む応答(即ちAssociation Response信号)を対象携帯端末に送信する。そして、参加部42は、WPS通信を対象携帯端末と実行して、WFDNW(MFP=G/O)で現在利用されているWFDWSI(即ち、WFDMACに対応付けられているメモリ34内のWFDWSI)を対象携帯端末に供給する。次いで、参加部42は、認証通信を実行して、対象携帯端末の認証を実行する。この結果、参加部42は、MFP10と対象携帯端末との間に、WFD方式に従った接続を確立する。そして、参加部42は、対象携帯端末のMACアドレスを、MFP10の管理リストに登録する。これにより、MFP10は、対象携帯端末をWFDNW(MFP=G/O)に参加させることができる。これらの各処理が終了すると、S40に進む。   In S <b> 30, the participation unit 42 receives a connection request from the target mobile terminal, and transmits a response including information indicating that connection is possible (that is, an Association Response signal) to the target mobile terminal. Then, the participation unit 42 executes WPS communication with the target portable terminal, and uses the WFD WSI currently used in the WFDNW (MFP = G / O) (that is, the WFD WSI in the memory 34 associated with the WFDMAC). Supply to the target mobile terminal. Next, the participation unit 42 performs authentication communication to perform authentication of the target mobile terminal. As a result, the participation unit 42 establishes a connection according to the WFD method between the MFP 10 and the target portable terminal. Then, the participation unit 42 registers the MAC address of the target mobile terminal in the management list of the MFP 10. Thereby, the MFP 10 can cause the target portable terminal to participate in the WFDNW (MFP = G / O). When these processes are completed, the process proceeds to S40.

S40では、通信部43は、対象携帯端末から印刷データを受信する。なお、印刷データは、対象携帯端末に格納されているデータ(例えば、画像データ、ウェブデータ等)であって、ユーザによって印刷対象として指定されるデータである。   In S40, the communication unit 43 receives print data from the target mobile terminal. Note that the print data is data (for example, image data, web data, etc.) stored in the target mobile terminal and is designated as a print target by the user.

S16又はS30を経由する場合には、MFP10及び対象携帯端末のうちの一方がG/O機器として動作し、他方がCL機器として動作する。この状態では、MFP10及び対象携帯端末は、他装置を介さずに、印刷データの無線通信を実行することができる。従って、S16又はS30を経由するS40では、通信部43は、WFDNWを利用して(即ち、S16又はS30で確立された接続を利用して)、他装置を介さずに、対象携帯端末から印刷データを受信する。   When going through S16 or S30, one of the MFP 10 and the target portable terminal operates as a G / O device, and the other operates as a CL device. In this state, the MFP 10 and the target portable terminal can execute print data wireless communication without going through other devices. Accordingly, in S40 via S16 or S30, the communication unit 43 uses the WFDNW (that is, using the connection established in S16 or S30) and prints from the target portable terminal without using another device. Receive data.

一方において、S22を経由する場合には、MFP10及び対象携帯端末の両方が、特定のG/O機器によって形成されているWFDNW(MFP=CL)のCL機器として動作する。従って、MFP10及び対象携帯端末は、特定のG/O機器を介して、印刷データの無線通信を実行することができる。従って、S22を経由するS40では、通信部43は、WFDNW(MFP=CL)を利用して、特定のG/O機器を介して、対象携帯端末から印刷データを受信する。   On the other hand, when going through S22, both the MFP 10 and the target portable terminal operate as CL devices of WFDNW (MFP = CL) formed by a specific G / O device. Accordingly, the MFP 10 and the target portable terminal can execute wireless communication of print data via a specific G / O device. Accordingly, in S40 via S22, the communication unit 43 receives print data from the target portable terminal via the specific G / O device using WFDNW (MFP = CL).

次いで、S42では、制御部30は、印刷データを印刷実行部16に供給する。これにより、印刷実行部16は、印刷データによって表される画像を印刷媒体に印刷する。対象携帯端末のユーザは、印刷済みの印刷媒体を取得することができる。S42が終了すると、図2のS10に戻る。   Next, in S <b> 42, the control unit 30 supplies print data to the print execution unit 16. Thereby, the print execution unit 16 prints the image represented by the print data on the print medium. The user of the target mobile terminal can obtain a printed print medium. When S42 ends, the process returns to S10 of FIG.

(MFP10によって実行される受信監視処理;図3)
図2のフローチャートでは、対象携帯端末に接続印刷操作が加えられる前に、MFP10にWFD接続操作が加えられる状況を想定している。これに対し、図3のフローチャートでは、MFP10にWFD接続操作が加えられる前に、対象携帯端末に接続印刷操作が加えられる状況を想定している。
(Reception monitoring process executed by the MFP 10; FIG. 3)
In the flowchart of FIG. 2, it is assumed that the WFD connection operation is applied to the MFP 10 before the connection printing operation is applied to the target mobile terminal. On the other hand, in the flowchart of FIG. 3, it is assumed that a connection print operation is applied to the target mobile terminal before the WFD connection operation is applied to the MFP 10.

対象携帯端末のユーザは、MFP10にWFD接続操作を加える前に、デバイス状態の対象携帯端末に接続印刷操作を加える。この場合、対象携帯端末は、SLSを実行して、MFP10に関する情報を含む機器リストを表示させる。上述したように、SLSでは、通常、G/O機器、デバイス機器、及び、APを見つけることができるが、CL機器を見つけることができない。ただし、対象携帯端末(即ちMFP用アプリケーション)は、CL機器を見つけることができる。即ち、対象携帯端末は、G/O機器を見つけることができると、当該G/O機器が管理しているCL機器に関する情報(MACアドレス、デバイス名等)を供給するように、当該G/O機器に要求する。対象携帯端末は、当該G/O機器からCL機器に関する情報を取得することによって、CL機器を見つけることができる。従って、仮に、MFP10がCL機器としてWFDNW(MFP=CL)に所属している状況でも、対象携帯端末は、MFP10を見つけることができる(即ち、MFP10のWFDMACを取得することができる)。   The user of the target mobile terminal applies a connection print operation to the target mobile terminal in the device state before applying the WFD connection operation to the MFP 10. In this case, the target mobile terminal executes SLS and displays a device list including information related to the MFP 10. As described above, the SLS can normally find the G / O device, device device, and AP, but cannot find the CL device. However, the target mobile terminal (that is, the MFP application) can find the CL device. That is, when the target mobile terminal can find the G / O device, the G / O device supplies the information (MAC address, device name, etc.) related to the CL device managed by the G / O device. Request to equipment. The target mobile terminal can find the CL device by acquiring information about the CL device from the G / O device. Therefore, even if the MFP 10 belongs to WFD NW (MFP = CL) as a CL device, the target portable terminal can find the MFP 10 (that is, the WFDMAC of the MFP 10 can be acquired).

ユーザは、対象携帯端末に表示される機器リストから、MFP10を選択する。この場合、対象携帯端末は、MFP10に接続要求(即ちAssociation Request信号)を送信する。当該接続要求は、対象携帯端末のMACアドレスを送信元として含み、MFP10のWFDMACを送信先として含む。   The user selects the MFP 10 from the device list displayed on the target mobile terminal. In this case, the target mobile terminal transmits a connection request (that is, an Association Request signal) to the MFP 10. The connection request includes the MAC address of the target mobile terminal as a transmission source, and includes the WFDMAC of the MFP 10 as a transmission destination.

S110では、MFP10の制御部30は、MFP10のWFDMACを送信先として含む接続要求を受信することを監視している。制御部30は、接続要求を受信すると、S110でYESと判断して、S112に進む。   In S110, the control unit 30 of the MFP 10 monitors whether a connection request including the WFDMAC of the MFP 10 as a transmission destination is received. When receiving the connection request, the control unit 30 determines YES in S110 and proceeds to S112.

S112及びS120は、図2のS12及びS20と同様である。MFP10の状態がデバイス状態である場合(S112でYES)には、S116において、第1の接続部41は、MFP10の操作部12にWFD接続操作が加えられるまで待機する。そして、第1の接続部41は、WFD接続操作が加えられると、接続可能であることを示す情報を含む応答(即ちAssociation Response信号)を対象携帯端末に送信する。その後、G/Oネゴシエーション、WPS通信、及び、認証通信が実行される点は、図2のS16と同様である。S116が終了すると、S140に進む。   S112 and S120 are the same as S12 and S20 of FIG. When the state of the MFP 10 is the device state (YES in S112), in S116, the first connection unit 41 waits until a WFD connection operation is applied to the operation unit 12 of the MFP 10. Then, when the WFD connection operation is applied, the first connection unit 41 transmits a response including information indicating that connection is possible (that is, an Association Response signal) to the target mobile terminal. Thereafter, G / O negotiation, WPS communication, and authentication communication are executed in the same manner as S16 in FIG. When S116 ends, the process proceeds to S140.

MFP10の状態がCL状態である場合(S120でYES)には、出力部45は、図2のS22と同様に、WFDNW(MFP=CL)で現在利用されているWFDWSIに含まれる特定のSSIDを、表示部14に表示させる。対象携帯端末のユーザは、表示部14を見ることによって、特定のSSIDを知ることができる。ユーザは、対象携帯端末に表示される機器リストから、MFP10の代わりに、特定のG/O機器(即ち特定のSSID)を選択する。機器リストから特定のG/O機器が選択された後の動作、即ち、対象携帯端末がWFDNW(MFP=CL)に所属(即ち参加)するまでの動作は、図2のS22で説明した動作と同様である。S122が終了すると、S140に進む。   When the state of the MFP 10 is the CL state (YES in S120), the output unit 45 displays a specific SSID included in the WFD WSI currently used in WFDNW (MFP = CL), as in S22 of FIG. And displayed on the display unit 14. The user of the target mobile terminal can know the specific SSID by looking at the display unit 14. The user selects a specific G / O device (that is, a specific SSID) instead of the MFP 10 from the device list displayed on the target mobile terminal. The operation after a specific G / O device is selected from the device list, that is, the operation until the target portable terminal belongs to (that is, joins) the WFDNW (MFP = CL) is the same as the operation described in S22 of FIG. It is the same. When S122 ends, the process proceeds to S140.

MFP10の状態がG/O状態である場合(S120でNO)には、S130において、第1の接続部41は、MFP10の操作部12にWFD接続操作が加えられるまで待機する。そして、第1の接続部41は、WFD接続操作が加えられると、接続可能であることを示す情報を含む応答を対象携帯端末に送信する。その後、WPS通信及び認証通信が実行される点は、図2のS30と同様である。S130が終了すると、S140に進む。   When the MFP 10 is in the G / O state (NO in S120), in S130, the first connection unit 41 waits until a WFD connection operation is applied to the operation unit 12 of the MFP 10. Then, when the WFD connection operation is applied, the first connection unit 41 transmits a response including information indicating that connection is possible to the target mobile terminal. Thereafter, WPS communication and authentication communication are executed in the same manner as S30 in FIG. When S130 ends, the process proceeds to S140.

S140及びS142は、図2のS40及びS42と同様である。S142が終了すると、S110に戻る。   S140 and S142 are the same as S40 and S42 of FIG. When S142 ends, the process returns to S110.

(具体例)
続いて、図4〜図7を参照して、MFP10及び携帯端末50,100によって実現される具体例を説明する。図4〜図7は、MFP10が図2及び図3の各処理を実行することによって実現される。
(Concrete example)
Next, specific examples realized by the MFP 10 and the portable terminals 50 and 100 will be described with reference to FIGS. 4 to 7 are realized by the MFP 10 executing the processes in FIGS. 2 and 3.

(図4;G/Oネゴシエーション)
図4の初期状態では、MFP10及び携帯端末50,100は、それぞれ、デバイス状態である。携帯端末50のユーザは、MFP10に印刷を実行させることを望む場合に、MFP10の操作部12にWFD接続操作を加える(図2のS10でYES)。この場合、MFP10は、SLSを実行して、機器リストを表示させる(S12でYES、S14)。
(Figure 4; G / O negotiation)
In the initial state of FIG. 4, the MFP 10 and the portable terminals 50 and 100 are each in a device state. When the user of the portable terminal 50 desires the MFP 10 to execute printing, the user of the portable terminal 50 applies a WFD connection operation to the operation unit 12 of the MFP 10 (YES in S10 of FIG. 2). In this case, the MFP 10 executes SLS to display a device list (YES in S12, S14).

ユーザは、MFP10の操作部12を操作して、機器リストから携帯端末50を選択する。この場合、MFP10は、接続要求を携帯端末50に送信する(S16)。当該接続要求は、MFP10のWFDMACを送信元として含み、携帯端末50のMACアドレス(以下では「MAC50」と呼ぶ)を送信先として含む。MFP10は、上記のSLSの過程でMAC50を取得しているために、MAC50を送信先として含む接続要求を送信することができる。   The user operates the operation unit 12 of the MFP 10 to select the portable terminal 50 from the device list. In this case, the MFP 10 transmits a connection request to the portable terminal 50 (S16). The connection request includes the WFDMAC of the MFP 10 as a transmission source, and includes the MAC address of the portable terminal 50 (hereinafter referred to as “MAC50”) as a transmission destination. Since the MFP 10 has acquired the MAC 50 in the above SLS process, the MFP 10 can transmit a connection request including the MAC 50 as a transmission destination.

ユーザは、さらに、携帯端末50に接続印刷操作を加える。この場合、携帯端末50は、MFP10から接続要求を受信して、接続可能であることを示す応答をMFP10に送信する。この結果、MFP10は、G/Oネゴシエーションを携帯端末50と実行する(S16)。   The user further performs a connection printing operation on the portable terminal 50. In this case, the portable terminal 50 receives a connection request from the MFP 10 and transmits a response indicating that connection is possible to the MFP 10. As a result, the MFP 10 executes G / O negotiation with the portable terminal 50 (S16).

図4のケースAは、G/Oネゴシエーションの結果として、MFP10がCL状態になると共に携帯端末50がG/O状態になるケースである。携帯端末50は、SSID「a1」、パスワード「b1」等を含むWFDWSIを準備する(S16)。MFP10は、WPS通信を実行して、携帯端末50からWFDWSIを取得する(S16)。次いで、MFP10は、認証通信を携帯端末50と実行して、WFD方式に従った接続C1を確立する(S16)。これにより、G/O状態の携帯端末50が無線ネットワーク(以下では「NW1」と呼ぶ)を形成し、CL状態のMFP10がNW1に参加する。そして、MFP10は、NW1を利用して(即ち、接続C1を利用して)、他装置を介さずに、携帯端末50から印刷データPD1を受信し(S40)、印刷データPD1に従って印刷処理を実行する(S42)。   Case A in FIG. 4 is a case where the MFP 10 enters the CL state and the portable terminal 50 enters the G / O state as a result of the G / O negotiation. The portable terminal 50 prepares WFDWSI including the SSID “a1”, the password “b1”, and the like (S16). The MFP 10 executes WPS communication and acquires WFD WSI from the portable terminal 50 (S16). Next, the MFP 10 executes authentication communication with the portable terminal 50 and establishes a connection C1 according to the WFD method (S16). Thereby, the portable terminal 50 in the G / O state forms a wireless network (hereinafter referred to as “NW1”), and the MFP 10 in the CL state joins the NW1. Then, the MFP 10 receives the print data PD1 from the portable terminal 50 using the NW1 (that is, using the connection C1) without passing through another device (S40), and executes the printing process according to the print data PD1. (S42).

図4のケースBは、G/Oネゴシエーションの結果として、MFP10がG/O状態になると共に携帯端末50がCL状態になるケースである。MFP10は、SSID「a2」、パスワード「b2」等を含むWFDWSIを準備する(S16)。MFP10は、WPS通信を実行して、WFDWSIを携帯端末50に供給する。次いで、MFP10は、認証通信を携帯端末50と実行して、WFD方式に従った接続C1’を確立する(S16)。これにより、G/O状態のMFP10がNW1を形成し、CL状態の携帯端末50がNW1に参加する。そして、MFP10は、NW1を利用して(即ち、接続C1’を利用して)、他装置を介さずに、携帯端末50から印刷データPD1を受信し(S40)、印刷データPD1に従って印刷処理を実行する(S42)。   Case B in FIG. 4 is a case where the MFP 10 enters the G / O state and the portable terminal 50 enters the CL state as a result of the G / O negotiation. The MFP 10 prepares WFD WSI including the SSID “a2”, the password “b2”, and the like (S16). The MFP 10 executes WPS communication and supplies WFDWSI to the portable terminal 50. Next, the MFP 10 executes authentication communication with the portable terminal 50, and establishes a connection C1 'according to the WFD method (S16). Thereby, the MFP 10 in the G / O state forms the NW1, and the portable terminal 50 in the CL state participates in the NW1. The MFP 10 receives the print data PD1 from the portable terminal 50 using the NW1 (that is, using the connection C1 ′) without going through another device (S40), and performs print processing according to the print data PD1. Execute (S42).

(図5;図4のケースAの続き)
上述したように、図4のケースAでは、MFP10と携帯端末50との間にWFD方式に従った接続C1が確立される(即ちNW1が形成される)。NW1では、MFP10がCL状態であり、携帯端末50がG/O状態である。この状況において、携帯端末100のユーザは、MFP10に印刷を実行させることを望む場合に、MFP10の操作部12にWFD接続操作を加える(図2のS10でYES)。この場合、MFP10は、NW1の状態が、MFP10がCL機器として動作し、かつ、携帯端末50がG/O機器として動作する状態であると判断する(S20でYES)。従って、MFP10は、NW1のSSID「a1」を表示部14に表示させる(S22)。
(Fig. 5: Continuation of case A in Fig. 4)
As described above, in the case A of FIG. 4, the connection C1 according to the WFD method is established between the MFP 10 and the portable terminal 50 (that is, NW1 is formed). In NW1, the MFP 10 is in the CL state, and the portable terminal 50 is in the G / O state. In this situation, when the user of the portable terminal 100 desires the MFP 10 to perform printing, the user adds a WFD connection operation to the operation unit 12 of the MFP 10 (YES in S10 of FIG. 2). In this case, the MFP 10 determines that the state of the NW 1 is a state in which the MFP 10 operates as a CL device and the portable terminal 50 operates as a G / O device (YES in S20). Therefore, the MFP 10 displays the SSID “a1” of NW1 on the display unit 14 (S22).

携帯端末100のユーザは、MFP10に印刷を実行させることを望んでいる。従って、ユーザは、MFP10によって印刷される印刷媒体を取得するために、MFP10に近づくことが予想される。このために、ユーザは、MFP10の表示部14に表示されるSSID「a1」を見ることができ、この結果、SSID「a1」によって識別されるNW1に携帯端末100を参加させるべきことを知ることができる。ユーザは、さらに、携帯端末100に接続印刷操作を加える。この場合、携帯端末100は、SLSを実行して、機器リストを表示させる。当該機器リストは、携帯端末50に関する情報(即ち、SSID「a1」、デバイス名等)を含む。   The user of the portable terminal 100 wants the MFP 10 to execute printing. Therefore, the user is expected to approach the MFP 10 in order to acquire a print medium to be printed by the MFP 10. Therefore, the user can see the SSID “a1” displayed on the display unit 14 of the MFP 10, and as a result, knows that the mobile terminal 100 should participate in the NW1 identified by the SSID “a1”. Can do. The user further performs a connection printing operation on the mobile terminal 100. In this case, the mobile terminal 100 executes SLS and displays a device list. The device list includes information related to the mobile terminal 50 (that is, SSID “a1”, device name, etc.).

ユーザは、携帯端末100に表示される機器リストから、携帯端末50(即ちSSID「a1」)を選択する。携帯端末50がG/O機器であるために、携帯端末100は、CL状態になることを決定する。そして、携帯端末100は、接続要求を携帯端末50に送信する。当該接続要求は、携帯端末100のMACアドレス(以下では「MAC100」と呼ぶ)を送信元として含み、MAC50を送信先として含む。携帯端末100は、上記のSLSの過程でMAC50を取得しているために、MAC50を送信先として含む接続要求を送信することができる。   The user selects the mobile terminal 50 (that is, SSID “a1”) from the device list displayed on the mobile terminal 100. Since the portable terminal 50 is a G / O device, the portable terminal 100 determines to be in the CL state. Then, the mobile terminal 100 transmits a connection request to the mobile terminal 50. The connection request includes the MAC address of the mobile terminal 100 (hereinafter referred to as “MAC100”) as a transmission source, and includes the MAC 50 as a transmission destination. Since the portable terminal 100 has acquired the MAC 50 in the above SLS process, the portable terminal 100 can transmit a connection request including the MAC 50 as a transmission destination.

携帯端末100のユーザは、携帯端末50,100の間でWPS通信を実行させるために、さらに、携帯端末50にWFD接続操作を加える必要がある。上述したように、携帯端末50に加えられる接続印刷操作は、MFP用アプリケーションの画面に従った操作である。これに対し、携帯端末50に加えられるWFD接続操作は、MFP用アプリケーションによって実現される画面に従った操作ではなく、携帯端末50のOSプログラムによって実現される画面に従った操作である。即ち、携帯端末50は、WFD接続操作が加えられる場合には、携帯端末50内の印刷データをMFP10に送信するという目的でなくても、携帯端末50と他装置(例えば携帯端末100)との間にWFD方式に従った接続を確立することができる。   The user of the mobile terminal 100 needs to further perform a WFD connection operation on the mobile terminal 50 in order to execute WPS communication between the mobile terminals 50 and 100. As described above, the connection printing operation applied to the portable terminal 50 is an operation in accordance with the MFP application screen. On the other hand, the WFD connection operation applied to the mobile terminal 50 is not an operation according to the screen realized by the MFP application, but an operation according to the screen realized by the OS program of the mobile terminal 50. That is, when a WFD connection operation is applied, the mobile terminal 50 is not intended to transmit print data in the mobile terminal 50 to the MFP 10, but between the mobile terminal 50 and another device (for example, the mobile terminal 100). A connection according to the WFD scheme can be established between them.

携帯端末50と携帯端末100とは、通常、異なるユーザによって所有される。このために、携帯端末100のユーザは、WFD接続操作を携帯端末50に加えることを、携帯端末50のユーザに依頼する必要がある。携帯端末100のユーザは、携帯端末100に表示される機器リストから、携帯端末50のデバイス名を知ることができ、当該デバイス名が携帯端末50のユーザを示すものである場合(例えば、当該デバイス名が携帯端末50のユーザ名を含む場合)には、携帯端末50のユーザを知ることができる。従って、携帯端末100のユーザは、携帯端末50のユーザに上記の依頼を行なうことができる。例えば、MFP10が特定の会社内に設置されており、携帯端末50,100の各ユーザが当該特定の会社の社員である状況では、携帯端末100のユーザは、携帯端末50のユーザに上記の依頼を行なうことができる。   The portable terminal 50 and the portable terminal 100 are usually owned by different users. For this reason, the user of the mobile terminal 100 needs to request the user of the mobile terminal 50 to apply the WFD connection operation to the mobile terminal 50. The user of the mobile terminal 100 can know the device name of the mobile terminal 50 from the device list displayed on the mobile terminal 100, and the device name indicates the user of the mobile terminal 50 (for example, the device) When the name includes the user name of the portable terminal 50), the user of the portable terminal 50 can be known. Therefore, the user of the mobile terminal 100 can make the above request to the user of the mobile terminal 50. For example, in a situation where the MFP 10 is installed in a specific company and each user of the mobile terminals 50 and 100 is an employee of the specific company, the user of the mobile terminal 100 requests the user of the mobile terminal 50 from the above request. Can be performed.

また、図5のケースでは、WFDNW(MFP=CL)(即ちNW1)を形成しているG/O機器は、個人によって所有される携帯端末50である。ただし、変形例では、G/O機器は、携帯端末50ではなく、例えば、MFP、プリンタ、スキャナ、サーバ等のように、複数のユーザによって共用される共用機器であってもよい。この場合、携帯端末100のユーザは、他人に依頼しなくても、WFD接続操作を共用機器に加えることができる。なお、本変形例の状況では、携帯端末50と携帯端末100との間で実行される後述の各通信(WPS通信、認証通信、印刷データの通信等)と同様の各通信が、共用機器と携帯端末100との間で実行される。   In the case of FIG. 5, the G / O device forming the WFDNW (MFP = CL) (that is, NW1) is the portable terminal 50 owned by an individual. However, in a modified example, the G / O device may be a shared device shared by a plurality of users, such as an MFP, a printer, a scanner, a server, etc., instead of the portable terminal 50. In this case, the user of the mobile terminal 100 can add the WFD connection operation to the shared device without requesting another person. Note that, in the situation of this modification, each communication similar to each communication described later (WPS communication, authentication communication, print data communication, etc.) executed between the mobile terminal 50 and the mobile terminal 100 is performed with the shared device. It is executed with the portable terminal 100.

携帯端末100に接続印刷操作が加えられ、かつ、携帯端末50にWFD接続操作が加えられると、携帯端末50,100がWPS通信を実行するための条件(即ち、WPSのPBC方式の条件)が満たされる。従って、携帯端末50は、携帯端末100から接続要求を受信して、接続可能であることを示す情報を含む応答を携帯端末100に送信する。この結果、携帯端末50,100がWPS通信を実行して、NW1で現在利用されているWFDWSI(即ち、SSID「a1」、パスワード「b1」等(図4参照))が、携帯端末50から携帯端末100に供給される。次いで、携帯端末50,100は、認証通信を実行して、WFD方式に従った接続C4を確立する。これにより、CL状態の携帯端末100がNW1に参加する。   When a connection printing operation is applied to the mobile terminal 100 and a WFD connection operation is applied to the mobile terminal 50, conditions for the mobile terminals 50 and 100 to execute WPS communication (that is, WPS PBC system conditions) are set. It is filled. Accordingly, the mobile terminal 50 receives the connection request from the mobile terminal 100 and transmits a response including information indicating that connection is possible to the mobile terminal 100. As a result, the portable terminals 50 and 100 execute WPS communication, and the WFD WSI currently used in the NW 1 (that is, the SSID “a1”, the password “b1”, etc. (see FIG. 4)) is carried from the portable terminal 50. Supplied to the terminal 100. Next, the portable terminals 50 and 100 execute authentication communication and establish a connection C4 according to the WFD scheme. Thereby, the portable terminal 100 in the CL state participates in the NW1.

MFP10は、NW1を利用して(即ち、接続C1及び接続C4を利用して)、携帯端末50を介して、携帯端末100から印刷データPD2を受信し(S40)、印刷データPD2に従って印刷処理を実行する(S42)。   The MFP 10 receives the print data PD2 from the portable terminal 100 via the portable terminal 50 using the NW1 (that is, using the connection C1 and the connection C4) (S40), and performs print processing according to the print data PD2. Execute (S42).

(図6;図4のケースAの続き)
上述したように、図5のケースは、携帯端末100に接続印刷操作が加えられる前に、MFP10にWFD接続操作が加えられるケースである。これに対し、図6のケースは、MFP10にWFD接続操作が加えられずに、携帯端末100に接続印刷操作が加えられるケースである。
(Fig. 6; continued from case A in Fig. 4)
As described above, the case of FIG. 5 is a case where the WFD connection operation is applied to the MFP 10 before the connection printing operation is applied to the portable terminal 100. On the other hand, the case of FIG. 6 is a case where a connection printing operation is applied to the portable terminal 100 without a WFD connection operation being applied to the MFP 10.

ユーザは、携帯端末100に接続印刷操作を加える。この場合、携帯端末100は、SLSを実行して、機器リストを表示させる。ユーザは、携帯端末100に表示される機器リストからMFP10を選択する。この場合、携帯端末100は、接続要求をMFP10に送信する。当該接続要求は、MAC100を送信元として含み、MFP10のWFDMACを送信先として含む。携帯端末100は、上記のSLSの過程で、NW1のG/O機器である携帯端末50から、MFP10に関する情報(即ち、MFP10のデバイス名、WFDMAC等)を取得しているために、WFDMACを送信先として含む接続要求を送信することができる。   The user adds a connection printing operation to the mobile terminal 100. In this case, the mobile terminal 100 executes SLS and displays a device list. The user selects the MFP 10 from the device list displayed on the mobile terminal 100. In this case, the mobile terminal 100 transmits a connection request to the MFP 10. The connection request includes the MAC 100 as a transmission source and the WFDMAC of the MFP 10 as a transmission destination. The portable terminal 100 transmits WFDMAC because it acquires information about the MFP 10 (that is, the device name of the MFP 10, WFDMAC, etc.) from the portable terminal 50 that is the G / O device of the NW1 in the SLS process described above. A connection request including the destination can be transmitted.

MFP10は、携帯端末100から接続要求を受信する(図3のS110でYES)。この場合、MFP10は、NW1の状態が、MFP10がCL機器として動作し、かつ、携帯端末50がG/O機器として動作する状態であると判断する(S120でYES)。従って、MFP10は、NW1のSSID「a1」を表示部14に表示させる(S122)。   The MFP 10 receives the connection request from the portable terminal 100 (YES in S110 of FIG. 3). In this case, the MFP 10 determines that the state of the NW 1 is a state in which the MFP 10 operates as a CL device and the portable terminal 50 operates as a G / O device (YES in S120). Therefore, the MFP 10 displays the SSID “a1” of NW1 on the display unit 14 (S122).

携帯端末100のユーザは、機器リストからMFP10を選択済みであるが、MFP10にSSID「a1」が表示されるために、SSID「a1」によって識別されるNW1に携帯端末100を参加させるべきことを知ることができる。従って、ユーザは、機器リストから、MFP10に代えて、携帯端末50(即ちSSID「a1」)を選択する。この場合、携帯端末100は、図5のケースと同様に、接続要求を携帯端末50に送信する。この後の各通信は、図5のケースと同様である。即ち、MFP10は、NW1を利用して、携帯端末50を介して、携帯端末100から印刷データPD2を受信し(S140)、印刷データPD2に従って印刷処理を実行する(S142)。   The user of the mobile terminal 100 has already selected the MFP 10 from the device list. However, since the SSID “a1” is displayed on the MFP 10, the mobile terminal 100 should participate in the NW1 identified by the SSID “a1”. I can know. Therefore, the user selects the mobile terminal 50 (ie, SSID “a1”) from the device list instead of the MFP 10. In this case, the mobile terminal 100 transmits a connection request to the mobile terminal 50 as in the case of FIG. Each subsequent communication is the same as the case of FIG. That is, the MFP 10 receives the print data PD2 from the portable terminal 100 via the portable terminal 50 using the NW1 (S140), and executes the printing process according to the print data PD2 (S142).

(図7;図4のケースBの続き)
上述したように、図4のケースBでは、MFP10と携帯端末50との間にWFD方式に従った接続C1’が確立される(即ちNW1が形成される)。NW1では、MFP10がG/O状態であり、携帯端末50がCL状態である。この状況において、携帯端末100のユーザは、MFP10に印刷を実行させることを望む場合に、MFP10の操作部12にWFD接続操作を加える(図2のS10でYES)。この場合、MFP10は、NW1の状態が、MFP10がG/O機器として動作し、かつ、携帯端末50がCL機器として動作する状態であると判断する(S20でNO)。従って、MFP10は、WFDMACを送信先として含む接続要求を受信するまで待機する(S30)。
(FIG. 7; continuation of case B in FIG. 4)
As described above, in the case B of FIG. 4, the connection C1 ′ according to the WFD method is established between the MFP 10 and the portable terminal 50 (that is, NW1 is formed). In NW1, the MFP 10 is in the G / O state, and the portable terminal 50 is in the CL state. In this situation, when the user of the portable terminal 100 desires the MFP 10 to perform printing, the user adds a WFD connection operation to the operation unit 12 of the MFP 10 (YES in S10 of FIG. 2). In this case, the MFP 10 determines that the state of the NW 1 is a state in which the MFP 10 operates as a G / O device and the portable terminal 50 operates as a CL device (NO in S20). Accordingly, the MFP 10 waits until it receives a connection request including WFDMAC as a transmission destination (S30).

ユーザは、さらに、携帯端末100に接続印刷操作を加える。この場合、携帯端末100は、SLSを実行して、機器リストを表示させる。ユーザは、携帯端末100に表示される機器リストから、MFP10を選択する。この場合、携帯端末100は、接続要求をMFP10に送信する。当該接続要求は、MAC100を送信元として含み、MFP10のWFDMACを送信先として含む。   The user further performs a connection printing operation on the mobile terminal 100. In this case, the mobile terminal 100 executes SLS and displays a device list. The user selects the MFP 10 from the device list displayed on the mobile terminal 100. In this case, the mobile terminal 100 transmits a connection request to the MFP 10. The connection request includes the MAC 100 as a transmission source and the WFDMAC of the MFP 10 as a transmission destination.

MFP10は、携帯端末100から接続要求を受信して、接続可能であることを示す応答を携帯端末100に送信する(S30)。図7のケースでは、図6のケースとは異なり、表示処理(S122)が実行されない。MFP10は、WPS通信を実行して、NW1のWFDWSI(即ち、SSID「a2」、パスワード「b2」等(図4参照))を携帯端末100に供給する(S30)。次いで、MFP10は、認証通信を携帯端末100と実行して、WFD方式に従った接続C2を確立する(S30)。これにより、携帯端末100がNW1に参加する。そして、MFP10は、NW1を利用して(即ち、接続C2を利用して)、他装置を介さずに、携帯端末100から印刷データPD2を受信し(S40)、印刷データPD2に従って印刷処理を実行する(S42)。   The MFP 10 receives the connection request from the portable terminal 100 and transmits a response indicating that the connection is possible to the portable terminal 100 (S30). In the case of FIG. 7, unlike the case of FIG. 6, the display process (S122) is not executed. The MFP 10 executes WPS communication and supplies the WFD WSI of the NW 1 (that is, SSID “a2”, password “b2”, etc. (see FIG. 4)) to the mobile terminal 100 (S30). Next, the MFP 10 performs authentication communication with the mobile terminal 100 and establishes a connection C2 in accordance with the WFD method (S30). Thereby, the portable terminal 100 participates in NW1. Then, the MFP 10 receives the print data PD2 from the portable terminal 100 using the NW1 (that is, using the connection C2) without passing through another device (S40), and executes the print processing according to the print data PD2. (S42).

(本実施例の効果)
CL状態のMFP10にWFD接続操作が加えられたり(図2のS20でYES)、CL状態のMFP10が接続要求を受信したり(図3のS120でYES)すると、図5及び図6に示されるように、MFP10は、MFP10が所属しているNW1のSSID「a1」を、表示部14に表示させる(図2のS22、図3のS122)。これにより、携帯端末100のユーザは、携帯端末100をNW1に参加させる。換言すると、MFP10は、SSID「a1」を表示部14に表示させることによって、携帯端末100をNW1に参加させる。従って、MFP10は、NW1を利用して、携帯端末50を介して、携帯端末100から印刷データPD2を受信することができる(図2のS40、図3のS140)。
(Effect of this embodiment)
When a WFD connection operation is applied to the MFP 10 in the CL state (YES in S20 in FIG. 2), or when the MFP 10 in the CL state receives a connection request (YES in S120 in FIG. 3), FIG. 5 and FIG. As described above, the MFP 10 displays the SSID “a1” of the NW1 to which the MFP 10 belongs on the display unit 14 (S22 in FIG. 2 and S122 in FIG. 3). Thereby, the user of the portable terminal 100 makes the portable terminal 100 participate in NW1. In other words, the MFP 10 causes the mobile terminal 100 to participate in the NW 1 by displaying the SSID “a1” on the display unit 14. Therefore, the MFP 10 can receive the print data PD2 from the portable terminal 100 via the portable terminal 50 using NW1 (S40 in FIG. 2 and S140 in FIG. 3).

一方において、G/O状態のMFP10にWFD接続操作が加えられたり(図2のS20でNO)、G/O状態のMFP10が接続要求を受信したりすると(図3のS120でNO)、図7に示すように、MFP10は、WPS通信及び認証通信を実行して、携帯端末100をNW1に参加させる(図2のS30、図3のS130)。従って、MFP10は、NW1を利用して、他装置を介さずに、携帯端末100から印刷データPD2を受信することができる(図2のS40、図3のS140)。   On the other hand, when a WFD connection operation is applied to the MFP 10 in the G / O state (NO in S20 in FIG. 2) or the MFP 10 in the G / O state receives a connection request (NO in S120 in FIG. 3), FIG. 7, the MFP 10 executes WPS communication and authentication communication, and causes the mobile terminal 100 to participate in the NW 1 (S30 in FIG. 2 and S130 in FIG. 3). Therefore, the MFP 10 can receive the print data PD2 from the portable terminal 100 using the NW1 without going through another device (S40 in FIG. 2 and S140 in FIG. 3).

上述したように、MFP10は、MFP10が所属しているNW1の状態が、MFP10がCL機器として動作する状態(図2のS20でYES、図3のS120でYES)であるのか、MFP10がG/O機器として動作する状態(図2のS20でNO、図3のS120でNO)であるのか、に応じた適切な処理(図2のS22又はS30、図3のS122又はS130)を実行することができる。この結果、MFP10は、携帯端末100をNW1に適切に参加させることができ、携帯端末100から印刷データPD2を適切に受信することができる。   As described above, the MFP 10 determines whether the state of the NW 1 to which the MFP 10 belongs is a state in which the MFP 10 operates as a CL device (YES in S20 in FIG. 2, YES in S120 in FIG. 3), An appropriate process (S22 or S30 in FIG. 2, S122 or S130 in FIG. 3) is executed depending on whether the device is operating as an O device (NO in S20 in FIG. 2 or NO in S120 in FIG. 3). Can do. As a result, the MFP 10 can appropriately cause the mobile terminal 100 to participate in the NW 1 and can appropriately receive the print data PD 2 from the mobile terminal 100.

(対応関係)
MFP10、携帯端末50、携帯端末100が、それぞれ、「無線通信装置」、「第1の外部装置」、「第2の外部装置」の一例である。WFD方式が、「第1の無線通信方式」の一例である。MFP10に加えられるWFD接続操作、及び、WFDMACを送信先として含む接続要求が、「特定の指示」の一例である。WFD接続操作が、「特定の操作」の一例である。印刷データが、「対象データ」の一例である。G/O機器、CL機器が、それぞれ、「親局」、「子局」の一例である。G/Oネゴシエーションが、「親局及び子局を決定するための無線通信」の一例である。
(Correspondence)
The MFP 10, the portable terminal 50, and the portable terminal 100 are examples of “wireless communication device”, “first external device”, and “second external device”, respectively. The WFD method is an example of a “first wireless communication method”. A WFD connection operation applied to the MFP 10 and a connection request including the WFDMAC as a transmission destination are examples of the “specific instruction”. The WFD connection operation is an example of “specific operation”. The print data is an example of “target data”. The G / O device and the CL device are examples of “master station” and “slave station”, respectively. The G / O negotiation is an example of “wireless communication for determining a master station and a slave station”.

図5又は図6に示されるNW1の状態、即ち、MFP10がCL機器であり、かつ、携帯端末50がG/O機器である状態が、「第1の状態」の一例である。図7に示されるNW1の状態、即ち、MFP10がG/O機器であり、かつ、携帯端末50がCL機器である状態が、「第2の状態」の一例である。図2のS20でYES(又は図3のS120でYES)の場合、図2のS20でNO(又は図3のS120でNO)の場合が、それぞれ、「第1の場合」、「第2の場合」の一例である。NW1が、「第1の無線ネットワーク」の一例である。また、図4の接続C1(又は接続C1’)、図7の接続C2が、それぞれ、「第1の接続」、「第2の接続」の一例である。図2のS22(又は図3のS122)で表示されるSSIDが、「参加情報」及び「識別情報」の一例である。   The state of the NW 1 shown in FIG. 5 or 6, that is, the state where the MFP 10 is a CL device and the portable terminal 50 is a G / O device is an example of the “first state”. The state of NW1 shown in FIG. 7, that is, the state where the MFP 10 is a G / O device and the portable terminal 50 is a CL device is an example of the “second state”. In the case of YES in S20 of FIG. 2 (or YES in S120 of FIG. 3), the case of NO in S20 of FIG. 2 (or NO in S120 of FIG. 3) is respectively “first case”, “second It is an example of “case”. NW1 is an example of a “first wireless network”. Further, the connection C1 (or connection C1 ′) in FIG. 4 and the connection C2 in FIG. 7 are examples of “first connection” and “second connection”, respectively. The SSID displayed in S22 of FIG. 2 (or S122 of FIG. 3) is an example of “participation information” and “identification information”.

(第2実施例)
本実施例では、図3のS122の処理が第1実施例とは異なる。即ち、第1実施例では、S122において、出力部45は、WFDNW(MFP=CL)のSSIDを表示部14に表示させることによって、対象携帯端末のユーザにWFDNW(MFP=CL)のSSIDを認識させ、対象携帯端末をWFDNW(MFP=CL)に参加させる。これに対し、本実施例では、S122において、出力部45の第2の接続部46は、MFP10と対象携帯端末との間に、通常Wi−Fi方式に従った接続を確立する。そして、第2の接続部46は、WFDNW(MFP=CL)で現在利用されているWFDWSIを、通常Wi−Fi方式に従って対象携帯端末に送信することによって、対象携帯端末をWFDNW(MFP=CL)に参加させる。
(Second embodiment)
In the present embodiment, the process of S122 in FIG. 3 is different from the first embodiment. That is, in the first embodiment, in S122, the output unit 45 displays the SSID of the WFDNW (MFP = CL) on the display unit 14, thereby recognizing the SSID of the WFDNW (MFP = CL) to the user of the target portable terminal. The target portable terminal is allowed to participate in WFDNW (MFP = CL). In contrast, in this embodiment, in S122, the second connection unit 46 of the output unit 45 establishes a connection according to the normal Wi-Fi method between the MFP 10 and the target mobile terminal. Then, the second connection unit 46 transmits the WFD WSI currently used in the WFDNW (MFP = CL) to the target mobile terminal according to the normal Wi-Fi method, thereby causing the target mobile terminal to be WFDNW (MFP = CL). To join.

(通常Wi−Fi方式のSoftAPモード)
本実施例のS122の処理を説明する前に、通常Wi−Fi方式のSoftAPモードについて説明する。上述したように、インフラの無線ネットワークでは、無線アクセスポイント、無線LANルータ等と呼ばれる通常のAPが利用されるのが一般的である。ただし、通常のAPが利用されなくても、インフラの無線ネットワークが形成され得る。即ち、いわゆるSoftAPモードを搭載している機器(例えばMFP10)は、通常のAPと同様の動作を実行することが可能である。このような機器は、通常のAPが存在しなくても、SoftAPモードに従って動作することによって、インフラの無線ネットワークを形成することができる。
(Normal Wi-Fi SoftAP mode)
Before explaining the processing of S122 of this embodiment, the normal Wi-Fi SoftAP mode will be explained. As described above, in an infrastructure wireless network, a normal AP called a wireless access point, a wireless LAN router, or the like is generally used. However, an infrastructure wireless network can be formed even if a normal AP is not used. That is, a device (for example, MFP 10) equipped with a so-called Soft AP mode can execute the same operation as a normal AP. Such a device can form an infrastructure wireless network by operating according to the Soft AP mode even when a normal AP does not exist.

上述したように、インフラの無線ネットワークは、通常のAPによって形成される場合もあるし、SoftAPモードを搭載している機器によって形成される場合もある。ただし、どちらの場合でも、インフラの無線ネットワークは、APが利用される無線ネットワークであることには変わりない。即ち、通常Wi−Fi方式のインフラは、APを介して無線通信を実行するための無線通信方式である。これに対し、WFD方式は、APを介さない無線通信を実行するための無線通信方式である。この点において、通常Wi−Fi方式のインフラとWFD方式とは異なる。   As described above, the infrastructure wireless network may be formed by a normal AP or may be formed by a device equipped with the Soft AP mode. However, in either case, the infrastructure wireless network is still a wireless network in which the AP is used. That is, the normal Wi-Fi infrastructure is a wireless communication method for performing wireless communication via the AP. On the other hand, the WFD method is a wireless communication method for executing wireless communication not via an AP. In this respect, the infrastructure of the normal Wi-Fi system is different from the WFD system.

(図3のS122の処理)
上述したように、MFP10がCL状態である場合には、図3のS120でYESと判断され、S122に進む。S122では、第2の接続部46は、まず、MFP10が通常Wi−FiNWに現在所属しているのか否かを判断する。具体的に言うと、第2の接続部46は、通常Wi−FiMACに対応付けられている通常Wi−FiWSIがメモリ34に格納されている場合には、MFP10が通常Wi−FiNWに現在所属していると判断し、通常Wi−FiWSIがメモリ34に格納されていない場合には、MFP10が通常Wi−FiNWに現在所属していないと判断する。
(Processing of S122 in FIG. 3)
As described above, when the MFP 10 is in the CL state, YES is determined in S120 of FIG. 3, and the process proceeds to S122. In S122, the second connection unit 46 first determines whether or not the MFP 10 currently belongs to the normal Wi-Fi NW. Specifically, in the case where the normal Wi-Fi WSI associated with the normal Wi-Fi MAC is stored in the memory 34, the second connection unit 46 is currently associated with the normal Wi-Fi NW. If the normal Wi-Fi WSI is not stored in the memory 34, it is determined that the MFP 10 does not currently belong to the normal Wi-Fi NW.

第2の接続部46は、MFP10が通常Wi−FiNWに現在所属していると判断する場合には、当該通常Wi−FiNWを形成しているAP4に離脱信号を送信する。これにより、第2の接続部46は、MFP10とAP4との間の通常Wi−Fi方式に従った接続を切断する。この結果、MFP10は、通常Wi−FiNWから離脱する。第2の接続部46は、さらに、通常Wi−FiMACに対応付けられているメモリ34内の通常Wi−FiWSI(以下では「過去のWSI」と呼ぶ)を、メモリ34内の所定の記憶領域に退避させる。これにより、第2の接続部46は、後処理において、上記の過去のWSIを利用して、通常Wi−Fi方式に従った接続を再び確立することができる。   When the second connection unit 46 determines that the MFP 10 currently belongs to the normal Wi-Fi NW, the second connection unit 46 transmits a leave signal to the AP 4 forming the normal Wi-Fi NW. Accordingly, the second connection unit 46 disconnects the connection between the MFP 10 and the AP 4 according to the normal Wi-Fi method. As a result, the MFP 10 leaves the normal Wi-Fi NW. The second connection unit 46 further stores the normal Wi-Fi WSI (hereinafter referred to as “past WSI”) in the memory 34 associated with the normal Wi-Fi MAC in a predetermined storage area in the memory 34. Evacuate. As a result, the second connection unit 46 can reestablish a connection according to the normal Wi-Fi method by using the past WSI in the post-processing.

次いで、第2の接続部46は、MFP10が通常Wi−FiNWに所属していない状態で、MFP10のSoftAPモードをOFFからONに切り替える。この際に、第2の接続部46は、MFP10がAPとして動作する通常Wi−FiNWで利用されるべき通常Wi−FiWSI(以下では「SoftAPのWSI」と呼ぶ)を準備する。SoftAPのWSIを準備する手法は、WFDWSIを準備する手法と同様である。ただし、第2の接続部46は、MFP10の通常Wi−FiMACをBSSIDとして準備する。第2の接続部46は、さらに、通常Wi−FiMACに対応付けて、SoftAPのWSIをメモリ34に格納する。   Next, the second connection unit 46 switches the Soft AP mode of the MFP 10 from OFF to ON in a state where the MFP 10 does not belong to the normal Wi-Fi NW. At this time, the second connection unit 46 prepares normal Wi-Fi WSI (hereinafter referred to as “Soft AP WSI”) to be used in the normal Wi-Fi NW in which the MFP 10 operates as an AP. The method for preparing the WAP for SoftAP is the same as the method for preparing the WFDWSI. However, the second connection unit 46 prepares the normal Wi-Fi MAC of the MFP 10 as a BSSID. The second connection unit 46 further stores the WAP of the Soft AP in the memory 34 in association with the normal Wi-Fi MAC.

続いて、第2の接続部46は、S110で受信された接続要求に含まれる対象携帯端末のMACアドレスを送信先として、SoftAPのWSIを対象携帯端末に供給する。次いで、第2の接続部46は、認証通信を実行して、対象携帯端末の認証を実行する。これにより、第2の接続部46は、MFP10と対象携帯端末との間に、通常Wi−Fi方式に従った接続を確立し、SoftAPモードに従った通常Wi−FiNW(以下では「SoftAPのNW」と呼ぶ)を形成する。   Subsequently, the second connection unit 46 supplies the Soft AP WSI to the target mobile terminal using the MAC address of the target mobile terminal included in the connection request received in S110 as the transmission destination. Next, the second connection unit 46 performs authentication communication to perform authentication of the target mobile terminal. As a result, the second connection unit 46 establishes a connection according to the normal Wi-Fi system between the MFP 10 and the target mobile terminal, and the normal Wi-Fi NW (hereinafter referred to as “SoftAP NW” in accordance with the Soft AP mode). ").

次いで、第2の接続部46は、WFDMACに対応付けられているメモリ34内のWFDWSIを取得する。そして、第2の接続部46は、SoftAPのNWを利用して(即ち、通常Wi−Fi方式に従った接続を利用して)、他装置を介さずに、取得済みのWFDWSIを対象携帯端末に送信する。   Next, the second connection unit 46 acquires the WFD WSI in the memory 34 associated with the WFDMAC. Then, the second connection unit 46 uses the SoftAP NW (that is, using the connection according to the normal Wi-Fi method) and uses the acquired WFD WSI as the target mobile terminal without going through another device. Send to.

第2の接続部46は、WFDWSIを対象携帯端末に送信すると、MFP10のSoftAPモードをONからOFFに切り替えて、SoftAPのNWを消滅させる。第2の接続部46は、さらに、通常Wi−FiMACに対応付けられているメモリ34内のSoftAPのWSIを削除する。次いで、第2の接続部46は、メモリ34内の所定の記憶領域に上記の過去のWSIが退避されている場合には、上記の過去のWSIを利用して、MFP10とAP4との間に、通常Wi−Fi方式に従った接続を再び確立する。これにより、MFP10は、AP4によって形成されている通常Wi−FiNWに再び所属(即ち参加)することができる。   When the second connection unit 46 transmits WFDWSI to the target portable terminal, the Soft AP mode of the MFP 10 is switched from ON to OFF, and the Soft AP NW disappears. The second connection unit 46 further deletes the WSI of the Soft AP in the memory 34 that is associated with the normal Wi-Fi MAC. Next, when the past WSI is saved in a predetermined storage area in the memory 34, the second connection unit 46 uses the past WSI to make a connection between the MFP 10 and the AP 4. The connection according to the normal Wi-Fi system is reestablished. As a result, the MFP 10 can belong again (that is, participate) in the normal Wi-Fi NW formed by the AP 4.

対象携帯端末は、MFP10からWFDWSIを受信すると、WFDNW(MFP=CL)を形成している特定のG/O機器と認証通信を実行して、特定のG/O機器と対象携帯端末との間に、WFD方式に従った接続を確立する。なお、対象携帯端末は、MFP10からWFDWSIを取得済みであるために、特定のG/O機器からWFDWSIを取得せずに済む。即ち、対象携帯端末は、特定のG/O機とWPS通信を実行せずに済む。特定のG/O機器の管理リストに対象携帯端末のMACアドレスが登録される。これにより、対象携帯端末は、WFDNW(MFP=CL)に所属(即ち参加)することができる。   When receiving the WFD WSI from the MFP 10, the target mobile terminal executes authentication communication with a specific G / O device forming the WFDNW (MFP = CL), and performs communication between the specific G / O device and the target mobile terminal. Then, a connection according to the WFD method is established. Since the target mobile terminal has already acquired WFD WSI from the MFP 10, it does not need to acquire WFD WSI from a specific G / O device. That is, the target portable terminal does not need to execute WPS communication with a specific G / O machine. The MAC address of the target mobile terminal is registered in the management list of the specific G / O device. Thereby, the target portable terminal can belong (that is, participate) in WFDNW (MFP = CL).

なお、図3のS122では、MFP10は、対象携帯端末から接続要求を受信しているので(S110でYES)、対象携帯端末のMACアドレスを取得済みである。このために、MFP10は、対象携帯端末のMACアドレスを送信先として、SoftAPのWSIを対象携帯端末に送信することができる。これに対し、図2のS22では、MFP10は、対象携帯端末のMACアドレスを取得していない。従って、MFP10は、SoftAPのWSIを対象携帯端末に送信することができない。このために、S22では、MFP10は、第1実施例と同様に、表示処理を実行する(換言すれば、S22では、第2実施例の構成が採用されない)。   In S122 of FIG. 3, since the MFP 10 has received a connection request from the target mobile terminal (YES in S110), the MAC address of the target mobile terminal has been acquired. For this reason, the MFP 10 can transmit the WAP of SoftAP to the target mobile terminal using the MAC address of the target mobile terminal as the transmission destination. In contrast, in S22 of FIG. 2, the MFP 10 has not acquired the MAC address of the target mobile terminal. Therefore, the MFP 10 cannot transmit the Soft AP WSI to the target mobile terminal. For this reason, in S22, the MFP 10 executes the display process as in the first embodiment (in other words, in S22, the configuration of the second embodiment is not adopted).

(具体例;図8)
図8を参照して、本実施例の具体例を説明する。図8は、図4のケースAの続きのシーケンス図を示す。従って、MFP10がCL状態であり、携帯端末50がG/O状態である。また、MFP10とAP4との間に、通常Wi−Fi方式に従った接続C5が確立されている。この状況において、携帯端末100のユーザは、携帯端末100に接続印刷操作を加える。この場合、携帯端末100は、SLSを実行して、機器リストを表示させる。ユーザは、携帯端末100に表示される機器リストから、MFP10を選択する。この場合、携帯端末100は、接続要求をMFP10に送信する。当該接続要求は、MAC100を送信元として含み、MFP10のWFDMACを送信先として含む。
(Specific example: FIG. 8)
A specific example of this embodiment will be described with reference to FIG. FIG. 8 shows a sequence diagram following the case A of FIG. Therefore, the MFP 10 is in the CL state, and the portable terminal 50 is in the G / O state. Further, a connection C5 is established between the MFP 10 and the AP 4 according to the normal Wi-Fi method. In this situation, the user of the mobile terminal 100 performs a connection printing operation on the mobile terminal 100. In this case, the mobile terminal 100 executes SLS and displays a device list. The user selects the MFP 10 from the device list displayed on the mobile terminal 100. In this case, the mobile terminal 100 transmits a connection request to the MFP 10. The connection request includes the MAC 100 as a transmission source and the WFDMAC of the MFP 10 as a transmission destination.

MFP10は、携帯端末100から接続要求を受信する(図3のS110でYES)。この場合、MFP10は、NW1の状態が、MFP10がCL機器として動作し、かつ、携帯端末50がG/O機器として動作する状態であると判断する(S120でYES)。従って、MFP10は、まず、AP4に離脱信号を送信して、接続C5を切断する(S122)。次いで、MFP10は、接続C1が確立されている状態を維持しながら(即ち、NW1を維持しながら)、SoftAPモードをOFFからONに切り替えて、SoftAPのWSIを携帯端末100に送信する(S122)。この結果、MFP10と携帯端末100との間に、通常Wi−Fi方式に従った接続C3が確立される。これにより、SoftAPのNW(以下では「NW2」と呼ぶ)が形成される。   The MFP 10 receives the connection request from the portable terminal 100 (YES in S110 of FIG. 3). In this case, the MFP 10 determines that the state of the NW 1 is a state in which the MFP 10 operates as a CL device and the portable terminal 50 operates as a G / O device (YES in S120). Accordingly, the MFP 10 first transmits a disconnection signal to the AP 4 to disconnect the connection C5 (S122). Next, the MFP 10 switches the Soft AP mode from OFF to ON while maintaining the state where the connection C1 is established (that is, maintaining NW1), and transmits the Soft AP WSI to the mobile terminal 100 (S122). . As a result, a connection C3 according to the normal Wi-Fi system is established between the MFP 10 and the portable terminal 100. As a result, the SoftAP NW (hereinafter referred to as “NW2”) is formed.

次いで、MFP10は、NW2を利用して(即ち、接続C3を利用して)、NW1のWFDWSIを携帯端末100に送信する。続いて、MFP10は、接続C3を切断して、NW2を消滅させる。そして、MFP10は、通常Wi−Fi方式に従った接続C5をAP4と再び確立する。   Next, the MFP 10 transmits the WFD WSI of NW 1 to the mobile terminal 100 using NW 2 (that is, using connection C 3). Subsequently, the MFP 10 disconnects the connection C3 and causes the NW2 to disappear. Then, the MFP 10 reestablishes the connection C5 according to the normal Wi-Fi method with the AP 4.

携帯端末100は、MFP10からNW1のWFDWSIを受信すると、接続要求を携帯端末50に送信する。当該接続要求は、MAC100を送信元として含み、MAC50を送信先として含む。携帯端末100は、MFP10からNW1のWFDWSIを取得済みであるために、MAC50(即ち、NW1のWFDWSIに含まれるBSSID)を送信先として含む接続要求を送信することができる。   When the portable terminal 100 receives the NFD WFDWSI from the MFP 10, the portable terminal 100 transmits a connection request to the portable terminal 50. The connection request includes the MAC 100 as a transmission source and the MAC 50 as a transmission destination. Since the mobile terminal 100 has acquired the WFD WSI of the NW 1 from the MFP 10, it can transmit a connection request including the MAC 50 (that is, the BSSID included in the WFD WSI of the NW 1) as a transmission destination.

携帯端末100は、MFP10からNW1のWFDWSIを取得済みであるために、携帯端末50からNW1のWFDWSIを取得せずに済む。即ち、携帯端末100は、WPS通信を実行せずに済む。このような状況では、WPSのPBC方式に従った操作(例えば図6のWFD接続操作)が携帯端末50に加えられなくても、携帯端末50,100は、認証通信を実行して、WFD方式に従った接続C4を確立することができる。これにより、CL状態の携帯端末100がNW1に参加する。   Since the mobile terminal 100 has already acquired the NFD WFD WSI from the MFP 10, it is not necessary to acquire the NFD WFD WSI from the mobile terminal 50. That is, the mobile terminal 100 does not need to execute WPS communication. In such a situation, even if the operation according to the WPS PBC method (for example, the WFD connection operation in FIG. 6) is not applied to the mobile terminal 50, the mobile terminals 50 and 100 execute the authentication communication and execute the WFD method. Connection C4 can be established. Thereby, the portable terminal 100 in the CL state participates in the NW1.

MFP10は、図5及び図6と同様に、NW1を利用して、携帯端末50を介して、携帯端末100から印刷データPD2を受信し(S140)、印刷データPD2に従って印刷処理を実行する(S142)。   Similar to FIGS. 5 and 6, the MFP 10 receives the print data PD2 from the mobile terminal 100 using the NW1 via the mobile terminal 50 (S140), and executes the printing process according to the print data PD2 (S142). ).

(本実施例の効果)
MFP10は、MFP10が所属しているWFDNWの状態が、MFP10がCL機器として動作する状態である場合(図3のS120でYES)に、適切な処理(図3のS122)を実行することができる。この結果、図8に示されるように、MFP10は、携帯端末100をNW1に適切に参加させることができ、携帯端末100から印刷データPD2を適切に受信することができる。
(Effect of this embodiment)
The MFP 10 can execute an appropriate process (S122 in FIG. 3) when the state of the WFDNW to which the MFP 10 belongs is a state in which the MFP 10 operates as a CL device (YES in S120 in FIG. 3). . As a result, as illustrated in FIG. 8, the MFP 10 can appropriately cause the mobile terminal 100 to participate in the NW 1 and can appropriately receive the print data PD 2 from the mobile terminal 100.

また、第1実施例の図6のケースでは、携帯端末100のユーザが、携帯端末100に表示される機器リストから携帯端末50を選択する必要があり、さらに、携帯端末50にWFD接続操作を加える必要がある。これに対し、本実施例では、図8に示されるように、MFP10は、接続C3を利用して、NW1のWFDWSIを携帯端末100に送信する。このために、携帯端末100は、携帯端末100に表示される機器リストから携帯端末50が選択されなくても、接続要求を携帯端末50に送信することができる。また、携帯端末50,100は、携帯端末50にWFD接続操作が加えられなくても、認証通信を適切に実行して、接続C4を確立することができる。このために、携帯端末100のユーザは、携帯端末100をNW1に容易に参加させることができる。   Further, in the case of FIG. 6 of the first embodiment, the user of the mobile terminal 100 needs to select the mobile terminal 50 from the device list displayed on the mobile terminal 100, and further performs a WFD connection operation on the mobile terminal 50. Need to add. In contrast, in the present embodiment, as illustrated in FIG. 8, the MFP 10 transmits the WFD WSI of NW 1 to the mobile terminal 100 using the connection C 3. For this reason, the mobile terminal 100 can transmit a connection request to the mobile terminal 50 even if the mobile terminal 50 is not selected from the device list displayed on the mobile terminal 100. In addition, the mobile terminals 50 and 100 can appropriately execute the authentication communication and establish the connection C4 even if the WFD connection operation is not applied to the mobile terminal 50. For this reason, the user of the portable terminal 100 can easily join the portable terminal 100 to the NW1.

なお、本実施例では、MFP10が、接続C3を利用して、携帯端末100にNW1のWFDWSIを送信するが、これに代えて、MFP10が、接続C3を利用して、携帯端末100から印刷データを受信する構成(以下では「比較例の構成」と呼ぶ)を採用することが考えられる。しかしながら、MFP10は、接続C3を確立する前に、MFP10とAP4との間に確立されている接続C5を一時的に切断して、通常Wi−FiNWから離脱しなければならない。この場合、MFP10は、AP4を介して、他装置と目的データの無線通信を実行することができない。例えば、MFP10は、AP4を介して、PC6から印刷データを受信することができない。画像データ等を含み得る印刷データは、通常、無線設定情報(例えばNW1のWFDWSI)と比べて、大きいデータサイズを有する。従って、比較例の構成を採用すると、接続C3を利用した通信時間が長くなってしまう。このために、接続C5が切断されている期間が長くなり、この結果、MFP10がAP4を介した無線通信を実行不可能な期間が長くなる。   In this embodiment, the MFP 10 transmits the WFD WSI of NW1 to the portable terminal 100 using the connection C3. Instead, the MFP 10 uses the connection C3 to print data from the portable terminal 100. May be adopted (hereinafter referred to as “composition of comparative example”). However, before establishing the connection C3, the MFP 10 must temporarily disconnect the connection C5 established between the MFP 10 and the AP 4 to leave the normal Wi-Fi NW. In this case, the MFP 10 cannot execute wireless communication of target data with other devices via the AP 4. For example, the MFP 10 cannot receive print data from the PC 6 via the AP 4. The print data that can include image data or the like usually has a larger data size than the wireless setting information (for example, WFDWSI of NW1). Therefore, when the configuration of the comparative example is adopted, the communication time using the connection C3 becomes long. For this reason, the period during which the connection C5 is disconnected becomes longer, and as a result, the period during which the MFP 10 cannot execute wireless communication via the AP 4 becomes longer.

本実施例では、MFP10が、接続C3を利用して、比較的に小さいデータサイズを有するNW1のWFDWSIを携帯端末100に送信する構成を採用している。従って、接続C5が切断されている期間が短くなり、この結果、MFP10がAP4を介した無線通信を実行不可能な期間が短くなる。このために、MFP10は、AP4を介した無線通信を適切に実行することができる。   In the present embodiment, a configuration is employed in which the MFP 10 transmits the WFD WSI of NW1 having a relatively small data size to the mobile terminal 100 using the connection C3. Accordingly, the period during which the connection C5 is disconnected is shortened, and as a result, the period during which the MFP 10 cannot execute wireless communication via the AP 4 is shortened. For this reason, the MFP 10 can appropriately execute the wireless communication via the AP 4.

なお、本実施例では、図3のS122において、第2の接続部46は、MFP10が通常Wi−FiNWに所属しているのか否かに関わらず、SoftAPモードに従った接続(例えば図8の接続C3)を利用して、WFDWSIを対象携帯端末(例えば携帯端末100)に送信する。これに代えて、変形例では、第2の接続部46は、MFP10が通常Wi−FiNWに所属している場合には、AP4を介した無線通信を実行不可能な期間が長くなるのを抑制するために、第2実施例と同様に、SoftAPモードに従った接続(例えば図8の接続C3)を利用して、WFDWSIを対象携帯端末(例えば携帯端末100)に送信してもよい。一方において、MFP10は、MFP10が通常Wi−FiNWに所属していない場合には、AP4を介した無線通信を実行不可能な期間が長くなるという問題が発生しないために、SoftAPモードに従った接続(例えば図8の接続C3)を利用して、対象携帯端末(例えば携帯端末100)から印刷データを受信してもよい。   In this embodiment, in S122 of FIG. 3, the second connection unit 46 establishes a connection according to the Soft AP mode (for example, FIG. 8) regardless of whether the MFP 10 belongs to the normal Wi-Fi NW. Using connection C3), WFDWSI is transmitted to the target portable terminal (for example, portable terminal 100). Instead, in the modification, the second connection unit 46 prevents the period during which wireless communication via the AP 4 cannot be performed from being prolonged when the MFP 10 belongs to the normal Wi-Fi NW. Therefore, similarly to the second embodiment, WFDWSI may be transmitted to the target mobile terminal (for example, the mobile terminal 100) using a connection according to the SoftAP mode (for example, the connection C3 in FIG. 8). On the other hand, when the MFP 10 does not belong to the normal Wi-Fi NW, there is no problem that the period during which wireless communication via the AP 4 cannot be performed becomes long. The print data may be received from the target portable terminal (for example, the portable terminal 100) using (for example, the connection C3 in FIG. 8).

(対応関係)
通常Wi−Fi方式(即ちSoftAPモード)が、「第2の無線通信方式」の一例である。NW2が、「第2の無線ネットワーク」の一例である。接続C3が、「第3の接続」の一例である。図3のS122で送信されるWFDWSIが「参加情報」の一例であり、当該WFDWSIに含まれるSSIDが「識別情報」の一例である。WFDMAC、通常Wi−FiMACが、それぞれ、「第1のMACアドレス」、「第2のMACアドレス」の一例である。
(Correspondence)
The normal Wi-Fi method (that is, Soft AP mode) is an example of the “second wireless communication method”. NW2 is an example of a “second wireless network”. The connection C3 is an example of “third connection”. The WFD WSI transmitted in S122 of FIG. 3 is an example of “participation information”, and the SSID included in the WFD WSI is an example of “identification information”. WFDMAC and normal Wi-FiMAC are examples of “first MAC address” and “second MAC address”, respectively.

(第3実施例)
上述したように、第2実施例では、図3のS122において、第2の接続部46は、MFP10と対象携帯端末との間に、通常Wi−Fi方式のSoftAPモードに従った接続を確立して、WFDNW(MFP=CL)で現在利用されているWFDWSIを対象携帯端末に送信する。これに代えて、本実施例では、S122において、第2の接続部46は、MFP10と対象携帯端末との間に、通常Wi−Fi方式のアドホックに従った接続を確立して、WFDWSIを対象携帯端末に送信する。
(Third embodiment)
As described above, in the second embodiment, in S122 of FIG. 3, the second connection unit 46 establishes a connection according to the normal Wi-Fi Soft AP mode between the MFP 10 and the target portable terminal. Then, WFDWSI currently used by WFDNW (MFP = CL) is transmitted to the target portable terminal. Instead, in the present embodiment, in S122, the second connection unit 46 establishes a connection according to the normal Wi-Fi ad hoc between the MFP 10 and the target portable terminal, and targets the WFD WSI. Send to mobile device.

(通常Wi−Fi方式のアドホック)
アドホックの無線ネットワークは、APとは異なる一対の機器によって形成される。具体的に言うと、一方の機器は、アドホックの無線ネットワークで利用されるべき通常Wi−FiWSIを準備して、通常Wi−FiWSIを他方の機器に供給する。これにより、一対の機器は、認証通信を実行して、アドホックに従った接続を確立することができる。即ち、一対の機器は、通常のAPやSoftAPモードを利用せずに、通常Wi−FiNWに所属することができる。この過程において、一対の機器は、G/Oネゴシエーションを実行しないし、G/O状態又はCL状態で動作することを選択的に決定しない。この点において、通常Wi−Fi方式のアドホックは、WFD方式とは異なる。
(Normal Wi-Fi ad hoc)
The ad hoc wireless network is formed by a pair of devices different from the AP. Specifically, one device prepares normal Wi-Fi WSI to be used in an ad hoc wireless network and supplies the normal Wi-Fi WSI to the other device. Thereby, a pair of apparatus can perform authentication communication and can establish the connection according to ad hoc. That is, the pair of devices can belong to the normal Wi-Fi NW without using the normal AP or the Soft AP mode. In this process, the pair of devices does not perform G / O negotiation and does not selectively determine to operate in the G / O state or the CL state. In this respect, the ad hoc of the normal Wi-Fi system is different from the WFD system.

(図3のS122の処理)
S122では、第2の接続部46は、アドホックの無線ネットワークで利用されるべき通常Wi−FiWSI(以下では「アドホックのWSI」と呼ぶ)を準備する。アドホックのWSIを準備する手法は、WFDWSIを準備する手法と同様である。ただし、第2の接続部46は、MFP10の通常Wi−FiMACをBSSIDとして準備する。そして、第2の接続部46は、アドホックのWSIを対象携帯端末に送信する。これにより、第2の接続部46は、アドホックの通常Wi−FiNWを形成することができ、アドホックの通常Wi−FiNWを利用して(即ち、通常Wi−Fi方式に従った接続を利用して)、他装置を介さずに、WFDWSIを対象携帯端末に送信することができる。その他の点は、第2実施例と同様である。
(Processing of S122 in FIG. 3)
In S122, the second connection unit 46 prepares normal Wi-Fi WSI (hereinafter referred to as “ad hoc WSI”) to be used in the ad hoc wireless network. The method for preparing the ad hoc WSI is the same as the method for preparing the WFD WSI. However, the second connection unit 46 prepares the normal Wi-Fi MAC of the MFP 10 as a BSSID. Then, the second connection unit 46 transmits the ad hoc WSI to the target mobile terminal. Thereby, the second connection unit 46 can form an ad hoc normal Wi-Fi NW, and uses an ad hoc normal Wi-Fi NW (that is, using a connection according to the normal Wi-Fi system). ), WFDWSI can be transmitted to the target mobile terminal without going through another device. Other points are the same as in the second embodiment.

本実施例でも、第2実施例と同様の効果を得ることができる。本実施例では、通常Wi−Fi方式(即ちアドホックモード)が、「第2の無線通信方式」の一例である。   In this embodiment, the same effect as in the second embodiment can be obtained. In this embodiment, the normal Wi-Fi system (that is, the ad hoc mode) is an example of the “second wireless communication system”.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。   Specific examples of the present invention have been described in detail above, but these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above. The modifications of the above embodiment are listed below.

(変形例1)「対象データ」は、印刷データではなく、スキャンデータであってもよい。本変形例では、例えば、図5において、接続印刷操作の代わりに接続スキャン操作が携帯端末100に加えられる。そして、通信部43は、スキャン実行部18にスキャンを実行させてスキャンデータを生成し、NW1を利用して、携帯端末50を介して、スキャンデータを携帯端末100に送信する。なお、「対象データ」は、印刷データ及びスキャンデータとは異なる種類のデータ(例えば音声データ、動画データ等)であってもよい。 (Modification 1) “Target data” may be scan data instead of print data. In this modification, for example, in FIG. 5, a connection scan operation is applied to the mobile terminal 100 instead of the connection print operation. Then, the communication unit 43 causes the scan execution unit 18 to execute scanning to generate scan data, and transmits the scan data to the mobile terminal 100 via the mobile terminal 50 using the NW1. The “target data” may be data of a different type (for example, audio data, moving image data, etc.) from the print data and the scan data.

(変形例2)「親局」は、WFDのG/O機器に限られず、無線ネットワークに属する各機器を管理する機器(例えば、無線ネットワークに属する各機器の間の無線通信を中継可能な機器)であれば、どのような機器であってもよい。また、「子局」は、WFDのCL機器に限られず、無線ネットワークの親局から管理される状態であれば、どのような機器であってもよい。 (Modification 2) A “master station” is not limited to a WFD G / O device, but is a device that manages devices belonging to a wireless network (for example, a device that can relay wireless communication between devices belonging to a wireless network) ) As long as it is any device. Further, the “slave station” is not limited to the CL device of the WFD, and may be any device as long as it is managed from the master station of the wireless network.

(変形例3)「第1の無線通信方式」は、WFD方式でなくてもよく、一対の機器が無線ネットワークの親局及び子局を決定するための無線通信を実行する仕組みを有する方式であれば、どのような方式であってもよい。また、「第2の無線通信方式」は、通常Wi−Fi方式に限られない。例えば、図3のS122において、出力部45は、赤外線通信方式、NFC(Near Field Communicationの略)方式、BlueTooth(登録商標)方式、又は、TransferJet方式に従って、WFDNW(MFP=CL)で現在利用されているWFDWSIを対象携帯端末に送信してもよい。一般的に言うと、「第1の無線通信方式」と「第2の無線通信方式」とは、異なる方式であればよい。 (Modification 3) The “first wireless communication method” may not be the WFD method, and is a method having a mechanism in which a pair of devices execute wireless communication for determining a master station and a slave station of a wireless network. Any method may be used. Further, the “second wireless communication method” is not limited to the normal Wi-Fi method. For example, in S122 of FIG. 3, the output unit 45 is currently used in WFDNW (MFP = CL) in accordance with an infrared communication method, an NFC (Near Field Communication) method, a BlueTooth (registered trademark) method, or a TransferJet method. WFDWSI may be transmitted to the target mobile terminal. Generally speaking, the “first wireless communication method” and the “second wireless communication method” may be different methods.

(変形例4)図2のS22又は図3のS122では、出力部45は、WFDNW(MFP=CL)のSSIDを表示させずに、WFDNW(MFP=CL)のBSSIDをMFP10の表示部14に表示させてもよい。この構成では、対象携帯端末のユーザは、MFP10の表示部14に表示されるBSSIDを知ることができる。そして、ユーザは、対象携帯端末に表示される機器リストから、当該BSSIDを選択することによって、WFDNW(MFP=CL)を形成している特定のG/O機器を選択することができる。一般的に言うと、「参加情報」は、第2の外部装置が第1の無線ネットワークに参加するための情報であればよい。 (Modification 4) In S22 of FIG. 2 or S122 of FIG. 3, the output unit 45 displays the BSSID of WFDNW (MFP = CL) on the display unit 14 of the MFP 10 without displaying the SSID of WFDNW (MFP = CL). It may be displayed. In this configuration, the user of the target mobile terminal can know the BSSID displayed on the display unit 14 of the MFP 10. The user can select a specific G / O device forming the WFDNW (MFP = CL) by selecting the BSSID from the device list displayed on the target mobile terminal. Generally speaking, the “participation information” may be information for allowing the second external device to participate in the first wireless network.

(変形例5)「無線通信装置」は、MFP10に限られず、他の通信装置(例えば、プリンタ、スキャナ、FAX装置、コピー機、電話機、デスクトップPC、ノートPC、タブレットPC、サーバ、携帯電話、PDA端末等)であってもよい。また、「第1(又は第2)の外部装置」は、携帯端末50(又は100)に限られず、他の通信装置(例えば、MFP、プリンタ、スキャナ、FAX装置、コピー機、電話機、デスクトップPC等)であってもよい。 (Modification 5) The “wireless communication device” is not limited to the MFP 10, and other communication devices (for example, a printer, a scanner, a FAX device, a copier, a telephone, a desktop PC, a notebook PC, a tablet PC, a server, a mobile phone, PDA terminal or the like). The “first (or second) external device” is not limited to the portable terminal 50 (or 100), but other communication devices (for example, MFP, printer, scanner, FAX device, copier, telephone, desktop PC) Etc.).

(変形例6)上記の実施例では、MFP10のCPU32がメモリ34内のプログラム(即ちソフトウェア)を実行することによって、各部41〜46が実現される。これに代えて、各部41〜46のうちの少なくとも1つは、論理回路等のハードウェアによって実現されてもよい。 (Modification 6) In the above embodiment, each unit 41 to 46 is realized by the CPU 32 of the MFP 10 executing the program (that is, software) in the memory 34. Instead, at least one of the units 41 to 46 may be realized by hardware such as a logic circuit.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。   The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology illustrated in the present specification or the drawings achieves a plurality of objects at the same time, and has technical utility by achieving one of the objects.

2:通信システム、4:AP、6:PC、10:MFP、12:操作部、14:表示部、16:印刷実行部、18:スキャン実行部、20:無線LANI/F、30:制御部、32:CPU、34:メモリ、50,100:携帯端末、C1〜C5:接続   2: communication system, 4: AP, 6: PC, 10: MFP, 12: operation unit, 14: display unit, 16: print execution unit, 18: scan execution unit, 20: wireless LAN I / F, 30: control unit 32: CPU, 34: memory, 50, 100: portable terminal, C1 to C5: connection

Claims (10)

無線通信装置であって、
第1の外部装置と前記無線通信装置との間に、第1の無線通信方式に従った第1の接続を確立する第1の接続部であって、前記第1の無線通信方式は、一対の機器の間に前記第1の無線通信方式に従った接続が確立されて、無線ネットワークが形成されるべき際に、前記一対の機器が前記無線ネットワークの親局及び子局を決定するための無線通信を実行する仕組みを有する方式である、前記第1の接続部と、
前記第1の接続が確立された結果として、前記第1の外部装置と前記無線通信装置とが所属している第1の無線ネットワークが形成されている状況で、前記第1の外部装置とは異なる第2の外部装置と対象データの無線通信を実行するための特定の指示が与えられる場合に、前記第1の無線ネットワークが第1の状態であるのか第2の状態であるのかを判断する判断部であって、前記第1の状態は、前記無線通信装置が前記子局として動作し、かつ、前記第1の外部装置が前記親局として動作する状態であり、前記第2の状態は、前記無線通信装置が前記親局として動作し、かつ、前記第1の外部装置が前記子局として動作する状態である、前記判断部と、
前記第1の無線ネットワークが前記第1の状態であると判断される第1の場合に、前記第2の外部装置が前記第1の無線ネットワークに参加するための参加情報を出力する出力部と、を備え、
前記第1の接続部は、
前記第1の無線ネットワークが前記第2の状態であると判断される第2の場合に、前記第2の外部装置と前記無線通信装置との間に、前記第1の無線通信方式に従った第2の接続を確立して、前記第2の外部装置を前記第1の無線ネットワークに参加させる参加部と、
(A)前記第1の場合において、前記参加情報が出力された結果として、前記第2の外部装置が前記第1の無線ネットワークに参加する場合に、前記第1の無線ネットワークを利用して、前記第1の外部装置を介して、前記第2の外部装置と前記対象データの無線通信を実行し、(B)前記第2の場合に、前記第1の無線ネットワークを利用して、他装置を介さずに、前記第2の外部装置と前記対象データの無線通信を実行する通信部と、
を備える、無線通信装置。
A wireless communication device,
A first connection unit that establishes a first connection according to a first wireless communication method between a first external device and the wireless communication device, wherein the first wireless communication method includes a pair When a connection in accordance with the first wireless communication method is established between the devices of the wireless network and a wireless network is to be formed, the pair of devices determines a master station and a slave station of the wireless network. The first connection unit, which is a system having a mechanism for performing wireless communication;
As a result of the establishment of the first connection, in a situation where a first wireless network to which the first external device and the wireless communication device belong is formed, what is the first external device? When a specific instruction for performing wireless communication of target data with a different second external device is given, it is determined whether the first wireless network is in the first state or the second state In the determination unit, the first state is a state in which the wireless communication device operates as the slave station, and the first external device operates as the parent station, and the second state is The determination unit, wherein the wireless communication device operates as the master station and the first external device operates as the slave station;
An output unit that outputs participation information for the second external device to participate in the first wireless network in a first case in which the first wireless network is determined to be in the first state; With
The first connection portion is
In the second case where the first wireless network is determined to be in the second state, the first wireless communication method is followed between the second external device and the wireless communication device. A joining unit that establishes a second connection and joins the second external device to the first wireless network;
(A) In the first case, when the second external device joins the first wireless network as a result of the participation information being output, the first wireless network is used, Perform wireless communication of the target data with the second external device via the first external device, and (B) in the second case, the other device using the first wireless network A communication unit that performs wireless communication of the target data with the second external device without going through
A wireless communication device.
前記参加情報は、前記第1の無線ネットワークを識別するための識別情報を含む、請求項1に記載の無線通信装置。   The wireless communication apparatus according to claim 1, wherein the participation information includes identification information for identifying the first wireless network. 前記出力部は、前記第1の場合に、前記第1の無線ネットワークが維持された状態で、前記仕組みを有さない第2の無線通信方式に従って、前記参加情報を前記第2の外部装置に送信することによって、前記参加情報を出力する、請求項1又は2に記載の無線通信装置。   In the first case, the output unit sends the participation information to the second external device according to a second wireless communication method without the mechanism in a state where the first wireless network is maintained. The wireless communication apparatus according to claim 1, wherein the participation information is output by transmission. 前記出力部は、前記第1の場合に、前記第1の無線ネットワークが維持された状態で、前記第2の外部装置と前記無線通信装置との間に、前記第2の無線通信方式に従った第3の接続を確立する第2の接続部を備え、
前記出力部は、前記第3の接続が確立された結果として、前記第2の外部装置と前記無線通信装置とが所属している第2の無線ネットワークが形成される場合に、前記第2の無線ネットワークを利用して、前記参加情報を前記第2の外部装置に送信する、請求項3に記載の無線通信装置。
In the first case, the output unit follows the second wireless communication method between the second external device and the wireless communication device in a state where the first wireless network is maintained. A second connection for establishing a third connection,
When the second wireless network to which the second external device and the wireless communication device belong is formed as a result of the establishment of the third connection, the output unit generates the second wireless network. The wireless communication device according to claim 3, wherein the participation information is transmitted to the second external device using a wireless network.
前記第2の無線ネットワークは、前記無線通信装置が前記第2の無線通信方式のアクセスポイントモードに従ったアクセスポイントとして動作する無線ネットワークである、請求項4に記載の無線通信装置。   The wireless communication device according to claim 4, wherein the second wireless network is a wireless network in which the wireless communication device operates as an access point according to an access point mode of the second wireless communication method. 前記第1の接続部は、前記無線通信装置に割り当てられる第1のMACアドレスを利用して、前記第1の接続及び前記第2の接続を確立し、
前記第2の接続部は、前記無線通信装置に割り当てられる第2のMACアドレスを利用して、前記第3の接続を確立し、
前記第1のMACアドレスと前記第2のMACアドレスとは異なる、請求項4又は5に記載の無線通信装置。
The first connection unit establishes the first connection and the second connection using a first MAC address assigned to the wireless communication device,
The second connection unit establishes the third connection using a second MAC address assigned to the wireless communication device,
The wireless communication device according to claim 4 or 5, wherein the first MAC address and the second MAC address are different.
前記出力部は、前記第1の場合に、前記無線通信装置の表示部に前記参加情報を表示させることによって、前記参加情報を出力する、請求項1又は2に記載の無線通信装置。 The wireless communication apparatus according to claim 1 , wherein the output unit outputs the participation information by causing the display unit of the wireless communication apparatus to display the participation information in the first case. 前記特定の指示は、ユーザによって前記無線通信装置に特定の操作が加えられることによって、与えられる、請求項1から7のいずれか一項に記載の無線通信装置。   The wireless communication device according to claim 1, wherein the specific instruction is given by a user performing a specific operation on the wireless communication device. 前記特定の指示は、前記第2の外部装置から、前記第1の無線通信方式に従った接続を確立するための接続要求を受信することによって、与えられる、請求項1から7のいずれか一項に記載の無線通信装置。   The specific instruction is given by receiving a connection request for establishing a connection according to the first wireless communication method from the second external device. The wireless communication device according to item. 無線通信装置のためのコンピュータプログラムであって、
前記コンピュータプログラムは、前記無線通信装置に搭載されるコンピュータに、以下の各処理、即ち、
第1の外部装置と前記無線通信装置との間に、第1の無線通信方式に従った第1の接続を確立する第1の接続処理であって、前記第1の無線通信方式は、一対の機器の間に前記第1の無線通信方式に従った接続が確立されて、無線ネットワークが形成されるべき際に、前記一対の機器が前記無線ネットワークの親局及び子局を決定するための無線通信を実行する仕組みを有する方式である、前記第1の接続処理と、
前記第1の接続が確立された結果として、前記第1の外部装置と前記無線通信装置とが所属している第1の無線ネットワークが形成されている状況で、前記第1の外部装置とは異なる第2の外部装置と対象データの無線通信を実行するための特定の指示が与えられる場合に、前記第1の無線ネットワークが第1の状態であるのか第2の状態であるのかを判断する判断処理であって、前記第1の状態は、前記無線通信装置が前記子局として動作し、かつ、前記第1の外部装置が前記親局として動作する状態であり、前記第2の状態は、前記無線通信装置が前記親局として動作し、かつ、前記第1の外部装置が前記子局として動作する状態である、前記判断処理と、
前記第1の無線ネットワークが前記第1の状態であると判断される第1の場合に、前記第2の外部装置が前記第1の無線ネットワークに参加するための参加情報を出力する出力処理と、を実行させ、
前記第1の接続処理は、
前記第1の無線ネットワークが前記第2の状態であると判断される第2の場合に、前記第2の外部装置と前記無線通信装置との間に、前記第1の無線通信方式に従った第2の接続を確立して、前記第2の外部装置を前記第1の無線ネットワークに参加させる参加処理と、
(A)前記第1の場合において、前記参加情報が出力された結果として、前記第2の外部装置が前記第1の無線ネットワークに参加する場合に、前記第1の無線ネットワークを利用して、前記第1の外部装置を介して、前記第2の外部装置と前記対象データの無線通信を実行し、(B)前記第2の場合に、前記第1の無線ネットワークを利用して、他装置を介さずに、前記第2の外部装置と前記対象データの無線通信を実行する通信処理と、
を含む、コンピュータプログラム。
A computer program for a wireless communication device,
The computer program stores the following processes in a computer installed in the wireless communication device, that is,
A first connection process for establishing a first connection according to a first wireless communication method between a first external device and the wireless communication device, wherein the first wireless communication method includes a pair When a connection in accordance with the first wireless communication method is established between the devices of the wireless network and a wireless network is to be formed, the pair of devices determines a master station and a slave station of the wireless network. The first connection process, which is a method having a mechanism for performing wireless communication;
As a result of the establishment of the first connection, in a situation where a first wireless network to which the first external device and the wireless communication device belong is formed, what is the first external device? When a specific instruction for performing wireless communication of target data with a different second external device is given, it is determined whether the first wireless network is in the first state or the second state In the determination process, the first state is a state in which the wireless communication device operates as the slave station, and the first external device operates as the parent station, and the second state is The determination process, wherein the wireless communication device operates as the master station and the first external device operates as the slave station;
An output process for outputting participation information for the second external device to participate in the first wireless network in a first case in which the first wireless network is determined to be in the first state; , Execute
The first connection process includes:
In the second case where the first wireless network is determined to be in the second state, the first wireless communication method is followed between the second external device and the wireless communication device. Establishing a second connection and joining the second external device to the first wireless network;
(A) In the first case, when the second external device joins the first wireless network as a result of the participation information being output, the first wireless network is used, Perform wireless communication of the target data with the second external device via the first external device, and (B) in the second case, the other device using the first wireless network Communication processing for performing wireless communication of the target data with the second external device without going through
Including computer programs.
JP2012218086A 2012-09-28 2012-09-28 Wireless communication device Active JP6171297B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012218086A JP6171297B2 (en) 2012-09-28 2012-09-28 Wireless communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012218086A JP6171297B2 (en) 2012-09-28 2012-09-28 Wireless communication device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2017132152A Division JP6471775B2 (en) 2017-07-05 2017-07-05 Wireless communication device

Publications (2)

Publication Number Publication Date
JP2014072764A JP2014072764A (en) 2014-04-21
JP6171297B2 true JP6171297B2 (en) 2017-08-02

Family

ID=50747576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012218086A Active JP6171297B2 (en) 2012-09-28 2012-09-28 Wireless communication device

Country Status (1)

Country Link
JP (1) JP6171297B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6354348B2 (en) * 2014-06-04 2018-07-11 カシオ計算機株式会社 Wireless communication apparatus, wireless communication apparatus connection method, and program
JP6387698B2 (en) * 2014-06-16 2018-09-12 ブラザー工業株式会社 Communication device
JP6458367B2 (en) * 2014-06-17 2019-01-30 株式会社リコー Image processing apparatus, image processing method, and program
JP6709015B2 (en) * 2014-06-24 2020-06-10 ブラザー工業株式会社 Communication device
JP6512798B2 (en) 2014-11-19 2019-05-15 キヤノン株式会社 Communication apparatus, control method, and program
JP6885230B2 (en) * 2017-07-05 2021-06-09 ブラザー工業株式会社 Communication device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5304668B2 (en) * 2010-01-22 2013-10-02 ソニー株式会社 Wireless communication apparatus, program, wireless communication method, and wireless communication system
JP6154098B2 (en) * 2011-03-08 2017-06-28 ソニー株式会社 Wireless communication apparatus, wireless communication method, and wireless communication system

Also Published As

Publication number Publication date
JP2014072764A (en) 2014-04-21

Similar Documents

Publication Publication Date Title
JP6368989B2 (en) Communication device
JP5857850B2 (en) Communication device
JP6281223B2 (en) Communication equipment
JP6281222B2 (en) Communication equipment
JP6019881B2 (en) Communication device and portable terminal
JP2013214803A (en) Communication device
JP5966827B2 (en) Communication device
JP2014127871A (en) Communication device
JP6171297B2 (en) Wireless communication device
JP6172340B2 (en) Communication equipment
JP6015315B2 (en) Communication device
JP6183445B2 (en) Communication device
JP6471775B2 (en) Wireless communication device
JP2016195431A (en) Communication device
JP6249075B2 (en) Communication device and portable terminal
JP2014045379A (en) Communication device and computer program for mobile terminal
JP6860099B2 (en) Communication devices and mobile terminals
JP6662478B2 (en) Communication device and mobile terminal
JP6795067B2 (en) Communication device
JP6601463B2 (en) Communication device
JP6481743B2 (en) Communication device and portable terminal
JP2016154367A (en) Communication apparatus
JP2014072763A (en) Radio communication device
JP2021013203A (en) Communication device
JP2017201784A (en) Communication apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150903

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160920

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20161116

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170118

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170619

R150 Certificate of patent or registration of utility model

Ref document number: 6171297

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150