JP4977858B2 - Wireless communication method, wireless communication terminal, and wireless communication program - Google Patents

Wireless communication method, wireless communication terminal, and wireless communication program Download PDF

Info

Publication number
JP4977858B2
JP4977858B2 JP2007129763A JP2007129763A JP4977858B2 JP 4977858 B2 JP4977858 B2 JP 4977858B2 JP 2007129763 A JP2007129763 A JP 2007129763A JP 2007129763 A JP2007129763 A JP 2007129763A JP 4977858 B2 JP4977858 B2 JP 4977858B2
Authority
JP
Japan
Prior art keywords
terminal
radio wave
wireless communication
wave condition
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007129763A
Other languages
Japanese (ja)
Other versions
JP2008288727A (en
Inventor
英彦 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Mobile Communications Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Mobile Communications Inc filed Critical Sony Mobile Communications Inc
Priority to JP2007129763A priority Critical patent/JP4977858B2/en
Publication of JP2008288727A publication Critical patent/JP2008288727A/en
Application granted granted Critical
Publication of JP4977858B2 publication Critical patent/JP4977858B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Description

本発明は、例えば、無線ローカルエリアネットワークによる無線通信に適用することができる無線通信方法、無線通信端末及び無線通信プログラムに関するものである。   The present invention relates to a wireless communication method, a wireless communication terminal, and a wireless communication program that can be applied to wireless communication by a wireless local area network, for example.

無線LAN(Local Area Network:ローカルエリアネットワーク)による無線通信システムの構成としては、インフラストラクチャモードとアドホックモードの2種類が存在する。インフラストラクチャモードは、一元的に設定されるアクセスポイントと接続されることによりネットワークを開始する。これとは異なり、アドホックモードでは全てのクライアントが対等にネットワークを構成する。   There are two types of configurations of a wireless communication system using a wireless local area network (LAN): an infrastructure mode and an ad hoc mode. The infrastructure mode starts a network by connecting to an access point that is centrally set. In contrast, in the ad hoc mode, all clients configure the network equally.

ここで、Windows(登録商標)を初めとするオペレーティングシステム(OS)上で無線通信が実行されるパーソナルコンピュータ(PC)では、以下のようにネットワークが構成される。すなわち、パーソナルコンピュータ(PC)では、インフラストラクチャモードを開始するのか、アドホックモードを開始するのかの設定は、ユーザが自ら選択して行うようにしていた。   Here, in a personal computer (PC) that performs wireless communication on an operating system (OS) such as Windows (registered trademark), a network is configured as follows. In other words, in the personal computer (PC), the user selects and sets whether to start the infrastructure mode or the ad hoc mode.

ところが、携帯電話のような移動体の無線通信端末では、ネットワーク構成のために以下のような要求がされる。すなわち、携帯電話では、上述した2つのモードをユーザが選択して設定することに関して、比較的無線通信に知識のないユーザでも無線ネットワークを有効利用できるような仕組みが要求される。   However, a mobile radio communication terminal such as a mobile phone has the following requirements for the network configuration. That is, in a mobile phone, a mechanism is required that allows a user who has relatively little knowledge in wireless communication to effectively use a wireless network with respect to the user selecting and setting the two modes described above.

このため、インフラストラクチャモードとアドホックモードとの違いが認識されていない場合には、インフラストラクチャモードとアドホックモードの設定をマニュアルで選択して切り替え可能な構成があるだけでは有効利用のための対策とならない。   For this reason, if the difference between infrastructure mode and ad hoc mode is not recognized, there is a countermeasure for effective use by simply selecting the infrastructure mode and ad hoc mode settings and switching them. Don't be.

また、携帯電話の省電力を考慮したインフラストラクチャモードの利用の仕方があった。すなわち、端末は省電力モードになりながらも一定時間置きに通信デバイスを起床させる。そして、アクセスポイントの識別子であるSSID(Service Set Identifier)を検索する。この手法をバックグランドスキャンと呼んでいる。   In addition, there was a method of using the infrastructure mode in consideration of the power saving of the mobile phone. That is, the terminal wakes up the communication device at regular intervals while in the power saving mode. Then, an SSID (Service Set Identifier) that is an identifier of the access point is searched. This method is called background scanning.

通常、端末は、省電力モードで、このスキャン以外では電力を利用しない。しかし、自端末に設定されているアクセスポイントのSSIDを発見した場合にだけ、フル電源供給状態に復帰させてアクセスポイントに接続する。これにより省電力を実現している。   Normally, the terminal does not use power except in this scan in the power saving mode. However, only when the SSID of the access point set in the own terminal is found, the full power supply state is restored and the access point is connected. This achieves power saving.

また、通常はインフラストラクチャモードで、通信帯域が比較的狭いとき、アドホックモードに切り替えて、通信の利用効率を高める技術も提案されている(特許文献1参照)。
特開2005−333378号公報
In addition, a technology has been proposed in which the communication efficiency is increased by switching to the ad hoc mode when the communication band is relatively narrow, usually in the infrastructure mode (see Patent Document 1).
JP 2005-333378 A

上述した特許文献1に記載の技術のように、通常はインフラストラクチャモードで、通信帯域が比較的狭いとき、アドホックモードに切り替える技術では、インフラストラクチャモードとアドホックモードとを両方切り替えて使用することが前提となっている。   As in the technology described in Patent Document 1 described above, in the technology that switches to the ad hoc mode when the communication band is relatively narrow, usually in the infrastructure mode, both the infrastructure mode and the ad hoc mode can be switched and used. It is a premise.

ここで、一定時間、自端末に登録されたアクセスポイントのビーコン信号を検出できないときに、インフラストラクチャモードからアドホックモードへの自動切り替えを行うようにしている。ところが、直ちにアドホックモードによるネットワーク接続が行われるわけではない。   Here, automatic switching from the infrastructure mode to the ad hoc mode is performed when the beacon signal of the access point registered in the own terminal cannot be detected for a certain time. However, network connection in ad hoc mode is not immediately performed.

すなわち、アクセスポイントがネットワークを構成するインフラストラクチャモードとは異なり、アドホックモードでは自端末自身がネットワークを構成しなければならない。このため、特にネットワークを利用しない期間でも端末は常に外部にビーコン信号を送出し続けなければならない。   That is, unlike the infrastructure mode in which the access point configures the network, the terminal itself must configure the network in the ad hoc mode. For this reason, the terminal must always send out a beacon signal to the outside even during a period when the network is not used.

従って、端末は省電力モードを解除してこの動作を行う必要がある。このため、インフラストラクチャモードからアドホックモードへの自動切り替え後に、直ちにアドホックモードによるネットワーク接続を行うことができず、省電力を図ることができないというような課題が発生する。   Therefore, the terminal needs to perform this operation after canceling the power saving mode. For this reason, after automatic switching from the infrastructure mode to the ad hoc mode, a network connection in the ad hoc mode cannot be performed immediately and power saving cannot be achieved.

そこで、本発明は、インフラストラクチャモードからアドホックモードへの自動切り替え時に直ちにアドホックモードによるネットワーク接続を行うことができ、省電力を図ることができる無線通信方法、無線通信端末及び無線通信プログラムを提供することを目的とするものである。   Therefore, the present invention provides a wireless communication method, a wireless communication terminal, and a wireless communication program that can perform network connection in the ad hoc mode immediately upon automatic switching from the infrastructure mode to the ad hoc mode and can save power. It is for the purpose.

上記目的を達成するために、本発明の無線通信方法は、無線ローカルエリアネットワークを介して複数の端末間で無線通信をする無線通信方法に適用される。   In order to achieve the above object, the wireless communication method of the present invention is applied to a wireless communication method for performing wireless communication between a plurality of terminals via a wireless local area network.

すなわち、ある端末の周辺の電波状況を取得するステップと、取得した端末の周辺の電波状況が予め設定された電波状況に基づく位置範囲内となるものか否かを判断するステップとを含んでいる。   That is, the method includes a step of acquiring a radio wave condition around a certain terminal and a step of determining whether or not the acquired radio wave condition around the terminal is within a position range based on a preset radio wave condition. .

さらに、取得した端末の周辺の電波状況が予め設定された電波状況に基づく位置範囲内となるものであるとき、端末と予め設定された電波状況に基づく位置範囲内の端末間でアドホックモードによる無線通信を開始するステップを含むものである。   Further, when the radio wave condition around the acquired terminal is within a position range based on a preset radio wave condition, wireless communication in an ad hoc mode is performed between the terminal and the terminal within the position range based on the preset radio wave condition. It includes a step of starting communication.

また、本発明の無線通信端末は、無線ローカルエリアネットワークを介して複数の端末間で無線通信回路を用いて無線通信をする無線通信端末に適用される。   The wireless communication terminal of the present invention is applied to a wireless communication terminal that performs wireless communication using a wireless communication circuit between a plurality of terminals via a wireless local area network.

すなわち、アプリケーションプログラムに基づいて端末の制御部により実行される機能部であって、端末の通信モード及び接続先を記述したプロファイルの設定、並びに端末と予め設定された電波状況に基づく位置範囲内の端末間でアドホックモードによる無線通信を開始するための判定基準を設定する設定部と、端末の周辺の電波状況を、端末の周辺のアクセスポイント又は他の端末のビーコン情報から取得する取得部を備えている。   That is, a functional unit that is executed by the control unit of the terminal based on the application program, the profile setting describing the communication mode and connection destination of the terminal, and within the position range based on the terminal and a preset radio wave condition A setting unit that sets a criterion for starting wireless communication in ad-hoc mode between terminals, and an acquisition unit that acquires the radio wave condition around the terminal from access points around the terminal or beacon information of other terminals ing.

また、設定部に設定されるプロファイル及び判定基準に基づいて、アクセスポイントからの電波状況の取得の有無により、インフラストラクチャモードの無線通信のための端末のアクセスポイントへの接続又は切断処理、並びに、取得した端末の周辺の電波状況と予め設定された電波状況とを比較し、取得した端末の周辺の電波状況と予め設定された電波状況の一致するパラメータを用いて算出される端末の3次元空間内の位置が、電波状況が予め設定された電波状況に基づく位置範囲内又は範囲外かにより、アドホックモードの無線通信のための端末と予め設定された電波状況に基づく位置範囲内の端末間の接続又は切断処理を行う接続処理部を備えるものである。 In addition, based on the profile and determination criteria set in the setting unit, depending on whether or not the radio wave status is acquired from the access point, processing for connecting or disconnecting the terminal to the access point for wireless communication in infrastructure mode, and The terminal's three-dimensional space calculated by comparing the acquired radio wave condition around the terminal with a preset radio wave condition and using parameters that match the acquired radio wave condition around the terminal and the preset radio wave condition Between the terminal for ad-hoc mode wireless communication and the terminal within the position range based on the preset radio wave condition, depending on whether the radio wave position is within or outside the position range based on the radio wave condition set in advance A connection processing unit that performs connection or disconnection processing is provided.

また、本発明の無線通信プログラムは、無線ローカルエリアネットワークを介して複数の端末間で無線通信をするための無線通信プログラムに適用される。   The wireless communication program of the present invention is applied to a wireless communication program for performing wireless communication between a plurality of terminals via a wireless local area network.

すなわち、端末の無線通信を制御するためのコンピュータを、端末の通信モード及び接続先を記述したプロファイルの設定、並びに端末と予め設定された電波状況に基づく位置範囲内の端末間でアドホックモードによる無線通信を開始するための判定基準を設定する設定部と、端末の周辺の電波状況を、端末の周辺のアクセスポイント又は他の端末のビーコン情報から取得する取得部として機能させる。   That is, a computer for controlling wireless communication of a terminal is set up in a profile describing the communication mode and connection destination of the terminal, and wirelessly in an ad hoc mode between the terminal and a terminal within a position range based on a preset radio wave condition. A setting unit that sets a determination criterion for starting communication, and an acquisition unit that acquires a radio wave situation around the terminal from access points around the terminal or beacon information of another terminal.

さらに、設定部に設定されるプロファイル及び判定基準に基づいて、アクセスポイントからの電波状況の取得の有無により、インフラストラクチャモードの無線通信のための端末のアクセスポイントへの接続又は切断処理、並びに、取得した端末の周辺の電波状況と予め設定された電波状況とを比較し、取得した端末の周辺の電波状況と予め設定された電波状況の一致するパラメータを用いて算出される端末の3次元空間内の位置が、電波状況が予め設定された電波状況に基づく位置範囲内又は範囲外かにより、アドホックモードの無線通信のための端末と予め設定された電波状況に基づく位置範囲内の端末間の接続又は切断処理を行う接続処理部として機能させるものである。 Furthermore, based on the profile and determination criteria set in the setting unit, depending on the presence or absence of acquisition of the radio wave status from the access point, connection or disconnection processing of the terminal to the access point for wireless communication in infrastructure mode, and The terminal's three-dimensional space calculated by comparing the acquired radio wave condition around the terminal with a preset radio wave condition and using parameters that match the acquired radio wave condition around the terminal and the preset radio wave condition Between the terminal for ad-hoc mode wireless communication and the terminal within the position range based on the preset radio wave condition, depending on whether the radio wave position is within or outside the position range based on the radio wave condition set in advance It functions as a connection processing unit that performs connection or disconnection processing.

これにより、アドホックモードによる無線通信を開始する端末の位置範囲を予め設定された電波状況に基づく位置範囲内に限定することができる。従って、端末が予め設定された電波状況に基づく位置範囲内に入ったとき、自動的にアドホックモードのネットワークに接続して、アドホックモードによる無線通信を開始することができる。   Thereby, the position range of the terminal that starts the wireless communication in the ad hoc mode can be limited to a position range based on a preset radio wave condition. Accordingly, when the terminal enters a position range based on a preset radio wave condition, it is possible to automatically connect to the ad hoc mode network and start wireless communication in the ad hoc mode.

このため、アドホックモードのネットワークに接続するためにビーコン信号を送出し続ける必要がないため、省電力化を図ることができる。   For this reason, since it is not necessary to continue sending a beacon signal in order to connect to an ad hoc mode network, power saving can be achieved.

本発明によれば、端末がアクセスポイントに接続していない場合には省電力モードに移行することができる。また、優先的にアクセスポイントに接続してインフラストラクチャモードの無線通信を行うことができる。   According to the present invention, when the terminal is not connected to the access point, it is possible to shift to the power saving mode. In addition, it is possible to perform wireless communication in infrastructure mode by preferentially connecting to an access point.

また、端末が予め設定された電波状況に基づく位置範囲内に入ったとき、自動的にアドホックモードのネットワークに接続して、アドホックモードによる無線通信を開始することができる。従って、アドホックモードのネットワークを構成する他の端末を検出するためにビーコン信号を送出し続ける必要がない。このため、省電力化を図ることができる。   Further, when the terminal enters a position range based on a preset radio wave condition, it is possible to automatically connect to the ad hoc mode network and start wireless communication in the ad hoc mode. Therefore, it is not necessary to continue sending out a beacon signal in order to detect other terminals constituting the ad hoc mode network. For this reason, power saving can be achieved.

また、アクセスポイントもビーコン信号も検出できなかった場合には、端末自らアドホックモードのネットワークを作成することができる。従って、ビーコン信号を送出し続ける必要がないため、省電力化を図ることができる。これにより、ユーザが利用したいネットワークを簡単に構成することができる。   If neither an access point nor a beacon signal can be detected, the terminal can create an ad hoc mode network. Accordingly, it is not necessary to continue sending out the beacon signal, and thus power saving can be achieved. Thereby, the network which a user wants to use can be configured easily.

これにより、ある特定の場所で、自動的にアドホックモードのネットワークに参加することができる。また、ある特定の場所で、アドホックモードのネットワークがないときに自らアドホックモードのネットワークを作成することができる。さらに、この場所から離れるときは、アドホックモードを停止し、省電力モードに移行して、省電力化を図ることができるという効果を奏する。   As a result, it is possible to automatically join an ad hoc mode network at a specific location. In addition, when there is no ad hoc mode network in a specific place, it is possible to create an ad hoc mode network by itself. Further, when leaving the place, the ad hoc mode is stopped, and the mode is shifted to the power saving mode, thereby achieving an effect of saving power.

以下、本発明の一実施の形態を、図1〜9を参照して説明する。
図1は、本実施の形態例の携帯電話のハードウエア構成例を示している。
Hereinafter, an embodiment of the present invention will be described with reference to FIGS.
FIG. 1 shows a hardware configuration example of a mobile phone according to the present embodiment.

図1において、携帯電話100は、基地局に対して送受信を行うアンテナ101及び送受信データに送受信のための通信信号処理を行う通信回路102を備えている。   In FIG. 1, a mobile phone 100 includes an antenna 101 that transmits and receives data to and from a base station, and a communication circuit 102 that performs communication signal processing for transmitting and receiving data.

また、携帯電話100は、受話音声、動画ファイルの音声、及び音楽データの音声を出力するスピーカ部104と、送話音声等を集音するマイクロホン103とを備えている。
また、携帯電話100は、操作情報や送受信データ等を表示する表示部107と、操作情報や送受信データ等を入力するための複数のキーを含む操作部106とを備えている。
In addition, the mobile phone 100 includes a speaker unit 104 that outputs a received voice, a voice of a moving image file, and a voice of music data, and a microphone 103 that collects a transmitted voice and the like.
The mobile phone 100 includes a display unit 107 that displays operation information, transmission / reception data, and the like, and an operation unit 106 that includes a plurality of keys for inputting operation information, transmission / reception data, and the like.

また、携帯電話100は、通信アプリケーションプログラム等の各種アプリケーションプログラムを記憶するメモリ105と、インフラストラクチャモードとアドホックモードの2つのモードで無線にて通信信号処理を行う無線LAN通信回路109とを備えている。   The mobile phone 100 also includes a memory 105 that stores various application programs such as a communication application program, and a wireless LAN communication circuit 109 that performs communication signal processing wirelessly in two modes, an infrastructure mode and an ad hoc mode. Yes.

また、携帯電話100は、制御ライン120及びデータライン130を介して各部と相互に接続されて各部の制御を司る制御部108を備えている。   In addition, the mobile phone 100 includes a control unit 108 that is connected to each unit via the control line 120 and the data line 130 and controls each unit.

制御部108は、携帯電話100の周辺の電波状況を取得する機能を有している。また、制御部108は、取得した携帯電話100の周辺の電波状況が予め設定された電波状況に基づく位置範囲内となるものか否かを判断する機能を有している。   The control unit 108 has a function of acquiring the radio wave condition around the mobile phone 100. Further, the control unit 108 has a function of determining whether or not the acquired radio wave condition around the mobile phone 100 is within a position range based on a preset radio wave condition.

また、制御部108は、取得した携帯電話100の周辺の電波状況が予め設定された電波状況に基づく位置範囲内となるものであるとき、携帯電話100と予め設定された電波状況に基づく位置範囲内の端末間でアドホックモードによる無線通信を開始する機能を有している。   In addition, when the radio wave condition around the acquired mobile phone 100 is within a position range based on a preset radio wave condition, the control unit 108 and the position range based on the radio wave condition set in advance with the mobile phone 100 The terminal has a function of starting wireless communication in ad hoc mode between the terminals.

ここで、メモリ105は、携帯電話100の表示部107のユーザインタフェース画面上でアドホックモードによる無線通信の開始が選択されたときに、その時点の電波状況を予め設定された電波状況として格納している。   Here, when the start of wireless communication in the ad hoc mode is selected on the user interface screen of the display unit 107 of the mobile phone 100, the memory 105 stores the current radio wave status as a preset radio wave status. Yes.

また、メモリ105は、携帯電話100の周辺のアクセスポイント又は他の端末のビーコン情報から取得される携帯電話100の周辺の電波状況を現在の電波状況としてリアルタイムに格納している。   In addition, the memory 105 stores, in real time, the radio wave condition around the mobile phone 100 acquired from the access points around the mobile phone 100 or the beacon information of other terminals as the current radio wave condition.

ここで、取得した携帯電話100の周辺の電波状況は、携帯電話100の周辺のアクセスポイント又は他の端末のビーコン情報から取得される。   Here, the acquired radio wave condition around the mobile phone 100 is acquired from beacon information of an access point or other terminal around the mobile phone 100.

また、制御部108は、アクセスポイントから携帯電話100の周辺の電波状況が取得されとたき、携帯電話100をアクセスポイントに接続して優先的にインフラストラクチャモードによる無線通信を開始する。   Further, when the radio wave condition around the mobile phone 100 is acquired from the access point, the control unit 108 connects the mobile phone 100 to the access point and preferentially starts wireless communication in the infrastructure mode.

また、制御部108による、取得した携帯電話100の周辺の電波状況が予め設定された電波状況に基づく位置範囲内となるものか否かの判断は、以下のように行われる。すなわち、取得した携帯電話100の周辺の電波状況と予め設定された電波状況とを比較し、一致する電波状況に基づいて計算される重心から閾値内となるか否かにより判断される。   Further, the control unit 108 determines whether or not the acquired radio wave condition around the mobile phone 100 falls within the position range based on the preset radio wave condition. That is, the radio wave condition around the acquired mobile phone 100 is compared with a preset radio wave condition, and a determination is made based on whether or not the center of gravity calculated based on the matching radio wave condition is within the threshold.

また、制御部108による、取得した携帯電話100の周辺の電波状況と予め設定された電波状況とを比較は、比較的電波状況の良好な範囲に限定する。   Further, the comparison between the acquired radio wave condition around the mobile phone 100 and a preset radio wave condition by the control unit 108 is limited to a relatively good range of the radio wave condition.

また、制御部108による、省電力モードからタイマー設定時間経過時に復帰した後に実行される、携帯電話100の周辺の電波状況の取得は、携帯電話100の通信モード及び接続先を記述したプロファイル設定に基づいて行われる。
すべてのプロファイル設定に基づいて携帯電話100の周辺の電波状況の取得が行われたとき、制御部108は、省電力モードへ移行する。
In addition, the acquisition of the radio wave condition around the mobile phone 100, which is executed after the control unit 108 returns from the power saving mode when the timer set time elapses, is performed by setting the profile describing the communication mode and connection destination of the mobile phone 100. Based on.
When the radio wave condition around the mobile phone 100 is acquired based on all profile settings, the control unit 108 shifts to the power saving mode.

図2は、ソフトウエア構成例を示す図である。
図2において、ソフトウエア部200は、アプリケーション部210と、ミドルウエア部220と、デバイスドライバ部230とを有している。アプリケーション部210は、設定アプリケーション211を有している。
FIG. 2 is a diagram illustrating a software configuration example.
2, the software unit 200 includes an application unit 210, a middleware unit 220, and a device driver unit 230. The application unit 210 has a setting application 211.

また、ミドルウエア部220は、プロファイル及び判定基準保存部221と、ビーコン取得及び位置判定部222と、無線LAN接続及び切断処理部223を有している。
また、デバイスドライバ部230は、無線LANデバイスドライバ部231を有している。また、ハードウエア部240は、図1に示した無線LAN通信回路109を有している。
Further, the middleware unit 220 includes a profile and determination reference storage unit 221, a beacon acquisition and position determination unit 222, and a wireless LAN connection and disconnection processing unit 223.
The device driver unit 230 has a wireless LAN device driver unit 231. The hardware unit 240 includes the wireless LAN communication circuit 109 shown in FIG.

この設定アプリケーション211に基づいて携帯電話100の制御部108により実行されることにより、以下の機能部が生成される。
まず、設定アプリケーション211の設定保存212の指示に基づいて、プロファイル及び判定基準保存部221に設定する設定部が生成される。
The following functional units are generated by being executed by the control unit 108 of the mobile phone 100 based on the setting application 211.
First, a setting unit to be set in the profile and determination criterion storage unit 221 is generated based on an instruction of the setting storage 212 of the setting application 211.

すなわち、携帯電話100の通信モード及び接続先を記述したプロファイルの設定、並びに携帯電話100と予め設定された電波状況に基づく位置範囲内の端末間でアドホックモードによる無線通信を開始するための判定基準が、プロファイル及び判定基準保存部221に設定されて保存されることになる。   That is, a setting of a profile describing a communication mode and a connection destination of the mobile phone 100, and a criterion for starting wireless communication in an ad hoc mode between the mobile phone 100 and a terminal within a position range based on a preset radio wave condition Is set and stored in the profile and determination criterion storage unit 221.

次に、携帯電話100の周辺の電波状況を、携帯電話100の周辺のアクセスポイント又は他の端末のビーコン情報から取得する取得部が生成される。   Next, an acquisition unit that acquires a radio wave condition around the mobile phone 100 from beacon information of an access point or other terminal around the mobile phone 100 is generated.

すなわち、ビーコン取得及び位置判定部222は、プロファイル及び判定基準保存部221からプロファイル及び判定基準224を読み出して、ビーコン取得及び位置判定部222から、無線LANデバイスドライバ部231にビーコン取得226を指示することになる。   That is, the beacon acquisition and position determination unit 222 reads the profile and determination reference 224 from the profile and determination reference storage unit 221, and instructs the wireless LAN device driver unit 231 to beacon acquisition 226 from the beacon acquisition and position determination unit 222. It will be.

そして、設定部に設定されるプロファイル及び判定基準に基づいて、アクセスポイントからの電波状況の取得の有無により、インフラストラクチャモードの無線通信のための携帯電話100のアクセスポイントへの接続又は切断処理を行う第1の接続処理部が生成される。   Then, based on the profile set in the setting unit and the determination criterion, connection or disconnection processing to the access point of the mobile phone 100 for infrastructure mode wireless communication is performed depending on whether or not the radio wave condition is acquired from the access point. A first connection processing unit to perform is generated.

また、電波状況が予め設定された電波状況に基づく位置範囲内又は範囲外かにより、アドホックモードの無線通信のための携帯電話100と予め設定された電波状況に基づく位置範囲内の端末間の接続又は切断処理を行う第2の接続処理部が生成される。   Also, the connection between the mobile phone 100 for ad-hoc mode wireless communication and the terminals within the position range based on the preset radio wave condition depending on whether the radio wave condition is within or outside the position range based on the preset radio wave condition Or the 2nd connection process part which performs a cutting process is produced | generated.

すなわち、プロファイル及び判定基準保存部221からプロファイル及び判定基準224を読み出して、ビーコン取得及び位置判定部222は取得したビーコンと照らし合わせる。   That is, the profile and determination criterion 224 is read from the profile and determination criterion storage unit 221, and the beacon acquisition and position determination unit 222 compares it with the acquired beacon.

そして、ビーコン取得及び位置判定部222から、無線LAN接続及び切断処理部223に接続及び切断225を指示する。これにより、無線LAN接続及び切断処理部223から、無線LANデバイスドライバ部231に無線ドライバ制御227を指示することになる。   Then, the beacon acquisition / position determination unit 222 instructs the wireless LAN connection / disconnection processing unit 223 to connect / disconnect 225. As a result, the wireless LAN connection / disconnection processing unit 223 instructs the wireless LAN device driver unit 231 to perform the wireless driver control 227.

なお、無線LANデバイスドライバ部231は、無線LAN通信回路109に対して無線LAN通信回路制御241を指示することになる。   Note that the wireless LAN device driver unit 231 instructs the wireless LAN communication circuit 109 to perform the wireless LAN communication circuit control 241.

また、無線LAN接続及び切断処理部223は、ビーコン取得及び位置判定部222からの接続及び切断225の指示に基づいて、無線LANデバイスドライバ部231に対して無線ドライバ制御227を指示するのみである。従って、無線LAN接続及び切断処理部223は、自立的に下位の制御を行うことはなく、上位層からの接続や切断の指示に伴って下位の制御を行うのみである。   Also, the wireless LAN connection / disconnection processing unit 223 only instructs the wireless LAN device driver unit 231 to perform the wireless driver control 227 based on the connection / disconnection instruction 225 from the beacon acquisition / position determination unit 222. . Therefore, the wireless LAN connection / disconnection processing unit 223 does not perform lower-level control independently, but only performs lower-level control in response to a connection / disconnection instruction from the upper layer.

ここで、設定アプリケーション211は、携帯電話100の無線通信を制御するための制御部108のコンピュータを、上述した設定部、取得部及び接続処理部として機能させるプログラムである。   Here, the setting application 211 is a program that causes the computer of the control unit 108 for controlling the wireless communication of the mobile phone 100 to function as the above-described setting unit, acquisition unit, and connection processing unit.

上述した携帯電話100は、インフラストラクチャモードの無線通信は利用しないが、アドホックモードの無線通信を行うために、インフラストラクチャモードのアクセスポイントのビーコンを取得する。   The mobile phone 100 described above does not use the wireless communication in the infrastructure mode, but acquires the beacon of the access point in the infrastructure mode in order to perform the wireless communication in the ad hoc mode.

携帯電話100は、取得したビーコンの電波状況の平均を取って、各アクセスポイントの送出するビーコンの電波状況から各アクセスポイントの位置を特定する。携帯電話100は、この位置に入った場合にアドホックモードに遷移させる。以下に、この動作の詳細を説明する。   The mobile phone 100 takes an average of the radio wave conditions of the acquired beacons and specifies the position of each access point from the radio wave conditions of the beacons transmitted from each access point. When the mobile phone 100 enters this position, the mobile phone 100 shifts to the ad hoc mode. Details of this operation will be described below.

図3は、マネージメントフレームの構成要素を示す図である。
図3において、8ビットを示すオクテット301、マネージメントフレームの構成要素の名前302、意味303が示されている。
FIG. 3 is a diagram showing components of the management frame.
In FIG. 3, an octet 301 indicating 8 bits, a name 302 of a component of the management frame, and a meaning 303 are shown.

304で示す、先頭の16ビットを示す2のオクテット301には、フレーム制御という名前302の構成要素が記述される。フレーム制御の意味303は、フレーム制御フィールドを示す。プロトコルバージョンや様々なフラグの設定が格納されている。   In the second octet 301 indicating the first 16 bits indicated by 304, a component of the name 302 called frame control is described. The frame control meaning 303 indicates a frame control field. Stores protocol version and various flag settings.

305で示す、次の16ビットを示す2のオクテット301には、デュレーション/IDという名前302の構成要素が記述される。デュレーション/IDの意味303は、仮想的キャリアセンスのNAV(network allocation vector)設定とパワーセーブモードの識別子を示す。   In the second octet 301 indicating the next 16 bits indicated by 305, a component of the name 302 called duration / ID is described. The meaning 303 of duration / ID indicates an NAV (network allocation vector) setting of virtual carrier sense and an identifier of the power save mode.

306で示す、次の48ビットを示す6のオクテット301には、宛先アドレスという名前302の構成要素が記述される。宛先アドレスの意味303は、宛先のMAC(Media Access Control address)アドレスを示す。   In the 6 octets 301 indicating the next 48 bits indicated by 306, a component of the name 302 called the destination address is described. A destination address meaning 303 indicates a destination MAC (Media Access Control address) address.

307で示す、次の48ビットを示す6のオクテット301には、送信元アドレスという名前302の構成要素が記述される。送信元アドレスの意味303は、送信元のMACアドレスを示す。   In the 6 octets 301 indicating the next 48 bits indicated by 307, a component of a name 302 called a source address is described. The source address meaning 303 indicates the MAC address of the source.

308で示す、次の48ビットを示す6のオクテット301には、BSSID(Basic Service Set Identifier)という名前302の構成要素が記述される。BSSIDの意味303は、基地局のMACアドレスを示す。   In the octet 301 indicating the next 48 bits indicated by 308, a component of the name 302 called BSSID (Basic Service Set Identifier) is described. The BSSID meaning 303 indicates the MAC address of the base station.

309で示す、次の16ビットを示す2のオクテット301には、シーケンス制御という名前302の構成要素が記述される。シーケンス制御の意味303は、シーケンスとフラグメンテーション番号を示す。   In the second octet 301 indicating the next 16 bits indicated by 309, a component of the name 302 called sequence control is described. A sequence control meaning 303 indicates a sequence and a fragmentation number.

310で示す、次の0〜2312のオクテット301には、フレームボディの構成要素が記述される。フレームボディの意味303はビーコン本体を示す。
311で示す、次の32ビットを示す4オクテット301には、FCSの構成要素が記述される。FCSはフレームチェックサムを示す。
In the next 0 to 2312 octets 301 indicated by 310, the components of the frame body are described. The frame body meaning 303 indicates the beacon body.
In the 4 octets 301 indicated by 311 and indicating the next 32 bits, the components of the FCS are described. FCS indicates a frame checksum.

無線LAN規格の一つであるIEEE802.11では、図3に示すマネージメントフレームの構成要素のようなフレームを利用して、マネージメントフレームの送受信を行っている。マネージメントフレームは、認証や接続又は切断、及びビーコン情報の送出に利用される。ビーコンは、各アクセスポイント又はアドホックモードの端末から定期的に送出される情報である。   In IEEE 802.11, which is one of the wireless LAN standards, a management frame is transmitted and received using a frame such as a component of the management frame shown in FIG. The management frame is used for authentication, connection or disconnection, and transmission of beacon information. The beacon is information periodically transmitted from each access point or a terminal in the ad hoc mode.

図4は、ビーコンフレームの構成要素を示す図である。
図4において、8ビットを示すオクテット401、ビーコンフレームの構成要素の名前402、意味403が示されている。
FIG. 4 is a diagram showing components of a beacon frame.
In FIG. 4, an octet 401 indicating 8 bits, a name 402 of a component of a beacon frame, and a meaning 403 are shown.

404で示す、先頭の64ビットを示す8のオクテット401には、タイムスタンプという名前402の構成要素が記述される。タイムスタンプの意味403は、TSF(タイムスタンプフレーム)タイマーの値を示す。   In 8 octets 401 indicating the first 64 bits indicated by 404, a component of the name 402 called a time stamp is described. A time stamp meaning 403 indicates a value of a TSF (time stamp frame) timer.

405で示す、次の16ビットを示す2のオクテット401には、ビーコン間隔という名前402の構成要素が記述される。ビーコン間隔の意味403は、ビーコン周期(1024μs単位)を示す。   In the second octet 401 indicating the next 16 bits, indicated by 405, a component 402 having a name 402 called a beacon interval is described. The meaning 403 of the beacon interval indicates a beacon period (1024 μs unit).

406で示す、次の16ビットを示す2のオクテット401には、ケイパビリティ情報という名前402の構成要素が記述される。ケイパビリティ情報の意味403は、PCF(Portable Compiled Format)や暗号を利用するという情報を示す。   In the second octet 401 indicating the next 16 bits indicated by 406, a component of the name 402 called capability information is described. Capability information meaning 403 indicates information that PCF (Portable Compiled Format) or encryption is used.

407で示す、次の2〜34のオクテット401には、SSIDという名前402の構成要素が記述される。SSIDの意味403は、ESS(Extended Service Set)又はIBSS(Independent Basic Service Set)を示す。   In the next 2 to 34 octets 401 indicated by reference numeral 407, a component of the name 402 called SSID is described. The SSID meaning 403 indicates ESS (Extended Service Set) or IBSS (Independent Basic Service Set).

408で示す、次の3〜10のオクテット401には、サポートレートという名前402の構成要素が記述される。サポートレートの意味403は、サポートしている伝送レート一覧を示す。   In the next 3 to 10 octets 401 indicated by 408, a component of a name 402 called a support rate is described. The support rate meaning 403 indicates a list of supported transmission rates.

409で示す、次の56ビットを示す7のオクテット401には、FHパラメータという名前402の構成要素が記述される。FHパラメータの意味403は、Dwell time(Kμs単位)を示す。   In the octet 401 of 7 indicating the next 56 bits indicated by 409, a component of the name 402 called FH parameter is described. The meaning 403 of the FH parameter indicates Dwell time (in Kμs).

410で示す、次の24ビットを示す3のオクテット401には、DSパラメータという名前402の構成要素が記述される。DSパラメータの意味403は、無線チャネルの番号を示す。   In the third octet 401 indicating the next 24 bits indicated by 410, a component of the name 402 called DS parameter is described. The DS parameter meaning 403 indicates a radio channel number.

411で示す、次の64ビットを示す8のオクテット401には、CFパラメータという名前402の構成要素が記述される。CFパラメータの意味403は、PCF(Portable Compiled Format)方式に関するパラメータを示す。   In 8 octets 401 indicating the next 64 bits indicated by 411, a component of the name 402 called CF parameter is described. The CF parameter meaning 403 indicates a parameter related to the PCF (Portable Compiled Format) method.

412で示す、次の32ビットを示す4のオクテット401には、IBSSパラメータという名前402の構成要素が記述される。IBSSパラメータの意味403は、ATIM Window(Ad-Hoc Traffic Indication Map window)長(Kμs単位)を示す。   In the 4 octets 401 indicating the next 32 bits indicated by 412, a component of the name 402 called an IBSS parameter is described. The meaning 403 of the IBSS parameter indicates an ATIM Window (Ad-Hoc Traffic Indication Map window) length (in Kμs).

413で示す、次の6〜256のオクテット401には、TIMという名前402の構成要素が記述される。TIMの意味403は、パワーマネージメントに関する各種情報を示す。   In the next 6 to 256 octets 401 indicated by reference numeral 413, a component of the name 402 called TIM is described. The TIM meaning 403 indicates various information related to power management.

図4は、図3に示したフレームボディのビーコン本体の構成要素を示すものである。ここで、Service Set IDと呼ばれる最大32バイトのアクセスポイントの識別子であるSSIDを抽出することが可能である。これらのビーコンの送出間隔は可変長であるが、例えば、100ms〜200ms程度に設定されることが多い。   FIG. 4 shows the components of the beacon body of the frame body shown in FIG. Here, it is possible to extract an SSID which is an identifier of an access point of up to 32 bytes called Service Set ID. The transmission interval of these beacons has a variable length, but is often set to about 100 ms to 200 ms, for example.

上述したマネージメントフレームを受信することにより、これに含まれるビーコン受信の際の電波強度を取得することが可能となる。   By receiving the management frame described above, it is possible to acquire the radio wave intensity when receiving the beacon included therein.

図5は、電波状況リストを示す図であり、図5Aは保存されている電波状況リスト、図5Bは現在の電波状況リストである。
図5Aに示す保存されている電波状況リストは、ナンバー501、BSSID502、電波状況503が示されている。
FIG. 5 is a diagram showing a radio wave status list, FIG. 5A is a saved radio wave status list, and FIG. 5B is a current radio wave status list.
The stored radio wave status list shown in FIG. 5A shows a number 501, BSSID 502, and radio wave status 503.

この図5Aに示す保存されている電波状況リストは、過去にアドホックモードの無線通信を行った際に、予め携帯電話に保存しておいたものである。また、インフラストラクチャモードの無線通信を行った際にも、保存される。   The saved radio wave status list shown in FIG. 5A is saved in advance in the mobile phone when wireless communication in the ad hoc mode was performed in the past. It is also saved when infrastructure mode wireless communication is performed.

ナンバー501の1では、BSSID502が[64:3a:23:52:b5:2b]、電波状況503は−12dbである。ナンバー501の2では、BSSID502が[34:d6:c2:b5:a2:e4]、電波状況503は−18dbである。   In the number 501 of 1, the BSSID 502 is [64: 3a: 23: 52: b5: 2b], and the radio wave status 503 is −12 db. In the number 501 2, the BSSID 502 is [34: d6: c2: b5: a2: e4], and the radio wave status 503 is −18 db.

ナンバー501の3では、BSSID502が[23:12:63:4b:24:25]、電波状況503は−45dbである。ナンバー501の4では、BSSID502が[42:f3:f2:c1:a7:35]、電波状況503は−52dbである。   In the number 501 of 3, the BSSID 502 is [23: 12: 63: 4b: 24: 25], and the radio wave state 503 is −45 db. In the number 501 of 4, the BSSID 502 is [42: f3: f2: c1: a7: 35], and the radio wave status 503 is -52 db.

ナンバー501の5では、BSSID502が[35:62:b3:65:a3:35]、電波状況503は−60dbである。ナンバー501の6では、BSSID502が[a3:34:b3:46:2d:f2]、電波状況503は−61dbである。ナンバー501の7では、BSSID502が[a4:b4:23:63:74:55]、電波状況503は−68dbである。   In the number 501 of 5, the BSSID 502 is [35: 62: b3: 65: a3: 35], and the radio wave status 503 is −60 db. In the number 501 6, the BSSID 502 is [a3: 34: b3: 46: 2d: f2], and the radio wave status 503 is −61 db. In the number 501 of 7, the BSSID 502 is [a4: b4: 23: 63: 74: 55], and the radio wave status 503 is -68 db.

図5Bに示す現在の電波状況リストは、ナンバー504、BSSID505、電波状況506が示されている。この図5Bに示す現在の電波状況リストは、現在時点でアドホックモードの無線通信を行う際に、リアルタイムに携帯電話に保存するものである。   The current radio wave status list shown in FIG. 5B shows a number 504, a BSSID 505, and a radio wave status 506. The current radio wave status list shown in FIG. 5B is saved in a mobile phone in real time when performing wireless communication in ad hoc mode at the current time.

ナンバー504の1では、BSSID505が[64:3a:23:52:b5:2b]、電波状況506は−13dbである。ナンバー504の2では、BSSID505が[34:d6:c2:b5:a2:e4]、電波状況506は−20dbである。   In the number 504 1, the BSSID 505 is [64: 3a: 23: 52: b5: 2b], and the radio wave condition 506 is −13 db. In the number 504 2, the BSSID 505 is [34: d6: c2: b5: a2: e4], and the radio wave status 506 is −20 db.

ナンバー504の3では、BSSID505が[23:12:63:4b:24:25]、電波状況506は−44dbである。ナンバー504の4では、BSSID505が[42:f3:f2:c1:a7:35]、電波状況506は−60dbである。ナンバー504の5では、BSSID505が[35:62:b3:65:a3:35]、電波状況506は−63dbである。   In the number 504 3, the BSSID 505 is [23: 12: 63: 4b: 24: 25], and the radio wave status 506 is −44 db. In the number 504 of 4, the BSSID 505 is [42: f3: f2: c1: a7: 35], and the radio wave status 506 is −60 db. In the number 504 of 5, the BSSID 505 is [35: 62: b3: 65: a3: 35], and the radio wave status 506 is −63 db.

ここで、携帯電話100は、ネットワーク接続処理のための、図5Aに示す保存されている電波状況リストと、図5Bに示す現在の電波状況リストとの比較においては、比較的電波状況の良好な上位X番目までを比較することにする。   Here, the cellular phone 100 has a relatively good radio wave condition in comparison between the saved radio wave condition list shown in FIG. 5A and the current radio wave condition list shown in FIG. 5B for network connection processing. We will compare up to the top X.

上位X番目は、例えば、5番目としてもよい。これは、電波状況の良好でないものは適正な比較結果が得られないためである。この場合、例えば、電波状況が−Ydb以上を比較することにしてもよい。−Ydb以上は、例えば、−60db以上としてもよい。   The upper Xth may be, for example, the fifth. This is because an appropriate comparison result cannot be obtained if the radio wave condition is not good. In this case, for example, the radio wave status may be compared with −Ydb or more. -Ydb or more is good also as -60db or more, for example.

アクセスポイントは、基本的に動くことがないため、この電波強度からアクセスポイントと携帯電話とのおよその位置関係を計算することが可能となる。ここで、見つかったアクセスポイントの数が1個であればアクセスポイントからの距離により位置が求められる。このときの位置はアクセスポイントを中心とする円周内に存在する。2個のときは線分上に存在する。   Since the access point basically does not move, the approximate positional relationship between the access point and the mobile phone can be calculated from this radio wave intensity. Here, if the number of access points found is one, the position is obtained from the distance from the access point. The position at this time exists in the circumference centering on the access point. When there are two, they are on the line segment.

また、アクセスポイントの数が3個であれば2次元平面内に存在する。従って、アクセスポイントの数を4個取得することができれば、その重心を求めることにより、3次元空間内の位置を求めることができる。詳細な重心計算については後述する。   Further, if the number of access points is 3, it exists in a two-dimensional plane. Therefore, if four access points can be obtained, the position in the three-dimensional space can be obtained by obtaining the center of gravity. Detailed center of gravity calculation will be described later.

次に、上述したように構成される携帯電話の動作を説明する。
図6は、ネットワーク接続動作を示すフローチャートである。
図6において、タイマー満了時に(ステップS1)、携帯電話100は、省電力モードから復帰する(ステップS2)。すなわち、携帯電話100は、無線LANを利用していないときは常に無線LAN通信回路109を省電力モードにしている。省電力モードとは、必要最小限の動作が可能なモードである。
Next, the operation of the mobile phone configured as described above will be described.
FIG. 6 is a flowchart showing the network connection operation.
In FIG. 6, when the timer expires (step S1), the mobile phone 100 returns from the power saving mode (step S2). That is, the cellular phone 100 always places the wireless LAN communication circuit 109 in the power saving mode when the wireless LAN is not used. The power saving mode is a mode in which a minimum necessary operation is possible.

そこで、内蔵されるタイマーの設定時間が満了すると、制御部108は無線LAN通信回路109へ動作を復帰する指示を出す。これにより、制御部108が無線LAN通信回路109を制御できるモードに遷移する。   Therefore, when the set time of the built-in timer expires, the control unit 108 instructs the wireless LAN communication circuit 109 to return the operation. Thereby, the control unit 108 shifts to a mode in which the wireless LAN communication circuit 109 can be controlled.

次に、携帯電話100は、スキャンを行う(ステップS3)。具体的には、携帯電話100は、通常、アクセスポイントや他の端末からのビーコンの受信を行うパッシブスキャンを実行する。すなわち、図2に示したビーコン取得及び位置判定部222から、無線LANデバイスドライバ部231にビーコン取得226を指示する。   Next, the mobile phone 100 performs scanning (step S3). Specifically, the mobile phone 100 normally performs a passive scan that receives a beacon from an access point or another terminal. That is, the beacon acquisition and position determination unit 222 illustrated in FIG. 2 instructs the wireless LAN device driver unit 231 to perform beacon acquisition 226.

ビーコン取得及び位置判定部222から、無線LAN接続及び切断処理部223に接続225を指示する。これにより、無線LAN接続及び切断処理部223から、無線LANデバイスドライバ部231にビーコン取得の無線ドライバ制御227を指示する。   The beacon acquisition / position determination unit 222 instructs the wireless LAN connection / disconnection processing unit 223 to connect 225. Accordingly, the wireless LAN connection / disconnection processing unit 223 instructs the wireless LAN device driver unit 231 to perform wireless driver control 227 for acquiring a beacon.

また、常時は存在を隠していてビーコンや問い合わせ等に応答する設定のステルス設定のアクセスポイントもある。この場合、携帯電話100は、設定を変更して、ビーコンや問い合わせ等を送出するアクティブスキャンを実行するようにしても良い。   There are also stealth-set access points that are always hidden and respond to beacons and inquiries. In this case, the mobile phone 100 may change the setting and execute an active scan for sending a beacon, an inquiry, or the like.

携帯電話100は、無線LAN接続及び切断処理部223を利用していないときは常に省電力モードで動作している。しかし、定期的なタイミングで通常制御モードに復帰して、周辺のビーコン情報を収集する。   The cellular phone 100 always operates in the power saving mode when the wireless LAN connection / disconnection processing unit 223 is not used. However, it returns to the normal control mode at a regular timing and collects neighboring beacon information.

次に、携帯電話100は、プロファイルループの処理を行う(ステップS4)。具体的には、携帯電話100は、プロファイル設定を読み出して、プロファイル設定に基づくネットワーク接続のための処理を実行する。   Next, the mobile phone 100 performs a profile loop process (step S4). Specifically, the mobile phone 100 reads the profile setting and executes a process for network connection based on the profile setting.

ここからプロファイルごとのループが始まる。携帯電話100は、保存されているプロファイルの件数分のループを開始する。   The loop for each profile starts from here. The mobile phone 100 starts a loop for the number of stored profiles.

すなわち、プロファイル設定は、インフラストラクチャモード又はアドホックモードの無線通信を行うのか、及びどのアクセスポイントに接続するのか等の情報である。携帯電話100は、いくつかのプロファイル設定を保存することができる。また、それらのプロファイルの優先度付けを行うことも可能である。   That is, the profile setting is information such as whether to perform infrastructure mode or ad hoc mode wireless communication and to which access point to connect. The mobile phone 100 can store several profile settings. It is also possible to prioritize those profiles.

携帯電話100は、プロファイルがまだあるか否かを判断する(ステップS5)。判断ステップS5でプロファイルがあるときは、ステップS6へ移行して処理を続行する。判断ステップS5でプロファイルがないときは、省電力モードへ移行する(ステップS23)。   The mobile phone 100 determines whether there is still a profile (step S5). If there is a profile in the determination step S5, the process proceeds to step S6 to continue the process. When there is no profile in the determination step S5, the process shifts to the power saving mode (step S23).

判断ステップS5でプロファイルがあるとき、携帯電話100は、プロファイルを1つ取り出す(ステップS6)。すなわち、図2に示したビーコン取得及び位置判定部222は、プロファイル及び判定基準保存部221からプロファイル及び判定基準224を読み出す。   When there is a profile in the determination step S5, the mobile phone 100 takes out one profile (step S6). That is, the beacon acquisition and position determination unit 222 illustrated in FIG. 2 reads the profile and determination reference 224 from the profile and determination reference storage unit 221.

携帯電話100は、設定はインフラストラクチャモードか否かを判断する(ステップS7)。判断ステップS7で設定はインフラストラクチャモードであるときは、ステップS8へ移行してインフラストラクチャモード接続処理を続行する。   The mobile phone 100 determines whether the setting is an infrastructure mode (step S7). If the setting is infrastructure mode in the determination step S7, the process proceeds to step S8 to continue the infrastructure mode connection process.

判断ステップS7でインフラストラクチャモードのとき、携帯電話100は、電波状況リストの中からプロファイルのSSIDを検索する(ステップS8)。すなわち、携帯電話100は、図5Bに示す現在の電波状況リストを取得して、図5Aに示す保存されている電波状況リストの中からプロファイルのインフラストラクチャモードのSSIDを検索する。   In the infrastructure mode at the determination step S7, the mobile phone 100 searches the SSID of the profile from the radio wave status list (step S8). That is, the mobile phone 100 acquires the current radio wave status list shown in FIG. 5B, and searches for the SSID of the infrastructure mode of the profile from the saved radio wave status list shown in FIG. 5A.

図5Aに示す保存されている電波状況リストは、インフラストラクチャモードの無線通信を行った際に、予め保存されている。図5Bに示す現在の電波状況リストは、現在時点でインフラストラクチャモードの無線通信を行う際に、リアルタイムに携帯電話に保存される。   The saved radio wave status list shown in FIG. 5A is saved in advance when wireless communication in infrastructure mode is performed. The current radio wave status list shown in FIG. 5B is saved in the mobile phone in real time when performing wireless communication in the infrastructure mode at the current time point.

携帯電話100は、プロファイルのSSIDを発見したか否かを判断する(ステップS9)。判断ステップS9でプロファイルのSSIDを発見したとき、携帯電話100は、インフラストラクチャモードのアクセスポイントへ接続する(ステップS10)。   The mobile phone 100 determines whether or not the SSID of the profile has been found (step S9). When the profile SSID is found in the determination step S9, the mobile phone 100 connects to the infrastructure mode access point (step S10).

ここで、登録されているアクセスポイントが見つかった場合は、携帯電話100は、そのアクセスポイントに優先的に接続する。アクセスポイントが見つからなかった場合はビーコン情報の収集を続ける。   Here, when a registered access point is found, the mobile phone 100 preferentially connects to the access point. If an access point is not found, beacon information collection continues.

ビーコン情報はアクセスポイントやアドホックモードの端末が定期的に送出している。従って、携帯電話100は、スキャンを行うと複数のビーコン情報を取得することができる。   Beacon information is periodically transmitted by an access point or an ad hoc mode terminal. Therefore, the mobile phone 100 can acquire a plurality of beacon information when scanning.

このように、携帯電話100は、プロファイルがある場合に1件のプロファイルを取り出して、インフラストラクチャモードの設定か、アドホックモードの設定かの条件を取り出す。   As described above, when there is a profile, the mobile phone 100 takes out one profile and takes out the condition for setting the infrastructure mode or the ad hoc mode.

インフラストラクチャモードの設定の場合、携帯電話100は、スキャンで取得した電波状況リストと合致するSSIDがあるか否かを検索し、発見した場合にはインフラストラクチャモードでアクセスポイントに接続する。発見しなかったときは、プロファイルループに戻る。   In the case of setting the infrastructure mode, the mobile phone 100 searches for an SSID that matches the radio wave status list acquired by scanning, and if found, connects to the access point in the infrastructure mode. If not found, return to the profile loop.

判断ステップS9でプロファイルのSSIDを発見しないときは、ステップS4へ戻って、ステップS4〜ステップS10までの処理を繰り返す。
判断ステップS7でアドホックモードのとき、携帯電話100は、電波状況リストの中からプロファイルのSSIDを検索する(ステップS11)。
When the SSID of the profile is not found in the determination step S9, the process returns to step S4 and the processes from step S4 to step S10 are repeated.
When the mobile phone 100 is in the ad hoc mode in the determination step S7, the cellular phone 100 searches the SSID of the profile from the radio wave status list (step S11).

すなわち、携帯電話100は、図5Bに示す現在の電波状況リストを取得して、図5Aに示す保存されている電波状況リストの中からプロファイルのアドホックモードのBSSIDを検索する。   That is, the mobile phone 100 acquires the current radio wave status list shown in FIG. 5B, and searches the ad hoc mode BSSID of the profile from the saved radio wave status list shown in FIG. 5A.

図5Aに示す保存されている電波状況リストは、アドホックモードの無線通信を行った際に、予め保存されている。図5Bに示す現在の電波状況リストは、現在時点でアドホックモードの無線通信を行う際に、リアルタイムに携帯電話に保存される。   The stored radio wave status list shown in FIG. 5A is stored in advance when wireless communication in the ad hoc mode is performed. The current radio wave status list shown in FIG. 5B is stored in the mobile phone in real time when performing wireless communication in ad hoc mode at the current time.

例えば、ユーザが会議室でアドホックモードの無線通信を開始したいとする。会議室では利用できるアクセスポイントはないが、周りにはアクセスポイントがいくつか存在している。   For example, assume that the user wants to start ad-hoc mode wireless communication in a conference room. There are no access points available in the conference room, but there are several access points around.

その際、携帯電話100は、図5Bに示す現在の電波状況リストのBSSIDのアクセスポイントをリアルタイムに取得することができる。携帯電話100は、アクセスポイントのBSSIDと電波状況のリストをバックグラウンド処理で常に更新するようにしている。   At that time, the mobile phone 100 can acquire the access point of the BSSID in the current radio wave status list shown in FIG. 5B in real time. The mobile phone 100 always updates the BSSID of the access point and the list of radio wave conditions by background processing.

携帯電話100は、アドホックモードのプロファイルのSSIDを発見したか否かを判断する(ステップS12)。判断ステップS12でアドホックモードのプロファイルのSSIDを発見したとき、携帯電話100は、アドホックモードのネットワークに参加する(ステップS13)。   The cellular phone 100 determines whether or not the SSID of the ad hoc mode profile has been found (step S12). When the SSID of the ad hoc mode profile is found in the determination step S12, the mobile phone 100 participates in the ad hoc mode network (step S13).

図8は、アドホック位置登録のユーザインタフェース表示例を示す図である。
ユーザは初めに会議室に移動したときに、アドホックモードの無線通信を開始するように携帯電話100を操作する。その際に、図8のアドホック位置登録のユーザインタフェース表示例で示す「アドホックの開始」画面801が表示される。
FIG. 8 is a diagram showing a user interface display example of ad hoc location registration.
When the user first moves to the conference room, he / she operates the mobile phone 100 to start wireless communication in the ad hoc mode. At that time, an “ad hoc start” screen 801 shown in the user interface display example of ad hoc location registration in FIG. 8 is displayed.

「アドホック位置情報を登録しますか?」のメッセージ802に対して、「この場所に近づいたときに自動的にアドホックを開始する」の項目803を選択「する」のアイコン804をクリックする。そして、決定のために「選択」ボタン806を押す。   In response to the message 802 “Do you want to register ad hoc location information?”, Select the item “803 to start ad hoc automatically when approaching this place” 803 and click the “Yes” icon 804. Then, a “select” button 806 is pressed for determination.

すると、携帯電話100は、アドホック位置登録時の電波状況リストを図5Aに示す保存されている電波状況リストとして保存する。この図5Aに示す保存されている電波状況リストがアドホックモードを自動的に開始するパラメータとなる。   Then, the cellular phone 100 stores the radio wave status list at the time of ad hoc position registration as the saved radio wave status list shown in FIG. 5A. The stored radio wave status list shown in FIG. 5A is a parameter for automatically starting the ad hoc mode.

このように、プロファイル情報がアドホックの設定であるとき、アドホックモードのネットワークが存在する可能性があるため、携帯電話100は、アドホックモードのBSSIDが存在するか否かを検索する。発見した場合には、アドホックモードのネットワークに参加する。   As described above, when the profile information is an ad hoc setting, there is a possibility that an ad hoc mode network exists, so the mobile phone 100 searches for an ad hoc mode BSSID. If found, join the ad hoc mode network.

図9は、アドホックネットワーク接続動作におけるアドホック位置登録画面の表示例を示す図である。図9は、図8の詳細な表示例である。すなわち、携帯電話100は、アドホックネットワーク接続を始めて行った際に、予め図8に示すアドホック位置登録をしておく。   FIG. 9 is a diagram illustrating a display example of an ad hoc location registration screen in an ad hoc network connection operation. FIG. 9 is a detailed display example of FIG. That is, the mobile phone 100 performs ad hoc location registration shown in FIG. 8 in advance when an ad hoc network connection is made for the first time.

そして、後に自端末がこの位置に入ったときに、図9に示すように、携帯電話100は、自動的にアドホックモードのネットワークが立ち上がるように、ユーザに問い合わせをする。   Then, when the terminal enters this position later, as shown in FIG. 9, the mobile phone 100 inquires of the user so that the network in the ad hoc mode is automatically set up.

図9において、ユーザは携帯電話100の共有アプリ901の画面でアドホックモードのネットワークに接続のアイコン902を選択ボタン903で決定する。次に、携帯電話100のプロファイル一覧904の画面で予め保存されているアドホックモードのネットワークの「グループHOGEHOGE」905と、「グループFUGAFUGA」906が表示される。ユーザは2つのうちの「グループHOGEHOGE」905をクリックした後に選択ボタン903で決定する。   In FIG. 9, the user determines an icon 902 for connection to the network in the ad hoc mode on the screen of the shared application 901 of the mobile phone 100 with the selection button 903. Next, “Group HOGEHOGE” 905 and “Group FUGAFUGA” 906 of the network in the ad hoc mode stored in advance on the screen of the profile list 904 of the mobile phone 100 are displayed. The user clicks “Group HOGEHOGE” 905 out of the two, and then makes a determination with the selection button 903.

次に、携帯電話100のプロファイル一覧904の画面で「グループHOGEHOGEに接続しています」907のメッセージが表示される。接続が完了すると、「接続しました」908のメッセージが表示される。最後に、携帯電話100のプロファイル一覧904の画面で「この場所に近づいたときに自動的にアドホックを開始しますか?」909のメッセージが表示される。   Next, a message “Connecting to group HOGEHOGE” 907 is displayed on the screen of the profile list 904 of the mobile phone 100. When the connection is completed, a message “Connected” 908 is displayed. Finally, a message “Do you want to start ad hoc automatically when you approach this place?” 909 is displayed on the screen of the profile list 904 of the mobile phone 100.

ここで、アドホックモードのネットワークが見つからなかった場合には、アドホックモードのネットワークを作成するか否かを調べる電波状況ループに移行する。   Here, when an ad hoc mode network is not found, the process proceeds to a radio wave condition loop for checking whether or not to create an ad hoc mode network.

判断ステップS12でプロファイルのSSIDを発見しないとき、ステップS14の電波状況ループに移行する。電波状況ループ(ステップS14)では、図5Aに示す保存されている電波状況リストのSSIDが、ステップS3のスキャンと同様のスキャンの実行で取得した図5Bに示す現在の電波状況リストに含まれているか否かを検索する。   When the SSID of the profile is not found in the determination step S12, the process proceeds to the radio wave status loop of step S14. In the radio wave status loop (step S14), the SSID of the saved radio wave status list shown in FIG. 5A is included in the current radio wave status list shown in FIG. Search whether or not.

そして、含まれているときはこのSSIDを保存し、このSSIDに基づく位置範囲を計算し、自端末が位置範囲内のときにアドホックモードのネットワークを作成する。   If it is included, the SSID is stored, a location range based on the SSID is calculated, and an ad hoc mode network is created when the terminal is within the location range.

すなわち、別の機会にユーザが会議室に訪れた際に、携帯電話100は、同様にして周囲のアクセスポイントのビーコン情報を受信している。この際に、携帯電話100は、現在の電波状況リストと保存されている電波状況リストとの比較を行う。携帯電話100は、現在の電波状況リストと保存されている電波状況リストの一致するパラメータを選び出し、その重心計算を行う。   That is, when the user visits the conference room on another occasion, the mobile phone 100 similarly receives beacon information of surrounding access points. At this time, the mobile phone 100 compares the current radio wave status list with the saved radio wave status list. The mobile phone 100 selects a parameter that matches the current radio wave status list and the saved radio wave status list, and calculates the center of gravity.

ここで、ある程度の許容範囲を示す閾値を設定しておき、自端末の位置が閾値内に入ったときに、携帯電話100は、アドホックモードを自動的に開始する。これにより、ユーザは携帯電話100持参でこの会議室に入るたびにアドホックモードが自動的に開始されることになる。   Here, a threshold value indicating a certain allowable range is set, and when the position of the own terminal falls within the threshold value, the mobile phone 100 automatically starts the ad hoc mode. Thus, the ad hoc mode is automatically started every time the user enters the conference room with the mobile phone 100.

まず、携帯電話100は、現在の電波状況リストのSSIDがまだあるか否かを判断する(ステップS15)。すなわち、携帯電話100は、ステップS3のスキャンと同様のスキャンを実行する。そして、携帯電話100は、スキャンの実行で取得したSSIDを、現在の電波状況リストに保存する。   First, the mobile phone 100 determines whether or not there is still an SSID in the current radio wave status list (step S15). That is, the mobile phone 100 executes a scan similar to the scan in step S3. Then, the mobile phone 100 stores the SSID acquired by executing the scan in the current radio wave status list.

ここで、判断ステップS15で現在の電波状況リストのSSIDがあるとき、携帯電話100は、保存されている電波状況リストの1つを取り出す(ステップS16)。   Here, when there is an SSID of the current radio wave status list in the determination step S15, the mobile phone 100 takes out one of the saved radio wave status lists (step S16).

次に、携帯電話100は、保存されている電波状況リストから取り出した1つのSSIDが、現在の電波状況リストに含まれているか否かを判断する(ステップS17)。判断ステップS17で、現在の電波状況リストに含まれているとき、携帯電話100は、このSSIDを保存する(ステップS18)。   Next, the cellular phone 100 determines whether or not one SSID extracted from the stored radio wave status list is included in the current radio wave status list (step S17). When it is included in the current radio wave status list in the determination step S17, the mobile phone 100 stores this SSID (step S18).

判断ステップS17で、現在の電波状況リストに含まれていないとき、及びステップS18でSSIDを保存したときは、ステップS14へ戻って、ステップS14〜ステップS18までの処理を繰り返す。   When it is not included in the current radio wave status list at the determination step S17 and when the SSID is stored at the step S18, the process returns to the step S14 and the processes from the step S14 to the step S18 are repeated.

また、判断ステップS15で現在の電波状況リストのSSIDがないとき、携帯電話100は、ステップS18でSSIDが1つ以上保存されているか否かを判断する(ステップS19)。判断ステップS19で、SSIDが1つ以上保存されているときは、SSIDに基づく重心計算をする(ステップS20)。   When there is no SSID in the current radio wave status list in the determination step S15, the mobile phone 100 determines whether one or more SSIDs are stored in step S18 (step S19). If at least one SSID is stored in the determination step S19, the center of gravity is calculated based on the SSID (step S20).

携帯電話100は、自端末の位置がステップS20で計算された重心から閾値の範囲内であるか否かを判断する(ステップS21)。判断ステップS21で、自端末の位置が重心から閾値の範囲内であるとき、アドホックモードのネットワークを作成する(ステップS22)。   The mobile phone 100 determines whether or not the position of the mobile terminal is within a threshold range from the center of gravity calculated in step S20 (step S21). In the determination step S21, when the position of the terminal is within the threshold range from the center of gravity, an ad hoc mode network is created (step S22).

判断ステップS19で、SSIDが1つ以上保存されていないとき、判断ステップS21で、自端末の位置が重心から閾値の範囲内でないとき、ステップS4へ戻って、ステップS4〜ステップS21までの処理を繰り返す。   When one or more SSIDs are not stored in the determination step S19, when the position of the terminal is not within the threshold range from the center of gravity in the determination step S21, the process returns to the step S4, and the processes from the step S4 to the step S21 are performed. repeat.

すなわち、電波状況ループでは、保存されている電波状況リストから1つのSSIDを取り出し、現在の電波状況リストに含まれているか否かを検索する。現在の電波状況リストに含まれている場合は、保存する。   That is, in the radio wave status loop, one SSID is extracted from the saved radio wave status list, and it is searched whether it is included in the current radio wave status list. If it is included in the current signal status list, save it.

図7は、アクセスポイントと重心位置情報を示す図である。
図7において、アクセスポイントAP1〜AP4の電波状況をX1、X2、X3、X4は、携帯電話100までの距離に比例することになる。従って、アクセスポイントAP1〜AP4の電波状況をX1、X2、X3、X4が分かれば、その重心位置を求めることができる。
FIG. 7 is a diagram illustrating access points and barycentric position information.
In FIG. 7, the radio wave conditions of the access points AP1 to AP4 are proportional to the distance to the mobile phone 100, where X1, X2, X3, and X4. Therefore, if the radio wave conditions of the access points AP1 to AP4 are known as X1, X2, X3, and X4, the position of the center of gravity can be obtained.

ここで、携帯電話100は、現在の電波状況をX1、X2、X3・・・Xn、保存されている電波状況をY1、Y2、Y3・・・Ynとする。これを電波状況リスト全てについて行い、リストの合致している部分を抽出する。   Here, the mobile phone 100 assumes that the current radio wave conditions are X1, X2, X3... Xn, and the stored radio wave conditions are Y1, Y2, Y3. This is performed for all radio wave status lists, and the matching part of the list is extracted.

1つ以上の電波状況が合致していた場合に、自端末がその位置範囲内に存在しているか否かの計算を行う。この計算は、重心計算によって行い、数1式で求められる。   When one or more radio wave conditions match, calculation is performed as to whether or not the own terminal is in the position range. This calculation is performed by calculating the center of gravity, and is obtained by the equation (1).

〔数1〕
√{(X1−Y1)+(X2−Y2)+・・・(Xn−Yn)}≦S
[Equation 1]
{(X1-Y1) 2 + (X2-Y2) 2 +... (Xn−Yn) 2 } ≦ S

ここで、Sは閾値である。√内は現在の電波状況と保存されている電波状況との重心がどれだけ離れているかという値(距離に相当する)を示している。この重心の距離に相当する値が閾値S以内であれば、自端末はその位置範囲内(その場所)に存在すると判断することができる。なお、閾値Sの値はユーザが設定可能である。   Here, S is a threshold value. √ indicates the distance (corresponding to the distance) of how far the center of gravity between the current radio wave condition and the saved radio wave condition is. If the value corresponding to the distance of the center of gravity is within the threshold value S, it can be determined that the own terminal exists within the position range (the place). Note that the value of the threshold S can be set by the user.

従って、この自端末がその位置範囲内(その場所)に存在するか否かという判断をトリガにして、携帯電話100は、アドホックモードのネットワークを作成することができる。また、自端末がその位置範囲内(その場所)に存在しないときは、設定されているプロファイル情報の場所とは異なることになる。このため、次のプロファイルの検出を開始することになる。   Therefore, the mobile phone 100 can create an ad hoc mode network, triggered by the determination as to whether or not the terminal itself is within the location range (location). Further, when the own terminal does not exist within the position range (the place), the position of the set profile information is different. For this reason, detection of the next profile is started.

また、アドホックネットワーク作成後に、同様に定期的にバックグラウンド処理によるスキャンを行っておいて、数1式の位置範囲内からずれてしまった場合には、アドホックネットワークを自動的に停止して、省電力モードに設定することも可能である。   Similarly, after the ad hoc network is created, if scanning by background processing is performed periodically in the same way, and it deviates from the position range of Equation 1, the ad hoc network is automatically stopped and saved. It is also possible to set the power mode.

また、携帯電話100は、アドホックモードのネットワークに接続している際も、スキャンにより定期的にビーコンの取得を行っている。従って、携帯電話100は、閾値Sから切断閾値T分だけ離れた場合に切断することとする。なお、切断閾値Tは、可変長であり、単位はdbである。   In addition, the mobile phone 100 periodically acquires beacons by scanning even when connected to the ad hoc mode network. Therefore, the mobile phone 100 is disconnected when it is separated from the threshold value S by the disconnection threshold value T. Note that the cutting threshold T is a variable length, and its unit is db.

すなわち、携帯電話100は、計算結果が閾値S内であった場合に、アドホックモードのネットワーク接続を開始し、計算結果が閾値S+切断閾値Tより大きくなってしまった場合に切断することになる。   That is, the mobile phone 100 starts ad-hoc mode network connection when the calculation result is within the threshold value S, and disconnects when the calculation result is greater than the threshold value S + the disconnection threshold value T.

上述したように、本実施の形態により、常に無線LAN通信回路109を省電力モードにしている。その後、省電力モードから復帰した後に、スキャンによるビーコンの受信処理に基づいて、インフラストラクチャモードやアドホックモードのネットワークへの参加のための処理や、アドホックモードのネットワークの作成の処理を行うことができる。   As described above, according to the present embodiment, the wireless LAN communication circuit 109 is always in the power saving mode. Then, after returning from the power saving mode, processing for joining the network in the infrastructure mode or ad hoc mode or processing for creating the network in the ad hoc mode can be performed based on beacon reception processing by scanning. .

従って、自端末では、ビーコンの送出を継続することはないので、省電力モードから復帰した後も省電力化を図ることができる。   Accordingly, since the terminal itself does not continue to transmit the beacon, it is possible to save power even after returning from the power saving mode.

また、スキャンにより検出した複数のアクセスポイントの電波状況から複数のアクセスポイントの配置状況が把握される。これにより、複数のアクセスポイントの論理的空間を検出することができる。従って、自端末が複数のアクセスポイントの論理的空間に入ったときに、アドホックモードのネットワークを自動的に作成することができる。   Further, the arrangement status of the plurality of access points is grasped from the radio wave status of the plurality of access points detected by scanning. Thereby, the logical space of a plurality of access points can be detected. Therefore, when the own terminal enters the logical space of a plurality of access points, an ad hoc mode network can be automatically created.

同様にして、自端末が複数のアクセスポイントの論理的空間から離れたときに、自端末を自動的に省電力モードに設定することができる。   Similarly, when the own terminal leaves the logical space of a plurality of access points, the own terminal can be automatically set to the power saving mode.

なお、上述した本実施の形態例に限らず、本発明の要旨を逸脱しない限り、適宜変更しうることは言うまでもない。   Needless to say, the present invention is not limited to the above-described embodiment, and can be appropriately changed without departing from the gist of the present invention.

本実施の形態例の携帯電話のハードウエア構成例を示すブロック図である。It is a block diagram which shows the hardware structural example of the mobile telephone of the example of this embodiment. ソフトウエア構成例を示すブロック図である。It is a block diagram which shows the example of a software structure. マネージメントフレームの構成要素を示す図である。It is a figure which shows the component of a management frame. ビーコンフレームの構成要素を示す図である。It is a figure which shows the component of a beacon frame. 電波状況リストを示す図であり、図5Aは保存されている電波状況リスト、図5Bは現在の電波状況リストである。FIG. 5A is a diagram showing a radio wave status list, FIG. 5A is a stored radio wave status list, and FIG. 5B is a current radio wave status list. ネットワーク接続動作を示すフローチャートである。It is a flowchart which shows network connection operation | movement. アクセスポイントと重心位置情報を示す図である。It is a figure which shows an access point and gravity center position information. アドホック位置登録のユーザインタフェース表示例を示す図である。It is a figure which shows the user interface display example of ad hoc position registration. アドホックネットワーク接続動作におけるアドホック位置登録画面の表示例を示す図である。It is a figure which shows the example of a display of the ad hoc location registration screen in an ad hoc network connection operation | movement.

符号の説明Explanation of symbols

100…携帯電話、101…アンテナ、102…通信回路、103…マイク、104…スピーカ、105…メモリ、106…操作部、107…表示部、108…制御部、109…無線LAN通信回路、120…制御ライン、130…データライン、211…設定アプリケーション、221…プロファイル及び判定基準保存部、222…ビーコン取得及び位置判定部、223…無線LAN接続及び切断処理部、231…無線LANデバイスドライバ   DESCRIPTION OF SYMBOLS 100 ... Mobile phone, 101 ... Antenna, 102 ... Communication circuit, 103 ... Microphone, 104 ... Speaker, 105 ... Memory, 106 ... Operation part, 107 ... Display part, 108 ... Control part, 109 ... Wireless LAN communication circuit, 120 ... Control line, 130 ... data line, 211 ... setting application, 221 ... profile and determination reference storage unit, 222 ... beacon acquisition and position determination unit, 223 ... wireless LAN connection and disconnection processing unit, 231 ... wireless LAN device driver

Claims (10)

無線ローカルエリアネットワークを介して複数の端末間で無線通信をする無線通信方法であって、
ある端末の周辺の電波状況を取得するステップと、
前記取得した前記端末の周辺の電波状況と予め設定された電波状況とを比較し、前記取得した前記端末の周辺の電波状況が、前記予め設定された電波状況に基づく位置範囲内となるものか否かを判断するステップと、
前記取得した前記端末の周辺の電波状況と前記予め設定された電波状況の一致するパラメータを用いて算出される前記端末の3次元空間内の位置が、予め設定された電波状況に基づく位置範囲内となるものであるとき、前記端末と前記予め設定された電波状況に基づく位置範囲内の端末間でアドホックモードによる無線通信を開始するステップと、
を含む無線通信方法。
A wireless communication method for performing wireless communication between a plurality of terminals via a wireless local area network,
Obtaining the signal condition around a device;
The acquired radio wave condition around the terminal is compared with a preset radio wave condition, and the acquired radio wave condition around the terminal is within a position range based on the preset radio wave condition Determining whether or not,
The position in the three-dimensional space of the terminal calculated using a parameter that matches the acquired radio wave condition around the terminal and the preset radio wave condition is within a position range based on the preset radio wave condition Starting wireless communication in ad hoc mode between the terminal and a terminal within a location range based on the preset radio wave condition,
Including non-line communication methods.
請求項1に記載の無線通信方法において、
前記予め設定された電波状況は、前記端末のユーザインタフェース画面上で前記アドホックモードによる無線通信の開始が選択されたときに前記端末内に保存され
線通信方法。
The wireless communication method according to claim 1,
Radio wave condition said preset is Ru stored in said terminal when the start of wireless communication by the ad hoc mode on the user interface screen of the terminal is selected
No line communication method.
請求項1に記載の無線通信方法において、
前記取得した前記端末の周辺の電波状況は、前記端末の周辺のアクセスポイント又は他の端末のビーコン情報から取得され
線通信方法。
The wireless communication method according to claim 1,
Radio condition around the terminal which the acquired is Ru is obtained from beacon information around the access point or other terminals of the terminal
No line communication method.
請求項3に記載の無線通信方法において、
前記アクセスポイントから前記端末の周辺の電波状況が取得されたとき、取得されたアクセスポイントが端末内にプロファイルとして保存されている時のみインフラストラクチャにて接続す
線通信方法。
The wireless communication method according to claim 3,
When the acquired radio wave state around the terminal from the access point, to connect at seeing infrastructure when acquired access point is stored as a profile in the terminal
No line communication method.
請求項1に記載の無線通信方法において、
前記端末の3次元空間内の位置は、前記一致するパラメータに基づいて計算される重心から閾値内となるか否かにより判断され
線通信方法。
The wireless communication method according to claim 1,
Position in 3-dimensional space of the terminal, Ru is determined by whether a within a threshold from the center of gravity that is calculated based on the matching parameter
No line communication method.
請求項5に記載の無線通信方法において、
前記取得した前記端末の周辺の電波状況と前記予め設定された電波状況との比較は、電波状況良好であると想定される範囲に限定す
線通信方法。
The wireless communication method according to claim 5, wherein
Comparison of the acquired radio wave state and the preset signal conditions near the terminal, you limited to a range where the electric wave situation is assumed to be good
No line communication method.
請求項1に記載の無線通信方法において、
省電力モードからタイマー設定時間経過時に復帰した後に実行される、前記端末の周辺の電波状況の取得は、前記端末の通信モード及び接続先を記述したプロファイル設定に基づいて行われ
線通信方法。
The wireless communication method according to claim 1,
Is performed after returning after the elapse from the power saving mode timer setting time, the acquisition of radio condition around the terminal, Ru is based on the profile set that describes the communication mode and the connection destination of the terminal
No line communication method.
請求項7に記載の無線通信方法において、
すべての前記プロファイル設定に基づいて前記端末の周辺の電波状況の取得が行われたとき、接続するべきインフラストラクチャのプロファイル、もしくはアドホックネットワークがなかった場合、省電力モードへ移行す
線通信方法。
The wireless communication method according to claim 7, wherein
When the acquisition of the radio wave state around the terminal based on all of the profile settings were made, infrastructure profiles to be connected, or if there is no ad-hoc network, to migrate to the power saving mode
No line communication method.
無線ローカルエリアネットワークを介して複数の端末間で無線通信回路を用いて無線通信をする無線通信端末において、
アプリケーションプログラムに基づいて端末の制御部により実行される機能部であって、
前記端末の通信モード及び接続先を記述したプロファイルの設定、並びに前記端末と予め設定された電波状況に基づく位置範囲内の端末間でアドホックモードによる無線通信を開始するための判定基準を設定する設定部と、
前記端末の周辺の電波状況を、前記端末の周辺のアクセスポイント又は他の端末のビーコン情報から取得する取得部と、
前記設定部に設定されるプロファイル及び判定基準に基づいて、前記アクセスポイントからの前記電波状況の取得の有無により、インフラストラクチャモードの無線通信のための前記端末の前記アクセスポイントへの接続又は切断処理、並びに、前記取得した前記端末の周辺の電波状況と前記予め設定された電波状況とを比較し、前記取得した前記端末の周辺の電波状況と前記予め設定された電波状況の一致するパラメータを用いて算出される前記端末の3次元空間内の位置が、前記電波状況が予め設定された電波状況に基づく位置範囲内又は範囲外かにより、アドホックモードの無線通信のための前記端末と前記予め設定された電波状況に基づく位置範囲内の端末間の接続又は切断処理を行う接続処理部と、
を備えた無線通信端末。
In a wireless communication terminal that performs wireless communication using a wireless communication circuit between a plurality of terminals via a wireless local area network,
A functional unit executed by the control unit of the terminal based on the application program,
Setting of profile describing the communication mode and connection destination of the terminal, and setting for setting a criterion for starting wireless communication in ad hoc mode between the terminal and a terminal within a position range based on a preset radio wave condition And
An acquisition unit that acquires a radio wave situation around the terminal from access points around the terminal or beacon information of another terminal;
Processing for connecting or disconnecting the terminal to the access point for wireless communication in infrastructure mode based on the presence or absence of acquisition of the radio wave status from the access point based on the profile and determination criteria set in the setting unit And comparing the acquired radio wave condition around the terminal with the preset radio wave condition, and using parameters obtained by matching the radio wave condition around the acquired terminal with the preset radio wave condition The position for the wireless communication in the ad hoc mode is set in advance depending on whether the position in the three-dimensional space of the terminal calculated in the above is within a position range or outside the range based on the preset radio wave condition A connection processing unit that performs connection or disconnection processing between terminals within the position range based on the received radio wave condition
Radio communications terminal having a.
無線ローカルエリアネットワークを介して複数の端末間で無線通信をするための無線通信プログラムであって、
端末の無線通信を制御するためのコンピュータを、
前記端末の通信モード及び接続先を記述したプロファイルの設定、並びに前記端末と予め設定された電波状況に基づく位置範囲内の端末間でアドホックモードによる無線通信を開始するための判定基準を設定する設定部と、
前記端末の周辺の電波状況を、前記端末の周辺のアクセスポイント又は他の端末のビーコン情報から取得する取得部と、
前記設定部に設定されるプロファイル及び判定基準に基づいて、前記アクセスポイントからの前記電波状況の取得の有無により、インフラストラクチャモードの無線通信のための前記端末の前記アクセスポイントへの接続又は切断処理、並びに、前記取得した前記端末の周辺の電波状況と前記予め設定された電波状況とを比較し、前記取得した前記端末の周辺の電波状況と前記予め設定された電波状況の一致するパラメータを用いて算出される前記端末の3次元空間内の位置が、前記電波状況が予め設定された電波状況に基づく位置範囲内又は範囲外かにより、アドホックモードの無線通信のための前記端末と前記予め設定された電波状況に基づく位置範囲内の端末間の接続又は切断処理を行う接続処理部、
として機能させる無線通信プログラム。
A wireless communication program for performing wireless communication between a plurality of terminals via a wireless local area network,
A computer for controlling the wireless communication of the terminal,
Setting of profile describing the communication mode and connection destination of the terminal, and setting for setting a criterion for starting wireless communication in ad hoc mode between the terminal and a terminal within a position range based on a preset radio wave condition And
An acquisition unit that acquires a radio wave situation around the terminal from access points around the terminal or beacon information of another terminal;
Processing for connecting or disconnecting the terminal to the access point for wireless communication in infrastructure mode based on the presence or absence of acquisition of the radio wave status from the access point based on the profile and determination criteria set in the setting unit And comparing the acquired radio wave condition around the terminal with the preset radio wave condition, and using parameters obtained by matching the radio wave condition around the acquired terminal with the preset radio wave condition The position for the wireless communication in the ad hoc mode is set in advance depending on whether the position in the three-dimensional space of the terminal calculated in the above is within a position range or outside the range based on the preset radio wave condition A connection processing unit that performs connection or disconnection processing between terminals within the position range based on the received radio wave conditions
No line communication program Ru to function as.
JP2007129763A 2007-05-15 2007-05-15 Wireless communication method, wireless communication terminal, and wireless communication program Expired - Fee Related JP4977858B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007129763A JP4977858B2 (en) 2007-05-15 2007-05-15 Wireless communication method, wireless communication terminal, and wireless communication program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007129763A JP4977858B2 (en) 2007-05-15 2007-05-15 Wireless communication method, wireless communication terminal, and wireless communication program

Publications (2)

Publication Number Publication Date
JP2008288727A JP2008288727A (en) 2008-11-27
JP4977858B2 true JP4977858B2 (en) 2012-07-18

Family

ID=40148066

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007129763A Expired - Fee Related JP4977858B2 (en) 2007-05-15 2007-05-15 Wireless communication method, wireless communication terminal, and wireless communication program

Country Status (1)

Country Link
JP (1) JP4977858B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7003666B2 (en) 2018-01-04 2022-01-20 株式会社Ihi Blisk manufacturing method and holding jig

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4730452B2 (en) 2009-03-31 2011-07-20 ブラザー工業株式会社 Image transmission system
JP4834754B2 (en) * 2009-05-26 2011-12-14 株式会社東芝 Mobile device
JP2011199342A (en) * 2010-03-17 2011-10-06 Panasonic Corp Communication apparatus
WO2013001884A1 (en) 2011-06-29 2013-01-03 インターナショナル・ビジネス・マシーンズ・コーポレーション Information communication terminal, agent program, position estimation system and position estimation method
JP5710438B2 (en) 2011-10-03 2015-04-30 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation POSITION DETECTION DEVICE, POSITION MANAGEMENT SYSTEM, POSITION DETECTION METHOD, AND PROGRAM
JP5468595B2 (en) * 2011-11-22 2014-04-09 レノボ・シンガポール・プライベート・リミテッド Method of accessing wireless network by shared communication and wireless terminal device
JP6142465B2 (en) * 2012-04-04 2017-06-07 セイコーエプソン株式会社 Wireless communication apparatus, wireless communication system, method, and computer program
JP6185706B2 (en) * 2012-11-05 2017-08-23 セコム株式会社 Wireless communication device and wireless device detection program
US9781673B2 (en) * 2014-05-27 2017-10-03 Qualcomm Incorporated Adaptive control of RF low power modes in a multi-rate wireless system using device mode

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3632693B2 (en) * 2003-02-17 2005-03-23 Kddi株式会社 Method for switching between different wireless communication media and method for measuring communication state thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7003666B2 (en) 2018-01-04 2022-01-20 株式会社Ihi Blisk manufacturing method and holding jig

Also Published As

Publication number Publication date
JP2008288727A (en) 2008-11-27

Similar Documents

Publication Publication Date Title
JP4977858B2 (en) Wireless communication method, wireless communication terminal, and wireless communication program
EP2912862B1 (en) Profile based discovery engine configurations for neighborhood aware wi-fi networks
KR101871424B1 (en) Method and apparatus for bluetooth connection
EP2719208B1 (en) Method and apparatus for dynamically adjusting a configurable parameter of a discovery protocol during discovery of devices in a wireless network
JP4602967B2 (en) Wireless local access network system detection and selection
EP2323460B1 (en) Wireless communication device, wireless communication system, program and wireless communication method
EP3001734B1 (en) System, program and method for radio terminal to find access point
JP2000511731A (en) Multi-mode communication network using handset selective channel assignment
WO2014085142A1 (en) Systems and methods for synchronization of wireless devices in an ad-hoc network
JP2002544727A (en) Communications system
WO2013178111A1 (en) Wlan hotspot search control method and device
KR101763171B1 (en) Apparatus and method for connecting peer to peer between a mobile terminal
WO2004068794A1 (en) Communication device and method, recording medium, and program
CN109429211B (en) Communication apparatus, control method, and medium
CN110431863A (en) Tracing section updating method and device, communication equipment and storage medium
EP3515122B1 (en) Communication device, communication method and program
WO2010092647A1 (en) Wireless communication device and priority change method
JPWO2010110426A1 (en) Wireless LAN system, wireless LAN access point, handover execution method and program
JP2005192163A (en) Communication method and mobile phone
CN114938507B (en) Access method, device, system and readable storage medium
JP6146477B2 (en) Terminal, communication processing method, and communication processing program
JP7303913B2 (en) Communication device, control method, and program
CN113891391B (en) Network searching method and device, terminal equipment and storage medium
EP4131824A1 (en) Data transmission method and apparatus, communication device and storage medium
EP4120784A1 (en) Data transmission method and apparatus, communication device, and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100325

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120113

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120124

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120221

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120321

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120322

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150427

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4977858

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees