+

JP2019146273A - Communication apparatus - Google Patents

Communication apparatus Download PDF

Info

Publication number
JP2019146273A
JP2019146273A JP2019105384A JP2019105384A JP2019146273A JP 2019146273 A JP2019146273 A JP 2019146273A JP 2019105384 A JP2019105384 A JP 2019105384A JP 2019105384 A JP2019105384 A JP 2019105384A JP 2019146273 A JP2019146273 A JP 2019146273A
Authority
JP
Japan
Prior art keywords
wireless
specific
state
communication device
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.)
Granted
Application number
JP2019105384A
Other languages
Japanese (ja)
Other versions
JP6773177B2 (en
Inventor
柴田 寛
Hiroshi Shibata
寛 柴田
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 JP2019105384A priority Critical patent/JP6773177B2/en
Publication of JP2019146273A publication Critical patent/JP2019146273A/en
Application granted granted Critical
Publication of JP6773177B2 publication Critical patent/JP6773177B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

【課題】 通信機器が所属すべき無線ネットワークを適切に判断することによって、通信機器の処理負荷が不必要に高くなるのを抑制し得る技術を提供すること。【解決手段】 プリンタ10は、端末機器50から受信されたProbe Req.信号内のSSID「YYY」がメモリ内のSSID「YYY」に一致すると判断する場合(T18でYES)に、プリンタ10の動作状態を、代替SoftAPNWに所属していない状態から代替SoftAPNWの親局状態に移行させる(T22)。そして、プリンタ10は、親局であるプリンタ10と子局である端末機器50との双方が所属している代替SoftAPNWを形成する(T36〜T40)。一方、端末機器50から受信されるProbe Req.信号内のSSIDがメモリ34内のSSID「YYY」に一致しないと判断される場合(T18でNO)には、プリンタ10の動作状態は、代替SoftAPNWに所属していない状態に維持される。【選択図】 図2PROBLEM TO BE SOLVED: To provide a technique capable of suppressing an unnecessarily high processing load of a communication device by appropriately determining a wireless network to which the communication device belongs. When the printer 10 determines that the SSID "YYY" in the Probe Req. Signal received from the terminal device 50 matches the SSID "YYY" in the memory (YES in T18), the printer 10 operates. The state is changed from the state that does not belong to the alternative SoftAPNW to the master station state of the alternative SoftAPNW (T22). Then, the printer 10 forms an alternative SoftAPNW to which both the printer 10 which is the master station and the terminal device 50 which is the slave station belong (T36 to T40). On the other hand, when it is determined that the SSID in the Probe Req. Signal received from the terminal device 50 does not match the SSID "YYY" in the memory 34 (NO in T18), the operating state of the printer 10 is the alternative SoftAPNW. It is maintained in a state where it does not belong to. [Selection diagram] Fig. 2

Description

本明細書では、通信機器が無線ネットワークを形成するための技術を開示する。   The present specification discloses a technique for a communication device to form a wireless network.

通信機器が無線ネットワークを形成するための様々な技術が知られている。例えば、いわゆるSoftAPの機能をサポートする通信機器は、SoftAPを起動して無線ネットワークの親局として動作することができる。この場合、他の機器が当該無線ネットワークの子局として動作すれば、通信機器と当該他の機器との双方が無線ネットワークに所属することができる。また、Wi-Fi Allianceによって策定されたWFD(Wi-Fi Direct(登録商標)の略)方式をサポートする通信機器は、WFD方式に従ったG/O(Group Ownerの略)状態に移行して無線ネットワークの親局として動作することができる。この場合、他の機器が当該無線ネットワークの子局(例えばWFD方式に従ったClient状態)として動作すれば、通信機器と当該他の機器との双方が無線ネットワークに所属することができる。   Various techniques are known for communication devices to form a wireless network. For example, a communication device that supports a so-called SoftAP function can activate SoftAP and operate as a master station of a wireless network. In this case, if another device operates as a slave station of the wireless network, both the communication device and the other device can belong to the wireless network. Communication devices that support the WFD (abbreviation of Wi-Fi Direct (registered trademark)) method established by the Wi-Fi Alliance have transitioned to the G / O (abbreviation of Group Owner) state in accordance with the WFD method. It can operate as a master station of a wireless network. In this case, if another device operates as a slave station of the wireless network (for example, a Client state according to the WFD method), both the communication device and the other device can belong to the wireless network.

特開2013−115687号公報JP 2013-115687 A 特開2009−44701号公報JP 2009-44701 A

通信機器は、例えば、無線接続要求を他の機器から受信することに応じて、親局(例えば、上述のSoftAP、又は、WFD方式に従ったG/O機器)又は子局として動作して、無線ネットワークに所属することができる。しかし、通信機器は、所属すべき所属ネットワークを適切に判断することができないために、ユーザが望まない無線ネットワークに所属し得る。通信機器が、ユーザが望まない無線ネットワークに所属することに起因して、通信機器の処理負荷が不必要に高くなり得る。本明細書では、通信機器が所属すべき無線ネットワークを適切に判断することによって、通信機器の処理負荷が不必要に高くなるのを抑制し得る技術を提供する。   For example, in response to receiving a wireless connection request from another device, the communication device operates as a master station (for example, the above-mentioned SoftAP or G / O device according to the WFD method) or a slave station, Can belong to a wireless network. However, since the communication device cannot appropriately determine the affiliation network to which it belongs, it can belong to a wireless network that the user does not want. Due to the communication device belonging to a wireless network that the user does not want, the processing load on the communication device can be unnecessarily high. The present specification provides a technique capable of suppressing an unnecessary increase in processing load on a communication device by appropriately determining a wireless network to which the communication device should belong.

本明細書によって開示される通信機器は、メモリと、信号受信部と、判断部と、形成部と、を備える。メモリは、所定文字列を記憶する。信号受信部は、特定の無線識別子を含む第1の特定の信号を外部機器から受信する。判断部は、第1の特定の信号内の特定の無線識別子が、メモリ内の所定文字列を含む第1の無線識別子であるのか否かを判断する。第1の無線識別子は、第1の無線ネットワークを識別するための無線識別子である。本明細書によって開示される一つの形態では、形成部は、特定の無線識別子が第1の無線識別子であると判断される場合に、通信機器の動作状態を、第1の無線ネットワークに所属していない第1の無所属状態から、第1の無線ネットワークの親局として動作する第1の親局状態に移行させて、親局である通信機器と子局である外部機器との双方が所属している第1の無線ネットワークを形成する。特定の無線識別子が第1の無線識別子でないと判断される場合に、通信機器の動作状態は、第1の無所属状態に維持される。   The communication device disclosed in the present specification includes a memory, a signal receiving unit, a determination unit, and a forming unit. The memory stores a predetermined character string. The signal receiving unit receives a first specific signal including a specific wireless identifier from an external device. The determination unit determines whether or not the specific wireless identifier in the first specific signal is a first wireless identifier including a predetermined character string in the memory. The first wireless identifier is a wireless identifier for identifying the first wireless network. In one form disclosed by this specification, a formation part belongs to the 1st wireless network, and the operation state of a communication apparatus belongs to the 1st wireless network, when it is judged that a specific wireless identifier is a 1st wireless identifier. From the first unaffiliated state to the first parent station state that operates as the parent station of the first wireless network, both the communication device that is the parent station and the external device that is the child station belong. Forming a first wireless network. When it is determined that the specific wireless identifier is not the first wireless identifier, the operation state of the communication device is maintained in the first unaffiliated state.

上記の構成によると、通信機器は、第1の特定の信号内の特定の無線識別子が所定文字列を含む第1の無線識別子であると判断される場合に、通信機器の動作状態を第1の無所属状態から第1の親局状態に移行させる。従って、通信機器は、通信機器と外部機器との双方が所属している第1の無線ネットワークを形成することができる。一方、第1の特定の信号内の特定の無線識別子が第1の無線識別子でないと判断される場合に、通信機器の動作状態は、第1の無所属状態に維持される。即ち、この場合、通信機器と外部機器との双方が所属している第1の無線ネットワークが形成されない。このために、通信機器の処理負荷が不必要に高くなるのを抑制し得る。   According to the above configuration, when it is determined that the specific wireless identifier in the first specific signal is the first wireless identifier including the predetermined character string, the communication device sets the operation state of the communication device to the first state. Shift from the unaffiliated state to the first master station state. Therefore, the communication device can form a first wireless network to which both the communication device and the external device belong. On the other hand, when it is determined that the specific wireless identifier in the first specific signal is not the first wireless identifier, the operation state of the communication device is maintained in the first unaffiliated state. That is, in this case, the first wireless network to which both the communication device and the external device belong is not formed. For this reason, it can suppress that the processing load of a communication apparatus becomes unnecessarily high.

また、本明細書によって開示される他の形態では、形成部は、特定の無線識別子が第1の無線識別子であると判断される場合に、通信機器の動作状態を、第1の無線ネットワークに所属していない第1の無所属状態から、第1の無線ネットワークの親局として動作する第1の親局状態、又は、第1の無線ネットワークの子局として動作する子局状態に移行させて、親局又は子局である通信機器と子局又は親局である外部機器との双方が所属している第1の無線ネットワークを形成する。この形態では、通信機器は、さらに、第1の無線ネットワークが形成される場合に、第1の無線ネットワークを利用して、特定の無線設定情報を外部機器から受信する情報受信部であって、特定の無線設定情報は、特定のアクセスポイントによって形成されている特定の無線ネットワークで現在利用されている無線設定情報であり、外部機器は、特定の無線ネットワークに現在所属していること、及び、特定の無線ネットワークに過去に所属していたこと、のうちのいずれかの条件を満たす、情報受信部と、外部機器から特定の無線設定情報が受信される場合に、特定の無線設定情報を利用して、特定の無線ネットワークに所属する所属部と、を備える。   In another form disclosed by the present specification, the forming unit may change the operation state of the communication device to the first wireless network when the specific wireless identifier is determined to be the first wireless identifier. Transition from a first unaffiliated state that does not belong to a first parent station state that operates as a parent station of the first wireless network, or a slave station state that operates as a child station of the first wireless network, A first wireless network is formed to which both a communication device that is a parent station or a slave station and an external device that is a slave station or a parent station belong. In this aspect, the communication device is an information receiving unit that receives specific wireless setting information from an external device using the first wireless network when the first wireless network is formed, The specific wireless setting information is wireless setting information currently used in a specific wireless network formed by a specific access point, and that the external device currently belongs to the specific wireless network, and Use specific wireless setting information when specific wireless setting information is received from an information receiving unit and an external device that meet one of the conditions of belonging to a specific wireless network in the past And an affiliation unit belonging to a specific wireless network.

上記の構成によると、通信機器は、第1の特定の信号内の特定の無線識別子が第1の無線識別子であると判断される場合に、通信機器の動作状態を第1の無所属状態から第1の親局状態又は子局状態に移行させる。従って、通信機器は、通信機器と外部機器との双方が所属している第1の無線ネットワークを形成することができる。そして、通信機器は、第1の無線ネットワークを利用して、特定の無線設定情報を外部機器から受信し、特定の無線設定情報を利用して、特定の無線ネットワークに所属する。これにより、通信機器は、特定の無線ネットワークを利用して、特定のアクセスポイントを介した無線通信を実行することができる。一方、第1の特定の信号内の特定の無線識別子が第1の無線識別子でないと判断される場合に、通信機器の動作状態は、第1の無所属状態に維持される。このために、通信機器の処理負荷が不必要に高くなるのを抑制し得る。   According to the above configuration, the communication device changes the operation state of the communication device from the first unaffiliated state when the specific wireless identifier in the first specific signal is determined to be the first wireless identifier. 1 shifts to the master station state or the slave station state. Therefore, the communication device can form a first wireless network to which both the communication device and the external device belong. Then, the communication device receives the specific wireless setting information from the external device using the first wireless network, and belongs to the specific wireless network using the specific wireless setting information. Accordingly, the communication device can execute wireless communication via a specific access point using a specific wireless network. On the other hand, when it is determined that the specific wireless identifier in the first specific signal is not the first wireless identifier, the operation state of the communication device is maintained in the first unaffiliated state. For this reason, it can suppress that the processing load of a communication apparatus becomes unnecessarily high.

上記の通信機器を実現するための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを記憶するコンピュータ読取可能記録媒体も、新規で有用である。また、上記の通信機器と上記の外部機器とを備える通信システムも、新規で有用である。   A control method, a computer program, and a computer-readable recording medium storing the computer program for realizing the communication device are also novel and useful. A communication system including the communication device and the external device is also new and useful.

通信システムの構成を示す。1 shows a configuration of a communication system. プリンタがSoftAPとして動作する第1実施例のシーケンス図を示す。FIG. 3 shows a sequence diagram of the first embodiment in which the printer operates as SoftAP. 図2の続きのシーケンス図を示す。FIG. 3 shows a sequence diagram continued from FIG. 2. プリンタがWFD方式に従ったG/Oとして動作する第2実施例のシーケンス図を示す。FIG. 6 shows a sequence diagram of a second embodiment in which the printer operates as G / O according to the WFD method. 図4の続きのシーケンス図を示す。FIG. 5 shows a sequence diagram continued from FIG. 4. プリンタが子局として動作する第3実施例のシーケンス図を示す。FIG. 9 shows a sequence diagram of a third embodiment in which the printer operates as a slave station.

(第1実施例)
(通信システム2の構成;図1)
通信システム2は、プリンタ10と端末機器50と通常アクセスポイント100とを備える。以下では、通常アクセスポイント100のことを「通常AP(Normal Access Pointの略)100」と記載する。
(First embodiment)
(Configuration of communication system 2; FIG. 1)
The communication system 2 includes a printer 10, a terminal device 50, and a normal access point 100. Hereinafter, the normal access point 100 is referred to as “normal AP (abbreviation of normal access point) 100”.

(プリンタ10の構成)
プリンタ10は、印刷機能を実行可能な周辺機器(即ち端末機器50等の周辺機器)である。プリンタ10は、操作部12と、表示部14と、印刷実行部16と、無線インターフェース20と、制御部30と、を備える。以下では、インターフェースのことを「I/F」と記載する。
(Configuration of Printer 10)
The printer 10 is a peripheral device that can execute a printing function (that is, a peripheral device such as the terminal device 50). The printer 10 includes an operation unit 12, a display unit 14, a print execution unit 16, a wireless interface 20, and a control unit 30. Hereinafter, the interface is described as “I / F”.

操作部12は、複数のキーによって構成される。ユーザは、操作部12を操作することによって、様々な指示をプリンタ10に入力することができる。表示部14は、様々な情報を表示するためのディスプレイである。印刷実行部16は、インクジェット方式、レーザ方式等の印刷機構である。   The operation unit 12 includes a plurality of keys. The user can input various instructions to the printer 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.

無線I/F20は、IEEE(The Institute of Electrical and Electronics Engineers, Inc.)802.11に従った無線通信を実行するためのI/Fである。具体的には、無線I/F20は、IEEE802.11に従って通常AP100との無線接続(以下では「通常AP(Normal APの略)接続」と呼ぶ)を確立することができ、この結果、プリンタ10は、通常AP100が親局として動作する無線ネットワーク(以下では「通常APNW(通常AP Networkの略)」と呼ぶ)に子局として参加することができる。そして、プリンタ10は、通常AP100を介して、通常APNWに所属している他の機器(例えば端末機器50)と無線通信を実行することができる。   The wireless I / F 20 is an I / F for executing wireless communication according to IEEE (The Institute of Electrical and Electronics Engineers, Inc.) 802.11. Specifically, the wireless I / F 20 can establish a wireless connection with the normal AP 100 (hereinafter referred to as “normal AP (abbreviation of Normal AP) connection”) in accordance with IEEE802.11. Can participate as a slave station in a wireless network in which the normal AP 100 operates as a master station (hereinafter referred to as “normal APNW (abbreviation of normal AP Network)”). The printer 10 can perform wireless communication with another device (for example, the terminal device 50) belonging to the normal APNW via the normal AP 100.

無線I/F20は、特に、IEEE802.11のうちのSoftAP(Software Access Pointの略)機能をサポートしている。無線I/F20のSoftAPが起動されると、プリンタ10は、無線ネットワークのAP(即ち親局)として動作し、他の機器(例えば端末機器50)との無線接続(以下では「SoftAP接続」と呼ぶ)を確立することができる。即ち、当該他の機器は、プリンタ10が親局として動作する無線ネットワーク(以下では「SoftAPNW(SoftAPNetworkの略)」と呼ぶ)に子局として参加することができる。   The wireless I / F 20 particularly supports a SoftAP (abbreviation of Software Access Point) function in IEEE802.11. When SoftAP of the wireless I / F 20 is activated, the printer 10 operates as an AP (that is, a master station) of the wireless network, and wirelessly connects to other devices (for example, the terminal device 50) (hereinafter referred to as “SoftAP connection”). Can be established). That is, the other device can participate as a slave station in a wireless network in which the printer 10 operates as a master station (hereinafter referred to as “SoftAPNW (abbreviation of SoftAPNetwork)”).

無線I/F20は、物理的には1個のインターフェースである。ただし、無線I/F20には、通常AP接続を確立するための第1のMACアドレスと、SoftAP接続を確立するための第2のMACアドレス(即ち第1のMACアドレスとは異なるMACアドレス)と、が割り当てられている。従って、プリンタ10は、無線I/F20を介して、通常AP接続を利用した無線通信と、SoftAP接続を利用した無線通信と、の双方を同時的に実行し得る。なお、変形例では、通常AP接続を利用した無線通信を実行するためのインターフェースと、SoftAP接続を利用した無線通信と、を実行するためのインターフェースと、が物理的に異なるチップによって構成されていてもよい。   The wireless I / F 20 is physically one interface. However, the wireless I / F 20 includes a first MAC address for establishing a normal AP connection and a second MAC address (that is, a MAC address different from the first MAC address) for establishing a SoftAP connection. , Has been assigned. Therefore, the printer 10 can simultaneously execute both wireless communication using the normal AP connection and wireless communication using the SoftAP connection via the wireless I / F 20. In the modification, the interface for executing wireless communication using normal AP connection and the interface for executing wireless communication using SoftAP connection are configured by physically different chips. Also good.

制御部30は、CPU32と、メモリ34と、を備える。CPU32は、メモリ34に記憶されているプログラム36に従って、様々な処理を実行するプロセッサである。メモリ34は、RAM、ROM等によって構成される。プログラム36は、初回SoftAP(Initial SoftAPの略)設定情報38と、代替SoftAP(Alternative SoftAPの略)設定情報40と、を含む。   The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 is a processor that executes various processes according to the program 36 stored in the memory 34. The memory 34 is composed of RAM, ROM, and the like. The program 36 includes initial SoftAP (abbreviation for Initial SoftAP) setting information 38 and alternative SoftAP (abbreviation for Alternative SoftAP) setting information 40.

初回SoftAP設定情報38は、プリンタ10の電源が投入されるタイミングで起動されるSoftAP(以下では「初回SoftAP」と呼ぶ)によって形成されるSoftAPNWで利用される情報である。初回SoftAP設定情報38は、プリンタ10のベンダとは異なる特定の事業者からベンダに予め提供されている情報である。初回SoftAP設定情報38は、SSID(Service Set Identifierの略)「XXX」、パスワード「AAA」等を含む。   The initial SoftAP setting information 38 is information used in SoftAPNW formed by SoftAP activated at the timing when the printer 10 is turned on (hereinafter referred to as “initial SoftAP”). The initial SoftAP setting information 38 is information provided in advance to a vendor from a specific company different from the vendor of the printer 10. The initial SoftAP setting information 38 includes an SSID (abbreviation of Service Set Identifier) “XXX”, a password “AAA”, and the like.

代替SoftAP設定情報40は、プリンタ10の電源が投入されるタイミングとは異なるタイミングで起動されるSoftAP(以下では「代替SoftAP」と呼ぶ)によって形成されるSoftAPNWで利用される情報である。代替SoftAP設定情報40は、プリンタ10のベンダによって予め決定されている情報であり、初回SoftAP設定情報38とは異なる情報である。代替SoftAP設定情報40は、SSID「YYY」、パスワード「BBB」等を含む。以下では、初回SoftAP設定情報38が利用されるSoftAPNW、代替SoftAP設定情報40が利用されるSoftAPNWのことを、それぞれ、「初回SoftAPNW」、「代替SoftAPNW」と呼ぶ。   The alternative SoftAP setting information 40 is information used in SoftAPNW formed by SoftAP (hereinafter referred to as “alternative SoftAP”) activated at a timing different from the timing when the printer 10 is turned on. The alternative SoftAP setting information 40 is information determined in advance by the vendor of the printer 10 and is different from the initial SoftAP setting information 38. The alternative SoftAP setting information 40 includes SSID “YYY”, password “BBB”, and the like. Hereinafter, the SoftAPNW in which the initial SoftAP setting information 38 is used and the SoftAPNW in which the alternative SoftAP setting information 40 is used are referred to as “initial SoftAPNW” and “alternative SoftAPNW”, respectively.

メモリ34は、親局設定領域44と、通常AP設定領域46と、を備える。親局設定領域44は、プリンタ10がSoftAPNWの親局として動作する状態で、当該SoftAPNWで利用される無線設定情報(即ち、初回SoftAP設定情報38又は代替SoftAP設定情報40)が記憶される領域である。通常AP設定領域46は、プリンタ10が通常APNWの子局として動作する状態で、当該通常APNWで利用される無線設定情報(即ち、SSID、パスワード等;以下では「通常AP設定情報」と呼ぶ)が記憶される領域である。   The memory 34 includes a master station setting area 44 and a normal AP setting area 46. The master station setting area 44 is an area in which wireless setting information (that is, the initial SoftAP setting information 38 or the alternative SoftAP setting information 40) used in the SoftAPNW is stored in a state where the printer 10 operates as a SoftAPNW master station. is there. The normal AP setting area 46 is wireless setting information (that is, SSID, password, etc .; hereinafter referred to as “normal AP setting information”) used in the normal APNW in a state where the printer 10 operates as a slave station of the normal APNW. Is an area in which is stored.

(通常AP100の構成)
通常AP100は、無線AP、無線LANルータ等と呼ばれる公知のAPであり、SoftAPとは異なる。通常AP100は、通常AP100との通常AP接続が確立されている一対の機器、即ち、通常APNWの一対の子局(例えば、プリンタ10、端末機器50)の間の通信を中継する。通常AP100は、通常APNWで現在利用されている通常AP設定情報150を記憶する。通常AP設定情報150は、SSID「ZZZ」と、パスワード「CCC」と、を含む。
(Normal AP100 configuration)
The normal AP 100 is a known AP called a wireless AP, a wireless LAN router or the like, and is different from SoftAP. The normal AP 100 relays communication between a pair of devices with which a normal AP connection with the normal AP 100 is established, that is, a pair of slave stations (for example, the printer 10 and the terminal device 50) of the normal APNW. The normal AP 100 stores normal AP setting information 150 currently used by the normal APNW. The normal AP setting information 150 includes an SSID “ZZZ” and a password “CCC”.

(端末機器50の構成)
端末機器50は、例えば、携帯電話、スマートフォン、ノートPC、タブレットPC等の可搬型の端末である。端末機器50は、通常APNW又はSoftAPNWに子局として参加することができる。端末機器50は、端末機器50が通常APNWに現在所属している場合、又は、通常APNWに過去に所属していた場合に、通常AP設定情報150を記憶する。端末機器50は、さらに、通常AP設定情報150をプリンタ10に設定するためのアプリケーションプログラム(以下では「設定アプリ」と呼ぶ)200を記憶する。設定アプリ200は、プリンタ10のベンダによって提供されるプログラムであり、プリンタ10に予め記憶されている代替SoftAP設定情報40に一致する情報40を含む。
(Configuration of terminal device 50)
The terminal device 50 is a portable terminal such as a mobile phone, a smartphone, a notebook PC, or a tablet PC. The terminal device 50 can usually participate as a slave station in APNW or SoftAPNW. The terminal device 50 stores the normal AP setting information 150 when the terminal device 50 currently belongs to the normal APNW or when the terminal device 50 has previously belonged to the normal APNW. The terminal device 50 further stores an application program (hereinafter referred to as “setting application”) 200 for setting the normal AP setting information 150 in the printer 10. The setting application 200 is a program provided by the vendor of the printer 10 and includes information 40 that matches the alternative SoftAP setting information 40 stored in the printer 10 in advance.

(各デバイス10,50,100等の処理:図2及び図3)
続いて、図2及び図3を参照して、プリンタ10等によって実行される各処理の内容を説明する。図2の初期状態では、端末機器50は、通常AP100との通常AP接続を確立しており、通常APNWに所属している。T10では、ユーザは、プリンタ10の電源を投入する。以下では、プリンタ10のCPU32によって実行される処理を説明する際に、「プリンタ10のCPU32は、・・・を実行する」と記載する代わりに、「プリンタ10は、・・・を実行する」と記載する。
(Processing of each device 10, 50, 100, etc .: FIGS. 2 and 3)
Next, the contents of each process executed by the printer 10 and the like will be described with reference to FIGS. In the initial state of FIG. 2, the terminal device 50 has established a normal AP connection with the normal AP 100 and belongs to the normal APNW. At T10, the user turns on the printer 10. Hereinafter, in describing the processing executed by the CPU 32 of the printer 10, instead of describing “the CPU 32 of the printer 10 executes...”, “The printer 10 executes. It describes.

T12では、プリンタ10は、初回SoftAP設定情報38を利用して、初回SoftAPを起動する。具体的には、プリンタ10は、プログラム36内の初回SoftAP設定情報38を親局設定領域44に記憶する。これにより、プリンタ10の動作状態は、初回SoftAPNWに所属していない状態から、初回SoftAPNWの親局として動作する親局状態に移行する。   In T12, the printer 10 uses the initial SoftAP setting information 38 to activate the initial SoftAP. Specifically, the printer 10 stores the initial SoftAP setting information 38 in the program 36 in the parent station setting area 44. Thereby, the operation state of the printer 10 shifts from a state not belonging to the first SoftAPNW to a parent station state that operates as a parent station of the first SoftAPNW.

プリンタ10の電源が投入される際に初回SoftAPが起動される構成(以下では「特定の構成」と呼ぶ)が採用される理由を説明する。まず、初回SoftAPが起動される理由は、以下のとおりである。初回SoftAPに従って形成される初回SoftAPNWでは、認証方式及び暗号化方式のセキュリティレベルが比較的に低い設定情報である初回SoftAP設定情報38が利用される。これにより、ユーザは、複雑な無線設定を行うことなく、様々な機器を子局として初回SoftAPNWに参加させ得る。この場合、プリンタ10は、初回SoftAPNWを利用して、当該様々な機器との無線通信を実行し得る。このように、プリンタ10は、様々な機器との通信を実行可能にするために、初回SoftAPを起動する。   The reason why a configuration in which the first SoftAP is activated when the printer 10 is turned on (hereinafter referred to as “specific configuration”) will be described. First, the reason for starting SoftAP for the first time is as follows. In the initial SoftAPNW formed in accordance with the initial SoftAP, the initial SoftAP setting information 38, which is setting information with relatively low security levels of the authentication method and the encryption method, is used. As a result, the user can participate in the initial SoftAPNW with various devices as slave stations without performing complicated wireless settings. In this case, the printer 10 can execute wireless communication with the various devices using the initial SoftAPNW. As described above, the printer 10 activates the first SoftAP in order to enable communication with various devices.

また、初回SoftAPが、電源が投入される際に起動される理由は以下のとおりである。仮に初回SoftAPが、電源が投入される際に起動されないとすると、ユーザは、電源が投入された後に、初回SoftAPを起動させるための操作を実行する必要がある。一方、初回SoftAPが、電源が投入される際に起動される場合では、ユーザは、電源を投入するための操作と、初回SoftAPを起動するための操作と、を別々に実行する必要がなくなり、利便性が向上する。以上の2個の理由により、特定の構成が採用される。   The reason why the first SoftAP is started when the power is turned on is as follows. If the first SoftAP is not started when the power is turned on, the user needs to execute an operation for starting the first SoftAP after the power is turned on. On the other hand, when the first SoftAP is started when the power is turned on, the user does not need to separately execute the operation for turning on the power and the operation for starting the first SoftAP. Convenience is improved. A specific configuration is adopted for the above two reasons.

端末機器50のユーザは、端末機器50が所属している通常APNWにプリンタ10も所属させることを望む場合に、T14において、設定アプリ200を起動するための操作を端末機器50に実行する。これにより、端末機器50は、設定アプリ200を起動し、T16において、設定アプリ200内の代替SoftAP設定情報40に含まれるSSID「YYY」を読み出し、SSID「YYY」を含むProbe Request信号をプリンタ10に送信する。以下では、Request、Responseのことを、それぞれ、「Req.」、「Res.」と記載する。   When the user of the terminal device 50 desires the printer 10 to belong to the normal APNW to which the terminal device 50 belongs, in T14, the user performs an operation for starting the setting application 200 on the terminal device 50. As a result, the terminal device 50 starts the setting application 200, reads the SSID “YYY” included in the alternative SoftAP setting information 40 in the setting application 200 at T16, and sends a Probe Request signal including the SSID “YYY” to the printer 10. Send to. In the following, Request and Response are described as “Req.” And “Res.”, Respectively.

プリンタ10は、端末機器50からSSID「YYY」を含むProbe Req.信号を受信する場合に、T18において、Probe Req.信号内のSSID「YYY」が、メモリ34内の代替SoftAP設定情報40に含まれるSSID「YYY」に一致するのか否かを判断する。プリンタ10は、Probe Req.信号内のSSID「YYY」がメモリ34内のSSID「YYY」に一致する場合(T18でYES)に、T20に進む。   When the printer 10 receives the Probe Req. Signal including the SSID “YYY” from the terminal device 50, the TSID “YYY” in the Probe Req. Signal is included in the alternative SoftAP setting information 40 in the memory 34 at T 18. It is determined whether or not it matches the SSID “YYY”. When the SSID “YYY” in the Probe Req. Signal matches the SSID “YYY” in the memory 34 (YES in T18), the printer 10 proceeds to T20.

一方、例えば、ユーザが、端末機器50が通常AP100とは異なるAPとの無線接続を確立することを望む場合には、設定アプリ200を起動するための操作が端末機器50に実行されず、当該無線接続を確立するための操作が端末機器50に実行される。この場合、プリンタ10は、端末機器50からSSID「YYY」を含まないProbe Req.信号を受信し得る。このような状況では、プリンタ10は、当該Probe Req.信号内のSSIDがメモリ34内のSSID「YYY」に一致しないと判断し(T18でNO)、T20以下の処理を実行せずに、図2の処理を終了する。この場合、プリンタ10の動作状態は、SSID「YYY」によって識別される代替SoftAPNWに所属していない状態に維持される。   On the other hand, for example, when the user desires that the terminal device 50 establish a wireless connection with an AP different from the normal AP 100, an operation for starting the setting application 200 is not performed on the terminal device 50, An operation for establishing a wireless connection is performed on the terminal device 50. In this case, the printer 10 can receive a Probe Req. Signal that does not include the SSID “YYY” from the terminal device 50. In such a situation, the printer 10 determines that the SSID in the Probe Req. Signal does not match the SSID “YYY” in the memory 34 (NO in T18), and does not execute the processing from T20 onward. The process of 2 is finished. In this case, the operation state of the printer 10 is maintained in a state where it does not belong to the alternative SoftAPNW identified by the SSID “YYY”.

T20では、プリンタ10は、初回SoftAPを停止する。具体的には、プリンタ10は、親局設定領域44内の初回SoftAP設定情報38を消去する。これにより、プリンタ10は、初回SoftAP NWを消滅させる。プリンタ10の動作状態は、初回SoftAPNWの親局として動作する親局状態から、初回SoftAPNWに所属していない状態に移行する。本実施例では、プリンタ10は、SoftAPのための1個のMACアドレス(即ち第2のMACアドレス)しか有していないので、初回SoftAPと代替SoftAPとの双方が同時的に起動されている状態を構築することができない。そして、プリンタ10は、後述の処理で代替SoftAPを起動する必要があるので、T20で初回SoftAPを停止する。   At T20, the printer 10 stops the initial SoftAP. Specifically, the printer 10 deletes the initial SoftAP setting information 38 in the master station setting area 44. As a result, the printer 10 eliminates the initial SoftAP NW. The operation state of the printer 10 shifts from a parent station state that operates as a parent station of the first SoftAPNW to a state that does not belong to the first SoftAPNW. In the present embodiment, since the printer 10 has only one MAC address for SoftAP (that is, the second MAC address), both the initial SoftAP and the alternative SoftAP are activated simultaneously. Can not build. Since the printer 10 needs to start an alternative SoftAP in the process described later, the first SoftAP is stopped at T20.

T22では、プリンタ10は、代替SoftAP設定情報40を利用して、代替SoftAPを起動する。具体的には、プリンタ10は、プログラム36内の代替SoftAP設定情報40を親局設定領域44に記憶する。これにより、プリンタ10の動作状態は、代替SoftAPNWに所属していない状態から、代替SoftAPNWの親局として動作する親局状態に移行する。   In T22, the printer 10 uses the alternative SoftAP setting information 40 to activate the alternative SoftAP. Specifically, the printer 10 stores the alternative SoftAP setting information 40 in the program 36 in the parent station setting area 44. Thereby, the operation state of the printer 10 shifts from a state not belonging to the alternative SoftAPNW to a parent station state that operates as a parent station of the alternative SoftAPNW.

なお、プリンタ10は、T16の時点では、代替SoftAPを起動していないので、代替SoftAPNWで利用されるSSID「YYY」を含むProbe Req.信号を受信しても、Probe Req.信号に対する応答信号(即ちProbe Res.信号)を送信しない。従って、端末機器50は、T16でProbe Req.信号を送信してから所定時間を経過してもプリンタ10から応答信号を受信しないので、T24において、SSID「YYY」を含むProbe Req.信号をプリンタ10に再び送信する。   Since the printer 10 has not activated the alternative SoftAP at the time of T16, even if it receives the Probe Req. Signal including the SSID “YYY” used in the alternative SoftAPNW, a response signal to the Probe Req. Signal ( That is, Probe Res. Signal) is not transmitted. Accordingly, the terminal device 50 does not receive a response signal from the printer 10 even after a predetermined time has elapsed after transmitting the Probe Req. Signal at T16. Therefore, at T24, the terminal device 50 transmits the Probe Req. Signal including the SSID “YYY” to the printer. 10 again.

プリンタ10は、T24の時点、即ち、SSID「YYY」を含むProbe Req.信号を端末機器50から再び受信する時点では、代替SoftAPを起動している。従って、T26において、プリンタ10は、SSID「YYY」を含むProbe Res.信号を端末機器50に送信する。   The printer 10 activates the alternative SoftAP at time T24, that is, when the Probe Req. Signal including the SSID “YYY” is received from the terminal device 50 again. Accordingly, in T26, the printer 10 transmits a Probe Res. Signal including the SSID “YYY” to the terminal device 50.

T32では、端末機器50は、通常APNWを利用して、Disassociation信号を通常AP100に順次送信する。これにより、端末機器50と通常AP100との間の通常AP接続が切断される。本実施例では、端末機器50は、1個の機器との無線接続しか確立することができない。そして、端末機器50は、後述の処理でプリンタ10とのSoftAP接続を確立する必要があるので、T32において、通常AP100との通常AP接続を切断する。   In T32, the terminal device 50 sequentially transmits disassociation signals to the normal AP 100 using the normal APNW. As a result, the normal AP connection between the terminal device 50 and the normal AP 100 is disconnected. In the present embodiment, the terminal device 50 can establish only a wireless connection with one device. Then, since the terminal device 50 needs to establish a SoftAP connection with the printer 10 by a process described later, the normal AP connection with the normal AP 100 is disconnected at T32.

次いで、プリンタ10は、T36において、SSID「YYY」を含むAssociation Req.信号を端末機器50から受信し、T38において、SSID「YYY」を含むAssociation Res.信号を端末機器50に送信する。T40では、プリンタ10は、各種信号(例えば4-way handshake)の通信を端末機器50と実行し、端末機器50とのSoftAP接続を確立する。これにより、プリンタ10は、親局であるプリンタ10と子局である端末機器50との双方が所属している代替SoftAPNWを形成することができる。   Next, the printer 10 receives the Association Req. Signal including the SSID “YYY” from the terminal device 50 at T36, and transmits the Association Res. Signal including the SSID “YYY” to the terminal device 50 at T38. In T40, the printer 10 executes communication of various signals (for example, 4-way handshake) with the terminal device 50, and establishes SoftAP connection with the terminal device 50. Thereby, the printer 10 can form an alternative SoftAPNW to which both the printer 10 as the master station and the terminal device 50 as the slave station belong.

T42では、プリンタ10は、代替SoftAPNWを利用して、端末機器50のメモリ内の通常AP設定情報150を端末機器50から受信する。上述したように、通常AP設定情報150は、通常APNWで現在利用されている情報であり、SSID「ZZZ」、パスワード「CCC」等を含む。   At T <b> 42, the printer 10 receives the normal AP setting information 150 in the memory of the terminal device 50 from the terminal device 50 using the alternative SoftAPNW. As described above, the normal AP setting information 150 is information currently used in the normal APNW, and includes the SSID “ZZZ”, the password “CCC”, and the like.

T44では、プリンタ10は、通常AP設定情報150を設定する。具体的には、プリンタ10は、通常AP設定情報150を通常AP設定領域46に記憶する。   In T44, the printer 10 sets the normal AP setting information 150. Specifically, the printer 10 stores the normal AP setting information 150 in the normal AP setting area 46.

次いで、プリンタ10は、図3のT46において、SSID「ZZZ」を含むProbe Req.信号を通常AP100に送信し、T48において、SSID「ZZZ」を含むProbe Res.信号を通常AP100から受信する。   Next, the printer 10 transmits a Probe Req. Signal including the SSID “ZZZ” to the normal AP 100 at T46 in FIG. 3, and receives a Probe Res. Signal including the SSID “ZZZ” from the normal AP 100 at T48.

T50では、プリンタ10は、各種信号の通信(Association Req./Res.信号、4-way handshake等)を通常AP100と実行して、通常AP100との通常AP接続を確立する。これにより、プリンタ10は、親局である通常AP100によって形成されている通常APNWに子局として参加することができる。そして、プリンタ10は、通常AP100を介して、他の機器との様々な通信を実行することができる。例えば、プリンタ10は、通常AP100を介して、画像を表わす画像ファイルを当該他の機器から受信し、当該画像の印刷を印刷実行部16に実行させることができる。   At T50, the printer 10 executes communication of various signals (Association Req./Res. Signal, 4-way handshake, etc.) with the normal AP 100 to establish a normal AP connection with the normal AP 100. As a result, the printer 10 can participate as a slave station in the normal APNW formed by the normal AP 100 that is the master station. The printer 10 can perform various communications with other devices via the normal AP 100. For example, the printer 10 can receive an image file representing an image from the other device via the normal AP 100 and cause the print execution unit 16 to print the image.

T52では、プリンタ10は、代替SoftAPNWを利用して、設定結果を端末機器50に送信する。本ケースでは、設定結果は、プリンタ10での通常AP設定情報150の設定が成功したこと、即ち、プリンタ10と通常AP100との間の通常AP接続の確立が成功したことを示す。仮に、プリンタ10と通常AP100との間の通常AP接続の確立が成功しない場合には、失敗を示す設定結果がプリンタ10から端末機器50に送信される。   In T <b> 52, the printer 10 transmits the setting result to the terminal device 50 using the alternative SoftAPNW. In this case, the setting result indicates that the setting of the normal AP setting information 150 in the printer 10 is successful, that is, the establishment of the normal AP connection between the printer 10 and the normal AP 100 is successful. If the normal AP connection between the printer 10 and the normal AP 100 is not successfully established, a setting result indicating failure is transmitted from the printer 10 to the terminal device 50.

端末機器50は、代替SoftAPNWを利用して、プリンタ10から設定結果を受信する場合に、T54において、設定結果を表示する。ユーザは、設定結果を見ることによって、プリンタ10での通常AP設定情報150の設定が成功したことを知ることができる。   When the terminal device 50 receives the setting result from the printer 10 using the alternative SoftAPNW, the terminal device 50 displays the setting result in T54. By viewing the setting result, the user can know that the setting of the normal AP setting information 150 in the printer 10 is successful.

次いで、プリンタ10は、T56において、Deauthentication信号を端末機器50に送信し、T60において、Disassociation信号を端末機器50から受信する。これにより、プリンタ10は、端末機器50とのSoftAP接続を切断する。   Next, the printer 10 transmits a Deauthentication signal to the terminal device 50 at T56, and receives a Disassociation signal from the terminal device 50 at T60. As a result, the printer 10 disconnects the SoftAP connection with the terminal device 50.

T64では、プリンタ10は、代替SoftAPを停止する。具体的には、プリンタ10は、親局設定領域44内の代替SoftAP設定情報40を消去する。これにより、プリンタ10は、代替SoftAPNWを消滅させる。プリンタ10の動作状態は、代替SoftAPNWの親局として動作する親局状態から、代替SoftAPNWに所属していない状態に移行する。   At T64, the printer 10 stops the alternative SoftAP. Specifically, the printer 10 deletes the alternative SoftAP setting information 40 in the master station setting area 44. As a result, the printer 10 eliminates the alternative SoftAPNW. The operation state of the printer 10 shifts from a parent station state that operates as a parent station of the alternative SoftAPNW to a state that does not belong to the alternative SoftAPNW.

T66では、端末機器50は、各種信号の通信を実行して、通常AP100との通常AP接続を再び確立して、通常APNWに子局として参加する。これにより、親局である通常AP100と、子局であるプリンタ10と、子局である端末機器50と、が通常APNWに所属している状態になる。従って、プリンタ10は、例えば、通常AP100を介して端末機器50から画像ファイルを受信して、印刷を実行することができる。   In T66, the terminal device 50 executes communication of various signals, reestablishes a normal AP connection with the normal AP 100, and participates in the normal APNW as a slave station. As a result, the normal AP 100, which is the master station, the printer 10, which is the slave station, and the terminal device 50, which is the slave station, belong to the normal APNW. Therefore, for example, the printer 10 can receive an image file from the terminal device 50 via the normal AP 100 and execute printing.

(第1実施例の効果)
プリンタ10は、端末機器50から受信されたProbe Req.信号内のSSID「YYY」がメモリ34内のSSID「YYY」に一致すると判断する場合(T18でYES)に、プリンタ10の動作状態を、代替SoftAPNWに所属していない状態から代替SoftAPNWの親局状態に移行させる(図2のT22)。そして、プリンタ10は、親局であるプリンタ10と子局である端末機器50との双方が所属している代替SoftAPNWを形成する(T36〜T40)。一方、端末機器50から受信されるProbe Req.信号内のSSIDがメモリ34内のSSID「YYY」に一致しないと判断される場合(T18でNO)には、プリンタ10の動作状態は、代替SoftAPNWに所属していない状態に維持される。即ち、プリンタ10は、初回SoftAPを停止する処理、代替SoftAPを起動する処理等を実行せずに済む。この結果、プリンタ10の処理負荷が不必要に高くなるのを抑制することができる。
(Effects of the first embodiment)
When the printer 10 determines that the SSID “YYY” in the Probe Req. Signal received from the terminal device 50 matches the SSID “YYY” in the memory 34 (YES in T18), the operation state of the printer 10 is The state of not belonging to the alternative SoftAPNW is shifted to the parent state of the alternative SoftAPNW (T22 in FIG. 2). Then, the printer 10 forms an alternative SoftAPNW to which both the printer 10 as the master station and the terminal device 50 as the slave station belong (T36 to T40). On the other hand, when it is determined that the SSID in the Probe Req. Signal received from the terminal device 50 does not match the SSID “YYY” in the memory 34 (NO in T18), the operation state of the printer 10 is the alternative SoftAPNW. It is maintained in the state that does not belong to. That is, the printer 10 does not need to execute processing for stopping the initial SoftAP, processing for starting alternative SoftAP, and the like. As a result, it is possible to prevent the processing load of the printer 10 from becoming unnecessarily high.

さらに、プリンタ10は、代替SoftAPNWを形成する場合に、代替SoftAPNWを利用して、通常AP設定情報150を端末機器50から受信し(図2のT42)、通常AP設定情報150を利用して、通常APNWに所属する(図3のT46〜T50)。これにより、プリンタ10は、通常APNWを利用して、通常AP100を介した無線通信を実行することができる。   Further, when forming the alternative SoftAPNW, the printer 10 receives the normal AP setting information 150 from the terminal device 50 using the alternative SoftAPNW (T42 in FIG. 2), and uses the normal AP setting information 150. Usually belongs to APNW (T46 to T50 in FIG. 3). Thus, the printer 10 can execute wireless communication via the normal AP 100 using the normal APNW.

特に、本実施例では、プリンタ10の電源がONされる際に初回SoftAPが起動されるという上記の特定の構成が採用されている。そして、代替SoftAP設定情報40ではなく初回SoftAP設定情報38を設定アプリ200に予め登録しておくという比較例の構成を採用することが考えられる。この場合、端末機器50は、初回SoftAP設定情報38を利用して、プリンタ10が親局として動作する初回SoftAPNWに子局として参加し、その後、初回SoftAPNWを利用して、通常AP設定情報150をプリンタ10に送信することができる。比較例の構成によると、プリンタ10は、初回SoftAPを停止せずに済むし、代替SoftAPを起動せずに済む。しかしながら、上述したように、初回SoftAP設定情報38を利用した初回SoftAPNWでは、セキュリティレベルが比較的低い認証方式及び暗号化方式が利用される。そのために、初回SoftAP設定情報38が利用される初回SoftAPNWでは、セキュリティが確保され難く、初回SoftAPNWに参加する他の機器を介して第3者に情報が漏洩するおそれがある。これに対し、本実施例では、初回SoftAPに代えて、代替SoftAP設定情報40を利用して、代替SoftAPが起動される構成が採用されている。代替SoftAPが利用される代替SoftAPNWでは、セキュリティレベルが比較的高い認証方式及び暗号化方式を含む代替SoftAP設定情報40が利用され得る。即ち、本実施例では、プリンタ10は、初回SoftAPNWよりもセキュリティレベルが高い代替SoftAPNWを利用することができる。   In particular, the present embodiment employs the above-described specific configuration in which the first SoftAP is activated when the printer 10 is turned on. Then, it is conceivable to adopt the configuration of a comparative example in which the initial SoftAP setting information 38 is registered in advance in the setting application 200 instead of the alternative SoftAP setting information 40. In this case, the terminal device 50 uses the initial SoftAP setting information 38 to participate as a slave station in the initial SoftAPNW in which the printer 10 operates as a parent station, and then uses the initial SoftAPNW to update the normal AP setting information 150. It can be sent to the printer 10. According to the configuration of the comparative example, the printer 10 does not need to stop the initial SoftAP and does not need to start the alternative SoftAP. However, as described above, in the initial SoftAPNW using the initial SoftAP setting information 38, an authentication method and an encryption method with a relatively low security level are used. For this reason, in the initial SoftAPNW in which the initial SoftAP setting information 38 is used, it is difficult to ensure security, and there is a possibility that information may be leaked to a third party via other devices participating in the initial SoftAPNW. On the other hand, in this embodiment, a configuration in which the alternative SoftAP is activated using the alternative SoftAP setting information 40 instead of the initial SoftAP is adopted. In the alternative SoftAPNW in which the alternative SoftAP is used, the alternative SoftAP setting information 40 including an authentication method and an encryption method having a relatively high security level can be used. That is, in this embodiment, the printer 10 can use an alternative SoftAPNW having a higher security level than the initial SoftAPNW.

(対応関係)
プリンタ10、端末機器50、通常AP100が、それぞれ、「通信機器」、「外部機器」、「特定のアクセスポイント」の一例である。代替SoftAPNW、初回SoftAPNW、通常APNWが、それぞれ、「第1の無線ネットワーク」、「第2の無線ネットワーク」、「特定の無線ネットワーク」の一例である。SSID「YYY」が、「所定の文字列」、「特定の無線識別子」、及び、「第1の無線識別子」の一例である。通常AP設定情報150、代替SoftAPが、それぞれ、「特定の無線設定情報」、「アクセスポイント機能」の一例である。図2のT16のProbe Req.信号、T24のProbe Req.信号、T26のProbe Res.信号が、それぞれ、「第1の特定の信号」、「第2の特定の信号」、「応答信号」の一例である。代替SoftAPの親局として動作する状態、代替SoftAPの子局として動作する状態、初回SoftAPの親局として動作する状態が、それぞれ、「第1の親局状態」、「子局状態」、「第2の親局状態」の一例である。
(Correspondence)
The printer 10, the terminal device 50, and the normal AP 100 are examples of “communication device”, “external device”, and “specific access point”, respectively. The alternative SoftAPNW, the initial SoftAPNW, and the normal APNW are examples of the “first wireless network”, the “second wireless network”, and the “specific wireless network”, respectively. The SSID “YYY” is an example of “predetermined character string”, “specific wireless identifier”, and “first wireless identifier”. The normal AP setting information 150 and the alternative SoftAP are examples of “specific wireless setting information” and “access point function”, respectively. The Probe Req. Signal of T16, Probe Req. Signal of T24, and Probe Res. Signal of T26 in FIG. 2 are respectively “first specific signal”, “second specific signal”, and “response signal”. It is an example. The state that operates as the parent station of the alternative SoftAP, the state that operates as the child station of the alternative SoftAP, and the state that operates as the parent station of the first SoftAP are respectively “first parent station state”, “slave station state”, “first” This is an example of “2 master station status”.

(第2実施例)
第1実施例と異なる点を中心に説明する。本実施例では、プリンタ10は、代替SoftAPを起動する代わりに、WFD方式のG/O状態に移行する。
(Second embodiment)
A description will be given centering on differences from the first embodiment. In this embodiment, the printer 10 shifts to the WFD G / O state instead of starting the alternative SoftAP.

無線I/F20は、さらに、IEEE802.11のうちのWFD方式をサポートしている。無線I/F20は、第2のMACアドレスを利用して、WFD方式に従ったG/O状態に移行し、他の機器(例えば端末機器50)との無線接続(以下では「WFD接続」と呼ぶ)を確立することができる。なお、端末機器50もWFD方式をサポートしている。従って、端末機器50は、プリンタ10が親局(即ちG/O機器)として動作する無線ネットワーク(以下では「WFDNW(WFD Networkの略)と呼ぶ」)に子局(即ちClient機器(以下では「CL機器」と呼ぶ))として参加することができる。WFD方式の詳細は、Wi-Fi Allianceによって作成された「Wi-Fi Peer-to-Peer(P2P) Technical Specification Version1.1」に記述されている。また、米国特許出願公開第2013/0260683号公報にも、WFD方式の詳細が開示されており、当該文献を参照して引用する。また、本実施例では、代替SoftAP設定情報40は、SSID「YYY」に代えて、SSID「DIRECT-VVV」を含む。   The wireless I / F 20 further supports the WFD method of IEEE802.11. The wireless I / F 20 uses the second MAC address to shift to a G / O state in accordance with the WFD method, and wirelessly connects to other devices (for example, the terminal device 50) (hereinafter referred to as “WFD connection”). Can be established). The terminal device 50 also supports the WFD method. Accordingly, the terminal device 50 is connected to a wireless station (hereinafter referred to as “WFDNW (abbreviation of WFD Network)”) in which the printer 10 operates as a master station (that is, G / O device). You can participate as "CL equipment")). Details of the WFD method are described in “Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.1” created by the Wi-Fi Alliance. Details of the WFD method are also disclosed in US Patent Application Publication No. 2013/0260683, which is cited with reference to this document. In this embodiment, the alternative SoftAP setting information 40 includes SSID “DIRECT-VVV” instead of SSID “YYY”.

プリンタ10のプログラム36は、代替SoftAP設定情報40に代えて、WFD設定情報40を含む。WFD設定情報40は、SSID「DIRECT-VVV」、パスワード「BBB」等を含む。また、端末機器50の設定アプリ200は、代替SoftAP設定情報40に代えて、WFD設定情報40を含む。   The program 36 of the printer 10 includes WFD setting information 40 instead of the alternative SoftAP setting information 40. The WFD setting information 40 includes an SSID “DIRECT-VVV”, a password “BBB”, and the like. The setting application 200 of the terminal device 50 includes WFD setting information 40 instead of the alternative SoftAP setting information 40.

(各デバイス10,50,100等の処理;図4及び図5)
続いて、図4及び図5を参照して、プリンタ10等によって実行される各処理の内容を説明する。図4の初期状態では、端末機器50は、通常APNWに現在所属していない。ただし、端末機器50は、通常APNWに過去に所属していたので、通常AP設定情報150を記憶している。
(Processing of each device 10, 50, 100, etc .; FIGS. 4 and 5)
Next, the contents of each process executed by the printer 10 and the like will be described with reference to FIGS. In the initial state of FIG. 4, the terminal device 50 does not currently belong to the normal APNW. However, since the terminal device 50 has belonged to the normal APNW in the past, the terminal device 50 stores the normal AP setting information 150.

T110〜T114は、それぞれ、図2のT10〜T14と同様である。T116では、プリンタ10は、端末機器50から文字列「DIRECT-」を含むProbe Req.信号を受信する。文字列「DIRECT-」は、端末機器50がWFD方式をサポートしていることを示す文字列である。そして、文字列「DIRECT-」を含むProbe Req.信号は、WFD方式をサポートしている他の機器を検索するための信号である。上述したように、プリンタ10は、WFD方式をサポートしている。従って、T118では、プリンタ10は、文字列「DIRECT-」を含むProbe Res.信号を端末機器50に送信する。   T110 to T114 are the same as T10 to T14 in FIG. At T <b> 116, the printer 10 receives a Probe Req. Signal including the character string “DIRECT-” from the terminal device 50. The character string “DIRECT-” is a character string indicating that the terminal device 50 supports the WFD method. The Probe Req. Signal including the character string “DIRECT-” is a signal for searching for another device that supports the WFD system. As described above, the printer 10 supports the WFD method. Accordingly, at T118, the printer 10 transmits a Probe Res. Signal including the character string “DIRECT-” to the terminal device 50.

T120では、端末機器50は、設定アプリ200内のWFD設定情報40に含まれるSSID「DIRECT-VVV」を読み出し、SSID「DIRECT-VVV」を含むInvitation Req.信号をプリンタ10に送信する。Invitation Req.信号は、WFDNWの形成をプリンタ10に要求するための信号である。   In T120, the terminal device 50 reads the SSID “DIRECT-VVV” included in the WFD setting information 40 in the setting application 200, and transmits an Invitation Req. Signal including the SSID “DIRECT-VVV” to the printer 10. The Invitation Req. Signal is a signal for requesting the printer 10 to form WFDNW.

プリンタ10は、端末機器50からSSID「DIRECT-VVV」を含むInvitation Req.信号を受信する場合に、T122において、Invitation Req.信号内のSSID「DIRECT-VVV」が、メモリ34内のWFD設定情報40に含まれるSSID「DIRECT-VVV」に一致するのか否かを判断する。プリンタ10は、Invitation Req.信号内のSSID「DIRECT-VVV」がメモリ34内のSSID「DIRECT-VVV」に一致する場合(T122でYES)に、T124に進む。   When the printer 10 receives the Invitation Req. Signal including the SSID “DIRECT-VVV” from the terminal device 50, the TSID “DIRECT-VVV” in the Invitation Req. Signal is stored in the WFD setting information in the memory 34 at T 122. It is determined whether or not it matches the SSID “DIRECT-VVV” included in 40. If the SSID “DIRECT-VVV” in the Invitation Req. Signal matches the SSID “DIRECT-VVV” in the memory 34 (YES in T122), the printer 10 proceeds to T124.

一方、例えば、端末機器50がG/O機器として動作してWFDNWを形成している状況を想定する。当該WFDNWでは、SSID「DIRECT-VVV」とは異なるSSIDが利用されている。そして、端末機器50のユーザが、プリンタ10を当該WFDNWに参加させることを望む場合には、そのための操作が端末機器50に実行される。この場合、プリンタ10は、上記の異なるSSIDを含むInvitation Req.信号を受信し得る。このような状況では、プリンタ10は、Invitation Req.信号内のSSIDがメモリ34内のSSID「DIRECT-VVV」に一致しないと判断し(T122でNO)、T124以下の処理を実行せずに、図4の処理を終了する。この場合、プリンタ10の動作状態は、SSID「DIRECT-VVV」によって識別されるWFDNWに所属していない状態に維持される。   On the other hand, for example, a situation is assumed in which the terminal device 50 operates as a G / O device and forms a WFDNW. In the WFDNW, an SSID different from the SSID “DIRECT-VVV” is used. When the user of the terminal device 50 desires the printer 10 to participate in the WFDNW, an operation for that purpose is performed on the terminal device 50. In this case, the printer 10 can receive an Invitation Req. Signal including the different SSID. In such a situation, the printer 10 determines that the SSID in the Invitation Req. Signal does not match the SSID “DIRECT-VVV” in the memory 34 (NO in T122), and does not execute the processing after T124. The process of FIG. 4 is terminated. In this case, the operation state of the printer 10 is maintained in a state not belonging to the WFDNW identified by the SSID “DIRECT-VVV”.

T124では、プリンタ10は、Invitation Res.信号を端末機器50に送信する。T126は、図2のT20と同様である。次いで、T128では、プリンタ10は、プリンタ10の動作状態を、デバイス状態(即ちWFDNWに所属していない状態)からG/O状態に移行させる。具体的には、プリンタ10は、プログラム36内のWFD設定情報40を親局設定領域44に記憶する。これにより、プリンタ10の動作状態は、WFDNWに所属していない状態から、WFDNWの親局として動作する親局状態に移行する。T136〜T140は、SSID「DIRECT-VVV」が利用される点と、SoftAP接続の代わりにWFD接続が確立される点と、を除くと、図2のT36〜T40と同様である。これにより、プリンタ10は、親局(即ちG/O機器)であるプリンタ10と子局(即ちCL機器)である端末機器50との双方が所属しているWFDNWを形成することができる。T142は、SoftAPNWの代わりにWFDNWが利用される点を除くと、図2のT42と同様である。T144は、図2のT44と同様である。   In T <b> 124, the printer 10 transmits an Invitation Res. Signal to the terminal device 50. T126 is the same as T20 in FIG. Next, at T128, the printer 10 shifts the operation state of the printer 10 from the device state (that is, the state not belonging to WFDNW) to the G / O state. Specifically, the printer 10 stores the WFD setting information 40 in the program 36 in the master station setting area 44. As a result, the operation state of the printer 10 shifts from a state not belonging to the WFDNW to a parent station state that operates as a parent station of the WFDNW. T136 to T140 are the same as T36 to T40 in FIG. 2 except that the SSID “DIRECT-VVV” is used and the WFD connection is established instead of the SoftAP connection. As a result, the printer 10 can form a WFDNW to which both the printer 10 that is a master station (that is, a G / O device) and the terminal device 50 that is a slave station (that is, a CL device) belong. T142 is the same as T42 in FIG. 2 except that WFDNW is used instead of SoftAPNW. T144 is the same as T44 of FIG.

図5のT146〜T154は、図3のT46〜T54と同様である。T156〜T160は、SoftAP接続の代わりにWFD接続を切断する点を除くと、図3のT56〜T60と同様である。T162では、端末機器50は、端末機器50の動作状態をCL状態からデバイス状態に移行する。T164では、プリンタ10は、プリンタ10の動作状態をG/O状態からデバイス状態に移行する。これにより、プリンタ10は、WFDNWを消滅させる。   T146 to T154 in FIG. 5 are the same as T46 to T54 in FIG. T156 to T160 are the same as T56 to T60 in FIG. 3 except that the WFD connection is disconnected instead of the SoftAP connection. In T162, the terminal device 50 shifts the operation state of the terminal device 50 from the CL state to the device state. In T164, the printer 10 shifts the operation state of the printer 10 from the G / O state to the device state. As a result, the printer 10 causes WFDNW to disappear.

(第2実施例の効果)
本実施例では、端末機器50から受信されるInvitation Req.信号内のSSIDがメモリ34内のSSID「DIRECT-VVV」に一致しないと判断される場合(図4のT122でNO)には、プリンタ10の動作状態は、WFDNWに所属していない状態に維持される。即ち、プリンタ10は、初回SoftAPを停止する処理、G/O状態に移行する処理等を実行せずに済む。この結果、プリンタ10の処理負荷が不必要に高くなるのを抑制することができる。また、プリンタ10は、図5の各処理が終了した後に端末機器50が通常APNWに再び参加する場合に、通常APNWを利用して、通常AP100を介した無線通信を端末機器50と実行することができる。
(Effect of the second embodiment)
In this embodiment, if it is determined that the SSID in the Invitation Req. Signal received from the terminal device 50 does not match the SSID “DIRECT-VVV” in the memory 34 (NO in T122 of FIG. 4), the printer The operation state of 10 is maintained in a state not belonging to WFDNW. That is, the printer 10 does not need to execute processing for stopping the initial SoftAP, processing for shifting to the G / O state, and the like. As a result, it is possible to prevent the processing load of the printer 10 from becoming unnecessarily high. In addition, when the terminal device 50 rejoins the normal APNW after the processing of FIG. 5 is completed, the printer 10 uses the normal APNW to perform wireless communication with the terminal device 50 using the normal APNW. Can do.

(対応関係)
WFDNWが、「第1の無線ネットワーク」の一例である。SSID「DIRECT-VVV」が、「所定の文字列」、「特定の無線識別子」、及び、「第1の無線識別子」の一例である。図4のT120のInvitation Req.信号が、「第1の特定の信号」の一例である。デバイス状態、G/O状態、CL状態が、それぞれ、「第1の無所属状態」、「第1の親局状態」、「子局状態」の一例である。
(Correspondence)
WFDNW is an example of a “first wireless network”. The SSID “DIRECT-VVV” is an example of “predetermined character string”, “specific wireless identifier”, and “first wireless identifier”. The Invitation Req. Signal at T120 in FIG. 4 is an example of the “first specific signal”. The device state, G / O state, and CL state are examples of “first unaffiliated state”, “first parent station state”, and “slave station state”, respectively.

(第3実施例)
第1実施例と異なる点を中心に説明する。端末機器50は、SoftAP機能をサポートしており、設定アプリ200内の代替SoftAP設定情報40を利用してSoftAPを起動し、プリンタ10とのSoftAP接続を確立し、親局である端末機器50と子局であるプリンタ10との双方が所属している代替SoftAP NWを形成することができる。端末機器50には、通常AP接続を確立するためのMACアドレスと、SoftAP接続を確立するためのMACアドレスと、の双方が割り当てられている。従って、端末機器50は、通常AP接続を利用した無線通信と、SoftAP接続を利用した無線通信と、の双方を同時的に実行し得る。
(Third embodiment)
A description will be given centering on differences from the first embodiment. The terminal device 50 supports the SoftAP function, activates SoftAP using the alternative SoftAP setting information 40 in the setting application 200, establishes a SoftAP connection with the printer 10, and establishes a connection with the terminal device 50 that is the master station. An alternative SoftAP NW can be formed to which both the slave station printer 10 belongs. The terminal device 50 is assigned both a MAC address for establishing a normal AP connection and a MAC address for establishing a SoftAP connection. Accordingly, the terminal device 50 can simultaneously execute both wireless communication using the normal AP connection and wireless communication using the SoftAP connection.

プリンタ10は、代替SoftAPを起動することなく、端末機器50によって形成される代替SoftAPNWに子局として参加することができる。プリンタ10のメモリ34は、子局設定領域48を備える。子局設定領域48は、プリンタ10が代替SoftAPNWの子局として動作する状態で、当該代替SoftAPNWで利用される代替SoftAP設定情報40が記憶される領域である。   The printer 10 can participate as a slave station in the alternative SoftAPNW formed by the terminal device 50 without activating the alternative SoftAP. The memory 34 of the printer 10 includes a slave station setting area 48. The slave station setting area 48 is an area for storing alternative SoftAP setting information 40 used in the alternative SoftAPNW in a state where the printer 10 operates as a slave station of the alternative SoftAPNW.

(各デバイス10,50,100等の処理;図6)
続いて、図6を参照して、プリンタ10等によって実行される各処理の内容を説明する。図6の初期状態は、図2の初期状態と同様である。T210〜T214は、それぞれ、図2のT10〜T14と同様である。
(Processing of each device 10, 50, 100, etc .; FIG. 6)
Next, the contents of each process executed by the printer 10 and the like will be described with reference to FIG. The initial state of FIG. 6 is the same as the initial state of FIG. T210 to T214 are the same as T10 to T14 in FIG.

T216では、端末機器50は、設定アプリ200内の代替SoftAP設定情報40を利用して、代替SoftAPを起動する。次いで、T218では、端末機器50は、設定アプリ200内の代替SoftAP設定情報40に含まれるSSID「YYY」を読み出し、SSID「YYY」を含むBeacon信号をプリンタ10に送信する。Beacon信号は、端末機器50によって形成される代替SoftAPNWに参加すべき機器を検索するための信号である。   In T216, the terminal device 50 uses the alternative SoftAP setting information 40 in the setting application 200 to activate the alternative SoftAP. Next, at T218, the terminal device 50 reads the SSID “YYY” included in the alternative SoftAP setting information 40 in the setting application 200 and transmits a Beacon signal including the SSID “YYY” to the printer 10. The Beacon signal is a signal for searching for a device to participate in the alternative SoftAPNW formed by the terminal device 50.

プリンタ10は、端末機器50からSSID「YYY」を含むBeacon信号を受信する場合に、T220において、Beacon信号内のSSID「YYY」がメモリ34内のSSID「YYY」に一致するのか否かを判断する。プリンタ10は、Beacon信号内のSSID「YYY」がメモリ34内のSSID「YYY」に一致する場合(T220でYES)に、T222に進む。   When receiving the Beacon signal including the SSID “YYY” from the terminal device 50, the printer 10 determines whether or not the SSID “YYY” in the Beacon signal matches the SSID “YYY” in the memory 34 at T220. To do. If the SSID “YYY” in the Beacon signal matches the SSID “YYY” in the memory 34 (YES in T220), the printer 10 proceeds to T222.

一方、例えば、端末機器50が、設定アプリ200内の代替SoftAP設定情報40ではなく、他のアプリケーションプログラム内の他の設定情報を利用して、SoftAPを起動している状況を想定する。この場合、端末機器50は、当該他の設定情報に含まれるSSID(即ち「YYY」とは異なるSSID)を含むBeacon信号を送信する。従って、プリンタ10は、端末機器50から上記の異なるSSID を含むBeacon信号を受信し得る。このような状況では、プリンタ10は、当該Beacon信号内のSSIDがメモリ34内のSSID「YYY」に一致しないと判断し(T220でNO)、T222以下の処理を実行せずに、図6の処理を終了する。この場合、プリンタ10の動作状態は、SSID「YYY」によって識別される代替SoftAPNWに所属していない状態に維持される。   On the other hand, for example, a situation is assumed in which the terminal device 50 is activating SoftAP using other setting information in another application program instead of the alternative SoftAP setting information 40 in the setting application 200. In this case, the terminal device 50 transmits a Beacon signal including an SSID (that is, an SSID different from “YYY”) included in the other setting information. Therefore, the printer 10 can receive the Beacon signal including the different SSID from the terminal device 50. In such a situation, the printer 10 determines that the SSID in the Beacon signal does not match the SSID “YYY” in the memory 34 (NO in T220), and does not execute the processing from T222 onward, as shown in FIG. The process ends. In this case, the operation state of the printer 10 is maintained in a state where it does not belong to the alternative SoftAPNW identified by the SSID “YYY”.

T222は、図2のT20と同様である。なお、変形例では、プリンタ10は、T222を実行せずに、初回SoftAPを起動している状態を維持してもよい。次いで、プリンタ10は、T224において、SSID「YYY」を含むAssociation Req.信号を端末機器50に送信し、T225において、SSID「YYY」を含むAssociation Res.信号を端末機器50から受信する。T226では、プリンタ10は、各種信号(例えば4-way handshake)の通信を端末機器50と実行し、端末機器50とのSoftAP接続を確立する。この際に、プリンタ10は、代替SoftAP設定情報40を子局設定領域48に記憶する。これにより、プリンタ10の動作状態は、代替SoftAPNWに所属していない状態から、代替SoftAPNWの子局として動作する子局状態に移行する。この結果、プリンタ10は、子局であるプリンタ10と親局である端末機器50とが所属している代替SoftAPNWを形成することができる。   T222 is the same as T20 of FIG. In the modification, the printer 10 may maintain the state in which the initial SoftAP is activated without executing T222. Next, the printer 10 transmits an Association Req. Signal including the SSID “YYY” to the terminal device 50 at T224, and receives an Association Res. Signal including the SSID “YYY” from the terminal device 50 at T225. In T226, the printer 10 performs communication of various signals (for example, 4-way handshake) with the terminal device 50, and establishes SoftAP connection with the terminal device 50. At this time, the printer 10 stores the alternative SoftAP setting information 40 in the slave station setting area 48. As a result, the operating state of the printer 10 shifts from a state not belonging to the alternative SoftAPNW to a slave station state that operates as a slave station of the alternative SoftAPNW. As a result, the printer 10 can form an alternative SoftAPNW to which the printer 10 as a slave station and the terminal device 50 as a master station belong.

T228は、図2のT42と同様である。プリンタ10は、T230において、端末機器50からDeauthentication信号を受信し、T234において、Disassociation信号を端末機器50に送信する。T238では、端末機器50は、代替SoftAPを停止する。これにより、端末機器50は、代替SoftAPNWを消滅させる。   T228 is the same as T42 in FIG. The printer 10 receives a Deauthentication signal from the terminal device 50 at T230, and transmits a Disassociation signal to the terminal device 50 at T234. In T238, the terminal device 50 stops the alternative SoftAP. Thereby, the terminal device 50 eliminates the alternative SoftAPNW.

T244〜T250は、それぞれ、図2のT44〜図3のT50と同様である。T248では、プリンタ10は、通常AP設定情報150の設定が成功したことを示す設定結果を表示部14に表示する。   T244 to T250 are the same as T44 of FIG. 2 to T50 of FIG. 3, respectively. In T248, the printer 10 displays a setting result indicating that the setting of the normal AP setting information 150 is successful on the display unit 14.

(第3実施例の効果)
本実施例によると、端末機器50から受信されるBeacon信号内のSSIDがメモリ34内のSSID「YYY」に一致しないと判断される場合(T220でNO)には、プリンタ10の動作状態は、代替SoftAPNWに所属していない状態に維持される。即ち、プリンタ10は、初回SoftAPを停止する処理、T224〜T226のSoftAP接続を確立するための処理等を実行せずに済む。この結果、プリンタ10の処理負荷が不必要に高くなるのを抑制することができる。また、プリンタ10は、通常APNWを利用して、通常AP100を介した無線通信を実行することができる。なお、本実施例では、図6のT218のBeacon信号が、「第1の特定の信号」の一例である。
(Effect of the third embodiment)
According to the present embodiment, when it is determined that the SSID in the Beacon signal received from the terminal device 50 does not match the SSID “YYY” in the memory 34 (NO in T220), the operation state of the printer 10 is It remains in a state not belonging to the alternative SoftAPNW. In other words, the printer 10 does not need to execute processing for stopping the initial SoftAP, processing for establishing a SoftAP connection from T224 to T226, and the like. As a result, it is possible to prevent the processing load of the printer 10 from becoming unnecessarily high. The printer 10 can execute wireless communication via the normal AP 100 using the normal APNW. In this embodiment, the Beacon signal at T218 in FIG. 6 is an example of “first specific signal”.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。   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)上記の第1〜第3実施例において、プリンタ10は、代替SoftAPNW又はWFDNWを利用して、通常AP設定情報150を端末機器50から受信しなくてもよいし、通常AP100との通常AP接続を確立しなくてもよい。この場合、プリンタ10は、代替SoftAPNW又はWFDNWを利用して、画像を表わす画像ファイルを端末機器50から受信し、当該画像の印刷を実行してもよい。即ち、「通信機器」は、「情報受信部」及び「所属部」を備えていなくてもよい。 (Modification 1) In the first to third embodiments described above, the printer 10 may not receive the normal AP setting information 150 from the terminal device 50 using the alternative SoftAPNW or WFDNW. It is not necessary to establish a normal AP connection. In this case, the printer 10 may use an alternative SoftAPNW or WFDNW to receive an image file representing an image from the terminal device 50 and print the image. In other words, the “communication device” may not include the “information receiving unit” and the “affiliation unit”.

(変形例2)上記の第1実施例では、プリンタ10は、代替SoftAPを停止するが(図3のT64)、代替SoftAPが起動されている状態を維持してもよい。この場合、プリンタ10は、代替SoftAPNWを利用して、端末機器50との通信を実行可能な状態を維持することができる。即ち、「通信機器」は、「消滅部」を備えていなくてもよい。 (Modification 2) In the first embodiment described above, the printer 10 stops the alternative SoftAP (T64 in FIG. 3), but may keep the alternative SoftAP activated. In this case, the printer 10 can maintain a state in which communication with the terminal device 50 can be performed using the alternative SoftAPNW. That is, the “communication device” may not include the “disappearance unit”.

(変形例3)上記の第1〜第3実施例において、プリンタ10は、電源が投入される際に初回SoftAPを起動しなくてもよい。即ち、「通信機器」は、「移行部」を備えていなくてもよい。 (Modification 3) In the first to third embodiments, the printer 10 does not have to start the initial SoftAP when the power is turned on. In other words, the “communication device” may not include the “migration unit”.

(変形例4)上記の第3実施例において、図6のT216〜T220に代えて、以下の処理が実行されてもよい。ユーザは、T214で設定アプリ200を起動させた後に、さらに、プリンタ10に所定の操作を実行する。この場合、プリンタ10は、SSIDを含まないProbe Req.信号を端末機器50に送信する。端末機器50は、プリンタ10からSSIDを含まないProbe Req.信号を受信する場合に、代替SoftAPを起動する。そして、プリンタ10は、SSIDを含まないProbe Req.信号を端末機器50に再び送信し、SSID「YYY」を含むProbe Res.信号を端末機器50から受信する。プリンタ10は、Probe Res.信号内のSSIDがメモリ34内のSSID「YYY」に一致するのか否かを判断する。プリンタ10は、Probe Res.信号内のSSIDがメモリ34内のSSID「YYY」に一致する場合に、T222に進む。本変形例では、Probe Res.信号が、「第1の特定の信号」の一例である。 (Modification 4) In the third embodiment, the following processing may be executed instead of T216 to T220 in FIG. After starting the setting application 200 in T214, the user further executes a predetermined operation on the printer 10. In this case, the printer 10 transmits a Probe Req. Signal not including the SSID to the terminal device 50. When the terminal device 50 receives a Probe Req. Signal not including an SSID from the printer 10, the terminal device 50 activates an alternative SoftAP. Then, the printer 10 transmits the Probe Req. Signal not including the SSID to the terminal device 50 again, and receives the Probe Res. Signal including the SSID “YYY” from the terminal device 50. The printer 10 determines whether or not the SSID in the Probe Res. Signal matches the SSID “YYY” in the memory 34. If the SSID in the Probe Res. Signal matches the SSID “YYY” in the memory 34, the printer 10 proceeds to T222. In the present modification, the Probe Res. Signal is an example of a “first specific signal”.

(変形例5)上記の第2実施例において、図4のT120では、プリンタ10は、Invitation Req.信号に代えて、SSID「DIRECT-VVV」を含むG/O Negotiation Req.信号を端末機器50から受信してもよい。T122では、プリンタ10は、G/O Negotiation Req.信号内のSSIDがメモリ34内のSSID「DIRECT-VVV」に一致するのか否かを判断してもよい。プリンタ10は、G/O Negotiation Req.信号内のSSIDがメモリ34内のSSID「DIRECT-VVV」に一致する場合(T122でYES)に、T124において、Invitation Res.信号に代えて、G/O Negotiation Res.信号を端末機器50に送信する。T128では、プリンタ10は、G/O Negotiationの結果として、G/O状態に移行してもよいし、CL状態に移行してもよい。本変形例では、G/O Negotiation Req.信号が「第1の特定の信号」の一例である。 (Modification 5) In the second embodiment described above, at T120 in FIG. 4, the printer 10 uses the G / O Negotiation Req. Signal including the SSID “DIRECT-VVV” instead of the Invitation Req. You may receive from. At T122, the printer 10 may determine whether the SSID in the G / O Negotiation Req. Signal matches the SSID “DIRECT-VVV” in the memory 34. When the SSID in the G / O Negotiation Req. Signal matches the SSID “DIRECT-VVV” in the memory 34 (YES in T122), the printer 10 replaces the Invitation Res. Signal in T124 with the G / O Negotiation Req. A Negotiation Res. Signal is transmitted to the terminal device 50. In T128, the printer 10 may shift to the G / O state or the CL state as a result of G / O Negotiation. In this modification, the G / O Negotiation Req. Signal is an example of a “first specific signal”.

(変形例6)「通信機器」は、プリンタに限られず、例えば、スキャナ、PC等であってもよい。即ち、「通信機器」は、他の機器と通信可能なあらゆる機器を含む。 (Modification 6) The “communication device” is not limited to a printer, and may be a scanner, a PC, or the like. That is, the “communication device” includes any device that can communicate with other devices.

(変形例7)上記の各実施例では、プリンタ10のCPU32がプログラム(即ちソフトウェア)を実行することによって、図2〜図6の各処理が実現される。これに代えて、これらの各処理のうちの少なくとも1つの処理は、論理回路等のハードウェアによって実現されてもよい。 (Modification 7) In each of the embodiments described above, the CPU 32 of the printer 10 executes a program (that is, software), thereby realizing the processes shown in FIGS. Instead, at least one of these processes 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:通信システム、10:プリンタ、12:操作部、14:表示部、16:印刷実行部、20:無線インターフェース、30:制御部、32:CPU、34:メモリ、36:プログラム、38:初回SoftAP設定情報、40:代替SoftAP設定情報(WFD設定情報)、44:親局設定領域、46:通常AP設定領域、48:子局設定領域、50〜70:端末機器、100:通常アクセスポイント、150:通常AP設定情報、200:設定アプリ   2: communication system, 10: printer, 12: operation unit, 14: display unit, 16: print execution unit, 20: wireless interface, 30: control unit, 32: CPU, 34: memory, 36: program, 38: first time SoftAP setting information, 40: alternative SoftAP setting information (WFD setting information), 44: master station setting area, 46: normal AP setting area, 48: slave station setting area, 50 to 70: terminal device, 100: normal access point, 150: Normal AP setting information, 200: Setting application

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。
以下は、出願時の特許請求の範囲に対応する記載である。
(項目1)
通信機器であって、
所定文字列を記憶するメモリと、
特定の無線識別子を含む第1の特定の信号を外部機器から受信する信号受信部と、
前記第1の特定の信号内の前記特定の無線識別子が、前記メモリ内の前記所定文字列を含む第1の無線識別子であるのか否かを判断する判断部であって、前記第1の無線識別子は、第1の無線ネットワークを識別するための無線識別子である、前記判断部と、
前記特定の無線識別子が前記第1の無線識別子であると判断される場合に、前記通信機器の動作状態を、前記第1の無線ネットワークに所属していない第1の無所属状態から、前記第1の無線ネットワークの親局として動作する第1の親局状態に移行させて、前記親局である前記通信機器と子局である前記外部機器との双方が所属している前記第1の無線ネットワークを形成する形成部であって、前記特定の無線識別子が前記第1の無線識別子でないと判断される場合に、前記通信機器の前記動作状態は、前記第1の無所属状態に維持される、前記形成部と、
を備える通信機器。
(項目2)
前記通信機器は、さらに、
前記第1の無線ネットワークが形成される場合に、前記第1の無線ネットワークを利用して、前記外部機器から特定の無線設定情報を受信する情報受信部であって、前記特定の無線設定情報は、特定のアクセスポイントによって形成されている特定の無線ネットワークで現在利用されている無線設定情報であり、前記外部機器は、前記特定の無線ネットワークに現在所属していること、及び、前記特定の無線ネットワークに過去に所属していたこと、のうちのいずれかの条件を満たす、前記情報受信部と、
前記外部機器から前記特定の無線設定情報が受信される場合に、前記特定の無線設定情報を利用して、前記特定の無線ネットワークに所属する所属部と、
を備える、項目1に記載の通信機器。
(項目3)
前記形成部は、
前記第1の特定の信号が受信されることに応じて、前記通信機器の前記動作状態を前記第1の無所属状態から前記第1の親局状態に移行させて、応答信号を前記外部機器に送信せず、
前記第1の特定の信号が受信された後に、第2の特定の信号が前記外部機器から受信されることに応じて、応答信号を前記外部機器に送信する、項目1又は2に記載の通信機器。
(項目4)
前記第1の特定の信号は、Probe Request信号であり、
前記形成部は、前記通信機器が前記第1の無線ネットワークのアクセスポイントとして動作するための機能であるアクセスポイント機能が起動されていない状態から、前記アクセスポイント機能が起動されている状態に移行させることによって、前記通信機器の前記動作状態を前記第1の無所属状態から前記第1の親局状態に移行させる、項目1から3のいずれか一項に記載の通信機器。
(項目5)
前記第1の特定の信号は、Wi-Fi Direct(登録商標)方式に従ったInvitation Request信号であり、
前記形成部は、前記Wi-Fi Direct方式に従ったデバイス状態からGroup Owner状態に移行させることによって、前記通信機器の前記動作状態を前記第1の無所属状態から前記第1の親局状態に移行させる、項目1から3のいずれか一項に記載の通信機器。
(項目6)
通信機器であって、
所定文字列を記憶するメモリと、
特定の無線識別子を含む第1の特定の信号を外部機器から受信する信号受信部と、
前記第1の特定の信号内の前記特定の無線識別子が、前記メモリ内の前記所定文字列を含む第1の無線識別子であるのか否かを判断する判断部であって、前記第1の無線識別子は、第1の無線ネットワークを識別するための無線識別子である、前記判断部と、
前記特定の無線識別子が前記第1の無線識別子であると判断される場合に、前記通信機器の動作状態を、前記第1の無線ネットワークに所属していない第1の無所属状態から、前記第1の無線ネットワークの親局として動作する第1の親局状態、又は、前記第1の無線ネットワークの子局として動作する子局状態に移行させて、前記親局又は前記子局である前記通信機器と前記子局又は前記親局である前記外部機器との双方が所属している前記第1の無線ネットワークを形成する形成部であって、前記特定の無線識別子が前記第1の無線識別子でないと判断される場合に、前記通信機器の前記動作状態は、前記第1の無所属状態に維持される、前記形成部と、
前記第1の無線ネットワークが形成される場合に、前記第1の無線ネットワークを利用して、特定の無線設定情報を前記外部機器から受信する情報受信部であって、前記特定の無線設定情報は、特定のアクセスポイントによって形成されている特定の無線ネットワークで現在利用されている無線設定情報であり、前記外部機器は、前記特定の無線ネットワークに現在所属していること、及び、前記特定の無線ネットワークに過去に所属していたこと、のうちのいずれかの条件を満たす、前記情報受信部と、
前記外部機器から前記特定の無線設定情報が受信される場合に、前記特定の無線設定情報を利用して、前記特定の無線ネットワークに所属する所属部と、
を備える通信機器。
(項目7)
前記形成部は、前記特定の無線識別子が前記第1の無線識別子であると判断される場合に、前記通信機器の前記動作状態を前記第1の無所属状態から前記子局状態に移行させて、前記子局である前記通信機器と前記親局である前記外部機器との双方が所属している前記第1の無線ネットワークを形成する、項目6に記載の通信機器。
(項目8)
前記第1の特定の信号は、前記第1の無線ネットワークのアクセスポイントとして動作するための機能であるアクセスポイント機能を起動している前記外部機器から送信されるBeacon信号である、項目7に記載の通信機器。
(項目9)
前記通信機器は、さらに、
前記特定の無線設定情報が前記外部機器から受信される場合に、前記第1の無線ネットワークを消滅させる消滅部を備える、項目2、6〜8のいずれか一項に記載の通信機器。
(項目10)
前記通信機器は、さらに、
前記通信機器の電源が投入される際に、前記通信機器の前記動作状態を、予め決められた第2の無線識別子によって識別される第2の無線ネットワークに所属していない第2の無所属状態から、前記第2の無線ネットワークの親局として動作する第2の親局状態に移行させる移行部を備え、
前記信号受信部は、前記通信機器の前記動作状態が前記第2の親局状態である間に、前記第1の特定の信号を前記外部機器から受信し、
前記移行部は、さらに、前記特定の無線識別子が前記第1の無線識別子であると判断される場合に、前記通信機器の前記動作状態を前記第2の親局状態から前記第2の無所属状態に移行させる、項目1から9のいずれか一項に記載の通信機器。
(項目11)
通信機器のためのコンピュータプログラムであって、
前記通信機器に搭載されるコンピュータに、以下の各処理、即ち、
特定の無線識別子を含む第1の特定の信号を外部機器から受信する信号受信処理と、
前記第1の特定の信号内の前記特定の無線識別子が、前記通信機器のメモリ内の所定文字列を含む第1の無線識別子であるのか否かを判断する判断処理であって、前記第1の無線識別子は、第1の無線ネットワークを識別するための無線識別子である、前記判断処理と、
前記特定の無線識別子が前記第1の無線識別子であると判断される場合に、前記通信機器の動作状態を、前記第1の無線ネットワークに所属していない第1の無所属状態から、前記第1の無線ネットワークの親局として動作する第1の親局状態に移行させて、前記親局である前記通信機器と子局である前記外部機器との双方が所属している前記第1の無線ネットワークを形成する形成処理であって、前記特定の無線識別子が前記第1の無線識別子でないと判断される場合に、前記通信機器の前記動作状態は、前記第1の無所属状態に維持される、前記形成処理と、
を実行させるコンピュータプログラム。
(項目12)
通信機器のためのコンピュータプログラムであって、
前記通信機器に搭載されるコンピュータに、以下の各処理、即ち、
特定の無線識別子を含む第1の特定の信号を外部機器から受信する信号受信処理と、
前記第1の特定の信号内の前記特定の無線識別子が、前記通信機器のメモリ内の所定文字列を含む第1の無線識別子であるのか否かを判断する判断処理であって、前記第1の無線識別子は、第1の無線ネットワークを識別するための無線識別子である、前記判断処理と、
前記特定の無線識別子が前記第1の無線識別子であると判断される場合に、前記通信機器の動作状態を、前記第1の無線ネットワークに所属していない第1の無所属状態から、前記第1の無線ネットワークの親局として動作する第1の親局状態、又は、前記第1の無線ネットワークの子局として動作する子局状態に移行させて、前記親局又は前記子局である前記通信機器と前記子局又は前記親局である前記外部機器との双方が所属している前記第1の無線ネットワークを形成する形成処理であって、前記特定の無線識別子が前記第1の無線識別子でないと判断される場合に、前記通信機器の前記動作状態は、前記第1の無所属状態に維持される、前記形成処理と、
前記第1の無線ネットワークが形成される場合に、前記第1の無線ネットワークを利用して、特定の無線設定情報を前記外部機器から受信する情報受信処理であって、前記特定の無線設定情報は、特定のアクセスポイントによって形成されている特定の無線ネットワークで現在利用されている無線設定情報であり、前記外部機器は、前記特定の無線ネットワークに現在所属していること、及び、前記特定の無線ネットワークに過去に所属していたこと、のうちのいずれかの条件を満たす、前記情報受信処理と、
前記外部機器から前記特定の無線設定情報が受信される場合に、前記特定の無線設定情報を利用して、前記特定の無線ネットワークに所属する所属処理と、
を実行させるコンピュータプログラム。
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.
The following is a description corresponding to the claims at the time of filing.
(Item 1)
Communication equipment,
A memory for storing a predetermined character string;
A signal receiving unit that receives a first specific signal including a specific wireless identifier from an external device;
A determination unit configured to determine whether or not the specific wireless identifier in the first specific signal is a first wireless identifier including the predetermined character string in the memory; The identifier is a wireless identifier for identifying the first wireless network, and the determination unit;
When it is determined that the specific wireless identifier is the first wireless identifier, the operation state of the communication device is changed from a first unaffiliated state not belonging to the first wireless network to the first The first wireless network to which both the communication device as the parent station and the external device as the slave station belong is moved to the first parent station state that operates as a parent station of the wireless network The operating state of the communication device is maintained in the first unaffiliated state when it is determined that the specific wireless identifier is not the first wireless identifier, Forming part;
A communication device comprising:
(Item 2)
The communication device further includes:
An information receiving unit that receives specific wireless setting information from the external device using the first wireless network when the first wireless network is formed, and the specific wireless setting information is Wireless setting information currently used in a specific wireless network formed by a specific access point, the external device currently belonging to the specific wireless network, and the specific wireless The information receiving unit that satisfies any of the conditions of belonging to the network in the past;
When the specific wireless setting information is received from the external device, using the specific wireless setting information, an belonging unit belonging to the specific wireless network;
The communication device according to Item 1, comprising:
(Item 3)
The forming part is
In response to receiving the first specific signal, the operation state of the communication device is shifted from the first unaffiliated state to the first master station state, and a response signal is sent to the external device. Do not send,
Item 3. The communication according to item 1 or 2, wherein after the first specific signal is received, a response signal is transmitted to the external device in response to the second specific signal being received from the external device. machine.
(Item 4)
The first specific signal is a Probe Request signal;
The forming unit shifts from a state where an access point function, which is a function for the communication device to operate as an access point of the first wireless network, is not activated to a state where the access point function is activated. Accordingly, the communication device according to any one of Items 1 to 3, wherein the operation state of the communication device is shifted from the first unaffiliated state to the first master station state.
(Item 5)
The first specific signal is an Invitation Request signal according to a Wi-Fi Direct (registered trademark) system,
The forming unit shifts the operation state of the communication device from the first unaffiliated state to the first master station state by shifting from the device state according to the Wi-Fi Direct method to the Group Owner state. The communication device according to any one of items 1 to 3, wherein:
(Item 6)
Communication equipment,
A memory for storing a predetermined character string;
A signal receiving unit that receives a first specific signal including a specific wireless identifier from an external device;
A determination unit configured to determine whether or not the specific wireless identifier in the first specific signal is a first wireless identifier including the predetermined character string in the memory; The identifier is a wireless identifier for identifying the first wireless network, and the determination unit;
When it is determined that the specific wireless identifier is the first wireless identifier, the operation state of the communication device is changed from a first unaffiliated state not belonging to the first wireless network to the first The communication device that is the master station or the slave station by shifting to a first master station state that operates as a master station of the first wireless network or a slave station state that operates as a slave station of the first wireless network And the slave station or the external device that is the master station is a forming unit that forms the first wireless network, and the specific wireless identifier is not the first wireless identifier When determined, the operation state of the communication device is maintained in the first unaffiliated state, the forming unit,
When the first wireless network is formed, the information receiving unit receives specific wireless setting information from the external device using the first wireless network, and the specific wireless setting information is Wireless setting information currently used in a specific wireless network formed by a specific access point, the external device currently belonging to the specific wireless network, and the specific wireless The information receiving unit that satisfies any of the conditions of belonging to the network in the past;
When the specific wireless setting information is received from the external device, using the specific wireless setting information, an belonging unit belonging to the specific wireless network;
A communication device comprising:
(Item 7)
When the forming unit determines that the specific wireless identifier is the first wireless identifier, the forming unit shifts the operation state of the communication device from the first unaffiliated state to the slave station state, Item 7. The communication device according to Item 6, which forms the first wireless network to which both the communication device that is the slave station and the external device that is the master station belong.
(Item 8)
The first specific signal is a Beacon signal transmitted from the external device that has activated an access point function that is a function for operating as an access point of the first wireless network. Communication equipment.
(Item 9)
The communication device further includes:
Item 9. The communication device according to any one of Items 2, 6 to 8, further comprising an annihilation unit that annihilates the first wireless network when the specific wireless setting information is received from the external device.
(Item 10)
The communication device further includes:
When the communication device is powered on, the operation state of the communication device is changed from a second unaffiliated state that does not belong to the second wireless network identified by a predetermined second wireless identifier. A transition unit for transitioning to a second master station state that operates as a master station of the second wireless network,
The signal receiving unit receives the first specific signal from the external device while the operation state of the communication device is the second master station state,
The transition unit further changes the operation state of the communication device from the second master station state to the second unaffiliated state when it is determined that the specific wireless identifier is the first wireless identifier. 10. The communication device according to any one of items 1 to 9, which is shifted to
(Item 11)
A computer program for a communication device,
In the computer mounted on the communication device, each of the following processes:
A signal reception process for receiving a first specific signal including a specific wireless identifier from an external device;
A determination process for determining whether or not the specific wireless identifier in the first specific signal is a first wireless identifier including a predetermined character string in a memory of the communication device; The determination process is a wireless identifier for identifying the first wireless network,
When it is determined that the specific wireless identifier is the first wireless identifier, the operation state of the communication device is changed from a first unaffiliated state not belonging to the first wireless network to the first The first wireless network to which both the communication device as the parent station and the external device as the slave station belong is moved to the first parent station state that operates as a parent station of the wireless network The operation state of the communication device is maintained in the first unaffiliated state when it is determined that the specific wireless identifier is not the first wireless identifier. Forming process;
A computer program that executes
(Item 12)
A computer program for a communication device,
In the computer mounted on the communication device, each of the following processes:
A signal reception process for receiving a first specific signal including a specific wireless identifier from an external device;
A determination process for determining whether or not the specific wireless identifier in the first specific signal is a first wireless identifier including a predetermined character string in a memory of the communication device; The determination process is a wireless identifier for identifying the first wireless network,
When it is determined that the specific wireless identifier is the first wireless identifier, the operation state of the communication device is changed from a first unaffiliated state not belonging to the first wireless network to the first The communication device that is the master station or the slave station by shifting to a first master station state that operates as a master station of the first wireless network or a slave station state that operates as a slave station of the first wireless network And the slave station or the external device that is the master station to form the first wireless network, and the specific wireless identifier is not the first wireless identifier If determined, the operation state of the communication device is maintained in the first unaffiliated state, the formation process;
When the first wireless network is formed, information receiving processing for receiving specific wireless setting information from the external device using the first wireless network, wherein the specific wireless setting information is Wireless setting information currently used in a specific wireless network formed by a specific access point, the external device currently belonging to the specific wireless network, and the specific wireless The information receiving process that satisfies any of the conditions of belonging to the network in the past;
When the specific wireless setting information is received from the external device, using the specific wireless setting information, affiliation processing belonging to the specific wireless network,
A computer program that executes

Claims (12)

通信機器であって、
所定文字列を記憶するメモリと、
特定の無線識別子を含む第1の特定の信号を外部機器から受信する信号受信部と、
前記第1の特定の信号内の前記特定の無線識別子が、前記メモリ内の前記所定文字列を含む第1の無線識別子であるのか否かを判断する判断部であって、前記第1の無線識別子は、第1の無線ネットワークを識別するための無線識別子である、前記判断部と、
前記特定の無線識別子が前記第1の無線識別子であると判断される場合に、前記通信機器の動作状態を、前記第1の無線ネットワークに所属していない第1の無所属状態から、前記第1の無線ネットワークの親局として動作する第1の親局状態に移行させて、前記親局である前記通信機器と子局である前記外部機器との双方が所属している前記第1の無線ネットワークを形成する形成部であって、前記特定の無線識別子が前記第1の無線識別子でないと判断される場合に、前記通信機器の前記動作状態は、前記第1の無所属状態に維持される、前記形成部と、
を備える通信機器。
Communication equipment,
A memory for storing a predetermined character string;
A signal receiving unit that receives a first specific signal including a specific wireless identifier from an external device;
A determination unit configured to determine whether or not the specific wireless identifier in the first specific signal is a first wireless identifier including the predetermined character string in the memory; The identifier is a wireless identifier for identifying the first wireless network, and the determination unit;
When it is determined that the specific wireless identifier is the first wireless identifier, the operation state of the communication device is changed from a first unaffiliated state not belonging to the first wireless network to the first The first wireless network to which both the communication device as the parent station and the external device as the slave station belong is moved to the first parent station state that operates as a parent station of the wireless network The operating state of the communication device is maintained in the first unaffiliated state when it is determined that the specific wireless identifier is not the first wireless identifier, Forming part;
A communication device comprising:
前記通信機器は、さらに、
前記第1の無線ネットワークが形成される場合に、前記第1の無線ネットワークを利用して、前記外部機器から特定の無線設定情報を受信する情報受信部であって、前記特定の無線設定情報は、特定のアクセスポイントによって形成されている特定の無線ネットワークで現在利用されている無線設定情報であり、前記外部機器は、前記特定の無線ネットワークに現在所属していること、及び、前記特定の無線ネットワークに過去に所属していたこと、のうちのいずれかの条件を満たす、前記情報受信部と、
前記外部機器から前記特定の無線設定情報が受信される場合に、前記特定の無線設定情報を利用して、前記特定の無線ネットワークに所属する所属部と、
を備える、請求項1に記載の通信機器。
The communication device further includes:
An information receiving unit that receives specific wireless setting information from the external device using the first wireless network when the first wireless network is formed, and the specific wireless setting information is Wireless setting information currently used in a specific wireless network formed by a specific access point, the external device currently belonging to the specific wireless network, and the specific wireless The information receiving unit that satisfies any of the conditions of belonging to the network in the past;
When the specific wireless setting information is received from the external device, using the specific wireless setting information, an belonging unit belonging to the specific wireless network;
The communication device according to claim 1, comprising:
前記形成部は、
前記第1の特定の信号が受信されることに応じて、前記通信機器の前記動作状態を前記第1の無所属状態から前記第1の親局状態に移行させて、応答信号を前記外部機器に送信せず、
前記第1の特定の信号が受信された後に、第2の特定の信号が前記外部機器から受信されることに応じて、応答信号を前記外部機器に送信する、請求項1又は2に記載の通信機器。
The forming part is
In response to receiving the first specific signal, the operation state of the communication device is shifted from the first unaffiliated state to the first master station state, and a response signal is sent to the external device. Do not send
3. The response signal according to claim 1, wherein after the first specific signal is received, a response signal is transmitted to the external device in response to a second specific signal being received from the external device. Communication equipment.
前記第1の特定の信号は、Probe Request信号であり、
前記形成部は、前記通信機器が前記第1の無線ネットワークのアクセスポイントとして動作するための機能であるアクセスポイント機能が起動されていない状態から、前記アクセスポイント機能が起動されている状態に移行させることによって、前記通信機器の前記動作状態を前記第1の無所属状態から前記第1の親局状態に移行させる、請求項1から3のいずれか一項に記載の通信機器。
The first specific signal is a Probe Request signal;
The forming unit shifts from a state where an access point function, which is a function for the communication device to operate as an access point of the first wireless network, is not activated to a state where the access point function is activated. Accordingly, the communication device according to any one of claims 1 to 3, wherein the operation state of the communication device is shifted from the first unaffiliated state to the first master station state.
前記第1の特定の信号は、Wi-Fi Direct(登録商標)方式に従ったInvitation Request信号であり、
前記形成部は、前記Wi-Fi Direct方式に従ったデバイス状態からGroup Owner状態に移行させることによって、前記通信機器の前記動作状態を前記第1の無所属状態から前記第1の親局状態に移行させる、請求項1から3のいずれか一項に記載の通信機器。
The first specific signal is an Invitation Request signal according to a Wi-Fi Direct (registered trademark) system,
The forming unit shifts the operation state of the communication device from the first unaffiliated state to the first master station state by shifting from the device state according to the Wi-Fi Direct method to the Group Owner state. The communication device according to any one of claims 1 to 3, wherein
通信機器であって、
所定文字列を記憶するメモリと、
特定の無線識別子を含む第1の特定の信号を外部機器から受信する信号受信部と、
前記第1の特定の信号内の前記特定の無線識別子が、前記メモリ内の前記所定文字列を含む第1の無線識別子であるのか否かを判断する判断部であって、前記第1の無線識別子は、第1の無線ネットワークを識別するための無線識別子である、前記判断部と、
前記特定の無線識別子が前記第1の無線識別子であると判断される場合に、前記通信機器の動作状態を、前記第1の無線ネットワークに所属していない第1の無所属状態から、前記第1の無線ネットワークの親局として動作する第1の親局状態、又は、前記第1の無線ネットワークの子局として動作する子局状態に移行させて、前記親局又は前記子局である前記通信機器と前記子局又は前記親局である前記外部機器との双方が所属している前記第1の無線ネットワークを形成する形成部であって、前記特定の無線識別子が前記第1の無線識別子でないと判断される場合に、前記通信機器の前記動作状態は、前記第1の無所属状態に維持される、前記形成部と、
前記第1の無線ネットワークが形成される場合に、前記第1の無線ネットワークを利用して、特定の無線設定情報を前記外部機器から受信する情報受信部であって、前記特定の無線設定情報は、特定のアクセスポイントによって形成されている特定の無線ネットワークで現在利用されている無線設定情報であり、前記外部機器は、前記特定の無線ネットワークに現在所属していること、及び、前記特定の無線ネットワークに過去に所属していたこと、のうちのいずれかの条件を満たす、前記情報受信部と、
前記外部機器から前記特定の無線設定情報が受信される場合に、前記特定の無線設定情報を利用して、前記特定の無線ネットワークに所属する所属部と、
を備える通信機器。
Communication equipment,
A memory for storing a predetermined character string;
A signal receiving unit that receives a first specific signal including a specific wireless identifier from an external device;
A determination unit configured to determine whether or not the specific wireless identifier in the first specific signal is a first wireless identifier including the predetermined character string in the memory; The identifier is a wireless identifier for identifying the first wireless network, and the determination unit;
When it is determined that the specific wireless identifier is the first wireless identifier, the operation state of the communication device is changed from a first unaffiliated state not belonging to the first wireless network to the first The communication device that is the master station or the slave station by shifting to a first master station state that operates as a master station of the first wireless network or a slave station state that operates as a slave station of the first wireless network And the slave station or the external device that is the master station is a forming unit that forms the first wireless network, and the specific wireless identifier is not the first wireless identifier When determined, the operation state of the communication device is maintained in the first unaffiliated state, the forming unit,
When the first wireless network is formed, the information receiving unit receives specific wireless setting information from the external device using the first wireless network, and the specific wireless setting information is Wireless setting information currently used in a specific wireless network formed by a specific access point, the external device currently belonging to the specific wireless network, and the specific wireless The information receiving unit that satisfies any of the conditions of belonging to the network in the past;
When the specific wireless setting information is received from the external device, using the specific wireless setting information, an belonging unit belonging to the specific wireless network;
A communication device comprising:
前記形成部は、前記特定の無線識別子が前記第1の無線識別子であると判断される場合に、前記通信機器の前記動作状態を前記第1の無所属状態から前記子局状態に移行させて、前記子局である前記通信機器と前記親局である前記外部機器との双方が所属している前記第1の無線ネットワークを形成する、請求項6に記載の通信機器。   When the forming unit determines that the specific wireless identifier is the first wireless identifier, the forming unit shifts the operation state of the communication device from the first unaffiliated state to the slave station state, The communication device according to claim 6, wherein the first wireless network to which both the communication device as the slave station and the external device as the parent station belong is formed. 前記第1の特定の信号は、前記第1の無線ネットワークのアクセスポイントとして動作するための機能であるアクセスポイント機能を起動している前記外部機器から送信されるBeacon信号である、請求項7に記載の通信機器。   The first specific signal is a Beacon signal transmitted from the external device that activates an access point function that is a function for operating as an access point of the first wireless network. The communication device described. 前記通信機器は、さらに、
前記特定の無線設定情報が前記外部機器から受信される場合に、前記第1の無線ネットワークを消滅させる消滅部を備える、請求項2、6〜8のいずれか一項に記載の通信機器。
The communication device further includes:
The communication device according to any one of claims 2 and 6 to 8, further comprising: an erasure unit that annihilates the first wireless network when the specific wireless setting information is received from the external device.
前記通信機器は、さらに、
前記通信機器の電源が投入される際に、前記通信機器の前記動作状態を、予め決められた第2の無線識別子によって識別される第2の無線ネットワークに所属していない第2の無所属状態から、前記第2の無線ネットワークの親局として動作する第2の親局状態に移行させる移行部を備え、
前記信号受信部は、前記通信機器の前記動作状態が前記第2の親局状態である間に、前記第1の特定の信号を前記外部機器から受信し、
前記移行部は、さらに、前記特定の無線識別子が前記第1の無線識別子であると判断される場合に、前記通信機器の前記動作状態を前記第2の親局状態から前記第2の無所属状態に移行させる、請求項1から9のいずれか一項に記載の通信機器。
The communication device further includes:
When the communication device is powered on, the operation state of the communication device is changed from a second unaffiliated state that does not belong to the second wireless network identified by a predetermined second wireless identifier. A transition unit for transitioning to a second master station state that operates as a master station of the second wireless network,
The signal receiving unit receives the first specific signal from the external device while the operation state of the communication device is the second master station state,
The transition unit further changes the operation state of the communication device from the second master station state to the second unaffiliated state when it is determined that the specific wireless identifier is the first wireless identifier. The communication device according to any one of claims 1 to 9, wherein the communication device is shifted to.
通信機器のためのコンピュータプログラムであって、
前記通信機器に搭載されるコンピュータに、以下の各処理、即ち、
特定の無線識別子を含む第1の特定の信号を外部機器から受信する信号受信処理と、
前記第1の特定の信号内の前記特定の無線識別子が、前記通信機器のメモリ内の所定文字列を含む第1の無線識別子であるのか否かを判断する判断処理であって、前記第1の無線識別子は、第1の無線ネットワークを識別するための無線識別子である、前記判断処理と、
前記特定の無線識別子が前記第1の無線識別子であると判断される場合に、前記通信機器の動作状態を、前記第1の無線ネットワークに所属していない第1の無所属状態から、前記第1の無線ネットワークの親局として動作する第1の親局状態に移行させて、前記親局である前記通信機器と子局である前記外部機器との双方が所属している前記第1の無線ネットワークを形成する形成処理であって、前記特定の無線識別子が前記第1の無線識別子でないと判断される場合に、前記通信機器の前記動作状態は、前記第1の無所属状態に維持される、前記形成処理と、
を実行させるコンピュータプログラム。
A computer program for a communication device,
In the computer mounted on the communication device, the following processes, that is,
A signal reception process for receiving a first specific signal including a specific wireless identifier from an external device;
A determination process for determining whether or not the specific wireless identifier in the first specific signal is a first wireless identifier including a predetermined character string in a memory of the communication device; The determination process is a wireless identifier for identifying the first wireless network,
When it is determined that the specific wireless identifier is the first wireless identifier, the operation state of the communication device is changed from a first unaffiliated state not belonging to the first wireless network to the first The first wireless network to which both the communication device as the parent station and the external device as the slave station belong is moved to the first parent station state that operates as a parent station of the wireless network The operation state of the communication device is maintained in the first unaffiliated state when it is determined that the specific wireless identifier is not the first wireless identifier. Forming process,
A computer program that executes
通信機器のためのコンピュータプログラムであって、
前記通信機器に搭載されるコンピュータに、以下の各処理、即ち、
特定の無線識別子を含む第1の特定の信号を外部機器から受信する信号受信処理と、
前記第1の特定の信号内の前記特定の無線識別子が、前記通信機器のメモリ内の所定文字列を含む第1の無線識別子であるのか否かを判断する判断処理であって、前記第1の無線識別子は、第1の無線ネットワークを識別するための無線識別子である、前記判断処理と、
前記特定の無線識別子が前記第1の無線識別子であると判断される場合に、前記通信機器の動作状態を、前記第1の無線ネットワークに所属していない第1の無所属状態から、前記第1の無線ネットワークの親局として動作する第1の親局状態、又は、前記第1の無線ネットワークの子局として動作する子局状態に移行させて、前記親局又は前記子局である前記通信機器と前記子局又は前記親局である前記外部機器との双方が所属している前記第1の無線ネットワークを形成する形成処理であって、前記特定の無線識別子が前記第1の無線識別子でないと判断される場合に、前記通信機器の前記動作状態は、前記第1の無所属状態に維持される、前記形成処理と、
前記第1の無線ネットワークが形成される場合に、前記第1の無線ネットワークを利用して、特定の無線設定情報を前記外部機器から受信する情報受信処理であって、前記特定の無線設定情報は、特定のアクセスポイントによって形成されている特定の無線ネットワークで現在利用されている無線設定情報であり、前記外部機器は、前記特定の無線ネットワークに現在所属していること、及び、前記特定の無線ネットワークに過去に所属していたこと、のうちのいずれかの条件を満たす、前記情報受信処理と、
前記外部機器から前記特定の無線設定情報が受信される場合に、前記特定の無線設定情報を利用して、前記特定の無線ネットワークに所属する所属処理と、
を実行させるコンピュータプログラム。
A computer program for a communication device,
In the computer mounted on the communication device, the following processes, that is,
A signal reception process for receiving a first specific signal including a specific wireless identifier from an external device;
A determination process for determining whether or not the specific wireless identifier in the first specific signal is a first wireless identifier including a predetermined character string in a memory of the communication device; The determination process is a wireless identifier for identifying the first wireless network,
When it is determined that the specific wireless identifier is the first wireless identifier, the operation state of the communication device is changed from a first unaffiliated state not belonging to the first wireless network to the first The communication device that is the master station or the slave station by shifting to a first master station state that operates as a master station of the first wireless network or a slave station state that operates as a slave station of the first wireless network And the slave station or the external device that is the master station to form the first wireless network, and the specific wireless identifier is not the first wireless identifier If determined, the operation state of the communication device is maintained in the first unaffiliated state, the formation process;
When the first wireless network is formed, information receiving processing for receiving specific wireless setting information from the external device using the first wireless network, wherein the specific wireless setting information is Wireless setting information currently used in a specific wireless network formed by a specific access point, the external device currently belonging to the specific wireless network, and the specific wireless The information receiving process that satisfies any of the conditions of belonging to the network in the past;
When the specific wireless setting information is received from the external device, using the specific wireless setting information, affiliation processing belonging to the specific wireless network,
A computer program that executes
JP2019105384A 2019-06-05 2019-06-05 Communication equipment Active JP6773177B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019105384A JP6773177B2 (en) 2019-06-05 2019-06-05 Communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019105384A JP6773177B2 (en) 2019-06-05 2019-06-05 Communication equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015134027A Division JP6536226B2 (en) 2015-07-03 2015-07-03 Communication equipment

Publications (2)

Publication Number Publication Date
JP2019146273A true JP2019146273A (en) 2019-08-29
JP6773177B2 JP6773177B2 (en) 2020-10-21

Family

ID=67774048

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019105384A Active JP6773177B2 (en) 2019-06-05 2019-06-05 Communication equipment

Country Status (1)

Country Link
JP (1) JP6773177B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014168215A (en) * 2013-02-28 2014-09-11 Brother Ind Ltd Communication apparatus
JP2014183340A (en) * 2013-03-18 2014-09-29 Brother Ind Ltd Radio communication system and radio communication device
JP2014241487A (en) * 2013-06-11 2014-12-25 ブラザー工業株式会社 Communication device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014168215A (en) * 2013-02-28 2014-09-11 Brother Ind Ltd Communication apparatus
JP2014183340A (en) * 2013-03-18 2014-09-29 Brother Ind Ltd Radio communication system and radio communication device
JP2014241487A (en) * 2013-06-11 2014-12-25 ブラザー工業株式会社 Communication device

Also Published As

Publication number Publication date
JP6773177B2 (en) 2020-10-21

Similar Documents

Publication Publication Date Title
JP6536226B2 (en) Communication equipment
US11956705B2 (en) Function execution device and communication terminal
US12021823B2 (en) Communication apparatus, methods, and non-transitory computer-readable media for determining IP addresses for use in different networks
US10581516B2 (en) Communication device and terminal device
JP5857850B2 (en) Communication device
JP2015070458A (en) Communication equipment
JP2015070457A (en) Communication equipment
EP2713672B1 (en) Wireless slave devices configuration and communication therewith
JP2019068204A (en) Computer program for communication device and terminal device
JP6812836B2 (en) Computer programs for communication and terminal equipment
JP6773177B2 (en) Communication equipment
JP6183445B2 (en) Communication device
JP6601463B2 (en) Communication device
JP2025141450A (en) COMMUNICATION DEVICE, COMPUTER PROGRAM FOR A COMMUNICATION DEVICE, AND METHOD PERFORMED BY A COMMUNICATION DEVICE - Patent application
JP2021090229A (en) Wireless communication device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190626

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190627

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200519

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200716

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200914

R150 Certificate of patent or registration of utility model

Ref document number: 6773177

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载