JP7016838B2 - Communication equipment, control methods and programs - Google Patents

Communication equipment, control methods and programs Download PDF

Info

Publication number
JP7016838B2
JP7016838B2 JP2019123257A JP2019123257A JP7016838B2 JP 7016838 B2 JP7016838 B2 JP 7016838B2 JP 2019123257 A JP2019123257 A JP 2019123257A JP 2019123257 A JP2019123257 A JP 2019123257A JP 7016838 B2 JP7016838 B2 JP 7016838B2
Authority
JP
Japan
Prior art keywords
frequency band
wireless connection
printing device
printing
setting information
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
JP2019123257A
Other languages
Japanese (ja)
Other versions
JP2019161678A5 (en
JP2019161678A (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2019123257A priority Critical patent/JP7016838B2/en
Publication of JP2019161678A publication Critical patent/JP2019161678A/en
Publication of JP2019161678A5 publication Critical patent/JP2019161678A5/ja
Application granted granted Critical
Publication of JP7016838B2 publication Critical patent/JP7016838B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明は、通信装置、制御方法及びプログラムに関するものである。 The present invention relates to communication devices, control methods and programs.

印刷装置等の通信装置とアクセスポイント等の外部装置とが無線によって接続するための、ネットワーク設定処理を実行する技術が知られている。 A technique for executing a network setting process for wirelessly connecting a communication device such as a printing device and an external device such as an access point is known.

特許文献1には、アクセスポイントから無線通信装置に対し、周波数チャネルを含む無線パラメータが転送されることで、アクセスポイントと無線通信装置が接続する技術が記載されている。 Patent Document 1 describes a technique for connecting an access point and a wireless communication device by transferring a wireless parameter including a frequency channel from the access point to the wireless communication device.

特開2011-259372号公報Japanese Unexamined Patent Publication No. 2011-259372

ところで近年、複数の周波数帯(例えば2.4GHzと5GHz)を利用可能な通信装置が普及している。当該通信装置も、外部装置との接続に用いる周波数帯に関する情報(周波数帯情報)をネットワーク設定処理において受信して、外部装置と接続する。しかしながら従来、当該通信装置が、周波数帯情報として、それぞれ異なる複数の周波数帯に対応する複数の周波数帯情報をネットワーク設定処理において受信した場合において、複数の周波数帯のうち適切な周波数帯を用いて外部装置と接続するための制御について考慮されていなかった。 By the way, in recent years, communication devices that can use a plurality of frequency bands (for example, 2.4 GHz and 5 GHz) have become widespread. The communication device also receives information (frequency band information) regarding the frequency band used for connection with the external device in the network setting process, and connects to the external device. However, conventionally, when the communication device receives a plurality of frequency band information corresponding to a plurality of different frequency bands as frequency band information in the network setting process, the appropriate frequency band among the plurality of frequency bands is used. No consideration was given to the controls for connecting to external devices.

そこで、本発明では、複数の周波数帯を利用可能な通信装置が、それぞれ異なる複数の周波数帯に対応する複数の周波数帯情報を受信した場合に、当該通信装置に、複数の周波数帯のうち適切な周波数帯を用いさせて外部装置と接続させることを目的とする。 Therefore, in the present invention, when a communication device that can use a plurality of frequency bands receives a plurality of frequency band information corresponding to a plurality of different frequency bands, it is appropriate for the communication device among the plurality of frequency bands. The purpose is to connect to an external device by using a different frequency band.

上記課題を解決するため、本発明の印刷装置は、
2.4GHzの周波数帯と5GHzの周波数帯における無線通信を実行可能であり、利用する通信チャネルを決定しない子局になる無線接続と、利用する通信チャネルを決定する親局になる無線接続と、を並行して維持可能である印刷装置であって、
外部装置との無線接続のための処理において用いられる設定情報を受信するための所定の操作を受け付ける受付手段と、
前記所定の操作が受け付けられた後、前記設定情報を受信する設定受信手段と、
前記設定情報に基づいて、前記2.4GHzの周波数帯及び前記5GHzの周波数帯のうち少なくとも一方を用いて、前記外部装置と、前記子局に前記印刷装置がなる無線接続を確立する接続手段と、
前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記2.4GHzの周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立された場合、前記子局に前記印刷装置がなる無線接続と、前記親局での前記印刷装置の動作とが並行して維持されるように制御し、前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記5GHzの周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立された場合、前記子局に前記印刷装置がなる無線接続と、前記親局での前記印刷装置の動作とが並行して維持されないように制御する制御手段と、
前記外部装置との無線接続を介して、印刷ジョブを受信するジョブ受信手段と、
前記印刷ジョブに基づいて、印刷を実行する印刷手段と、
を有することを特徴とする。
また本発明の印刷装置は、
2.4GHzの周波数帯と5GHzの周波数帯における無線通信を実行可能であり、第1の情報処理装置との外部装置を介した第1の無線接続と、第2の情報処理装置との前記外部装置を介さない直接的な第2の無線接続と、を並行して維持可能である印刷装置であって、
外部装置との無線接続のための処理において用いられる設定情報を受信するための所定の操作を受け付ける受付手段と、
前記所定の操作が受け付けられた後、前記設定情報を受信する設定受信手段と、
前記設定情報に基づいて、前記5GHzの周波数帯及び前記2.4GHzの周波数帯のうち少なくとも一方を用いて、前記外部装置との無線接続を確立する接続手段と、
前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記2.4GHzの周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立された場合、前記第1の無線接続と、前記第2の無線接続を確立するための状態での前記印刷装置の動作とが並行して維持されるように制御し、前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記5GHzの周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立された場合、前記第1の無線接続と、前記第2の無線接続を確立するための状態での前記印刷装置の動作とが並行して維持されないように制御する制御手段と、
前記外部装置との無線接続を介して、印刷ジョブを受信するジョブ受信手段と、
前記印刷ジョブに基づいて、印刷を実行する印刷手段と、
を有することを特徴とする。
In order to solve the above problems, the printing apparatus of the present invention is used.
A wireless connection that can execute wireless communication in the 2.4 GHz frequency band and a 5 GHz frequency band and becomes a slave station that does not determine the communication channel to be used, and a wireless connection that becomes a master station that determines the communication channel to be used. Is a printing device that can maintain in parallel,
A reception means that accepts a predetermined operation for receiving setting information used in processing for wireless connection with an external device, and
After the predetermined operation is received, the setting receiving means for receiving the setting information and the setting receiving means.
Based on the setting information, using at least one of the 2.4 GHz frequency band and the 5 GHz frequency band, a connection means for establishing a wireless connection between the external device and the printing device to the slave station. ,
The predetermined operation is accepted while the printing device is operating at the master station, and a wireless connection in which the printing device is connected to the slave station using the 2.4 GHz frequency band is based on the setting information. When established, the slave station is controlled so that the wireless connection of the printing device and the operation of the printing device at the master station are maintained in parallel, and the printing device is operated at the master station. When the predetermined operation is accepted in the operating state and a wireless connection for the printing device to the slave station is established based on the setting information using the frequency band of 5 GHz, the slave station is connected to the slave station. A control means for controlling the wireless connection of the printing device and the operation of the printing device at the master station so as not to be maintained in parallel.
A job receiving means for receiving a print job via a wireless connection with the external device,
A printing means that executes printing based on the print job, and
It is characterized by having.
Further, the printing apparatus of the present invention is
It is possible to carry out wireless communication in the 2.4 GHz frequency band and the 5 GHz frequency band, and the first wireless connection via an external device with the first information processing device and the external with the second information processing device. A printing device that can maintain a direct second wireless connection, not through the device, in parallel.
A reception means that accepts a predetermined operation for receiving setting information used in processing for wireless connection with an external device, and
After the predetermined operation is received, the setting receiving means for receiving the setting information and the setting receiving means.
A connection means for establishing a wireless connection with the external device using at least one of the 5 GHz frequency band and the 2.4 GHz frequency band based on the setting information.
The predetermined operation is accepted while the printing device is operating in the state for establishing the second wireless connection, and the wireless connection with the external device is made using the 2.4 GHz frequency band. When established based on the setting information, the operation of the printing device in the state for establishing the second wireless connection is controlled to be maintained in parallel with the first wireless connection. The predetermined operation is accepted while the printing device is operating in a state for establishing the second wireless connection, and the wireless connection with the external device is performed using the frequency band of 5 GHz. When established based on the setting information, the control means for controlling so that the operation of the printing device in the state for establishing the first wireless connection and the second wireless connection is not maintained in parallel. When,
A job receiving means for receiving a print job via a wireless connection with the external device,
A printing means that executes printing based on the print job, and
It is characterized by having.

また本発明の印刷装置は、
第1の周波数帯と第2の周波数帯における無線通信を実行可能であり、利用する通信チャネルを決定しない子局になる無線接続と、利用する通信チャネルを決定する親局になる無線接続と、を並行して維持可能である印刷装置であって、
外部装置との無線接続のための処理において用いられる設定情報を受信するための所定の操作を受け付ける受付手段と、
前記所定の操作が受け付けられた後、前記設定情報を受信する設定受信手段と、
前記設定情報に基づいて、前記第1の周波数帯及び前記第2の周波数帯を含む複数の周波数帯のうち少なくとも1つを用いて、前記外部装置と、前記子局に前記印刷装置がなる無線接続を確立する接続手段と、
前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第1の周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立された場合、前記子局に前記印刷装置がなる無線接続と、前記親局での前記印刷装置の動作とが並行して維持されるように制御し、前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第2の周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立された場合、前記子局に前記印刷装置がなる無線接続と、前記親局での前記印刷装置の動作とが並行して維持されないように制御する制御手段と、
前記外部装置との無線接続を介して、印刷ジョブを受信するジョブ受信手段と、
前記印刷ジョブに基づいて、印刷を実行する印刷手段と、
を有し、
前記第2の周波数帯によって前記外部装置と無線接続している場合、Dynamic Frequency Selection又はTransmit Power Controlによって、前記外部装置と前記印刷装置との間の前記第2の周波数帯による無線接続において利用されているチャネルが他のチャネルに変更されうることを特徴とする。
また本発明の印刷装置は、
第1の周波数帯と第2の周波数帯における無線通信を実行可能であり、第1の情報処理装置との外部装置を介した第1の無線接続と、第2の情報処理装置との前記外部装置を介さない直接的な第2の無線接続と、を並行して維持可能である印刷装置であって、
外部装置との無線接続のための処理において用いられる設定情報を受信するための所定の操作を受け付ける受付手段と、
前記所定の操作が受け付けられた後、前記設定情報を受信する設定受信手段と、
前記設定情報に基づいて、前記第1の周波数帯及び前記第2の周波数帯を含む複数の周波数帯のうち少なくとも1つを用いて、前記外部装置との無線接続を確立する接続手段と、
前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第1の周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立された場合、前記第1の無線接続と、前記第2の無線接続を確立するための状態での前記印刷装置の動作とが並行して維持されるように制御し、前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第2の周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立された場合、前記第1の無線接続と、前記第2の無線接続を確立するための状態での前記印刷装置の動作とが並行して維持されないように制御する制御手段と、
前記外部装置との無線接続を介して、印刷ジョブを受信するジョブ受信手段と、
前記印刷ジョブに基づいて、印刷を実行する印刷手段と、
を有し、
前記第2の周波数帯によって前記外部装置と無線接続している場合、Dynamic Frequency Selection又はTransmit Power Controlによって、前記外部装置と前記印刷装置との間の前記第2の周波数帯による無線接続において利用されているチャネルが他のチャネルに変更されうることを特徴とする。
Further, the printing apparatus of the present invention is
A wireless connection that can execute wireless communication in the first frequency band and the second frequency band and becomes a slave station that does not determine the communication channel to be used, and a wireless connection that becomes a master station that determines the communication channel to be used. Is a printing device that can maintain in parallel,
A reception means that accepts a predetermined operation for receiving setting information used in processing for wireless connection with an external device, and
After the predetermined operation is received, the setting receiving means for receiving the setting information and the setting receiving means.
Based on the setting information, at least one of a plurality of frequency bands including the first frequency band and the second frequency band is used to make the external device and the printing device at the slave station. Connection means to establish a connection and
The predetermined operation is accepted while the printing device is operating at the master station, and a wireless connection in which the printing device is connected to the slave station using the first frequency band is based on the setting information. When established, it is controlled so that the wireless connection of the printing device to the slave station and the operation of the printing device at the master station are maintained in parallel, and the printing device operates at the master station. When the predetermined operation is accepted and a wireless connection for the printing device to the slave station is established based on the setting information using the second frequency band, the slave station is connected to the predetermined operation. A control means for controlling the wireless connection of the printing device and the operation of the printing device at the master station so as not to be maintained in parallel.
A job receiving means for receiving a print job via a wireless connection with the external device,
A printing means that executes printing based on the print job, and
Have,
When wirelessly connected to the external device by the second frequency band, it is used in the wireless connection by the second frequency band between the external device and the printing device by the Dynamic Peripheral Selection or the Transmit Power Control. It is characterized in that the channel being used can be changed to another channel.
Further, the printing apparatus of the present invention is
It is possible to carry out wireless communication in the first frequency band and the second frequency band, and the first wireless connection with the first information processing device via an external device and the external with the second information processing device. A printing device that can maintain a direct second wireless connection, not through the device, in parallel.
A reception means that accepts a predetermined operation for receiving setting information used in processing for wireless connection with an external device, and
After the predetermined operation is received, the setting receiving means for receiving the setting information and the setting receiving means.
A connection means for establishing a wireless connection with the external device by using at least one of a plurality of frequency bands including the first frequency band and the second frequency band based on the setting information.
The predetermined operation is accepted while the printing device is operating in a state for establishing the second wireless connection, and the wireless connection with the external device using the first frequency band is described. When established based on the setting information, the first wireless connection and the operation of the printing device in the state for establishing the second wireless connection are controlled to be maintained in parallel. The predetermined operation is accepted while the printing device is operating in a state for establishing the second wireless connection, and the wireless connection with the external device using the second frequency band is described. When established based on the setting information, the control means for controlling so that the operation of the printing device in the state for establishing the first wireless connection and the second wireless connection is not maintained in parallel. When,
A job receiving means for receiving a print job via a wireless connection with the external device,
A printing means that executes printing based on the print job, and
Have,
When wirelessly connected to the external device by the second frequency band, it is used in the wireless connection by the second frequency band between the external device and the printing device by the Dynamic Peripheral Selection or the Transmit Power Control. It is characterized in that the channel being used can be changed to another channel.

本発明によると、複数の周波数帯を利用可能な通信装置が、それぞれ異なる複数の周波数帯に対応する複数の周波数帯情報を受信した場合に、当該通信装置に、複数の周波数帯のうち適切な周波数帯を用いさせて外部装置と接続させる事が可能となる。 According to the present invention, when a communication device that can use a plurality of frequency bands receives a plurality of frequency band information corresponding to a plurality of different frequency bands, it is appropriate for the communication device among the plurality of frequency bands. It is possible to connect to an external device by using a frequency band.

通信システムの概略図である。It is a schematic diagram of a communication system. 携帯端末の概略構成図である。It is a schematic block diagram of a mobile terminal. 印刷装置の概略構成図である。It is a schematic block diagram of a printing apparatus. 無線接続プロファイルの一例である。This is an example of a wireless connection profile. 印刷装置が実行する自動設定方式によるネットワーク設定処理を示すフローチャートである。It is a flowchart which shows the network setting process by the automatic setting method executed by a printing apparatus. 印刷装置が実行する自動設定方式によるネットワーク設定処理を示すフローチャートである。It is a flowchart which shows the network setting process by the automatic setting method executed by a printing apparatus. 印刷装置が実行する端末装置を用いたネットワーク設定処理を示すフローチャートである。It is a flowchart which shows the network setting process using the terminal apparatus executed by a printing apparatus. 印刷装置が実行する端末装置を用いたネットワーク設定処理を示すフローチャートである。It is a flowchart which shows the network setting process using the terminal apparatus executed by a printing apparatus. 印刷装置が実行する端末装置を用いたネットワーク設定処理を示すフローチャートである。It is a flowchart which shows the network setting process using the terminal apparatus executed by a printing apparatus.

以下に、図面を参照しながら、本発明の実施形態を例示的に詳しく説明する。但し、本実施形態に記載されている構成要素の相対配置、表示画面等は、特に、特定的な記載がない限りは、この発明の範囲をそれらのみに限定する趣旨のものではない。 Hereinafter, embodiments of the present invention will be described in detail exemplary with reference to the drawings. However, the relative arrangement of the components, the display screen, and the like described in the present embodiment are not intended to limit the scope of the present invention to those alone unless otherwise specified.

(第1実施形態)
本実施形態の通信システムに含まれる情報処理装置及び通信装置について説明する。情報処理装置として、本実施形態ではパーソナルコンピュータ(PC)を例示しているが、これに限定されない。情報処理装置として、携帯端末、スマートフォン、タブレット端末、PDA(Personal Digital Assistant)、デジタルカメラ等、種々のものを適用可能である。また、通信装置として、本実施形態ではプリンタを例示しているが、これに限定されず、情報処理装置と無線通信を行うことが可能な装置であれば、種々のものを適用可能である。例えば、プリンタであれば、インクジェットプリンタ、フルカラーレーザービームプリンタ、モノクロプリンタ等に適用することができる。また、プリンタのみならず複写機やファクシミリ装置、携帯端末、スマートフォン、PC、タブレット端末、PDA、デジタルカメラ、音楽再生デバイス、テレビ等にも適用可能である。その他、複写機能、FAX機能、印刷機能等の複数の機能を備える複合機にも適用可能である。
(First Embodiment)
The information processing device and the communication device included in the communication system of the present embodiment will be described. As the information processing device, a personal computer (PC) is exemplified in this embodiment, but the present invention is not limited to this. As the information processing device, various devices such as a mobile terminal, a smartphone, a tablet terminal, a PDA (Personal Digital Assistant), and a digital camera can be applied. Further, as the communication device, a printer is exemplified in this embodiment, but the present invention is not limited to this, and various devices can be applied as long as they can perform wireless communication with the information processing device. For example, if it is a printer, it can be applied to an inkjet printer, a full-color laser beam printer, a monochrome printer, and the like. Further, it can be applied not only to printers but also to copiers, facsimile machines, mobile terminals, smartphones, PCs, tablet terminals, PDAs, digital cameras, music playback devices, televisions and the like. In addition, it can be applied to a multifunction device having a plurality of functions such as a copying function, a fax function, and a printing function.

まず、本実施形態の情報処理装置と、本実施形態の情報処理装置と通信可能な通信装置の構成について説明する。また、本実施形態では以下の構成を例に記載するが、本実施形態は通信装置と通信を行うことが可能な装置に関して適用可能なものであり、特にこの図のとおりに機能を限定するものではない。 First, the configuration of the information processing device of the present embodiment and the communication device capable of communicating with the information processing device of the present embodiment will be described. Further, in the present embodiment, the following configuration is described as an example, but the present embodiment is applicable to a device capable of communicating with a communication device, and particularly limits the functions as shown in this figure. is not it.

図2は本実施形態の情報処理装置である端末装置200の概略構成を示すブロック図である。 FIG. 2 is a block diagram showing a schematic configuration of the terminal device 200, which is the information processing device of the present embodiment.

端末装置200は、装置のメインの制御を行うメインボード201を有する。 The terminal device 200 has a main board 201 that controls the main of the device.

メインボード201において、CPU202は、システム制御部であり、端末装置200の全体を制御する。ROM203は、CPU202が実行する制御プログラムや組込オペレーティングシステム(以下、OS)プログラム等の各種プログラムを格納する。本実施形態では、ROM203に格納されている制御プログラムは、ROM203に格納されている組込OSの管理下で、スケジューリングやタスクスイッチ等のソフトウェア制御を行う。RAM204は、SRAM(static RAM)等のメモリで構成され、プログラム制御変数、ユーザが登録した設定値、端末装置200の管理データ等を格納し、各種ワーク用バッファ領域が設けられている。なお、これらの設定情報データは、RAM204でなく、ROM203や不揮発性メモリ205等の他の記憶領域に保存されても良い。 In the main board 201, the CPU 202 is a system control unit and controls the entire terminal device 200. The ROM 203 stores various programs such as a control program executed by the CPU 202 and an embedded operating system (hereinafter, OS) program. In the present embodiment, the control program stored in the ROM 203 performs software control such as scheduling and task switching under the control of the embedded OS stored in the ROM 203. The RAM 204 is composed of a memory such as an SRAM (static RAM), stores program control variables, setting values registered by the user, management data of the terminal device 200, and the like, and is provided with various work buffer areas. Note that these setting information data may be stored in another storage area such as ROM 203 or non-volatile memory 205 instead of RAM 204.

不揮発性メモリ205は、フラッシュメモリ等のメモリで構成され、電源がオフされた時でも保持していたいデータを格納する。具体的には、不揮発性メモリ205には、ネットワークに接続するためのパスワードや認証情報等のネットワーク情報、MACアドレスやSSID等の過去に接続した通信装置のリストといった端末装置200の設定情報などが記憶される。また、本実施形態では、後述する簡単接続モード用の接続情報も記憶される。なお、これらのデータは、不揮発性メモリ205でなく、ROM203やRAM204等の他の記憶領域に保存されても良い。また、ROM303や不揮発性メモリ205に保存された設定情報をCPU202がRAM204に展開することで、記憶されたデータを利用した処理を行っても良い。 The non-volatile memory 205 is composed of a memory such as a flash memory, and stores data to be retained even when the power is turned off. Specifically, the non-volatile memory 205 contains network information such as passwords and authentication information for connecting to the network, and setting information of the terminal device 200 such as a list of communication devices connected in the past such as MAC address and SSID. It will be remembered. Further, in the present embodiment, connection information for the simple connection mode, which will be described later, is also stored. Note that these data may be stored in another storage area such as ROM 203 or RAM 204 instead of the non-volatile memory 205. Further, the CPU 202 may expand the setting information stored in the ROM 303 or the non-volatile memory 205 into the RAM 204 to perform processing using the stored data.

画像メモリ206は、DRAM(dynamic RAM)等のメモリで構成され、無線LANユニット211等を介して受信した画像データや、符号復号化処理部210で処理した画像データ等の各種データを格納する。 The image memory 206 is composed of a memory such as a DRAM (dynamic RAM), and stores various data such as image data received via the wireless LAN unit 211 and the like and image data processed by the code decoding processing unit 210.

なお、端末装置200のメモリ構成は、この形態に限定されるものではなく、用途や目的に応じて、その数や特性、記憶容量等を適宜変更することができる。例えば、画像メモリ206とRAM204を共有させてもよい。また、画像メモリ206は、DRAM等で構成されているが、これに限定されず、ハードディスク(以下、HDD)や不揮発性メモリ等で構成されていても良い。 The memory configuration of the terminal device 200 is not limited to this form, and the number, characteristics, storage capacity, and the like can be appropriately changed depending on the intended use and purpose. For example, the image memory 206 and the RAM 204 may be shared. Further, the image memory 206 is composed of a DRAM or the like, but is not limited to this, and may be composed of a hard disk (hereinafter, HDD), a non-volatile memory, or the like.

データ変換部207は、ページ記述言語(PDL)等のデータの生成や、画像データに対する色変換、画像変換などのデータ変換を行う。 The data conversion unit 207 generates data such as a page description language (PDL), and performs data conversion such as color conversion and image conversion for image data.

操作部208及び表示部209は、端末装置200に対する各種入力の受け付けや端末装置200に関する各種情報の表示を行う。 The operation unit 208 and the display unit 209 accept various inputs to the terminal device 200 and display various information related to the terminal device 200.

符号復号化処理部210は、画像データに対し、符号復号化処理や拡大縮小処理等の各種処理を行う。 The code decoding processing unit 210 performs various processes such as code decoding processing and enlargement / reduction processing on the image data.

無線LANユニット211は、Wi-Fi(WirelessFidelity)(登録商標)等の規格に準拠した無線LAN通信を実現するためのユニットである。無線LANユニット211は、無線LAN接続を確立するための、ビーコン検知処理や認証処理、無線LAN接続を確立した通信装置への印刷ジョブの送信等の機能を担う。また、無線LANユニット211は、バスケーブル212を介してシステムバス213に接続されている。なお、CPU202は無線LANユニット211を制御し、端末装置200内のアクセスポイント(AP)を動作させることが可能である。 The wireless LAN unit 211 is a unit for realizing wireless LAN communication conforming to a standard such as Wi-Fi (Wireless Fidelity) (registered trademark). The wireless LAN unit 211 has functions such as beacon detection processing and authentication processing for establishing a wireless LAN connection, and transmission of a print job to a communication device for which a wireless LAN connection has been established. Further, the wireless LAN unit 211 is connected to the system bus 213 via the bus cable 212. The CPU 202 can control the wireless LAN unit 211 to operate the access point (AP) in the terminal device 200.

また、本実施形態では、端末装置200は、無線LANユニット211を介して印刷装置300に印刷を行わせるための印刷ジョブを送信する。なお、送信されるジョブは、印刷ジョブに限定されない。例えば、印刷装置300にスキャンを行わせるためスキャンジョブや、印刷装置300にコピーを行わせるためコピージョブ、印刷装置300の設定を変更するための設定コマンド等であっても良い。また、本実施形態の通信装置がストレージ等であれば、ジョブ以外にも、通信装置に保存させるデータ(画像データや動画データ等)を送信しても良い。なお、印刷装置300にスキャンジョブが送信された場合、スキャンジョブに基づいて原稿がスキャンされることにより生成される画像データが、端末装置200に送信される。 Further, in the present embodiment, the terminal device 200 transmits a print job for causing the printing device 300 to perform printing via the wireless LAN unit 211. The job to be transmitted is not limited to the print job. For example, it may be a scan job for causing the printing apparatus 300 to perform scanning, a copy job for causing the printing apparatus 300 to perform copying, a setting command for changing the setting of the printing apparatus 300, or the like. Further, if the communication device of the present embodiment is a storage or the like, data (image data, moving image data, etc.) to be stored in the communication device may be transmitted in addition to the job. When the scan job is transmitted to the printing device 300, the image data generated by scanning the original based on the scan job is transmitted to the terminal device 200.

無線LANユニット211は、無線通信で印刷装置300とダイレクトに通信しても良いし、端末装置200や印刷装置300の外部に存在する外部装置を介して通信しても良い。なお、外部装置とは、ルータ装置等の機器であるアクセスポイントや、アクセスポイント以外で通信を中継可能な装置を含む。 The wireless LAN unit 211 may communicate directly with the printing device 300 by wireless communication, or may communicate via an external device existing outside the terminal device 200 or the printing device 300. The external device includes an access point which is a device such as a router device and a device capable of relaying communication other than the access point.

本実施形態では、無線LANユニット211は、IEEE 802.11シリーズの規格(Wi-Fi)を用いることとするが、例えばBluetooth(登録商標)等が利用されても良い。なお、本実施形態において、端末装置200と印刷装置300とが外部装置を介さずにダイレクトに接続する方式をダイレクト接続方式という。また、端末装置200と印刷装置300とが外部装置を介して接続する方式をインフラストラクチャー(以下、インフラ)接続方式という。また、本実施形態において、アクセスポイントを介した接続は、無線LANユニット211によって実行されるものとする。 In the present embodiment, the wireless LAN unit 211 uses the IEEE 802.11 series standard (Wi-Fi), but for example, Bluetooth (registered trademark) or the like may be used. In the present embodiment, a method in which the terminal device 200 and the printing device 300 are directly connected without an external device is referred to as a direct connection method. Further, a method in which the terminal device 200 and the printing device 300 are connected via an external device is referred to as an infrastructure (hereinafter referred to as infrastructure) connection method. Further, in the present embodiment, the connection via the access point is executed by the wireless LAN unit 211.

上記各種構成要素202~212は、CPU202が管理するシステムバス213を介して、相互に接続されている。 The various components 202 to 212 are connected to each other via the system bus 213 managed by the CPU 202.

なお、端末装置200は、無線LANユニット211以外の通信ユニットを備えていても良い。また、端末装置200は、通信ユニットを複数備え、複数種類の通信方式によって通信可能であっても良い。なお、通信は無線通信でダイレクトに通信しても良いし、ネットワーク上に設置した端末装置200外部のアクセスポイントを介して通信しても良い。通信方式としては、例えば、Bluetooth Low Energy(登録商標)やNFC(Near Field Communication;ISO/IEC IS18092)、Wi-Fi Aware等が挙げられる。また、無線ではなく、有線によって通信しても良い。 The terminal device 200 may include a communication unit other than the wireless LAN unit 211. Further, the terminal device 200 may be provided with a plurality of communication units and may be capable of communicating by a plurality of types of communication methods. The communication may be performed directly by wireless communication, or may be performed via an access point outside the terminal device 200 installed on the network. Examples of the communication method include Bluetooth Low Energy (registered trademark), NFC (Near Field Communication; ISO / IEC IS18092), Wi-Fi Area and the like. Moreover, you may communicate by wire instead of wireless.

図3は本実施形態の通信装置である印刷装置300の概略構成を示すブロック図である。 FIG. 3 is a block diagram showing a schematic configuration of the printing device 300, which is the communication device of the present embodiment.

印刷装置300は、装置のメインの制御を行うメインボード301を有する。 The printing apparatus 300 has a main board 301 that controls the main of the apparatus.

メインボード301において、CPU302は、システム制御部であり、印刷装置300の全体を制御する。ROM303は、CPU302が実行する制御プログラムや組込OSプログラム等の各種プログラムを格納する。本実施形態では、ROM303に格納されている制御プログラムは、ROM303に格納されている組込OSの管理下で、スケジューリングやタスクスイッチ等のソフトウェア制御を行う。RAM304は、SRAM等のメモリで構成され、プログラム制御変数、ユーザが登録した設定値、印刷装置300の管理データ、後述のモード変更条件の設定情報等を格納し、各種ワーク用バッファ領域が設けられている。なお、これらのデータは、RAM304でなく、ROM303や不揮発性メモリ305等の他の記憶領域に保存されても良い。 In the main board 301, the CPU 302 is a system control unit and controls the entire printing apparatus 300. The ROM 303 stores various programs such as a control program executed by the CPU 302 and an embedded OS program. In the present embodiment, the control program stored in the ROM 303 performs software control such as scheduling and task switching under the control of the embedded OS stored in the ROM 303. The RAM 304 is composed of a memory such as an SRAM, stores program control variables, setting values registered by the user, management data of the printing device 300, setting information of mode change conditions described later, and is provided with various work buffer areas. ing. Note that these data may be stored in another storage area such as ROM 303 or non-volatile memory 305 instead of RAM 304.

不揮発性メモリ305は、フラッシュメモリ等のメモリで構成され、電源がオフされた場合でも保持していたいデータを格納する。具体的には、ネットワークに接続するためのパスワードや認証情報等のネットワーク情報、MACアドレスやSSID等の過去に接続した外部装置のリスト、印刷モードなどのメニュー項目、記録ヘッドの補正情報等の印刷装置300の設定情報等が格納される。なお、これらの設定情報データは、不揮発性メモリ305でなく、ROM303やRAM304等の他の記憶領域に保存されても良い。また、ROM303や不揮発性メモリ305に保存された設定情報をCPU302がRAM304に展開することで、設定情報を利用した処理を行っても良い。 The non-volatile memory 305 is composed of a memory such as a flash memory, and stores data to be retained even when the power is turned off. Specifically, it prints network information such as passwords and authentication information for connecting to the network, a list of external devices connected in the past such as MAC address and SSID, menu items such as print mode, and correction information of the recording head. The setting information of the device 300 and the like are stored. Note that these setting information data may be stored in another storage area such as ROM 303 or RAM 304 instead of the non-volatile memory 305. Further, the CPU 302 may expand the setting information stored in the ROM 303 or the non-volatile memory 305 into the RAM 304 to perform processing using the setting information.

画像メモリ306は、DRAM等のメモリで構成され、無線LANユニット316等を介して受け付けた画像データや、符号復号化処理部312で処理した画像データ等の各種データを格納する。 The image memory 306 is composed of a memory such as a DRAM, and stores various data such as image data received via the wireless LAN unit 316 and the like, and image data processed by the code decoding processing unit 312.

なお、印刷装置300のメモリ構成は、この形態に限定されるものではなく、用途や目的に応じて、その数や特性、記憶容量等を適宜変更することができる。例えば、画像メモリ306とRAM304を共有させてもよい。また、画像メモリ306は、DRAM等で構成されているが、これに限定されず、ハードディスク(以下、HDD)や不揮発性メモリ等で構成されていても良い。 The memory configuration of the printing device 300 is not limited to this form, and the number, characteristics, storage capacity, and the like can be appropriately changed depending on the intended use and purpose. For example, the image memory 306 and the RAM 304 may be shared. Further, the image memory 306 is composed of a DRAM or the like, but is not limited to this, and may be composed of a hard disk (hereinafter, HDD), a non-volatile memory, or the like.

データ変換部307は、受信したジョブに含まれる画像データに対し、画像処理制御部(不図示)を介して、スムージング処理や記録濃度補正処理、色補正等の各種画像処理を行う。これらの処理を実行することで、データ変換部307は、印刷対象の画像データを高精細な印刷データに変換し、変換した印刷データを記録部314に出力する。 The data conversion unit 307 performs various image processing such as smoothing processing, recording density correction processing, and color correction on the image data included in the received job via the image processing control unit (not shown). By executing these processes, the data conversion unit 307 converts the image data to be printed into high-definition print data, and outputs the converted print data to the recording unit 314.

読取部310は、CISイメージセンサ(密着型イメージセンサ)等によって原稿を光学的に読み取る。読取制御部308は、読取部310が読み取った画像信号に対し、2値化処理や中間調処理等の各種画像処理を施すことで、高精細な画像データを出力する。 The reading unit 310 optically reads the original by a CIS image sensor (contact type image sensor) or the like. The reading control unit 308 outputs high-definition image data by performing various image processing such as binarization processing and halftone processing on the image signal read by the reading unit 310.

操作部309及び表示部311は、印刷装置300に対する各種入力の受け付けや印刷装置300に関する各種情報の表示を行う。 The operation unit 309 and the display unit 311 accept various inputs to the printing device 300 and display various information about the printing device 300.

符号復号化処理部312は、画像データに対し、符号復号化処理や拡大縮小処理等の各種処理を行う。 The code decoding processing unit 312 performs various processing such as code decoding processing and enlargement / reduction processing on the image data.

給紙部313は、印刷のための記録媒体を保持し、記録制御部315からの制御によって記録部314に対して記録媒体を供給する。なお、給紙部313は、複数の給紙カセットを有するものとする。 The paper feed unit 313 holds a recording medium for printing, and supplies the recording medium to the recording unit 314 under the control of the recording control unit 315. It is assumed that the paper feed unit 313 has a plurality of paper feed cassettes.

記録制御部315は、複数の給紙カセットのうちいずれの部位から給紙を行うかを制御する。また、記録制御部315は、記録部314のステータス等の各種情報を定期的に読みだすことで、RAM304の情報を更新する役割も果たす。具体的には、記録制御部315は、例えば、使用中、スリープ中、エラー発生中といった装置の状態やインクタンクの残量等の情報を更新する。 The recording control unit 315 controls from which portion of the plurality of paper cassettes the paper is fed. The recording control unit 315 also plays a role of updating the information of the RAM 304 by periodically reading out various information such as the status of the recording unit 314. Specifically, the recording control unit 315 updates information such as the state of the device such as in use, sleep, and error occurrence, and the remaining amount of the ink tank.

記録部314は、データ変換部307から出力された印刷データや印刷ジョブに含まれる印刷設定情報に基づき、インク等の記録剤によって記録媒体上に画像を形成する(印刷する)画像形成処理(印刷処理)を実行する。 The recording unit 314 forms (prints) an image on a recording medium with a recording agent such as ink based on the print data output from the data conversion unit 307 and the print setting information included in the print job (printing). Process) is executed.

無線LANユニット316は、Wi-Fi等の規格に準拠した無線LAN通信を実現するためのユニットである。無線LANユニット316は、無線LAN接続を確立するための、接続情報の送信処理や認証処理、無線LAN接続を確立した端末装置からのジョブの受信等の機能を担う。また、無線LANユニット316は、バスケーブル317を介してシステムバス318に接続されている。なお、CPU302は無線LANユニット211を制御し、印刷装置300内のアクセスポイントを動作させることが可能である。すなわち、印刷装置300をGroupOwnerやソフトAPとして動作させることが可能である。また、本実施形態において、アクセスポイントを介した接続は、無線LANユニット316によって実行されるものとする。 The wireless LAN unit 316 is a unit for realizing wireless LAN communication conforming to a standard such as Wi-Fi. The wireless LAN unit 316 is responsible for functions such as transmission information transmission processing and authentication processing for establishing a wireless LAN connection, and reception of jobs from a terminal device that has established a wireless LAN connection. Further, the wireless LAN unit 316 is connected to the system bus 318 via the bus cable 317. The CPU 302 can control the wireless LAN unit 211 to operate the access point in the printing device 300. That is, it is possible to operate the printing device 300 as a Group Owner or a soft AP. Further, in the present embodiment, the connection via the access point is executed by the wireless LAN unit 316.

上記各種構成要素302~317は、CPU302が管理するシステムバス318を介して、相互に接続されている。 The various components 302 to 317 are connected to each other via a system bus 318 managed by the CPU 302.

なお、印刷装置300は、無線LANユニット316以外の通信ユニットを備えていても良い。なお、通信は無線通信でダイレクトに通信しても良いし、ネットワーク上に設置した印刷装置300外部のアクセスポイントを介して通信しても良い。本実施形態では、ダイレクトに通信する場合、印刷装置300がGroupOwnerまたはソフトAPとして動作する。通信方式としては、例えば、BluetoothやNFC、Wi-Fi Aware等が挙げられる。また、無線通信に限らず、有線LAN等によって有線による通信を行っても良い、印刷装置300は、これらの通信方式を利用したネットワークを介して、端末装置200等の他の外部装置からジョブを受け付ける。なお、本実施形態では、印刷装置300は、ダイレクト通信においては、5GHzの周波数帯に対応するチャネルを用いず、2.4GHzの周波数帯に対応するチャネルを用いることとする。しかしながらこの形態に限定されない。例えば印刷装置300は、5GHzの周波数帯に対応するチャネルのうち、後述するDFSによる切り替えが行われないチャネル(気象レーダ等の特定の装置が利用することがないチャネル)を用いてダイレクト通信を行っても良い。 なお、本実施形態では、印刷装置300は、IEEE 802.11シリーズの規格に基づいて、2.4GHzと5GHzのうち少なくとも1つの周波数帯を無線接続に使用するものとする。印刷装置300は、利用可能な周波数帯に対応する通信チャネルを有している。例えば、2.4GHzの周波数帯を利用可能であれば、印刷装置300は、2.4GHzの周波数帯のうちの所定の周波数帯に割り当てられた13個の通信チャネルを有している。また、例えば、5GHzの周波数帯を利用可能であれば、印刷装置300は、5GHzの周波数帯のうちの所定の周波数帯に割り当てられた24個の通信チャネルを有している。 The printing device 300 may include a communication unit other than the wireless LAN unit 316. The communication may be performed directly by wireless communication, or may be performed via an access point outside the printing device 300 installed on the network. In the present embodiment, when communicating directly, the printing device 300 operates as a Group Owner or a soft AP. Examples of the communication method include Bluetooth, NFC, Wi-Fi Area and the like. Further, the printing device 300 may perform wired communication not only by wireless communication but also by wired LAN or the like, and the printing device 300 can perform jobs from other external devices such as the terminal device 200 via a network using these communication methods. accept. In the present embodiment, in the direct communication, the printing apparatus 300 does not use the channel corresponding to the frequency band of 5 GHz, but uses the channel corresponding to the frequency band of 2.4 GHz. However, it is not limited to this form. For example, the printing device 300 performs direct communication using a channel corresponding to a frequency band of 5 GHz that is not switched by DFS (a channel that is not used by a specific device such as a weather radar), which will be described later. May be. In the present embodiment, the printing apparatus 300 uses at least one frequency band of 2.4 GHz and 5 GHz for wireless connection based on the standard of the IEEE 802.11 series. The printing device 300 has a communication channel corresponding to an available frequency band. For example, if a 2.4 GHz frequency band is available, the printer 300 has 13 communication channels assigned to a predetermined frequency band of the 2.4 GHz frequency band. Further, for example, if a frequency band of 5 GHz is available, the printing apparatus 300 has 24 communication channels assigned to a predetermined frequency band among the frequency bands of 5 GHz.

図1は、本実施形態の通信システムを示す。本実施形態の通信システムは、端末装置200と、印刷装置300と、アクセスポイント400を含む。印刷装置300と端末装置200は、それぞれの装置外部のアクセスポイント400を介して無線LAN接続し、相互に通信することが可能である。また、印刷装置300や端末装置200は、それぞれの装置内のアクセスポイントを有効化することで、それぞれの装置自身がアクセスポイントとして動作することもできる。そのため、例えばどちらか一方の装置がアクセスポイントとなり、もう一方の装置が当該アクセスポイントに接続することで、端末装置200と印刷装置300はアクセスポイント400を介さずに直接無線LAN接続することも可能である。また、端末装置200と印刷装置300は共に無線LANの機能を有するため、相互認証をすることによってピアツーピア(以後、P2P)の通信が可能となる。 FIG. 1 shows the communication system of the present embodiment. The communication system of this embodiment includes a terminal device 200, a printing device 300, and an access point 400. The printing device 300 and the terminal device 200 can be connected to each other via a wireless LAN via an access point 400 outside the respective devices and can communicate with each other. Further, the printing device 300 and the terminal device 200 can operate as an access point by enabling the access point in each device. Therefore, for example, if one of the devices becomes an access point and the other device connects to the access point, the terminal device 200 and the printing device 300 can be directly connected to the wireless LAN without going through the access point 400. Is. Further, since both the terminal device 200 and the printing device 300 have a wireless LAN function, peer-to-peer (hereinafter, P2P) communication is possible by performing mutual authentication.

アクセスポイント400は、ルータ装置である。ルータ装置とは、装置間(例えば情報処理装置と通信装置間)のデータ通信を中継する装置である。本実施形態では、ルータ装置がアクセスポイントとなり、ルータ装置のアクセスポイントに接続している装置間のデータ通信を中継する。なお、ルータ装置が利用する通信方式は、無線通信方式でも有線通信方式であっても良いし、その両方であっても良いが、本実施形態では、ルータ装置は、少なくとも無線通信方式によって通信可能である無線LANルータ機能を有しているものとする。 The access point 400 is a router device. A router device is a device that relays data communication between devices (for example, between an information processing device and a communication device). In the present embodiment, the router device serves as an access point and relays data communication between devices connected to the access point of the router device. The communication method used by the router device may be a wireless communication method, a wired communication method, or both, but in the present embodiment, the router device can communicate by at least a wireless communication method. It is assumed that it has a wireless LAN router function.

本実施形態において印刷装置300はアクセスポイント400に無線LANで接続している。つまり、端末装置200は、アクセスポイント400を介して印刷装置300と通信可能な状態となっている。すなわち、端末装置200は、印刷装置300とインフラ接続によって接続している。インフラ接続が構築されることで、印刷装置300や端末装置200は、アクセスポイント400によって形成されるネットワークに属する装置と互いに通信することができる。また、アクセスポイント400がインターネットに接続している場合は、印刷装置300や端末装置200は、アクセスポイント400を介してインターネットを利用することもできる。 In the present embodiment, the printing device 300 is connected to the access point 400 by a wireless LAN. That is, the terminal device 200 is in a state of being able to communicate with the printing device 300 via the access point 400. That is, the terminal device 200 is connected to the printing device 300 by an infrastructure connection. By constructing the infrastructure connection, the printing device 300 and the terminal device 200 can communicate with each other with the devices belonging to the network formed by the access point 400. Further, when the access point 400 is connected to the Internet, the printing device 300 and the terminal device 200 can also use the Internet via the access point 400.

本実施形態では、上述のインフラ接続を構築するために、印刷装置300とアクセスポイント400とを接続させるための設定処理(ネットワーク設定処理)を実行する形態について説明する。 In this embodiment, a mode for executing a setting process (network setting process) for connecting the printing device 300 and the access point 400 in order to construct the above-mentioned infrastructure connection will be described.

ネットワーク設定処理の方法として、具体的には例えば、端末装置200が、印刷装置300にネットワーク設定情報を送信することで、印刷装置300とアクセスポイント400を接続させる方法がある。ここで、ネットワーク設定情報とは例えば、印刷装置300の接続先となるアクセスポイント400と接続するために利用される接続情報(Service Set Identifier(以下、SSID)、パスワード等)である。なお、接続情報は、印刷装置300がアクセスポイント400に接続を要求する際に、印刷装置300からアクセスポイント400に送信される。また例えば、ネットワーク設定処理の方法として、AOSS(AirStation One-Touch Secure System)、らくらく無線スタート、WPS(Wi-Fi ProtectedSetup)と呼ばれる方法もある。これらの方法は、端末装置200を介さずにアクセスポイント400からネットワーク設定情報を直接印刷装置300が受信することで、印刷装置300とアクセスポイント400を接続させる方法であり、以後これらの方法を自動設定方式と呼ぶ。 Specifically, as a method of network setting processing, for example, there is a method in which a terminal device 200 connects a printing device 300 and an access point 400 by transmitting network setting information to the printing device 300. Here, the network setting information is, for example, connection information (Service Set Identifier (hereinafter, SSID), password, etc.) used for connecting to the access point 400 to which the printing device 300 is connected. The connection information is transmitted from the printing device 300 to the access point 400 when the printing device 300 requests the access point 400 to connect. Further, for example, as a method of network setting processing, there is also a method called AOSS (AirStation One-Touch System System), easy wireless start, and WPS (Wi-Fi ProtectedStep). These methods are methods in which the printing device 300 directly receives network setting information from the access point 400 without going through the terminal device 200 to connect the printing device 300 and the access point 400. Hereinafter, these methods are automatically performed. Called the setting method.

ところで無線接続とは、特定の周波数帯を用いて行われる接続である。そして近年、印刷装置300として、複数の周波数帯(例えば、2.4GHzと5GHz)を用いることができる装置が登場している。本実施形態における印刷装置300も、複数の周波数帯を用いた無線接続を実行可能であるものとする。印刷装置300は、アクセスポイントと接続する際は、まず、使用可能な周波数帯に対応する通信チャネルを用いてアクセスポイントを検索(APサーチ)する。その後、印刷装置300は、上述のようにして受け取った接続情報に対応するアクセスポイントに、使用可能な周波数帯に対応する通信チャネルを用いて接続要求を送信することで、アクセスポイントと無線接続する。 By the way, a wireless connection is a connection made using a specific frequency band. In recent years, as a printing apparatus 300, an apparatus capable of using a plurality of frequency bands (for example, 2.4 GHz and 5 GHz) has appeared. It is assumed that the printing apparatus 300 in the present embodiment can also execute wireless connection using a plurality of frequency bands. When connecting to an access point, the printing apparatus 300 first searches for an access point (AP search) using a communication channel corresponding to a usable frequency band. After that, the printing device 300 wirelessly connects to the access point by transmitting a connection request to the access point corresponding to the connection information received as described above using the communication channel corresponding to the available frequency band. ..

このような印刷装置300は、アクセスポイントと無線接続するためにいずれの周波数帯を用いればよいかが分からなければ、アクセスポイントと接続できない。なお例えば、印刷装置300の形態として、いずれの周波数帯を用いればよいかが分からなくとも、自身が使用できる周波数帯を使用してAPサーチを実行し、アクセスポイントとの接続を試みる形態も考えられる。しかしながら、一般に印刷装置300は、複数の周波数帯を同時に用いることができないため、上記の形態では、印刷装置300は、自身が使用できる周波数帯を1つずつ順に使用することになる。その場合、印刷装置300は、アクセスポイントと接続するための周波数帯以外の周波数帯を使用して接続を試みてしまうことがある。すなわち、上記の形態においても、印刷装置300は、アクセスポイントと接続するために時間がかかったり、無駄な処理を実行してしまったりすることがある。 Such a printing device 300 cannot connect to the access point unless it knows which frequency band should be used for wirelessly connecting to the access point. For example, as a form of the printing apparatus 300, even if it is not known which frequency band should be used, an AP search may be executed using a frequency band that can be used by itself to try to connect to an access point. .. However, in general, the printing apparatus 300 cannot use a plurality of frequency bands at the same time. Therefore, in the above-described embodiment, the printing apparatus 300 uses the frequency bands that can be used by itself one by one. In that case, the printing device 300 may attempt to connect using a frequency band other than the frequency band for connecting to the access point. That is, even in the above-described embodiment, the printing device 300 may take a long time to connect to the access point or may execute unnecessary processing.

このようなことから、ネットワーク設定処理においては、接続対象のアクセスポイントが使用可能な周波数帯に関する情報(周波数帯情報)が、印刷装置300に対して通知されることが好ましい。なお、周波数帯情報は、接続対象のアクセスポイントとの接続に利用される周波数帯に関する情報でもある。 For this reason, in the network setting process, it is preferable that the printing device 300 is notified of information (frequency band information) regarding a frequency band that can be used by the access point to be connected. The frequency band information is also information about a frequency band used for connection with the access point to be connected.

ところが、ネットワーク設定処理の方法、接続対象のアクセスポイントの機種や搭載ソフトウェアの種類、ネットワーク設定処理を実行する端末装置200の機種や搭載ソフトウェアの種類によっては、周波数帯情報が通知されないことがある。具体的には例えば、WPSにおいては、周波数帯情報が印刷装置300に対して通知されるか否かはアクセスポイント側の機種に依存するため、当該情報が印刷装置300に対して通知されないことがある。また、例えば、端末装置200が備えているOSの種類によっては、周波数帯情報を端末装置200が取得できないことがあるため、当該情報が印刷装置300に対して通知されないことがある。これにより、印刷装置300は、ネットワーク設定処理において、いずれの周波数帯を用いれば良いかを特定できないことがあるという課題が発生する。 However, the frequency band information may not be notified depending on the method of network setting processing, the model of the access point to be connected and the type of installed software, the model of the terminal device 200 that executes the network setting processing, and the type of installed software. Specifically, for example, in WPS, whether or not the frequency band information is notified to the printing device 300 depends on the model on the access point side, so that the information may not be notified to the printing device 300. be. Further, for example, depending on the type of OS included in the terminal device 200, the terminal device 200 may not be able to acquire the frequency band information, so that the information may not be notified to the printing device 300. This causes a problem that the printing apparatus 300 may not be able to specify which frequency band should be used in the network setting process.

また例えば、接続対象のアクセスポイントが複数の周波数に対応している場合等は、周波数帯情報が複数通知されることがある。具体的には例えば、周波数帯情報として、2.4GHzに対応する情報と、5GHzに対応する情報の両方が通知されることがある。この場合も、印刷装置300は、ネットワーク設定処理において、複数の周波数帯のうちいずれの周波数帯を用いれば良いかを特定できないことがあるという課題が発生する。 Further, for example, when the access point to be connected supports a plurality of frequencies, a plurality of frequency band information may be notified. Specifically, for example, as frequency band information, both information corresponding to 2.4 GHz and information corresponding to 5 GHz may be notified. In this case as well, the printing apparatus 300 has a problem that it may not be possible to specify which frequency band should be used among the plurality of frequency bands in the network setting process.

そこで、本実施形態では、ネットワーク設定処理において、周波数帯情報が印刷装置300に通知されない場合にも、適切な周波数帯を用いてアクセスポイントとの接続を試みる形態について説明する。 Therefore, in the present embodiment, a mode of attempting to connect to the access point using an appropriate frequency band even when the frequency band information is not notified to the printing device 300 in the network setting process will be described.

また、本実施形態では、ネットワーク設定処理において、接続対象のアクセスポイントが使用可能な周波数帯に関する複数の情報が印刷装置300に通知される場合にも、適切な周波数帯を用いてアクセスポイントとの接続を試みる形態について説明する。 Further, in the present embodiment, even when a plurality of information regarding the frequency band that can be used by the access point to be connected is notified to the printing device 300 in the network setting process, the appropriate frequency band is used with the access point. The form of attempting a connection will be described.

具体的には印刷装置300は、上述の場合において、5GHzより、2.4GHzを優先して用いて、アクセスポイントとの接続を試みる。以下に、本実施形態において、印刷装置300が5GHzより2.4GHzを優先して用いてアクセスポイントとの接続を試みる理由について説明する。 Specifically, in the above case, the printing apparatus 300 tries to connect to the access point by giving priority to 2.4 GHz over 5 GHz. Hereinafter, in the present embodiment, the reason why the printing apparatus 300 tries to connect to the access point by giving priority to 2.4 GHz over 5 GHz will be described.

本実施形態において、印刷装置300は、インフラ接続によって通信するモード(インフラ通信モード)と、ダイレクト接続によって通信するモード(ダイレクト通信モード(P2Pモード))とで、同時に(並行して)動作することが可能であるものとする。そのため、印刷装置300は、インフラ接続とダイレクト接続とを同時に(並行して)確立・維持可能である。 In the present embodiment, the printing apparatus 300 operates simultaneously (in parallel) in a mode of communicating by an infrastructure connection (infrastructure communication mode) and a mode of communicating by a direct connection (direct communication mode (P2P mode)). Shall be possible. Therefore, the printing apparatus 300 can establish and maintain the infrastructure connection and the direct connection at the same time (in parallel).

ダイレクト接続は、印刷装置300又は端末装置200がAP(すなわち、親局)となり、APでない方の装置がクライアント(すなわち、子局)となって構築された無線ネットワークにおける接続である。なお、本実施形態では、ダイレクト接続において印刷装置300がAPとなって無線ネットワークが構築されるものとする。ダイレクト通信モードは、印刷装置300がGroupOwnerとして動作するWFD(Wi-Fi Direct)モードと、印刷装置300がソフトAPとして動作するソフトAPモードとを含む。各モードで、印刷装置300が有効化するAPのSSIDやパスワードは異なるものとする。 The direct connection is a connection in a wireless network constructed in which the printing device 300 or the terminal device 200 becomes the AP (that is, the master station) and the device that is not the AP becomes the client (that is, the slave station). In this embodiment, it is assumed that the printing device 300 serves as an AP in the direct connection to construct a wireless network. The direct communication mode includes a WFD (Wi-Fi Direct) mode in which the printing device 300 operates as a Group Owner, and a soft AP mode in which the printing device 300 operates as a soft AP. It is assumed that the SSID and password of the AP enabled by the printing apparatus 300 are different in each mode.

インフラ接続は、アクセスポイント400により構築された無線ネットワークにおける接続である。インフラ接続は、アクセスポイント400がAP(すなわち、親局)となり、印刷装置300がクライアント(すなわち、子局)となって構築された無線ネットワークにおける接続である。 The infrastructure connection is a connection in the wireless network constructed by the access point 400. The infrastructure connection is a connection in a wireless network constructed by the access point 400 as an AP (that is, a master station) and the printing device 300 as a client (that is, a slave station).

また、以後、インフラ接続とダイレクト接続を同時に(並行して)確立し、インフラ接続とダイレクト接続を介して同時に(並行して)通信可能に動作することを、同時動作という。なお、同時動作において、印刷装置300がダイレクト接続によって接続している端末装置200と、印刷装置300がインフラ接続によって接続している端末装置200とはそれぞれ異なる。すなわち、印刷装置300は、同時動作によって複数の装置と接続することができる。 Further, thereafter, establishing an infrastructure connection and a direct connection at the same time (in parallel) and operating the infrastructure connection and the direct connection via the infrastructure connection and the direct connection at the same time (in parallel) is referred to as simultaneous operation. In the simultaneous operation, the terminal device 200 to which the printing device 300 is connected by the direct connection and the terminal device 200 to which the printing device 300 is connected by the infrastructure connection are different from each other. That is, the printing device 300 can be connected to a plurality of devices by simultaneous operation.

インフラ接続による通信及びダイレクト接続による通信は、特定の周波数帯域(特定のチャネル)を使用して行われる。そのため、インフラ接続による通信とダイレクト接続による通信のいずれにおいても、通信が開始される前に、まず、各装置間の通信・接続に利用されるチャネルが決定される必要がある。なお、1つの無線ICチップに同時に複数のチャネルを割り当てて通信させる形態では、通信を行う各装置の構成や各装置が実行する処理が複雑となってしまう。従って、例えば、印刷装置300が同時動作する場合は、各モードにおける通信において、共通のチャネルが使用されることが望ましい。すなわち、印刷装置300は、同時動作している場合においても、1つのチャネルのみを使用することが望ましい。そのため、本実施形態では、無線LANユニット316は、所定のチャネルによる通信を実現する無線ICチップを1つのみ有するものとし、印刷装置300は、同時に複数のチャネルを用いて通信しないものとする。 Communication by infrastructure connection and communication by direct connection are performed using a specific frequency band (specific channel). Therefore, in both the communication by infrastructure connection and the communication by direct connection, it is necessary to first determine the channel used for communication / connection between each device before the communication is started. In the form of allocating a plurality of channels to one wireless IC chip at the same time for communication, the configuration of each device for communication and the processing executed by each device become complicated. Therefore, for example, when the printing devices 300 operate simultaneously, it is desirable that a common channel is used for communication in each mode. That is, it is desirable that the printing apparatus 300 uses only one channel even when the printing apparatus 300 is operating simultaneously. Therefore, in the present embodiment, the wireless LAN unit 316 has only one wireless IC chip that realizes communication by a predetermined channel, and the printing device 300 does not communicate using a plurality of channels at the same time.

印刷装置300がGroupOwnerまたはソフトAPとして動作しているのであれば、ダイレクト接続に利用されるチャネルは、親局である印刷装置300が自由に決定可能である。しかしながら、インフラ接続に利用されるチャネルは、インフラ接続において親局であるアクセスポイント400によって決定される。そのため、印刷装置300は、同時動作する場合は、アクセスポイント400によって決定された、インフラ接続に利用するチャネルを、ダイレクト接続に利用するチャネルとして決定することが好ましい。 If the printing device 300 is operating as a Group Owner or a soft AP, the printing device 300, which is the master station, can freely determine the channel used for the direct connection. However, the channel used for the infrastructure connection is determined by the access point 400, which is the master station in the infrastructure connection. Therefore, when the printing apparatus 300 operates simultaneously, it is preferable that the channel used for the infrastructure connection determined by the access point 400 is determined as the channel used for the direct connection.

しかしながら、5GHzに対応するチャネルを用いてダイレクト接続においては、下記にて説明するDFSと呼ばれる機能が適用される。この機能の存在により、印刷装置300は、装置構成によっては、5GHzに対応するチャネルを用いてダイレクト接続を実行できないことや、5GHzに対応するチャネルを用いてダイレクト接続を実行することが好ましくないことがある。具体的には例えば、無線LANユニット316が有する無線ICチップが、5GHzに対応するチャネルを用いてGroupOwnerまたはソフトAP(つまり、親局)として動作できない又は好ましくないことがある。以下、DFSについて説明する。 However, in the direct connection using the channel corresponding to 5 GHz, the function called DFS described below is applied. Due to the existence of this function, depending on the device configuration, the printing apparatus 300 cannot execute a direct connection using a channel corresponding to 5 GHz, and it is not preferable to execute a direct connection using a channel corresponding to 5 GHz. There is. Specifically, for example, the wireless IC chip included in the wireless LAN unit 316 may not be able to operate as a Group Owner or a soft AP (that is, a master station) using a channel corresponding to 5 GHz, or may not be preferable. Hereinafter, DFS will be described.

GroupOwnerまたはソフトAPとして動作する装置や、アクセスポイント等の親局は、5GHz等の特定の周波数帯を用いた通信において、DFS(Dynamic Frequency Selection)と呼ばれる技術を実行しなければならない。DFSとは、装置間の通信が気象レーダ等に影響を与えないよう制御するための技術である。なお、特定の周波数を気象レーダ等の特定の装置が使用している場合、当該特定の周波数によって干渉波が発生する。DFSは、場合は、当該親機が使用している周波数(チャネル)を、当該特定の周波数を含む特定の周波数帯のなかで切り替える技術でもある。具体的には、当該親機は、当該親機が使用している周波数において干渉波を検出した場合、まず、当該特定の周波数帯による通信を所定の時間(例えば、1分間)停止する。印刷装置300は、通信の停止中には、通信の停止解除後に利用する新たなチャネルが利用可能かどうか(当該チャネルに対応する周波数を気象レーダ等の特定の装置が利用していないかどうか)を確認する。当該親機は、当該チャネルが利用可能であることが確認できたら、通信の停止を解除して、新たなチャネルでの通信を再開する。なお、ある親機が通信に使用している周波数において、当該親機が干渉波を検出することは、当該親機が通信に使用している周波数を気象レーダ等の特定の装置が使用していることを当該親機が特定することに対応する。また、TPC(Transmit Power Control)と呼ばれる技術も、DFSと同様の技術である。
なお、利用中の通信チャネルを気象レーダ等の特定の装置が利用していることを検知した場合に、利用中の通信チャネルを切り替える制御を実行しなければならないのは、通信システムにおける親機である。子機側は、利用中の通信チャネルが親機によって切り替えられた場合に、この処理に追従する。すなわち、5GHzを用いたインフラ接続においても、アクセスポイントがDFSによりチャネルを切り替えた場合は、印刷装置300はそれに追従してチャネルを切り替える。
A device that operates as a Group Owner or a soft AP, or a master station such as an access point, must execute a technique called DFS (Dynamic Frequency Selection) in communication using a specific frequency band such as 5 GHz. DFS is a technology for controlling communication between devices so as not to affect a weather radar or the like. When a specific device such as a weather radar uses a specific frequency, an interference wave is generated by the specific frequency. DFS is also a technique for switching the frequency (channel) used by the master unit within a specific frequency band including the specific frequency. Specifically, when the master unit detects an interference wave at the frequency used by the master unit, it first stops communication in the specific frequency band for a predetermined time (for example, 1 minute). Whether the printing device 300 can use a new channel to be used after the communication stop is released while the communication is stopped (whether a specific device such as a weather radar is using the frequency corresponding to the channel). To confirm. After confirming that the channel is available, the master unit releases the suspension of communication and resumes communication on the new channel. It should be noted that the detection of the interference wave by the master unit at the frequency used for communication by the master unit means that the frequency used by the master unit for communication is used by a specific device such as a weather radar. Corresponds to the fact that the master unit identifies that. Further, a technique called TPC (Transmit Power Control) is also a technique similar to DFS.
When it is detected that a specific device such as a weather radar is using the communication channel in use, it is the master unit in the communication system that must execute the control to switch the communication channel in use. be. The slave unit follows this process when the communication channel being used is switched by the master unit. That is, even in the infrastructure connection using 5 GHz, when the access point switches the channel by DFS, the printing device 300 follows the channel switch.

なお、DFSやTPCは、5GHz等の特定の周波数帯における通信に対して適用され、2.4GHz等の周波数帯における通信には適用されない。すなわち、印刷装置300は、気象レーダ等の特定の装置の通信状況に応じて、2.4GHzの周波数帯における通信に利用しているチャネルを切り替えることはない。これは、気象レーダ等の特定の装置は、5.0GHzの周波数帯を用いた通信を行うが、2.4GHzの周波数帯を用いた通信を行わないためである。すなわち、装置間の通信が5GHzの周波数帯を用いて行われている場合、DFSやTPCによって、チャネルの切り替えが行われる。なお、このとき上述したように、DFSによりチャネルが切り替わる場合、5GHzの周波数帯に対応するチャネル間で、チャネルが切り替わる。
印刷装置300は、DFSに対応していない無線チップを使用している場合は、親機である場合に、利用中の通信チャネルをDFSによって切り替えることができず、5GHzによるダイレクト接続を実行できない。また、上述したように、同時動作においては、インフラ接続とダイレクト接続に用いられるチャネルは共有される。5GHzを用いたダイレクト接続を実行できない印刷装置300は、インフラ接続において5GHzを使用してしまうと、同時動作を実行できないという課題がある。
Note that DFS and TPC are applied to communication in a specific frequency band such as 5 GHz, and are not applied to communication in a frequency band such as 2.4 GHz. That is, the printing device 300 does not switch the channel used for communication in the frequency band of 2.4 GHz according to the communication status of a specific device such as a weather radar. This is because a specific device such as a weather radar performs communication using a frequency band of 5.0 GHz, but does not perform communication using a frequency band of 2.4 GHz. That is, when communication between devices is performed using a frequency band of 5 GHz, channel switching is performed by DFS or TPC. At this time, as described above, when the channel is switched by DFS, the channel is switched between the channels corresponding to the frequency band of 5 GHz.
When the printing device 300 uses a wireless chip that does not support DFS, the communication channel being used cannot be switched by DFS when it is a master unit, and direct connection at 5 GHz cannot be executed. Further, as described above, in the simultaneous operation, the channels used for the infrastructure connection and the direct connection are shared. The printing apparatus 300, which cannot execute a direct connection using 5 GHz, has a problem that simultaneous operation cannot be executed if 5 GHz is used in the infrastructure connection.

また、印刷装置300は、DFSに対応している無線チップを使用しており、5GHzによるダイレクト接続を実行できたとしても、以下のような課題がある。上述したようにDFSにより、ダイレクト接続に用いられるチャネルが変更されることがある。しかしながら、上述したように、同時動作においては、インフラ接続とダイレクト接続に用いられるチャネルは共有され、さらに、インフラ接続に用いられるチャネルは、印刷装置300側で決定することができない。すなわち、同時動作中にダイレクト接続に用いられるチャネルがDFSにより変更されても、インフラ接続に用いられるチャネルは印刷装置300側で変更できないため、インフラ接続とダイレクト接続に用いられるチャネルを共有することができなくなる。そのため、インフラ接続とダイレクト接続を並行して維持することができなくなってしまうという課題がある。 Further, the printing apparatus 300 uses a wireless chip compatible with DFS, and even if a direct connection at 5 GHz can be executed, there are the following problems. As mentioned above, DFS may change the channel used for direct connection. However, as described above, in the simultaneous operation, the channel used for the infrastructure connection and the direct connection is shared, and the channel used for the infrastructure connection cannot be determined on the printing apparatus 300 side. That is, even if the channel used for the direct connection is changed by DFS during the simultaneous operation, the channel used for the infrastructure connection cannot be changed on the printing apparatus 300 side, so that the channel used for the infrastructure connection and the direct connection can be shared. become unable. Therefore, there is a problem that it becomes impossible to maintain the infrastructure connection and the direct connection in parallel.

このようなことから、印刷装置300が2.4GHzと5GHzの両方の周波数帯を利用できるとしても、同時動作が実行されることを考慮すれば、2.4GHzを優先して用いることが好ましい。 Therefore, even if the printing apparatus 300 can use both the 2.4 GHz and 5 GHz frequency bands, it is preferable to preferentially use 2.4 GHz in consideration of simultaneous operation.

また、同時動作を実行しない印刷装置300においても、5GHzを用いてインフラ接続が行われると、以下の課題が生じることがある。上述したように、DFSによってチャネルの切り替えが生じると、装置間の通信は、所定の時間停止される。そのため例えば、5GHzを用いた装置間の通信には、遅延やパケットロスが生じることがある。 Further, even in the printing apparatus 300 that does not execute the simultaneous operation, the following problems may occur when the infrastructure connection is performed using 5 GHz. As described above, when channel switching occurs due to DFS, communication between the devices is stopped for a predetermined time. Therefore, for example, delay and packet loss may occur in communication between devices using 5 GHz.

そこで本実施形態の印刷装置300は、ネットワーク設定処理において、周波数帯情報が印刷装置300に通知されない場合には、5GHzより、2.4GHzを優先して用いて、アクセスポイントとの接続を試みる。また、ネットワーク設定処理において、接続対象のアクセスポイントが使用可能な周波数帯に関する複数の情報が印刷装置300に通知される場合には、5GHzより、2.4GHzを優先して用いて、アクセスポイントとの接続を試みる。 Therefore, when the frequency band information is not notified to the printing device 300 in the network setting process, the printing device 300 of the present embodiment tries to connect to the access point by preferentially using 2.4 GHz over 5 GHz. Further, in the network setting process, when a plurality of information regarding the frequency band that can be used by the access point to be connected is notified to the printing device 300, 2.4 GHz is preferentially used over 5 GHz to be used as the access point. Attempt to connect.

一方で、5GHzを用いることのメリットもある。例えば一般に、5GHzによる通信は、2.4GHzによる通信より通信速度が速い。また、一般に、5GHzによる通信は、2.4GHzによる通信より安定性が高い。また、アクセスポイントが5GHzには対応しているが、2.4GHzに対応していない場合もある。そのため本実施形態の印刷装置300は、周波数帯情報として5GHzの情報のみが通知される場合や、5GHzを用いることをユーザ等から指示された場合は、5GHzを用いてアクセスポイントとの接続を試みる。 On the other hand, there is also a merit of using 5 GHz. For example, in general, communication at 5 GHz is faster than communication at 2.4 GHz. Further, in general, communication at 5 GHz is more stable than communication at 2.4 GHz. Further, although the access point supports 5 GHz, it may not support 2.4 GHz. Therefore, the printing device 300 of the present embodiment tries to connect to the access point using 5 GHz when only the information of 5 GHz is notified as the frequency band information or when the user or the like instructs to use 5 GHz. ..

まず、自動設定方式によるネットワーク設定処理について説明する。 First, the network setting process by the automatic setting method will be described.

図5は、本実施形態において印刷装置300が実行する自動設定方式によるネットワーク設定処理を示すフローチャートである。図5に示すフローチャートは、例えば、CPU302がROM303や不揮発性メモリ305等に格納されたプログラムをRAM304に読み出して実行することにより実現される。また、図5に示すフローチャートが示す処理は、自動設定方式によるネットワーク設定処理のトリガーとなるユーザ操作(ネットワーク設定処理の実行指示)が行われた場合に開始される。自動設定方式によるネットワーク設定処理のトリガーとなるユーザ操作は、具体的には、印刷装置300が有する所定のボタンを押下する操作である。 FIG. 5 is a flowchart showing a network setting process by the automatic setting method executed by the printing apparatus 300 in the present embodiment. The flowchart shown in FIG. 5 is realized, for example, by the CPU 302 reading a program stored in the ROM 303, the non-volatile memory 305, or the like into the RAM 304 and executing the program. Further, the process shown in the flowchart shown in FIG. 5 is started when a user operation (instruction to execute the network setting process) that triggers the network setting process by the automatic setting method is performed. Specifically, the user operation that triggers the network setting process by the automatic setting method is an operation of pressing a predetermined button of the printing apparatus 300.

S501では、CPU302は、印刷装置300を自動設定モードとして動作させる。自動設定モードとは、自動設定方式によってネットワーク設定処理を実行するモードである。なお、印刷装置300がダイレクト接続モードで動作している状態で、S501が実行される場合は、印刷装置300がAPとしての動作を一旦停止する。なお、本実施形態では、印刷装置300の動作モードに関する情報が所定のメモリ内の動作モード格納領域に保存されているものとする。そして、印刷装置300がダイレクト接続モードで動作している状態で、S501が実行されても、動作モード格納領域には、ダイレクト接続モードが有効であることを示す情報が継続して保存されるものとする。 In S501, the CPU 302 operates the printing device 300 as an automatic setting mode. The automatic setting mode is a mode in which the network setting process is executed by the automatic setting method. If S501 is executed while the printing device 300 is operating in the direct connection mode, the printing device 300 temporarily stops its operation as an AP. In this embodiment, it is assumed that the information regarding the operation mode of the printing apparatus 300 is stored in the operation mode storage area in a predetermined memory. Then, even if S501 is executed while the printing apparatus 300 is operating in the direct connection mode, information indicating that the direct connection mode is valid is continuously stored in the operation mode storage area. And.

自動設定方式によるネットワーク設定処理は、印刷装置300だけでなく、印刷装置300の接続対象となるアクセスポイントも自動設定モードとして動作している状態で実行される。アクセスポイントは、印刷装置300と同様、所定のボタンがユーザによって押下されることで、自動設定モードとしての動作を開始する。 The network setting process by the automatic setting method is executed in a state where not only the printing device 300 but also the access point to be connected to the printing device 300 is operating as the automatic setting mode. Similar to the printing device 300, the access point starts operating as an automatic setting mode when a predetermined button is pressed by the user.

印刷装置300とアクセスポイントは、自動設定モードとして動作を開始すると、自動設定モードで動作していることを示す信号を発する。それらの信号が装置間で取得されることによって、各装置は、自動設定方式によるネットワーク設定処理の対象となる装置を発見する。そして、各装置は、自動設定方式によってネットワーク設定処理を実行するための情報(無線接続プロファイル)を交換するために、接続を行う。 When the printing device 300 and the access point start operating in the automatic setting mode, they emit a signal indicating that they are operating in the automatic setting mode. By acquiring those signals between the devices, each device discovers the device to be the target of the network setting process by the automatic setting method. Then, each device makes a connection in order to exchange information (wireless connection profile) for executing the network setting process by the automatic setting method.

S502では、CPU302は、自動設定モードとなっているアクセスポイントと接続したか否かを判定する。CPU302は、YES判定である場合、S503に進み、NO判定である場合、S504に進む。 In S502, the CPU 302 determines whether or not it is connected to the access point in the automatic setting mode. The CPU 302 proceeds to S503 if the determination is YES, and proceeds to S504 if the determination is NO.

S505では、CPU302は、印刷装置300が自動設定モードとしての動作を開始してから所定の時間が経過したか(タイムアウトしたか)否かを判定する。CPU302は、YES判定である場合、エラーが発生したとみなして処理を終了する。一方、CPU302は、NO判定である場合、再度S502の処理を行う。 In S505, the CPU 302 determines whether or not a predetermined time has elapsed (timed out) since the printing device 300 started the operation as the automatic setting mode. If the determination is YES, the CPU 302 considers that an error has occurred and ends the process. On the other hand, if the determination is NO, the CPU 302 performs the processing of S502 again.

自動設定モードとして動作している印刷装置300と接続したアクセスポイントは、印刷装置300に対して無線接続プロファイルを送信する。無線接続プロファイルとは、アクセスポイントとの接続に利用される接続情報を含む情報である。アクセスポイントが複数のSSIDを有している場合、無線接続プロファイルには、各SSIDに対応する複数のプロファイルが含まれる。図4(a)は、AOSSによって取得される無線接続プロファイルの一例である。AOSSによって取得される無線接続プロファイルに最大8個のプロファイルが含まれる。図4(b)は、らくらく無線スタートによって取得される無線接続プロファイルの一例である。らくらく無線スタートによって取得される無線接続プロファイルに最大2個のプロファイルが含まれる。図4(c)、(d)は、WPSによって取得される無線接続プロファイルの一例である。WPSによって取得される無線接続プロファイルに最大6個のプロファイルが含まれる。 The access point connected to the printing device 300 operating as the automatic setting mode transmits the wireless connection profile to the printing device 300. The wireless connection profile is information including connection information used for connection with an access point. When the access point has a plurality of SSIDs, the wireless connection profile includes a plurality of profiles corresponding to each SSID. FIG. 4A is an example of a wireless connection profile acquired by AOSS. The wireless connection profile acquired by AOSS includes up to 8 profiles. FIG. 4B is an example of a wireless connection profile acquired by easy wireless start. Up to two profiles are included in the wireless connection profile acquired by Easy Wireless Start. 4 (c) and 4 (d) are examples of wireless connection profiles acquired by WPS. The wireless connection profile acquired by WPS contains up to 6 profiles.

図4に示すように、1つのプロファイルは、「SSID」「周波数」「認証方式」「暗号方式」「パスフレーズ」から構成されている。1つのプロファイルに含まれる各情報を用いることで、印刷装置300は、アクセスポイントと接続することができる。具体的には例えば、印刷装置300は、図4(a)に示す無線接続プロファイルを有するアクセスポイントと、「AOSS-1」のSSIDを用いて接続するためには、2.4GHzの周波数帯を用いる。なお、「周波数」に含まれる情報は、各SSIDに対応する周波数を示す情報でなく、例えば、各SSIDに対応するチャネルを示す情報であっても良い。なお、上述したように、WPSによって取得される無線接続プロファイルには、「周波数」に関する情報が含まれないことがある(図4(d))ため、アクセスポイントが使用可能な周波数帯に関する情報が印刷装置300に対して通知されないことがある。 As shown in FIG. 4, one profile is composed of "SSID", "frequency", "authentication method", "encryption method", and "passphrase". By using each information contained in one profile, the printing device 300 can be connected to the access point. Specifically, for example, the printing apparatus 300 has a frequency band of 2.4 GHz in order to connect to the access point having the wireless connection profile shown in FIG. 4A by using the SSID of "AOSS-1". Use. The information included in the "frequency" is not the information indicating the frequency corresponding to each SSID, but may be, for example, the information indicating the channel corresponding to each SSID. As described above, the wireless connection profile acquired by WPS may not include information on "frequency" (FIG. 4 (d)), so that information on the frequency band in which the access point can be used is included. The printing device 300 may not be notified.

S503では、CPU302は、接続しているアクセスポイントから、無線接続プロファイルを受信したか否かを判定する。CPU302は、YES判定である場合、S504に進む。なお、アクセスポイントから受信される無線接続プロファイルには、複数のプロファイルが含まれている。そのため、CPU302は、無線接続プロファイルを受信した場合、無線接続プロファイルに含まれるプロファイルの数nを特定する。そして、CPU302は、NO判定である場合、S506に進む。 In S503, the CPU 302 determines whether or not the wireless connection profile has been received from the connected access point. If the determination is YES, the CPU 302 proceeds to S504. The wireless connection profile received from the access point includes a plurality of profiles. Therefore, when the CPU 302 receives the wireless connection profile, the CPU 302 specifies the number n of the profiles included in the wireless connection profile. Then, if the determination is NO, the CPU 302 proceeds to S506.

S506では、CPU302は、印刷装置300が自動設定モードとしての動作を開始してから所定の時間が経過したか(タイムアウトしたか)否かを判定する。CPU302は、YES判定である場合、エラーが発生したとみなして処理を終了する。一方、CPU302は、NO判定である場合、再度S503の処理を行う。 In S506, the CPU 302 determines whether or not a predetermined time has elapsed (timed out) since the printing device 300 started the operation as the automatic setting mode. If the determination is YES, the CPU 302 considers that an error has occurred and ends the process. On the other hand, if the determination is NO, the CPU 302 performs the process of S503 again.

S504では、CPU302は、無線接続プロファイルカウンタ変数mを初期化する。具体的には、無線接続プロファイルカウンタ変数mに1を代入する。なお、無線接続プロファイルカウンタ変数mは、不揮発性メモリ305等に保存されている情報である。 In S504, the CPU 302 initializes the wireless connection profile counter variable m. Specifically, 1 is substituted for the wireless connection profile counter variable m. The wireless connection profile counter variable m is information stored in the non-volatile memory 305 or the like.

S505では、CPU302は、n個のプロファイルのうちm番目のプロファイルが、接続対象のアクセスポイントが2.4GHzに対応していることを示すプロファイルか否かを判定する。具体的にはCPU302は、n個のプロファイルのうちm番目のプロファイルにおける「周波数」の領域に、「2.4GHz」を示す情報や、「2.4GHzに対応するチャネル」を示す情報が含まれるか否かを判定する。CPU302は、YES判定である場合、S508に進み、NO判定である場合、S511に進む。 In S505, the CPU 302 determines whether or not the m-th profile among the n profiles is a profile indicating that the access point to be connected corresponds to 2.4 GHz. Specifically, the CPU 302 includes information indicating "2.4 GHz" and information indicating "channel corresponding to 2.4 GHz" in the "frequency" region of the mth profile among the n profiles. Judge whether or not. The CPU 302 proceeds to S508 if the determination is YES, and proceeds to S511 if the determination is NO.

S511では、CPU302は、n個のプロファイルのうちm番目のプロファイルが、接続対象のアクセスポイントが5GHzに対応していることを示すプロファイルか否かを判定する。具体的にはCPU302は、n個のプロファイルのうちm番目のプロファイルにおける「周波数」の領域に、「5GHz」や、「5GHzに対応するチャネル」を示す情報を示す情報が含まれるか否かを判定する。CPU302は、YES判定である場合、S512に進み、NO判定である場合、S513に進む。 In S511, the CPU 302 determines whether or not the mth profile among the n profiles is a profile indicating that the access point to be connected corresponds to 5 GHz. Specifically, the CPU 302 determines whether or not the "frequency" region in the mth profile among the n profiles includes information indicating information indicating "5 GHz" or "channel corresponding to 5 GHz". judge. The CPU 302 proceeds to S512 if the determination is YES, and proceeds to S513 if the determination is NO.

S507がNO判定且つ、S511がNO判定である場合、n個のプロファイルのうちm番目のプロファイルには、周波数帯に関する情報が含まれていないことになる。すなわち、n個のプロファイルのうちm番目のプロファイルによっては、周波数帯情報が通知されないことになる。上述したように本実施形態では、このような場合において、2.4GHzを優先して用いる。 When S507 is NO-determined and S511 is NO-determined, the m-th profile among the n profiles does not include information on the frequency band. That is, the frequency band information is not notified depending on the mth profile among the n profiles. As described above, in this embodiment, 2.4 GHz is preferentially used in such a case.

そこでS513では、CPU302は、n個のプロファイルのうちm番目のプロファイルに対応するSSIDを持つアクセスポイントを、2.4GHzに対応するチャネルを用いて検索する。 Therefore, in S513, the CPU 302 searches for an access point having an SSID corresponding to the m-th profile among the n profiles using a channel corresponding to 2.4 GHz.

S514では、CPU302は、S513における検索で、n個のプロファイルのうちm番目のプロファイルに対応するSSIDを持つアクセスポイントが発見されたか否かを判定する。CPU302は、YES判定である場合、S508に進み、NO判定である場合、S515に進む。 In S514, the CPU 302 determines whether or not an access point having an SSID corresponding to the m-th profile among the n profiles has been found by the search in S513. The CPU 302 proceeds to S508 if the determination is YES, and proceeds to S515 if the determination is NO.

S515では、CPU302は、n個のプロファイルのうちm番目のプロファイルに対応するSSIDを持つアクセスポイントを、5GHzに対応するチャネルを用いて検索する。 In S515, the CPU 302 searches for an access point having an SSID corresponding to the m-th profile among the n profiles using a channel corresponding to 5 GHz.

S516では、CPU302は、S515における検索で、n個のプロファイルのうちm番目のプロファイルに対応するSSIDを持つアクセスポイントが発見されたか否かを判定する。CPU302は、YES判定である場合、S512に進み、NO判定である場合、エラーが発生したものとして処理を終了する。 In S516, the CPU 302 determines whether or not the access point having the SSID corresponding to the m-th profile among the n profiles is found by the search in S515. If the determination is YES, the CPU 302 proceeds to S512, and if the determination is NO, the CPU 302 considers that an error has occurred and ends the process.

このように、本実施形態では、S515における検索(5GHzを用いた検索)より、S513における検索(2.4GHzを用いた検索)を先に実行することで、2.4GHzを優先して用いることを実現している。 As described above, in the present embodiment, 2.4 GHz is preferentially used by executing the search in S513 (search using 2.4 GHz) before the search in S515 (search using 5 GHz). Has been realized.

S508では、CPU302は、不揮発性メモリ305等の所定のメモリ内の格納領域であり、且つ2.4GHzによって接続可能なアクセスポイントの接続情報の格納領域(2.4GHz用格納領域)に、m番目のプロファイルを保存する。 In S508, the CPU 302 is the m-th storage area (2.4GHz storage area) of the connection information of the access point which is a storage area in a predetermined memory such as the non-volatile memory 305 and can be connected by 2.4GHz. Save your profile.

S512では、CPU302は、不揮発性メモリ305等の所定のメモリ内の格納領域であり、且つ5GHzによって接続可能なアクセスポイントの接続情報の格納領域(5GHz用格納領域)に、m番目のプロファイルを保存する。 In S512, the CPU 302 stores the m-th profile in a storage area in a predetermined memory such as a non-volatile memory 305 and in a storage area (storage area for 5 GHz) of connection information of an access point that can be connected by 5 GHz. do.

S509では、CPU302は、無線接続プロファイルカウンタ変数mをインクリメントする。 In S509, the CPU 302 increments the wireless connection profile counter variable m.

S510では、CPU302は、インクリメント後の無線接続プロファイルカウンタ変数mが、無線接続プロファイルに含まれるプロファイルの数nを超えたか否かを判定する。CPU302は、YES判定である場合、S517に進み、NO判定である場合、S507に再び進む。このようにして処理が繰り返されることで、無線接続プロファイルに含まれるプロファイルのそれぞれが、2.4GHz用格納領域又は5GHz用格納領域に保存される。 In S510, the CPU 302 determines whether or not the incremented wireless connection profile counter variable m exceeds the number n of profiles included in the wireless connection profile. If the determination is YES, the CPU 302 proceeds to S517, and if the determination is NO, the process proceeds to S507 again. By repeating the process in this way, each of the profiles included in the wireless connection profile is stored in the 2.4 GHz storage area or the 5 GHz storage area.

S517以降の処理は、図6を用いて説明する。図6に示すフローチャートは、例えば、CPU302がROM303や不揮発性メモリ305等に格納されたプログラムをRAM304に読み出して実行することにより実現される。 The processing after S517 will be described with reference to FIG. The flowchart shown in FIG. 6 is realized, for example, by the CPU 302 reading a program stored in the ROM 303, the non-volatile memory 305, or the like into the RAM 304 and executing the program.

S517では、CPU302は、2.4GHz用格納領域に、情報が格納されているか否かを判定する。すなわち、接続対象のアクセスポイントが、2.4GHzによって接続可能なアクセスポイントか否かを判定する。CPU302は、YES判定である場合、S518に進み、NO判定である場合、S523に進む。 In S517, the CPU 302 determines whether or not the information is stored in the 2.4 GHz storage area. That is, it is determined whether or not the access point to be connected is an access point that can be connected by 2.4 GHz. The CPU 302 proceeds to S518 if the determination is YES, and proceeds to S523 if the determination is NO.

S518では、CPU302は、2.4GHz用格納領域に格納されている情報及び2.4GHzに対応するチャネルを用いて、接続対象のアクセスポイントとの接続を試みる。このとき、2.4GHz用格納領域に複数のプロファイルが格納されている場合は、それらを順に用いて接続を試みる。このとき使用するプロファイルの順番は特に限定されないが、例えば、セキュリティレベルの高い認証方式や暗号方式のプロファイルが優先して用いられても良い。具体的には、例えば、「OPEN」方式の認証方式のプロファイルより、「WPA2-PSK」方式の認証方式のプロファイルが優先して用いられても良い。また、具体的には例えば、暗号方式の優先度を「AES」>「TKIP」>「WEP128」>「WEP64」としても良い。また、CPU302は、2.4GHzに対応する複数のチャネルを、接続が成功するまで1つずつ順に用いて接続対象のアクセスポイントとの接続を試みるが、用いるチャネルの順番は、特に限定されない。 In S518, the CPU 302 attempts to connect to the access point to be connected by using the information stored in the 2.4 GHz storage area and the channel corresponding to 2.4 GHz. At this time, if a plurality of profiles are stored in the 2.4 GHz storage area, the connection is attempted by using them in order. The order of the profiles used at this time is not particularly limited, but for example, a profile of an authentication method or an encryption method having a high security level may be preferentially used. Specifically, for example, the profile of the authentication method of the "WPA2-PSK" method may be used with priority over the profile of the authentication method of the "OPEN" method. Specifically, for example, the priority of the encryption method may be set to "AES"> "TKIP"> "WEP128"> "WEP64". Further, the CPU 302 attempts to connect to the access point to be connected by using a plurality of channels corresponding to 2.4 GHz one by one until the connection is successful, but the order of the channels used is not particularly limited.

S519では、CPU302は、S518によって、接続対象のアクセスポイントとの接続が成功したか否かを判定する。CPU302は、YES判定である場合、S520に進み、NO判定である場合、S523に進む。 In S519, the CPU 302 determines whether or not the connection with the access point to be connected is successful by S518. The CPU 302 proceeds to S520 if the determination is YES, and proceeds to S523 if the determination is NO.

S520では、CPU302は、不揮発性メモリ305等の所定のメモリに、成功した接続に用いたプロファイルを保存する。また、このとき印刷装置300とアクセスポイントとの2.4GHzによる接続が完了し、2.4GHzによるインフラ接続を構築可能となったため、CPU302は、印刷装置300を2.4GHzによるインフラ接続モードとして動作させる。 In S520, the CPU 302 stores the profile used for the successful connection in a predetermined memory such as the non-volatile memory 305. Further, at this time, since the connection between the printing device 300 and the access point at 2.4 GHz is completed and the infrastructure connection at 2.4 GHz can be constructed, the CPU 302 operates the printing device 300 as the infrastructure connection mode at 2.4 GHz. Let me.

S521では、CPU302は、動作モード格納領域にダイレクト接続モードが有効であることを示す情報が含まれているか否かを判定する。CPU302は、YES判定である場合、S522に進み、NO判定である場合、処理を終了する。 In S521, the CPU 302 determines whether or not the operation mode storage area contains information indicating that the direct connection mode is valid. If the determination is YES, the CPU 302 proceeds to S522, and if the determination is NO, the process ends.

S522では、CPU302は、印刷装置300をダイレクト接続モードとして動作させる。このとき印刷装置300がインフラ接続モードとして動作している場合は、同時動作が実行されることになる。なお、上述したように、同時動作において使用されるチャネルは、インフラ接続モードに使用されているチャネルとなる。ネットワーク設定処理が実行される前にダイレクト接続モードで使用されていたチャネルと、インフラ接続モードに使用されているチャネルとが異なっていても、ネットワーク設定処理が実行された後のダイレクト接続モードにおいては後者が使用される。 In S522, the CPU 302 operates the printing device 300 as a direct connection mode. At this time, if the printing apparatus 300 is operating in the infrastructure connection mode, simultaneous operation is executed. As described above, the channels used in the simultaneous operation are the channels used in the infrastructure connection mode. Even if the channel used in the direct connection mode before the network setting process is executed and the channel used in the infrastructure connection mode are different, in the direct connection mode after the network setting process is executed, The latter is used.

S517がNO判定であった場合、5GHz用格納領域にプロファイルが含まれていることになる。そのため、S523では、CPU302は、5GHz用格納領域に格納されている情報及び5GHzに対応するチャネルを用いて、接続対象のアクセスポイントとの接続を試みる。このとき、5GHz用格納領域に複数のプロファイルが格納されている場合は、それらを順に用いて接続を試みる。このとき使用するプロファイルの順番は特に限定されないが、例えば、セキュリティレベルの高い認証方式や暗号方式のプロファイルが優先して用いられても良い。また、CPU302は、2.4GHzに対応する複数のチャネルを、接続が成功するまで1つずつ順に用いて接続対象のアクセスポイントとの接続を試みるが、用いるチャネルの順番は、特に限定されない。 If the determination in S517 is NO, the profile is included in the storage area for 5 GHz. Therefore, in S523, the CPU 302 attempts to connect to the access point to be connected by using the information stored in the storage area for 5 GHz and the channel corresponding to 5 GHz. At this time, if a plurality of profiles are stored in the storage area for 5 GHz, the connection is attempted by using them in order. The order of the profiles used at this time is not particularly limited, but for example, a profile of an authentication method or an encryption method having a high security level may be preferentially used. Further, the CPU 302 attempts to connect to the access point to be connected by using a plurality of channels corresponding to 2.4 GHz one by one until the connection is successful, but the order of the channels used is not particularly limited.

S524では、CPU302は、S523によって、接続対象のアクセスポイントとの接続が成功したか否かを判定する。CPU302は、YES判定である場合、S525に進み、NO判定である場合、S521に進む。 In S524, the CPU 302 determines whether or not the connection with the access point to be connected is successful by S523. The CPU 302 proceeds to S525 if the determination is YES, and proceeds to S521 if the determination is NO.

S525では、CPU302は、不揮発性メモリ305等の所定のメモリに、成功した接続に用いたプロファイルを保存する。また、このとき印刷装置300とアクセスポイントとの5GHzによる接続が完了し、5GHzによるインフラ接続を構築可能となったため、CPU302は、印刷装置300を5GHzによるインフラ接続モードとして動作させる。 In S525, the CPU 302 stores the profile used for the successful connection in a predetermined memory such as the non-volatile memory 305. Further, at this time, since the connection between the printing device 300 and the access point at 5 GHz is completed and the infrastructure connection at 5 GHz can be constructed, the CPU 302 operates the printing device 300 as the infrastructure connection mode at 5 GHz.

S526では、CPU302は、動作モード格納領域にダイレクト接続モードが有効であることを示す情報が含まれているか否かを判定する。CPU302は、YES判定である場合、S527に進み、NO判定である場合、処理を終了する。 In S526, the CPU 302 determines whether or not the operation mode storage area contains information indicating that the direct connection mode is valid. If the determination is YES, the CPU 302 proceeds to S527, and if the determination is NO, the process ends.

S52では、CPU302は、ダイレクト接続モードを無効化する。すなわち、動作モード格納領域に含まれる情報を、ダイレクト接続モードが無効であることを示す情報に書き換える。これは、上述したように、5GHzを使用した同時動作はいくつかの課題を生じさせるためである。なお、このとき、CPU302は、ダイレクト接続モードを無効化することをユーザに通知するための画面を表示部311に表示しても良い。 In S527, the CPU 302 disables the direct connection mode. That is, the information contained in the operation mode storage area is rewritten with the information indicating that the direct connection mode is invalid. This is because, as described above, simultaneous operation using 5 GHz causes some problems. At this time, the CPU 302 may display a screen for notifying the user that the direct connection mode is invalidated on the display unit 311.

なお、印刷装置300は、操作部309を介してユーザから直接、所定の操作を受け付けることによって、ダイレクト接続モードとして動作することが可能である。しかしながら、本実施形態では、印刷装置300は、5GHzによるインフラ接続モードとして動作している場合は、ダイレクト接続モードとして動作しない(すなわち、同時動作を実行しない)。そのため、印刷装置300が5GHzによるインフラ接続モードで動作している状態で、当該所定の操作が受け付けられた場合、CPU302は、インフラ接続モードを解除してもよいかを確認するための画面を表示部311に表示しても良い。そして、CPU302は、インフラ接続モードを解除してもよいことがユーザ操作によって確認された場合、5GHzによるインフラ接続モードを解除して、印刷装置300をダイレクト接続モードとして動作させる。なお、5GHzによるインフラ接続モードを解除することは、5GHzによるアクセスポイントとの接続を切断することに相当する。また、このような形態ではなく、例えば、5GHzによるインフラ接続モードとして動作している場合は、印刷装置300をダイレクト接続モードとして動作させるための所定の操作を受け付けない構成としても良い。 The printing device 300 can operate in the direct connection mode by directly receiving a predetermined operation from the user via the operation unit 309. However, in the present embodiment, the printing apparatus 300 does not operate as the direct connection mode (that is, does not execute simultaneous operation) when operating as the infrastructure connection mode by 5 GHz. Therefore, when the predetermined operation is accepted while the printing device 300 is operating in the infrastructure connection mode of 5 GHz, the CPU 302 displays a screen for confirming whether the infrastructure connection mode may be canceled. It may be displayed in the unit 311. Then, when it is confirmed by the user operation that the infrastructure connection mode may be canceled, the CPU 302 cancels the infrastructure connection mode by 5 GHz and operates the printing apparatus 300 as the direct connection mode. Canceling the 5 GHz infrastructure connection mode corresponds to disconnecting the connection with the 5 GHz access point. Further, instead of such a form, for example, when operating as an infrastructure connection mode by 5 GHz, a configuration may be configured in which a predetermined operation for operating the printing apparatus 300 as a direct connection mode is not accepted.

次に、端末装置200を用いたネットワーク設定処理について説明する。 Next, the network setting process using the terminal device 200 will be described.

図7は、本実施形態において印刷装置300が実行する端末装置200を用いたネットワーク設定処理を示すフローチャートである。図7に示すフローチャートは、例えば、CPU302がROM303や不揮発性メモリ305等に格納されたプログラムをRAM304に読み出して実行することにより実現される。また、図7に示すフローチャートが示す処理は、印刷装置300に対して、端末装置200を用いたネットワーク設定処理のトリガーとなるユーザ操作(ネットワーク設定処理の実行指示)が行われた場合に開始される。 FIG. 7 is a flowchart showing a network setting process using the terminal device 200 executed by the printing device 300 in the present embodiment. The flowchart shown in FIG. 7 is realized, for example, by the CPU 302 reading a program stored in the ROM 303, the non-volatile memory 305, or the like into the RAM 304 and executing the program. Further, the process shown in the flowchart shown in FIG. 7 is started when a user operation (instruction to execute the network setting process) that triggers the network setting process using the terminal device 200 is performed on the printing device 300. To.

S701では、CPU302は、ネットワーク設定処理のトリガーとなるユーザ操作が行われたことに基づき、印刷装置300をセットアップモードと呼ばれる所定のモードで動作させる。セットアップモードとは、印刷装置300がネットワーク設定処理を受け付けるためのモードである。なお、印刷装置300がダイレクト接続モードで動作している状態で、S701が実行される場合は、印刷装置300がAPとしての動作を一旦停止する。そして、印刷装置300がダイレクト接続モードで動作している状態で、S701が実行されても、動作モード格納領域には、ダイレクト接続モードが有効であることを示す情報が継続して保存される。また、ネットワーク設定処理のトリガーとなるユーザ操作とは、例えば、印刷装置300をセットアップモードで動作させるための所定の画面に対する操作や、初期設定状態の印刷装置300を電源オフ状態から電源オン状態に移行させる操作である。初期設定状態とは、印刷装置300が、ネットワーク設定処理を一度も実行していない状態である。 In S701, the CPU 302 operates the printing device 300 in a predetermined mode called a setup mode based on the user operation that triggers the network setting process. The setup mode is a mode for the printing device 300 to accept the network setting process. If S701 is executed while the printing device 300 is operating in the direct connection mode, the printing device 300 temporarily stops its operation as an AP. Then, even if S701 is executed while the printing apparatus 300 is operating in the direct connection mode, information indicating that the direct connection mode is valid is continuously stored in the operation mode storage area. The user operation that triggers the network setting process is, for example, an operation on a predetermined screen for operating the printing device 300 in the setup mode, or changing the printing device 300 in the initial setting state from the power off state to the power on state. It is an operation to migrate. The initial setting state is a state in which the printing device 300 has never executed the network setting process.

S702では、CPU302は、印刷装置300の周囲に存在するアクセスポイントを検索する処理であるAPサーチを、2.4GHzに対応するチャネルを用いて実行する。これにより、2.4GHzによって接続可能なアクセスポイントが検索される。 In S702, the CPU 302 executes an AP search, which is a process of searching for access points existing around the printing device 300, using a channel corresponding to 2.4 GHz. As a result, access points that can be connected by 2.4 GHz are searched.

S703では、CPU302は、APサーチを、5GHzに対応するチャネルを用いて実行する。これにより、5GHzによって接続可能なアクセスポイントが検索される。 In S703, the CPU 302 executes the AP search using the channel corresponding to 5 GHz. As a result, access points that can be connected by 5 GHz are searched.

S704では、CPU302は、S702及びS703によるAPサーチの結果を、RAM304等のメモリに保存する。APサーチの結果とは、例えば、APサーチによって発見されたアクセスポイントのリストや、当該アクセスポイントと接続するための接続情報、アクセスポイントの検索に用いた周波数やチャネルの情報等である。これにより、CPU302は、いずれのアクセスポイントをいずれの周波数やチャネルを用いて発見したかを特定することができる。すなわち、CPU302は、APサーチによって発見されたアクセスポイントが使用可能な周波数やチャネルを特定することができる。 In S704, the CPU 302 stores the result of the AP search by S702 and S703 in a memory such as a RAM 304. The result of the AP search is, for example, a list of access points found by the AP search, connection information for connecting to the access point, frequency and channel information used for searching the access point, and the like. Thereby, the CPU 302 can specify which access point was discovered using which frequency or channel. That is, the CPU 302 can specify the frequencies and channels that can be used by the access point found by the AP search.

S705では、CPU302は、セットアップモード時のみ有効な、印刷装置300内の所定のアクセスポイントを有効化する。当該所定のアクセスポイントは、予め定められた所定の文字列を含むSSIDを有する。 In S705, the CPU 302 activates a predetermined access point in the printing apparatus 300, which is valid only in the setup mode. The predetermined access point has an SSID including a predetermined character string.

端末装置200を用いたネットワーク設定処理は、ネットワーク設定処理を実行するためのプログラムである、セットアップ用プログラムが端末装置200によって用いられることで実行される。端末装置200は、セットアップ用プログラムにより表示される画面に対して、ネットワーク設定処理のトリガーとなるユーザ操作(ネットワーク設定処理の実行指示)が行われた場合に上記所定のアクセスポイントを検索する。そして、端末装置200は、上記所定のアクセスポイントを発見した場合、セットアップ用プログラムに予め格納された接続情報を用いて、上記所定のアクセスポイントを介して印刷装置300とWi-Fiによってダイレクト接続する。 The network setting process using the terminal device 200 is executed by using the setup program, which is a program for executing the network setting process, by the terminal device 200. The terminal device 200 searches for the predetermined access point when a user operation (instruction to execute the network setting process) that triggers the network setting process is performed on the screen displayed by the setup program. Then, when the terminal device 200 finds the predetermined access point, the terminal device 200 directly connects to the printing device 300 by Wi-Fi via the predetermined access point using the connection information stored in advance in the setup program. ..

S705では、CPU302は、印刷装置300が、上記所定のアクセスポイントを介して端末装置200とダイレクト接続したか否かを判定する。CPU302は、YES判定である場合、S707に進み、NO判定である場合、S708に進む。 In S705, the CPU 302 determines whether or not the printing device 300 is directly connected to the terminal device 200 via the predetermined access point. The CPU 302 proceeds to S707 if the determination is YES, and proceeds to S708 if the determination is NO.

S708では、CPU302は、印刷装置300がセットアップモードとしての動作を開始してから所定の時間が経過したか(タイムアウトしたか)否かを判定する。CPU302は、YES判定である場合、エラーが発生したとみなして処理を終了する。一方、CPU302は、NO判定である場合、再度S706の処理を行う。 In S708, the CPU 302 determines whether or not a predetermined time has elapsed (timed out) since the printing device 300 started the operation as the setup mode. If the determination is YES, the CPU 302 considers that an error has occurred and ends the process. On the other hand, if the determination is NO, the CPU 302 performs the process of S706 again.

S707では、CPU302は、APサーチ結果を端末装置200に送信する。 In S707, the CPU 302 transmits the AP search result to the terminal device 200.

S709では、CPU302は、端末装置200からネットワーク設定情報を受信したか否かを判定する。端末装置200から送信されるネットワーク設定情報は、印刷装置300が送信したAPサーチ結果に含まれるアクセスポイントと接続するための情報であっても良い。また、端末装置200が実行したAPサーチ結果に含まれるアクセスポイントと接続するための情報であっても良い。また、端末装置200を介してユーザが指定したアクセスポイントと接続するための情報であっても良い。また、印刷装置300は、ネットワーク設定情報を、一括で受信するのではなく、複数回に分けて受信しても良い。CPU302は、YES判定である場合、S711に進み、NO判定である場合、S710に進む。なお本実施形態では、端末装置200から送信されるネットワーク設定情報には、周波数帯情報として、接続対象のアクセスポイントが利用するチャネルを示す情報が含まれるものとする。CPU302は、チャネルに関する情報を参照して、当該チャネルが2.4GHzの周波数帯に対応するものか、5GHzの周波数帯に対応するものかを特定することができる。 In S709, the CPU 302 determines whether or not the network setting information has been received from the terminal device 200. The network setting information transmitted from the terminal device 200 may be information for connecting to the access point included in the AP search result transmitted by the printing device 300. Further, it may be information for connecting to an access point included in the AP search result executed by the terminal device 200. Further, it may be information for connecting to an access point designated by the user via the terminal device 200. Further, the printing apparatus 300 may receive the network setting information in a plurality of times instead of receiving the network setting information all at once. The CPU 302 proceeds to S711 if the determination is YES, and proceeds to S710 if the determination is NO. In the present embodiment, the network setting information transmitted from the terminal device 200 includes information indicating a channel used by the access point to be connected as frequency band information. The CPU 302 can specify whether the channel corresponds to the 2.4 GHz frequency band or the 5 GHz frequency band by referring to the information about the channel.

S710では、CPU302は、印刷装置300がセットアップモードとしての動作を開始してから所定の時間が経過したか(タイムアウトしたか)否かを判定する。CPU302は、YES判定である場合、エラーが発生したとみなして処理を終了する。一方、CPU302は、NO判定である場合、再度S709の処理を行う。 In S710, the CPU 302 determines whether or not a predetermined time has elapsed (timed out) since the printing device 300 started the operation as the setup mode. If the determination is YES, the CPU 302 considers that an error has occurred and ends the process. On the other hand, if the determination is NO, the CPU 302 performs the process of S709 again.

S711では、CPU302は、セットアップモード時のみ有効な、印刷装置300内の所定のアクセスポイントを無効化する。すなわち、CPU302は、端末装置200との接続を一旦切断する。 In S711, the CPU 302 invalidates a predetermined access point in the printing apparatus 300, which is valid only in the setup mode. That is, the CPU 302 temporarily disconnects from the terminal device 200.

S712では、CPU302は、端末装置200から受信したネットワーク設定情報に、接続対象のアクセスポイントが使用する周波数が2.4GHzであることを示す情報が含まれるか否かを判定する。CPU302は、YES判定である場合、S713に進み、NO判定である場合、S714に進む。 In S712, the CPU 302 determines whether or not the network setting information received from the terminal device 200 includes information indicating that the frequency used by the access point to be connected is 2.4 GHz. The CPU 302 proceeds to S713 if the determination is YES, and proceeds to S714 if the determination is NO.

S713では、CPU302は、2.4GHz用格納領域に、端末装置200から受信したネットワーク設定情報を保存する。 In S713, the CPU 302 stores the network setting information received from the terminal device 200 in the storage area for 2.4 GHz.

S714では、CPU302は、端末装置200から受信したネットワーク設定情報に、接続対象のアクセスポイントが使用する周波数が5GHzであることを示す情報が含まれるか否かを判定する。CPU302は、YES判定である場合、S715に進み、NO判定である場合、S716に進む。 In S714, the CPU 302 determines whether or not the network setting information received from the terminal device 200 includes information indicating that the frequency used by the access point to be connected is 5 GHz. The CPU 302 proceeds to S715 if the determination is YES, and proceeds to S716 if the determination is NO.

S715では、CPU302は、5GHz用格納領域に、端末装置200から受信したネットワーク設定情報を保存する。 In S715, the CPU 302 stores the network setting information received from the terminal device 200 in the storage area for 5 GHz.

S712がNO判定及びS714がNO判定である場合、端末装置200から受信したネットワーク設定情報に、接続対象のアクセスポイントが使用する周波数に関する情報が含まれないことになる。上述したように、本実施形態では、このような場合には2.4GHzを優先して用いるため、S716では、CPU302は、接続対象のアクセスポイントが使用する周波数が2.4GHzであると特定する。 When the determination in S712 is NO and the determination in S714 is NO, the network setting information received from the terminal device 200 does not include the information regarding the frequency used by the access point to be connected. As described above, in the present embodiment, 2.4 GHz is preferentially used in such a case. Therefore, in S716, the CPU 302 specifies that the frequency used by the access point to be connected is 2.4 GHz. ..

S717以降の処理は、図8を用いて説明する。図8に示すフローチャートは、例えば、CPU302がROM303や不揮発性メモリ305等に格納されたプログラムをRAM304に読み出して実行することにより実現される。 The processing after S717 will be described with reference to FIG. The flowchart shown in FIG. 8 is realized, for example, by the CPU 302 reading a program stored in the ROM 303, the non-volatile memory 305, or the like into the RAM 304 and executing the program.

S717では、CPU302は、2.4GHz用格納領域に、ネットワーク設定情報が格納されているか否かを判定する。すなわち、接続対象のアクセスポイントが、2.4GHzによって接続可能なアクセスポイントか否かを判定する。CPU302は、YES判定である場合、S718に進み、NO判定である場合、S724に進む。 In S717, the CPU 302 determines whether or not the network setting information is stored in the 2.4 GHz storage area. That is, it is determined whether or not the access point to be connected is an access point that can be connected by 2.4 GHz. The CPU 302 proceeds to S718 if the determination is YES, and proceeds to S724 if the determination is NO.

S718では、CPU302は、不揮発性メモリ305等の所定のメモリに、2.4GHz用格納領域に保存されているネットワーク設定情報を保存する。 In S718, the CPU 302 stores the network setting information stored in the 2.4 GHz storage area in a predetermined memory such as the non-volatile memory 305.

S719では、CPU302は、2.4GHz用格納領域に格納されているネットワーク設定情報及び2.4GHzに対応するチャネルを用いて、接続対象のアクセスポイントとの接続を試みる。本実施形態では上述したように、周波数帯情報はチャネルを示す情報であるため、2.4GHzに対応するチャネルのうち、当該情報によって示されるチャネルを用いて、接続対象のアクセスポイントとの接続を試みる。 In S719, the CPU 302 attempts to connect to the access point to be connected by using the network setting information stored in the 2.4 GHz storage area and the channel corresponding to 2.4 GHz. As described above, in the present embodiment, the frequency band information is information indicating a channel, so that among the channels corresponding to 2.4 GHz, the channel indicated by the information is used to connect to the access point to be connected. Try.

S720では、CPU302は、S719によって、接続対象のアクセスポイントとの接続が成功したか否かを判定する。CPU302は、YES判定である場合、S721に進み、NO判定である場合、S722に進む。なお、接続対象のアクセスポイントとの接続が成功した場合、印刷装置300とアクセスポイントとの2.4GHzによる接続が完了し、2.4GHzによるインフラ接続を構築可能となる。そのため、CPU302は、印刷装置300を2.4GHzによるインフラ接続モードとして動作させる。 In S720, the CPU 302 determines whether or not the connection with the access point to be connected is successful by S719. The CPU 302 proceeds to S721 if the determination is YES, and proceeds to S722 if the determination is NO. If the connection to the access point to be connected is successful, the connection between the printing device 300 and the access point at 2.4 GHz is completed, and an infrastructure connection at 2.4 GHz can be constructed. Therefore, the CPU 302 operates the printing device 300 as an infrastructure connection mode using 2.4 GHz.

S722では、CPU302は、接続対象のアクセスポイントとの接続が失敗したことを示す画面を表示部311に表示する。なおこの時、CPU302は、接続対象のアクセスポイントとの接続が失敗したことを示す画面を表示部209に表示するための情報を端末装置200に送信しても良い。また、CPU302は、S725に進み、5GHzに対応するチャネルを用いて、接続対象のアクセスポイントとの接続を試みても良い。また、CPU302は、2.4GHzに対応するチャネルのうち、S719で用いたチャネルでないチャネルを用いて、接続対象のアクセスポイントとの接続を試みても良い。 In S722, the CPU 302 displays a screen on the display unit 311 indicating that the connection with the access point to be connected has failed. At this time, the CPU 302 may transmit information to the terminal device 200 for displaying a screen indicating that the connection with the access point to be connected has failed on the display unit 209. Further, the CPU 302 may proceed to S725 and try to connect to the access point to be connected by using the channel corresponding to 5 GHz. Further, the CPU 302 may try to connect to the access point to be connected by using a channel other than the channel used in S719 among the channels corresponding to 2.4 GHz.

S721では、CPU302は、動作モード格納領域にダイレクト接続モードが有効であることを示す情報が含まれているか否かを判定する。CPU302は、YES判定である場合、S723に進み、NO判定である場合、処理を終了する。 In S721, the CPU 302 determines whether or not the operation mode storage area contains information indicating that the direct connection mode is valid. If the determination is YES, the CPU 302 proceeds to S723, and if the determination is NO, the process ends.

S723では、CPU302は、印刷装置300をダイレクト接続モードとして動作させる。本処理は、S522と同様である。 In S723, the CPU 302 operates the printing device 300 as a direct connection mode. This process is the same as S522.

S717がNO判定であった場合、5GHz用格納領域にネットワーク設定情報が含まれていることになる。そこで、S724では、CPU302は、不揮発性メモリ305等の所定のメモリに、5GHz用格納領域に保存されているネットワーク設定情報を保存する。 When the determination in S717 is NO, the network setting information is included in the storage area for 5 GHz. Therefore, in S724, the CPU 302 stores the network setting information stored in the storage area for 5 GHz in a predetermined memory such as the non-volatile memory 305.

S725では、CPU302は、5GHz用格納領域に格納されているネットワーク設定情報及び5GHzに対応するチャネルを用いて、接続対象のアクセスポイントとの接続を試みる。本実施形態では上述したように、周波数帯情報はチャネルを示す情報であるため、5GHzに対応するチャネルのうち、当該情報によって示されるチャネルを用いて、接続対象のアクセスポイントとの接続を試みる。 In S725, the CPU 302 attempts to connect to the access point to be connected by using the network setting information stored in the storage area for 5 GHz and the channel corresponding to 5 GHz. In the present embodiment, as described above, the frequency band information is information indicating a channel, and therefore, among the channels corresponding to 5 GHz, the channel indicated by the information is used to try to connect to the access point to be connected.

S726では、CPU302は、S725によって、接続対象のアクセスポイントとの接続が成功したか否かを判定する。CPU302は、YES判定である場合、S727に進み、NO判定である場合、S728に進む。なお、接続対象のアクセスポイントとの接続が成功した場合、印刷装置300とアクセスポイントとの5GHzによる接続が完了し、5GHzによるインフラ接続を構築可能となる。そのため、CPU302は、印刷装置300を5GHzによるインフラ接続モードとして動作させる。 In S726, the CPU 302 determines whether or not the connection with the access point to be connected is successful by S725. The CPU 302 proceeds to S727 if the determination is YES, and proceeds to S728 if the determination is NO. If the connection to the access point to be connected is successful, the connection between the printing device 300 and the access point at 5 GHz is completed, and an infrastructure connection at 5 GHz can be constructed. Therefore, the CPU 302 operates the printing device 300 as an infrastructure connection mode at 5 GHz.

S728では、CPU302は、接続対象のアクセスポイントとの接続が失敗したことを示す画面を表示部311に表示する。なおこの時、接続対象のアクセスポイントとの接続が失敗したことを示す画面を表示部209に表示するための情報を端末装置200に送信しても良い。また、CPU302は、S719に進み、2.4GHzに対応するチャネルを用いて、接続対象のアクセスポイントとの接続を試みても良い。また、CPU302は、5GHzに対応するチャネルのうち、S728で用いたチャネルでないチャネルを用いて、接続対象のアクセスポイントとの接続を試みても良い。 In S728, the CPU 302 displays a screen on the display unit 311 indicating that the connection with the access point to be connected has failed. At this time, information for displaying a screen indicating that the connection with the access point to be connected has failed on the display unit 209 may be transmitted to the terminal device 200. Further, the CPU 302 may proceed to S719 and try to connect to the access point to be connected by using the channel corresponding to 2.4 GHz. Further, the CPU 302 may try to connect to the access point to be connected by using a channel other than the channel used in S728 among the channels corresponding to 5 GHz.

S727では、CPU302は、動作モード格納領域にダイレクト接続モードが有効であることを示す情報が含まれているか否かを判定する。CPU302は、YES判定である場合、S729に進み、NO判定である場合、処理を終了する。 In S727, the CPU 302 determines whether or not the operation mode storage area contains information indicating that the direct connection mode is valid. If the determination is YES, the CPU 302 proceeds to S729, and if the determination is NO, the CPU 302 ends the process.

S729では、CPU302は、ダイレクト接続モードを無効化する。本処理は、S522と同様である。 In S729, the CPU 302 disables the direct connection mode. This process is the same as S522.

次に、上述の形態とは異なる方法で、端末装置200を介したネットワーク設定処理を適切に実行する形態について説明する。 Next, a mode in which the network setting process via the terminal device 200 is appropriately executed by a method different from the above-described mode will be described.

図9は、本実施形態において印刷装置300が実行するネットワーク設定処理を示すフローチャートである。図9に示すフローチャートは、例えば、CPU302がROM303や不揮発性メモリ305等に格納されたプログラムをRAM304に読み出して実行することにより実現される。また、図9に示すフローチャートが示す処理は、印刷装置300に対して、ネットワーク設定処理のトリガーとなるユーザ操作(ネットワーク設定処理の実行指示)が行われた場合に開始される。 FIG. 9 is a flowchart showing a network setting process executed by the printing apparatus 300 in the present embodiment. The flowchart shown in FIG. 9 is realized, for example, by the CPU 302 reading a program stored in the ROM 303, the non-volatile memory 305, or the like into the RAM 304 and executing the program. Further, the process shown in the flowchart shown in FIG. 9 is started when a user operation (instruction to execute the network setting process) that triggers the network setting process is performed on the printing device 300.

S901~S916は、S701~S716と同様であるため説明を省略する。 Since S901 to S916 are the same as S701 to S716, the description thereof will be omitted.

S914がNO判定である場合、端末装置200から受信したネットワーク設定情報に、周波数帯情報が含まれないことになる。そのため、CPU302は、S904で保存したAPサーチ結果に、端末装置200から受信したネットワーク設定情報に含まれる情報が含まれるか否かを判定する。端末装置200から受信したネットワーク設定情報に含まれる情報は例えば、SSID、認証方式、暗号方式、MACアドレス等である。CPU302は、YES判定である場合、S918に進み、NO判定である場合、S916に進む。なおCPU302は、YES判定である場合、端末装置200から受信したネットワーク設定情報に含まれる情報に対応する周波数情報を、APサーチ結果から特定する。 When the determination in S914 is NO, the network setting information received from the terminal device 200 does not include the frequency band information. Therefore, the CPU 302 determines whether or not the AP search result saved in S904 includes the information included in the network setting information received from the terminal device 200. The information included in the network setting information received from the terminal device 200 is, for example, an SSID, an authentication method, an encryption method, a MAC address, and the like. The CPU 302 proceeds to S918 if the determination is YES, and proceeds to S916 if the determination is NO. If the determination is YES, the CPU 302 specifies the frequency information corresponding to the information included in the network setting information received from the terminal device 200 from the AP search result.

S918では、CPU302は、APサーチ結果から特定された、端末装置200から受信したネットワーク設定情報に含まれる情報に対応する周波数情報が、2.4GHzか否かを判定する。CPU302は、YES判定である場合、S913に進み、NO判定である場合、S915に進む。 In S918, the CPU 302 determines whether or not the frequency information corresponding to the information included in the network setting information received from the terminal device 200 identified from the AP search result is 2.4 GHz. The CPU 302 proceeds to S913 if the determination is YES, and proceeds to S915 if the determination is NO.

S913及びS915の後の処理は、図8に示す処理と同様であるため説明を省略する。 Since the processing after S913 and S915 is the same as the processing shown in FIG. 8, the description thereof will be omitted.

なお、上述では、端末装置200から、インフラ接続モードを設定するためのネットワーク設定情報を受信する形態を説明したが、ダイレクト接続モードを設定するためのネットワーク設定情報を受信しても良い。その場合、印刷装置300は、ダイレクト接続モード時に有効化される、印刷装置300内のアクセスポイントと接続するための接続情報を端末装置200に通知したあと、当該アクセスポイントを有効化し、端末装置200とダイレクト接続する。 In the above description, the mode of receiving the network setting information for setting the infrastructure connection mode from the terminal device 200 has been described, but the network setting information for setting the direct connection mode may be received. In that case, the printing device 300 notifies the terminal device 200 of the connection information for connecting to the access point in the printing device 300, which is enabled in the direct connection mode, and then activates the access point to enable the terminal device 200. Direct connection with.

また、端末装置200は、インフラ接続モードを設定するためのネットワーク設定情報として、ネットワーク設定処理前に端末装置200が接続していたアクセスポイントと接続するための情報を送信することが好ましい。これにより、印刷装置300が当該アクセスポイントと接続するため、端末装置200が当該アクセスポイントと再接続すれば、端末装置200と印刷装置300間でインフラ接続が確立する。 Further, it is preferable that the terminal device 200 transmits information for connecting to the access point to which the terminal device 200 was connected before the network setting process as the network setting information for setting the infrastructure connection mode. As a result, the printing device 300 connects to the access point, and if the terminal device 200 reconnects to the access point, an infrastructure connection is established between the terminal device 200 and the printing device 300.

上述の形態とすることで、ネットワーク設定処理において、周波数帯情報が印刷装置300に通知されない場合には、5GHzより、2.4GHzを優先して用いて、アクセスポイントとの接続を試みることができる。また、ネットワーク設定処理において、接続対象のアクセスポイントが使用可能な周波数帯に関する複数の情報が印刷装置300に通知される場合には、5GHzより、2.4GHzを優先して用いて、アクセスポイントとの接続を試みることができる。 With the above mode, if the frequency band information is not notified to the printing device 300 in the network setting process, 2.4 GHz can be preferentially used over 5 GHz to try to connect to the access point. .. Further, in the network setting process, when a plurality of information regarding the frequency band that can be used by the access point to be connected is notified to the printing device 300, 2.4 GHz is preferentially used over 5 GHz to be used as the access point. You can try to connect.

(その他の実施形態)
上述では、印刷装置300は、2.4GHZと5GHzの周波数帯のうち少なくとも1つに対応しているものとしたが、この形態に限定されない。すなわち、印刷装置300が対応している周波数帯は、2.4GHZと5GHz以外の周波数帯であっても良い。また印刷装置300は、3つ以上の周波数帯に対応していても良い。
(Other embodiments)
In the above description, the printing apparatus 300 is assumed to correspond to at least one of the 2.4 GHz and 5 GHz frequency bands, but is not limited to this form. That is, the frequency band supported by the printing apparatus 300 may be a frequency band other than 2.4 GHz and 5 GHz. Further, the printing apparatus 300 may correspond to three or more frequency bands.

上述では、印刷装置300は、ネットワーク設定処理において周波数帯情報が受信されなかった又は複数の周波数帯情報が受信された場合、2.4GHzの周波数帯に対応するチャネルを優先的に用いてAPと接続していた。しかしながら、この形態に限定されない。例えば、印刷装置300は、上述の場合、5GHzの周波数帯に対応するチャネルのうち、DFSによる切り替えが行われないチャネル(気象レーダ等の特定の装置が利用することがないチャネル)を優先的に用いてAPと接続しても良い。 In the above description, when the frequency band information is not received or a plurality of frequency band information is received in the network setting process, the printing apparatus 300 preferentially uses the channel corresponding to the 2.4 GHz frequency band with the AP. I was connected. However, it is not limited to this form. For example, in the above case, the printing apparatus 300 preferentially selects a channel (a channel that is not used by a specific device such as a weather radar) that is not switched by DFS among the channels corresponding to the frequency band of 5 GHz. It may be used to connect with the AP.

上述では、端末装置200を用いたネットワーク設定処理において、印刷装置300がセットアップモードで動作しており、印刷装置300と端末装置200が、Wi-Fiによって接続している状態で、ネットワーク設定情報を受信する形態を説明した。しかしながらこの形態に限定されず、例えば、印刷装置300と端末装置200が、Wi-Fi以外の通信方式で接続している状態で、Wi-Fi以外の通信方式を介して設定情報を受信する形態であっても良い。すなわち、例えば、セットアップモードでの動作のトリガーとなる操作が行われたことに応じて、印刷装置300は、WLAN以外の通信方式によるホスト端末102との通信が可能な状態で動作を開始しても良い。WLAN以外の通信方式は、例えば、Bluetooth Classic(登録商標)や、BluetoothLow Energy(登録商標)、NFCである。 In the above description, in the network setting process using the terminal device 200, the printing device 300 is operating in the setup mode, and the network setting information is input in a state where the printing device 300 and the terminal device 200 are connected by Wi-Fi. The form of receiving was explained. However, the present invention is not limited to this mode, and for example, when the printing device 300 and the terminal device 200 are connected by a communication method other than Wi-Fi, the setting information is received via a communication method other than Wi-Fi. It may be. That is, for example, in response to the operation that triggers the operation in the setup mode, the printing device 300 starts the operation in a state where it can communicate with the host terminal 102 by a communication method other than WLAN. Is also good. Communication methods other than WLAN are, for example, Bluetooth Classic (registered trademark), BluetoothLow Energy (registered trademark), and NFC.

上述した実施形態は、以下の処理を実行することによっても実現される。すなわち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(CPUやMPU等)がプログラムを読み出して実行する処理である。また、プログラムは、1つのコンピュータで実行させても、複数のコンピュータで連動させて実行させるようにしてもよい。また、上記した処理の全てをソフトウェアで実現する必要はなく、処理の一部または全部をASIC等のハードウェアで実現するようにしてもよい。また、CPUも1つのCPUで全ての処理を行うものに限らず、複数のCPUが適宜連携をしながら処理を行うものとしてもよい。 The above-described embodiment is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiment is supplied to the system or device via a network or various storage media, and the computer (CPU, MPU, etc.) of the system or device reads and executes the program. It is a process to do. Further, the program may be executed on one computer or may be executed in conjunction with a plurality of computers. Further, it is not necessary to realize all of the above-mentioned processes by software, and a part or all of the processes may be realized by hardware such as ASIC. Further, the CPU is not limited to one that performs all processing by one CPU, and a plurality of CPUs may perform processing while appropriately coordinating with each other.

200 端末装置
300 印刷装置
200 Terminal device 300 Printing device

Claims (40)

2.4GHzの周波数帯と5GHzの周波数帯における無線通信を実行可能であり、利用する通信チャネルを決定しない子局になる無線接続と、利用する通信チャネルを決定する親局になる無線接続と、を並行して維持可能である印刷装置であって、
外部装置との無線接続のための処理において用いられる設定情報を受信するための所定の操作を受け付ける受付手段と、
前記所定の操作が受け付けられた後、前記設定情報を受信する設定受信手段と、
前記設定情報に基づいて、前記2.4GHzの周波数帯及び前記5GHzの周波数帯のうち少なくとも一方を用いて、前記外部装置と、前記子局に前記印刷装置がなる無線接続を確立する接続手段と、
前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記2.4GHzの周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立された場合、前記子局に前記印刷装置がなる無線接続と、前記親局での前記印刷装置の動作とが並行して維持されるように制御し、前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記5GHzの周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立された場合、前記子局に前記印刷装置がなる無線接続と、前記親局での前記印刷装置の動作とが並行して維持されないように制御する制御手段と、
前記外部装置との無線接続を介して、印刷ジョブを受信するジョブ受信手段と、
前記印刷ジョブに基づいて、印刷を実行する印刷手段と、
を有することを特徴とする印刷装置。
A wireless connection that can execute wireless communication in the 2.4 GHz frequency band and a 5 GHz frequency band and becomes a slave station that does not determine the communication channel to be used, and a wireless connection that becomes a master station that determines the communication channel to be used. Is a printing device that can maintain in parallel,
A reception means that accepts a predetermined operation for receiving setting information used in processing for wireless connection with an external device, and
After the predetermined operation is received, the setting receiving means for receiving the setting information and the setting receiving means.
Based on the setting information, using at least one of the 2.4 GHz frequency band and the 5 GHz frequency band, a connection means for establishing a wireless connection between the external device and the printing device to the slave station. ,
The predetermined operation is accepted while the printing device is operating at the master station, and a wireless connection in which the printing device is connected to the slave station using the 2.4 GHz frequency band is based on the setting information. When established, the slave station is controlled so that the wireless connection of the printing device and the operation of the printing device at the master station are maintained in parallel, and the printing device is operated at the master station. When the predetermined operation is accepted in the operating state and a wireless connection for the printing device to the slave station is established based on the setting information using the frequency band of 5 GHz, the slave station is connected to the slave station. A control means for controlling the wireless connection of the printing device and the operation of the printing device at the master station so as not to be maintained in parallel.
A job receiving means for receiving a print job via a wireless connection with the external device,
A printing means that executes printing based on the print job, and
A printing apparatus characterized by having.
前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記2.4GHzの周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立された場合、前記設定情報に基づいて確立される前記子局に前記印刷装置がなる無線接続に用いられる通信チャネルと、前記所定の操作が受け付けられたときの前記親局での前記印刷装置の動作に用いられていた通信チャネルとが異なっていたとしても、前記子局に前記印刷装置がなる無線接続と前記親局での前記印刷装置の動作が、同じ通信チャネルを用いて並行して維持されるように制御されることを特徴とする請求項1に記載の印刷装置。 The predetermined operation is accepted while the printing device is operating at the master station, and a wireless connection in which the printing device is connected to the slave station using the 2.4 GHz frequency band is based on the setting information. When established, the communication channel used for the wireless connection of the printing device to the slave station established based on the setting information, and the printing at the master station when the predetermined operation is accepted. Even if the communication channel used for the operation of the device is different, the wireless connection in which the printing device is connected to the slave station and the operation of the printing device at the master station are performed in parallel using the same communication channel. The printing apparatus according to claim 1, wherein the printing apparatus is controlled so as to be maintained. 前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられた場合、前記親局での前記印刷装置の動作が停止され、
前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記2.4GHzの周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立されたことに基づいて、前記親局での前記印刷装置の動作が再開され、
前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記5GHzの周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立されたことに基づいては、前記親局での前記印刷装置の動作が再開されないことを特徴とする請求項1又は2に記載の印刷装置。
When the predetermined operation is accepted while the printing device is operating at the master station, the operation of the printing device at the master station is stopped.
The predetermined operation is accepted while the printing device is operating at the master station, and a wireless connection in which the printing device is connected to the slave station using the 2.4 GHz frequency band is based on the setting information. Based on the establishment, the operation of the printing device at the master station is resumed, and the operation of the printing device is resumed.
The predetermined operation is accepted while the printing device is operating at the master station, and a wireless connection for the printing device to the slave station is established based on the setting information using the frequency band of 5 GHz. The printing apparatus according to claim 1 or 2, wherein the operation of the printing apparatus at the master station is not restarted based on the fact that the printing apparatus has been operated.
2.4GHzの周波数帯と5GHzの周波数帯における無線通信を実行可能であり、第1の情報処理装置との外部装置を介した第1の無線接続と、第2の情報処理装置との前記外部装置を介さない直接的な第2の無線接続と、を並行して維持可能である印刷装置であって、
外部装置との無線接続のための処理において用いられる設定情報を受信するための所定の操作を受け付ける受付手段と、
前記所定の操作が受け付けられた後、前記設定情報を受信する設定受信手段と、
前記設定情報に基づいて、前記5GHzの周波数帯及び前記2.4GHzの周波数帯のうち少なくとも一方を用いて、前記外部装置との無線接続を確立する接続手段と、
前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記2.4GHzの周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立された場合、前記第1の無線接続と、前記第2の無線接続を確立するための状態での前記印刷装置の動作とが並行して維持されるように制御し、前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記5GHzの周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立された場合、前記第1の無線接続と、前記第2の無線接続を確立するための状態での前記印刷装置の動作とが並行して維持されないように制御する制御手段と、
前記外部装置との無線接続を介して、印刷ジョブを受信するジョブ受信手段と、
前記印刷ジョブに基づいて、印刷を実行する印刷手段と、
を有することを特徴とする印刷装置。
It is possible to carry out wireless communication in the 2.4 GHz frequency band and the 5 GHz frequency band, and the first wireless connection via an external device with the first information processing device and the external with the second information processing device. A printing device that can maintain a direct second wireless connection, not through the device, in parallel.
A reception means that accepts a predetermined operation for receiving setting information used in processing for wireless connection with an external device, and
After the predetermined operation is received, the setting receiving means for receiving the setting information and the setting receiving means.
A connection means for establishing a wireless connection with the external device using at least one of the 5 GHz frequency band and the 2.4 GHz frequency band based on the setting information.
The predetermined operation is accepted while the printing device is operating in the state for establishing the second wireless connection, and the wireless connection with the external device is made using the 2.4 GHz frequency band. When established based on the setting information, the operation of the printing device in the state for establishing the second wireless connection is controlled to be maintained in parallel with the first wireless connection. The predetermined operation is accepted while the printing device is operating in a state for establishing the second wireless connection, and the wireless connection with the external device is performed using the frequency band of 5 GHz. When established based on the setting information, the control means for controlling so that the operation of the printing device in the state for establishing the first wireless connection and the second wireless connection is not maintained in parallel. When,
A job receiving means for receiving a print job via a wireless connection with the external device,
A printing means that executes printing based on the print job, and
A printing apparatus characterized by having.
前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記2.4GHzの周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立された場合、前記設定情報に基づいて確立される前記外部装置との無線接続に用いられる通信チャネルと、前記所定の操作が受け付けられたときの前記第2の無線接続を確立するための状態での前記印刷装置の動作に用いられていた通信チャネルとが異なっていたとしても、前記第1の無線接続と前記第2の無線接続を確立するための状態での前記印刷装置の動作が、同じ通信チャネルを用いて並行して維持されるように制御されることを特徴とする請求項4に記載の印刷装置。 The predetermined operation is accepted while the printing device is operating in the state for establishing the second wireless connection, and the wireless connection with the external device is made using the 2.4 GHz frequency band. When established based on the setting information, the communication channel used for the wireless connection with the external device established based on the setting information and the second wireless connection when the predetermined operation is accepted. Even if the communication channel used for the operation of the printing apparatus in the state for establishing the above is different, the said in the state for establishing the first wireless connection and the second wireless connection. The printing device according to claim 4, wherein the operation of the printing device is controlled so as to be maintained in parallel using the same communication channel. 前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられた場合、前記第2の無線接続を確立するための状態での前記印刷装置の動作が停止され、
前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記2.4GHzの周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立されたことに基づいて、前記第2の無線接続を確立するための状態での前記印刷装置の動作が再開され、
前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記5GHzの周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立されたことに基づいては、前記第2の無線接続を確立するための状態での前記印刷装置の動作が再開されないことを特徴とする請求項4又は5に記載の印刷装置。
When the predetermined operation is accepted while the printing device is operating in the state for establishing the second wireless connection, the printing device in the state for establishing the second wireless connection. Has stopped working,
The predetermined operation is accepted while the printing device is operating in the state for establishing the second wireless connection, and the wireless connection with the external device is made using the 2.4 GHz frequency band. Based on what was established based on the setting information, the operation of the printing device in the state for establishing the second wireless connection is resumed, and the operation of the printing device is resumed.
The predetermined operation is accepted while the printing device is operating in a state for establishing the second wireless connection, and the wireless connection with the external device is set by using the frequency band of 5 GHz. The printing apparatus according to claim 4 or 5, wherein the operation of the printing apparatus in the state for establishing the second wireless connection is not restarted based on the establishment based on the information. ..
前記第2の無線接続を確立するための状態とは、Wi-Fi Directによる接続を確立するための状態及び、アクセスポイントとして動作する状態のうち少なくとも一方であることを特徴とする請求項4乃至6のいずれか1項に記載の印刷装置。 A fourth to fourth aspect of the present invention, wherein the state for establishing the second wireless connection is at least one of a state for establishing a connection by Wi-Fi Direct and a state for operating as an access point. 6. The printing apparatus according to any one of 6. 前記設定情報に、前記2.4GHzの周波数帯に対応する周波数帯情報と前記5GHzの周波数帯に対応する周波数帯情報とが含まれる場合、前記5GHzの周波数帯より、前記2.4GHzの周波数帯を優先的に用いて、前記外部装置との無線接続を確立することを特徴とする請求項1乃至7のいずれか1項に記載の印刷装置。 When the setting information includes the frequency band information corresponding to the 2.4 GHz frequency band and the frequency band information corresponding to the 5 GHz frequency band, the 2.4 GHz frequency band is more than the 5 GHz frequency band. The printing apparatus according to any one of claims 1 to 7, wherein is preferentially used to establish a wireless connection with the external device. 前記設定情報に、前記2.4GHzの周波数帯に対応する周波数帯情報と前記5GHzの周波数帯に対応する周波数帯情報とが含まれ、且つ前記2.4GHzの周波数帯によって、前記外部装置と無線接続することができない場合、前記5GHzの周波数帯によって、前記外部装置と無線接続することを特徴とする請求項8に記載の印刷装置。 The setting information includes frequency band information corresponding to the 2.4 GHz frequency band and frequency band information corresponding to the 5 GHz frequency band, and is wirelessly connected to the external device by the 2.4 GHz frequency band. The printing device according to claim 8, wherein when the device cannot be connected, the device is wirelessly connected to the external device by the frequency band of 5 GHz. 前記設定情報に、前記2.4GHzの周波数帯に対応する周波数帯情報と前記5GHzの周波数帯に対応する周波数帯情報のうちいずれか1つが含まれる場合、前記設定情報に含まれる周波数帯情報に基づく周波数帯によって、前記外部装置と無線接続することを特徴とする請求項1乃至9のいずれか1項に記載の印刷装置。 When the setting information includes any one of the frequency band information corresponding to the 2.4 GHz frequency band and the frequency band information corresponding to the 5 GHz frequency band, the frequency band information included in the setting information includes. The printing device according to any one of claims 1 to 9, wherein the printing device is wirelessly connected to the external device according to the frequency band based on the device. 前記設定情報に、前記2.4GHzの周波数帯に対応する周波数帯情報と前記5GHzの周波数帯に対応する周波数帯情報のいずれもが含まれない場合、前記5GHzの周波数帯より、前記2.4GHzの周波数帯を優先的に用いて、前記外部装置と無線接続することを特徴とする請求項1乃至10のいずれか1項に記載の印刷装置。 When neither the frequency band information corresponding to the 2.4 GHz frequency band nor the frequency band information corresponding to the 5 GHz frequency band is included in the setting information, the 2.4 GHz frequency band is used from the 5 GHz frequency band. The printing device according to any one of claims 1 to 10, wherein the frequency band of the above is preferentially used to wirelessly connect to the external device. 前記設定情報に、前記2.4GHzの周波数帯に対応する周波数帯情報と前記5GHzの周波数帯に対応する周波数帯情報のいずれもが含まれない場合、前記2.4GHzの周波数帯で前記外部装置を検索し、前記2.4GHzの周波数帯で前記外部装置を検索した結果、前記外部装置が発見されなかった場合に、前記5GHzの周波数帯で前記外部装置を検索することで、前記5GHzの周波数帯より、前記2.4GHzの周波数帯を優先的に用いて、前記外部装置と無線接続することを特徴とする請求項11に記載の印刷装置。 When the setting information does not include either the frequency band information corresponding to the 2.4 GHz frequency band and the frequency band information corresponding to the 5 GHz frequency band, the external device is used in the 2.4 GHz frequency band. When the external device is not found as a result of searching for the external device in the 2.4 GHz frequency band, the external device is searched in the 5 GHz frequency band to obtain the 5 GHz frequency. The printing device according to claim 11, wherein the 2.4 GHz frequency band is preferentially used over the band to wirelessly connect to the external device. 前記設定情報に、前記2.4GHzの周波数帯に対応する周波数帯情報と前記5GHzの周波数帯に対応する周波数帯情報のいずれもが含まれず、且つ前記2.4GHzの周波数帯によって、前記外部装置と無線接続することができない場合、前記5GHzの周波数帯によって、前記外部装置と無線接続することを特徴とする請求項11又は12に記載の印刷装置。 The setting information does not include either the frequency band information corresponding to the 2.4 GHz frequency band and the frequency band information corresponding to the 5 GHz frequency band, and the 2.4 GHz frequency band causes the external device. The printing device according to claim 11 or 12, wherein when the device cannot be wirelessly connected to the external device, the device is wirelessly connected to the external device by the frequency band of 5 GHz. 前記設定情報に、前記2.4GHzの周波数帯に対応する周波数帯情報及び、前記2.4GHzの周波数帯に対応する複数のプロファイル情報が含まれる場合、前記複数のプロファイル情報のうち、よりセキュリティレベルの高い認証方式のプロファイル又はよりセキュリティレベルの高い暗号方式のプロファイルが優先して用いられて、前記外部装置との無線接続が確立されることを特徴とする請求項1乃至13のいずれか1項に記載の印刷装置。 When the setting information includes the frequency band information corresponding to the 2.4 GHz frequency band and the plurality of profile information corresponding to the 2.4 GHz frequency band, the security level of the plurality of profile information is higher. One of claims 1 to 13, wherein a profile having a high authentication method or a profile having a higher security level is preferentially used to establish a wireless connection with the external device. The printing device described in. 第1の周波数帯と第2の周波数帯における無線通信を実行可能であり、利用する通信チャネルを決定しない子局になる無線接続と、利用する通信チャネルを決定する親局になる無線接続と、を並行して維持可能である印刷装置であって、
外部装置との無線接続のための処理において用いられる設定情報を受信するための所定の操作を受け付ける受付手段と、
前記所定の操作が受け付けられた後、前記設定情報を受信する設定受信手段と、
前記設定情報に基づいて、前記第1の周波数帯及び前記第2の周波数帯を含む複数の周波数帯のうち少なくとも1つを用いて、前記外部装置と、前記子局に前記印刷装置がなる無線接続を確立する接続手段と、
前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第1の周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立された場合、前記子局に前記印刷装置がなる無線接続と、前記親局での前記印刷装置の動作とが並行して維持されるように制御し、前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第2の周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立された場合、前記子局に前記印刷装置がなる無線接続と、前記親局での前記印刷装置の動作とが並行して維持されないように制御する制御手段と、
前記外部装置との無線接続を介して、印刷ジョブを受信するジョブ受信手段と、
前記印刷ジョブに基づいて、印刷を実行する印刷手段と、
を有し、
前記第2の周波数帯によって前記外部装置と無線接続している場合、Dynamic Frequency Selection又はTransmit Power Controlによって、前記外部装置と前記印刷装置との間の前記第2の周波数帯による無線接続において利用されているチャネルが他のチャネルに変更されうることを特徴とする印刷装置。
A wireless connection that can execute wireless communication in the first frequency band and the second frequency band and becomes a slave station that does not determine the communication channel to be used, and a wireless connection that becomes a master station that determines the communication channel to be used. Is a printing device that can maintain in parallel,
A reception means that accepts a predetermined operation for receiving setting information used in processing for wireless connection with an external device, and
After the predetermined operation is received, the setting receiving means for receiving the setting information and the setting receiving means.
Based on the setting information, at least one of a plurality of frequency bands including the first frequency band and the second frequency band is used to make the external device and the printing device at the slave station. Connection means to establish a connection and
The predetermined operation is accepted while the printing device is operating at the master station, and a wireless connection in which the printing device is connected to the slave station using the first frequency band is based on the setting information. When established, it is controlled so that the wireless connection of the printing device to the slave station and the operation of the printing device at the master station are maintained in parallel, and the printing device operates at the master station. When the predetermined operation is accepted and a wireless connection for the printing device to the slave station is established based on the setting information using the second frequency band, the slave station is connected to the predetermined operation. A control means for controlling the wireless connection of the printing device and the operation of the printing device at the master station so as not to be maintained in parallel.
A job receiving means for receiving a print job via a wireless connection with the external device,
A printing means that executes printing based on the print job, and
Have,
When wirelessly connected to the external device by the second frequency band, it is used in the wireless connection by the second frequency band between the external device and the printing device by the Dynamic Peripheral Selection or the Transmit Power Control. A printing device characterized in that one channel can be changed to another channel.
前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第1の周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立された場合、前記設定情報に基づいて確立される前記子局に前記印刷装置がなる無線接続に用いられる通信チャネルと、前記所定の操作が受け付けられたときの前記親局での前記印刷装置の動作に用いられていた通信チャネルとが異なっていたとしても、前記子局に前記印刷装置がなる無線接続と前記親局での前記印刷装置の動作が、同じ通信チャネルを用いて並行して維持されるように制御されることを特徴とする請求項14に記載の印刷装置。 The predetermined operation is accepted while the printing device is operating at the master station, and a wireless connection in which the printing device is connected to the slave station using the first frequency band is based on the setting information. When established, the communication channel used for wireless connection in which the printing device is connected to the slave station established based on the setting information, and the printing device at the master station when the predetermined operation is accepted. Even if the communication channel used for the operation of is different, the wireless connection in which the printing device is connected to the slave station and the operation of the printing device at the master station are performed in parallel using the same communication channel. The printing apparatus according to claim 14, wherein the printing apparatus is controlled so as to be maintained. 前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられた場合、前記親局での前記印刷装置の動作が停止され、
前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第1の周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立されたことに基づいて、前記親局での前記印刷装置の動作が再開され、
前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第2の周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立されたことに基づいては、前記親局での前記印刷装置の動作が再開されないことを特徴とする請求項15又は16に記載の印刷装置。
When the predetermined operation is accepted while the printing device is operating at the master station, the operation of the printing device at the master station is stopped.
The predetermined operation is accepted while the printing device is operating at the master station, and a wireless connection in which the printing device is made to the slave station using the first frequency band is based on the setting information. Based on the establishment, the operation of the printing device at the master station is resumed, and the operation of the printing device is resumed.
The predetermined operation is accepted while the printing device is operating at the master station, and a wireless connection in which the printing device is made to the slave station using the second frequency band is based on the setting information. The printing apparatus according to claim 15 or 16, wherein the operation of the printing apparatus at the master station is not restarted based on the establishment.
第1の周波数帯と第2の周波数帯における無線通信を実行可能であり、第1の情報処理装置との外部装置を介した第1の無線接続と、第2の情報処理装置との前記外部装置を介さない直接的な第2の無線接続と、を並行して維持可能である印刷装置であって、
外部装置との無線接続のための処理において用いられる設定情報を受信するための所定の操作を受け付ける受付手段と、
前記所定の操作が受け付けられた後、前記設定情報を受信する設定受信手段と、
前記設定情報に基づいて、前記第1の周波数帯及び前記第2の周波数帯を含む複数の周波数帯のうち少なくとも1つを用いて、前記外部装置との無線接続を確立する接続手段と、
前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第1の周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立された場合、前記第1の無線接続と、前記第2の無線接続を確立するための状態での前記印刷装置の動作とが並行して維持されるように制御し、前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第2の周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立された場合、前記第1の無線接続と、前記第2の無線接続を確立するための状態での前記印刷装置の動作とが並行して維持されないように制御する制御手段と、
前記外部装置との無線接続を介して、印刷ジョブを受信するジョブ受信手段と、
前記印刷ジョブに基づいて、印刷を実行する印刷手段と、
を有し、
前記第2の周波数帯によって前記外部装置と無線接続している場合、Dynamic Frequency Selection又はTransmit Power Controlによって、前記外部装置と前記印刷装置との間の前記第2の周波数帯による無線接続において利用されているチャネルが他のチャネルに変更されうることを特徴とする印刷装置。
It is possible to carry out wireless communication in the first frequency band and the second frequency band, and the first wireless connection with the first information processing device via an external device and the external with the second information processing device. A printing device that can maintain a direct second wireless connection, not through the device, in parallel.
A reception means that accepts a predetermined operation for receiving setting information used in processing for wireless connection with an external device, and
After the predetermined operation is received, the setting receiving means for receiving the setting information and the setting receiving means.
A connection means for establishing a wireless connection with the external device by using at least one of a plurality of frequency bands including the first frequency band and the second frequency band based on the setting information.
The predetermined operation is accepted while the printing device is operating in a state for establishing the second wireless connection, and the wireless connection with the external device using the first frequency band is described. When established based on the setting information, the first wireless connection and the operation of the printing device in the state for establishing the second wireless connection are controlled to be maintained in parallel. The predetermined operation is accepted while the printing device is operating in a state for establishing the second wireless connection, and the wireless connection with the external device using the second frequency band is described. When established based on the setting information, the control means for controlling so that the operation of the printing device in the state for establishing the first wireless connection and the second wireless connection is not maintained in parallel. When,
A job receiving means for receiving a print job via a wireless connection with the external device,
A printing means that executes printing based on the print job, and
Have,
When wirelessly connected to the external device by the second frequency band, it is used in the wireless connection by the second frequency band between the external device and the printing device by the Dynamic Peripheral Selection or the Transmit Power Control. A printing device characterized in that one channel can be changed to another channel.
前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第1の周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立された場合、前記設定情報に基づいて確立される前記外部装置との無線接続に用いられる通信チャネルと、前記所定の操作が受け付けられたときの前記第2の無線接続を確立するための状態での前記印刷装置の動作に用いられていた通信チャネルとが異なっていたとしても、前記第1の無線接続と前記第2の無線接続を確立するための状態での前記印刷装置の動作が、同じ通信チャネルを用いて並行して維持されるように制御されることを特徴とする請求項18に記載の印刷装置。 The predetermined operation is accepted while the printing device is operating in a state for establishing the second wireless connection, and the wireless connection with the external device using the first frequency band is described. When established based on the setting information, the communication channel used for the wireless connection with the external device established based on the setting information and the second wireless connection when the predetermined operation is accepted. Even if the communication channel used for the operation of the printing device in the state for establishing is different, the printing in the state for establishing the first wireless connection and the second wireless connection. 18. The printing apparatus according to claim 18, wherein the operation of the apparatus is controlled to be maintained in parallel using the same communication channel. 前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられた場合、前記第2の無線接続を確立するための状態での前記印刷装置の動作が停止され、
前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第1の周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立されたことに基づいて、前記第2の無線接続を確立するための状態での前記印刷装置の動作が再開され、
前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第2の周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立されたことに基づいては、前記第2の無線接続を確立するための状態での前記印刷装置の動作が再開されないことを特徴とする請求項18又は19に記載の印刷装置。
When the predetermined operation is accepted while the printing device is operating in the state for establishing the second wireless connection, the printing device in the state for establishing the second wireless connection. Has stopped working,
The predetermined operation is accepted while the printing device is operating in a state for establishing the second wireless connection, and the wireless connection with the external device using the first frequency band is described. Based on what was established based on the setting information, the operation of the printing device in the state for establishing the second wireless connection is resumed, and the operation of the printing device is resumed.
The predetermined operation is accepted while the printing device is operating in a state for establishing the second wireless connection, and the wireless connection with the external device using the second frequency band is described. The printing according to claim 18 or 19, wherein the operation of the printing device in the state for establishing the second wireless connection is not restarted based on the establishment based on the setting information. Device.
前記第2の無線接続を確立するための状態とは、Wi-Fi Directによる接続を確立するための状態及び、アクセスポイントとして動作する状態のうち少なくとも一方であることを特徴とする請求項18乃至20のいずれか1項に記載の印刷装置。 The state for establishing the second wireless connection is at least one of a state for establishing a connection by Wi-Fi Direct and a state for operating as an access point. The printing apparatus according to any one of 20. 前記設定情報に、前記第1の周波数帯に対応する周波数帯情報と前記第2の周波数帯に対応する周波数帯情報とが含まれる場合、前記第2の周波数帯より、前記第1の周波数帯を優先的に用いて、前記外部装置との無線接続を確立することを特徴とする請求項15乃至21のいずれか1項に記載の印刷装置。 When the setting information includes the frequency band information corresponding to the first frequency band and the frequency band information corresponding to the second frequency band, the first frequency band is more than the second frequency band. The printing device according to any one of claims 15 to 21, characterized in that wireless connection with the external device is established by preferentially using. 前記設定情報に、前記第1の周波数帯に対応する周波数帯情報と前記第2の周波数帯に対応する周波数帯情報とが含まれ、且つ前記第1の周波数帯によって、前記外部装置と無線接続することができない場合、前記第2の周波数帯によって、前記外部装置と無線接続することを特徴とする請求項15乃至22いずれか1項に記載の印刷装置。 The setting information includes frequency band information corresponding to the first frequency band and frequency band information corresponding to the second frequency band, and is wirelessly connected to the external device by the first frequency band. The printing device according to any one of claims 15 to 22, wherein if the device cannot be used, the second frequency band is used to wirelessly connect to the external device. 前記設定情報に、前記第1の周波数帯に対応する周波数帯情報と前記第2の周波数帯に対応する周波数帯情報のうちいずれか1つが含まれる場合、前記設定情報に含まれる周波数帯情報に基づく周波数帯によって、前記外部装置と無線接続することを特徴とする請求項15乃至23のいずれか1項に記載の印刷装置。 When the setting information includes any one of the frequency band information corresponding to the first frequency band and the frequency band information corresponding to the second frequency band, the frequency band information included in the setting information includes. The printing device according to any one of claims 15 to 23, which is wirelessly connected to the external device according to a frequency band based on the device. 前記設定情報に、前記第1の周波数帯に対応する周波数帯情報と前記第2の周波数帯に対応する周波数帯情報のいずれもが含まれない場合、前記第2の周波数帯より、前記第1の周波数帯を優先的に用いて、前記外部装置と無線接続することを特徴とする請求項15乃至24のいずれか1項に記載の印刷装置。 When neither the frequency band information corresponding to the first frequency band nor the frequency band information corresponding to the second frequency band is included in the setting information, the first frequency band is referred to from the second frequency band. The printing device according to any one of claims 15 to 24, wherein the frequency band of the above is preferentially used to wirelessly connect to the external device. 前記設定情報に、前記第1の周波数帯に対応する周波数帯情報と前記第2の周波数帯に対応する周波数帯情報のいずれもが含まれない場合、前記第1の周波数帯で前記外部装置を検索し、前記第1の周波数帯で前記外部装置を検索した結果、前記外部装置が発見されなかった場合に、前記第2の周波数帯で前記外部装置を検索することで、前記第2の周波数帯より、前記第1の周波数帯を優先的に用いて、前記外部装置と無線接続することを特徴とする請求項25に記載の印刷装置。 When the setting information does not include both the frequency band information corresponding to the first frequency band and the frequency band information corresponding to the second frequency band, the external device is set in the first frequency band. When the external device is not found as a result of searching and searching for the external device in the first frequency band, the second frequency is searched for by searching for the external device in the second frequency band. The printing device according to claim 25, wherein the first frequency band is preferentially used over the band to wirelessly connect to the external device. 前記設定情報に、前記第1の周波数帯に対応する周波数帯情報と前記第2の周波数帯に対応する周波数帯情報のいずれもが含まれず、且つ前記第1の周波数帯によって、前記外部装置と無線接続することができない場合、前記第2の周波数帯によって、前記外部装置と無線接続することを特徴とする請求項25又は26に記載の印刷装置。 The setting information does not include either the frequency band information corresponding to the first frequency band and the frequency band information corresponding to the second frequency band, and the first frequency band allows the external device and the external device. The printing device according to claim 25 or 26, wherein when wireless connection is not possible, wireless connection is made to the external device by the second frequency band. 前記設定情報に、前記第1の周波数帯に対応する周波数帯情報及び、前記第1の周波数帯に対応する複数のプロファイル情報が含まれる場合、前記複数のプロファイル情報のうち、よりセキュリティレベルの高い認証方式のプロファイル又はよりセキュリティレベルの高い暗号方式のプロファイルが優先して用いられて、前記外部装置との無線接続が確立されることを特徴とする請求項15乃至27のいずれか1項に記載の印刷装置。 When the setting information includes frequency band information corresponding to the first frequency band and a plurality of profile information corresponding to the first frequency band, the security level is higher among the plurality of profile information. The invention according to any one of claims 15 to 27, wherein the profile of the authentication method or the profile of the encryption method having a higher security level is preferentially used to establish a wireless connection with the external device. Printing equipment. 前記外部装置以外の装置を介さず、前記外部装置から直接、前記設定情報を受信することを特徴とする請求項1乃至28のいずれか1項に記載の印刷装置。 The printing device according to any one of claims 1 to 28, wherein the setting information is directly received from the external device without going through a device other than the external device. AirStation One-Touch Secure System、らくらく無線スタート、Wi-Fi Protected Setupのうちいずれかの設定方法によって、前記設定情報を受信し、
前記所定の操作は、前記いずれかの設定方法による設定を開始するための操作であることを特徴とする請求項29に記載の印刷装置。
The setting information is received by any one of the setting methods of AirStation One-Touch System System, Easy Wireless Start, and Wi-Fi Protected Setup.
29. The printing apparatus according to claim 29, wherein the predetermined operation is an operation for starting a setting by any one of the setting methods.
前記外部装置以外の装置から、前記設定情報を受信し、
前記所定の操作は、前記外部装置以外の装置から、前記設定情報を受信するための状態で前記印刷装置を動作させるための操作であることを特徴とする請求項1乃至30のいずれか1項に記載の印刷装置。
The setting information is received from a device other than the external device, and the setting information is received.
The predetermined operation is any one of claims 1 to 30, wherein the predetermined operation is an operation for operating the printing device in a state for receiving the setting information from a device other than the external device. The printing device described in.
前記設定情報を受信するための状態は、前記印刷装置が所定のアクセスポイントとして動作する状態であり、
前記所定のアクセスポイントとして動作している前記印刷装置と前記外部装置以外の装置との間の接続を介して、前記設定情報が受信されることを特徴とする請求項31に記載の印刷装置。
The state for receiving the setting information is a state in which the printing device operates as a predetermined access point.
31. The printing device according to claim 31, wherein the setting information is received via a connection between the printing device operating as the predetermined access point and a device other than the external device.
前記設定情報は、前記外部装置と無線接続するための接続情報、前記外部装置との無線接続において利用される認証方式に関する情報、及び前記外部装置と無線接続において利用される暗号方式に関する情報のうち少なくとも1つを含むことを特徴とする請求項1乃至32のいずれか1項に記載の印刷装置。 The setting information includes connection information for wirelessly connecting to the external device, information on an authentication method used in wireless connection with the external device, and information on an encryption method used in wireless connection with the external device. The printing apparatus according to any one of claims 1 to 32, which comprises at least one. 前記周波数帯情報は、前記外部装置との無線接続に用いる通信チャネルに関する情報であることを特徴とする請求項1乃至33のいずれか1項に記載の印刷装置。 The printing device according to any one of claims 1 to 33, wherein the frequency band information is information about a communication channel used for wireless connection with the external device. インクによって記録媒体上に印刷を行う印刷手段をさらに有することを特徴とする請求項1乃至34のいずれか1項に記載の印刷装置。 The printing apparatus according to any one of claims 1 to 34, further comprising a printing means for printing on a recording medium with ink. 2.4GHzの周波数帯と5GHzの周波数帯における無線通信を実行可能であり、利用する通信チャネルを決定しない子局になる無線接続と、利用する通信チャネルを決定する親局になる無線接続と、を並行して維持可能である印刷装置の制御方法であって、
外部装置との無線接続のための処理において用いられる設定情報を受信するための所定の操作を受け付ける受付ステップと、
前記所定の操作が受け付けられた後、前記設定情報を受信する設定受信ステップと、
前記設定情報に基づいて、前記2.4GHzの周波数帯及び前記5GHzの周波数帯のうち少なくとも一方を用いて、前記外部装置と、前記子局に前記印刷装置がなる無線接続を確立する接続ステップと、
前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記2.4GHzの周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立された場合、前記子局に前記印刷装置がなる無線接続と前記親局での前記印刷装置の動作が並行して維持されるように制御し、前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記5GHzの周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立された場合、前記子局に前記印刷装置がなる無線接続と前記親局での前記印刷装置の動作が並行して維持されないように制御する制御ステップと、
前記外部装置との無線接続を介して、印刷ジョブを受信するジョブ受信ステップと、
前記印刷ジョブに基づいて、印刷を実行する印刷ステップと、
を有することを特徴とする制御方法。
A wireless connection that can execute wireless communication in the 2.4 GHz frequency band and a 5 GHz frequency band and becomes a slave station that does not determine the communication channel to be used, and a wireless connection that becomes a master station that determines the communication channel to be used. Is a method of controlling a printing device that can maintain in parallel.
A reception step that accepts a predetermined operation for receiving setting information used in the process for wireless connection with an external device, and
After the predetermined operation is received, the setting receiving step for receiving the setting information and the setting receiving step
Based on the setting information, a connection step of establishing a wireless connection between the external device and the printing device to the slave station using at least one of the 2.4 GHz frequency band and the 5 GHz frequency band. ,
The predetermined operation is accepted while the printing device is operating at the master station, and a wireless connection in which the printing device is connected to the slave station using the 2.4 GHz frequency band is based on the setting information. When established, the slave station is controlled so that the wireless connection of the printing device and the operation of the printing device at the master station are maintained in parallel, and the printing device operates at the master station. When the predetermined operation is accepted and a wireless connection for the printing device to the slave station is established based on the setting information using the frequency band of 5 GHz, the printing is performed on the slave station. A control step that controls the wireless connection of the device and the operation of the printing device at the master station so as not to be maintained in parallel.
A job receiving step for receiving a print job via a wireless connection with the external device,
A print step that executes printing based on the print job,
A control method characterized by having.
2.4GHzの周波数帯と5GHzの周波数帯における無線通信を実行可能であり、第1の情報処理装置との外部装置を介した第1の無線接続と、第2の情報処理装置との前記外部装置を介さない直接的な第2の無線接続と、を並行して維持可能である印刷装置の制御方法であって、
外部装置との無線接続のための処理において用いられる設定情報を受信するための所定の操作を受け付ける受付ステップと、
前記所定の操作が受け付けられた後、前記設定情報を受信する設定受信ステップと、
前記設定情報に基づいて、前記5GHzの周波数帯及び前記2.4GHzの周波数帯のうち少なくとも一方を用いて、前記外部装置との無線接続を確立する接続ステップと、
前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記2.4GHzの周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立された場合、前記第1の無線接続と前記第2の無線接続を確立するための状態での前記印刷装置の動作が並行して維持されるように制御し、前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記5GHzの周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立された場合、前記第1の無線接続と前記第2の無線接続を確立するための状態での前記印刷装置の動作が並行して維持されないように制御する制御ステップと、
前記外部装置との無線接続を介して、印刷ジョブを受信するジョブ受信ステップと、
前記印刷ジョブに基づいて、印刷を実行する印刷ステップと、
を有することを特徴とする制御方法。
It is possible to carry out wireless communication in the 2.4 GHz frequency band and the 5 GHz frequency band, and the first wireless connection via an external device with the first information processing device and the external with the second information processing device. A method of controlling a printing device that can maintain a direct second wireless connection without a device in parallel.
A reception step that accepts a predetermined operation for receiving setting information used in the process for wireless connection with an external device, and
After the predetermined operation is received, the setting receiving step for receiving the setting information and the setting receiving step
A connection step for establishing a wireless connection with the external device using at least one of the 5 GHz frequency band and the 2.4 GHz frequency band based on the setting information.
The predetermined operation is accepted while the printing device is operating in the state for establishing the second wireless connection, and the wireless connection with the external device is made using the 2.4 GHz frequency band. When established based on the setting information, the operation of the printing device in the state for establishing the first wireless connection and the second wireless connection is controlled to be maintained in parallel, and the operation is maintained in parallel. The predetermined operation is accepted while the printing device is operating in a state for establishing a second wireless connection, and the wireless connection with the external device using the 5 GHz frequency band is the setting information. When established on the basis of, a control step that controls the operation of the printing device in a state for establishing the first wireless connection and the second wireless connection so as not to be maintained in parallel.
A job receiving step for receiving a print job via a wireless connection with the external device,
A print step that executes printing based on the print job,
A control method characterized by having.
第1の周波数帯と第2の周波数帯における無線通信を実行可能であり、利用する通信チャネルを決定しない子局になる無線接続と、利用する通信チャネルを決定する親局になる無線接続と、を並行して維持可能である印刷装置の制御方法であって、
外部装置との無線接続のための処理において用いられる設定情報を受信するための所定の操作を受け付ける受付ステップと、
前記所定の操作が受け付けられた後、前記設定情報を受信する設定受信ステップと、
前記設定情報に基づいて、前記第1の周波数帯及び前記第2の周波数帯を含む複数の周波数帯のうち少なくとも1つを用いて、前記外部装置と、前記子局に前記印刷装置がなる無線接続を確立する接続ステップと、
前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第1の周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立された場合、前記子局に前記印刷装置がなる無線接続と前記親局での前記印刷装置の動作が並行して維持されるように制御し、前記親局で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第2の周波数帯を用いて前記子局に前記印刷装置がなる無線接続が前記設定情報に基づいて確立された場合、前記子局に前記印刷装置がなる無線接続と前記親局での前記印刷装置の動作が並行して維持されないように制御する制御ステップと、
前記外部装置との無線接続を介して、印刷ジョブを受信するジョブ受信ステップと、
前記印刷ジョブに基づいて、印刷を実行する印刷ステップと、
を有し、
前記第2の周波数帯によって前記外部装置と無線接続している場合、Dynamic Frequency Selection又はTransmit Power Controlによって、前記外部装置と前記印刷装置との間の前記第2の周波数帯による無線接続において利用されているチャネルが他のチャネルに変更されうることを特徴とする制御方法。
A wireless connection that can execute wireless communication in the first frequency band and the second frequency band and becomes a slave station that does not determine the communication channel to be used, and a wireless connection that becomes a master station that determines the communication channel to be used. Is a method of controlling a printing device that can be maintained in parallel.
A reception step that accepts a predetermined operation for receiving setting information used in the process for wireless connection with an external device, and
After the predetermined operation is received, the setting receiving step for receiving the setting information and the setting receiving step
Based on the setting information, at least one of a plurality of frequency bands including the first frequency band and the second frequency band is used to make the external device and the printing device at the slave station. The connection step to establish the connection and
The predetermined operation is accepted while the printing device is operating at the master station, and a wireless connection in which the printing device is connected to the slave station using the first frequency band is based on the setting information. When established, it is controlled so that the wireless connection of the printing device to the slave station and the operation of the printing device at the master station are maintained in parallel, and the printing device operates at the master station. When the predetermined operation is accepted in the present state and a wireless connection for the printing device to the slave station is established based on the setting information using the second frequency band, the printing is performed on the slave station. A control step that controls the wireless connection of the device and the operation of the printing device at the master station so as not to be maintained in parallel.
A job receiving step for receiving a print job via a wireless connection with the external device,
A print step that executes printing based on the print job,
Have,
When wirelessly connected to the external device by the second frequency band, it is used in the wireless connection by the second frequency band between the external device and the printing device by the Dynamic Peripheral Selection or the Transmit Power Control. A control method characterized in that one channel can be changed to another channel.
第1の周波数帯と第2の周波数帯における無線通信を実行可能であり、第1の情報処理装置との外部装置を介した第1の無線接続と、第2の情報処理装置との前記外部装置を介さない直接的な第2の無線接続と、を並行して維持可能である印刷装置の制御方法であって、
外部装置との無線接続のための処理において用いられる設定情報を受信するための所定の操作を受け付ける受付ステップと、
前記所定の操作が受け付けられた後、前記設定情報を受信する設定受信ステップと、
前記設定情報に基づいて、前記第1の周波数帯及び前記第2の周波数帯を含む複数の周波数帯のうち少なくとも1つを用いて、前記外部装置との無線接続を確立する接続ステップと、
前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第1の周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立された場合、前記第1の無線接続と前記第2の無線接続を確立するための状態での前記印刷装置の動作が並行して維持されるように制御し、前記第2の無線接続を確立するための状態で前記印刷装置が動作している状態で前記所定の操作が受け付けられ、且つ前記第2の周波数帯を用いて前記外部装置との無線接続が前記設定情報に基づいて確立された場合、前記第1の無線接続と前記第2の無線接続を確立するための状態での前記印刷装置の動作が並行して維持されないように制御する制御ステップと、
前記外部装置との無線接続を介して、印刷ジョブを受信するジョブ受信ステップと、
前記印刷ジョブに基づいて、印刷を実行する印刷ステップと、
を有し、
前記第2の周波数帯によって前記外部装置と無線接続している場合、Dynamic Frequency Selection又はTransmit Power Controlによって、前記外部装置と前記印刷装置との間の前記第2の周波数帯による無線接続において利用されているチャネルが他のチャネルに変更されうることを特徴とする制御方法。
It is possible to carry out wireless communication in the first frequency band and the second frequency band, and the first wireless connection with the first information processing device via an external device and the external with the second information processing device. A method of controlling a printing device that can maintain a direct second wireless connection without a device in parallel.
A reception step that accepts a predetermined operation for receiving setting information used in the process for wireless connection with an external device, and
After the predetermined operation is received, the setting receiving step for receiving the setting information and the setting receiving step
A connection step for establishing a wireless connection with the external device using at least one of a plurality of frequency bands including the first frequency band and the second frequency band based on the setting information.
The predetermined operation is accepted while the printing device is operating in a state for establishing the second wireless connection, and the wireless connection with the external device using the first frequency band is described. When established based on the setting information, the operation of the printing device in the state for establishing the first wireless connection and the second wireless connection is controlled to be maintained in parallel, and the first. The predetermined operation is accepted while the printing device is operating in the state for establishing the wireless connection of 2, and the wireless connection with the external device using the second frequency band is the setting information. When established on the basis of, a control step that controls the operation of the printing device in a state for establishing the first wireless connection and the second wireless connection so as not to be maintained in parallel.
A job receiving step for receiving a print job via a wireless connection with the external device,
A print step that executes printing based on the print job,
Have,
When wirelessly connected to the external device by the second frequency band, it is used in the wireless connection by the second frequency band between the external device and the printing device by the Dynamic Peripheral Selection or the Transmit Power Control. A control method characterized in that one channel can be changed to another channel.
請求項1乃至33のいずれか1項に記載の印刷装置の各手段としてコンピュータを動作させるためのプログラム。 A program for operating a computer as each means of the printing apparatus according to any one of claims 1 to 33.
JP2019123257A 2019-07-01 2019-07-01 Communication equipment, control methods and programs Active JP7016838B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019123257A JP7016838B2 (en) 2019-07-01 2019-07-01 Communication equipment, control methods and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019123257A JP7016838B2 (en) 2019-07-01 2019-07-01 Communication equipment, control methods and programs

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017155517A Division JP6552562B2 (en) 2017-08-10 2017-08-10 Communication apparatus, control method and program

Publications (3)

Publication Number Publication Date
JP2019161678A JP2019161678A (en) 2019-09-19
JP2019161678A5 JP2019161678A5 (en) 2020-09-17
JP7016838B2 true JP7016838B2 (en) 2022-02-07

Family

ID=67996475

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019123257A Active JP7016838B2 (en) 2019-07-01 2019-07-01 Communication equipment, control methods and programs

Country Status (1)

Country Link
JP (1) JP7016838B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7446820B2 (en) 2020-01-15 2024-03-11 キヤノン株式会社 Communication device, communication device search method and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014068134A (en) 2012-09-25 2014-04-17 Nec Access Technica Ltd Radio communication terminal, radio communication device, radio communication system, and frequency band switching method
JP2014225861A (en) 2013-04-26 2014-12-04 キヤノン株式会社 Communication device, control method of the same, and program
WO2017085978A1 (en) 2015-11-19 2017-05-26 ソニー株式会社 Device and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014068134A (en) 2012-09-25 2014-04-17 Nec Access Technica Ltd Radio communication terminal, radio communication device, radio communication system, and frequency band switching method
JP2014225861A (en) 2013-04-26 2014-12-04 キヤノン株式会社 Communication device, control method of the same, and program
WO2017085978A1 (en) 2015-11-19 2017-05-26 ソニー株式会社 Device and method

Also Published As

Publication number Publication date
JP2019161678A (en) 2019-09-19

Similar Documents

Publication Publication Date Title
US11792632B2 (en) Communicating apparatus, communication method, and storage medium storing program
JP6344893B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP6552562B2 (en) Communication apparatus, control method and program
US20130265935A1 (en) Wireless communication device, wireless communication system, memory medium storing method and computer program
US11720310B2 (en) Communication apparatus
JP6503968B2 (en) Communication device and computer program for communication device
JP6552561B2 (en) Communication apparatus, control method and program
JP7016838B2 (en) Communication equipment, control methods and programs
JP2018152897A (en) Information processing device, control method, and program
JP7016839B2 (en) Communication equipment, control methods and programs
JP7016710B2 (en) Communication equipment, control methods and programs
JP7309937B2 (en) Communication device, control method and program
JP2022131420A (en) Information processing device, control method thereof, and program
CN113453308A (en) Information processing apparatus, control method, and computer-readable storage medium
JP7342059B2 (en) Communication device, control method and program
JP2020150322A (en) Radio communication apparatus
JP2019126083A (en) Communication device and computer program for communication device
JP6302169B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
JP7435860B2 (en) wireless communication device
JP7387390B2 (en) Information processing device, communication device, control method and program
JP2023075858A (en) Information processing apparatus, method for controlling the same, and program
CN111506274A (en) Information processing apparatus and control method
JP2017200019A (en) Terminal device, control method, program and communication system

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200806

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200806

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210615

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210813

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211228

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220126