JP6316241B2 - Access point search apparatus, access point search method, and program - Google Patents

Access point search apparatus, access point search method, and program Download PDF

Info

Publication number
JP6316241B2
JP6316241B2 JP2015117389A JP2015117389A JP6316241B2 JP 6316241 B2 JP6316241 B2 JP 6316241B2 JP 2015117389 A JP2015117389 A JP 2015117389A JP 2015117389 A JP2015117389 A JP 2015117389A JP 6316241 B2 JP6316241 B2 JP 6316241B2
Authority
JP
Japan
Prior art keywords
access point
search
storage area
information
radio wave
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
JP2015117389A
Other languages
Japanese (ja)
Other versions
JP2015180106A5 (en
JP2015180106A (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 JP2015117389A priority Critical patent/JP6316241B2/en
Publication of JP2015180106A publication Critical patent/JP2015180106A/en
Publication of JP2015180106A5 publication Critical patent/JP2015180106A5/ja
Application granted granted Critical
Publication of JP6316241B2 publication Critical patent/JP6316241B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明は、アクセスポイントの探索を行うためのアクセスポイント探索装置、アクセスポイントの探索方法、およびプログラムに関し、特に、無線LANステーションにおける無線LANの設定方法に関する。 The present invention is an access point searching apparatus for searching an access point, the search process of the access point, and a program, on how to configure the 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. By using this wireless LAN technology, various devices can be connected via a wireless line. If various devices are connected by a wireless line, it is not restricted by the installation location of the device, and it is not necessary to use a cable or the like as in the case of wired communication, so there is no trouble for the user. From this point of view, there is a tendency that a wireless LAN access point is arranged in many homes and a wireless LAN environment is constructed in the home.

無線LANアクセスポイントには、SSID(Service Set Identifier)と呼ばれるアクセスポイントを識別する固有IDおよび無線通信を保護するセキュリティを設定することが可能である。プリンタなどの無線LANに対応する機器でアクセスポイントを探索すると、機器に備えられた表示パネルなどに探索結果としてSSIDおよびセキュリティ設定等が一覧表示される。   The wireless LAN access point can be set with a unique ID for identifying an access point called SSID (Service Set Identifier) and security for protecting the wireless communication. When an access point is searched for by a device such as a printer that supports a wireless LAN, a list of SSIDs, security settings, and the like are displayed as search results on a display panel provided in the device.

このSSIDおよびセキュリティは事前にユーザが設定する必要があるが、一般にはメーカーによってデフォルト設定が行われており、当該デフォルト設定を変更することなく、プリンタなどの機器を使用するユーザが多い。従って、マンションなどの多数のアクセスポイントが密集するような環境下においてアクセスポイントの探索を行うと、同一のSSID設定のアクセスポイントが複数検出されることがある。このような場合、機器側では、探索したアクセスポイントの中からユーザが接続したいアクセスポイントを選択する必要がある。   The SSID and security need to be set by the user in advance, but in general, default settings are made by the manufacturer, and many users use devices such as printers without changing the default settings. Therefore, when searching for an access point in an environment where many access points such as an apartment are crowded, a plurality of access points having the same SSID setting may be detected. In such a case, the device side needs to select an access point that the user wants to connect from among the searched access points.

このとき、予め電波強度等の特定条件を満たすアクセスポイントを選択候補として登録して、同一のSSID設定のアクセスポイントが複数検出された際には、当該登録候補からアクセスポイントを選択するようにしたものがある(特許文献1参照)。   At this time, access points that satisfy specific conditions such as radio wave intensity are registered as selection candidates in advance, and when a plurality of access points with the same SSID setting are detected, an access point is selected from the registration candidates. There is a thing (refer patent document 1).

特開2001−308866号公報JP 2001-308866 A

しかしながら、メモリ資源(つまり、メモリ容量)が十分でない機器では、探索結果を格納する領域を十分に確保することができない。従って、探索の結果、複数のアクセスポイントが見つかる環境下においては、メモリに全ての探索結果を記憶することができず、たとえ、電波強度が所定のレベル以上であるアクセスポイントであっても探索結果から取りこぼす可能性がある。   However, a device that does not have sufficient memory resources (that is, memory capacity) cannot secure a sufficient area for storing search results. Therefore, in an environment where a plurality of access points can be found as a result of the search, not all search results can be stored in the memory, even if the access point has a radio wave intensity of a predetermined level or higher. There is a possibility of missing it.

従って、本発明の目的は、アクセスポイントを探索する際に、電波強度が強いアクセスポイントを探索結果から取りこぼす可能性を低減することのできる仕組みを提供することにある。 Accordingly, an object of the present invention is to provide a mechanism that can reduce the possibility of missing an access point with strong radio field intensity from the search result when searching for an access point.

上記の目的を達成するため、本発明によるアクセスポイント探索装置は、アクセスポイントを探索する探索手段を有するアクセスポイント探索装置であって、前記探索手段によって新たに探索されたアクセスポイントに関する情報を第1の記憶領域に記憶する第1の制御手段と、前記第1の記憶領域に記憶されている前記アクセスポイントに関する情報を第2の記憶領域に記憶する第2の制御手段と、前記第2の記憶領域に記憶されている情報に基づいて、アクセスポイントの探索結果を表示する表示手段とを備え、前記第2の記憶領域に記憶されている前記アクセスポイントに関する情報は、電波強度が強い順番にソートされ、前記探索手段によってたに探索されたアクセスポイントに関する情報が前記第1の記憶領域に記憶され、かつ前記探索手段によってたに探索されたアクセスポイントに関する情報を前記第2の記憶領域に記憶できない場合に、前記第2の制御手段は、前記探索手段によってたに探索されたアクセスポイントの電波強度と、前記第2の記憶領域の末尾に記憶されている情報が示すアクセスポイントの電波強度とを比較し、前記比較の結果、前記探索手段によってたに探索されたアクセスポイントの電波強度が、前記第2の記憶領域の末尾に記憶されている情報が示すアクセスポイントの電波強度より強い場合に、前記第2の制御手段は、前記第2の記憶領域の末尾に記憶されている情報を削除して、前記探索手段によってたに探索されたアクセスポイントに関する情報を前記第2の記憶領域に記憶し、前記比較の結果、前記探索手段によってたに探索されたアクセスポイントの電波強度の電波強度が、前記第2の記憶領域の末尾に記憶されている情報が示すアクセスポイントの電波強度より弱い場合に、前記第2の制御手段は、前記探索手段によってたに探索されたアクセスポイントに関する情報を前記第2の記憶領域に記憶しないことを特徴とする。 In order to achieve the above object, an access point search apparatus according to the present invention is an access point search apparatus having a search means for searching for an access point, wherein first information on an access point newly searched by the search means is stored. First control means for storing in the storage area, second control means for storing information on the access point stored in the first storage area in the second storage area, and the second storage Display means for displaying an access point search result based on information stored in the area, and the information on the access point stored in the second storage area is sorted in descending order of radio wave intensity. is, the information about the newly searched access point by searching means is stored in the first storage area, and When the serial search means can not store information about the newly searched access point in the second storage area, said second control means, radio wave strength of the access points newly searched by said searching means When the second comparing the field intensity of the access point indicated by the information stored at the end of the storage area, the result of the comparison, the radio wave intensity of the access point that is newly searched by said search means, When the information stored at the end of the second storage area is stronger than the radio wave intensity of the access point indicated by the information, the second control means deletes the information stored at the end of the second storage area to the stored information about the newly searched access point to the second storage area by the search means, the result of the comparison, the new by said search means If the field intensity of the radio wave intensity of the found access point is weaker than the radio wave intensity of the access point indicated by the information stored at the end of the second storage area, the second control means, the search characterized in that it does not store information about the newly searched access point in the second storage area by means.

本発明によるアクセスポイントの探索方法は、アクセスポイントを探索する探索ステップと、前記探索ステップで新たに探索されたアクセスポイントに関する情報を第1の記憶領域に記憶する第1の記憶ステップと、前記第1の記憶領域に記憶されている前記アクセスポイントに関する情報を第2の記憶領域に記憶する第2の記憶ステップと、前記第2の記憶領域に記憶されている情報に基づいて、アクセスポイントの探索結果を表示部に表示する表示ステップとを有し、前記第2の記憶領域に記憶されている前記アクセスポイントに関する情報は、電波強度が強い順番にソートされており、前記探索ステップでたに探索されたアクセスポイントに関する情報が前記第1の記憶領域に記憶され、かつ前記探索ステップでたに探索されたアクセスポイントに関する情報を前記第2の記憶領域に記憶できない場合に、前記第2の記憶ステップでは、前記探索ステップでたに探索されたアクセスポイントの電波強度と、前記第2の記憶領域の末尾に記憶されている情報が示すアクセスポイントの電波強度とを比較し、前記比較の結果、前記探索ステップでたに探索されたアクセスポイントの電波強度が、前記第2の記憶領域の末尾に記憶されている情報が示すアクセスポイントの電波強度より強い場合に、前記第2の記憶ステップでは、前記第2の記憶領域の末尾に記憶されている情報を削除して、前記探索ステップでたに探索されたアクセスポイントに関する情報を前記第2の記憶領域に記憶し、前記比較の結果、前記探索ステップでたに探索されたアクセスポイントの電波強度の電波強度が、前記第2の記憶領域の末尾に記憶されている情報が示すアクセスポイントの電波強度より弱い場合に、前記第2の記憶ステップでは、前記探索ステップでたに探索されたアクセスポイントに関する情報を前記第2の記憶領域に記憶しないことを特徴とする。 An access point search method according to the present invention includes a search step for searching for an access point, a first storage step for storing information on an access point newly searched for in the search step in a first storage area, A second storage step for storing information on the access point stored in the first storage area in the second storage area, and a search for the access point based on the information stored in the second storage area and a display step of displaying a result, the information about the second said access point stored in the storage area of, are sorted field intensity is strong order new at the search step valleys a infos searched access point is stored in the first storage area, and that is newly searched in the search step If you can not store information about Seth points in the second storage area, wherein in the second storage step, and the radio wave strength of the access points newly searched in the searching step, the end of the second storage area compares the radio field intensity of the access point indicated by the information stored in the result of the comparison, the radio wave intensity of the newly searched access point at the search step, stored at the end of the second storage area If stronger than the radio wave intensity of the access point indicated by the information that is, in the second storage step, by deleting the information stored at the end of the second storage area, new in the search step valleys information about the found access point is stored in the second storage area, the result of the comparison, collecting the newly searched access point at the search step Field intensity of strength, if weaker than the radio wave intensity of the access point indicated by the information stored at the end of the second storage area, wherein in the second storage step, is newly searched in the search step Information on the access point is not stored in the second storage area.

本発明によるプログラムは、上記の記載のアクセスポイントの探索方法をコンピュータに実行させるためのプログラムである。 Program according to the present invention, Ru program der for executing the method of searching for the access point of the above described computer.

本発明によれば、アクセスポイントを探索する際に、電波強度が強いアクセスポイントを探索結果から取りこぼす可能性を低減することができる。 According to the present invention, when searching for an access point, it is possible to reduce the possibility of missing an access point with strong radio field intensity from the search result.

本発明の第1の実施形態による画像形成装置の構成の一例を示すブロック図である。1 is a block diagram illustrating an example of a configuration of an image forming apparatus according to a first embodiment of the present invention. 図1に示す操作パネルの一例を示す図である。It is a figure which shows an example of the operation panel shown in FIG. 操作パネルに表示される画面の一例を示す図であり、(A)は無線LAN設定画面を示す図、(B)は探索中である旨のメッセージを示す図、(C)は探索結果一覧を示す図、(D)は鍵情報入力画面を示す図、(E)は接続を開始する旨のメッセージを示す図、(F)は接続に成功した際のメッセージの一例を示す図、(G)は接続に失敗した際のメッセージの一例を示す図、(H)はSSID手動設定画面を示す図、(I)はセキュリティ設定画面を示す図である。It is a figure which shows an example of the screen displayed on an operation panel, (A) is a figure which shows a wireless LAN setting screen, (B) is a figure which shows the message that it is searching, (C) is a search result list. (D) is a diagram showing a key information input screen, (E) is a diagram showing a message to start connection, (F) is a diagram showing an example of a message when connection is successful, (G) Is a diagram showing an example of a message when connection fails, (H) is a diagram showing an SSID manual setting screen, and (I) is a diagram showing a security setting screen. 従来のAP探索機能のソフトウェア構成を説明するためのブロック図である。It is a block diagram for demonstrating the software configuration of the conventional AP search function. 図5に示すAP探索機能の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the AP search function shown in FIG. 本発明の第1の実施形態におけるAP探索機能による探索経過を示す図である。It is a figure which shows the search progress by the AP search function in the 1st Embodiment of this invention. 本発明の第1の実施形態における画像形成装置で用いられるAP探索機能のソフトウェア構成を説明するためのブロック図である。3 is a block diagram for explaining a software configuration of an AP search function used in the image forming apparatus according to the first embodiment of the present invention. FIG. 図7に示すAP探索機能の動作を説明するためのフローチャートである。It is a flowchart for demonstrating operation | movement of the AP search function shown in FIG.

以下、本発明の実施の形態によるアクセスポイント探索装置(以下無線アクセスポイント探索装置と呼ぶ)の一例について図面を参照して説明する。 Hereinafter, an example of an access point search device (hereinafter referred to as a wireless access point search 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 an image forming apparatus as an example of a wireless access point search 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 transmission / reception function will be described. 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によって相互に接続されている。   In FIG. 1, the image forming apparatus 100 includes a printing unit 107, a reading unit 109, an operation panel 110, a line I / F (interface) 112, and a controller unit 101. The controller unit 101 includes a CPU 102, a RAM 103, a ROM 104, a printing unit I / F 106, a reading unit I / F 108, a modem (MODEM) 111, a USB (Universal Serial Bus) I / F 115, a network I / F 116, and a wireless LAN I / F 117. Have. These blocks are connected to each other by a system bus 105.

CPU102は、制御プログラムに応じて画像形成装置を総括的に制御する。この制御プログラムは、ROM104のプログラム領域(プログラムROM104b)に記憶されており、CPU102はROM104から制御プログラムを読み出して実行する。図示の例では、ROM104は、フォントROM104a、プログラムROM104b、およびデータROM104cを備えている。   The CPU 102 comprehensively controls the image forming apparatus according to the control program. This control program is stored in the program area (program ROM 104 b) of the ROM 104, and the CPU 102 reads the control program from the ROM 104 and executes it. In the illustrated example, the ROM 104 includes a font ROM 104a, a program ROM 104b, and a data ROM 104c.

制御プログラムが圧縮データとしてROM104のプログラム領域に記憶されている場合には、CPU102は圧縮データを伸張してRAM103に展開し、制御プログラムを実行する。なお、図示しないハードディスクドライブ(HDD)に制御プログラムを圧縮状態/非圧縮状態で格納しておくようにしてもよい。   When the control program is stored in the program area of the ROM 104 as compressed data, the CPU 102 decompresses the compressed data, expands it in the RAM 103, and executes the control program. The control program may be stored in a compressed state / uncompressed state in a hard disk drive (HDD) not shown.

無線LAN I/F117は、無線ネットワーク網119を介してアクセスポイント(以下単にAPと呼ぶ)120との通信を行う。MODEM111は、回線I/F112を介して公衆回線網と接続して、他の画像形成装置、ファクシミリ装置、又は電話機などの機器(図示せず)との通信処理を行う。回線I/F112と公衆回線網とは、一般的に電話回線で接続される。   The wireless LAN I / F 117 communicates with an access point (hereinafter simply referred to as AP) 120 via a wireless network 119. The MODEM 111 is connected to the public line network via the line I / F 112 and performs communication processing with other image forming apparatuses, facsimile apparatuses, or devices (not shown) such as telephones. The line I / F 112 and the public line network are generally connected by a telephone line.

印刷部I/F106は、印刷部(プリンタエンジン)107に記録画像信号(画像データ)を出力するインタフェースとして用いられる。読取部I/F108は、読取部(スキャナエンジン)109における読み取りの結果得られた読取画像信号を入力するインタフェースとして用いられる。CPU102は、読取部I/F109から入力された読取画像信号を処理して、記録画像信号として印刷部I/F106に出力する。   The printing unit I / F 106 is used as an interface for outputting a recording image signal (image data) to the printing unit (printer engine) 107. The reading unit I / F 108 is used as an interface for inputting a read image signal obtained as a result of reading by the reading unit (scanner engine) 109. The CPU 102 processes the read image signal input from the reading unit I / F 109 and outputs the processed image signal to the printing unit I / F 106 as a recording image signal.

CPU102は、フォントROM104aに記憶されたフォント情報を用いて、操作パネル110の表示部に文字および記号を表示する。さらに、CPU102は操作パネル110からユーザ指示を受ける。   The CPU 102 displays characters and symbols on the display unit of the operation panel 110 using the font information stored in the font ROM 104a. Further, the CPU 102 receives a user instruction from the operation panel 110.

CPU102は、画像形成装置に関する情報(ステータス情報)、ユーザ電話帳情報、および組織における部門管理情報などをデータROM104cに記憶する。そして、CPU102はこれらの情報を必要に応じてデータROM104cから読み出して更新する。   The CPU 102 stores information (status information) related to the image forming apparatus, user telephone directory information, department management information in the organization, and the like in the data ROM 104c. Then, the CPU 102 reads out and updates these pieces of information from the data ROM 104c as necessary.

このように、図示の画像形成装置100は、コピー機能、スキャン機能、およびファクシミリ機能を有している。さらに、画像形成装置100は、USB I/F116又は無線ネットワーク網119を介してPC(パソコン)などから指示された印刷(プリント)を行う機能も有している。   As described above, the illustrated image forming apparatus 100 has a copy function, a scan function, and a facsimile function. Furthermore, the image forming apparatus 100 also has a function of performing printing (printing) instructed from a PC (personal computer) or the like via the USB I / F 116 or the wireless network 119.

図2は、図1に示す操作パネル110の一例を示す図である。   FIG. 2 is a diagram showing an example of the operation panel 110 shown in FIG.

操作パネル110には、上述の各種機能を選択するファンクションキー201〜203を有している。そして、ユーザは使用したい機能に対応するファンクションキー201〜203を押下する。さらに、操作パネル110には、表示部204が備えられており、この表示部204には、ユーザによる設定状態および画像形成装置100の機器状況(ステータス)などが表示される。   The operation panel 110 has function keys 201 to 203 for selecting the various functions described above. Then, the user presses the function keys 201 to 203 corresponding to the function to be used. Further, the operation panel 110 is provided with a display unit 204. The display unit 204 displays a setting state by the user, a device status (status) of the image forming apparatus 100, and the like.

矢印キー206は、表示部204に表示されたカーソルなどの移動に用いられる。矢印キー206は、上下左右4つのボタンがある。そして、矢印キー206の中央には、OKキー207が配置され、設定および問い合わせに対する「決定キー」として機能する。例えば、コピーの設定(用紙サイズ)を変更したい場合には、ユーザはファンクションキー201(コピー機能ボタン)を押下して、表示部204にコピー機能画面を表示させる。そして、ユーザは矢印キー206で変更したい項目(用紙サイズ)を選択して、OKキー207を押下する。これによって、表示部204には選択可能な設定画面が表示される。そして、ユーザが設定画面において、矢印キー206によって所望の設定位置(ここでは用紙サイズ)にカーソルを移動させてOKキー207を押すと、用紙サイズの設定が行われる。   An arrow key 206 is used for moving a cursor or the like displayed on the display unit 204. The arrow key 206 has four buttons, up, down, left, and right. An OK key 207 is arranged at the center of the arrow key 206 and functions as a “decision key” for setting and inquiry. For example, to change the copy setting (paper size), the user presses the function key 201 (copy function button) to display the copy function screen on the display unit 204. Then, the user selects an item (paper size) to be changed with the arrow key 206 and presses the OK key 207. As a result, a selectable setting screen is displayed on the display unit 204. Then, when the user moves the cursor to a desired setting position (here, paper size) with the arrow key 206 and presses the OK key 207 on the setting screen, the paper size is set.

なお、コピー部数又はファクシミリ機能における電話番号の入力などの際には、ユーザはテンキー208を用いる。   Note that the user uses the numeric keypad 208 when inputting the number of copies or a telephone number in the facsimile function.

コピー、スキャン、又はファクシミリのスタートを指示するキーとして、図示の例では、白黒スタートキー209およびカラースタートキー210がある。ストップキー211は各機能の動作を停止させる指示を行うためのキーである。メニューキー212は、画像形成装置100の各種設定を変更するメニュー画面に遷移するためのキーである。   In the illustrated example, there are a monochrome start key 209 and a color start key 210 as keys for instructing the start of copying, scanning, or facsimile. The stop key 211 is a key for giving an instruction to stop the operation of each function. A menu key 212 is a key for transitioning to a menu screen for changing various settings of the image forming apparatus 100.

さらに、図示の操作パネル110においては、無線LANの状態を表すLED(発光ダイオード:Wi−Fi)205が備えられている。このLED205は、無線LANに未接続の際には消灯し、AP120との接続中の際には点滅する。そして、AP120との接続が完了すると、LED205は点灯する。   Further, the illustrated operation panel 110 includes an LED (Light Emitting Diode: Wi-Fi) 205 that indicates the state of the wireless LAN. The LED 205 is turned off when not connected to the wireless LAN, and blinks when connected to the AP 120. When the connection with the AP 120 is completed, the LED 205 is turned on.

図3は、操作パネル110に表示される画面の一例を示す図である。   FIG. 3 is a diagram illustrating an example of a screen displayed on the operation panel 110.

ユーザが画像形成装置100をAP120に接続する際には、まず操作パネル110のメニューキー212を選択する。これによって、CPU102は、表示部204に図3(A)に示す無線LAN設定画面を表示する。図3(A)に示す無線LAN設定画面において、ユーザは無線LANの設定方法を選択することができる。   When the user connects the image forming apparatus 100 to the AP 120, first, the menu key 212 on the operation panel 110 is selected. Thus, the CPU 102 displays the wireless LAN setting screen shown in FIG. In the wireless LAN setting screen shown in FIG. 3A, the user can select a wireless LAN setting method.

図示の例では、無線LAN設定画面において、アクセスポイント選択301と手動設定302との2つの選択方法が表示される。アクセスポイント選択301は、画像形成装置100の周囲のAPを探索した探索結果から任意のAPを選択して接続する方法である。一方、手動設定302は、ユーザが特定のAPの設定情報を入力して接続する方法である。   In the illustrated example, two selection methods of access point selection 301 and manual setting 302 are displayed on the wireless LAN setting screen. Access point selection 301 is a method of selecting and connecting an arbitrary AP from a search result obtained by searching for APs around the image forming apparatus 100. On the other hand, the manual setting 302 is a method in which a user inputs setting information of a specific AP and connects.

ここで、アクセスポイント選択301を選択すると、CPU102は、APの探索を開始し、図3(B)に示すように、探索中である旨のメッセージ303(「探索中です。」)を表示部204に表示する。APの探索が完了すると、CPU102は、図3(C)に示す探索結果一覧を表示部204に表示する。   Here, when the access point selection 301 is selected, the CPU 102 starts searching for an AP and, as shown in FIG. 3B, displays a message 303 (“searching in progress”) indicating that searching is in progress. 204. When the AP search is completed, the CPU 102 displays a search result list shown in FIG.

ここでは、探索の結果、4つのAPが見つかったものとする。そして、探索結果一覧には、各APについて、電波強度、無線チャンネル(以下単にチャンネルと呼ぶ)、セキュリティ、およびSSID名称が表示される。   Here, it is assumed that four APs are found as a result of the search. In the search result list, the radio wave intensity, the radio channel (hereinafter simply referred to as a channel), 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キーが示される。   Assume that the user has selected the top (first) search result 304 in the search result list. When security is set when the selection is made, the CPU 102 displays a key information input screen shown in FIG. In FIG. 3D, a WEP (Wired Equivalent Privacy) key is shown as key information. For example, in the access point selection screen (search result list) shown in FIG. 3C, WPA (Wi-Fi Protected) is shown. If the access (AP) is selected, the WPA key is shown.

鍵情報入力画面において、鍵情報305を入力すると、CPU102は、図3(E)に示すように、表示部204に接続を開始する旨のメッセージ(「接続を開始します。よろしいですか?」)306を表示する。図3(E)に示す画面において、「はい」を選択すると、CPU102は当該APとの接続を開始し、「いいえ」を選択すると、CPU102は、当該APとの接続をキャンセルする。   When the key information 305 is input on the key information input screen, the CPU 102, as shown in FIG. 3E, displays a message to start connection on the display unit 204 (“Do you want to start connection? Are you sure?” ) 306 is displayed. In the screen shown in FIG. 3E, when “Yes” is selected, the CPU 102 starts connection with the AP, and when “No” is selected, the CPU 102 cancels the connection with the AP.

接続処理完了後、接続に成功すると、CPU102は、図3(F)に示すように、表示部204にメッセージ(「接続しました」)を表示する。一方、接続に失敗すると、CPU102は、図3(G)に示すように、メッセージ(「アクセスポイントが見つかりませんでした。設定を確認して下さい」)308を表示する。なお、接続が失敗した際のメッセージは一例であって、接続時のエラーに応じたエラーメッセージが表示される。   If the connection is successful after completion of the connection process, the CPU 102 displays a message (“connected”) on the display unit 204 as shown in FIG. On the other hand, if the connection fails, the CPU 102 displays a message (“No access point was found. Please check the settings”) 308 as shown in FIG. Note that the message when the connection fails is an example, and an error message corresponding to the connection error is displayed.

図3(A)に示す無線LAN設定画面において、手動設定302を選択すると、CPU102は、図3(H)に示すSSID手動設定画面を表示部204にする。ここで、ユーザが任意のSSID(例えばSSID309)を設定すると、CPU102は図3(I)に示すセキュリティ設定画面を表示部204に表示する。   When 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)で説明した処理が行われることになる。   In this security setting screen, it is necessary to select the same security as that set for the AP. As shown in the figure, three options 310 to 1 of “none”, “WEP”, and “WPA / WPA2-PSK” are selected. You need to choose one. In the illustrated example, if WEP is selected, the processing described in FIGS. 3D to 3G is performed.

ここで、本実施形態における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. 4 and 5. The configuration of the image forming apparatus that can execute the conventional AP search method is the same as that of the image forming apparatus 100 shown in FIGS.

図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に表示する。   The panel control unit 401 receives the instruction content input by the user via the operation panel 110. When the AP search instruction input by the user via the operation panel 110 is received, the scan processing unit 402 is requested to start AP search. Further, the result of AP search is displayed on the operation panel 110.

スキャン処理部402は、パネル制御部401からAP探索の開始の要求を受信すると、無線LANドライバ403に対してAPの探索要求を行う。無線LANドライバ403は、無線LAN I/F117に対して探索要求を行う。このとき、無線LANドライバ403は、無線LAN I/F117に対して1チャンネルから最大チャンネルまでの全てのチャンネルの探索を行うように要求する。なお、各国の電波法などによって許容される周波数帯が異なるので、最大チャンネルとは、許容される最大のチャンネルのことをいう(日本の場合は、1〜13チャンネルである)。本実施形態では、13チャンネルが最大チャンネルであることとして説明する。   Upon receiving the AP search start request from the panel control unit 401, the scan processing unit 402 makes an AP search request to the wireless LAN driver 403. The wireless LAN driver 403 makes a search request to the wireless LAN I / F 117. At this time, the wireless LAN driver 403 requests the wireless LAN I / F 117 to search for all channels from the first channel to the maximum channel. Since the allowable frequency band differs depending on the radio wave law of each country, the maximum channel means the maximum allowable channel (in the case of Japan, it is 1 to 13 channels). In the present embodiment, description will be made assuming that 13 channels are the maximum channels.

結果受信部404は、無線LANドライバ403を介して無線LAN I/F117による探索結果を受信し、RAM103上に設けられた探索領域に探索結果を格納する。また、結果受信部404はパネル制御部401に探索結果の格納が完了したことを通知する。   The result receiving unit 404 receives a search result by the wireless LAN I / F 117 via the wireless LAN driver 403 and stores the search result in a search area provided on the RAM 103. In addition, the result receiving unit 404 notifies the panel control unit 401 that the search result storage has been completed.

図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 provided in the conventional image forming apparatus developing the program stored in the memory such as the ROM 104 on the RAM 103 and executing it.

ユーザが操作パネル110を介してAP探索指示を入力すると、無線LANドライバ403は無線LAN I/F117に対して、1チャンネルから最大チャンネルまでの全てのチャンネルの探索を行うように要求する。要求を受けた無線LAN I/F117は、ステップS501において、全てのチャンネルに対してアクセスポイントの探索を行う。   When the user inputs an AP search instruction via the operation panel 110, the wireless LAN driver 403 requests the wireless LAN I / F 117 to search all channels from the first channel to the maximum channel. In step S501, the wireless LAN I / F 117 that has received the request searches for access points for all channels.

無線LAN I/F117が全てのチャンネルの探索を行うと、結果受信部404はRAM103上に設けられた探索領域に探索結果を格納する。そしてステップS502において、操作パネル110は探索結果を表示する。このとき探索結果として操作パネル110が表示する画面は、例えば図3(C)に示すアクセスポイント選択画面(探索結果一覧)である。   When the wireless LAN I / F 117 searches for all channels, the result receiving unit 404 stores the search results in a search area provided on the RAM 103. In step S502, the operation panel 110 displays the search result. At this time, the screen displayed on the operation panel 110 as a search result is, for example, an access point selection screen (search result list) shown in FIG.

次に、図6〜図8を用いて本実施形態におけるAP探索手法について説明する。   Next, the 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 40 APs exist around the image forming apparatus 100. An AP list 601 indicating 40 APs sequentially shows the SSID name, radio wave intensity, and channel.

従来のAP探索機能においては、無線LANドライバ403は無線LAN I/F117に対して全てのチャンネルの探索を指示しているが、メモリ容量が少ない場合にはRAM103に設けられた探索領域の容量自体が制限される。よって、多くのアクセスポイントが見つかるような環境下では、使用可能な全チャンネルのうち最後のチャンネルに向うにつれて探索結果が取りこぼされる事態が生じやすい。このような事態を防止するため、本実施形態におけるAP探索機能では、まず1チャンネルを指定してAP探索を行い、探索結果を取得する。そして、これを2チャンネル、3チャンネルと順番に13チャンネルまでチャンネル毎に探索を行って、チャンネル毎に探索結果を取得する。   In the conventional AP search function, the wireless LAN driver 403 instructs the wireless LAN I / F 117 to search all channels, but when the memory capacity is small, the capacity of the search area provided in the RAM 103 itself. Is limited. Therefore, in an environment where many access points can be found, a situation in which search results are missed tends to occur toward the last channel among all available channels. In order to prevent such a situation, the AP search function in the present embodiment first performs AP search by designating one channel, and acquires the search result. Then, the search is performed for each channel up to 13 channels in order of 2 channels and 3 channels, and a search result is obtained for each channel.

まず、本実施形態では1チャンネル(以降chと呼ぶ)を指定してAP探索を行う。図6に示す例では、1chを指定した際の探索結果602として1件のAPに係るデータ(以下アクセスポイントデータ(APデータ)と呼ぶ)が得られ、RAM103に設けられた探索領域620に探索結果602が格納される。そしてこの探索結果602が、RAM103に設けられた結果領域630にAP探索データ603として格納される。   First, in this embodiment, AP search is performed by designating one channel (hereinafter referred to as ch). In the example shown in FIG. 6, data related to one AP (hereinafter referred to as access point data (AP data)) is obtained as a search result 602 when 1ch is specified, and a search is performed in a search area 620 provided in the RAM 103. The result 602 is stored. This search result 602 is stored as AP search data 603 in a result area 630 provided in the RAM 103.

同様にして2chを指定した際の探索結果は、探索結果604として探索領域620に格納される。このとき、探索結果604は、探索結果602に上書きして探索領域620に格納される。そして探索結果604が結果領域630に追加され、AP探索データ605として格納される。このとき、結果領域630に格納されるAPデータは、特定の条件に応じてソートされる。本実施形態では、電波強度の強い順にソートすることとするが、特定の条件がこれに限定されるわけではない。   Similarly, the search result when 2ch is designated is stored in the search area 620 as the search result 604. At this time, the search result 604 is stored in the search area 620 by overwriting the search result 602. The search result 604 is added to the result area 630 and stored as AP search data 605. At this time, the AP data stored in the result area 630 is sorted according to a specific condition. In the present embodiment, sorting is performed in descending order of radio field intensity, but the specific condition is not limited to this.

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データに対しても同様の処理が行われる。   AP search data 606 indicates the result of AP search from 1ch to 12ch being completed. At this time, 16 pieces of AP data, which is the maximum number of cases in the result area 630, are stored in the result area 630. When AP search is performed by specifying 13ch in this state, five pieces of AP data are stored in the search area 620 as search results 607. Since the search result 607 cannot be added to the result area 630 as it is, in this embodiment, which radio wave intensity is the AP data 609 at the end of the AP search data 606 and the AP data 608 at the top of the search result 607. Compare strong or not. In the diagram shown in FIG. 6, the AP data 608 has stronger radio field strength than the AP data 609, so the AP data 609 and the AP data 608 are exchanged and stored in the result area 630. The result is AP search data 610. According to the AP search data 610, it can be seen that the AP data 608 is stored in the result area 630 as the AP data 611. The AP search data 612 is obtained by sorting the AP search data 610 in descending order of the radio wave intensity. Since there are four other AP data in the search result 607, the same processing is performed on these AP data.

図7は、本実施形態のおけるAP探索機能のソフトウェア構成を説明するためのブロック図である。図7に示すソフトウェア機能は、画像形成装置100が備えるCPU102が制御プログラムを実行することによって実現される。図4と同じ符号のものは図4と同様の機能を有するので、説明は省略する。   FIG. 7 is a block diagram for explaining the software configuration of the AP search function in the present embodiment. The software function shown in FIG. 7 is realized by the CPU 102 included in the image forming apparatus 100 executing a control program. Components having the same reference numerals as those in FIG. 4 have the same functions as those in FIG.

チャンネル指定部701は、無線LANドライバ403に対してAP探索を行うチャンネルを指定する。本実施形態では、1chから順番に13chまで指定することとするが、これに限定されるわけではない。ユーザによって予め設定された順番で探索されるように指定しても良い。   The channel designation unit 701 designates a channel for AP search for the wireless LAN driver 403. In the present embodiment, 1ch to 13ch are designated in order, but the present invention is not limited to this. You may specify to search in the order preset by the user.

あふれ判定部702は、AP探索の結果として探索領域620に格納されたAPデータの件数と、それまでの探索の結果として結果領域630に格納されたAPデータの件数との合計が、結果領域630の最大件数を超えるか否かを判定する。なお、以降はAP探索の結果として探索領域620に格納されたAPデータの件数を「探索数」、それまでの探索の結果として結果領域630に格納されたAPデータの件数を「格納数」、結果領域630の最大件数を「結果領域数」と呼ぶこととする。   The overflow determination unit 702 determines that the sum of the number of AP data stored in the search area 620 as a result of the AP search and the number of AP data stored in the result area 630 as a result of the previous search is the result area 630. It is determined whether or not the maximum number of cases is exceeded. Hereinafter, the number of AP data stored in the search area 620 as the AP search result is “search number”, and the number of AP data stored in the result area 630 as the search result so far is “stored number”. The maximum number of result areas 630 will be referred to as “result area number”.

交換部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 overflow determination unit 702 determines that the sum of the number of searches and the number of storages is larger than the number of result areas, the exchange unit 703 stores the AP data stored at the end of the result area 630 and the search area 620. It is determined which radio wave intensity is stronger than the AP data. If it is determined that the AP data stored in the search area 620 has stronger radio wave strength than the AP data stored at the end of the result area 630, the exchange unit 703 searches for the AP data stored at the end of the result area 630 and the search data. The AP data stored in the area 620 is exchanged. On the other hand, if it is determined that the AP data stored at the end of the result area 630 has stronger radio field strength than the AP data stored in the search area 620, the exchange unit 703 determines that the AP data stored at the end of the result area 630 The AP data stored in the search area 620 is not exchanged. When a plurality of AP data is searched as in the search result 602 and the search result 607, the processing by the exchange unit 703 is performed on all AP data.

ソート部704は、交換部703によってAPデータの交換が行われたり、結果領域630にAPデータが格納されたりしたときに、電波強度が強い順にAPデータをソートする。   The sort unit 704 sorts the AP data in descending order of the radio wave intensity when the exchange data is exchanged by the exchange unit 703 or the AP data is stored in the result area 630.

図8は本実施形態におけるAP探索機能の動作を説明するためのフローチャートである。ステップS801〜S811は、画像形成装置100が備えるCPU102がROM104等のメモリに格納されたプログラムをRAM103に展開して実行することによって処理される。   FIG. 8 is a flowchart for explaining the operation of the AP search function in this embodiment. Steps S801 to S811 are processed by the CPU 102 provided in the image forming apparatus 100 developing a program stored in a memory such as the ROM 104 on the RAM 103 and executing the program.

ステップS801において、チャンネル指定部701は探索対象となるチャンネルを指定する。本実施形態では、1chから順番に一つずつ指定されることになる。   In step S801, the channel specifying unit 701 specifies a channel to be searched. In this embodiment, one channel is designated in order from 1ch.

ステップS802において、無線LAN I/F117は指定されたチャンネル(ここでは1ch)を対象にアクセスポイントを探索する(第1の探索手段)。   In step S802, the wireless LAN I / F 117 searches for an access point for a designated channel (here, 1ch) (first search means).

ステップS802での探索が終了すると、ステップS803において、あふれ判定部702は探索数と格納数の合計が結果領域数より大きいか否かを判定する。つまり、あふれ判定部701はメモリに格納されたAPデータと今回の探索で得られたAPとの合計が前記メモリの容量より大きいか否かについて判定することになる。あふれ判定部702が探索数と格納数の合計が結果領域数より大きいと判定するとステップS804に進む。   When the search in step S802 ends, in step S803, the overflow determination unit 702 determines whether the sum of the number of searches and the number of storages is greater than the number of result areas. That is, the overflow determination unit 701 determines whether or not the sum of the AP data stored in the memory and the AP obtained in the current search is larger than the capacity of the memory. If the overflow determination unit 702 determines that the sum of the number of searches and the number of storages is larger than the number of result areas, the process advances to step S804.

ステップS804において、交換部703は探索領域620に格納されたAPデータの電波強度が、結果領域630の末尾に格納されたAPデータの電波強度より強いか否かを判定する。つまり、ここでは、今回の探索で得られたAPデータと今までにメモリに格納されたAPアクセスポイントデータとのうちいずれが予め規定された特定条件(電波強度の強弱)を満たすか否かについて判定することになる。このとき、探索結果607のように探索領域620に複数のAPデータが格納されている場合は、一つずつ順番に処理が行われることになる。処理される順番は特に限定しないが、本実施形態では探索領域620に格納された順番に処理を行うことにする。   In step S804, the exchange unit 703 determines whether the radio wave intensity of the AP data stored in the search area 620 is stronger than the radio wave intensity of the AP data stored at the end of the result area 630. In other words, here, which of the AP data obtained in the current search and the AP access point data stored in the memory so far satisfies the specific condition (the strength of the radio wave strength) defined in advance. It will be judged. At this time, when a plurality of AP data is stored in the search area 620 as in the search result 607, processing is performed one by one in order. The processing order is not particularly limited, but in this embodiment, the processing is performed in the order stored in the search area 620.

ステップS804で、探索領域620に格納されたAPデータの電波強度が結果領域630の末尾に格納されたAPデータの電波強度より強いと交換部703が判定すると(判定結果)、ステップS805に進む。ステップS805において、交換部703は探索領域620に格納されたAPデータと、結果領域630の末尾に格納されたAPデータとを交換する(データ交換手段)。そしてステップS806において、ソート部704は結果領域630に格納されたAPデータを電波強度が強い順にソートする。   If the exchange unit 703 determines that the radio wave intensity of the AP data stored in the search area 620 is stronger than the radio wave intensity of the AP data stored at the end of the result area 630 in step S804 (determination result), the process proceeds to step S805. In step S805, the exchange unit 703 exchanges the AP data stored in the search area 620 and the AP data stored at the end of the result area 630 (data exchange means). In step S806, the sorting unit 704 sorts the AP data stored in the result area 630 in descending order of radio wave intensity.

一方、ステップS804で探索領域620に格納されたAPデータの電波強度が、結果領域630の末尾に格納されたAPデータの電波強度より弱いと交換部703が判定すると、ステップS807に進む。このとき、探索領域620に格納されたAPデータは結果領域630に格納されたどのAPデータよりも電波強度が弱いことになるので、結果領域630に格納されない。従って、結果領域630には電波強度が強いAPデータが格納されていくことになる。   On the other hand, when exchange section 703 determines that the radio wave intensity of the AP data stored in search area 620 in step S804 is weaker than the radio wave intensity of the AP data stored at the end of result area 630, processing proceeds to step S807. At this time, the AP data stored in the search area 620 is not stored in the result area 630 because the radio wave intensity is weaker than any AP data stored in the result area 630. Therefore, AP data having a high radio field intensity is stored in the result area 630.

ステップS807において、交換部703はステップS804の判定処理をまだ行っていないAPデータがあるか否かを判定する。まだステップS804の判定処理を行っていないAPデータがある場合(ステップS807でYes)は、ステップS804に戻り、次のAPデータの判定を行う。一方、探索領域620に格納されたすべてのAPデータに対してステップS804の判定処理を行っている場合(ステップS807でNo)は、ステップS808に進む。   In step S807, the exchange unit 703 determines whether there is AP data that has not been subjected to the determination process in step S804. If there is AP data that has not yet been subjected to the determination process in step S804 (Yes in step S807), the process returns to step S804 to determine the next AP data. On the other hand, when the determination process of step S804 is performed on all AP data stored in the search area 620 (No in step S807), the process proceeds to step S808.

ステップS803に戻る。ステップS803において、あふれ判定部702が探索数と格納数の合計が結果領域数より小さいと判定するとステップS810に進む。ステップS810において、結果受信部404は探索領域620に格納されたAPデータを結果領域630に格納する。そしてステップS811において、ソート部704は結果領域630に格納されたAPデータを電波強度が強い順にソートする。   The process returns to step S803. If the overflow determination unit 702 determines in step S803 that the sum of the number of searches and the number of storages is smaller than the number of result areas, the process advances to step S810. In step S810, the result reception unit 404 stores the AP data stored in the search area 620 in the result area 630. In step S811, the sorting unit 704 sorts the AP data stored in the result area 630 in descending order of radio wave intensity.

次にステップS808の説明を行う。ステップS808において、チャンネル指定部701は次のチャンネルを指定する必要があるか否かを判定する。13ch全ての探索が終わっていない場合は、チャンネル指定部701は次のチャンネルを指定する必要があると判定し、ステップS801に戻る。そしてステップS801において、チャンネル指定部701は次のチャンネルを指定して、ステップS802以降のステップが示す処理が実行される。   Next, step S808 will be described. In step S808, the channel specifying unit 701 determines whether it is necessary to specify the next channel. If all 13 channels have not been searched, the channel designation unit 701 determines that it is necessary to designate the next channel, and the process returns to step S801. In step S801, the channel designation unit 701 designates the next channel, and the process indicated by the steps after step S802 is executed.

一方、13ch全ての探索が終わった場合は、ステップS808においてチャンネル指定部701は次のチャンネルを指定する必要がないと判定し、ステップS809に進む。ステップS809において、パネル制御部401はAP探索の結果として、図3(c)のような探索結果の一覧画面を操作パネル110に表示させる(表示制御手段)。   On the other hand, if all 13 channels have been searched, the channel designation unit 701 determines in step S808 that it is not necessary to designate the next channel, and the process proceeds to step S809. In step S809, the panel control unit 401 displays a list screen of search results as shown in FIG. 3C on the operation panel 110 as a result of AP search (display control means).

このように、第1の実施形態によれば、APの探索を行う際に、一度に全てのチャンネルについて探索を行うことなく、チャンネル毎にAP探索を行って、APデータを順次結果領域に格納する。この際、電波強度が強いAPデータの順に、結果領域の容量に応じて格納するようにする。従って、電波強度が強いAPデータを結果領域から取りこぼす可能性を低減することができる。   As described above, according to the first embodiment, when searching for an AP, the AP search is performed for each channel without searching for all channels at once, and AP data is sequentially stored in the result area. To do. At this time, the AP data is stored in the order of the strongest radio wave intensity according to the capacity of the result area. Therefore, it is possible to reduce the possibility of missing AP data having a high radio field intensity from the result area.

また、一般的にユーザが接続したいAPはユーザの近くに存在していて、電波強度が強いと想定される。このような場合、電波強度の強いAPデータが操作パネル110に表示されることになるので、メモリ容量が少なくてもユーザが接続したいAPに係るデータを取りこぼすことが少なくなる。   In general, it is assumed that an AP that the user wants to connect to exists near the user and has high radio field strength. In such a case, AP data with strong radio field intensity is displayed on the operation panel 110, so that even if the memory capacity is small, the data related to the AP that the user wants to connect is less likely to be missed.

[第2の実施形態]
本実施形態では、従来のAP探索方法と、第1の実施形態に記載のAP探索方法とを組み合わせたAP探索方法を提供する。
[Second Embodiment]
In the present embodiment, an AP search method that combines the conventional AP search method and the AP search method described in the first embodiment is provided.

具体的には、最初は従来のAP探索方法を実行し、すべてのチャンネルに対してAPの探索を行う(第2の探索手段)。そしてRAM103に設けられた結果領域よりも多いAPデータ(データ量)が探索された場合に、実施形態1のAP探索方法に切り替えて、1chずつ順番にAPの探索を行う。つまり、第2の探索手段による探索の結果得られた無線アクセスポイントに関するアクセスポイントデータの数で規定されるデータ量とメモリの容量とを比較して、当該比較結果に応じて実施形態1のAP探索方法を実行するか否かが決定されることになる。   Specifically, first, a conventional AP search method is executed to search for APs for all channels (second search means). When more AP data (data amount) than the result area provided in the RAM 103 is searched, the AP search method according to the first embodiment is switched to search for APs one by one in order. That is, the data amount defined by the number of access point data related to the wireless access point obtained as a result of the search by the second search means is compared with the memory capacity, and the AP of the first embodiment is determined according to the comparison result. It is determined whether to execute the search method.

このように、第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 channels exceeds the memory capacity. 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 the search for the access point of the wireless LAN, and various forms without departing from the gist of the present invention are also included in the present invention. included.

例えば、上記の実施の形態の機能をアクセスポイントの探索方法として、当該探索方法を、画像形成装置などの機器に実行させるようにすればよい。また、上述の実施の形態の機能を有するプログラムを、画像形成装置などの機器が備えるコンピュータに実行させるようにしてもよい。なお、プログラムは、例えば、コンピュータに読み取り可能な記録媒体に記録される。 For example, the function of the above embodiment may be used as an access point search method, and the search method may be executed by a device such as an image forming apparatus. Further, a program having the functions of the above-described embodiments may be executed by a computer provided 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 apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program code. It is a process to be executed. In this case, the program and the storage medium storing the program constitute the present invention.

401 パネル制御部
402 スキャン処理部
403 無線LANドライバ
404 結果受信部
620 探索領域
630 結果領域
701 チャンネル指定部
702 あふれ判定部
703 交換部
704 ソート部
401 Panel Control Unit 402 Scan Processing Unit 403 Wireless LAN Driver 404 Result Reception Unit 620 Search Area 630 Result Area 701 Channel Designation Unit 702 Overflow Determination Unit 703 Exchange Unit 704 Sort Unit

Claims (6)

アクセスポイントを探索する探索手段を有するアクセスポイント探索装置であって、
前記探索手段によって新たに探索されたアクセスポイントに関する情報を第1の記憶領域に記憶する第1の制御手段と、
前記第1の記憶領域に記憶されている前記アクセスポイントに関する情報を第2の記憶領域に記憶する第2の制御手段と、
前記第2の記憶領域に記憶されている情報に基づいて、アクセスポイントの探索結果を表示する表示手段とを備え、
前記第2の記憶領域に記憶されている前記アクセスポイントに関する情報は、電波強度が強い順番にソートされ、
前記探索手段によってたに探索されたアクセスポイントに関する情報が前記第1の記憶領域に記憶され、かつ前記探索手段によってたに探索されたアクセスポイントに関する情報を前記第2の記憶領域に記憶できない場合に、前記第2の制御手段は、前記探索手段によってたに探索されたアクセスポイントの電波強度と、前記第2の記憶領域の末尾に記憶されている情報が示すアクセスポイントの電波強度とを比較し、
前記比較の結果、前記探索手段によってたに探索されたアクセスポイントの電波強度が、前記第2の記憶領域の末尾に記憶されている情報が示すアクセスポイントの電波強度より強い場合に、前記第2の制御手段は、前記第2の記憶領域の末尾に記憶されている情報を削除して、前記探索手段によってたに探索されたアクセスポイントに関する情報を前記第2の記憶領域に記憶し、
前記比較の結果、前記探索手段によってたに探索されたアクセスポイントの電波強度の電波強度が、前記第2の記憶領域の末尾に記憶されている情報が示すアクセスポイントの電波強度より弱い場合に、前記第2の制御手段は、前記探索手段によってたに探索されたアクセスポイントに関する情報を前記第2の記憶領域に記憶しないことを特徴とするアクセスポイント探索装置。
An access point search apparatus having search means for searching for an access point,
First control means for storing, in a first storage area, information relating to an access point newly searched by the search means;
Second control means for storing information about the access point stored in the first storage area in a second storage area;
Display means for displaying an access point search result based on the information stored in the second storage area;
Information on the access points stored in the second storage area is sorted in the order of strong radio wave intensity,
Newly information about the searched access point is stored in the first storage area, and can not store information about the newly searched access point to the second storage area by said searching means by the search means when the second control means includes a radio field intensity of the access point that is newly searched by said searching means, and radio field intensity of the access point indicated by the information stored at the end of the second storage area Compare
Result of the comparison, the radio wave intensity of the newly searched access point by said search means, when stronger than the radio wave intensity of the access point to which the second information stored in the end of the storage area is shown, the first second control means, the second by deleting the information stored at the end of the storage area, and stores information about the newly searched access point to the second storage area by said search means,
Result of the comparison, the radio wave intensity of the radio wave strength of the newly searched access point by said search means, when weaker than the radio wave intensity of the access point that the information stored at the end of the second storage area is shown , the second control means, said searching means by the access point searching apparatus characterized by not storing information about the newly searched access point to the second storage area.
複数のチャンネルのうち、特定のチャンネルを対象としてアクセスポイントを探索するように前記探索手段に指示する指示手段を更に備え、
前記特定のチャンネルを対象としたアクセスポイントの探索結果に対する前記第2の制御手段の処理が完了した場合に、前記指示手段は、次のチャンネルを対象としてアクセスポイントを探索するように前記探索手段に指示することを特徴とする請求項1に記載のアクセスポイント探索装置。
An instruction means for instructing the search means to search for an access point for a specific channel among a plurality of channels;
When the processing of the second control unit for the access point search result for the specific channel is completed, the instruction unit instructs the search unit to search for an access point for the next channel. The access point search apparatus according to claim 1, wherein an instruction is given.
前記アクセスポイントに関する情報は、SSIDを含むことを特徴とする請求項1又は2に記載のアクセスポイント探索装置。   The access point search apparatus according to claim 1 or 2, wherein the information about the access point includes an SSID. 前記アクセスポイント探索装置は、印刷を実行可能な画像形成装置であることを特徴とする請求項1乃至3のいずれか1項に記載のアクセスポイント探索装置。   The access point search apparatus according to claim 1, wherein the access point search apparatus is an image forming apparatus capable of executing printing. アクセスポイントを探索する探索ステップと、
前記探索ステップで新たに探索されたアクセスポイントに関する情報を第1の記憶領域に記憶する第1の記憶ステップと、
前記第1の記憶領域に記憶されている前記アクセスポイントに関する情報を第2の記憶領域に記憶する第2の記憶ステップと、
前記第2の記憶領域に記憶されている情報に基づいて、アクセスポイントの探索結果を表示部に表示する表示ステップとを有し、
前記第2の記憶領域に記憶されている前記アクセスポイントに関する情報は、電波強度が強い順番にソートされており、
前記探索ステップでたに探索されたアクセスポイントに関する情報が前記第1の記憶領域に記憶され、かつ前記探索ステップでたに探索されたアクセスポイントに関する情報を前記第2の記憶領域に記憶できない場合に、前記第2の記憶ステップでは、前記探索ステップでたに探索されたアクセスポイントの電波強度と、前記第2の記憶領域の末尾に記憶されている情報が示すアクセスポイントの電波強度とを比較し、
前記比較の結果、前記探索ステップでたに探索されたアクセスポイントの電波強度が、前記第2の記憶領域の末尾に記憶されている情報が示すアクセスポイントの電波強度より強い場合に、前記第2の記憶ステップでは、前記第2の記憶領域の末尾に記憶されている情報を削除して、前記探索ステップでたに探索されたアクセスポイントに関する情報を前記第2の記憶領域に記憶し、
前記比較の結果、前記探索ステップでたに探索されたアクセスポイントの電波強度の電波強度が、前記第2の記憶領域の末尾に記憶されている情報が示すアクセスポイントの電波強度より弱い場合に、前記第2の記憶ステップでは、前記探索ステップでたに探索されたアクセスポイントに関する情報を前記第2の記憶領域に記憶しないことを特徴とするアクセスポイントの探索方法。
A search step for searching for an access point;
A first storage step of storing information on the access point newly searched in the search step in a first storage area;
A second storage step of storing information on the access point stored in the first storage area in a second storage area;
A display step of displaying an access point search result on a display unit based on information stored in the second storage area;
Information on the access points stored in the second storage area is sorted in the order of strong radio wave intensity,
Newly information about the searched access point is stored in the first storage area, and can not store information about the newly searched access point at the search step in the second storage area in said search step If, in the second storage step, and the radio wave strength of the access point in the searching step are newly searched, the radio wave intensity of the second access point indicated by the information stored at the end of the storage area Compare
Result of the comparison, the radio wave intensity of the newly searched access point at the search step, when stronger than the radio wave intensity of the access point to which the second information stored in the end of the storage area is shown, the first the second storage step, by deleting the information stored at the end of the second storage area, and storing information relating to the search newly searched access point at step into the second storage area,
Result of the comparison, the radio wave intensity of the radio wave strength of the newly searched access point at the search step, when weaker than the radio wave intensity of the access point that the information stored at the end of the second storage area is shown , in the second storing step, the search method of the access point, characterized in that does not store information about the newly searched access point at the search step to the second storage area.
請求項5に記載のアクセスポイントの探索方法をコンピュータに実行させるためのプログラム。
A program for causing a computer to execute the access point search method according to claim 5.
JP2015117389A 2015-06-10 2015-06-10 Access point search apparatus, access point search method, and program Active JP6316241B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015117389A JP6316241B2 (en) 2015-06-10 2015-06-10 Access point search apparatus, access point search method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015117389A JP6316241B2 (en) 2015-06-10 2015-06-10 Access point search apparatus, access point search method, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2010292287A Division JP5761993B2 (en) 2010-12-28 2010-12-28 Access point search apparatus, access point search method, and program

Related Child 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 (3)

Publication Number Publication Date
JP2015180106A JP2015180106A (en) 2015-10-08
JP2015180106A5 JP2015180106A5 (en) 2016-04-07
JP6316241B2 true JP6316241B2 (en) 2018-04-25

Family

ID=54263792

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015117389A Active JP6316241B2 (en) 2015-06-10 2015-06-10 Access point search apparatus, access point search method, and program

Country Status (1)

Country Link
JP (1) JP6316241B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6552563B2 (en) 2017-08-10 2019-07-31 キヤノン株式会社 Printing device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4510567A (en) * 1981-05-18 1985-04-09 International Business Machines Corp. Qualifying and sorting file record data
JP2005033285A (en) * 2003-07-08 2005-02-03 Hitachi Ltd Radio information terminal and radio communication system
JP5761993B2 (en) * 2010-12-28 2015-08-12 キヤノン株式会社 Access point search apparatus, access point search method, and program

Also Published As

Publication number Publication date
JP2015180106A (en) 2015-10-08

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
US20200187112A1 (en) Method of deleting ssid of access point stored in information processing apparatus
US8823988B2 (en) Image forming apparatus supporting peer-to-peer connection and method of executing application program thereof through internet protocol address linkage
EP2993575B1 (en) Information processing apparatus, control method for information processing apparatus, and program
US9013745B2 (en) Communication apparatus, method of controlling the same and storage medium
US9596365B2 (en) Controlling apparatus for setting SSID in unset device
JP5158229B2 (en) Wireless communication apparatus, identifier output method and program
US20150365985A1 (en) Communication Apparatus
JP2015015518A (en) Computer program and terminal device
JP6316241B2 (en) Access point search apparatus, access point search method, and program
US9253362B2 (en) Information processing apparatus and non-transitory storage medium storing instructions executable by information processing apparatus
US10477041B2 (en) Non-transitory recording medium storing instructions for mobile terminal using NFC and mobile terminal using NFC
JP2018050353A (en) Printing apparatus, control method of the same, and program
JP2019220962A (en) Printing apparatus, control method of the same, and program
US11751258B2 (en) Control method for displaying a code image when transmission of information for establishing a connection fails, storage medium, and information processing apparatus
JP6561961B2 (en) Communication apparatus and image forming apparatus
JP6693173B2 (en) Computer program and terminal device
JP2022112729A (en) Information processing apparatus, method for controlling information processing apparatus, and program
JP2022087295A (en) Information processing device, control method, and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150710

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150710

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160219

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160518

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160607

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160801

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20160823

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161121

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20161201

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20170106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180327

R151 Written notification of patent or utility model registration

Ref document number: 6316241

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151