JP2017200019A - Terminal device, control method, program and communication system - Google Patents

Terminal device, control method, program and communication system Download PDF

Info

Publication number
JP2017200019A
JP2017200019A JP2016088545A JP2016088545A JP2017200019A JP 2017200019 A JP2017200019 A JP 2017200019A JP 2016088545 A JP2016088545 A JP 2016088545A JP 2016088545 A JP2016088545 A JP 2016088545A JP 2017200019 A JP2017200019 A JP 2017200019A
Authority
JP
Japan
Prior art keywords
communication
communication device
terminal device
connection information
predetermined connection
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
JP2016088545A
Other languages
Japanese (ja)
Inventor
前田 昌雄
Masao Maeda
昌雄 前田
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 JP2016088545A priority Critical patent/JP2017200019A/en
Priority to US15/490,207 priority patent/US10445035B2/en
Publication of JP2017200019A publication Critical patent/JP2017200019A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Computer And Data Communications (AREA)
  • Studio Devices (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a terminal device, a control method, a program and a communication system capable of improving user operability in an operation to execute data communication between a communication device and the terminal device.SOLUTION: The terminal device includes: retention means which retains predetermined connection information, without reception of the input of predetermined connection information from a user by operation means, and without acquisition of the predetermined connection information from the communication device by the terminal device; reception means which receives an image data communication instruction from the user; connection means which connects to the communication device by the predetermined connection information retained by the retention means; and communication means which, when the communication instruction is received by the reception means, communicates image data with the communication device by the connection between the connection means and the communication device.SELECTED DRAWING: Figure 6

Description

本発明は、端末装置、制御方法、プログラムおよび通信システムに関する。   The present invention relates to a terminal device, a control method, a program, and a communication system.

カメラ等の端末装置とプリンタ等の通信装置が、画像データの通信を実行する通信システムが知られている。このような通信システムにおいて画像データの通信を実行するためには、まず、無線LAN通信等の通信方式によって装置間で接続を確立する必要がある。特許文献1には、接続するアクセスポイントの選択やパスワードの入力をユーザに要求し、ユーザから必要な情報の入力を受け付けて接続開始が指示されると、アクセスポイントとの接続処理を開始する携帯端末が記載されている。   There is known a communication system in which a terminal device such as a camera and a communication device such as a printer execute image data communication. In order to perform communication of image data in such a communication system, it is first necessary to establish a connection between apparatuses by a communication method such as wireless LAN communication. In Patent Document 1, when a user is requested to select an access point to be connected or a password is input, and when the user receives an input of necessary information and is instructed to start a connection, the mobile phone that starts connection processing with the access point is started. The terminal is listed.

特開2014−36292JP 2014-36292 A

しかしながら、特許文献1のようにして装置間の接続を確立し、画像データの通信を実行する形態では、接続情報の入力等、煩雑な操作がユーザに要求されるという課題がある。   However, in the form of establishing a connection between apparatuses and executing communication of image data as in Patent Document 1, there is a problem that a complicated operation such as input of connection information is required from the user.

本発明は、上述の課題に鑑みてなされたものであり、通信装置と端末装置との間で画像データの通信を実行させる操作におけるユーザの操作性を向上させることを目的とする。   The present invention has been made in view of the above-described problems, and an object thereof is to improve user operability in an operation of executing communication of image data between a communication device and a terminal device.

そこで、上記目的を達成するために本発明の端末装置は、
所定の接続情報によって接続可能な通信装置と通信する端末装置であって、
ユーザからの操作を受け付け可能な操作手段と、
ユーザから前記所定の接続情報の入力を前記操作手段が受け付けることなく、且つ、前記通信装置から前記所定の接続情報を前記端末装置が取得することなしに前記所定の接続情報を保持する保持手段と、
前記保持手段により保持されている前記所定の接続情報によって、前記端末装置と前記通信装置とを接続させる接続手段と、
前記所定の接続情報による前記端末装置と前記通信装置との接続によって、画像データを前記通信装置と通信する通信手段と、を有することを特徴とする。
Therefore, in order to achieve the above object, the terminal device of the present invention
A terminal device that communicates with a communication device that can be connected by predetermined connection information,
An operation means capable of accepting an operation from a user;
Holding means for holding the predetermined connection information without the operation unit receiving the input of the predetermined connection information from a user and without the terminal device acquiring the predetermined connection information from the communication device; ,
Connection means for connecting the terminal device and the communication device according to the predetermined connection information held by the holding means;
And a communication unit configured to communicate image data with the communication device by connecting the terminal device and the communication device according to the predetermined connection information.

本発明によれば、通信装置と端末装置との間で画像データの通信を実行させる操作におけるユーザの操作性を向上させることができる。   ADVANTAGE OF THE INVENTION According to this invention, the operativity of the user in operation which performs communication of image data between a communication apparatus and a terminal device can be improved.

本実施形態の印刷処理システムの構成を示す図である。1 is a diagram illustrating a configuration of a print processing system according to an exemplary embodiment. 本実施形態の端末装置の構成を示すブロック図である。It is a block diagram which shows the structure of the terminal device of this embodiment. 本実施形態の通信装置の構成を示すブロック図である。It is a block diagram which shows the structure of the communication apparatus of this embodiment. 本実施形態の通信装置の操作画面の例を示す図である。It is a figure which shows the example of the operation screen of the communication apparatus of this embodiment. 本実施形態の端末装置の操作画面の例を示す図である。It is a figure which shows the example of the operation screen of the terminal device of this embodiment. 本実施形態の通信装置の状態遷移図である。It is a state transition diagram of the communication apparatus of this embodiment. 本実施形態の通信装置が実行する処理の内容を表すフローチャートである。It is a flowchart showing the content of the process which the communication apparatus of this embodiment performs. 本実施形態の端末装置が実行する処理の内容を表すフローチャートである。It is a flowchart showing the content of the process which the terminal device of this embodiment performs. 本実施形態の通信装置と端末装置間で簡単接続が実行される場合のシーケンス図である。It is a sequence diagram in case an easy connection is performed between the communication apparatus of this embodiment, and a terminal device.

以下に図面を参照して、本発明の好適な実施形態を例示的に説明する。ただし、本発明については、その趣旨を逸脱しない範囲で、当業者の通常の知識に基づいて、以下に記載する実施形態に対して適宜変更、改良が加えられたものについても本発明の範囲に入ることが理解されるべきである。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, exemplary embodiments of the invention will be described with reference to the drawings. However, within the scope of the present invention, the present invention includes modifications and improvements appropriately made to the embodiments described below based on the ordinary knowledge of those skilled in the art without departing from the spirit of the present invention. It should be understood to enter.

(第1実施形態)
本実施形態の端末装置及び通信装置について説明する。端末装置として、本実施形態ではデジタルカメラを例示しているが、これに限定されず、後述の通信装置と通信可能な装置であれば、種々のものを適用可能である。例えば、スマートホン、携帯端末、ノートPC、タブレット端末、PDA(Personal Digital Assistant)、音楽再生デバイス等に適用可能である。また、通信装置として、本実施形態ではプリンタを例示しているが、これに限定されず、端末装置と通信を行うことが可能な装置であれば、種々のものを適用可能である。例えば、プリンタであれば、インクジェットプリンタ、フルカラーレーザービームプリンタ、モノクロプリンタ等に適用可能である。また、プリンタのみならず複写機やファクシミリ装置、スマートホン、携帯端末、ノートPC、タブレット端末、PDA、デジタルカメラ、音楽再生デバイス、ストレージ等にも適用可能である。その他、複写機能、FAX機能、印刷機能を備える複合機にも適用可能である。
(First embodiment)
The terminal device and communication device of this embodiment will be described. In this embodiment, a digital camera is exemplified as the terminal device. However, the present invention is not limited to this, and various devices can be applied as long as they can communicate with a communication device described later. For example, the present invention can be applied to a smart phone, a portable terminal, a notebook PC, a tablet terminal, a PDA (Personal Digital Assistant), a music playback device, and the like. Further, in the present embodiment, a printer is exemplified as the communication device. However, the present invention is not limited to this, and various devices can be applied as long as they can communicate with a terminal 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 a printer but also to a copying machine, a facsimile machine, a smart phone, a portable terminal, a notebook PC, a tablet terminal, a PDA, a digital camera, a music playback device, a storage, and the like. In addition, the present invention can also be applied to a multifunction machine having a copying function, a FAX function, and a printing function.

図1は、本実施形態の印刷処理システムの構成を示す図である。このシステムは、無線LANネットワーク100、無線LANネットワーク100に接続可能なアクセスポイント101、カメラ200及びプリンタ300を含むものとする。   FIG. 1 is a diagram illustrating a configuration of a print processing system according to the present embodiment. This system includes a wireless LAN network 100, an access point 101 connectable to the wireless LAN network 100, a camera 200, and a printer 300.

カメラ200は、本実施形態の端末装置である。プリンタ300は、本実施形態の通信装置である。また、プリンタ300とカメラ200は、それぞれの装置外部のアクセスポイント101を介して無線LAN接続し、相互に通信することが可能である。また、プリンタ300やカメラ200は、それぞれの装置内のアクセスポイントを有効化することで、それぞれの装置自身がアクセスポイントとして動作することもできる。そのため、例えばどちらか一方の装置がアクセスポイントとなり、もう一方の装置が当該アクセスポイントに接続することで、カメラ200とプリンタ300はアクセスポイント101を介さずに直接無線LAN接続することも可能である。また、カメラ200とプリンタ300は共に無線LANの機能を有するため、認証処理を実行することによってピアツーピア(以後、P2P)の通信が可能となる。なお、各装置は、アクセスポイントとして動作する場合、無線LANを形成し、ビーコンを定期的に送信する。ビーコンを取得した通信相手の装置は、ビーコンを送信する装置を認識し、形成された無線LANに参加することで、装置間での無線LAN通信を実行可能となる。さらに、各装置は、アクセスポイントとして動作する場合、無線通信のために使用されるチャネルを決定したり、通信相手の装置から送信される接続情報(パスワード等)の認証処理を行う。   The camera 200 is a terminal device according to the present embodiment. The printer 300 is a communication device according to this embodiment. In addition, the printer 300 and the camera 200 can communicate with each other through a wireless LAN connection via the access point 101 outside the respective apparatuses. Also, the printer 300 and the camera 200 can operate as an access point by enabling the access point in each device. Therefore, for example, when one of the devices serves as an access point and the other device connects to the access point, the camera 200 and the printer 300 can be directly connected to the wireless LAN without going through the access point 101. . Since both the camera 200 and the printer 300 have a wireless LAN function, peer-to-peer (hereinafter referred to as P2P) communication can be performed by executing authentication processing. When each device operates as an access point, it forms a wireless LAN and periodically transmits a beacon. The communication partner device that has acquired the beacon recognizes the device that transmits the beacon and participates in the formed wireless LAN, thereby enabling wireless LAN communication between the devices. Further, when each device operates as an access point, it determines a channel to be used for wireless communication, and performs authentication processing of connection information (such as a password) transmitted from a communication partner device.

図2はカメラ200の概略構成を示すブロック図である。   FIG. 2 is a block diagram showing a schematic configuration of the camera 200.

カメラ200は、装置のメインの制御を行うメインボード201を有する。   The camera 200 has a main board 201 that performs main control of the apparatus.

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

不揮発性メモリ205は、フラッシュメモリ等のメモリで構成され、電源がオフされた時でも保持していたいデータを格納する。具体的には、不揮発性メモリ205には、ネットワークに接続するためのパスワードや認証情報等のネットワーク情報、MACアドレスやSSID等の過去に接続した通信装置のリストといったカメラ200の設定情報などが記憶される。また、本実施形態では、後述する簡単接続モード用の接続情報も記憶される。なお、これらのデータは、不揮発性メモリ205でなく、ROM203やRAM204等の他の記憶領域に保存されても良い。また、ROM303や不揮発性メモリ205に保存された設定情報をCPU202がRAM204に展開することで、記憶されたデータを利用した処理を行っても良い。   The non-volatile memory 205 is configured by a memory such as a flash memory, and stores data to be retained even when the power is turned off. Specifically, the nonvolatile memory 205 stores network information such as passwords and authentication information for connecting to the network, setting information of the camera 200 such as a list of previously connected communication devices such as MAC addresses and SSIDs, and the like. Is done. In the present embodiment, connection information for an easy connection mode to be described later is also stored. These data may be stored not in the nonvolatile memory 205 but in other storage areas such as the ROM 203 and the RAM 204. In addition, the CPU 202 expands the setting information stored in the ROM 303 or the nonvolatile memory 205 in the RAM 204, so that processing using the stored data may be performed.

画像メモリ206は、DRAM(dynamic RAM)等のメモリで構成され、無線LANユニット211等を介して受信した画像データや、符号復号化処理部210で処理した画像データ等の各種データを格納する。また、カメラ200が備える不図示の撮像部によって画像が撮影されることで生成される画像データも、画像メモリ206に格納される。   The image memory 206 is configured by 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 image data processed by the code decoding processing unit 210. In addition, image data generated by capturing an image by an imaging unit (not shown) included in the camera 200 is also stored in the image memory 206.

なお、カメラ200のメモリ構成は、この形態に限定されるものではなく、用途や目的に応じて、その数や特性、記憶容量等を適宜変更することができる。例えば、画像メモリ206とRAM204を共有させてもよい。また、画像メモリ206は、DRAM等で構成されているが、これに限定されず、ハードディスク(以下、HDD)や不揮発性メモリ等で構成されていても良い。   Note that the memory configuration of the camera 200 is not limited to this mode, and the number, characteristics, storage capacity, and the like can be changed as appropriate in accordance with the application and purpose. For example, the image memory 206 and the RAM 204 may be shared. The image memory 206 is configured by a DRAM or the like, but is not limited thereto, and may be configured by a hard disk (hereinafter referred to as HDD), a nonvolatile memory, or the like.

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

操作部208及び表示部209は、カメラ200に対する各種入力の受け付けやカメラ200に関する各種情報の表示を行う。   The operation unit 208 and the display unit 209 receive various inputs to the camera 200 and display various information regarding the camera 200.

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

無線LANユニット211は、Wi−Fi(登録商標)等の規格に準拠した無線LAN通信を実現するためのユニットである。無線LANユニット211は、無線LAN接続を確立するための、ビーコン検知処理や認証処理、無線LAN接続を確立した通信装置への印刷ジョブの送信等の機能を担う。また、無線LANユニット211は、バスケーブル212を介してシステムバス213に接続されている。なお、CPU202は無線LANユニット211を制御し、カメラ200内のアクセスポイントを動作させることが可能である。また、本実施形態では、カメラ200は、無線LANユニット211を介してプリンタ300に印刷を行わせるための印刷ジョブを送信する。 上記各種構成要素202〜212は、CPU202が管理するシステムバス213を介して、相互に接続されている。   The wireless LAN unit 211 is a unit for realizing wireless LAN communication compliant with a standard such as Wi-Fi (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 apparatus that has established a wireless LAN connection. The wireless LAN unit 211 is connected to the system bus 213 via the bus cable 212. Note that the CPU 202 can operate the access point in the camera 200 by controlling the wireless LAN unit 211. In this embodiment, the camera 200 transmits a print job for causing the printer 300 to perform printing via the wireless LAN unit 211. The various components 202 to 212 are connected to each other via a system bus 213 managed by the CPU 202.

なお、カメラ200は、無線LANユニット211以外の通信ユニットを備えていても良い。また、カメラ200は、通信ユニットを複数備え、複数種類の通信方式によって通信可能であっても良い。なお、通信は無線通信でダイレクトに通信しても良いし、ネットワーク上に設置したカメラ200外部のアクセスポイントを介して通信しても良い。通信方式としては、例えば、Bluetooth(登録商標)やNFC(Near Field Communication;ISO/IEC IS 18092)、Wi−Fi Aware等が挙げられる。また、無線ではなく、有線によって通信しても良い。   The camera 200 may include a communication unit other than the wireless LAN unit 211. Further, the camera 200 may include a plurality of communication units and be communicable 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 camera 200 installed on the network. Examples of the communication method include Bluetooth (registered trademark), NFC (Near Field Communication; ISO / IEC IS 18092), Wi-Fi Aware, and the like. Further, communication may be performed by wire instead of wireless.

図3はプリンタ300の概略構成を示すブロック図である。   FIG. 3 is a block diagram illustrating a schematic configuration of the printer 300.

プリンタ300は、装置のメインの制御を行うメインボード301を有する。   The printer 300 includes a main board 301 that performs main control of the apparatus.

メインボード301において、CPU302は、システム制御部であり、プリンタ300の全体を制御する。ROM303は、CPU302が実行する制御プログラムや組込OSプログラム等の各種プログラムを格納する。本実施形態では、ROM303に格納されている制御プログラムは、ROM303に格納されている組込OSの管理下で、スケジューリングやタスクスイッチ等のソフトウエア制御を行う。RAM304は、SRAM等のメモリで構成され、プログラム制御変数、ユーザが登録した設定値、プリンタ300の管理データ、後述のモード変更条件の設定情報等を格納し、各種ワーク用バッファ領域が設けられている。なお、これらのデータは、RAM304でなく、ROM303や不揮発性メモリ305等の他の記憶領域に保存されても良い。   In the main board 301, a CPU 302 is a system control unit and controls the entire printer 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 management of the embedded OS stored in the ROM 303. The RAM 304 is configured by a memory such as an SRAM, and stores program control variables, setting values registered by the user, management data of the printer 300, setting information of mode change conditions to be described later, and various work buffer areas. Yes. These data may be stored not in the RAM 304 but in other storage areas such as the ROM 303 and the nonvolatile memory 305.

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

画像メモリ306は、DRAM等のメモリで構成され、無線LANユニット316等を介して受け付けた画像データや、符号復号化処理部312で処理した画像データ等の各種データを格納する。   The image memory 306 is configured by 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)や不揮発性メモリ等で構成されていても良い。   Note that the memory configuration of the printer 300 is not limited to this form, and the number, characteristics, storage capacity, and the like can be changed as appropriate in accordance with the application and purpose. For example, the image memory 306 and the RAM 304 may be shared. The image memory 306 is configured by a DRAM or the like, but is not limited thereto, and may be configured by a hard disk (hereinafter referred to as HDD), a nonvolatile memory, or the like.

データ変換部307は、受信したジョブに含まれる画像データに対し、画像処理制御部(不図示)を介して、スムージング処理や記録濃度補正処理、色補正等の各種画像処理を行う。これらの処理を実行することで、データ変換部307は、印刷対象の画像データを高精細な印刷データに変換し、変換した印刷データを記録部314に出力する。   The data conversion unit 307 performs various types of image processing such as smoothing processing, recording density correction processing, and color correction on the image data included in the received job via an 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 a document using a CIS image sensor (contact image sensor) or the like. The reading control unit 308 performs high-definition image data by performing various types of image processing such as binarization processing and halftone processing on the image signal read by the reading unit 310.

操作部309及び表示部311は、プリンタ300に対する各種入力の受け付けやプリンタ300に関する各種情報の表示を行う。   An operation unit 309 and a display unit 311 accept various inputs to the printer 300 and display various information regarding the printer 300.

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

給紙部313は、印刷のための記録媒体を保持し、記録制御部315からの制御によって記録部314に対して記録媒体を供給する。なお、給紙部313は、複数の給紙カセットを有するものとする。   The paper supply 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. The paper feeding unit 313 has a plurality of paper feeding cassettes.

記録制御部315は、複数の給紙カセットのうちいずれの部位から給紙を行うかを制御する。また、記録制御部315は、記録部314のステータス等の各種情報を定期的に読みだすことで、RAM304の情報を更新する役割も果たす。具体的には、記録制御部315は、例えば、使用中、スリープ中、エラー発生中といった装置の状態やインクタンクの残量等の情報を更新する。   The recording control unit 315 controls from which portion of the plurality of paper feed cassettes paper feed is performed. The recording control unit 315 also serves to update information in the RAM 304 by periodically reading 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 apparatus such as in use, during sleep, and when an error occurs, and information such as the remaining amount of the ink tank.

記録部314は、データ変換部307から出力された印刷データや印刷ジョブに含まれる印刷設定情報に基づき、インク等の記録剤によって記録媒体上に画像を形成する画像形成処理(印刷処理)を実行する。   The recording unit 314 executes image forming processing (printing processing) for forming 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. To do.

無線LANユニット316は、Wi−Fi等の規格に準拠した無線LAN通信を実現するためのユニットである。無線LANユニット316は、無線LAN接続を確立するための、接続情報の送信処理や認証処理、無線LAN接続を確立した端末装置からのジョブの受信等の機能を担う。また、無線LANユニット316は、バスケーブル317を介してシステムバス318に接続されている。なお、CPU302は無線LANユニット211を制御し、プリンタ300内のアクセスポイントを動作させることが可能である。   The wireless LAN unit 316 is a unit for realizing wireless LAN communication compliant with a standard such as Wi-Fi. The wireless LAN unit 316 has functions such as connection information transmission processing and authentication processing for establishing a wireless LAN connection, and reception of a job from a terminal device that has established a wireless LAN connection. The wireless LAN unit 316 is connected to the system bus 318 via the bus cable 317. Note that the CPU 302 can operate the access point in the printer 300 by controlling the wireless LAN unit 211.

上記各種構成要素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外部のアクセスポイントを介して通信しても良い。通信方式としては、例えば、BluetoothやNFC、Wi−Fi Aware等が挙げられる。また、無線通信に限らず、有線LAN等によって有線による通信を行っても良い、プリンタ300は、これらの通信方式を利用したネットワークを介して、カメラ200等の他の外部装置からジョブを受け付ける。   Note that the printer 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 printer 300 installed on the network. Examples of the communication method include Bluetooth, NFC, Wi-Fi Aware, and the like. In addition to wireless communication, the printer 300 may perform wired communication through a wired LAN or the like. The printer 300 receives a job from another external device such as the camera 200 via a network using these communication methods.

図4は、表示部311に表示される、プリンタ300の操作画面の例を示す図である。図中(a)は、プリンタ300によって実行される機能が選択されるための画面であり、プリンタ300がユーザからの操作を待機する画面であるホーム画面420である。ホーム画面420には、コピーボタン421と、カード印刷ボタン422、カメラ印刷ボタン423が配置されている。コピーボタン421は、プリンタ300が、不図示の原稿台に載置された原稿を読取部310により読み取り、読み取った画像データを印刷するコピー処理を行うためのボタンである。カード印刷ボタン422は、プリンタ300が、不図示のカード挿入口に挿入されたメモリカード中の画像データの印刷を行うためのボタンである。カメラ印刷ボタン423は、プリンタ300が、カメラ200から受信する画像データの印刷を行うためボタンである。   FIG. 4 is a diagram illustrating an example of an operation screen of the printer 300 displayed on the display unit 311. (A) in the figure is a screen for selecting a function to be executed by the printer 300, and is a home screen 420 that is a screen on which the printer 300 waits for a user operation. On the home screen 420, a copy button 421, a card print button 422, and a camera print button 423 are arranged. The copy button 421 is a button for performing a copy process in which the printer 300 reads a document placed on a document table (not shown) by the reading unit 310 and prints the read image data. The card print button 422 is a button for the printer 300 to print image data in a memory card inserted into a card insertion slot (not shown). The camera print button 423 is a button for the printer 300 to print image data received from the camera 200.

また、図中(b)は、カメラ印刷待機画面430である。カメラ印刷待機画面430は、カメラ印刷ボタン423が押されることで、プリンタ300がカメラ200からの印刷ジョブ待ち状態となった場合に、表示部311に表示される。カメラ印刷待機画面430には、カメラ200によって印刷操作を行うようユーザに促すメッセージとともに、キャンセルボタン431が配置されている。キャンセルボタン431が押されることによって、プリンタ300は、カメラ200から受信する画像データの印刷を終了し、ホーム画面420を再度表示する。また、図中(c)は、カメラ印刷中画面440である。カメラ印刷中画面440は、プリンタ300が、カメラ200から印刷ジョブを受信して、印刷を実行している場合に、表示部311に表示される。カメラ印刷中画面440には、カメラ200から受信した印刷ジョブを実行中であることを示すメッセージとともに、キャンセルボタン441が配置されている。キャンセルボタン441が押されることによって、プリンタ300は、実行中の印刷ジョブ処理を中止し、ホーム画面420を表示部311に再度表示する。   Also, (b) in the figure is a camera print standby screen 430. The camera print standby screen 430 is displayed on the display unit 311 when the camera print button 423 is pressed to cause the printer 300 to wait for a print job from the camera 200. On the camera print standby screen 430, a cancel button 431 is arranged together with a message prompting the user to perform a print operation with the camera 200. When the cancel button 431 is pressed, the printer 300 ends printing of the image data received from the camera 200 and displays the home screen 420 again. Also, (c) in the figure is a camera printing screen 440. The camera printing screen 440 is displayed on the display unit 311 when the printer 300 receives a print job from the camera 200 and executes printing. On the camera printing screen 440, a cancel button 441 is arranged with a message indicating that the print job received from the camera 200 is being executed. When the cancel button 441 is pressed, the printer 300 stops the print job processing being executed and displays the home screen 420 on the display unit 311 again.

図5は、表示部209に表示される、画像再生画面520である。画像再生画面520は、プリンタ300に印刷させる画像を選択するための画像選択画面にて、画像が選択された場合に、表示部209に表示される。画像再生画面520には、撮影した画像521が操作画面全体に表示されるとともに、印刷実行ボタン522が表示されている。印刷実行ボタン522が押されることにより、カメラ200は、画像再生画面520に表示されている画像を印刷するための印刷ジョブを、プリンタ300に送信することができる。なお、印刷ジョブには、画像データ、印刷設定情報、描画命令等の情報が含まれるが、画像データのみが印刷ジョブとして送信されても良い。   FIG. 5 shows an image playback screen 520 displayed on the display unit 209. The image reproduction screen 520 is displayed on the display unit 209 when an image is selected on the image selection screen for selecting an image to be printed by the printer 300. On the image reproduction screen 520, a captured image 521 is displayed on the entire operation screen, and a print execution button 522 is displayed. When the print execution button 522 is pressed, the camera 200 can transmit a print job for printing the image displayed on the image reproduction screen 520 to the printer 300. The print job includes information such as image data, print setting information, and a drawing command, but only image data may be transmitted as a print job.

図6は、プリンタ300の状態遷移を示す図である。   FIG. 6 is a diagram illustrating state transition of the printer 300.

まず、プリンタ300が初期状態(電源オフ状態)である場合に、イベントE601が発生すると、プリンタ300は、待機状態605に遷移する。なお、イベントE601は、プリンタ300の電源スイッチ(不図示)が押下されることである。   First, when the event E601 occurs when the printer 300 is in the initial state (power off state), the printer 300 transitions to the standby state 605. Note that an event E601 is that a power switch (not shown) of the printer 300 is pressed.

プリンタ300が待機状態605に遷移すると、表示部209にはホーム画面420が表示される。その状態で、イベントE602が発生すると、プリンタ300は、プリンタ300内のアクセスポイントを有効化し、簡単接続モード606に遷移する。なお、イベントE602は、カメラ印刷ボタン423が押下される(画像データの通信指示が受け付けられる)ことである。このとき有効化されるアクセスポイントや簡単接続モードの詳細は後述する。簡単接続モード606は、サブ状態としてカメラ印刷待機状態607およびカメラ印刷中状態608を含む。このように、画像データの通信指示は、印刷ジョブを送信するためのトリガーとなる。 プリンタ300は、簡単接続モード606に遷移すると、まず、サブ状態としてカメラ印刷待機状態607に遷移する。そして、プリンタ300がカメラ印刷待機状態607に遷移すると、表示部209にはカメラ印刷待機画面430が表示される。その状態で、イベントE603が発生すると、プリンタ300は、カメラ印刷中状態608に遷移する。なお、イベントE603は、カメラ200から印刷ジョブを受信することである。   When the printer 300 transitions to the standby state 605, the home screen 420 is displayed on the display unit 209. In this state, when the event E602 occurs, the printer 300 validates the access point in the printer 300 and shifts to the easy connection mode 606. Note that event E602 is that the camera print button 423 is pressed (a communication instruction for image data is accepted). Details of the access point and the simple connection mode that are activated at this time will be described later. The easy connection mode 606 includes a camera print standby state 607 and a camera print in progress state 608 as sub-states. As described above, the image data communication instruction serves as a trigger for transmitting the print job. When the printer 300 transitions to the easy connection mode 606, the printer 300 first transitions to the camera print standby state 607 as a sub state. When the printer 300 transitions to the camera print standby state 607, a camera print standby screen 430 is displayed on the display unit 209. In this state, when the event E603 occurs, the printer 300 transitions to the camera printing state 608. The event E603 is reception of a print job from the camera 200.

プリンタ300が、カメラ印刷中状態608に遷移すると、表示部209にはカメラ印刷中画面440が表示される。その状態で、イベントE604が発生すると、プリンタ300は、待機状態605に遷移し、アクセスポイントを無効化する。なお、イベントE604は、印刷ジョブの処理の完了、カメラ200との無線LAN接続の切断、ユーザによるキャンセル操作のうちいずれかが検出されることである。   When the printer 300 transitions to the camera printing state 608, a camera printing screen 440 is displayed on the display unit 209. In this state, when the event E604 occurs, the printer 300 transitions to the standby state 605 and invalidates the access point. An event E604 is that any of completion of processing of a print job, disconnection of a wireless LAN connection with the camera 200, and a cancel operation by the user is detected.

以上がカメラ200から送信される印刷ジョブに基づいてプリンタ300が印刷を行う場合の、プリンタ300の一連の状態遷移の流れである。なお、表示部209にホーム画面420が表示されている状態では、プリンタ300は、コピーボタン421、カード印刷ボタン422の他、各種の操作を受け付けて、不図示の状態に遷移することにより各種の機能を実行する。ここでは、不図示の状態への遷移についての説明は省略する。   The above is the flow of a series of state transitions of the printer 300 when the printer 300 performs printing based on the print job transmitted from the camera 200. In the state where the home screen 420 is displayed on the display unit 209, the printer 300 accepts various operations in addition to the copy button 421 and the card print button 422, and shifts to various states by changing to a state (not shown). Perform the function. Here, a description of transition to a state (not shown) is omitted.

図7乃至図9を用いて、本実施形態において、プリンタ300及びカメラ200が実行する処理について説明する。   Processing executed by the printer 300 and the camera 200 in the present embodiment will be described with reference to FIGS.

図9は、プリンタ300とカメラ200の間で簡単接続を行って画像を印刷する処理におけるシーケンス図である。なお、本シーケンス図において各装置が実行する処理は、各装置が備えるCPUが、各装置が備えるメモリに格納された各種プログラムを各装置が備えるRAMに読み出して実行することにより実現される。   FIG. 9 is a sequence diagram in a process of printing an image by performing a simple connection between the printer 300 and the camera 200. Note that the processing executed by each device in this sequence diagram is realized by the CPU included in each device reading various programs stored in the memory included in each device into the RAM included in each device and executing them.

まず、S901では、ユーザ500は、プリンタ300を操作し、表示部311に表示されるホーム画面420におけるカメラ印刷ボタン423を押下する。   First, in step S <b> 901, the user 500 operates the printer 300 and presses the camera print button 423 on the home screen 420 displayed on the display unit 311.

S902では、プリンタ300は、ユーザ500によってカメラ印刷ボタン423が押下されることをトリガーとして、簡単接続モードへ遷移する。簡単接続モードとは、簡単接続モード用の予め定められた固定の接続情報(固定のSSID、固定のパスワード等)によって接続可能なアクセスポイントとしてプリンタ300が動作するモードである。固定の接続情報は、カメラ200の初期起動前から、カメラ200が備えるメモリ(ROM203等)に予め保持されている。すなわち、カメラ200は、接続情報を接続対象(データの送信対象)の装置から取得したり、ユーザから入力を受け付けたりすることなく、簡単接続モード用の接続情報を保持している。なお、カメラ200は、カメラ200が備えるメモリ(ROM203等)に、着荷後にカメラ200が起動したことがあるか否かを示す情報である初期起動フラグを格納している。着荷時(初期起動前)とは、初期起動フラグが、着荷後にカメラ200が起動したことがないことを示している状態をさす。なお、簡単接続モード用の固定の接続情報は、カメラ200に限らず、プリンタ300と通信する機能を有する各機種の各端末装置に、各端末装置の初期起動前から予め保持されている。カメラ200は、簡単接続モードであるプリンタ300と、固定の接続情報を用いて接続することで、接続情報を接続対象(データの送信対象)の装置から取得したり、ユーザから入力を受け付けたりすることなくプリンタ300と無線接続できる。本実施形態では、上述のように、簡単接続モード用の接続情報は、カメラ200が備えるメモリに予め保持されている必要があるため、ユーザが任意に変更することはできないものとする。なお、簡単接続モード用の接続情報に含まれるすべての情報が固定でなくとも良い。すなわち、簡単接続モード用の接続情報としてプリンタ300及びカメラ200が識別可能な固定の情報を少なくとも一部含んでいれば良い。この場合は、固定の情報のみ変更不可能とし、固定の情報以外の部分は、変更可能としても良い。プリンタ300は、簡単接続モード用の接続情報のうち、固定の情報を参照して、後述する認証処理を行う。また、カメラ200は、簡単接続モード用の接続情報のうち、固定の情報を参照して、後述する、プリンタ300の検知を行う。   In step S <b> 902, the printer 300 transitions to the easy connection mode with the user 500 pressing the camera print button 423 as a trigger. The easy connection mode is a mode in which the printer 300 operates as an access point that can be connected by predetermined fixed connection information (fixed SSID, fixed password, etc.) for the easy connection mode. The fixed connection information is held in advance in a memory (ROM 203 or the like) provided in the camera 200 before the camera 200 is initially activated. That is, the camera 200 holds connection information for the easy connection mode without acquiring connection information from a connection target (data transmission target) device or accepting an input from a user. The camera 200 stores an initial activation flag, which is information indicating whether or not the camera 200 has been activated after arrival, in a memory (ROM 203 or the like) included in the camera 200. The time of arrival (before initial activation) refers to a state in which the initial activation flag indicates that the camera 200 has not been activated after arrival. Note that the fixed connection information for the easy connection mode is not limited to the camera 200 but is held in advance in each terminal device of each model having a function of communicating with the printer 300 before the initial activation of each terminal device. The camera 200 acquires connection information from a connection target (data transmission target) device or accepts input from a user by connecting to the printer 300 in the easy connection mode using fixed connection information. Wirelessly connected to the printer 300 without any problem. In the present embodiment, as described above, the connection information for the easy connection mode needs to be held in advance in the memory included in the camera 200, and thus cannot be arbitrarily changed by the user. All information included in the connection information for the easy connection mode may not be fixed. That is, it is only necessary to include at least part of fixed information that can be identified by the printer 300 and the camera 200 as connection information for the easy connection mode. In this case, only fixed information cannot be changed, and portions other than the fixed information may be changed. The printer 300 performs authentication processing, which will be described later, with reference to fixed information among the connection information for the easy connection mode. The camera 200 detects the printer 300, which will be described later, with reference to fixed information in the connection information for the easy connection mode.

なお、簡単接続モードは、プリンタ300が煩雑な操作をユーザに要求せずにカメラ200と接続するモードであれば良いため、簡単接続モード用のSSIDは、固定のSSIDでなくても良く、カメラ200が予め保持していなくても良い。例えば、簡単接続モード用のSSIDは、パスワードなしにアクセス可能なフリーのアクセスポイントのSSIDであっても良い。この場合、簡単接続モードであるプリンタ300は、パスワードなしにアクセス可能なフリーのアクセスポイントとして動作する。これにより、カメラ200は、接続するアクセスポイントをユーザに選択させる処理を必要とするが、パスワードを入力させることを省略させることができる。   The simple connection mode may be any mode in which the printer 300 can be connected to the camera 200 without requiring a complicated operation from the user. Therefore, the SSID for the easy connection mode may not be a fixed SSID. 200 may not be held in advance. For example, the SSID for the easy connection mode may be an SSID of a free access point that can be accessed without a password. In this case, the printer 300 in the simple connection mode operates as a free access point that can be accessed without a password. As a result, the camera 200 requires processing for allowing the user to select an access point to be connected, but it is possible to omit inputting a password.

なお、プリンタ300は、簡単接続モード用のSSIDをもつアクセスポイントとしての動作を開始すると、簡単接続モード用のSSID等の接続情報を含むビーコンの発信を開始する。これにより、カメラ200は、ビーコンを受信して、簡単接続モードであるプリンタ300が周囲に存在することを認識することができる。また、プリンタ300は、簡単接続モードへ遷移する前に、その時のプリンタ300の接続モードの情報を、不揮発性メモリ305等に記憶する記憶制御処理を実行しておく。なお、接続モードの情報とは、その時のプリンタ300の接続状態に関する情報であり、例えば、接続相手の装置情報や、接続相手と再接続するための接続情報、接続モード名等である。また、接続モードは、例えば、有線LANで通信を行う有線LAN接続モードや、プリンタ300外部のアクセスポイントを介して端末装置と通信を行う、インフラ接続モード、プリンタ300外部の装置とP2P通信を行うダイレクト接続モード等がある。   When the printer 300 starts operating as an access point having an SSID for the easy connection mode, the printer 300 starts transmitting a beacon including connection information such as an SSID for the easy connection mode. Thereby, the camera 200 can recognize that the printer 300 that is in the easy connection mode exists in the vicinity by receiving the beacon. In addition, the printer 300 executes storage control processing for storing information on the connection mode of the printer 300 at that time in the nonvolatile memory 305 or the like before making a transition to the easy connection mode. The connection mode information is information related to the connection state of the printer 300 at that time, and includes, for example, device information of a connection partner, connection information for reconnecting to the connection partner, a connection mode name, and the like. The connection mode includes, for example, a wired LAN connection mode in which communication is performed using a wired LAN, an infrastructure connection mode in which communication is performed with a terminal device via an access point outside the printer 300, and P2P communication is performed with a device outside the printer 300. There are direct connection modes.

続いてS903では、ユーザ500は、カメラ200を操作し、表示部209に表示される画像再生画面520における印刷実行ボタン522を押下する。すなわち、ユーザ500は、プリンタ300に印刷させる画像を選択し、プリンタ300に印刷を実行させることを特定する。   In step S <b> 903, the user 500 operates the camera 200 and presses the print execution button 522 on the image reproduction screen 520 displayed on the display unit 209. That is, the user 500 selects an image to be printed by the printer 300 and specifies that the printer 300 is to execute printing.

続いてS904では、カメラ200は、ユーザ500によって印刷実行ボタン522が押下されたことをトリガーとして、簡単接続モード用の接続情報を用いて、プリンタ300と無線LAN接続を行う。具体的には、まず、プリンタ300から発せられるビーコンを検知し、当該ビーコンに含まれる装置情報を参照して、簡単接続モードであるプリンタ300が周囲に存在することを認識する。その後、カメラ200は、簡単接続モード用の接続情報を用いて、プリンタ300に無線LAN接続要求を送信し、認証が成功したら、プリンタ300との無線LAN接続の確立を行う。これにより、簡単接続モードであるプリンタ300がアクセスポイント、カメラ200が無線LANクライアントとなり、無線LAN接続が確立される。なお、S904において、カメラ200は、プリンタ300から発せられるビーコンの検出が行えない場合、一定期間検出動作を繰り返してもよい。こうすることにより、S901よりも先にS904の処理が実行された場合でも、カメラ200は、プリンタ300と接続することができる。また、カメラ200は、プリンタ300と接続する前に、その時のカメラ200の接続モードや接続相手の情報(接続相手の装置情報や、接続相手と再接続するための接続情報等)を、不揮発性メモリ205等に記憶しておく。   In step S <b> 904, the camera 200 performs wireless LAN connection with the printer 300 using the connection information for the easy connection mode, triggered by the user 500 pressing the print execution button 522. Specifically, first, a beacon emitted from the printer 300 is detected, and by referring to device information included in the beacon, it is recognized that the printer 300 that is in the easy connection mode exists in the vicinity. Thereafter, the camera 200 transmits a wireless LAN connection request to the printer 300 using the connection information for the easy connection mode, and when the authentication is successful, establishes a wireless LAN connection with the printer 300. As a result, the printer 300 in the simple connection mode becomes an access point, and the camera 200 becomes a wireless LAN client, and a wireless LAN connection is established. Note that in step S904, the camera 200 may repeat the detection operation for a certain period of time when the beacon emitted from the printer 300 cannot be detected. By doing so, the camera 200 can be connected to the printer 300 even when the processing of S904 is executed prior to S901. In addition, before the camera 200 is connected to the printer 300, the connection mode of the camera 200 at that time and the information of the connection partner (device information of the connection partner, connection information for reconnecting to the connection partner, etc.) Stored in the memory 205 or the like.

続いてS905では、カメラ200は、プリンタ300に対して印刷ジョブを送信する。このとき送信される印刷ジョブには、ユーザ500によって選択された画像の画像データや、ユーザ500によって設定された印刷設定情報等が含まれる。   In step S <b> 905, the camera 200 transmits a print job to the printer 300. The print job transmitted at this time includes image data of an image selected by the user 500, print setting information set by the user 500, and the like.

続いてS906では、プリンタ300は、受信した印刷ジョブに基づいて、印刷処理を実行する。   In step S906, the printer 300 executes print processing based on the received print job.

続いてS907では、プリンタ300は、印刷処理が完了すると、カメラ200に、印刷処理が完了したことを通知する。   In step S907, when the printing process is completed, the printer 300 notifies the camera 200 that the printing process is completed.

続いてS908では、カメラ200は、通知を受けて印刷処理が完了したことを認識したら、無線LAN接続を切断する。   In step S908, when the camera 200 receives the notification and recognizes that the printing process has been completed, the camera 200 disconnects the wireless LAN connection.

続いてS909において、プリンタ300は、簡単接続モード遷移前に保存した情報を用いて、簡単接続モード遷移前の接続状態に復帰する。これにより、プリンタ300は、簡単接続モード用のSSIDをもつアクセスポイントとしての動作を停止する。   In step S909, the printer 300 returns to the connection state before the transition to the easy connection mode using the information saved before the transition to the easy connection mode. As a result, the printer 300 stops operating as an access point having the SSID for the easy connection mode.

続いてS910において、カメラ200は、プリンタ300との接続前に保存した情報を用いて、プリンタ300との接続前の接続状態に復帰する。   In step S <b> 910, the camera 200 returns to the connection state before the connection with the printer 300 using the information stored before the connection with the printer 300.

なお、上記の説明においては、プリンタ300は、カメラ200との接続が切断された場合に、簡単接続モードを解除しているが、その他の条件によって簡単接続モードを解除してもよい。例えば、S906における印刷処理が終了した場合に簡単接続モードを解除してもよい。また、印刷ジョブの送信が終了した後のいずれかのタイミングで、カメラ200から明示的に簡単接続モードを解除するよう指示を送信し、プリンタ300はその指示に基づいて、簡単接続モードを解除してもよい。また、S901でプリンタに対する操作が行われ、プリンタ300が簡単接続モードに遷移したにもかかわらず、カメラ200に対する操作(S902の処理)が長い間行われないケースが考えられる。そのため、一定時間経過してもカメラ200との接続が行われない場合には、プリンタ300は、自発的に簡単接続モードを解除してもよい。また、簡単接続モードで動作する時間を出来るだけ短くするために、プリンタ300は、例えば、印刷ジョブの受信が完了したタイミングで、簡単接続モードを解除してもよい。   In the above description, the printer 300 cancels the easy connection mode when the connection with the camera 200 is disconnected. However, the simple connection mode may be canceled depending on other conditions. For example, the simple connection mode may be canceled when the printing process in S906 is completed. In addition, at any timing after the transmission of the print job is finished, an instruction to explicitly cancel the easy connection mode is transmitted from the camera 200, and the printer 300 cancels the easy connection mode based on the instruction. May be. In addition, there may be a case where the operation on the camera 200 (the process of S902) is not performed for a long time even though the operation on the printer is performed in S901 and the printer 300 is shifted to the easy connection mode. For this reason, if the connection with the camera 200 is not performed even after a predetermined time has elapsed, the printer 300 may voluntarily cancel the easy connection mode. Further, in order to shorten the operation time in the easy connection mode as much as possible, the printer 300 may cancel the easy connection mode, for example, at the timing when reception of the print job is completed.

図7は、プリンタ300とカメラ200が簡単接続により接続する際に、プリンタ300が実行する処理を示すフローチャートである。なお、本フローチャートが示す処理は、CPU302が、ROM303等のメモリに格納された各種プログラムをRAM304に読み出して実行することにより実現される。また、本フローチャートが示す処理は、CPU302が、表示部311に表示されるカメラ印刷ボタン423が押下されたことを検知した場合に開始される。   FIG. 7 is a flowchart illustrating processing executed by the printer 300 when the printer 300 and the camera 200 are connected by simple connection. Note that the processing shown in this flowchart is realized by the CPU 302 reading various programs stored in a memory such as the ROM 303 into the RAM 304 and executing them. Also, the processing shown in this flowchart is started when the CPU 302 detects that the camera print button 423 displayed on the display unit 311 is pressed.

S701で、CPU302は、プリンタ300を簡単接続モードに遷移させる。具体的には、CPU302は、簡単接続モード用の予め定められた固定の接続情報によって接続可能なアクセスポイントとしてプリンタ300を動作させる。なお、CPU302は、簡単接続モードの遷移直前に、その時の接続モードや接続相手の情報を不揮発性メモリ305等に記憶しておく。   In step S701, the CPU 302 causes the printer 300 to transition to the easy connection mode. Specifically, the CPU 302 causes the printer 300 to operate as an access point that can be connected based on predetermined fixed connection information for the easy connection mode. The CPU 302 stores the connection mode and connection partner information at that time in the nonvolatile memory 305 or the like immediately before the transition to the easy connection mode.

S702にて、CPU302は、カメラ200から、無線LAN接続要求を受信したか否かを判定する。CPU302は、無線LAN接続要求を受信したと判定した場合、S704の処理を行う。一方、CPU302は、無線LAN接続要求を受信していないと判定した場合、S703にて、プリンタ300を簡単接続モードに遷移させてから所定の時間が経過したか(タイムアウトしたか)否かを判定する。CPU302は、タイムアウトしたと判定した場合、S712の処理を行う。なおこのとき、CPU302は、タイムアウトした旨を表示部311に表示しても良い。CPU302は、タイムアウトしていないと判定した場合、S702の処理を再び行う。   In step S <b> 702, the CPU 302 determines whether a wireless LAN connection request is received from the camera 200. If the CPU 302 determines that a wireless LAN connection request has been received, the CPU 302 performs the process of S704. On the other hand, when determining that the wireless LAN connection request has not been received, the CPU 302 determines whether or not a predetermined time has elapsed (timed out) after the printer 300 is shifted to the simple connection mode in S703. To do. If the CPU 302 determines that a time-out has occurred, it performs the process of S712. At this time, the CPU 302 may display on the display unit 311 that a timeout has occurred. When determining that the time-out has not occurred, the CPU 302 performs the process of S702 again.

S704にて、CPU302は、無線LAN接続確立のための認証が成功したか否かを判定する。具体的には、CPU302は、受信した無線LAN接続要求に、簡単接続モード用のSSIDやパスワード、プリンタ300やカメラ200に対応するデバイス情報等が含まれるか否かを判定し、含まれる場合に、認証が成功したと判定する。CPU302は、無線LAN接続確立のための認証が成功したと判定した場合、S705の処理を行う。なおこのとき、CPU302は、認証が成功した旨をカメラ200に通知したり、表示部311に表示しても良い。一方、CPU302は、無線LAN接続確立のための認証が成功しなかったと判定した場合、S712の処理を行う。なおこのとき、CPU302は、認証が成功しなかった旨を、カメラ200に通知したり、表示部311に表示しても良い。   In step S704, the CPU 302 determines whether authentication for establishing a wireless LAN connection has succeeded. Specifically, the CPU 302 determines whether or not the received wireless LAN connection request includes the SSID and password for the easy connection mode, device information corresponding to the printer 300 and the camera 200, and the like. It is determined that the authentication is successful. When the CPU 302 determines that the authentication for establishing the wireless LAN connection is successful, the CPU 302 performs the process of S705. At this time, the CPU 302 may notify the camera 200 that the authentication is successful, or may display it on the display unit 311. On the other hand, if the CPU 302 determines that the authentication for establishing the wireless LAN connection has not succeeded, the CPU 302 performs the process of S712. At this time, the CPU 302 may notify the camera 200 or display on the display unit 311 that the authentication has not been successful.

S705にて、CPU302は、カメラ200とプリンタ300間の無線LAN接続を確立する。   In step S <b> 705, the CPU 302 establishes a wireless LAN connection between the camera 200 and the printer 300.

S706にて、CPU302は、カメラ200から、無線LAN接続を介して印刷ジョブを受信したか否かを判定する。CPU302は、印刷ジョブを受信したと判定した場合、S708の処理を行う。一方、CPU302は、印刷ジョブを受信していないと判定した場合、S707の処理を行い、無線LAN接続を確立してから所定の時間が経過したか(タイムアウトしたか)否かを判定する。CPU302は、タイムアウトしたと判定した場合、S712の処理を行う。なおこのとき、CPU302は、タイムアウトした旨を表示部311に表示しても良い。CPU302は、タイムアウトしていないと判定した場合、S706の処理を再び行う。   In step S <b> 706, the CPU 302 determines whether a print job has been received from the camera 200 via a wireless LAN connection. If the CPU 302 determines that a print job has been received, the CPU 302 performs processing in step S708. On the other hand, if the CPU 302 determines that a print job has not been received, the CPU 302 performs the process of S707 to determine whether a predetermined time has elapsed since the wireless LAN connection was established (timeout). If the CPU 302 determines that a time-out has occurred, it performs the process of S712. At this time, the CPU 302 may display on the display unit 311 that a timeout has occurred. When determining that the time-out has not occurred, the CPU 302 performs the process of S706 again.

S708にて、CPU302は、受信した印刷ジョブに基づいて印刷処理を実行する。   In step S708, the CPU 302 executes print processing based on the received print job.

S709にて、CPU302は、受信した印刷ジョブのキャンセル操作がユーザによって行われたか否を判定する。なお、ユーザは、印刷ジョブのキャンセルを、カメラ200に対する操作によっても、プリンタ300に対する操作(キャンセルボタン431やキャンセルボタン441の押下等)によっても実行できる。カメラ200に対する操作によって印刷ジョブの実行がキャンセルされる場合、CPU302は、無線LAN接続を介してカメラ200と通信し、印刷ジョブがキャンセルされたことを示す情報を受信する。プリンタ300に対する操作によって印刷ジョブの実行がキャンセルされる場合、CPU302は、無線LAN接続を介してカメラ200と通信し、印刷ジョブがキャンセルされたことを示す情報を送信する。CPU302は、ジョブのキャンセル操作が行われたと判定した場合、S712の処理を行う。一方、CPU302は、ジョブのキャンセル操作が行われていないと判定した場合、S7010の処理を行う。   In step S709, the CPU 302 determines whether the cancel operation for the received print job has been performed by the user. Note that the user can cancel the print job either by operating the camera 200 or by operating the printer 300 (such as pressing the cancel button 431 or the cancel button 441). When the execution of the print job is canceled by an operation on the camera 200, the CPU 302 communicates with the camera 200 via the wireless LAN connection and receives information indicating that the print job is canceled. When execution of a print job is canceled by an operation on the printer 300, the CPU 302 communicates with the camera 200 via a wireless LAN connection and transmits information indicating that the print job has been canceled. If the CPU 302 determines that a job cancel operation has been performed, the CPU 302 performs the process of S712. On the other hand, if the CPU 302 determines that the job cancel operation has not been performed, the CPU 302 performs the process of S7010.

S710にて、CPU302は、受信した印刷ジョブの処理が完了したか否を判定する。CPU302は、受信した印刷ジョブの処理が完了したと判定した場合、S711の処理を行う。一方、CPU302は、受信した印刷ジョブの処理が完了していないと判定した場合、S709の処理を再び行う。   In step S710, the CPU 302 determines whether the received print job has been processed. If the CPU 302 determines that the processing of the received print job has been completed, the CPU 302 performs the processing of S711. On the other hand, if the CPU 302 determines that the processing of the received print job has not been completed, the processing of S709 is performed again.

S711にて、CPU302は、受信した印刷ジョブの処理が完了した旨を、無線LAN接続を介してカメラ200に通知する。   In step S711, the CPU 302 notifies the camera 200 that the processing of the received print job has been completed via the wireless LAN connection.

S712にて、CPU302は、無線LAN接続を切断し、簡単接続モードの遷移直前に保存した情報を用いて、プリンタ300を簡単接続モード直前の接続モードに戻す。その後、CPU302は、処理を終了する。   In step S712, the CPU 302 disconnects the wireless LAN connection and returns the printer 300 to the connection mode immediately before the easy connection mode using the information stored immediately before the transition to the easy connection mode. Thereafter, the CPU 302 ends the process.

図8は、プリンタ300とカメラ200が簡単接続により接続する際に、カメラ200が実行する処理を示すフローチャートである。なお、本フローチャートが示す処理は、CPU202が、ROM203等のメモリに格納された各種プログラムをRAM204に読み出して実行することにより実現される。また、本フローチャートが示す処理は、プリンタ300に印刷させる画像データを選択するための画像選択画面が表示部209に表示されている状態で開始される。   FIG. 8 is a flowchart showing processing executed by the camera 200 when the printer 300 and the camera 200 are connected by simple connection. Note that the processing shown in this flowchart is realized by the CPU 202 reading various programs stored in a memory such as the ROM 203 into the RAM 204 and executing them. Further, the processing shown in this flowchart is started in a state where an image selection screen for selecting image data to be printed by the printer 300 is displayed on the display unit 209.

まず、S801にて、CPU202は、プリンタ300に印刷させる画像データの選択をユーザから受け付けたことを検知する。画像の選択を受け付けると、CPU202は、選択された画像に対応する画像再生画面520を表示部209に表示する。   First, in step S801, the CPU 202 detects that selection of image data to be printed by the printer 300 has been received from the user. When receiving the selection of the image, the CPU 202 displays an image reproduction screen 520 corresponding to the selected image on the display unit 209.

S802にて、CPU202は、ユーザから、選択された画像の印刷の実行が指示される。言いかえれば、CPU202は、ユーザから、選択された画像に対応する画像データの通信指示を受け付ける。具体的には、CPU202は、ユーザによって印刷実行ボタン522が押下されたことを検知する。そして、CPU202は、カメラ200の無線LAN機能を有効にし、プリンタ300から発せられるビーコンの検索を開始する。   In step S802, the CPU 202 instructs the execution of printing of the selected image from the user. In other words, the CPU 202 receives a communication instruction for image data corresponding to the selected image from the user. Specifically, the CPU 202 detects that the print execution button 522 has been pressed by the user. Then, the CPU 202 activates the wireless LAN function of the camera 200 and starts searching for beacons emitted from the printer 300.

S803にて、CPU202は、プリンタ300を検知したか否かを判定する。具体的には、CPU202は、予め保持している簡単接続モード用の接続情報と、検知したビーコンとを比較し、簡単接続モード用のSSID等の情報が含まれるビーコンを検知したか否かを判定する。CPU202は、プリンタ300を検知したと判定した場合、S805の処理を行う。一方、CPU202は、プリンタ300を検知していないと判定した場合、S804にて、印刷実行ボタン522が押下されたことを検知してから所定の時間が経過したか(タイムアウトしたか)否かを判定する。CPU202は、タイムアウトしたと判定した場合、S812の処理を行う。なおこのとき、CPU202は、タイムアウトした旨を表示部209に表示しても良い。CPU302は、タイムアウトしていないと判定した場合、S803の処理を再び行う。   In step S <b> 803, the CPU 202 determines whether the printer 300 has been detected. Specifically, the CPU 202 compares the connection information for the easy connection mode that is held in advance with the detected beacon, and determines whether or not a beacon that includes information such as the SSID for the easy connection mode is detected. judge. If the CPU 202 determines that the printer 300 has been detected, the CPU 202 performs the process of S805. On the other hand, if it is determined that the printer 300 has not been detected, the CPU 202 determines whether or not a predetermined time has elapsed (timed out) after detecting that the print execution button 522 has been pressed in S804. judge. If the CPU 202 determines that a time-out has occurred, it performs the process of S812. At this time, the CPU 202 may display on the display unit 209 that a timeout has occurred. When determining that the time-out has not occurred, the CPU 302 performs the process of S803 again.

S805にて、CPU202は、検知したプリンタ300に対し、無線LAN接続要求を送信する。なお、無線LAN接続要求には、簡単接続モード用のSSIDやパスワード、カメラ200のデバイス情報(MAC ADDRESS、デバイスタイプ等)等が含まれる。   In step S805, the CPU 202 transmits a wireless LAN connection request to the detected printer 300. Note that the wireless LAN connection request includes the SSID and password for the easy connection mode, device information of the camera 200 (MAC ADDRESS, device type, etc.), and the like.

S806にて、CPU202は、プリンタ300による、無線LAN接続確立のための認証が成功したか否かを判定する。具体的には、CPU202は、プリンタ300から、認証が成功したことを示す通知を受信したか否かを判定する。CPU202は、無線LAN接続確立のための認証が成功したと判定した場合、S807の処理を行う。なお、CPU202は、簡単接続の確立直前のカメラ200の接続モードや接続相手の情報を、不揮発性メモリ205等に記憶しておく。一方、CPU202は、無線LAN接続確立のための認証が成功しなかったと判定した場合、認証が成功しなかった旨を表示部209に表示し、S812の処理を行う。   In step S <b> 806, the CPU 202 determines whether authentication for establishing a wireless LAN connection by the printer 300 has succeeded. Specifically, the CPU 202 determines whether or not a notification indicating that the authentication is successful is received from the printer 300. If the CPU 202 determines that the authentication for establishing the wireless LAN connection has succeeded, the CPU 202 performs the process of S807. Note that the CPU 202 stores the connection mode of the camera 200 and the information of the connection partner immediately before the establishment of the easy connection in the nonvolatile memory 205 or the like. On the other hand, if the CPU 202 determines that the authentication for establishing the wireless LAN connection has not succeeded, the CPU 202 displays that the authentication has not been successful on the display unit 209 and performs the process of S812.

S807にて、CPU202は、プリンタ300とカメラ200間の無線LAN接続を確立する。   In S807, the CPU 202 establishes a wireless LAN connection between the printer 300 and the camera 200.

S808にて、CPU202は、選択された画像を印刷するための印刷ジョブを、無線LAN接続を介してプリンタ300に送信する。   In step S808, the CPU 202 transmits a print job for printing the selected image to the printer 300 via the wireless LAN connection.

S809にて、CPU202は、受信した印刷ジョブのキャンセル操作がユーザによって行われたか否を判定する。具体的には、CPU202は、印刷ジョブがキャンセルされたことを示す情報をプリンタ300から受信したか否かを判定する。また、CPU202は、印刷ジョブの送信が完了したあとに、表示部209に表示されるキャンセルボタンが押下されたか否かを判定する。CPU202は、キャンセル操作がユーザによって行われたと判定した場合、印刷ジョブの処理がキャンセルされた旨を表示部209に表示し、S812の処理を行う。一方、CPU202は、キャンセル操作がユーザによって行われなかったと判定した場合、S810の処理を行う。   In step S809, the CPU 202 determines whether the cancel operation for the received print job has been performed by the user. Specifically, the CPU 202 determines whether information indicating that the print job has been canceled is received from the printer 300. Further, the CPU 202 determines whether or not a cancel button displayed on the display unit 209 has been pressed after the transmission of the print job is completed. If the CPU 202 determines that the cancel operation has been performed by the user, the CPU 202 displays on the display unit 209 that the print job process has been canceled, and performs the process of S812. On the other hand, if the CPU 202 determines that the cancel operation has not been performed by the user, the CPU 202 performs the process of S810.

S810では、CPU202は、印刷ジョブの処理が完了した旨を示す通知をプリンタ300から受信したか否かを判定する。CPU202は、印刷ジョブの処理が完了した旨を示す通知をプリンタ300から受信したと判定した場合、S812の処理を行う。一方、CPU202は、印刷ジョブの処理が完了した旨を示す通知をプリンタ300から受信していないと判定した場合、S811にて、印刷ジョブを送信してから所定の時間が経過したか(タイムアウトしたか)否かを判定する。CPU202は、タイムアウトしたと判定した場合、S812の処理を行う。なおこのとき、CPU202は、タイムアウトした旨を表示部209に表示しても良い。CPU202は、タイムアウトしていないと判定した場合、S810の処理を再び行う。   In step S <b> 810, the CPU 202 determines whether a notification indicating that the print job processing has been completed is received from the printer 300. If the CPU 202 determines that a notification indicating that the processing of the print job has been completed is received from the printer 300, the CPU 202 performs the processing of S812. On the other hand, if the CPU 202 determines that the notification indicating that the processing of the print job has been completed has not been received from the printer 300, in step S811, whether a predetermined time has elapsed since the print job was transmitted (timeout has occurred). Determine whether or not. If the CPU 202 determines that a time-out has occurred, it performs the process of S812. At this time, the CPU 202 may display on the display unit 209 that a timeout has occurred. If the CPU 202 determines that it has not timed out, it performs the process of S810 again.

S812にて、CPU202は、無線LAN接続を切断し、無線LAN接続の確立直前に保存した情報を用いて、カメラ200を無線LAN接続の確立直前の接続モードに戻す。その後、CPU202は、処理を終了する。   In S812, the CPU 202 disconnects the wireless LAN connection and returns the camera 200 to the connection mode immediately before the establishment of the wireless LAN connection using the information stored immediately before the establishment of the wireless LAN connection. Thereafter, the CPU 202 ends the process.

上述のように、本実施形態では、カメラ200は、簡単接続モードで動作するプリンタ300と、簡単接続モード用の固定の接続情報を用いて接続する。簡単接続モード用の固定の接続情報は、着荷時に予めカメラ200が備えるメモリに保持されているため、カメラ200は、接続時に、接続情報の入力をユーザに要求することがない。このような形態とすることで、本実施形態は、ユーザによる煩雑な無線LAN設定無しに、カメラ200とプリンタ300とを接続させることができる。   As described above, in this embodiment, the camera 200 is connected to the printer 300 operating in the easy connection mode using the fixed connection information for the easy connection mode. Since the fixed connection information for the easy connection mode is held in advance in a memory included in the camera 200 when it arrives, the camera 200 does not request the user to input connection information at the time of connection. By adopting such a form, this embodiment can connect the camera 200 and the printer 300 without complicated wireless LAN setting by the user.

また、本実施形態は、WPS等の、ユーザによる煩雑な無線LAN設定を省略した従来の接続方法と比較すると、プッシュボタン認証処理等の、通信装置から接続情報を取得する処理が必要ないため、迅速に接続を開始できるという利点がある。   In addition, since the present embodiment does not require a process for acquiring connection information from a communication device such as a push button authentication process as compared with a conventional connection method such as WPS in which a complicated wireless LAN setting by a user is omitted. There is an advantage that the connection can be started quickly.

また、本実施形態では、カメラ200は、ユーザから、データの通信指示を受け付けた場合に、固定の接続情報を用いた接続を確立し、当該接続を介してデータを送信する。このように、本実施形態では、接続の確立とデータの送信の両方が、ユーザからデータの通信指示を受け付けることをトリガーとして自動で行われるため、ユーザは、接続の確立のための操作と、データの送信のための操作を別々に行う必要がない。そのため、本実施形態は、接続の確立及びデータの送信におけるユーザの利便性を向上することができる。   In this embodiment, when receiving a data communication instruction from a user, the camera 200 establishes a connection using fixed connection information and transmits data through the connection. As described above, in this embodiment, since both the establishment of the connection and the transmission of the data are automatically performed by accepting a data communication instruction from the user, the user performs an operation for establishing the connection, There is no need to perform separate operations for data transmission. Therefore, the present embodiment can improve the convenience of the user in establishing a connection and transmitting data.

また、本実施形態では、S901に示すように、ユーザによってプリンタ300に直接操作が行われて、プリンタ300が簡単接続モードに遷移した場合のみ、簡単接続が実行可能となる。また、印刷が終了した場合や、接続が切断された場合には、プリンタ300は、簡単接続モードを解除し、簡単接続が実行不可能となる。このような形態とすることで、簡単接続が実行可能な状態が長時間維持されてしまうことを抑制することができる。すなわち、簡単接続が実行可能な期間を、プリンタ300を操作可能なユーザの任意の期間に限定することで、第3者が所持する端末装置とプリンタ300とが簡単接続してしまうことを抑制できる。   In this embodiment, as shown in S901, simple connection can be executed only when the user directly operates the printer 300 and the printer 300 shifts to the simple connection mode. In addition, when printing is completed or the connection is disconnected, the printer 300 cancels the easy connection mode, and the easy connection cannot be executed. By setting it as such a form, it can suppress that the state which can perform an easy connection will be maintained for a long time. In other words, by limiting the period during which the simple connection can be performed to an arbitrary period for the user who can operate the printer 300, it is possible to prevent the terminal device owned by the third party and the printer 300 from being easily connected. .

(その他の実施形態)
上述の実施形態では、簡単接続モード用の接続情報は、着荷時に端末装置が備えるROM等のメモリに予め保持されているものとしたが、この形態に限定されない。例えば、端末装置にインストールされるアプリケーション等のプログラムに保持されるものとであっても良い。例えば、スマートホン等の端末装置は、通信装置に印刷ジョブを送信するためには、当該通信装置に対応する専用のアプリケーション(以下、専用アプリ)を必要とする場合がある。その場合、専用アプリに簡単接続モード用の接続情報を保持させることで、端末装置は、当該専用アプリのインストールに伴い、簡単接続モード用の接続情報を取得することができる。そして、端末装置は、専用アプリを介して通信装置に印刷ジョブを送信する場合には、取得した簡単接続モード用の接続情報を用いて通信装置と通信することで、ユーザによる接続情報の入力を受け付けること無しに通信装置と簡単に接続することができる。
(Other embodiments)
In the above-described embodiment, the connection information for the easy connection mode is stored in advance in a memory such as a ROM provided in the terminal device at the time of arrival. However, the present invention is not limited to this form. For example, it may be held in a program such as an application installed in the terminal device. For example, a terminal device such as a smart phone may require a dedicated application (hereinafter referred to as a dedicated application) corresponding to the communication device in order to transmit a print job to the communication device. In that case, by holding the connection information for the easy connection mode in the dedicated application, the terminal device can acquire the connection information for the easy connection mode with the installation of the dedicated application. When the terminal device transmits a print job to the communication device via the dedicated application, the terminal device communicates with the communication device using the acquired connection information for the easy connection mode, so that the user can input the connection information. It is possible to easily connect to a communication device without receiving it.

上述の実施形態では、ユーザによる画像データの通信指示が受け付けられた場合、その後ユーザによる入力の受け付けなしに、画像データの送信が行われる形態としたがこの形態に限定されない。例えば、装置間の接続が確立した後のユーザ確認等、ユーザによる画像データの通信指示が受け付けられた後に、何らかのユーザ操作が介入されてから、画像データが送信されても良い。   In the above-described embodiment, when an image data communication instruction is received from the user, the image data is transmitted without receiving an input from the user thereafter. However, the present invention is not limited to this form. For example, the image data may be transmitted after some user operation is intervened after receiving a communication instruction of image data from the user, such as user confirmation after the connection between the apparatuses is established.

上述の実施形態では、端末装置は、通信装置に印刷ジョブを送信しているが、この形態に限定されない。例えば、通信装置にスキャンを実行させるためのスキャンジョブや、プリンタ300にコピーを行わせるためコピージョブ、通信装置の設定を変更するための設定変更コマンド、通信装置に保存させる画像・文書・動画データ等を送信しても良い。通信装置にスキャンジョブが送信された場合、当該スキャンジョブに基づいて原稿がスキャンされることにより生成される画像データが、ワンタイム接続モード又はダイレクト接続モード用の接続情報を介した接続により端末装置に送信される。また、例えばスキャンジョブは、CPU202がユーザにより不図示のスキャン実行ボタンが押下されたこと(画像データの通信指示が受け付けられたこと)を検知した場合に通信装置に送信される。   In the above-described embodiment, the terminal device transmits a print job to the communication device, but is not limited to this form. For example, a scan job for causing the communication device to execute a scan, a copy job for causing the printer 300 to perform a copy, a setting change command for changing the setting of the communication device, and image / document / movie data to be saved in the communication device Etc. may be transmitted. When a scan job is transmitted to the communication device, the image data generated by scanning the document based on the scan job is connected to the terminal device through connection information for the one-time connection mode or the direct connection mode. Sent to. For example, a scan job is transmitted to the communication device when the CPU 202 detects that a scan execution button (not shown) is pressed by the user (an image data communication instruction has been accepted).

上述の実施形態の効果を実現できれば、上述の実施形態のフローチャートの処理の順番を入れ替えても良いし、その全ての処理を実行しなくても良いし、処理の内容を変更しても良い。   As long as the effects of the above-described embodiment can be realized, the processing order of the flowcharts of the above-described embodiment may be changed, all of the processing may not be executed, or the processing content may be changed.

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

200 カメラ
300 プリンタ
200 Camera 300 Printer

Claims (30)

所定の接続情報によって接続可能な通信装置と通信する端末装置であって、
ユーザからの操作を受け付け可能な操作手段と、
ユーザから前記所定の接続情報の入力を前記操作手段が受け付けることなく、且つ、前記通信装置から前記所定の接続情報を前記端末装置が取得することなしに前記所定の接続情報を保持する保持手段と、
前記保持手段により保持されている前記所定の接続情報によって、前記端末装置と前記通信装置とを接続させる接続手段と、
前記所定の接続情報による前記端末装置と前記通信装置との接続によって、画像データを前記通信装置と通信する通信手段と、を有することを特徴とする端末装置。
A terminal device that communicates with a communication device that can be connected by predetermined connection information,
An operation means capable of accepting an operation from a user;
Holding means for holding the predetermined connection information without the operation unit receiving the input of the predetermined connection information from a user and without the terminal device acquiring the predetermined connection information from the communication device; ,
Connection means for connecting the terminal device and the communication device according to the predetermined connection information held by the holding means;
A terminal device comprising: a communication unit configured to communicate image data with the communication device by connecting the terminal device and the communication device according to the predetermined connection information.
前記所定の接続情報は、ユーザが任意に変更できない情報を少なくとも含むことを特徴とする請求項1に記載の端末装置。   The terminal device according to claim 1, wherein the predetermined connection information includes at least information that a user cannot arbitrarily change. 前記所定の接続情報は、SSID又はパスワードを含むことを特徴とする請求項1又は2に記載の端末装置。   The terminal device according to claim 1, wherein the predetermined connection information includes an SSID or a password. 前記所定の接続情報は、前記端末装置の初期起動前から、前記保持手段に保持されていることを特徴とする請求項1乃至3のいずれか1項に記載の端末装置。   4. The terminal device according to claim 1, wherein the predetermined connection information is held in the holding unit before the terminal device is initially activated. 5. 前記所定の接続情報は、所定のプログラムが前記端末装置にインストールされた場合に、前記保持手段に保持されることを特徴とする請求項1乃至3のいずれか1項に記載の端末装置。   The terminal device according to claim 1, wherein the predetermined connection information is held in the holding unit when a predetermined program is installed in the terminal device. 前記通信装置に対しユーザによる所定の操作が行われた場合、前記通信装置は、前記所定の接続情報による接続が可能な状態となり、
前記接続手段は、前記通信装置が、前記所定の接続情報による接続が可能な状態である場合に、前記保持手段により保持されている前記所定の接続情報によって、前記端末装置と前記通信装置とを接続させることを特徴とする請求項1乃至5のいずれか1項に記載の端末装置。
When a predetermined operation by the user is performed on the communication device, the communication device is in a state where connection by the predetermined connection information is possible,
The connection means connects the terminal device and the communication apparatus according to the predetermined connection information held by the holding means when the communication apparatus is in a state in which connection by the predetermined connection information is possible. The terminal device according to claim 1, wherein the terminal device is connected.
前記通信手段による前記画像データの通信が完了した場合、前記端末装置と前記通信装置との接続が切断され、
前記通信装置は、前記通信手段による前記画像データの通信が完了した場合、前記所定の接続情報による接続が可能な状態を解除することを特徴とする請求項6に記載の端末装置。
When the communication of the image data by the communication means is completed, the connection between the terminal device and the communication device is disconnected,
The terminal device according to claim 6, wherein the communication device cancels a state in which connection by the predetermined connection information is possible when the communication of the image data by the communication unit is completed.
前記通信手段により前記通信装置に送信される前記画像データに基づいて記録媒体に画像を形成する画像形成処理が前記通信装置によって完了した場合、前記端末装置と前記通信装置との接続が切断され、
前記通信装置は、前記画像形成処理が前記通信装置によって完了した場合、前記所定の接続情報による接続が可能な状態を解除することを特徴とする請求項7に記載の端末装置。
When the image forming process for forming an image on a recording medium based on the image data transmitted to the communication device by the communication unit is completed by the communication device, the connection between the terminal device and the communication device is disconnected,
The terminal device according to claim 7, wherein when the image forming process is completed by the communication device, the communication device releases a state in which connection by the predetermined connection information is possible.
前記端末装置が前記所定の接続情報によって前記通信装置と接続する前の前記端末装置の接続状態に関する情報をメモリに記憶させる記憶制御手段と、
前記端末装置と前記通信装置との接続が切断された場合、前記記憶制御手段により記憶された前記接続状態に関する情報に基づいて、前記端末装置が前記所定の接続情報によって前記通信装置と接続する前の接続状態に、前記端末装置の接続状態を遷移させる遷移手段と、を更に有することを特徴とする請求項7又は請求項8に記載の端末装置。
Storage control means for storing, in a memory, information relating to a connection state of the terminal device before the terminal device is connected to the communication device according to the predetermined connection information;
When the connection between the terminal device and the communication device is disconnected, before the terminal device connects to the communication device based on the predetermined connection information based on the information on the connection state stored by the storage control unit The terminal device according to claim 7, further comprising transition means for transitioning the connection state of the terminal device to the connection state.
前記通信手段は、前記画像データを含み、且つ前記通信装置に前記画像データに基づいた印刷を実行させるための印刷ジョブを前記通信装置に送信することを特徴とする請求項1乃至請求項9のいずれか1項に記載の端末装置。   10. The communication device according to claim 1, wherein the communication unit transmits a print job including the image data and causing the communication device to execute printing based on the image data. The terminal device according to any one of claims. 前記通信手段は、前記通信装置にスキャンを実行させるためのスキャンジョブを前記通信装置に送信し、前記通信装置によってスキャンが実行されることにより生成された前記画像データを前記通信装置から受信することを特徴とする請求項1乃至請求項10のいずれか1項に記載の端末装置。   The communication means transmits a scan job for causing the communication device to execute a scan to the communication device, and receives the image data generated by the scan performed by the communication device from the communication device. The terminal device according to any one of claims 1 to 10, wherein: 前記通信手段は、前記通信装置に保存させるための画像データを前記通信装置に送信することを特徴とする請求項1乃至請求項11のいずれか1項に記載の端末装置。   The terminal device according to claim 1, wherein the communication unit transmits image data to be stored in the communication device to the communication device. ユーザから画像データの通信指示を受け付ける受け付け手段を有し、
前記接続手段は、前記受け付け手段により前記通信指示が受け付けられた場合、前記保持手段により保持されている前記所定の接続情報によって、前記端末装置と前記通信装置とを接続させることを特徴とする請求項1乃至請求項12のいずれか1項に記載の端末装置。
Having a receiving means for receiving a communication instruction of image data from a user;
The connection means connects the terminal apparatus and the communication apparatus according to the predetermined connection information held by the holding means when the communication instruction is received by the receiving means. The terminal device according to any one of claims 1 to 12.
ユーザから画像データの通信指示を受け付ける受け付け手段を有し、
前記受け付け手段によりユーザから前記通信指示が受け付けられた後、ユーザから前記端末装置に対する操作が受け付けられることなく、前記通信手段による前記画像データの通信が実行されることを特徴とする請求項1乃至請求項12のいずれか1項に記載の端末装置。
Having a receiving means for receiving a communication instruction of image data from a user;
The communication of the image data by the communication means is executed without receiving an operation on the terminal device from the user after the communication instruction is received from the user by the receiving means. The terminal device according to claim 12.
所定の接続情報によって接続可能な通信装置と通信し、
ユーザによる前記所定の接続情報の入力及び、前記通信装置からの前記所定の接続情報の取得なしに前記所定の接続情報を保持する保持手段を有する端末装置の制御方法であって、
前記保持手段により保持されている前記所定の接続情報によって、前記端末装置と前記通信装置とを接続させる接続ステップと、
前記所定の接続情報による前記端末装置と前記通信装置との接続によって、画像データを前記通信装置と通信する通信ステップと、を有することを特徴とする制御方法。
Communicates with a connectable communication device according to predetermined connection information,
A control method of a terminal device having holding means for holding the predetermined connection information without inputting the predetermined connection information by a user and acquiring the predetermined connection information from the communication device,
A connection step of connecting the terminal device and the communication device according to the predetermined connection information held by the holding means;
And a communication step of communicating image data with the communication device by connection between the terminal device and the communication device based on the predetermined connection information.
所定の接続情報によって接続可能な通信装置と通信する通信手段と、
ユーザからの操作を受け付け可能な操作手段と、
ユーザから前記所定の接続情報の入力を前記操作手段が受け付けることなく、且つ、前記通信装置から前記所定の接続情報を取得することなしに前記所定の接続情報を保持する保持手段と、を有する端末装置に、
前記保持手段により保持されている前記所定の接続情報によって、前記端末装置と前記通信装置とを接続させる接続ステップと、
前記所定の接続情報による前記端末装置と前記通信装置との接続によって、画像データを前記通信装置と通信する通信ステップと、を実行させることを特徴とするプログラム。
Communication means for communicating with a communication device connectable by predetermined connection information;
An operation means capable of accepting an operation from a user;
A holding unit that holds the predetermined connection information without the operation unit receiving the input of the predetermined connection information from a user and without acquiring the predetermined connection information from the communication device; To the device,
A connection step of connecting the terminal device and the communication device according to the predetermined connection information held by the holding means;
And a communication step of communicating image data with the communication device by connection between the terminal device and the communication device based on the predetermined connection information.
前記所定の接続情報は、ユーザが任意に変更できない情報を少なくとも含むことを特徴とする請求項15に記載のプログラム。   The program according to claim 15, wherein the predetermined connection information includes at least information that a user cannot arbitrarily change. 前記所定の接続情報は、SSID又はパスワードを含むことを特徴とする請求項16又は17に記載のプログラム。   The program according to claim 16 or 17, wherein the predetermined connection information includes an SSID or a password. 前記所定の接続情報は、前記端末装置の初期起動前から、前記保持手段に保持されていることを特徴とする請求項16乃至18のいずれか1項に記載のプログラム。   The program according to any one of claims 16 to 18, wherein the predetermined connection information is held in the holding unit before the terminal device is initially activated. 前記所定の接続情報は、前記プログラムが前記端末装置にインストールされた場合に、前記保持手段に保持されることを特徴とする請求項16乃至18のいずれか1項に記載のプログラム。   The program according to any one of claims 16 to 18, wherein the predetermined connection information is held in the holding unit when the program is installed in the terminal device. 前記通信装置に対しユーザによる所定の操作が行われた場合、前記通信装置は、前記所定の接続情報を用いた接続が可能な状態となり、
前記通信装置が、前記所定の接続情報を用いた接続が可能な状態である場合に、前記保持手段により保持されている前記所定の接続情報によって、前記通信装置と前記端末装置が接続することを特徴とする請求項16乃至20のいずれか1項に記載のプログラム。
When a predetermined operation by the user is performed on the communication device, the communication device is in a state in which connection using the predetermined connection information is possible,
When the communication device is in a state where connection using the predetermined connection information is possible, the communication device and the terminal device are connected by the predetermined connection information held by the holding unit. The program according to any one of claims 16 to 20, wherein the program is characterized in that
前記画像データの通信が完了された場合、前記所定の接続情報による前記通信装置と前記端末装置との接続が切断され、
前記通信装置は、前記画像データの通信が完了された場合、前記所定の接続情報による接続が可能な状態を解除することを特徴とする請求項21に記載のプログラム。
When the communication of the image data is completed, the connection between the communication device and the terminal device according to the predetermined connection information is disconnected,
The program according to claim 21, wherein when the communication of the image data is completed, the communication device cancels a state in which connection by the predetermined connection information is possible.
前記画像データに基づいた画像を記録媒体に形成する画像形成処理が前記通信装置によって完了された場合、前記所定の接続情報による前記通信装置と前記端末装置との接続が切断され、
前記通信装置は、前記画像形成処理が前記通信装置によって完了された場合、前記所定の接続情報による接続が可能な状態を解除することを特徴とする請求項22に記載のプログラム。
When an image forming process for forming an image based on the image data on a recording medium is completed by the communication device, the connection between the communication device and the terminal device based on the predetermined connection information is disconnected,
The program according to claim 22, wherein when the image forming process is completed by the communication device, the communication device releases a state in which connection by the predetermined connection information is possible.
前記所定の接続情報によって前記端末装置が前記通信装置と接続する前の前記端末装置の接続状態に関する情報をメモリに記憶させる記憶制御ステップと、
前記通信装置と前記端末装置との接続が切断された場合、前記メモリに記憶された前記接続状態に関する情報に基づいて、前記所定の接続情報によって前記端末装置が前記通信装置と接続する前の接続状態に、前記端末装置の接続状態を遷移させる遷移ステップと、を更に実行させることを特徴とする請求項22又は請求項23に記載のプログラム。
A storage control step of storing, in a memory, information related to a connection state of the terminal device before the terminal device is connected to the communication device according to the predetermined connection information;
When the connection between the communication device and the terminal device is disconnected, the connection before the terminal device connects to the communication device based on the predetermined connection information based on the information related to the connection state stored in the memory The program according to claim 22 or 23, further causing a transition step of transitioning a connection state of the terminal device to a state.
前記画像データを含み、且つ前記通信装置に前記画像データに基づいた印刷を実行させるための印刷ジョブが前記通信装置に送信されることを特徴とする請求項16乃至請求項24のいずれか1項に記載のプログラム。   25. The print job including the image data and causing the communication device to execute printing based on the image data is transmitted to the communication device. The program described in. 前記通信装置にスキャンを実行させるためのスキャンジョブが前記通信装置に送信され、
前記通信装置によってスキャンが実行されることにより生成された前記画像データが前記通信装置から受信されることを特徴とする請求項16乃至請求項25のいずれか1項に記載のプログラム。
A scan job for causing the communication device to execute a scan is transmitted to the communication device,
The program according to any one of claims 16 to 25, wherein the image data generated by executing a scan by the communication device is received from the communication device.
前記通信装置に保存させるための画像データが前記通信装置に送信されることを特徴とする請求項16乃至請求項26のいずれか1項に記載のプログラム。   27. The program according to claim 16, wherein image data to be stored in the communication device is transmitted to the communication device. ユーザから画像データの通信指示を受け付ける受け付けステップを実行させ、
ユーザから前記通信指示が受け付けられた場合、前記保持手段により保持されている前記所定の接続情報が用いられて、前記通信装置と接続されることを特徴とする請求項16乃至請求項27のいずれか1項に記載のプログラム。
Execute a reception step for receiving a communication instruction for image data from the user,
28. Any one of claims 16 to 27, wherein when the communication instruction is received from a user, the predetermined connection information held by the holding means is used to connect to the communication device. The program according to item 1.
ユーザから画像データの通信指示を受け付ける受け付けステップを実行させ、
ユーザから前記通信指示が受け付けられた後、ユーザから前記端末装置に対する操作が受け付けられることなく、前記画像データの通信が実行されることを特徴とする請求項16乃至請求項28のいずれか1項に記載のプログラム。
Execute a reception step for receiving a communication instruction for image data from the user,
29. The communication of the image data is performed after the communication instruction is received from a user, and the operation on the terminal device is not received from the user. The program described in.
所定の接続情報によって接続可能な通信装置と、前記通信装置と通信する端末装置とを含む通信システムあって、
前記端末装置は、
ユーザからの操作を受け付け可能な操作手段と、
ユーザから前記所定の接続情報の入力を前記操作手段が受け付けることなく、且つ、前記通信装置から前記所定の接続情報を前記端末装置が取得することなしに前記所定の接続情報を保持する保持手段と、
前記通信装置が、前記所定の接続情報によって接続可能な状態である場合、前記保持手段により保持されている前記所定の接続情報によって、前記端末装置と前記通信装置とを接続させる接続手段と、
前記所定の接続情報による前記端末装置と前記通信装置との接続によって、画像データを前記通信装置と通信する通信手段と、を有し、
前記通信装置は、
ユーザから所定の操作を受け付けた場合に、前記通信装置を、前記所定の接続情報によって接続可能な状態に遷移させる遷移手段を有する
ことを特徴とする通信システム。
A communication system including a communication device connectable by predetermined connection information and a terminal device communicating with the communication device,
The terminal device
An operation means capable of accepting an operation from a user;
Holding means for holding the predetermined connection information without the operation unit receiving the input of the predetermined connection information from a user and without the terminal device acquiring the predetermined connection information from the communication device; ,
When the communication device is in a connectable state based on the predetermined connection information, connection means for connecting the terminal device and the communication device with the predetermined connection information held by the holding means;
Communication means for communicating image data with the communication device by connection between the terminal device and the communication device according to the predetermined connection information;
The communication device
A communication system comprising transition means for transitioning the communication device to a connectable state based on the predetermined connection information when a predetermined operation is received from a user.
JP2016088545A 2016-04-26 2016-04-26 Terminal device, control method, program and communication system Pending JP2017200019A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2016088545A JP2017200019A (en) 2016-04-26 2016-04-26 Terminal device, control method, program and communication system
US15/490,207 US10445035B2 (en) 2016-04-26 2017-04-18 Control method and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016088545A JP2017200019A (en) 2016-04-26 2016-04-26 Terminal device, control method, program and communication system

Publications (1)

Publication Number Publication Date
JP2017200019A true JP2017200019A (en) 2017-11-02

Family

ID=60238174

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016088545A Pending JP2017200019A (en) 2016-04-26 2016-04-26 Terminal device, control method, program and communication system

Country Status (1)

Country Link
JP (1) JP2017200019A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022081682A (en) * 2016-05-19 2022-05-31 伊東電機株式会社 Conveying device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022081682A (en) * 2016-05-19 2022-05-31 伊東電機株式会社 Conveying device

Similar Documents

Publication Publication Date Title
CN107277869B (en) Information processing apparatus and control method
JP5941300B2 (en) Information processing apparatus, information processing apparatus control method, and program
KR101702293B1 (en) Communication apparatus, method for controlling the same, and recording medium
JP6516491B2 (en) Communication apparatus, control method and program
CN108694026B (en) Information processing method, information processing apparatus, and storage medium
US20170280492A1 (en) Communication apparatus, method of controlling the same, and storage medium
CN106325782B (en) Information processing apparatus and control method thereof
CN107404714B (en) Communication apparatus and control method thereof
KR102162568B1 (en) Communication apparatus, control method for the same, and recording medium
JP6742150B2 (en) Communication device, control method, and program
CN107277743B (en) Communication system, communication device, and control method
US10855879B2 (en) Method for establishing wireless connection of image forming device by using mobile terminal, and image forming device for performing same
US9756671B2 (en) Communicating apparatus, communication method, and storage medium storing program
US10445035B2 (en) Control method and recording medium
JP2020108122A (en) Communication device, control method therefor and program
JP6774221B2 (en) Communication equipment, control methods, and programs
JP2017200018A (en) Communication device, terminal device, control method, program and communication system
JP2017200019A (en) Terminal device, control method, program and communication system
US10306455B2 (en) Communication apparatus, communication method, and non-transitory computer-readable storage medium
JP7493361B2 (en) Information processing device, control method, and program
JP2023075858A (en) Information processing apparatus, method for controlling the same, and program
JP2023079947A (en) Communication device, control method for the same, and program
JP2021153265A (en) Information processing device, control method, and program
JP2023014832A (en) Communication device, control method and program
JP2023034115A (en) Information processing device, control method thereof, and program