JP2006005603A - Data communication device, data communication method, data communication program, communication channel selection device and communication channel selection program - Google Patents
Data communication device, data communication method, data communication program, communication channel selection device and communication channel selection program Download PDFInfo
- Publication number
- JP2006005603A JP2006005603A JP2004179127A JP2004179127A JP2006005603A JP 2006005603 A JP2006005603 A JP 2006005603A JP 2004179127 A JP2004179127 A JP 2004179127A JP 2004179127 A JP2004179127 A JP 2004179127A JP 2006005603 A JP2006005603 A JP 2006005603A
- Authority
- JP
- Japan
- Prior art keywords
- communication channel
- communication
- data
- channel
- selection
- 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
Links
Images
Abstract
Description
本発明は、複数の個別の無線端末が共通のアクセスポイントに対して無線でデータの送受信を行なうためのデータ通信装置、データ通信方法、データ通信プログラム、通信チャンネル選択装置および通信チャンネル選択プログラムに関する。 The present invention relates to a data communication device, a data communication method, a data communication program, a communication channel selection device, and a communication channel selection program for a plurality of individual wireless terminals to wirelessly transmit and receive data to and from a common access point.
近年、無線LAN用の中継器であるアクセスポイント(データ通信装置)は、離れた位置にある複数のコンピュータ(無線端末)をインターネットに接続するデバイスとして使用されている。
アクセスポイントは有線にてインターネットなどのネットワークに接続され、アクセスポイントとコンピュータとの間が無線で接続される。このような無線通信用に所定の周波数帯域を割り当てられており、かつ、この周波数帯域内をさらに複数の帯域ごとに分けて利よするために複数の通信チャンネル(ch1〜ch13)が設定されている。
In recent years, an access point (data communication apparatus), which is a repeater for a wireless LAN, has been used as a device for connecting a plurality of computers (wireless terminals) at remote locations to the Internet.
The access point is connected to a network such as the Internet by wire, and the access point and the computer are connected wirelessly. A predetermined frequency band is assigned for such wireless communication, and a plurality of communication channels (ch1 to ch13) are set in order to further divide the frequency band into a plurality of bands. Yes.
いずれか通信チャンネルを使用するかは、利用者に依存されており、適宜変更して利用することを想定している。
しかし、現実には、利用者の通信チャンネルに対する理解が浅いので、製品出荷時のままの通信チャンネル(例えば、ch11)が利用されていることが多い。
無線接続はパケットデータ通信を行うため、同じ通信チャンネルを使用して複数対の送受信端末間でのデータ通信は可能であるが、互いに空き時間を使用することになるので効率は下がる。
一方、無線通信中に通信速度が低下した場合に、各通信チャンネルの状況を通信エラーに基づいて判定し、通信エラーのない通信チャンネルを選択して利用する技術が知られている。特許文献1や特許文献2に示すものが知られている。
However, in reality, since the user has little understanding of the communication channel, the communication channel (for example, ch11) as it is at the time of product shipment is often used.
Since the wireless connection performs packet data communication, data communication between a plurality of pairs of transmission / reception terminals using the same communication channel is possible, but the efficiency is reduced because idle time is used.
On the other hand, a technique is known in which, when the communication speed is reduced during wireless communication, the status of each communication channel is determined based on a communication error, and a communication channel without a communication error is selected and used. What is shown to
上述した従来のデータ通信装置においては、次のような課題があった。
通信チャンネルを変更することなく製品出荷時のまま使用する場合、同じ通信チャンネルのみでデータ通信を行うため、通信速度に限界があり、効率が良くない。
通信速度が低下したときに、通信エラーに基づいて他の通信チャンネルを判定する場合、通信速度が低下するまで通信チャンネルを変更できないし、通信エラーが生じなければ他の通信チャンネル間での比較ができず、最適な通信チャンネルを選択できるとは限らない。
The conventional data communication apparatus described above has the following problems.
When the product is used as shipped without changing the communication channel, data communication is performed using only the same communication channel, so the communication speed is limited and the efficiency is not good.
When another communication channel is determined based on a communication error when the communication speed decreases, the communication channel cannot be changed until the communication speed decreases, and if there is no communication error, comparison between other communication channels is possible. It is not always possible to select the optimum communication channel.
本発明は、上記課題にかんがみてなされたもので、より簡易に最適な通信チャンネルを利用することが可能なデータ通信装置、データ通信プログラム、データ通信方法、通信チャンネル選択装置および通信チャンネル選択プログラムの提供を目的とする。 The present invention has been made in view of the above-described problems, and provides a data communication device, a data communication program, a data communication method, a communication channel selection device, and a communication channel selection program that can more easily use an optimal communication channel. For the purpose of provision.
上記目的を達成するため、請求項1にかかる発明は、複数の個別の無線端末が共通のアクセスポイントに対して無線でデータの送受信を行なうにあたり、所定の周波数帯域を割り当てられた複数の通信チャンネルの中のいずれかの通信チャンネルを使用する上記アクセスポイントとしてのデータ通信装置であって、上記各通信チャンネルごとに使用状況を判定する判定手段と、同使用状況に基づいて所定の条件に基づいて使用に適した通信チャンネルを選択する選択手段と、同選択された通信チャンネルを使用してデータの送受信を行う送受信手段とを具備する構成としてある。 In order to achieve the above object, according to the first aspect of the present invention, there is provided a plurality of communication channels to which a predetermined frequency band is assigned when a plurality of individual wireless terminals wirelessly transmit / receive data to / from a common access point. A data communication apparatus as the access point that uses any one of the communication channels, and a determination unit that determines a use situation for each communication channel, based on a predetermined condition based on the use situation A selection means for selecting a communication channel suitable for use and a transmission / reception means for transmitting / receiving data using the selected communication channel are provided.
上記のように構成した請求項1にかかる発明においては、その前提として、複数の個別の無線端末が共通のアクセスポイントに対して無線でデータの送受信を行なうにあたり、所定の周波数帯域を割り当てられた複数の通信チャンネルの中のいずれかの通信チャンネルを使用している。ここで、記アクセスポイントとしてのデータ通信装置では、判定手段が上記各通信チャンネルごとに使用状況を判定しており、選択手段は同使用状況に基づいて所定の条件に基づいて使用に適した通信チャンネルを選択するので、送受信手段は同選択された通信チャンネルを使用してデータの送受信を行う。
In the invention according to
すなわち、各通信チャンネルにおける、例えば通信チャンネルの使用の有無を含めた使用状況を判定しており、使用状況から最適な通信チャンネルを選択する。
使用状況に基づいて通信チャンネルを選択する条件は各種の手法を適用可能であるが、その一例として、請求項2にかかる発明は、請求項1に記載のデータ通信装置において、上記選択手段は、使用している通信チャンネルの偏りを解消するように上記チャンネルを選択する構成としてある。
That is, the use situation including, for example, whether or not the communication channel is used in each communication channel is determined, and the optimum communication channel is selected from the use situation.
As a condition for selecting a communication channel based on the use situation, various methods can be applied. As an example, the invention according to
上記のように構成した請求項2にかかる発明においては、使用している通信チャンネルの偏りを解消するように、使用する通信チャンネルを選択する。これにより、可能な限り均等な使用の仕方となり、通信効率を向上させることに貢献する。
さらに、請求項3にかかる発明は、上記選択手段は、使用されていない通信チャンネルを選択する構成としてある。
上記のように構成した請求項3にかかる発明においては、通信チャンネルを選択するにあたり、使用されていない通信チャンネルを選択する。使用されていない通信チャンネルがあれば、同チャンネルを選択することで通信効率の向上に貢献する。
さらに、請求項4にかかる発明は、上記判定手段は、各通信チャンネルを使用することでその近隣通信チャンネルに及ぼす影響を使用状況に反映させる構成としてある。
無線LANの場合、選択できるチャンネルはch1〜ch13であるが、ch11を使用する場合にch10やch12といった隣接通信チャンネルや、ch9やch13といったそのまた隣接チャンネルといった近隣通信チャンネルも通信の影響を受ける。このような場合、個別の通信チャンネルの使用状況だけでは通信効率を判定できない。
In the invention according to
Further, the invention according to
In the invention according to
Further, the invention according to
In the case of a wireless LAN, channels that can be selected are ch1 to ch13. However, when using ch11, adjacent communication channels such as ch10 and ch12 and neighboring communication channels such as ch9 and ch13 are also affected by communication. In such a case, the communication efficiency cannot be determined only by using the individual communication channels.
これに対して、上記のように構成した請求項4にかかる発明においては、使用状況を判定するにあたり、各通信チャンネルを使用することでその近隣通信チャンネルに及ぼす影響を反映させているので、より現実的に通信効率を向上させうる通信チャンネルを選択することが可能となる。
On the other hand, in the invention according to
さらに、請求項5にかかる発明は、上記判定手段は、各通信チャンネルごとに当該通信チャンネルを使用しているアクセスポイントの数に応じた使用状況を判定する構成としてある。
各通信チャンネルごとに実際に通信されているデータ量を測定して使用状況を判定することも可能であるが、煩雑である。これに対し、各通信チャンネルを使用するように設定されているアクセスポイントの数によって通信可能なデータ量の目安とすることも可能である。このため、上記のように構成した請求項5にかかる発明においては、上記判定手段が、各通信チャンネルごとに当該通信チャンネルを使用しているアクセスポイントの数を検出し、同数に応じて使用状況を判定する。
Furthermore, the invention according to
Although it is possible to determine the usage status by measuring the amount of data actually communicated for each communication channel, it is cumbersome. On the other hand, the amount of data that can be communicated can be determined by the number of access points set to use each communication channel. For this reason, in the
アクセスポイントの数を検出する手法の一例として、請求項6にかかる発明は、上記判定手段は、各通信チャンネルを使用しているアクセスポイントから送出されるビーコンに基づいて同アクセスポイントの数を判定する構成としてある。
アクセスポイントに対して何らかのリクエストを出力し、その応答を待ってアクセスポイントの数を検出するとすれば、リクエストを出したり、当該リクエスト自身に対する応答や、返答などが生じ、それぞれにパケットが使用される。この結果、当然通信トラフィックが低下するので非効率である。
As an example of a method for detecting the number of access points, the invention according to
If some request is output to the access point and the number of access points is detected after waiting for the response, a request is issued, a response to the request itself or a response is generated, and a packet is used for each request. . As a result, communication traffic is naturally reduced, which is inefficient.
これに対し、上記のように構成した請求項6にかかる発明においては、既存の条件で各通信チャンネルを使用しているアクセスポイントが定期的に送出しているビーコンに基づいて同アクセスポイントの数を判定するので、パッシブスキャンとなり、特別なリクエストでトラフィックを低下させることなく、アクセスポイントの数を検知することになる。 さらに、請求項7にかかる発明は、上記判定手段は、使用している通信チャンネルに最も大きな重み付けをアクセスポイントの数に与えるとともに、当該通信チャンネルを中心として離れるに従って大きさが減る重み付けをアクセスポイントの数に与えて各通信チャンネルの使用状況を反映させる構成としてある。
On the other hand, in the invention according to
上記のように構成した請求項7にかかる発明においては、各通信チャンネルごとのアクセスポイントの数をそのまま反映するのではなく、各アクセスポイントが使用している通信チャンネルに最も大きな重み付けを当該アクセスポイントの数に与えて当該通信チャンネルの使用状況とする。また、当該通信チャンネルを中心として離れるに従って大きさが減る重み付けを当該アクセスポイントの数に与えて、各通信チャンネルの使用状況に反映させる。
In the invention according to
より具体的には、請求項8にかかる発明は、上記判定手段は、上記重み付けとして、使用している通信チャンネルに6を与え、一通信チャンネル離れるごとに、順次、3:2:1の重み付けを与える構成としてある。
上記のように構成した請求項8にかかる発明においては、ch10にアクセスポイントが2つあるとすると、当該アクセスポイントの数である”2”は、ch10に対して重み付けである”6”を与えられて”12”の寄与となり、ch9とch11に対して重み付けである”3”を与えられて”6”の寄与となり、ch8とch12に対して重み付けである”2”を与えられて”4”の寄与となり、ch7とch13に対して重み付けである”1”を与えられて”2”の寄与となる。この結果、ch7〜ch13において、使用状況は、”2”,”4”,”6”,”12”,”6”,”4”,”2”となる。
More specifically, in the invention according to
In the invention according to
そして、他の通信チャンネルを使用しているアクセスポイントがあるときには同じ重み付けを与えて近隣チャンネルの使用状況に反映させる。複数の通信チャンネルから使用状況に反映される場合、使用状況の数値を順次加算していけばよい。
このような重み付けは使用する無線周波数帯域の性質や変調方式などによって適宜変更可能であるし、上記数値に対してわずかながらの変更があってもおおむねこの傾向にあるのであれば、同様の効果を奏する。
使用状況に基づいていずれかの通信チャンネルを選択する手法は各種のものを適用可能であり、その一例として、請求項9にかかる発明は、上記選択手段は、複数の通信方式がある場合に通信速度の遅い通信方式を避けて通信チャンネルを選択する構成としてある。
上記のように構成した請求項9にかかる発明においては、複数の通信方式がある場合に通信速度の遅い通信方式を避けて通信チャンネルを選択する。
さらに、請求項10にかかる発明は、所定時間ごとに上記通信チャンネルの使用状況を判定し、上記選択手段は同使用状況に基づいて通信チャンネルを変更する構成としてある。
無線LANなどでは必ずしも特定の通信チャンネルで定常的にデータ通信を行うとは限らない。従って、時間の変化に伴って各通信チャンネルの使用状況は変化していくといえる。このため、上記のように構成した請求項10にかかる発明においては、所定時間ごとに上記通信チャンネルの使用状況を判定する。そして、必要であれば上記選択手段は同使用状況に基づいて通信チャンネルを変更する。むろん、使用状況に大きな変化がなく、その場合には敢えて通信チャンネルを変更しないこともありえる。
When there is an access point that uses another communication channel, the same weight is given to reflect the use status of the neighboring channel. When reflected on the usage status from a plurality of communication channels, the usage status values may be added sequentially.
Such weighting can be changed as appropriate depending on the nature of the radio frequency band to be used, the modulation method, and the like. Play.
Various methods can be applied as a method for selecting any communication channel based on the usage status. As an example, the invention according to
In the invention according to
Further, the invention according to
In a wireless LAN or the like, data communication is not always performed on a specific communication channel. Therefore, it can be said that the usage status of each communication channel changes with time. For this reason, in the
さらに、請求項11にかかる発明は、上記無線端末が当該データ通信装置と通信しているときは、上通信チャンネルを変更しない構成としてある。
上記無線端末が当該データ通信装置と通信しているときに通信チャンネルを変更してしまうと通信に支障が生じるため、上記のように構成した請求項11にかかる発明においては、かかる通信中には上通信チャンネルを変更しない。
さらに、請求項12にかかる発明は、所定の周波数帯域を割り当てられた複数の通信チャンネルから選択されたいずれかの通信チャンネルをしてデータの送受信を行うためのデータ通信装置であって、上記各通信チャンネルごとに使用状況を判定する判定手段と、同使用状況に基づいて所定の条件に基づいて使用に適した通信チャンネルを選択する選択手段と、同選択された通信チャンネルを使用してデータの送受信を行う送受信手段とを具備する構成としてある。
Furthermore, the invention according to
If the communication channel is changed while the wireless terminal is communicating with the data communication device, communication will be hindered. In the invention according to claim 11 configured as described above, during the communication, Do not change the upper communication channel.
Furthermore, the invention according to
このように、使用状況を判定して使用する通信チャンネルを選択する手法は必ずしも実体のある装置に限られる必要はなく、その方法としても機能することは容易に理解できる。このため、請求項13にかかる発明は、所定の周波数帯域を割り当てられた複数の通信チャンネルの中のいずれかの通信チャンネルを使用し、複数の個別の無線端末が共通のアクセスポイントに対して無線でデータの送受信を行なうデータ通信方法であって、上記各通信チャンネルごとに使用状況を判定する判定工程と、同使用状況に基づいて所定の条件に基づいて使用に適した通信チャンネルを選択する選択工程と、同選択された通信チャンネルを使用してデータの送受信を行う送受信工程とを具備する構成としてある。 As described above, it is not always necessary that the method of selecting the communication channel to be used by determining the usage status is limited to a substantial device, and it can be easily understood that the method also functions. For this reason, the invention according to claim 13 uses any one of a plurality of communication channels to which a predetermined frequency band is assigned, and a plurality of individual wireless terminals wirelessly communicate with a common access point. A data communication method for transmitting and receiving data, wherein a determination step for determining a use situation for each communication channel and a selection for selecting a communication channel suitable for use based on a predetermined condition based on the use situation And a transmission / reception step of transmitting / receiving data using the selected communication channel.
すなわち、必ずしも実体のある装置に限らず、その方法としても有効であることに相違はない。
ところで、このようなデータ通信装置は単独で存在する場合もあるし、ある機器に組み込まれた状態で利用されることもあるなど、発明の思想としてはこれに限らず、各種の態様を含むものである。従って、ソフトウェアであったりハードウェアであったりするなど、適宜、変更可能である。
That is, it is not necessarily limited to a substantial apparatus, and there is no difference that the method is also effective.
By the way, such a data communication device may exist independently, or may be used in a state of being incorporated in a certain device. The idea of the invention is not limited to this and includes various aspects. . Therefore, it can be changed as appropriate, such as software or hardware.
発明の思想の具現化例としてデータ通信装置のソフトウェアとなる場合には、かかるソフトウェアを記録した記録媒体上においても当然に存在し、利用されるといわざるをえない。
その一例として、請求項14にかかる発明は、所定の周波数帯域を割り当てられた複数の通信チャンネルの中のいずれかの通信チャンネルを使用し、複数の個別の無線端末が共通のアクセスポイントに対して無線でデータの送受信を行なうデータ通信プログラムであって、上記各通信チャンネルごとに使用状況を判定する判定機能と、同使用状況に基づいて所定の条件に基づいて使用に適した通信チャンネルを選択する選択機能と、同選択された通信チャンネルを使用してデータの送受信を行う送受信機能とを具備する構成としてある。
When the software of the data communication apparatus is embodied as an example of the idea of the invention, it naturally exists on a recording medium in which such software is recorded and can be used.
As an example, the invention according to claim 14 uses any one of a plurality of communication channels to which a predetermined frequency band is assigned, and a plurality of individual wireless terminals are connected to a common access point. A data communication program for transmitting and receiving data wirelessly, wherein a determination function for determining a use situation for each communication channel and a communication channel suitable for use based on a predetermined condition are selected based on the use situation The configuration includes a selection function and a transmission / reception function for transmitting / receiving data using the selected communication channel.
むろん、その記録媒体は、磁気記録媒体であってもよいし光磁気記録媒体であってもよいし、今後開発されるいかなる記録媒体においても全く同様に考えることができる。また、一次複製品、二次複製品などの複製段階については全く問う余地無く同等である。その他、供給方法として通信回線を利用して行なう場合でも本発明が利用されていることにはかわりない。 Of course, the recording medium may be a magnetic recording medium, a magneto-optical recording medium, or any recording medium that will be developed in the future. In addition, the duplication stages such as the primary duplication product and the secondary duplication product are equivalent without any question. In addition, even when the communication method is used as a supply method, the present invention is not changed.
さらに、一部がソフトウェアであって、一部がハードウェアで実現されている場合においても発明の思想において全く異なるものではなく、一部を記録媒体上に記憶しておいて必要に応じて適宜読み込まれるような形態のものとしてあってもよい。
本発明をソフトウェアで実現する場合、ハードウェアやオペレーティングシステムを利用する構成とすることも可能であるし、これらと切り離して実現することもできる。例えば、各種の演算処理といっても、その実現方法はオペレーティングシステムにおける所定の関数を呼び出して処理することも可能であれば、このような関数を呼び出すことなくハードウェアから入力することも可能である。そして、実際にはオペレーティングシステムの介在のもとで実現するとしても、プログラムが媒体に記録されて流通される過程においては、このプログラムだけで本発明を実施できるものと理解することができる。
Further, even when a part is software and a part is realized by hardware, the idea of the invention is not completely different, and a part is stored on a recording medium and is appropriately changed as necessary. It may be in the form of being read.
When the present invention is implemented by software, a configuration using hardware or an operating system may be used, or may be implemented separately from these. For example, even if it is a variety of arithmetic processing, if it can be processed by calling a predetermined function in the operating system, it can also be input from hardware without calling such a function. is there. It can be understood that the present invention can be implemented with only this program in the process in which the program is recorded and distributed on the medium even though it is actually realized with the intervention of the operating system.
また、本発明をソフトウェアで実施する場合、発明がプログラムを記録した媒体として実現されるのみならず、本発明がプログラム自体として実現されるのは当然であり、プログラム自体も本発明に含まれる。
また、以上のように使用する通信チャンネルを選択するだけであれば、必ずしも自身でデータの送受信を行なう必要はなく、単に通信チャンネルを選択する装置としても適用可能である。その一例として、複数の個別の無線端末が共通のアクセスポイントに対して無線でデータの送受信を行なうにあたり、所定の周波数帯域を割り当てられた複数の通信チャンネルの中から使用する通信チャンネルを選択するための通信チャンネル選択装置であって、上記各通信チャンネルごとに使用状況を判定する判定手段と、同使用状況に基づいて所定の条件に基づいて使用に適した通信チャンネルを選択する選択手段とを具備する構成としてある。
When the present invention is implemented by software, the present invention is not only realized as a medium storing a program, but the present invention is naturally realized as a program itself, and the program itself is also included in the present invention.
Further, if only the communication channel to be used is selected as described above, it is not always necessary to transmit and receive data by itself, and the present invention can also be applied as an apparatus for simply selecting a communication channel. As an example, when a plurality of individual wireless terminals wirelessly transmit / receive data to / from a common access point, a communication channel to be used is selected from a plurality of communication channels assigned a predetermined frequency band. A communication channel selection apparatus comprising: a determination unit that determines a usage status for each communication channel; and a selection unit that selects a communication channel suitable for use based on a predetermined condition based on the usage status. It is as composition to do.
むろん、その作用はデータ送受信を除いて上述したものと同様である。また、かかる装置を実現するための通信チャンネル選択プログラムとして実現することも可能であり、請求項16にかかる発明では、複数の個別の無線端末が共通のアクセスポイントに対して無線でデータの送受信を行なうにあたり、所定の周波数帯域を割り当てられた複数の通信チャンネルの中から使用する通信チャンネルを選択するための通信チャンネル選択プログラムであって、上記各通信チャンネルごとに使用状況を判定する判定機能と、同使用状況に基づいて所定の条件に基づいて使用に適した通信チャンネルを選択する選択機能とをコンピュータに実現させる構成としてある。
Of course, the operation is the same as described above except for data transmission / reception. Further, the present invention can be realized as a communication channel selection program for realizing such a device. In the invention according to
なお、上述した多種のバリエーションは、装置、方法、プログラムのいずれにおいても等しく適用可能であることはいうまでもない。 Needless to say, the various variations described above are equally applicable to any of the apparatus, method, and program.
以上説明したように本発明は、使用状況を事前に判定して通信チャンネルを選択するため、効率の良いデータの送受信を実現することが可能なデータ通信装置を提供することができる。
また、請求項2にかかる発明によれば、使用している通信チャンネルの偏りを解消して効率を向上させることができる。
さらに、請求項3にかかる発明によれば、上記選択手段は、使用されていない通信チャンネルがあればそれを選択するので、必然的に使用している通信チャンネルの偏りを解消し、効率を向上させることができる。
さらに、請求項4にかかる発明によれば、近隣の通信チャンネルに影響を及ぼすような場合に使用状況をより正確に反映させることができる。
さらに、請求項5にかかる発明によれば、各通信チャンネルを使用しているアクセスポイントの数を利用して簡易に使用状況を反映させることができる。
さらに、請求項6にかかる発明によれば、アクセスポイントから送出されるビーコンに基づくパッシブスキャンを行なうと、通信トラフィックに悪影響を与えることなくでアクセスポイントの数を検出することができる。
さらに、請求項7にかかる発明によれば、アクセスポイントの数に重み付けを与えることで、現実の電波の使用に近い使用状況を判定することが可能となる。
さらに、請求項8にかかる発明によれば、より具体的に現実の電波の使用に近い使用状況を判定することが可能となる。
さらに、請求項9にかかる発明によれば、通信速度の遅い通信方式を避けることでより確実に通信効率を向上させることができる。
さらに、請求項10にかかる発明によれば、時間の変化に即して最適な通信チャンネルを選択することが可能となる。
さらに、請求項11にかかる発明によれば、通信中の無線端末に影響を及ぼす危険性を回避できる。
さらに、請求項12,13,14にかかる発明によれば、同様の効果を奏するデータ通信装置、データ通信方法、データ通信プログラムを提供できる。
また、請求項15,16にかかる発明によれば、同様の効果を奏する通信チャンネル選択装置および通信チャンネル選択プログラムを提供できる。
As described above, the present invention can provide a data communication apparatus capable of realizing efficient data transmission / reception since the communication status is selected in advance by determining the usage status.
Moreover, according to the
Further, according to the invention of
Furthermore, according to the fourth aspect of the present invention, it is possible to more accurately reflect the usage status when it affects neighboring communication channels.
Furthermore, according to the
According to the sixth aspect of the present invention, when a passive scan based on a beacon transmitted from an access point is performed, the number of access points can be detected without adversely affecting communication traffic.
Furthermore, according to the
Further, according to the eighth aspect of the present invention, it is possible to determine a use situation that is closer to the actual use of radio waves.
Furthermore, according to the
Furthermore, according to the
Further, according to the invention of
Furthermore, according to the
Moreover, according to the
以上説明した本発明の構成および作用を一層明らかにするために、以下本発明の実施の形態を、以下の順序で説明する。
A.第1実施例
A−1.ネットワークの構成
A−2.最適通信チャンネル選択処理の内容
A−3.作用効果
B.まとめ
A.実施例:
A−1.ネットワークの構成:
図1は本発明の第1実施例であるネットワーク環境のハードウェア構成を示す説明図であり、図2はアクセスポイント(データ通信装置)の構成を示す説明図である。
In order to further clarify the configuration and operation of the present invention described above, embodiments of the present invention will be described in the following order.
A. First Example A-1. Network configuration A-2. Details of optimum communication channel selection processing A-3. Effect B. Summary
A. Example:
A-1. Network configuration:
FIG. 1 is an explanatory diagram showing a hardware configuration of a network environment according to the first embodiment of the present invention, and FIG. 2 is an explanatory diagram showing a configuration of an access point (data communication apparatus).
本ネットワーク環境では、無線LANの無線通信エリア内において、無線端末50,60,70がアクセスポイント20a,20b,20nを介して有線環境CLで接続されたインターネットINのサーバーSVにアクセス可能なものとなっている。
図1に示すように、無線通信エリア内には、無線LAN用の中継器であるアクセスポイント(無線基地局:データ通信装置)20(20a,20b,20nを総称する)が設置されている。アクセスポイント20は、図2に示すように、CPU11と、このCPU11とバスにより相互に接続されたROM12,RAM13,ハードディスク等の不揮発的な記憶装置14,ネットワークインタフェースとしてのWANポート17,有線LANとの接続用のLANポート22,無線通信インタフェース18,ディスプレイコントローラ15,入出力コントローラ16等の各部を備える。
In this network environment, in the wireless communication area of the wireless LAN, the
As shown in FIG. 1, an access point (wireless base station: data communication device) 20 (generally 20a, 20b, and 20n) that is a wireless LAN repeater is installed in the wireless communication area. As shown in FIG. 2, the
ROM12には、無線通信エリア内の無線端末50,60,70との通信やインターネットINへの接続に関する各種のプログラムとこのプログラムの実行に必要なデータが格納されている。ここで同プログラムの一例として、以下、図3〜図6に示す通信チャンネル設定プログラムが含まれている。
The
無線通信インターフェイス18と送信機25と受信機26は、所定の周波数帯域(2.4GHz帯)に設定された通信チャンネルch1〜ch13の13チャンネルの中からいずれかを選択してデータの送受信が可能である。通信チャンネルは上述した通信チャンネル設定プログラムで選択される。また、通信方式には、IEEE802.11b(以下、単に11b方式と呼ぶ)による11Mbpsの通信速度のものと、IEEE802.11g(以下、単に11g方式と呼ぶ)による54Mbpsの通信速度のものとがあるが、いずれを使用可能であるかは具体的なハードウェア構成によって決まっている。なお、図示していないが、計時機能を実現するタイマー回路なども備えている。
The
無線端末50,60,70には、アクセスポイント20との間での電波の送受信を行なえるようにする無線LAN接続用デバイスとして、無線LANアダプタ52,62,72が装着されている。この無線LANアダプタ52,62,72のデバイスドライバが無線端末50,60,70に組み込まれることにより、無線端末50,60,70は、装着された無線LANアダプタ52,62,72を認識し、無線LANアダプタ52,62,72を制御することが可能となる。
無線通信エリア内に入ったコンピュータとしての無線端末50,60,70は、装着された無線LANアダプタ52,62,72とアクセスポイント20との間で所定の通信チャンネルを使用した電波が送受信されることにより、アクセスポイント20との通信を無線で行なう。アクセスポイント20および無線LANアダプタ52,62,72は、やり取りするデータを通信に適した形式、いわゆるパケットに変換することが可能であり、これにより、無線端末50,60,70とアクセスポイント20との間においてデータの送受信をすることが可能となっている。
アクセスポイント20が各無線端末50,60,70からのアクセスを受けるにあたり、各アクセスポイント20a,20b,20gではデータ通信に使用する通信チャンネルを特定する必要がある。各アクセスポイント20a,20b,20gは、同通信チャンネルを特定した上でIDとしてのSSIDを含めたビーコンを適宜発信しており、各無線端末50,60,70は無線LANアダプタ52,62,72の起動時などに所定期間を費やしてパッシブスキャンを行い、無線通信エリア内に存在するアクセスポイント20a,20b,20gの各種情報を取得可能となっている。すなわち、パッシブスキャンでは、通信チャンネルを順次ch1からch13まで上げていきながら(下げていきながら)ビーコンを受信できるか否か判断し、ビーコンを受信できれば同ビーコンに含まれる情報からアクセスポイント20a,20b,20gのSSIDや通信方式などを取得していく。
When the
ここで、各無線端末50,60,70はアクセスポイント20a,20b,20gを上記SSIDにて認識し、接続するアクセスポイント20a,20b,20gを特定した上で上記ビーコンに含まれる情報から通信チャンネルを特定するようにしている。従って、通信チャンネルを主体的に決定するのはアクセスポイント20の側であって、無線端末50,60,70の側ではない。
Here, the
A−2.最適通信チャンネル選択処理の内容:
図3〜図6は通信チャンネル設定プログラムをフローチャートにより示している。図3はそのメインフローに相当し、ステップS110にてループ処理用の変数CHに初期値としての「1」を設定し、ステップS120〜S150の処理を所定のチャンネル分だけ繰り返して各通信チャンネルごとの使用状況を判定し、最後にステップS160にて使用する通信チャンネルを決定する。この意味で、ステップS110〜S150の処理が判定機能(判定手段、判定工程)に相当し、ステップS160の処理が選択機能(選択手段、選択工程)に相当する。
A-2. Details of the optimal communication channel selection process:
3 to 6 are flowcharts showing the communication channel setting program. FIG. 3 corresponds to the main flow. In step S110, “1” as an initial value is set to the variable CH for loop processing, and the processing of steps S120 to S150 is repeated for a predetermined channel for each communication channel. The communication channel to be used is finally determined in step S160. In this sense, the process of steps S110 to S150 corresponds to a determination function (determination means, determination process), and the process of step S160 corresponds to a selection function (selection means, selection process).
ステップS110にて初期値を与えられた変数CHは、ステップS140にて「1」ずつインクリメントされ、ステップS150にて「13」を超えたと判断されるまでステップS120,S130の処理を繰り返すことになる。通信チャンネルはch1〜ch13があるので、このループ処理で各通信チャンネルを網羅することができる。 The variable CH given the initial value in step S110 is incremented by “1” in step S140, and the processes in steps S120 and S130 are repeated until it is determined in step S150 that it exceeds “13”. . Since communication channels include ch1 to ch13, each loop can be covered by this loop processing.
このループ処理の中では、まず、ステップS120でチャンネルCHを使用するアクセスポイントの数をパッシブスキャンで検出する。本実施形態では、通信効率を最適化するためにも通信方式の種別を含めて検出するようにしている。すなわち、11b方式のアクセスポイントの数Nbと11g方式のアクセスポイントの数Ngとを別個に計数する。ただし、用途によってはそれらの数をまとめた数N(=Nb+Ng)として利用することもある。 In this loop processing, first, in step S120, the number of access points using the channel CH is detected by passive scanning. In this embodiment, in order to optimize communication efficiency, detection is made including the type of communication method. That is, the number Nb of 11b access points and the number Ng of 11g access points are counted separately. However, depending on the application, the number N (= Nb + Ng) may be used.
次に、ステップS130では各通信チャンネルごとの擬似電波密度を計算する。上述した無線LANの通信規格IEEE802.11b,IEEE802.11gでは、13チャンネルがそれぞれ全く個別の通信環境を提供できるのではなく、一つの通信チャンネルを使用するとその近隣の通信チャンネルでのデータの送受信にも少なからず影響を及ぼす。その影響度は、使用する通信チャンネルを中心として通信チャンネルの数値が離れるに従って減っていく。この影響度は重み付けとして表すとすると、中心の通信チャンネルを1としたとき、概ね、チャンネル数値が±1離れた通信チャンネルにおいて1/2、チャンネル数値が±2離れた通信チャンネルにおいて1/3、チャンネル数値が±3離れた通信チャンネルにおいて1/6と表せる。 Next, in step S130, the pseudo radio wave density for each communication channel is calculated. In the wireless LAN communication standards IEEE802.11b and IEEE802.11g described above, the 13 channels can not provide a completely individual communication environment, but if one communication channel is used, data can be transmitted and received on neighboring communication channels. It has a considerable effect. The degree of influence decreases as the value of the communication channel increases with the communication channel to be used as the center. If this degree of influence is expressed as weighting, assuming that the central communication channel is 1, the channel value is approximately 1/2 in the communication channel with a distance of ± 1 and the channel value is 1/3 in the communication channel with a distance of ± 2. It can be expressed as 1/6 in a communication channel whose channel value is ± 3 away.
このような技術背景に鑑み、擬似電波密度は図4に示すフローチャートに従って計算する。まず、ステップS205ではループ処理のための変数VCHに初期値としての「1」を設定し、ステップS210ではパッシブスキャンにて検出したチャンネルCHを通信チャンネルとしているアクセスポイントの数を変数に代入する。フローチャート上ではNbgと表記しているが、通信方式ごとに変数Nb,Ng,N(=Nb+Ng)にそれぞれに対応するアクセスポイントの数を代入する。 In view of such a technical background, the pseudo radio wave density is calculated according to the flowchart shown in FIG. First, in step S205, “1” as an initial value is set to the variable VCH for loop processing, and in step S210, the number of access points having the channel CH detected by the passive scan as the communication channel is substituted for the variable. Although indicated as Nbg in the flowchart, the number of access points corresponding to the variables Nb, Ng, and N (= Nb + Ng) is substituted for each communication method.
その後、ステップS215〜S260を繰り返し、変数VCHが「1」〜「13」となる間、各通信チャンネルごとに用意されている擬似電波密度のための変数PTbg(VCH)を計算していくことになる。具体的には、ステップS215で現在の変数VCHの値が現在の通信チャンネルの数値と±3の隔たりがあるか否かを判断し、YESである場合にはステップS220にて通信方式ごとに擬似電波密度を計算して変数PTbg(VCH)に代入する。ここでも、フローチャート上ではPTbg(VCH)やNbgと表記しているが、具体的には、通信方式ごとに計算する。計算式において、計算前の擬似電波密度PTbg(VCH)に加算するのはアクセスポイントの数Nbgに「1」を乗算した数値である。上述したように使用する通信チャンネルを中心として±3の数値の通信チャンネルが受ける影響度は1/6である。しかし、整数で演算して演算処理を簡易化することが可能である。±3の数値の通信チャンネルが受ける影響度の1/6に対して重み付けを「1」とするのであれば、±2の数値の通信チャンネルが受ける影響度の1/3に対して重み付けは2が適当であり、同様にして±1の数値の通信チャンネルが受ける影響度の1/2に対して重み付けは3が適当であり、中心の通信チャンネルが受ける影響度の1に対して重み付けは6が適当となる。ステップS215,S225,S234,S245にて、それぞれ使用する通信チャンネルを中心として±3の数値の通信チャンネルであるのか、±2の数値の通信チャンネルであるのか、±1の数値の通信チャンネルであるのか、中心の通信チャンネルであるのかを判定し、それぞれに該当する場合は、ステップS220,S230,S240,S250にてアクセスポイントの数Nbgに重み付けを乗算した値を擬似電波密度の値として計算する。 Thereafter, steps S215 to S260 are repeated, and the variable PTbg (VCH) for the pseudo radio wave density prepared for each communication channel is calculated while the variable VCH becomes “1” to “13”. Become. Specifically, in step S215, it is determined whether or not the current variable VCH has a difference of ± 3 from the value of the current communication channel. If YES, in step S220, each communication method is simulated. The radio wave density is calculated and substituted for the variable PTbg (VCH). Here, PTbg (VCH) and Nbg are shown in the flowchart, but specifically, the calculation is performed for each communication method. In the calculation formula, what is added to the pseudo radio wave density PTbg (VCH) before calculation is a value obtained by multiplying the number Nbg of access points by “1”. As described above, the degree of influence of a communication channel having a numerical value of ± 3 centering on the communication channel to be used is 1/6. However, it is possible to simplify the arithmetic processing by calculating with an integer. If the weight is set to “1” with respect to 1/6 of the influence degree of the communication channel having the numerical value of ± 3, the weighting is 2 with respect to 1/3 of the influence degree of the communication channel having the numerical value of ± 2. Similarly, a weight of 3 is appropriate for 1/2 of the degree of influence of a communication channel having a numerical value of ± 1, and a weight of 6 for a degree of influence of a central communication channel. Is appropriate. In steps S215, S225, S234, and S245, each is a communication channel having a numerical value of ± 3, a communication channel having a numerical value of ± 2, or a communication channel having a numerical value of ± 1 around the communication channel to be used. Or the central communication channel, and if it corresponds to each, the value obtained by multiplying the number of access points Nbg by the weight in steps S220, S230, S240, and S250 is calculated as the value of the pseudo radio wave density. .
むろん、複数の通信チャンネルが利用されていれば影響度は累積的になるので、アクセスポイントの数を各通信チャンネルごとに検出したら、その都度、影響が及ぼす近隣チャンネルのすべてについて上述した擬似電波密度の計算を行う。
なお、上述した計算を行ったらステップS255でループ処理用の変数VCHを「1」だけインクリメントし、ステップS260にて同変数VCHが「13」を超えたと判断されるまで繰り返す。
ループ処理用の変数CHについて「1」から「13」まで変化させながら、その都度、ループ処理用の変数VCHについて「1」から「13」まで変化させて上述した処理を繰り返すと、すべての通信チャンネルで他の通信チャンネルを使用したデータ送受信で受ける影響度合いを含めて使用状況を判定したことになる。
Of course, if multiple communication channels are used, the degree of influence will be cumulative, so if the number of access points is detected for each communication channel, the pseudo radio wave density mentioned above for all of the neighboring channels that will be affected each time. Perform the calculation.
When the above calculation is performed, the loop processing variable VCH is incremented by “1” in step S255, and the process is repeated until it is determined in step S260 that the variable VCH exceeds “13”.
When the loop processing variable CH is changed from “1” to “13” and the loop processing variable VCH is changed from “1” to “13” each time, the above-described processing is repeated. That is, the usage status is determined including the degree of influence received by data transmission / reception using another communication channel.
そこで、図3に示すステップS160にて以上のようにして計算した擬似電波密度に基づいて最適な通信チャンネルを決定する。
図5と図6はその詳細なフローチャートを示している。
まず、ステップS305では、使用する変数のそれぞれに初期値を設定する。ここでは、ループ処理用の変数CHに「1」を、最小擬似電波密度値用の変数Wに「65535」を、最小擬似電波密度の通信チャンネル用の変数chanに「0」を代入する。なお、変数Wに代入する値は2バイトで表される正の整数値の最大値であり、各変数を2バイト変数とすることに基づく上限値を表している。
Therefore, an optimum communication channel is determined based on the pseudo radio wave density calculated as described above in step S160 shown in FIG.
5 and 6 show detailed flowcharts thereof.
First, in step S305, an initial value is set for each variable to be used. Here, “1” is substituted into the variable CH for loop processing, “65535” is substituted into the variable W for the minimum pseudo radio wave density value, and “0” is substituted into the variable chan for the communication channel with the minimum pseudo radio wave density. Note that the value assigned to the variable W is the maximum positive integer value represented by 2 bytes, and represents the upper limit value based on the fact that each variable is a 2-byte variable.
初期値の設定後、ステップS310では変数CHで表される現在の通信チャンネルにおいて検出されたアクセスポイントが11b方式を採用しているものか否かを判断している。本実施形態においては、他にも同じ通信チャンネルを使用することになるアクセスポイントが存在するとしても、できるだけ11b方式のアクセスポイントがある通信チャンネルは避けようとしている。11b方式での通信速度の理論値は11Mbpsであるのに対し、11g方式での通信速度の理論値は54Mbpsである。これは同じデータ量を通信するのに要する通信時間の差に反映される。従って、複数のアクセスポイントが存在している状況で同じ通信チャンネルを使用せざるをえないとしてもできるだけ11b方式のアクセスポイントとの共存は避け、通信速度の低下を回避している。 After setting the initial value, in step S310, it is determined whether or not the access point detected in the current communication channel represented by the variable CH adopts the 11b method. In this embodiment, even if there are other access points that will use the same communication channel, an attempt is made to avoid a communication channel having an 11b access point as much as possible. The theoretical value of the communication speed in the 11b system is 11 Mbps, whereas the theoretical value of the communication speed in the 11g system is 54 Mbps. This is reflected in the difference in communication time required to communicate the same amount of data. Therefore, even if it is necessary to use the same communication channel in a situation where there are a plurality of access points, coexistence with 11b access points is avoided as much as possible, and a decrease in communication speed is avoided.
アクセスポイントが11b方式でないときには、ステップS315にて変数CHの通信チャンネルにおける11g方式の擬似電波密度PTg(CH)が現時点での最小擬似電波密度値Wよりも小さいか判断する。このとき、例外的に通信チャンネルが「11」の場合に限り、擬似電波密度PTg(CH)が現時点での最小擬似電波密度値Wと同じである場合も含むようにしている。すなわち、通信チャンネルを変化させながらワークの変数Wに保存されている最小擬似電波密度値よりも小さい擬似電波密度であるか否かを判断し、小さければ最小擬似電波密度値Wとともに仮チャンネル値としての変数chanに現在の通信チャンネルの変数値を代入して更新する。 If the access point is not the 11b system, it is determined in step S315 whether or not the 11g system pseudo radio wave density PTg (CH) in the communication channel of the variable CH is smaller than the current minimum pseudo radio wave density value W. At this time, only when the communication channel is “11” exceptionally, the case where the pseudo radio wave density PTg (CH) is the same as the current minimum pseudo radio wave density value W is also included. That is, it is determined whether or not the pseudo radio wave density value is smaller than the minimum pseudo radio wave density value stored in the work variable W while changing the communication channel. Update the variable chan by substituting the variable value of the current communication channel.
その後、ステップS325にて変数CHを「1」だけインクリメントし、ステップS330にて「13」を超えたと判断するまでステップS310〜ステップS325の処理を繰り返す。
「13」を超えたと判断されたら、ステップS335では仮チャンネル値としての変数chanが「0」であるか否かを判断し、「0」でなければ最適な通信チャンネルを求められたとして本処理を終了する。上述したように11b方式での共存を避けるため、ステップS310にて各通信チャンネルを使用するアクセスポイントが11b方式のものかを判断し、11b方式のものであれば最小擬似電波密度値Wの更新や仮チャンネルchanの更新をしないようにしている。このため、11b方式のアクセスポイントばかりが存在しているようであれば、仮チャンネル値は初期値の「0」のまま更新されることがない。従って、仮チャンネル値が初期値の「0」のままであれば、11b方式での共存は避けられないものと判断し、ステップS355にて新たにループ処理用の変数CHに「1」を代入し、11b方式を含めて擬似電波密度の値が最も小さくなるものを探す。
Thereafter, the variable CH is incremented by “1” in step S325, and the processes in steps S310 to S325 are repeated until it is determined in step S330 that “13” has been exceeded.
If it is determined that “13” is exceeded, it is determined in step S335 whether or not the variable chan as the temporary channel value is “0”. If it is not “0”, it is determined that an optimum communication channel has been obtained. Exit. As described above, in order to avoid coexistence in the 11b system, it is determined in step S310 whether the access point using each communication channel is in the 11b system. If the access point is in the 11b system, the minimum pseudo radio wave density value W is updated. And temporary channel chan are not updated. For this reason, if there are only 11b access points, the temporary channel value remains the initial value “0” and is not updated. Therefore, if the temporary channel value remains at the initial value “0”, it is determined that coexistence in the 11b method is unavoidable, and “1” is newly assigned to the loop processing variable CH in step S355. Then, the one having the smallest value of the pseudo radio wave density including the 11b method is searched.
最小擬似電波密度値Wや仮チャンネルchanを使用した最小の擬似電波密度となる通信チャンネルを探す処理は先に説明したステップS315,S320の場合と同様である。唯一異なるのは、11b方式の共存を避けるためのステップS310の判断処理がない点だけである。従って、今度は最小の擬似電波密度となる通信チャンネルを必ず検出できる。 The process of searching for the communication channel having the minimum pseudo radio wave density using the minimum pseudo radio wave density value W or the temporary channel chan is the same as in the case of steps S315 and S320 described above. The only difference is that there is no determination process in step S310 to avoid coexistence of the 11b method. Therefore, it is possible to surely detect the communication channel having the minimum pseudo radio wave density this time.
次に、上記構成からなる本実施形態の動作を説明する。
図7は、通信チャンネルとしてch1とch12を使用するアクセスポイントがそれぞれ一台ずつ設置されているときの擬似電波密度を演算した状況をテーブルとして示している。
ch1の通信チャンネルを使用するアクセスポイントが一台設置されていることにより、近隣通信チャンネルであるch1〜ch4まで擬似電波密度の値が求められる。また、ch12の通信チャンネルを使用するアクセスポイントが一台設置されていることにより、ch12を中心の通信チャンネルとしてその近隣通信チャンネルであるch9〜ch13まで擬似電波密度の値が求められる。図において、「x」を付しているのは11g方式を採用するアクセスポイントに対して重み付けを反映させて付与されたポイントを表している。すなわち、チャンネル番号の数値の行に記載された「x」の数が擬似電波密度として表されている。ステップS130の処理では当該テーブルの内容が作成されることになる。
Next, the operation of the present embodiment configured as described above will be described.
FIG. 7 shows, as a table, a situation in which the pseudo radio wave density is calculated when one access point that uses ch1 and ch12 is installed as a communication channel.
Since one access point that uses the communication channel of ch1 is installed, the value of the pseudo radio wave density is obtained from ch1 to ch4 that are neighboring communication channels. In addition, since one access point using the communication channel of ch12 is installed, the value of the pseudo radio wave density is obtained from ch9 to ch13, which are the neighboring communication channels, with ch12 as the central communication channel. In the figure, “x” indicates a point assigned by reflecting weighting to an access point adopting the 11g method. That is, the number of “x” described in the numerical value line of the channel number is represented as the pseudo radio wave density. In the process of step S130, the contents of the table are created.
続いてステップS160の処理で擬似電波密度の最も少ない通信チャンネルを「1」から順次探していく。図から明らかなようにチャンネル番号を順次上げていって通信チャンネルが「5」となった時点で最小擬似電波密度値Wの値は最小となり、以後更新されなくなる。この結果、最適通信チャンネルとして「5」チャンネルが選択されることになる。 Subsequently, in step S160, the communication channel with the smallest pseudo radio wave density is sequentially searched from “1”. As is apparent from the figure, when the channel number is sequentially increased and the communication channel becomes “5”, the value of the minimum pseudo radio wave density value W becomes minimum and is not updated thereafter. As a result, the “5” channel is selected as the optimum communication channel.
一方、このようにして使用する通信チャンネルを選択されたアクセスポイントが11b方式であるとしたときの上記テーブルの状況を図8に示している。同テーブルでは11g方式の擬似電波密度と区別できるように擬似電波密度を「o」として付している。
この場合もステップS130にて同テーブルを作成し、ステップS160にて擬似電波密度が最も少ない通信チャンネルを探すことになる。しかし、今回は11b方式のアクセスポイントが存在しているので、チャンネル番号を順次上げていくとき、チャンネル番号「5」のときは最小擬似電波密度との比較は行われない。そして、チャンネル番号「8」と「9」のときに擬似電波密度はそれぞれ同じ「1」となるも、最初に最小となったチャンネル番号「8」の時点で最小擬似電波中か密度Wが更新され、選択される。
On the other hand, FIG. 8 shows the state of the table when the access point that has selected the communication channel to be used in this way is the 11b system. In this table, the pseudo radio wave density is attached as “o” so that it can be distinguished from the 11 g pseudo radio wave density.
In this case, the same table is created in step S130, and a communication channel with the smallest pseudo radio wave density is searched for in step S160. However, since there is an 11b access point this time, when the channel number is sequentially increased, the channel number “5” is not compared with the minimum pseudo radio wave density. The pseudo radio wave density becomes the same “1” when the channel numbers are “8” and “9”, but the minimum pseudo radio wave density or the density W is updated at the time of the channel number “8” that is the smallest first. And selected.
なお、11b方式の共存を避ける範囲として11b方式で影響を及ぼす近隣通信チャンネルを避けるようにすることも可能である。このようにするときには、チャンネル番号「8」のときに擬似電波密度の比較が行われず、チャンネル番号「9」のときに最小擬似電波密度値Wが更新され、選択される。 It is also possible to avoid neighboring communication channels that are affected by the 11b system as a range to avoid the coexistence of the 11b system. In this case, the pseudo radio wave density is not compared when the channel number is “8”, and the minimum pseudo radio wave density value W is updated and selected when the channel number is “9”.
ところで、上述したような通信チャンネルの選択、決定処理は、新たにアクセスポイント20を設置する場合に限られない。無線端末50,60,70を含め、無線LAN環境では通信端末50,60,70が増減したり、アクセスポイント自体が増減することがあり得る。このため、図9に示すように、所定期間経過したら各アクセスポイントにて各通信チャンネルの使用状況を判定し、その時点で最適な通信チャンネルを選択するようにしても良い。
By the way, the communication channel selection / determination process as described above is not limited to the case where an
すなわち、同図に示すように、ステップS405にて所定時間経過したか否かを判断し、所定時間経過しているときにはステップS415にて無線端末を通信中か否かを判断する。ステップS415にて無線端末を通信中か否かを判断するのは、無線端末と通信中に通信チャンネルを変更すると通信が途切れてしまい、悪影響を及ぼしかねないからである。そして、無線端末と通信していなければステップS420にて通信チャンネルの再設定を行う。その内容は図3に示すものと全く同様である。なお、ステップS405にて所定時間経過していないと判断された場合は、ステップS410にて通常の通信処理を実行し、再度、ステップS405にて所定時間経過したか否かを判断する。 That is, as shown in the figure, it is determined whether or not a predetermined time has elapsed in step S405, and if the predetermined time has elapsed, it is determined whether or not the wireless terminal is communicating in step S415. The reason why it is determined in step S415 whether or not the wireless terminal is communicating is that if the communication channel is changed during communication with the wireless terminal, communication is interrupted, which may adversely affect the wireless terminal. If not communicating with the wireless terminal, the communication channel is reset in step S420. The contents are exactly the same as those shown in FIG. If it is determined in step S405 that the predetermined time has not elapsed, normal communication processing is executed in step S410, and it is determined again in step S405 whether the predetermined time has elapsed.
また、上述した通信チャンネルの選択処理は、必ずしもアクセスポイントに実装されたプログラムなどによって行なう必要はなく、無線LANアダプタ52,62,72を装着した無線端末50,60,70でも実現可能である。この場合は、最適な通信チャンネルを選択する処理まで実行可能であるから、同プログラムを実装していないアクセスポイントを設置するにあたり、無線端末50,60,70にて当該処理を実施して最適な通信チャンネルを求め、同通信チャンネルを新たに設置するアクセスポイントで使用する通信チャンネルに設定すればよい。
The communication channel selection process described above is not necessarily performed by a program or the like installed in the access point, and can be realized by the
このように、ステップS120でチャンネルCHを使用するアクセスポイントの数をパッシブスキャンで検出し、ステップS130では同検出されたアクセスポイントの数に基づいて各通信チャンネルごとの擬似電波密度を計算し、ステップS160にて擬似電波密度の最も少ない通信チャンネルを「1」から順次探していくようにし、アクセスポイントの数から各通信チャンネルの使用状況に基づいて選択することで、比較的簡易な手法で効率の良い通信を行うことが可能な通信チャンネルを選択できるようになった。 As described above, the number of access points using the channel CH is detected by passive scan in step S120, and the pseudo radio wave density for each communication channel is calculated based on the number of detected access points in step S130. In S160, the communication channel with the lowest pseudo radio wave density is searched sequentially from “1”, and by selecting from the number of access points based on the usage status of each communication channel, the efficiency can be improved with a relatively simple method. A communication channel capable of good communication can be selected.
20(20a,20b,20n)…アクセスポイント 20 (20a, 20b, 20n) ... access point
Claims (16)
上記各通信チャンネルごとに使用状況を判定する判定手段と、
同使用状況に基づいて所定の条件に基づいて使用に適した通信チャンネルを選択する選択手段と、
同選択された通信チャンネルを使用してデータの送受信を行う送受信手段とを具備することを特徴とするデータ通信装置。 When the plurality of individual wireless terminals wirelessly transmit / receive data to / from a common access point, the access point uses any one of a plurality of communication channels assigned a predetermined frequency band. The data communication device of
A determination means for determining a use situation for each communication channel;
A selection means for selecting a communication channel suitable for use based on a predetermined condition based on the use situation;
A data communication apparatus comprising: transmission / reception means for transmitting / receiving data using the selected communication channel.
上記各通信チャンネルごとに使用状況を判定する判定手段と、
同使用状況に基づいて所定の条件に基づいて使用に適した通信チャンネルを選択する選択手段と、
同選択された通信チャンネルを使用してデータの送受信を行う送受信手段とを具備することを特徴とするデータ通信装置。 A data communication device for transmitting and receiving data through any one of the communication channels selected from a plurality of communication channels assigned a predetermined frequency band,
A determination means for determining a use situation for each communication channel;
A selection means for selecting a communication channel suitable for use based on a predetermined condition based on the use situation;
A data communication apparatus comprising: transmission / reception means for transmitting / receiving data using the selected communication channel.
上記各通信チャンネルごとに使用状況を判定する判定工程と、
同使用状況に基づいて所定の条件に基づいて使用に適した通信チャンネルを選択する選択工程と、
同選択された通信チャンネルを使用してデータの送受信を行う送受信工程とを具備することを特徴とするデータ通信方法。 A data communication method in which any one of a plurality of communication channels to which a predetermined frequency band is assigned is used, and a plurality of individual wireless terminals wirelessly transmit and receive data to a common access point. And
A determination step of determining the use status for each communication channel;
A selection step of selecting a communication channel suitable for use based on a predetermined condition based on the same usage situation;
A data transmission method comprising: a transmission / reception step of transmitting / receiving data using the selected communication channel.
上記各通信チャンネルごとに使用状況を判定する判定機能と、
同使用状況に基づいて所定の条件に基づいて使用に適した通信チャンネルを選択する選択機能と、
同選択された通信チャンネルを使用してデータの送受信を行う送受信機能とをコンピュータに実現させることを特徴とするデータ通信プログラム。 A data communication program in which a plurality of individual wireless terminals wirelessly transmit and receive data to and from a common access point using any one of a plurality of communication channels assigned a predetermined frequency band. And
A determination function for determining the usage status for each communication channel;
A selection function for selecting a communication channel suitable for use based on a predetermined condition based on the same usage situation;
A data communication program for causing a computer to realize a transmission / reception function for transmitting / receiving data using the selected communication channel.
上記各通信チャンネルごとに使用状況を判定する判定手段と、
同使用状況に基づいて所定の条件に基づいて使用に適した通信チャンネルを選択する選択手段とを具備することを特徴とする通信チャンネル選択装置。 Communication channel selection for selecting a communication channel to be used from a plurality of communication channels assigned a predetermined frequency band when a plurality of individual wireless terminals wirelessly transmit and receive data to a common access point A device,
A determination means for determining a use situation for each communication channel;
A communication channel selection device comprising: selection means for selecting a communication channel suitable for use based on a predetermined condition based on the use status.
上記各通信チャンネルごとに使用状況を判定する判定機能と、
同使用状況に基づいて所定の条件に基づいて使用に適した通信チャンネルを選択する選択機能とをコンピュータに実現させることを特徴とする通信チャンネル選択プログラム。 Communication channel selection for selecting a communication channel to be used from a plurality of communication channels assigned a predetermined frequency band when a plurality of individual wireless terminals wirelessly transmit and receive data to a common access point A program,
A determination function for determining the usage status for each communication channel;
A communication channel selection program for causing a computer to realize a selection function for selecting a communication channel suitable for use based on a predetermined condition based on the use situation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004179127A JP4519535B2 (en) | 2004-06-17 | 2004-06-17 | Data communication device, data communication method, data communication program, communication channel selection device, and communication channel selection program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004179127A JP4519535B2 (en) | 2004-06-17 | 2004-06-17 | Data communication device, data communication method, data communication program, communication channel selection device, and communication channel selection program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006005603A true JP2006005603A (en) | 2006-01-05 |
JP4519535B2 JP4519535B2 (en) | 2010-08-04 |
Family
ID=35773621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004179127A Active JP4519535B2 (en) | 2004-06-17 | 2004-06-17 | Data communication device, data communication method, data communication program, communication channel selection device, and communication channel selection program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4519535B2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014519774A (en) * | 2011-06-08 | 2014-08-14 | マーベル ワールド トレード リミテッド | Method and apparatus for dynamically adjusting configuration parameters of a discovery protocol during discovery of a device in a wireless network |
JP2016019065A (en) * | 2014-07-04 | 2016-02-01 | 株式会社バッファロー | Device, method and program for communication channel selection |
CN112753238A (en) * | 2018-09-27 | 2021-05-04 | 佳能株式会社 | Communication device, control method for communication device, and program |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5817635B2 (en) | 2012-04-20 | 2015-11-18 | コニカミノルタ株式会社 | Data communication system and radiographic imaging system |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003037607A (en) * | 2001-05-08 | 2003-02-07 | Lucent Technol Inc | Access point, communication system, dynamic channel selecting method and data carrier |
JP2003309572A (en) * | 2002-04-15 | 2003-10-31 | Sony Corp | Communication system, apparatus for communication control, method therefor and computer program |
-
2004
- 2004-06-17 JP JP2004179127A patent/JP4519535B2/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003037607A (en) * | 2001-05-08 | 2003-02-07 | Lucent Technol Inc | Access point, communication system, dynamic channel selecting method and data carrier |
JP2003309572A (en) * | 2002-04-15 | 2003-10-31 | Sony Corp | Communication system, apparatus for communication control, method therefor and computer program |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014519774A (en) * | 2011-06-08 | 2014-08-14 | マーベル ワールド トレード リミテッド | Method and apparatus for dynamically adjusting configuration parameters of a discovery protocol during discovery of a device in a wireless network |
JP2016019065A (en) * | 2014-07-04 | 2016-02-01 | 株式会社バッファロー | Device, method and program for communication channel selection |
CN112753238A (en) * | 2018-09-27 | 2021-05-04 | 佳能株式会社 | Communication device, control method for communication device, and program |
CN112753238B (en) * | 2018-09-27 | 2023-07-18 | 佳能株式会社 | Communication device, control method for communication device, and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
JP4519535B2 (en) | 2010-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2702273C1 (en) | Methods and device for selecting expanded distributed access parameters for a channel for different stations | |
US8451733B2 (en) | Methods of optimizing scanning parameters for a plurality of channels in a wireless band | |
US8306003B2 (en) | Throughput performance in the presence of in-band interference in a CSMA based network | |
RU2666313C2 (en) | Deferral based on bssid information | |
KR101061963B1 (en) | Wireless communication method and apparatus for implementing access point startup and initial channel selection process | |
US9002389B2 (en) | Method, apparatus, and terminal for determining transmission mode | |
EP1443707A2 (en) | Channel decision method, and radio station and terminal device | |
US7468960B2 (en) | Network system comprising access points | |
JP2007506379A (en) | Reduces data transfer rate of access point | |
CN103491569A (en) | Method, apparatus, and computer program product for wireless short-range communication disconnection | |
US8825103B2 (en) | Transmission power control | |
JP2007037145A (en) | Selection method of access point and radio channel | |
US6842625B2 (en) | Method for autonomous frequency management for reliable data communications | |
JP2011529281A (en) | Apparatus and method for transmitting and receiving data | |
JP5076380B2 (en) | Wireless communication system, wireless base station, wireless terminal device, wireless communication control method, and wireless communication control program | |
KR20100012355A (en) | Method for controlling access of communication medium according to mac protocol of ieee 802.11 | |
JP2008153821A (en) | Radio communication system, terminal, base station, and control program | |
JP4519535B2 (en) | Data communication device, data communication method, data communication program, communication channel selection device, and communication channel selection program | |
JP2003259429A (en) | Radio communication system, radio terminal unit, and radio base-station equipment | |
CN102027783B (en) | Transmitting and receiving method of communication network node, module, node and system. | |
KR20050064267A (en) | Data transmitting method for wireless network using access point | |
US10993179B2 (en) | Wireless communication method and system including wireless relay devices that determine information about presence and absence of a response signal from a wireless terminal | |
KR101000932B1 (en) | Method and apparatus for allowing a device which supports multiple PHY communication modes to communicate with other devices in Wireless Personal Area Network | |
JP2001197537A (en) | Method for controlling sector by connected base station in mobile communication system and mobile station device | |
KR20030066347A (en) | Method for evaluating radio links in a communication network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20051221 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070528 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091211 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091222 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100209 |
|
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: 20100420 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100519 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130528 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4519535 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160528 Year of fee payment: 6 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |