JP2020010362A - Communication device, control method therefor and program - Google Patents

Communication device, control method therefor and program Download PDF

Info

Publication number
JP2020010362A
JP2020010362A JP2019155427A JP2019155427A JP2020010362A JP 2020010362 A JP2020010362 A JP 2020010362A JP 2019155427 A JP2019155427 A JP 2019155427A JP 2019155427 A JP2019155427 A JP 2019155427A JP 2020010362 A JP2020010362 A JP 2020010362A
Authority
JP
Japan
Prior art keywords
dimensional barcode
communication device
access point
ssid
printing apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019155427A
Other languages
Japanese (ja)
Other versions
JP6977005B2 (en
Inventor
朋博 木村
Tomohiro Kimura
朋博 木村
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
Priority claimed from JP2015150510A external-priority patent/JP6579846B2/en
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2019155427A priority Critical patent/JP6977005B2/en
Publication of JP2020010362A publication Critical patent/JP2020010362A/en
Application granted granted Critical
Publication of JP6977005B2 publication Critical patent/JP6977005B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a communication device and a control method therefor which do not cause the useless generation of a network switchover to be connected when an external device is connected to the communication device.SOLUTION: The communication device includes: generation means which generates a first two-dimensional barcode, including a communication device address and the SSID of an access point, and a second two-dimensional barcode which includes a communication device address but does not include the SSID of an access point; and display means which selects and displays the first two-dimensional barcode or the second two-dimensional barcode, depending on the desire of connection by either of the methods of direct connection by an access point mode and infrastructure connection via another access point, enabling an external device to read out.SELECTED DRAWING: Figure 4

Description

本発明は、通信装置、通信装置の制御方法及びプログラムに関する。   The present invention relates to a communication device, a communication device control method, and a program.

スマートフォンやデジタルカメラ、印刷装置等、様々な通信装置が無線LAN機能を備えている。無線LAN機能を備える通信装置は、アクセスポイントに接続することで無線通信を確立することができる。   Various communication devices such as a smartphone, a digital camera, and a printing device have a wireless LAN function. A communication device having a wireless LAN function can establish wireless communication by connecting to an access point.

無線LAN機能を利用する場合、ユーザは、所望のアクセスポイントのSSID(Service Set Indentifier)を通信装置に入力したり、アクセスポイントの探索結果の一覧から所望のアクセスポイントを選択する手間が発生する。   When using the wireless LAN function, the user has to input a SSID (Service Set Identifier) of a desired access point to the communication device, or to select a desired access point from a list of access point search results.

このユーザの手間を軽減するための手法として、アクセスポイントのSSIDを通信装置が二次元バーコードで表示する手法が知られている。携帯端末がこの二次元バーコードを読み取ることで、通信装置と携帯端末との間の無線通信を容易に確立することができる(特許文献1)。   As a technique for reducing the trouble of the user, a technique is known in which the communication device displays the SSID of the access point as a two-dimensional barcode. When the mobile terminal reads the two-dimensional barcode, wireless communication between the communication device and the mobile terminal can be easily established (Patent Document 1).

特開2006−261938号公報JP 2006-261938 A

アクセスポイントのSSIDを含む二次元バーコードを携帯端末が読み取ると、接続するネットワークの切り替えが発生する。仮に通信装置と通信可能なネットワークに携帯端末が接続済みである場合には、アクセスポイントのSSIDを含む二次元バーコードを携帯端末が読み取ることで、無駄なネットワークの切り替えが発生する。無駄なネットワークの切り替えが発生すると、例えばネットワークに接続するための認証情報の入力を再度求められるなど、ユーザの手間が増えてしまう場合がある。つまり、通信装置と通信可能なネットワークに携帯端末が接続済みであることを把握しているユーザにしてみれば、通信装置が表示する二次元バーコードに、アクセスポイントのSSIDが必ずしも含まれている必要はない。   When the mobile terminal reads the two-dimensional barcode including the SSID of the access point, switching of the network to be connected occurs. If the mobile terminal has already been connected to a network that can communicate with the communication device, the mobile terminal reads a two-dimensional barcode including the SSID of the access point, causing unnecessary network switching. When the useless network switching occurs, for example, the user may be required to input authentication information for connecting to the network again, which may increase the user's labor. That is, for a user who knows that the mobile terminal is already connected to a network that can communicate with the communication device, the two-dimensional barcode displayed by the communication device does not necessarily include the SSID of the access point. No need.

そこで本発明では、通信装置において、通信装置のアドレスとSSIDを含む二次元バーコードと、通信装置のアドレスを含むがSSIDを含まない二次元バーコードを両方ユーザに提供することを目的とする。   Therefore, an object of the present invention is to provide a user with both a two-dimensional barcode including the address of the communication device and the SSID and a two-dimensional barcode including the address of the communication device but not including the SSID in the communication device.

上述した課題を解決するために、本発明が提供する通信装置は、前記通信装置のアドレスと、アクセスポイントのSSIDとを含む第1の二次元バーコードと、前記通信装置のアドレスを含み、アクセスポイントのSSIDを含まない第2の二次元バーコードを生成する生成手段と、前記第1の二次元バーコードと、前記第2の二次元バーコードを出力する出力手段とを備え、前記第1の二次元バーコードと前記第2の二次元バーコードは、外部装置が読み取り可能であることを特徴とする。   In order to solve the above-described problem, a communication device provided by the present invention includes a first two-dimensional barcode including an address of the communication device, an SSID of an access point, and an address of the communication device. Generating means for generating a second two-dimensional barcode that does not include the SSID of the point; output means for outputting the first two-dimensional barcode; and output means for outputting the second two-dimensional barcode; The two-dimensional barcode and the second two-dimensional barcode can be read by an external device.

本発明によれば、通信装置において、通信装置のアドレスとSSIDを含む二次元バーコードと、通信装置のアドレスを含むがSSIDを含まない二次元バーコードを両方ユーザに提供することができる。   According to the present invention, in a communication device, both a two-dimensional barcode including the address of the communication device and the SSID and a two-dimensional barcode including the address of the communication device but not including the SSID can be provided to the user.

印刷システムの構成を示す図である。FIG. 1 illustrates a configuration of a printing system. 印刷装置100のハードウェア構成を示す図である。FIG. 2 is a diagram illustrating a hardware configuration of the printing apparatus. 印刷装置100が表示する画面を示す図である。FIG. 4 is a diagram illustrating a screen displayed by the printing apparatus. 印刷装置100が表示する画面を示す図である。FIG. 4 is a diagram illustrating a screen displayed by the printing apparatus. 印刷装置100が表示する画面を示す図である。FIG. 4 is a diagram illustrating a screen displayed by the printing apparatus. インフラ接続用の二次元バーコードを生成する処理を示すフローチャートである。It is a flowchart which shows the process which produces | generates the two-dimensional barcode for infrastructure connection. インフラ接続用の二次元バーコードを表示する処理を示すフローチャートである。It is a flowchart which shows the process which displays the two-dimensional barcode for infrastructure connection. ダイレクト接続用の二次元バーコードを生成、表示する処理を示すフローチャートである。It is a flowchart which shows the process which produces | generates and displays the two-dimensional barcode for direct connection. 二次元バーコードをシートに印刷する例を示す図である。FIG. 9 is a diagram illustrating an example of printing a two-dimensional barcode on a sheet.

以下、本発明を実施するための最良の形態について図面を用いて説明する。なお、以下の実施の形態は特許請求の範囲に係る発明を限定するものでなく、また実施の形態で説明されている特徴の組み合わせの全てが発明の解決手段に必須のものとは限らない。   Hereinafter, the best mode for carrying out the present invention will be described with reference to the drawings. The following embodiments do not limit the invention according to the claims, and all combinations of the features described in the embodiments are not necessarily essential for solving the invention.

(実施形態1)
まず図1を用いて、本実施形態に係る印刷システムの構成を説明する。印刷装置100は、ネットワーク140に接続していて、ネットワーク140を介してPC130や携帯端末110等の外部装置と通信可能である。PC130は、ネットワーク140を介して印刷データを印刷装置100に送信する。携帯端末110は、アクセスポイント120を介して印刷データを印刷装置100に送信する。印刷データを受信した印刷装置100は、受信した印刷データに基づいて印刷処理を実行する。
(Embodiment 1)
First, the configuration of the printing system according to the present embodiment will be described with reference to FIG. The printing apparatus 100 is connected to a network 140 and can communicate with external devices such as the PC 130 and the portable terminal 110 via the network 140. The PC 130 transmits the print data to the printing device 100 via the network 140. The mobile terminal 110 transmits print data to the printing device 100 via the access point 120. The printing apparatus 100 that has received the print data executes a printing process based on the received print data.

また、印刷装置100は、アクセスポイントモードで動作可能である。印刷装置100がアクセスポイントモードで動作する場合、印刷装置100はSSID(ServiceSet Identifier)を生成し、アクセスポイントとして振る舞う。印刷装置100が生成したSSIDに携帯端末110が接続することで、アクセスポイント120のような中継装置を介することなく、印刷装置100と携帯端末110との間で直接無線通信を確立することができる。   The printing apparatus 100 can operate in an access point mode. When the printing apparatus 100 operates in the access point mode, the printing apparatus 100 generates an SSID (ServiceSet Identifier) and acts as an access point. By connecting the mobile terminal 110 to the SSID generated by the printing device 100, direct wireless communication can be established between the printing device 100 and the mobile terminal 110 without passing through a relay device such as the access point 120. .

次に図2を用いて、印刷装置100の構成を説明する。本実施形態の印刷装置100は複合機を想定しているが、スキャナ機能を備えないプリンタであってもよい。   Next, the configuration of the printing apparatus 100 will be described with reference to FIG. The printing apparatus 100 of the present embodiment is assumed to be a multifunction peripheral, but may be a printer without a scanner function.

CPU201は、ROM202が記憶している制御プログラムを読み出して、印刷装置100の動作を制御するための様々な処理を実行する。CPU201は、バス200によって他のユニットと接続されている。ROM202は、制御プログラムを記憶している。RAM203は、CPU201の主メモリ、ワークエリア等の一時記憶領域として用いられる。HDD204は、印刷データやスキャン画像等の様々なデータを記憶するための不揮発性の記憶媒体である。   The CPU 201 reads out a control program stored in the ROM 202 and executes various processes for controlling the operation of the printing apparatus 100. The CPU 201 is connected to other units by a bus 200. The ROM 202 stores a control program. The RAM 203 is used as a temporary storage area such as a main memory and a work area of the CPU 201. The HDD 204 is a nonvolatile storage medium for storing various data such as print data and scan images.

印刷装置100の場合、1つのCPU201が後述するフローチャートに示す各処理を実行するものとするが、他の態様であっても構わない。例えば、複数のCPUが協働して後述するフローチャートに示す各処理を実行するようにすることもできる。また、フローチャートに示す処理の一部を、ハードウェア回路を用いて実行してもよい。   In the case of the printing apparatus 100, it is assumed that one CPU 201 executes each processing shown in a flowchart described later, but may be another mode. For example, a plurality of CPUs may cooperate to execute each processing shown in a flowchart described later. Further, a part of the processing shown in the flowchart may be executed using a hardware circuit.

無線通信部205は、無線LAN機能を備え、アクセスポイント120との間で無線通信を実行する。また、無線通信部205はアクセスポイントモードで動作可能である。無線通信部205がアクセスポイントモードで動作する場合、無線通信部205がアクセスポイントとして振る舞うことで、携帯端末110と印刷装置100との間で直接無線通信を確立することができる。   The wireless communication unit 205 has a wireless LAN function and executes wireless communication with the access point 120. The wireless communication unit 205 can operate in the access point mode. When the wireless communication unit 205 operates in the access point mode, direct wireless communication can be established between the mobile terminal 110 and the printing apparatus 100 by the wireless communication unit 205 acting as an access point.

プリンタ206は、外部装置から受信した印刷データやスキャナ207によって生成されたスキャン画像等に基づいて、シートに印刷処理を実行する。スキャナ207は、原稿を読み取ってスキャン画像を生成する。スキャナ207によって生成されたスキャン画像は、プリンタ206によって印刷されたり、HDD204に記憶される。   The printer 206 executes a printing process on a sheet based on print data received from an external device, a scanned image generated by the scanner 207, and the like. The scanner 207 reads a document and generates a scanned image. The scanned image generated by the scanner 207 is printed by the printer 206 or stored in the HDD 204.

操作部208は、タッチパネル機能を有する液晶表示部やキーボードを備え、各種操作画面を表示する。ユーザは、操作部208を介して印刷装置100に対して指示や情報を入力することができる。   The operation unit 208 includes a liquid crystal display unit having a touch panel function and a keyboard, and displays various operation screens. The user can input instructions and information to the printing apparatus 100 via the operation unit 208.

ネットワークI/F209は、LANケーブルによってネットワーク140に接続し、ネットワーク上の外部装置(例えばPC130)との通信を実行する。ネットワークI/F209は、外部装置から送信された印刷データを受信し、そしてプリンタ206によって受信した印刷データに基づく印刷処理が実行される。   The network I / F 209 connects to the network 140 via a LAN cable and executes communication with an external device (for example, the PC 130) on the network. The network I / F 209 receives the print data transmitted from the external device, and executes a printing process based on the print data received by the printer 206.

なお、印刷装置100は、アクセスポイントモードで動作可能な通信装置の一例として挙げている。本発明を適用可能な通信装置は印刷装置100に限らない。アクセスポイントモードで動作可能であれば、デジタルカメラ、ビデオカメラ、スマートフォン、タブレットPC等の様々な電子機器についても、本発明を適用可能である。   Note that the printing apparatus 100 is described as an example of a communication apparatus that can operate in the access point mode. The communication device to which the present invention can be applied is not limited to the printing device 100. The present invention can be applied to various electronic devices such as a digital camera, a video camera, a smartphone, and a tablet PC as long as they can operate in the access point mode.

アクセスポイントモードで動作する印刷装置100に携帯端末110を接続する場合、ユーザは、携帯端末110に印刷装置100のSSIDを入力したり、アクセスポイントの探索結果の一覧から印刷装置100のSSIDを選択する必要がある。この手間を解消するために、印刷装置100は、印刷装置100のSSIDを含む二次元バーコードを表示する。更に印刷装置100は、ユーザの指示に応じて、SSIDを含まない二次元バーコードを表示することもできる。つまり、本実施形態の印刷装置100は、SSIDを含む二次元バーコードを表示するか、又は、SSIDを含まない二次元バーコードを表示するかを、ユーザの指示に応じて切り替えることを特徴とする。以下では、この二次元バーコードの表示について詳しく説明する。   When connecting the portable terminal 110 to the printing apparatus 100 operating in the access point mode, the user inputs the SSID of the printing apparatus 100 to the portable terminal 110 or selects the SSID of the printing apparatus 100 from a list of access point search results. There is a need to. In order to eliminate this trouble, the printing apparatus 100 displays a two-dimensional barcode including the SSID of the printing apparatus 100. Further, the printing apparatus 100 can display a two-dimensional barcode that does not include the SSID according to a user's instruction. That is, the printing apparatus 100 according to the present embodiment switches between displaying a two-dimensional barcode including an SSID and displaying a two-dimensional barcode not including an SSID in accordance with a user instruction. I do. Hereinafter, the display of the two-dimensional barcode will be described in detail.

まず、印刷装置100が表示する画面について、図3を用いて説明する。図3(A)のメニュー画面300は、操作部208が表示する画面であり、印刷装置100が起動する際に最初に表示される初期画面として利用される。   First, a screen displayed by the printing apparatus 100 will be described with reference to FIG. 3A is a screen displayed by the operation unit 208, and is used as an initial screen displayed first when the printing apparatus 100 starts up.

ボタン301は、コピー機能を利用するためのボタンである。ユーザがボタン301を選択すると、コピー画面が表示される。ボタン302は、SEND機能(スキャナ207で読み取った原稿画像をネットワーク140上の外部装置に送信する機能)を利用するためのボタンである。ユーザがボタン302を選択すると、SEND画面が表示される。ボタン304は、各種設定画面を表示するためのボタンである。   The button 301 is a button for using the copy function. When the user selects the button 301, a copy screen is displayed. A button 302 is a button for using a SEND function (a function of transmitting a document image read by the scanner 207 to an external device on the network 140). When the user selects the button 302, a SEND screen is displayed. The button 304 is a button for displaying various setting screens.

図3(B)の設定画面310は、メニュー画面300においてボタン304が選択された場合に表示される複数の設定項目のうち、アクセスポイントモードの許可、禁止を設定するための設定画面である。なお、図3(B)では、アクセスポイントモードのことをダイレクト接続機能と呼んでいる。   The setting screen 310 in FIG. 3B is a setting screen for setting permission or prohibition of the access point mode among a plurality of setting items displayed when the button 304 is selected on the menu screen 300. In FIG. 3B, the access point mode is called a direct connection function.

設定画面310においてユーザ(例えばシステム管理者)がボタン311を選択すると、アクセスポイントモードで動作することが許可される。一般ユーザがアクセスポイントモードを使用することを許容する場合は、システム管理者はボタン311を選択すればよい。一方、設定画面310においてユーザ(例えばシステム管理者)がボタン312を選択すると、アクセスポイントモードで動作することが禁止される。一般ユーザがアクセスポイントモードを使用することを許容しない場合は、システム管理者はボタン312を選択すればよい。ユーザが確定ボタン313を選択すると、設定画面310による設定の結果がHDD204に記憶される。   When the user (for example, a system administrator) selects the button 311 on the setting screen 310, the operation in the access point mode is permitted. When allowing the general user to use the access point mode, the system administrator may select the button 311. On the other hand, when the user (for example, the system administrator) selects the button 312 on the setting screen 310, the operation in the access point mode is prohibited. If the general user is not allowed to use the access point mode, the system administrator may select the button 312. When the user selects the confirm button 313, the result of the setting on the setting screen 310 is stored in the HDD 204.

図3(A)のメニュー画面300の説明に戻る。メニュー画面300においてユーザがボタン303を選択すると、後述の図4や図5で説明するダイレクト接続画面とインフラ接続画面が表示される。ダイレクト接続画面とインフラ接続画面には、携帯端末110を印刷装置100に接続するための二次元バーコードが表示される。ユーザがボタン303を選択した場合にダイレクト接続画面とインフラ接続画面のどちらを初期表示するかは、設定画面310による設定の結果によって切り替わる。ダイレクト接続機能が「ON」に設定されている場合、つまり、アクセスポイントモードの使用が許可されている場合、印刷装置100は、ダイレクト接続画面を初期表示する。この画面遷移について、図4を用いて説明する。一方、ダイレクト接続機能が「OFF」に設定されている場合、つまり、アクセスポイントモードの使用が禁止されている場合、印刷装置100は、インサフラ接続画面を初期表示する。この画面遷移について、図5を用いて説明する。   Returning to the description of the menu screen 300 in FIG. When the user selects the button 303 on the menu screen 300, a direct connection screen and an infrastructure connection screen described later with reference to FIGS. 4 and 5 are displayed. On the direct connection screen and the infrastructure connection screen, a two-dimensional barcode for connecting the mobile terminal 110 to the printing apparatus 100 is displayed. Whether the direct connection screen or the infrastructure connection screen is initially displayed when the user selects the button 303 is switched according to the result of the setting on the setting screen 310. When the direct connection function is set to “ON”, that is, when the use of the access point mode is permitted, the printing apparatus 100 initially displays the direct connection screen. This screen transition will be described with reference to FIG. On the other hand, when the direct connection function is set to “OFF”, that is, when the use of the access point mode is prohibited, the printing apparatus 100 initially displays the in-safra connection screen. This screen transition will be described with reference to FIG.

図4について説明する。ダイレクト接続機能が「ON」に設定されている場合、印刷装置100は、ボタン303が選択されたことに応じて図4(A)のダイレクト接続画面400を表示する。ダイレクト接続画面400を表示するのは、ダイレクト接続機能が「ON」に設定されていて、ユーザがアクセスポイントモードを使用することが想定されるためである。   Referring to FIG. When the direct connection function is set to “ON”, the printing apparatus 100 displays the direct connection screen 400 in FIG. 4A in response to the selection of the button 303. The direct connection screen 400 is displayed because the direct connection function is set to “ON” and it is assumed that the user uses the access point mode.

ダイレクト接続画面400においてユーザが開始ボタン401を選択すると、印刷装置100は、アクセスポイントモードの動作を開始する。更に印刷装置100は、アクセスポイントモードで使用するSSID、接続キー(例えばWEPキー)、IPアドレスを生成し、更に後述する二次元バーコードを生成する。そして印刷装置100は、図4(B)のダイレクト接続画面410を表示する。   When the user selects the start button 401 on the direct connection screen 400, the printing apparatus 100 starts operating in the access point mode. Further, the printing apparatus 100 generates an SSID, a connection key (for example, a WEP key), and an IP address used in the access point mode, and further generates a two-dimensional barcode described later. Then, the printing apparatus 100 displays the direct connection screen 410 shown in FIG.

図4(B)のダイレクト接続画面410の411と412は、それぞれ印刷装置100が生成したSSIDと接続キーを示す。また、ダイレクト接続画面410には、二次元バーコード413が表示される。二次元バーコード413はQRコード(登録商標)であり、アクセスポイントモードで使用するSSIDと接続キーに基づいて印刷装置100によって生成される。携帯端末110はこの二次元バーコード413をカメラ機能を使い読み取ることで、印刷装置100が生成したSSID、接続キー、IPアドレスを認識することができる。そして携帯端末110は、認識したSSIDに接続することで、印刷装置100との間で無線通信を確立することができる。   4B, 411 and 412 of the direct connection screen 410 indicate the SSID and the connection key generated by the printing apparatus 100, respectively. Further, a two-dimensional barcode 413 is displayed on the direct connection screen 410. The two-dimensional barcode 413 is a QR code (registered trademark), and is generated by the printing apparatus 100 based on the SSID and the connection key used in the access point mode. The mobile terminal 110 can recognize the SSID, the connection key, and the IP address generated by the printing apparatus 100 by reading the two-dimensional barcode 413 using the camera function. Then, the portable terminal 110 can establish wireless communication with the printing apparatus 100 by connecting to the recognized SSID.

ダイレクト接続画面410においてユーザが停止ボタン414を選択すると、印刷装置100は、アクセスポイントモードの動作を終了する。そして印刷装置100が表示する画面は、ダイレクト接続画面410からダイレクト接続画面400に遷移する。   When the user selects the stop button 414 on the direct connection screen 410, the printing apparatus 100 ends the operation in the access point mode. Then, the screen displayed by the printing apparatus 100 transitions from the direct connection screen 410 to the direct connection screen 400.

ダイレクト接続画面400においてユーザがボタン402を選択した場合、又は、ダイレクト接続画面410においてユーザがボタン415を選択した場合、印刷装置100は、図4(C)のインフラ接続画面420を表示する。インフラ接続画面420の421と422には、それぞれ印刷装置100のデバイス名と印刷装置100のIPアドレスが表示されている。   When the user selects the button 402 on the direct connection screen 400 or when the user selects the button 415 on the direct connection screen 410, the printing apparatus 100 displays an infrastructure connection screen 420 in FIG. 4C. The device name of the printing apparatus 100 and the IP address of the printing apparatus 100 are displayed on 421 and 422 of the infrastructure connection screen 420, respectively.

また、インフラ接続画面420には、二次元バーコード423が表示される。二次元バーコード423は、ダイレクト接続画面410の二次元バーコード413同様QRコード(登録商標)であるが、二次元バーコード423にはアクセスポイントのSSIDは含まれない。二次元バーコード423は、印刷装置100のIPアドレスに基づいて、印刷装置100によって生成される。携帯端末110はこの二次元バーコード423をカメラ機能を使い読み取ることで、印刷装置100のIPアドレスを認識することができる。そして携帯端末110は、認識したIPアドレスを宛先として、印刷データを印刷装置100に送信することができる。   Also, a two-dimensional barcode 423 is displayed on the infrastructure connection screen 420. The two-dimensional barcode 423 is a QR code (registered trademark) like the two-dimensional barcode 413 on the direct connection screen 410, but the two-dimensional barcode 423 does not include the SSID of the access point. The two-dimensional barcode 423 is generated by the printing device 100 based on the IP address of the printing device 100. The mobile terminal 110 can recognize the IP address of the printing apparatus 100 by reading the two-dimensional barcode 423 using a camera function. Then, the portable terminal 110 can transmit the print data to the printing apparatus 100 with the recognized IP address as a destination.

インフラ接続画面420においてユーザがボタン424を選択した場合、印刷装置100は、図4(A)のダイレクト接続画面400、又は、図4(B)のダイレクト接続画面410を表示する。印刷装置100が既にアクセスポイントモードの動作を開始している場合、印刷装置100は、ユーザがボタン424を選択したことに応じて図4(B)のダイレクト接続画面410を表示する。一方、印刷装置100がアクセスポイントモードで動作していない場合、印刷装置100は、ユーザがボタン424を選択したことに応じて図4(A)のダイレクト接続画面400を表示する。   When the user selects the button 424 on the infrastructure connection screen 420, the printing apparatus 100 displays the direct connection screen 400 in FIG. 4A or the direct connection screen 410 in FIG. When the printing apparatus 100 has already started the operation in the access point mode, the printing apparatus 100 displays the direct connection screen 410 in FIG. 4B in response to the user selecting the button 424. On the other hand, when the printing apparatus 100 is not operating in the access point mode, the printing apparatus 100 displays the direct connection screen 400 of FIG. 4A in response to the user selecting the button 424.

ダイレクト接続機能が「ON」に設定されている場合、ユーザは、ボタン402、ボタン415、ボタン424を用いることで、二次元バーコード413と二次元バーコード423のどちらを表示するかを切り替えることができる。印刷装置100との間でアクセスポイントモードによる無線通信を確立したい場合には、ユーザは、ダイレクト接続用の二次元バーコード413を表示させればよい。一方、印刷装置100のアドレスのみを携帯端末110に認識させたい場合(ペアリングを行いたい場合)は、ユーザは、インフラ接続用の二次元バーコード423を表示させればよい。   When the direct connection function is set to “ON”, the user can switch between the two-dimensional barcode 413 and the two-dimensional barcode 423 by using the buttons 402, 415, and 424. Can be. To establish wireless communication with the printing apparatus 100 in the access point mode, the user only needs to display the two-dimensional barcode 413 for direct connection. On the other hand, when only the address of the printing apparatus 100 is to be recognized by the mobile terminal 110 (when pairing is to be performed), the user may display the two-dimensional barcode 423 for infrastructure connection.

次に、図5について説明する。ダイレクト接続機能が「OFF」に設定されている場合、印刷装置100は、ボタン303が選択されたことに応じて図5(A)のインフラ接続画面500を表示する。インフラ接続画面500を表示するのは、アクセスポイントモードの使用が禁止されているためである。   Next, FIG. 5 will be described. When the direct connection function is set to “OFF”, the printing apparatus 100 displays the infrastructure connection screen 500 in FIG. 5A in response to the selection of the button 303. The reason why the infrastructure connection screen 500 is displayed is that use of the access point mode is prohibited.

インフラ接続画面500は、図4(C)のインフラ接続画面420と同様の画面である。インフラ接続画面500の501と502は、それぞれ印刷装置100のデバイス名と印刷装置100のIPアドレスが表示されている。また、インフラ接続画面500には、二次元バーコード503が表示される。二次元バーコード503はQRコード(登録商標)であり、印刷装置100のIPアドレスに基づいて、印刷装置100によって生成される。   The infrastructure connection screen 500 is a screen similar to the infrastructure connection screen 420 of FIG. 501 and 502 of the infrastructure connection screen 500 display the device name of the printing apparatus 100 and the IP address of the printing apparatus 100, respectively. Also, a two-dimensional barcode 503 is displayed on the infrastructure connection screen 500. The two-dimensional barcode 503 is a QR code (registered trademark), and is generated by the printing apparatus 100 based on the IP address of the printing apparatus 100.

インフラ接続画面500においてユーザがボタン504を選択した場合、印刷装置100は、図5(B)のダイレクト接続画面510を表示する。ダイレクト接続画面510の場合、ダイレクト接続機能が「OFF」に設定されている、つまり、アクセスポイントモードの使用が禁止されているため、アクセスポイントモードを使用できないことを示すメッセージ511が表示される。また、ダイレクト接続画面510には、ダイレクト接続画面400のように開始ボタン401は表示されない。ダイレクト接続画面510においてユーザがボタン512を選択すると、印刷装置100は、図5(A)のインフラ接続画面500を表示する。   When the user selects the button 504 on the infrastructure connection screen 500, the printing apparatus 100 displays a direct connection screen 510 in FIG. 5B. In the case of the direct connection screen 510, a message 511 indicating that the access point mode cannot be used is displayed because the direct connection function is set to “OFF”, that is, the use of the access point mode is prohibited. The start button 401 is not displayed on the direct connection screen 510 unlike the direct connection screen 400. When the user selects the button 512 on the direct connection screen 510, the printing apparatus 100 displays an infrastructure connection screen 500 shown in FIG.

以上の説明の通り、ダイレクト接続機能が「ON」に設定されている場合、印刷装置100は、SSIDを含む二次元バーコード413と、SSIDを含まない二次元バーコード423の両方を表示することができる。   As described above, when the direct connection function is set to “ON”, the printing apparatus 100 displays both the two-dimensional barcode 413 including the SSID and the two-dimensional barcode 423 not including the SSID. Can be.

また、ユーザは、自身の使用目的に応じて、SSIDを含む二次元バーコード413と、SSIDを含まない二次元バーコード423のどちらを使うか選択することができる。例えば、携帯端末110が印刷装置100と同じネットワークに接続していない場合、ユーザは、SSIDを含む二次元バーコード413を使うことが望ましい。これにより、ユーにしてみれば、SSIDを携帯端末110に入力したり、アクセスポイントの探索結果から所望のSSIDを選択する手間を軽減できる。   In addition, the user can select which one of the two-dimensional barcode 413 including the SSID and the two-dimensional barcode 423 not including the SSID to use, according to the purpose of use. For example, when the mobile terminal 110 is not connected to the same network as the printing apparatus 100, the user desirably uses the two-dimensional barcode 413 including the SSID. As a result, for the user, the trouble of inputting the SSID to the portable terminal 110 and selecting the desired SSID from the access point search result can be reduced.

一方、携帯端末110が印刷装置100と同じネットワークに接続済みである場合、ユーザは、SSIDを含まない二次元バーコード423を使うことが望ましい。SSIDを含む二次元バーコードを携帯端末110が読み取ると、接続するネットワークの切り替えが発生する。SSIDを含まない二次元バーコード423を使うことで、無駄なネットワークの切り替えが発生することを防止でき、ユーザにしてみれば、ネットワークに接続するための認証情報の入力を再度求められることを防止できる。   On the other hand, when the mobile terminal 110 is already connected to the same network as the printing apparatus 100, the user desirably uses the two-dimensional barcode 423 that does not include the SSID. When the two-dimensional barcode including the SSID is read by the portable terminal 110, switching of the network to be connected occurs. By using the two-dimensional barcode 423 that does not include the SSID, it is possible to prevent unnecessary switching of the network from occurring, and it is possible for the user to prevent the user from being required to input authentication information for connecting to the network again. it can.

次に、SSIDを含まない二次元バーコード(二次元バーコード423、二次元バーコード503)とSSIDを含む二次元バーコード(二次元バーコード413)を生成し、そして表示する処理について説明する。まず、図6と図7を用いて、SSIDを含まない二次元バーコードの生成と表示に関する処理について説明する。   Next, a process of generating and displaying a two-dimensional barcode (two-dimensional barcode 423 and two-dimensional barcode 503) not including an SSID and a two-dimensional barcode (two-dimensional barcode 413) including an SSID will be described. . First, a process for generating and displaying a two-dimensional barcode that does not include an SSID will be described with reference to FIGS.

図6のフローチャートは、印刷装置100が起動する際に実行される処理である。図6のフローチャートに示す各ステップは、CPU201がROM202等のメモリに格納された制御プログラムをRAM203に展開して実行することによって処理される。   6 is a process executed when the printing apparatus 100 is started. Each step shown in the flowchart of FIG. 6 is processed by the CPU 201 developing a control program stored in a memory such as the ROM 202 in the RAM 203 and executing the control program.

まずステップS601において、CPU201は、印刷装置100のIPアドレスに基づいて、インフラ接続用の二次元バーコードを生成する。インフラ接続用の二次元バーコードは、二次元バーコード423や二次元バーコード503のように、印刷装置100のIPアドレスは含むが、アクセスポイントのSSIDを含まないものである。そしてステップS602において、CPU201は、ステップS601で生成したインフラ接続用の二次元バーコードをHDD204に記憶する。   First, in step S601, the CPU 201 generates a two-dimensional barcode for infrastructure connection based on the IP address of the printing apparatus 100. The two-dimensional barcode for infrastructure connection, like the two-dimensional barcode 423 and the two-dimensional barcode 503, includes the IP address of the printing apparatus 100 but does not include the SSID of the access point. Then, in step S602, the CPU 201 stores the two-dimensional barcode for infrastructure connection generated in step S601 in the HDD 204.

以上、図6のフローチャートを用いて、印刷装置100が起動するタイミングでインフラ接続用の二次元バーコードを生成する構成を説明した。なお、印刷装置100のIPアドレスが変更されたタイミングでもインフラ接続用の二次元バーコードが新たに生成され、HDD204に記憶される。   The configuration for generating the two-dimensional barcode for infrastructure connection at the timing when the printing apparatus 100 starts up has been described above with reference to the flowchart in FIG. Note that a two-dimensional barcode for infrastructure connection is newly generated even when the IP address of the printing apparatus 100 is changed, and stored in the HDD 204.

次に図7のフローチャートを用いて、インフラ接続用の二次元バーコードを表示する構成を説明する。図7のフローチャートに示す各ステップは、CPU201がROM202等のメモリに格納された制御プログラムをRAM203に展開して実行することによって処理される。   Next, a configuration for displaying a two-dimensional barcode for infrastructure connection will be described with reference to the flowchart of FIG. Each step shown in the flowchart of FIG. 7 is processed by the CPU 201 developing a control program stored in a memory such as the ROM 202 in the RAM 203 and executing the control program.

ステップS701において、CPU201は、インフラ接続画面の表示指示をユーザから受けたか否かを判定する。本実施形態のインフラ接続画面とは、図4(C)のインフラ接続画面420と図5(A)のインフラ接続画面500である。これらの画面の表示指示をユーザから受けた場合に、CPU201は、インフラ接続画面の表示指示をユーザから受けたと判定し、処理はステップS702に進む。一方、インフラ接続画面420やインフラ接続画面500の表示指示をユーザから受けていない場合、CPU201は、インフラ接続画面420やインフラ接続画面500の表示指示をユーザから受けるまで待機する。   In step S701, the CPU 201 determines whether an instruction to display an infrastructure connection screen has been received from the user. The infrastructure connection screen of the present embodiment includes an infrastructure connection screen 420 in FIG. 4C and an infrastructure connection screen 500 in FIG. 5A. When the display instruction of these screens is received from the user, the CPU 201 determines that the display instruction of the infrastructure connection screen is received from the user, and the process proceeds to step S702. On the other hand, when the display instruction of the infrastructure connection screen 420 or the infrastructure connection screen 500 is not received from the user, the CPU 201 waits until the display instruction of the infrastructure connection screen 420 or the infrastructure connection screen 500 is received from the user.

次にステップS702において、CPU201は、インフラ接続用の二次元バーコード(ステップS602で記憶した二次元バーコード)を含むインフラ接続画面を表示する。本実施形態の場合、CPU201は、図4(C)のインフラ接続画面420や図5(A)のインフラ接続画面500を表示するように操作部208を制御する。これにより、ユーザは、インフラ接続用の二次元バーコードを携帯端末110に読み取らせることができる。   Next, in step S702, the CPU 201 displays an infrastructure connection screen including a two-dimensional barcode for infrastructure connection (the two-dimensional barcode stored in step S602). In the case of the present embodiment, the CPU 201 controls the operation unit 208 to display the infrastructure connection screen 420 in FIG. 4C and the infrastructure connection screen 500 in FIG. Thereby, the user can make the mobile terminal 110 read the two-dimensional barcode for infrastructure connection.

次に、図8を用いて、SSIDを含む二次元バーコードの生成と表示に関する処理について説明する。図8のフローチャートに示す各ステップは、CPU201がROM202等のメモリに格納された制御プログラムをRAM203に展開して実行することによって処理される。   Next, processing related to generation and display of a two-dimensional barcode including an SSID will be described with reference to FIG. Each step shown in the flowchart of FIG. 8 is processed by the CPU 201 developing a control program stored in a memory such as the ROM 202 in the RAM 203 and executing the control program.

ステップS801において、CPU201は、ダイレクト接続画面の表示指示をユーザから受けたか否かを判定する。本実施形態のダイレクト接続画面とは、図4(B)のダイレクト接続画面400、ダイレクト接続画面410、図5(B)のダイレクト接続画面510である。これらの画面の表示指示をユーザから受けた場合に、CPU201は、ダイレクト接続画面の表示指示をユーザから受けたと判定し、処理はステップS802に進む。一方、ダイレクト接続画面400やダイレクト接続画面410、ダイレクト接続画面510の表示指示をユーザから受けていない場合、CPU201は、これらの画面の表示指示をユーザから受けるまで待機する。   In step S801, the CPU 201 determines whether an instruction to display a direct connection screen has been received from a user. The direct connection screen of the present embodiment is a direct connection screen 400 and a direct connection screen 410 in FIG. 4B, and a direct connection screen 510 in FIG. 5B. When the display instruction of these screens is received from the user, CPU 201 determines that the display instruction of the direct connection screen is received from the user, and the process proceeds to step S802. On the other hand, when the display instruction of the direct connection screen 400, the direct connection screen 410, and the direct connection screen 510 has not been received from the user, the CPU 201 waits until the display instruction of these screens is received from the user.

次にステップS802において、CPU201は、ダイレクト接続機能の設定がONであるか否かを判定する。ステップS802の処理は、図3(B)の設定画面310による設定の結果をCPU201が確認することで実行される。ダイレクト接続機能の設定がONである場合、つまり、アクセスポイントモードの使用が許可されている場合、処理はステップS803に進む。一方、ダイレクト接続機能の設定がONではない場合、つまり、アクセスポイントモードの使用が禁止されている場合、処理はステップS811に進む。   Next, in step S802, the CPU 201 determines whether or not the setting of the direct connection function is ON. The processing in step S802 is executed by the CPU 201 confirming the result of the setting on the setting screen 310 in FIG. If the setting of the direct connection function is ON, that is, if the use of the access point mode is permitted, the process proceeds to step S803. On the other hand, if the setting of the direct connection function is not ON, that is, if the use of the access point mode is prohibited, the process proceeds to step S811.

次にステップS803について説明する。ステップS803において、CPU201は、ダイレクト接続用の二次元バーコードを生成済みであるか否かを判定する。ダイレクト接続用の二次元バーコードは、二次元バーコード413のように、印刷装置100のIPアドレスとアクセスポイントのSSIDを含むものである。ダイレクト接続用の二次元バーコードを生成済みである場合、つまり、ダイレクト接続用の二次元バーコードがHDD204に記憶されている場合は、処理はステップS810に進む。一方、ダイレクト接続用の二次元バーコードを生成済みではない場合、つまり、ダイレクト接続用の二次元バーコードがHDD204に記憶されていない場合は、処理はステップS804に進む。   Next, step S803 will be described. In step S803, the CPU 201 determines whether a two-dimensional barcode for direct connection has been generated. The two-dimensional barcode for direct connection, like the two-dimensional barcode 413, includes the IP address of the printing apparatus 100 and the SSID of the access point. If the two-dimensional barcode for direct connection has been generated, that is, if the two-dimensional barcode for direct connection has been stored in the HDD 204, the process proceeds to step S810. On the other hand, if the two-dimensional barcode for direct connection has not been generated, that is, if the two-dimensional barcode for direct connection has not been stored in the HDD 204, the process proceeds to step S804.

次にステップS804について説明する。ステップS804において、CPU201は、ダイレクト接続用の二次元バーコードを含まないダイレクト接続画面を表示する。本実施形態の場合、CPU201は、図4(A)のダイレクト接続画面400を表示するように操作部208を制御する。   Next, step S804 will be described. In step S804, the CPU 201 displays a direct connection screen that does not include a two-dimensional barcode for direct connection. In the case of the present embodiment, the CPU 201 controls the operation unit 208 to display the direct connection screen 400 in FIG.

次にステップS805において、CPU201は、アクセスポイントモードの動作を開始を指示する開始ボタンがユーザに押されたか否かを判定する。ダイレクト接続画面400においてユーザが開始ボタン401を押すと、処理はステップS806に進む。一方、ユーザが開始ボタン401を押していない場合、CPU201は、ユーザが開始ボタン401を押すまで待機する。   Next, in step S805, the CPU 201 determines whether or not the start button for instructing the start of the operation in the access point mode has been pressed by the user. When the user presses the start button 401 on the direct connection screen 400, the process proceeds to step S806. On the other hand, if the user has not pressed the start button 401, the CPU 201 waits until the user presses the start button 401.

次にステップS806において、CPU201は、アクセスポイントモードの動作を開始する。具体的には、CPU201は、アクセスポイントモードの動作を開始するように無線通信部205を制御する。   Next, in step S806, the CPU 201 starts operation in the access point mode. Specifically, the CPU 201 controls the wireless communication unit 205 to start the operation in the access point mode.

次にステップS807において、CPU201は、アクセスポイントモードで使用するSSID、接続キー、IPアドレスを生成する。これらの情報はランダムな値が生成されてもよいし、予めユーザに設定された固定の値を用いてもよい。   Next, in step S807, the CPU 201 generates an SSID, a connection key, and an IP address used in the access point mode. For these pieces of information, random values may be generated, or fixed values set in advance by the user may be used.

次にステップS808において、CPU201は、ステップS807で生成したSSID、接続キー、IPアドレスに基づいて、ダイレクト接続用の二次元バーコードを生成する。ここで生成される二次元バーコードは、例えば図4(B)の二次元バーコード413である。   Next, in step S808, the CPU 201 generates a two-dimensional barcode for direct connection based on the SSID, connection key, and IP address generated in step S807. The two-dimensional barcode generated here is, for example, the two-dimensional barcode 413 in FIG.

次にステップS809において、CPU201は、ステップS808で生成したダイレクト接続用の二次元バーコードをHDD204に記憶する。ダイレクト接続用の二次元バーコードをHDD204に記憶した後に再度図8のフローチャートに示す処理が実行されると、ステップS803において、ダイレクト接続用の二次元バーコードを生成済みであると判定されることになる。   Next, in step S809, the CPU 201 stores the two-dimensional barcode for direct connection generated in step S808 in the HDD 204. When the process shown in the flowchart of FIG. 8 is executed again after storing the two-dimensional barcode for direct connection in the HDD 204, it is determined in step S803 that the two-dimensional barcode for direct connection has been generated. become.

なお、ステップS809で記憶したダイレクト接続用の二次元バーコードは、所定のタイミングで削除される。例えば、図4(B)の停止ボタン414がユーザに押されたり、タイムアウトによってアクセスポイントモードの動作が停止したタイミングで、ステップS809で記憶したダイレクト接続用の二次元バーコードは削除される。   Note that the two-dimensional barcode for direct connection stored in step S809 is deleted at a predetermined timing. For example, at the timing when the user presses the stop button 414 in FIG. 4B or when the operation in the access point mode is stopped due to timeout, the two-dimensional barcode for direct connection stored in step S809 is deleted.

次にステップS810において、CPU201は、ダイレクト接続用の二次元バーコード(ステップS809で記憶した二次元バーコード)を含むダイレクト接続画面を表示する。本実施形態の場合、CPU201は、図4(B)のダイレクト接続画面410を表示するように操作部208を制御する。これにより、ユーザは、ダイレクト接続用の二次元バーコードを携帯端末110に読み取らせることができる。なお、ダイレクト接続用の二次元バーコードを生成済みであるとステップS803において判定された場合も、操作部208は、ステップ810において図4(B)のダイレクト接続画面410を表示する。   Next, in step S810, the CPU 201 displays a direct connection screen including a two-dimensional barcode for direct connection (the two-dimensional barcode stored in step S809). In the case of the present embodiment, the CPU 201 controls the operation unit 208 to display the direct connection screen 410 shown in FIG. Thereby, the user can cause the mobile terminal 110 to read the two-dimensional barcode for direct connection. Note that, even when it is determined in step S803 that the two-dimensional barcode for direct connection has been generated, the operation unit 208 displays the direct connection screen 410 in FIG. 4B in step 810.

次にステップS811について説明する。ダイレクト接続機能の設定がONではない、つまり、アクセスポイントモードの使用が禁止されているとステップS802において判定されると、処理はステップS811に進む。そしてステップS811において、CPU201は、ダイレクト接続機能を利用できないことを示すメッセージを表示する。具体的には、CPU201は、図5(B)のダイレクト接続画面510を表示するように操作部208を制御する。ダイレクト接続画面510において、メッセージ511が表示される。これによりユーザは、ダイレクト接続機能を利用できないこと、つまり、アクセスポイントモードの使用が禁止されていることを把握することができる。   Next, step S811 will be described. If it is determined in step S802 that the setting of the direct connection function is not ON, that is, the use of the access point mode is prohibited, the process proceeds to step S811. Then, in step S811, the CPU 201 displays a message indicating that the direct connection function cannot be used. Specifically, CPU 201 controls operation unit 208 to display direct connection screen 510 in FIG. 5B. On the direct connection screen 510, a message 511 is displayed. This allows the user to know that the direct connection function cannot be used, that is, that the use of the access point mode is prohibited.

以上の説明の通り、本実施形態によれば、印刷装置100は、印刷装置100のアドレスとSSIDを含む二次元バーコードと、印刷装置100のアドレスを含むがSSIDを含まない二次元バーコードの両方を表示することができる。なお、本実施形態では印刷装置100のアドレスとしてIPアドレスを例に説明したが、印刷装置100のMACアドレスを用いてもよいし、IPアドレスとMACアドレスを両方用いてもよい。   As described above, according to the present embodiment, the printing apparatus 100 converts the two-dimensional barcode including the address of the printing apparatus 100 and the SSID and the two-dimensional barcode including the address of the printing apparatus 100 but not including the SSID. Both can be displayed. In this embodiment, the IP address of the printing apparatus 100 has been described as an example. However, the MAC address of the printing apparatus 100 may be used, or both the IP address and the MAC address may be used.

また、ユーザにしてみれば、ユーザ自身の使用目的に応じて、SSIDを含む二次元バーコードと、SSIDを含まない二次元バーコードのどちらを使うか切り替えることができる。   Further, the user can switch between using a two-dimensional barcode including an SSID and a two-dimensional barcode not including an SSID according to the user's own purpose of use.

(実施形態2)
実施形態1では、SSIDを含む二次元バーコードと、SSIDを含まない二次元バーコードを、ユーザの出力指示に応じて操作部208に表示する構成を説明したが、他の形態でユーザに出力してもよい。例えば、ユーザから印刷指示を受けたことに応じて、SSIDを含む二次元バーコードと、SSIDを含まない二次元バーコードをシートに印刷することで、ユーザに出力してもよい。
(Embodiment 2)
In the first embodiment, a configuration has been described in which a two-dimensional barcode including an SSID and a two-dimensional barcode not including an SSID are displayed on the operation unit 208 in response to a user's output instruction. May be. For example, in response to receiving a print instruction from the user, a two-dimensional barcode including the SSID and a two-dimensional barcode not including the SSID may be printed on a sheet and output to the user.

図9(A)のシート901は、SSIDを含む二次元バーコードをプリンタ206がシートに印刷した例を示す。シート901に印刷されている二次元バーコード902は、図4(B)の二次元バーコード413同様、アクセスポイントモードで使用するSSID、接続キー、印刷装置100のIPアドレスを含む。   A sheet 901 in FIG. 9A illustrates an example in which the printer 206 prints a two-dimensional barcode including an SSID on the sheet. The two-dimensional barcode 902 printed on the sheet 901 includes the SSID used in the access point mode, the connection key, and the IP address of the printing apparatus 100, similarly to the two-dimensional barcode 413 in FIG.

また、図9(B)のシート911は、SSIDを含まない二次元バーコードをプリンタ206がシートに印刷した例を示す。シート911に印刷されている二次元バーコード912は、図4(C)の二次元バーコード423や図5(A)の二次元バーコード503同様、アクセスポイントのSSIDは含まずに印刷装置100のIPアドレスを含む。   9B illustrates an example in which the printer 206 prints a two-dimensional barcode that does not include an SSID on a sheet. The two-dimensional barcode 912 printed on the sheet 911 does not include the SSID of the access point like the two-dimensional barcode 423 in FIG. 4C or the two-dimensional barcode 503 in FIG. IP address.

以上の説明の通り、二次元バーコードをシートに印刷することでも、ユーザは二次元バーコードを携帯端末110に読み取らせることができる。   As described above, the user can also cause the mobile terminal 110 to read the two-dimensional barcode by printing the two-dimensional barcode on the sheet.

(その他実施形態)
上述した各実施形態では、中継装置を介することなく携帯端末110と印刷装置100とが直接無線通信を実行するダイレクト無線通信モードとしてアクセスポイントモードを例に説明したが、他の方式の無線通信を用いてもよい。例えばWi−Fi Directを用いても、携帯端末110と印刷装置100とが直接無線通信を実行することができる。Wi−Fi Directの場合も、印刷装置100がSSIDや接続キー、IPアドレスを生成する。
(Other embodiments)
In each of the above-described embodiments, the access point mode has been described as an example of the direct wireless communication mode in which the mobile terminal 110 and the printing apparatus 100 directly perform wireless communication without using a relay device. May be used. For example, even if Wi-Fi Direct is used, the portable terminal 110 and the printing apparatus 100 can directly perform wireless communication. Also in the case of Wi-Fi Direct, the printing apparatus 100 generates an SSID, a connection key, and an IP address.

また、上述した各実施形態では、二次元バーコードの例としてQRコード(登録商標)を挙げて説明したが、他の種類の二次元バーコードを用いてもよい。   Further, in each of the above-described embodiments, the QR code (registered trademark) is described as an example of the two-dimensional barcode. However, another type of two-dimensional barcode may be used.

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

100 印刷装置
110 携帯端末
201 CPU
205 無線通信部
208 操作部
Reference Signs List 100 printing device 110 mobile terminal 201 CPU
205 Wireless communication unit 208 Operation unit

そこで本発明の1つの側面としては、通信装置において、通信装置のアクセスポイント機能のSSIDを含む二次元バーコードを適切にユーザに提供することを目的の1つとする。 So as one aspect of the present invention, in a communication device, and one object thereof is to provide a proper user a two-dimensional bar code including the SSID of the access point function of the communication device.

発明の1つの側面としての通信装置は、外部装置と無線通信を実行するためのアクセスポイントとして通信装置を動作させるアクセスポイント機能を有する通信装置であって、前記アクセスポイント機能を使用するか否かを設定する設定手段と、前記アクセスポイント機能を使用することが前記設定手段によって設定されている場合、前記アクセスポイントを識別するSSIDを示す情報を含む第1の二次元バーコードを表示するよう制御し、前記アクセスポイント機能を使用することが前記設定手段によって設定されていない場合、前記第1の二次元バーコードを表示しないよう制御する表示制御手段と、を有することを特徴とする。 A communication device according to one aspect of the present invention is a communication device having an access point function of operating a communication device as an access point for performing wireless communication with an external device, and determining whether to use the access point function. Setting means for setting whether or not to use the access point function, when the setting means sets the first two-dimensional bar code including information indicating an SSID for identifying the access point. And display control means for controlling so as not to display the first two-dimensional barcode when the control means does not set the use of the access point function by the setting means .

本発明の1つの側面によれば、通信装置において、通信装置のアクセスポイント機能のSSIDを含む二次元バーコードを適切にユーザに提供することができるようになるAccording to one aspect of the present invention, in the communication device, so that a two-dimensional bar code including the SSID of the access point function of the communication device can be provided appropriately to the user.

Claims (12)

通信装置であって、
前記通信装置のアドレスと、アクセスポイントのSSIDとを含む第1の二次元バーコードと、前記通信装置のアドレスを含み、アクセスポイントのSSIDを含まない第2の二次元バーコードを生成する生成手段と、
前記第1の二次元バーコードと、前記第2の二次元バーコードを出力する出力手段とを備え、
前記第1の二次元バーコードと前記第2の二次元バーコードは、外部装置が読み取り可能であることを特徴とする通信装置。
A communication device,
Generating means for generating a first two-dimensional barcode including an address of the communication device and an SSID of an access point; and a second two-dimensional barcode including an address of the communication device and not including an SSID of an access point When,
Output means for outputting the first two-dimensional barcode and the second two-dimensional barcode,
The communication device according to claim 1, wherein the first two-dimensional barcode and the second two-dimensional barcode are readable by an external device.
前記第1の二次元バーコードの出力指示をユーザから受けた場合に、前記出力手段は、前記第1の二次元バーコードを出力し、
前記第2の二次元バーコードの出力指示をユーザから受けた場合に、前記出力手段は、前記第2の二次元バーコードを出力することを特徴とする請求項1に記載の通信装置。
When receiving an output instruction of the first two-dimensional barcode from a user, the output unit outputs the first two-dimensional barcode,
The communication device according to claim 1, wherein the output unit outputs the second two-dimensional barcode when receiving an instruction to output the second two-dimensional barcode from a user.
前記通信装置は、前記通信装置と前記外部装置とが中継装置を介することなく直接無線通信を実行するダイレクト無線通信モードで動作可能であり、
前記第1の二次元バーコードに含まれるSSIDは、前記ダイレクト無線通信モードで使用するSSIDであることを特徴とする請求項1又は2に記載の通信装置。
The communication device is operable in a direct wireless communication mode in which the communication device and the external device perform direct wireless communication without going through a relay device,
The communication device according to claim 1, wherein the SSID included in the first two-dimensional barcode is an SSID used in the direct wireless communication mode.
前記ダイレクト無線通信モードの動作を開始するようにユーザに指示された場合に、前記生成手段は、前記第1の二次元バーコードを生成することを特徴とする請求項3に記載の通信装置。   The communication device according to claim 3, wherein the generation unit generates the first two-dimensional barcode when the user is instructed to start the operation in the direct wireless communication mode. 前記ダイレクト無線通信モードの使用を許可するか否かを設定する設定手段を更に備え、
前記ダイレクト無線通信モードの使用を許可しないと前記設定手段によって設定されている場合に、前記出力手段は、前記第1の二次元バーコードを出力しないことを特徴とする請求項3又は4に記載の通信装置。
Further comprising setting means for setting whether to permit use of the direct wireless communication mode,
5. The apparatus according to claim 3, wherein the output unit does not output the first two-dimensional barcode when the setting unit sets not to permit use of the direct wireless communication mode. Communication device.
前記通信装置が起動した場合に、前記生成手段は、前記第2の二次元バーコードを生成することを特徴とする請求項1乃至5のいずれか1項に記載の通信装置。   The communication device according to any one of claims 1 to 5, wherein when the communication device is activated, the generation unit generates the second two-dimensional barcode. 前記通信装置のアドレスは、前記通信装置のIPアドレスであることを特徴とする請求項1乃至6のいずれか1項に記載の通信装置。   The communication device according to any one of claims 1 to 6, wherein the address of the communication device is an IP address of the communication device. 前記出力手段は、前記第1の二次元バーコードと前記第2の二次元バーコードを表示することを特徴とする請求項1乃至7のいずれか1項に記載の通信装置。   The communication device according to any one of claims 1 to 7, wherein the output unit displays the first two-dimensional barcode and the second two-dimensional barcode. 前記通信装置は、印刷処理を実行する印刷装置であることを特徴とする請求項1乃至8のいずれか1項に記載の通信装置。   9. The communication device according to claim 1, wherein the communication device is a printing device that executes a printing process. 前記出力手段は、前記第1の二次元バーコードと前記第2の二次元バーコードをシートに印刷することを特徴とする請求項1乃至7のいずれか1項に記載の通信装置。   The communication device according to any one of claims 1 to 7, wherein the output unit prints the first two-dimensional barcode and the second two-dimensional barcode on a sheet. 通信装置の制御方法であって、
前記通信装置のアドレスと、アクセスポイントのSSIDとを含む第1の二次元バーコードと、前記通信装置のアドレスを含み、アクセスポイントのSSIDを含まない第2の二次元バーコードを生成する生成ステップと、
前記第1の二次元バーコードと、前記第2の二次元バーコードを出力する出力ステップとを有し、
前記第1の二次元バーコードと前記第2の二次元バーコードは、外部装置が読み取り可能であることを特徴とする通信装置の制御方法。
A method for controlling a communication device, comprising:
Generating a first two-dimensional barcode including an address of the communication device and an SSID of an access point; and generating a second two-dimensional barcode including an address of the communication device and not including an SSID of the access point. When,
Having the first two-dimensional barcode and an output step of outputting the second two-dimensional barcode;
The control method of a communication device, wherein the first two-dimensional barcode and the second two-dimensional barcode are readable by an external device.
請求項11に記載の通信装置の制御方法をコンピュータに実行させるためのプログラム。   A program for causing a computer to execute the method for controlling a communication device according to claim 11.
JP2019155427A 2015-07-30 2019-08-28 Communication equipment, control methods and programs for communication equipment Active JP6977005B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019155427A JP6977005B2 (en) 2015-07-30 2019-08-28 Communication equipment, control methods and programs for communication equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2015150510A JP6579846B2 (en) 2015-07-30 2015-07-30 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2019155427A JP6977005B2 (en) 2015-07-30 2019-08-28 Communication equipment, control methods and programs for communication equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015150510A Division JP6579846B2 (en) 2015-07-30 2015-07-30 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2020010362A true JP2020010362A (en) 2020-01-16
JP6977005B2 JP6977005B2 (en) 2021-12-08

Family

ID=69152479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019155427A Active JP6977005B2 (en) 2015-07-30 2019-08-28 Communication equipment, control methods and programs for communication equipment

Country Status (1)

Country Link
JP (1) JP6977005B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006001063A (en) * 2004-06-16 2006-01-05 Fuji Photo Film Co Ltd Direct print system
JP2006261938A (en) * 2005-03-16 2006-09-28 Sony Corp Communications system, communications apparatus and method, recording medium, and program
JP2014017770A (en) * 2012-07-11 2014-01-30 Canon Inc Radio communication device, its control method, and program
JP2014175892A (en) * 2013-03-11 2014-09-22 Seiko Epson Corp Radio communication system, radio communication terminal, radio communication device, radio communication method, and radio communication terminal control program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006001063A (en) * 2004-06-16 2006-01-05 Fuji Photo Film Co Ltd Direct print system
JP2006261938A (en) * 2005-03-16 2006-09-28 Sony Corp Communications system, communications apparatus and method, recording medium, and program
JP2014017770A (en) * 2012-07-11 2014-01-30 Canon Inc Radio communication device, its control method, and program
JP2014175892A (en) * 2013-03-11 2014-09-22 Seiko Epson Corp Radio communication system, radio communication terminal, radio communication device, radio communication method, and radio communication terminal control program

Also Published As

Publication number Publication date
JP6977005B2 (en) 2021-12-08

Similar Documents

Publication Publication Date Title
JP6579846B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
USRE49242E1 (en) Mobile terminal device, and method and computer readable medium for the same
JP6746336B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP6624792B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP6614763B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP6504907B2 (en) Communication device, control method of communication device, and program
KR102134125B1 (en) Communication apparatus, method for controlling communication apparatus, and storage medium
CN108121519B (en) Information processing apparatus, control method for information processing apparatus, and storage medium
JP2017175295A (en) Information processing apparatus, control method, and program
KR102329459B1 (en) Communication apparatus, method of controlling the same, and program
JP6768321B2 (en) Communication equipment, control methods and programs for communication equipment
KR102263938B1 (en) Image forming apparatus performing wireless lan communication through access point, control method therefor, and storage medium storing control program therefor
CN108471482B (en) Information processing apparatus, control method thereof, control method of system, and storage medium
US20160165385A1 (en) Information processing apparatus, method for controlling information processing apparatus, and storage medium
JP7005154B2 (en) Information processing equipment, control method, program
JP2017094507A (en) Printing device, printing device controlling method and program
JP6977005B2 (en) Communication equipment, control methods and programs for communication equipment
JP6635769B2 (en) Communication device, communication device control method, and program
JP2018033004A (en) Information processing device, control method thereof, and program
JP6744783B2 (en) Information processing apparatus, control method thereof, and program
JP6407212B2 (en) Information processing apparatus, information processing apparatus control method, and program
JP2019129368A (en) Communication device, communication system, information processing method and program
JP6790162B2 (en) Communication equipment, control methods and programs for communication equipment
JP7383432B2 (en) Communication device, communication device control method, and program
JP2018033003A (en) Information processing device, control method thereof, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190926

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190926

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200904

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200915

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201106

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210119

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210615

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210727

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20211012

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211110

R151 Written notification of patent or utility model registration

Ref document number: 6977005

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151