JP2012065208A - Radio communication device, information processing device, and program - Google Patents

Radio communication device, information processing device, and program Download PDF

Info

Publication number
JP2012065208A
JP2012065208A JP2010208626A JP2010208626A JP2012065208A JP 2012065208 A JP2012065208 A JP 2012065208A JP 2010208626 A JP2010208626 A JP 2010208626A JP 2010208626 A JP2010208626 A JP 2010208626A JP 2012065208 A JP2012065208 A JP 2012065208A
Authority
JP
Japan
Prior art keywords
received
notification signal
communication control
receiving
main body
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010208626A
Other languages
Japanese (ja)
Other versions
JP5549497B2 (en
Inventor
Masaru Kuroda
勝 黒田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2010208626A priority Critical patent/JP5549497B2/en
Publication of JP2012065208A publication Critical patent/JP2012065208A/en
Application granted granted Critical
Publication of JP5549497B2 publication Critical patent/JP5549497B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To prevent congestion of processing to be essentially done due to unnecessary processing resulting from a radio wave state in wireless connection work generated on upper layer side.SOLUTION: A wireless LAN device 210 installed on MFP 1000 includes an antenna 240 for receiving beacon transmitted from an AP 20 and a communication control circuit 214 that gains access to the AP 20 at a lower layer without receiving a request from a main part 230 operating at an upper layer when the beacon had been impossible to receive and further beacon has not been received until a first threshold time is reached after the impossible reception of the beacon.

Description

本発明は、無線通信装置、情報処理装置およびプログラムに関する。   The present invention relates to a wireless communication device, an information processing device, and a program.

画像形成装置などオフィスで使用される情報機器による文書の印刷やスキャンにおいて、ネットワークを使用する場合には、近年、無線LANが使用されてきている。無線LANは、IEEE802.11で規定されるアクセス方式に基づきPC(Personal Computer)やオフィス機器などに搭載されている。   In recent years, when a network is used for printing or scanning a document by an information device used in an office such as an image forming apparatus, a wireless LAN has been used. The wireless LAN is mounted on a PC (Personal Computer), an office device, or the like based on an access method defined by IEEE 802.11.

無線LAN装置は、ケーブルなどの設置が不要であるため、場所を選ばず、オフィス機器との接続や情報の印刷ができる利便性の良い通信機器である。その一方で、無線LANの特性の一つとして、無線電波を扱うことの弊害もある。   A wireless LAN device is a convenient communication device that can be connected to an office device and print information without selecting a location because a cable or the like is not required. On the other hand, as one of the characteristics of the wireless LAN, there is an adverse effect of handling radio waves.

例えば、オフィス内の空間では、無線LANの電波が無数に飛び回るだけでなく、電子レンジや、機械の輻射ノイズなどで無線電波が干渉してしまうため、通信が正常にできなくなることもある。   For example, in an office space, not only radio waves of a wireless LAN jump around innumerably, but also radio waves interfere with a microwave oven, mechanical radiation noise, etc., and communication may not be performed normally.

特許文献1には、このような環境の中で、無線LAN装置が安定して接続したり、通信したりするために、その環境の状態を監視しながら、接続状態に応じて、最良の条件で接続することを行う技術が開示されている。   In Patent Document 1, in order to stably connect and communicate with a wireless LAN device in such an environment, the best condition is determined according to the connection state while monitoring the state of the environment. A technique for performing connection with the network is disclosed.

また、特許文献2には、ローミングをアクセスポイント(AP)間の情報伝達が子機(STA:ステーション)の移動の実態と伴わない場合において、子機の移動に伴って、子機はAPのスキャンを行う手順が開示されている。   Further, in Patent Document 2, when information transmission between access points (APs) is not accompanied by the actual state of movement of a child device (STA: station), the child device is assigned to the AP by the movement of the child device. A procedure for performing a scan is disclosed.

一般的な無線LANデバイスは、OSI参照モデルにおける物理層からデータリンク層の下位レイヤであるMAC層までの制御を行う。一方、無線LANデバイスが搭載される画像形成装置や情報処理装置等の本体部は、サプリカントと呼ばれる暗号関連の設定、無線接続動作を行うが、このサプリカントの処理は、OSI参照モデルにおけるアプリケーション層で実行される。すなわち、無線LANの接続、切断のフレーム生成や送受信制御動作はMAC層で行うにもかかわらず、接続切断自体を決定するのは、上位層のアプリケーション層が行っている。   A general wireless LAN device performs control from the physical layer in the OSI reference model to the MAC layer, which is a lower layer of the data link layer. On the other hand, the image forming apparatus and information processing apparatus on which the wireless LAN device is mounted perform encryption-related settings called supplicants and wireless connection operations. This supplicant process is an application in the OSI reference model. Executed in layers. That is, although the wireless LAN connection / disconnection frame generation and transmission / reception control operations are performed in the MAC layer, the connection layer itself is determined by the upper application layer.

このような状況で、上述のような電波環境の悪い無線環境下での通信を行う場合に、接続切断動作をMAC層から上位層に頻繁に通知しながら行うことは、上位層からみると無線動作以外の処理に本来は処理を割り当てたいところを、割り当てられなくなり、例えば画像形成装置の本体部で画像処理等を行うことが困難になる場合がある。   In such a situation, when performing communication in a wireless environment where the radio wave environment is poor as described above, performing the disconnection operation frequently while notifying the upper layer from the MAC layer is a wireless problem from the upper layer. Where a process is originally assigned to a process other than the operation cannot be assigned, for example, it may be difficult to perform image processing or the like in the main body of the image forming apparatus.

例えば、無線LANデバイスは、APが発信するビーコン(報知信号)が電波環境の悪化で検出できなくなり、APを見失ったときには、電波環境不安定状態を示すOut−of−Range(OOR)を上位層である本体部に通知する。また、電波環境が良好な状態に復帰すると、無線LANデバイスは、正常接続環境状態を示すIn−Range(IR)を本体部に通知する。ここで、RangeとはAPが無線LAN端末から見えるところに存在する意である。OORの状態が継続する場合には、上位層の本体部側で切断判定を行い、判定結果を受けた下位のMAC層である無線LANデバイスが切断処理を行う。その後、無線LANデバイスはAPの探索を行い、新しいAPとの接続か、またはAPの探索の結果で該当する接続可能なAPが見つからない場合には切断状態を維持する。   For example, when a wireless LAN device cannot detect a beacon (notification signal) transmitted by an AP due to deterioration of the radio wave environment and loses sight of the AP, the upper layer displays an out-of-range (OOR) indicating a radio wave environment instability. To the main body. When the radio wave environment returns to a favorable state, the wireless LAN device notifies the main unit of In-Range (IR) indicating a normal connection environment state. Here, “Range” means that the AP exists where it can be seen from the wireless LAN terminal. When the OOR state continues, the disconnection determination is performed on the main body side of the upper layer, and the wireless LAN device that is the lower MAC layer that receives the determination result performs the disconnection process. Thereafter, the wireless LAN device searches for an AP, and maintains a disconnected state when a connection with a new AP or a corresponding connectable AP is not found as a result of the AP search.

すなわち、上位層が行う本来の必要なデータ通信とは別個に接続・切断に関する処理が上位層側にも発生してしまう結果、上位層側で本来行うべき処理を実行することが困難になる場合がある。   In other words, when connection / disconnection processing occurs on the upper layer side separately from the original necessary data communication performed by the upper layer, it is difficult to execute processing that should be originally performed on the upper layer side There is.

本発明は、上記に鑑みてなされたものであって、上位層側で発生する無線接続に関する処理を電波状況に起因する不要な処理で本来行うべき処理が停滞することを防止することができる無線通信装置、情報処理装置およびプログラムを提供することを目的とする。   The present invention has been made in view of the above, and it is possible to prevent the processing related to wireless connection that occurs on the upper layer side from being stagnant in processing that should be originally performed due to unnecessary processing caused by radio wave conditions. An object is to provide a communication device, an information processing device, and a program.

上述した課題を解決し、目的を達成するために、本発明にかかる無線通信装置は、情報処理装置に搭載される無線通信装置であって、親機装置から発信される報知信号を受信する受信手段と、前記報知信号を受信できなくなった場合に、前記報知信号を受信できなくなった時点から所定の第1閾値時間の間に、さらに前記報知信号を受信しなかった場合に、上位層で動作する前記情報処理装置の本体部からの要求を受けずに、下位層で親機装置に対するアクセスを行う通信制御手段と、を備えたことを特徴とする。   In order to solve the above-described problems and achieve the object, a wireless communication device according to the present invention is a wireless communication device mounted on an information processing device, and receives a notification signal transmitted from a parent device. And, when the notification signal cannot be received, operates in a higher layer when the notification signal is not received within a predetermined first threshold time from the time when the notification signal cannot be received. Communication control means for accessing the parent device at a lower layer without receiving a request from the main body of the information processing device.

また、本発明にかかる情報処理装置は、上位層で動作する本体部と、無線通信装置とを備えた情報処理装置であって、前記無線通信装置は、親機装置から発信される報知信号を受信する受信手段と、前記報知信号を受信できなくなった場合に、前記報知信号を受信できなくなった時点から所定の第1閾値時間の間に、さらに前記報知信号を受信しなかった場合に、前記本体部からの要求を受けずに、下位層で親機装置に対するアクセスを行う通信制御手段と、を備えたことを特徴とする。   An information processing apparatus according to the present invention is an information processing apparatus including a main body that operates in an upper layer and a wireless communication device, and the wireless communication device transmits a notification signal transmitted from a parent device. A receiving means for receiving, and when the notification signal cannot be received, and when the notification signal is not further received during a predetermined first threshold time from the time when the notification signal cannot be received, And a communication control means for accessing the parent device at a lower layer without receiving a request from the main body.

また、本発明にかかるプログラムは、親機装置から発信される報知信号を受信する受信ステップと、前記報知信号を受信できなくなった場合に、前記報知信号を受信できなくなった時点から所定の第1閾値時間の間に、さらに前記報知信号を受信しなかった場合に、上位層で動作する本体部からの要求を受けずに、下位層で親機装置に対するアクセスを行う通信制御ステップと、をコンピュータに実行させる。   In addition, the program according to the present invention includes a reception step of receiving a notification signal transmitted from a parent device, and a predetermined first time from when the notification signal cannot be received when the notification signal cannot be received. A communication control step for accessing the master device in the lower layer without receiving a request from the main body operating in the upper layer when the notification signal is not further received during the threshold time. To run.

本発明によれば、上位層側で発生する無線接続に関する処理を電波状況に起因する不要な処理で本来行うべき処理が停滞することを防止することができるという効果を奏する。   According to the present invention, there is an effect that it is possible to prevent a process that should be originally performed due to an unnecessary process caused by a radio wave condition from being delayed in a process related to wireless connection that occurs on the upper layer side.

図1は、実施の形態1にかかる無線通信システムの構成図である。FIG. 1 is a configuration diagram of a radio communication system according to the first embodiment. 図2は、実施の形態1のMFP1000の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of MFP 1000 according to the first embodiment. 図3は、接続確立処理の手順を示すフローチャートである。FIG. 3 is a flowchart showing the procedure of the connection establishment process. 図4は、Probe Requestフレームのデータ構造の一例を示す図である。FIG. 4 is a diagram illustrating an example of a data structure of a Probe Request frame. 図5は、Probe Responseフレームのデータ構造の一例を示す図である。FIG. 5 is a diagram illustrating an example of the data structure of the Probe Response frame. 図6は、Association Requestフレームのデータ構造の一例を示す図である。FIG. 6 is a diagram illustrating an example of the data structure of the Association Request frame. 図7は、Association Responseフレームのデータ構造の一例を示す図である。FIG. 7 is a diagram illustrating an example of the data structure of the Association Response frame. 図8は、実施の形態1の通信処理のシーケンス図である。FIG. 8 is a sequence diagram of communication processing according to the first embodiment. 図9は、実施の形態1の無線LANデバイス210による通信処理の手順を示すフローチャートである。FIG. 9 is a flowchart illustrating a communication processing procedure performed by the wireless LAN device 210 according to the first embodiment. 図10は、ローミング処理を説明するための模式図である。FIG. 10 is a schematic diagram for explaining the roaming process. 図11は、従来の無線通信装置とAP20との通信処理のシーケンス図である。FIG. 11 is a sequence diagram of communication processing between the conventional wireless communication apparatus and the AP 20. 図12は、実施の形態2の通信処理のシーケンス図である。FIG. 12 is a sequence diagram of communication processing according to the second embodiment. 図13は、実施の形態2の無線LANデバイス210による通信処理の手順を示すフローチャートである。FIG. 13 is a flowchart illustrating a communication processing procedure performed by the wireless LAN device 210 according to the second embodiment. 図14は、実施の形態3の通信処理のシーケンス図である。FIG. 14 is a sequence diagram of communication processing according to the third embodiment. 図15は、実施の形態3の無線LANデバイス210による通信処理の手順を示すフローチャートである。FIG. 15 is a flowchart illustrating a communication processing procedure performed by the wireless LAN device 210 according to the third embodiment.

以下に添付図面を参照して、この発明にかかる無線通信装置、情報処理装置およびプログラムの実施の形態を詳細に説明する。以下に示す実施の形態では、無線通信装置を無線LANデバイスに適用した例、情報処理装置を、無線LANデバイスを装着し、かつコピー機能、プリンタ機能、スキャナ機能、およびファクシミリ機能等を有する複合機(MFP:Multi Function Peripherals)等の画像形成装置に適用した例を示すが、これらに限定されるものではない。例えば、無線通信装置を、無線LAN以外の無線通信装置に適用したり、情報処理装置を、無線LANデバイスを装着したPC(Personal Computer)や携帯情報端末に適用することもできる。   Exemplary embodiments of a wireless communication device, an information processing device, and a program according to the present invention will be described below in detail with reference to the accompanying drawings. In the embodiment described below, an example in which a wireless communication device is applied to a wireless LAN device, an information processing device, a multifunction device having a wireless LAN device and having a copy function, a printer function, a scanner function, a facsimile function, and the like An example applied to an image forming apparatus such as (MFP: Multi Function Peripherals) is shown, but the present invention is not limited to these. For example, the wireless communication device can be applied to a wireless communication device other than the wireless LAN, and the information processing device can be applied to a PC (Personal Computer) or a portable information terminal equipped with a wireless LAN device.

(実施の形態1)
図1は、実施の形態1にかかる無線通信システムの構成図である。図1に示すように、通信システムは、無線LANデバイスを搭載した複合機(以下、「MFP」という。)1000と、親機装置としてのAP(アクセスポイント)20a、20bとで主に構成されている。
(Embodiment 1)
FIG. 1 is a configuration diagram of a radio communication system according to the first embodiment. As shown in FIG. 1, the communication system is mainly composed of a multifunction peripheral (hereinafter referred to as “MFP”) 1000 equipped with a wireless LAN device, and APs (access points) 20a and 20b as parent devices. ing.

MFP1000は、無線LANデバイス210(図2参照)を搭載する。本実施の形態では、無線LANデバイス10は、STA(子機)として機能することが可能な通信デバイスである。また、STAは例えばIEEE802.11に準拠した端末局である。AP20a、20b(以下、特に指定する場合を除き、AP20と総称する。)は、無線通信を中継する中継装置である。図1の例では、MFP1000は、AP20aの通信範囲31内に存在するので、AP20aと接続する。   The MFP 1000 is equipped with a wireless LAN device 210 (see FIG. 2). In the present embodiment, the wireless LAN device 10 is a communication device that can function as an STA (child device). The STA is a terminal station compliant with, for example, IEEE 802.11. APs 20a and 20b (hereinafter collectively referred to as AP 20 unless otherwise specified) are relay apparatuses that relay wireless communication. In the example of FIG. 1, since the MFP 1000 exists within the communication range 31 of the AP 20a, the MFP 1000 is connected to the AP 20a.

AP20は、例えばIEEE802.11に準拠した無線LAN基地局である。図1に示すように、AP20aは、通信範囲31を、AP20bは通信範囲32を電波の届く範囲とする。なお、図1では、AP20aと、AP20bの2つの中継装置を図示しているが、中継装置の数はこれに限定されない。   The AP 20 is a wireless LAN base station compliant with, for example, IEEE 802.11. As shown in FIG. 1, the AP 20a sets the communication range 31 and the AP 20b sets the communication range 32 to reach the radio waves. In FIG. 1, two relay apparatuses, AP 20a and AP 20b, are illustrated, but the number of relay apparatuses is not limited to this.

MFP1000は、AP20との接続のために必要なAP20に関する情報(以下、「AP情報」という。)が含まれる信号を受信して、受信した信号からAP情報を取得する。AP情報を受信する方法としては、アクティブスキャンと、パッシブスキャンがある。   The MFP 1000 receives a signal including information related to the AP 20 necessary for connection with the AP 20 (hereinafter referred to as “AP information”), and acquires the AP information from the received signal. As a method of receiving AP information, there are an active scan and a passive scan.

アクティブスキャンは、MFP1000がProbeRequestフレームを送出し、これに応答してAP20によって返信されたProbeResponseフレームから、AP情報を取得する方法である。一方、パッシブスキャンは、MFP1000がProbeRequestフレームを送出することなく、AP20により一定間隔で送出される報知信号としてのパケットであるビーコン(Beacon)フレームを受信して、ビーコンフレーム(以下、「ビーコン」という。)に含まれるAP情報を取得する方法である。本実施の形態では、パッシブスキャンによりAP情報を取得する例をあげて説明する。   The active scan is a method in which the MFP 1000 transmits a Probe Request frame, and acquires AP information from the Probe Response frame returned by the AP 20 in response. On the other hand, in the passive scan, the MFP 1000 receives a beacon frame, which is a packet as a notification signal transmitted at a fixed interval by the AP 20 without transmitting a ProbeRequest frame, and receives a beacon frame (hereinafter referred to as a “beacon”). This is a method for acquiring AP information included in. In the present embodiment, an example in which AP information is acquired by passive scanning will be described.

図2は、実施の形態1のMFP1000の構成を示すブロック図である。本実施の形態のMFP1000は、図1に示すように、本体部230に無線LANデバイス210が接続された構成となっている。   FIG. 2 is a block diagram showing a configuration of MFP 1000 according to the first embodiment. As shown in FIG. 1, MFP 1000 according to the present embodiment has a configuration in which wireless LAN device 210 is connected to main unit 230.

まず、無線LANデバイス210について説明する。無線LANデバイス210は、図2に示すように、アンテナ(ANT)240と、CPU211と、メモリ212と、I/F部213,215と、通信制御回路214とを主に備えている。   First, the wireless LAN device 210 will be described. As shown in FIG. 2, the wireless LAN device 210 mainly includes an antenna (ANT) 240, a CPU 211, a memory 212, I / F units 213 and 215, and a communication control circuit 214.

アンテナ240は、AP20等の外部装置との間で無線通信を行うための電波を送受信する。I/F部213はアンテナ240とのインタフェースであり、OSI参照モデルにおける物理層の制御を行う。   The antenna 240 transmits and receives radio waves for performing wireless communication with an external device such as the AP 20. The I / F unit 213 is an interface with the antenna 240 and controls the physical layer in the OSI reference model.

通信制御回路214は、OSI参照モデルにおけるMAC層(データリンク層の下位レイヤ)の制御として、無線LANの接続、切断のフレーム生成や送受信制の処理を行う。   The communication control circuit 214 performs wireless LAN connection / disconnection frame generation and transmission / reception control processing as control of the MAC layer (lower layer of the data link layer) in the OSI reference model.

本実施の形態では、通信制御回路214は、AP20からのビーコンを受信できなくなった場合に、ビーコンを受信できなくなった時点から所定の第1閾値時間の間にビーコンを受信しなかった場合に、アプリケーション層で動作する本体部230からの要求を受けずに、AP20に対するアクセス、すなわち、ローミング(他のAP20の探索および接続)や切断の処理を行う。   In the present embodiment, when the communication control circuit 214 becomes unable to receive a beacon from the AP 20, when the beacon is not received during a predetermined first threshold time from when the beacon cannot be received, Without receiving a request from the main unit 230 operating in the application layer, access to the AP 20, that is, roaming (search and connection of another AP 20) and disconnection processing are performed.

メモリ212は、作業データ等の格納に用いられ、CPU211は、通信プログラムを実行する。I/F部215は、本体部230とのインタフェースである。   The memory 212 is used for storing work data and the like, and the CPU 211 executes a communication program. The I / F unit 215 is an interface with the main body unit 230.

次に、本体部230について説明する。本体部230は、図2に示すように、I/F部233と、CPU231と、メモリ232とを主に備えている。   Next, the main body 230 will be described. As shown in FIG. 2, the main body unit 230 mainly includes an I / F unit 233, a CPU 231, and a memory 232.

I/F部233は、無線LANデバイス210とのインタフェースである。メモリ231は、各種プログラムを保存する。CPU231は、メモリ232に格納されている各種プログラムを実行し、サプリカントと呼ばれる暗号関連の設定、無線接続処理を行う。すなわち、CPU231は、OSI参照モデルにおけるアプリケーション層の処理を実行する。   The I / F unit 233 is an interface with the wireless LAN device 210. The memory 231 stores various programs. The CPU 231 executes various programs stored in the memory 232, and performs encryption-related settings called supplicant and wireless connection processing. That is, the CPU 231 executes processing of the application layer in the OSI reference model.

次に、以上のように構成された本実施の形態の通信処理について説明する。まず、MFP1000とAP20の接続確立処理について説明する。ここで、接続確立処理とは、MFP1000が接続情報を取得し、取得した接続情報によりAP20との接続を確立する処理である。図3は、接続確立処理の手順を示すフローチャートである。   Next, communication processing according to the present embodiment configured as described above will be described. First, connection establishment processing between the MFP 1000 and the AP 20 will be described. Here, the connection establishment process is a process in which the MFP 1000 acquires connection information and establishes a connection with the AP 20 based on the acquired connection information. FIG. 3 is a flowchart showing the procedure of the connection establishment process.

MFP1000は、AP20にProbe Requestフレームを送信する(ステップS11)。ここで、Probe Requestフレームとは、接続可能なAP20に対して応答を要求する要求メッセージのことである。   The MFP 1000 transmits a Probe Request frame to the AP 20 (step S11). Here, the Probe Request frame is a request message for requesting a response to the connectable AP 20.

図4は、Probe Requestフレームのデータ構造の一例を示す図である。図4に示すように、Probe Requestフレームは、IEEE802.11に準拠し、MACアドレス(Media Access Control address)(Src.AddressおよびDes.Address)、BSSID、およびSSIDなどを含んでいる。MACアドレスは、デバイスごとに一意に決まるアドレスであり、AP20を識別する識別情報の一つとして使用可能である。Src.Addressには、IEEE802.11規格に準拠し、Broadcastフレームとして送信することを表す“FF:FF:FF:FF:FF:FF”が設定される。なお、後述するように、Des.AddressにAP20のMACアドレスを設定するように構成してもよい。   FIG. 4 is a diagram illustrating an example of a data structure of a Probe Request frame. As shown in FIG. 4, the Probe Request frame conforms to IEEE 802.11, and includes a MAC address (Media Access Control address) (Src.Address and Des.Address), BSSID, SSID, and the like. The MAC address is an address uniquely determined for each device, and can be used as one piece of identification information for identifying the AP 20. Src. In the address, “FF: FF: FF: FF: FF: FF”, which indicates that the frame is transmitted as a broadcast frame, is set according to the IEEE 802.11 standard. As will be described later, Des. You may comprise so that the MAC address of AP20 may be set to Address.

なお、Probe RequestフレームにSSIDを指定し、BSSIDを指定しない場合は、SSIDが一致するAP20からProbe Responseフレームが返される。また、Probe RequestフレームにSSIDおよびBSSIDを共に指定した場合は、SSIDおよびBSSIDが一致するAP20からProbe Responseフレームが返される。ここで、Probe Responseフレームとは、Probe Requestに対する応答メッセージのことである。   If the SSID is specified in the Probe Request frame and the BSSID is not specified, a Probe Response frame is returned from the AP 20 having the same SSID. If both the SSID and BSSID are specified in the Probe Request frame, a Probe Response frame is returned from the AP 20 having the same SSID and BSSID. Here, the Probe Response frame is a response message to the Probe Request.

図3に戻り、AP20は、Probe Requestを受信し、MFP1000にProbe Responseフレームを返信する(ステップS12)。ここで、MFP1000は、Probe Responseフレームから接続に必要な情報を抽出し、接続パラメータを決定する。   Returning to FIG. 3, the AP 20 receives the probe request and returns a probe response frame to the MFP 1000 (step S <b> 12). Here, the MFP 1000 extracts information necessary for connection from the Probe Response frame, and determines connection parameters.

図5は、Probe Responseフレームのデータ構造の一例を示す図である。図5に示すように、Probe Responseフレームは、IEEE802.11に準拠し、MACアドレス(Src.AddressおよびDes.Address)、BSSID、およびSSIDなどを含んでいる。Src.Addressには、AP20のMACアドレスが設定される。Des.Addressには、MFP1000のMACアドレスが設定される。なお、Probe Responseフレームは、この他に、使用可能なチャンネル、接続プロトコル、国情報などのAP20に関する多数の情報が含まれる。   FIG. 5 is a diagram illustrating an example of the data structure of the Probe Response frame. As shown in FIG. 5, the Probe Response frame conforms to IEEE 802.11, and includes a MAC address (Src.Address and Des.Address), a BSSID, an SSID, and the like. Src. In the Address, the MAC address of the AP 20 is set. Des. In the address, the MAC address of the MFP 1000 is set. In addition, the Probe Response frame includes a lot of information related to the AP 20 such as a usable channel, a connection protocol, and country information.

図3に戻り、MFP1000およびAP20は、Authenticationを相互に送受信する(ステップS13、ステップS14)。ここで、Authenticationとは、相互認証のためのメッセージのことである。認証された場合、MFP1000は、Probe Responseフレームに含まれるSSIDを使用して、AP20との接続確立を試みる。具体的には、MFP1000は、SSIDを含むAssociation RequestをAP20に送信する(ステップS15)。   Returning to FIG. 3, the MFP 1000 and the AP 20 transmit and receive the authentication to each other (steps S13 and S14). Here, the Authentication is a message for mutual authentication. If authenticated, the MFP 1000 attempts to establish a connection with the AP 20 using the SSID included in the Probe Response frame. Specifically, the MFP 1000 transmits an association request including the SSID to the AP 20 (step S15).

図6は、Association Requestフレームのデータ構造の一例を示す図である。図6に示すように、Association Requestフレームは、図4および図5と同様に、IEEE802.11に準拠し、MACアドレス(Src.AddressおよびDes.Address)、BSSID、およびSSIDなどを含んでいる。また、Association Requestフレームは、Listen Intervalとして、認証要求した回数も含む。   FIG. 6 is a diagram illustrating an example of the data structure of the Association Request frame. As shown in FIG. 6, the Association Request frame is compliant with IEEE 802.11, and includes MAC addresses (Src.Address and Des.Address), BSSID, SSID, and the like, as in FIGS. The Association Request frame also includes the number of times authentication is requested as Listen Interval.

図3に戻り、AP20は、受信したAssociation Requestによって接続可能な場合、AP20は、MFP1000にAssociation Responseで接続の成功を示すSuccessを返信する(ステップS16)。   Returning to FIG. 3, when the AP 20 can be connected by the received Association Request, the AP 20 returns a success indicating the connection success by the Association Response to the MFP 1000 (Step S <b> 16).

図7は、Association Responseフレームのデータ構造の一例を示す図である。図7に示すように、Association Responseフレームは、図4と同様に、IEEE802.11に準拠し、MACアドレス(Src.AddressおよびDes.Address)、BSSID、およびSSIDなどを含んでいる。   FIG. 7 is a diagram illustrating an example of the data structure of the Association Response frame. As shown in FIG. 7, the Association Response frame conforms to IEEE 802.11 and includes MAC addresses (Src.Address and Des.Address), BSSID, SSID, and the like, as in FIG.

これにより、MFP1000とAP20との接続が確立し、データ通信が可能となる。なお、データ通信の暗号化が必要な場合は、この後に暗号認証のためのメッセージ送受信が行われる場合もある。また、この後、接続を維持するためのローミングが行われる。ローミングとは、同じSSIDを持つ別のAP20と再接続を確立することである。そこで、MFP1000は、AP20との切断処理を行った後、ステップS11からステップS16の一連の処理により別のAP20と接続を確立することができる。   Thereby, the connection between the MFP 1000 and the AP 20 is established, and data communication is possible. When data communication encryption is necessary, message transmission / reception for encryption authentication may be performed after this. Thereafter, roaming for maintaining the connection is performed. Roaming is establishing a reconnection with another AP 20 having the same SSID. Therefore, after performing the disconnection process with the AP 20, the MFP 1000 can establish a connection with another AP 20 by a series of processes from step S11 to step S16.

次に、本実施の形態のMFP1000とAP20との間の通信処理について説明する。図8は、実施の形態1の通信処理のシーケンス図である。図9は、実施の形態1の無線LANデバイス210による通信処理の手順を示すフローチャートである。図8,9では、MFP1000がAP20aの通信範囲内に位置しAP20aと通信する場合を例にあげて説明する。   Next, communication processing between MFP 1000 and AP 20 of the present embodiment will be described. FIG. 8 is a sequence diagram of communication processing according to the first embodiment. FIG. 9 is a flowchart illustrating a communication processing procedure performed by the wireless LAN device 210 according to the first embodiment. 8 and 9, a case where the MFP 1000 is located within the communication range of the AP 20a and communicates with the AP 20a will be described as an example.

まず、MFP1000の本体部230から無線LANデバイス210に対してAP20との接続要求が送出される(ステップS21)。接続要求を受け取った無線LANデバイス210は、I/F部213,通信制御回路214は、AP20との接続確立処理を行う(ステップS22〜S27,S51)。   First, a connection request with the AP 20 is sent from the main body 230 of the MFP 1000 to the wireless LAN device 210 (step S21). The wireless LAN device 210 that has received the connection request performs the connection establishment process with the AP 20 by the I / F unit 213 and the communication control circuit 214 (steps S22 to S27, S51).

そして、通信制御回路214は、接続確立が成功したか否かを判断し(ステップS52)、失敗した場合には(ステップS52:No)、処理を終了する。一方、接続確立に成功した場合には(ステップS52:Yes)、通信制御回路214は、サプリカントである本体部230に接続確立が成功した旨の接続応答を送出する(ステップS28)。図8の例では、AP20aとの接続確立が成功している。   Then, the communication control circuit 214 determines whether or not the connection establishment has succeeded (step S52), and if it has failed (step S52: No), the process is terminated. On the other hand, if the connection has been successfully established (step S52: Yes), the communication control circuit 214 sends a connection response indicating that the connection has been successfully established to the main body 230, which is a supplicant (step S28). In the example of FIG. 8, the connection establishment with the AP 20a is successful.

次に、通信制御回路214は、接続状態を確認し(ステップS53)、AP20aからおビーコンを検出したか否かを判断する(ステップS54)。ビーコンを検出した場合には(ステップS29、S54:Yes)、ステップS53,S54の処理を繰り返す。   Next, the communication control circuit 214 confirms the connection state (step S53), and determines whether or not a beacon is detected from the AP 20a (step S54). When a beacon is detected (steps S29 and S54: Yes), the processes of steps S53 and S54 are repeated.

一方、ビーコンを検出できない場合には(ステップS54:No、S30)、ビーコンを検出できなくなった時点からの経過時間が第1閾値時間を超えたか否かを判断する(ステップS55)。ここで、AP20aからのビーコンが検出できない原因としては、AP20の電波環境の劣化や無線LANデバイスを搭載したMFP1000自身が移動することでAP20の通信範囲外になったこと、あるいは、AP20が何らかの理由で電源遮断された場合等が考えられる。   On the other hand, when the beacon cannot be detected (step S54: No, S30), it is determined whether or not the elapsed time from the time when the beacon can no longer be detected exceeds the first threshold time (step S55). Here, the reason why the beacon from the AP 20a cannot be detected is that the radio wave environment of the AP 20 has deteriorated, the MFP 1000 itself equipped with the wireless LAN device has moved out of the communication range of the AP 20, or the AP 20 has some reason. A case where the power is shut off at the time is considered.

そして、経過時間が第1閾値時間内の間は(ステップS55:No)、接続状態の確認(ステップS53)、ビーコン検出の有無の判断(ステップS54)を繰り返すことにより、第1閾値時間待機する(ステップS31)。単に電波環境が少し劣化した場合であれば、短時間内にAP20aからのビーコンを検出することができるからである。   Then, while the elapsed time is within the first threshold time (step S55: No), the first threshold time is waited by repeating the confirmation of the connection state (step S53) and the determination of the presence or absence of beacon detection (step S54). (Step S31). This is because a beacon from the AP 20a can be detected within a short time if the radio wave environment is slightly degraded.

そして、第1閾値時間経過してもビーコンを検出できなかった場合には(ステップS54:No、S55:Yes)、本体部230への通知は行わず、かつ本体部230からの要求を受けずに、通信制御回路214は、ローミング処理(新たなAP20の探索および再接続)またはAP20aに対する切断処理を実行する(ステップS56、S32、S33)。   If the beacon cannot be detected even after the first threshold time has elapsed (step S54: No, S55: Yes), the main body 230 is not notified and the request from the main body 230 is not received. In addition, the communication control circuit 214 executes roaming processing (search and reconnection of a new AP 20) or disconnection processing for the AP 20a (steps S56, S32, and S33).

また、通信制御回路214が切断処理を行った場合には、上位層である本体部230に切断通知を行う(ステップS34)。通知を受けた本体部230は、切断の旨をメッセージ表示等で報知することにより、無線LANデバイス210が行った切断を利用者が認識することが可能となる。   When the communication control circuit 214 performs a disconnection process, a disconnection notification is sent to the main body 230, which is the upper layer (step S34). Receiving the notification, the main body 230 notifies the disconnection by displaying a message or the like, so that the user can recognize the disconnection performed by the wireless LAN device 210.

ここで、本実施の形態の通信制御回路214は、新たなAP20bに再接続する場合には、SSID(Service Set Identifier)が同一のSSIDを有するAP20を探索し再接続する。言い換えると、SSIDが異なるAP20の探索および再接続は、上位層であるアプリケーション層の本体部230側からの設定なしに行うことができない。このため、MAC層である通信制御回路214は、ローミング処理においてAP20aのSSIDと同一のSSIDを有するAP20bを探索し再接続する。これにより、通信制御回路214は、MAC層においては、SSIDが同一であるAP20の場合には、一つのAP20aを見失っても、同一のSSIDを有する他のAP20bに再接続をすることができるのである。   Here, when reconnecting to a new AP 20b, the communication control circuit 214 according to the present embodiment searches for an AP 20 having the same SSID (Service Set Identifier) and reconnects it. In other words, the search and reconnection of the AP 20 having a different SSID cannot be performed without setting from the main body 230 side of the application layer, which is an upper layer. For this reason, the communication control circuit 214 which is the MAC layer searches for and reconnects the AP 20b having the same SSID as the SSID of the AP 20a in the roaming process. Thereby, in the MAC layer, in the case of the AP 20 having the same SSID, the communication control circuit 214 can reconnect to another AP 20b having the same SSID even if the AP 20a is lost. is there.

図10は、ローミング処理を説明するための模式図である。AP20aとAP20bは、それぞれの配下で無線LANデバイス210を搭載したMFP1000等の端末の情報を有線ネットワークを介して共有している。このため、例えば、図10に示すように、MFP1000の通信制御回路214,I/F部213は、同一のSSIDを有するAP20が複数ある場合には、電波環境の良好なAP20bでローミングを行う。   FIG. 10 is a schematic diagram for explaining the roaming process. The AP 20a and AP 20b share information of terminals such as the MFP 1000 equipped with the wireless LAN device 210 via their wired networks. Therefore, for example, as shown in FIG. 10, when there are a plurality of APs 20 having the same SSID, the communication control circuit 214 and the I / F unit 213 of the MFP 1000 perform roaming with the AP 20b having a good radio wave environment.

このように本実施の形態では、無線LANデバイス210がAP20のビーコンを検出できなくなった場合に、上位層(アプリケーション層)である本体部に、電波環境不安定状態を示すOut−of−Range(OOR)を通知せず、また本体部230からの要求を受けずに、ローミングまたは切断処理を行う。図11は、従来の無線通信装置とAP20との通信処理のシーケンス図である。従来は、図11に示すように、無線LANデバイスがAP20からのビーコンを検出できなくなった場合に(ステップS70)、OORを上位層の本体部230に送信し(ステップS71)、本体部側でローミングを行うか否か、切断処理を行うか否かの判断を行う(ステップS72)。そして、上位層の本体部側の判断結果によって、無線LANデバイスに対して接続要求(ステップS73)や切断要求(ステップS75)を送出し、無線LANデバイスはこれらの指令を受けてから、ローミングや切断を行う(ステップS74,S76)。   As described above, in the present embodiment, when the wireless LAN device 210 can no longer detect the beacon of the AP 20, the main unit that is the upper layer (application layer) has an Out-of-Range (indicating an unstable radio wave environment). OOR) is not notified, and roaming or disconnection processing is performed without receiving a request from the main body 230. FIG. 11 is a sequence diagram of communication processing between the conventional wireless communication apparatus and the AP 20. Conventionally, as shown in FIG. 11, when the wireless LAN device can no longer detect the beacon from the AP 20 (step S70), the OOR is transmitted to the main unit 230 of the upper layer (step S71). It is determined whether to perform roaming and whether to perform a cutting process (step S72). Then, depending on the determination result of the upper layer main unit, a connection request (step S73) and a disconnection request (step S75) are sent to the wireless LAN device. Cutting is performed (steps S74 and S76).

このため、従来の無線通信装置では、上位層が行う本来の必要なデータ通信とは別個に接続・切断に関する処理が上位層側にも発生してしまうため、上位層側で本来行うべき処理を実行することが困難になる。   For this reason, in a conventional wireless communication device, processing related to connection / disconnection also occurs on the upper layer side separately from the original necessary data communication performed by the upper layer. It becomes difficult to execute.

これに対して本実施の形態では、上述したとおり、無線LANデバイス210がAP20のビーコンを検出できなくなった場合に、上位層である本体部にOORを通知せず、本体部230からの要求を受けずに、無線LANデバイス自身がローミングまたは切断処理を行っている。このため、本実施の形態によれば、上位層側の本体部230で発生する無線接続に関する処理を電波状況に起因する不要な処理で、本体部230のCPU231の負荷が増大することを回避でき、この結果、画像処理やデータ通信処理等の本来行うべき処理が停滞することを防止することができる。   On the other hand, in the present embodiment, as described above, when the wireless LAN device 210 can no longer detect the beacon of the AP 20, it does not notify the upper layer main body unit of the OOR and sends a request from the main body unit 230. The wireless LAN device itself is performing roaming or disconnection processing without receiving it. For this reason, according to the present embodiment, it is possible to avoid an increase in the load on the CPU 231 of the main body unit 230 due to unnecessary processing caused by radio wave conditions for processing related to the wireless connection generated in the main body unit 230 on the upper layer side. As a result, it is possible to prevent stagnation of processing that should be originally performed, such as image processing and data communication processing.

(実施の形態2)
実施の形態1では、AP20の検出をビーコンのみで行っていたが、この実施の形態2では、ビーコンの受信の他、さらにデータフレームの受信の有無によってAP20の検出を行っている。
(Embodiment 2)
In the first embodiment, the AP 20 is detected only by the beacon. However, in the second embodiment, the AP 20 is detected based on whether or not a data frame is received in addition to the reception of the beacon.

本実施の形態の無線通信システムの構成およびMFP1000の構成は、図1、2を用いて説明した実施の形態1と同様である。   The configuration of the wireless communication system of this embodiment and the configuration of MFP 1000 are the same as those of Embodiment 1 described with reference to FIGS.

図12は、実施の形態2の通信処理のシーケンス図である。図13は、実施の形態2の無線LANデバイス210による通信処理の手順を示すフローチャートである。   FIG. 12 is a sequence diagram of communication processing according to the second embodiment. FIG. 13 is a flowchart illustrating a communication processing procedure performed by the wireless LAN device 210 according to the second embodiment.

MFP1000の本体部230から無線LANデバイス210に対するAP20との接続要求から、無線LANデバイス210による接続確立、接続応答の送出、接続状態確認、ビーコン検出の判断までの処理(ステップS91〜S99、S121〜S124)は、実施の形態1の処理(ステップS21〜S29、S51〜S54)と同様に行われる。   Processing from the connection request from the main body 230 of the MFP 1000 to the AP 20 to the wireless LAN device 210 to connection establishment by the wireless LAN device 210, connection response transmission, connection status confirmation, and beacon detection determination (steps S91 to S99, S121 to S124) is performed in the same manner as the processing of the first embodiment (steps S21 to S29, S51 to S54).

次に、ステップS124において、AP20aからのビーコンを検出できなかった場合には(ステップS124:No、S100)、通信制御回路214は、さらに、AP20aからのデータ受信があったか否かを判断する(ステップS125)。そして、データ受信があった場合には(ステップS125:Yes、S101)、通信制御回路124は、ACKパケットをAP20aに対して送信する(ステップS102)。   Next, when a beacon from the AP 20a cannot be detected in step S124 (step S124: No, S100), the communication control circuit 214 further determines whether data has been received from the AP 20a (step S124). S125). If data is received (step S125: Yes, S101), the communication control circuit 124 transmits an ACK packet to the AP 20a (step S102).

一方、AP20aからデータを受信できなかった場合には(ステップS125:No)、データを受信できなくなった時点からの経過時間が第1閾値時間を超えたか否かを判断する(ステップS126)。   On the other hand, when the data cannot be received from the AP 20a (step S125: No), it is determined whether or not the elapsed time from the time when the data cannot be received exceeds the first threshold time (step S126).

そして、単に電波環境が少し劣化した場合であれば、短時間内にAP20aからのビーコンの検出、またはデータの受信が可能なため、経過時間が第1閾値時間内の間は(ステップS126:No)、接続状態の確認(ステップS123)、ビーコン検出の有無の判断(ステップS124)、データ受信の有無の判断(ステップS125)を繰り返すことにより、第1閾値時間待機する(ステップS105)。   Then, if the radio wave environment is slightly deteriorated, the beacon can be detected from the AP 20a or the data can be received within a short time, so that the elapsed time is within the first threshold time (step S126: No). ), Confirmation of connection state (step S123), determination of presence / absence of beacon detection (step S124), determination of presence / absence of data reception (step S125), and standby for a first threshold time (step S105).

そして、第1閾値時間経過しても、ビーコンを検出できず(ステップS124:No、S103、S126:Yes)、またデータを受信できなかった場合には(ステップS125:No、S104、S126:Yes)、本体部230への通知は行わず、かつ本体部230からの要求を受けずに、通信制御回路214は、ローミング処理またはAP20aに対する切断処理を実行する(ステップS127、S106、S107)。ここで、通信制御回路214によるローミング処理については、実施の形態1と同様に行われる。   And even if 1st threshold time passes, a beacon cannot be detected (step S124: No, S103, S126: Yes), and when data cannot be received (step S125: No, S104, S126: Yes). The communication control circuit 214 performs the roaming process or the disconnection process for the AP 20a without performing the notification to the main body part 230 and receiving the request from the main body part 230 (steps S127, S106, S107). Here, the roaming process by the communication control circuit 214 is performed in the same manner as in the first embodiment.

また、通信制御回路214が切断処理を行った場合には、上位層である本体部230に切断通知を行う(ステップS108)。   When the communication control circuit 214 performs a disconnection process, a disconnection notification is sent to the main body 230, which is an upper layer (step S108).

このように本実施の形態では、無線LANデバイス210がAP20のビーコンを検出できなくなり、かつAP20からのデータを受信できなくなった場合に、上位層である本体部にOORを通知せず、本体部230からの要求を受けずに、無線LANデバイス自身がローミングまたは切断処理を行っている。このため、本実施の形態によれば、上位層側の本体部230で発生する無線接続に関する処理を電波状況に起因する不要な処理で、本体部230のCPU231の負荷が増大することを回避でき、この結果、画像処理やデータ通信処理等の本来行うべき処理が停滞することを防止することができる。   As described above, in the present embodiment, when the wireless LAN device 210 cannot detect the beacon of the AP 20 and cannot receive data from the AP 20, the main body unit is not notified of the OOR to the main body unit that is the upper layer. The wireless LAN device itself performs roaming or disconnection processing without receiving a request from 230. For this reason, according to the present embodiment, it is possible to avoid an increase in the load on the CPU 231 of the main body unit 230 due to unnecessary processing caused by radio wave conditions for processing related to the wireless connection generated in the main body unit 230 on the upper layer side. As a result, it is possible to prevent stagnation of processing that should be originally performed, such as image processing and data communication processing.

また、本実施の形態では、ビーコンの受信の他、データ受信の有無によってAP20の検出を行っているので、AP20の非検出の精度を向上させることができる。   Moreover, in this Embodiment, since AP20 is detected by the presence or absence of data reception other than reception of a beacon, the accuracy of non-detection of AP20 can be improved.

(実施の形態3)
実施の形態3では、無線LANデバイス210は、AP20からのビーコンが検出できなくなり、検出できなくなった時点から第1閾値時間の間にビーコンを検知できなかった場合に、アプリケーション層である本体部230に対してOORを通知し、通知時点から所定の第2閾値時間の間にもビーコンを検知できなかった場合に、本体部230からの要求を受けずに、無線LANデバイス210がローミングや切断処理を行う。
(Embodiment 3)
In the third embodiment, the wireless LAN device 210 cannot detect the beacon from the AP 20, and when the beacon cannot be detected during the first threshold time from when the wireless LAN device 210 cannot detect the beacon, the main body unit 230 that is the application layer When the beacon is not detected within a predetermined second threshold time from the notification time point, the wireless LAN device 210 performs roaming or disconnection processing without receiving a request from the main unit 230. I do.

本実施の形態の無線通信システムの構成およびMFP1000の構成は、図1、2を用いて説明した実施の形態1と同様である。   The configuration of the wireless communication system of this embodiment and the configuration of MFP 1000 are the same as those of Embodiment 1 described with reference to FIGS.

図14は、実施の形態3の通信処理のシーケンス図である。図15は、実施の形態3の無線LANデバイス210による通信処理の手順を示すフローチャートである。   FIG. 14 is a sequence diagram of communication processing according to the third embodiment. FIG. 15 is a flowchart illustrating a communication processing procedure performed by the wireless LAN device 210 according to the third embodiment.

MFP1000の本体部230から無線LANデバイス210に対するAP20との接続要求から、無線LANデバイス210による接続確立、接続応答の送出、接続状態確認、ビーコン検出の判断までの処理(ステップS141〜S149、S171〜S174)は、実施の形態1の処理(ステップS21〜S29、S51〜S54)と同様に行われる。   Processing from the connection request from the main body 230 of the MFP 1000 to the AP 20 to the wireless LAN device 210 to connection establishment by the wireless LAN device 210, connection response transmission, connection status confirmation, and beacon detection determination (steps S141 to S149, S171) S174) is performed in the same manner as the processing of the first embodiment (steps S21 to S29, S51 to S54).

次に、ステップS174において、AP20aからのビーコンを検出できなかった場合には(ステップS174:No、S150)、ビーコンを検出できなくなった時点からの経過時間が第1閾値時間を超えたか否かを判断する(ステップS175)。   Next, when the beacon from the AP 20a cannot be detected in step S174 (step S174: No, S150), it is determined whether or not the elapsed time from when the beacon can no longer be detected exceeds the first threshold time. Judgment is made (step S175).

そして、経過時間が第1閾値時間内の間は(ステップS175:No)、接続状態の確認(ステップS173)、ビーコン検出の有無の判断(ステップS174)を繰り返すことにより、第1閾値時間待機する(ステップS151)。   And while the elapsed time is within the first threshold time (step S175: No), the first threshold time is waited by repeating the confirmation of the connection state (step S173) and the determination of the presence or absence of beacon detection (step S174). (Step S151).

そして、第1閾値時間経過してもビーコンを検出できなかった場合には(ステップS174:No、S175:No)、通信制御回路214は、電波環境が不安定な状態、すなわち、Out−Of−Range(OOR)となり(ステップS176)、OORを本体部230へ通知する(ステップS152)。そして、通信制御回路214は、AP20aからのビーコン検出の有無を判断する(ステップS177)。   If the beacon cannot be detected even after the first threshold time has elapsed (steps S174: No, S175: No), the communication control circuit 214 is in an unstable radio wave environment, that is, Out-Of-. Range (OOR) is set (step S176), and OOR is notified to the main body 230 (step S152). Then, the communication control circuit 214 determines whether or not a beacon is detected from the AP 20a (step S177).

ビーコンが検出された場合には(ステップS177:Yes)、本体部に、正常接続環境状態を示すIn−Range(IR)の状態となり(ステップS178)、ステップS173へ戻って接続状態の確認からの処理を繰り替えす。   When a beacon is detected (step S177: Yes), the main unit is in an In-Range (IR) state indicating a normal connection environment state (step S178), and the process returns to step S173 to confirm the connection state. Repeat the process.

一方、ステップS177で、ビーコンを検出できなかった場合には(ステップS177:No、S153)、ビーコンを検出できなくなった時点からの経過時間が第2閾値時間を超えたか否かを判断する(ステップS179)。   On the other hand, if the beacon cannot be detected in step S177 (step S177: No, S153), it is determined whether or not the elapsed time from when the beacon can no longer be detected exceeds the second threshold time (step S177). S179).

そして、経過時間が第2閾値時間内の間は(ステップS179:No)、OORの状態のまま(ステップS176)、ビーコン検出の有無の判断(ステップS174)を繰り返すことにより、第2閾値時間待機する(ステップS154)。   Then, while the elapsed time is within the second threshold time (step S179: No), the second threshold time is waited by repeating the determination of the presence or absence of beacon detection (step S174) while maintaining the OOR state (step S176). (Step S154).

そして、第2閾値時間経過してもビーコンを検出できなかった場合には(ステップS177:No、S179:Yes)、本体部230への通知は行わず、かつ本体部230からの要求を受けずに、通信制御回路214は、ローミング処理またはAP20aに対する切断処理を実行する(ステップS180、S155、S156)。ここで、通信制御回路214によるローミング処理については、実施の形態1と同様に行われる。   If the beacon cannot be detected even after the second threshold time has elapsed (step S177: No, S179: Yes), the main unit 230 is not notified and the request from the main unit 230 is not received. In addition, the communication control circuit 214 executes a roaming process or a disconnection process for the AP 20a (steps S180, S155, and S156). Here, the roaming process by the communication control circuit 214 is performed in the same manner as in the first embodiment.

また、通信制御回路214が切断処理を行った場合には、上位層である本体部230に切断通知を行う(ステップS157)。   When the communication control circuit 214 performs the disconnection process, a disconnection notification is sent to the main body 230, which is the upper layer (step S157).

このように本実施の形態では、無線LANデバイス210がAP20のビーコンを検出できなくなってOORの状態となった場合で、第1閾値時間経過後に直ちにローミングや切断処理を行うのではなく、その後、ビーコンが検出された場合には、IRの状態に戻している。そして、本実施の形態では、さらに、ビーコンが検出されず第2閾値時間経過後に、本体部230からの要求を受けずに、無線LANデバイス自身がローミングまたは切断処理を行っている。このため、本実施の形態によれば、上位層側の本体部230で発生する無線接続に関する処理を電波状況に起因する不要な処理で、本体部230のCPU231の負荷が増大することを回避でき、この結果、画像処理やデータ通信処理等の本来行うべき処理が停滞することを防止することができる。   As described above, in the present embodiment, when the wireless LAN device 210 cannot detect the beacon of the AP 20 and enters the OOR state, the roaming or disconnection process is not performed immediately after the first threshold time elapses. When a beacon is detected, the state is returned to the IR state. In the present embodiment, the wireless LAN device itself performs roaming or disconnection processing without receiving a request from the main body 230 after the elapse of the second threshold time without detecting a beacon. For this reason, according to the present embodiment, it is possible to avoid an increase in the load on the CPU 231 of the main body unit 230 due to unnecessary processing caused by radio wave conditions for processing related to the wireless connection generated in the main body unit 230 on the upper layer side. As a result, it is possible to prevent stagnation of processing that should be originally performed, such as image processing and data communication processing.

なお、上記実施の形態1〜3の無線LANデバイス210の通信制御回路214等で行われる上述した通信処理をCPU211による無線通信プログラムの実行で実現するように構成してもよい。   Note that the above-described communication processing performed by the communication control circuit 214 of the wireless LAN device 210 of the first to third embodiments may be implemented by executing a wireless communication program by the CPU 211.

この場合、実施の形態1〜3の無線LANデバイス210で実行される無線通信プログラムは、ROM等に予め組み込まれて提供される。   In this case, the wireless communication program executed by the wireless LAN device 210 of the first to third embodiments is provided by being incorporated in advance in a ROM or the like.

上記実施の形態1〜3の無線LANデバイス210で実行される無線通信プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。   The wireless communication program executed by the wireless LAN device 210 of the first to third embodiments is a file in an installable format or an executable format, and is a CD-ROM, flexible disk (FD), CD-R, DVD (Digital The recording medium may be recorded on a computer-readable recording medium such as Versatile Disk).

さらに、上記実施の形態1〜3の無線LANデバイス210で実行される無線通信プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、上記実施の形態1〜3の無線LANデバイス210で実行される無線通信プログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。   Further, the wireless communication program executed by the wireless LAN device 210 of the first to third embodiments is stored on a computer connected to a network such as the Internet and is provided by being downloaded via the network. May be. The wireless communication program executed by the wireless LAN device 210 according to the first to third embodiments may be provided or distributed via a network such as the Internet.

上記実施の形態1〜3の無線LANデバイス210で実行される無線通信プログラムは、上述した通信制御回路214が実行する機能を有するモジュール構成となっており、実際のハードウェアとしてはCPU211が上記ROMから通信プログラムを読み出して実行することにより通信制御回路214が実行する機能のモジュールが主記憶装置上にロードされて、主記憶装置上に通信制御部として生成されるようになっている。   The wireless communication program executed by the wireless LAN device 210 according to the first to third embodiments has a module configuration having the function executed by the communication control circuit 214 described above. As actual hardware, the CPU 211 is the ROM. By reading and executing the communication program from the module, a module having a function executed by the communication control circuit 214 is loaded onto the main storage device and generated as a communication control unit on the main storage device.

20,20a,20b アクセスポイント(AP)
210 無線LANデバイス
211,231 CPU
212,232 メモリ
213,215,233 I/F部
214 通信制御回路
230 本体部
240 アンテナ(ANT)
1000 MFP
20, 20a, 20b Access point (AP)
210 Wireless LAN device 211, 231 CPU
212, 232 Memory 213, 215, 233 I / F unit 214 Communication control circuit 230 Main unit 240 Antenna (ANT)
1000 MFP

特許第3109701号公報Japanese Patent No. 3109701 特許3845347号公報Japanese Patent No. 3845347

Claims (10)

情報処理装置に搭載される無線通信装置であって、
親機装置から発信される報知信号を受信する受信手段と、
前記報知信号を受信できなくなった場合に、前記報知信号を受信できなくなった時点から所定の第1閾値時間の間に、さらに前記報知信号を受信しなかった場合に、上位層で動作する前記情報処理装置の本体部からの要求を受けずに、下位層で親機装置に対するアクセスを行う通信制御手段と、
を備えたことを特徴とする無線通信装置。
A wireless communication device mounted on an information processing device,
Receiving means for receiving a notification signal transmitted from the parent device;
When the notification signal cannot be received, the information that operates in the upper layer when the notification signal is not further received within a predetermined first threshold time from the time when the notification signal cannot be received. A communication control means for accessing the master device at a lower layer without receiving a request from the main body of the processing device;
A wireless communication apparatus comprising:
前記受信手段は、さらに、前記親機装置からデータを受信し、
前記通信制御手段は、前記報知信号を受信できなくなった場合に、さらに前記親機装置からデータを受信したか否かを判断し、前記データを受信できなくなった時点から前記第1閾値時間の間に前記データを受信しなかった場合に、前記本体部からの要求を受けずに、下位層で親機装置に対するアクセスを行うことを特徴とする請求項1に記載の無線通信装置。
The receiving means further receives data from the parent device,
When the communication control unit becomes unable to receive the notification signal, the communication control unit further determines whether or not data is received from the parent device, and the first threshold time from when the data cannot be received. 2. The wireless communication apparatus according to claim 1, wherein when the data is not received, the base unit is accessed in a lower layer without receiving a request from the main unit.
前記通信制御手段は、前記報知信号を受信できなくなった場合に、前記報知信号を受信できなくなった時点から所定の第1閾値時間の間に前記報知信号を受信しなかった場合に、前記情報処理装置の本体部に対して前記親機装置の通信範囲外に存在する旨を通知し、通知時点から所定の第2閾値時間の間に前記報知信号を受信しなかった場合に、前記情報処理装置の本体部からの要求を受けずに、下位層で親機装置に対するアクセスを行うことを特徴とする請求項1に記載の無線通信装置。   When the communication control unit cannot receive the notification signal, the communication control unit does not receive the notification signal within a predetermined first threshold time from the time when the notification signal cannot be received. The information processing apparatus is notified when the main body of the apparatus is notified that it is outside the communication range of the parent apparatus, and the notification signal is not received within a predetermined second threshold time from the notification time. 2. The wireless communication apparatus according to claim 1, wherein access to the parent device is performed in a lower layer without receiving a request from the main body unit. 前記通信制御手段は、前記通知時点から前記第2閾値時間の間に前記報知信号を受信した場合に、前記情報処理装置の本体部に対して前記親機装置の通信範囲内に存在する旨を通知することを特徴とする請求項3に記載の無線通信装置。   When the notification signal is received between the notification time point and the second threshold time, the communication control means indicates that the communication control unit exists within the communication range of the base device with respect to the main body of the information processing device. The wireless communication apparatus according to claim 3, wherein notification is performed. 前記通信制御手段は、前記アクセスとして、他の親機装置に対して接続を行うことを特徴とする請求項1〜4のいずれか一つに記載の無線通信装置。   The wireless communication apparatus according to any one of claims 1 to 4, wherein the communication control unit connects to another parent device as the access. 前記通信制御手段は、前記親機装置の識別情報と同一の識別情報を有する他の親機装置を探索して接続することを特徴とする請求項5に記載の無線通信装置。   The wireless communication apparatus according to claim 5, wherein the communication control unit searches for and connects to another parent device having the same identification information as the identification information of the parent device. 前記通信制御手段は、前記アクセスとして、前記親機装置に対して切断を行うことを特徴とする請求項1〜4のいずれか一つに記載の無線通信装置。   The wireless communication apparatus according to claim 1, wherein the communication control unit disconnects the base device as the access. 前記通信制御手段は、切断通知を前記本体部に送信することを特徴とする請求項7に記載の無線通信装置。   The wireless communication apparatus according to claim 7, wherein the communication control unit transmits a disconnection notification to the main body unit. 上位層で動作する本体部と、無線通信装置とを備えた情報処理装置であって、
前記無線通信装置は、
親機装置から発信される報知信号を受信する受信手段と、
前記報知信号を受信できなくなった場合に、前記報知信号を受信できなくなった時点から所定の第1閾値時間の間に、さらに前記報知信号を受信しなかった場合に、前記本体部からの要求を受けずに、下位層で親機装置に対するアクセスを行う通信制御手段と、
を備えたことを特徴とする情報処理装置。
An information processing apparatus including a main body that operates in an upper layer and a wireless communication device,
The wireless communication device
Receiving means for receiving a notification signal transmitted from the parent device;
When the notification signal cannot be received, and when the notification signal is not further received within a predetermined first threshold time from the time when the notification signal cannot be received, a request from the main body is received. Communication control means for accessing the parent device in the lower layer without receiving,
An information processing apparatus comprising:
親機装置から発信される報知信号を受信する受信ステップと、
前記報知信号を受信できなくなった場合に、前記報知信号を受信できなくなった時点から所定の第1閾値時間の間に、さらに前記報知信号を受信しなかった場合に、上位層で動作する本体部からの要求を受けずに、下位層で親機装置に対するアクセスを行う通信制御ステップと、
をコンピュータに実行させるためのプログラム。
A receiving step for receiving a notification signal transmitted from the parent device;
When the notification signal cannot be received, the main body that operates in the upper layer when the notification signal is not further received within a predetermined first threshold time from when the notification signal cannot be received. Communication control step for accessing the parent device in the lower layer without receiving a request from
A program that causes a computer to execute.
JP2010208626A 2010-09-16 2010-09-16 Wireless communication apparatus, information processing apparatus, and program Expired - Fee Related JP5549497B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010208626A JP5549497B2 (en) 2010-09-16 2010-09-16 Wireless communication apparatus, information processing apparatus, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010208626A JP5549497B2 (en) 2010-09-16 2010-09-16 Wireless communication apparatus, information processing apparatus, and program

Publications (2)

Publication Number Publication Date
JP2012065208A true JP2012065208A (en) 2012-03-29
JP5549497B2 JP5549497B2 (en) 2014-07-16

Family

ID=46060454

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010208626A Expired - Fee Related JP5549497B2 (en) 2010-09-16 2010-09-16 Wireless communication apparatus, information processing apparatus, and program

Country Status (1)

Country Link
JP (1) JP5549497B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9661677B2 (en) 2013-01-16 2017-05-23 Ricoh Company, Ltd. Wireless communication apparatus, wireless communication method, and computer-readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001265681A (en) * 2000-03-16 2001-09-28 Toshiba Corp Information terminal, information equipment and communication control method
JP2002111914A (en) * 2000-09-26 2002-04-12 Kenwood Corp Public telephone system
JP2009219052A (en) * 2008-03-12 2009-09-24 Ricoh Co Ltd Image forming apparatus and communication control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001265681A (en) * 2000-03-16 2001-09-28 Toshiba Corp Information terminal, information equipment and communication control method
JP2002111914A (en) * 2000-09-26 2002-04-12 Kenwood Corp Public telephone system
JP2009219052A (en) * 2008-03-12 2009-09-24 Ricoh Co Ltd Image forming apparatus and communication control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9661677B2 (en) 2013-01-16 2017-05-23 Ricoh Company, Ltd. Wireless communication apparatus, wireless communication method, and computer-readable storage medium

Also Published As

Publication number Publication date
JP5549497B2 (en) 2014-07-16

Similar Documents

Publication Publication Date Title
US9907097B2 (en) Wireless communication device, wireless communication system, program and wireless communication method
CA2750814C (en) Authentication for a multi-tier wireless home mesh network
EP3111701B1 (en) Access point initiated neighbor report request
JP4281768B2 (en) Communication system, radio communication apparatus and control method thereof
EP3070970A1 (en) Detection of rogue access points
US10285213B2 (en) Executing a corrective action based on behavior detected during a connection stage
US10506416B2 (en) Radio communication device, radio communication system, program, and radio communication method
JP2009533890A (en) High speed link down detection system and method
US10129922B2 (en) Communication apparatus
JP2009218929A (en) Base station, mobile terminal and communication program
EP3266227A1 (en) Communication device, communication method, communication system, and computer program product
US11039365B2 (en) Communication apparatus, method for controlling communication apparatus, and storage medium
US8126998B2 (en) Information processing apparatus and method of controlling thereof
JP2007295084A (en) Wireless terminal control system
US9288740B2 (en) Communication apparatus, control method for the same, communication system, and non-transitory computer-readable storage medium
JP5549497B2 (en) Wireless communication apparatus, information processing apparatus, and program
KR102077110B1 (en) Method for avoiding interference in wireless local access networks and appratus using thereof
JP6283808B2 (en) Wireless access point and program
JP6213531B2 (en) Wireless LAN system, wireless LAN system control method, and program
WO2016139922A1 (en) Communication device, communication method, communication system, and computer program product
JP5175898B2 (en) Wireless communication apparatus, connection release method, and program
JP2008011064A (en) Access control apparatus, wireless apparatus, and network
JP7148454B2 (en) Communication equipment and its control method
JP2004349885A (en) Wireless network system, wireless terminal, and base station
JP2015228618A (en) Relay device and communication control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130813

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140124

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140128

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140331

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140422

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140505

R151 Written notification of patent or utility model registration

Ref document number: 5549497

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

LAPS Cancellation because of no payment of annual fees