JP6842453B2 - Communication equipment - Google Patents

Communication equipment Download PDF

Info

Publication number
JP6842453B2
JP6842453B2 JP2018233328A JP2018233328A JP6842453B2 JP 6842453 B2 JP6842453 B2 JP 6842453B2 JP 2018233328 A JP2018233328 A JP 2018233328A JP 2018233328 A JP2018233328 A JP 2018233328A JP 6842453 B2 JP6842453 B2 JP 6842453B2
Authority
JP
Japan
Prior art keywords
state
wireless
interface
communication device
printer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018233328A
Other languages
Japanese (ja)
Other versions
JP2019071634A (en
Inventor
弘崇 朝倉
弘崇 朝倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2018233328A priority Critical patent/JP6842453B2/en
Publication of JP2019071634A publication Critical patent/JP2019071634A/en
Application granted granted Critical
Publication of JP6842453B2 publication Critical patent/JP6842453B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本明細書では、無線ネットワークの親局として動作可能な通信機器を開示する。 This specification discloses a communication device that can operate as a master station of a wireless network.

特許文献1には、WFD(Wi-Fi Directの略)方式のデバイス状態からGroup Owner状態(以下では「G/O状態」と呼ぶ)に移行して、無線ネットワークを形成するプリンタが開示されている。プリンタは、無線ネットワークに参加しているクライアント状態の機器の数がゼロになる際に、G/O状態を維持するための維持期間の終期を決定する。プリンタは、維持期間の終期が到来する際に、G/O状態からデバイス状態に移行して、無線ネットワークを消滅させる。一方、プリンタは、維持期間の終期が到来する前に対象機器から接続要求を受信する場合に、接続処理を実行して、対象機器との無線接続を確立する。この結果、対象機器が無線ネットワークに参加するので、プリンタは、無線ネットワークを利用して、対象機器と無線通信を実行することができる。 Patent Document 1 discloses a printer that forms a wireless network by shifting from a WFD (abbreviation of Wi-Fi Direct) device state to a Group Owner state (hereinafter referred to as "G / O state"). There is. The printer determines the end of the maintenance period for maintaining the G / O state when the number of client state devices participating in the wireless network becomes zero. At the end of the maintenance period, the printer transitions from the G / O state to the device state and extinguishes the wireless network. On the other hand, when the printer receives a connection request from the target device before the end of the maintenance period, the printer executes a connection process to establish a wireless connection with the target device. As a result, since the target device participates in the wireless network, the printer can execute wireless communication with the target device using the wireless network.

特開2013−005188号公報Japanese Unexamined Patent Publication No. 2013-005188

本明細書では、外部機器と無線通信を適切に実行し得る通信機器を提供する。 The present specification provides a communication device capable of appropriately performing wireless communication with an external device.

本明細書によって開示される一つの形態の通信機器は、無線通信を実行するための第1のインターフェイスと、制御部と、を備える。制御部は、通信機器の動作状態を、無線ネットワークに所属していない無所属状態から、第1のインターフェイスを介した無線通信を実行するための第1の無線ネットワークの親局として動作する親局状態に変更して、第1の無線ネットワークを形成する形成部であって、第1の無線ネットワークが形成された時点では、第1の無線ネットワークに子局として参加している外部機器の数である子局機器数は、ゼロである、形成部と、第1の無線ネットワークが形成される際に、子局機器数がゼロである状況で通信機器の動作状態を親局状態に維持するための第1の維持期間の終期を決定する決定部と、第1の維持期間の終期が到来する際に、通信機器の動作状態を親局状態から無所属状態に変更して、第1の無線ネットワークを消滅させる消滅部と、第1の維持期間の終期が到来する前に、第1の外部機器が第1の無線ネットワークに子局として参加する場合に、第1の無線ネットワークを利用して、第1のインターフェイスを介して、第1の対象データの無線通信を第1の外部機器と実行する通信実行部と、所定指示を検出する検出部と、第1の維持期間の終期が到来する前に、所定指示が検出される際に、第1の維持期間の終期を延長して、第1の維持期間の新たな終期を決定する延長部と、を備える。 One form of communication equipment disclosed herein includes a first interface for performing wireless communication and a control unit. The control unit changes the operating state of the communication device from an unaffiliated state that does not belong to the wireless network to a master station state that operates as a master station of the first wireless network for executing wireless communication via the first interface. It is the number of external devices that form the first wireless network by changing to, and at the time when the first wireless network is formed, it is participating as a slave station in the first wireless network. The number of slave station devices is zero. When the forming unit and the first wireless network are formed, the operating state of the communication device is maintained in the master station state in the situation where the number of slave station devices is zero. The decision unit that determines the end of the first maintenance period, and when the end of the first maintenance period arrives, the operating state of the communication device is changed from the master station state to the unaffiliated state, and the first wireless network is changed. When the extinguished part to be extinguished and the first external device join the first wireless network as a slave station before the end of the first maintenance period comes, the first wireless network is used to obtain the first. A communication execution unit that executes wireless communication of the first target data with the first external device via the interface 1, a detection unit that detects a predetermined instruction, and before the end of the first maintenance period comes. Provided with an extension that extends the end of the first maintenance period and determines a new end of the first maintenance period when a predetermined instruction is detected.

上記の構成によると、通信機器は、第1の無線ネットワークを形成する際に、第1の維持期間の終期を決定し、第1の維持期間の終期が到来する前に所定指示を検出する際に、第1の維持期間の終期を延長して、第1の維持期間の新たな終期を決定する。従って、通信機器は、第1の維持期間の延長済みの新たな終期が到来する前に、例えば、第1の外部機器が第1の無線ネットワークに子局として参加する場合に、第1の無線ネットワークを利用して、第1の対象データの無線通信を第1の外部機器と実行し得る。このように、通信機器は、外部機器と無線通信を適切に実行し得る。 According to the above configuration, when the communication device determines the end of the first maintenance period when forming the first wireless network, and detects a predetermined instruction before the end of the first maintenance period comes. In addition, the end of the first maintenance period is extended to determine a new end of the first maintenance period. Therefore, the communication device is the first radio, for example, when the first external device joins the first radio network as a slave station before the arrival of a new end with an extended first maintenance period. The network can be used to perform wireless communication of the first target data with the first external device. In this way, the communication device can appropriately perform wireless communication with the external device.

形成部は、通信機器の動作状態が無所属状態である状況で所定指示が検出される際に、通信機器の動作状態を無所属状態から親局状態に変更して、第1の無線ネットワークを形成してもよい。 When a predetermined instruction is detected in a situation where the operating state of the communication device is an independent state, the forming unit changes the operating state of the communication device from the independent state to the master station state to form the first wireless network. You may.

決定部は、さらに、第1の外部機器が第1の無線ネットワークに子局として参加した後に、第1の外部機器が第1の無線ネットワークから離脱して、第1の無線ネットワークの子局機器数がゼロになる際に、子局機器数がゼロである状況で通信機器の動作状態を親局状態に維持するための第2の維持期間の終期を決定してもよい。消滅部は、さらに、第2の維持期間の終期が到来する際に、通信機器の動作状態を親局状態から無所属状態に変更して、第1の無線ネットワークを消滅させてもよい。通信実行部は、さらに、第2の維持期間の終期が到来する前に、第2の外部機器が第1の無線ネットワークに子局として参加する場合に、第1の無線ネットワークを利用して、第1のインターフェイスを介して、第2の対象データの無線通信を第2の外部機器と実行してもよい。この構成によると、通信機器は、第1の無線ネットワークの子局機器数がゼロになる際に、第2の維持期間の終期を決定する。従って、通信機器は、第2の維持期間の終期が到来する前に、例えば、第2の外部機器が第1の無線ネットワークに子局として参加する場合に、第1の無線ネットワークを利用して、第2の対象データの無線通信を第2の外部機器と実行し得る。このように、通信機器は、外部機器と無線通信を適切に実行し得る。 The determination unit further determines that after the first external device joins the first wireless network as a slave station, the first external device leaves the first wireless network and is a slave station device of the first wireless network. When the number becomes zero, the end of the second maintenance period for maintaining the operating state of the communication device in the master station state in the situation where the number of slave station devices is zero may be determined. Further, when the end of the second maintenance period comes, the extinguishing unit may change the operating state of the communication device from the master station state to the independent state to extinguish the first wireless network. The communication execution unit further uses the first wireless network when the second external device joins the first wireless network as a slave station before the end of the second maintenance period arrives. Wireless communication of the second target data may be performed with the second external device via the first interface. According to this configuration, the communication device determines the end of the second maintenance period when the number of slave station devices in the first wireless network becomes zero. Therefore, the communication device utilizes the first wireless network before the end of the second maintenance period, for example, when the second external device joins the first wireless network as a slave station. , The wireless communication of the second target data can be executed with the second external device. In this way, the communication device can appropriately perform wireless communication with the external device.

延長部は、さらに、第2の維持期間の終期が到来する前に、所定指示が検出される際に、第2の維持期間の終期を延長して、第2の維持期間の新たな終期を決定してもよい。この構成によると、通信機器は、第2の維持期間の終期が到来する前に所定指示を検出する際に、第2の維持期間の終期を延長して、第2の維持期間の新たな終期を決定する。従って、通信機器は、第2の維持期間の延長済みの新たな終期が到来する前に、例えば、第2の外部機器が第1の無線ネットワークに子局として参加する場合に、第1の無線ネットワークを利用して、第2の対象データの無線通信を第2の外部機器と実行し得る。このように、通信機器は、外部機器と無線通信を適切に実行し得る。 The extension further extends the end of the second maintenance period to a new end of the second maintenance period when a given instruction is detected before the end of the second maintenance period arrives. You may decide. According to this configuration, the telecommunications equipment extends the end of the second maintenance period when detecting a predetermined instruction before the end of the second maintenance period arrives, and the new end of the second maintenance period. To determine. Therefore, the communication device is a first radio when, for example, a second external device joins the first radio network as a slave station before the arrival of a new end with an extended second maintenance period. The network can be used to perform wireless communication of the second target data with the second external device. In this way, the communication device can appropriately perform wireless communication with the external device.

本明細書によって開示される他の形態の通信機器は、無線通信を実行するための第1のインターフェイスと、制御部と、を備える。制御部は、通信機器の動作状態を、第1の状態から、第1の状態とは異なる第2の状態に変更する第1の変更部と、通信機器の動作状態が第1の状態から第2の状態に変更される際に、通信機器の動作状態を第2の状態に維持するための第1の維持期間の終期を決定する決定部と、第1の維持期間の終期が到来する際に、通信機器の動作状態を第2の状態から第1の状態に変更する第2の変更部と、第1の維持期間の終期が到来する前に、通信機器と第1の外部機器とが所属する第1の無線ネットワークが形成される場合に、第1の無線ネットワークを利用して、前記第1のインターフェイスを介して、第1の対象データの無線通信を第1の外部機器と実行する通信実行部と、所定指示を検出する検出部と、第1の維持期間の終期が到来する前に、所定指示が検出される際に、第1の維持期間の終期を延長して、第1の維持期間の新たな終期を決定する延長部と、を備える。 Other forms of communication equipment disclosed herein include a first interface for performing wireless communication and a control unit. The control unit changes the operating state of the communication device from the first state to the second state different from the first state, and the operating state of the communication device changes from the first state to the second state. When the end of the first maintenance period for maintaining the operating state of the communication device in the second state when the state is changed to the second state is determined, and when the end of the first maintenance period comes. In addition, the second change part that changes the operating state of the communication device from the second state to the first state, and the communication device and the first external device before the end of the first maintenance period is reached. When the first wireless network to which the user belongs is formed, the first wireless network is used to perform wireless communication of the first target data with the first external device via the first interface. A communication execution unit, a detection unit that detects a predetermined instruction, and a first maintenance period, when the predetermined instruction is detected before the end of the first maintenance period arrives, the end of the first maintenance period is extended. It has an extension that determines the new end of the maintenance period.

上記の構成によると、通信機器は、通信機器の動作状態が第1の状態から第2の状態に変更される際に、第1の維持期間の終期を決定し、第1の維持期間の終期が到来する前に所定指示を検出する際に、第1の維持期間の終期を延長して、第1の維持期間の新たな終期を決定する。従って、通信機器は、第1の維持期間の延長済みの新たな終期が到来する前に、例えば、通信機器と第1の外部機器とが所属する第1の無線ネットワークが形成される場合に、第1の無線ネットワークを利用して、第1の対象データの無線通信を第1の外部機器と実行し得る。このように、通信機器は、外部機器と無線通信を適切に実行し得る。 According to the above configuration, the communication device determines the end of the first maintenance period when the operating state of the communication device is changed from the first state to the second state, and the end of the first maintenance period. The end of the first maintenance period is extended to determine the new end of the first maintenance period when a predetermined instruction is detected before the arrival of. Therefore, the communication device is used, for example, when the first wireless network to which the communication device and the first external device belong is formed before the arrival of a new end period in which the first maintenance period has been extended. The first wireless network can be used to perform wireless communication of the first target data with the first external device. In this way, the communication device can appropriately perform wireless communication with the external device.

通信機器は、さらに、無線通信を実行するための第2のインターフェイスを備えていてもよい。第2のインターフェイスを介した無線通信を実行可能な最大の距離である所定距離は、第1のインターフェイスを介した無線通信を実行可能な最大の距離よりも小さくてもよい。第2のインターフェイスは、第2のインターフェイスといずれかの外部機器との間の距離であるデバイス間距離が所定距離より大きい第1の状況から、デバイス間距離が所定距離以下である第2の状況に変化する場合に、第1の無線ネットワークで利用されるべき第1の無線プロファイルを当該外部機器に送信してもよい。第2のインターフェイスは、さらに、第1の状況から第2の状況に変化する場合に、所定通知を制御部に供給してもよい。検出部は、第2のインターフェイスから所定通知が取得されることに応じて所定指示を検出してもよい。 The communication device may further include a second interface for performing wireless communication. The predetermined distance, which is the maximum distance at which wireless communication via the second interface can be performed, may be smaller than the maximum distance at which wireless communication via the first interface can be performed. The second interface is a second situation in which the distance between devices is equal to or less than a predetermined distance from the first situation in which the distance between devices, which is the distance between the second interface and one of the external devices, is greater than the predetermined distance. When changing to, the first wireless profile to be used in the first wireless network may be transmitted to the external device. The second interface may further supply a predetermined notification to the control unit when changing from the first situation to the second situation. The detection unit may detect a predetermined instruction in response to the predetermined notification being acquired from the second interface.

制御部は、さらに、第1の無線ネットワークが形成される前に、第1の無線プロファイルを第2のインターフェイスに記憶させるための第1の記憶指示を第2のインターフェイスに供給する供給部を備えていてもよい。この構成によると、通信機器は、第2のインターフェイスに予め記憶されている第1の無線プロファイルを外部機器に送信し得る。 The control unit further includes a supply unit that supplies a first storage instruction to the second interface for storing the first radio profile in the second interface before the first radio network is formed. You may be. According to this configuration, the communication device can transmit the first radio profile stored in advance in the second interface to the external device.

供給部は、さらに、第1の無線ネットワークが消滅した後であって、通信機器が親局として動作すべき第2の無線ネットワークが形成される前に、第1の無線プロファイルに代えて、第2の無線ネットワークで利用されるべき第2の無線プロファイルを第2のインターフェイスに記憶させるための第2の記憶指示を第2のインターフェイスに供給してもよい。この構成によると、通信機器は、第2のインターフェイスに予め記憶されている第2の無線プロファイルを外部機器に送信し得る。 The supply unit further replaces the first radio profile after the disappearance of the first radio network and before the formation of the second radio network in which the communication device should operate as the master station. A second storage instruction for storing the second radio profile to be used in the second radio network in the second interface may be supplied to the second interface. According to this configuration, the communication device can transmit the second radio profile stored in advance in the second interface to the external device.

第2のインターフェイスは、第1の状況から第2の状況に変化することに起因して、いずれかの外部機器から所定信号を受信する際に、所定通知を制御部に供給してもよい。 The second interface may supply a predetermined notification to the control unit when receiving a predetermined signal from any external device due to the change from the first situation to the second situation.

検出部は、第2のインターフェイスから所定通知が取得されることに応じて所定指示を検出してから所定時間が経過するまでの間に、第2のインターフェイスから所定通知が再び取得されても、所定指示を検出しなくてもよい。この構成によると、通信機器は、所定指示を検出してから所定時間が経過するまでの間に所定指示の検出に応じた処理を実行せずに済む。この結果、通信機器の処理負荷が軽減し得る。 Even if the detection unit acquires the predetermined notification again from the second interface between the time when the predetermined instruction is detected in response to the acquisition of the predetermined notification from the second interface and the time when the predetermined time elapses. It is not necessary to detect a predetermined instruction. According to this configuration, the communication device does not have to execute the process corresponding to the detection of the predetermined instruction between the time when the predetermined instruction is detected and the time when the predetermined time elapses. As a result, the processing load of the communication device can be reduced.

決定部は、時間をカウントするための時間カウンタのカウントを初期値から開始することによって、第1の維持期間の終期を決定してもよい。延長部は、所定指示が検出された際に、時間カウンタの値を初期値に戻して、時間カウンタのカウントを初期値から再び開始することによって、第1の維持期間の終期を延長してもよい。時間カウンタの値が所定値に一致する際に、第1の維持期間の終期が到来してもよい。この構成によると、通信機器は、時間カウンタを利用して、第1の維持期間を適切に管理し得る。 The determination unit may determine the end of the first maintenance period by starting the counting of the time counter for counting the time from the initial value. The extension unit may extend the end of the first maintenance period by returning the time counter value to the initial value and restarting the time counter count from the initial value when a predetermined instruction is detected. Good. When the value of the time counter matches a predetermined value, the end of the first maintenance period may come. According to this configuration, the communication device can appropriately manage the first maintenance period by utilizing the time counter.

制御部は、さらに、第1の維持期間の終期が到来する前に、第1の外部機器が第1の無線ネットワークに子局として参加する場合に、時間カウンタのカウントを停止する停止部を備えていてもよい。 The control unit further includes a stop unit that stops counting the time counter when the first external device joins the first wireless network as a slave station before the end of the first maintenance period. You may be.

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

通信システムの構成を示す。The configuration of the communication system is shown. NFCインターフェイスのプロセッサの処理のフローチャートを示す。The flowchart of the processing of the processor of an NFC interface is shown. CPUのメイン処理のフローチャートを示す。The flowchart of the main processing of a CPU is shown. CPUの接続関係処理のフローチャートを示す。The flowchart of CPU connection-related processing is shown. CPUの監視処理のフローチャートを示す。The flowchart of CPU monitoring processing is shown. 携帯端末がWFDネットワークに参加することなく、WFDネットワークが消滅するケースAのシーケンス図を示す。The sequence diagram of the case A in which the WFD network disappears without the mobile terminal participating in the WFD network is shown. 携帯端末がWFDネットワークに参加するケースBのシーケンス図を示す。The sequence diagram of the case B in which the mobile terminal participates in the WFD network is shown. G/O維持期間が延長されるケースCのシーケンス図を示す。The sequence diagram of the case C in which the G / O maintenance period is extended is shown. G/O維持期間が延長されるケースDのシーケンス図を示す。The sequence diagram of the case D in which the G / O maintenance period is extended is shown.

(通信システム2の構成;図1)
図1に示されるように、通信システム2は、プリンタPRと、複数個の携帯端末PT1,PT2と、を備える。各機器PR,PT1,PT2は、Wi−Fi方式に従った無線通信(以下では「Wi−Fi通信」と呼ぶ)と、NFC(Near Field Communicationの略)方式に従った無線通信(以下では「NFC通信」と呼ぶ)と、を実行可能である。
(Configuration of communication system 2; FIG. 1)
As shown in FIG. 1, the communication system 2 includes a printer PR and a plurality of mobile terminals PT1 and PT2. Each device PR, PT1, PT2 has wireless communication according to the Wi-Fi method (hereinafter referred to as "Wi-Fi communication") and wireless communication according to the NFC (Near Field Communication) method (hereinafter, """NFCcommunication") and can be executed.

(プリンタPRの構成)
プリンタPRは、印刷機能を実行可能な周辺機器(即ち各携帯端末PT1,PT2の周辺機器)である。プリンタPRは、操作部12と、表示部14と、印刷実行部16と、無線LAN(LocalArea Networkの略)インターフェイス20と、NFCインターフェイス30と、制御部40と、を備える。各部12〜40は、バス線(符号省略)に接続されている。以下では、インターフェイスのことを「I/F」と記載する。
(Configuration of printer PR)
The printer PR is a peripheral device capable of executing a printing function (that is, a peripheral device of each mobile terminal PT1 or PT2). The printer PR includes an operation unit 12, a display unit 14, a print execution unit 16, a wireless LAN (abbreviation of Local Area Network) interface 20, an NFC interface 30, and a control unit 40. Each part 12 to 40 is connected to a bus line (reference numeral omitted). In the following, the interface will be referred to as "I / F".

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

無線LANI/F20は、Wi−Fi方式に従ったWi−Fi通信を実行するための無線I/Fである。Wi−Fi方式は、例えば、IEEE(The Institute of Electrical and Electronics Engineers, Inc.の略)の802.11の規格、及び、それに準ずる規格(例えば、802.11a,11b,11g,11n等)に従って、無線通信を実行するための無線通信方式である。無線LANI/F20は、特に、WFD(Wi-Fi Directの略)方式をサポートしている。WFD方式は、Wi−Fi Allianceによって作成された規格書「Wi−Fi Peer−to−Peer(P2P) Technical Specification Version1.1」に記述されている無線通信方式である。 The wireless LAN I / F 20 is a wireless I / F for executing Wi-Fi communication according to the Wi-Fi method. The Wi-Fi method conforms to, for example, the IEEE (abbreviation of The Institute of Electrical and Electronics Engineers, Inc.) 802.11 standard and the equivalent standard (for example, 802.11a, 11b, 11g, 11n, etc.). , A wireless communication method for executing wireless communication. The wireless LANI / F20 particularly supports the WFD (abbreviation of Wi-Fi Direct) method. The WFD method is a wireless communication method described in the standard "Wi-Fi Peer-to-Peer (P2P) Technical Specialization Version 1.1" created by Wi-Fi Alliance.

NFCI/F30は、NFC方式に従ったNFC通信(即ちいわゆる近距離無線通信の一種)を実行するための無線I/Fある。NFC方式は、例えば、ISO/IEC21481又は18092の国際標準規格に基づく無線通信方式である。 The NFCI / F30 is a wireless I / F for executing NFC communication (that is, a kind of so-called short-range wireless communication) according to the NFC method. The NFC system is, for example, a wireless communication system based on the international standard of ISO / IEC21481 or 18092.

NFCI/F30は、プロセッサ32と、I/Fメモリ34と、を備える。プロセッサ32は、制御部40と通信可能であり、制御部40から取得される記憶指示に従って、携帯端末(例えばPT1)に送信されるべき無線プロファイルWPをI/Fメモリ34に書き込む(即ち記憶させる)。また、プロセッサ32は、携帯端末からPolling信号を受信する場合に、Polling信号に対する応答信号を携帯端末に送信して、携帯端末とのNFCセッションを確立する。そして、プロセッサ32は、当該NFCセッションが確立される前にI/Fメモリ34に予め記憶されている無線プロファイルWPをI/Fメモリ34から読み出し、当該NFCセッションを利用して無線プロファイルWPを携帯端末に送信する。 The NFCI / F30 includes a processor 32 and an I / F memory 34. The processor 32 can communicate with the control unit 40, and writes (that is, stores) the radio profile WP to be transmitted to the mobile terminal (for example, PT1) in the I / F memory 34 according to the storage instruction acquired from the control unit 40. ). Further, when the processor 32 receives the Polling signal from the mobile terminal, the processor 32 transmits a response signal to the Polling signal to the mobile terminal to establish an NFC session with the mobile terminal. Then, the processor 32 reads the radio profile WP stored in advance in the I / F memory 34 from the I / F memory 34 before the NFC session is established, and carries the radio profile WP using the NFC session. Send to the terminal.

なお、NFC通信を実行するためのI/Fの種類として、NFCフォーラムデバイス(NFC Forum Device)と呼ばれるI/Fと、NFCフォーラムタグ(NFC Forum Tag)と呼ばれるI/Fと、が知られている。NFCI/F30は、NFCフォーラムタグであり、NFC方式のICタグとして機能する。 As the types of I / F for executing NFC communication, an I / F called an NFC Forum Device and an I / F called an NFC Forum Tag are known. There is. The NFCI / F30 is an NFC forum tag and functions as an NFC type IC tag.

NFCフォーラムデバイスは、P2P(Peer To Peerの略)モード、R/W(Reader/Writerの略)モード、及び、CE(Card Emulationの略)モードのうちのいずれかのモードで、選択的に動作可能なI/Fである。例えば、第1の機器のNFCI/Fと、第2の機器のNFCI/Fと、の両方がP2Pモードで動作する場合には、第1及び第2の機器は、データの双方向通信を実行することができる。また、例えば、第1の機器のNFCI/FがR/WモードのうちのReaderモードで動作し、かつ、第2の機器のNFCI/FがCEモードで動作する場合には、第1の機器は、第2の機器からのデータの読み出し、即ち、第2の機器からのデータの受信を実行することができる。また、例えば、第1の機器のNFCI/FがR/WモードのうちのWriterモードで動作し、かつ、第2の機器のNFCI/FがCEモードで動作する場合には、第1の機器は、第2の機器へのデータの書き込み、即ち、第2の機器へのデータの送信を実行することができる。 The NFC forum device selectively operates in one of P2P (abbreviation of Peer To Peer) mode, R / W (abbreviation of Reader / Writer) mode, and CE (abbreviation of Card Emulation) mode. Possible I / F. For example, if both the NFCI / F of the first device and the NFCI / F of the second device operate in P2P mode, the first and second devices execute bidirectional communication of data. can do. Further, for example, when the NFCI / F of the first device operates in the Reader mode of the R / W modes and the NFCI / F of the second device operates in the CE mode, the first device Can read data from the second device, i.e. receive data from the second device. Further, for example, when the NFCI / F of the first device operates in the Writer mode of the R / W modes and the NFCI / F of the second device operates in the CE mode, the first device Can execute data writing to the second device, that is, transmission of data to the second device.

NFCフォーラムタグ(即ちプリンタPRのNFCI/F30)は、上記の3つのモードのうちのいずれかのモードで選択的に動作可能なI/Fではなく、ICタグのみとして機能するI/Fである。例えば、携帯端末のNFCI/FがR/WモードのうちのReaderモードで動作する場合には、携帯端末は、プリンタPRのNFCI/F30からの無線プロファイルWPの読み出し、即ち、プリンタPRからの無線プロファイルWPの受信を実行することができる。NFCフォーラムタグ(即ちプリンタPRのNFCI/F30)は、上記の3つのモードのうちのいずれかのモードで選択的に動作可能なI/Fではないので、NFCフォーラムデバイスよりも簡易な構成を有する(即ちICチップの構成が単純である)。一般的に言うと、NFCフォーラムタグとして機能するICチップは、NFCフォーラムデバイスとして機能するICチップよりも安価である。 The NFC forum tag (that is, the NFCI / F30 of the printer PR) is not an I / F that can selectively operate in any of the above three modes, but an I / F that functions only as an IC tag. .. For example, when the NFCI / F of the mobile terminal operates in the Reader mode of the R / W modes, the mobile terminal reads the radio profile WP from the NFCI / F30 of the printer PR, that is, the radio from the printer PR. The reception of the profile WP can be executed. The NFC forum tag (that is, the NFCI / F30 of the printer PR) is not an I / F that can selectively operate in any of the above three modes, and therefore has a simpler configuration than the NFC forum device. (That is, the configuration of the IC chip is simple). Generally speaking, an IC chip that functions as an NFC forum tag is cheaper than an IC chip that functions as an NFC forum device.

ここで、無線LANI/F20とNFCI/F30との間の相違点を説明しておく。無線LANI/F20を介した無線通信の通信速度(例えば最大の通信速度が11〜600Mbps)は、NFCI/F30を介した無線通信の通信速度(例えば最大の通信速度が100〜424Kbps)よりも速い。また、無線LANI/F20を介した無線通信における搬送波の周波数(例えば2.4GHz帯又は5.0GHz帯)は、NFCI/F30を介した無線通信における搬送波の周波数(例えば13.56MHz帯)とは異なる。また、無線LANI/F20を介した無線通信を実行可能な最大の距離(例えば最大で約100m)は、NFCI/F30を介した無線通信を実行可能な最大の距離(例えば最大で約10cm)よりも大きい。 Here, the differences between the wireless LANI / F20 and the NFCI / F30 will be described. The communication speed of wireless communication via wireless LANI / F20 (for example, the maximum communication speed is 11 to 600 Mbps) is faster than the communication speed of wireless communication via NFCI / F30 (for example, the maximum communication speed is 100 to 424 kbps). .. Further, the frequency of the carrier wave in wireless communication via wireless LANI / F20 (for example, 2.4 GHz band or 5.0 GHz band) is different from the frequency of carrier wave in wireless communication via NFCI / F30 (for example, 13.56 MHz band). different. Further, the maximum distance at which wireless communication via wireless LANI / F20 can be executed (for example, about 100 m at maximum) is greater than the maximum distance at which wireless communication via NFCI / F30 can be executed (for example, about 10 cm at maximum). Is also big.

制御部40は、CPU42と、メインメモリ44と、を備える。CPU42は、メインメモリ44に格納されているプログラムPGに従って、様々な処理を実行するプロセッサである。メインメモリ44は、RAM、ROM等によって構成され、上記のプログラムPGの他に、G/OカウンタGCと、NFCカウンタNCと、管理リストMLと、を格納する。 The control unit 40 includes a CPU 42 and a main memory 44. The CPU 42 is a processor that executes various processes according to the program PG stored in the main memory 44. The main memory 44 is composed of RAM, ROM, and the like, and stores a G / O counter GC, an NFC counter NC, and a management list ML in addition to the above program PG.

G/OカウンタGCは、時間をカウントするためのカウンタであり、具体的には、初期値である300(秒)からゼロまでカウントダウンするためのカウンタである。G/OカウンタGCは、プリンタPRの動作状態をWFD方式のGroup Owner状態(以下では「G/O状態」と呼ぶ)に維持するための維持期間の終期が到来することを監視するためのカウンタである。なお、以下では、プリンタPRの動作状態がG/O状態である状況のことを、「プリンタPRがG/O機器である」と呼ぶことがある。 The G / O counter GC is a counter for counting time, and specifically, is a counter for counting down from an initial value of 300 (seconds) to zero. The G / O counter GC is a counter for monitoring the end of the maintenance period for maintaining the operating state of the printer PR in the WFD type Group Owner state (hereinafter referred to as “G / O state”). Is. In the following, the situation where the operating state of the printer PR is the G / O state may be referred to as "the printer PR is a G / O device".

NFCカウンタNCは、時間をカウントするためのカウンタであり、具体的には、初期値である5(秒)からゼロまでカウントダウンするためのカウンタである。NFCカウンタNCは、NFCI/F30から取得される所定通知に応じた接続関係処理(図4参照)を実行するのか否かを決定するためのカウンタである。 The NFC counter NC is a counter for counting time, and specifically, a counter for counting down from an initial value of 5 (seconds) to zero. The NFC counter NC is a counter for determining whether or not to execute the connection-related processing (see FIG. 4) according to the predetermined notification acquired from the NFCI / F30.

管理リストMLには、プリンタPRがG/O機器である無線ネットワーク(以下では「WFDNW」と記載する)に所属しているCL機器に関するCL情報が記述される。CL機器は、WFD方式のCL状態(即ちクライアント状態)で動作する機器である。CL情報は、例えば、CL機器のMACアドレスを含む。 In the management list ML, CL information regarding a CL device belonging to a wireless network (hereinafter referred to as "WFDNW") in which the printer PR is a G / O device is described. The CL device is a device that operates in the CL state (that is, the client state) of the WFD method. The CL information includes, for example, the MAC address of the CL device.

(各携帯端末PT1,PT2の構成)
各携帯端末PT1,PT2は、携帯電話(例えばスマートフォン)、PDA、ノートPC、タブレットPC、携帯型音楽再生装置、携帯型動画再生装置等の可搬型の端末装置である。各携帯端末PT1,PT2は、図示省略の無線LANI/Fを備えており、Wi−Fi通信を実行可能である。特に、各携帯端末PT1,PT2の無線LANI/Fは、WFD方式をサポートしている。また、各携帯端末PT1,PT2は、図示省略のNFCI/Fを備えており、NFC通信を実行可能である。なお、各携帯端末PT1,PT2のNFCI/Fは、NFCフォーラムデバイスであり、本実施例では、Readerモードで動作する。
(Configuration of each mobile terminal PT1 and PT2)
The mobile terminals PT1 and PT2 are portable terminal devices such as mobile phones (for example, smartphones), PDAs, notebook PCs, tablet PCs, portable music playback devices, and portable moving image playback devices. Each mobile terminal PT1 and PT2 is provided with a wireless LAN I / F (not shown), and can execute Wi-Fi communication. In particular, the wireless LAN I / F of each mobile terminal PT1 and PT2 supports the WFD method. Further, each of the mobile terminals PT1 and PT2 is provided with an NFCI / F (not shown), and can execute NFC communication. The NFCI / F of each mobile terminal PT1 and PT2 is an NFC forum device, and in this embodiment, it operates in the Reader mode.

携帯端末PT1は、プリンタPRに印刷を実行させるためのアプリケーションPA(以下では「プリンタアプリPA」と呼ぶ)を備える。プリンタアプリPAは、プリンタPRがG/O機器として動作するWFDNWに携帯端末PT1をCL機器として参加させ、WFDNWを利用して、印刷データをプリンタPRに送信するためのアプリケーションである。プリンタアプリPAは、例えば、プリンタPRのベンダによって提供されるインターネット上のサーバから携帯端末PT1にインストールされてもよいし、プリンタPRと共に出荷されるメディアから携帯端末PT1にインストールされてもよい。また、携帯端末PT2は、プリンタアプリPAを備えていない。 The mobile terminal PT1 includes an application PA (hereinafter referred to as "printer application PA") for causing the printer PR to execute printing. The printer application PA is an application for causing a mobile terminal PT1 to participate as a CL device in a WFDNW in which the printer PR operates as a G / O device, and transmitting print data to the printer PR using the WFDNW. The printer application PA may be installed on the mobile terminal PT1 from a server on the Internet provided by the vendor of the printer PR, or may be installed on the mobile terminal PT1 from the media shipped together with the printer PR. Further, the mobile terminal PT2 does not have the printer application PA.

(プロセッサ32の処理;図2)
続いて、図2を参照して、NFCI/F30のプロセッサ32によって実行される処理について説明する。図2の処理では、S10、S20、及び、S30の各監視ステップが順次実行される。
(Processing of processor 32; FIG. 2)
Subsequently, with reference to FIG. 2, the processing executed by the processor 32 of the NFCI / F30 will be described. In the process of FIG. 2, each monitoring step of S10, S20, and S30 is sequentially executed.

S10では、プロセッサ32は、制御部40(即ちCPU42)から、記憶指示を取得することを監視する。プロセッサ32は、制御部40から記憶指示を取得する場合に、S10でYESと判断して、S12において、S10で取得された記憶指示に含まれる無線プロファイルをI/Fメモリ34に書き込む(即ち記憶させる)。なお、I/Fメモリ34内に古い無線プロファイルが既に記憶されている状態では、S12では、プロセッサ32は、古い無線プロファイルに代えて、S10で取得された記憶指示に含まれる新たな無線プロファイルをI/Fメモリ34に書き込む。S12が終了すると、S10に戻る。 In S10, the processor 32 monitors the acquisition of the storage instruction from the control unit 40 (that is, the CPU 42). When the processor 32 acquires a storage instruction from the control unit 40, the processor 32 determines YES in S10, and in S12, writes the radio profile included in the storage instruction acquired in S10 to the I / F memory 34 (that is, stores). Let). In the state where the old radio profile is already stored in the I / F memory 34, in S12, the processor 32 replaces the old radio profile with a new radio profile included in the storage instruction acquired in S10. Write to the I / F memory 34. When S12 ends, the process returns to S10.

S20では、プロセッサ32は、携帯端末(例えばPT1)からNFCセッションを確立するための要求信号であるPolling信号を受信することを監視する。プリンタPRのNFCI/F30と携帯端末のNFCI/Fとの間の距離(以下では「デバイス間距離」と呼ぶ)が所定距離(例えば10cm)よりも大きい状況から、デバイス間距離が所定距離以下である状況に変化すると、プロセッサ32は、携帯端末からPolling信号を受信し、S20でYESと判断して、S21に進む。 In S20, the processor 32 monitors that it receives a Polling signal, which is a request signal for establishing an NFC session, from a mobile terminal (for example, PT1). Since the distance between the NFCI / F30 of the printer PR and the NFCI / F of the mobile terminal (hereinafter referred to as "device-to-device distance") is larger than the predetermined distance (for example, 10 cm), the device-to-device distance is less than or equal to the predetermined distance. When the situation changes, the processor 32 receives the Polling signal from the mobile terminal, determines YES in S20, and proceeds to S21.

S21では、プロセッサ32は、Polling信号の受信に応じた所定通知を制御部40(即ちCPU42)に供給する。所定通知は、携帯端末から信号が受信されたことを示す通知である。S22では、プロセッサ32は、Polling信号に対する応答信号を携帯端末に送信する。これにより、プリンタPRのNFCI/F30と携帯端末のNFCI/Fとの間にNFCセッションが確立される。 In S21, the processor 32 supplies a predetermined notification corresponding to the reception of the Polling signal to the control unit 40 (that is, the CPU 42). The predetermined notification is a notification indicating that a signal has been received from the mobile terminal. In S22, the processor 32 transmits a response signal to the Polling signal to the mobile terminal. As a result, an NFC session is established between the NFCI / F30 of the printer PR and the NFCI / F of the mobile terminal.

次いで、S23では、プロセッサ32は、S22で確立されたNFCセッションを利用して、携帯端末からRead信号を受信する。Read信号は、NFCフォーラムデバイスのReaderモードで動作する携帯端末が、データの読み出しをプリンタPRに要求するための信号である。S24では、プロセッサ32は、Read信号の受信に応じた所定通知を制御部40に供給する。S24で供給される所定通知は、S21で供給される所定通知と同じものである。そして、S25では、プロセッサ32は、I/Fメモリ34から無線プロファイルWPを読み出し、S22で確立されたNFCセッションを利用して、無線プロファイルWPを携帯端末に送信する。S25が終了すると、S10に戻る。 Next, in S23, the processor 32 receives the Read signal from the mobile terminal by utilizing the NFC session established in S22. The Read signal is a signal for a mobile terminal operating in the Reader mode of the NFC forum device to request the printer PR to read data. In S24, the processor 32 supplies a predetermined notification corresponding to the reception of the Read signal to the control unit 40. The predetermined notification supplied in S24 is the same as the predetermined notification supplied in S21. Then, in S25, the processor 32 reads the wireless profile WP from the I / F memory 34 and transmits the wireless profile WP to the mobile terminal by using the NFC session established in S22. When S25 is completed, the process returns to S10.

S30では、プロセッサ32は、携帯端末から確認信号を受信することを監視する。確認信号は、NFCセッションが確立されている状態であるのか否かを確認するための信号である。プロセッサ32は、携帯端末から確認信号を受信する場合に、S30でYESと判断して、S32において、確認信号の受信に応じた所定通知を制御部40に供給する。S32で供給される所定通知は、S21及びS24で供給される所定通知と同じものである。そして、S34では、プロセッサ32は、確認信号に対する応答信号を携帯端末に送信する。S34が終了すると、S10に戻る。 In S30, the processor 32 monitors the reception of the confirmation signal from the mobile terminal. The confirmation signal is a signal for confirming whether or not the NFC session has been established. When the processor 32 receives the confirmation signal from the mobile terminal, the processor 32 determines YES in S30, and supplies a predetermined notification corresponding to the reception of the confirmation signal to the control unit 40 in S32. The predetermined notification supplied in S32 is the same as the predetermined notification supplied in S21 and S24. Then, in S34, the processor 32 transmits a response signal to the confirmation signal to the mobile terminal. When S34 is completed, the process returns to S10.

携帯端末は、プリンタPRとのNFCセッションを確立した後に、上記のデバイス間距離が所定距離以下である状況が維持される限り、複数回に亘って確認信号をプリンタPRに送信する。従って、プリンタPRのプロセッサ32は、短時間の間に複数回に亘って確認信号を受信し得るので(S30でYES)、短時間の間に複数回に亘って所定通知を制御部40に供給し得る(S32)。そして、仮に、制御部40がプロセッサ32から所定通知を取得する毎に所定通知に応じた処理を実行する構成を採用すると、プリンタPRの処理負荷が高くなる。これを避けるために、本実施例では、NFCカウンタNCが設けられており、NFCカウンタNCによってカウントされている間に所定通知が取得されても、所定通知に応じた処理が実行されない。この結果、プリンタPRの処理負荷を軽減させることができる。 After establishing the NFC session with the printer PR, the mobile terminal transmits the confirmation signal to the printer PR a plurality of times as long as the above-mentioned situation where the distance between devices is not more than a predetermined distance is maintained. Therefore, since the processor 32 of the printer PR can receive the confirmation signal a plurality of times in a short time (YES in S30), the predetermined notification is supplied to the control unit 40 a plurality of times in a short time. It is possible (S32). Then, if the control unit 40 adopts a configuration in which the process according to the predetermined notification is executed every time the predetermined notification is acquired from the processor 32, the processing load of the printer PR becomes high. In order to avoid this, in this embodiment, the NFC counter NC is provided, and even if the predetermined notification is acquired while being counted by the NFC counter NC, the process corresponding to the predetermined notification is not executed. As a result, the processing load of the printer PR can be reduced.

(CPU42のメイン処理;図3)
続いて、図3を参照して、制御部40のCPU42によって実行されるメイン処理について説明する。プリンタPRの電源がOFF状態からON状態に切替えられると、CPU42は、メイン処理を実行する。
(Main processing of CPU 42; FIG. 3)
Subsequently, with reference to FIG. 3, the main process executed by the CPU 42 of the control unit 40 will be described. When the power supply of the printer PR is switched from the OFF state to the ON state, the CPU 42 executes the main process.

S40では、CPU42は、無線プロファイルWPを準備する。プリンタPRは、後述の図4のS52の処理において、WFD方式のG/O状態で動作して、WFDNWを形成する。S40で準備される無線プロファイルWPは、当該WFDNWで利用されるべき情報である。即ち、S40で準備される無線プロファイルWPは、プリンタPRによって将来形成され得るWFDNWで利用されるべき情報である。従って、例えば、携帯端末は、プリンタPRから無線プロファイルWPを受信すれば、上記のWFDNWに参加することができる。この結果、例えば、携帯端末は、上記のWFDNWを利用して、印刷データをプリンタPRに送信することができる。S40で準備される無線プロファイルWPは、SSID(Service Set Identifierの略)、認証方式、暗号化方式、パスワード等を含む。CPU42は、ランダムに文字列を選択することによって、SSID及びパスワードを準備する。また、CPU42は、予め決められている認証方式及び暗号化方式を準備する。CPU42は、無線プロファイルWPを準備すると、当該無線プロファイルWPをメインメモリ44に記憶させる。 In S40, the CPU 42 prepares the wireless profile WP. The printer PR operates in the G / O state of the WFD method in the process of S52 of FIG. 4 described later to form the WFDNW. The radio profile WP prepared in S40 is information to be used in the WFDNW. That is, the radio profile WP prepared in S40 is information to be used in WFDNW that can be formed in the future by the printer PR. Therefore, for example, a mobile terminal can participate in the above-mentioned WFDNW by receiving the wireless profile WP from the printer PR. As a result, for example, the mobile terminal can transmit the print data to the printer PR by using the above WFDNW. The wireless profile WP prepared in S40 includes an SSID (abbreviation of Service Set Identifier), an authentication method, an encryption method, a password, and the like. The CPU 42 prepares the SSID and password by randomly selecting a character string. Further, the CPU 42 prepares a predetermined authentication method and encryption method. When the CPU 42 prepares the wireless profile WP, the CPU 42 stores the wireless profile WP in the main memory 44.

S41では、CPU42は、S40で準備された無線プロファイルWPを含む記憶指示をNFCI/F30に供給する。これにより、NFCI/F30のプロセッサ32は、記憶指示に含まれる無線プロファイルWPをI/Fメモリ34に書き込む(図2のS12参照)。 In S41, the CPU 42 supplies the NFCI / F30 with a storage instruction including the radio profile WP prepared in S40. As a result, the processor 32 of the NFCI / F30 writes the radio profile WP included in the storage instruction to the I / F memory 34 (see S12 in FIG. 2).

S42では、CPU42は、NFCI/F30(即ちプロセッサ32)から所定通知(図2のS21、S24、及び、S32参照)を取得することを監視する。CPU42は、NFCI/F30から所定通知を取得する場合に、S42でYESと判断して、S43に進む。 In S42, the CPU 42 monitors the acquisition of predetermined notifications (see S21, S24, and S32 in FIG. 2) from the NFCI / F30 (that is, the processor 32). When the CPU 42 obtains the predetermined notification from the NFCI / F30, the CPU 42 determines YES in S42 and proceeds to S43.

S43では、CPU42は、メインメモリ44内のNFCカウンタNCの値がゼロであるのか否かを判断する。CPU42は、NFCカウンタNCの値がゼロであると判断する場合(S43でYES)に、S44に進み、NFCカウンタNCの値がゼロでないと判断する場合(S43でNO)に、S44及びS45をスキップしてS42に戻る。即ち、CPU42は、NFCカウンタNCの値がゼロでない状況でNFCI/F30から所定通知を取得しても、所定通知に応じた処理(即ちS44)を実行しない。これにより、短時間の間に複数個の所定通知が取得されても、S44で複数個の接続関係処理が開始されない。この結果、プリンタPRの処理負荷を軽減させることができる。 In S43, the CPU 42 determines whether or not the value of the NFC counter NC in the main memory 44 is zero. When the CPU 42 determines that the value of the NFC counter NC is zero (YES in S43), the CPU 42 proceeds to S44, and when it determines that the value of the NFC counter NC is not zero (NO in S43), S44 and S45 are set. Skip and return to S42. That is, even if the CPU 42 acquires a predetermined notification from the NFCI / F30 in a situation where the value of the NFC counter NC is not zero, the CPU 42 does not execute the process (that is, S44) according to the predetermined notification. As a result, even if a plurality of predetermined notifications are acquired in a short period of time, the plurality of connection-related processes are not started in S44. As a result, the processing load of the printer PR can be reduced.

S44では、CPU42は、接続関係処理(後述の図4参照)を開始する。なお、CPU42は、第1の接続関係処理が実行されている間にS44を実行する際には、第1の接続関係処理とは別処理で、第2の接続関係処理を新たに開始する。即ち、CPU42は、複数個の接続関係処理を並列的に実行することができる。 In S44, the CPU 42 starts the connection-related processing (see FIG. 4 described later). When the CPU 42 executes S44 while the first connection-related process is being executed, the CPU 42 newly starts the second connection-related process, which is a process different from the first connection-related process. That is, the CPU 42 can execute a plurality of connection-related processes in parallel.

S45では、CPU42は、メインメモリ44内のNFCカウンタNCの値を初期値である5(秒)にリセットして、NFCカウンタNCのカウントダウンを開始する。S45が終了すると、S42に戻る。 In S45, the CPU 42 resets the value of the NFC counter NC in the main memory 44 to the initial value of 5 (seconds), and starts the countdown of the NFC counter NC. When S45 is completed, the process returns to S42.

(CPU42の接続関係処理;図4)
続いて、図4を参照して、図3のS44で開始される接続関係処理について説明する。S50では、CPU42は、プリンタPRの動作状態がG/O状態であるのか否かを判断する。CPU42は、プリンタPRの動作状態がG/O状態であると判断する場合(S50でYES)には、S52をスキップしてS54に進み、プリンタPRの動作状態がデバイス状態であると判断する場合(S50でNO)には、S52に進む。ここで、デバイス状態とは、プリンタPRがWFD方式のG/O状態及びCL状態のどちらでも動作しておらず、プリンタPRが無線ネットワークに所属していない状態である。なお、図示省略しているが、S50において、CPU42は、プリンタPRの動作状態がCL状態であると判断する場合には、図4のS52〜S76の全ての処理を実行せずに、図4の接続関係処理を終了する。
(Connection-related processing of CPU 42; FIG. 4)
Subsequently, with reference to FIG. 4, the connection-related processing started in S44 of FIG. 3 will be described. In S50, the CPU 42 determines whether or not the operating state of the printer PR is the G / O state. When the CPU 42 determines that the operating state of the printer PR is the G / O state (YES in S50), the CPU 42 skips S52 and proceeds to S54, and determines that the operating state of the printer PR is the device state. (NO in S50), the process proceeds to S52. Here, the device state is a state in which the printer PR is not operating in either the G / O state or the CL state of the WFD method, and the printer PR does not belong to the wireless network. Although not shown, when the CPU 42 determines in S50 that the operating state of the printer PR is the CL state, the CPU 42 does not execute all the processes of S52 to S76 in FIG. Ends the connection-related processing of.

S52では、CPU42は、プリンタPRの動作状態をデバイス状態からG/O状態に変更して、プリンタPRがG/O機器であるWFDNWを形成する。当該WFDNWは、メインメモリ44に現在記憶されている無線プロファイルWP(図3のS40参照)が利用されるべき無線ネットワークである。S52でWFDNWが形成された時点では、WFDNWには、G/O機器であるプリンタPRのみが所属しており、1個のCL機器も所属していない。従って、メインメモリ44内の管理リストMLには、1個のCL情報も記述されていない。S52が終了すると、S54に進む。 In S52, the CPU 42 changes the operating state of the printer PR from the device state to the G / O state, and forms the WFDNW in which the printer PR is a G / O device. The WFDNW is a wireless network to which the wireless profile WP (see S40 in FIG. 3) currently stored in the main memory 44 should be used. At the time when the WFDNW is formed in S52, only the printer PR, which is a G / O device, belongs to the WFDNW, and no CL device belongs to the WFDNW. Therefore, even one CL information is not described in the management list ML in the main memory 44. When S52 is completed, the process proceeds to S54.

S54では、CPU42は、メインメモリ44内のG/OカウンタGCをカウント中であるのか否かを判断する。より具体的には、CPU42は、G/OカウンタGCの値が1〜299(秒)のいずれかである場合には、G/OカウンタGCをカウント中であると判断して(S54でYES)、S58において、G/OカウンタGCの値を現行値(例えば200(秒))から初期値である300(秒)にリセットして、G/OカウンタGCのカウントダウンを開始する。CPU42は、S58が終了すると、S60及びS76の各監視ステップを順次実行する。 In S54, the CPU 42 determines whether or not the G / O counter GC in the main memory 44 is being counted. More specifically, when the value of the G / O counter GC is any of 1 to 299 (seconds), the CPU 42 determines that the G / O counter GC is being counted (YES in S54). ), In S58, the value of the G / O counter GC is reset from the current value (for example, 200 (seconds)) to the initial value of 300 (seconds), and the countdown of the G / O counter GC is started. When S58 is completed, the CPU 42 sequentially executes each of the monitoring steps of S60 and S76.

また、CPU42は、G/OカウンタGCがゼロ又は300(秒)で停止している場合には、G/OカウンタGCをカウント中でないと判断して(S54でNO)、S56に進む。S56では、CPU42は、G/OカウンタGCが、ゼロで停止しているのか、300(秒)で停止しているのかを判断する。CPU42は、G/OカウンタGCがゼロで停止していると判断する場合(S56でYES)には、S58において、G/OカウンタGCをゼロから初期値である300(秒)にリセットして、G/OカウンタGCのカウントダウンを開始する。また、CPU42は、G/OカウンタGCが300(秒)で停止していると判断する場合(S56でNO)には、S58をスキップして、S60及びS76の各監視ステップを順次実行する。 Further, when the G / O counter GC is stopped at zero or 300 (seconds), the CPU 42 determines that the G / O counter GC is not counting (NO in S54), and proceeds to S56. In S56, the CPU 42 determines whether the G / O counter GC is stopped at zero or at 300 (seconds). When the CPU 42 determines that the G / O counter GC is stopped at zero (YES in S56), the CPU 42 resets the G / O counter GC from zero to the initial value of 300 (seconds) in S58. , The countdown of the G / O counter GC is started. When the CPU 42 determines that the G / O counter GC is stopped at 300 (seconds) (NO in S56), the CPU 42 skips S58 and sequentially executes the monitoring steps of S60 and S76.

S60では、CPU42は、携帯端末から、無線LANI/F20を介して、特定の接続要求を受信することを監視する。特定の接続要求は、Probe Requestであり、メインメモリ44に現在記憶されている無線プロファイルWP内のSSIDを含む。特定の接続要求は、プリンタPRがG/O機器である状況、即ち、WFDNWが形成されている状況で受信される要求である。CPU42は、携帯端末から特定の接続要求を受信する場合に、S60でYESと判断して、S62に進む。なお、複数個の接続関係処理が並列的に実行されている状況では、CPU42は、携帯端末から特定の接続要求を受信する場合に、当該複数個の接続関係処理のうちの1個の接続関係処理のS60でYESと判断して、S62に進む。即ち、CPU42は、当該複数個の接続関係処理のうちの他の接続関係処理では、S60でYESと判断せずに、S60及びS76の監視ステップを順次実行する状態を維持する。 In S60, the CPU 42 monitors the reception of a specific connection request from the mobile terminal via the wireless LANI / F20. The particular connection request is a Probe Request, which includes the SSID in the radio profile WP currently stored in the main memory 44. The specific connection request is a request received in a situation where the printer PR is a G / O device, that is, a situation in which a WFDNW is formed. When the CPU 42 receives a specific connection request from the mobile terminal, the CPU 42 determines YES in S60 and proceeds to S62. In a situation where a plurality of connection-related processes are executed in parallel, the CPU 42 receives one connection relationship from the plurality of connection-related processes when receiving a specific connection request from the mobile terminal. It is determined as YES in S60 of the process, and the process proceeds to S62. That is, in the other connection-related processes among the plurality of connection-related processes, the CPU 42 maintains a state in which the monitoring steps of S60 and S76 are sequentially executed without determining YES in S60.

S62では、CPU42は、特定の接続要求の送信元の携帯端末(以下では「対象携帯端末」と呼ぶ)とのWi−Fi接続を確立する。具体的には、CPU42は、無線LANI/F20を介して、特定の接続要求に対する応答信号(即ちProbe Response)を対象携帯端末に送信する。さらに、CPU42は、無線LANI/F20を介して、Provision Discovery Request/Response、Association Request/Response、Authentication Request/Response、4-Way Handshake等の通信を実行する。この過程において、対象携帯端末からプリンタPRに無線プロファイルWPに含まれる各情報(例えば、認証方式、暗号化方式、パスワード等)が送信され、CPU42は、当該各情報を利用して、対象携帯端末の認証を実行する。CPU42は、対象携帯端末の認証が成功する場合に、無線LANI/F20を介した対象携帯端末とのWi−Fi接続を確立する。これにより、CPU42は、プリンタPRがG/O機器であるWFDNWに対象携帯端末をCL機器として参加させることができる。CPU42は、対象携帯端末とのWi−Fi接続を確立する場合に、対象携帯端末のMACアドレスを含むCL情報をメインメモリ44内の管理リストMLに記述する。 In S62, the CPU 42 establishes a Wi-Fi connection with the mobile terminal (hereinafter referred to as "target mobile terminal") that is the source of the specific connection request. Specifically, the CPU 42 transmits a response signal (that is, Probe Response) to a specific connection request to the target mobile terminal via the wireless LANI / F20. Further, the CPU 42 executes communication such as Provision Discovery Request / Response, Association Request / Response, Authentication Request / Response, and 4-Way Handshake via the wireless LANI / F20. In this process, each information (for example, authentication method, encryption method, password, etc.) included in the wireless profile WP is transmitted from the target mobile terminal to the printer PR, and the CPU 42 uses the respective information to use the target mobile terminal. Authenticate. When the authentication of the target mobile terminal is successful, the CPU 42 establishes a Wi-Fi connection with the target mobile terminal via the wireless LANI / F20. As a result, the CPU 42 can participate the target mobile terminal as a CL device in the WFDNW in which the printer PR is a G / O device. When establishing a Wi-Fi connection with the target mobile terminal, the CPU 42 describes CL information including the MAC address of the target mobile terminal in the management list ML in the main memory 44.

S64では、CPU42は、メインメモリ44内のG/OカウンタGCをカウント中であるのか否かを判断する。より具体的には、CPU42は、G/OカウンタGCの値が1〜299(秒)のいずれかである場合には、G/OカウンタGCをカウント中であると判断して(S64でYES)、S66において、G/OカウンタGCのカウントを停止して、G/OカウンタGCの値を現行値(例えば200(秒))から初期値である300(秒)にリセットする。ただし、ここでは、CPU42は、G/OカウンタGCのカウントを開始しない。従って、G/OカウンタGCが300(秒)で停止している状態になり、この結果、別の接続関係処理のS56でNOと判断され得る。上述したように、S66において、G/OカウンタGCが300(秒)で停止するので、対象携帯端末がWFDNWに参加している状況で、G/OカウンタGCがゼロになることが抑制される。即ち、後述の図5の監視処理で説明するように、プリンタPRは、対象携帯端末がWFDNWに参加しているにも関わらず、G/O状態からデバイス状態に移行することを抑制することができる。S66が終了すると、S68に進む。 In S64, the CPU 42 determines whether or not the G / O counter GC in the main memory 44 is being counted. More specifically, when the value of the G / O counter GC is any of 1 to 299 (seconds), the CPU 42 determines that the G / O counter GC is being counted (YES in S64). ), In S66, the count of the G / O counter GC is stopped, and the value of the G / O counter GC is reset from the current value (for example, 200 (seconds)) to the initial value of 300 (seconds). However, here, the CPU 42 does not start counting the G / O counter GC. Therefore, the G / O counter GC is stopped at 300 (seconds), and as a result, it can be determined as NO in S56 of another connection-related process. As described above, in S66, since the G / O counter GC stops at 300 (seconds), it is suppressed that the G / O counter GC becomes zero in the situation where the target mobile terminal participates in WFDNW. .. That is, as described in the monitoring process of FIG. 5 described later, the printer PR can suppress the transition from the G / O state to the device state even though the target mobile terminal participates in the WFDNW. it can. When S66 is completed, the process proceeds to S68.

また、CPU42は、G/OカウンタGCが300(秒)で停止している場合には、G/OカウンタGCをカウント中でないと判断して(S64でNO)、S66をスキップしてS68に進む。なお、S64の段階において、G/OカウンタGCがゼロで停止している状況はあり得ない。何故なら、G/OカウンタGCがゼロになると、終了イベントが発行され(図5のS86参照)、接続関係処理が終了するからである(図4のS76でYES)。 Further, when the G / O counter GC is stopped at 300 (seconds), the CPU 42 determines that the G / O counter GC is not counting (NO in S64), skips S66, and shifts to S68. move on. At the stage of S64, there can be no situation where the G / O counter GC is stopped at zero. This is because when the G / O counter GC becomes zero, an end event is issued (see S86 in FIG. 5), and the connection-related processing ends (YES in S76 in FIG. 4).

S68では、CPU42は、印刷処理を実行する。具体的には、CPU42は、まず、プリンタPRがG/O機器であるWFDNWを利用して、CL機器である対象携帯端末から、無線LANI/F20を介して、印刷対象の画像を表わす印刷データを受信する。次いで、CPU42は、印刷データを印刷実行部16に供給して、画像の印刷を印刷実行部16に実行させる。 In S68, the CPU 42 executes the printing process. Specifically, the CPU 42 first uses WFDNW, which is a G / O device for the printer PR, to print data representing an image to be printed from a target mobile terminal, which is a CL device, via a wireless LANI / F20. To receive. Next, the CPU 42 supplies the print data to the print execution unit 16 and causes the print execution unit 16 to print the image.

印刷データは、画像ファイル等であるので、比較的に大きいデータサイズを有する。そして、NFC通信の通信速度は、Wi−Fi通信の通信速度よりも遅い。従って、仮に、プリンタPRと対象携帯端末との間で、NFC通信に従って印刷データの無線通信が実行される構成を採用すると、プリンタPRは、印刷データを受信するために長時間を要する。これに対し、本実施例では、プリンタPRと対象携帯端末との間で、Wi−Fi通信に従って印刷データの無線通信が実行されるので、プリンタPRは、印刷データを迅速に受信することができる。 Since the print data is an image file or the like, it has a relatively large data size. The communication speed of NFC communication is slower than the communication speed of Wi-Fi communication. Therefore, if a configuration is adopted in which wireless communication of print data is executed between the printer PR and the target mobile terminal according to NFC communication, the printer PR takes a long time to receive the print data. On the other hand, in the present embodiment, since the wireless communication of the print data is executed between the printer PR and the target mobile terminal according to the Wi-Fi communication, the printer PR can quickly receive the print data. ..

S70では、CPU42は、無線LANI/F20を介して、PING信号を対象携帯端末に送信する。PING信号は、対象携帯端末とのWi−Fi接続が確立されているのか否かを確認するための信号である。そして、S72では、CPU42は、対象携帯端末から、無線LANI/F20を介して、PING信号に対する応答信号を受信することを監視する。CPU42は、対象携帯端末から応答信号を受信する場合に、S72でYESと判断して、S70に戻る。また、CPU42は、S70でPING信号を送信してから所定時間が経過するまでの間に、対象携帯端末から応答信号を受信しない場合に、S72でNOと判断して、S74に進む。 In S70, the CPU 42 transmits a PING signal to the target mobile terminal via the wireless LANI / F20. The PING signal is a signal for confirming whether or not a Wi-Fi connection with the target mobile terminal has been established. Then, in S72, the CPU 42 monitors the reception of the response signal to the PING signal from the target mobile terminal via the wireless LANI / F20. When the CPU 42 receives the response signal from the target mobile terminal, the CPU 42 determines YES in S72 and returns to S70. Further, when the CPU 42 does not receive the response signal from the target mobile terminal between the time when the PING signal is transmitted in S70 and the time when the predetermined time elapses, the CPU 42 determines NO in S72 and proceeds to S74.

S74では、CPU42は、対象携帯端末のMACアドレスを含むCL情報、即ち、S62で記述されたCL情報を、メインメモリ44内の管理リストMLから削除する。これにより、対象携帯端末がWFDNWから離脱する。S74が終了すると、S60に戻る。このために、CPU42は、仮に、対象携帯端末から特定の接続要求を再び受信する場合(S60でYES)に、対象携帯端末とのWi−Fi接続を再び確立することができる(S62)。 In S74, the CPU 42 deletes the CL information including the MAC address of the target mobile terminal, that is, the CL information described in S62, from the management list ML in the main memory 44. As a result, the target mobile terminal leaves the WFDNW. When S74 is completed, the process returns to S60. Therefore, if the CPU 42 receives a specific connection request again from the target mobile terminal (YES in S60), the CPU 42 can reestablish the Wi-Fi connection with the target mobile terminal (S62).

一方、S76では、CPU42は、後述の図5の監視処理で終了イベント(S86参照)が発行されることを監視する。CPU42は、終了イベントが発行される場合に、S76でYESと判断して、図4の処理を終了する。 On the other hand, in S76, the CPU 42 monitors that the end event (see S86) is issued in the monitoring process of FIG. 5 described later. When the end event is issued, the CPU 42 determines YES in S76 and ends the process of FIG.

(CPU42の監視処理;図5)
続いて、図5を参照して、制御部40のCPU42によって実行される監視処理について説明する。プリンタPRの動作状態がデバイス状態からG/O状態に切替えられると(図4のS52参照)、CPU42は、監視処理を実行する。
(Monitoring process of CPU 42; FIG. 5)
Subsequently, with reference to FIG. 5, the monitoring process executed by the CPU 42 of the control unit 40 will be described. When the operating state of the printer PR is switched from the device state to the G / O state (see S52 in FIG. 4), the CPU 42 executes the monitoring process.

S80では、CPU42は、メインメモリ44内のG/OカウンタGCが300(秒)で停止しているのか否かを判断する。CPU42は、G/OカウンタGCが300(秒)で停止していると判断する場合(S80でYES)には、S94に進む。一方、CPU42は、G/OカウンタGCが300(秒)で停止していないと判断する場合、即ち、G/OカウンタGCの値が0〜299のいずれかであると判断する場合(S80でNO)には、S82に進む。 In S80, the CPU 42 determines whether or not the G / O counter GC in the main memory 44 is stopped at 300 (seconds). When the CPU 42 determines that the G / O counter GC is stopped at 300 (seconds) (YES in S80), the CPU 42 proceeds to S94. On the other hand, when the CPU 42 determines that the G / O counter GC has not stopped at 300 (seconds), that is, when it determines that the value of the G / O counter GC is any of 0 to 299 (in S80). For NO), the process proceeds to S82.

S82では、CPU42は、G/OカウンタGCがゼロ(秒)で停止しているのか否かを判断する。CPU42は、G/OカウンタGCがゼロで停止していないと判断する場合、即ち、G/OカウンタGCの値が1〜299のいずれかであると判断する場合(S82でNO)には、S80に戻る。一方、CPU42は、G/OカウンタGCがゼロで停止していると判断する場合(S82でYES)には、S84に進む。 In S82, the CPU 42 determines whether or not the G / O counter GC is stopped at zero (seconds). When the CPU 42 determines that the G / O counter GC is not stopped at zero, that is, when it determines that the value of the G / O counter GC is one of 1 to 299 (NO in S82), the CPU 42 determines. Return to S80. On the other hand, when the CPU 42 determines that the G / O counter GC is stopped at zero (YES in S82), the CPU 42 proceeds to S84.

S84では、CPU42は、プリンタPRの動作状態をG/O状態からデバイス状態に移行させて、プリンタPRがG/O機器であるWFDNWを消滅させる。 In S84, the CPU 42 shifts the operating state of the printer PR from the G / O state to the device state, and eliminates the WFDNW in which the printer PR is a G / O device.

S86では、CPU42は、終了イベントを発行する。この結果、現在実行されている1個以上の接続関係処理のそれぞれのS76(図4参照)でYESと判断され、当該1個以上の接続関係処理が終了する。 In S86, the CPU 42 issues an end event. As a result, YES is determined in each S76 (see FIG. 4) of the one or more connection-related processes currently being executed, and the one or more connection-related processes are completed.

次いで、CPU42は、S88において、無線プロファイルWPを準備し、S90において、S88で準備された無線プロファイルWPを含む記憶指示をNFCI/F30に供給する。S88及びS90は、図3のS40及びS41と同様である。上述したように、S40では、CPU42は、ランダムに文字列を選択することによって、SSID及びパスワードを準備する。この点は、S88でも同様である。従って、S88で準備されるSSID及びパスワードは、通常、S40で準備されるSSID及びパスワードとは異なる。また、今回のS88で準備されるSSID及びパスワードは、通常、前回のS88で準備されたSSID及びパスワードとは異なる。このように、CPU42は、過去に利用されていないユニークな無線プロファイルWPを準備することができる。S90が終了すると、図5の処理が終了する。 Then, CPU 42, in S88, to prepare the wireless profile WP, in S90, and supplies the NFC I / F30 storage instruction including the wireless profile WP prepared with S88. S88 and S90 are the same as S40 and S41 in FIG. As described above, in S40, the CPU 42 prepares the SSID and password by randomly selecting a character string. This point is the same in S88. Therefore, the SSID and password prepared in S88 are usually different from the SSID and password prepared in S40. Further, the SSID and password prepared in S88 this time are usually different from the SSID and password prepared in S88 last time. In this way, the CPU 42 can prepare a unique wireless profile WP that has not been used in the past. When S90 ends, the process of FIG. 5 ends.

一方、S94では、CPU42は、メインメモリ44内の管理リストMLに記述されているCL情報の数がゼロであるのか否かを判断する。即ち、CPU42は、プリンタPRがG/O機器であるWFDNWに参加しているCL機器の数がゼロであるのか否かを判断する。CPU42は、CL情報の数がゼロでないと判断する場合(S94でNO)には、S80に戻り、CL情報の数がゼロであると判断する場合(S94でYES)には、S96に進む。 On the other hand, in S94, the CPU 42 determines whether or not the number of CL information described in the management list ML in the main memory 44 is zero. That is, the CPU 42 determines whether or not the number of CL devices in which the printer PR participates in the WFDNW, which is a G / O device, is zero. When the CPU 42 determines that the number of CL information is not zero (NO in S94), the CPU 42 returns to S80, and when it determines that the number of CL information is zero (YES in S94), the CPU 42 proceeds to S96.

S96では、CPU42は、G/OカウンタGCのカウントダウンを開始する。G/OカウンタGCが300(秒)で停止しているので(S80でYES)、CPU42は、初期値である300(秒)からカウントダウンを開始する。S96が終了すると、S82に進む。 In S96, the CPU 42 starts the countdown of the G / O counter GC. Since the G / O counter GC is stopped at 300 (seconds) (YES in S80), the CPU 42 starts the countdown from the initial value of 300 (seconds). When S96 is completed, the process proceeds to S82.

(ケースA;図6)
続いて、図6〜図9を参照して、図2〜図5のフローチャートによって実現される具体的なケースA〜ケースDを説明する。
(Case A; Fig. 6)
Subsequently, specific cases A to D realized by the flowcharts of FIGS. 2 to 5 will be described with reference to FIGS. 6 to 9.

プリンタPRの電源がOFF状態からON状態に切替えられると、制御部40は、無線プロファイルWP1を準備して(図3のS40)、無線プロファイルWP1を含む記憶指示100をNFCI/F30に供給する(S41)。この結果、I/Fメモリ34内に無線プロファイルWP1が書き込まれる(図2のS12)。 When the power supply of the printer PR is switched from the OFF state to the ON state, the control unit 40 prepares the wireless profile WP1 (S40 in FIG. 3) and supplies the storage instruction 100 including the wireless profile WP1 to the NFCI / F30 (S40 in FIG. 3). S41). As a result, the radio profile WP1 is written in the I / F memory 34 (S12 in FIG. 2).

携帯端末PT2のユーザは、携帯端末PT2をプリンタPRに近づける。これにより、プリンタPRのNFCI/F30と携帯端末PT2のNFCI/Fとの間のデバイス間距離が所定距離(例えば10cm)より大きい状況から、デバイス間距離が所定距離以下である状況に変化する。この結果、プリンタPRのNFCI/F30は、携帯端末PT2からPolling信号110を受信し(図2のS20でYES)、所定通知110Aを制御部40に供給する(S21)。この時点ではNFCカウンタNCの値がゼロであるので、制御部40は、所定通知110Aに応じて接続関係処理SP1を開始し(図3のS42でYES、S43でYES、S44)、NFCカウンタNCの値をゼロから5(秒)にリセットして、NFCカウンタNCのカウントダウンを開始する(S45)。また、制御部40は、接続関係処理SP1において、プリンタPRの動作状態をデバイス状態からG/O状態に移行させて(図4のS52)、無線プロファイルWP1が利用されるべき第1のWFDNWを形成する。さらに、制御部40は、G/OカウンタGCの値をゼロから300(秒)にリセットして、G/OカウンタGCのカウントダウンを開始する(S54でNO、S56でYES、S58)。 The user of the mobile terminal PT2 brings the mobile terminal PT2 closer to the printer PR. As a result, the distance between devices between the NFCI / F30 of the printer PR and the NFCI / F of the mobile terminal PT2 changes from a situation where the distance between devices is larger than a predetermined distance (for example, 10 cm) to a situation where the distance between devices is less than or equal to a predetermined distance. As a result, the NFCI / F30 of the printer PR receives the Polling signal 110 from the mobile terminal PT2 (YES in S20 of FIG. 2) and supplies the predetermined notification 110A to the control unit 40 (S21). Since the value of the NFC counter NC is zero at this point, the control unit 40 starts the connection-related processing SP1 in response to the predetermined notification 110A (YES in S42, YES in S43, S44 in FIG. 3), and the NFC counter NC. The value of is reset from zero to 5 (seconds), and the countdown of the NFC counter NC is started (S45). Further, the control unit 40 shifts the operating state of the printer PR from the device state to the G / O state in the connection-related processing SP1 (S52 in FIG. 4), and sets the first WFDNW to which the wireless profile WP1 should be used. Form. Further, the control unit 40 resets the value of the G / O counter GC from zero to 300 (seconds) and starts the countdown of the G / O counter GC (NO in S54, YES in S56, S58).

第1のWFDNWが形成された時点では、第1のWFDNWに参加しているCL機器の数はゼロである。そして、上述したように、制御部40は、所定通知110Aを取得する際に、G/OカウンタGCのカウントダウンを300(秒)から開始する。これにより、制御部40は、所定通知110Aを取得する際に、CL機器の数がゼロである状況でプリンタPRの動作状態をG/O状態に維持するためのG/O維持期間の終期(即ち、所定通知110Aの取得から300(秒)後の時点)を決定することができる。 At the time when the first WFDNW is formed, the number of CL devices participating in the first WFDNW is zero. Then, as described above, the control unit 40 starts the countdown of the G / O counter GC from 300 (seconds) when acquiring the predetermined notification 110A. As a result, when the control unit 40 acquires the predetermined notification 110A, the end of the G / O maintenance period for maintaining the operating state of the printer PR in the G / O state in the situation where the number of CL devices is zero ( That is, a time point 300 (seconds) after the acquisition of the predetermined notification 110A) can be determined.

また、プリンタPRのNFCI/F30は、Polling信号110に対する応答信号112を携帯端末PT2に送信する(図2のS22)。この結果、プリンタPRのNFCI/F30と携帯端末PT2のNFCI/Fとの間にNFCセッションが確立される。その後、NFCI/F30は、NFCセッションを利用して、携帯端末PT2からRead信号114を受信し(S23)、所定通知114Aを制御部40に供給する(S24)。ただし、この時点ではNFCカウンタNCの値が4(秒)であるので、制御部40は、所定通知114Aに応じて接続関係処理を新たに開始しない(図3のS42でYES、S43でNO)。次いで、NFCI/F30は、Read信号114に応じて、NFCセッションを利用して、無線プロファイルWP1を携帯端末PT2に送信する(S25)。このように、本実施例では、プリンタPRは、第1のWFDNWが形成される前にNFCI/F30に予め記憶されている無線プロファイルWP1を携帯端末PT2に送信することができる。 Further, the NFCI / F30 of the printer PR transmits a response signal 112 to the Polling signal 110 to the mobile terminal PT2 (S22 in FIG. 2). As a result, an NFC session is established between the NFCI / F30 of the printer PR and the NFCI / F of the mobile terminal PT2. After that, the NFCI / F30 receives the Read signal 114 from the mobile terminal PT2 using the NFC session (S23), and supplies the predetermined notification 114A to the control unit 40 (S24). However, since the value of the NFC counter NC is 4 (seconds) at this point, the control unit 40 does not newly start the connection-related processing in response to the predetermined notification 114A (YES in S42 and NO in S43 in FIG. 3). .. Next, the NFCI / F30 transmits the radio profile WP1 to the mobile terminal PT2 using the NFC session in response to the Read signal 114 (S25). As described above, in this embodiment, the printer PR can transmit the radio profile WP1 stored in advance in the NFCI / F30 to the mobile terminal PT2 before the first WFDNW is formed.

また、NFCI/F30は、NFCセッションを利用して、携帯端末PT2から確認信号116を受信し(図2のS30でYES)、所定通知116Aを制御部40に供給する(S32)。ただし、この時点ではNFCカウンタNCの値が3(秒)であるので、制御部40は、所定通知116Aに応じて接続関係処理を新たに開始しない(図3のS42でYES、S43でNO)。NFCI/F30は、確認信号116に対する応答信号118を携帯端末PT2に送信する(S34)。 Further, the NFCI / F30 receives the confirmation signal 116 from the mobile terminal PT2 using the NFC session (YES in S30 of FIG. 2), and supplies the predetermined notification 116A to the control unit 40 (S32). However, since the value of the NFC counter NC is 3 (seconds) at this point, the control unit 40 does not newly start the connection-related processing in response to the predetermined notification 116A (YES in S42 and NO in S43 in FIG. 3). .. The NFCI / F30 transmits a response signal 118 to the confirmation signal 116 to the mobile terminal PT2 (S34).

上述したように、制御部40は、所定通知110Aに応じて接続関係処理SP1を開始するが、所定通知110Aを取得してから5(秒)が経過するまでの間に、所定通知114A及び所定通知116Aを再び取得しても、接続関係処理を開始しない。換言すると、制御部40は、所定通知110Aに応じて、接続関係処理SP1の開始トリガの指示を検出するが(図3のS43でYES)、所定通知114A及び所定通知116Aに応じて、当該指示を検出しない(図3のS43でNO)。所定通知114A及び所定通知116Aに応じて接続関係処理が実行されないので、プリンタPRの処理負荷を軽減させることができる。 As described above, the control unit 40 starts the connection-related processing SP1 in response to the predetermined notification 110A, but the predetermined notification 114A and the predetermined notification 114A and the predetermined notification 114A are set between the acquisition of the predetermined notification 110A and the elapse of 5 (seconds). Even if the notification 116A is acquired again, the connection-related processing is not started. In other words, the control unit 40 detects the instruction of the start trigger of the connection-related processing SP1 in response to the predetermined notification 110A (YES in S43 of FIG. 3), but the instruction is in response to the predetermined notification 114A and the predetermined notification 116A. Is not detected (NO in S43 of FIG. 3). Since the connection-related processing is not executed according to the predetermined notification 114A and the predetermined notification 116A, the processing load of the printer PR can be reduced.

携帯端末PT2は、プリンタアプリPAを備えていないので、プリンタPRから無線プロファイルWP1を受信しても、接続要求をプリンタPRに送信することができず、第1のWFDNWにCL機器として参加することができない。この結果、第1のWFDNWのCL機器の数がゼロである状況が維持されたまま、G/OカウンタGCのカウントダウンが進み、G/OカウンタGCの値がゼロになる。即ち、G/O維持期間の終期が到来する。この場合、制御部40は、プリンタPRの動作状態をG/O状態からデバイス状態に移行させて、第1のWFDNWを消滅させる(図5のS82でYES、S84)。次いで、制御部40は、終了イベントを発行させ(S86)、接続関係処理SP1を終了させる(図4のS76でYES)。 Since the mobile terminal PT2 does not have the printer application PA, even if the wireless profile WP1 is received from the printer PR, the connection request cannot be transmitted to the printer PR, and the mobile terminal PT2 participates in the first WFDNW as a CL device. I can't. As a result, the countdown of the G / O counter GC proceeds while the situation where the number of CL devices of the first WFDNW is zero is maintained, and the value of the G / O counter GC becomes zero. That is, the end of the G / O maintenance period has arrived. In this case, the control unit 40 shifts the operating state of the printer PR from the G / O state to the device state and extinguishes the first WFDNW (YES, S84 in S82 of FIG. 5). Next, the control unit 40 issues a termination event (S86) and terminates the connection-related processing SP1 (YES in S76 of FIG. 4).

次いで、制御部40は、無線プロファイルWP1とは異なる無線プロファイルWP2を準備して(図5のS88)、無線プロファイルWP2を含む記憶指示160をNFCI/F30に供給する(S90)。この結果、I/Fメモリ34内に無線プロファイルWP2が書き込まれる(図2のS12)。無線プロファイルWP2は、将来形成されるべき第2のWFDNWで利用されるべき無線プロファイルである。プリンタPRは、仮に、携帯端末(例えばWP1)からPolling信号を受信する場合に、第2のWFDNWが形成される前にNFCI/F30に予め記憶されている無線プロファイルWP2を携帯端末に送信することができる。 Next, the control unit 40 prepares a radio profile WP2 different from the radio profile WP1 (S88 in FIG. 5), and supplies the storage instruction 160 including the radio profile WP2 to the NFCI / F30 (S90). As a result, the radio profile WP2 is written in the I / F memory 34 (S12 in FIG. 2). The radio profile WP2 is a radio profile to be used in the second WFDNW to be formed in the future. If the printer PR receives a Polling signal from a mobile terminal (for example, WP1), the printer PR transmits the wireless profile WP2 stored in advance in the NFCI / F30 to the mobile terminal before the second WFDNW is formed. Can be done.

上述したように、本実施例では、プリンタPRは、G/O維持期間の終期が到来する際に、G/O状態からデバイス状態に移行して、第1のWFDNWを消滅させる。その理由は、以下のとおりである。即ち、G/O状態のプリンタPRは、無線LANI/F20を介して、プリンタPRの周囲に存在する機器をサーチするためのビーコン信号を定期的に送信する。従って、G/O状態のプリンタPRの消費電力は、通常、ビーコン信号を送信しないデバイス状態のプリンタPRの消費電力よりも大きい。本実施例では、G/O維持期間の終期が到来する際に、プリンタPRがG/O状態からデバイス状態に移行するので、プリンタPRの消費電力を適切に低減させることができる。 As described above, in the present embodiment, when the end of the G / O maintenance period is reached, the printer PR shifts from the G / O state to the device state and extinguishes the first WFDNW. The reason is as follows. That is, the printer PR in the G / O state periodically transmits a beacon signal for searching for devices existing around the printer PR via the wireless LANI / F20. Therefore, the power consumption of the printer PR in the G / O state is usually larger than the power consumption of the printer PR in the device state that does not transmit the beacon signal. In this embodiment, when the end of the G / O maintenance period is reached, the printer PR shifts from the G / O state to the device state, so that the power consumption of the printer PR can be appropriately reduced.

(ケースB;図7)
続いて、図7を参照して、ケースBを説明する。ケースBの初期状態では、NFCI/F30に無線プロファイルWP1が既に記憶されている(例えば図3のS41、図2のS12)。また、ケースBでは、Read信号及び確認信号を図示省略しており、それらの説明を省略する。後述の図8及び図9のケースC及びケースDでも、Read信号及び確認信号に関する説明を省略する。
(Case B; Fig. 7)
Subsequently, the case B will be described with reference to FIG. 7. In the initial state of Case B, the radio profile WP1 is already stored in the NFCI / F30 (for example, S41 in FIG. 3 and S12 in FIG. 2). Further, in Case B, the Read signal and the confirmation signal are not shown, and their description will be omitted. Also in Cases C and D of FIGS. 8 and 9 described later, the description of the Read signal and the confirmation signal will be omitted.

携帯端末PT1のユーザは、携帯端末PT1をプリンタPRに近づける。これにより、プリンタPRのNFCI/F30は、携帯端末PT1からPolling信号210を受信し(図2のS20でYES)、所定通知210Aを制御部40に供給する(S21)。制御部40は、所定通知210Aに応じて接続関係処理SP2を開始し(図3のS42でYES、S43でYES、S44)、接続関係処理SP2において、プリンタPRの動作状態をデバイス状態からG/O状態に移行させて(図4のS52)、無線プロファイルWP1が利用されるべき第1のWFDNWを形成する。さらに、制御部40は、G/OカウンタGCのカウントダウンを300(秒)から開始することによって、G/O維持期間の終期(即ち、所定通知210Aの取得から300(秒)後の時点)を決定する(S54でNO、S56でYES、S58)。 The user of the mobile terminal PT1 brings the mobile terminal PT1 closer to the printer PR. As a result, the NFCI / F30 of the printer PR receives the Polling signal 210 from the mobile terminal PT1 (YES in S20 of FIG. 2) and supplies the predetermined notification 210A to the control unit 40 (S21). The control unit 40 starts the connection-related processing SP2 in response to the predetermined notification 210A (YES in S42, YES in S43, S44 in FIG. 3), and in the connection-related processing SP2, the operating state of the printer PR is changed from the device state to G /. The state shifts to the O state (S52 in FIG. 4), and the radio profile WP1 forms a first WFDNW to be utilized. Further, the control unit 40 starts the countdown of the G / O counter GC from 300 (seconds) to set the end of the G / O maintenance period (that is, a time after 300 (seconds) from the acquisition of the predetermined notification 210A). Determine (NO for S54, YES for S56, S58).

また、プリンタPRのNFCI/F30は、Polling信号210に対する応答信号212を携帯端末PT1に送信する(図2のS22)。この結果、プリンタPRのNFCI/F30と携帯端末PT1のNFCI/Fとの間にNFCセッションが確立される。その後、NFCI/F30は、NFCセッションを利用して、無線プロファイルWP1を携帯端末PT1に送信する(S25)。 Further, the NFCI / F30 of the printer PR transmits a response signal 212 to the Polling signal 210 to the mobile terminal PT1 (S22 in FIG. 2). As a result, an NFC session is established between the NFCI / F30 of the printer PR and the NFCI / F of the mobile terminal PT1. After that, the NFCI / F30 transmits the wireless profile WP1 to the mobile terminal PT1 by using the NFC session (S25).

携帯端末PT1は、プリンタアプリPAを備えているので、プリンタPRから無線プロファイルWP1を受信する場合に、無線プロファイルWP1内のSSIDを含む接続要求230をプリンタPRに送信することができる。この結果、プリンタPRの制御部40は、携帯端末PT1から、無線LANI/F20を介して、接続要求230を受信する(図4のS60でYES)。そして、制御部40は、携帯端末PT1とのWi−Fi接続を確立して、携帯端末PT1を第1のWFDNWにCL機器として参加させる(S62)。即ち、携帯端末PT1のMACアドレスを含むCL情報が管理リストML(図1参照)に記述され、第1のWFDNWに参加しているCL機器の数が「1」になる(図7では「CL数=1」と表現されている)。この時点ではG/OカウンタGCの値が290(秒)であるので(S64でYES)、制御部40は、G/OカウンタGCのカウントを停止して、G/Oカウンタの値を290(秒)から300(秒)にリセットする(S66)。このように、本実施例では、プリンタPRは、G/O維持期間の終期が到来する前に、携帯端末PT1が第1のWFDNWにCL機器として参加する場合に、G/OカウンタGCのカウントを停止する。このために、プリンタPRは、携帯端末PT1が第1のWFDNWに参加している状況で、第1のWFDNWを消滅させないので、第1のWFDNWを利用して、携帯端末PT1と無線通信を適切に実行することができる。 Since the mobile terminal PT1 includes the printer application PA, when receiving the wireless profile WP1 from the printer PR, the connection request 230 including the SSID in the wireless profile WP1 can be transmitted to the printer PR. As a result, the control unit 40 of the printer PR receives the connection request 230 from the mobile terminal PT1 via the wireless LANI / F20 (YES in S60 of FIG. 4). Then, the control unit 40 establishes a Wi-Fi connection with the mobile terminal PT1 and causes the mobile terminal PT1 to participate in the first WFDNW as a CL device (S62). That is, the CL information including the MAC address of the mobile terminal PT1 is described in the management list ML (see FIG. 1), and the number of CL devices participating in the first WFDNW becomes "1" (in FIG. 7, "CL". It is expressed as "number = 1"). At this point, the value of the G / O counter GC is 290 (seconds) (YES in S64), so the control unit 40 stops counting the G / O counter GC and sets the value of the G / O counter to 290 (YES). Reset from (seconds) to 300 (seconds) (S66). As described above, in the present embodiment, the printer PR counts the G / O counter GC when the mobile terminal PT1 participates in the first WFDNW as a CL device before the end of the G / O maintenance period is reached. To stop. For this reason, the printer PR does not extinguish the first WFDNW in the situation where the mobile terminal PT1 participates in the first WFDNW. Therefore, the printer PR uses the first WFDNW to appropriately perform wireless communication with the mobile terminal PT1. Can be executed.

その後、プリンタPRの制御部40は、第1のWFDNWを利用して、無線LANI/F20を介して、携帯端末PT1から印刷データ240を受信して、印刷処理を実行する(図4のS68)。次いで、制御部40は、無線LANI/F20を介して、PING信号250を携帯端末PT1に送信する。例えば、携帯端末PT1のユーザは、プリンタPRでの印刷が終了した後に、携帯端末PT1をプリンタPRからかなり離れた位置まで移動させる。この結果、制御部40は、携帯端末PT1からPING信号250に対する応答信号を受信せず(S72でNO)、管理リストMLから携帯端末PT1のMACアドレスを含むCL情報を削除する(S74)。これにより、携帯端末PT1が第1のWFDNWから離脱して、第1のWFDNWに参加しているCL機器の数がゼロになる(図7では「CL数=0」と表現されている)。この場合、制御部40は、G/OカウンタGCのカウントダウンを300(秒)から開始する(図5のS94でYES、S96)。 After that, the control unit 40 of the printer PR receives the print data 240 from the mobile terminal PT1 via the wireless LANI / F20 using the first WFDNW, and executes the print process (S68 in FIG. 4). .. Next, the control unit 40 transmits the PING signal 250 to the mobile terminal PT1 via the wireless LANI / F20. For example, the user of the mobile terminal PT1 moves the mobile terminal PT1 to a position considerably away from the printer PR after printing with the printer PR is completed. As a result, the control unit 40 does not receive the response signal to the PING signal 250 from the mobile terminal PT1 (NO in S72), and deletes the CL information including the MAC address of the mobile terminal PT1 from the management list ML (S74). As a result, the mobile terminal PT1 is separated from the first WFDNW, and the number of CL devices participating in the first WFDNW becomes zero (in FIG. 7, it is expressed as "CL number = 0"). In this case, the control unit 40 starts the countdown of the G / O counter GC from 300 (seconds) (YES, S96 in S94 of FIG. 5).

上述したように、携帯端末PT1が第1のWFDNWから離脱すると、第1のWFDNWに参加しているCL機器の数がゼロになる。そして、制御部40は、CL機器の数がゼロになる際に、G/OカウンタGCのカウントダウンを300(秒)から開始する。これにより、制御部40は、CL機器の数がゼロになる際に、G/O維持期間の終期(即ち、CL機器の数がゼロになってから300(秒)後の時点)を決定することができる。 As described above, when the mobile terminal PT1 leaves the first WFDNW, the number of CL devices participating in the first WFDNW becomes zero. Then, the control unit 40 starts the countdown of the G / O counter GC from 300 (seconds) when the number of CL devices becomes zero. As a result, the control unit 40 determines the end of the G / O maintenance period (that is, 300 (seconds) after the number of CL devices becomes zero) when the number of CL devices becomes zero. be able to.

その後、CL機器の数がゼロである状況が維持されたまま、G/OカウンタGCのカウントダウンが進み、G/OカウンタGCの値がゼロになる。この場合、制御部40は、プリンタPRの動作状態をG/O状態からデバイス状態に移行させて、第1のWFDNWを消滅させる(図5のS82でYES、S84)。次いで、制御部40は、終了イベントを発行させ(S86)、接続関係処理SP2を終了させる(図4のS76でYES)。そして、制御部40は、無線プロファイルWP1とは異なる無線プロファイルWP2を準備して(図5のS88)、無線プロファイルWP2を含む記憶指示260をNFCI/F30に供給する(S90)。この結果、I/Fメモリ34内に無線プロファイルWP2が書き込まれる(図2のS12)。 After that, the countdown of the G / O counter GC proceeds while the situation where the number of CL devices is zero is maintained, and the value of the G / O counter GC becomes zero. In this case, the control unit 40 shifts the operating state of the printer PR from the G / O state to the device state and extinguishes the first WFDNW (YES, S84 in S82 of FIG. 5). Next, the control unit 40 issues a termination event (S86) and terminates the connection-related processing SP2 (YES in S76 of FIG. 4). Then, the control unit 40 prepares a radio profile WP2 different from the radio profile WP1 (S88 in FIG. 5), and supplies the storage instruction 260 including the radio profile WP2 to the NFCI / F30 (S90). As a result, the radio profile WP2 is written in the I / F memory 34 (S12 in FIG. 2).

上述したように、本実施例では、プリンタPRは、G/O維持期間の終期が到来する前に、携帯端末PT1がCL機器として第1のWFDNWに参加する場合に、携帯端末PT1から印刷データ240を受信して、印刷処理を適切に実行することができる。また、プリンタPRは、携帯端末PT1が第1のWFDNWから離脱した後に、G/O維持期間の終期が到来する際に、G/O状態からデバイス状態に移行して、第1のWFDNWを消滅させる。このために、プリンタPRの消費電力を適切に低減させることができる。 As described above, in the present embodiment, the printer PR is printed data from the mobile terminal PT1 when the mobile terminal PT1 participates in the first WFDNW as a CL device before the end of the G / O maintenance period. The 240 can be received and the printing process can be appropriately executed. Further, the printer PR shifts from the G / O state to the device state when the end of the G / O maintenance period comes after the mobile terminal PT1 leaves the first WFDNW, and the first WFDNW disappears. Let me. Therefore, the power consumption of the printer PR can be appropriately reduced.

(ケースC;図8)
続いて、図8を参照して、ケースCを説明する。ケースCの初期状態では、NFCI/F30に無線プロファイルWP1が既に記憶されている(例えば図3のS41、図2のS12)。
(Case C; Fig. 8)
Subsequently, the case C will be described with reference to FIG. In the initial state of Case C, the radio profile WP1 is already stored in the NFCI / F30 (for example, S41 in FIG. 3 and S12 in FIG. 2).

プリンタPRと携帯端末PT2との間で、Polling信号310、応答信号312、及び、無線プロファイルWP1のNFC通信が実行される。そして、プリンタPRの制御部40は、所定通知310Aに応じて接続関係処理SP1を開始し(図3のS42でYES、S43でYES、S44)、接続関係処理SP1において、プリンタPRの動作状態をデバイス状態からG/O状態に移行させて(図4のS52)、第1のWFDNWを形成する。制御部40は、さらに、G/OカウンタGCのカウントダウンを300(秒)から開始することによって、G/O維持期間の終期(即ち、所定通知310Aの取得から300(秒)後の時点)を決定する(S54でNO、S56でYES、S58)。 NFC communication of the Polling signal 310, the response signal 312, and the wireless profile WP1 is executed between the printer PR and the mobile terminal PT2. Then, the control unit 40 of the printer PR starts the connection-related processing SP1 in response to the predetermined notification 310A (YES in S42 of FIG. 3, YES in S43, S44), and in the connection-related processing SP1, the operating state of the printer PR is set. The first WFDNW is formed by shifting from the device state to the G / O state (S52 in FIG. 4). The control unit 40 further starts the countdown of the G / O counter GC from 300 (seconds) to set the end of the G / O maintenance period (that is, a time after 300 (seconds) from the acquisition of the predetermined notification 310A). Determine (NO for S54, YES for S56, S58).

その後、G/OカウンタGCのカウントダウンが開始されてから290(秒)が経過した際(即ちG/OカウンタGCの値が10(秒)である際)に、プリンタPRと携帯端末PT1との間で、Polling信号320、応答信号322、及び、無線プロファイルWP1のNFC通信が実行される。そして、プリンタPRの制御部40は、所定通知320Aに応じて接続関係処理SP2を開始する(図3のS42でYES、S43でYES、S44)。この結果、2個の接続関係処理SP1,SP2が並列的に実行されている状況になる。プリンタPRの動作状態がG/O状態であるので、制御部40は、接続関係処理SP2において、プリンタPRの動作状態をデバイス状態からG/O状態に移行させない(図4のS50でYES)。また、この時点ではG/OカウンタGCの値が10(秒)であるので、制御部40は、接続関係処理SP2において、G/OカウンタGCの値を10(秒)から300(秒)にリセットして、G/OカウンタGCのカウントダウンを開始する(S54でYES、S58)。 After that, when 290 (seconds) have elapsed since the countdown of the G / O counter GC was started (that is, when the value of the G / O counter GC is 10 (seconds)), the printer PR and the mobile terminal PT1 NFC communication of the Polling signal 320, the response signal 322, and the radio profile WP1 is executed between them. Then, the control unit 40 of the printer PR starts the connection-related processing SP2 in response to the predetermined notification 320A (YES in S42 of FIG. 3, YES in S43, S44). As a result, the two connection-related processes SP1 and SP2 are being executed in parallel. Since the operating state of the printer PR is the G / O state, the control unit 40 does not shift the operating state of the printer PR from the device state to the G / O state in the connection-related processing SP2 (YES in S50 of FIG. 4). Further, since the value of the G / O counter GC is 10 (seconds) at this point, the control unit 40 changes the value of the G / O counter GC from 10 (seconds) to 300 (seconds) in the connection-related processing SP2. Reset and start the countdown of the G / O counter GC (YES in S54, S58).

所定通知320Aが取得された時点では、第1のWFDNWに参加しているCL機器の数はゼロである。そして、上述したように、制御部40は、所定通知320Aを取得する際に、G/OカウンタGCを10(秒)から300(秒)にリセットして、G/OカウンタGCのカウントダウンを開始する。これにより、制御部40は、所定通知320Aを取得される際に、G/O維持期間の終期を延長して、G/O維持期間の新たな終期(即ち、所定通知320Aの取得から300(秒)後の時点)を決定することができる。 At the time when the predetermined notification 320A is acquired, the number of CL devices participating in the first WFDNW is zero. Then, as described above, the control unit 40 resets the G / O counter GC from 10 (seconds) to 300 (seconds) when acquiring the predetermined notification 320A, and starts the countdown of the G / O counter GC. To do. As a result, when the predetermined notification 320A is acquired, the control unit 40 extends the end of the G / O maintenance period and 300 from the acquisition of the new end of the G / O maintenance period (that is, the acquisition of the predetermined notification 320A). Seconds) later points) can be determined.

その後、プリンタPRと携帯端末PT1との間で、接続要求330の通信、及び、Wi−Fi接続の確立が実行され、さらに、G/OカウンタGCの値が290(秒)から300(秒)にリセットされる。また、プリンタPRと携帯端末PT1との間で、印刷データ340の通信が実行され、その後、携帯端末PT1からPING信号350に対する応答信号が受信されずに、携帯端末PT1が第1のWFDNWから離脱する。そして、プリンタPRの制御部40は、G/OカウンタGCのカウントダウンを300(秒)から開始することによって(図5のS94でYES、S96)、G/O維持期間の終期(即ち、CL機器の数がゼロになってから300(秒)後の時点)を決定する。 After that, the communication of the connection request 330 and the establishment of the Wi-Fi connection are executed between the printer PR and the mobile terminal PT1, and the value of the G / O counter GC is 290 (seconds) to 300 (seconds). Will be reset to. Further, the print data 340 is communicated between the printer PR and the mobile terminal PT1, and then the mobile terminal PT1 leaves the first WFDNW without receiving the response signal to the PING signal 350 from the mobile terminal PT1. To do. Then, the control unit 40 of the printer PR starts the countdown of the G / O counter GC from 300 (seconds) (YES in S94 in FIG. 5 and S96) to end the G / O maintenance period (that is, the CL device). 300 (seconds) after the number of is zero) is determined.

仮に、所定通知320Aに応じてG/O維持期間の終期を延長しない構成を採用すると、プリンタPRは、G/O維持期間の終期が到来する間近(例えばG/OカウンタGCの値が5(秒)である時点)に、携帯端末PT1から接続要求330を受信し得る。この場合、プリンタPRと携帯端末PT1との間にWi−Fi接続が確立される前に、G/O維持期間の終期が到来し得る(即ちG/OカウンタGCの値がゼロになり得る)。この場合、プリンタPRは、G/O状態からデバイス状態に移行するので(図5のS82でYES、S84)、携帯端末PT1とのWi−Fi接続を確立することができず、携帯端末PT1から印刷データ340を受信することができない。これに対し、本実施例では、プリンタPRは、所定通知320Aに応じてG/O維持期間の終期を延長して、G/O維持期間の新たな終期を決定する。従って、プリンタPRは、G/O維持期間の新たな終期が到来する前に、接続要求330に応じて、携帯端末PT1とのWi−Fi接続を適切に確立することができる。このために、プリンタPRは、携帯端末PT1から印刷データ340を受信して、印刷処理を適切に実行することができる。 If a configuration is adopted in which the end of the G / O maintenance period is not extended in response to the predetermined notification 320A, the printer PR has a value of 5 (for example, the value of the G / O counter GC is 5 (for example, the value of the G / O counter GC is near) when the end of the G / O maintenance period is approaching. At a time point), the connection request 330 can be received from the mobile terminal PT1. In this case, the end of the G / O maintenance period may come before the Wi-Fi connection is established between the printer PR and the mobile terminal PT1 (that is, the value of the G / O counter GC may be zero). .. In this case, since the printer PR shifts from the G / O state to the device state (YES, S84 in S82 in FIG. 5), the Wi-Fi connection with the mobile terminal PT1 cannot be established, and the mobile terminal PT1 cannot establish a Wi-Fi connection. The print data 340 cannot be received. On the other hand, in the present embodiment, the printer PR extends the end of the G / O maintenance period in response to the predetermined notification 320A to determine a new end of the G / O maintenance period. Therefore, the printer PR can appropriately establish a Wi-Fi connection with the mobile terminal PT1 in response to the connection request 330 before the new end of the G / O maintenance period arrives. Therefore, the printer PR can receive the print data 340 from the mobile terminal PT1 and appropriately execute the print process.

(ケースD;図9)
続いて、図9を参照して、図8の続きのケースDを説明する。G/OカウンタGCのカウントダウンが開始されてから290(秒)が経過した際(即ちG/OカウンタGCの値が10(秒)である際)に、携帯端末PT1のユーザは、携帯端末PT1をプリンタPRに再び近づける。この結果、プリンタPRと携帯端末PT1との間で、Polling信号420、応答信号422、及び、無線プロファイルWP1のNFC通信が実行される。そして、プリンタPRの制御部40は、所定通知420Aに応じて接続関係処理SP3を開始する(図3のS42でYES、S43でYES、S44)。この結果、3個の接続関係処理SP1,SP2,SP3が並列的に実行されている状況になる。この時点ではG/OカウンタGCの値が10(秒)であるので、制御部40は、接続関係処理SP3において、G/OカウンタGCの値を10(秒)から300(秒)にリセットして、G/OカウンタGCのカウントダウンを開始する(S54でYES、S58)。
(Case D; Fig. 9)
Subsequently, Case D, which is a continuation of FIG. 8, will be described with reference to FIG. When 290 (seconds) have passed since the countdown of the G / O counter GC was started (that is, when the value of the G / O counter GC is 10 (seconds)), the user of the mobile terminal PT1 is set to the mobile terminal PT1. Is brought closer to the printer PR again. As a result, NFC communication of the Polling signal 420, the response signal 422, and the wireless profile WP1 is executed between the printer PR and the mobile terminal PT1. Then, the control unit 40 of the printer PR starts the connection-related processing SP3 in response to the predetermined notification 420A (YES in S42 of FIG. 3, YES in S43, S44). As a result, the three connection-related processes SP1, SP2, and SP3 are being executed in parallel. At this point, the value of the G / O counter GC is 10 (seconds), so the control unit 40 resets the value of the G / O counter GC from 10 (seconds) to 300 (seconds) in the connection-related processing SP3. Then, the countdown of the G / O counter GC is started (YES in S54, S58).

所定通知420Aが取得された時点では、第1のWFDNWに参加しているCL機器の数はゼロである。そして、上述したように、制御部40は、所定通知420Aを取得する際に、G/OカウンタGCを10(秒)から300(秒)にリセットして、G/OカウンタGCのカウントダウンを開始する。これにより、制御部40は、所定通知420Aを取得する際に、G/O維持期間の終期を延長して、G/O維持期間の新たな終期(即ち、所定通知420Aの取得から300(秒)後の時点)を決定することができる。 At the time when the predetermined notification 420A is acquired, the number of CL devices participating in the first WFDNW is zero. Then, as described above, the control unit 40 resets the G / O counter GC from 10 (seconds) to 300 (seconds) when acquiring the predetermined notification 420A, and starts the countdown of the G / O counter GC. To do. As a result, the control unit 40 extends the end of the G / O maintenance period when acquiring the predetermined notification 420A, and 300 (seconds) from the acquisition of the new end of the G / O maintenance period (that is, the acquisition of the predetermined notification 420A). ) Later time) can be determined.

その後、プリンタPRと携帯端末PT1との間で、接続要求430の通信、及び、Wi−Fi接続の確立が実行され、さらに、G/OカウンタGCの値が290(秒)から300(秒)にリセットされる。また、プリンタPRと携帯端末PT1との間で、印刷データ440の通信が実行され、その後、携帯端末PT1からPING信号450に対する応答信号が受信されずに、携帯端末PT1が第1のWFDNWから離脱する。そして、プリンタPRの制御部40は、G/OカウンタGCのカウントダウンを300(秒)から開始することによって(図5のS94でYES、S96)、G/O維持期間の終期(即ち、CL機器の数がゼロになってから300(秒)後の時点)を決定する。 After that, the communication of the connection request 430 and the establishment of the Wi-Fi connection are executed between the printer PR and the mobile terminal PT1, and the value of the G / O counter GC is 290 (seconds) to 300 (seconds). Will be reset to. Further, the print data 440 is communicated between the printer PR and the mobile terminal PT1, and then the mobile terminal PT1 leaves the first WFDNW without receiving the response signal to the PING signal 450 from the mobile terminal PT1. To do. Then, the control unit 40 of the printer PR starts the countdown of the G / O counter GC from 300 (seconds) (YES in S94 in FIG. 5 and S96) to end the G / O maintenance period (that is, the CL device). 300 (seconds) after the number of is zero) is determined.

CL機器の数がゼロである状況が維持されたまま、G/OカウンタGCのカウントダウンが進み、G/OカウンタGCの値がゼロになる。この場合、制御部40は、プリンタPRの動作状態をG/O状態からデバイス状態に移行させて、第1のWFDNWを消滅させる(図5のS82でYES、S84)。次いで、制御部40は、終了イベントを発行させ(S86)、3個の接続関係処理SP1,SP2,SP3を終了させる(図4のS76でYES)。そして、制御部40は、無線プロファイルWP2を含む記憶指示460をNFCI/F30に供給する(図5のS88及びS90)。 While the situation where the number of CL devices is zero is maintained, the countdown of the G / O counter GC proceeds, and the value of the G / O counter GC becomes zero. In this case, the control unit 40 shifts the operating state of the printer PR from the G / O state to the device state and extinguishes the first WFDNW (YES, S84 in S82 of FIG. 5). Next, the control unit 40 issues an end event (S86) and terminates the three connection-related processes SP1, SP2, and SP3 (YES in S76 in FIG. 4). Then, the control unit 40 supplies the storage instruction 460 including the radio profile WP2 to the NFCI / F30 (S88 and S90 in FIG. 5).

仮に、所定通知420Aに応じてG/O維持期間の終期を延長しない構成を採用すると、プリンタPRは、G/O維持期間の終期が到来する間近に、携帯端末PT1から接続要求430を受信し得る。この場合、プリンタPRと携帯端末PT1との間にWi−Fi接続が確立される前に、G/O維持期間の終期が到来し得る。この場合、プリンタPRは、G/O状態からデバイス状態に移行するので(図5のS82でYES、S84)、携帯端末PT1とのWi−Fi接続を確立することができず、携帯端末PT1から印刷データ440を受信することができない。これに対し、本実施例では、プリンタPRは、所定通知420Aに応じてG/O維持期間の終期を延長して、G/O維持期間の新たな終期を決定する。従って、プリンタPRは、G/O維持期間の新たな終期が到来する前に、接続要求430に応じて、携帯端末PT1とのWi−Fi接続を適切に確立することができる。このために、プリンタPRは、携帯端末PT1から印刷データ440を受信して、印刷処理を適切に実行することができる。 If a configuration is adopted in which the end of the G / O maintenance period is not extended in response to the predetermined notification 420A, the printer PR receives the connection request 430 from the mobile terminal PT1 near the end of the G / O maintenance period. obtain. In this case, the end of the G / O maintenance period may come before the Wi-Fi connection is established between the printer PR and the mobile terminal PT1. In this case, since the printer PR shifts from the G / O state to the device state (YES, S84 in S82 in FIG. 5), the Wi-Fi connection with the mobile terminal PT1 cannot be established, and the mobile terminal PT1 cannot establish a Wi-Fi connection. The print data 440 cannot be received. On the other hand, in the present embodiment, the printer PR extends the end of the G / O maintenance period in response to the predetermined notification 420A to determine a new end of the G / O maintenance period. Therefore, the printer PR can appropriately establish a Wi-Fi connection with the mobile terminal PT1 in response to the connection request 430 before the new end of the G / O maintenance period arrives. Therefore, the printer PR can receive the print data 440 from the mobile terminal PT1 and appropriately execute the print process.

(対応関係)
プリンタPRが、「通信機器」の一例である。携帯端末PT1が、「第1の外部機器」及び「第2の外部機器」の一例である。無線LANI/F20、NFCI/F30が、それぞれ、「第1のインターフェイス」、「第2のインターフェイス」の一例である。G/OカウンタGC、300(秒)、ゼロが、それぞれ、「時間カウンタ」、「初期値」、「所定値」の一例である。第1のWFDNWが、「第1の無線ネットワーク」の一例である。デバイス状態、G/O状態、G/O機器、CL機器が、それぞれ、「無所属状態」、「親局状態」、「親局」、「子局」の一例である。また、デバイス状態、G/O状態は、それぞれ、「第1の状態」、「第2の状態」の一例でもある。図3のS42でYES及びS43でYESと判断することが、「所定指示を検出する」の一例である。また、Polling信号、Read信号、及び、確認信号が、「所定信号」の一例である。
(Correspondence)
The printer PR is an example of a "communication device". The mobile terminal PT1 is an example of a "first external device" and a "second external device". The wireless LANI / F20 and NFCI / F30 are examples of the "first interface" and the "second interface", respectively. G / O counters GC, 300 (seconds), and zero are examples of "time counter", "initial value", and "predetermined value", respectively. The first WFDNW is an example of a "first wireless network". The device state, G / O state, G / O device, and CL device are examples of "independent state", "master station state", "master station", and "slave station", respectively. The device state and the G / O state are also examples of the "first state" and the "second state", respectively. Determining YES in S42 and YES in S43 in FIG. 3 is an example of "detecting a predetermined instruction". Further, the Polling signal, the Read signal, and the confirmation signal are examples of the "predetermined signal".

図6〜図8において、所定通知110A,210A,310Aに応じて決定されるG/O維持期間の終期が、「第1の維持期間の終期」の一例である。図8において、所定通知320Aに応じて延長されるG/O維持期間の終期が、「第1の維持期間の新たな終期」の一例である。図7〜図9において、CL機器の数がゼロになった際に決定されるG/O維持期間の終期が、「第2の維持期間の終期」の一例である。図9において、所定通知420Aに応じて延長されるG/O維持期間の終期が、「第2の維持期間の新たな終期」の一例である。図7及び図8において、印刷データ240,340が、「第1の対象データ」の一例である。図9の印刷データ440が、「第2の対象データ」の一例である。図6の記憶指示100が、「第1の記憶指示」の一例である。また、図6の記憶指示160、図7の記憶指示260、及び、図9の記憶指示460が、「第2の記憶指示」の一例である。 In FIGS. 6 to 8, the end of the G / O maintenance period determined according to the predetermined notifications 110A, 210A, 310A is an example of the “end of the first maintenance period”. In FIG. 8, the end of the G / O maintenance period extended in response to the predetermined notification 320A is an example of the “new end of the first maintenance period”. In FIGS. 7 to 9, the end of the G / O maintenance period determined when the number of CL devices becomes zero is an example of the “end of the second maintenance period”. In FIG. 9, the end of the G / O maintenance period extended in response to the predetermined notification 420A is an example of the “new end of the second maintenance period”. In FIGS. 7 and 8, the print data 240 and 340 are examples of the “first target data”. The print data 440 of FIG. 9 is an example of the “second target data”. The memory instruction 100 in FIG. 6 is an example of the “first memory instruction”. Further, the memory instruction 160 in FIG. 6, the memory instruction 260 in FIG. 7, and the memory instruction 460 in FIG. 9 are examples of the “second memory instruction”.

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

(変形例1)図4のS52では、プリンタPRのCPU42は、プリンタPRの状態をWFD方式のデバイス状態からG/O状態に移行させることによって、WFDNWを形成する。これに代えて、CPU42は、いわゆるSoftAP(Access Pointの略)を起動させることによって、プリンタPRがAPとして動作する無線ネットワークを形成してもよい。本変形例では、図3のS40及び図5のS88において、CPU42は、当該無線ネットワークで利用されるべき無線プロファイル(SSID、パスワード等)を準備する。また、図4のS62において、CPU42は、当該無線ネットワークに携帯端末を参加させるために、無線LANI/F20を介した無線接続を携帯端末と確立する。本変形例では、SoftAPが起動されていない状態、SoftAPが起動されている状態が、それぞれ、「無所属状態」、「親局状態」の一例である。また、プリンタPRがAPとして動作すること、携帯端末がAPとして動作するプリンタPRとの無線接続を確立することが、それぞれ、「親局」、「子局」の一例である。 (Modification 1) In S52 of FIG. 4, the CPU 42 of the printer PR forms a WFDNW by shifting the state of the printer PR from the device state of the WFD method to the G / O state. Instead, the CPU 42 may form a wireless network in which the printer PR operates as an AP by activating a so-called SoftAP (abbreviation of Access Point). In this modification, in S40 of FIG. 3 and S88 of FIG. 5, the CPU 42 prepares a wireless profile (SSID, password, etc.) to be used in the wireless network. Further, in S62 of FIG. 4, the CPU 42 establishes a wireless connection with the mobile terminal via the wireless LANI / F20 in order to allow the mobile terminal to participate in the wireless network. In this modification, the state in which SoftAP is not activated and the state in which SoftAP is activated are examples of "independent state" and "master station state", respectively. Further, it is an example of "master station" and "slave station" that the printer PR operates as an AP and that the mobile terminal establishes a wireless connection with the printer PR that operates as an AP, respectively.

(変形例2)上記の実施例では、図3のS42でYES及びS43でYESと判断することが、「所定指示を検出する」の一例である。これに代えて、例えば、CPU42は、携帯端末とのWi−Fi接続を確立するための操作がユーザによって操作部12に実行されることに応じて、「所定指示」を検出してもよい。また、例えば、CPU42は、無線LANI/F20を介して、携帯端末から接続要求を受信することに応じて、「所定指示」を検出してもよい。上記の実施例及び本変形例のように、「所定指示」は、例えば、外部機器との第1のインターフェイスを介した無線接続の確立に関係する指示であってもよい。ただし、「所定指示」の内容は特に限定されず、「所定指示」は、第1の維持期間を延長するためのトリガになり得る指示であればよい。 (Modification 2) In the above embodiment, determining YES in S42 and YES in S43 in FIG. 3 is an example of “detecting a predetermined instruction”. Instead, for example, the CPU 42 may detect a "predetermined instruction" in response to an operation for establishing a Wi-Fi connection with a mobile terminal performed by the user on the operation unit 12. Further, for example, the CPU 42 may detect a "predetermined instruction" in response to receiving a connection request from the mobile terminal via the wireless LANI / F20. As in the above embodiment and the present modification, the “predetermined instruction” may be, for example, an instruction related to the establishment of a wireless connection with an external device via the first interface. However, the content of the "predetermined instruction" is not particularly limited, and the "predetermined instruction" may be an instruction that can be a trigger for extending the first maintenance period.

(変形例3)上記の実施例では、CPU42は、図3のS42でYES及びS43でYESと判断する場合に、図4の接続関係処理において、プリンタPRの動作状態をデバイス状態からG/O状態に移行させて、WFDNWを形成する(S52)。これに代えて、CPU42は、例えば、プリンタPRをG/O状態に移行させるための操作がユーザによって操作部12に実行される場合に、プリンタPRの動作状態をデバイス状態からG/O状態に移行させて、WFDNWを形成してもよい。即ち、「形成部」が通信機器の動作状態を無所属状態から親局状態に変更するタイミングは、上記の実施例のように、所定指示が検出されるタイミングであってもよいし、本変形例のように、所定指示の検出に無関係なタイミングであってもよい。 (Modification 3) In the above embodiment, when the CPU 42 determines YES in S42 and YES in S43 of FIG. 3, in the connection-related processing of FIG. 4, the operating state of the printer PR is changed from the device state to G / O. It shifts to the state and forms WFDNW (S52). Instead, the CPU 42 changes the operating state of the printer PR from the device state to the G / O state, for example, when an operation for shifting the printer PR to the G / O state is executed by the user on the operation unit 12. It may be migrated to form a WFDNW. That is, the timing at which the "forming unit" changes the operating state of the communication device from the independent state to the master station state may be the timing at which a predetermined instruction is detected as in the above embodiment, or the present modification. The timing may be irrelevant to the detection of the predetermined instruction.

(変形例4)上記の実施例では、プリンタPRのNFCI/F30が、携帯端末(例えばPT1)から、Polling信号(図2のS20)、Read信号(S23)、及び、確認信号(S30)の3種類の信号の全てを受信することを想定している。ただし、上記の3種類の信号の全てを送信するのか否かについては、携帯端末に依存する。例えば、携帯端末が確認信号の代わりにPolling信号を送信するものであってもよく、この場合、プリンタPRのNFCI/F30は、当該携帯端末から、Polling信号及びRead信号を受信するが、確認信号を受信しない。本変形例では、Polling信号及びRead信号が、「所定信号」の一例である。別の変形例では、上記の3種類の信号のうちの1種類の信号(例えばPolling信号)のみが、「所定信号」の一例であってもよい。 (Modification 4) In the above embodiment, the NFCI / F30 of the printer PR receives a Polling signal (S20 in FIG. 2), a Read signal (S23), and a confirmation signal (S30) from a mobile terminal (for example, PT1). It is assumed that all three types of signals will be received. However, whether or not to transmit all of the above three types of signals depends on the mobile terminal. For example, the mobile terminal may transmit a Polling signal instead of the confirmation signal. In this case, the NFCI / F30 of the printer PR receives the Polling signal and the Read signal from the mobile terminal, but the confirmation signal. Do not receive. In this modification, the Polling signal and the Read signal are examples of "predetermined signals". In another modification, only one of the above three types of signals (for example, a Polling signal) may be an example of a "predetermined signal".

(変形例5)プリンタPRのNFCI/F30は、変形例4に記載の各信号を受信しても、所定通知を制御部40に供給しなくてもよい。例えば、NFCI/F30は、NFCI/F30と携帯端末のNFCI/Fとの間のデバイス間距離が所定距離より大きい状況から、デバイス間距離が所定距離以下である状況に変化することに起因して、NFCI/F30の近傍の磁界が変化する場合に、所定通知を制御部40に供給してもよい。即ち、「第2のインターフェイス」は、第1の状況から第2の状況に変化する場合に、所定通知を制御部に供給すればよい。 (Modification 5) The NFCI / F30 of the printer PR does not have to supply a predetermined notification to the control unit 40 even if each signal described in the modification 4 is received. For example, the NFCI / F30 is caused by a change from a situation in which the device-to-device distance between the NFCI / F30 and the NFCI / F of the mobile terminal is greater than a predetermined distance to a situation in which the device-to-device distance is not more than a predetermined distance. , When the magnetic field in the vicinity of NFCI / F30 changes, a predetermined notification may be supplied to the control unit 40. That is, the "second interface" may supply a predetermined notification to the control unit when the first situation changes to the second situation.

(変形例6)プリンタPRのNFCI/F30は、NFCフォーラムタグでなくてもよく、NFCフォーラムデバイスであってもよい。この場合、以下の変形例6−1及び変形例6−2を採用してもよい。 (Modification 6) The NFCI / F30 of the printer PR does not have to be an NFC forum tag, and may be an NFC forum device. In this case, the following modifications 6-1 and 6-2 may be adopted.

(変形例6−1)NFCI/F30は、例えば、携帯端末から所定信号を受信することに応じて、携帯端末とのNFCセッションを確立した後に、所定通知を制御部40に供給してもよい。本変形例も、「外部機器から所定信号を受信する際に、所定通知を制御部に供給する」の一例である。なお、本変形例では、NFCI/F30は、無線プロファイルを携帯端末に送信する前に、所定通知を制御部40に供給してもよいし、無線プロファイルを携帯端末に送信した後に、所定通知を制御部40に供給してもよい。 (Modification 6-1) The NFCI / F30 may supply a predetermined notification to the control unit 40 after establishing an NFC session with the mobile terminal in response to receiving a predetermined signal from the mobile terminal, for example. .. This modification is also an example of "supplying a predetermined notification to the control unit when receiving a predetermined signal from an external device". In this modification, the NFCI / F30 may supply a predetermined notification to the control unit 40 before transmitting the wireless profile to the mobile terminal, or may send the predetermined notification to the mobile terminal after transmitting the wireless profile to the mobile terminal. It may be supplied to the control unit 40.

(変形例6−2)プリンタPRのCPU42は、図3のS40、S41、図5のS88、及び、S90を実行しなくてもよい。この場合、プリンタPRのCPU42は、NFCI/F30から所定通知を取得した後に、無線プロファイルを準備して、当該無線プロファイルをNFCI/F30に供給してもよい。即ち、無線プロファイルは、携帯端末とのNFCセッションが確立される前にI/Fメモリ34内に予め記憶されていなくてもよい。本変形例では、「供給部」を省略可能である。 (Modification 6-2) The CPU 42 of the printer PR does not have to execute S40 and S41 of FIG. 3, S88 of FIG. 5, and S90 of FIG. In this case, the CPU 42 of the printer PR may prepare a wireless profile and supply the wireless profile to the NFCI / F30 after obtaining a predetermined notification from the NFCI / F30. That is, the wireless profile does not have to be stored in advance in the I / F memory 34 before the NFC session with the mobile terminal is established. In this modification, the "supply unit" can be omitted.

(変形例7)プリンタPRは、NFCI/F30に代えて、他の近距離無線通信方式(例えば、TransferJet方式、BlueTooth(登録商標)方式等)に従った無線通信を実行するための無線インターフェイスを備えていてもよい。一般的に言うと、第2のインターフェイスを介した無線通信を実行可能な最大の距離である所定距離が、第1のインターフェイスを介した無線通信を実行可能な最大の距離よりも小さければよい。 (Modification 7) The printer PR provides a wireless interface for executing wireless communication according to another short-range wireless communication system (for example, TransferJet system, Bluetooth® system, etc.) instead of NFCI / F30. You may have it. Generally speaking, a predetermined distance, which is the maximum distance at which wireless communication via the second interface can be performed, may be smaller than the maximum distance at which wireless communication via the first interface can be performed.

(変形例8)G/OカウンタGCは、初期値である300(秒)からカウントダウンされるものでなくてもよく、例えば、初期値であるゼロからカウントアップされるものであってもよい。本変形例では、ゼロ、300(秒)が、それぞれ、「初期値」、「所定値」の一例である。なお、「所定値」は、300(秒)以外の値(例えば、100(秒)、500(秒)等)であってもよい。 (Modification 8) The G / O counter GC does not have to be counted down from the initial value of 300 (seconds), and may be counted up from the initial value of zero, for example. In this modification, zero and 300 (seconds) are examples of "initial value" and "predetermined value", respectively. The "predetermined value" may be a value other than 300 (seconds) (for example, 100 (seconds), 500 (seconds), etc.).

(変形例9)上記の実施例では、プリンタPRのCPU42は、例えば、図8のケースCにおいて、第1のWFDNWから携帯端末PT1が離脱して、第1のWFDNWに参加しているCL機器の数がゼロになった際に、G/O維持期間を決定する。これに代えて、CPU42は、CL機器の数がゼロになっても、G/O維持期間を決定しなくてもよい。即ち、CPU42は、CL機器の数がゼロになった直後に、G/O状態からデバイス状態に移行して、第1のWFDNWを消滅させてもよい。即ち、「第2の維持期間」が設けられなくてもよい。また、CPU42は、CL機器の数がゼロになった際にG/O維持期間を決定するが、当該G/O維持期間を延長する構成を採用しなくてもよい。即ち、「第2の維持期間」は延長されなくてもよい。 (Modification 9) In the above embodiment, the CPU 42 of the printer PR is a CL device in which, for example, in case C of FIG. 8, the mobile terminal PT1 is detached from the first WFDNW and participates in the first WFDNW. When the number of is zero, the G / O maintenance period is determined. Instead, the CPU 42 does not have to determine the G / O maintenance period even when the number of CL devices becomes zero. That is, the CPU 42 may shift from the G / O state to the device state immediately after the number of CL devices becomes zero, and may eliminate the first WFDNW. That is, the "second maintenance period" does not have to be provided. Further, the CPU 42 determines the G / O maintenance period when the number of CL devices becomes zero, but it is not necessary to adopt a configuration for extending the G / O maintenance period. That is, the "second maintenance period" does not have to be extended.

(変形例10)上記の実施例では、図4のS52において、プリンタPRのCPU42は、プリンタPRを自発的にG/O状態に移行させて、CL機器の数がゼロであるWFDNWを形成する。これに代えて、プリンタPRと携帯端末とがWFD方式のG/Oネゴシエーションを実行する構成が採用されてもよい。具体的には、プリンタPRは、以下の構成を備える。無線LANI/F20は、有効状態と無効状態との間で動作状態が変更される。有効状態は、CPU42が無線LANI/F20を介してG/Oネゴシエーションを実行可能な状態であり、無効状態は、CPU42が無線LANI/F20を介してG/Oネゴシエーションを実行不可能な状態である。別の表現では、有効状態は、無線LANI/F20に電力が供給されており、CPU42が無線LANI/F20を介した無線通信を実行可能な状態であり、無効状態は、無線LANI/F20に電力が供給されておらず、CPU42が無線LANI/F20を介した無線通信を実行不可能な状態である。また、図4のS50及びS52の代わりに、以下の処理が実行される。即ち、S50では、CPU42は、無線LANI/F20が有効状態であるのか無効状態であるのかを判断する。そして、CPU42は、無線LANI/F20が無効状態であると判断する場合(S50でYES)には、S52において、無線LANI/F20を無効状態から有効状態に変更してS54に進み、無線LANI/F20が有効状態であると判断する場合(S50でNO)には、S52をスキップしてS54に進む。 (Modification 10) In the above embodiment, in S52 of FIG. 4, the CPU 42 of the printer PR voluntarily shifts the printer PR to the G / O state to form a WFDNW in which the number of CL devices is zero. .. Instead of this, a configuration may be adopted in which the printer PR and the mobile terminal execute WFD-type G / O negotiation. Specifically, the printer PR has the following configurations. The operating state of the wireless LANI / F20 is changed between the enabled state and the disabled state. The valid state is a state in which the CPU 42 can execute G / O negotiation via the wireless LANI / F20, and the invalid state is a state in which the CPU 42 cannot execute G / O negotiation via the wireless LANI / F20. .. In another expression, the enabled state is a state in which power is supplied to the wireless LANI / F20 and the CPU 42 is capable of executing wireless communication via the wireless LANI / F20, and the disabled state is a state in which power is supplied to the wireless LANI / F20. Is not supplied, and the CPU 42 is in a state in which wireless communication via the wireless LAN I / F 20 cannot be executed. Further, instead of S50 and S52 in FIG. 4, the following processing is executed. That is, in S50, the CPU 42 determines whether the wireless LAN I / F 20 is in the enabled state or the disabled state. Then, when the CPU 42 determines that the wireless LANI / F20 is in the invalid state (YES in S50), the CPU 42 changes the wireless LANI / F20 from the invalid state to the valid state in S52, proceeds to S54, and proceeds to the wireless LANI / F20. When it is determined that F20 is in the valid state (NO in S50), S52 is skipped and the process proceeds to S54.

また、プリンタPRのメモリ44は、G/OカウンタGCに代えて、無線LANI/F20の動作状態を有効状態に維持するための有効状態カウンタを備える。図4のS54〜S58、S64、及び、S66では、CPU42は、G/OカウンタGCに関する処理に代えて、有効状態カウンタに関する処理を実行する。従って、CPU42は、仮に、有効状態カウンタがカウント中である状況で、NFCI/F30から所定通知を取得する場合(S54でYES)には、有効状態カウンタをリセットしてカウントダウンを開始する(S58)。即ち、無線LANI/F20の動作状態を有効状態に維持するための有効状態維持期間の終期が延長され、有効状態維持期間の新たな終期が決定される。また、S62では、CPU42は、WFD方式のG/Oネゴシエーションを携帯端末と実行して、プリンタPRがG/O状態で動作すべきかCL状態で動作すべきかを決定する。CPU42は、プリンタPRがG/O状態で動作すべきと決定する場合には、プリンタPRをデバイス状態からG/O状態に移行させ、CL状態である携帯端末とWi−Fi接続を確立して、プリンタPRがG/O機器であるWFDNWを形成する。また、CPU42は、プリンタPRがCL状態で動作すべきと決定する場合には、プリンタPRをデバイス状態からCL状態に移行させ、G/O状態である携帯端末とWi−Fi接続を確立して、携帯端末がG/O機器であるWFDNWに参加する。なお、プリンタPRがCL状態で動作する場合には、図4のS74の処理が実行されない。 Further, the memory 44 of the printer PR includes an effective state counter for maintaining the operating state of the wireless LANI / F20 in the effective state instead of the G / O counter GC. In S54 to S58, S64, and S66 of FIG. 4, the CPU 42 executes the process related to the valid state counter instead of the process related to the G / O counter GC. Therefore, if the CPU 42 obtains a predetermined notification from the NFCI / F30 (YES in S54) while the valid state counter is counting, the CPU 42 resets the valid state counter and starts the countdown (S58). .. That is, the end of the effective state maintenance period for maintaining the operating state of the wireless LANI / F20 in the effective state is extended, and a new end of the effective state maintenance period is determined. Further, in S62, the CPU 42 executes WFD-type G / O negotiation with the mobile terminal to determine whether the printer PR should operate in the G / O state or the CL state. When the CPU 42 determines that the printer PR should operate in the G / O state, the CPU 42 shifts the printer PR from the device state to the G / O state, and establishes a Wi-Fi connection with the mobile terminal in the CL state. , The printer PR forms a WFDNW which is a G / O device. When the CPU 42 determines that the printer PR should operate in the CL state, the CPU 42 shifts the printer PR from the device state to the CL state and establishes a Wi-Fi connection with the mobile terminal in the G / O state. , Mobile terminals participate in WFDNW, which is a G / O device. When the printer PR operates in the CL state, the process of S74 in FIG. 4 is not executed.

また、図5の処理に代えて、以下の処理が実行される。即ち、CPU42は、有効状態カウンタが0(秒)になることを監視し、有効状態カウンタが0(秒)になる場合には、無線LANI/F20の動作状態を有効状態から無効状態に変更する。これにより、無線LANI/F20を介した無線通信が実行不可能な状態になるので、CPU42は、携帯端末から無線LANI/F20を介して接続要求を受信することができず、この結果、携帯端末とのWi−Fi接続を確立することができない。その後、CPU42は、図5のS86と同様に、終了イベントを発行する。 Further, instead of the process of FIG. 5, the following process is executed. That is, the CPU 42 monitors that the valid state counter becomes 0 (seconds), and when the valid state counter becomes 0 (seconds), changes the operating state of the wireless LANI / F20 from the valid state to the invalid state. .. As a result, wireless communication via the wireless LANI / F20 becomes infeasible, so that the CPU 42 cannot receive the connection request from the mobile terminal via the wireless LANI / F20, and as a result, the mobile terminal. Cannot establish Wi-Fi connection with. After that, the CPU 42 issues an end event in the same manner as in S86 of FIG.

上述したように、本変形例では、プリンタPRは、有効状態維持期間の終期が到来する際に、無線LANI/F20の動作状態を有効状態から無効状態に変更する。これにより、無線LANI/F20に電力が供給されないので、プリンタPRの消費電力を適切に低減させることができる。また、プリンタPRは、所定通知に応じて有効状態維持期間の終期を延長して、有効状態維持期間の新たな終期を決定する。従って、プリンタPRは、有効状態維持期間の新たな終期が到来する前に、接続要求に応じてG/Oネゴシエーションを実行して、携帯端末とのWi−Fi接続を適切に確立することができる。このために、プリンタPRは、携帯端末から印刷データを受信して、印刷処理を適切に実行することができる。本変形例では、無効状態、有効状態が、「第1の状態」、「第2の状態」の一例である。また、有効状態カウンタが、「時間カウンタ」の一例である。 As described above, in the present modification, the printer PR changes the operating state of the wireless LAN I / F 20 from the valid state to the invalid state when the end of the valid state maintenance period is reached. As a result, power is not supplied to the wireless LAN I / F 20, so that the power consumption of the printer PR can be appropriately reduced. In addition, the printer PR extends the end of the valid state maintenance period in response to a predetermined notification to determine a new end of the valid state maintenance period. Therefore, the printer PR can appropriately establish a Wi-Fi connection with the mobile terminal by executing G / O negotiation in response to the connection request before the new end of the valid state maintenance period arrives. .. Therefore, the printer PR can receive the print data from the mobile terminal and appropriately execute the print process. In this modification, the invalid state and the valid state are examples of the "first state" and the "second state". The valid state counter is an example of a "time counter".

(変形例11)「通信機器」は、プリンタPRでなくてもよく、例えば、スキャナであってもよい。本変形例では、例えば、スキャナは、上記の実施例と同様に、NFCI/Fと、無線LANI/Fと、を備えていてもよい。NFCI/Fは、無線プロファイルを記憶しており、当該無線プロファイルを携帯端末に送信してもよい。そして、スキャナのCPUは、スキャナがG/O機器であるWFDNWに携帯端末がCL機器として参加する場合に、WFDNWを利用して、スキャンデータを携帯端末に送信してもよい。本変形例では、スキャンデータが、「第1の対象データ」及び「第2の対象データ」の一例である。また、「通信機器」は、プリンタPR及びスキャナとは異なる機器(例えば、PC、コピー機、多機能機、サーバ、携帯端末等)であってもよい。 (Modification 11) The “communication device” does not have to be a printer PR, and may be, for example, a scanner. In this modification, for example, the scanner may include an NFCI / F and a wireless LANI / F, as in the above embodiment. The NFCI / F stores the radio profile and may transmit the radio profile to the mobile terminal. Then, the CPU of the scanner may transmit the scan data to the mobile terminal by using the WFDNW when the mobile terminal participates in the WFDNW which is a G / O device as a CL device. In this modification, the scan data is an example of "first target data" and "second target data". Further, the "communication device" may be a device different from the printer PR and the scanner (for example, a PC, a copier, a multifunctional machine, a server, a mobile terminal, etc.).

(変形例12)「外部機器」は、携帯端末PT1,PT2に限られず、PC、プリンタ、スキャナ、コピー機、多機能機、サーバ等であってもよい。 (Modification 12) The “external device” is not limited to the mobile terminals PT1 and PT2, and may be a PC, a printer, a scanner, a copier, a multifunctional machine, a server, or the like.

(変形例13)上記の実施例では、プリンタPRのCPU42がメインメモリ44内のプログラムPG(即ちソフトウェア)を実行することによって、図3〜図5の各処理が実現される。これに代えて、これらの各処理のうちの少なくとも1つの処理は、論理回路等のハードウェアによって実現されてもよい。 (Modification 13) In the above embodiment, each process of FIGS. 3 to 5 is realized by executing the program PG (that is, software) in the main memory 44 by the CPU 42 of the printer PR. Instead, at least one of these processes may be implemented by hardware such as a logic circuit.

以下の各項目は、本明細書によって開示される技術の一つの側面である。
(項目1)
通信機器であって、
無線通信を実行するための第1のインターフェイスと、
コンピュータと、
コンピュータ読取可能指示を記憶するメモリと、を備え
前記コンピュータ読取可能指示は、前記コンピュータによって実行される際に、前記通信機器に以下の動作を実行させる:
前記通信機器の動作状態が、前記第1のインターフェイスを介した無線通信を実行するための第1の無線ネットワークの親局として動作する親局状態であり、かつ、前記第1の無線ネットワークに子局として参加している外部機器の数である子局機器数が、ゼロである場合に、前記子局機器数がゼロである状況で前記通信機器の動作状態を前記親局状態に維持するための維持期間の終期を決定すること;
前記維持期間の前記終期が到来する際に、前記通信機器の前記動作状態を、前記親局状態から、無線ネットワークに所属していない無所属状態に変更して、前記第1の無線ネットワークを消滅させること;
前記維持期間の前記終期が到来する前に、特定の外部機器が前記第1の無線ネットワークに子局として参加する場合に、前記第1の無線ネットワークを利用して、前記第1のインターフェイスを介して、対象データの無線通信を前記特定の外部機器と実行すること;
所定指示を検出すること;及び
前記維持期間の前記終期が到来する前に、前記所定指示が検出される際に、前記維持期間の前記終期を延長して、前記維持期間の新たな終期を決定すること。
Each of the following items is one aspect of the technology disclosed herein.
(Item 1)
It ’s a communication device,
The first interface for performing wireless communication,
With a computer
With a memory for storing computer-readable instructions, the computer-readable instructions cause the communication device to perform the following operations when executed by the computer:
The operating state of the communication device is a master station state that operates as a master station of the first wireless network for executing wireless communication via the first interface, and is a child of the first wireless network. To maintain the operating state of the communication device in the master station state in a situation where the number of slave station devices is zero when the number of slave station devices, which is the number of external devices participating as a station, is zero. Determining the end of the maintenance period of
When the end of the maintenance period arrives, the operating state of the communication device is changed from the master station state to an independent state that does not belong to the wireless network, and the first wireless network is extinguished. thing;
When a specific external device joins the first wireless network as a slave station before the end of the maintenance period arrives, the first wireless network is utilized and the first interface is used. To execute wireless communication of the target data with the specific external device;
Detecting a predetermined instruction; and before the end of the maintenance period arrives, when the predetermined instruction is detected, the end of the maintenance period is extended to determine a new end of the maintenance period. To do.

(項目2)
項目1に記載の通信機器であって、
前記コンピュータ読取可能指示は、前記コンピュータによって実行される際に、前記通信機器に以下の動作をさらに実行させる:
前記通信機器の動作状態を前記無所属状態から前記親局状態に変更して、前記第1の無線ネットワークを形成すること、
ここで、前記第1の無線ネットワークが形成された時点では、前記子局機器数は、ゼロであり、
前記維持期間の前記終期を決定することは、前記第1の無線ネットワークが形成される際に、前記子局機器数がゼロである状況で前記通信機器の動作状態を前記親局状態に維持するための第1の維持期間の終期を決定することを含む。
(Item 2)
The communication device according to item 1.
The computer-readable instruction causes the communication device to further perform the following operations when executed by the computer:
To form the first wireless network by changing the operating state of the communication device from the independent state to the master station state.
Here, at the time when the first wireless network is formed, the number of slave station devices is zero.
Determining the end of the maintenance period means that when the first wireless network is formed, the operating state of the communication device is maintained in the master station state in a situation where the number of slave station devices is zero. Includes determining the end of the first maintenance period for.

(項目3)
項目2に記載の通信機器であって、
前記形成することは、前記通信機器の前記動作状態が前記無所属状態である状況で前記所定指示が検出される際に、前記通信機器の前記動作状態を前記無所属状態から前記親局状態に変更して、前記第1の無線ネットワークを形成することを含む。
(Item 3)
The communication device according to item 2.
The formation changes the operating state of the communication device from the independent state to the master station state when the predetermined instruction is detected in a situation where the operating state of the communication device is the independent state. This includes forming the first wireless network.

(項目4)
項目1から3のいずれかに記載の通信機器であって、
前記維持期間の前記終期を決定することは、前記子局機器数が1以上である状況から前記子局機器数がゼロになる際に、前記子局機器数がゼロである状況で前記通信機器の動作状態を前記親局状態に維持するための第2の維持期間の終期を決定することを含む。
(Item 4)
The communication device according to any one of items 1 to 3.
Determining the end of the maintenance period means that when the number of slave station devices becomes zero from the situation where the number of slave station devices is 1 or more, the communication device is determined when the number of slave station devices is zero. Includes determining the end of a second maintenance period for maintaining the operating state of.

(項目5)
通信機器であって、
無線通信を実行するための第1のインターフェイスと、
コンピュータと、
コンピュータ読取可能指示を記憶するメモリと、を備え
前記コンピュータ読取可能指示は、前記コンピュータによって実行される際に、前記通信機器に以下の動作を実行させる:
前記通信機器の動作状態が第1の状態とは異なる第2の状態である場合に、前記通信機器の動作状態を前記第2の状態に維持するための維持期間の終期を決定すること;
前記維持期間の前記終期が到来する際に、前記通信機器の前記動作状態を前記第2の状態から前記第1の状態に変更すること;
前記維持期間の前記終期が到来する前に、前記通信機器と第1の外部機器とが所属する第1の無線ネットワークが形成される場合に、前記第1の無線ネットワークを利用して、前記第1のインターフェイスを介して、第1の対象データの無線通信を前記第1の外部機器と実行すること;
所定指示を検出すること;及び
前記維持期間の前記終期が到来する前に、前記所定指示が検出される際に、前記維持期間の前記終期を延長して、前記維持期間の新たな終期を決定すること。
(Item 5)
It ’s a communication device,
The first interface for performing wireless communication,
With a computer
With a memory for storing computer-readable instructions, the computer-readable instructions cause the communication device to perform the following operations when executed by the computer:
Determining the end of the maintenance period for maintaining the operating state of the communication device in the second state when the operating state of the communication device is in a second state different from the first state;
When the end of the maintenance period is reached, the operating state of the communication device is changed from the second state to the first state;
When the first wireless network to which the communication device and the first external device belong is formed before the end of the maintenance period arrives, the first wireless network is used to use the first wireless network. Performing wireless communication of the first target data with the first external device via the interface of 1;
Detecting a predetermined instruction; and before the end of the maintenance period arrives, when the predetermined instruction is detected, the end of the maintenance period is extended to determine a new end of the maintenance period. To do.

(項目6)
項目1から5のいずれか一項に記載の通信機器であって、
前記通信機器は、さらに、
無線通信を実行するための第2のインターフェイスであって、前記第2のインターフェイスを介した無線通信を実行可能な最大の距離である所定距離は、前記第1のインターフェイスを介した無線通信を実行可能な最大の距離よりも小さい、前記第2のインターフェイスを備え、
前記第2のインターフェイスは、前記第2のインターフェイスといずれかの外部機器との間の距離であるデバイス間距離が前記所定距離より大きい第1の状況から、前記デバイス間距離が前記所定距離以下である第2の状況に変化する場合に、前記第1の無線ネットワークで利用されるべき第1の無線プロファイルを当該外部機器に送信し、
前記第2のインターフェイスは、さらに、前記第1の状況から前記第2の状況に変化する場合に、所定通知を前記コンピュータに供給し、
前記検出することは、前記第2のインターフェイスから前記所定通知が取得されることに応じて前記所定指示を検出することを含む。
(Item 6)
The communication device according to any one of items 1 to 5.
The communication device further
A predetermined distance, which is a second interface for executing wireless communication and is the maximum distance at which wireless communication via the second interface can be executed, executes wireless communication via the first interface. With the second interface, which is less than the maximum possible distance,
In the second interface, the distance between devices is equal to or less than the predetermined distance from the first situation in which the distance between devices, which is the distance between the second interface and any external device, is larger than the predetermined distance. When the situation changes to a certain second situation, the first wireless profile to be used in the first wireless network is transmitted to the external device, and the external device is transmitted.
The second interface further supplies a predetermined notification to the computer when the first situation changes to the second situation.
The detection includes detecting the predetermined instruction in response to the acquisition of the predetermined notification from the second interface.

(項目7)
項目6に記載の通信機器であって、
前記コンピュータ読取可能指示は、前記コンピュータによって実行される際に、前記通信機器に以下の動作をさらに実行させる:
前記第1の無線ネットワークが形成される前に、前記第1の無線プロファイルを前記第2のインターフェイスに記憶させるための第1の記憶指示を前記第2のインターフェイスに供給すること。
(Item 7)
The communication device according to item 6.
The computer-readable instruction causes the communication device to further perform the following operations when executed by the computer:
To supply the second interface with a first storage instruction for storing the first radio profile in the second interface before the first radio network is formed.

(項目8)
項目7に記載の通信機器であって、
前記コンピュータ読取可能指示は、前記コンピュータによって実行される際に、前記通信機器に以下の動作をさらに実行させる:
前記第1の無線ネットワークが消滅した後であって、前記通信機器が親局として動作すべき第2の無線ネットワークが形成される前に、前記第1の無線プロファイルに代えて、前記第2の無線ネットワークで利用されるべき第2の無線プロファイルを前記第2のインターフェイスに記憶させるための第2の記憶指示を前記第2のインターフェイスに供給すること。
(Item 8)
The communication device according to item 7.
The computer-readable instruction causes the communication device to further perform the following operations when executed by the computer:
After the disappearance of the first wireless network and before the formation of the second wireless network in which the communication device should operate as a master station, the second wireless profile is replaced with the second wireless profile. To supply the second interface with a second storage instruction for storing the second radio profile to be used in the radio network in the second interface.

(項目9)
項目6から8のいずれかに記載の通信機器であって、
前記第2のインターフェイスは、前記第1の状況から前記第2の状況に変化することに起因して、いずれかの外部機器から所定信号を受信する際に、前記所定通知を前記コンピュータに供給する。
(Item 9)
The communication device according to any one of items 6 to 8.
Said second interface, due to the change from the first status to the second status, when receiving Sadanobu No. Tokoro from any of the external device, supplying the predetermined notification to the computer To do.

(項目10)
項目6から9のいずれかに記載の通信機器であって、
前記コンピュータは、前記第2のインターフェイスから前記所定通知が取得されることに応じて前記所定指示を検出してから所定時間が経過するまでの間に、前記第2のインターフェイスから前記所定通知が再び取得されても、前記所定指示を検出しない。
(Item 10)
The communication device according to any one of items 6 to 9.
The computer receives the predetermined notification from the second interface and receives the predetermined notification from the second interface again during the period from the detection of the predetermined instruction to the elapse of the predetermined time. Even if it is acquired, the predetermined instruction is not detected.

(項目11)
項目1から10のいずれかに記載の通信機器であって、
前記維持期間の前記終期を決定することは、時間をカウントするための時間カウンタのカウントを初期値から開始することを含み、
前記維持期間の前記新たな終期を決定することは、前記所定指示が検出された際に、前記時間カウンタの値を前記初期値に戻して、前記時間カウンタのカウントを前記初期値から再び開始することを含み、
前記時間カウンタの値が所定値に一致する際に、前記維持期間の前記終期が到来する。
(Item 11)
The communication device according to any one of items 1 to 10.
Determining the end of the maintenance period includes starting the counting of the time counter for counting the time from the initial value.
Determining the new end of the maintenance period returns the value of the time counter to the initial value and restarts the counting of the time counter from the initial value when the predetermined instruction is detected. Including that
When the value of the time counter matches a predetermined value, the end of the maintenance period arrives.

(項目12)
項目11に記載の通信機器であって、
前記コンピュータ読取可能指示は、前記コンピュータによって実行される際に、前記通信機器に以下の動作をさらに実行させる:
前記維持期間の前記終期が到来する前に、前記特定の外部機器が前記第1の無線ネットワークに前記子局として参加する場合に、前記時間カウンタのカウントを停止すること。
(Item 12)
The communication device according to item 11.
The computer-readable instruction causes the communication device to further perform the following operations when executed by the computer:
Stop counting the time counter when the particular external device joins the first wireless network as the slave station before the end of the maintenance period arrives.

(項目13)
通信機器のためのコンピュータ読取可能指示を記憶するコンピュータ読取可能記憶媒体であって、
前記コンピュータ読取可能指示は、前記通信機器に搭載されるコンピュータによって実行される際に、前記通信機器に以下の動作を実行させる:
前記通信機器の動作状態が、前記通信機器の第1のインターフェイスを介した無線通信を実行するための第1の無線ネットワークの親局として動作する親局状態であり、かつ、前記第1の無線ネットワークに子局として参加している外部機器の数である子局機器数が、ゼロである場合に、前記子局機器数がゼロである状況で前記通信機器の動作状態を前記親局状態に維持するための維持期間の終期を決定すること;
前記維持期間の前記終期が到来する際に、前記通信機器の前記動作状態を、前記親局状態から、無線ネットワークに所属していない無所属状態に変更して、前記第1の無線ネットワークを消滅させること;
前記維持期間の前記終期が到来する前に、特定の外部機器が前記第1の無線ネットワークに子局として参加する場合に、前記第1の無線ネットワークを利用して、前記第1のインターフェイスを介して、対象データの無線通信を前記特定の外部機器と実行すること;
所定指示を検出すること;及び
前記維持期間の前記終期が到来する前に、前記所定指示が検出される際に、前記維持期間の前記終期を延長して、前記維持期間の新たな終期を決定すること。
(Item 13)
A computer-readable storage medium that stores computer-readable instructions for communication equipment.
The computer-readable instruction causes the communication device to perform the following operations when executed by a computer mounted on the communication device:
The operating state of the communication device is a master station state that operates as a master station of the first wireless network for executing wireless communication via the first interface of the communication device, and the first radio is used. When the number of slave station devices, which is the number of external devices participating as slave stations in the network, is zero, the operating state of the communication device is changed to the master station state in a situation where the number of slave station devices is zero. Determining the end of the maintenance period to maintain;
When the end of the maintenance period arrives, the operating state of the communication device is changed from the master station state to an independent state that does not belong to the wireless network, and the first wireless network is extinguished. thing;
When a specific external device joins the first wireless network as a slave station before the end of the maintenance period arrives, the first wireless network is utilized and the first interface is used. To execute wireless communication of the target data with the specific external device;
Detecting a predetermined instruction; and before the end of the maintenance period arrives, when the predetermined instruction is detected, the end of the maintenance period is extended to determine a new end of the maintenance period. To do.

(項目14)
通信機器のためのコンピュータ読取可能指示を記憶するコンピュータ読取可能記憶媒体であって、
前記コンピュータ読取可能指示は、前記通信機器に搭載されるコンピュータによって実行される際に、前記通信機器に以下の動作を実行させる:
前記通信機器の動作状態が第1の状態とは異なる第2の状態である場合に、前記通信機器の動作状態を前記第2の状態に維持するための維持期間の終期を決定すること;
前記維持期間の前記終期が到来する際に、前記通信機器の前記動作状態を前記第2の状態から前記第1の状態に変更すること;
前記維持期間の前記終期が到来する前に、前記通信機器と第1の外部機器とが所属する第1の無線ネットワークが形成される場合に、前記第1の無線ネットワークを利用して、前記通信機器の第1のインターフェイスを介して、第1の対象データの無線通信を前記第1の外部機器と実行すること;
所定指示を検出すること;及び
前記維持期間の前記終期が到来する前に、前記所定指示が検出される際に、前記維持期間の前記終期を延長して、前記維持期間の新たな終期を決定すること。
(Item 14)
A computer-readable storage medium that stores computer-readable instructions for communication equipment.
The computer-readable instruction causes the communication device to perform the following operations when executed by a computer mounted on the communication device:
Determining the end of the maintenance period for maintaining the operating state of the communication device in the second state when the operating state of the communication device is in a second state different from the first state;
When the end of the maintenance period is reached, the operating state of the communication device is changed from the second state to the first state;
When the first wireless network to which the communication device and the first external device belong is formed before the end of the maintenance period arrives, the communication is performed by using the first wireless network. Performing wireless communication of the first target data with the first external device via the first interface of the device;
Detecting a predetermined instruction; and before the end of the maintenance period arrives, when the predetermined instruction is detected, the end of the maintenance period is extended to determine a new end of the maintenance period. To do.

(対応関係)
上記の実施例の各要素と上記の各項目の各要素との対応関係を以下に列挙する。プリンタPR、携帯端末PT1が、それぞれ、「通信機器」、「特定の外部機器」の一例である。CPU42、メインメモリ44、プログラムPG、無線LANI/F20、NFCI/F30が、それぞれ、「コンピュータ」、「メモリ」、「コンピュータ読取可能指示」、「第1のインターフェイス」、「第2のインターフェイス」の一例である。G/OカウンタGC、300(秒)、ゼロが、それぞれ、「時間カウンタ」、「初期値」、「所定値」の一例である。第1のWFDNWが、「第1の無線ネットワーク」の一例である。デバイス状態、G/O状態、G/O機器、CL機器が、それぞれ、「無所属状態」、「親局状態」、「親局」、「子局」の一例である。また、デバイス状態、G/O状態は、それぞれ、「第1の状態」、「第2の状態」の一例でもある。図3のS42でYES及びS43でYESと判断することが、「所定指示を検出する」の一例である。また、Polling信号、Read信号、及び、確認信号が、「所定信号」の一例である。
(Correspondence)
The correspondence between each element of the above embodiment and each element of each of the above items is listed below. The printer PR and the mobile terminal PT1 are examples of a "communication device" and a "specific external device", respectively. The CPU 42, main memory 44, program PG, wireless LANI / F20, and NFCI / F30 are of "computer", "memory", "computer readable instruction", "first interface", and "second interface", respectively. This is an example. G / O counters GC, 300 (seconds), and zero are examples of "time counter", "initial value", and "predetermined value", respectively. The first WFDNW is an example of a "first wireless network". The device state, G / O state, G / O device, and CL device are examples of "independent state", "master station state", "master station", and "slave station", respectively. The device state and the G / O state are also examples of the "first state" and the "second state", respectively. Determining YES in S42 and YES in S43 in FIG. 3 is an example of "detecting a predetermined instruction". Further, the Polling signal, the Read signal, and the confirmation signal are examples of the "predetermined signal".

図7〜図9において、印刷データ240,340,440が、「対象データ」の一例である。図6〜図8において、所定通知110A,210A,310Aに応じて決定されるG/O維持期間の終期、及び、図7〜図9において、CL機器の数がゼロになった際に決定されるG/O維持期間の終期が、「維持期間の終期」の一例である。図8及び図9において、所定通知320A,420Aに応じて延長されるG/O維持期間の終期が、「維持期間の新たな終期」の一例である。図6〜図8において、所定通知110A,210A,310Aに応じて決定されるG/O維持期間の終期が、「第1の維持期間の終期」の一例である。図7〜図9において、CL機器の数がゼロになった際に決定されるG/O維持期間の終期が、「第2の維持期間の終期」の一例である。図6の記憶指示100が、「第1の記憶指示」の一例である。また、図6の記憶指示160、図7の記憶指示260、及び、図9の記憶指示460が、「第2の記憶指示」の一例である。 In FIGS. 7 to 9, print data 240, 340, and 440 are examples of “target data”. 6 to 8 show the end of the G / O maintenance period determined according to the predetermined notifications 110A, 210A, 310A, and FIGS. 7 to 9 determine when the number of CL devices becomes zero. The end of the G / O maintenance period is an example of the "end of the maintenance period". In FIGS. 8 and 9, the end of the G / O maintenance period extended in response to the predetermined notifications 320A and 420A is an example of the “new end of the maintenance period”. In FIGS. 6 to 8, the end of the G / O maintenance period determined according to the predetermined notifications 110A, 210A, 310A is an example of the “end of the first maintenance period”. In FIGS. 7 to 9, the end of the G / O maintenance period determined when the number of CL devices becomes zero is an example of the “end of the second maintenance period”. The memory instruction 100 in FIG. 6 is an example of the “first memory instruction”. Further, the memory instruction 160 in FIG. 6, the memory instruction 260 in FIG. 7, and the memory instruction 460 in FIG. 9 are examples of the “second memory instruction”.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。 In addition, the technical elements described in the present 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 techniques illustrated in this specification or drawings achieve a plurality of objectives at the same time, and achieving one of the objectives itself has technical usefulness.

2:通信システム、PR:プリンタ、PT1,PT2:携帯端末、PA:プリンタアプリ、12:操作部、14:表示部、16:印刷実行部、20:無線LANインターフェイス、30:NFCインターフェイス、32:プロセッサ、WP,WP1,WP2:無線プロファイル、34:I/Fメモリ、40:制御部、42:CPU、44:メインメモリ、PG:プログラム、GC:G/Oカウンタ、NC:NFCカウンタ、ML:管理リスト、100,160,260,460:記憶指示、110,210,310,320,420:Polling信号、110A,114A,116A,210A,310A,320A,420A:所定通知、230,330,430:接続要求、240,340,440:印刷データ 2: Communication system, PR: Printer, PT1, PT2: Mobile terminal, PA: Printer application, 12: Operation unit, 14: Display unit, 16: Print execution unit, 20: Wireless LAN interface, 30: NFC interface, 32: Processor, WP, WP1, WP2: Wireless profile, 34: I / F memory, 40: Control unit, 42: CPU, 44: Main memory, PG: Program, GC: G / O counter, NC: NFC counter, ML: Management list, 100, 160, 260, 460: Memory instruction, 110, 210, 310, 320, 420: Polling signal, 110A, 114A, 116A, 210A, 310A, 320A, 420A: Predetermined notification, 230, 330, 430: Connection request, 240, 340, 440: Print data

Claims (5)

通信機器であって、
無線通信を実行するための第1のインターフェイスと、
無線通信を実行するための第2のインターフェイスであって、前記第1のインターフェイスとは異なる前記第2のインターフェイスと、
制御部と、を備え、
前記制御部は、
前記第2のインターフェイスを介して、第1の外部機器との無線接続を確立する確立部と、
前記第1の外部機器との前記無線接続が確立される場合に、前記通信機器の動作状態を、無線ネットワークに所属していない無所属状態から、前記第1のインターフェイスを介した無線通信を実行するための第1の無線ネットワークの親局として動作する親局状態に変更して、前記第1の無線ネットワークを形成する形成部と、
前記第1の外部機器との前記無線接続が確立される場合に、前記第1の無線ネットワークで利用されるべき第1の無線プロファイルを前記第1の外部機器に送信する送信部と、
前記通信機器の前記動作状態が前記無所属状態から前記親局状態に変更される場合に、前記親局状態を終了すべきであることを示す所定条件が満たされるのか否かを判断する判断部であって、時間をカウントするための第1の時間カウンタのカウントを初期値から開始し、前記第1の時間カウンタが所定値に到達する場合に、前記所定条件が満たされると判断し、前記第1の時間カウンタが前記所定値に一致しない場合に、前記所定条件が満たされないと判断する判断部と、
前記所定条件が満たされると判断される場合に、前記通信機器の前記動作状態を前記親局状態から前記無所属状態に変更して、前記第1の無線ネットワークを消滅させる消滅部であって、前記所定条件が満たされないと判断される場合に、前記通信機器の前記動作状態が前記親局状態に維持される、前記消滅部と、
前記通信機器の前記動作状態が前記親局状態に維持されている状態において、前記第1の外部機器が前記第1の無線ネットワークに子局として参加する場合に、前記第1の無線ネットワークを利用して、前記第1のインターフェイスを介して、第1の対象データの無線通信を前記第1の外部機器と実行する通信実行部と、
記第のインターフェイスが第2の外部機器から信号を受信することに応じて前記第2のインターフェイスから所定通知が前記制御部に供給される場合であって、時間をカウントするための第2の時間カウンタが所定値に到達する場合に、所定指示を検出する検出部と、を備え、
前記判断部は、前記所定指示が検出された際に、前記第1の時間カウンタの値を前記初期値に戻して、前記第1の時間カウンタのカウントを前記初期値から再び開始する通信機器。
It ’s a communication device,
The first interface for performing wireless communication,
A second interface for performing wireless communication, which is different from the first interface, and the second interface.
With a control unit
The control unit
An establishment unit that establishes a wireless connection with a first external device via the second interface,
When the wireless connection with the first external device is established, the operating state of the communication device is changed from an unaffiliated state not belonging to the wireless network to wireless communication via the first interface. A forming unit that forms the first wireless network by changing to a master station state that operates as a master station of the first wireless network for the purpose.
A transmission unit that transmits the first wireless profile to be used in the first wireless network to the first external device when the wireless connection with the first external device is established.
A determination unit that determines whether or not a predetermined condition indicating that the master station state should be terminated is satisfied when the operating state of the communication device is changed from the independent state to the master station state. Therefore, counting of the first time counter for counting the time is started from the initial value, and when the first time counter reaches a predetermined value, it is determined that the predetermined condition is satisfied, and the first When the time counter of 1 does not match the predetermined value, the determination unit for determining that the predetermined condition is not satisfied, and the determination unit.
An extinguishing unit that changes the operating state of the communication device from the master station state to the independent state and extinguishes the first wireless network when it is determined that the predetermined condition is satisfied. When it is determined that the predetermined condition is not satisfied, the operating state of the communication device is maintained in the master station state, and the extinguished part
When the first external device participates in the first wireless network as a slave station while the operating state of the communication device is maintained in the master station state, the first wireless network is used. Then, via the first interface, a communication execution unit that executes wireless communication of the first target data with the first external device, and
Even if the previous SL second interfaces prescribed notification from said second interface in response to receiving a signal from the second external device is supplied to the control unit, the second to count the time When the time counter of the above reaches a predetermined value, a detection unit for detecting a predetermined instruction is provided.
The determination unit, when the predetermined instruction is detected, the first of the value of the time counter back to the initial value, the first time counter counts a communication device to start again from the initial value of.
前記通信機器は、さらに、
前記第1の無線ネットワークが消滅した後であって、前記通信機器が親局状態として動作すべき第2の無線ネットワークであって、前記第1のインターフェイスを介した無線通信を実行するための前記第2の無線ネットワークが形成される前に、前記第1の無線プロファイルに代えて、前記第2の無線ネットワークで利用されるべき第2の無線プロファイルを準備する準備部を備える、請求項1に記載の通信機器。
The communication device further
The second wireless network in which the communication device should operate as a master station state after the first wireless network disappears, and for executing wireless communication via the first interface. The first aspect of claim 1 comprises a preparatory unit that prepares a second radio profile to be used in the second radio network in place of the first radio profile before the second radio network is formed. Described communication equipment.
記形成部は、前記通信機器の前記動作状態が前記無所属状態である状況で前記所定指示が検出される際に、前記通信機器の前記動作状態を前記無所属状態から前記親局状態に変更して、前記第1の無線ネットワークを形成する、請求項1または2に記載の通信機器。 Before Symbol forming unit, when the operating state of the communication device wherein the predetermined instruction in situations where the independent condition is detected, and change the operating state of the communication device from the independent state to the master station state The communication device according to claim 1 or 2, which forms the first wireless network. 前記第1のインターフェイスは、Wi−Fi方式に従った無線通信を実行するためのインターフェイスであり、
前記第2のインターフェイスは、BlueTooth(登録商標)方式に従った無線通信を実行するためのインターフェイスである、請求項1から3のいずれか一項に記載の通信機器。
The first interface is an interface for executing wireless communication according to the Wi-Fi method.
The communication device according to any one of claims 1 to 3, wherein the second interface is an interface for executing wireless communication according to the Bluetooth (registered trademark) method.
通信機器のためのコンピュータプログラムであって、
前記コンピュータプログラムは、前記通信機器に搭載されるコンピュータに、以下の各処理、即ち、
前記通信機器の第2のインターフェイスを介して、第1の外部機器との無線接続を確立する確立処理と、
前記第1の外部機器との前記無線接続が確立される場合に、前記通信機器の動作状態を、無線ネットワークに所属していない無所属状態から、前記通信機器の第1のインターフェイスであって、前記第2のインターフェイスとは異なる前記第1のインターフェイスを介した無線通信を実行するための第1の無線ネットワークの親局として動作する親局状態に変更して、前記第1の無線ネットワークを形成する形成処理と、
前記第1の外部機器との前記無線接続が確立される場合に、前記第1の無線ネットワークで利用されるべき第1の無線プロファイルを前記第1の外部機器に送信する送信処理と、
前記通信機器の前記動作状態が前記無所属状態から前記親局状態に変更される場合に、前記親局状態を終了すべきであることを示す所定条件が満たされるのか否かを判断する判断処理であって、時間をカウントするための第1の時間カウンタのカウントを初期値から開始し、前記第1の時間カウンタが所定値に到達する場合に、前記所定条件が満たされると判断し、前記第1の時間カウンタが前記所定値に一致しない場合に、前記所定条件が満たされないと判断する判断処理と、
前記所定条件が満たされると判断される場合に、前記通信機器の前記動作状態を前記親局状態から前記無所属状態に変更して、前記第1の無線ネットワークを消滅させる消滅処理であって、前記所定条件が満たされないと判断される場合に、前記通信機器の前記動作状態が前記親局状態に維持される、前記消滅処理と、
前記通信機器の前記動作状態が前記親局状態に維持されている状態において、前記第1の外部機器が前記第1の無線ネットワークに子局として参加する場合に、前記第1の無線ネットワークを利用して、前記第1のインターフェイスを介して、第1の対象データの無線通信を前記第1の外部機器と実行する通信実行処理と、
記第のインターフェイスが第2の外部機器から信号を受信することに応じて前記第2のインターフェイスから所定通知が前記制御部に供給される場合であって、時間をカウントするための第2の時間カウンタが所定値に到達する場合に、所定指示を検出する検出部と、を実行させ、
前記判断処理は、前記所定指示が検出された際に、前記第1の時間カウンタの値を前記初期値に戻して、前記第1の時間カウンタのカウントを前記初期値から再び開始するコンピュータプログラム。
A computer program for communication equipment
The computer program applies the following processes, that is, to the computer mounted on the communication device.
An establishment process for establishing a wireless connection with a first external device via the second interface of the communication device, and
When the wireless connection with the first external device is established, the operating state of the communication device is changed from the non-affiliated state not belonging to the wireless network to the first interface of the communication device. The first wireless network is formed by changing to a master station state that operates as a master station of the first wireless network for executing wireless communication via the first interface different from the second interface. Forming process and
A transmission process for transmitting the first wireless profile to be used in the first wireless network to the first external device when the wireless connection with the first external device is established.
In a determination process for determining whether or not a predetermined condition indicating that the master station state should be terminated is satisfied when the operating state of the communication device is changed from the independent state to the master station state. Therefore, counting of the first time counter for counting the time is started from the initial value, and when the first time counter reaches a predetermined value, it is determined that the predetermined condition is satisfied, and the first Judgment processing for determining that the predetermined condition is not satisfied when the time counter of 1 does not match the predetermined value, and
The extinction process of changing the operating state of the communication device from the master station state to the independent state to extinguish the first wireless network when it is determined that the predetermined condition is satisfied. The extinction process in which the operating state of the communication device is maintained in the master station state when it is determined that the predetermined conditions are not satisfied.
When the first external device participates in the first wireless network as a slave station while the operating state of the communication device is maintained in the master station state, the first wireless network is used. Then, a communication execution process for executing wireless communication of the first target data with the first external device via the first interface, and
Even if the previous SL second interfaces prescribed notification from said second interface in response to receiving a signal from the second external device is supplied to the control unit, the second to count the time When the time counter of the above reaches a predetermined value, the detection unit that detects a predetermined instruction and the detection unit are executed.
The determination processing, when the predetermined instruction is detected, the first of the value of the time counter back to the initial value, the first time counter counts a computer program to start again from the initial value of.
JP2018233328A 2018-12-13 2018-12-13 Communication equipment Active JP6842453B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018233328A JP6842453B2 (en) 2018-12-13 2018-12-13 Communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018233328A JP6842453B2 (en) 2018-12-13 2018-12-13 Communication equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2014184828A Division JP6451163B2 (en) 2014-09-11 2014-09-11 Communication equipment

Publications (2)

Publication Number Publication Date
JP2019071634A JP2019071634A (en) 2019-05-09
JP6842453B2 true JP6842453B2 (en) 2021-03-17

Family

ID=66441975

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018233328A Active JP6842453B2 (en) 2018-12-13 2018-12-13 Communication equipment

Country Status (1)

Country Link
JP (1) JP6842453B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021093564A (en) * 2019-12-06 2021-06-17 ソニーグループ株式会社 Communication control device, communication control method, and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5866812B2 (en) * 2011-06-15 2016-02-24 ブラザー工業株式会社 Wireless communication device
JP5966527B2 (en) * 2012-03-30 2016-08-10 ブラザー工業株式会社 Communication device

Also Published As

Publication number Publication date
JP2019071634A (en) 2019-05-09

Similar Documents

Publication Publication Date Title
US11882607B2 (en) Information processing apparatus, control method for information processing apparatus, and control method for communication system
US10419913B2 (en) Communication device and non-transitory computer-readable recording medium
US10397963B2 (en) Information processing apparatus, control method, and non-transitory computer-readable storage medium
JP6264815B2 (en) Communication device
JP6451163B2 (en) Communication equipment
US9210732B2 (en) Wireless communication device registration in a wireless network
JP6536226B2 (en) Communication equipment
JP6327075B2 (en) Function execution equipment
JP6477132B2 (en) Communication equipment
US9288827B2 (en) Wireless communication devices, communication systems, methods, and non-transitory computer-readable media for selectively establishing different types of connections
JP2014168215A (en) Communication apparatus
US20150092231A1 (en) Wireless Communication Apparatus
JP2013005188A (en) Radio communication device
US9148904B2 (en) Communication apparatus
JP6842453B2 (en) Communication equipment
US20230247406A1 (en) Information processing apparatus that establishes connection to a communication apparatus, control method, and non-transitory computer-readable storage medium storing program
JP6547870B2 (en) Communication equipment
JP6179437B2 (en) Function execution device
JP2018157572A (en) Function execution apparatus

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190110

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190111

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191001

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191129

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20191224

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200313

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20200313

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20200324

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20200331

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20200515

C211 Notice of termination of reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C211

Effective date: 20200519

C22 Notice of designation (change) of administrative judge

Free format text: JAPANESE INTERMEDIATE CODE: C22

Effective date: 20200720

C22 Notice of designation (change) of administrative judge

Free format text: JAPANESE INTERMEDIATE CODE: C22

Effective date: 20200908

C13 Notice of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: C13

Effective date: 20200925

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201117

C22 Notice of designation (change) of administrative judge

Free format text: JAPANESE INTERMEDIATE CODE: C22

Effective date: 20201215

C23 Notice of termination of proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C23

Effective date: 20210112

C03 Trial/appeal decision taken

Free format text: JAPANESE INTERMEDIATE CODE: C03

Effective date: 20210216

C30A Notification sent

Free format text: JAPANESE INTERMEDIATE CODE: C3012

Effective date: 20210216

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210219

R150 Certificate of patent or registration of utility model

Ref document number: 6842453

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150