JP6884840B2 - Communication equipment, control methods and programs for communication equipment - Google Patents

Communication equipment, control methods and programs for communication equipment Download PDF

Info

Publication number
JP6884840B2
JP6884840B2 JP2019197772A JP2019197772A JP6884840B2 JP 6884840 B2 JP6884840 B2 JP 6884840B2 JP 2019197772 A JP2019197772 A JP 2019197772A JP 2019197772 A JP2019197772 A JP 2019197772A JP 6884840 B2 JP6884840 B2 JP 6884840B2
Authority
JP
Japan
Prior art keywords
access point
user
communication device
mode
wireless communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2019197772A
Other languages
Japanese (ja)
Other versions
JP2020036349A (en
Inventor
牧 伸彦
伸彦 牧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2019197772A priority Critical patent/JP6884840B2/en
Publication of JP2020036349A publication Critical patent/JP2020036349A/en
Priority to JP2021001142A priority patent/JP6984051B2/en
Application granted granted Critical
Publication of JP6884840B2 publication Critical patent/JP6884840B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

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

スマートフォンや携帯ゲーム機、印刷装置等の通信装置は、無線LAN機能を備えている。無線LAN機能の中には、複数の通信装置をアクセスポイントを介さずに直接接続するダイレクト無線通信モードが知られている。特許文献1には、ダイレクト無線通信モードの一例であるアクセスポイントモードを用いて、印刷装置とモバイル端末を直接接続する構成が開示されている。 Communication devices such as smartphones, portable game machines, and printing devices have a wireless LAN function. Among the wireless LAN functions, there is known a direct wireless communication mode in which a plurality of communication devices are directly connected without going through an access point. Patent Document 1 discloses a configuration in which a printing device and a mobile terminal are directly connected by using an access point mode, which is an example of a direct wireless communication mode.

ダイレクト無線通信モードを利用する場合、ユーザは、ダイレクト無線通信モードの動作を開始するように通信装置に指示する必要がある。例えば、ダイレクト無線通信モードの動作を開始するための「開始ボタン」を通信装置が表示して、ユーザがこの「開始ボタン」を押下することで、通信装置がダイレクト無線通信モードの動作を開始する。また、ダイレクト無線通信モードの利用を終了する場合、ユーザは、ダイレクト無線通信モードの動作を停止するように通信装置に指示する。例えば、ダイレクト無線通信モードの動作を停止するための「停止ボタン」を通信装置が表示して、ユーザがこの「停止ボタン」を押下することで、通信装置がダイレクト無線通信モードの動作を停止する。 When using the direct wireless communication mode, the user needs to instruct the communication device to start the operation of the direct wireless communication mode. For example, the communication device displays a "start button" for starting the operation of the direct wireless communication mode, and when the user presses this "start button", the communication device starts the operation of the direct wireless communication mode. .. Further, when the use of the direct wireless communication mode is terminated, the user instructs the communication device to stop the operation of the direct wireless communication mode. For example, the communication device displays a "stop button" for stopping the operation of the direct wireless communication mode, and when the user presses this "stop button", the communication device stops the operation of the direct wireless communication mode. ..

特開2015−023440号公報Japanese Unexamined Patent Publication No. 2015-023440

従来の通信装置は、ユーザがダイレクト無線通信モードの利用を終了していると判断できる場合でも、ユーザが「停止ボタン」を押下するまでダイレクト無線通信モードの動作を停止していなかった。そこで本発明では、ユーザがダイレクト無線通信モードの利用を終了していると判断できる場合に、ダイレクト無線通信モードの動作を停止させることを目的とする。 The conventional communication device does not stop the operation of the direct wireless communication mode until the user presses the "stop button" even if it can be determined that the user has finished using the direct wireless communication mode. Therefore, an object of the present invention is to stop the operation of the direct wireless communication mode when it can be determined that the user has finished using the direct wireless communication mode.

上述した課題を解決するために、本発明が提供する1つの側面としての通信装置は、ユーザがログイン可能であり、外部装置と外部アクセスポイントを介さずに直接無線通信を行うためのアクセスポイントとして機能するダイレクト無線通信機能を有する通信装置であって、前記ダイレクト無線通信機能の前記アクセスポイントとして前記通信装置が機能するよう制御する通信制御手段と、前記アクセスポイントへの接続に必要な接続情報として、ワンタイム性を有するべく生成した接続情報を使用する第1モードのアクセスポイントとして前記通信装置が機能している場合に、前記通信装置からユーザがログアウトしたことに従って、前記ダイレクト無線通信機能を停止するように前記無線通信手段を制御する制御手段と、を有し、前記第1モードのアクセスポイントとして前記通信装置が機能している場合、前記第1モードのアクセスポイントに接続可能な外部端末の最大値は1に制限され、前記アクセスポイントへの接続に必要な接続情報として、前記ダイレクト無線通信機能の動作設定として前記通信装置に記憶されている、ユーザにより設定された固定SSIDを使用する第2のモードのアクセスポイントとして前記通信装置が機能している場合、前記通信装置からユーザがログアウトしたタイミングでは前記ダイレクト無線通信機能は停止されないことを特徴とする In order to solve the above-mentioned problems, the communication device as one aspect provided by the present invention is an access point for allowing the user to log in and directly performing wireless communication between the external device and the external access point without going through the external device. A communication device having a functioning direct wireless communication function, which is a communication control means for controlling the communication device to function as the access point of the direct wireless communication function, and connection information necessary for connecting to the access point. , When the communication device is functioning as a first mode access point that uses the connection information generated to have one-time property, the direct wireless communication function is stopped according to the user logging out from the communication device. When the communication device functions as the access point of the first mode, the external terminal capable of connecting to the access point of the first mode has a control means for controlling the wireless communication means. The maximum value is limited to 1, and the fixed SSID set by the user, which is stored in the communication device as the operation setting of the direct wireless communication function, is used as the connection information required for connecting to the access point. When the communication device is functioning as the access point of the mode 2, the direct wireless communication function is not stopped at the timing when the user logs out from the communication device .

また、本発明が提供する通信装置は、ユーザがログイン可能な通信装置であって、外部装置と前記通信装置との間で中継装置を介さずに直接無線通信を実行するダイレクト無線通信モードで動作する無線通信手段と、前記通信装置からユーザがログアウトした場合に、前記通信装置に設定されている、前記ダイレクト無線通信モードで使用するSSIDの設定に基づいて、前記ダイレクト無線通信モードの動作を停止するか否かを決定する決定手段と、前記ダイレクト無線通信モードの動作を停止すると前記決定手段によって決定された場合に、前記ダイレクト無線通信モードの動作を停止するように前記無線通信手段を制御する制御手段とを備えることを特徴とする。 Further, the communication device provided by the present invention is a communication device that a user can log in to, and operates in a direct wireless communication mode in which direct wireless communication is executed between an external device and the communication device without a relay device. When the user logs out from the communication device, the operation of the direct wireless communication mode is stopped based on the setting of the SSID used in the direct wireless communication mode set in the communication device. The wireless communication means is controlled so as to stop the operation of the direct wireless communication mode when the determination means determines whether or not to stop the operation of the direct wireless communication mode and the determination means determines whether or not to stop the operation of the direct wireless communication mode. It is characterized by being provided with a control means.

本発明によれば、通信装置は、ダイレクト無線通信機能の利用を終了していると判断できる場合に、ユーザが通信装置からログアウトしたことに連動して、ダイレクト無線通信機能の動作を停止することができるようになるAccording to the present invention, when it can be determined that the use of the direct wireless communication function has been terminated, the communication device stops the operation of the direct wireless communication function in conjunction with the user logging out of the communication device. Will be able to .

通信システムの概要を示す図である。It is a figure which shows the outline of the communication system. 印刷装置100のハードウェア構成を示す図である。It is a figure which shows the hardware composition of the printing apparatus 100. 印刷装置100が表示する画面を示す図である。It is a figure which shows the screen which the printing apparatus 100 displays. ユーザ管理テーブルを示す図である。It is a figure which shows the user management table. 無線接続画面を示す図である。It is a figure which shows the wireless connection screen. ユーザ認証に関する処理を示すフローチャートである。It is a flowchart which shows the process about the user authentication. アクセスポイントモードの動作に関する処理を示すフローチャートである。It is a flowchart which shows the process about operation of access point mode. アクセスポイントモードの動作に関する処理を示すフローチャートである。It is a flowchart which shows the process about operation of access point mode.

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

(実施形態1)
図1を用いて、通信システムの概要を説明する。本実施形態の通信システムは、印刷装置100とモバイル端末101とで構成される。
(Embodiment 1)
An outline of the communication system will be described with reference to FIG. The communication system of the present embodiment includes a printing device 100 and a mobile terminal 101.

印刷装置100は無線LAN機能を備える。印刷装置100が備える無線LAN機能には、インフラストラクチャーモードと、アクセスポイントモードの2種類の無線通信モードが存在する。インフラストラクチャーモードは、印刷装置100がアクセスポイント(不図示)のような中継装置に無線接続して、PC(Personal Computer)等のネットワーク上のデバイスと通信するための無線通信モードである。 The printing device 100 has a wireless LAN function. The wireless LAN function included in the printing device 100 includes two types of wireless communication modes, an infrastructure mode and an access point mode. The infrastructure mode is a wireless communication mode for the printing device 100 to wirelessly connect to a relay device such as an access point (not shown) and communicate with a device on a network such as a PC (Personal Computer).

一方、アクセスポイントモードは、印刷装置100においてソフトウェア・アクセスポイントを起動させることで、印刷装置100自身がアクセスポイントとして振る舞う無線通信モードである。スマートフォン等のモバイル端末101は、アクセスポイントモードで動作する印刷装置100との間で無線接続を確立し、写真等の電子ファイルを印刷するための印刷データを印刷装置100に送信する。アクセスポイントモードによって、アクセスポイントのような中継装置を介することなく、印刷装置100とモバイル端末101との間で直接無線通信を実行することができる。なおアクセスポイントモードは、印刷装置100とモバイル端末101が直接無線接続を確立するためのダイレクト無線通信モードの一例である。アクセスポイントモードの代わりに、Wi−Fi Direct(登録商標)のような他の無線通信方式を本実施形態に適用してもよい。 On the other hand, the access point mode is a wireless communication mode in which the printing device 100 itself acts as an access point by activating the software access point in the printing device 100. The mobile terminal 101 such as a smartphone establishes a wireless connection with the printing device 100 operating in the access point mode, and transmits print data for printing an electronic file such as a photo to the printing device 100. The access point mode enables direct wireless communication between the printing device 100 and the mobile terminal 101 without going through a relay device such as an access point. The access point mode is an example of a direct wireless communication mode for establishing a direct wireless connection between the printing device 100 and the mobile terminal 101. Instead of the access point mode, other wireless communication methods such as Wi-Fi Direct® may be applied to this embodiment.

後ほど詳しく説明するが、印刷装置100はユーザ認証機能を備えていて、ユーザ認証機能によってユーザが印刷装置100にログインする。印刷装置100にログインしたユーザは、アクセスポイントモードを利用することができる。そしてユーザが印刷装置100からログアウトすると、印刷装置100は、ユーザのログアウトに連動してアクセスポイントモードの動作を停止する。 As will be described in detail later, the printing device 100 has a user authentication function, and the user logs in to the printing device 100 by the user authentication function. The user who has logged in to the printing device 100 can use the access point mode. Then, when the user logs out of the printing device 100, the printing device 100 stops the operation of the access point mode in conjunction with the logout of the user.

次に図2を用いて、印刷装置100のハードウェア構成を説明する。CPU201はROM202が記憶している制御プログラムを読み出して、印刷装置100の動作を制御するための様々な処理を実行する。ROM202は、制御プログラムを記憶している。RAM203は、CPU201の主メモリ、ワークエリア等の一時記憶領域として用いられる。HDD204は、様々なデータを記憶する不揮発性の記憶媒体である。 Next, the hardware configuration of the printing apparatus 100 will be described with reference to FIG. The CPU 201 reads the control program stored in the ROM 202 and executes various processes for controlling the operation of the printing device 100. The ROM 202 stores the 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. HDD 204 is a non-volatile storage medium that stores various data.

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

無線LAN I/F205は、モバイル端末101やアクセスポイント等の外部装置との間で無線LAN通信を実行する。無線LAN I/F205が実行する無線LAN通信は、IEEE802.11a/b/g/n/ac等の無線通信である。無線LAN I/F205は、インフラストラクチャーモードとアクセスポイントモードとで動作可能である。無線LAN I/F205は、予めユーザに設定されているデバイス設定に従って、インフラストラクチャーモードとアクセスポイントモードのいずれか一方を選択して動作する。 The wireless LAN I / F 205 executes wireless LAN communication with an external device such as a mobile terminal 101 or an access point. The wireless LAN communication executed by the wireless LAN I / F205 is wireless communication such as IEEE802.11a / b / g / n / ac. The wireless LAN I / F 205 can operate in the infrastructure mode and the access point mode. The wireless LAN I / F 205 operates by selecting either the infrastructure mode or the access point mode according to the device settings preset in the user.

ネットワークI/F210は、LANケーブルを介して有線LANに接続する。ネットワークI/F210は、有線LAN上の外部装置(例えばPC)と通信可能である。 The network I / F210 is connected to a wired LAN via a LAN cable. The network I / F210 can communicate with an external device (for example, a PC) on the wired LAN.

プリンタ206は、無線LAN I/F205やネットワークI/F210が受信した印刷データに基づいて、シートに印刷処理を実行する。スキャナ207は、ユーザに載置された原稿を読み取り、原稿画像を生成する。スキャナ207によって生成された原稿画像は、プリンタ206によって印刷されたり(所謂コピー処理)、HDD204に蓄積されたりする。 The printer 206 executes a printing process on a sheet based on the print data received by the wireless LAN I / F 205 or the network I / F 210. The scanner 207 reads a document placed on the user and generates a document image. The original image generated by the scanner 207 is printed by the printer 206 (so-called copy processing) or stored in the HDD 204.

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

ICカードリーダ209は、ICカードからユーザ情報を読み取る。本実施形態の場合、ユーザIDとパスワードが、ユーザ情報としてICカードに記憶されている。そしてICカードリーダ209がICカードから読み取ったユーザ情報に基づいて、印刷装置100がユーザ認証を実行する。 The IC card reader 209 reads user information from the IC card. In the case of this embodiment, the user ID and password are stored in the IC card as user information. Then, the printing device 100 executes user authentication based on the user information read from the IC card by the IC card reader 209.

なお、印刷装置100は、アクセスポイントモードで動作可能な通信装置の一例として挙げている。本発明を適用可能な通信装置は印刷装置100に限らない。アクセスポイントモードで動作可能であれば、デジタルカメラ、ビデオカメラ、スマートフォン、携帯ゲーム機等の様々な通信装置に本発明を適用できる。 The printing device 100 is given as an example of a communication device 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 communication devices such as digital cameras, video cameras, smartphones, and portable game machines as long as they can operate in the access point mode.

次に、印刷装置100が提供する操作画面と、アクセスポイントモードをユーザが利用する際の操作手順について説明する。 Next, the operation screen provided by the printing device 100 and the operation procedure when the user uses the access point mode will be described.

図3(A)のログイン画面300は、印刷装置100の操作部208が表示する画面である。印刷装置100の起動が完了すると、操作部208は、ログイン画面300を初期表示する。ユーザは、ICカードリーダ209にユーザ自身のICカードをかざす。 The login screen 300 of FIG. 3A is a screen displayed by the operation unit 208 of the printing device 100. When the start-up of the printing device 100 is completed, the operation unit 208 initially displays the login screen 300. The user holds his / her own IC card over the IC card reader 209.

図4のユーザ管理テーブル400は、印刷装置100にログインすることが許可されているユーザのユーザ情報(ユーザ名、ユーザID、パスワード)を管理するための情報であり、印刷装置100のHDD204に記憶されている。ユーザ管理テーブル400に登録されているユーザが、印刷装置100にログイン可能である。ユーザが自身のICカードをICカードリーダ209にかざすと、ICカードリーダ209は、ICカードからユーザ情報(ユーザIDとパスワード)を読み取る。そしてCPU201は、ICカードリーダ209がICカードから読み取ったユーザ情報が、ユーザ管理テーブル400に登録されているか否かを判定する。ICカードから読み取ったユーザ情報がユーザ管理テーブル400に登録されていれば、認証OKとなり、操作部208は図3(B)のメニュー画面310を表示する。認証OKと判定されたユーザは印刷装置100にログインした状態になり、印刷装置を使用することができる。一方、ICカードから読み取ったユーザ情報がユーザ管理テーブル400に登録されていなければ、認証NGとなり、操作部208は認証NGをユーザに通知し、メニュー画面310は表示されない。 The user management table 400 of FIG. 4 is information for managing user information (user name, user ID, password) of a user who is permitted to log in to the printing device 100, and is stored in the HDD 204 of the printing device 100. Has been done. A user registered in the user management table 400 can log in to the printing device 100. When the user holds his / her IC card over the IC card reader 209, the IC card reader 209 reads the user information (user ID and password) from the IC card. Then, the CPU 201 determines whether or not the user information read from the IC card by the IC card reader 209 is registered in the user management table 400. If the user information read from the IC card is registered in the user management table 400, the authentication is OK, and the operation unit 208 displays the menu screen 310 of FIG. 3 (B). The user who is determined to be authenticated is logged in to the printing device 100 and can use the printing device. On the other hand, if the user information read from the IC card is not registered in the user management table 400, the authentication is NG, the operation unit 208 notifies the user of the authentication NG, and the menu screen 310 is not displayed.

本実施形態の場合、ICカードリーダ209を用いずに、入力欄301と入力欄302にそれぞれユーザIDとパスワードをユーザが入力してもよい。入力欄301と入力欄302にユーザIDとパスワードを入力して、そしてユーザがログインボタン303を押すと、印刷装置100はユーザ認証を実行する。 In the case of the present embodiment, the user may input the user ID and the password in the input field 301 and the input field 302, respectively, without using the IC card reader 209. When the user ID and password are entered in the input fields 301 and the input fields 302, and the user presses the login button 303, the printing device 100 executes user authentication.

また、ユーザ管理テーブル400を印刷装置100が備えるのではなく、外部の認証サーバが備えていてもよい。認証サーバがユーザ管理テーブル400を備える場合、印刷装置100は、ユーザ情報を認証サーバに送信する。そして認証処理の結果(認証OK又は認証NG)を印刷装置100が認証サーバから受け取ることで、印刷装置100はユーザ認証を実行する。 Further, the user management table 400 may not be provided in the printing device 100, but may be provided in an external authentication server. When the authentication server includes the user management table 400, the printing device 100 transmits the user information to the authentication server. Then, when the printing device 100 receives the result of the authentication process (authentication OK or authentication NG) from the authentication server, the printing device 100 executes user authentication.

図3(B)のメニュー画面310には、印刷装置100が提供する機能をユーザが利用するためのボタンが表示される。ログアウトボタン315は、印刷装置100からユーザがログインするためのボタンである。ユーザがログアウトボタン315を押下すると、ログイン中のユーザが印刷装置100からログアウトする。なお、以降で説明する各画面にもログアウト画面が表示されていて、ユーザは、操作部208がどの画面を表示している場合にもログアウト指示を入力することができる。 On the menu screen 310 of FIG. 3B, a button for the user to use the function provided by the printing device 100 is displayed. The logout button 315 is a button for a user to log in from the printing device 100. When the user presses the logout button 315, the logged-in user logs out from the printing device 100. A log-out screen is also displayed on each of the screens described below, and the user can input a log-out instruction regardless of which screen the operation unit 208 is displaying.

ボタン311は、ユーザがコピー機能を利用するためのボタンである。ユーザがボタン311を押下すると、操作部208は不図示のコピー画面を表示する。 Button 311 is a button for the user to use the copy function. When the user presses the button 311, the operation unit 208 displays a copy screen (not shown).

ボタン312は、ユーザがSEND機能(スキャナ207が生成した原稿画像を外部装置に送信する機能)を利用するためのボタンである。ユーザがボタン312を押下すると、操作部208は、不図示のSEND画面を表示する。 The button 312 is a button for the user to use the SEND function (a function of transmitting the original image generated by the scanner 207 to an external device). When the user presses the button 312, the operation unit 208 displays an SEND screen (not shown).

ボタン314は、印刷装置100のデバイス設定をユーザが行うためのボタンである。ユーザがボタン314を押下すると、操作部208は、ユーザ操作に従って様々な設定画面を表示する。図3(C)の設定画面320は、印刷装置100がユーザに提供する操作画面の1つであり、操作部208が表示する。設定画面320で設定可能な項目について詳しく説明する。設定画面320は、システム管理者のような特別な権限を有するユーザがアクセスできる画面である。 The button 314 is a button for the user to set the device of the printing device 100. When the user presses the button 314, the operation unit 208 displays various setting screens according to the user operation. The setting screen 320 of FIG. 3C is one of the operation screens provided by the printing device 100 to the user, and is displayed by the operation unit 208. The items that can be set on the setting screen 320 will be described in detail. The setting screen 320 is a screen that can be accessed by a user having special authority such as a system administrator.

項目321は、アクセスポイントモードで使用するSSID(Service SetIdentifier)として、固定SSIDとワンタイムSSIDのどちらを使用するか設定する。固定SSIDは、アクセスポイントモードで動作する度に同じSSIDを使用することを示す設定である。システム管理者は、入力欄322に所望のSSIDを入力する。印刷装置100は、アクセスポイントモードで動作する際に、入力欄322に入力されたSSIDを固定SSIDとして使用する。一方、ワンタイムSSIDは、ランダムなSSIDを生成して、そしてランダムなSSIDを使用することを示す設定である。 Item 321 sets whether to use a fixed SSID or a one-time SSID as the SSID (Service Set Identifier) used in the access point mode. The fixed SSID is a setting indicating that the same SSID is used every time the access point mode is operated. The system administrator inputs the desired SSID in the input field 322. The printing device 100 uses the SSID input in the input field 322 as a fixed SSID when operating in the access point mode. A one-time SSID, on the other hand, is a setting that indicates that a random SSID is generated and that a random SSID is used.

登録ボタン323は、設定画面320による設定を印刷装置100に反映するためのボタンである。システム管理者が登録ボタン323を押下すると、設定画面320による設定結果がHDD204に記憶され、設定画面320による設定が印刷装置100に反映される。 The registration button 323 is a button for reflecting the setting on the setting screen 320 on the printing device 100. When the system administrator presses the registration button 323, the setting result by the setting screen 320 is stored in the HDD 204, and the setting by the setting screen 320 is reflected in the printing device 100.

メニュー画面310の説明に戻る。ボタン313は、ユーザがアクセスポイントモードを利用するためのボタンである。ユーザがアクセスポイントモードを利用する場合、ユーザはまずボタン313を押下する。ユーザがボタン313を押下すると、操作部208は図5(A)の無線接続画面500を表示する。 Return to the explanation of the menu screen 310. Button 313 is a button for the user to use the access point mode. When the user uses the access point mode, the user first presses the button 313. When the user presses the button 313, the operation unit 208 displays the wireless connection screen 500 of FIG. 5A.

無線接続画面500には、開始ボタン501が表示される。この開始ボタン501は、アクセスポイントモードの動作を開始するようにユーザが印刷装置100に指示するためのボタンである。操作部208が無線接続画面500を表示している場合、印刷装置100はアクセスポイントモードの動作を開始していない。従って、モバイル端末101が周囲のアクセスポイントを探索したとしても印刷装置100を見つけることができず、モバイル端末101と印刷装置100との間で無線接続を確立することはできない。モバイル端末101と印刷装置100との間で無線接続を確立するためには、ユーザは、印刷装置100にアクセスポイントモードの動作を開始させる必要がある。ユーザが開始ボタン501を押下すると、印刷装置100はアクセスポイントモードの動作を開始する。そして操作部208は、図5(B)の無線接続画面510を表示する。 A start button 501 is displayed on the wireless connection screen 500. The start button 501 is a button for the user to instruct the printing device 100 to start the operation of the access point mode. When the operation unit 208 displays the wireless connection screen 500, the printing device 100 has not started the operation of the access point mode. Therefore, even if the mobile terminal 101 searches for a surrounding access point, the printing device 100 cannot be found, and a wireless connection cannot be established between the mobile terminal 101 and the printing device 100. In order to establish a wireless connection between the mobile terminal 101 and the printing device 100, the user needs to cause the printing device 100 to start the operation of the access point mode. When the user presses the start button 501, the printing device 100 starts the operation of the access point mode. Then, the operation unit 208 displays the wireless connection screen 510 of FIG. 5 (B).

印刷装置100がアクセスポイントモードの動作を開始すると、印刷装置100はSSIDと接続キー(例えばWEPキー)を生成する。無線接続画面510の領域511には、印刷装置100が生成したSSIDと接続キーが表示される。設定画面320において固定SSIDを使用すると設定されている場合、固定SSIDが生成されて領域511に表示される。一方、設定画面320においてワンタイムSSIDを使用すると設定されている場合、ランダムなSSIDが生成されて領域511に表示される。 When the printing device 100 starts operating in the access point mode, the printing device 100 generates an SSID and a connection key (for example, a WEP key). The SSID and connection key generated by the printing device 100 are displayed in the area 511 of the wireless connection screen 510. When it is set to use the fixed SSID on the setting screen 320, the fixed SSID is generated and displayed in the area 511. On the other hand, when it is set to use the one-time SSID on the setting screen 320, a random SSID is generated and displayed in the area 511.

領域511に表示されている内容を確認したユーザは、自身のモバイル端末101を用いて周囲のアクセスポイントを探索し、探索結果一覧から領域511に表示されているSSIDのアクセスポイントを選択する。そして、領域511に表示されている接続キーをユーザがモバイル端末101に入力することで、印刷装置100とモバイル端末101との間でアクセスポイントモードに基づく無線接続が確立される。アクセスポイントモード用いてモバイル端末101を印刷装置100に無線接続した後、ユーザは、モバイル端末101上で印刷したい写真を選択する。そしてユーザが印刷指示をモバイル端末101に入力すると、モバイル端末101は、アクセスポイントモードによる無線通信を用いて、ユーザが選択した写真を印刷するための印刷データを印刷装置100に送信する。印刷データを受信した印刷装置100は、受信した印刷データに基づいてシートに印刷処理を実行する。 The user who has confirmed the content displayed in the area 511 searches for surrounding access points using his / her own mobile terminal 101, and selects the SSID access point displayed in the area 511 from the search result list. Then, when the user inputs the connection key displayed in the area 511 to the mobile terminal 101, a wireless connection based on the access point mode is established between the printing device 100 and the mobile terminal 101. After wirelessly connecting the mobile terminal 101 to the printing device 100 using the access point mode, the user selects a photo to be printed on the mobile terminal 101. Then, when the user inputs a print instruction to the mobile terminal 101, the mobile terminal 101 transmits print data for printing the photograph selected by the user to the printing device 100 by using wireless communication in the access point mode. The printing apparatus 100 that has received the print data executes a printing process on the sheet based on the received print data.

印刷装置100がアクセスポイントモードの動作を開始すると、印刷装置100は、モバイル端末101のような外部装置から無線接続の確立要求を受けるための待ち受け状態となる。印刷装置100がアクセスポイントモードの動作を開始すると、モバイル端末101が周囲のアクセスポイントを探索した際に印刷装置100を見つけることができる。外部装置から無線接続の確立要求を受けると、印刷装置100は、当該外部装置との間でアクセスポイントモードによる無線接続を確立する。そして無線接続を確立した後に、印刷装置100と外部装置との間で実際のデータ通信(例えばモバイル端末101から印刷装置100への印刷データの送信)が実行される。 When the printing device 100 starts operating in the access point mode, the printing device 100 is in a standby state for receiving a request for establishing a wireless connection from an external device such as the mobile terminal 101. When the printing device 100 starts operating in the access point mode, the printing device 100 can be found when the mobile terminal 101 searches for surrounding access points. Upon receiving the request for establishing a wireless connection from the external device, the printing device 100 establishes a wireless connection with the external device in the access point mode. Then, after establishing the wireless connection, actual data communication (for example, transmission of print data from the mobile terminal 101 to the printing device 100) is executed between the printing device 100 and the external device.

また、無線接続画面510には、停止ボタン512が表示されている。停止ボタン512は、アクセスポイントモードの動作を停止させる停止指示をユーザから受け付ける。印刷装置100のアクセスポイントモードの動作を停止させたい場合、ユーザは停止ボタン512を押下する。ユーザが停止ボタン512を押下すると、印刷装置100はアクセスポイントモードの動作を停止する。また、印刷装置100からユーザがログアウトした場合にも、印刷装置100はアクセスポイントモードの動作を停止する。 Further, the stop button 512 is displayed on the wireless connection screen 510. The stop button 512 receives a stop instruction from the user to stop the operation of the access point mode. When it is desired to stop the operation of the access point mode of the printing device 100, the user presses the stop button 512. When the user presses the stop button 512, the printing device 100 stops the operation of the access point mode. Further, even when the user logs out from the printing device 100, the printing device 100 stops the operation of the access point mode.

次に、ユーザが印刷装置100にログインする際に印刷装置100が実行する処理を、図6のフローチャートを用いて説明する。図6のフローチャートに示す各ステップは、CPU201がROM202等のメモリに格納された制御プログラムをRAM203に展開して実行することによって処理される。なお、図6のフローチャートの少なくとも一部のステップをCPU201に実行させて、残りのステップをCPU201とは異なる他のCPU(不図示)が実行するように印刷装置100を構成してもよい。 Next, the process executed by the printing device 100 when the user logs in to the printing device 100 will be described with reference to the flowchart of FIG. Each step shown in the flowchart of FIG. 6 is processed by the CPU 201 expanding the control program stored in the memory such as the ROM 202 into the RAM 203 and executing the step. The printing device 100 may be configured so that the CPU 201 executes at least a part of the steps in the flowchart of FIG. 6 and another CPU (not shown) different from the CPU 201 executes the remaining steps.

まずステップS601において、CPU201は、ユーザ認証を実行するか否かを判定する。ICカードリーダ209がICからユーザ情報を読み取った場合、又は、ユーザが入力欄301と入力欄302にユーザIDとパスワードを入力してログインボタン303を押した場合に、ユーザ認証を実行するとCPU201が判定する。そして処理はステップS602に進む。 First, in step S601, the CPU 201 determines whether or not to execute user authentication. When the IC card reader 209 reads the user information from the IC, or when the user inputs the user ID and password in the input field 301 and the input field 302 and presses the login button 303, the CPU 201 executes the user authentication. judge. Then, the process proceeds to step S602.

次にステップS602において、CPU201は、ユーザ情報が示すユーザがログインすることが許可されているユーザであるか否かを判定する。この判定は、ユーザ情報がユーザ管理テーブル400に登録されているか否かを確認することによって行われる。ユーザ情報がユーザ管理テーブル400に登録されていれば(認証OKと判定)、処理はステップS603に進む。そしてステップS603において、CPU201は、ログイン処理を実行する。CPU201は、認証OKと判定されたユーザを印刷装置100にログインさせ、そしてメニュー画面310を表示するように操作部208を制御する。 Next, in step S602, the CPU 201 determines whether or not the user indicated by the user information is a user who is permitted to log in. This determination is performed by confirming whether or not the user information is registered in the user management table 400. If the user information is registered in the user management table 400 (determination that authentication is OK), the process proceeds to step S603. Then, in step S603, the CPU 201 executes the login process. The CPU 201 logs the user who is determined to be authentication OK to the printing device 100, and controls the operation unit 208 so as to display the menu screen 310.

一方、ユーザ情報がユーザ管理テーブル400に登録されていなければ(認証NGと判定)、ユーザ情報が示すユーザがログインすることが許可されていないユーザであるとステップS602において判定される。CPU201は、ログイン処理を実行しないで、認証NGをユーザに通知して処理を終了する。 On the other hand, if the user information is not registered in the user management table 400 (determined as authentication NG), it is determined in step S602 that the user indicated by the user information is a user who is not permitted to log in. The CPU 201 does not execute the login process, but notifies the user of the authentication NG and ends the process.

次に、ユーザがアクセスポイントモードを利用し、そしてユーザのログアウトに連動して印刷装置100がアクセスポイントモードの動作を自動的に停止する際に印刷装置100が実行する処理を、図7のフローチャートを用いて説明する。図7のフローチャートに示す各ステップは、CPU201がROM202等のメモリに格納された制御プログラムをRAM203に展開して実行することによって処理される。なお、図7のフローチャートの少なくとも一部のステップをCPU201に実行させて、残りのステップをCPU201とは異なる他のCPU(不図示)が実行するように印刷装置100を構成してもよい。 Next, the flowchart of FIG. 7 shows the process executed by the printing device 100 when the user uses the access point mode and the printing device 100 automatically stops the operation of the access point mode in conjunction with the user's logout. Will be described using. Each step shown in the flowchart of FIG. 7 is processed by the CPU 201 expanding the control program stored in the memory such as the ROM 202 into the RAM 203 and executing the step. The printing device 100 may be configured so that the CPU 201 executes at least a part of the steps in the flowchart of FIG. 7 and another CPU (not shown) different from the CPU 201 executes the remaining steps.

まずステップS701において、CPU201は、開始ボタン501がユーザに押下されたか否かを判定する。開始ボタン501がユーザに押下されたことをCPU201が検知すると、処理はステップS702に進む。そしてステップS702において、CPU201は、アクセスポイントモードの動作を開始するように無線LAN I/F205を制御する。無線LAN I/F205は、設定画面320による設定の結果に従って、固定SSID又はワンタイムSSIDを生成して、アクセスポイントモードの動作を開始する。 First, in step S701, the CPU 201 determines whether or not the start button 501 has been pressed by the user. When the CPU 201 detects that the start button 501 has been pressed by the user, the process proceeds to step S702. Then, in step S702, the CPU 201 controls the wireless LAN I / F 205 so as to start the operation in the access point mode. The wireless LAN I / F 205 generates a fixed SSID or a one-time SSID according to the result of the setting on the setting screen 320, and starts the operation of the access point mode.

次にステップS703において、CPU201は、変数Nの値として0をセットする。変数Nは、印刷装置100との間でアクセスポイントモードによる無線接続を確立したデバイスの数を管理するための変数である。本実施形態の場合、印刷装置100は、アクセスポイントモードによる無線接続を同時に最大5台のデバイスとの間で確立できるとする。5台という値は同時接続数の最大値の一例であり、他の値であってもよい。また、本実施形態では、固定SSIDとワンタイムSSIDのどちらを使用していても同時接続数の最大値は変わらないものとして説明するが、固定SSIDを使用する場合とワンタイムSSIDを使用する場合とで同時接続数の最大値を異なる値にしてもよい。 Next, in step S703, the CPU 201 sets 0 as the value of the variable N. The variable N is a variable for managing the number of devices that have established a wireless connection with the printing device 100 in the access point mode. In the case of this embodiment, it is assumed that the printing apparatus 100 can establish a wireless connection in the access point mode with a maximum of five devices at the same time. The value of 5 units is an example of the maximum value of the number of simultaneous connections, and may be another value. Further, in the present embodiment, it is assumed that the maximum value of the number of simultaneous connections does not change regardless of whether the fixed SSID or the one-time SSID is used. However, when the fixed SSID is used and when the one-time SSID is used. The maximum value of the number of simultaneous connections may be different.

次にステップ704において、CPU201は、無線接続の確立要求を外部装置から受けたか否かを判定する。無線接続の確立要求を無線LAN I/F205が外部装置から受けると、処理はステップS705に進む。一方、無線接続の確立要求を無線LAN I/F205が外部装置から受けていない場合、処理はステップS709に進む。 Next, in step 704, the CPU 201 determines whether or not a request for establishing a wireless connection has been received from an external device. When the wireless LAN I / F 205 receives the request for establishing the wireless connection from the external device, the process proceeds to step S705. On the other hand, if the wireless LAN I / F 205 has not received the wireless connection establishment request from the external device, the process proceeds to step S709.

次にステップS705について説明する。ステップS705において、CPU201は、変数Nの値が同時接続数の最大値より少ないか否かを判定する。変数Nの値、つまり、現在アクセスポイントモードによる無線接続を確立しているデバイスの数が同時接続数の最大値より少ない場合、処理はステップS706に進む。ステップS706において、CPU201は、無線接続の確立を要求したデバイスとの間で無線接続を確立するように無線LAN I/F205を制御する。無線LAN I/F205は、無線接続の確立を要求したデバイスとの間で、アクセスポイントモードによる無線接続を確立する。そしてステップS707において、CPU201は、変数Nの値を1増やす。一方、変数Nの値、つまり、現在アクセスポイントモードによる無線接続を確立しているデバイスの数が同時接続数の最大値と等しい場合、処理はステップS708に進む。そしてステップS708において、CPU201は、無線接続の確立要求を拒否する。無線接続の確立を要求したデバイスにしてみれば、印刷装置100との間でアクセスポイントモードによる無線接続を確立することに失敗する。 Next, step S705 will be described. In step S705, the CPU 201 determines whether or not the value of the variable N is less than the maximum value of the number of simultaneous connections. If the value of the variable N, that is, the number of devices currently establishing wireless connections in the access point mode is less than the maximum number of simultaneous connections, the process proceeds to step S706. In step S706, the CPU 201 controls the wireless LAN I / F 205 to establish a wireless connection with the device that requested the establishment of the wireless connection. The wireless LAN I / F 205 establishes a wireless connection in access point mode with a device that has requested the establishment of a wireless connection. Then, in step S707, the CPU 201 increments the value of the variable N by 1. On the other hand, if the value of the variable N, that is, the number of devices currently establishing wireless connections in the access point mode is equal to the maximum number of simultaneous connections, the process proceeds to step S708. Then, in step S708, the CPU 201 rejects the request for establishing the wireless connection. For the device that requested the establishment of the wireless connection, the establishment of the wireless connection in the access point mode with the printing device 100 fails.

次にステップS709について説明する。ステップS709において、CPU201は、印刷装置100にログイン中のユーザが印刷装置100からログアウトしたか否かを判定する。本実施形態の場合、ユーザがログアウトボタンを押下したり、ユーザの操作がないまま所定時間(例えば5分)経過した場合に、ユーザのログアウトが発生する。ログイン中のユーザが印刷装置100からログアウトすると、処理はステップS710に進む。一方、ログイン中のユーザが印刷装置100からログアウトしていないとステップS709において判定されると、処理はステップS711に進む。 Next, step S709 will be described. In step S709, the CPU 201 determines whether or not the user who is logged in to the printing device 100 has logged out of the printing device 100. In the case of the present embodiment, the user logs out when the user presses the logout button or when a predetermined time (for example, 5 minutes) elapses without any user operation. When the logged-in user logs out of the printing device 100, the process proceeds to step S710. On the other hand, if it is determined in step S709 that the logged-in user has not logged out of the printing device 100, the process proceeds to step S711.

次にステップS710について説明する。ステップS710において、CPU201は、変数Nの値が1以下であるか否かを判定する。変数Nの値、つまり、現在アクセスポイントモードによる無線接続を確立しているデバイスの数が1以下である場合、処理はステップS712に進む。そしてステップS712において、CPU201は、アクセスポイントモードの動作を停止するように無線LAN I/F205を制御する。無線LAN I/F205は、CPU201の制御に従ってアクセスポイントモードの動作を停止する。一方、変数Nの値、つまり、現在アクセスポイントモードによる無線接続を確立しているデバイスの数が2以上である場合、無線LAN I/F205がアクセスポイントモードの動作を停止することなく、フローチャートに示す処理を終了する。印刷装置100は、アクセスポイントモードによって確立している無線接続の数に基づいて、ユーザのログアウトに連動してアクセスポイントモードの動作を停止するか否かを決定することを特徴とする。 Next, step S710 will be described. In step S710, the CPU 201 determines whether or not the value of the variable N is 1 or less. If the value of the variable N, that is, the number of devices currently establishing a wireless connection in the access point mode is 1 or less, the process proceeds to step S712. Then, in step S712, the CPU 201 controls the wireless LAN I / F 205 so as to stop the operation of the access point mode. The wireless LAN I / F 205 stops the operation of the access point mode according to the control of the CPU 201. On the other hand, when the value of the variable N, that is, the number of devices currently establishing a wireless connection in the access point mode is 2 or more, the wireless LAN I / F 205 does not stop the operation in the access point mode and is shown in the flowchart. The processing shown is finished. The printing device 100 is characterized in that it determines whether or not to stop the operation of the access point mode in conjunction with the logout of the user based on the number of wireless connections established by the access point mode.

変数Nの値、つまり、現在アクセスポイントモードによる無線接続を確立しているデバイスの数が0である場合、ステップS710においてYesと判定され、無線LAN I/F205はアクセスポイントモードの動作を停止する。変数Nの値が0であるということは、アクセスポイントモードを利用しているユーザが存在しないと判断できる。そこで無線LAN I/F205は、変数Nの値が0である場合、ユーザのログアウトに連動してアクセスポイントモードの動作を停止する。 If the value of the variable N, that is, the number of devices currently establishing a wireless connection in the access point mode is 0, it is determined Yes in step S710, and the wireless LAN I / F 205 stops the operation in the access point mode. .. If the value of the variable N is 0, it can be determined that there is no user using the access point mode. Therefore, when the value of the variable N is 0, the wireless LAN I / F 205 stops the operation of the access point mode in conjunction with the logout of the user.

また、変数Nの値、つまり、現在アクセスポイントモードによる無線接続を確立しているデバイスの数が1である場合、ステップS710においてYesと判定され、無線LAN I/F205はアクセスポイントモードの動作を停止する。変数Nの値が1であるということは、ログインユーザのみがアクセスポイントモードを利用していて、他のユーザはアクセスポイントモードを利用していない可能性が高いと判断できる。そこで無線LAN I/F205は、変数Nの値が1である場合、ユーザのログアウトに連動してアクセスポイントモードの動作を停止する。 Further, when the value of the variable N, that is, the number of devices currently establishing a wireless connection in the access point mode is 1, it is determined as Yes in step S710, and the wireless LAN I / F 205 operates in the access point mode. Stop. If the value of the variable N is 1, it can be determined that there is a high possibility that only the login user is using the access point mode and the other users are not using the access point mode. Therefore, when the value of the variable N is 1, the wireless LAN I / F 205 stops the operation of the access point mode in conjunction with the logout of the user.

また、また、変数Nの値、つまり、現在アクセスポイントモードによる無線接続を確立しているデバイスの数が2以上(複数)である場合、ステップS710においてNoと判定され、無線LAN I/F205はアクセスポイントモードの動作を停止しない。変数Nの値が複数である場合、ログインユーザに加えて他のユーザもアクセスポイントモードを利用している可能性が高いと判断できる。この状態でユーザのログアウトに連動してアクセスポイントモードの動作を停止してしまうと、他のユーザがアクセスポイントモードを利用できなくなってしまう。そこで無線LAN I/F205は、変数Nの値が複数である場合、ユーザがログアウトしてもアクセスポイントモードの動作を停止しない。 Further, when the value of the variable N, that is, the number of devices currently establishing wireless connection in the access point mode is two or more (plurality), it is determined as No in step S710, and the wireless LAN I / F 205 is determined to be No. Does not stop the operation of access point mode. When there are a plurality of values of the variable N, it can be determined that there is a high possibility that other users are using the access point mode in addition to the login user. If the operation of the access point mode is stopped in conjunction with the user's logout in this state, other users will not be able to use the access point mode. Therefore, when the value of the variable N is a plurality of values, the wireless LAN I / F 205 does not stop the operation of the access point mode even if the user logs out.

次にステップS711について説明する。ステップS711において、CPU201は、停止ボタン512がユーザに押下されたか否かを判定する。停止ボタン512がユーザに押下されたことをCPU201が検知すると、処理はステップS712に進む。そしてステップS712において、CPU201は、アクセスポイントモードの動作を停止するように無線LAN I/F205を制御し、無線LAN I/F205は、アクセスポイントモードの動作を停止する。一方、停止ボタン512がユーザに押下されていないとステップS711において判定されると、処理はステップ704に戻る。 Next, step S711 will be described. In step S711, the CPU 201 determines whether or not the stop button 512 has been pressed by the user. When the CPU 201 detects that the stop button 512 has been pressed by the user, the process proceeds to step S712. Then, in step S712, the CPU 201 controls the wireless LAN I / F 205 so as to stop the operation of the access point mode, and the wireless LAN I / F 205 stops the operation of the access point mode. On the other hand, if it is determined in step S711 that the stop button 512 is not pressed by the user, the process returns to step 704.

以上の説明の通り、本実施形態によれば、印刷装置100からユーザがログアウトしたことに連動して、印刷装置100は、アクセスポイントモードの動作を停止することができる。印刷装置100の場合、無線LAN I/F205は、インフラストラクチャーモードとアクセスポイントモードのいずれかで動作し、インフラストラクチャーモードとアクセスポイントモードを同時に動作させることはできない。従って、無線LAN I/F205がアクセスポイントモードで動作している間は、無線LAN I/F205はインフラストラクチャーモードで動作できず、外部のアクセスポイント経由でPCから印刷データを受信することができないことになってしまう。そこで本実施形態では、無線LANI/F205は、ユーザがログアウトしたことに連動してアクセスポイントモードの動作を自動的に停止する。ユーザがログアウトしたことに連動してアクセスポイントモードの動作を自動的に停止することで、無線LAN I/F205の動作モードをアクセスポイントモードからインフラストラクチャーモードに切り替えることができる。 As described above, according to the present embodiment, the printing device 100 can stop the operation of the access point mode in conjunction with the user logging out from the printing device 100. In the case of the printing device 100, the wireless LAN I / F 205 operates in either the infrastructure mode or the access point mode, and the infrastructure mode and the access point mode cannot be operated at the same time. Therefore, while the wireless LAN I / F205 is operating in the access point mode, the wireless LAN I / F205 cannot operate in the infrastructure mode and cannot receive print data from the PC via the external access point. Become. Therefore, in the present embodiment, the wireless LANI / F205 automatically stops the operation of the access point mode in conjunction with the user logging out. By automatically stopping the operation of the access point mode in conjunction with the user logging out, the operation mode of the wireless LAN I / F 205 can be switched from the access point mode to the infrastructure mode.

(実施形態2)
実施形態2を説明する。本実施形態では、アクセスポイントモードで使用するSSIDの種類に基づいて、ユーザのログアウトに連動してアクセスポイントモードの動作を停止するか否かを切り替える処理を説明する。印刷装置100の構成は、実施形態1と同様である。
(Embodiment 2)
The second embodiment will be described. In the present embodiment, a process of switching whether or not to stop the operation of the access point mode in conjunction with the logout of the user will be described based on the type of SSID used in the access point mode. The configuration of the printing device 100 is the same as that of the first embodiment.

印刷装置100は、設定画面320によって、アクセスポイントモードで使用するSSIDとして固定SSIDとワンタイムSSIDのいずれかを設定する。本実施形態では、固定SSIDを使用する場合の同時接続数の最大値は複数(例えば5台)であり、ワンタイムSSIDを使用する場合の同時接続数の最大値は1である。そしてワンタイムSSIDを使用する設定の場合に、ユーザがログアウトしたことに連動して、無線LAN I/F205がアクセスポイントモードの動作を停止することを特徴とする。一方、固定SSIDを使用する設定の場合に、ユーザがログアウトしても、無線LAN I/F205はアクセスポイントモードの動作を停止しない。 The printing device 100 sets either a fixed SSID or a one-time SSID as the SSID used in the access point mode on the setting screen 320. In the present embodiment, the maximum number of simultaneous connections when using the fixed SSID is a plurality (for example, 5 units), and the maximum value of the number of simultaneous connections when using the one-time SSID is 1. Then, in the case of the setting to use the one-time SSID, the wireless LAN I / F 205 stops the operation of the access point mode in conjunction with the user logging out. On the other hand, in the case of the setting using the fixed SSID, the wireless LAN I / F 205 does not stop the operation of the access point mode even if the user logs out.

この処理について、図8のフローチャートを用いて説明する。図8のフローチャートに示す各ステップは、CPU201がROM202等のメモリに格納された制御プログラムをRAM203に展開して実行することによって処理される。なお、図8のフローチャートの少なくとも一部のステップをCPU201に実行させて、残りのステップをCPU201とは異なる他のCPU(不図示)が実行するように印刷装置100を構成してもよい。 This process will be described with reference to the flowchart of FIG. Each step shown in the flowchart of FIG. 8 is processed by the CPU 201 expanding the control program stored in the memory such as the ROM 202 into the RAM 203 and executing it. The printing device 100 may be configured so that the CPU 201 executes at least a part of the steps in the flowchart of FIG. 8 and another CPU (not shown) different from the CPU 201 executes the remaining steps.

ステップS801において、CPU201は、印刷装置100にログイン中のユーザが印刷装置100からログアウトしたか否かを判定する。本実施形態の場合、ユーザがログアウトボタンを押下したり、ユーザの操作がないまま所定時間(例えば5分)経過した場合に、ユーザのログアウトが発生する。ログイン中のユーザが印刷装置100からログアウトすると、処理はステップS802に進む。一方、ログイン中のユーザが印刷装置100からログアウトしていないとステップS801において判定されると、処理はステップS803に進む。 In step S801, the CPU 201 determines whether or not the user logged in to the printing device 100 has logged out of the printing device 100. In the case of the present embodiment, the user logs out when the user presses the logout button or when a predetermined time (for example, 5 minutes) elapses without any user operation. When the logged-in user logs out of the printing device 100, the process proceeds to step S802. On the other hand, if it is determined in step S801 that the logged-in user has not logged out of the printing device 100, the process proceeds to step S803.

ステップS802について説明する。ステップS802において、CPU201は、印刷装置100に設定されているアクセスポイントモードに関する設定が、ワンタイムSSIDを使用する設定であるか否かを判定する。この判定は、設定画面320による設定の結果を確認することで実行される。アクセスポイントモードに関する設定がワンタイムSSIDを使用する設定である場合、処理はステップS804に進む。そしてステップS804において、CPU201は、アクセスポイントモードの動作を停止するように無線LAN I/F205を制御する。無線LAN I/F205は、CPU201の制御に従ってアクセスポイントモードの動作を停止する。一方、アクセスポイントモードに関する設定が固定SSIDを使用する設定である場合、無線LAN I/F205がアクセスポイントモードの動作を停止することなく、フローチャートに示す処理を終了する。 Step S802 will be described. In step S802, the CPU 201 determines whether or not the setting related to the access point mode set in the printing device 100 is a setting that uses the one-time SSID. This determination is executed by confirming the result of the setting on the setting screen 320. If the setting related to the access point mode is a setting using the one-time SSID, the process proceeds to step S804. Then, in step S804, the CPU 201 controls the wireless LAN I / F 205 so as to stop the operation of the access point mode. The wireless LAN I / F 205 stops the operation of the access point mode according to the control of the CPU 201. On the other hand, when the setting related to the access point mode is the setting using the fixed SSID, the wireless LAN I / F 205 ends the process shown in the flowchart without stopping the operation of the access point mode.

アクセスポイントモードに関する設定がワンタイムSSIDを使用する設定である場合、ステップS802においてYesと判定され、無線LAN I/F205はアクセスポイントモードの動作を停止する。アクセスポイントモードに関する設定がワンタイムSSIDを使用する設定である場合、アクセスポイントモードによる無線接続の同時接続数の最大値は1である。同時接続数の最大値が1であるということは、アクセスポイントモードをログインユーザのみに利用させることを想定していて、ユーザがログアウトした段階でアクセスポイントモードの利用が終了したと判断できる。そこで無線LAN I/F205は、ワンタイムSSIDを使用する設定である場合、ユーザのログアウトに連動してアクセスポイントモードの動作を停止する。 When the setting related to the access point mode is the setting to use the one-time SSID, it is determined as Yes in step S802, and the wireless LAN I / F 205 stops the operation of the access point mode. When the setting related to the access point mode is a setting using the one-time SSID, the maximum value of the number of simultaneous wireless connections in the access point mode is 1. When the maximum value of the number of simultaneous connections is 1, it is assumed that the access point mode is used only by the logged-in user, and it can be determined that the use of the access point mode is completed when the user logs out. Therefore, when the wireless LAN I / F 205 is set to use the one-time SSID, the operation of the access point mode is stopped in conjunction with the logout of the user.

また、アクセスポイントモードに関する設定が固定SSIDを使用する設定である場合、ステップS802においてNoと判定され、無線LAN I/F205はアクセスポイントモードの動作を停止しない。アクセスポイントモードに関する設定が固定SSIDを使用する設定である場合、アクセスポイントモードによる無線接続の同時接続数の最大値は複数(例えば5台)である。同時接続数の最大値が複数であるということは、複数のユーザが各ユーザの所望のタイミングでアクセスポイントモードを利用することを想定しているため、アクセスポイントモードの動作は停止させない方が好ましい。そこで無線LAN I/F205は、固定SSIDを使用する設定である場合、ユーザが印刷装置100からログインしてもアクセスポイントモードの動作を停止しないで、アクセスポイントモードの動作を継続する。 Further, when the setting related to the access point mode is a setting using the fixed SSID, it is determined as No in step S802, and the wireless LAN I / F 205 does not stop the operation of the access point mode. When the setting related to the access point mode is a setting using a fixed SSID, the maximum number of simultaneous wireless connections in the access point mode is a plurality (for example, 5 units). Since it is assumed that a plurality of users use the access point mode at a desired timing of each user because the maximum number of simultaneous connections is a plurality, it is preferable not to stop the operation of the access point mode. .. Therefore, when the wireless LAN I / F 205 is set to use the fixed SSID, the operation of the access point mode is continued without stopping the operation of the access point mode even if the user logs in from the printing device 100.

以上の説明の通り、印刷装置100は、アクセスポイントモードで使用するSSIDの設定に基づいて、ユーザのログアウトに連動してアクセスポイントモードの動作を停止するか否かを決定することを特徴とする。アクセスポイントモードで使用するSSIDがワンタイムSSIDであれば、印刷装置100は、ユーザのログアウトに連動してアクセスポイントモードの動作を停止する。一方、アクセスポイントモードで使用するSSIDが固定SSIDであれば、印刷装置100は、ユーザがログアウトしてもアクセスポイントモードの動作を停止しない。 As described above, the printing apparatus 100 is characterized in that it determines whether or not to stop the operation of the access point mode in conjunction with the logout of the user based on the setting of the SSID used in the access point mode. .. If the SSID used in the access point mode is a one-time SSID, the printing device 100 stops the operation of the access point mode in conjunction with the logout of the user. On the other hand, if the SSID used in the access point mode is a fixed SSID, the printing device 100 does not stop the operation of the access point mode even if the user logs out.

また、本実施形態では、同時接続数の最大値が1であるSSIDの例としてワンタイムSSIDを挙げたが、同時接続数の最大値が1となる他のタイプのSSIDであれば、ワンタイムSSIDの代わりに本願発明を適用してもよい。他のタイプのSSIDとして、例えばユーザに対応するSSIDを生成してアクセスポイントモードで使用する設定が考えられる。ユーザに対応するSSIDを使用する場合、印刷装置100は、ログインユーザに応じて使用するSSIDを切り替える。例えば、ユーザAがログイン中であれば、印刷装置100は、ユーザA専用のユーザSSIDを使用し、ユーザBがログイン中であれば、印刷装置100は、ユーザB専用のユーザSSIDを使用する。このようなユーザに対応するSSIDをアクセスポイントモードで使用する場合も、同時接続数の最大値を1とすることが望ましく、また、ユーザのログアウトに連動してアクセスポイントモードの動作を自動的に停止することが望ましい。 Further, in the present embodiment, one-time SSID is given as an example of the SSID in which the maximum value of the number of simultaneous connections is 1, but if it is another type of SSID in which the maximum value of the number of simultaneous connections is 1, it is one-time. The present invention may be applied instead of the SSID. As another type of SSID, for example, a setting in which an SSID corresponding to the user is generated and used in the access point mode can be considered. When using the SSID corresponding to the user, the printing device 100 switches the SSID to be used according to the logged-in user. For example, if the user A is logged in, the printing device 100 uses the user SSID dedicated to the user A, and if the user B is logged in, the printing device 100 uses the user SSID dedicated to the user B. Even when the SSID corresponding to such a user is used in the access point mode, it is desirable that the maximum value of the number of simultaneous connections is 1, and the operation of the access point mode is automatically performed in conjunction with the user's logout. It is desirable to stop.

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

100 印刷装置
201 CPU
205 無線LAN I/F
208 操作部
209 ICカードリーダ
100 Printing device 201 CPU
205 Wireless LAN I / F
208 Operation unit 209 IC card reader

Claims (7)

ユーザがログイン可能であり、外部装置と外部アクセスポイントを介さずに直接無線通信を行うためのアクセスポイントとして機能するダイレクト無線通信機能を有する通信装置であって、
前記ダイレクト無線通信機能の前記アクセスポイントとして前記通信装置が機能するよう制御する通信制御手段と、
前記アクセスポイントへの接続に必要な接続情報として、ワンタイム性を有するべく生成した接続情報を使用する第1モードのアクセスポイントとして前記通信装置が機能している場合に、前記通信装置からユーザがログアウトしたことに従って、前記ダイレクト無線通信機能を停止するように前記通信制御手段を制御する制御手段と、を有し、
前記第1モードのアクセスポイントとして前記通信装置が機能している場合、前記第1モードのアクセスポイントに接続可能な外部端末の最大値は1に制限され、
前記アクセスポイントへの接続に必要な接続情報として、前記ダイレクト無線通信機能の動作設定として前記通信装置に記憶されている、ユーザにより設定された固定SSIDを使用する第2のモードのアクセスポイントとして前記通信装置が機能している場合、前記通信装置からユーザがログアウトしたタイミングでは前記ダイレクト無線通信機能は停止されないことを特徴とする通信装置。
A communication device that allows a user to log in and has a direct wireless communication function that functions as an access point for direct wireless communication between an external device and an external access point.
A communication control means for controlling the communication device to function as the access point of the direct wireless communication function, and
When the communication device is functioning as a first mode access point that uses the connection information generated to have one-time property as the connection information necessary for connecting to the access point, the user can use the communication device. It has a control means for controlling the communication control means so as to stop the direct wireless communication function according to the logout.
When the communication device functions as the access point of the first mode, the maximum value of the external terminal that can connect to the access point of the first mode is limited to 1.
As the connection information required for connecting to the access point, as the access point in the second mode using the fixed SSID set by the user, which is stored in the communication device as the operation setting of the direct wireless communication function. When the communication device is functioning, the direct wireless communication function is not stopped at the timing when the user logs out from the communication device.
前記接続情報はSSIDであり、
記固定SSIDを記憶する記憶手段と、
前記記憶手段に記憶される前記固定SSIDを変更するユーザ操作を受け付ける受付手段と、を更に有することを特徴とする請求項1に記載の通信装置。
The connection information is SSID,
Storage means for storing a pre-Symbol fixed SSID,
The communication device according to claim 1, further comprising a receiving means for receiving a user operation for changing the fixed SSID stored in the storage means.
前記通信装置は、印刷装置であることを特徴とする請求項1又は2に記載の通信装置。 The communication device according to claim 1 or 2 , wherein the communication device is a printing device. 前記ダイレクト無線通信機能を停止するためのユーザ操作を受け付けた場合、前記制御手段は、前記ダイレクト無線通信機能を停止することを特徴とする請求項1乃至のいずれか1項に記載の通信装置。 The communication device according to any one of claims 1 to 3 , wherein when a user operation for stopping the direct wireless communication function is received, the control means stops the direct wireless communication function. .. 前記通信装置にログインしたユーザから所定のユーザ操作を受け付けたことに従って、前記通信制御手段は、前記アクセスポイントとして前記通信装置を機能させる制御を開始することを特徴とする請求項1乃至のいずれか1項に記載の通信装置。 Any of claims 1 to 4 , wherein the communication control means starts control to function the communication device as the access point in accordance with receiving a predetermined user operation from the user who has logged in to the communication device. The communication device according to item 1. ユーザがログイン可能であり、外部装置と外部アクセスポイントを介さずに直接無線通信を行うためのアクセスポイントとして機能するダイレクト無線通信機能を有する通信装置の制御方法であって、
前記ダイレクト無線通信機能の前記アクセスポイントとして前記通信装置が機能するよう制御する通信制御工程と、
前記アクセスポイントへの接続に必要な接続情報として、ワンタイム性を有するべく生成した接続情報を使用する第1モードのアクセスポイントとして前記通信装置が機能している場合に、前記通信装置からユーザがログアウトしたことに従って、前記ダイレクト無線通信機能を停止するよう前記通信装置を制御する制御工程と、を有し、
前記第1モードのアクセスポイントとして前記通信装置が機能している場合、前記第1モードのアクセスポイントに接続可能な外部端末の最大値は1に制限され、
前記アクセスポイントへの接続に必要な接続情報として、前記ダイレクト無線通信機能の動作設定として前記通信装置に記憶されている、ユーザにより設定された固定SSIDを使用する第2のモードのアクセスポイントとして前記通信装置が機能している場合、前記通信装置からユーザがログアウトしたタイミングでは前記ダイレクト無線通信機能は停止されないことを特徴とする制御方法。
A control method for a communication device that allows a user to log in and has a direct wireless communication function that functions as an access point for direct wireless communication between an external device and an external access point.
A communication control step for controlling the communication device to function as the access point of the direct wireless communication function, and
When the communication device is functioning as a first mode access point that uses the connection information generated to have one-time property as the connection information necessary for connecting to the access point, the user can use the communication device. according to what logged out, and a control step of controlling the communication device to stop the direct radio communication function,
When the communication device functions as the access point of the first mode, the maximum value of the external terminal that can connect to the access point of the first mode is limited to 1.
As the connection information required for connecting to the access point, as the access point in the second mode using the fixed SSID set by the user, which is stored in the communication device as the operation setting of the direct wireless communication function. When the communication device is functioning, the control method is characterized in that the direct wireless communication function is not stopped at the timing when the user logs out from the communication device.
コンピュータを、請求項1乃至のいずれか1項に記載の通信装置として動作させるためのプログラム。 A program for operating a computer as a communication device according to any one of claims 1 to 5.
JP2019197772A 2019-10-30 2019-10-30 Communication equipment, control methods and programs for communication equipment Active JP6884840B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2019197772A JP6884840B2 (en) 2019-10-30 2019-10-30 Communication equipment, control methods and programs for communication equipment
JP2021001142A JP6984051B2 (en) 2019-10-30 2021-01-06 Image processing device, control method and program of image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019197772A JP6884840B2 (en) 2019-10-30 2019-10-30 Communication equipment, control methods and programs for communication equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015232516A Division JP6611572B2 (en) 2015-11-28 2015-11-28 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2021001141A Division JP7187588B2 (en) 2021-01-06 2021-01-06 IMAGE PROCESSING DEVICE, CONTROL METHOD AND PROGRAM OF IMAGE PROCESSING DEVICE
JP2021001142A Division JP6984051B2 (en) 2019-10-30 2021-01-06 Image processing device, control method and program of image processing device

Publications (2)

Publication Number Publication Date
JP2020036349A JP2020036349A (en) 2020-03-05
JP6884840B2 true JP6884840B2 (en) 2021-06-09

Family

ID=69668821

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019197772A Active JP6884840B2 (en) 2019-10-30 2019-10-30 Communication equipment, control methods and programs for communication equipment

Country Status (1)

Country Link
JP (1) JP6884840B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5966527B2 (en) * 2012-03-30 2016-08-10 ブラザー工業株式会社 Communication device
JP6224902B2 (en) * 2013-03-15 2017-11-01 キヤノン株式会社 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM

Also Published As

Publication number Publication date
JP2020036349A (en) 2020-03-05

Similar Documents

Publication Publication Date Title
JP6611572B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2017010109A (en) Mobile terminal device, image processing apparatus, system, information processing method, and program
US11950095B2 (en) Communication apparatus and method for controlling the same
JP6768321B2 (en) Communication equipment, control methods and programs for communication equipment
JP6736283B2 (en) Printing device, printing device control method, and program
JP6884840B2 (en) Communication equipment, control methods and programs for communication equipment
JP6984051B2 (en) Image processing device, control method and program of image processing device
JP2017094507A (en) Printing device, printing device controlling method and program
JP7305815B2 (en) IMAGE PROCESSING DEVICE, CONTROL METHOD AND PROGRAM OF IMAGE PROCESSING DEVICE
JP7187588B2 (en) IMAGE PROCESSING DEVICE, CONTROL METHOD AND PROGRAM OF IMAGE PROCESSING DEVICE
JP7191189B2 (en) Information processing device, its control method, and program
JP6993890B2 (en) Information processing equipment, its control method, and programs
JP6977005B2 (en) Communication equipment, control methods and programs for communication equipment
JP2020114679A (en) Printing device, printing device control method and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191113

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210209

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210324

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: 20210413

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210512

R151 Written notification of patent or utility model registration

Ref document number: 6884840

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151