JP5549497B2 - Wireless communication apparatus, information processing apparatus, and program - Google Patents
Wireless communication apparatus, information processing apparatus, and program Download PDFInfo
- Publication number
- JP5549497B2 JP5549497B2 JP2010208626A JP2010208626A JP5549497B2 JP 5549497 B2 JP5549497 B2 JP 5549497B2 JP 2010208626 A JP2010208626 A JP 2010208626A JP 2010208626 A JP2010208626 A JP 2010208626A JP 5549497 B2 JP5549497 B2 JP 5549497B2
- Authority
- JP
- Japan
- Prior art keywords
- received
- notification signal
- wireless communication
- notification
- communication control
- 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.)
- Expired - Fee Related
Links
Images
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閾値時間の間に、前記報知信号を受信しなかった場合に、上位層で動作する前記情報処理装置の本体部に対して前記親機装置の通信範囲外に存在する旨を通知し、通知時点から所定の第2閾値時間の間に前記報知信号を受信しなかった場合に、前記情報処理装置の本体部からの要求を受けずに、下位層で親機装置に対するアクセスを行う通信制御手段と、を備えたことを特徴とする。 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, and operates at a higher layer if the notification signal is not received within a predetermined first threshold time from when the notification signal cannot be received. If the main body of the information processing device is notified that it is outside the communication range of the parent device, and the notification signal is not received within a predetermined second threshold time from the notification time, And a 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閾値時間の間に、前記報知信号を受信しなかった場合に、前記本体部に対して親機装置の通信範囲外に存在する旨を通知し、通知時点から所定の第2閾値時間の間に前記報知信号を受信しなかった場合に、前記本体部からの要求を受けずに、下位層で親機装置に対するアクセスを行う通信制御手段と、を備えたことを特徴とする。 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, the main body when the notification signal is not received within a predetermined first threshold time from when the notification signal cannot be received. If the notification signal is not received within a predetermined second threshold time from the notification time point , the request from the main unit is received. And a communication control means for accessing the parent device in the lower layer.
また、本発明にかかるプログラムは、親機装置から発信される報知信号を受信する受信ステップと、前記報知信号を受信できなくなった場合に、前記報知信号を受信できなくなった時点から所定の第1閾値時間の間に、前記報知信号を受信しなかった場合に、上位層で動作する本体部に対して親機装置の通信範囲外に存在する旨を通知し、通知時点から所定の第2閾値時間の間に前記報知信号を受信しなかった場合に、前記本体部からの要求を受けずに、下位層で親機装置に対するアクセスを行う通信制御ステップと、をコンピュータに実行させる。 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. If the notification signal is not received during the threshold time, the main body unit operating in the upper layer is notified that it is out of the communication range of the parent device, and a predetermined second threshold value from the notification time point. If the notification signal is not received during the time, the computer is caused to execute a communication control step of accessing the parent device in a lower layer without receiving a request from the main body.
本発明によれば、上位層側で発生する無線接続に関する処理を電波状況に起因する不要な処理で本来行うべき処理が停滞することを防止することができるという効果を奏する。 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.
以下に添付図面を参照して、この発明にかかる無線通信装置、情報処理装置およびプログラムの実施の形態を詳細に説明する。以下に示す実施の形態では、無線通信装置を無線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.
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
MFP1000は、AP20との接続のために必要なAP20に関する情報(以下、「AP情報」という。)が含まれる信号を受信して、受信した信号からAP情報を取得する。AP情報を受信する方法としては、アクティブスキャンと、パッシブスキャンがある。
The
アクティブスキャンは、MFP1000がProbeRequestフレームを送出し、これに応答してAP20によって返信されたProbeResponseフレームから、AP情報を取得する方法である。一方、パッシブスキャンは、MFP1000がProbeRequestフレームを送出することなく、AP20により一定間隔で送出される報知信号としてのパケットであるビーコン(Beacon)フレームを受信して、ビーコンフレーム(以下、「ビーコン」という。)に含まれるAP情報を取得する方法である。本実施の形態では、パッシブスキャンによりAP情報を取得する例をあげて説明する。
The active scan is a method in which the
図2は、実施の形態1のMFP1000の構成を示すブロック図である。本実施の形態のMFP1000は、図1に示すように、本体部230に無線LANデバイス210が接続された構成となっている。
FIG. 2 is a block diagram showing a configuration of
まず、無線LANデバイス210について説明する。無線LANデバイス210は、図2に示すように、アンテナ(ANT)240と、CPU211と、メモリ212と、I/F部213,215と、通信制御回路214とを主に備えている。
First, the
アンテナ240は、AP20等の外部装置との間で無線通信を行うための電波を送受信する。I/F部213はアンテナ240とのインタフェースであり、OSI参照モデルにおける物理層の制御を行う。
The
通信制御回路214は、OSI参照モデルにおけるMAC層(データリンク層の下位レイヤ)の制御として、無線LANの接続、切断のフレーム生成や送受信制の処理を行う。
The
本実施の形態では、通信制御回路214は、AP20からのビーコンを受信できなくなった場合に、ビーコンを受信できなくなった時点から所定の第1閾値時間の間にビーコンを受信しなかった場合に、アプリケーション層で動作する本体部230からの要求を受けずに、AP20に対するアクセス、すなわち、ローミング(他のAP20の探索および接続)や切断の処理を行う。
In the present embodiment, when the
メモリ212は、作業データ等の格納に用いられ、CPU211は、通信プログラムを実行する。I/F部215は、本体部230とのインタフェースである。
The
次に、本体部230について説明する。本体部230は、図2に示すように、I/F部233と、CPU231と、メモリ232とを主に備えている。
Next, the
I/F部233は、無線LANデバイス210とのインタフェースである。メモリ231は、各種プログラムを保存する。CPU231は、メモリ232に格納されている各種プログラムを実行し、サプリカントと呼ばれる暗号関連の設定、無線接続処理を行う。すなわち、CPU231は、OSI参照モデルにおけるアプリケーション層の処理を実行する。
The I /
次に、以上のように構成された本実施の形態の通信処理について説明する。まず、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
MFP1000は、AP20にProbe Requestフレームを送信する(ステップS11)。ここで、Probe Requestフレームとは、接続可能なAP20に対して応答を要求する要求メッセージのことである。
The
図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
なお、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
図3に戻り、AP20は、Probe Requestを受信し、MFP1000にProbe Responseフレームを返信する(ステップS12)。ここで、MFP1000は、Probe Responseフレームから接続に必要な情報を抽出し、接続パラメータを決定する。
Returning to FIG. 3, the
図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
図3に戻り、MFP1000およびAP20は、Authenticationを相互に送受信する(ステップS13、ステップS14)。ここで、Authenticationとは、相互認証のためのメッセージのことである。認証された場合、MFP1000は、Probe Responseフレームに含まれるSSIDを使用して、AP20との接続確立を試みる。具体的には、MFP1000は、SSIDを含むAssociation RequestをAP20に送信する(ステップS15)。
Returning to FIG. 3, the
図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
図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
次に、本実施の形態のMFP1000とAP20との間の通信処理について説明する。図8は、実施の形態1の通信処理のシーケンス図である。図9は、実施の形態1の無線LANデバイス210による通信処理の手順を示すフローチャートである。図8,9では、MFP1000がAP20aの通信範囲内に位置しAP20aと通信する場合を例にあげて説明する。
Next, communication processing between
まず、MFP1000の本体部230から無線LANデバイス210に対してAP20との接続要求が送出される(ステップS21)。接続要求を受け取った無線LANデバイス210は、I/F部213,通信制御回路214は、AP20との接続確立処理を行う(ステップS22〜S27,S51)。
First, a connection request with the
そして、通信制御回路214は、接続確立が成功したか否かを判断し(ステップS52)、失敗した場合には(ステップS52:No)、処理を終了する。一方、接続確立に成功した場合には(ステップS52:Yes)、通信制御回路214は、サプリカントである本体部230に接続確立が成功した旨の接続応答を送出する(ステップS28)。図8の例では、AP20aとの接続確立が成功している。
Then, the
次に、通信制御回路214は、接続状態を確認し(ステップS53)、AP20aからおビーコンを検出したか否かを判断する(ステップS54)。ビーコンを検出した場合には(ステップS29、S54:Yes)、ステップS53,S54の処理を繰り返す。
Next, the
一方、ビーコンを検出できない場合には(ステップ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
そして、経過時間が第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
そして、第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
また、通信制御回路214が切断処理を行った場合には、上位層である本体部230に切断通知を行う(ステップS34)。通知を受けた本体部230は、切断の旨をメッセージ表示等で報知することにより、無線LANデバイス210が行った切断を利用者が認識することが可能となる。
When the
ここで、本実施の形態の通信制御回路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
図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
このように本実施の形態では、無線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
このため、従来の無線通信装置では、上位層が行う本来の必要なデータ通信とは別個に接続・切断に関する処理が上位層側にも発生してしまうため、上位層側で本来行うべき処理を実行することが困難になる。 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
(実施の形態2)
実施の形態1では、AP20の検出をビーコンのみで行っていたが、この実施の形態2では、ビーコンの受信の他、さらにデータフレームの受信の有無によってAP20の検出を行っている。
(Embodiment 2)
In the first embodiment, the
本実施の形態の無線通信システムの構成およびMFP1000の構成は、図1、2を用いて説明した実施の形態1と同様である。
The configuration of the wireless communication system of this embodiment and the configuration of
図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
MFP1000の本体部230から無線LANデバイス210に対するAP20との接続要求から、無線LANデバイス210による接続確立、接続応答の送出、接続状態確認、ビーコン検出の判断までの処理(ステップS91〜S99、S121〜S124)は、実施の形態1の処理(ステップS21〜S29、S51〜S54)と同様に行われる。
Processing from the connection request from the
次に、ステップS124において、AP20aからのビーコンを検出できなかった場合には(ステップS124:No、S100)、通信制御回路214は、さらに、AP20aからのデータ受信があったか否かを判断する(ステップS125)。そして、データ受信があった場合には(ステップS125:Yes、S101)、通信制御回路124は、ACKパケットをAP20aに対して送信する(ステップS102)。
Next, when a beacon from the
一方、AP20aからデータを受信できなかった場合には(ステップS125:No)、データを受信できなくなった時点からの経過時間が第1閾値時間を超えたか否かを判断する(ステップS126)。
On the other hand, when the data cannot be received from the
そして、単に電波環境が少し劣化した場合であれば、短時間内に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
そして、第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
また、通信制御回路214が切断処理を行った場合には、上位層である本体部230に切断通知を行う(ステップS108)。
When the
このように本実施の形態では、無線LANデバイス210がAP20のビーコンを検出できなくなり、かつAP20からのデータを受信できなくなった場合に、上位層である本体部にOORを通知せず、本体部230からの要求を受けずに、無線LANデバイス自身がローミングまたは切断処理を行っている。このため、本実施の形態によれば、上位層側の本体部230で発生する無線接続に関する処理を電波状況に起因する不要な処理で、本体部230のCPU231の負荷が増大することを回避でき、この結果、画像処理やデータ通信処理等の本来行うべき処理が停滞することを防止することができる。
As described above, in the present embodiment, when the
また、本実施の形態では、ビーコンの受信の他、データ受信の有無によって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
本実施の形態の無線通信システムの構成およびMFP1000の構成は、図1、2を用いて説明した実施の形態1と同様である。
The configuration of the wireless communication system of this embodiment and the configuration of
図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
MFP1000の本体部230から無線LANデバイス210に対するAP20との接続要求から、無線LANデバイス210による接続確立、接続応答の送出、接続状態確認、ビーコン検出の判断までの処理(ステップS141〜S149、S171〜S174)は、実施の形態1の処理(ステップS21〜S29、S51〜S54)と同様に行われる。
Processing from the connection request from the
次に、ステップS174において、AP20aからのビーコンを検出できなかった場合には(ステップS174:No、S150)、ビーコンを検出できなくなった時点からの経過時間が第1閾値時間を超えたか否かを判断する(ステップS175)。
Next, when the beacon from the
そして、経過時間が第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
ビーコンが検出された場合には(ステップ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
また、通信制御回路214が切断処理を行った場合には、上位層である本体部230に切断通知を行う(ステップS157)。
When the
このように本実施の形態では、無線LANデバイス210がAP20のビーコンを検出できなくなってOORの状態となった場合で、第1閾値時間経過後に直ちにローミングや切断処理を行うのではなく、その後、ビーコンが検出された場合には、IRの状態に戻している。そして、本実施の形態では、さらに、ビーコンが検出されず第2閾値時間経過後に、本体部230からの要求を受けずに、無線LANデバイス自身がローミングまたは切断処理を行っている。このため、本実施の形態によれば、上位層側の本体部230で発生する無線接続に関する処理を電波状況に起因する不要な処理で、本体部230のCPU231の負荷が増大することを回避でき、この結果、画像処理やデータ通信処理等の本来行うべき処理が停滞することを防止することができる。
As described above, in the present embodiment, when the
なお、上記実施の形態1〜3の無線LANデバイス210の通信制御回路214等で行われる上述した通信処理をCPU211による無線通信プログラムの実行で実現するように構成してもよい。
Note that the above-described communication processing performed by the
この場合、実施の形態1〜3の無線LANデバイス210で実行される無線通信プログラムは、ROM等に予め組み込まれて提供される。
In this case, the wireless communication program executed by the
上記実施の形態1〜3の無線LANデバイス210で実行される無線通信プログラムは、インストール可能な形式又は実行可能な形式のファイルでCD−ROM、フレキシブルディスク(FD)、CD−R、DVD(Digital Versatile Disk)等のコンピュータで読み取り可能な記録媒体に記録して提供するように構成してもよい。
The wireless communication program executed by the
さらに、上記実施の形態1〜3の無線LANデバイス210で実行される無線通信プログラムを、インターネット等のネットワークに接続されたコンピュータ上に格納し、ネットワーク経由でダウンロードさせることにより提供するように構成しても良い。また、上記実施の形態1〜3の無線LANデバイス210で実行される無線通信プログラムをインターネット等のネットワーク経由で提供または配布するように構成しても良い。
Further, the wireless communication program executed by the
上記実施の形態1〜3の無線LANデバイス210で実行される無線通信プログラムは、上述した通信制御回路214が実行する機能を有するモジュール構成となっており、実際のハードウェアとしてはCPU211が上記ROMから通信プログラムを読み出して実行することにより通信制御回路214が実行する機能のモジュールが主記憶装置上にロードされて、主記憶装置上に通信制御部として生成されるようになっている。
The wireless communication program executed by the
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
1000 MFP
Claims (8)
親機装置から発信される報知信号を受信する受信手段と、
前記報知信号を受信できなくなった場合に、前記報知信号を受信できなくなった時点から所定の第1閾値時間の間に、前記報知信号を受信しなかった場合に、上位層で動作する前記情報処理装置の本体部に対して前記親機装置の通信範囲外に存在する旨を通知し、通知時点から所定の第2閾値時間の間に前記報知信号を受信しなかった場合に、前記情報処理装置の本体部からの要求を受けずに、下位層で親機装置に対するアクセスを行う通信制御手段と、
を備えたことを特徴とする無線通信装置。 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 processing that operates in an upper layer when the notification signal is not received within a predetermined first threshold time from when the notification signal cannot be received. when notified that exists outside the communication range of the base unit device with respect to the main body of the device did not receive the broadcast signal during a second threshold time predetermined from the notification time, before Symbol information Communication control means for accessing the base device at a lower layer without receiving a request from the main body of the device,
A wireless communication apparatus comprising:
前記無線通信装置は、
親機装置から発信される報知信号を受信する受信手段と、
前記報知信号を受信できなくなった場合に、前記報知信号を受信できなくなった時点から所定の第1閾値時間の間に、前記報知信号を受信しなかった場合に、前記本体部に対して親機装置の通信範囲外に存在する旨を通知し、通知時点から所定の第2閾値時間の間に前記報知信号を受信しなかった場合に、前記本体部からの要求を受けずに、下位層で親機装置に対するアクセスを行う通信制御手段と、
を備えたことを特徴とする情報処理装置。 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 received within a predetermined first threshold time from when the notification signal cannot be received, the main unit is connected to the main unit. When notifying the fact that it is outside the communication range of the device and not receiving the notification signal within a predetermined second threshold time from the notification time point , without receiving a request from the main unit, in the lower layer A communication control means for accessing the master device;
An information processing apparatus comprising:
前記報知信号を受信できなくなった場合に、前記報知信号を受信できなくなった時点から所定の第1閾値時間の間に、前記報知信号を受信しなかった場合に、上位層で動作する本体部に対して親機装置の通信範囲外に存在する旨を通知し、通知時点から所定の第2閾値時間の間に前記報知信号を受信しなかった場合に、前記本体部からの要求を受けずに、下位層で親機装置に対するアクセスを行う通信制御ステップと、
をコンピュータに実行させるためのプログラム。 A receiving step for receiving a notification signal transmitted from the parent device;
When the notification signal cannot be received, when the notification signal is not received within a predetermined first threshold time from when the notification signal cannot be received, If the notification signal is not received within a predetermined second threshold time from the notification time point, a request from the main unit is not received. , A communication control step for accessing the parent device in the lower layer,
A program that causes a computer to execute.
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 JP2012065208A (en) | 2012-03-29 |
JP5549497B2 true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014158255A (en) | 2013-01-16 | 2014-08-28 | Ricoh Co Ltd | Radio communication apparatus, radio communication method, and program |
Family Cites Families (3)
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 |
-
2010
- 2010-09-16 JP JP2010208626A patent/JP5549497B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2012065208A (en) | 2012-03-29 |
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 | |
JP5463738B2 (en) | Wireless communication system, access point, controller, network management apparatus, and access point network identifier setting method | |
JP4281768B2 (en) | Communication system, radio communication apparatus and control method thereof | |
EP3070970A1 (en) | Detection of rogue access points | |
EP3111701B1 (en) | Access point initiated neighbor report request | |
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 | |
JP2009218929A (en) | Base station, mobile terminal and communication program | |
US10129922B2 (en) | Communication apparatus | |
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 | |
US20060013174A1 (en) | Wireless communication system | |
JP2003348103A (en) | Wireless communication apparatus, wireless communication system, and wireless communication method | |
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 | |
JP5349665B1 (en) | Terminal, control method thereof, and control program | |
JP6213531B2 (en) | Wireless LAN system, wireless LAN system control method, and program | |
JP6283808B2 (en) | Wireless access point 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 |
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 |