[go: up one dir, main page]

JP2008219358A - Wireless communication system, wireless communication apparatus, wireless communication method, and computer program - Google Patents

Wireless communication system, wireless communication apparatus, wireless communication method, and computer program Download PDF

Info

Publication number
JP2008219358A
JP2008219358A JP2007052779A JP2007052779A JP2008219358A JP 2008219358 A JP2008219358 A JP 2008219358A JP 2007052779 A JP2007052779 A JP 2007052779A JP 2007052779 A JP2007052779 A JP 2007052779A JP 2008219358 A JP2008219358 A JP 2008219358A
Authority
JP
Japan
Prior art keywords
packet
wireless
user data
wireless device
wireless communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2007052779A
Other languages
Japanese (ja)
Inventor
Takashi Aihara
隆 相原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2007052779A priority Critical patent/JP2008219358A/en
Publication of JP2008219358A publication Critical patent/JP2008219358A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

【課題】IEEE802.11を利用したCE機器で、エンドユーザが接続に必要なパラメータを入力することやチャンネル設定を行なうことは困難である。また、PowerSaveモードにある無線機器に対してパケットの取りこぼしなくスキャンを行なうことは難しい。
【解決手段】接続前に、無線機器間で任意の情報をやりとりできるようにし、接続のためのパラメータを自動的に交換・設定し、ネットワーク全体のチャンネル利用効率を高めるチャンネル配置を自動的に行ない、PowerSaveモードであってもスキャンする側から状態の操作を行なうことで確実にスキャンする。
【選択図】 図1
In a CE device using IEEE 802.11, it is difficult for an end user to input parameters necessary for connection and to set a channel. In addition, it is difficult to scan a wireless device in the Power Save mode without missing packets.
Before connection, arbitrary information can be exchanged between wireless devices, parameters for connection are automatically exchanged and set, and channel arrangement is automatically performed to improve channel use efficiency of the entire network. Even in the Power Save mode, scanning is performed reliably by operating the state from the scanning side.
[Selection] Figure 1

Description

本発明は、無線LAN(Local Area Network)若しくはPAN(Personal Area Network)のように複数の通信局間で相互に通信を行なう無線通信システム、無線通信装置及び無線通信方法、並びにコンピュータ・プログラムに係り、特に、接続前の無線装置同士が事前に適切な接続相手を探すとともに接続に必要な情報を簡素な手続で共通に指定してネットワークを形成する無線通信システム、無線通信装置及び無線通信方法、並びにコンピュータ・プログラムに関する。   The present invention relates to a wireless communication system, a wireless communication apparatus, a wireless communication method, and a computer program that communicate with each other between a plurality of communication stations such as a wireless LAN (Local Area Network) or PAN (Personal Area Network). In particular, a wireless communication system, a wireless communication apparatus, and a wireless communication method, in which wireless devices before connection search for an appropriate connection partner in advance and form a network by commonly specifying information necessary for connection in a simple procedure, And a computer program.

さらに詳しくは、本発明は、通信に使用可能な複数の電波周波数帯がチャネルとして割り当てられている通信環境下で、共存する複数のネットワーク全体のチャネル効率を考慮して各ネットワークのチャネル配置を決定する無線通信システム、無線通信装置及び無線通信方法、並びにコンピュータ・プログラムに係り、特に、各無線装置がパワー・マネージメント動作を有効化させながら自律分散的に動作する通信環境下で、正確なスキャン動作を実現してチャネル配置を最適化する無線通信システム、無線通信装置及び無線通信方法、並びにコンピュータ・プログラムに関する。   More specifically, the present invention determines the channel arrangement of each network in consideration of the channel efficiency of the entire coexisting networks in a communication environment where a plurality of radio frequency bands usable for communication are allocated as channels. The present invention relates to a wireless communication system, a wireless communication apparatus, a wireless communication method, and a computer program, and more particularly, an accurate scanning operation in a communication environment in which each wireless apparatus operates autonomously while enabling power management operation. The present invention relates to a wireless communication system, a wireless communication apparatus and a wireless communication method, and a computer program that optimize the channel arrangement.

旧来の有線通信方式における配線から解放するシステムとして、無線ネットワークが注目されている。例えば、IEEE(The Institute of Electrical and Electronics Engineers)802.11a、IEEE802.11b、あるいはIEEE802.1gといった無線LAN規格が代表的である。無線LANによれば柔軟なインターネット接続が可能であり、既存の有線LANを置き換えるだけでなく、ホテルや空港ラウンジ、駅、カフェといった公共の場所でもインターネット接続手段を提供することができる。無線LANは既に広範に普及しており、パーソナル・コンピュータ(PC)などの情報機器だけでなく、デジタルカメラや音楽プレーヤなどのCE(Consumer Electronics)機器にも無線LAN機能を搭載することが一般的となりつつある。   A wireless network is attracting attention as a system free from wiring in the conventional wired communication system. For example, a wireless LAN standard such as IEEE (The Institute of Electrical and Engineering Engineers) 802.11a, IEEE 802.11b, or IEEE 802.1g is typical. According to the wireless LAN, flexible Internet connection is possible. In addition to replacing the existing wired LAN, Internet connection means can be provided in public places such as hotels, airport lounges, stations, and cafes. Wireless LANs are already widely used, and it is common to install wireless LAN functions not only on information devices such as personal computers (PCs) but also on CE (Consumer Electronics) devices such as digital cameras and music players. It is becoming.

無線技術を用いてLANを構成するために、エリア内に「アクセスポイント(AP)」又は「コーディネータ」と呼ばれる制御局となる装置を1台設けて、この制御局の統括的な制御下でネットワークを形成する方法が一般的に用いられている。制御局は、ネットワーク内にある複数の端末局のアクセス・タイミングを調停し、各端末局が互いに同期をとるという同期的な無線通信を行なう。   In order to configure a LAN using wireless technology, a device serving as a control station called an “access point (AP)” or “coordinator” is provided in the area, and the network is under the overall control of this control station. The method of forming is generally used. The control station arbitrates access timings of a plurality of terminal stations in the network and performs synchronous wireless communication in which the terminal stations are synchronized with each other.

また、無線ネットワークを構成する他の方法として、すべての端末局が対等で自律分散的にピア・ツウ・ピア(Peer to Peer)で動作し、端末局自らがアクセス・タイミングを決定する「アドホック(Ad−hoc)通信」が考案されている。とりわけ近隣に位置する比較的少数のクライアントで構成される小規模無線ネットワークにおいては、特定の制御局を利用せずに、任意の端末同士が直接非同期の無線通信を行なうことができるアドホック通信が適当であると思料される。   As another method of configuring a wireless network, all terminal stations operate on peer-to-peer in an autonomous and distributed manner, and the terminal station itself determines access timing “ad hoc ( "Ad-hoc) communication" has been devised. Especially for small-scale wireless networks composed of a relatively small number of clients located in the vicinity, ad hoc communication that allows asynchronous communication directly between arbitrary terminals without using a specific control station is appropriate. It is thought that it is.

例えばIEEE802.11におけるネットワーキングは、BSS(Basic Service Set)の概念に基づいている。BSSは、制御局が存在する「インフラストラクチャ・モード」で定義されるBSSと、複数のMT(Mobile Terminal:移動局又は端末局)のみにより構成されるアドホック・モードで定義されるIBSS(Independent BSS)の2種類で構成される。   For example, networking in IEEE 802.11 is based on the concept of BSS (Basic Service Set). The BSS is defined as an “infrastructure mode” in which a control station exists, and an IBSS (Independent BSS) defined in an ad hoc mode including only a plurality of MTs (Mobile Terminals: mobile stations or terminal stations). ).

インフラストラクチャ・モード下では、制御局は、自局の周辺で電波の到達する範囲をBSSとしてまとめ、いわゆるセルラ・システムで言うところの「セル」を構成する。制御局の近隣に存在する端末局は、制御局に収容され、BSSのメンバとしてネットワークに参入する。すなわち、制御局は適当な時間間隔でビーコンと呼ばれる制御信号を送信し、このビーコンを受信可能である端末局は制御局が近隣に存在することを認識し、さらに制御局との間でコネクション確立を行なう。   Under the infrastructure mode, the control station collects the range where radio waves reach in the vicinity of its own station as BSS, and configures a so-called “cell” in the so-called cellular system. A terminal station existing in the vicinity of the control station is accommodated in the control station and enters the network as a member of the BSS. That is, the control station transmits a control signal called a beacon at an appropriate time interval, and the terminal station that can receive this beacon recognizes that the control station exists in the vicinity, and further establishes a connection with the control station. To do.

インフラストラクチャ・モード下では、端末局は特定の制御局とアソシエーションを確立する必要がある。端末局が最初に接続する制御局を探す過程のことを「スキャン」と言う。スキャン動作は、パッシブ・スキャンとアクティブ・スキャンに大別される。パッシブ・スキャンでは、端末局はチャネル間を移動して、制御局から定期的に送信されてくるビーコンに含まれるアソシエーションの確立に必要な情報を収集する。一方、アクティブ・スキャンでは、端末局はProbe Requestフレームを送信し、制御局からProbe Responseフレームを受け取る。Probe Responseフレームにはアソシエーションの確立に必要な情報が含まれており、端末局はチャネルを移動しながらこの情報を収集する。これらのスキャニングを行なった後、端末局は参入するBSSを選択し、そのBSSとアソシエーションを確立する。   Under infrastructure mode, the terminal station needs to establish an association with a specific control station. The process in which the terminal station searches for the first control station to connect to is called “scanning”. The scan operation is roughly divided into a passive scan and an active scan. In the passive scan, the terminal station moves between channels and collects information necessary for establishing an association included in a beacon periodically transmitted from the control station. On the other hand, in the active scan, the terminal station transmits a Probe Request frame and receives a Probe Response frame from the control station. The Probe Response frame includes information necessary for establishing the association, and the terminal station collects this information while moving the channel. After performing these scannings, the terminal station selects a BSS to join and establishes an association with that BSS.

図22には、インフラストラクチャ・モード時のIEEE802.11の動作例を示している。図示の例では、通信局STA0が制御局として動作し、他の通信局STA1並びSTA2が端末局として動作している。制御局としての通信局STA0は、同図右側のチャートに記したように、一定の時間間隔でビーコン(Beacon)を送信する。次回のビーコンの送信時刻は、ターゲット・ビーコン送信時刻(TBTT:Target Beacon Transmit Time)というパラメータとして制御局内で管理されている。そして、時刻がTBTTに到来すると、制御局はビーコン送信手順を動作させている。   FIG. 22 shows an example of IEEE 802.11 operation in the infrastructure mode. In the illustrated example, the communication station STA0 operates as a control station, and the other communication stations STA1 and STA2 operate as terminal stations. The communication station STA0 as the control station transmits a beacon at a constant time interval as shown in the chart on the right side of the figure. The next beacon transmission time is managed in the control station as a parameter called target beacon transmission time (TBTT). When the time arrives at the TBTT, the control station operates the beacon transmission procedure.

制御局周辺の端末局STA1並びSTA2は、制御局が報知するビーコンを受信して、内部のBeacon Intervalフィールドとそのビーコンの受信時刻から次回のビーコン送信時刻TBTTを認識することが可能である。BSSは必要に応じてPowerSaveモードに移行し、各端末局は間欠的にのみ受信動作を行なうことにより、低消費電力化を図ることができる。具体的には、端末局は、次回あるいは複数回先のビーコン受信時刻TBTTまで受信機の電源を落としたスリープ状態(Doze)に入る。そして、PowerSaveモード下の各端末局が起床(Wake)するタイミングが制御局で一元的に管理される。   The terminal stations STA1 and STA2 around the control station can receive the beacon notified by the control station and recognize the next beacon transmission time TBTT from the internal Beacon Interval field and the reception time of the beacon. The BSS shifts to the Power Save mode as necessary, and each terminal station can perform a receiving operation only intermittently, thereby reducing power consumption. Specifically, the terminal station enters a sleep state (Doze) in which the power of the receiver is turned off until the next time or a plurality of beacon reception times TBTT ahead. The timing at which each terminal station in the Power Save mode wakes up is centrally managed by the control station.

一方、アドホック・モードのIBSSにおいては、各端末局は、他の端末局とネゴシエーションを行なった後に自律的にIBSSを定義する。これらの端末局群は、一定間隔毎にTBTTを定める。そして、各端末局は自局内のクロックを参照することによりTBTTが到来したことを認識すると、ランダム・バックオフの遅延の後、未だ誰もビーコンを送信していないと認識した場合にはビーコンを送信する。   On the other hand, in IBSS in ad hoc mode, each terminal station autonomously defines IBSS after negotiating with other terminal stations. These terminal station groups define TBTT at regular intervals. When each terminal station recognizes that the TBTT has arrived by referring to its own clock, if it recognizes that no one has transmitted a beacon after a random backoff delay, Send.

図23には、アドホック・モード時のIEEE802.11の動作例を示している。図示の例では、2台の端末局(MT)がIBSSを構成する様子を示している。この場合、IBSSに属するいずれか一方のMTが、TBTTが到来する毎にビーコンを送信することになる。また、各端末局から送出されるビーコンが衝突する場合も存在している。   FIG. 23 shows an example of IEEE 802.11 operation in the ad hoc mode. In the example shown in the figure, two terminal stations (MTs) form a IBSS. In this case, any one MT belonging to the IBSS transmits a beacon every time TBTT arrives. There is also a case where beacons transmitted from each terminal station collide.

また、IEEE802.11では、IBSSにおいてもPowerSaveモードが規定されており、端末局は必要に応じて受信機の電源を落とすDoze状態に入ることができる。ビーコン送出時間TBTTから所定の時間帯がATIM(Announcement Traffic Indication Message) Windowとして定義されている。ATIM Windowの期間が終了するまでの間は、IBSSに属するすべての端末局はActive Stateとなっており、この時間帯であれば、基本的にはスリープ・モードで動作している端末も受信が可能である。そして、端末局はATIM Window終了時から次のビーコン送出時間TBTTまでDoze Stateになる。各端末局は、自局が誰か宛ての情報を有している場合には、このATIM Windowの時間帯において、上記の通信相手宛てにATIMパケットを送信することにより、自局が送信情報を保持していることを受信側に通達する。ATIMパケットを受信した端末局は、ATIMパケットを送信した局からの受信が終了するまではDoze状態に移行せず、受信機を動作させておく。   In IEEE 802.11, the Power Save mode is also defined in IBSS, and the terminal station can enter a Doze state in which the power of the receiver is turned off as necessary. A predetermined time zone from the beacon transmission time TBTT is defined as an ATIM (Announcement Traffic Indication Message) Window. Until the end of the ATIM Window period, all terminal stations belonging to the IBSS are in the Active State. In this time zone, basically, terminals operating in the sleep mode can also receive signals. Is possible. The terminal station enters Doze State from the end of ATIM Window until the next beacon transmission time TBTT. If each terminal station has information addressed to someone, the terminal station holds transmission information by transmitting an ATIM packet to the above-mentioned communication partner in the time zone of this ATIM Window. Notify the receiver that you are doing. The terminal station that has received the ATIM packet does not shift to the Doze state until the reception from the station that has transmitted the ATIM packet is completed, and operates the receiver.

上述したインフラストラクチャ及びアドホックのいずれの通信モードであれ、無線ネットワークを利用するには、BSSに参入するすべての無線装置に共通のSSID(Service Set Identifier)を指定する必要がある。無線通信は、有線通信とは異なり、傍受による情報漏洩の危険に晒されていることから、その対策として通信路を暗号化する必要がある。このため、WEP(Wired Equivalent Privacy)キーやPSK(Pre Shared Key)などの暗号鍵もBSS内のすべての無線装置に共通に指定する必要がある。   In any of the infrastructure and ad hoc communication modes described above, in order to use a wireless network, it is necessary to specify an SSID (Service Set Identifier) common to all wireless devices participating in the BSS. Unlike wired communication, wireless communication is exposed to the risk of information leakage due to interception. Therefore, it is necessary to encrypt the communication path as a countermeasure. For this reason, encryption keys such as WEP (Wired Equivalent Privacy) key and PSK (Pre Shared Key) need to be designated in common for all wireless devices in the BSS.

しかしながら、CE機器を操作するエンドユーザにこれらの設定値の意味を理解させて、正しく設定させることは難しい。また、PCとは異なり、CE機器に装備されたユーザ・インターフェース上でこの種の設定を行なうのは操作が煩雑になりがちである。例えば、ETSI(European Telecommunications Sandards Institute)のHIPERLAN Type2では、Authentication Key Managemantとしてユーザの簡便な操作でネットワーク識別子と暗号鍵を無線装置間で自動的に送信及び設定する方法が規定されている(ETSI TS 101 761−4 V1.1.1 (2000−06))。他方、IEEE802.11では、このような設定方法に関する仕様はないため、接続前の無線装置同士が、SSIDや、WEPキーやPSKなどの情報を共通に指定することは難しい。   However, it is difficult for the end user operating the CE device to understand the meaning of these setting values and to set them correctly. In addition, unlike a PC, performing this type of setting on a user interface installed in a CE device tends to be complicated. For example, in ETSI (European Telecommunications Standards Institute) HIPERLAN Type 2, a method for automatically transmitting and setting a network identifier and an encryption key between wireless devices is specified as an Authentication Key Management (ETSI TS). 101 761-4 V1.1.1 (2000-06)). On the other hand, in IEEE 802.11, since there is no specification regarding such a setting method, it is difficult for wireless devices before connection to specify information such as SSID, WEP key, and PSK in common.

ここで、デジタルカメラや音楽プレーヤなどのポータブル機器では、PCと違って機能が限定されていることから、ユーザが無線ネットワークを構成しようとする場合には具体的で且つ明確な使用目的がある。例えば、デジタルスチルカメラ同士での写真の交換や、音楽プレーヤ同士での楽曲交換やプレイリスト交換といったネットワークの使用目的が挙げられる。言い換えれば、写真交換をしようとするデジタルスチルカメラとプレイリスト交換を使用とする音楽プレーヤが接続しても意味がないので、接続相手を探すときには接続相手の機器の種類が分かることが望ましい。   Here, since portable devices such as digital cameras and music players have limited functions unlike PCs, there is a specific and clear purpose of use when a user intends to configure a wireless network. For example, the purpose of using the network such as exchanging photos between digital still cameras, exchanging music between music players, exchanging playlists, and the like can be mentioned. In other words, there is no point in connecting a digital still camera that wants to exchange photos and a music player that uses playlist exchange, so it is desirable to know the type of device of the connection partner when searching for the connection partner.

また、近年では、1つのポータブル機器がデジタルスチルカメラや音楽プレーヤなどの複数の機能を持つことが一般的となりつつある。このような場合、好ましい接続相手を探すには、単に機器の種類だけでなく、現在この機器の上で動いているアプリケーションの種類、すなわち写真交換のアプリケーションなのか、楽曲交換のアプリケーションなのかといった情報までに互いに分かることが望ましい。また、個人で撮影した写真や楽曲のプレイリスト交換などをする場合には、誰のコンテンツが欲しいのかが重要になるので、各無線装置のユーザが誰なのかが分かることが望ましい。さらに、無線装置上で動作するアプリケーションによっては、常時新規接続を受け付けるものや、アプリケーションが特別な状態にあるときだけ接続を受け付けたいものもあるため、アプリケーションの現在状態の情報も分かることが望ましい。   In recent years, it has become common for one portable device to have a plurality of functions such as a digital still camera and a music player. In such a case, in order to find a preferable connection partner, not only the type of device but also the type of application currently running on this device, that is, whether it is a photo exchange application or a music exchange application It is desirable to know each other by. In addition, when exchanging playlists of photographs and songs taken by individuals, it is important to know who wants the content, so it is desirable to know who the user of each wireless device is. Furthermore, since some applications that operate on the wireless device always accept new connections and others want to accept connections only when the application is in a special state, it is desirable to know information about the current state of the application.

しかしながら、IEEE802.11では、このような設定方法に関する仕様はない。また、IEEE802.11で規定する通信方式では、ユーザが任意に設定可能で、且つ、接続前に交換できる情報はネットワーク識別子の32バイトに限られている。このため、アプリケーションの種類や機器ユーザ、アプリケーションの状態といった任意の属性情報を接続に先駆けて交換できないので、アプリケーションの種類や状態に応じて接続相手を探すことは難しい。   However, there is no specification regarding such a setting method in IEEE 802.11. In addition, in the communication system defined by IEEE 802.11, information that can be arbitrarily set by the user and exchanged before connection is limited to 32 bytes of the network identifier. For this reason, since arbitrary attribute information such as the type of application, device user, and application status cannot be exchanged prior to connection, it is difficult to find a connection partner according to the type and status of the application.

例えば、通常の通信を行なうためのモードとは別の認証のための通信モードを用意し、そのモードでネットワーク識別子と暗号鍵を暗号化して送信する方法が提案されている(例えば、特許文献1を参照のこと)。しかしながら、この方法では、接続相手を決めた後にネットワーク識別子と暗号鍵を暗号化して送るため、接続相手を決めるための情報は、無線装置を識別するための識別番号のみである。すなわち、通信に先駆けて交換できる情報が限られており、接続先の候補となる機器が1台しか無い場合は問題を生じないが、付近に接続先の候補になる機器が複数ある場合には、それらうちどの機器と接続するべきかを決めることは難しい。   For example, a method has been proposed in which a communication mode for authentication different from a mode for performing normal communication is prepared, and a network identifier and an encryption key are encrypted and transmitted in that mode (for example, Patent Document 1). checking). However, in this method, since the network identifier and the encryption key are encrypted and transmitted after the connection partner is determined, the information for determining the connection partner is only the identification number for identifying the wireless device. In other words, information that can be exchanged prior to communication is limited, and there is no problem if there is only one device that is a connection destination candidate, but there are multiple devices that are connection destination candidates in the vicinity. It is difficult to decide which of these devices should be connected.

また、IEEE802.11の通信に使用可能な電波の周波数は複数あり、チャネルとして割り振られている。IEEE802.11の仕様によれば単一のチャネルに幾つもの異なるネットワーク(BSS)を存在させることができるが、スループットやパケット遅延を改善するには、空間的に重畳する異なるネットワークを異なるチャネルに割り振ることが求められる。しかしながら、無線装置を操作するエンドユーザに複数の無線ネットワークのチャネル設定を最適に設定させることは難しい。IEEE802.11では、通信局がネットワークへの参入若しくはネットワーク形成に必要な情報を取得するためのスキャン動作について規定しているが、いずれのチャネルを選択するか、どの制御局のBSSに参入するかは実装依存である。   In addition, there are a plurality of radio wave frequencies that can be used for IEEE802.11 communication, which are allocated as channels. According to the IEEE 802.11 specification, several different networks (BSS) can exist on a single channel, but to improve throughput and packet delay, different spatially overlapping networks are allocated to different channels. Is required. However, it is difficult for an end user who operates a wireless device to optimally set channel settings for a plurality of wireless networks. IEEE802.11 stipulates a scanning operation for a communication station to enter a network or acquire information necessary for network formation. Which channel is selected, which control station BSS is entered Is implementation dependent.

自動的にチャネル設定を行なうためのさまざまな方式が提案されている。例えば、通信数やトラヒックに基づいてチャネルを割り当てる方式や(例えば、特許文献2を参照のこと)、制御情報の信号レベルと受信回数に基づいてチャネル割り当てを行なう方式(例えば、特許文献3を参照のこと)、キャリア・センスによる電波の有無によりチャネルが空いているかをチェックし通信チャネルを設定する方式(例えば、特許文献4を参照のこと)、干渉リソースの数に基づいてチャネルを選択する方式(例えば、特許文献5を参照のこと)、エラー・パケットの数あるいは成功パケットの数の単位時間当たりの割合に基づいてチャネル切り替えを行なう方式(例えば、特許文献6を参照のこと)、距離や伝搬損失や干渉レベルを測定した結果に基づいてチャネルを割り当てる方法(例えば、特許文献7を参照のこと)などが提案されている。また、空いているチャネルが存在しない場合に、ランダム、受けた信号のレベル、あらかじめ定められた値に基づいてチャネルを設定する方式が提案されている(例えば、特許文献8を参照のこと)。   Various methods for automatically setting a channel have been proposed. For example, a method of assigning channels based on the number of communications and traffic (see, for example, Patent Document 2), or a method of assigning channels based on the signal level of control information and the number of receptions (see, for example, Patent Document 3) A method of checking whether a channel is free by the presence or absence of radio waves by carrier sense and setting a communication channel (see, for example, Patent Document 4), a method of selecting a channel based on the number of interference resources (See, for example, Patent Document 5), a method for switching channels based on the number of error packets or the number of successful packets per unit time (see, for example, Patent Document 6), distance, A method of assigning channels based on the results of measuring propagation loss and interference level (see, for example, Patent Document 7) Such as has been proposed. Also, a method has been proposed in which, when there is no free channel, a channel is set based on a random level, a received signal level, and a predetermined value (see, for example, Patent Document 8).

従来提案されているチャネル自動設定方法は、空きチャネルがない場合、又は、少なくとも1つの空きチャネルがある場合のいずれかに使用する方法に大別することができる。   Conventionally proposed channel automatic setting methods can be broadly classified into methods used when there is no free channel or when there is at least one free channel.

前者の空きチャネルがない状況下では、各チャネルの通信数、トラヒック、キャリア・センス、干渉リソースの数、エラー・パケットの数、伝搬損失、干渉レベル、信号レベル、制御信号の数などのパラメータの測定値に基づいて、最も他の影響のないチャネルを選ぶことになる。ここで、無線装置は、すべてのチャネルにわたってスキャンしてこれらのパラメータを測定して常時確認することは現実的でないので、チャネル毎にある短い時間の測定の結果を使わざるを得ない。ところが、測定時の電波環境がそのチャネルの平均的又は特徴的な状況を表すとは限らない。そのチャネル上でたまたまバースト的な転送が行なわれる場合や、逆にたまたま通信が全く行なわれていないときにパラメータの測定が行なわれることもある。ほとんど通信の無いチャネルにも関わらず、たまたま通信をしているときに測定が行なわれてしまうかもしれない。すなわち、無線装置がチャネル毎に行なうパラメータの測定結果は十分に信頼できるものではなく、本来の意図とは異なり、平均的に見ると混み合ったチャネルを選んでしまう可能性がある。   In the case where there is no free channel of the former, parameters such as the number of communication of each channel, traffic, carrier sense, number of interference resources, number of error packets, propagation loss, interference level, signal level, number of control signals, etc. Based on the measured value, the channel with the least other influence will be selected. Here, since it is not realistic for the wireless device to scan over all channels and measure these parameters at all times, it is unavoidable to use the result of a short time measurement for each channel. However, the radio wave environment at the time of measurement does not always represent the average or characteristic state of the channel. The parameter may be measured when a burst transfer occurs on the channel, or when no communication is performed at all. In spite of a channel that has almost no communication, it may happen that the measurement is performed during communication. That is, the measurement result of the parameter performed by the wireless device for each channel is not sufficiently reliable, and unlike the original intention, there is a possibility of selecting a crowded channel on average.

一方、後者の少なくとも1つの空きチャネルが存在する状況下では、上記の方法に基づいて、制御信号も全く受信されないチャネルが空きチャネルとして発見される。直感的には空きチャネルを選択することで効率よいネットワーク運用が実現するように思われるが、この選択は必ずしもシステム全体の効率を良くするものではない。それは、以下の事情による。   On the other hand, under the latter situation where at least one free channel exists, a channel from which no control signal is received is found as a free channel based on the above method. Intuitively, it seems that efficient network operation can be realized by selecting an empty channel, but this selection does not necessarily improve the efficiency of the entire system. This is due to the following circumstances.

本発明者らは、通信のパケットには本来の目的によって優先順位があるべきであると思料する。例えば、音声通信のように低ビットレートながら遅延の許されないリアルタイム性を要求される通信は、他の通信と分けるべきである。また、動画ストリーミングのようにバッファによって多少の遅延は許されても、長時間のレート低下が許されないような通信も、ファイル転送などのバースト的で且つベストエフォート型の通信とは分けるべきである。   The inventors believe that communication packets should have priorities according to their original purpose. For example, a communication such as voice communication that requires a real-time property that does not allow a delay while having a low bit rate should be separated from other communication. In addition, communications that allow a slight delay due to the buffer, such as video streaming, but do not allow a long-term rate drop should be separated from bursty and best-effort communications such as file transfer. .

ここで、3つのチャネル1、2、3が使用可能な通信環境下で、音声通信を行なう3つのネットワークA、B、Cとファイル転送を行なう1つのネットワークDをチャネル配置するという例題について考察してみる。但し、音声通信の必要帯域は1チャネルに許容される帯域に比べて十分小さいと仮定する。   Consider an example in which three networks A, B, and C that perform voice communication and one network D that performs file transfer are arranged in a channel in a communication environment where three channels 1, 2, and 3 can be used. Try. However, it is assumed that the necessary bandwidth for voice communication is sufficiently smaller than the bandwidth allowed for one channel.

この条件下で、新規のネットワークを空きチャネルを探して配置するという上述の方法を適用した場合、A、B、C、Dの順番にネットワークを構成したとすると、Aが1チャネル、Bが2チャネル、Cが3チャネルに配置されてしまう。こうなると、Dはどこかのチャネルを共用せざるを得なくなり、共用された音声通信は妨害を受けることになってしまう。すなわち、新しいネットワークを構成する場合、次々と空きチャネルにネットワークを構成してゆくことは、必ずしも複数のネットワーク全体のチャネル効率を良くするとは限らない。   Under this condition, when the above-described method of locating a new network in search of an empty channel is applied, assuming that the network is configured in the order of A, B, C, and D, A is 1 channel and B is 2 Channels C are arranged in 3 channels. If this happens, D must share some channel, and the shared voice communication will be disturbed. That is, when configuring a new network, it is not always necessary to improve the channel efficiency of a plurality of networks as a result of successively configuring the network with empty channels.

音声通信は、リアルタイム性が要求されるが、1チャネルに許容される帯域に比べて十分小さく、音声通信を行なう複数のネットワークが同じチャネル上で十分に共存することができる。したがって、上記の例題では、チャネル1にA、B、Cを配置し、チャネル2にDを配置し、チャネル3はさらに別の通信が追加されるときのために空けておくのが最も効率が良いと思料される。   The voice communication requires real-time property, but is sufficiently smaller than the band allowed for one channel, and a plurality of networks performing voice communication can sufficiently coexist on the same channel. Therefore, in the above example, it is most efficient to place A, B, and C in channel 1, D in channel 2, and leave channel 3 free for additional communications. It is considered good.

このようなチャネル配置の問題は、空きチャネルを使用する場合だけでなく、空きチャネルが存在せず、共用チャネルを使わざるを得ない状況下でどこのチャネルと共用するかを決定する場合も同様である。無線通信の優先順位付けに関しては、例えば、IEEE802.11eでは無線区間の通信品質(QoS:Quality of Service)を向上させる目的で標準化作業が進められており、音声や映像などの通信品質を従来のベストエフォート型通信に対して向上させる仕組みが既定されているが、同規格はまだ十分に普及していないのが実情である。QoSを使用したとしても、チャネル配置を最適化することはシステムのパフォーマンス向上につながる。今後ますます無線装置の数が増えて行くことを考慮すると、チャネル配置の最適化は今後も重要な課題であることに変わりはない。   The problem of such channel arrangement is not only when using an empty channel, but also when deciding which channel to share in a situation where there is no free channel and a shared channel must be used. is there. Regarding the prioritization of wireless communication, for example, in IEEE 802.11e, standardization work is progressing for the purpose of improving the communication quality (QoS: Quality of Service) in the wireless section, and communication quality such as audio and video has been improved. Although a mechanism for improving best effort communication has been established, the standard is not yet widespread. Even if QoS is used, optimizing the channel allocation leads to improved system performance. Considering that the number of wireless devices will increase in the future, optimizing channel allocation will remain an important issue in the future.

また、IEEE802.11の規格では、省電力化のためのパワー・マネージメントの仕様も規定され実際に実装されている(前述)。しかしながら、同規格では、パワー・マネージメントが有効になっているときの動作を規定しているが、どのようなタイミング、どのような条件でパワー・マネージメントを有効にするかについては、仕様の範囲外である。   In the IEEE 802.11 standard, power management specifications for power saving are also defined and actually implemented (described above). However, the standard specifies the operation when power management is enabled, but the timing and conditions under which power management is enabled are out of the scope of the specification. It is.

IEEE802.11における無線装置のパワー・マネージメント動作の基本は、受信動作を停止することである。しかし、ただ停止したままでは通信ができないので、受信側となる通信局は間欠的に受信機を動かす必要がある。すなわち、送信側及び受信側となる通信局間では、あらかじめ決きめられたルールに従って受信機の停止と作動を切り替える必要がある。IEEE802.11の場合、送信側と受信側はビーコンの送信タイミングやビーコン・フレームの内容を使って送信側と受信側の同期を取っている。これに対し、ネットワークへ参加していない端末は、いずれのネットワークのビーコンにも同期していないため、ネットワークへの接続を行なう前は省電力モードを使用できない。   The basis of the power management operation of the wireless device in IEEE 802.11 is to stop the reception operation. However, since communication cannot be performed while the communication is stopped, the communication station on the receiving side needs to move the receiver intermittently. That is, it is necessary to switch between stopping and operating the receiver according to a predetermined rule between communication stations on the transmission side and the reception side. In the case of IEEE 802.11, the transmission side and the reception side synchronize between the transmission side and the reception side using the beacon transmission timing and the contents of the beacon frame. On the other hand, since a terminal not participating in the network is not synchronized with the beacon of any network, the power saving mode cannot be used before connection to the network.

例えば、パワー・マネージメントを使用する条件として、スキャンを行なっている状態では省電力モードを使わないようにする方法について提案されている(例えば、特許文献9を参照のこと)。インフラストラクチャ・モード下では、制御局はスリープ状態になることはなく常に電波を受信可能であるから、端末局は自分がスキャンを行なっている状態のときのみスリープ状態が解除されていれば通信に障害が起きることはない。これに対し、アドホック・モード下では、スキャンを行なう側の端末局がスリープ状態を解除しても、スキャンを受けるべき既存の端末局がスリープ状態に入っているときには、タイミングによってはスキャン用のパケットを受けられない。この結果、正確なスキャン動作を実現することが困難となる。すなわち、たまたま通信が全く行なわれていないときに、チャネルのスキャンが行なわれると、本来の意図とは異なり、平均的に見ると混み合ったチャネルを選んでしまう可能性があり、チャネル配置を最適化することも困難となる。   For example, as a condition for using power management, a method has been proposed in which the power saving mode is not used when scanning is performed (see, for example, Patent Document 9). Under infrastructure mode, the control station can always receive radio waves without going to sleep, so the terminal station can communicate only if it is released when it is scanning. There will be no obstacles. On the other hand, in the ad-hoc mode, even if the terminal station on the scanning side cancels the sleep state, if the existing terminal station to be scanned is in the sleep state, depending on the timing, the scan packet I cannot receive it. As a result, it becomes difficult to realize an accurate scanning operation. In other words, if there is no communication at all and a channel scan is performed, unlike the original intention, there is a possibility of selecting a channel that is congested on average, so the channel arrangement is optimal. It becomes difficult to make it.

特許第3628250号公報Japanese Patent No. 3628250 特許第2629640号公報Japanese Patent No. 2629640 特許第2750207号公報Japanese Patent No. 2750207 特許第3043958号公報Japanese Patent No. 3043958 特許第3457667号公報Japanese Patent No. 3457667 特許第3744365号公報Japanese Patent No. 3744365 特開2001−204075号公報JP 2001-204075 A 特許第3019149公報Japanese Patent No. 3019149 特開2004−234667号公報JP 2004-234667 A

本発明の目的は、接続前の無線装置同士が事前に適切な接続相手を探すとともに接続に必要な情報を簡素な手続で共通に指定して、好適にネットワークを形成することができる、優れた無線通信システム、無線通信装置及び無線通信方法、並びにコンピュータ・プログラムを提供することにある。   An object of the present invention is to enable a wireless network before connection to search for an appropriate connection partner in advance and to specify information necessary for connection in a simple procedure in common, and to form a network suitably. A wireless communication system, a wireless communication apparatus, a wireless communication method, and a computer program are provided.

本発明のさらなる目的は、通信に使用可能な複数の電波周波数帯がチャネルとして割り当てられている通信環境下で、共存する複数のネットワーク全体のチャネル効率を考慮して各ネットワークのチャネル配置を好適に決定することができる、優れた無線通信システム、無線通信装置及び無線通信方法、並びにコンピュータ・プログラムを提供することにある。   A further object of the present invention is to suitably arrange the channel arrangement of each network in consideration of the channel efficiency of the entire plurality of coexisting networks in a communication environment in which a plurality of radio frequency bands usable for communication are allocated as channels. An object is to provide an excellent wireless communication system, wireless communication apparatus, wireless communication method, and computer program that can be determined.

本発明のさらなる目的は、各無線装置がパワー・マネージメント動作を有効化させながら自律分散的に動作する通信環境下で、正確なスキャン動作を実現してチャネル配置を最適化することができる、優れた無線通信システム、無線通信装置及び無線通信方法、並びにコンピュータ・プログラムを提供することにある。   A further object of the present invention is to realize an accurate scanning operation and optimize a channel arrangement in a communication environment in which each wireless device operates autonomously while enabling power management operation. Another object of the present invention is to provide a wireless communication system, a wireless communication apparatus, a wireless communication method, and a computer program.

本発明は、上記課題を参酌してなされたものであり、その第1の側面は、通信に使用可能なチャネル上でパケット通信を行なう複数の無線装置で構成される無線通信システムであって、ネットワークを形成する前の無線装置間でユーザ・データを交換するユーザ・データ交換手段を備え、無線装置がネットワークを形成し又は既存のネットワークに参入する際に、前記チャネル上をスキャンして周囲の無線装置を探索するとともに、探し出された無線装置から接続相手を確認するための任意の情報を含むユーザ・データを収集し、該ユーザ・データに基づいて接続相手となる無線装置を決定し、該接続相手となる無線装置との間で無線接続に必要となる接続パラメータを含むユーザ・データを交換し、該交換した接続パラメータを用いて無線装置間で接続を行なうことを特徴とする無線通信システムである。   The present invention has been made in consideration of the above problems, and a first aspect thereof is a wireless communication system including a plurality of wireless devices that perform packet communication on a channel that can be used for communication. User data exchange means for exchanging user data between wireless devices before forming a network, and when the wireless device forms a network or joins an existing network, it scans the channel and Searching for a wireless device, collecting user data including arbitrary information for confirming a connection partner from the found wireless device, determining a wireless device to be a connection partner based on the user data, User data including connection parameters necessary for wireless connection is exchanged with the wireless device as the connection partner, and wireless communication is performed using the exchanged connection parameters. It is a wireless communication system and performing connection 置間.

但し、ここで言う「システム」とは、複数の装置(又は特定の機能を実現する機能モジュール)が論理的に集合した物のことを言い、各装置や機能モジュールが単一の筐体内にあるか否かは特に問わない(以下、同様)。   However, “system” here refers to a logical collection of a plurality of devices (or functional modules that realize specific functions), and each device or functional module is in a single housing. It does not matter whether or not (hereinafter the same).

無線通信技術によれば柔軟な接続環境を提供することができ、現在はさまざまな無線LAN製品が急速に普及している。例えば、IEEE802.11に代表される無線LAN規格では、インフラストラクチャ・モード並びにアドホック・モードによってネットワークを運用することができる。また、必要に応じて受信機をDoze状態に移行させるPowerSaveモードが規定されており、インフラストラクチャ・モード並びにアドホック・モードのいずれにおいても無線装置の省電力化を図ることができる。   According to wireless communication technology, a flexible connection environment can be provided, and various wireless LAN products are rapidly spreading at present. For example, in a wireless LAN standard represented by IEEE 802.11, a network can be operated in an infrastructure mode and an ad hoc mode. In addition, a Power Save mode in which the receiver is shifted to the Doze state as required is defined, and power saving of the wireless device can be achieved in both the infrastructure mode and the ad hoc mode.

ここで、無線通信は、有線通信とは異なり、傍受による情報漏洩の危険に晒されていることから、その対策として通信路を暗号化する必要があり、接続前の無線装置同士が、SSIDや、WEPキーやPSKなどの情報を共通に指定しなければならない。しかしながら、(無線LAN機能を搭載した)CE機器を操作するエンドユーザにこれらの設定値の意味を理解させて、正しく設定させることは難しい。   Here, unlike wired communication, wireless communication is exposed to the risk of information leakage due to eavesdropping. Therefore, it is necessary to encrypt the communication path as a countermeasure, and wireless devices before connection between SSID and Information such as WEP key and PSK must be specified in common. However, it is difficult for an end user who operates a CE device (equipped with a wireless LAN function) to understand the meaning of these setting values and to set them correctly.

また、CE機器の多くは機能が限定され、明確な使用目的があることから、接続相手を探すときには、接続相手の機器の種類やさらには機器で起動中のアプリケーションの種類に応じて無線接続すべきかどうかを決定することが望ましい。しかしながら、IEEE802.11で規定する通信方式では、ユーザが任意に設定可能で、且つ、接続前に交換できる情報はネットワーク識別子の32バイトに限られているため、アプリケーションの種類や機器ユーザ、アプリケーションの状態といった任意の属性情報を接続に先駆けて交換できず、アプリケーションの種類や状態に応じて接続相手を探すことは難しい。   In addition, since many CE devices have limited functions and have a clear purpose of use, when searching for a connection partner, you should make a wireless connection according to the type of the partner device and the type of application running on the device. It is desirable to determine whether or not However, in the communication method defined by IEEE 802.11, the information that can be set by the user arbitrarily and that can be exchanged before connection is limited to 32 bytes of the network identifier. Arbitrary attribute information such as status cannot be exchanged prior to connection, and it is difficult to find a connection partner according to the type and status of the application.

これに対し、本発明の係る無線通信システムでは、新規の無線装置がネットワークを形成し又は既存のネットワークに参入する際に、前記チャネル上をスキャンして周囲の無線装置を探索するとともに、探し出された無線装置から接続相手を確認するための任意の情報を含むユーザ・データを収集し、該ユーザ・データに基づいて接続相手となる無線装置を決定し、該接続相手となる無線装置との間で無線接続に必要となる接続パラメータを含むユーザ・データを交換し、該交換した接続パラメータを用いて無線装置間で接続を行なうようになっている。   On the other hand, in the wireless communication system according to the present invention, when a new wireless device forms a network or joins an existing network, it scans the channel and searches for surrounding wireless devices and searches for them. Collect user data including arbitrary information for confirming the connection partner from the received wireless device, determine a wireless device as a connection partner based on the user data, and connect with the wireless device as the connection partner User data including connection parameters necessary for wireless connection is exchanged between the wireless devices, and wireless devices are connected using the exchanged connection parameters.

本発明に係る無線通信システムでは、32バイト以上の任意の情報を無線装置間でやりとりできるように構成されている。例えば、各ネットワークはIEEE802.11規格に則って運用される場合には、前記ユーザ・データ交換手段は、IEEE802.11のMagagementフレーム内のVendor Specific IEを利用してユーザ・データを交換することができる。無線装置は、ユーザ・データの中に、機器の種別、現在動作しているアプリケーションの種別、ユーザの名前、現在のアプリケーションの状態などを含ませ、これらの情報を基に、自分が接続すべき無線装置、あるいは、自分が参加すべき無線ネットワークを決定することができる。1つのフレームに複数のVendor Specific IEを含ませ、ユーザ・データを分割して伝送するようにしてもよい。   The wireless communication system according to the present invention is configured so that arbitrary information of 32 bytes or more can be exchanged between wireless devices. For example, when each network is operated in accordance with the IEEE 802.11 standard, the user data exchanging means may exchange user data using a Vendor Specific IE in an IEEE 802.11 Management frame. it can. The wireless device should include the device type, the type of application currently running, the name of the user, the status of the current application, etc. in the user data. It is possible to determine a wireless device or a wireless network to which the wireless device should participate. A plurality of Vendor Specific IEs may be included in one frame, and user data may be divided and transmitted.

次いで、無線装置は、ユーザ・データとして、ネットワーク識別子と、無線装置間の通信路を暗号化するための暗号鍵を入れ、接続すべき相手と交換をする。ここで言う暗号鍵は、WEPキーやPSKに相当する。そして、無線装置は、交換したネットワーク識別子、及び暗号鍵を使って通常のIEEE802.11の無線ネットワークへ参加し、あるいは新規無線ネットワークを構成して、暗号化通信を行なうことができる。   Next, the wireless device enters, as user data, a network identifier and an encryption key for encrypting a communication path between the wireless devices, and exchanges them with a partner to be connected. The encryption key mentioned here corresponds to a WEP key or PSK. The wireless device can perform encrypted communication by joining the normal IEEE 802.11 wireless network using the exchanged network identifier and encryption key, or configuring a new wireless network.

また、前記スキャン用のフレーム及びこれに対する応答フレームには、無線装置において動作中のアプリケーションに関する情報、又は無線装置のユーザに関する情報が含まれている。したがって、スキャンを行なう側の無線装置は、該応答フレームの内容を評価して接続相手を判断し、又は、スキャンを受ける側の無線装置は、該スキャン用フレームの内容を評価して接続相手を判断することができるようになっている。   In addition, the scan frame and the response frame to the scan frame include information related to an application running on the wireless device or information related to a user of the wireless device. Therefore, the wireless device on the scanning side evaluates the contents of the response frame to determine the connection partner, or the wireless device on the scanning side evaluates the contents of the scanning frame to determine the connection partner. Judgment can be made.

スキャンする側の無線装置はProbe Requestフレームを用いてスキャン用フレームを送信し、スキャンされる側の無線装置は、Probe Responseフレームを用いて応答フレームを用いて返信することができる。   The scanning-side wireless device can transmit a scan frame using a Probe Request frame, and the scanned-side wireless device can reply using a response frame using a Probe Response frame.

また、無線装置がネットワークを形成し又は既存のネットワークに参入する際に、スキャンして存在が確認された無線装置の中から、チャレンジ・レスポンス手続を通じて接続相手の素性を確認し、この結果を用いて接続相手を限定することもできる。   Also, when a wireless device forms a network or joins an existing network, the identity of the connection partner is confirmed through a challenge / response procedure from among the wireless devices that have been scanned and confirmed, and this result is used. You can also limit the connection partners.

また、接続相手となる無線装置が決定した場合、どちらかの無線装置がネットワーク識別子や暗号鍵といった接続パラメータを生成する。本発明に係る無線通信システムでは、接続相手となった一組の無線装置のうちいずれが接続パラメータを生成し又は送信するかを判断する判断手段をさらに備えている。   Further, when the wireless device to be connected is determined, one of the wireless devices generates connection parameters such as a network identifier and an encryption key. The wireless communication system according to the present invention further includes a determination unit that determines which one of a set of wireless devices that are connected to each other generates or transmits a connection parameter.

1つの判定基準は、現在の状態に基づく。既にネットワークを形成している状況下で新たに無線装置が参加する場合は、新たな参加者は既存のネットワークのネットワーク識別子と暗号鍵を使う必要があるので、既にネットワークに参加している無線装置が新たに参加する無線装置にネットワーク識別子と暗号鍵を送信する。また、インフラストラクチャ・モード下では、制御局である無線装置は起動時から常にネットワークに参加していると見ることができるので、常に接続パラメータを生成し送信する側になる。   One criterion is based on the current state. When a new wireless device participates in a situation where a network has already been formed, the new participant must use the network identifier and encryption key of the existing network, so the wireless device already participating in the network Transmits the network identifier and encryption key to the newly joining wireless device. Further, under the infrastructure mode, the wireless device that is the control station can be seen as always participating in the network from the time of activation, so that it is always on the side of generating and transmitting connection parameters.

他方、アドホック・モード下では、どちらの無線装置がネットワーク識別子を決定しても良いが、一意に決定する必要がある。そこで、各無線装置が持つMACアドレスや、無線装置毎に生成する乱数値など同値になる可能性が全くないか極めて低い情報に基づいて、一方の無線装置を接続パラメータの送信元に決定するようにしてもよい。   On the other hand, under the ad hoc mode, either wireless device may determine the network identifier, but it must be uniquely determined. Therefore, one of the wireless devices is determined as the connection parameter transmission source based on the information that there is no possibility of having the same value such as the MAC address of each wireless device or the random value generated for each wireless device. It may be.

また、接続相手となる無線装置同士でネットワーク識別子や暗号鍵といった接続パラメータを無線通信路経由で送受信する際には、盗聴に十分注意する必要がある。そこで、本発明に係る無線通信システムでは、接続相手となる無線装置同士で互いの公開鍵をユーザ・データとして交換する公開鍵交換手段をさらに備えている。各無線装置は、自分の秘密鍵と接続相手の公開鍵を元にセッション鍵を生成することができる。そして、接続パラメータの送信元となる無線装置はセッション鍵を用いて接続パラメータを暗号化して送信し、一方の接続パラメータの受信先となる無線装置は受信した接続パラメータをセッション鍵で復号することによって、盗聴防止の拠り所を得ることができる。   In addition, when transmitting and receiving connection parameters such as a network identifier and an encryption key between wireless devices as connection partners, it is necessary to pay sufficient attention to eavesdropping. Therefore, the wireless communication system according to the present invention further includes public key exchanging means for exchanging each other's public key as user data between wireless devices to be connected. Each wireless device can generate a session key based on its private key and the public key of the connection partner. Then, the wireless device that is the connection parameter transmission source encrypts and transmits the connection parameter using the session key, and the wireless device that is the destination of the one connection parameter decrypts the received connection parameter with the session key. It is possible to obtain a ground for preventing eavesdropping.

また、前記の無線接続に必要となる接続パラメータに、チャネルと基本ネットワーク識別子(BSSID)をさらに含ませて、無線装置はスキャン動作を省略することができる。   Further, the wireless device can omit the scanning operation by further including a channel and a basic network identifier (BSSID) in the connection parameters necessary for the wireless connection.

このように、本発明に係る無線通信装置によれば、無線装置は、周囲に複数の無線装置がある場合であっても、自分がどの機器と接続すべきか、どのネットワークに参加すべきか、自分で新しいネットワークを作成するべきかを的確に決め、ユーザの手間を最小限にして無線ネットワークを構成することができる。   As described above, according to the wireless communication device of the present invention, even when there are a plurality of wireless devices in the vicinity, the wireless device is connected to which device it should be connected to, which network it should participate in, Thus, it is possible to accurately determine whether a new network should be created, and to configure a wireless network with minimal user effort.

また、マルチチャネル構成の通信システムの場合、無線装置が新規のネットワークを形成し、又は既存のネットワークに参入する際、ネットワークのチャネル配置を決定する必要がある。IEEE802.11の通信に使用可能な電波の周波数は複数あり、チャネルとして割り振られている。ここで、単一のチャネルに幾つもの異なるネットワークを存在させることができるが、スループットやパケット遅延を改善するには、空間的に重畳する異なるネットワークを異なるチャネルに割り振ることが求められる。しかしながら、チャネル配置の決定方法は実装依存であるとともに、無線装置を操作するエンドユーザに複数の無線ネットワークのチャネル設定を最適に設定させることは難しい。   In the case of a multi-channel communication system, when a wireless device forms a new network or enters an existing network, it is necessary to determine the network channel arrangement. There are a plurality of radio wave frequencies that can be used for IEEE802.11 communication, and they are allocated as channels. Here, several different networks can exist in a single channel. However, in order to improve throughput and packet delay, it is required to allocate different networks that are spatially overlapped to different channels. However, the method for determining the channel arrangement is implementation-dependent, and it is difficult for the end user operating the wireless device to optimally set the channel settings of a plurality of wireless networks.

無線装置は、チャネル選択の際、各チャネルの通信状況を測定する必要があるが、すべてのチャネルにわたってスキャンしてこれらのパラメータを測定して常時確認することは現実的でなく、チャネル毎にある短い時間の測定の結果を使わざるを得ない。このような場合、そのチャネル上でたまたまバースト的な転送が行なわれる場合や、逆にたまたま通信が全く行なわれていないときにパラメータの測定が行なわれることもあり、適切でないチャネルを選んでしまう可能性がある。   The wireless device needs to measure the communication status of each channel at the time of channel selection, but it is not realistic to scan all channels and measure these parameters at all times, and it is for each channel. The result of a short time measurement must be used. In such a case, the parameter may be measured when a burst transfer happens to occur on the channel, or when there is no communication at all, and an inappropriate channel may be selected. There is sex.

また、新しくネットワークを構成する際に、次々と空きチャネルにネットワークを構成してゆくと、必ずしも複数のネットワーク全体のチャネル効率を良くするとは限らない。何故ならば、空きチャネルがなくなり、単一のチャネル上で複数のネットワークが共存しなければならなくなった際に、ネットワークの組み合わせによっては、通信が破綻するような状況を招来する。データ通信には、音声通信のように低ビットレートながら遅延の許されないリアルタイム性を要求される通信、動画ストリーミングのようにバッファによって多少の遅延は許されても、長時間のレート低下が許されないような通信、ファイル転送などのバースト的で且つベストエフォート型の通信などに大別される。ネットワークをチャネルに配置する際には、それぞれの通信の本来の目的に応じた優先順位がある、と本発明者らは思料する。   Also, when configuring a new network, if the network is configured with empty channels one after another, the channel efficiency of the plurality of networks as a whole is not necessarily improved. This is because, when there are no free channels and a plurality of networks must coexist on a single channel, depending on the combination of networks, a situation may occur in which communication fails. For data communication, communication that requires real-time performance with low bit rate, such as voice communication, and video streaming, even if some delay is allowed by the buffer, video rate streaming does not allow long-term rate reduction Such communication is roughly classified into bursty and best effort communication such as file transfer. The present inventors consider that when placing a network in a channel, there is a priority according to the original purpose of each communication.

そこで、本発明に係る無線通信システムでは、前記のスキャン時に無線装置間で交換するユーザ・データに、現在動作中のアプリケーション、又はこれから動作させるアプリケーションの使用帯域に関する情報を含めるようにして、無線装置は、自分が動作するアプリケーションと、スキャンして検出された各無線装置で現在動作中のアプリケーションを識別する情報を基に、設定すべきチャネルを決定するようにしてもよい。   Therefore, in the wireless communication system according to the present invention, the user data exchanged between wireless devices at the time of scanning includes information on the currently used application or information on the band used for the application to be operated in the future. May determine a channel to be set on the basis of an application in which the user operates and information identifying an application currently operating in each wireless device detected by scanning.

すなわち、無線装置は、無線ネットワークを新たに構成しようとする際に、既存のネットワークを使用中のアプリケーションやアプリケーションが使用する無線帯域に関する情報を得ることができる。そして、これらの情報を使い、例えば、パケット遅延が許されないリアルタイム性が要求されるアプリケーションとバースト的に最大帯域を使用するベストエフォート型のアプリケーションを別のチャネルに割り当てる、といった条件を考慮しつつ、新しい無線装置のチャネル配置を行なう。   That is, when attempting to newly configure a wireless network, the wireless device can obtain information on an application that is using the existing network and a wireless band that is used by the application. And, using these information, for example, while considering the conditions such as assigning the best effort type application that uses the maximum bandwidth in bursts to the application that requires the real-time property that packet delay is not allowed, to different channels, Perform channel assignment for new wireless devices.

具体的には、ベストエフォート型のアプリケーションを動作する無線装置は、既存のベストエフォート型ネットワークが存在するチャネル上に自分のネットワークを形成するようにする。また、ストリーミング型のアプリケーションを動作する無線装置は、既存のストリーミング型ネットワークが存在するチャネルで必要帯域を確保できるときには、該チャネル上に自分のネットワークを形成するようにする。   Specifically, a wireless device that operates a best effort type application forms its own network on a channel where an existing best effort type network exists. In addition, when a necessary bandwidth can be secured in a channel where an existing streaming network exists, a wireless device operating a streaming application forms its own network on the channel.

このようなチャネル配置方法によれば、複数の無線ネットワークが空間的に重畳する場合でも、最もチャネルの無駄がなく、通信の障害の少ない無線ネットワークを構成することができる。全く無線通信が行なわれていないチャネルが存在しても、無線装置は敢えて既に使用されているチャネルを選択する場合があり得る。このような選択を行なうのはすべてのチャネルを含めての全帯域の利用効率を最適化するためである。   According to such a channel arrangement method, even when a plurality of wireless networks are spatially overlapped, it is possible to configure a wireless network with the least channel waste and few communication failures. Even if there is a channel in which no wireless communication is performed, the wireless device may daringly select a channel that has already been used. This selection is performed in order to optimize the utilization efficiency of the entire band including all channels.

また、IEEE802.11の規格では、省電力化に関して、パワー・マネージメントが有効になっているときの動作を規定しているが、どのようなタイミング、どのような条件でパワー・マネージメントを有効にするかについては、仕様の範囲外すなわち実装依存である。   The IEEE802.11 standard defines the operation when power management is enabled for power saving, but enables power management at any timing and under any conditions. Is outside the scope of the specification, that is, implementation-dependent.

パワー・マネージメント動作の基本は、受信動作を停止することであるが、受信側となる無線装置は間欠的に受信機を動かす必要がある。すなわち、送信側及び受信側となる無線装置間では、あらかじめ決きめられたルールに従って受信機の停止と作動を切り替えるようにしなければならない。通常は、ビーコンの送信タイミングやビーコン・フレームの内容を使って送信側と受信側の同期を取っている。これに対し、ネットワークへ参加していない端末は、いずれのネットワークのビーコンにも同期していないため、ネットワークへの接続を行なう前は省電力モードを使用できない。   The basic power management operation is to stop the reception operation, but the radio device on the reception side needs to move the receiver intermittently. That is, between the wireless devices on the transmission side and the reception side, it is necessary to switch between stopping and operating the receiver according to a predetermined rule. Normally, the transmission side and the reception side are synchronized using the beacon transmission timing and the contents of the beacon frame. On the other hand, since a terminal not participating in the network is not synchronized with the beacon of any network, the power saving mode cannot be used before connection to the network.

パワー・マネージメントを使用する条件として、スキャンを行なっている状態では省電力モードを使わないようにすることが好ましい。インフラストラクチャ・モード下でのスキャン動作は端末局が制御局を探索することである。制御局はスリープ状態になることはなく常に電波を受信可能であるから、端末局は自分がスキャンを行なっている状態のときのみスリープ状態が解除されていれば通信に障害が起きることはない。これに対し、アドホック・モード下では、スキャンを行なう側の端末局がスリープ状態を解除しても、スキャンを受けるべき既存の端末局がスリープ状態に入っているときには、タイミングによってはスキャン用のパケットを受けられない。この結果、正確なスキャン動作を実現することが困難となる。   As a condition for using power management, it is preferable not to use the power saving mode when scanning is performed. The scanning operation under the infrastructure mode is that the terminal station searches for the control station. Since the control station does not enter the sleep state and can always receive radio waves, the terminal station does not fail in communication if the sleep state is canceled only when it is in a scanning state. On the other hand, in the ad-hoc mode, even if the terminal station on the scanning side cancels the sleep state, if the existing terminal station to be scanned is in the sleep state, depending on the timing, the scan packet I cannot receive it. As a result, it becomes difficult to realize an accurate scanning operation.

そこで、本発明に係る無線通信システムでは、少なくとも一部の無線装置は、受信機の動作を一時的に停止して省電力化を図る機能を備えているが、スキャンする側となる無線装置は、スキャンに先がけて、前記の通信に使用可能なチャネル上で、連続受信モード要求パケットを、所定の省電力モード時の送信規則に従って送信するようになっている。これに対し、該連続受信モード要求パケットを受信した周囲の無線装置では、一時的にPowerSaveモードを解除する、あるいは、PowerSaveモード下でDoze状態への遷移を禁止することによって、受信機を連続して動作させるようになっている。そして、スキャンする側となる無線装置は、周囲の無線装置が受信機を連続して動作させている期間を利用して、前記の通信に使用可能なチャネル上で特に宛先を指定しないブロードキャスト・アドレスに対してスキャン用フレームを送信する。周囲の無線装置では、受信機がスリープ状態になっていないので、該スキャンフレームを受信することができる。これによって、スキャンする側の無線装置は、まだIEEE802.11のネットワークを構成する前でPowerSaveモードが使用できない状態であるにも拘らず、成功裏にスキャンを実施することができる。   Therefore, in the wireless communication system according to the present invention, at least some of the wireless devices have a function of temporarily stopping the operation of the receiver to save power, but the wireless device on the scanning side is Prior to scanning, a continuous reception mode request packet is transmitted according to a transmission rule in a predetermined power saving mode on a channel usable for the communication. On the other hand, in the surrounding wireless devices that have received the continuous reception mode request packet, by temporarily canceling the Power Save mode or prohibiting the transition to the Doze state under the Power Save mode, To operate. Then, the wireless device on the scanning side uses a period in which the surrounding wireless devices continuously operate the receiver, and broadcast addresses that do not particularly specify a destination on the channel that can be used for the communication. A scan frame is transmitted. The surrounding wireless devices can receive the scan frame because the receiver is not in the sleep state. As a result, the wireless device on the scanning side can successfully perform scanning even though the power save mode cannot be used before configuring the IEEE 802.11 network.

スキャンされる側の無線装置が省電力状態を解除したままでは、電力を消費し続けてしまうので、元の通常のPowerSaveモードに戻らなければならない。   If the wireless device to be scanned is released from the power saving state, it continues to consume power, so it must return to the original normal Power Save mode.

そこで、スキャンされる側の無線装置は、該接続相手となる無線装置との間で無線接続に必要となる接続パラメータを含むユーザ・データを交換した後に、受信機の連続動作を解除するようにしてもよい。   Therefore, the wireless device on the scanning side exchanges user data including connection parameters necessary for wireless connection with the wireless device that is the connection partner, and then cancels the continuous operation of the receiver. May be.

あるいは、スキャンされる側の無線装置は、接続のためのユーザ・データ交換が終わる程度の相当時間が経っても、接続のためのユーザ・データの交換が終わらない場合には、受信機の連続動作を解除するようにしてもよい。   Alternatively, if the wireless device to be scanned does not finish the exchange of user data for the connection after a considerable amount of time has passed for the exchange of user data for the connection, The operation may be canceled.

また、本発明の第2の側面は、通信に使用可能なチャネル上でパケット通信を行なうための処理をコンピュータ上で実行するようにコンピュータ可読形式で記述されたコンピュータ・プログラムであって、前記コンピュータに対し、
パケット通信を行なうアプリケーション、又は、アプリケーションの実行を指示するユーザが他の無線通信装置と交換したい任意の情報を含むユーザ・データを所定のユーザ・データ・パケットの形式に変換するユーザ・データ・パケット作成手順と、
前記ユーザ・データ・パケット作成手順を実行することによって作成されたユーザ・データ・パケットを管理用のパケットとして無線送信するパケット送信手順と、
他の無線通信装置から無線送信された管理用のパケットを受信するパケット受信手順と、
前記パケット受信手順を実行することによって受信した管理用パケットに含まれるデータ・パケット部分からユーザ・データを取り出すユーザ・データ抽出手順と、
ネットワーク識別子と暗号鍵に基づいて既存の無線ネットワークに参加し又は新しい無線ネットワークを構成して、他の無線通信装置との接続を制御する接続制御手順と、
接続候補となる他の無線通信装置と上記ユーザ・データを交換し、交換したユーザ・データを用いて接続すべき相手を決定し、該決定された接続すべき相手と同じネットワーク識別子と暗号鍵を前記接続制御手順において設定させるデータ処理手順と、
を実行させることを特徴とするコンピュータ・プログラムである。
According to a second aspect of the present invention, there is provided a computer program written in a computer-readable format so that processing for performing packet communication on a channel usable for communication is executed on a computer. Whereas
Application that performs packet communication or user data packet that converts user data including arbitrary information that a user instructing execution of the application wants to exchange with another wireless communication device to a predetermined user data packet format Creation procedure and
A packet transmission procedure for wirelessly transmitting a user data packet created by executing the user data packet creation procedure as a management packet;
A packet reception procedure for receiving a management packet wirelessly transmitted from another wireless communication device;
A user data extraction procedure for extracting user data from a data packet portion included in a management packet received by executing the packet reception procedure;
A connection control procedure for joining an existing wireless network or configuring a new wireless network based on a network identifier and an encryption key, and controlling connection with other wireless communication devices;
The user data is exchanged with other wireless communication devices that are connection candidates, the other party to be connected is determined using the exchanged user data, and the same network identifier and encryption key as the determined other party to be connected are determined. A data processing procedure to be set in the connection control procedure;
Is a computer program characterized in that

また、本発明の第3の側面は、受信機の動作を一時的に停止する省電力化機能を実現するとともに、通信に使用可能なチャネル上でパケット通信を行なうための処理をコンピュータ上で実行するようにコンピュータ可読形式で記述されたコンピュータ・プログラムであって、前記コンピュータに対し、
スキャン動作に先駆けて、他の無線通信装置に連続的な受信動作を要求する連続受信モード要求パケットを送信する手順と、
省電力モード時における所定の送信規則に従って連続受信モード要求パケットを送信する手順と、
連続受信モード要求パケットを受信したことに応答して、連続的な受信動作を行なう手順と、
連続的な受信動作を行なっているときに、所定の条件を満たしたとき又は所定の時間が経過したことに応じて、間欠的な受信動作を開始する手順と、
を実行させることを特徴とするコンピュータ・プログラムである。
In addition, the third aspect of the present invention realizes a power saving function for temporarily stopping the operation of the receiver and executes processing for performing packet communication on a channel usable for communication on a computer. A computer program written in a computer readable format, said computer program
Prior to the scanning operation, a procedure for transmitting a continuous reception mode request packet for requesting a continuous reception operation to another wireless communication device;
A procedure for transmitting a continuous reception mode request packet according to a predetermined transmission rule in the power saving mode;
In response to receiving the continuous reception mode request packet, a procedure for performing a continuous reception operation;
A procedure for starting an intermittent reception operation when a predetermined condition is satisfied or a predetermined time has elapsed when performing a continuous reception operation;
Is a computer program characterized in that

本発明の第2乃至第3の各側面に係るコンピュータ・プログラムは、コンピュータ上で所定の処理を実現するようにコンピュータ可読形式で記述されたコンピュータ・プログラムを定義したものである。換言すれば、本発明の第2乃至第3の各側面に係るコンピュータ・プログラムをコンピュータにインストールすることによってコンピュータ上では協働的作用が発揮され、本発明の第1の側面に係る無線通信システムにおいて、インフラストラクチャ・モード下における制御局又は端末局、あるいはアドホック・モード下における端末局として動作する無線装置を構成することができる。このような無線通信装置を複数起動して無線ネットワークを構築することによって、本発明の第1の側面に係る無線通信システムと同様の作用効果を得ることができる。   The computer program according to each of the second to third aspects of the present invention defines a computer program written in a computer-readable format so as to realize predetermined processing on the computer. In other words, by installing the computer program according to each of the second to third aspects of the present invention in the computer, a cooperative action is exhibited on the computer, and the wireless communication system according to the first aspect of the present invention. , A wireless device that operates as a control station or a terminal station in the infrastructure mode or a terminal station in the ad hoc mode can be configured. By activating a plurality of such wireless communication devices to construct a wireless network, it is possible to obtain the same effects as the wireless communication system according to the first aspect of the present invention.

本発明によれば、接続前の無線装置同士が事前に適切な接続相手を探すとともに接続に必要な情報を簡素な手続で共通に指定して、好適にネットワークを形成することができる、優れた無線通信システム、無線通信装置及び無線通信方法、並びにコンピュータ・プログラムを提供することができる。   According to the present invention, wireless devices before connection search for an appropriate connection partner in advance, and information necessary for connection can be specified in common by a simple procedure, and a network can be suitably formed. A wireless communication system, a wireless communication apparatus, a wireless communication method, and a computer program can be provided.

また、本発明によれば、通信に使用可能な複数の電波周波数帯がチャネルとして割り当てられている通信環境下で、共存する複数のネットワーク全体のチャネル効率を考慮して各ネットワークのチャネル配置を好適に決定することができる、優れた無線通信システム、無線通信装置及び無線通信方法、並びにコンピュータ・プログラムを提供することができる。   Further, according to the present invention, in a communication environment in which a plurality of radio frequency bands that can be used for communication are assigned as channels, the channel arrangement of each network is preferably considered in consideration of the channel efficiency of the entire plurality of coexisting networks. An excellent wireless communication system, wireless communication apparatus and wireless communication method, and computer program can be provided.

また、本発明によれば、各無線装置がパワー・マネージメント動作を有効化させながら自律分散的に動作する通信環境下で、正確なスキャン動作を実現してチャネル配置を最適化することができる、優れた無線通信システム、無線通信装置及び無線通信方法、並びにコンピュータ・プログラムを提供することができる。   Further, according to the present invention, it is possible to optimize the channel arrangement by realizing an accurate scanning operation in a communication environment in which each wireless device operates autonomously while enabling the power management operation. An excellent wireless communication system, wireless communication apparatus, wireless communication method, and computer program can be provided.

本発明によれば、IEEE802.11の接続前に任意の情報をやりとりできるようにすることで、簡単なユーザ操作で、利用効率の高いチャネル設定で、パワー・マネージメントにも対応した接続が可能になる。   According to the present invention, by allowing arbitrary information to be exchanged before connection of IEEE802.11, it is possible to connect with power management and channel setting with high usage efficiency with a simple user operation. Become.

本発明のさらに他の目的、特徴や利点は、後述する本発明の実施形態や添付する図面に基づくより詳細な説明によって明らかになるであろう。   Other objects, features, and advantages of the present invention will become apparent from more detailed description based on embodiments of the present invention described later and the accompanying drawings.

以下、図面を参照しながら本発明の実施形態について詳解する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

A.システム構成
図1には、本発明に係る無線ネットワークにおいて通信動作を行なうことができる無線装置のハードウェア構成を模式的に示している。無線装置は、パーソナル・コンピュータなどの無線LANカードを搭載した情報機器、あるいはデジタルカメラや音楽プレーヤなどのCE機器である。
A. System Configuration FIG. 1 schematically shows a hardware configuration of a wireless device capable of performing a communication operation in a wireless network according to the present invention. The wireless device is an information device equipped with a wireless LAN card such as a personal computer, or a CE device such as a digital camera or a music player.

図示の無線装置は、CPU(Central Processing Unit)101が、ROM(Read Only Memory)102やRAM(Random Access Memory)103などのメモリ装置、周辺装置104、HDD(Hard Disk Drive)などの外部記憶装置105、無線LANインターフェース106などの周辺装置とはバスを介して相互接続されている。また、ブリッジ装置を介して2本以上のバスが連結されている。   In the illustrated wireless device, a CPU (Central Processing Unit) 101 includes a memory device such as a ROM (Read Only Memory) 102 and a RAM (Random Access Memory) 103, a peripheral device 104, and an external storage device such as a HDD (Hard Disk Drive). 105 and a peripheral device such as the wireless LAN interface 106 are interconnected via a bus. Two or more buses are connected via a bridge device.

CPU101は、ROM102に格納された制御コードや、外部記憶装置105にインストールされているプログラム・コードをRAM103上にロードして実行することによって、周辺装置104を用いた装置動作(例えば、デジタルカメラにおける撮影や画像再生動作、音楽プレーヤにおけるプレイリスト表示や音楽再生動作)や、無線LANインターフェース106を用いた通信動作など、装置全体の動作を統括的に制御する。   The CPU 101 loads the control code stored in the ROM 102 or the program code installed in the external storage device 105 onto the RAM 103 and executes it to execute device operations using the peripheral device 104 (for example, in a digital camera). The overall operation of the apparatus, such as shooting and image playback operations, playlist display and music playback operations in a music player, and communication operations using the wireless LAN interface 106, is comprehensively controlled.

図1に示した例では、無線LANインターフェース106はIEEE802.11のMAC(MediaAccessControl)層のフレームをバス経由でRAM103に渡し、CPU101でMAC層の処理を行なうようになっている。但し、本発明の要旨は、図1に示したような無線装置の構成に限定されるものではなく、図2に示すような別の構成も考えられる。図2では、無線LANインターフェース部110は、I/Oインターフェース107経由でバスに接続されている。無線LANインターフェース部110とバスをつなぐI/Oインターフェース107は、MSIO(Memory Stick IO)、SDIO(Secure Digital IO)、USB(Universal Serial Bus)などが一般的である。   In the example shown in FIG. 1, the wireless LAN interface 106 passes a frame of an IEEE802.11 MAC (Media Access Control) layer to the RAM 103 via a bus, and the CPU 101 performs processing of the MAC layer. However, the gist of the present invention is not limited to the configuration of the radio apparatus as shown in FIG. 1, and another configuration as shown in FIG. 2 is also conceivable. In FIG. 2, the wireless LAN interface unit 110 is connected to the bus via the I / O interface 107. The I / O interface 107 that connects the wireless LAN interface unit 110 and the bus is generally MSIO (Memory Stick IO), SDIO (Secure Digital IO), USB (Universal Serial Bus), or the like.

図3には、無線LANインターフェース部110の内部構成を示している。無線インターフェース部110内のCPU111とRAM113を使ってIEEE802.11のMAC(MediaAccessControl)層の処理を行ない、IEEE802.3と等価なフレームをI/Oインターフェース118及びI/Oインターフェース107を通じてホストCPU101に送るようになっている。   FIG. 3 shows an internal configuration of the wireless LAN interface unit 110. The CPU 111 and the RAM 113 in the wireless interface unit 110 are used to perform IEEE 802.11 MAC (Media Access Control) layer processing, and a frame equivalent to IEEE 802.3 is sent to the host CPU 101 through the I / O interface 118 and the I / O interface 107. It is like that.

図4には、図1若しくは図2に示した無線装置を複数台使って構成される無線システムの構成例を示している。同図において、無線装置11はいわゆるアクセスポイント(AP)として機能し、その他の無線装置21〜24は端末局(STA:Station)として機能し、全体でインフラストラクチャ・モードとして無線ネットワークすなわちBSS(Basic Service Set)を形成している。このような無線ネットワークは、例えば、無線装置11が写真や音楽のコンテンツを貯めているサーバとして機能し、無線装置21〜24が無線装置11に蓄えられたコンテンツを閲覧するようなアプリケーションに好適な構成である。   FIG. 4 illustrates a configuration example of a wireless system configured by using a plurality of wireless devices illustrated in FIG. 1 or FIG. In the figure, a wireless device 11 functions as a so-called access point (AP), and the other wireless devices 21 to 24 function as terminal stations (STAs), and as a whole, a wireless network, that is, a BSS (Basic). Service Set). Such a wireless network is suitable, for example, for an application in which the wireless device 11 functions as a server that stores photos and music content, and the wireless devices 21 to 24 browse content stored in the wireless device 11. It is a configuration.

また、図5には、図1若しくは図2に示した無線装置を複数台使って構成される無線システムの他の構成例を示している。同図において、無線装置31〜35はすべて対等な端末局(STA)で、いわゆるアドホック・モードでBSSを形成している。無線装置31〜35がそれぞれサーバとしてもクライアントとしても機能し、お互いに写真データや音楽データ、プレイリスト、メッセージなどを交換するようなアプリケーションが考えられる。   FIG. 5 illustrates another configuration example of a wireless system configured by using a plurality of wireless devices illustrated in FIG. 1 or FIG. In the figure, wireless devices 31 to 35 are all equal terminal stations (STAs), and form a BSS in a so-called ad hoc mode. An application is considered in which the wireless devices 31 to 35 function as a server and a client, respectively, and exchange photo data, music data, a playlist, a message, and the like with each other.

図6には、無線装置がデジタルカメラである場合に、無線ネットワークを利用して写真交換を行なう様子を示している。同図において、カメラ41、51にはそれぞれ交換ボタン42、52が装備されており、ユーザが交換ボタン42と52を同時に押すことで、無線接続を行ない、写真交換ができるようにする。   FIG. 6 shows a state in which pictures are exchanged using a wireless network when the wireless device is a digital camera. In the figure, the cameras 41 and 51 are equipped with exchange buttons 42 and 52, respectively, and when the user presses the exchange buttons 42 and 52 at the same time, a wireless connection is established so that pictures can be exchanged.

また、図7には、無線装置が音楽プレーヤである場合に、無線ネットワークを利用して楽曲交換又はプレイリスト交換を行なう様子を示している。3人のユーザが音楽プレーヤ61、71、81をそれぞれ楽曲交換モードあるいはプレイリスト交換モードに入れると、表示装置62、72、82には周囲の無線装置の一覧が表示される。ユーザは、周囲の無線装置の一覧から、自分が交換したい相手を選択ボタン63、73で選び決定ボタン64、74で指定することで無線接続を行ない、音楽プレーヤ61及び71の間で楽曲あるいはプレイリストの交換が行なわれる。   FIG. 7 shows a state in which music exchange or playlist exchange is performed using a wireless network when the wireless device is a music player. When three users put the music players 61, 71, 81 into the music exchange mode or the playlist exchange mode, a list of surrounding wireless devices is displayed on the display devices 62, 72, 82. The user selects a partner to be exchanged from a list of surrounding wireless devices by using the selection buttons 63 and 73 and designates it with the decision buttons 64 and 74, and performs wireless connection, and music or play between the music players 61 and 71. List exchange is performed.

図7に示した例では、音楽プレーヤ61と71は、お互いを選んで決定しているので、接続される。他方、音楽プレーヤ81は、表示装置82に周りの音楽プレーヤの情報が表示されているが、ボタン操作を行なっていないので、未だ接続されていない状態である。   In the example shown in FIG. 7, the music players 61 and 71 are connected because they have selected and determined each other. On the other hand, the music player 81 is not connected yet because the information of the surrounding music players is displayed on the display device 82 but no button operation is performed.

図6並びに図7に示した、カメラと音楽プレーヤのどちらの例も、無線接続を行なった後に実際に相手の持っているコンテンツを検索したり選択したりするためには、アプリケーションあるいはミドルウェアが別途必要である。但し、この点は本発明の要旨には直接関連しないので、ここでは説明を省略する。   Both the example of the camera and the music player shown in FIG. 6 and FIG. 7 require an application or middleware to search and select the content actually held by the other party after the wireless connection is made. is necessary. However, since this point is not directly related to the gist of the present invention, the description is omitted here.

本発明によれば、無線装置は、通常のIEEE802.11のデータ通信を行なうための接続を行なう前(すなわちBSSを形成する前)に、32バイト以上の任意の情報を無線装置間でやりとりすることができる。この場合の無線装置の機能的構成を図8に示している。   According to the present invention, the wireless device exchanges arbitrary information of 32 bytes or more between the wireless devices before making a connection for performing normal IEEE802.11 data communication (that is, before forming the BSS). be able to. FIG. 8 shows a functional configuration of the wireless device in this case.

図示の無線装置は、ユーザ・データ・パケット作成手段2と、パケット送信手段3と、パケット受信手段5と、ユーザ・データ抽出手段4と、データ処理手段1と、接続制御手段6を備えている。   The illustrated radio apparatus includes a user data packet creation unit 2, a packet transmission unit 3, a packet reception unit 5, a user data extraction unit 4, a data processing unit 1, and a connection control unit 6. .

ユーザ・データ・パケット作成手段2は、ユーザ・データを所定のユーザ・データ・パケットの形式に変換する。ここで言うユーザ・データは、無線装置上で動作しているアプリケーション、又は、無線装置を操作するユーザが他の無線装置と交換したい任意の情報を含むデータである。   The user data packet creation means 2 converts user data into a predetermined user data packet format. The user data referred to here is data including an application operating on the wireless device or arbitrary information that a user operating the wireless device wants to exchange with another wireless device.

パケット送信手段3は、ユーザ・データ・パケット作成手段2で作成されたユーザ・データ・パケットを管理用のパケットとして無線送信する。一方、パケット受信手段5は、他の無線装置から送信されたパケットを受信し、管理用パケットに含まれるデータ・パケット部分をユーザ・データ抽出手段4に渡す。そして、ユーザ・データ抽出手段4は、渡された受信パケットに上記ユーザ・データが存在すれば、これを取り出し、データ処理手段1に渡す。   The packet transmission means 3 wirelessly transmits the user data packet created by the user data packet creation means 2 as a management packet. On the other hand, the packet receiving unit 5 receives a packet transmitted from another wireless device, and passes the data packet part included in the management packet to the user data extracting unit 4. Then, if the user data exists in the received packet that has been passed, the user data extraction unit 4 extracts the user data and passes it to the data processing unit 1.

データ処理手段1は、ユーザ・データ・パケット作成手段2、並びにユーザ・データ抽出手段4を通じて接続候補となる他の無線装置と上記ユーザ・データを交換し、交換したユーザ・データを用いて接続すべき相手を決定し、決定された接続すべき相手と同じネットワーク識別子、暗号鍵を接続制御手段6に設定する。   The data processing means 1 exchanges the user data with other wireless devices as connection candidates through the user data packet creation means 2 and the user data extraction means 4, and connects using the exchanged user data. The other party to be connected is determined, and the same network identifier and encryption key as the determined other party to be connected are set in the connection control means 6.

接続制御手段6は、設定されたネットワーク識別子、暗号鍵に基づいて、既存の無線ネットワークに参加、あるいは新しい無線ネットワークを構成する。   The connection control means 6 joins an existing wireless network or configures a new wireless network based on the set network identifier and encryption key.

このように、無線装置は、ネットワーク識別子によって無線ネットワークを分離し、暗号鍵を基にデータを暗号化してパケット通信する。IEEE802.11の場合、ネットワーク識別子は、SSID、暗号鍵はWEPキー又はPSK、データ用パケットはData Frame、管理用パケットはManagement Frameなどに対応する。また、無線装置は、パケット通信に用いるデータ用パケットとは別の通信を管理するための管理用パケットを送受信することができる。   In this way, the wireless device separates the wireless network by the network identifier, encrypts data based on the encryption key, and performs packet communication. In the case of IEEE 802.11, a network identifier corresponds to an SSID, an encryption key corresponds to a WEP key or PSK, a data packet corresponds to a data frame, a management packet corresponds to a management frame, and the like. The wireless device can transmit and receive a management packet for managing communication different from the data packet used for packet communication.

無線装置は、ユーザ・データの中に、機器の種別、現在動作しているアプリケーションの種別、ユーザの名前、現在のアプリケーションの状態などを含ませ、これらの情報を基に、自分が接続すべき無線装置、あるいは、自分が参加すべき無線ネットワークを決定する。次に、ユーザ・データとして、ネットワーク識別子及び暗号鍵を入れ、接続すべき相手と交換をする。交換したネットワーク識別子、及び暗号鍵を使って通常のIEEE802.11の無線ネットワークへの参加、あるいは新規無線ネットワークの構成をする。   The wireless device should include the device type, the type of application currently running, the name of the user, the status of the current application, etc. in the user data. A wireless device or a wireless network to which the wireless device should participate is determined. Next, the network identifier and the encryption key are entered as user data, and exchanged with the other party to be connected. The exchanged network identifier and encryption key are used to join a normal IEEE 802.11 wireless network or to configure a new wireless network.

図8に示した機能的構成によれば、無線装置は、周囲に複数の無線装置がある場合であっても、自分がどの機器と接続すべきか、どのネットワークに参加すべきか、自分で新しいネットワークを作成するべきかを的確に決め、ユーザの手間を最小限にして無線ネットワークを構成することができる。   According to the functional configuration shown in FIG. 8, even when there are a plurality of wireless devices in the vicinity, the wireless device can determine which device it should connect to, which network it should join, and its own new network. It is possible to accurately determine whether to create a wireless network, and to configure a wireless network with minimal user effort.

また、図9には、図8に示した構成の変形例を示している。図示の無線装置は、チャネル設定手段7をさらに備えている。   FIG. 9 shows a modification of the configuration shown in FIG. The illustrated radio apparatus further includes channel setting means 7.

無線装置は、ユーザ・データとして、現在動作中のアプリケーション、あるいはこれから動作させるアプリケーションの使用帯域に関する情報を含ませる。ここで言う使用帯域に関する情報は、アプリケーションを識別する情報、アプリケーションが使用する平均帯域、アプリケーションが使用する最大帯域、アプリケーションが最大帯域を連続して使用する時間のいずれかを含む。   The wireless device includes, as user data, information related to a currently used application or a band used by an application to be operated in the future. The information regarding the used band here includes any one of information for identifying the application, an average band used by the application, a maximum band used by the application, and a time during which the application continuously uses the maximum band.

データ処理手段1は、現在動作中のアプリケーションを識別する情報を基に、設定すべきチャネルを決定し、そのチャネルをチャネル設定手段7に指示する。そして、チャネル設定手段7は、データ処理手段1から指示されたチャネルに無線装置のチャネルを合わせる。   The data processing means 1 determines a channel to be set based on information for identifying an application that is currently operating, and instructs the channel setting means 7 about the channel. Then, the channel setting unit 7 matches the channel of the wireless device with the channel designated by the data processing unit 1.

図9に示した無線装置は、無線ネットワークを新たに構成しようとする際に、既存のネットワークを使用中のアプリケーションやアプリケーションが使用する無線帯域に関する情報を得ることができる。そして、これらの情報を使い、例えば、パケット遅延が許されないリアルタイム性が要求されるアプリケーションとバースト的に最大帯域を使用するベストエフォート型のアプリケーションを別のチャネルに割り当てる、といった条件を考慮しつつ、新しい無線装置のチャネル配置を行なう。このようなチャネル配置方法によれば、複数の無線ネットワークが空間的に重畳する場合でも、最もチャネルの無駄がなく、通信の障害の少ない無線ネットワークを構成することができる。   When trying to newly configure a wireless network, the wireless device illustrated in FIG. 9 can obtain information on an application that is using an existing network and a wireless band that is used by the application. And, using these information, for example, while considering the conditions such as assigning the best effort type application that uses the maximum bandwidth in bursts to the application that requires the real-time property that packet delay is not allowed, to different channels, Perform channel assignment for new wireless devices. According to such a channel arrangement method, even when a plurality of wireless networks are spatially overlapped, it is possible to configure a wireless network with the least channel waste and few communication failures.

また、図10には、図8に示した構成のさらに他の変形例を示している。図示の無線装置は、受信機の動作を一時的に停止することで、省電力化を図るように構成されている。   FIG. 10 shows still another modification of the configuration shown in FIG. The illustrated wireless device is configured to save power by temporarily stopping the operation of the receiver.

パケット送信手段3は、データ処理手段からの指示で連続受信モード要求パケットを所定の省電力モード時の送信規則に従って送信する。ここで言う連続受信モード要求パケットは、例えばユーザ・データとして送信される。   The packet transmission unit 3 transmits a continuous reception mode request packet according to a transmission rule in a predetermined power saving mode in response to an instruction from the data processing unit. The continuous reception mode request packet here is transmitted as user data, for example.

一方、パケット受信手段5は、受信した上記連続受信モード要求パケットをデータ処理手段1に渡す。   On the other hand, the packet receiving unit 5 passes the received continuous reception mode request packet to the data processing unit 1.

データ処理手段1は、スキャン動作に先駆けて、パケット送信手段3に対して、上記連続受信モード要求パケットの送信を指示する。また、上記連続受信モード要求パケットを受けると、パケット受信手段5に対して受信機を連続して動作させる指示を出し、その後、ある条件又はある一定時間が過ぎるとパケット受信手段5に対し受信機を間欠的に動作させる指示を出す。   Prior to the scanning operation, the data processing unit 1 instructs the packet transmission unit 3 to transmit the continuous reception mode request packet. Further, when the continuous reception mode request packet is received, an instruction to continuously operate the receiver is issued to the packet receiving means 5, and after that, when a certain condition or a certain fixed time has passed, the receiver of the packet receiving means 5 is received. Instructs to operate intermittently.

パケット受信手段5は、データ処理手段1から受信機を連続して動作させる指示を受けると、受信機を連続して動作させる。また、受信機を間欠的に動作させる指示を受けると、所定の規則に従って受信機を間欠的に動作させる。   When receiving an instruction to continuously operate the receiver from the data processing unit 1, the packet receiving unit 5 operates the receiver continuously. Further, when an instruction to intermittently operate the receiver is received, the receiver is intermittently operated according to a predetermined rule.

図10に示した無線装置は、スキャンに先がけて周囲の無線装置が連続受信状態にするためのトリガとなる連続受信モード要求パケットを送信する。一方、既にネットワークを構成している無線装置は、連続受信モード要求パケットを受け取ると、自分の状態を常時受信モードにし、一時的にPowerSaveモードを解除する(あるいは、PowerSaveモード下でDoze状態への遷移を禁止する)。このように受信機がスリープ状態になっていないので、まだIEEE802.11のネットワークを構成する前でPowerSaveモードが使用できない無線装置が送信したスキャンのための連続受信モード要求パケットや、上述したようなユーザ・データをやりとりするためのパケットを、受信できなくなることがなくなる。   The wireless device illustrated in FIG. 10 transmits a continuous reception mode request packet that triggers a surrounding wireless device to enter a continuous reception state prior to scanning. On the other hand, when a wireless device already configuring the network receives the continuous reception mode request packet, it changes its state to the constant reception mode and temporarily cancels the Power Save mode (or enters the Doze state under the Power Save mode). Prohibit transition). Since the receiver is not in the sleep state in this way, a continuous reception mode request packet for scanning transmitted by a wireless device that cannot use the PowerSave mode before configuring the IEEE 802.11 network, or the above-described Packets for exchanging user data can no longer be received.

ここで、図1に示したハードウェア構成では、図8〜図10中のユーザ・データ・パケット作成手段2、ユーザ・データ抽出手段4、接続制御手段6、データ処理手段1は、外部記憶装置105に蓄えられたソフトウェア・プログラムがRAM103上に展開され、CPU101で実行されることによって実現される。また、パケット送信手段3、パケット受信手段5、チャネル設定手段7は無線LANインターフェース106により実現される。   Here, in the hardware configuration shown in FIG. 1, the user data packet creation means 2, the user data extraction means 4, the connection control means 6, and the data processing means 1 in FIGS. The software program stored in 105 is developed on the RAM 103 and executed by the CPU 101. The packet transmission unit 3, the packet reception unit 5, and the channel setting unit 7 are realized by the wireless LAN interface 106.

あるいは、図2に示したハードウェア構成では、図8〜図10中のユーザ・データ・パケット作成手段2、ユーザ・データ抽出手段4、接続制御手段6、データ処理手段1は、部分的に本体のCPU101と無線LANインターフェース部110内部のCPU111とで分担して実行される。   Alternatively, in the hardware configuration shown in FIG. 2, the user data packet creation means 2, the user data extraction means 4, the connection control means 6, and the data processing means 1 in FIGS. The CPU 101 and the CPU 111 inside the wireless LAN interface unit 110 are shared and executed.

B.システム動作
続いて、IEEE802.11にしたがってネットワークが運用される通信環境下における、無線装置の動作について説明する。
B. System Operation Next, the operation of the wireless device in a communication environment in which a network is operated according to IEEE 802.11 will be described.

B−1.IEEE802.11接続を実現するまでの全体フロー
まず、無線装置が図6又は図7に示したような接続を実現するためにユーザ・データを交換する処理動作について説明する。図11には、IEEE802.11の無線接続を行なうための無線装置の処理手順をフローチャートの形式で示している。但し、無線装置は、図8又は図9に示した機能的構成を備えているものとする。
B-1. Overall Flow to Realize IEEE802.11 Connection First, the processing operation in which wireless devices exchange user data to realize the connection shown in FIG. 6 or FIG. 7 will be described. FIG. 11 shows, in the form of a flowchart, the processing procedure of the wireless apparatus for performing IEEE 802.11 wireless connection. However, the wireless device is assumed to have the functional configuration shown in FIG. 8 or FIG.

無線装置は、スキャンを行ない、あるいはスキャンを受け、周りの無線装置の情報を得る(ステップS1)。   The wireless device scans or receives a scan to obtain information on surrounding wireless devices (step S1).

次いで、無線装置は、必要に応じて、スキャンだけでは得られない、特定の相手の素性を確認するためのデータのやりとりを行なう(ステップS2)。   Next, as necessary, the wireless device exchanges data for confirming the identity of a specific partner that cannot be obtained only by scanning (step S2).

次いで、無線装置は、ステップS1及びステップS2で得られた情報を解析し、接続する相手を判断する(ステップS3)。接続相手が自動的に決められない場合は、ユーザに決定させることもできる。そして、IEEE802.11の無線接続のための接続パラメータ、すなわちSSIDと暗号鍵を必要に応じて自動生成する。   Next, the wireless device analyzes the information obtained in step S1 and step S2, and determines a partner to be connected (step S3). If the connection partner cannot be automatically determined, the user can be determined. Then, connection parameters for IEEE 802.11 wireless connection, that is, an SSID and an encryption key are automatically generated as necessary.

次いで、接続パラメータを生成した無線装置は、相手に接続パラメータを送る(ステップS4)。また、接続パラメータを生成しない無線装置は、相手から接続パラメータを受信する。   Next, the wireless device that has generated the connection parameter sends the connection parameter to the partner (step S4). A wireless device that does not generate connection parameters receives connection parameters from the other party.

次いで、無線装置は、伝達した接続パラメータを使って、IEEE802.11の無線接続を行なう(ステップS5)。この結果、適当なチャネル上で、無線装置同士を接続するBSSが形成される。チャネル配置の方法に関しては後述に譲る。   Next, the wireless device performs IEEE 802.11 wireless connection using the transmitted connection parameter (step S5). As a result, a BSS that connects wireless devices is formed on an appropriate channel. The channel arrangement method will be described later.

IEEE802.11の無線接続を行なう前のステップでのすべての情報のやり取りには、上述したユーザ・データを使用する。また、ステップS1におけるスキャンの過程で試用するユーザ・データとして、以下のような伝送フレームを定義する。   The above-described user data is used for exchanging all information in the step before performing the wireless connection of IEEE802.11. Also, the following transmission frame is defined as user data to be used in the scanning process in step S1.

Existenceフレーム
…スキャンを行なうときに送信する、自分の存在を示すフレーム
Existence responceフレーム
…Existenceフレームを受信したときに返送するフレーム
Existence frame: A frame indicating the presence of the user, which is transmitted when scanning is performed. An response frame which is transmitted when receiving an Existence frame.

図12には、無線装置Aと無線装置Bが無線接続を行なうためにユーザ・データを交換するシーケンス図を示している。但し、同図では、無線装置Aがスキャンを行なう側であり、無線装置Bがスキャンされるものとする。   FIG. 12 shows a sequence diagram for exchanging user data between the wireless device A and the wireless device B for wireless connection. However, in the same figure, it is assumed that the wireless device A is the scanning side and the wireless device B is scanned.

まず、図11に示したフローチャート中のステップS1に相当する処理を実現すべく、無線装置AがExistenceフレームを送信する。Existenceフレームには、現在自局がいるチャネルや、相手がユーザ表示をするときに用いるための自局のニックネームや、後の行程でどちらがSSIDを生成するかを判断するための情報(レベル情報)や、機器の種類や、機器上で動作しているアプリケーションや、アプリケーションの状態の情報が含まれる。ここでは、特に受信相手を指定しない、ブロードキャスト・アドレスに対してExistenceフレームが送信される。   First, in order to realize the processing corresponding to step S1 in the flowchart shown in FIG. In the Existence frame, the channel where the local station is currently located, the nickname of the local station to be used when the other party displays the user, and information for determining which one generates the SSID in the subsequent process (level information) Information on the type of device, the application running on the device, and the status of the application. Here, an Existence frame is transmitted to a broadcast address that does not specify a receiving party.

無線装置Bは、Existenceフレームを受信すると、無線装置Aに対してExsistence responseフレームを送信する。このExsistence responseフレームも、Existenceフレームと同様に、現在自局がいるチャネルや、相手がユーザ表示をするときに用いるための自局のニックネームや、後の行程でどちらがSSIDを決めるかを判断するための情報(後述のレベル情報)や、機器の種類や、機器上で動作しているアプリケーションや、アプリケーションの状態の情報を含む。   When the wireless device B receives the existence frame, the wireless device B transmits an presence response frame to the wireless device A. In the same way as the Existence frame, the Existence response frame is also used to determine which channel the current station is currently on, the nickname of the own station that the other party uses when displaying the user, and which determines the SSID in the subsequent process. Information (level information described later), the type of device, the application running on the device, and the status of the application.

図12に示すシーケンス例では無線装置Aだけがスキャンを行なっているが、無線装置A及び無線装置Bが同時にスキャンを行なう(すなわち、無線装置A及び無線装置Bがともにスキャンする側として各々がExistenceフレームを送信する)ようにしてもよい。   In the sequence example shown in FIG. 12, only the wireless device A performs scanning, but the wireless device A and the wireless device B perform scanning simultaneously (that is, each of the wireless devices A and B as the side on which scanning is performed). A frame may be transmitted).

なお、同図では省略しているが、図11に示したフローチャート中のステップS2の相手の確認を行なう場合には、Existence responseとPublic key Exchangeの間にこのシーケンスを挿入する。   Although omitted in the figure, this sequence is inserted between the extension response and the public key exchange when the partner in step S2 in the flowchart shown in FIG. 11 is confirmed.

B−2.スキャン動作と接続相手の決定
続いて、図11に示したフローチャートのステップS3に相当する情報解析の処理について先に説明する。
B-2. Scanning Operation and Connection Partner Determination Next, information analysis processing corresponding to step S3 in the flowchart shown in FIG. 11 will be described first.

Existenceフレームとこれに対するレスポンス・フレームを交換するスキャン動作を行なった結果、スキャンする側の無線装置Aは、見つかった1以上の無線装置の中から接続相手を決定する。接続相手の決定方法はいろいろ考えられる。図6に示したカメラの例と、図7に示した音楽プレーヤの例との主な相違は、接続相手の決定の仕方にある。以下、それぞれの例での接続相手の決定の仕方について述べる。   As a result of performing a scanning operation for exchanging an Existence frame and a response frame thereto, the wireless device A on the scanning side determines a connection partner from one or more of the found wireless devices. There are various ways to determine the connection partner. The main difference between the example of the camera shown in FIG. 6 and the example of the music player shown in FIG. 7 is in how to determine the connection partner. Hereinafter, how to determine a connection partner in each example will be described.

カメラでの接続相手の決定方法の一例として、2台のカメラの接続ボタンを同時に押したときに接続がなされるようにする。したがって、他の無線装置に伝えるべき情報は、自分はカメラであり、現在写真交換のアプリケーションが動いていること、さらには、ユーザからボタンを押されていて接続を受け付ける状態である、という情報である。無線装置は、これらの情報を、ユーザ・データであるExistenceフレーム及びExistence responceフレームに含ませて接続しようとする相手と交換する。これにより、スキャンを行なう側は、返ってきたExistence responceフレームの内容を評価することで、接続相手を判断することができる。また、スキャンを受ける側は、スキャンする側から送られてくるExistenceフレームの内容を評価することで、接続相手を判断することができる。   As an example of a method of determining a connection partner with a camera, a connection is made when the connection buttons of two cameras are pressed simultaneously. Therefore, the information to be communicated to other wireless devices is information that the user is a camera, the photo exchange application is currently running, and that the button is pressed by the user and the connection is accepted. is there. The wireless device exchanges these pieces of information with the other party to be connected by including them in an Existence frame and an Existence response frame which are user data. As a result, the side performing scanning can determine the connection partner by evaluating the contents of the returned response frame. Further, the side receiving the scan can determine the connection partner by evaluating the contents of the Existence frame sent from the side to be scanned.

さらに3台以上の無線装置が同時にボタンを押した場合の動作も考慮する必要がある。3台の接続ボタンを押した場合は3台すべてを同時に接続する方法も考えられるが、セキュリティ的には接続させないことが望まれる。何故なら、2台のユーザが接続をしようとしているときに、3台目は壁の向こう側にいる不正にアクセスしようとしている無線装置かもしれないからである。本実施形態では、Existence responseフレーム中の機器の状態を示す情報を確認し、機器がボタンを押している状態であれば受信カウントに1を加える。3秒間の間に1台も他の無線装置が見つからなかったら接続エラーとする。また、2台以上の機器が見つかったときも接続エラーとして扱う。そして、1台の機器のみ見つかった場合だけ、図12に示したシーケンス上で次の公開鍵のステップへ進む。   Furthermore, it is necessary to consider the operation when three or more wireless devices press buttons simultaneously. When three connection buttons are pressed, a method of simultaneously connecting all three devices is conceivable, but it is desirable not to connect them in terms of security. This is because when two users are trying to connect, the third may be a wireless device that is trying to gain unauthorized access beyond the wall. In the present embodiment, information indicating the state of the device in the presence response frame is confirmed, and if the device is pressing the button, 1 is added to the reception count. If no other wireless device is found within 3 seconds, a connection error is assumed. Also, when two or more devices are found, it is handled as a connection error. Then, only when only one device is found, the process proceeds to the next public key step on the sequence shown in FIG.

図13には、上述したように互いにボタンを同時押した無線装置を接続相手として決定するための、新たにネットワークに参加する無線装置、又は最初にネットワークを構成する無線装置が行なう処理手順をフローチャートの形式で示している。   FIG. 13 is a flowchart showing a processing procedure performed by a wireless device that newly joins a network or a wireless device that first configures the network, in order to determine a wireless device that simultaneously presses buttons as a connection partner as described above. It is shown in the form of

無線装置は、まずExistenceフレームを送信し(ステップS11)、周囲の無線装置からのExistence responseフレームの受信を試みる(ステップS12)。   First, the wireless device transmits an existence frame (step S11), and tries to receive an extension response frame from surrounding wireless devices (step S12).

ここで、いずれかの無線装置からExistence responseフレームを受信できたときには(ステップS13のYes)、当該受信フレームを情報解析して、返信元の無線装置がカメラであり且つ写真交換アプリケーションを起動しているか(ステップS14)、返信元の無線装置でボタンが押されているか(ステップS15)を順次チェックする。そして、いずれのチェック結果も肯定的であることきには、受信カウントを1だけ増分する(ステップS16)。   When an response frame is received from one of the wireless devices (Yes in step S13), the received frame is analyzed, and the replying wireless device is a camera and a photo exchange application is started. Whether the button is pressed on the replying wireless device (step S15). If any check result is affirmative, the reception count is incremented by 1 (step S16).

また、Existence responseフレームを受信できないとき(ステップS13のNo)、返信元の無線装置がカメラの写真交換アプリケーションを起動していないとき(ステップS14のNo)、又は、返信元の無線装置でボタンが押されていないときには(ステップS15のNo)、ステップS16までの処理をスキップして、受信カウントを変更しない。   Further, when the response frame cannot be received (No in step S13), the reply source wireless device does not start the camera photo exchange application (No in step S14), or the button is pressed on the reply source wireless device. When not pressed (No in step S15), the process up to step S16 is skipped and the reception count is not changed.

無線装置は、ステップS11でExistenceフレームを送信してから0.3秒が経過するまでの間、上述のステップS12〜S16のExistence responseフレームの受信動作を繰り返し実行する(ステップS17)。   The wireless device repeatedly performs the above-described operation of receiving the response frame in steps S12 to S16 until 0.3 seconds elapse after the transmission of the extension frame in step S11 (step S17).

0.3秒が経過すると、無線装置はチャネルを変更する(ステップS18)。チャネルは循環的に変更するように取り決めておき、チャネルを変更した後、最初のチャネルに戻ったかどうか判断する(ステップS19)。ここで、IEEE802.11で使用可能なすべてのチャネルにわたってスキャンしてもよい。但し、IEEE802.11b及び802.11gの場合は隣接及び次隣接するチャネルは干渉が大きいので、アプリケーションがあらかじめ使用するチャネルを、例えば1、6、11チャネルなどに定めて、このチャネルだけ走査するさまにしてもよい。   When 0.3 second elapses, the wireless device changes the channel (step S18). The channel is arranged to change cyclically, and after changing the channel, it is determined whether or not the channel has returned to the first channel (step S19). Here, you may scan over all the channels which can be used by IEEE802.11. However, in the case of IEEE802.11b and 802.11g, the adjacent and next adjacent channels have a large interference. Therefore, the channels used by the application are determined in advance as, for example, 1, 6, 11 channels, and only this channel is scanned. It may be.

ステップS18で変更したチャネルがまだスキャンが行なわれていない新しいチャネルの場合には(ステップS19のNo)、このチャネルで再びステップS11〜S17までの手順を繰り返す。   If the channel changed in step S18 is a new channel that has not yet been scanned (No in step S19), the procedure from steps S11 to S17 is repeated again for this channel.

また、ステップS18でチャネルを変更して最初のチャネルに戻った場合、すなわち使用するすべてのチャネルのスキャンを終了したときには(ステップS19のYes)、Existence responseフレームの受信を試みる(ステップS20)。   Further, when the channel is changed in step S18 to return to the first channel, that is, when the scanning of all the channels to be used is completed (Yes in step S19), an attempt is made to receive an existence response frame (step S20).

ここで、いずれかの無線装置からExistenceフレームを受信できたときには(ステップS21のYes)、受信したExistenceフレームに対するExistence responseフレームを返信する(ステップS22)。そして、受信したExistenceフレームを情報解析して、送信元の無線装置がカメラであり、且つ写真交換アプリケーションを起動しているか(ステップS23)、送信元の無線装置でボタンが押されているか(ステップS24)を順次チェックする。そして、いずれのチェック結果も肯定的であることきには、受信カウントを1だけ増分する(ステップS25)。   Here, when an existence frame can be received from any of the wireless devices (Yes in step S21), an response frame corresponding to the received existence frame is returned (step S22). Then, the received Existence frame is analyzed, whether the transmission source wireless device is a camera and the photo exchange application is activated (step S23), or whether the button is pressed on the transmission source wireless device (step S23). S24) are sequentially checked. If any check result is affirmative, the reception count is incremented by 1 (step S25).

また、Existenceフレームを受信できないとき(ステップS21のNo)、送信元の無線装置がカメラの写真交換アプリケーションを起動していないとき(ステップS23のNo)、又は、送信元の無線装置でボタンが押されていないときには(ステップS24のNo)、ステップS25までの処理をスキップして、受信カウントを変更しない。   In addition, when the Existence frame cannot be received (No in step S21), the transmission source wireless device has not started the camera photo exchange application (No in step S23), or the button is pressed on the transmission source wireless device. If not (No in step S24), the process up to step S25 is skipped and the reception count is not changed.

無線装置は、ステップS11でExistenceフレームを送信してから3秒が経過するまでの間、上述のステップS20〜S25のExistence フレームの受信動作を繰り返し実行する(ステップS26)。   The wireless device repeatedly executes the operation of receiving the Existence frame in Steps S20 to S25 described above until 3 seconds elapse after the transmission of the Existence frame in Step S11 (Step S26).

そして、Existenceフレームの受信動作が終了すると(ステップS26のYes)、受信カウントの値をチェックする。受信カウントが0、すなわち3秒間の間に1台も他の無線装置が見つからなかったら、接続エラーとして本処理ルーチンを終了する(ステップS27のYes)。また、受信カウントが1、すなわち1台の機器のみ見つかった場合は(ステップS28のYes)、公開鍵のステップへ進む。また、2台以上の機器が見つかったときは(ステップS28のNo)、接続エラーとして本処理ルーチンを終了する。   When the reception operation of the existence frame ends (Yes in step S26), the value of the reception count is checked. If the reception count is 0, that is, if no other wireless device is found within 3 seconds, this processing routine is terminated as a connection error (Yes in step S27). If the reception count is 1, that is, only one device is found (Yes in step S28), the process proceeds to the public key step. If two or more devices are found (No in step S28), the processing routine is terminated as a connection error.

他方、音楽プレーヤでの接続相手の決定方法の一例として、接続相手をユーザに選択させるようにする。この場合、ユーザ・データであるExistenceフレーム又はExistence responseフレームに自分が音楽プレーヤであり、楽曲交換のアプリケーションが動作している旨の情報を入れて相手に送信する。さらに、ユーザが一覧された無線装置を識別し易いようにニックネームも含めて送信する。Existenceフレーム又はExistence responseフレームを受けた無線装置は、相手が音楽プレーヤであり、楽曲交換のアプリケーションが動作している場合には、ニックネームを表示する。自分が新たにネットワークに参加する場合は、接続相手が決まるまで3秒間隔でスキャンを行なっている。新しい相手から受信した場合は表示の行を1つずつ増やして逐次表示する。図7に示したユーザ・インターフェースでは、ユーザは選択ボタン63、73を使って、各音楽プレーヤ61、71、81の表示装置62、72、82にそれぞれ表示された一覧の中から自分の接続したい相手を選び、決定ボタン64、74で決定する。このようにして接続相手がユーザによって選択されると、図12に示したシーケンス上で次の公開鍵のステップへ進む。   On the other hand, as an example of a method of determining the connection partner in the music player, the user is made to select the connection partner. In this case, information indicating that the user is the music player and the music exchange application is operating is inserted into the Existence frame or the Extension response frame, which is user data, and transmitted to the other party. Further, the nickname is also transmitted so that the user can easily identify the listed wireless devices. The wireless device that has received the Existence frame or the Existence response frame displays a nickname when the other party is a music player and a music exchange application is operating. When I join the network, I scan every 3 seconds until a connection partner is determined. When received from a new partner, the number of display lines is increased one by one and displayed sequentially. In the user interface shown in FIG. 7, the user wants to connect himself / herself from the lists displayed on the display devices 62, 72, and 82 of the music players 61, 71, and 81 using the selection buttons 63 and 73, respectively. The partner is selected and determined with the decision buttons 64 and 74. When the connection partner is selected by the user in this way, the process proceeds to the next public key step in the sequence shown in FIG.

図14には、上述したように接続相手をユーザに選択させるための、新たにネットワークに参加する無線装置、又は最初にネットワークを構成する無線装置が行なう処理手順をフローチャートの形式で示している。   FIG. 14 shows, in the form of a flowchart, a processing procedure performed by a wireless device that newly joins the network or a wireless device that first configures the network for allowing the user to select a connection partner as described above.

無線装置は、まずExistenceフレームを送信し(ステップS31)、周囲の無線装置からのExistence responseフレームの受信を試みる(ステップS32)。   The wireless device first transmits an existence frame (step S31), and tries to receive an extension response frame from surrounding wireless devices (step S32).

ここで、いずれかの無線装置からExistence responseフレームを受信できたときには(ステップS33のYes)、当該受信フレームを情報解析して、返信元の無線装置が音楽プレーヤであり、且つ、楽曲交換アプリケーションを起動しているかどうかをチェックする(ステップS34)。そして、楽曲交換アプリケーションが起動している音楽プレーヤを見つけた場合(ステップS34のYes)、受信結果を記録しておく(ステップS35)。   Here, when the presence response frame can be received from any of the wireless devices (Yes in step S33), the received frame is analyzed for information, the wireless device that is the return source is a music player, and the music exchange application is It is checked whether or not it is activated (step S34). When a music player in which the music exchange application is activated is found (Yes in step S34), the reception result is recorded (step S35).

無線装置は、ステップS31でExistenceフレームを送信してから0.3秒が経過するまでの間、上述のステップS32〜S35のExistence responseフレームの受信動作を繰り返し実行する(ステップS36)。   The wireless device repeatedly executes the above-described operation of receiving the response frame in steps S32 to S35 until 0.3 seconds elapse after the transmission of the extension frame in step S31 (step S36).

0.3秒が経過するとチャネルを変更する(ステップS37)。チャネルは循環的に変更するように取り決めておく。そして、チャネルを変更した後、最初のチャネルに戻ったかどうか判断する(ステップS38)。まだスキャンが行なわれていない新しいチャネルの場合には(ステップS38のNo)、このチャネルで再びステップS31〜S35までの手順を繰り返す。   When 0.3 second elapses, the channel is changed (step S37). Arrange the channels to change cyclically. Then, after changing the channel, it is determined whether or not the channel has returned to the first channel (step S38). In the case of a new channel that has not been scanned yet (No in step S38), the procedure from steps S31 to S35 is repeated again for this channel.

また、ステップS37でチャネルを変更して最初のチャネルに戻った場合、すなわち使用する全てのチャネルのスキャンを終了した場合には(ステップS38のYes)、ステップS35で記録しておいたExistence responseフレームの受信結果として、検出できた音楽プレーヤの一覧を表示する(ステップS39)。   In addition, when the channel is changed and returned to the first channel in step S37, that is, when the scanning of all the channels to be used is completed (Yes in step S38), the presence response frame recorded in step S35. As a result of reception, a list of detected music players is displayed (step S39).

ユーザは、無線装置のユーザ・インターフェースを介して、一覧表示の中から所望の接続相手を指定することができる(ステップS40)。   The user can specify a desired connection partner from the list display via the user interface of the wireless device (step S40).

ユーザからの指定が無く(ステップS41のNo)、且つ、最初のExistenceフレームの送信(ステップS31)から3秒が経過していなければ(ステップS42のNo)、無線装置は他の無線装置からのExistenceフレームを待ち受ける(ステップS43)。   If there is no designation from the user (No in Step S41) and 3 seconds have not passed since the transmission of the first Existence frame (Step S31) (No in Step S42), the wireless device is not sent from another wireless device. Wait for an existence frame (step S43).

ここで、いずれかの無線装置からExistenceフレームを受信できたときには(ステップS44のYes)、Existenceに対するExistence responseフレームを返信するとともに(ステップS45)、受信したExistenceフレームを情報解析する。このとき、送信元の無線装置が音楽プレーヤであり、且つ、楽曲交換アプリケーションを起動しているかどうかをチェックする(ステップS46)。そして、Existenceフレームの受信結果として、検出できた音楽プレーヤの一覧を表示する(ステップS39)。   Here, when an Existence frame can be received from any of the wireless devices (Yes in Step S44), an Ex response response frame is returned to the Existence (Step S45), and the received Existence frame is analyzed. At this time, it is checked whether or not the transmission source wireless device is a music player and the music exchange application is activated (step S46). Then, a list of detected music players is displayed as a result of receiving the Existence frame (step S39).

無線装置は、接続相手が決まるまで(ステップS41のNo)、3秒間隔でスキャンを行なっている。すなわち、Existenceフレームを送信してから3秒が経過するまでは(ステップS42のNo)、ステップS43に戻ってExistence responceフレームの受信を試みる。そして、3秒が経過する毎に(ステップS42のYes)ステップS31に戻り、改めてExistenceフレームを送信する。   The wireless device scans at intervals of 3 seconds until a connection partner is determined (No in step S41). That is, until 3 seconds elapse after the transmission of the Existence frame (No in Step S42), the process returns to Step S43 and attempts to receive the Extension response frame. Whenever 3 seconds elapse (Yes in step S42), the process returns to step S31, and an Existence frame is transmitted again.

そして、接続相手がユーザによって選択されると(ステップS41のYes)、次の公開鍵交換のステップへ進む。   When the connection partner is selected by the user (Yes in step S41), the process proceeds to the next public key exchange step.

なお、図13並びに図14に示したフローチャートは、新規にネットワークに参入し、あるいは新規にネットワークを構成しようとする無線装置を想定した処理手順を示しており、このため、処理開始後は必ずExistenceフレームを送信してスキャンを行なうようになっている。既にIEEE802.11の接続が行なわれている無線装置に新たな無線装置が参加する場合には、既に接続が行なわれている無線装置は、スキャンされる側として動作し、Existenceフレームの送信は行なわずに受信の待ち受けのみを行なう。   Note that the flowcharts shown in FIG. 13 and FIG. 14 show a processing procedure assuming a wireless device that newly enters the network or newly configures the network. For this reason, after the start of the processing, the existence is always performed. A frame is transmitted to scan. When a new wireless device participates in a wireless device already connected by IEEE 802.11, the already connected wireless device operates as a scanned side and transmits an Existence frame. Without waiting for reception.

B−3.接続相手との接続パラメータの交換
ここでは、スキャン動作に続いて行なわれる公開鍵の交換処理について説明する。本実施形態では使用していないが、公開鍵を交換する前に、接続相手をより詳細に決定する方法として、チャレンジ・レスポンスによる秘密データの確認を用いた、接続相手の厳密な確認の行程を入れることもできる。この目的のため、次のユーザ・データを定義する。チャレンジ・レスポンス手続を通じて接続相手の素性を確認し、この結果を用いて接続相手を限定することができる。
B-3. Exchange of Connection Parameters with Connection Partner Here, a description will be given of public key exchange processing performed following the scanning operation. Although not used in the present embodiment, as a method for determining the connection partner in more detail before exchanging the public key, a process of strict confirmation of the connection partner using confirmation of secret data by challenge / response is performed. You can also put it in. For this purpose, the following user data is defined: The identity of the connection partner can be confirmed through a challenge / response procedure, and the connection partner can be limited using this result.

Challengeフレーム
…チャレンジ・データを送るフレーム
Challenge responseフレーム
…チャレンジ・データと秘密データのハッシュ値を送り返すフレーム
Challenge frame ... Frame for sending challenge data Challenge response frame ... Frame for sending back hash values of challenge data and secret data

図15には、チャレンジ・レスポンスの通信シーケンスを示している。相手の確認を行なう場合、図12に示した通信シーケンスにおいて、Existence responseとPublic key Exchangeの間に、このシーケンスを挿入する。同シーケンスでは、無線装置Aと無線装置Bがともに本通信に使う無線以外の方法で受け渡された共通の秘密データをあらかじめ持っていることが前提になる。チャレンジ・レスポンスの過程は、このお互いの秘密データが一致していることをセキュアに且つ確実に判定する過程である。   FIG. 15 shows a challenge-response communication sequence. When confirming the other party, this sequence is inserted between the Existence response and the Public key Exchange in the communication sequence shown in FIG. In this sequence, it is assumed that both the wireless device A and the wireless device B have in advance common secret data transferred by a method other than the wireless method used for this communication. The challenge-response process is a process for securely and reliably determining that the secret data match each other.

秘密データは数10〜数百ビット程度のデータである。秘密データとしては、ユーザが相手と取り交わした文字をユーザ・インターフェースから入力してもよいし、赤外線や非接近接通信などの方法を利用して送ってもよいし、有線接続を通じて送ってもよい。カメラなどでは、一方が文字あるいは明暗や色のパターンを表示して、もう一方がそれをカメラで撮影して認識してもよい。明暗や色の動的なパターン変化をデータ化することもできる。また、音楽プレーヤでは、マイクが付いていれば音声を利用してデータを送ることもできる。あるいは、1回目の接続時に相手と秘密データを取り交わしておくことで、2回目以降は特別な通信手段なく秘密データを利用することもできる。   The secret data is data of about several tens to several hundreds of bits. As secret data, characters exchanged with the other party by the user may be input from the user interface, may be transmitted using a method such as infrared or non-contact proximity communication, or may be transmitted through a wired connection. . In a camera or the like, one may display a character or a pattern of light and darkness or a color, and the other may recognize it by photographing it with a camera. Data on dynamic pattern changes of light and dark and color can also be created. In addition, a music player can send data using voice if a microphone is attached. Alternatively, secret data can be used without special communication means after the second connection by exchanging secret data with the other party at the first connection.

秘密データが共有されていることを前提に、無線装置Aは、Challengeフレームに乱数を入れて無線装置Bに送る。   On the assumption that secret data is shared, the wireless device A sends a random number to the Challenge frame and sends it to the wireless device B.

無線装置Bは、送られてきた乱数の後ろに秘密データを加えたデータ列を生成し、これをハッシュ関数にかける。ここで、ハッシュ関数は、ドキュメントや数字などの文字列の羅列から一定長のデータに要約するための関数若しくは手順のことであり、MD5、SHA1、あるいはこれらを用いたHMACなどを利用することができる。   The wireless device B generates a data string in which secret data is added to the sent random number and applies this to the hash function. Here, the hash function is a function or procedure for summarizing a sequence of character strings such as documents and numbers into data of a fixed length, and MD5, SHA1, or HMAC using these may be used. it can.

無線装置Bは、生成したハッシュ値をChallenge responseフレームに入れて、無線装置Aに返送する。一方、無線装置Aでは、やはり送信した乱数と秘密データから無線装置Bと同じ方法でハッシュ値を求めておく。そして、無線装置Bから送られてきたハッシュ値と自分で計算したハッシュ値を比較する。これらが一致すれば、非常に高い確率で両者が共通の秘密データを持っていることが検証されたことになる。また、ハッシュ値を傍受されても、秘密データを推測することは非常に困難なため秘密データを第3者に知られてしまう可能性も非常に低い。図15では無線装置Aが無線装置Bの秘密データを確認している。ここでは図示しないが、本実施形態では双方向の確認を行なっているため、この後に無線装置Aと無線装置Bの役割を入れ替えて、無線装置Bが無線装置Aの秘密データの確認を行なう手順も実行している。   The wireless device B puts the generated hash value in a Challenge response frame and returns it to the wireless device A. On the other hand, the wireless device A obtains a hash value by the same method as the wireless device B from the transmitted random number and secret data. Then, the hash value sent from the wireless device B is compared with the hash value calculated by itself. If they match, it is verified that they have a common secret data with a very high probability. Even if the hash value is intercepted, it is very difficult to guess the secret data, and therefore it is very unlikely that the secret data will be known to a third party. In FIG. 15, the wireless device A confirms the secret data of the wireless device B. Although not shown here, since the two-way confirmation is performed in this embodiment, the procedure of the wireless device B confirming the secret data of the wireless device A by switching the roles of the wireless device A and the wireless device B thereafter. Also running.

図13に処理手順を示したカメラの例では、接続相手の候補が3台以上見つかった場合は、接続エラーを出すようにしている。これに対し、図15に示すようなチャレンジ・レスポンス手続を利用する場合には、接続相手の候補が3台以上見つかった場合には、チャレンジ・レスポンスによって相手が確認された無線装置だけをカウントするようにすることよって、適切な接続相手を絞り込むことができる。   In the example of the camera whose processing procedure is shown in FIG. 13, when three or more connection partner candidates are found, a connection error is issued. On the other hand, when a challenge / response procedure as shown in FIG. 15 is used, if three or more connection partner candidates are found, only wireless devices whose opponents are confirmed by the challenge / response are counted. By doing so, an appropriate connection partner can be narrowed down.

また、図14に処理手順を示した音楽プレーヤの例では、見つかった無線装置を一覧に表示して、ユーザからの指示があったのみ接続を行なっている。これに対し、図15に示すようなチャレンジ・レスポンス手続を利用する場合には、チャレンジ・レスポンスによって相手が確認された無線装置については自動的に接続を行なうようにしておくことで、セキュリティ・レベルを下げることなくユーザ操作を簡略化することができる。   Further, in the example of the music player whose processing procedure is shown in FIG. 14, the found wireless devices are displayed in a list, and the connection is made only in response to an instruction from the user. On the other hand, when the challenge / response procedure as shown in FIG. 15 is used, the wireless device whose partner is confirmed by the challenge / response is automatically connected to the security level. The user operation can be simplified without lowering.

なお、チャレンジ・レスポンスは、一方向関数を使用することで、パスワード自体を送らずに認証する方法として当業界では周知の技術であり、本明細書では詳細な説明を省略する。   The challenge response is a technique well known in the art as a method of authenticating without sending the password itself by using a one-way function, and detailed description thereof is omitted in this specification.

上述した手順で接続相手が決定されると、接続相手と接続パラメータ、すなわちSSIDと暗号鍵を交換する過程に進む。この時点で、どちらの無線装置がSSIDと暗号鍵を生成し送信するかを決定する必要がある。具体的には、次の2つの基準で判定を行なう。   When the connection partner is determined by the above-described procedure, the process proceeds to the process of exchanging connection parameters with the connection partner, that is, the SSID and the encryption key. At this point, it is necessary to determine which wireless device generates and transmits the SSID and encryption key. Specifically, the determination is made based on the following two criteria.

1つの判定基準は、現在の状態に基づく。既にBSSを形成している状況下で新たに無線装置が参加する場合は、新たな参加者は既存のBSSのSSIDと暗号鍵を使う必要があるので、既にBSSに参加している無線装置が新たに参加する無線装置にSSIDと暗号鍵を送信する。また、インフラストラクチャ・モード下では、制御局(AP)である無線装置は起動時から常にBSSに参加していると見ることができるので、常に接続パラメータを生成し送信する側になる。   One criterion is based on the current state. When a new wireless device participates in a situation where a BSS has already been formed, the new participant needs to use the SSID and encryption key of the existing BSS, so that the wireless device already participating in the BSS The SSID and the encryption key are transmitted to the newly participating wireless device. Also, under the infrastructure mode, the wireless device that is the control station (AP) can be seen as always participating in the BSS from the time of activation, so that it is always on the side of generating and transmitting connection parameters.

これに対し、両者が同じ状態、すなわちアドホック・モードの場合で、どちらもまだBSSは形成しておらずこの2者で最初のBSSを形成する場合は、どちらがSSIDを決めても良いが、一意に決定できる必要があるため、2つ目の判断基準が必要である。一例として、MACアドレスの大小を用いる方法がある。相手のMACアドレスは、ExistenceフレームとExistence responseフレームの交換などを通じて取得することができる。例えば、MACアドレスが大きい方が送信側で小さい方が受信側と決めておけば、特別なやりとりを追加しなくてもどちらがSSIDと暗号鍵を送るかが一意に決まる。あるいは、128ビット程度の非常に大きな乱数値を生成して比較してもよい。この場合は同値になる可能性は0ではないが、確率は非常に低いので十分実用になる。   On the other hand, when both are in the same state, that is, in the case of ad hoc mode, neither of them has yet formed a BSS, and when the first BSS is formed by these two parties, either may determine the SSID, but it is unique. Therefore, the second criterion is necessary. As an example, there is a method using the size of the MAC address. The other party's MAC address can be acquired through exchange of an Existence frame and an Existence response frame. For example, if it is determined that the larger MAC address is the transmitting side and the smaller one is the receiving side, it is uniquely determined which side sends the SSID and the encryption key without adding a special exchange. Alternatively, a very large random value of about 128 bits may be generated and compared. In this case, the possibility of being the same value is not zero, but the probability is very low, so that it becomes practical enough.

基本的には、上記に示したように、制御局、既にBSSに参加しているアドホック端末、まだBSSに参加していない端末の3種類を想定すれば、SSIDと暗号鍵を生成し送信する側の無線装置を決定することができる。さらにアプリケーションの都合なども考慮できるように、レベル値を導入した判定方法も考えられる。   Basically, as shown above, assuming three types: a control station, an ad hoc terminal already participating in the BSS, and a terminal not yet participating in the BSS, an SSID and an encryption key are generated and transmitted. The wireless device on the side can be determined. Furthermore, a determination method that introduces a level value is also conceivable so that the convenience of the application can be considered.

図16には、無線装置のレベル値を設定する処理手順をフローチャートの形式で示している。   FIG. 16 shows a processing procedure for setting the level value of the wireless device in the form of a flowchart.

まず無線装置は、自分がアクセスポイントとして動作しているかどうかをチェックし(ステップS51)、アクセスポイントであれば自分のレベル値として100を設定する(ステップS52)。   First, the wireless device checks whether or not it is operating as an access point (step S51), and if it is an access point, sets 100 as its level value (step S52).

また、無線装置は、自分がアクセスポイントではなければ(ステップS51のNo)、続いて、既にBSSに参入済みかどうかをチェックする(ステップS53)。   If the wireless device is not an access point (No in step S51), the wireless device then checks whether it has already entered the BSS (step S53).

ここで、無線装置が既にBSSに参入済みであれば(ステップS53のYes)、レベル値を50に設定する(ステップS54)。そして、参加中のBSSを保持したいときには(ステップS55のYes)、レベル値にさらにNを加える(ステップS56)。   If the wireless device has already entered the BSS (Yes in step S53), the level value is set to 50 (step S54). When it is desired to retain the participating BSS (Yes in step S55), N is further added to the level value (step S56).

他方、無線装置が未だいずれのBSSにも参入していないときには、レベル値を0に設定する(ステップS57)。ここで、接続パラメータを自ら決定したいときには(ステップS58)、このレベル値に適宜Mを加える(ステップS59)。   On the other hand, when the wireless device has not yet entered any BSS, the level value is set to 0 (step S57). Here, when it is desired to determine the connection parameter itself (step S58), M is appropriately added to this level value (step S59).

図16に示した処理手順によれば、無線装置の動作状況に応じて、以下のようにレベル値が設定される。レベル値は、自ら接続パラメータの送信側となりたい度合い、若しくはBSSを存続させたい度合いを示す指標値である。そして、無線装置は、スキャン動作の際に自分が送信するExistenceフレーム又はExistence responseフレーム中にレベル値を含ませ、接続相手に通知するようにする。   According to the processing procedure shown in FIG. 16, the level value is set as follows according to the operation status of the wireless device. The level value is an index value indicating the degree of wanting to become the connection parameter transmission side or the degree of wanting to keep the BSS. Then, the wireless device includes the level value in the Existence frame or the Existence response frame transmitted by itself during the scanning operation, and notifies the connection partner.

また、図17には、レベル値を導入した、接続パラメータの送受判定処理の手順をフローチャートの形式で示している。   Further, FIG. 17 shows a procedure of connection parameter transmission / reception determination processing in which a level value is introduced in the form of a flowchart.

まず、無線装置は、接続相手から受け取ったExistenceフレーム又はExistence responseフレームからレベル値を抽出し(ステップS61)、自分が持つレベル値と比較する(ステップS62)。   First, the wireless device extracts a level value from the Existence frame or the Existence response frame received from the connection partner (step S61), and compares it with the level value it has (step S62).

ここで、接続相手のレベル値の方が大きいときには(ステップS63のYes)、接続相手から接続パラメータを受信する(ステップS70)。   Here, when the level value of the connection partner is larger (Yes in step S63), the connection parameter is received from the connection partner (step S70).

一方、接続相手のレベル値の方が大きくないときには(ステップS63のNo)、次いで、接続相手のレベル値が自分よりも小さいかどうかをチェックする(ステップS64)。   On the other hand, when the level value of the connection partner is not larger (No in step S63), it is next checked whether or not the level value of the connection partner is smaller than itself (step S64).

接続相手のレベル値が自分よりも小さいときには(ステップS64のYes)、自分が接続パラメータの送信元となる。この場合、無線装置は、既にBSSに参加しているときには(ステップS67のYes)、当該BSSで設定されている接続パラメータを接続相手に送信する(ステップS71)。また、無線装置が未だBSSに参加していないときには(ステップS67のNo)、自ら接続パラメータを生成し(ステップS48)、これを接続相手に送信する(ステップS71)。   When the level value of the connection partner is smaller than that of the user (Yes in step S64), the user becomes the connection parameter transmission source. In this case, when the wireless device has already participated in the BSS (Yes in Step S67), the wireless device transmits the connection parameter set in the BSS to the connection partner (Step S71). When the wireless device has not yet participated in the BSS (No in step S67), it generates a connection parameter itself (step S48) and transmits it to the connection partner (step S71).

また、接続相手とレベル値が一致するときには(ステップS64のNo)、続いて互いのMACアドレスを比較し(ステップS65)、MACアドレスが大きい方が接続パラメータの送信元と決定する。   When the level value matches that of the connection partner (No in step S64), the MAC addresses are subsequently compared (step S65), and the larger MAC address is determined as the connection parameter transmission source.

すなわち、接続相手のMACアドレスの方が大きいときには、接続相手から接続パラメータを受信する(ステップS70)。また、自分のMACアドレスの方が大きいときには、自分が既にBSSに参加していれば(ステップS67のYes)、当該BSSで設定されている接続パラメータを接続相手に送信する(ステップS71)。また、無線装置が未だBSSに参加していないときには(ステップS67のNo)、自ら接続パラメータを生成し(ステップS68)、これを接続相手に送信する(ステップS71)。   That is, when the MAC address of the connection partner is larger, the connection parameter is received from the connection partner (step S70). Further, when the own MAC address is larger, if the user has already participated in the BSS (Yes in Step S67), the connection parameter set in the BSS is transmitted to the connection partner (Step S71). When the wireless device has not yet participated in the BSS (No in step S67), it generates a connection parameter itself (step S68) and transmits it to the connection partner (step S71).

図17に示した処理手順に従えば、交換したレベル値を比較して大きい方が接続パラメータを生成(乱数を利用して生成)し、接続相手の無線装置に送信する。また、レベル値が同じ場合はMACアドレスの大きい方が接続パラメータを生成・送信する。   If the processing procedure shown in FIG. 17 is followed, the exchanged level value is compared and a larger one generates a connection parameter (generated using a random number) and transmits it to the wireless device of the connection partner. If the level value is the same, the connection parameter is generated and transmitted with the larger MAC address.

上述した例では、既にBSSに参加しているアドホック端末と、BSSに参加していない端末のレベル値が幅を持っているが、このようにしておくと、例えば、通常はレベルの値を最低値にしておき、アプリケーションの都合上接続パラメータを自局が設定する方が望ましい場合はレベルを大きくしておくという使い方ができる。図16に示したフローチャートでは、ステップS39において、無線装置はアプリケーションの都合によりレベル値にMを加えるようになっている。   In the above-described example, the level values of ad hoc terminals already participating in the BSS and terminals not participating in the BSS have a range, but if this is done, for example, the level value is usually set to the lowest value. It is possible to use it by setting the value to a higher level when it is desirable for the station to set the connection parameters for the convenience of the application. In the flowchart shown in FIG. 16, in step S39, the wireless device adds M to the level value for the convenience of the application.

また、本明細書では既に構成されている2つのアドホックBSSが融合する場合については特に説明しないが、本発明はこのような仕様に適用することも可能である。具体的には、既にBSSに参加しているアドホック端末のレベル値を変えることで(図16に示したフローチャート中のステップS36に相当)、一方のアドホックBSSをもう一方のアドホックBSSより優先的に存続させることもできる。   In this specification, the case where two ad hoc BSSs already configured are merged is not particularly described, but the present invention can be applied to such a specification. Specifically, by changing the level value of the ad hoc terminals already participating in the BSS (corresponding to step S36 in the flowchart shown in FIG. 16), one ad hoc BSS is given priority over the other ad hoc BSS. It can survive.

無線装置が接続相手との間でSSIDや暗号鍵といった接続パラメータを送受信する際、盗聴に十分注意する必要がある。誰に公開しても良いデータを扱う場合は問題ないが、BSSを暗号化してこれを盗聴防止の拠り所とする場合は接続パラメータを盗聴されてしまうと意味がなくなってしまう。そこで、本実施形態では、盗聴を防止するため、以下のユーザ・データを定義する。   When the wireless device transmits / receives connection parameters such as SSID and encryption key to / from the connection partner, it is necessary to pay sufficient attention to wiretapping. There is no problem when handling data that can be disclosed to anyone, but if the BSS is encrypted and used as a base for preventing eavesdropping, the connection parameter will be meaningless if it is eavesdropped. Therefore, in this embodiment, in order to prevent eavesdropping, the following user data is defined.

Public key exchangeフレーム
…接続する相手に公開鍵を送るフレーム
Parametersフレーム
…セッション鍵で暗号化されたSSIDと暗号キーを送るフレーム
Parameters replyフレーム
…Parametersフレームの受信確認及びエラー通知
Public key exchange frame ... Frame that sends the public key to the partner to be connected Parameters Frame ... Frame that sends the SSID and encryption key encrypted with the session key

無線装置は、接続相手とはPublic key exchangeフレームを用いてDH(Diffie−Hellman)鍵交換を行ない、盗聴者に知られ難い方法でセッション鍵を生成する。   The wireless device performs a DH (Diffie-Hellman) key exchange with a connection partner using a public key exchange frame, and generates a session key in a manner that is not easily known to an eavesdropper.

図18には、DH鍵交換と共通鍵暗号を使用した接続パラメータの送受信手順を示している。同図において、まず無線装置Aと無線装置Bは、それぞれPublic key exchangeフレームを用いて、互いの公開鍵を接続相手に送っている。次に相手から受け取った公開鍵と自分の持っている秘密鍵とからセッション鍵を生成している。   FIG. 18 shows a connection parameter transmission / reception procedure using DH key exchange and common key encryption. In the figure, first, wireless device A and wireless device B send each other's public key to a connection partner using a public key exchange frame. Next, a session key is generated from the public key received from the other party and the private key that the user has.

次いで、無線装置Aは、このセッション鍵を用いて接続パラメータを共通鍵暗号であるAES(Advanced Encryption Standard)方式で暗号化し、Parametersフレームを使って、接続相手である無線装置Bに送っている。   Next, the wireless device A encrypts a connection parameter using the session key by an AES (Advanced Encryption Standard) method that is a common key encryption, and sends it to the wireless device B that is a connection partner using a Parameters frame.

これに対し、無線装置Bは、接続パラメータを受信すると、受信確認及び通知された暗号方式に非対応の場合のエラー通知のためにParameters replyフレームを返送している。図18では省略しているが、接続パラメータの送信側である無線装置Aは、Parameters replyフレームの内容に従ってParametersフレームを再送したり、暗号方式を変更して再送したりする。   On the other hand, when the wireless device B receives the connection parameter, the wireless device B returns a Parameters reply frame to confirm the reception and notify the error when the notified encryption method is not supported. Although omitted in FIG. 18, the wireless device A on the connection parameter transmission side retransmits the Parameters frame according to the contents of the Parameters reply frame, or retransmits after changing the encryption method.

このようにして、無線装置Aと無線装置Bがお互いに共通の接続パラメータ、すなわちSSIDと暗号鍵の交換が終了した後は、交換した接続パラメータを用いてIEEE802.11の接続を行なう(図12を参照のこと)。   In this way, after the exchange of connection parameters common to the wireless devices A and B, that is, the SSID and the encryption key, is completed, the IEEE 802.11 connection is made using the exchanged connection parameters (FIG. 12). checking).

通常のIEEE802.11の接続の動作では、無線装置が新たにBSSを形成する際、全チャネルでSSIDをスキャンし、見つかったチャネルに設定し、BSS毎に固有に与えられた6バイトの識別子であるBSSID(Basic Service Set Identification)をハードウェアに設定する手順が取られる。すなわち、SSIDをキーにして、接続に必要なチャネルとBSSIDを求めるという手順を行なっている。   In normal IEEE 802.11 connection operation, when a wireless device newly forms a BSS, the SSID is scanned in all channels, set to the found channel, and a 6-byte identifier uniquely assigned to each BSS. A procedure for setting a certain BSSID (Basic Service Set Identification) in the hardware is taken. That is, a procedure for obtaining a channel and BSSID necessary for connection using the SSID as a key is performed.

多くの無線LANインターフェースのファームウェア及びドライバでは、アドホックBSSを構成する場合には、SSIDと暗号鍵のみを指定するようになっているが、チャネルとBSSIDも指定して上記のIEEE802.11のスキャンの動作を省略できるようになっているものもある。そこで、ParametersフレームにSSIDと暗号鍵に加えて、チャネルとBSSIDも含ませることにより、対応する無線LANインターフェースを使った場合にIEEE802.11のスキャン動作を省略させ、より短時間に接続ができるようにしている。   In many wireless LAN interface firmware and drivers, when configuring an ad hoc BSS, only the SSID and the encryption key are specified. However, the above-mentioned IEEE 802.11 scan is also specified by specifying the channel and BSSID. Some of the actions can be omitted. Therefore, by including the channel and BSSID in addition to the SSID and encryption key in the Parameters frame, the scan operation of IEEE 802.11 can be omitted when the corresponding wireless LAN interface is used, so that the connection can be made in a shorter time. I have to.

B−4.ユーザ・データの伝送
図12に示した手続に従って無線接続を行なう際、接続相手となる無線装置同士で交換するユーザ・データを、IEEE802.11のフレームに載せて伝送することができる。IEEE802.11のフレームは、Controlフレーム、Dataフレーム、Managementフレームに分類される。勿論、これ以外の特別な種類のフレームを定義し、そのフレームを使ってユーザ・データをやりとりすることも可能であるが、以下では既存のMagagementフレームを利用してユーザ・データを交換する場合について説明する。
B-4. Transmission of User Data When wireless connection is performed according to the procedure shown in FIG. 12, user data exchanged between wireless devices to be connected to each other can be transmitted on an IEEE 802.11 frame. The IEEE 802.11 frame is classified into a control frame, a data frame, and a management frame. Of course, other special types of frames can be defined and user data can be exchanged using these frames. However, in the following, user data will be exchanged using the existing Management frame. explain.

Managementフレームには、BSSの情報を通知するためのフレームや接続、認証のためのフレームがあるが、本実施形態ではBSSの情報を通知するためのProbe Request及びProbe Responseフレームにユーザ・データを入れている。   The Management frame includes a frame for notifying BSS information, a frame for connection, and authentication, but in this embodiment, user data is put in a Probe Request and Probe Response frame for notifying BSS information. ing.

Existenceフレームは、スキャンする側の無線装置が、特に受信相手を指定しない(言い換えれば、同時に複数の無線装置に向けて)、ブロードキャスト・アドレスに対して送信するフレームである。一方のExistence responseフレームは、無線装置がExistenceフレームを受信したときに返送するフレームである。スキャンする側の無線装置は、Probe Requestフレームを用いてExistenceフレームを送信し、スキャンされる側の無線装置は、Probe Responseフレームを用いてExistence responseフレームを用いて返信することができる。一般には、Probe Requestフレームは、インフラストラクチャ・モード下で端末局がアクティブ・スキャンすなわちアクセスポイントからBSSへの参加に必要な情報を収集するために用いられる(前述)。   The Existence frame is a frame that is transmitted to a broadcast address by the scanning wireless device without designating a reception partner (in other words, toward a plurality of wireless devices at the same time). One Existence response frame is a frame that is returned when the wireless device receives the Existence frame. The scanning-side wireless device can transmit an Existence frame using the Probe Request frame, and the scanned-side wireless device can reply using the Probe Response frame using the Existence response frame. In general, the Probe Request frame is used for the terminal station to collect information necessary for active scanning, that is, participation from the access point to the BSS under the infrastructure mode (described above).

図19には、Probe Request及びProbe Responseフレームのフレーム・フォーマットをそれぞれ示している。但し、図19Aは通常のManagementフレーム構成であり、図19Bはユーザ・データを含むManagementフレームである。   FIG. 19 shows the frame formats of the probe request and the probe response frame, respectively. However, FIG. 19A shows a normal Management frame configuration, and FIG. 19B shows a Management frame including user data.

図示の通り、Probe Requestは、MAC header、SSID、Supported rateの要素から成る。一方、Probe Responseは、MAC header、Timestamp、Beacon interval、Capability information、SSID、Supported rate、DS Parameter Setなどの要素から成る。このうちSSID、Supported rate、DS Parameter Setの各要素はIE(Information Element)と呼ばれる形式になっている。IEの形式は、1バイトのElementID、1バイトのLength、そして可変長のInformationからなる。   As shown in the figure, the Probe Request is composed of elements of a MAC header, an SSID, and a supported rate. On the other hand, the Probe Response includes elements such as a MAC header, a Timestamp, a Beacon interval, a capability information, an SSID, a supported rate, and a DS Parameter Set. Among these, each element of SSID, Supported rate, and DS Parameter Set has a format called IE (Information Element). The IE format includes 1-byte ElementID, 1-byte Length, and variable-length Information.

Probe Responseフレームの要素は上記に挙げた以外に、Extended rateやWPA IEなどのさまざまなIEが含まれることもある。   In addition to the above-mentioned elements, the probe response frame element may include various IEs such as an extended rate and a WPA IE.

IEの目的はElementIDで識別される。ElementIDが221(0xDD)のIEはVendor Specific IEとして利用方法を定義して使うことができるので、本実施形態ではこのフィールドに接続相手となる無線装置同士で交換するユーザ・データを記載するようにしている。但し、IEの長さを示すLengthは1バイトしかないため、Informationの長さとしては最大255バイトまでしか使えない。接続相手となる無線装置同士で交換するユーザ・データはさまざまな種類のさまざまな長さの情報を含むため、255バイトでは足りない。そこで、1つのフレームに複数のVendor Specific IEを含ませ、ユーザ・データを分割して伝送するようにしている。したがって、図8中のユーザ・データ・パケット作成手段2は、ユーザ・データを分割するためのフラグメント部(図示しない)を備えるとともに、ユーザ・データ抽出手段4は分割されたユーザ・データを再構成するためのデフラグメント部(図示しない)を備えるものとする。パケットのフラグメント、デフラグメントは例えばインターネット・プロトコル(IP)に規定されている。フラグメントは、元来、パケットをMTU(Maximum Transfer Unit:最大転送ユニット)サイズ以下に分割して転送する機能である。   The purpose of the IE is identified by ElementID. An IE whose Element ID is 221 (0xDD) can be used as a Vendor Specific IE, so that the user data to be exchanged between wireless devices to be connected can be described in this field in this embodiment. ing. However, since the length indicating the length of the IE is only 1 byte, the length of the information is limited to a maximum of 255 bytes. Since user data exchanged between wireless devices to be connected includes information of various types and various lengths, 255 bytes is not sufficient. Therefore, a plurality of Vendor Specific IEs are included in one frame, and user data is divided and transmitted. Therefore, the user data packet creation means 2 in FIG. 8 includes a fragment part (not shown) for dividing user data, and the user data extraction means 4 reconstructs the divided user data. It is assumed that a defragmenter (not shown) is provided. Packet fragmentation and defragmentation are defined in, for example, the Internet Protocol (IP). Fragment is a function that originally transfers a packet by dividing it into an MTU (Maximum Transfer Unit) size or less.

無線LANインターフェースの中には、自由に作成したVendor Specific IEを記載したフレームをProbe Request又はProbe responseに載せて送信し、受信したフレームからVendor Specific IEをドライバに通知する機能を実装したハードウェア、ファームウェア、ドライバ製品がある。そこで、本実施形態では、このような製品を使用すればよい。また、このような機能のない製品の場合であっても、IEを利用してユーザ・データを交換するようにすると、新たなIEEE802.11フレームの定義などの必要もないので、ドライバやファームウェアの変更は少なくて済む。   In the wireless LAN interface, hardware that has a function of sending a frame describing a freely created Vendor Specific IE on a Probe Request or Probe response, and notifying the driver of the Vendor Specific IE from the received frame; There are firmware and driver products. Therefore, in this embodiment, such a product may be used. Even in the case of a product without such a function, if user data is exchanged using IE, there is no need to define a new IEEE802.11 frame. Less changes are required.

B−5.チャネル配置の決定
続いて、図9に示した無線装置において使用チャネルを決定する方法について詳解する。既に説明したように、図9に示した無線装置は、接続相手の候補となる無線装置で使用中のアプリケーションやアプリケーションが使用する無線帯域に関する情報に基づいて、パケット遅延が許されないリアルタイム性が要求されるストリーミングの通信と、バースト的に最大帯域を使用するベストエフォート型の通信に分け、かかる条件を考慮しながら、最もチャネルの無駄がなく、通信の障害の少なくなるように新しい無線装置のチャネル配置を行なう。
B-5. Following determination of the channel arrangement, explain in detail how to determine the channel used in the wireless apparatus shown in FIG. As described above, the wireless device shown in FIG. 9 requires real-time capability that does not allow packet delay based on information about the application being used by the wireless device that is a candidate for the connection partner and the wireless bandwidth used by the application. New wireless device channels so that there is no waste of channels and communication failures are reduced while considering such conditions, by dividing them into streaming communications and best-effort communications that use the maximum bandwidth in bursts. Perform placement.

ここで、無線装置のアプリケーションとして、カメラの通信と音楽プレーヤの通信が挙げられる。以下の説明では、カメラはベストエフォートの写真交換のアプリケーションがあり、音楽プレーヤはベストエフォートのプレイリスト交換のアプリケーションと、音楽ストリームのアプリケーションがあることを想定する。   Here, the communication of the camera and the communication of the music player can be cited as applications of the wireless device. In the following description, it is assumed that the camera has a best-effort photo exchange application and the music player has a best-effort playlist exchange application and a music stream application.

本実施形態では、無線装置が最初のスキャン時においてExistenceフレームとExistence responseフレームを交換することで、既存の無線装置上で動いているアプリケーションを知ることができる。したがって、この情報から既存のBSSで行なわれている通信の種類を知ることができる。勿論、さらに通信の種類を明示的に示す情報を含めてもよい。また、上記の想定環境では、ストリーミングのアプリケーションは音楽プレーヤの音楽ストリームしかないので、1チャネルに何対の通信が可能であるかは一意に決まる。しかし、別の例では、全く別の機器がビデオのストリーミングを行なうかもしれない。この場合はそれぞれの機器が使用する帯域を知る必要があるので、使用帯域の具体的な数字を含む情報をユーザ・データに含める必要がある。   In the present embodiment, an application running on an existing wireless device can be known by exchanging an Existence frame and an Existence response frame at the time of the first scan of the wireless device. Therefore, it is possible to know the type of communication performed in the existing BSS from this information. Of course, information that explicitly indicates the type of communication may be included. Further, in the above assumed environment, since the streaming application is only the music stream of the music player, it is uniquely determined how many pairs of communication are possible for one channel. However, in another example, a completely different device may stream the video. In this case, since it is necessary to know the band used by each device, it is necessary to include information including specific numbers of used bands in the user data.

図20には、無線装置が、周辺の無線装置が使用するアプリケーションの情報を使ってチャネル配置を決定するための処理手順をフローチャートの形式で示している。   FIG. 20 shows, in the form of a flowchart, the processing procedure for the wireless device to determine the channel arrangement using the information of the application used by the surrounding wireless devices.

まず、無線装置は、各チャネルにおいて順次、特に受信相手を指定しないブロードキャスト・アドレスに対してExistenceフレームを送信するとともに、周辺の無線装置から返信されるExistence responseフレームを受信することで、スキャン動作を行なう(ステップS81)。   First, the wireless device sequentially transmits an Existence frame to a broadcast address that does not designate a receiving party in each channel, and receives an Response frame returned from a peripheral wireless device, thereby performing a scanning operation. This is performed (step S81).

ここで、まだBSSが存在しない場合には(ステップS82のNo)、無線装置が現在設定しているチャネルを使用することに決定して(ステップS91)、本処理ルーチンを終了する。   If the BSS does not exist yet (No in step S82), it is decided to use the channel currently set by the wireless device (step S91), and this processing routine ends.

また、既にBSSが存在する場合には(ステップS82のYes)、無線装置自身がベストエフォートのアプリケーションを使用しているかどうかをさらにチェックする(ステップS83)。   If the BSS already exists (Yes in step S82), it is further checked whether or not the wireless device itself uses the best effort application (step S83).

ここで、無線装置自身がベストエフォートのアプリケーションを使用しているときには(ステップS83のYes)、受信した各Existence responseの内容を情報解析して、検出された既存のBSS中に自分と同じベストエフォートのBSSがあるかどうかをチェックする(ステップS84)。   Here, when the wireless device itself uses the best effort application (Yes in step S83), the content of each received response is analyzed, and the same best effort as that of itself is detected in the detected existing BSS. It is checked whether there is any BSS (step S84).

そして、自分と同じベストエフォートのBSSが既に存在する場合には(ステップS84のYes)、この既存のベストエフォートのBSSと同じチャネルを使用することを決定して(ステップS85)、本処理ルーチンを終了する。   If the same best effort BSS as that of the user already exists (Yes in step S84), it is decided to use the same channel as that of the existing best effort BSS (step S85). finish.

一方、自分と同じベストエフォートのBSSが未だ存在しない場合には(ステップS84のNo)、空きチャネルがあるかどうかをチェックする(ステップS86)。そして、空きチャネルがあれば、無線装置はそのチャネルを使用することを決定し(ステップS92)、空きチャネルがなければ現在設定しているチャネルを使用することを決定する(ステップS91)。   On the other hand, if the same best effort BSS as that does not exist yet (No in step S84), it is checked whether there is an empty channel (step S86). If there is an empty channel, the wireless device determines to use the channel (step S92), and if there is no empty channel, determines to use the currently set channel (step S91).

ここで言う「空きチャネル」は、そのチャネルを使用している無線装置が全くいない状態を意味するものではなく、本実施形態に係るプロトコルを実施している無線装置がいないことを意味する。通常の制御局(AP)やアドホックのBSSが存在する状況でも「空きチャネル」として考えている。   The “vacant channel” here does not mean that there is no wireless device using the channel, but means that there is no wireless device implementing the protocol according to the present embodiment. Even in a situation where a normal control station (AP) or an ad hoc BSS exists, it is considered as an “empty channel”.

また、既にBSSが存在することは確認できたが(ステップS82のYes)、無線装置自身がベストエフォートのアプリケーションを使用していないとき(ストリーミングのアプリケーションを使用しているとき)には(ステップS83のNo)、既存のBSS中にストリーミングの通信を行なっているものがあるかどうかをチェックする(ステップS87)。   In addition, although it has been confirmed that the BSS already exists (Yes in Step S82), when the wireless device itself does not use the best effort application (when the streaming application is used) (Step S83). No), it is checked whether there is any existing BSS performing streaming communication (step S87).

ストリーミングの通信を行なうBSSが既に存在するときには(ステップS87のYes)、この既存BSSが使用するチャネル上で自分の必要帯域は足りているかどうかをチェックし(ステップS88)、足りているときにはこのチャネルを使用することを決定して(ステップS89)、本処理ルーチンを終了する。   When there is already a BSS for streaming communication (Yes in step S87), it is checked whether or not the necessary bandwidth is sufficient on the channel used by this existing BSS (step S88). Is determined to be used (step S89), and this processing routine is terminated.

ここで、「自分の必要帯域は足りている」かどうかは、1つの無線チャネルで使用できる最大の帯域から既にBSSを形成している無線機装置が使用している帯域を減じ、ある一定の余裕を持って自分が使おうとしている帯域が残っているかで判断する。   Here, whether or not “the necessary bandwidth is sufficient” is determined by subtracting the bandwidth used by the radio apparatus that has already formed the BSS from the maximum bandwidth that can be used in one radio channel. Judgment is made based on whether or not there is a remaining bandwidth that you are trying to use.

また、無線装置自身がストリーミングの通信を行なうが既存のBSS中にはストリーミングの通信を行なっているものがない場合や(ステップS87のNo)、ストリーミングの通信を行なっているBSSが使用しているチャネル上には当該無線装置の必要帯域を確保できないときには(ステップS88のNo)、空きチャネルがあるかどうかをチェックする(ステップS90)。ここで行なわれる空きチャネルのチェックは、ステップS86で行なわれる処理と同様である。   In addition, when the wireless device itself performs streaming communication but no existing BSS performs streaming communication (No in step S87), the BSS that performs streaming communication uses the BSS. When the necessary bandwidth of the wireless device cannot be secured on the channel (No in step S88), it is checked whether there is a free channel (step S90). The empty channel check performed here is the same as the process performed in step S86.

そして、空きチャネルがあれば(ステップS90のYes)、無線装置はそのチャネルを使用することを決定するが(ステップS92)、空きチャネルがなければ(ステップS90のNo)、チャネル使用中のエラーとして扱う(ステップS93)。   If there is an empty channel (Yes in step S90), the wireless device determines to use the channel (step S92), but if there is no empty channel (No in step S90), the error is in use of the channel. Handle (step S93).

図20に示した処理手順によれば、全く無線通信が行なわれていないチャネルが存在しても、無線装置は敢えて既に使用されているチャネルを選択する場合があり得る。このような選択を行なうのはすべてのチャネルを含めての全帯域の利用効率を最適化するためである、ということを十分理解されたい。   According to the processing procedure shown in FIG. 20, even if there is a channel for which no wireless communication is performed, the wireless device may daringly select a channel that has already been used. It should be appreciated that such a selection is made to optimize the utilization efficiency of the entire band including all channels.

B−6.パワー・マネージメントの実現
IEEE802.11では、無線装置が受信機を間欠動作させるPowerSaveモードが規定されており、インフラストラクチャ・モード及びアドホック・モードのいずれにおいてもパワー・マネージメントを実現することができる(前述)。
B-6. Realization of Power Management IEEE 802.11 defines a Power Save mode in which a wireless device operates a receiver intermittently, and power management can be realized in both infrastructure mode and ad hoc mode (described above). ).

インフラストラクチャ・モード下では、制御局はスリープ状態になることはなく常に電波を受信可能であるから、端末局は自分がスキャンを行なっている状態のときのみスリープ状態が解除されていれば通信に障害が起きることはない。これに対し、アドホック・モード下では、スキャンを行なう側の端末局がスリープ状態を解除しても、スキャンを受けるべき既存の端末局がスリープ状態に入っているときには、タイミングによってはスキャン用のパケットを受けられない、という問題がある。   Under infrastructure mode, the control station can always receive radio waves without going to sleep, so the terminal station can communicate only if it is released when it is scanning. There will be no obstacles. On the other hand, in the ad-hoc mode, even if the terminal station on the scanning side cancels the sleep state, if the existing terminal station to be scanned is in the sleep state, depending on the timing, the scan packet There is a problem of not being able to receive.

そこで、本実施形態では、スキャン側となる無線装置は、スキャンに先がけて周囲の無線装置がDoze状態へ遷移する動作を無効化する手順を導入し、スキャンされる側の無線装置がスキャンのためのパケットや、上述したようなユーザ・データをやりとりするためのパケットを確実に受信できるようにしている。   Therefore, in the present embodiment, the wireless device on the scanning side introduces a procedure for invalidating the operation in which the surrounding wireless devices transition to the Doze state prior to scanning, and the wireless device on the scanning side is for scanning. And packets for exchanging user data as described above can be reliably received.

以下では、図10に示した機能的構成を備えた無線装置がPowerSaveモード下で行なうスキャン動作について説明する。   Hereinafter, a scan operation performed by the wireless apparatus having the functional configuration illustrated in FIG. 10 in the Power Save mode will be described.

スキャンする側、並びにスキャンされる側となる各無線装置はIEEE802.11に規定されているアドホックPM(Ad−hoc Powermanagement)を実装しているものとする。パワー・マネージメントを実装した無線装置は、CA(Contunius Active)モードとPS(Power Save)モードの2つの動作を選択することができる。図24には、パワー・マネージメントに関する無線装置の状態遷移図を示している。モードの選択は通常は無線装置を使用するユーザが指定する。   It is assumed that each scanning device and each wireless device to be scanned are mounted with ad hoc PM (Ad-hoc Power management) defined in IEEE 802.11. A wireless device in which power management is implemented can select two operations of a CA (Continuous Active) mode and a PS (Power Save) mode. FIG. 24 shows a state transition diagram of the wireless device related to power management. The mode selection is normally specified by the user using the wireless device.

CAモードは常に受信機を動かし続けるモードである。また、PS(Power Save)モードは、無線機を動的にActive状態とDoze状態の2つの状態にする。Active状態では無線機に通電されており、パケットの受信は可能だが電力を消費する。一方、Doze状態では、無線機の電力は最低限に抑えられていて、パケットを受信できない。   The CA mode is a mode in which the receiver is always moved. In PS (Power Save) mode, the radio is dynamically set to two states, an active state and a doze state. In the active state, the wireless device is energized, and can receive packets but consumes power. On the other hand, in the Doze state, the radio power is kept to a minimum, and packets cannot be received.

無線装置がPowerSaveモードに入っているとき、通信が全くない状態では、ビーコン送出時間TBTTからATIM Windowの期間が終了するまでの間はActive状態になっていて、ATIM Window終了時から次のビーコン送出時間TBTTまでがDoze状態になっている(前述)。したがって、通信が無い状態では、PowerSaveモード下の無線装置がパケットを受信できるのは、ATIM Windowの期間だけである。例えば、ビーコン間隔を100ミリ秒、ATIM Windowを10ミリ秒とした場合、スキャンする側の無線装置からランダムに送信される9割のパケットを受信できなくなってしまう。   When the wireless device is in the Power Save mode, if there is no communication, the wireless device is in the Active state from the beacon transmission time TBTT to the end of the ATIM Window period, and the next beacon transmission from the end of the ATIM Window. The state is in the Doze state until the time TBTT (described above). Therefore, in a state where there is no communication, the wireless device under the Power Save mode can receive a packet only during the ATIM Window period. For example, when the beacon interval is set to 100 milliseconds and the ATIM Window is set to 10 milliseconds, 90% of packets randomly transmitted from the wireless device on the scanning side cannot be received.

そこで、本実施形態では、スキャン側となる無線装置は、TBTTの後に設けられるATIM Windowを利用するのではなく、スキャンに先がけて周囲の無線装置がDoze状態へ遷移する動作を無効化する手順を導入し、スキャンされる側の無線装置がスキャンのためのパケットや、上述したようなユーザ・データをやりとりするためのパケットを確実に受信できるようにしている。   Therefore, in this embodiment, the wireless device on the scanning side does not use the ATIM Window provided after the TBTT, but performs a procedure for invalidating the operation in which the surrounding wireless devices transition to the Doze state prior to scanning. The wireless device to be scanned can reliably receive a packet for scanning and a packet for exchanging user data as described above.

具体的には、スキャン側となる無線装置は、スキャンに先がけて周囲の無線装置が連続受信状態にするためのトリガとなる連続受信モード要求パケットを送信する。一方、既にネットワークを構成している無線装置は、連続受信モード要求パケットを受け取ると、自分の状態を常時受信モードにし、一時的にPowerSaveモードを解除する(あるいは、PowerSaveモード下でDoze状態への遷移を禁止する)。このように受信機がDoze状態になっていないので、まだIEEE802.11のネットワークを構成する前でPowerSaveモードが使用できない無線装置が送信した上述したようなユーザ・データをやりとりするためのパケットを、受信できなくなることがなくなる。   Specifically, the wireless device on the scanning side transmits a continuous reception mode request packet that serves as a trigger for the surrounding wireless devices to enter a continuous reception state prior to scanning. On the other hand, when a wireless device already configuring the network receives the continuous reception mode request packet, it changes its state to the constant reception mode and temporarily cancels the Power Save mode (or enters the Doze state under the Power Save mode). Prohibit transition). Since the receiver is not in the Doze state in this way, a packet for exchanging user data as described above transmitted by a wireless device that cannot use the Power Save mode before configuring the IEEE 802.11 network is as follows. It will not be impossible to receive.

図21には、スキャンする側の無線装置が周辺の無線装置のDoze状態を無効化するための通信シーケンス例を示している。   FIG. 21 shows an example of a communication sequence for the scanning wireless device to invalidate the Doze state of the surrounding wireless devices.

同図において、無線装置Aはこれからスキャンを行なおうとしている。一方、無線装置Bは、図示しない他の無線装置と既にアドホックPMのBSSを形成し、現在PowerSaveモードになっており、Doze状態とActive状態を適宜切り替えている。   In the figure, the wireless device A is about to scan. On the other hand, the wireless device B has already formed an ad hoc PM BSS with another wireless device (not shown), is currently in the Power Save mode, and appropriately switches between the Doze state and the Active state.

まず、無線装置Aは「連続受信モード要求パケット送信機能」を有効にする。この機能は、一部の無線LANインターフェースのファームウェア及びドライバで実装されている機能であり、ビーコンに含まれるATIM Windowのサイズを監視し、ATIM Windowのサイズが設定されている場合はPowerSaveモードに入っていると見なして、ATIM Windowの期間の間に連続受信モード要求パケットを送信する。この連続受信モード要求パケットは、Probe Request(前述)を利用したユーザ・データとして送信される。   First, the wireless device A enables the “continuous reception mode request packet transmission function”. This function is implemented by some wireless LAN interface firmware and drivers, monitors the size of the ATIM Window included in the beacon, and enters the Power Save mode if the ATIM Window size is set. The continuous reception mode request packet is transmitted during the period of the ATIM Window. This continuous reception mode request packet is transmitted as user data using a Probe Request (described above).

無線装置Bのデータ処理手段は、連続受信モード要求を受けると、パケット送信手段3及びパケット受信手段4に連続動作指示を送って、Doze状態を無効化し、PowerSaveモード下であっても常にActive状態でパケット受信可能となるように設定する。   When the data processing means of the wireless device B receives the continuous reception mode request, it sends a continuous operation instruction to the packet transmission means 3 and the packet reception means 4, invalidates the Doze state, and is always in the Active state even in the Power Save mode. To enable packet reception.

無線装置Aは、複数のBSSを見つけた場合には、それらのビーコンに合わせて連続受信モード要求パケットを送信するので、最終的にはすべてのアドホックPMのBSSに属する無線装置がActive状態にすることができる。   When the wireless device A finds a plurality of BSSs, the wireless device A transmits a continuous reception mode request packet in accordance with these beacons, so that the wireless devices belonging to the BSSs of all the ad hoc PMs finally enter the active state. be able to.

このようにして、周辺の無線装置がすべてActive状態を保つようにした後に、図12に示した手順に従ってユーザ・データの交換などの接続処理を実行するので、スキャンのパケットを取りこぼすことがなくなる。   In this way, after all the peripheral wireless devices are kept in the Active state, connection processing such as user data exchange is executed according to the procedure shown in FIG. 12, so that scan packets are not missed. .

図21に示した手順により、上記の接続相手の確認や接続パラメータといったユーザ・データの交換を行なっている間は、スキャンされる側の無線装置はPowerSaveモード中であっても常にActive状態を維持することで、スキャンする側の無線装置からのユーザ・データの取りこぼしを防いでいる。   In the procedure shown in FIG. 21, while the user data such as the confirmation of the connection partner and the connection parameters are exchanged, the wireless device to be scanned always maintains the active state even in the power save mode. This prevents the user data from being missed from the wireless device on the scanning side.

上記では、説明の簡素化のため、チャネルの変更動作を省略しているが、スキャンを行なうときは使用するすべてのチャネルにおいて上記と同様の動作を行なうようにする。また、スキャンをする際は、まず各チャネルに対して順番に「連続受信モード要求パケット送信機能」を有効にしてすべてのチャネルの受信側をActive状態にした後、もう一回各チャネル上でExistenceフレームを送信してスキャンを行なうようにしてもよい。   In the above description, the channel changing operation is omitted for the sake of simplification. However, when scanning is performed, the same operation as described above is performed in all the channels used. When scanning, the “continuous reception mode request packet transmission function” is first enabled for each channel in order to set the receiving side of all channels to the active state, and then again on each channel. A scan may be performed by transmitting a frame.

図21には図示していないが、スキャンされる側である無線装置BはこのままではCAモードと同じだけ電力を消費し続けてしまうので、元の通常のPSモードに戻らなければならない。無線装置BがPSモードに戻るトリガとして例えば以下の2つが考えられる。   Although not shown in FIG. 21, the wireless device B that is to be scanned continues to consume the same amount of power as in the CA mode, so it must return to the original normal PS mode. For example, the following two triggers are conceivable for the wireless device B to return to the PS mode.

1つ目のトリガは、無線装置Aと接続パラメータを交換した後である。この後、無線装置Aは無線装置Bが含まれるBSSのビーコンに同期して、通常のIEEE802.11のアドホックPS接続を行なうので、アドホックPSの手順に従ってパケットのやりとりすることができる。このため、無線装置Bは、無線装置Aと接続パラメータを交換した後は、常にActive状態である必要はない。   The first trigger is after exchanging connection parameters with the wireless device A. Thereafter, since the wireless device A performs a normal IEEE 802.11 ad hoc PS connection in synchronization with the BSS beacon including the wireless device B, packets can be exchanged according to the ad hoc PS procedure. For this reason, the wireless device B does not always need to be in the active state after exchanging connection parameters with the wireless device A.

無線装置BがPSモードに戻る2つ目のトリガとして、タイムアウトを挙げることができる。無線装置Bは、無線装置AによってActive状態にされるが、最終的には、無線装置Aは無線装置BのBSSに参加しないかもしれない。この場合、無線装置Bは速やかにDoze状態の無効化を解除して、通常のPSモードに戻る必要がある。したがって、接続のためのユーザ・データ交換が終わる程度の相当時間が経っても、接続のためのユーザ・データの交換が終わらない場合には、無線装置BはPSモードに戻るようにする。   A second trigger for returning the wireless device B to the PS mode can be a timeout. Wireless device B is brought into the Active state by wireless device A, but eventually wireless device A may not participate in the BSS of wireless device B. In this case, the wireless device B needs to promptly cancel the invalidation of the Doze state and return to the normal PS mode. Therefore, if the exchange of user data for connection does not end even after a considerable amount of time has passed, the wireless device B returns to the PS mode.

例えば無線装置がカメラの場合、接続の3台同時押し時の判定条件から接続のタイムアウトは3秒とすると、3秒ぎりぎりのタイミングで交換ボタンが押された場合を考えて6秒、さらにその後の接続のためのパケット交換の時間を考慮して8秒をタイムアウト値としている。また、音楽プレーヤの場合は、最初のスキャンで見つけた周辺の無線装置を表示してからユーザが選択するまでの時間が全く予想できないので、タイムアウト値を3秒として直ぐにPowerSaveSモードに戻す(若しくは、Doze状態の無効化を解除する)ようにしてもよい。   For example, when the wireless device is a camera, if the connection timeout is 3 seconds based on the judgment condition when 3 units are simultaneously pressed, 6 seconds will be considered when the exchange button is pressed at the timing of just 3 seconds, and then Considering the packet exchange time for connection, the timeout value is 8 seconds. In the case of a music player, since it is impossible to predict the time until the user selects a peripheral wireless device found in the first scan, the timeout value is set to 3 seconds and the power save mode is immediately returned (or The invalidation of the Doze state may be canceled).

そして、図18には示していないが、ユーザが接続相手を指定した後、Public key exchangeフレームを送信する前に、再度「連続受信モード要求パケット送信機能」を有効にして、無線装置BをActive Stateにし、その後のやりとりの取りこぼしが無いようにしている。   Although not shown in FIG. 18, after the user designates the connection partner and before transmitting the public key exchange frame, the “continuous reception mode request packet transmission function” is enabled again, and the wireless device B is activated. The state is set so that subsequent exchanges are not missed.

また、上述した2つのトリガとは別に、スキャンを行なった無線装置が、発見したBSSに参加しない場合はキャンセルを意味するユーザ・データを送って、これをトリガにして通常のPowerSaveモードに入る(若しくは、Doze状態の禁止を解除する)ようにしても良い。   In addition to the above-described two triggers, if the wireless device that performed the scan does not participate in the discovered BSS, it sends user data indicating cancellation, and enters this into the normal PowerSave mode using this as a trigger ( Alternatively, the prohibition of the Doze state may be canceled).

以上、特定の実施形態を参照しながら、本発明について詳解してきた。しかしながら、本発明の要旨を逸脱しない範囲で当業者が該実施形態の修正や代用を成し得ることは自明である。   The present invention has been described in detail above with reference to specific embodiments. However, it is obvious that those skilled in the art can make modifications and substitutions of the embodiment without departing from the gist of the present invention.

本明細書では、IEEE802.11に規定されている無線ネットワークに適用した実施形態を中心に説明してきたが、本発明の要旨はこれに限定されるものではない。通信に使用可能な複数の電波周波数帯がチャネルとして割り当てられ、各無線装置がパワー・マネージメント動作を有効化させながら自律分散的に動作するさまざまな無線通信システムに本発明を適用することによって、ネットワーク全体が効率的となるようにチャネル配置を決定するとともに、接続前の無線装置同士が事前に適切な接続相手を探し、接続に必要な情報を簡素な手続で共通に指定することができる。   In the present specification, the embodiment applied to a wireless network defined in IEEE 802.11 has been mainly described, but the gist of the present invention is not limited to this. By applying the present invention to various wireless communication systems in which a plurality of radio frequency bands that can be used for communication are allocated as channels and each wireless device operates autonomously while enabling power management operation, a network can be obtained. The channel arrangement is determined so that the whole is efficient, and wireless devices before connection can search for an appropriate connection partner in advance, and information necessary for connection can be designated in common by a simple procedure.

要するに、例示という形態で本発明を開示してきたのであり、本明細書の記載内容を限定的に解釈するべきではない。本発明の要旨を判断するためには、特許請求の範囲を参酌すべきである。   In short, the present invention has been disclosed in the form of exemplification, and the description of the present specification should not be interpreted in a limited manner. In order to determine the gist of the present invention, the claims should be taken into consideration.

図1は、本発明に係る無線ネットワークにおいて通信動作を行なうことができる無線装置のハードウェア構成を模式的に示した図である。FIG. 1 is a diagram schematically illustrating a hardware configuration of a wireless device capable of performing a communication operation in a wireless network according to the present invention. 図2は、本発明に係る無線ネットワークにおいて通信動作を行なうことができる無線装置の別のハードウェア構成例を模式的に示した図である。FIG. 2 is a diagram schematically illustrating another hardware configuration example of a wireless device capable of performing a communication operation in the wireless network according to the present invention. 図3は、無線LANインターフェース部110の内部構成を示した図である。FIG. 3 is a diagram showing an internal configuration of the wireless LAN interface unit 110. 図4は、図1若しくは図2に示した無線装置を複数台使って構成されるインフラストラクチャ・モードのBSSを形成した無線システムの構成例を示した図である。FIG. 4 is a diagram showing a configuration example of a radio system in which an infrastructure mode BSS is configured by using a plurality of radio apparatuses shown in FIG. 1 or FIG. 図5は、図1若しくは図2に示した無線装置を複数台使って構成されるアドホック・モードのBSSを形成した無線システムの構成例を示した図である。FIG. 5 is a diagram illustrating a configuration example of a wireless system in which an ad hoc mode BSS configured by using a plurality of wireless devices illustrated in FIG. 1 or FIG. 2 is formed. 図6は、無線装置がデジタルカメラである場合に、無線ネットワークを利用して写真交換を行なう様子を示した図である。FIG. 6 is a diagram illustrating a state in which photo exchange is performed using a wireless network when the wireless device is a digital camera. 図7は、無線装置が音楽プレーヤである場合に、無線ネットワークを利用して楽曲交換又はプレイリスト交換を行なう様子を示した図である。FIG. 7 is a diagram illustrating a state in which music exchange or playlist exchange is performed using a wireless network when the wireless device is a music player. 図8は、無線装置の機能的構成例を示したブロック図である。FIG. 8 is a block diagram illustrating a functional configuration example of the wireless device. 図9は、図8に示した無線装置の変形例を示した図である。FIG. 9 is a diagram illustrating a modification of the wireless device illustrated in FIG. 8. 図10は、図8に示した構成のさらに他の変形例を示した図である。FIG. 10 is a diagram showing still another modification of the configuration shown in FIG. 図11は、無線接続を行なうための無線装置の処理手順を示したフローチャートである。FIG. 11 is a flowchart illustrating a processing procedure of the wireless device for performing wireless connection. 図12は、無線装置Aと無線装置Bが無線接続を行なうためにユーザ・データを交換するシーケンス図である。FIG. 12 is a sequence diagram for exchanging user data between the wireless device A and the wireless device B for wireless connection. 図13は、ボタンを同時押した無線装置を接続相手として決定するための、新たにネットワークに参加する無線装置、又は最初にネットワークを構成する無線装置が行なう処理手順を示したフローチャートである。FIG. 13 is a flowchart showing a processing procedure performed by a wireless device that newly joins a network or a wireless device that first configures the network, in order to determine a wireless device that simultaneously presses buttons as a connection partner. 図14は、接続相手をユーザに選択させるための、新たにネットワークに参加する無線装置、又は最初にネットワークを構成する無線装置が行なう処理手順を示したフローチャートである。FIG. 14 is a flowchart illustrating a processing procedure performed by a wireless device that newly joins a network or a wireless device that first configures the network, for allowing the user to select a connection partner. 図15は、チャレンジ・レスポンスの通信シーケンスを示した図である。FIG. 15 is a diagram illustrating a challenge-response communication sequence. 図16は、無線装置のレベル値を設定する処理手順を示したフローチャートである。FIG. 16 is a flowchart illustrating a processing procedure for setting the level value of the wireless device. 図17は、レベル値を導入した、接続パラメータの送受判定処理の手順を示したフローチャートである。FIG. 17 is a flowchart showing a procedure of connection parameter transmission / reception determination processing in which a level value is introduced. 図18は、DH鍵交換と共通鍵暗号を使用した接続パラメータの送受信手順を示したシーケンス図である。FIG. 18 is a sequence diagram showing a connection parameter transmission / reception procedure using DH key exchange and common key encryption. 図19Aは、Probe Request及びProbe Responseフレームのフレーム・フォーマット(但し、通常のManagementフレーム構成)をそれぞれ示した図である。FIG. 19A is a diagram showing the frame format of the Probe Request and Probe Response frames (however, a normal Management frame configuration). 図19Bは、Probe Request及びProbe Responseフレームのフレーム・フォーマット(但し、ユーザ・データを含むManagementフレーム構成)をそれぞれ示した図である。FIG. 19B is a diagram showing the frame format of the probe request and probe response frames (however, the management frame structure including user data). 図20は、無線装置が、周辺の無線装置が使用するアプリケーションの情報を使ってチャネル配置を決定するための処理手順を示したフローチャートである。FIG. 20 is a flowchart illustrating a processing procedure for a wireless device to determine a channel arrangement using information on applications used by peripheral wireless devices. 図21は、スキャンする側の無線装置が周辺の無線装置のDoze状態を無効化するための通信シーケンス例を示した図である。FIG. 21 is a diagram illustrating a communication sequence example for the scanning side wireless device to invalidate the Doze state of the surrounding wireless devices. 図22は、インフラストラクチャ・モード時のIEEE802.11の動作例を示した図である。FIG. 22 is a diagram illustrating an operation example of IEEE 802.11 in the infrastructure mode. 図23は、アドホック・モード時のIEEE802.11の動作例を示した図である。FIG. 23 is a diagram illustrating an operation example of IEEE 802.11 in the ad hoc mode. 図24は、パワー・マネージメントに関する無線装置の状態遷移図である。FIG. 24 is a state transition diagram of a wireless device related to power management.

符号の説明Explanation of symbols

1…データ処理手段
2…ユーザ・データ・パケット作成手段
3…パケット送信手段
4…ユーザ・データ抽出手段
5…パケット受信手段
6…接続制御手段
7…チャネル設定手段
11、21〜24、31〜35…無線装置
41、51…カメラ
42、52…交換ボタン
61、71、81…音楽プレーヤ
62、72、82…表示装置
63、73…選択ボタン
64、74…決定ボタン
101…CPU
102…ROM
103…RAM
104…周辺装置
105…外部記憶装置
106…無線LANインターフェース
107…I/Oインターフェース
110…無線LANインターフェース
111…CPU
112…ROM
113…RAM
118…I/Oインターフェース
119…無線送受信機
DESCRIPTION OF SYMBOLS 1 ... Data processing means 2 ... User data packet preparation means 3 ... Packet transmission means 4 ... User data extraction means 5 ... Packet reception means 6 ... Connection control means 7 ... Channel setting means 11, 21, 24, 31-35 ... Wireless devices 41, 51 ... Cameras 42, 52 ... Exchange buttons 61, 71, 81 ... Music players 62, 72, 82 ... Display devices 63, 73 ... Selection buttons 64, 74 ... Decision buttons 101 ... CPU
102 ... ROM
103 ... RAM
104 ... Peripheral device 105 ... External storage device 106 ... Wireless LAN interface 107 ... I / O interface 110 ... Wireless LAN interface 111 ... CPU
112 ... ROM
113 ... RAM
118 ... I / O interface 119 ... Wireless transceiver

Claims (32)

通信に使用可能なチャネル上でパケット通信を行なう複数の無線装置で構成される無線通信システムであって、
ネットワークを形成する前の無線装置間でユーザ・データを交換するユーザ・データ交換手段を備え、
無線装置がネットワークを形成し又は既存のネットワークに参入する際に、前記チャネル上をスキャンして周囲の無線装置を探索するとともに、探し出された無線装置から接続相手を確認するための任意の情報を含むユーザ・データを収集し、該ユーザ・データに基づいて接続相手となる無線装置を決定し、該接続相手となる無線装置との間で無線接続に必要となる接続パラメータを含むユーザ・データを交換し、該交換した接続パラメータを用いて無線装置間で接続を行なう、
ことを特徴とする無線通信システム。
A wireless communication system including a plurality of wireless devices that perform packet communication on a channel that can be used for communication,
User data exchange means for exchanging user data between wireless devices before forming a network,
When a wireless device forms a network or joins an existing network, it scans the channel and searches for surrounding wireless devices, and arbitrary information for confirming a connection partner from the found wireless device User data including data, determining a wireless device to be connected based on the user data, and including user parameters including connection parameters necessary for wireless connection with the wireless device to be connected And connecting between wireless devices using the exchanged connection parameters,
A wireless communication system.
前記の接続相手を確認するためのユーザ・データは、無線装置で動作するアプリケーション若しくはアプリケーションにおいて使用するデータ通信方法、又は無線装置のユーザに関する情報を含む、
ことを特徴とする請求項1に記載の無線通信システム。
The user data for confirming the connection partner includes an application operating on the wireless device or a data communication method used in the application, or information on a user of the wireless device.
The wireless communication system according to claim 1.
前記の無線接続に必要となる接続パラメータは、無線装置間を接続するネットワークの識別情報と、無線装置間の通信路を暗号化する暗号鍵を含む、
ことを特徴とする請求項1に記載の無線通信システム。
The connection parameters required for the wireless connection include identification information of a network connecting the wireless devices and an encryption key for encrypting a communication path between the wireless devices.
The wireless communication system according to claim 1.
通信に使用可能な電波の周波数は複数あり、チャネルとして割り振られており、
前記のスキャン時に無線装置間で交換するユーザ・データは、現在動作中のアプリケーション、又はこれから動作させるアプリケーションの使用帯域に関する情報を含み、
無線装置は、自分が動作するアプリケーションと、スキャンして検出された各無線装置で現在動作中のアプリケーションを識別する情報を基に、設定すべきチャネルを決定する、
ことを特徴とする請求項1に記載の無線通信システム。
There are several radio wave frequencies that can be used for communication, and they are allocated as channels.
The user data exchanged between the wireless devices at the time of the scan includes information on a currently used application or a use band of an application to be operated from now on,
The wireless device determines a channel to be set based on an application in which the wireless device operates and information identifying an application currently operating in each wireless device detected by scanning.
The wireless communication system according to claim 1.
少なくとも一部の無線装置は、受信機の動作を一時的に停止して省電力化を図る機能を備えており、
スキャンする側となる無線装置は、前記の通信に使用可能なチャネル上で、所定の省電力モード時の送信規則に従って、連続受信モード要求パケットをユーザ・データとして送信し、
該連続受信モード要求パケットを受信した周囲の無線装置は受信機を連続して動作させ、
前記のスキャンする側となる無線装置は、周囲の無線装置が受信機を連続して動作させている期間を利用してスキャンを実施する、
ことを特徴とする請求項1に記載の無線通信システム。
At least some wireless devices have a function to temporarily stop the operation of the receiver to save power,
The radio device to be scanned transmits a continuous reception mode request packet as user data according to a transmission rule in a predetermined power saving mode on a channel usable for the communication,
The surrounding wireless devices that have received the continuous reception mode request packet operate the receiver continuously,
The wireless device on the scanning side performs scanning using a period in which surrounding wireless devices continuously operate the receiver.
The wireless communication system according to claim 1.
スキャンする側となる無線装置は、前記の通信に使用可能なチャネル上で特に宛先を指定しないブロードキャスト・アドレスに対してスキャン用フレームをユーザ・データとして送信するとともに、周囲の無線装置からの該スキャン用フレーム用に対する応答フレームとしてのユーザ・データを受信することによってスキャンを実施する、
ことを特徴とする請求項1に記載の無線通信システム。
The wireless device on the scanning side transmits a scan frame as user data to a broadcast address that does not particularly specify a destination on the channel that can be used for communication, and the scan from surrounding wireless devices. Scanning by receiving user data as a response frame for the use frame,
The wireless communication system according to claim 1.
前記スキャン用のフレーム及びこれに対する応答フレームを構成するユーザ・データには、無線装置において動作中のアプリケーションに関する情報、又は無線装置のユーザに関する情報が含まれており、
スキャンを行なう側の無線装置は、該応答フレームの内容を評価して接続相手を判断し、又は、スキャンを受ける側の無線装置は、該スキャン用フレームの内容を評価して接続相手を判断する、
ことを特徴とする請求項6に記載の無線通信システム。
The user data constituting the scan frame and the response frame to the scan frame includes information about an application running on the wireless device, or information about a user of the wireless device,
The wireless device on the scanning side evaluates the content of the response frame to determine the connection partner, or the wireless device on the scanning side evaluates the content of the scan frame to determine the connection partner ,
The wireless communication system according to claim 6.
無線装置がネットワークを形成し又は既存のネットワークに参入する際に、スキャンして存在が確認された無線装置の中から、チャレンジ・レスポンス手続を通じて接続相手を限定する、
ことを特徴とする請求項1に記載の無線通信システム。
When a wireless device forms a network or joins an existing network, the connection partner is limited through a challenge-response procedure from among wireless devices that have been scanned and confirmed.
The wireless communication system according to claim 1.
接続相手となった一組の無線装置のうちいずれが接続パラメータを生成し又は送信するかを判断する判断手段をさらに備える、
ことを特徴とする請求項1に記載の無線通信システム。
A determination means for determining which one of a set of wireless devices as connection partners generates or transmits a connection parameter;
The wireless communication system according to claim 1.
既にネットワークを形成している状況下で新たに無線装置が参加する場合、前記判断手段は、既にネットワークに参加している無線装置を接続パラメータの送信元と判断する、
ことを特徴とする請求項9に記載の無線通信システム。
When a wireless device newly joins in a situation where a network has already been formed, the determination unit determines that the wireless device already participating in the network is a connection parameter transmission source.
The wireless communication system according to claim 9.
インフラストラクチャ・モード下では、前記判断手段は、制御局となる無線装置を接続パラメータの送信元と判断する、
ことを特徴とする請求項9に記載の無線通信システム。
Under the infrastructure mode, the determination means determines that the wireless device serving as the control station is a connection parameter transmission source.
The wireless communication system according to claim 9.
アドホック・モード下では、前記判断手段は、各無線装置が持つMACアドレス、無線装置毎に生成する乱数値、又はそれ以外の、同値になる可能性が全くないか極めて低い情報に基づいて、一方の無線装置を接続パラメータの送信元に決定する、
ことを特徴とする請求項9に記載の無線通信システム。
Under the ad hoc mode, the determining means is based on the MAC address of each wireless device, a random value generated for each wireless device, or other information that has no or very low possibility of being the same value. Determine the wireless device as the connection parameter source,
The wireless communication system according to claim 9.
接続相手となる無線装置同士で互いの公開鍵をユーザ・データとして交換する公開鍵交換手段をさらに備え、
各無線装置は、自分の秘密鍵と接続相手の公開鍵を元にセッション鍵を生成し、
接続パラメータの送信元となる無線装置はセッション鍵を用いて接続パラメータを暗号化して送信し、接続パラメータの受信先となる無線装置は受信した接続パラメータをセッション鍵で復号する、
ことを特徴とする請求項1に記載の無線通信システム。
A public key exchange means for exchanging each other's public key as user data between wireless devices to be connected;
Each wireless device generates a session key based on its private key and the public key of the connection partner,
The wireless device that is the connection parameter transmission source encrypts and transmits the connection parameter using the session key, and the wireless device that is the connection parameter reception destination decrypts the received connection parameter with the session key.
The wireless communication system according to claim 1.
通信に使用可能な電波の周波数は複数あり、チャネルとして割り振られており、
前記の無線接続に必要となる接続パラメータは、チャネルと基本ネットワー識別子を含み、
無線装置はスキャン動作を省略する、
ことを特徴とする請求項1に記載の無線通信システム。
There are several radio wave frequencies that can be used for communication, and they are allocated as channels.
The connection parameters required for the wireless connection include a channel and a basic network identifier,
The wireless device skips the scanning operation,
The wireless communication system according to claim 1.
各ネットワークはIEEE802.11規格に則って運用され、
前記ユーザ・データ交換手段は、IEEE802.11のMagagementフレームのVendor Specific IEフィールドを利用してユーザ・データを交換する、
ことを特徴とする請求項1に記載の無線通信システム。
Each network is operated in accordance with the IEEE 802.11 standard,
The user data exchanging means exchanges user data using a Vendor Specific IE field of an IEEE 802.11 Management frame.
The wireless communication system according to claim 1.
スキャンする側の無線装置はProbe Requestフレームを用いてスキャン用フレームを送信し、スキャンされる側の無線装置は、Probe Responseフレームを用いて応答フレームを用いて返信する、
ことを特徴とする請求項15に記載の無線通信システム。
The scanning wireless device transmits a scan frame using a Probe Request frame, and the scanned wireless device returns a response frame using a Probe Response frame.
The wireless communication system according to claim 15.
ユーザ・データの送信元の無線装置は、1つのフレームに複数のVendor Specific IEを含ませ、ユーザ・データをフラグメントして伝送し、ユーザ・データの受信先の無線装置は、フラグメントされたユーザ・データをデフラグメントして用いる、
ことを特徴とする請求項15に記載の無線通信システム。
A wireless device that is a source of user data includes a plurality of Vendor Specific IEs in one frame, and fragments and transmits user data. A wireless device that is a recipient of user data Use the data defragmented,
The wireless communication system according to claim 15.
無線装置は、パケット遅延が許されないリアルタイム性が要求されるアプリケーションとバースト的に最大帯域を使用するベストエフォート型のアプリケーションを別のチャネルに割り当てるようにする、
ことを特徴とする請求項4に記載の無線通信システム。
The wireless device allocates another channel with a best-effort application that uses the maximum bandwidth in bursts and an application that requires real-time processing in which packet delay is not allowed.
The wireless communication system according to claim 4.
ベストエフォート型のアプリケーションを動作する無線装置は、既存のベストエフォート型ネットワークが存在するチャネル上に自分のネットワークを形成するようにする、
ことを特徴とする請求項4に記載の無線通信システム。
Wireless devices running best-effort applications should form their networks on channels where existing best-effort networks exist,
The wireless communication system according to claim 4.
ストリーミング型のアプリケーションを動作する無線装置は、既存のストリーミング型ネットワークが存在するチャネルで必要帯域を確保できるときには、該チャネル上に自分のネットワークを形成するようにする、
ことを特徴とする請求項4に記載の無線通信システム。
When a wireless device that operates a streaming-type application can secure a necessary bandwidth in a channel where an existing streaming-type network exists, the wireless device forms a network on the channel.
The wireless communication system according to claim 4.
該連続受信モード要求パケットを受信した無線装置は、該接続相手となる無線装置との間で無線接続に必要となる接続パラメータを含むユーザ・データを交換した後に、受信機の連続動作を解除する、
ことを特徴とする請求項5に記載の無線通信システム。
The wireless device that has received the continuous reception mode request packet cancels the continuous operation of the receiver after exchanging user data including connection parameters necessary for wireless connection with the wireless device that is the connection partner. ,
The wireless communication system according to claim 5.
該連続受信モード要求パケットを受信した無線装置は、接続のためのユーザ・データ交換が終わる程度の相当時間が経っても、接続のためのユーザ・データの交換が終わらない場合には、受信機の連続動作を解除する、
ことを特徴とする請求項5に記載の無線通信システム。
If the wireless device that has received the continuous reception mode request packet does not finish exchanging user data for connection even after a considerable amount of time has passed for exchanging user data for connection, Cancel the continuous operation of
The wireless communication system according to claim 5.
通信に使用可能なチャネル上でパケット通信を行なう無線通信装置であって、
当該無線通信装置上で動作しているアプリケーション、又は、当該無線通信装置を操作するユーザが他の無線通信装置と交換したい任意の情報を含むユーザ・データを所定のユーザ・データ・パケットの形式に変換するユーザ・データ・パケット作成手段と、
前記ユーザ・データ・パケット作成手段で作成されたユーザ・データ・パケットを管理用のパケットとして無線送信するパケット送信手段と、
他の無線通信装置から無線送信された管理用のパケットを受信するパケット受信手段と、
前記パケット受信手段で受信した管理用パケットに含まれるデータ・パケット部分からユーザ・データを取り出すユーザ・データ抽出手段と、
ネットワーク識別子と暗号鍵に基づいて既存の無線ネットワークに参加し又は新しい無線ネットワークを構成して、前記パケット送信手段及び前記パケット受信手段による他の無線通信装置との接続を制御する接続制御手段と、
前記ユーザ・データ・パケット作成手段及び前記ユーザ・データ抽出手段を通じて接続候補となる他の無線通信装置と上記ユーザ・データを交換し、交換したユーザ・データを用いて接続すべき相手を決定し、該決定された接続すべき相手と同じネットワーク識別子と暗号鍵を前記接続制御手段に設定するデータ処理手段と、
を具備することを特徴とする無線通信装置。
A wireless communication device that performs packet communication on a channel that can be used for communication,
Application data running on the wireless communication device or user data including arbitrary information that the user operating the wireless communication device wants to exchange with another wireless communication device is in the form of a predetermined user data packet User data packet creation means for conversion;
Packet transmitting means for wirelessly transmitting the user data packet created by the user data packet creating means as a management packet;
A packet receiving means for receiving a management packet wirelessly transmitted from another wireless communication device;
User data extracting means for extracting user data from a data packet portion included in the management packet received by the packet receiving means;
A connection control unit that joins an existing wireless network based on a network identifier and an encryption key or configures a new wireless network, and controls connection between the packet transmitting unit and the packet receiving unit with another wireless communication device;
Exchanging the user data with another wireless communication device as a connection candidate through the user data packet creating means and the user data extracting means, and determining a partner to be connected using the exchanged user data, Data processing means for setting the same network identifier and encryption key as the determined counterpart to be connected to the connection control means;
A wireless communication apparatus comprising:
通信に使用可能な電波の周波数は複数あり、チャネルとして割り振られており、
前記パケット送信手段及び前記パケット受信手段によりパケットを無線送受信するチャネルを設定するチャネル設定手段をさらに備え、
前記データ処理手段は、現在動作中のアプリケーション、あるいはこれから動作させるアプリケーションの使用帯域に関する情報に基づいて設定すべきチャネルを決定し、該チャネルを前記チャネル設定手段に指示する、
ことを特徴とする請求項23に記載の無線通信装置。
There are several radio wave frequencies that can be used for communication, and they are allocated as channels.
Channel setting means for setting a channel for wirelessly transmitting and receiving packets by the packet transmitting means and the packet receiving means;
The data processing means determines a channel to be set based on information on a currently used application or a use band of an application to be operated in the future, and instructs the channel setting means to set the channel;
24. The wireless communication apparatus according to claim 23.
前記ユーザ・データ・パケット作成手段は、現在動作中のアプリケーション、又はこれから動作させるアプリケーションの使用帯域に関する情報を含むユーザ・データをパケット形式に変換し、
前記ユーザ・データ抽出手段は、前記パケット受信手段で受信したパケットから、現在動作中のアプリケーション、又はこれから動作させるアプリケーションの使用帯域に関する情報を含むユーザ・データを取り出す、
ことを特徴とする請求項24に記載の無線通信装置。
The user data packet creation means converts user data including information on a bandwidth currently used by an application currently operating or an application to be operated into a packet format,
The user data extraction unit extracts user data including information on a currently used application or a band used by an application to be operated from the packet received by the packet reception unit.
25. The wireless communication apparatus according to claim 24.
受信機の動作を一時的に停止する省電力化機能を備え、通信に使用可能なチャネル上でパケット通信を行なう無線通信装置であって、
データを無線送信するデータ送信手段と、
他の無線通信装置から無線送信されたデータを受信するデータ受信手段と、
前記データ送信手段及び前記データ受信手段による送受信データの処理、及び該処理結果に基づいて前記データ送信手段及び前記データ受信手段の動作を制御するデータ処理手段を備え、
前記データ処理手段は、
スキャン動作に先駆けて、前記データ送信手段に対して、他の無線通信装置に連続的な受信動作を要求する連続受信モード要求パケットの送信を指示し、
前記データ受信手段において連続受信モード要求パケットを受信したことに応答して前記データ受信手段に対して連続的な受信動作を指示し、その後、所定の条件を満たしたとき又は所定の時間が経過したときに前記受信手段に対して間欠的な受信動作を行なうように指示し、
前記データ送信手段は、前記データ処理手段からの連続受信モード要求パケットの送信の指示に応じて、省電力モード時における所定の送信規則に従って連続受信モード要求パケットを送信し、
前記データ受信手段は、前記データ処理手段からの連続的な受信動作の指示に応じて連続的な受信動作を行なうとともに、前記データ処理手段からの間欠的な受信動作の指示に応じて間欠的な受信動作を行なう、
ことを特徴とする無線通信装置。
A wireless communication device having a power saving function for temporarily stopping the operation of a receiver and performing packet communication on a channel usable for communication,
Data transmission means for wirelessly transmitting data;
Data receiving means for receiving data wirelessly transmitted from another wireless communication device;
Data processing means for controlling transmission / reception data processing by the data transmission means and the data reception means, and operations of the data transmission means and the data reception means based on the processing results,
The data processing means includes
Prior to the scanning operation, the data transmission means is instructed to transmit a continuous reception mode request packet for requesting a continuous reception operation to another wireless communication device,
In response to receiving the continuous reception mode request packet in the data reception means, the data reception means is instructed to perform a continuous reception operation, and then a predetermined condition is satisfied or a predetermined time has elapsed. Sometimes instructing the receiving means to perform an intermittent receiving operation,
The data transmission means transmits a continuous reception mode request packet according to a predetermined transmission rule in a power saving mode in response to an instruction to transmit a continuous reception mode request packet from the data processing means,
The data receiving means performs a continuous receiving operation in response to an instruction of continuous receiving operation from the data processing means, and intermittently in response to an instruction of intermittent receiving operation from the data processing means. Receive operation,
A wireless communication apparatus.
前記データ送信手段は、ユーザが他の無線通信装置と交換したい任意の情報を含むユーザ・データを所定のユーザ・データ・パケットの形式に変換するユーザ・データ・パケット作成手段と、前記ユーザ・データ・パケット作成手段で作成されたユーザ・データ・パケットを管理用のパケットとして無線送信するパケット送信手段を備え、
前記データ受信手段は、他の無線通信装置から無線送信された管理用のパケットを受信するパケット受信手段と、前記パケット受信手段で受信した管理用パケットに含まれるデータ・パケット部分からユーザ・データを取り出すユーザ・データ抽出手段を備える、
ことを特徴とする請求項26に記載の無線通信装置。
The data transmission means includes user data packet creation means for converting user data including arbitrary information that the user wants to exchange with another wireless communication device into a predetermined user data packet format, and the user data A packet transmission means for wirelessly transmitting the user data packet created by the packet creation means as a management packet;
The data receiving means is a packet receiving means for receiving a management packet wirelessly transmitted from another wireless communication device, and user data from a data packet part included in the management packet received by the packet receiving means. Comprising user data extraction means for retrieving;
27. The wireless communication apparatus according to claim 26.
IEEE802.11規格に則った無線通信動作を行ない、
前記パケット送信手段及び前記パケット受信手段はそれぞれ、IEEE802.11のMagagementフレームのVendor Specific IEフィールドを利用してユーザ・データを交換する、
ことを特徴とする請求項23又は27のいずれかに記載の無線通信装置。
Perform wireless communication operation in accordance with the IEEE 802.11 standard,
Each of the packet transmission means and the packet reception means exchanges user data using a Vendor Specific IE field of an IEEE 802.11 Management frame.
The wireless communication apparatus according to claim 23 or 27, wherein
通信に使用可能なチャネル上でパケット通信を行なう無線通信方法であって、
パケット通信を行なうアプリケーション、又は、アプリケーションの実行を指示するユーザが他の無線通信装置と交換したい任意の情報を含むユーザ・データを所定のユーザ・データ・パケットの形式に変換するユーザ・データ・パケット作成ステップと、
前記ユーザ・データ・パケット作成ステップにおいて作成されたユーザ・データ・パケットを管理用のパケットとして無線送信するパケット送信ステップと、
他の無線通信装置から無線送信された管理用のパケットを受信するパケット受信ステップと、
前記パケット受信ステップにおいて受信した管理用パケットに含まれるデータ・パケット部分からユーザ・データを取り出すユーザ・データ抽出ステップと、
ネットワーク識別子と暗号鍵に基づいて既存の無線ネットワークに参加し又は新しい無線ネットワークを構成して、他の無線通信装置との接続を制御する接続制御ステップと、
接続候補となる他の無線通信装置と上記ユーザ・データを交換し、交換したユーザ・データを用いて接続すべき相手を決定し、該決定された接続すべき相手と同じネットワーク識別子と暗号鍵を前記接続制御ステップにおいて設定させるデータ処理ステップと、
を具備することを特徴とする無線通信方法。
A wireless communication method for performing packet communication on a channel usable for communication,
Application that performs packet communication or user data packet that converts user data including arbitrary information that a user instructing execution of the application wants to exchange with another wireless communication device to a predetermined user data packet format Creation steps,
A packet transmission step of wirelessly transmitting the user data packet created in the user data packet creation step as a management packet;
A packet receiving step of receiving a management packet wirelessly transmitted from another wireless communication device;
A user data extracting step of extracting user data from a data packet portion included in the management packet received in the packet receiving step;
A connection control step of joining an existing wireless network based on the network identifier and the encryption key or configuring a new wireless network to control connection with other wireless communication devices;
The user data is exchanged with other wireless communication devices that are connection candidates, the other party to be connected is determined using the exchanged user data, and the same network identifier and encryption key as the determined other party to be connected are determined. A data processing step to be set in the connection control step;
A wireless communication method comprising:
受信機の動作を一時的に停止する省電力化機能を実現するとともに、通信に使用可能なチャネル上でパケット通信を行なう無線通信方法であって、
スキャン動作に先駆けて、他の無線通信装置に連続的な受信動作を要求する連続受信モード要求パケットを送信するステップと、
省電力モード時における所定の送信規則に従って連続受信モード要求パケットを送信するステップと、
連続受信モード要求パケットを受信したことに応答して、連続的な受信動作を行なうステップと、
連続的な受信動作を行なっているときに、所定の条件を満たしたとき又は所定の時間が経過したことに応じて、間欠的な受信動作を開始するステップと、
を具備することを特徴とする無線通信方法。
A wireless communication method for realizing a power saving function for temporarily stopping the operation of a receiver and performing packet communication on a channel usable for communication,
Prior to the scan operation, transmitting a continuous reception mode request packet for requesting a continuous reception operation to another wireless communication device;
Transmitting a continuous reception mode request packet according to a predetermined transmission rule in the power saving mode;
Performing a continuous reception operation in response to receiving a continuous reception mode request packet;
A step of starting an intermittent reception operation when a predetermined condition is satisfied or a predetermined time has elapsed when performing a continuous reception operation;
A wireless communication method comprising:
通信に使用可能なチャネル上でパケット通信を行なうための処理をコンピュータ上で実行するようにコンピュータ可読形式で記述されたコンピュータ・プログラムであって、前記コンピュータに対し、
パケット通信を行なうアプリケーション、又は、アプリケーションの実行を指示するユーザが他の無線通信装置と交換したい任意の情報を含むユーザ・データを所定のユーザ・データ・パケットの形式に変換するユーザ・データ・パケット作成手順と、
前記ユーザ・データ・パケット作成手順を実行することによって作成されたユーザ・データ・パケットを管理用のパケットとして無線送信するパケット送信手順と、
他の無線通信装置から無線送信された管理用のパケットを受信するパケット受信手順と、
前記パケット受信手順を実行することによって受信した管理用パケットに含まれるデータ・パケット部分からユーザ・データを取り出すユーザ・データ抽出手順と、
ネットワーク識別子と暗号鍵に基づいて既存の無線ネットワークに参加し又は新しい無線ネットワークを構成して、他の無線通信装置との接続を制御する接続制御手順と、
接続候補となる他の無線通信装置と上記ユーザ・データを交換し、交換したユーザ・データを用いて接続すべき相手を決定し、該決定された接続すべき相手と同じネットワーク識別子と暗号鍵を前記接続制御手順において設定させるデータ処理手順と、
を実行させることを特徴とするコンピュータ・プログラム。
A computer program written in a computer-readable format to execute processing for performing packet communication on a channel usable for communication on a computer,
Application that performs packet communication or user data packet that converts user data including arbitrary information that a user instructing execution of the application wants to exchange with another wireless communication device to a predetermined user data packet format Creation procedure and
A packet transmission procedure for wirelessly transmitting a user data packet created by executing the user data packet creation procedure as a management packet;
A packet reception procedure for receiving a management packet wirelessly transmitted from another wireless communication device;
A user data extraction procedure for extracting user data from a data packet portion included in a management packet received by executing the packet reception procedure;
A connection control procedure for joining an existing wireless network or configuring a new wireless network based on a network identifier and an encryption key, and controlling connection with other wireless communication devices;
The user data is exchanged with other wireless communication devices that are connection candidates, the other party to be connected is determined using the exchanged user data, and the same network identifier and encryption key as the determined other party to be connected are determined. A data processing procedure to be set in the connection control procedure;
A computer program for executing
受信機の動作を一時的に停止する省電力化機能を実現するとともに、通信に使用可能なチャネル上でパケット通信を行なうための処理をコンピュータ上で実行するようにコンピュータ可読形式で記述されたコンピュータ・プログラムであって、前記コンピュータに対し、
スキャン動作に先駆けて、他の無線通信装置に連続的な受信動作を要求する連続受信モード要求パケットを送信する手順と、
省電力モード時における所定の送信規則に従って連続受信モード要求パケットを送信する手順と、
連続受信モード要求パケットを受信したことに応答して、連続的な受信動作を行なう手順と、
連続的な受信動作を行なっているときに、所定の条件を満たしたとき又は所定の時間が経過したことに応じて、間欠的な受信動作を開始する手順と、
を実行させることを特徴とするコンピュータ・プログラム。
A computer described in a computer-readable format so as to execute a process for performing packet communication on a channel that can be used for communication while realizing a power saving function for temporarily stopping the operation of the receiver. A program for the computer
Prior to the scanning operation, a procedure for transmitting a continuous reception mode request packet for requesting a continuous reception operation to another wireless communication device;
A procedure for transmitting a continuous reception mode request packet according to a predetermined transmission rule in the power saving mode;
In response to receiving the continuous reception mode request packet, a procedure for performing a continuous reception operation;
A procedure for starting an intermittent reception operation when a predetermined condition is satisfied or a predetermined time has elapsed when performing a continuous reception operation;
A computer program for executing
JP2007052779A 2007-03-02 2007-03-02 Wireless communication system, wireless communication apparatus, wireless communication method, and computer program Pending JP2008219358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007052779A JP2008219358A (en) 2007-03-02 2007-03-02 Wireless communication system, wireless communication apparatus, wireless communication method, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007052779A JP2008219358A (en) 2007-03-02 2007-03-02 Wireless communication system, wireless communication apparatus, wireless communication method, and computer program

Publications (1)

Publication Number Publication Date
JP2008219358A true JP2008219358A (en) 2008-09-18

Family

ID=39838887

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007052779A Pending JP2008219358A (en) 2007-03-02 2007-03-02 Wireless communication system, wireless communication apparatus, wireless communication method, and computer program

Country Status (1)

Country Link
JP (1) JP2008219358A (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010035852A1 (en) * 2008-09-24 2010-04-01 Canon Kabushiki Kaisha Communication apparatus, control method of communication apparatus, computer program, and storage medium
JP2010124331A (en) * 2008-11-20 2010-06-03 Toshiba Corp Video processing apparatus and video processing method of video processing apparatus
JP2010226239A (en) * 2009-03-19 2010-10-07 Seiko Epson Corp COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, COMMUNICATION DEVICE PROGRAM
WO2011001682A1 (en) * 2009-07-03 2011-01-06 Canon Kabushiki Kaisha Communication apparatus, communication apparatus control method, and program
WO2012011264A1 (en) * 2010-07-21 2012-01-26 日本電気株式会社 Wireless lan communication terminal in wireless lan system, and communication control method for wireless lan communication terminal
JP2012050096A (en) * 2010-08-30 2012-03-08 Apple Inc Secure wireless link between two devices using probes
JP2012085167A (en) * 2010-10-13 2012-04-26 Canon Inc Communication device, control method therefor, and program
JP2012511290A (en) * 2008-12-09 2012-05-17 ファーウェイ デバイス カンパニー リミテッド Method and apparatus for master station negotiation
JP2012227648A (en) * 2011-04-18 2012-11-15 Ntt Docomo Inc Radio communication terminal
JP2013062843A (en) * 2012-10-31 2013-04-04 Canon Inc Communication device, control method therefor, computer program, and storage medium
CN103270792A (en) * 2010-12-24 2013-08-28 三星电子株式会社 Method and device for protecting content in WI-FI direct communication scheme
WO2013153886A1 (en) * 2012-04-13 2013-10-17 ソニー株式会社 Wireless communication device, communication system, and communication method
JP2014511488A (en) * 2011-02-25 2014-05-15 シズベル テクノロジー エス.アール.エル. Method for locating a wireless device in an environment with a wireless network having at least one access point
JP2014104684A (en) * 2012-11-29 2014-06-09 Canon Inc Printing apparatus, control method of printing apparatus, and program
JP2014532165A (en) * 2011-09-20 2014-12-04 シズベル テクノロジー エス.アール.エル. Method for reconstructing a map of the environment surrounding a wireless device, and wireless device implementing the method
CN104820645A (en) * 2015-04-18 2015-08-05 佛山豪欧智能科技有限公司 One-key scanning method and scanning system applied to scanning equipment
JP2016213774A (en) * 2015-05-13 2016-12-15 富士通株式会社 Communications system
JP2017168909A (en) * 2016-03-14 2017-09-21 富士通株式会社 Radio communication program, method, and device
US10200903B2 (en) 2008-10-06 2019-02-05 Canon Kabushiki Kaisha Communication apparatus, control method of communication apparatus, computer program, and storage medium
WO2019077894A1 (en) * 2017-10-20 2019-04-25 ソニーセミコンダクタソリューションズ株式会社 Wireless communication device, wireless communication method, and computer program
CN109814498A (en) * 2017-11-22 2019-05-28 横河电机株式会社 Setting system, apparatus and method and computer readable non-transitory storage medium
US10419713B2 (en) 2015-02-13 2019-09-17 Panasonic Intellectual Property Management Co., Ltd. Reproduction device and output device
JP2020028056A (en) * 2018-08-14 2020-02-20 東芝テック株式会社 Communication device, peripheral device, and communication system
WO2024018662A1 (en) * 2022-07-22 2024-01-25 オムロンヘルスケア株式会社 Management system, measurement device, information terminal, and operation program for information terminal

Cited By (63)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010081117A (en) * 2008-09-24 2010-04-08 Canon Inc Communications device, method for controlling same, computer program, storage medium
US8948380B2 (en) 2008-09-24 2015-02-03 Canon Kabushiki Kaisha Communication apparatus, control method of communication apparatus, computer program, and storage medium
WO2010035852A1 (en) * 2008-09-24 2010-04-01 Canon Kabushiki Kaisha Communication apparatus, control method of communication apparatus, computer program, and storage medium
US12047770B2 (en) 2008-10-06 2024-07-23 Canon Kabushiki Kaisha Communication apparatus, control method of communication apparatus, computer program, and storage medium
US11115816B2 (en) 2008-10-06 2021-09-07 Canon Kabushiki Kaisha Communication apparatus, control method of communication apparatus, computer program, and storage medium
US10462696B2 (en) 2008-10-06 2019-10-29 Canon Kabushiki Kaisha Communication apparatus, control method of communication apparatus, computer program, and storage medium
US11678179B2 (en) 2008-10-06 2023-06-13 Canon Kabushiki Kaisha Communication apparatus, control method of communication apparatus, computer program, and storage medium
US10200903B2 (en) 2008-10-06 2019-02-05 Canon Kabushiki Kaisha Communication apparatus, control method of communication apparatus, computer program, and storage medium
JP2010124331A (en) * 2008-11-20 2010-06-03 Toshiba Corp Video processing apparatus and video processing method of video processing apparatus
US8885524B2 (en) 2008-12-09 2014-11-11 Huawei Device Co., Ltd. Method and apparatus for negotiating master station
JP2012511290A (en) * 2008-12-09 2012-05-17 ファーウェイ デバイス カンパニー リミテッド Method and apparatus for master station negotiation
JP2010226239A (en) * 2009-03-19 2010-10-07 Seiko Epson Corp COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, COMMUNICATION DEVICE PROGRAM
WO2011001682A1 (en) * 2009-07-03 2011-01-06 Canon Kabushiki Kaisha Communication apparatus, communication apparatus control method, and program
US20120106396A1 (en) * 2009-07-03 2012-05-03 Canon Kabushiki Kaisha Communication apparatus, communication apparatus control method, and program
JP2011015285A (en) * 2009-07-03 2011-01-20 Canon Inc Communication device, method of controlling the same, and program
US8997175B2 (en) 2010-07-21 2015-03-31 Lenovo Innovations Limited (Hong Kong) Wireless LAN communication terminal and communication control method thereof in wireless LAN system for the same
JP5894075B2 (en) * 2010-07-21 2016-03-23 レノボ・イノベーションズ・リミテッド(香港) Wireless LAN communication terminal in wireless LAN system and communication control method thereof
JP2016119711A (en) * 2010-07-21 2016-06-30 レノボ・イノベーションズ・リミテッド(香港) Wireless lan communication terminal in wireless lan system, communication control method for the same, and program
WO2012011264A1 (en) * 2010-07-21 2012-01-26 日本電気株式会社 Wireless lan communication terminal in wireless lan system, and communication control method for wireless lan communication terminal
JP2012050096A (en) * 2010-08-30 2012-03-08 Apple Inc Secure wireless link between two devices using probes
KR101462361B1 (en) 2010-08-30 2014-11-14 애플 인크. Secure wireless link between two devices using probes
JP2012085167A (en) * 2010-10-13 2012-04-26 Canon Inc Communication device, control method therefor, and program
CN103270792A (en) * 2010-12-24 2013-08-28 三星电子株式会社 Method and device for protecting content in WI-FI direct communication scheme
US10313875B2 (en) 2010-12-24 2019-06-04 Samsung Electronics Co., Ltd. Method and apparatus for content protection in Wi-Fi direct network
US9504069B2 (en) 2010-12-24 2016-11-22 Samsung Electronics Co., Ltd. Method and apparatus for content protection in Wi-Fi direct network
JP2014511488A (en) * 2011-02-25 2014-05-15 シズベル テクノロジー エス.アール.エル. Method for locating a wireless device in an environment with a wireless network having at least one access point
US9775053B2 (en) 2011-02-25 2017-09-26 Sisvel Technology S.R.L. Method for localizing the position of a wireless device in an environment comprising a wireless network having at least one access point
JP2012227648A (en) * 2011-04-18 2012-11-15 Ntt Docomo Inc Radio communication terminal
JP2014532165A (en) * 2011-09-20 2014-12-04 シズベル テクノロジー エス.アール.エル. Method for reconstructing a map of the environment surrounding a wireless device, and wireless device implementing the method
USRE49189E1 (en) 2011-09-20 2022-08-23 Sisvel Technology S.R.L. Method for reconstructing the map of an environment surrounding a wireless device and wireless device implementing such method
US9538322B2 (en) 2011-09-20 2017-01-03 Sisvel Technology S.R.L. Method for reconstructing the map of an environment surrounding a wireless device and wireless device implementing such method
WO2013153887A1 (en) * 2012-04-13 2013-10-17 ソニー株式会社 Wireless communication device, information processing device, and communication method
RU2630752C2 (en) * 2012-04-13 2017-09-12 Сони Корпорейшн Wireless communication device, information processing device and method of communication
US12401983B2 (en) 2012-04-13 2025-08-26 Saturn Licensing Llc Wireless communication device information processing device, and communication method for inter-device wireless communication
US9538567B2 (en) 2012-04-13 2017-01-03 Sony Corporation Wireless communication device information processing device, and communication method
JPWO2013153888A1 (en) * 2012-04-13 2015-12-17 ソニー株式会社 Wireless communication apparatus, information processing apparatus, and communication method
US9544931B2 (en) 2012-04-13 2017-01-10 Sony Corporation Wireless communication device, communication system, and communication method
RU2612574C2 (en) * 2012-04-13 2017-03-09 Сони Корпорейшн Wireless communication device, information processing device and communication method
JP2017050877A (en) * 2012-04-13 2017-03-09 ソニー株式会社 Wireless communication apparatus, communication system, and communication method
US9510382B2 (en) 2012-04-13 2016-11-29 Sony Corporation Wireless communication device, information processing device, and communication method
CN104205890A (en) * 2012-04-13 2014-12-10 索尼公司 Wireless communication device, communication system, and communication method
WO2013153886A1 (en) * 2012-04-13 2013-10-17 ソニー株式会社 Wireless communication device, communication system, and communication method
JPWO2013153886A1 (en) * 2012-04-13 2015-12-17 ソニー株式会社 Wireless communication apparatus, communication system, and communication method
JP2019004490A (en) * 2012-04-13 2019-01-10 ソニー株式会社 Wireless communication apparatus, communication system, and communication method
JPWO2013153887A1 (en) * 2012-04-13 2015-12-17 ソニー株式会社 Wireless communication apparatus, information processing apparatus, and communication method
WO2013153888A1 (en) * 2012-04-13 2013-10-17 ソニー株式会社 Wireless communication device, information processing device, and communication method
US10278058B2 (en) 2012-04-13 2019-04-30 Sony Corporation Wireless communication device information processing device, and communication method
US10285127B2 (en) 2012-04-13 2019-05-07 Sony Corporation Wireless communication device, information processing device, and communication method
JP2013062843A (en) * 2012-10-31 2013-04-04 Canon Inc Communication device, control method therefor, computer program, and storage medium
JP2014104684A (en) * 2012-11-29 2014-06-09 Canon Inc Printing apparatus, control method of printing apparatus, and program
US10805571B2 (en) 2015-02-13 2020-10-13 Panasonic Intellectual Property Management Co., Ltd. Reproduction device and output device
US10419713B2 (en) 2015-02-13 2019-09-17 Panasonic Intellectual Property Management Co., Ltd. Reproduction device and output device
CN104820645A (en) * 2015-04-18 2015-08-05 佛山豪欧智能科技有限公司 One-key scanning method and scanning system applied to scanning equipment
CN104820645B (en) * 2015-04-18 2017-09-08 陈发权 A kind of one-touch scan method and scanning system in scanning device
JP2016213774A (en) * 2015-05-13 2016-12-15 富士通株式会社 Communications system
JP2017168909A (en) * 2016-03-14 2017-09-21 富士通株式会社 Radio communication program, method, and device
JPWO2019077894A1 (en) * 2017-10-20 2020-11-05 ソニーセミコンダクタソリューションズ株式会社 Wireless communication equipment, wireless communication methods and computer programs
WO2019077894A1 (en) * 2017-10-20 2019-04-25 ソニーセミコンダクタソリューションズ株式会社 Wireless communication device, wireless communication method, and computer program
JP7177075B2 (en) 2017-10-20 2022-11-22 ソニーセミコンダクタソリューションズ株式会社 Wireless communication device, wireless communication method and computer program
CN109814498A (en) * 2017-11-22 2019-05-28 横河电机株式会社 Setting system, apparatus and method and computer readable non-transitory storage medium
CN109814498B (en) * 2017-11-22 2022-10-11 横河电机株式会社 Setting system, setting apparatus, setting method, and computer-readable non-transitory storage medium
JP2020028056A (en) * 2018-08-14 2020-02-20 東芝テック株式会社 Communication device, peripheral device, and communication system
WO2024018662A1 (en) * 2022-07-22 2024-01-25 オムロンヘルスケア株式会社 Management system, measurement device, information terminal, and operation program for information terminal

Similar Documents

Publication Publication Date Title
JP2008219358A (en) Wireless communication system, wireless communication apparatus, wireless communication method, and computer program
US11510263B2 (en) Method for using legacy Wi-Fi and Wi-Fi P2P simultaneously
RU2693592C1 (en) Method, device and a computer program product for a service detection proxy session for wireless communication
US9961484B2 (en) Method and apparatus for controlling a device using bluetooth technology
US10375710B2 (en) Method and apparatus for connecting devices using bluetooth low-energy technology
US10917920B2 (en) Method and apparatus for connecting alternative communication means using bluetooth low energy (LE)
US10979894B2 (en) Method and device for allocating address of device in Bluetooth mesh network
TWI334715B (en) Native wi-fi architecture for 802.11 networks
US10547995B2 (en) Method and device for transmitting/receiving data using Bluetooth mesh network
US10681591B2 (en) Method and apparatus for controlling electronic device in wireless communication system supporting Bluetooth communication
US10462661B2 (en) Method and device for transmitting/receiving data using bluetooth mesh network
JP5000648B2 (en) Direct wireless client-to-client communication
US20170208639A1 (en) Method and apparatus for controlling a device using bluetooth technology
US20170303076A1 (en) Method and apparatus for transmitting or receiving data using bluetooth in wireless communication system
US20200275250A1 (en) Method and apparatus for processing audio signal by using bluetooth technology
US20170215113A1 (en) Method and apparatus for controlling electronic device in wireless communication system supporting bluetooth communication
US20200137542A1 (en) Method and apparatus for connecting devices using bluetooth le technology
US10182327B2 (en) Method and device for transmitting/receiving data in mesh network using bluetooth
US20180295660A1 (en) Method and apparatus for sending and receiving data on bluetooth
US20170230784A1 (en) Method and apparatus for transmitting and receiving a data in a mesh network using bluetooth
US20180132092A1 (en) Method for performing scanning in wireless communication system, and apparatus therefor
US20180139683A1 (en) Method and device for transmitting/receiving data in mesh network using bluetooth
JP2012517737A (en) Wireless home mesh network bridge adapter
US20090274065A1 (en) Method and apparatus for setting wireless local area network by using button
KR20150079631A (en) Method and device for fast link synchronization in wlan system