JP2017212648A - Printer, control method and program device of the same - Google Patents

Printer, control method and program device of the same Download PDF

Info

Publication number
JP2017212648A
JP2017212648A JP2016105463A JP2016105463A JP2017212648A JP 2017212648 A JP2017212648 A JP 2017212648A JP 2016105463 A JP2016105463 A JP 2016105463A JP 2016105463 A JP2016105463 A JP 2016105463A JP 2017212648 A JP2017212648 A JP 2017212648A
Authority
JP
Japan
Prior art keywords
printing apparatus
wireless lan
access point
connection
printing
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.)
Pending
Application number
JP2016105463A
Other languages
Japanese (ja)
Inventor
仙一 齊藤
Senichi Saito
仙一 齊藤
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 JP2016105463A priority Critical patent/JP2017212648A/en
Publication of JP2017212648A publication Critical patent/JP2017212648A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a printer which can perform direct printing via the wireless LAN while ensuring security without requiring complicated wireless LAN setting by a user.SOLUTION: A printer includes: setting means which sets an access point mode that operates as an access point with prescribed authentication information for wireless LAN connection, and performs wireless LAN connection with a device storing the prescribed authentication information without communication with the printer; authentication means which performs authentication to an image processing device requesting connection via the wireless LAN on the basis of the prescribed authentication information stored in advance in the printer when the access point mode is set by the setting means; storage means which stores identification information for identifying the image processing device relevant to the request of connection that has succeeded in authentication by the authentication means; and control means which controls establishment of the new communication via the wireless LAN when the image processing device is connected in the access point mode on the basis of the identification information stored by the storage means.SELECTED DRAWING: Figure 9

Description

本発明は、無線LAN経由のダイレクト印刷を行う印刷装置に関するものである。   The present invention relates to a printing apparatus that performs direct printing via a wireless LAN.

デジタルカメラと印刷装置(プリンタ)とを接続し、デジタルカメラで撮像した画像を直接印刷装置に送信して印刷する、ダイレクト印刷機能を備える印刷装置が知られている。従来、ダイレクト印刷機能を備える印刷装置は、例えばUSBケーブルを経由するなど、有線接続によってデジタルカメラと接続される形態が主流であった。   2. Description of the Related Art There is known a printing apparatus having a direct printing function in which a digital camera and a printing apparatus (printer) are connected and an image captured by the digital camera is directly transmitted to the printing apparatus for printing. Conventionally, a printing apparatus having a direct printing function has been mainly connected to a digital camera through a wired connection such as via a USB cable.

近年、デジタルカメラ、印刷装置ともに、無線LAN対応の製品が普及してきており、カメラダイレクト印刷についても無線LAN経由で行いたいという需要が増えている。これに対して、例えば特許文献1では、デジタルカメラと印刷装置を無線接続したうえでダイレクト印刷を行う技術が開示されている。   In recent years, products compatible with wireless LAN have become widespread for both digital cameras and printing devices, and there is an increasing demand for camera direct printing via wireless LAN. On the other hand, for example, Patent Document 1 discloses a technique for performing direct printing after wireless connection between a digital camera and a printing apparatus.

特開2007−76187号公報JP 2007-76187 A

一般的に、デジタルカメラは可搬性が高く、バッテリによる電源の制約があるので、通常状態では無線LAN接続を行わず、必要な時にその場所において利用可能な無線LANのアクセスポイントに接続することが多い。このため、無線LAN経由のダイレクト印刷を行うために、まずデジタルカメラと印刷装置の間の無線LAN接続を確立する必要がある。この際、無線LAN接続のためのSSID(Service Set Identifier)や認証パスワードなどの認証情報をデジタルカメラ、印刷装置の双方に設定する。   In general, a digital camera is highly portable and has a battery power limitation. Therefore, in a normal state, a wireless LAN connection is not performed, and a wireless LAN access point that can be used in the location can be connected when necessary. Many. For this reason, in order to perform direct printing via a wireless LAN, it is necessary to first establish a wireless LAN connection between the digital camera and the printing apparatus. At this time, authentication information such as an SSID (Service Set Identifier) and an authentication password for wireless LAN connection is set in both the digital camera and the printing apparatus.

また、印刷装置と、印刷装置に接続する装置の双方に共通する規定の認証情報を、例えば製品の製造時に予め設定しておく方法が考えられる。このように規定の認証情報を用いて無線LANの接続を行えば、印刷装置と、印刷装置に接続する装置の双方にユーザが認証情報を設定する必要がなくなり、ユーザの使い勝手は向上する。   Further, a method is conceivable in which prescribed authentication information common to both the printing apparatus and the apparatus connected to the printing apparatus is set in advance, for example, when a product is manufactured. If the wireless LAN connection is performed using the specified authentication information in this way, it is not necessary for the user to set authentication information for both the printing apparatus and the apparatus connected to the printing apparatus, and the usability for the user is improved.

しかしながら、例えば規定の認証情報として、製品の機種または製品ラインナップごとに同じものが用いられた場合、第3者が所有する同機種の機器からも印刷装置との無線LAN接続ができてしまうことがある。   However, for example, when the same authentication information is used for each product model or product lineup, the wireless LAN connection to the printing apparatus may be established from a device of the same model owned by a third party. is there.

そのため、例えば印刷装置のユーザが特定の機器との接続を意図していたとしても、該ユーザが意図せずに、第3者が所有する機器が印刷装置に接続されてしまう場合がある。   For this reason, for example, even if the user of the printing apparatus intends to connect to a specific device, the device owned by a third party may be connected to the printing device without the user's intention.

本発明に係る印刷装置は、無線LAN接続のための所定の認証情報によりアクセスポイントとして動作する印刷装置であって、前記印刷装置と通信せずに前記所定の認証情報を記憶している装置との無線LAN接続を行うアクセスポイントモードを、前記印刷装置の無線LAN接続モードとして設定する設定手段と、前記設定手段により前記アクセスポイントモードが設定されている場合に、前記無線LANによる接続の要求を行った画像処理装置に対する認証を前記印刷装置に予め記憶されている前記所定の認証情報に基づいて行う認証手段と、前記認証手段による認証に成功した、前記接続の要求に係る前記画像処理装置を識別する識別情報を記憶する記憶手段と、前記記憶手段により記憶された前記識別情報に基づいて、前記画像処理装置が前記アクセスポイントモードにおいて接続されているときの、無線LANによる新たな通信の確立を制御する制御手段とを備えることを特徴とする。   A printing apparatus according to the present invention is a printing apparatus that operates as an access point with predetermined authentication information for wireless LAN connection, and that stores the predetermined authentication information without communicating with the printing apparatus. A setting unit that sets an access point mode for performing the wireless LAN connection as a wireless LAN connection mode of the printing apparatus, and a request for connection by the wireless LAN when the access point mode is set by the setting unit. Authentication means for performing authentication on the image processing apparatus based on the predetermined authentication information stored in advance in the printing apparatus, and the image processing apparatus relating to the connection request successfully authenticated by the authentication means. Storage means for storing identification information to be identified, and the image processing based on the identification information stored by the storage means Location is characterized in that the when connected in the access point mode, and control means for controlling the establishment of a new communication by the wireless LAN.

本発明によれば、ユーザによる煩雑な無線LAN設定を行うことなく、セキュリティーを確保しつつ、無線LANによる接続を行うことができる。   According to the present invention, a wireless LAN connection can be performed while ensuring security without performing complicated wireless LAN settings by a user.

実施例1における画像印刷システムの構成を示す図である。1 is a diagram illustrating a configuration of an image printing system in Embodiment 1. FIG. 実施例1における印刷装置の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a printing apparatus in Embodiment 1. FIG. 実施例1におけるデジタルカメラの構成を示すブロック図である。1 is a block diagram illustrating a configuration of a digital camera in Embodiment 1. FIG. 実施例1における印刷装置の操作画面を示す図である。6 is a diagram illustrating an operation screen of the printing apparatus according to the first exemplary embodiment. FIG. 実施例1におけるデジタルカメラの操作画面を示す図である。FIG. 6 is a diagram illustrating an operation screen of the digital camera according to the first embodiment. 実施例1における印刷装置の内部の状態遷移を示す図である。FIG. 3 is a diagram illustrating state transition inside the printing apparatus according to the first exemplary embodiment. 実施例1における印刷装置の処理手順を示すフローチャートである。3 is a flowchart illustrating a processing procedure of the printing apparatus according to the first exemplary embodiment. 実施例1におけるデジタルカメラの処理手順を示すフローチャートである。3 is a flowchart illustrating a processing procedure of the digital camera according to the first exemplary embodiment. 実施例1におけるダイレクト印刷に係るシーケンス図である。6 is a sequence diagram related to direct printing in Embodiment 1. FIG. 実施例1におけるダイレクト印刷に係るシーケンス図である。6 is a sequence diagram related to direct printing in Embodiment 1. FIG.

以下、本発明の実施の形態について詳細に説明する。なお、この実施の形態に記載されている構成要素は、本発明の例としての形態を示すものであり、この発明の範囲をそれらのみに限定するものではない。   Hereinafter, embodiments of the present invention will be described in detail. In addition, the component described in this embodiment shows the form as an example of this invention, and does not limit the scope of this invention only to them.

[実施例1]
<画像印刷システムの構成>
図1は、本実施例における画像印刷システムの構成例を示す図である。画像印刷システム100において、印刷装置200と、本実施形態における画像処理装置としてのデジタルカメラ(撮像装置)300は無線LANのアクセスポイント101を介して無線接続することが可能である。この場合の無線LANは、アクセスポイント101を介した無線LAN102となる。また、印刷装置200自身は、無線LANのアクセスポイントとして動作することもでき、これにより、デジタルカメラ300と印刷装置200はアクセスポイント101を介さずに直接通信することも可能である。この場合の無線LANは無線LAN103となる。このように印刷装置200が無線LANのアクセスポイントとして動作するモードは、以下の説明において特定アクセスポイントモード(特定APモード)と呼ぶ。特定APモードは、デジタルカメラ300と印刷装置200間のダイレクト印刷専用の接続モードである。また、印刷装置200がアクセスポイント101を介して通信するモード(インフラストラクチャモード)は、ダイレクト印刷を行わないときの印刷装置200の無線LAN接続モードであり、以下の説明において通常接続モードと呼ぶ。
[Example 1]
<Image printing system configuration>
FIG. 1 is a diagram illustrating a configuration example of an image printing system in the present embodiment. In the image printing system 100, a printing apparatus 200 and a digital camera (imaging apparatus) 300 as an image processing apparatus in the present embodiment can be wirelessly connected via an access point 101 of a wireless LAN. The wireless LAN in this case is the wireless LAN 102 via the access point 101. In addition, the printing apparatus 200 itself can operate as a wireless LAN access point, whereby the digital camera 300 and the printing apparatus 200 can directly communicate without passing through the access point 101. The wireless LAN in this case is the wireless LAN 103. A mode in which the printing apparatus 200 operates as a wireless LAN access point in this way is referred to as a specific access point mode (specific AP mode) in the following description. The specific AP mode is a connection mode dedicated to direct printing between the digital camera 300 and the printing apparatus 200. The mode in which the printing apparatus 200 communicates via the access point 101 (infrastructure mode) is a wireless LAN connection mode of the printing apparatus 200 when direct printing is not performed, and is referred to as a normal connection mode in the following description.

<印刷装置の構成>
図2は、本実施例における印刷装置200の構成を示すブロック図である。印刷装置200は、用紙などの記録媒体に画像を印刷する印刷機能を備える画像形成装置であって、印刷機能以外の機能(例えば、スキャナ機能など)を備えていてもよい。印刷装置200は、CPU201と、ROMであるプログラムメモリ203と、RAMであるデータメモリ204と、印刷部205と、操作部制御部207と、無線LAN制御部209と、不揮発メモリ210とを有する。各構成要素は互いに内部バス202を介して接続されており、構成要素間でのデータの送受信が可能である。マイクロプロセッサ形態のCPU201は、プログラムメモリ203に格納されている制御プログラムと、データメモリ204に格納されたデータとに従って動作し、各構成要素を統括的に制御する。
<Configuration of printing device>
FIG. 2 is a block diagram illustrating the configuration of the printing apparatus 200 according to the present embodiment. The printing apparatus 200 is an image forming apparatus having a printing function for printing an image on a recording medium such as paper, and may have a function (for example, a scanner function) other than the printing function. The printing apparatus 200 includes a CPU 201, a program memory 203 that is a ROM, a data memory 204 that is a RAM, a printing unit 205, an operation unit control unit 207, a wireless LAN control unit 209, and a nonvolatile memory 210. Each component is connected to each other via an internal bus 202, and data can be transmitted and received between the components. The CPU 201 in the form of a microprocessor operates in accordance with a control program stored in the program memory 203 and data stored in the data memory 204, and controls each component centrally.

印刷部205は、CPU201による制御に従って、データメモリ204中の画像メモリ206に格納されている画像を記録媒体に印刷することができる。また、操作部制御部207は、CPU201による制御に従って、操作部208に印刷装置の状態や機能選択メニューの表示を行ったり、操作部208によるユーザの操作(ユーザ入力)を受け付けたりすることが可能である。操作部208は例えばタッチパネルで構成されており、ユーザは、表示されているオブジェクトをタッチすることでオブジェクトに対する操作を行うことができる。   The printing unit 205 can print an image stored in the image memory 206 in the data memory 204 on a recording medium under the control of the CPU 201. Further, the operation unit control unit 207 can display the state of the printing apparatus and the function selection menu on the operation unit 208 or accept a user operation (user input) from the operation unit 208 in accordance with control by the CPU 201. It is. The operation unit 208 is configured by a touch panel, for example, and the user can perform an operation on the object by touching the displayed object.

また、無線LAN制御部209はCPU201による制御に従って、無線LAN102で接続される他の装置(例えば、図1に示されたデジタルカメラ300や図示されていないサーバ)と通信を行うことができる。これにより、印刷装置200は、他の装置からの印刷ジョブを受信して印刷部205により印刷を実行することも可能である。また、無線LAN制御部209はCPU201による制御に従って、デジタルカメラ300との無線LAN接続を確立するよう印刷装置200自身を無線LANのアクセスポイントとして動作させることが可能である。確立された無線LANを経由して、印刷装置200はダイレクト印刷を行うことができる。   The wireless LAN control unit 209 can communicate with other devices (for example, the digital camera 300 shown in FIG. 1 or a server not shown) connected by the wireless LAN 102 according to the control of the CPU 201. Accordingly, the printing apparatus 200 can also receive a print job from another apparatus and execute printing by the printing unit 205. In addition, the wireless LAN control unit 209 can operate the printing apparatus 200 itself as a wireless LAN access point so as to establish a wireless LAN connection with the digital camera 300 according to control by the CPU 201. The printing apparatus 200 can perform direct printing via the established wireless LAN.

不揮発メモリ210はバッテリバックアップRAMやEEPROM、フラッシュメモリなどによって構成され、電源供給が断たれた場合でも格納されているデータが消失しないメモリである。印刷装置200に対する設定情報など、電源供給が断たれた場合でも保持する必要があるデータはこの不揮発メモリ210に書き込まれる。   The nonvolatile memory 210 includes a battery backup RAM, an EEPROM, a flash memory, and the like, and is a memory in which stored data is not lost even when power supply is cut off. Data that needs to be retained even when the power supply is cut off, such as setting information for the printing apparatus 200, is written into the nonvolatile memory 210.

なお、印刷装置200は上記の特定APモードのための固有のSSID、パスワードに対応するアクセスポイントとして動作することができる。該SSID、パスワードや、アクセスポイントとして動作するためのプログラムも、プログラムメモリ203または不揮発性メモリ210に記憶されている。   The printing apparatus 200 can operate as an access point corresponding to a unique SSID and password for the specific AP mode. The SSID, password, and program for operating as an access point are also stored in the program memory 203 or the nonvolatile memory 210.

さらに印刷装置200は、上記の特定APモードにおけるアクセスポイントとは異なる他のアクセスポイント(以下、通常アクセスポイント)として動作することも可能である。そのために、特定APモードにおけるアクセスポイントのための上記固有のSSIDとパスワードの他に、上記通常アクセスポイントとして動作するためのSSIDとパスワードがプログラムメモリ203または不揮発性メモリ210に記憶されている。なお、本実施形態における印刷装置200による通常接続モードは、無線LANアクセスポイント101を介したインフラストラクチャーモードであってもよいし、上記のように印刷装置200が通常アクセスポイントとして動作する場合であってもよい。   Furthermore, the printing apparatus 200 can operate as another access point (hereinafter referred to as a normal access point) different from the access point in the specific AP mode. Therefore, in addition to the unique SSID and password for the access point in the specific AP mode, an SSID and password for operating as the normal access point are stored in the program memory 203 or the nonvolatile memory 210. Note that the normal connection mode by the printing apparatus 200 in the present embodiment may be an infrastructure mode via the wireless LAN access point 101, or may be a case where the printing apparatus 200 operates as a normal access point as described above. May be.

そして特定APモードのための固有のSSID、パスワードは、後述するようにデジタルカメラ300に予め記憶されているが、通常アクセスポイントのためのSSID、パスワードはデジタルカメラ300に予め記憶されていない。ユーザがデジタルカメラ300やスマートフォン等の端末装置を印刷装置200の通常アクセスポイントに接続させる場合、ユーザは該端末装置において、印刷装置200が表示するSSIDや予め印刷装置200に設定していたパスワードを入力する。   The unique SSID and password for the specific AP mode are stored in advance in the digital camera 300 as will be described later, but the SSID and password for the normal access point are not stored in the digital camera 300 in advance. When the user connects a terminal device such as a digital camera 300 or a smartphone to the normal access point of the printing apparatus 200, the user uses the SSID displayed by the printing apparatus 200 or the password set in the printing apparatus 200 in the terminal apparatus. input.

そのため、ユーザは通常アクセスポイントを介した無線LAN接続よりも特定APモードの方が簡易に接続を行うことができる一方、通常アクセスポイントによる接続の方が特定APモードよりもセキュリティレベルが高い。   Therefore, the user can connect more easily in the specific AP mode than in the wireless LAN connection via the normal access point, but the security level is higher in the connection by the normal access point than in the specific AP mode.

そこで本実施形態において印刷装置200は、特定APモードにおけるアクセスポイントに接続される装置が1つに限定されるように動作する。一方で、印刷装置200は、通常アクセスポイントとして動作する場合、通常アクセスポイントを介して、複数の装置と無線LAN接続することが可能である。これにより、簡易な無線LAN接続が可能であり、且つセキュリティーが確保された特定APモードを提供することができる。   Therefore, in this embodiment, the printing apparatus 200 operates so that the number of apparatuses connected to the access point in the specific AP mode is limited to one. On the other hand, when the printing apparatus 200 operates as a normal access point, the printing apparatus 200 can connect to a plurality of apparatuses via a normal access point via a wireless LAN. As a result, it is possible to provide a specific AP mode in which simple wireless LAN connection is possible and security is ensured.

本実施形態における特定APモードについての詳細は後述する。   Details of the specific AP mode in this embodiment will be described later.

<撮像装置の構成>
図3は、本実施例におけるデジタルカメラ(撮像装置)300の構成を示すブロック図である。デジタルカメラ300は、CPU301と、ROMであるプログラムメモリ303と、RAMであるデータメモリ304と、撮像部305と、メモリカード制御部307と、操作部制御部309と、無線LAN制御部311と、不揮発メモリ312とを有する。各構成要素は互いに内部バス302を介して接続されており、構成要素間でのデータの送受信が可能である。マイクロプロセッサ形態のCPU301は、プログラムメモリ303に格納されている制御プログラムと、データメモリ304に格納されているデータとに従って動作し、各構成要素を統括的に制御する。
<Configuration of imaging device>
FIG. 3 is a block diagram showing the configuration of the digital camera (imaging device) 300 in this embodiment. The digital camera 300 includes a CPU 301, a program memory 303 that is a ROM, a data memory 304 that is a RAM, an imaging unit 305, a memory card control unit 307, an operation unit control unit 309, a wireless LAN control unit 311, And a non-volatile memory 312. Each component is connected to each other via an internal bus 302, and data can be transmitted and received between the components. The CPU 301 in the form of a microprocessor operates in accordance with a control program stored in the program memory 303 and data stored in the data memory 304, and controls each component centrally.

撮像部305はCPU301による制御に従って、撮像を行い、撮像した画像をデータメモリ304中の画像メモリ306に格納する。画像メモリ306に格納された撮像画像は、画像ファイルフォーマットに変換されて、メモリカード制御部307を介してメモリカード308に記憶される。また、操作部制御部309はCPU301による制御に従って、操作部310に撮像画像の再生表示や各種機能選択メニューの表示を行ったり、操作部310によるユーザの操作(ユーザ入力)を受け付けたりすることが可能である。   The imaging unit 305 performs imaging in accordance with control by the CPU 301 and stores the captured image in the image memory 306 in the data memory 304. The captured image stored in the image memory 306 is converted into an image file format and stored in the memory card 308 via the memory card control unit 307. In addition, the operation unit control unit 309 may display the captured image on the operation unit 310 and display various function selection menus according to the control by the CPU 301 or accept a user operation (user input) from the operation unit 310. Is possible.

また、無線LAN制御部311はCPU301による制御に従って、無線LAN102で接続される他の装置と通信を行うことができる。これにより、撮像した画像をネットワーク上の端末装置や共有フォルダに保存したり、無線LAN102経由で印刷装置200に印刷ジョブを送信したりすることも可能である。また、無線LAN制御部311は、デジタルカメラ300自身を無線LANのアクセスポイントとして動作させる機能を備えてもよい。   The wireless LAN control unit 311 can communicate with other devices connected by the wireless LAN 102 according to the control of the CPU 301. As a result, the captured image can be stored in a terminal device or a shared folder on the network, or a print job can be transmitted to the printing apparatus 200 via the wireless LAN 102. The wireless LAN control unit 311 may have a function of operating the digital camera 300 itself as a wireless LAN access point.

なお、本実施例では撮像装置を構成する一例として、デジタルカメラの構成例を示すが、本実施例に適用可能な画像取得装置はこれに限られず、例えば、携帯電話やタブレットデバイス、パーソナルコンピュータなどであってもよい。   In this embodiment, a configuration example of a digital camera is shown as an example of an imaging apparatus. However, an image acquisition apparatus applicable to this embodiment is not limited to this, for example, a mobile phone, a tablet device, a personal computer, or the like. It may be.

なお、デジタルカメラ300は、印刷装置200が特定APモードにおけるアクセスポイントとして動作するときの固有のSSID、パスワードを、プログラムメモリ303に記憶している。そして、後述の特定APモードに移行した際は、ユーザによるSSID、パスワードの入力がなくても、プログラムメモリ203に記憶されている固有のSSID、パスワードに従ってアクセスポイントとの接続を試みる。   The digital camera 300 stores in the program memory 303 a unique SSID and password when the printing apparatus 200 operates as an access point in the specific AP mode. Then, when shifting to a specific AP mode described later, connection with an access point is attempted according to the unique SSID and password stored in the program memory 203 even if the user does not input the SSID and password.

即ち上記の固有のSSID、パスワードは、デジタルカメラ300と印刷装置200が通信することなく、また操作部208、操作部310においてユーザが入力することなく、それぞれの装置に予め記憶されているものである。   That is, the above-described unique SSID and password are stored in advance in each device without the digital camera 300 and the printing device 200 communicating with each other and without being input by the user through the operation unit 208 and the operation unit 310. is there.

よって、固有のSSID、パスワードを使用した特定APモードでは、デジタルカメラ300を印刷装置200に容易に接続することができる。一方で、固有のSSID、パスワードは、特定の機種等に共通のものが記憶される場合がある。そのため、印刷装置200のユーザが意図しない第3者が同機種のデジタルカメラを所有していた場合、該デジタルカメラが特定APモードにより印刷装置200に接続される場合がある。   Therefore, the digital camera 300 can be easily connected to the printing apparatus 200 in the specific AP mode using the unique SSID and password. On the other hand, a unique SSID and password that are common to a specific model may be stored. Therefore, when a third party unintended by the user of the printing apparatus 200 has the same type of digital camera, the digital camera may be connected to the printing apparatus 200 in the specific AP mode.

そこで本実施形態において印刷装置200は、特定APモードにおけるアクセスポイントに接続される装置が1つに限定されるように動作する。   Therefore, in this embodiment, the printing apparatus 200 operates so that the number of apparatuses connected to the access point in the specific AP mode is limited to one.

<印刷装置における操作画面>
図4は、印刷装置200の操作部208に表示される操作画面の例を示す図である。図4(a)は通常の待機画面であるホーム画面220を示す図である。ホーム画面220においては、コピーボタン221と、カードから印刷ボタン222と、カメラから印刷ボタン223とが配置されている。コピーボタン221が押下されると、印刷装置200は、原稿をコピーするコピーモードに移行する。カードから印刷ボタン222が押下されると、印刷装置200は、印刷装置200に装着するメモリカードに保存されている画像を印刷するモードに移行する。カメラから印刷ボタン223が押下されると、印刷装置200は、デジタルカメラ300で撮像した画像を受信して印刷するモードに移行する。
<Operation screen in printing device>
FIG. 4 is a diagram illustrating an example of an operation screen displayed on the operation unit 208 of the printing apparatus 200. FIG. 4A shows a home screen 220 that is a normal standby screen. On the home screen 220, a copy button 221, a print button 222 from the card, and a print button 223 from the camera are arranged. When the copy button 221 is pressed, the printing apparatus 200 shifts to a copy mode for copying a document. When the print button 222 is pressed from the card, the printing apparatus 200 shifts to a mode for printing an image stored in a memory card attached to the printing apparatus 200. When the print button 223 is pressed from the camera, the printing apparatus 200 shifts to a mode in which an image captured by the digital camera 300 is received and printed.

図4(b)は、カメラ印刷待機画面230を示す図である。カメラ印刷待機画面230は、カメラから印刷ボタン223が押下され、デジタルカメラ300で撮像した画像を受信して印刷するモードに移行した後の印刷ジョブ待ち状態で表示される画面である。カメラ印刷待機画面230において、デジタルカメラ300から印刷操作を行うよう促すメッセージが表示され、キャンセルボタン231が配置されている。キャンセルボタン231が押下されると、印刷装置200はデジタルカメラ300で撮像した画像を受信して印刷するモードを終了し、カメラ印刷待機画面230に代えてホーム画面220を表示する。   FIG. 4B shows a camera print standby screen 230. The camera print standby screen 230 is a screen that is displayed in a print job waiting state after the print button 223 is pressed from the camera and an image captured by the digital camera 300 is received and shifted to a mode for printing. On the camera print standby screen 230, a message prompting to perform a print operation from the digital camera 300 is displayed, and a cancel button 231 is arranged. When the cancel button 231 is pressed, the printing apparatus 200 ends the mode for receiving and printing the image captured by the digital camera 300, and displays the home screen 220 instead of the camera print standby screen 230.

図4(c)は、デジタルカメラ300から印刷ジョブを受信して印刷を実行している間に表示される、カメラ印刷中画面240を示す図である。カメラ印刷中画面240において、デジタルカメラ300から送信された印刷ジョブに基づく印刷処理を実行中であることを示すメッセージが表示され、キャンセルボタン241が配置されている。キャンセルボタン241が押下されると、印刷装置200は、実行中の印刷ジョブを中止し、デジタルカメラ300で撮像した画像を受信して印刷するモードを終了し、カメラ印刷中画面240に代えてホーム画面220を表示する。   FIG. 4C is a diagram illustrating a camera printing screen 240 that is displayed while a print job is received from the digital camera 300 and printing is being performed. On the camera printing screen 240, a message indicating that the printing process based on the print job transmitted from the digital camera 300 is being executed is displayed, and a cancel button 241 is arranged. When the cancel button 241 is pressed, the printing apparatus 200 stops the print job being executed, ends the mode for receiving and printing the image captured by the digital camera 300, and replaces the camera printing screen 240 with the home screen. A screen 220 is displayed.

<撮像装置における操作画面>
図5は、デジタルカメラ(撮像装置)300の操作部310に表示される画像再生画面の例を示す図である。画像再生画面320において、撮像した画像321が画面全体にわたって表示され、印刷実行ボタン322が配置されている。ユーザによって印刷実行ボタン322が押下されると、デジタルカメラ300は、表示されている画像を印刷するための印刷ジョブを、印刷装置200に送信する。
<Operation screen in imaging device>
FIG. 5 is a diagram illustrating an example of an image playback screen displayed on the operation unit 310 of the digital camera (imaging device) 300. On the image reproduction screen 320, a captured image 321 is displayed over the entire screen, and a print execution button 322 is arranged. When the print execution button 322 is pressed by the user, the digital camera 300 transmits a print job for printing the displayed image to the printing apparatus 200.

<印刷装置の状態遷移>
図6は、印刷装置200の内部の状態遷移を示す図である。図6状態遷移図は、UMLの記述規則に則って記載されており、各ブロックは印刷装置200の状態を示し、状態間を結ぶ矢印は印刷装置200の状態遷移を示している。各矢印に付記している説明は、状態遷移のトリガとなるイベントと、その後ろに「/」に続けて状態遷移時に実行されるアクションとを示している。
<Status transition of printing device>
FIG. 6 is a diagram illustrating a state transition inside the printing apparatus 200. The state transition diagram in FIG. 6 is described in accordance with UML description rules. Each block indicates a state of the printing apparatus 200, and an arrow connecting the states indicates a state transition of the printing apparatus 200. The description appended to each arrow indicates an event that triggers a state transition, and an action that is executed after the “/” at the time of the state transition.

印刷装置200は、初期状態(電源オフ状態)から、電源オンイベントE601を受け付けると、待機状態S601になる。このとき、印刷装置200は通常接続モードで起動される。一般的には据え置き型の印刷装置200の場合はアクセスポイント101を介して通信するインフラストラクチャーモードで起動される。すなわち、印刷装置200は、無線LAN102のクライアントとして接続される。印刷装置200は待機状態S601に入ると、操作画面にホーム画面220が表示される。   When the printing apparatus 200 receives the power-on event E601 from the initial state (power-off state), the printing apparatus 200 enters the standby state S601. At this time, the printing apparatus 200 is activated in the normal connection mode. In general, the stationary printing apparatus 200 is activated in an infrastructure mode in which communication is performed via the access point 101. That is, the printing apparatus 200 is connected as a client of the wireless LAN 102. When the printing apparatus 200 enters the standby state S601, the home screen 220 is displayed on the operation screen.

待機状態S601において、ユーザがカメラから印刷ボタン223を押下するとイベントE602が発生する。イベントE602に応じて、印刷装置200は接続モードを通常接続モードから特定APモードへ切換えるとともに、カメラ印刷モード状態S602に移行する。ここで特定APモードとは、印刷装置200がデジタルカメラ300との直接通信を確立するよう無線LANのアクセスポイントとして動作する接続モードであり、デジタルカメラ300と印刷装置200間のダイレクト印刷専用の接続モードである。本実施例では、印刷装置200とデジタルカメラ300に共通の認証情報(SSIDと認証パスワード)を予め設定する。イベントE602に応じて、印刷装置200は既存のネットワーク接続(無線LAN102への接続)を切断し、特定APモードを起動する。特定APモードにおいて、印刷装置200は、アクセスポイントとしてデジタルカメラ300から共通の認証情報を含む接続要求を受信し、デジタルカメラ300に対する認証を行い、デジタルカメラ300からの接続要求を許可する。デジタルカメラ300の無線LAN103への接続が確立されると、印刷装置200とデジタルカメラ300は無線LAN103を経由して直接通信が可能となる。   When the user presses the print button 223 from the camera in the standby state S601, an event E602 is generated. In response to event E602, the printing apparatus 200 switches the connection mode from the normal connection mode to the specific AP mode, and shifts to the camera print mode state S602. Here, the specific AP mode is a connection mode in which the printing apparatus 200 operates as a wireless LAN access point so as to establish direct communication with the digital camera 300, and is a direct printing dedicated connection between the digital camera 300 and the printing apparatus 200. Mode. In this embodiment, common authentication information (SSID and authentication password) is preset for the printing apparatus 200 and the digital camera 300. In response to event E602, the printing apparatus 200 disconnects the existing network connection (connection to the wireless LAN 102) and activates the specific AP mode. In the specific AP mode, the printing apparatus 200 receives a connection request including common authentication information from the digital camera 300 as an access point, authenticates the digital camera 300, and permits the connection request from the digital camera 300. When the connection of the digital camera 300 to the wireless LAN 103 is established, the printing apparatus 200 and the digital camera 300 can directly communicate via the wireless LAN 103.

カメラ印刷モード状態S602は、サブ状態としてカメラ印刷待機状態S603およびカメラ印刷中状態S604を含む。印刷装置200はカメラ印刷モード状態S602に入ると、サブ状態としてカメラ印刷待機状態S603に移行する。印刷装置200はカメラ印刷待機状態S603に入ると、操作画面にカメラ印刷待機画面230が表示される。   The camera printing mode state S602 includes a camera printing standby state S603 and a camera printing state S604 as sub-states. When the printing apparatus 200 enters the camera print mode state S602, it shifts to the camera print standby state S603 as a sub state. When the printing apparatus 200 enters the camera print standby state S603, the camera print standby screen 230 is displayed on the operation screen.

カメラ印刷待機状態S603において、デジタルカメラ300から無線LAN103を経由して印刷ジョブを受信すると、イベントE603が発生する。イベントE603に応じて、印刷装置200はカメラ印刷中状態S604に移行する。印刷装置200はカメラ印刷中状態S604に入ると、操作画面にカメラ印刷中画面240が表示される。   When a print job is received from the digital camera 300 via the wireless LAN 103 in the camera print standby state S603, an event E603 occurs. In response to event E603, the printing apparatus 200 transitions to the camera printing state S604. When the printing apparatus 200 enters the camera printing state S604, a camera printing screen 240 is displayed on the operation screen.

カメラ印刷モード状態S602において、印刷ジョブ終了から所定時間経過、記憶済みデジタルカメラとの不一致、操作画面のキャンセルボタン231、241の押下のいずれかを検出すると、イベントE604が発生する。イベントE604に応じて、印刷装置200は特定APモードを終了して通常接続モードでの接続を回復するとともに、待機状態S601に移行する。   In the camera print mode state S602, an event E604 occurs when a predetermined time has elapsed since the end of the print job, a mismatch with the stored digital camera, or the operation screen cancel buttons 231 and 241 are pressed. In response to the event E604, the printing apparatus 200 ends the specific AP mode to recover the connection in the normal connection mode, and shifts to the standby state S601.

以上が印刷装置200において、デジタルカメラ300から印刷を行う場合の一連の状態遷移である。なお、ホーム画面220では、コピーボタン221、カードから印刷ボタン222への操作の他、各種の操作を受け付けて、印刷装置200がダイレクト印刷以外の処理を実行するよう構成されているが、本実施例の主眼ではないので説明を省略する。   The above is a series of state transitions when printing from the digital camera 300 in the printing apparatus 200. Although the home screen 220 is configured to accept various operations in addition to operations from the copy button 221 and the card to the print button 222, the printing apparatus 200 executes processes other than direct printing. The explanation is omitted because it is not the main point of the example.

<印刷装置の処理手順>
図7は、本実施例における印刷装置200の処理手順を示すフローチャートであり、図4(a)のカメラから印刷ボタン223が押下されたときに、印刷装置200のCPU201が実行する処理を示している。図7に示す処理は、CPU201がプログラムメモリ203に格納された制御プログラムを実行することにより実現される。
<Processing procedure of printing apparatus>
FIG. 7 is a flowchart illustrating a processing procedure of the printing apparatus 200 according to the present exemplary embodiment, and illustrates processing executed by the CPU 201 of the printing apparatus 200 when the print button 223 is pressed from the camera illustrated in FIG. Yes. The processing shown in FIG. 7 is realized by the CPU 201 executing a control program stored in the program memory 203.

ステップS701においてCPU201は、無線LAN制御部209を制御して、印刷装置200がデジタルカメラ300との直接通信を確立するよう無線LANのアクセスポイントとして動作するモードを起動する。ここでは印刷装置200の無線LAN接続モードとして特定APモードが設定される。印刷装置200の無線LAN接続モードが通常接続モードであった場合、特定APモードに切り替わる。このとき、規定のSSIDと認証パスワード(認証情報)を持つアクセスポイントとして動作するので、特定アクセスポイントモード(特定APモード)という。本実施例では、印刷装置200とデジタルカメラ300との双方に共通する規定の認証情報を予め設定し、予め設定された規定の認証情報を用いて無線LANの接続を行う。これにより、印刷装置200とデジタルカメラ300との双方にユーザが認証情報を設定する必要がなくなり、ユーザの使い勝手は向上する。   In step S <b> 701, the CPU 201 controls the wireless LAN control unit 209 to activate a mode in which the printing apparatus 200 operates as a wireless LAN access point so as to establish direct communication with the digital camera 300. Here, the specific AP mode is set as the wireless LAN connection mode of the printing apparatus 200. When the wireless LAN connection mode of the printing apparatus 200 is the normal connection mode, the mode is switched to the specific AP mode. At this time, since it operates as an access point having a prescribed SSID and authentication password (authentication information), it is called a specific access point mode (specific AP mode). In this embodiment, prescribed authentication information common to both the printing apparatus 200 and the digital camera 300 is set in advance, and wireless LAN connection is performed using the prescribed authentication information set in advance. This eliminates the need for the user to set authentication information in both the printing apparatus 200 and the digital camera 300, and improves the usability of the user.

また、ステップS701においてCPU201は、データメモリ204に記憶されているMACアドレスをリセットする。すなわち、データメモリ204に記憶済みMACアドレスがあれば、それを削除する。   In step S701, the CPU 201 resets the MAC address stored in the data memory 204. That is, if there is a stored MAC address in the data memory 204, it is deleted.

ステップS702においてCPU201は、無線LAN制御部209を制御して、デジタルカメラ300からの無線LAN接続要求を待つ。無線LAN接続要求が受信されると、処理はステップS703に進む。   In step S <b> 702, the CPU 201 controls the wireless LAN control unit 209 to wait for a wireless LAN connection request from the digital camera 300. When the wireless LAN connection request is received, the process proceeds to step S703.

ステップS703においてCPU201は、受信された無線LAN接続要求に含まれる認証情報に基づいて、接続要求元に対する認証を行う。デジタルカメラ300からの無線LAN接続要求には規定の認証情報が含まれるので、規定の認証情報に基づいてデジタルカメラ300に対する認証が成功する。そして、CPU201は、データメモリ204に記憶済みMACアドレスがあるか否かを判定する。記憶済みMACアドレスがない場合、処理はステップS704進み、記憶済みMACアドレスがある場合、処理はステップS711に進む。   In step S703, the CPU 201 authenticates the connection request source based on the authentication information included in the received wireless LAN connection request. Since the wireless LAN connection request from the digital camera 300 includes the specified authentication information, the digital camera 300 is successfully authenticated based on the specified authentication information. Then, the CPU 201 determines whether there is a stored MAC address in the data memory 204. If there is no stored MAC address, the process proceeds to step S704. If there is a stored MAC address, the process proceeds to step S711.

ステップS704においてCPU201は、ステップS702で受信された無線LAN接続要求の接続要求元のMACアドレスをデータメモリ204に記憶する。本ステップの処理により、特定APモードの継続期間内において最初に認証に成功した装置のMACアドレスがデータメモリ204に記憶される。   In step S704, the CPU 201 stores the MAC address of the connection request source of the wireless LAN connection request received in step S702 in the data memory 204. As a result of the processing in this step, the MAC address of the device that has succeeded in authentication first within the duration of the specific AP mode is stored in the data memory 204.

ステップS705においてCPU201は、デジタルカメラ300の無線LAN接続要求を許可する。印刷装置200とデジタルカメラ300との間で無線LAN103を経由する通信が確立される。   In step S705, the CPU 201 permits the wireless LAN connection request of the digital camera 300. Communication via the wireless LAN 103 is established between the printing apparatus 200 and the digital camera 300.

次にステップS706においてCPU201は、無線LAN制御部209を制御して、デジタルカメラ300からの印刷ジョブの受信を待つ。印刷ジョブが受信されると、処理はステップS707へ進む。   In step S <b> 706, the CPU 201 controls the wireless LAN control unit 209 to wait for reception of a print job from the digital camera 300. When the print job is received, the process proceeds to step S707.

ステップS707においてCPU201は、印刷部205を制御して、印刷ジョブに含まれる画像を記録媒体に印刷する。なお、画像を受信して印刷する処理はDPS over IPなどの規格で定められている手順に従うものであり、公知の技術であるためここでは詳細な説明を省略する。印刷ジョブを実行中に、印刷装置200は定期的に以下のステップS708の処理を繰り返し実行する。   In step S707, the CPU 201 controls the printing unit 205 to print an image included in the print job on a recording medium. Note that the process of receiving and printing an image follows a procedure defined by a standard such as DPS over IP, and is a known technique, and therefore detailed description thereof is omitted here. During execution of the print job, the printing apparatus 200 periodically repeats the process of step S708 below.

ステップS708においてCPU201は、操作部制御部207が印刷装置200の操作画面のキャンセルボタン241に対する押下操作を受けたか否かを判定する。操作部制御部207がキャンセルボタン241の押下操作を受けた場合、印刷ジョブを中止し、処理はてステップS709へ進む。   In step S <b> 708, the CPU 201 determines whether the operation unit control unit 207 has received a pressing operation on the cancel button 241 on the operation screen of the printing apparatus 200. When the operation unit control unit 207 receives an operation of pressing the cancel button 241, the print job is canceled and the process proceeds to step S709.

ステップ709においてCPU201は、記憶済みMACアドレスをデータメモリ204から削除する。最後にステップS710においてCPU201は無線LAN制御部209を制御して、特定APモードを終了する。   In step 709, the CPU 201 deletes the stored MAC address from the data memory 204. Finally, in step S710, the CPU 201 controls the wireless LAN control unit 209 to end the specific AP mode.

一方、ステップS703にてデータメモリ204に記憶済みMACアドレスがある場合、処理はステップS711に進む。ステップ711においてCPU201は、記憶済みMACアドレスと接続要求元のMACアドレスが一致しているか否かを判定する。一致していると判定された場合、処理はステップS705に進み、ステップ705にて接続要求が許可される。一致していないと判定された場合、処理はステップS712に進む。ステップ712においてCPU201は、接続要求を拒否し、処理はステップS709に進む。   On the other hand, if there is a MAC address stored in the data memory 204 in step S703, the process proceeds to step S711. In step 711, the CPU 201 determines whether or not the stored MAC address matches the MAC address of the connection request source. If it is determined that they match, the process proceeds to step S705, and a connection request is permitted in step 705. If it is determined that they do not match, the process proceeds to step S712. In step 712, the CPU 201 rejects the connection request, and the process proceeds to step S709.

また、ステップS713においてCPU201は、無線LAN接続要求を受信していない時間が所定時間を超えたか否かを判定し、所定時間を超えた場合、処理はステップS709に進む。   In step S713, the CPU 201 determines whether the time during which the wireless LAN connection request has not been received has exceeded a predetermined time. If the predetermined time has been exceeded, the process proceeds to step S709.

図7の処理によれば、印刷装置200が特定APモードにより接続が行われている場合に、ユーザがキャンセルボタン241を押下しない限り特定APモードが維持される。そして、S702において無線LAN接続要求が受信されたとしても、記憶済みのMACアドレス(接続中のデバイスのMACアドレス)を受信しない限り、無線LAN接続は行われない。そのため、特定APモードにおいて印刷装置200が接続されるデバイスを1つに限定することができる。   According to the processing in FIG. 7, when the printing apparatus 200 is connected in the specific AP mode, the specific AP mode is maintained unless the user presses the cancel button 241. Even if the wireless LAN connection request is received in S702, the wireless LAN connection is not performed unless the stored MAC address (the MAC address of the connected device) is received. Therefore, the number of devices to which the printing apparatus 200 is connected in the specific AP mode can be limited to one.

また、図7に示した例ではユーザがキャンセルボタン241を押下しない限り通常接続モードに復帰しなかったが、これに限らない。例えば特定APモードに移行してから所定時間経過した場合、あるいは特定APモードにおいてデータを受信しない状態が所定時間継続した場合に、通常接続モードに復帰してもよい。   In the example shown in FIG. 7, the normal connection mode is not restored unless the user presses the cancel button 241, but the present invention is not limited to this. For example, the normal connection mode may be restored when a predetermined time elapses after shifting to the specific AP mode, or when no data is received in the specific AP mode for a predetermined time.

なお、上記の説明において、ステップS701にて特定APモードを起動するものとして説明したが、印刷装置200は既存のネットワーク接続を切断してから特定APモードを起動する構成としもよい。すなわち、ステップS701にて印刷装置200の接続モードを通常接続モードから特定APモードに切り替える。この構成によって、より安全な通信を実現することができる。また、この場合は、ステップS710にて特定APモードを終了するとともに、ステップS701で切断されたネットワーク接続に復帰する。すなわち、ステップS710にて印刷装置200の接続モードを特定APモードから通常接続モードに切り替える。   In the above description, the specific AP mode is activated in step S701. However, the printing apparatus 200 may be configured to activate the specific AP mode after disconnecting the existing network connection. That is, in step S701, the connection mode of the printing apparatus 200 is switched from the normal connection mode to the specific AP mode. With this configuration, safer communication can be realized. In this case, the specific AP mode is terminated in step S710, and the network connection disconnected in step S701 is restored. That is, in step S710, the connection mode of the printing apparatus 200 is switched from the specific AP mode to the normal connection mode.

<撮像装置の処理手順>
図8は、本実施例におけるデジタルカメラ(撮像装置)300の処理手順を示すフローチャートであり、図5の印刷実行ボタン322が押下されたときに、デジタルカメラ300のCPU301が実行する処理を示している。図8に示す処理は、CPU301がプログラムメモリ203に格納された制御プログラムを実行することにより実現される。
<Processing Procedure of Imaging Device>
FIG. 8 is a flowchart showing a processing procedure of the digital camera (imaging device) 300 in the present embodiment, and shows processing executed by the CPU 301 of the digital camera 300 when the print execution button 322 of FIG. 5 is pressed. Yes. The processing shown in FIG. 8 is realized by the CPU 301 executing a control program stored in the program memory 203.

ステップS801においてCPU301は、無線LAN制御部311を制御して、特定APモードとなっている印刷装置200に対して無線LANのクライアントとしての接続を確立する。具体的には、印刷装置200に予め設定され且つ印刷装置200と通信しなくともデジタルカメラ300に予め記憶されている規定のSSIDと認証パスワードにより無線LANのアクセスポイントを検索して接続を確立する。接続確立後、処理はステップS802へ進む。   In step S801, the CPU 301 controls the wireless LAN control unit 311 to establish a connection as a wireless LAN client to the printing apparatus 200 in the specific AP mode. Specifically, a wireless LAN access point is searched for using a specified SSID and authentication password that are set in advance in the printing apparatus 200 and stored in advance in the digital camera 300 without communicating with the printing apparatus 200 to establish a connection. . After the connection is established, the process proceeds to step S802.

ステップS802においてCPU301は、無線LAN制御部311を制御して、画像再生画面320で表示していた画像を印刷するための印刷ジョブを印刷装置200へ送信する。印刷ジョブを送信中に、デジタルカメラ300は定期的に以下のステップS803〜S805の処理を繰り返し実行する。   In step S <b> 802, the CPU 301 controls the wireless LAN control unit 311 to transmit a print job for printing the image displayed on the image reproduction screen 320 to the printing apparatus 200. During the transmission of the print job, the digital camera 300 periodically executes the following steps S803 to S805.

ステップS803においてCPU301は、操作部制御部309が印刷ジョブをキャンセルするためのキャンセル操作を受けたか否かを判定する。操作部制御部309がキャンセル操作を受けた場合、CPU301は印刷ジョブの送信を中止し、処理はステップS806へ進む。   In step S <b> 803, the CPU 301 determines whether the operation unit control unit 309 has received a cancel operation for canceling the print job. When the operation unit control unit 309 receives a cancel operation, the CPU 301 stops transmission of the print job, and the process proceeds to step S806.

ステップS804においてCPU301は、デジタルカメラ300と印刷装置200との接続が切断されたか否かを判定する。接続が切断された場合、CPU301は印刷ジョブの送信を中止し、処理はステップS806へ進む。   In step S804, the CPU 301 determines whether the connection between the digital camera 300 and the printing apparatus 200 has been disconnected. If the connection is disconnected, the CPU 301 stops sending the print job, and the process proceeds to step S806.

ステップS805においてCPU301は、印刷ジョブの送信が全て完了したか否かを判定する。完了していない場合、処理はステップS802へ戻り、完了した場合、処理はステップS806へ進む。   In step S <b> 805, the CPU 301 determines whether transmission of all print jobs has been completed. If not completed, the process returns to step S802. If completed, the process proceeds to step S806.

最後にステップS806においてCPU301は、無線LAN制御部311を制御して、デジタルカメラ300の無線LAN接続状態を元の接続状態に戻す。すなわち、ステップS801で特定APモードとなっている印刷装置200に対して無線LANのクライアントとして接続する前の状態に戻し、本フローチャートによる処理を終了する。   Finally, in step S806, the CPU 301 controls the wireless LAN control unit 311 to return the wireless LAN connection state of the digital camera 300 to the original connection state. That is, in step S801, the printer 200 is returned to the state before connection as a wireless LAN client to the printing apparatus 200 in the specific AP mode, and the processing according to this flowchart ends.

<ダイレクト印刷に係るシーケンス>
図9は、印刷装置200とデジタルカメラ300の間で接続を確立してダイレクト印刷を行う場合のやり取りを示すシーケンス図である。ステップS901においてユーザ500が印刷装置200のホーム画面220のカメラから印刷ボタン223を押下する。これに応答して、印刷装置200はステップS902において印刷装置の接続モードを特定APモードに切り替える。
<Sequence for direct printing>
FIG. 9 is a sequence diagram illustrating an exchange when direct printing is performed by establishing a connection between the printing apparatus 200 and the digital camera 300. In step S <b> 901, the user 500 presses the print button 223 from the camera on the home screen 220 of the printing apparatus 200. In response to this, the printing apparatus 200 switches the connection mode of the printing apparatus to the specific AP mode in step S902.

続いてユーザ500がステップS903においてデジタルカメラ300の再生画面320の印刷実行ボタン322を押下する。これに応答して、デジタルカメラ300はステップS904において規定の認証情報(SSID及び認証パスワード)を用いて無線LAN接続を要求する。印刷装置200はMACアドレスが未だ記憶されていない(記憶済みMACアドレスがない)ことを確認後、ステップS905にてデジタルカメラ300のMACアドレスを記憶し、ステップS906にて接続要求を許可する。これにより、特定APモードにおいて動作する印刷装置200をアクセスポイントとして、デジタルカメラ300を無線LANクライアントとしての接続が確立される。   Subsequently, the user 500 presses the print execution button 322 on the playback screen 320 of the digital camera 300 in step S903. In response to this, the digital camera 300 requests a wireless LAN connection using the specified authentication information (SSID and authentication password) in step S904. After confirming that the MAC address is not yet stored (no stored MAC address), the printing apparatus 200 stores the MAC address of the digital camera 300 in step S905, and permits a connection request in step S906. Accordingly, a connection is established with the digital camera 300 as a wireless LAN client using the printing apparatus 200 operating in the specific AP mode as an access point.

接続確立後、ステップS907においてデジタルカメラ300から印刷装置200に対して印刷ジョブが送信される。これに応答して、印刷装置200はステップS908において印刷処理を実行する。   After the connection is established, a print job is transmitted from the digital camera 300 to the printing apparatus 200 in step S907. In response to this, the printing apparatus 200 executes a printing process in step S908.

そして、デジタルカメラ300はステップS909において印刷ジョブの終了を印刷装置200に通知し、ステップS910において規定の認証情報を用いた、無線LANのクライアントとしての接続を切断する。さらに、デジタルカメラ300はステップS911において無線LAN接続状態を元の接続状態に復帰させる。   In step S909, the digital camera 300 notifies the printing apparatus 200 of the end of the print job, and in step S910, the connection as the wireless LAN client using the specified authentication information is disconnected. In step S911, the digital camera 300 returns the wireless LAN connection state to the original connection state.

一方、印刷装置200は印刷ジョブ終了後も特定APモードを維持し、規定のSSIDを用いた次の無線LAN接続要求を待つ。   On the other hand, the printing apparatus 200 maintains the specific AP mode even after the end of the print job, and waits for the next wireless LAN connection request using the specified SSID.

ユーザ500は続けて印刷を実行したい場合、1回目の印刷におけるステップS903と同様に、ステップ912においてデジタルカメラ300の再生画面320の印刷実行ボタン322を押下する。これに応答して、デジタルカメラ300は、1回目の印刷におけるステップS904と同様に、ステップS913において規定の認証情報を用いて無線LAN接続を要求する。印刷装置200はステップS914にて既に記憶済みのMACアドレスと接続要求元のMACアドレスとを比較し、両者が一致していた場合、ステップS915にて接続要求を許可する。以降、ステップS916〜S920までは1回目の印刷におけるステップS907〜S911と同様のため説明は省略する。   When the user 500 wants to continue printing, the user presses the print execution button 322 on the playback screen 320 of the digital camera 300 in step 912, as in step S903 in the first printing. In response to this, the digital camera 300 requests a wireless LAN connection using the specified authentication information in step S913 as in step S904 in the first printing. The printing apparatus 200 compares the MAC address already stored in step S914 with the MAC address of the connection request source. If the two match, the printing apparatus 200 permits the connection request in step S915. Thereafter, steps S916 to S920 are the same as steps S907 to S911 in the first printing, and thus description thereof is omitted.

印刷終了後に、ユーザ500がステップS921において印刷装置200の操作画面のキャンセルボタンを押下すると、これに応答して印刷装置200は、ステップS922において記憶済みMACアドレスを削除する。さらに、印刷装置200はステップS923において自身の接続モードを通常接続モードに復帰させる。   When the user 500 presses the cancel button on the operation screen of the printing apparatus 200 in step S921 after the printing is finished, in response to this, the printing apparatus 200 deletes the stored MAC address in step S922. In step S923, the printing apparatus 200 returns its connection mode to the normal connection mode.

なお、上記の説明においては印刷装置200はユーザからのキャンセル操作によって印刷装置200の接続モードを通常接続モードに復帰させるように制御する場合を説明したが、その他の条件によって通常接続モードに復帰させるように制御させてもよい。例えば、デジタルカメラ300から明示的に通常接続モードに復帰するような指示を受信し、印刷装置200はその指示を元に通常接続モードに復帰させるように制御することも可能である。また、ユーザ500がステップS912でプリンタUI操作を行った後、デジタルカメラ300側の操作を行わないまま放置してしまうことも考えられる。これに備えて、所定時間経過してもデジタルカメラ300からの接続要求を受信しながった場合には通常接続モードに復帰させるように制御してもよい。   In the above description, the case where the printing apparatus 200 is controlled to return the connection mode of the printing apparatus 200 to the normal connection mode by a cancel operation from the user has been described. However, the printing apparatus 200 is returned to the normal connection mode according to other conditions. You may make it control. For example, it is possible to receive an instruction from the digital camera 300 to explicitly return to the normal connection mode, and the printing apparatus 200 can be controlled to return to the normal connection mode based on the instruction. In addition, after the user 500 performs the printer UI operation in step S912, the user 500 may be left without performing the operation on the digital camera 300 side. In preparation for this, if a connection request from the digital camera 300 is not received even after a predetermined time has elapsed, control may be performed so as to return to the normal connection mode.

また、上記の説明においては接続要求元がデジタルカメラ300であるか否かを判別するためにMACアドレスを用いたが、接続要求元となる装置を識別可能な識別情報であれば必ずしもMACアドレスを用いる必要はない。例えば、あらかじめ独自に定義したIDをデジタルカメラに割り当てておき、これをMACアドレスの代わりにやり取りすることでも接続要求元を識別することができる。   In the above description, the MAC address is used to determine whether or not the connection request source is the digital camera 300. However, if the identification information can identify the device that is the connection request source, the MAC address is not necessarily used. There is no need to use it. For example, it is possible to identify the connection request source by assigning an ID uniquely defined in advance to the digital camera and exchanging the ID instead of the MAC address.

図10は、印刷装置200とデジタルカメラ300の間で接続を確立してダイレクト印刷を行った後に、デジタルカメラ300とは異なる装置であるデジタルカメラ600から接続要求を受けた場合のシーケンス図である。図10におけるステップS901〜S911に示した、ユーザ操作からデジタルカメラ300が元の接続モードに復帰するまでのステップは、図9の同一符号のステップと同一であるため説明を省略する。   FIG. 10 is a sequence diagram when a connection request is received from the digital camera 600, which is a device different from the digital camera 300, after establishing a connection between the printing device 200 and the digital camera 300 and performing direct printing. . The steps from the user operation until the digital camera 300 returns to the original connection mode shown in steps S901 to S911 in FIG. 10 are the same as the steps with the same reference numerals in FIG.

ステップS1001およびステップS1002において、デジタルカメラ300とは異なる装置であるデジタルカメラ600から接続要求が受信される。これに応答して、ステップS1003において既に記憶済みのMACアドレスと接続要求元のMACアドレスとを比較した結果、両者の不一致が検出される。ステップS1004においてデジタルカメラ600からの接続要求が拒否される。次にデジタルカメラ600は接続要求の拒否を受けて、ステップS1005において自身の接続状態を元の接続状態に復帰させる。   In step S1001 and step S1002, a connection request is received from a digital camera 600, which is a device different from the digital camera 300. In response to this, as a result of comparing the MAC address already stored in step S1003 with the MAC address of the connection request source, a mismatch between the two is detected. In step S1004, the connection request from the digital camera 600 is rejected. Next, in response to the rejection of the connection request, the digital camera 600 restores its own connection state to the original connection state in step S1005.

一方、印刷装置200はステップS1006にて記憶済みMACアドレスを削除し、ステップS1007にて自身の接続モードを通常接続モードに復帰させる。   On the other hand, the printing apparatus 200 deletes the stored MAC address in step S1006, and returns its own connection mode to the normal connection mode in step S1007.

なお、上記の説明において印刷装置200は記憶済みのMACアドレスと接続要求元のMACアドレスの不一致を検出後、自身の接続モードを通常接続モードに復帰させるように制御する場合を説明した。制御方法はこれに限らず、特定APモードを維持し、規定の認証情報を用いた次の無線LAN接続要求を待つように制御させてもよい。   In the above description, the case has been described in which the printing apparatus 200 performs control to return its own connection mode to the normal connection mode after detecting a mismatch between the stored MAC address and the MAC address of the connection request source. The control method is not limited to this, and the specific AP mode may be maintained and control may be performed to wait for the next wireless LAN connection request using the specified authentication information.

以上説明した通り、本実施例の構成によって、煩雑な無線LAN設定を行うことなく、印刷装置200とデジタルカメラ300が共通する規定のSSIDおよび認証パスワードを用いてダイレクト印刷専用の接続を確立することができる。同時に、デジタルカメラ300と印刷装置200とが特定APモードで接続されているときに、デジタルカメラ600は印刷装置200と接続されない。そのため、ユーザ500がデジタルカメラ300からのダイレクト印刷を行うときに、ユーザ500が意図しないユーザ700によりデジタルカメラ600と印刷装置200が接続されてしまうことを防ぐことができる。つまり、ユーザは、難しい無線LAN設定を行うことなく、簡セキュリティーを確保しつつ、無線LAN経由のダイレクト印刷を行うことができる。   As described above, with the configuration of this embodiment, a connection dedicated for direct printing is established using a specified SSID and authentication password common to the printing apparatus 200 and the digital camera 300 without performing complicated wireless LAN settings. Can do. At the same time, when the digital camera 300 and the printing apparatus 200 are connected in the specific AP mode, the digital camera 600 is not connected to the printing apparatus 200. Therefore, when the user 500 performs direct printing from the digital camera 300, it is possible to prevent the digital camera 600 and the printing apparatus 200 from being connected by the user 700 not intended by the user 500. That is, the user can perform direct printing via the wireless LAN while ensuring simple security without performing difficult wireless LAN settings.

また、以上の実施形態では印刷を実行させる画像処理装置としてデジタルカメラを例に説明したが、これに限らず、PCやスマートフォン等の各種の機器であってもよい。さらに、以上の実施形態では、特定APモードにおける通信相手を1つに制限する装置として印刷装置を例に説明した。しかしこれに限らず、PCやスマートフォン等の各種の装置であってもよい。   In the above embodiment, a digital camera has been described as an example of an image processing apparatus that executes printing. However, the present invention is not limited to this, and various devices such as a PC and a smartphone may be used. Furthermore, in the above embodiment, the printing apparatus has been described as an example of an apparatus that limits the number of communication partners in the specific AP mode to one. However, the present invention is not limited to this, and various devices such as a PC and a smartphone may be used.

さらに以上の実施形態では特定APモードにおける通信相手を1つに制限される例を示したが、これに限らず、通信相手の制限数が複数であってもよい。例えば印刷装置200が上記の通常アクセスポイントとして動作する場合に接続可能なデバイス数が10台である場合に、特定APモードにおける接続可能なデバイス数として9台以下が設定される。これにより、少なくとも接続可能なデバイス数に関し、通常アクセスポイントとして動作する場合よりもセキュリティレベルの高い特定APモードを実現することができる。   Furthermore, although the example which restrict | limits the communication partner in specific AP mode to one was shown in the above embodiment, it is not restricted to this, The restriction | limiting number of a communication partner may be plural. For example, when the number of devices that can be connected when the printing apparatus 200 operates as the normal access point is 10, the number of devices that can be connected in the specific AP mode is set to 9 or less. This makes it possible to realize a specific AP mode with a higher security level than at the time of operating as a normal access point, at least with respect to the number of devices that can be connected.

(他の実施形態)
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサーがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
(Other embodiments)
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

103 無線LAN
200 印刷装置
204 データメモリ
209 無線LAN制御部
223 カメラから印刷ボタン
300 デジタルカメラ
103 wireless LAN
200 Printing Device 204 Data Memory 209 Wireless LAN Control Unit 223 Print Button from Camera 300 Digital Camera

Claims (12)

無線LAN接続のための所定の認証情報によりアクセスポイントとして動作する印刷装置であって、
前記印刷装置と通信せずに前記所定の認証情報を記憶している装置との無線LAN接続を行うアクセスポイントモードを、前記印刷装置の無線LAN接続モードとして設定する設定手段と、
前記設定手段により前記アクセスポイントモードが設定されている場合に、前記無線LANによる接続の要求を行った画像処理装置に対する認証を前記印刷装置に予め記憶されている前記所定の認証情報に基づいて行う認証手段と、
前記認証手段による認証に成功した、前記接続の要求に係る前記画像処理装置を識別する識別情報を記憶する記憶手段と、
前記記憶手段により記憶された前記識別情報に基づいて、前記画像処理装置が前記アクセスポイントモードにおいて接続されているときの、無線LANによる新たな通信の確立を制御する制御手段と
を備えることを特徴とする印刷装置。
A printing apparatus that operates as an access point with predetermined authentication information for wireless LAN connection,
Setting means for setting an access point mode for performing a wireless LAN connection with a device storing the predetermined authentication information without communicating with the printing device as a wireless LAN connection mode of the printing device;
When the access point mode is set by the setting unit, authentication for the image processing apparatus that has made a connection request by the wireless LAN is performed based on the predetermined authentication information stored in advance in the printing apparatus. Authentication means;
Storage means for storing identification information for identifying the image processing apparatus related to the connection request, which has been successfully authenticated by the authentication means;
Control means for controlling establishment of new communication by a wireless LAN when the image processing apparatus is connected in the access point mode based on the identification information stored by the storage means. A printing device.
前記記憶手段は、前記アクセスポイントモードの継続期間内において前記認証に最初に成功した装置の識別情報を記憶することを特徴とする請求項1に記載の印刷装置。   The printing apparatus according to claim 1, wherein the storage unit stores identification information of an apparatus that has succeeded in the authentication first within a duration of the access point mode. 前記制御手段は、前記アクセスポイントモードの継続期間内において前記無線LANへの接続要求を新たに行う画像処理装置について、前記無線LANへの接続を許可するかどうかを、当該画像処理装置の識別情報と前記記憶手段で記憶された識別情報とを用いて判定することを特徴とする請求項2に記載の印刷装置。   The control means determines whether or not to permit connection to the wireless LAN for an image processing apparatus that newly makes a connection request to the wireless LAN within the duration of the access point mode. The printing apparatus according to claim 2, wherein the determination is performed using the identification information stored in the storage unit. 前記制御手段は、
前記画像処理装置の識別情報が前記記憶手段で記憶された識別情報と一致している場合に、前記画像処理装置の前記無線LANへの接続を許可し、
前記画像処理装置の識別情報が前記記憶手段で記憶された識別情報と一致していない場合に、前記画像処理装置の前記無線LANへの接続を拒否し、前記アクセスポイントモードを終了する
ことを特徴とする請求項3に記載の印刷装置。
The control means includes
If the identification information of the image processing device matches the identification information stored in the storage means, permit the image processing device to connect to the wireless LAN;
When the identification information of the image processing device does not match the identification information stored in the storage means, the connection of the image processing device to the wireless LAN is rejected and the access point mode is terminated. The printing apparatus according to claim 3.
前記制御手段は、前記無線LANを経由して接続要求を受信していない時間が所定時間を超えた場合、前記アクセスポイントモードを終了する手段をさらに有することを特徴とする請求項1乃至4のいずれか1項に記載の印刷装置。   5. The control means according to claim 1, further comprising means for terminating the access point mode when a time during which a connection request is not received via the wireless LAN exceeds a predetermined time. The printing apparatus according to any one of the above. 前記制御手段は、前記アクセスポイントモードを終了する前に、前記記憶手段で記憶された識別情報を削除することを特徴とする請求項4または5に記載の印刷装置。   6. The printing apparatus according to claim 4, wherein the control unit deletes the identification information stored in the storage unit before ending the access point mode. 前記設定手段は、ユーザ入力に基づいて、前記印刷装置の既存のネットワーク接続を切断してから前記印刷装置に前記アクセスポイントモードで起動させることを特徴とする請求項4乃至6のいずれか1項に記載の印刷装置。   The said setting means cut | disconnects the existing network connection of the said printing apparatus based on a user input, Then, the said printing apparatus is started in the said access point mode, The one of Claims 4 thru | or 6 characterized by the above-mentioned. The printing apparatus as described in. 前記アクセスポイントモードが終了すると、前記切断されたネットワーク接続を回復する手段をさらに有することを特徴とする請求項7に記載の印刷装置。   8. The printing apparatus according to claim 7, further comprising means for recovering the disconnected network connection when the access point mode ends. 前記識別情報は、MACアドレスであることを特徴とする請求項1乃至8のいずれか1項に記載の印刷装置。   The printing apparatus according to claim 1, wherein the identification information is a MAC address. 前記画像処理装置はデジタルカメラであることを特徴とする請求項1乃至9のいずれか1項に記載の印刷装置。   The printing apparatus according to claim 1, wherein the image processing apparatus is a digital camera. 無線LAN接続のための所定の認証情報によりアクセスポイントとして動作する印刷装置の制御方法であって、
前記印刷装置と通信せずに前記所定の認証情報を記憶している装置との無線LAN接続を行うアクセスポイントモードを、前記印刷装置の無線LAN接続モードとして設定する設定工程と、
前記設定工程において前記アクセスポイントモードが設定されている場合に、前記無線LANによる接続の要求を行った画像処理装置に対する認証を前記印刷装置に予め記憶されている前記所定の認証情報に基づいて行う認証工程と、
前記認証工程における認証に成功した、前記接続の要求に係る前記画像処理装置を識別する識別情報を前記印刷装置のメモリに記憶する記憶工程と、
前記記憶工程において前記メモリに記憶された前記識別情報に基づいて、前記画像処理装置が前記アクセスポイントモードにおいて接続されているときの、無線LANによる新たな通信の確立を制御する制御工程と
を含むことを特徴とする印刷方法。
A method of controlling a printing apparatus that operates as an access point with predetermined authentication information for wireless LAN connection,
A setting step of setting, as a wireless LAN connection mode of the printing apparatus, an access point mode for performing a wireless LAN connection with an apparatus storing the predetermined authentication information without communicating with the printing apparatus;
When the access point mode is set in the setting step, authentication for the image processing apparatus that has requested connection by the wireless LAN is performed based on the predetermined authentication information stored in advance in the printing apparatus. Certification process;
A storage step of storing in the memory of the printing device identification information for identifying the image processing device related to the connection request, which has been successfully authenticated in the authentication step;
A control step of controlling establishment of new communication by a wireless LAN when the image processing apparatus is connected in the access point mode based on the identification information stored in the memory in the storage step. A printing method characterized by the above.
コンピュータを、請求項1乃至10のいずれか1項に記載の印刷装置の各手段として機能させるためのプログラム。   The program for functioning a computer as each means of the printing apparatus of any one of Claims 1 thru | or 10.
JP2016105463A 2016-05-26 2016-05-26 Printer, control method and program device of the same Pending JP2017212648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016105463A JP2017212648A (en) 2016-05-26 2016-05-26 Printer, control method and program device of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016105463A JP2017212648A (en) 2016-05-26 2016-05-26 Printer, control method and program device of the same

Publications (1)

Publication Number Publication Date
JP2017212648A true JP2017212648A (en) 2017-11-30

Family

ID=60476969

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016105463A Pending JP2017212648A (en) 2016-05-26 2016-05-26 Printer, control method and program device of the same

Country Status (1)

Country Link
JP (1) JP2017212648A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020059584A1 (en) * 2018-09-18 2020-03-26 パナソニックIpマネジメント株式会社 Control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020059584A1 (en) * 2018-09-18 2020-03-26 パナソニックIpマネジメント株式会社 Control method

Similar Documents

Publication Publication Date Title
US10412566B2 (en) Information processing apparatus, method of controlling the same, and storage medium
JP6904377B2 (en) Programs, information processing devices, systems, information processing methods
EP3065436B1 (en) Non-transitory computer-readable information recording medium, information processing apparatus, and communications method
EP3419255B1 (en) Method and image forming apparatus using near field communication
JP5941300B2 (en) Information processing apparatus, information processing apparatus control method, and program
US20150138597A1 (en) Mobile terminal, image forming apparatus, control method thereof, and storage medium storing a program
KR102168413B1 (en) Communication apparatus, control method for controlling the same, and computer control program
US9313363B2 (en) Information processing apparatus, control methods, and storage medium for printing using short distance wireless communication
JP6562660B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
JP6413838B2 (en) Image forming apparatus, server apparatus, communication system, and program
US11178607B2 (en) Method of deleting SSID of access point stored in information processing apparatus
US9787860B2 (en) Image forming apparatus with option for disabling near-field communication and direct wireless communication
US20160127581A1 (en) Communication system, communication apparatus, method of controlling the same, information processing apparatus, method of controlling the same and storage medium
JP6684123B2 (en) Image forming apparatus, control method and program
JP6690258B2 (en) Program, information processing device, communication system
US9148747B2 (en) Communication apparatus, method for controlling communication apparatus, and storage medium
JP6525771B2 (en) INFORMATION PROCESSING APPARATUS, CONTROL METHOD, AND PROGRAM
JP6907753B2 (en) Information processing system, image processing device, authentication method, and program
CN110221793B (en) Method of searching for image forming apparatus, mobile terminal, and computer-readable medium
KR20180059207A (en) Method for setting wireless connection of image forming apparatus using mobile terminal and image forming apparatus for performing the same
JP2017212648A (en) Printer, control method and program device of the same
JP4058258B2 (en) Authentication method, communication apparatus, and control program
US10306455B2 (en) Communication apparatus, communication method, and non-transitory computer-readable storage medium
JP6808351B2 (en) Printing equipment, image processing system
JP2017200018A (en) Communication device, terminal device, control method, program and communication system