JP2019220962A - Printing apparatus, control method of the same, and program - Google Patents
Printing apparatus, control method of the same, and program Download PDFInfo
- Publication number
- JP2019220962A JP2019220962A JP2019134516A JP2019134516A JP2019220962A JP 2019220962 A JP2019220962 A JP 2019220962A JP 2019134516 A JP2019134516 A JP 2019134516A JP 2019134516 A JP2019134516 A JP 2019134516A JP 2019220962 A JP2019220962 A JP 2019220962A
- Authority
- JP
- Japan
- Prior art keywords
- search
- display
- access point
- channel
- connection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
本発明は、印刷装置、その制御方法、およびプログラムに関し、特に、無線LANステーションにおける無線LANの設定方法に関する。 The present invention relates to a printing apparatus, a control method thereof, and a program, and more particularly, to a setting method of a wireless LAN in a wireless LAN station.
近年、IEEE802.11b/11g/11nによる無線LAN(ローカルエリアネットワーク)技術が様々な機器に適用されており、この無線LAN技術を用いれば、様々な機器を無線回線で接続することができる。そして、様々な機器を無線回線で接続すれるようにすれば、機器の設置場所にとらわれず、しかも有線のようにケーブルなどを用いる必要がないので、ユーザによって煩わしさがない。このような観点から、多くの家庭などでは無線LANアクセスポイントを配置して、家庭内で無線LAN環境を構築する傾向がある。 In recent years, wireless LAN (local area network) technology based on IEEE802.11b / 11g / 11n has been applied to various devices. Using this wireless LAN technology, various devices can be connected via wireless lines. If various devices can be connected by a wireless line, there is no need to use a cable or the like as in a wired connection, regardless of the installation location of the devices. From such a viewpoint, many homes and the like tend to arrange a wireless LAN access point and construct a wireless LAN environment in the home.
無線LANアクセスポイントには、SSID(Service Set Identifier)と呼ばれるアクセスポイントを識別する固有IDおよび無線通信を保護するセキュリティを設定することが可能である。プリンタなどの無線LANに対応する機器でアクセスポイントを探索すると、機器に備えられた表示パネルなどに探索結果としてSSIDおよびセキュリティ設定等が一覧表示される。 In the wireless LAN access point, it is possible to set a unique ID for identifying the access point called SSID (Service Set Identifier) and security for protecting wireless communication. When an access point is searched for by a device such as a printer compatible with wireless LAN, a list of SSIDs and security settings is displayed as a search result on a display panel provided in the device.
このSSIDおよびセキュリティは事前にユーザが設定する必要があるが、一般にはメーカーによってデフォルト設定が行われており、当該デフォルト設定を変更することなく、プリンタなどの機器を使用するユーザが多い。従って、マンションなどの多数のアクセスポイントが密集するような環境下においてアクセスポイントの探索を行うと、同一のSSID設定のアクセスポイントが複数検出されることがある。このような場合、機器側では、探索したアクセスポイントの中からユーザが接続したいアクセスポイントを選択する必要がある。 The SSID and security must be set by the user in advance, but default settings are generally made by the manufacturer, and many users use devices such as printers without changing the default settings. Therefore, when an access point is searched in an environment where a large number of access points such as condominiums are crowded, a plurality of access points with the same SSID setting may be detected. In such a case, on the device side, it is necessary to select an access point to which the user wants to connect from the searched access points.
このとき、予め電波強度等の特定条件を満たすアクセスポイントを選択候補として登録して、同一のSSID設定のアクセスポイントが複数検出された際には、当該登録候補からアクセスポイントを選択するようにしたものがある(特許文献1参照)。 At this time, an access point that satisfies a specific condition such as radio wave intensity is registered in advance as a selection candidate, and when a plurality of access points with the same SSID setting are detected, the access point is selected from the registration candidate. (See Patent Document 1).
本発明の目的は、アクセスポイントを探索する際に、特定条件を満たすアクセスポイントを探索結果から取りこぼす可能性を低減することのできる印刷装置、その制御方法、およびプログラムを提供することにある。 An object of the present invention is to provide a printing apparatus, a control method thereof, and a program capable of reducing the possibility of missing an access point satisfying a specific condition from a search result when searching for an access point.
上記の目的を達成するため、本発明による印刷装置は、印刷手段と、無線ネットワークインタフェースと、表示手段と、を有する印刷装置であって、アクセスポイントの探索を開始するユーザ操作を受け付ける受付手段と、前記受け付けたユーザ操作に従って前記無線ネットワークインタフェースを用いて、複数のチャンネル上のアクセスポイントを探索する探索手段と、前記アクセスポイントの探索結果を前記表示手段に表示する表示制御手段と、前記探索結果の中からユーザによって選択されたアクセスポイントに前記無線ネットワークインタフェースを介して接続する接続手段と、を有し、前記探索手段は、探索対象のチャンネルを指定し、当該指定されたチャンネル上のアクセスポイントの探索が完了したことに従って、前記複数のチャンネルに含まれる別のチャンネルをさらなる探索対象のチャンネルとして新たに指定し、当該新たに指定されたチャンネル上のアクセスポイントを探索することで、前記複数のチャンネル上のアクセスポイントの探索を実行し、前記探索結果として前記表示手段に表示可能なアクセスポイントの数は所定の数に制限されており、前記表示制御手段は、前記複数のチャンネル上でのアクセスポイントの探索が完了したことに従って、前記ユーザ操作に応じて探索が開始されてから行われた前記探索手段による探索によって見つかったアクセスポイントを、電波強度の強い順に前記探索結果として前記表示手段に表示するよう制御することを特徴とする。 In order to achieve the above object, a printing apparatus according to the present invention is a printing apparatus having a printing unit, a wireless network interface, and a display unit, and a receiving unit that receives a user operation for starting an access point search. Searching means for searching for access points on a plurality of channels using the wireless network interface in accordance with the received user operation, display control means for displaying the search results of the access points on the display means, Connecting means for connecting to an access point selected by the user from the wireless network interface via the wireless network interface, wherein the searching means specifies a channel to be searched, and an access point on the specified channel According to the completion of the search for, the plurality of By newly specifying another channel included in the channel as a channel to be further searched, and searching for an access point on the newly specified channel, a search for an access point on the plurality of channels is performed, The number of access points that can be displayed on the display unit as the search result is limited to a predetermined number, and the display control unit sets the user according to the completion of the search for access points on the plurality of channels. An access point found by the search performed by the search unit after the search is started in response to an operation is controlled to be displayed on the display unit as the search result in the order of strong radio field intensity.
本発明による制御方法は、印刷手段と、無線ネットワークインタフェースと、表示手段と、を有する印刷装置の制御方法であって、アクセスポイントの探索を開始するユーザ操作を受け付ける受付工程と、前記受け付けたユーザ操作に従って前記無線ネットワークインタフェースを用いて、複数のチャンネル上のアクセスポイントを探索する探索工程と、前記アクセスポイントの探索結果を前記表示手段に表示する第1の表示制御工程と、前記探索結果の中からユーザによって選択されたアクセスポイントに前記無線ネットワークインタフェースを介して接続する接続工程と、を有し、前記探索工程において、探索対象のチャンネルを指定し、当該指定されたチャンネル上でのアクセスポイントの探索が完了したことに従って、前記複数のチャンネルに含まれる別のチャンネルをさらなる探索対象のチャンネルとして新たに指定し、当該新たに指定されたチャンネル上のアクセスポイントを探索することで、前記複数のチャンネル上のアクセスポイントの探索を実行し、前記探索結果として前記表示手段に表示可能なアクセスポイントの数は所定の数に制限されており、前記第1の表示制御工程において、前記複数のチャンネル上でのアクセスポイントの探索が完了したことに従って、前記ユーザ操作に応じて探索が開始されてから行われた前記探索工程による探索によって見つかったアクセスポイントを、電波強度の強い順に前記探索結果として前記表示手段に表示するよう制御することを特徴とする。 A control method according to the present invention is a control method for a printing apparatus having a printing unit, a wireless network interface, and a display unit, wherein the receiving step receives a user operation for starting a search for an access point; A search step of searching for access points on a plurality of channels using the wireless network interface according to an operation; a first display control step of displaying search results of the access points on the display means; And a connection step of connecting to an access point selected by the user from the wireless network interface via the wireless network interface. In the searching step, a search target channel is specified, and the access point on the specified channel is specified. Upon completion of the search, the plurality of Another channel included in the channel is newly designated as a channel to be further searched, and by searching for an access point on the newly designated channel, a search for an access point on the plurality of channels is performed, The number of access points that can be displayed on the display means as the search result is limited to a predetermined number, and in the first display control step, according to the completion of the search for access points on the plurality of channels. Controlling that the access points found by the search in the search step performed after the search is started in response to the user operation are displayed on the display unit as the search results in the order of strong radio wave intensity. I do.
本発明によるプログラムは、上記の印刷装置の制御方法を、コンピュータに実行させるためのプログラムである。 A program according to the present invention is a program for causing a computer to execute the above-described method of controlling a printing apparatus.
本発明によれば、アクセスポイントを探索する際に、特定条件を満たすアクセスポイントを探索結果から取りこぼす可能性を低減することができる。 ADVANTAGE OF THE INVENTION According to this invention, when searching for an access point, it is possible to reduce the possibility that an access point that satisfies a specific condition is omitted from the search result.
以下、本発明の実施の形態による印刷置の一例について図面を参照して説明する。 Hereinafter, an example of a printing device according to an embodiment of the present invention will be described with reference to the drawings.
[第1の実施形態]
図1は本実施形態における印刷装置(以下画像形成装置ともいう)の構成を示すブロック図である。画像形成装置としては、無線送受信機能を備えたプリンタや、MFP(Multi Function Peripheral)が例として挙げられる。なお、以下の説明では、無線送受信機能を備える画像形成装置について説明するが、画像形成装置以外の機器であっても、無線送受信機能を備えて無線アクセスポイントと無線通信を行う機器であれば、同様にして本発明を適用することができる。
[First Embodiment]
FIG. 1 is a block diagram illustrating a configuration of a printing apparatus (hereinafter, also referred to as an image forming apparatus) according to the present embodiment. Examples of the image forming apparatus include a printer having a wireless transmission / reception function and an MFP (Multi Function Peripheral). In the following description, an image forming apparatus having a wireless transmitting / receiving function will be described. However, even if the apparatus is other than the image forming apparatus, any apparatus that has a wireless transmitting / receiving function and performs wireless communication with a wireless access point may be used. The present invention can be similarly applied.
図1において、画像形成装置100は、印刷部107、読取部109、操作パネル110、回線I/F(インタフェース)112、およびコントローラ部101を有している。コントローラ部101は、CPU102、RAM103、ROM104、印刷部I/F106、読取部I/F108、モデム(MODEM)111、USB(Universal Searial Bus) I/F115、ネットワークI/F116、無線LAN I/F117を有している。そして、これらのブロックはシステムバス105によって相互に接続されている。
1, the
CPU102は、制御プログラムに応じて画像形成装置を総括的に制御する。この制御プログラムは、ROM104のプログラム領域(プログラムROM104b)に記憶されており、CPU102はROM104から制御プログラムを読み出して実行する。図示の例では、ROM104は、フォントROM104a、プログラムROM104b、およびデータROM104cを備えている。
The CPU 102 generally controls the image forming apparatus according to the control program. This control program is stored in a program area (
制御プログラムが圧縮データとしてROM104のプログラム領域に記憶されている場合には、CPU102は圧縮データを伸張してRAM103に展開し、制御プログラムを実行する。なお、図示しないハードディスクドライブ(HDD)に制御プログラムを圧縮状態/非圧縮状態で格納しておくようにしてもよい。
When the control program is stored as compressed data in the program area of the
無線LAN I/F117は、無線ネットワーク網119を介してアクセスポイント(以下単にAPと呼ぶ)120との通信を行う。MODEM111は、回線I/F112を介して公衆回線網と接続して、他の画像形成装置、ファクシミリ装置、又は電話機などの機器(図示せず)との通信処理を行う。回線I/F112と公衆回線網とは、一般的に電話回線で接続される。
The wireless LAN I / F 117 performs communication with an access point (hereinafter, simply referred to as an AP) 120 via a
印刷部I/F106は、印刷部(プリンタエンジン)107に記録画像信号(画像データ)を出力するインタフェースとして用いられる。読取部I/F108は、読取部(スキャナエンジン)109における読み取りの結果得られた読取画像信号を入力するインタフェースとして用いられる。CPU102は、読取部I/F109から入力された読取画像信号を処理して、記録画像信号として印刷部I/F106に出力する。
The printing unit I / F 106 is used as an interface that outputs a recording image signal (image data) to the printing unit (printer engine) 107. The reading unit I /
CPU102は、フォントROM104aに記憶されたフォント情報を用いて、操作パネル110の表示部に文字および記号を表示する。さらに、CPU102は操作パネル110からユーザ指示を受ける。
CPU 102 displays characters and symbols on the display unit of
CPU102は、画像形成装置に関する情報(ステータス情報)、ユーザ電話帳情報、および組織における部門管理情報などをデータROM104cに記憶する。そして、CPU102はこれらの情報を必要に応じてデータROM104cから読み出して更新する。
The CPU 102 stores information (status information) regarding the image forming apparatus, user telephone directory information, department management information in the organization, and the like in the
このように、図示の画像形成装置100は、コピー機能、スキャン機能、およびファクシミリ機能を有している。さらに、画像形成装置100は、USB I/F116又は無線ネットワーク網119を介してPC(パソコン)などから指示された印刷(プリント)を行う機能も有している。
Thus, the illustrated
図2は、図1に示す操作パネル110の一例を示す図である。
FIG. 2 is a diagram showing an example of the
操作パネル110には、上述の各種機能を選択するファンクションキー201〜203を有している。そして、ユーザは使用したい機能に対応するファンクションキー201〜203を押下する。さらに、操作パネル110には、表示部204が備えられており、この表示部204には、ユーザによる設定状態および画像形成装置100の機器状況(ステータス)などが表示される。
The
矢印キー206は、表示部204に表示されたカーソルなどの移動に用いられる。矢印キー206は、上下左右4つのボタンがある。そして、矢印キー206の中央には、OKキー207が配置され、設定および問い合わせに対する「決定キー」として機能する。例えば、コピーの設定(用紙サイズ)を変更したい場合には、ユーザはファンクションキー201(コピー機能ボタン)を押下して、表示部204にコピー機能画面を表示させる。そして、ユーザは矢印キー206で変更したい項目(用紙サイズ)を選択して、OKキー207を押下する。これによって、表示部204には選択可能な設定画面が表示される。そして、ユーザが設定画面において、矢印キー206によって所望の設定位置(ここでは用紙サイズ)にカーソルを移動させてOKキー207を押すと、用紙サイズの設定が行われる。
なお、コピー部数又はファクシミリ機能における電話番号の入力などの際には、ユーザはテンキー208を用いる。
The user uses the
コピー、スキャン、又はファクシミリのスタートを指示するキーとして、図示の例では、白黒スタートキー209およびカラースタートキー210がある。ストップキー211は各機能の動作を停止させる指示を行うためのキーである。メニューキー212は、画像形成装置100の各種設定を変更するメニュー画面に遷移するためのキーである。
In the illustrated example, the keys for instructing the start of copying, scanning, or facsimile include a black-and-white start key 209 and a
さらに、図示の操作パネル110においては、無線LANの状態を表すLED(発光ダイオード:Wi−Fi)205が備えられている。このLED205は、無線LANに未接続の際には消灯し、AP120との接続中の際には点滅する。そして、AP120との接続が完了すると、LED205は点灯する。
Further, the illustrated
図3は、操作パネル110に表示される画面の一例を示す図である。
FIG. 3 is a diagram illustrating an example of a screen displayed on
ユーザが画像形成装置100をAP120に接続する際には、まず操作パネル110のメニューキー212を選択する。これによって、CPU102は、表示部204に図3(A)に示す無線LAN設定画面を表示する。図3(A)に示す無線LAN設定画面において、ユーザは無線LANの設定方法を選択することができる。
When connecting the
図示の例では、無線LAN設定画面において、アクセスポイント選択301と手動設定302との2つの選択方法が表示される。アクセスポイント選択301は、画像形成装置100の周囲のAPを探索した探索結果から任意のAPを選択して接続する方法である。一方、手動設定302は、ユーザが特定のAPの設定情報を入力して接続する方法である。
In the illustrated example, two selection methods, an
ここで、アクセスポイント選択301を選択すると、CPU102は、APの探索を開始し、図3(B)に示すように、探索中である旨のメッセージ303(「探索中です。」)を表示部204に表示する。APの探索が完了すると、CPU102は、図3(C)に示す探索結果一覧を表示部204に表示する。
Here, when the
ここでは、探索の結果、4つのAPが見つかったものとする。そして、探索結果一覧には、各APについて、電波強度、無線チャンネル(以下単にチャンネルと呼ぶ)、セキュリティ、およびSSID名称が表示される。 Here, it is assumed that four APs have been found as a result of the search. Then, in the search result list, the radio wave intensity, the wireless channel (hereinafter simply referred to as a channel), the security, and the SSID name are displayed for each AP.
いま、ユーザが探索結果一覧において、一番上(1件目)の探索結果304を選択したものとする。当該選択を行った際、セキュリティの設定があると、CPU102は、図3(D)に示す鍵情報入力画面を表示部204に表示する。図3(D)においては、鍵情報としてWEP(Wired Equivalent Privacy)キーが示されているが、例えば、図3(C)に示すアクセスポイント選択画面(探索結果一覧)においてWPA(Wi−Fi Protected Access)のAPを選択すればWPAキーが示される。
Now, it is assumed that the user has selected the top (first)
鍵情報入力画面において、鍵情報305を入力すると、CPU102は、図3(E)に示すように、表示部204に接続を開始する旨のメッセージ(「接続を開始します。よろしいですか?」)306を表示する。図3(E)に示す画面において、「はい」を選択すると、CPU102は当該APとの接続を開始し、「いいえ」を選択すると、CPU102は、当該APとの接続をキャンセルする。
When the
接続処理完了後、接続に成功すると、CPU102は、図3(F)に示すように、表示部204にメッセージ(「接続しました」)を表示する。一方、接続に失敗すると、CPU102は、図3(G)に示すように、メッセージ(「アクセスポイントが見つかりませんでした。設定を確認して下さい」)308を表示する。なお、接続が失敗した際のメッセージは一例であって、接続時のエラーに応じたエラーメッセージが表示される。
After the connection process is completed, if the connection is successful, the CPU 102 displays a message (“Connected”) on the
図3(A)に示す無線LAN設定画面において、手動設定302を選択すると、CPU102は、図3(H)に示すSSID手動設定画面を表示部204にする。ここで、ユーザが任意のSSID(例えばSSID309)を設定すると、CPU102は図3(I)に示すセキュリティ設定画面を表示部204に表示する。 When the manual setting 302 is selected on the wireless LAN setting screen shown in FIG. 3A, the CPU 102 displays the SSID manual setting screen shown in FIG. Here, when the user sets an arbitrary SSID (for example, SSID 309), the CPU 102 displays a security setting screen shown in FIG.
このセキュリティ設定画面においては、APに設定したものと同様のセキュリティを選択する必要があり、図示のように、「なし」、「WEP」、「WPA/WPA2−PSK」の3つの選択肢310から1つを選択する必要がある。図示の例において、WEPを選択したとすると、以降図3(D)〜図3(G)で説明した処理が行われることになる。
On this security setting screen, it is necessary to select the same security as that set for the AP. As shown in the figure, one of three
ここで、本実施形態におけるAP探索手法の理解を容易にするため、まず従来のAP探索手法について図4と図5を用いて説明することにする。なお、従来のAP探索手法を実行可能な画像形成装置の構成は、図1と図2に示す画像形成装置100と同様の構成である。
Here, in order to facilitate understanding of the AP search method in the present embodiment, first, a conventional AP search method will be described with reference to FIGS. The configuration of the image forming apparatus capable of executing the conventional AP search method is the same as the configuration of the
図4は、従来のAP探索機能のソフトウェア構成を説明するためのブロック図である。図4に示すソフトウェア機能は、従来の画像形成装置が備えるCPU102が制御プログラムを実行することによって実現される。 FIG. 4 is a block diagram for explaining a software configuration of a conventional AP search function. The software functions shown in FIG. 4 are realized by the CPU 102 included in the conventional image forming apparatus executing a control program.
パネル制御部401は、ユーザが操作パネル110を介して入力した指示内容を受信する。ユーザが操作パネル110を介して入力したAP探索指示を受信した場合は、スキャン処理部402にAP探索の開始を要求する。また、AP探索の結果を操作パネル110に表示する。
スキャン処理部402は、パネル制御部401からAP探索の開始の要求を受信すると、無線LANドライバ403に対してAPの探索要求を行う。無線LANドライバ403は、無線LAN I/F117に対して探索要求を行う。このとき、無線LANドライバ403は、無線LAN I/F117に対して1チャンネルから最大チャンネルまでの全てのチャンネルの探索を行うように要求する。なお、各国の電波法などによって許容される周波数帯が異なるので、最大チャンネルとは、許容される最大のチャンネルのことをいう(日本の場合は、1〜13チャンネルである)。本実施形態では、13チャンネルが最大チャンネルであることとして説明する。
Upon receiving a request to start an AP search from the
結果受信部404は、無線LANドライバ403を介して無線LAN I/F117による探索結果を受信し、RAM103上に設けられた探索領域に探索結果を格納する。また、結果受信部404はパネル制御部401に探索結果の格納が完了したことを通知する。
The
図5は従来のAP探索機能の動作を説明するためのフローチャートである。ステップS501とステップS502は、従来の画像形成装置が備えるCPU102がROM104等のメモリに格納されたプログラムをRAM103に展開して実行することによって処理される。
FIG. 5 is a flowchart for explaining the operation of the conventional AP search function. Steps S501 and S502 are processed by the CPU 102 included in the conventional image forming apparatus by loading a program stored in a memory such as the
ユーザが操作パネル110を介してAP探索指示を入力すると、無線LANドライバ403は無線LAN I/F117に対して、1チャンネルから最大チャンネルまでの全てのチャンネルの探索を行うように要求する。要求を受けた無線LAN I/F117は、ステップS501において、全てのチャンネルに対してアクセスポイントの探索を行う。
When the user inputs an AP search instruction via the
無線LAN I/F117が全てのチャンネルの探索を行うと、結果受信部404はRAM103上に設けられた探索領域に探索結果を格納する。そしてステップS502において、操作パネル110は探索結果を表示する。このとき探索結果として操作パネル110が表示する画面は、例えば図3(C)に示すアクセスポイント選択画面(探索結果一覧)である。
When the wireless LAN I /
次に、図6〜図8を用いて本実施形態におけるAP探索手法について説明する。 Next, an AP search method according to the present embodiment will be described with reference to FIGS.
図6は、本実施形態におけるAP探索手法による探索経過を示す図である。図6は、画像形成装置100の周囲に40のAPが存在する場合の例であり、40のAPを示すAPリスト601には、順番にSSID名称、電波強度、およびチャンネルが示されている。
FIG. 6 is a diagram showing a search progress by the AP search method in the present embodiment. FIG. 6 shows an example in which forty APs exist around the
従来のAP探索機能においては、無線LANドライバ403は無線LAN I/F117に対して全てのチャンネルの探索を指示しているが、メモリ容量が少ない場合にはRAM103に設けられた探索領域の容量自体が制限される。よって、多くのアクセスポイントが見つかるような環境下では、使用可能な全チャンネルのうち最後のチャンネルに向うにつれて探索結果が取りこぼされる事態が生じやすい。このような事態を防止するため、本実施形態におけるAP探索機能では、まず1チャンネルを指定してAP探索を行い、探索結果を取得する。そして、これを2チャンネル、3チャンネルと順番に13チャンネルまでチャンネル毎に探索を行って、チャンネル毎に探索結果を取得する。
In the conventional AP search function, the
まず、本実施形態では1チャンネル(以降chと呼ぶ)を指定してAP探索を行う。図6に示す例では、1chを指定した際の探索結果602として1件のAPに係るデータ(以下アクセスポイントデータ(APデータ)と呼ぶ)が得られ、RAM103に設けられた探索領域620に探索結果602が格納される。そしてこの探索結果602が、RAM103に設けられた結果領域630にAP探索データ603として格納される。
First, in this embodiment, an AP search is performed by designating one channel (hereinafter referred to as ch). In the example shown in FIG. 6, data relating to one AP (hereinafter referred to as access point data (AP data)) is obtained as a
同様にして2chを指定した際の探索結果は、探索結果604として探索領域620に格納される。このとき、探索結果604は、探索結果602に上書きして探索領域620に格納される。そして探索結果604が結果領域630に追加され、AP探索データ605として格納される。このとき、結果領域630に格納されるAPデータは、特定の条件に応じてソートされる。本実施形態では、電波強度の強い順にソートすることとするが、特定の条件がこれに限定されるわけではない。
Similarly, the search result when 2ch is designated is stored in the
AP探索データ606は、1chから12chまでのAP探索が終了した結果を示す。このとき、結果領域630の最大件数である16件のAPデータが結果領域630に格納されている。この状態で13chを指定してAP探索を行うと、5件のAPデータが探索結果607として探索領域620に格納される。このままでは探索結果607は結果領域630に追加することができないため、本実施形態では、AP探索データ606の末尾のAPデータ609と、探索結果607の先頭のAPデータ608とでどちらの電波強度が強いか比較する。図6に示す図ではAPデータ608の方がAPデータ609より電波強度が強いので、APデータ609とAPデータ608とが交換されて結果領域630に格納される。その結果がAP探索データ610である。AP探索データ610によると、APデータ608がAPデータ611として結果領域630に格納されていることが分かる。そしてAP探索データ610を電波強度の強い順にソートした結果がAP探索データ612である。なお、探索結果607には他に4件のAPデータが存在するので、これらのAPデータに対しても同様の処理が行われる。
The
図7は、本実施形態のおけるAP探索機能のソフトウェア構成を説明するためのブロック図である。図7に示すソフトウェア機能は、画像形成装置100が備えるCPU102が制御プログラムを実行することによって実現される。図4と同じ符号のものは図4と同様の機能を有するので、説明は省略する。
FIG. 7 is a block diagram illustrating a software configuration of the AP search function according to the present embodiment. The software functions shown in FIG. 7 are implemented when CPU 102 of
チャンネル指定部701は、無線LANドライバ403に対してAP探索を行うチャンネルを指定する。本実施形態では、1chから順番に13chまで指定することとするが、これに限定されるわけではない。ユーザによって予め設定された順番で探索されるように指定しても良い。
The
あふれ判定部702は、AP探索の結果として探索領域620に格納されたAPデータの件数と、それまでの探索の結果として結果領域630に格納されたAPデータの件数との合計が、結果領域630の最大件数を超えるか否かを判定する。なお、以降はAP探索の結果として探索領域620に格納されたAPデータの件数を「探索数」、それまでの探索の結果として結果領域630に格納されたAPデータの件数を「格納数」、結果領域630の最大件数を「結果領域数」と呼ぶこととする。
The
交換部703は、探索数と格納数との合計が結果領域数より大きいとあふれ判定部702が判定した場合に、結果領域630の末尾に格納されたAPデータと、探索領域620に格納されたAPデータとのどちらの電波強度が強いか判定する。探索領域620に格納されたAPデータの方が結果領域630の末尾に格納されたAPデータより電波強度が強いと判定すると、交換部703は結果領域630の末尾に格納されたAPデータと、探索領域620に格納されたAPデータとを交換する。一方、結果領域630の末尾に格納されたAPデータの方が探索領域620に格納されたAPデータより電波強度が強いと判定すると、交換部703は結果領域630の末尾に格納されたAPデータと、探索領域620に格納されたAPデータとの交換は行わない。なお、探索結果602や探索結果607のように複数のAPデータが検索された場合は、すべてのAPデータに対して交換部703による処理が行われる。
When the
ソート部704は、交換部703によってAPデータの交換が行われたり、結果領域630にAPデータが格納されたりしたときに、電波強度が強い順にAPデータをソートする。
Sorting
図8は本実施形態におけるAP探索機能の動作を説明するためのフローチャートである。ステップS801〜S811は、画像形成装置100が備えるCPU102がROM104等のメモリに格納されたプログラムをRAM103に展開して実行することによって処理される。
FIG. 8 is a flowchart for explaining the operation of the AP search function in the present embodiment. Steps S801 to S811 are processed by the CPU 102 included in the
ステップS801において、チャンネル指定部701は探索対象となるチャンネルを指定する。本実施形態では、1chから順番に一つずつ指定されることになる。
In step S801, the
ステップS802において、無線LAN I/F117は指定されたチャンネル(ここでは1ch)を対象にアクセスポイントを探索する(第1の探索手段)。
In step S802, the wireless LAN I /
ステップS802での探索が終了すると、ステップS803において、あふれ判定部702は探索数と格納数の合計が結果領域数より大きいか否かを判定する。つまり、あふれ判定部701はメモリに格納されたAPデータと今回の探索で得られたAPとの合計が前記メモリの容量より大きいか否かについて判定することになる。あふれ判定部702が探索数と格納数の合計が結果領域数より大きいと判定するとステップS804に進む。
When the search in step S802 ends, in step S803, the
ステップS804において、交換部703は探索領域620に格納されたAPデータの電波強度が、結果領域630の末尾に格納されたAPデータの電波強度より強いか否かを判定する。つまり、ここでは、今回の探索で得られたAPデータと今までにメモリに格納されたAPアクセスポイントデータとのうちいずれが予め規定された特定条件(電波強度の強弱)を満たすか否かについて判定することになる。このとき、探索結果607のように探索領域620に複数のAPデータが格納されている場合は、一つずつ順番に処理が行われることになる。処理される順番は特に限定しないが、本実施形態では探索領域620に格納された順番に処理を行うことにする。
In step S804,
ステップS804で、探索領域620に格納されたAPデータの電波強度が結果領域630の末尾に格納されたAPデータの電波強度より強いと交換部703が判定すると(判定結果)、ステップS805に進む。ステップS805において、交換部703は探索領域620に格納されたAPデータと、結果領域630の末尾に格納されたAPデータとを交換する(データ交換手段)。そしてステップS806において、ソート部704は結果領域630に格納されたAPデータを電波強度が強い順にソートする。
If the
一方、ステップS804で探索領域620に格納されたAPデータの電波強度が、結果領域630の末尾に格納されたAPデータの電波強度より弱いと交換部703が判定すると、ステップS807に進む。このとき、探索領域620に格納されたAPデータは結果領域630に格納されたどのAPデータよりも電波強度が弱いことになるので、結果領域630に格納されない。従って、結果領域630には電波強度が強いAPデータが格納されていくことになる。
On the other hand, if the
ステップS807において、交換部703はステップS804の判定処理をまだ行っていないAPデータがあるか否かを判定する。まだステップS804の判定処理を行っていないAPデータがある場合(ステップS807でYes)は、ステップS804に戻り、次のAPデータの判定を行う。一方、探索領域620に格納されたすべてのAPデータに対してステップS804の判定処理を行っている場合(ステップS807でNo)は、ステップS808に進む。
In step S807, the
ステップS803に戻る。ステップS803において、あふれ判定部702が探索数と格納数の合計が結果領域数より小さいと判定するとステップS810に進む。ステップS810において、結果受信部404は探索領域620に格納されたAPデータを結果領域630に格納する。そしてステップS811において、ソート部704は結果領域630に格納されたAPデータを電波強度が強い順にソートする。
It returns to step S803. If the
次にステップS808の説明を行う。ステップS808において、チャンネル指定部701は次のチャンネルを指定する必要があるか否かを判定する。13ch全ての探索が終わっていない場合は、チャンネル指定部701は次のチャンネルを指定する必要があると判定し、ステップS801に戻る。そしてステップS801において、チャンネル指定部701は次のチャンネルを指定して、ステップS802以降のステップが示す処理が実行される。
Next, step S808 will be described. In step S808, the
一方、13ch全ての探索が終わった場合は、ステップS808においてチャンネル指定部701は次のチャンネルを指定する必要がないと判定し、ステップS809に進む。ステップS809において、パネル制御部401はAP探索の結果として、図3(c)のような探索結果の一覧画面を操作パネル110に表示させる(表示制御手段)。
On the other hand, if the search for all 13 channels has been completed, the
このように、第1の実施形態によれば、APの探索を行う際に、一度に全てのチャンネルについて探索を行うことなく、チャンネル毎にAP探索を行って、APデータを順次結果領域に格納する。この際、電波強度が強いAPデータの順に、結果領域の容量に応じて格納するようにする。従って、電波強度が強いAPデータを結果領域から取りこぼす可能性を低減することができる。 As described above, according to the first embodiment, when searching for an AP, an AP search is performed for each channel without searching for all channels at once, and AP data is sequentially stored in a result area. I do. At this time, the data is stored in the order of the AP data having the strongest radio field intensity according to the capacity of the result area. Therefore, it is possible to reduce the possibility that the AP data with a strong radio field intensity is missed from the result area.
また、一般的にユーザが接続したいAPはユーザの近くに存在していて、電波強度が強いと想定される。このような場合、電波強度の強いAPデータが操作パネル110に表示されることになるので、メモリ容量が少なくてもユーザが接続したいAPに係るデータを取りこぼすことが少なくなる。
In general, it is assumed that an AP to which a user wants to connect exists near the user and has a strong radio field intensity. In such a case, since the AP data having a strong radio field intensity is displayed on the
[第2の実施形態]
本実施形態では、従来のAP探索方法と、第1の実施形態に記載のAP探索方法とを組み合わせたAP探索方法を提供する。
[Second embodiment]
The present embodiment provides an AP search method that combines the conventional AP search method and the AP search method described in the first embodiment.
具体的には、最初は従来のAP探索方法を実行し、すべてのチャンネルに対してAPの探索を行う(第2の探索手段)。そしてRAM103に設けられた結果領域よりも多いAPデータ(データ量)が探索された場合に、実施形態1のAP探索方法に切り替えて、1chずつ順番にAPの探索を行う。つまり、第2の探索手段による探索の結果得られた無線アクセスポイントに関するアクセスポイントデータの数で規定されるデータ量とメモリの容量とを比較して、当該比較結果に応じて実施形態1のAP探索方法を実行するか否かが決定されることになる。
Specifically, first, a conventional AP search method is executed, and an AP search is performed for all channels (second search means). Then, when the AP data (data amount) larger than the result area provided in the
このように、第2の実施形態では、全チャンネルの探索結果によって得られAPデータ数がメモリ容量を上回る場合にのみ、再度チャンネル毎に探索を行うようにしたので、探索処理を効率的に行うことができる。 As described above, in the second embodiment, the search is performed again for each channel only when the number of AP data obtained from the search results of all the channels exceeds the memory capacity, so that the search process is efficiently performed. be able to.
以上、本発明について実施の形態に基づいて説明したが、本発明は、無線LANのアクセスポイントの探索に限定されるものではなく、この発明の要旨を逸脱しない範囲の様々な形態も本発明に含まれる。 As described above, the present invention has been described based on the embodiments. However, the present invention is not limited to searching for an access point of a wireless LAN, and various forms within the scope of the present invention are also included in the present invention. included.
例えば、上記の実施の形態の機能を制御方法として、この制御方法を、画像形成装置などの機器に実行させるようにすればよい。また、上述の実施の形態の機能を有するプログラムを、画像形成装置などの機器が備えるコンピュータに実行させるようにしてもよい。なお、プログラムは、例えば、コンピュータに読み取り可能な記録媒体に記録される。 For example, the function of the above embodiment may be used as a control method, and this control method may be executed by an apparatus such as an image forming apparatus. Further, a program having the functions of the above-described embodiments may be executed by a computer included in a device such as an image forming apparatus. The program is recorded on a computer-readable recording medium, for example.
本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)をネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムコードを読み出して実行する処理である。この場合、そのプログラム、及び該プログラムを記憶した記憶媒体は本発明を構成することになる。 The present invention is also realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or an apparatus via a network or various storage media, and a computer (or CPU or MPU or the like) of the system or the apparatus reads out the program code and This is the process to be performed. In this case, the program and a storage medium storing the program constitute the present invention.
401 パネル制御部
402 スキャン処理部
403 無線LANドライバ
404 結果受信部
620 探索領域
630 結果領域
701 チャンネル指定部
702 あふれ判定部
703 交換部
704 ソート部
401
Claims (11)
アクセスポイントの探索を開始するユーザ操作を受け付ける受付手段と、
前記受け付けたユーザ操作に従って前記無線ネットワークインタフェースを用いて、複数のチャンネル上のアクセスポイントを探索する探索手段と、
前記アクセスポイントの探索結果を前記表示手段に表示する表示制御手段と、
前記探索結果の中からユーザによって選択されたアクセスポイントに前記無線ネットワークインタフェースを介して接続する接続手段と、
を有し、
前記探索手段は、探索対象のチャンネルを指定し、当該指定されたチャンネル上のアクセスポイントの探索が完了したことに従って、前記複数のチャンネルに含まれる別のチャンネルをさらなる探索対象のチャンネルとして新たに指定し、当該新たに指定されたチャンネル上のアクセスポイントを探索することで、前記複数のチャンネル上のアクセスポイントの探索を実行し、
前記探索結果として前記表示手段に表示可能なアクセスポイントの数は所定の数に制限されており、前記表示制御手段は、前記複数のチャンネル上でのアクセスポイントの探索が完了したことに従って、前記ユーザ操作に応じて探索が開始されてから行われた前記探索手段による探索によって見つかったアクセスポイントを、電波強度の強い順に前記探索結果として前記表示手段に表示するよう制御することを特徴とする印刷装置。 A printing device having a printing unit, a wireless network interface, and a display unit,
Accepting means for accepting a user operation to start searching for an access point;
Search means for searching for access points on a plurality of channels using the wireless network interface according to the received user operation,
Display control means for displaying the access point search result on the display means,
Connection means for connecting to an access point selected by a user from among the search results via the wireless network interface;
Has,
The search means specifies a search target channel, and newly specifies another channel included in the plurality of channels as a further search target channel in accordance with completion of the search for the access point on the specified channel. Performing a search for access points on the plurality of channels by searching for access points on the newly designated channel;
The number of access points that can be displayed on the display unit as the search result is limited to a predetermined number, and the display control unit sets the user according to the completion of the search for access points on the plurality of channels. A printing apparatus for controlling display of access points found by the search performed by the search unit after the search has been started in response to an operation on the display unit as the search result in the descending order of radio field intensity. .
前記第1の表示アイテムが選択されたことに応じて、前記探索手段による前記探索が開始されることを特徴とする請求項1乃至3のいずれか1項に記載の印刷装置。 The display control means sets a first display item for accepting a user operation for starting a search for the access point and a name of an access point to be connected to a screen displayed on the display means in accordance with a user input. Displaying a setting screen including a second display item for switching to a setting screen on the display means;
4. The printing apparatus according to claim 1, wherein the search by the search unit is started in response to the selection of the first display item. 5.
アクセスポイントの探索を開始するユーザ操作を受け付ける受付工程と、
前記受け付けたユーザ操作に従って前記無線ネットワークインタフェースを用いて、複数のチャンネル上のアクセスポイントを探索する探索工程と、
前記アクセスポイントの探索結果を前記表示手段に表示する第1の表示制御工程と、
前記探索結果の中からユーザによって選択されたアクセスポイントに前記無線ネットワークインタフェースを介して接続する接続工程と、
を有し、
前記探索工程において、探索対象のチャンネルを指定し、当該指定されたチャンネル上のアクセスポイントの探索が完了したことに従って、前記複数のチャンネルに含まれる別のチャンネルをさらなる探索対象のチャンネルとして新たに指定し、当該新たに指定されたチャンネル上のアクセスポイントを探索することで、前記複数のチャンネル上のアクセスポイントの探索を実行し、
前記探索結果として前記表示手段に表示可能なアクセスポイントの数は所定の数に制限されており、前記第1の表示制御工程において、前記複数のチャンネル上でのアクセスポイントの探索が完了したことに従って、前記ユーザ操作に応じて探索が開始されてから行われた前記探索工程による探索によって見つかったアクセスポイントを、電波強度の強い順に前記探索結果として前記表示手段に表示するよう制御することを特徴とする制御方法。 A control method for a printing apparatus, comprising: a printing unit, a wireless network interface, and a display unit,
A receiving step of receiving a user operation to start searching for an access point;
Using the wireless network interface according to the received user operation, a search step of searching for access points on a plurality of channels,
A first display control step of displaying a search result of the access point on the display means;
A connection step of connecting to an access point selected by a user from among the search results via the wireless network interface;
Has,
In the search step, a channel to be searched is specified, and another channel included in the plurality of channels is newly specified as a channel to be further searched according to completion of the search for the access point on the specified channel. Performing a search for access points on the plurality of channels by searching for access points on the newly designated channel;
The number of access points that can be displayed on the display means as the search result is limited to a predetermined number, and in the first display control step, according to the completion of the search for access points on the plurality of channels. Controlling that the access points found by the search in the search step performed after the search is started in response to the user operation are displayed on the display unit as the search results in the order of strong radio wave intensity. How to control.
前記第1の表示アイテムが選択されたことに応じて、前記探索工程における前記探索が開始されることを特徴とする請求項6乃至8のいずれか1項に記載の制御方法。 A first display item for receiving a user operation for starting the search for the access point, and a second setting screen for switching a screen displayed on the display means to a second setting screen for setting a name of an access point to be connected according to a user input. A third display control step of displaying a setting screen including a second display item on the display means,
The control method according to any one of claims 6 to 8, wherein the search in the search step is started in response to selection of the first display item.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019134516A JP2019220962A (en) | 2019-07-22 | 2019-07-22 | Printing apparatus, control method of the same, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019134516A JP2019220962A (en) | 2019-07-22 | 2019-07-22 | Printing apparatus, control method of the same, and program |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018001507A Division JP2018050353A (en) | 2018-01-09 | 2018-01-09 | Printing apparatus, control method of the same, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2019220962A true JP2019220962A (en) | 2019-12-26 |
Family
ID=69097169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019134516A Pending JP2019220962A (en) | 2019-07-22 | 2019-07-22 | Printing apparatus, control method of the same, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2019220962A (en) |
-
2019
- 2019-07-22 JP JP2019134516A patent/JP2019220962A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5761993B2 (en) | Access point search apparatus, access point search method, and program | |
JP4748196B2 (en) | Wireless communication apparatus, identifier output method and program | |
US10949144B2 (en) | Communication apparatus that communicates using two frequency bands, one of which including a specific frequency band that requires dynamic frequency selection, and printer | |
JP6142700B2 (en) | Computer program and terminal device | |
JP6444067B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
EP2966563B1 (en) | Contact information transfer system, contact information transfer method, portable terminal apparatus, and contact information transfer program | |
US9013745B2 (en) | Communication apparatus, method of controlling the same and storage medium | |
JP2014090238A (en) | Image processing system, image processing device, and information processing device | |
JP5158229B2 (en) | Wireless communication apparatus, identifier output method and program | |
CN104754168A (en) | Information Processing Device And Method For Controlling Information Processing Device | |
JP2018195886A (en) | Information processing device, control method, and program | |
JP6481462B2 (en) | Image forming apparatus search method, portable terminal, and program | |
JP6316241B2 (en) | Access point search apparatus, access point search method, and program | |
US10477041B2 (en) | Non-transitory recording medium storing instructions for mobile terminal using NFC and mobile terminal using NFC | |
JP2019220962A (en) | Printing apparatus, control method of the same, and program | |
JP2018050353A (en) | Printing apparatus, control method of the same, and program | |
JP7059227B2 (en) | Information processing equipment, control methods and programs | |
JP6626559B2 (en) | Program for causing computer to execute control method of communication device, communication device and control method therefor | |
JP7292861B2 (en) | Information processing device, control method and program | |
JP7292862B2 (en) | Information processing device, control method and program | |
JP2022087295A (en) | Information processing device, control method, and program | |
JP6477804B2 (en) | Image processing system, image processing apparatus, and information processing apparatus | |
JP6862270B2 (en) | Information processing equipment, control methods and programs | |
JP2023075858A (en) | Information processing apparatus, method for controlling the same, and program | |
JP2017011756A (en) | Image processing system, image processing apparatus, and information processing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190819 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200608 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200729 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20200818 |