JP2009206803A - Radio terminal - Google Patents

Radio terminal Download PDF

Info

Publication number
JP2009206803A
JP2009206803A JP2008046762A JP2008046762A JP2009206803A JP 2009206803 A JP2009206803 A JP 2009206803A JP 2008046762 A JP2008046762 A JP 2008046762A JP 2008046762 A JP2008046762 A JP 2008046762A JP 2009206803 A JP2009206803 A JP 2009206803A
Authority
JP
Japan
Prior art keywords
communication
terminal
hoc
bssid
unit
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.)
Withdrawn
Application number
JP2008046762A
Other languages
Japanese (ja)
Inventor
Hiroshi Iwata
啓 岩田
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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP2008046762A priority Critical patent/JP2009206803A/en
Publication of JP2009206803A publication Critical patent/JP2009206803A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a radio terminal which can continue a communication in a state that a counterpart is specified when a cellular communication is switched to an ad hoc communication, and can prevent a reduction in communication performance due to a useless connection with the other terminals. <P>SOLUTION: A cellular communication part 11 sends a BSSID generated at a BSSID generating part 13 at start of communication to the other radio terminals via a base station of an infra-network, and an ad hoc communication part 12 receives a probe request during communication execution by the infra-network. When a control part 23 determines that the identical BSSID to the BSSID stored in an ad hoc information storing part 14 is included in the probe request concerned, the ad hoc communication part 12 is ad-hoc-connected to the radio terminal of a source of the probe request concerned, and the control part 23 switches a communication path from the cellular communication part 11 to the ad hoc communication part 12. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、セルラー通信機能とアドホック通信機能の二つの通信機能を備え、異なる無線通信システム間のハンドオフを行なうことができる無線端末に関する。   The present invention relates to a wireless terminal that has two communication functions, a cellular communication function and an ad hoc communication function, and can perform handoff between different wireless communication systems.

従来、異なる無線通信システム間のシステム間ハンドオフを行なう技術として、CDMA(Code Division Multiple Access)通信から無線LAN(Local Area Network)通信へと通信方法を切り替える技術が提案されている。一方、無線LANを用いた通信方式の中には、アクセスポイント(AP)を介さずに端末同士が直接通信を行なうアドホック通信という通信方式があり、この通信方式では、ネットワークの識別子としてSSID(Service Set IDentifier)やBSSID(Basic Service Set IDentifier)を利用する。   Conventionally, as a technique for performing inter-system handoff between different wireless communication systems, a technique for switching a communication method from CDMA (Code Division Multiple Access) communication to wireless LAN (Local Area Network) communication has been proposed. On the other hand, among communication methods using a wireless LAN, there is a communication method called ad hoc communication in which terminals directly communicate with each other without using an access point (AP). In this communication method, an SSID (Service) is used as a network identifier. Set IDentifier) and BSSID (Basic Service Set IDentifier) are used.

無線LANを用いた通信方式としては、例えば、「無線LAN通信方式」(特許文献1参照)、「ワイヤレス・ローカル・エリア・ネットワークの伝送効率を改善する方法及びシステム」(特許文献2参照)、「無線LANモード切替方法及び無線LAN端末」(特許文献3参照)が知られている。   As a communication method using a wireless LAN, for example, “wireless LAN communication method” (see Patent Document 1), “method and system for improving transmission efficiency of a wireless local area network” (see Patent Document 2), “Wireless LAN mode switching method and wireless LAN terminal” (see Patent Document 3) is known.

これら「無線LAN通信方式」、「ワイヤレス・ローカル・エリア・ネットワークの伝送効率を改善する方法及びシステム」、「無線LANモード切替方法及び無線LAN端末」では、無線LANを用いた通信方式の一つである、APを介して通信を行なうインフラストラクチャ通信から、APを介さないアドホック通信へと通信方式を切り替える技術が提案されている。
特開2004−128785号公報 特開2004−254254号公報 特開2005−333378号公報
These “wireless LAN communication system”, “method and system for improving the transmission efficiency of a wireless local area network”, and “wireless LAN mode switching method and wireless LAN terminal” are one of communication systems using a wireless LAN. There has been proposed a technology for switching a communication method from infrastructure communication that performs communication via an AP to ad hoc communication that does not involve an AP.
JP 2004-128785 A JP 2004-254254 A JP 2005-333378 A

しかしながら、アドホック通信を行う際、同じネットワーク識別子を使っている端末では同一のネットワークを形成してしまうことになる。このため、特定の端末間でアドホック通信を行うことができず、他端末からの干渉や不必要な通信が増えることになり、通信性能が低下してしまうことが避けられなかった。   However, when performing ad hoc communication, terminals using the same network identifier form the same network. For this reason, ad hoc communication cannot be performed between specific terminals, interference from other terminals and unnecessary communication increase, and it is inevitable that the communication performance deteriorates.

このような状況への対策として、特定の端末にネットワーク識別子を通知して相手端末を限定する方法が考えられるが、アドホック通信で使用されるネットワーク識別子はビーコン(Beacon)情報に含まれるため、この方法では、相手端末以外の第3の端末がネットワーク識別子を容易に知ることができるので、通信相手を限定する手段とはなり得ない。また、二つの端末間で暗号化通信を行う方法も考えられるが、暗号化処理を施した場合、通信速度の低下や遅延の発生などをもたらすことから、TV電話やIP(Internet Protocol)電話、そして通信対戦ゲーム等の1対1でリアルタイム通信を行う際には好ましくない。   As a countermeasure against such a situation, there is a method of notifying a specific terminal of the network identifier and limiting the partner terminal. However, since the network identifier used in ad hoc communication is included in the beacon information, In the method, since the third terminal other than the counterpart terminal can easily know the network identifier, it cannot be a means for limiting the communication counterpart. In addition, a method of performing encrypted communication between two terminals is also conceivable. However, when encryption processing is performed, it causes a decrease in communication speed or occurrence of delay, so that a TV phone, an IP (Internet Protocol) phone, And it is not preferable when performing one-to-one real-time communication such as a communication battle game.

上述した状況は、他端末とセルラー通信中の端末が、セルラー通信からアドホック通信へと切り替わる際にも、同様に生じる。つまり、サービス会社などから与えられた特定のSSIDが予め登録されいる端末同士で、セルラー通信からアドホック通信に切り替えようとした際、既に同じエリア内に同一のSSIDを用いたアドホックネットワークが存在していると、意図せずそのネットワークに接続してしまうことになり、期待した通信性能を発揮することができない状況が生じる。更に、ビーコン内の情報を見た他端末が後からアドホックネットワークに参加することも可能なので、それらの端末からの影響で通信性能が低下することもあり得る。   The situation described above also occurs when a terminal that is in cellular communication with another terminal switches from cellular communication to ad hoc communication. That is, when switching from cellular communication to ad hoc communication between terminals in which a specific SSID given by a service company or the like is registered in advance, there is already an ad hoc network using the same SSID in the same area. If this happens, you will be unintentionally connected to that network, and you will not be able to achieve the expected communication performance. Furthermore, since other terminals that have seen the information in the beacon can join the ad hoc network later, the communication performance may be deteriorated due to the influence of these terminals.

上記「無線LAN通信方式」(特許文献1参照)、「ワイヤレス・ローカル・エリア・ネットワークの伝送効率を改善する方法及びシステム」(特許文献2参照)、「無線LANモード切替方法及び無線LAN端末」(特許文献3参照)においては、インフラストラクチャ通信からアドホック通信に通信方式を切り替える方法が提案されているが、「無線LAN通信方式」や「無線LANモード切替方法及び無線LAN端末」では、相手端末を通信中の端末に限定することができず、また、「ワイヤレス・ローカル・エリア・ネットワークの伝送効率を改善する方法及びシステム」は、SSIDを通知することで相手端末を限定しているが、SSIDは第3の端末が容易に知ることができるため、この方法も相手端末を特定した通信の継続には適さない。   “Wireless LAN communication method” (see Patent Document 1), “Method and system for improving transmission efficiency of wireless local area network” (see Patent Document 2), “Wireless LAN mode switching method and wireless LAN terminal” (Refer to Patent Document 3), a method for switching a communication method from infrastructure communication to ad hoc communication is proposed. However, in the “wireless LAN communication method” and “wireless LAN mode switching method and wireless LAN terminal”, a partner terminal is used. However, “Method and system for improving the transmission efficiency of a wireless local area network” limits the partner terminal by notifying the SSID, Since the SSID can be easily known by the third terminal, this method is also used to continue the communication specifying the partner terminal. Not suitable.

この発明の目的は、セルラー通信からアドホック通信に切り替える際に、相手を特定した状態で通信を継続することができ、他端末と無駄な接続を行なうことによる通信性能の低下を防ぐことができる無線端末を提供することである。   An object of the present invention is to enable wireless communication capable of continuing communication in a state where a partner is specified when switching from cellular communication to ad hoc communication, and preventing deterioration in communication performance due to unnecessary connection with other terminals. To provide a terminal.

上記目的を達成するため、この発明に係る無線端末は、一または複数の他の無線端末とのアドホック通信を行うアドホック通信部と、インフラネットワークの基地局を介して他の無線端末との通信を行うインフラネットワーク通信部と、前記アドホック通信に用いるBSSIDを生成するBSSID生成部と、前記BSSID生成部により生成されたBSSIDを記憶する記憶部と、前記アドホック通信部で受信されるプローブリクエストに前記記憶部に記憶されるBSSIDと同一のBSSIDが含まれるか否かを判定する判定部と、前記インフラネットワーク通信部で実行中の通信の通信パスを前記アドホック通信部に切り換える通信切換部とを備え、前記インフラネットワーク通信部は、通信の開始時に前記BSSID生成部にて生成したBSSIDを、前記インフラネットワークの基地局を介して前記他の無線端末に送信し、前記インフラネットワークによる通信実行中に、前記アドホック通信部によりプローブリクエストが受信され、前記判定部により、当該プローブリクエストに前記記憶部に記憶されているBSSIDと同一のBSSIDが含まれると判定された場合、前記アドホック通信部は当該プローブリクエストの送信元の無線端末とアドホック接続し、前記通信切換部は、前記通信パスを前記インフラネットワーク通信部から前記アドホック通信部に切り換えることを特徴としている。   In order to achieve the above object, a wireless terminal according to the present invention performs communication between an ad hoc communication unit that performs ad hoc communication with one or more other wireless terminals and another wireless terminal via a base station of an infrastructure network. An infrastructure network communication unit to perform, a BSSID generation unit that generates a BSSID used for the ad hoc communication, a storage unit that stores the BSSID generated by the BSSID generation unit, and the probe request received by the ad hoc communication unit A determination unit that determines whether or not the same BSSID as the BSSID stored in the unit is included, and a communication switching unit that switches a communication path of communication being executed in the infrastructure network communication unit to the ad hoc communication unit, The infrastructure network communication unit is generated by the BSSID generation unit at the start of communication The BSSID is transmitted to the other wireless terminal via the base station of the infrastructure network, and a probe request is received by the ad hoc communication unit during communication execution by the infrastructure network, and the probe request is received by the determination unit. Is determined to include the same BSSID as the BSSID stored in the storage unit, the ad hoc communication unit establishes an ad hoc connection with the wireless terminal that is the source of the probe request, and the communication switching unit The path is switched from the infrastructure network communication unit to the ad hoc communication unit.

また、この発明において、自身の位置情報を取得する位置情報取得部をさらに備え、前記インフラネットワーク通信部は、前記位置情報取得部により取得した位置情報を定期的に前記他の無線端末に送信することが好ましい。   Moreover, in this invention, it further includes a location information acquisition unit that acquires its own location information, and the infrastructure network communication unit periodically transmits the location information acquired by the location information acquisition unit to the other wireless terminal. It is preferable.

また、この発明に係る無線端末は、一または複数の他の無線端末とのアドホック通信を行うアドホック通信部と、インフラネットワークの基地局を介して他の無線端末との通信を行うインフラネットワーク通信部と、前記インフラネットワーク通信部により受信されるBSSIDを記憶する記憶部と、前記アドホック通信部で受信されるプローブレスポンスに前記記憶部に記憶されるBSSIDと同一のBSSIDが含まれるか否かを判定する判定部と、前記インフラネットワーク通信部で実行中の通信の通信パスを前記アドホック通信部に切り換える通信切換部とを備え、前記アドホック通信部は、前記インフラネットワークによる通信実行中に、前記記憶部に記憶されたBSSIDを含むプローブリクエストを送信し、前記判定部により、当該アドホック通信部により受信されるプローブレスポンスに前記記憶部に記憶されるBSSIDと同一のBSSIDが含まれると判定された場合、前記アドホック通信部は、当該プローブレスポンスの送信元の無線端末とアドホック接続し、前記通信切換部は、前記通信パスを前記インフラネットワーク通信部から前記アドホック通信部に切り換えることを特徴としている。   The wireless terminal according to the present invention includes an ad hoc communication unit that performs ad hoc communication with one or more other wireless terminals, and an infrastructure network communication unit that performs communication with other wireless terminals via an infrastructure network base station. A storage unit that stores the BSSID received by the infrastructure network communication unit, and a probe response received by the ad hoc communication unit includes a BSSID that is the same as the BSSID stored in the storage unit And a communication switching unit for switching a communication path of communication being executed in the infrastructure network communication unit to the ad hoc communication unit, wherein the ad hoc communication unit is configured to store the storage unit during communication execution by the infrastructure network. The probe request including the BSSID stored in the When it is determined that the same BSSID as the BSSID stored in the storage unit is included in the probe response received by the ad hoc communication unit, the ad hoc communication unit makes an ad hoc connection with the wireless terminal that is the source of the probe response. The communication switching unit switches the communication path from the infrastructure network communication unit to the ad hoc communication unit.

また、この発明において、自身の位置情報を取得する位置情報取得部をさらに備え、前記アドホック通信部は、前記インフラネットワーク通信部により定期的に受信される前記他の無線端末の位置情報と、前記位置情報取得部で定期的に取得される位置情報との比較結果に基づき、前記プローブリクエストの送信を開始することが好ましい。   Further, in the present invention, it further includes a position information acquisition unit that acquires its own position information, and the ad hoc communication unit includes the position information of the other wireless terminal periodically received by the infrastructure network communication unit, It is preferable that transmission of the probe request is started based on a comparison result with position information periodically acquired by the position information acquisition unit.

この発明によれば、セルラー通信からアドホック通信に切り替える際に、ネットワーク識別子にSSIDの他、BSSIDを指定することで、相手を特定した状態で通信を継続することができ、他端末と無駄な接続を行なうことによる通信性能の低下を防ぐことができる。   According to the present invention, when switching from cellular communication to ad hoc communication, by specifying BSSID in addition to SSID as a network identifier, communication can be continued in a state where the other party is specified, and wasteful connection with other terminals It is possible to prevent a decrease in communication performance due to performing.

以下、この発明を実施するための最良の形態について図面を参照して説明する。
図1は、この発明の一実施の形態に係る無線端末の回路構成を示すブロック図である。図1に示すように、無線端末10は、セルラー通信部(インフラネットワーク通信部)11、アドホック(Adhoc)通信部12、BSSID生成部13、アドホック情報記憶部(記憶部)14、位置情報取得部15、位置情報送受信部16、位置情報判定部17、アドホック可否応答送受信部18、入力部19、表示部20、タイマー部21、割り込み設定部22、及び制御部23を有している。
The best mode for carrying out the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a circuit configuration of a wireless terminal according to an embodiment of the present invention. As shown in FIG. 1, the wireless terminal 10 includes a cellular communication unit (infrastructure network communication unit) 11, an ad hoc communication unit 12, a BSSID generation unit 13, an ad hoc information storage unit (storage unit) 14, and a location information acquisition unit. 15, position information transmission / reception unit 16, position information determination unit 17, ad hoc availability response transmission / reception unit 18, input unit 19, display unit 20, timer unit 21, interrupt setting unit 22, and control unit 23.

セルラー通信部11は、インフラネットワークの基地局を介して他の無線端末との通信を行い、アドホック通信部12は、一または複数の他の無線端末とのアドホック通信を行う。BSSID生成部13は、アドホック通信に用いるBSSIDを生成し、アドホック情報記憶部14は、アドホック通信に必要な情報、例えばSSIDや、BSSID生成部13により生成されたBSSID或いはセルラー通信部11により受信されるBSSID、を記憶する。位置情報取得部15は、GPSや基地局情報を利用して自端末の現在位置に関する位置情報を取得し、取得した位置情報に基づいて自端末の現在位置を特定し、位置情報送受信部16は、位置情報の送受信を行う。   The cellular communication unit 11 performs communication with other wireless terminals via the base station of the infrastructure network, and the ad hoc communication unit 12 performs ad hoc communication with one or more other wireless terminals. The BSSID generation unit 13 generates a BSSID used for ad hoc communication, and the ad hoc information storage unit 14 receives information necessary for ad hoc communication, for example, the SSID, the BSSID generated by the BSSID generation unit 13, or the cellular communication unit 11. BSSID is stored. The position information acquisition unit 15 acquires position information related to the current position of the terminal using GPS and base station information, specifies the current position of the terminal based on the acquired position information, and the position information transmission / reception unit 16 Transmit / receive position information.

位置情報判定部17は、自端末の位置情報と受信した他端末の位置情報を基に、両端末間の距離が近いかどうかを判定し、アドホック可否応答送受信部18は、位置情報判定部17で判定されたアドホック通信が可能かどうかの判定情報を送受信する。入力部19は、例えば各種操作キー等の情報入力手段を介して入力された各種情報の処理を行い、表示部20は、映像データや字幕データ等に基づき、映像や字幕等を、例えば液晶ディスプレイ等の表示画面に表示する。タイマー部21は、タイマー値を設定し、割り込み設定部22は、第三者のアドホックネットワーク参加(割り込み)を許可するかどうかを設定する。   The position information determination unit 17 determines whether the distance between both terminals is close based on the position information of the own terminal and the received position information of the other terminal, and the ad hoc availability response transmission / reception unit 18 determines the position information determination unit 17. Transmit / receive determination information indicating whether or not the ad hoc communication determined in step 1 is possible. The input unit 19 performs processing of various information input via information input means such as various operation keys, for example, and the display unit 20 displays video, subtitles, etc. based on video data, subtitle data, etc., for example, a liquid crystal display Displayed on the display screen. The timer unit 21 sets a timer value, and the interrupt setting unit 22 sets whether to allow a third party to join (interrupt) an ad hoc network.

制御部23は、アドホック通信部12で受信されるプローブリクエスト(Probe Request)或いはプローブレスポンス(Probe Response)に、アドホック情報記憶部14に記憶されるBSSIDと同一のBSSIDが含まれるか否かを判定する判定部、また、セルラー通信部(インフラネットワーク通信部)11で実行中の通信の通信パスをアドホック通信部12に切り換える通信切換部として機能する。更に、制御プログラム等を実行することにより、上記各部の動作を制御し各種機能要素を実現する。   The control unit 23 determines whether the probe request (Probe Request) or the probe response (Probe Response) received by the ad hoc communication unit 12 includes the same BSSID as the BSSID stored in the ad hoc information storage unit 14. And a communication switching unit that switches a communication path of communication being executed in the cellular communication unit (infrastructure network communication unit) 11 to the ad hoc communication unit 12. Furthermore, by executing a control program or the like, the operation of each of the above parts is controlled to realize various functional elements.

上記構成を有する無線端末10において、セルラー通信部11は、通信の開始時にBSSID生成部13にて生成したBSSIDを、インフラネットワークの基地局を介して他の無線端末に送信する。アドホック通信部12は、インフラネットワークによる通信実行中に、プローブリクエストを受信し、判定部(制御部23)により当該プローブリクエストにアドホック情報記憶部14に記憶されているBSSIDと同一のBSSIDが含まれると判定された場合、当該プローブリクエストの送信元の無線端末とアドホック接続する。通信切換部(制御部23)は、通信パスをセルラー通信部11からアドホック通信部12に切り換える。更に、セルラー通信部11は、位置情報取得部15により取得した位置情報を定期的に他の無線端末に送信する。   In the wireless terminal 10 having the above configuration, the cellular communication unit 11 transmits the BSSID generated by the BSSID generation unit 13 at the start of communication to another wireless terminal via the base station of the infrastructure network. The ad hoc communication unit 12 receives a probe request during communication execution through the infrastructure network, and the determination unit (control unit 23) includes the same BSSID as the BSSID stored in the ad hoc information storage unit 14 in the probe request. Is determined, the ad hoc connection is established with the wireless terminal that has transmitted the probe request. The communication switching unit (control unit 23) switches the communication path from the cellular communication unit 11 to the ad hoc communication unit 12. Further, the cellular communication unit 11 periodically transmits the position information acquired by the position information acquisition unit 15 to other wireless terminals.

また、アドホック通信部12は、インフラネットワークによる通信実行中に、アドホック情報記憶部14に記憶されたBSSIDを含むプローブリクエストを送信する。また、アドホック通信部12は、判定部(制御部23)により、当該アドホック通信部12により受信されるプローブレスポンスにアドホック情報記憶部14に記憶されるBSSIDと同一のBSSIDが含まれると判定された場合、当該プローブレスポンスの送信元の無線端末とアドホック接続する。通信切換部(制御部23)は、通信パスをセルラー通信部11からアドホック通信部12に切り換える。更に、アドホック通信部12は、セルラー通信部11により定期的に受信される他の無線端末の位置情報と、位置情報取得部15で定期的に取得される位置情報との比較結果に基づき、プローブリクエストの送信を開始する。   Moreover, the ad hoc communication part 12 transmits the probe request containing BSSID memorize | stored in the ad hoc information storage part 14 during communication execution by an infrastructure network. In addition, the ad hoc communication unit 12 is determined by the determination unit (control unit 23) that the probe response received by the ad hoc communication unit 12 includes the same BSSID as the BSSID stored in the ad hoc information storage unit 14. In this case, an ad hoc connection is established with the wireless terminal that is the transmission source of the probe response. The communication switching unit (control unit 23) switches the communication path from the cellular communication unit 11 to the ad hoc communication unit 12. Furthermore, the ad hoc communication unit 12 determines whether the probe information is based on the comparison result between the position information of other wireless terminals periodically received by the cellular communication unit 11 and the position information periodically acquired by the position information acquisition unit 15. Start sending requests.

このように、セルラー通信機能とアドホック通信機能の二つの通信機能を備えた無線端末10は、位置情報の送受信を行って、自端末の位置情報と受信した相手端末の位置情報を基に自端末と相手端末の間の距離が近いかどうかを判定し、判定結果に基づきアドホック通信が可能かどうかの判定情報を送受信する。
そして、無線端末10は、セルラー通信中の端末とアドホックネットワークを構築する際、予め登録済みのSSIDとBSSIDを用いることで、特定の端末とのみアドホック接続を確立し、通信を継続することにより、セルラー通信からアドホック通信へとシームレスに切り替わる。
As described above, the wireless terminal 10 having the two communication functions of the cellular communication function and the ad hoc communication function transmits and receives the position information, and the own terminal based on the position information of the own terminal and the received position information of the partner terminal. And the other terminal are determined whether or not the distance is close, and based on the determination result, determination information as to whether ad hoc communication is possible is transmitted and received.
And when the wireless terminal 10 constructs an ad hoc network with a terminal in cellular communication, it establishes an ad hoc connection only with a specific terminal by using a pre-registered SSID and BSSID, and continues communication. Seamlessly switch from cellular to ad hoc communications.

アドホックネットワークを構築する際に指定するBSSIDは、自端末と特定の端末とに共通の値がセルラー通信開始時に端末内に登録され、アドホック通信中に定期的に又は不定期に更新することができる。また、アドホック通信中に他の端末から端末内に登録されているSSIDと同じSSIDが指定されているが、端末内に登録されているBSSIDとは異なるBSSIDが指定されたプローブリクエストを受信した場合に、プローブレスポンスを返さないようにすることができる。   The BSSID specified when constructing an ad hoc network is registered in the terminal at the start of cellular communication, and can be updated regularly or irregularly during ad hoc communication. . Also, when a probe request is received that specifies the same SSID as the SSID registered in the terminal from another terminal during ad hoc communication, but a BSSID different from the BSSID registered in the terminal. In addition, it is possible not to return a probe response.

無線端末10は、セルラー通信中の両端末の位置情報を利用し、セルラー通信中の相手端末が自端末の近くにいると判定できた場合に、アドホック接続を試み、また、利用者の指示を除いた原因で相手端末とのセルラー通信接続が切断した場合に、アドホック接続を試みる。また、セルラー通信中、自端末の位置情報を相手端末(他の端末)に一定時間毎に通知する。   The wireless terminal 10 uses the location information of both terminals in the cellular communication, and when it can be determined that the partner terminal in the cellular communication is close to its own terminal, the wireless terminal 10 tries an ad hoc connection, and gives a user instruction. If the cellular communication connection with the partner terminal is disconnected due to the cause, the ad hoc connection is attempted. Further, during cellular communication, the location information of its own terminal is notified to the other terminal (other terminals) at regular intervals.

無線端末10は、セルラー通信中、相手端末から位置情報を受信したら自端末の位置情報と比較し、相手端末が近くにいると判定できた場合、アドホック可能応答を相手端末に送信し、近くにいると判定できなかった場合、アドホック不能応答を相手端末に送信する。そして、アドホック可能応答送信後、予め登録済みのSSID、通信開始時に登録したBSSIDを指定したビーコンの送信を開始し、ビーコン送信中に相手端末から同じSSID、通信開始時に登録したBSSIDを指定したプローブリクエストを受信した場合、プローブレスポンスを相手端末に送信し、アドホック接続を確立する。   When receiving the location information from the counterpart terminal during cellular communication, the radio terminal 10 compares it with the location information of its own terminal, and if it can be determined that the counterpart terminal is nearby, sends an ad hoc response to the counterpart terminal. If it cannot be determined that it is present, an ad hoc impossible response is transmitted to the partner terminal. Then, after transmitting an ad hoc response, a probe that starts transmitting a beacon that specifies a pre-registered SSID and a BSSID registered at the start of communication, and that specifies the same SSID and BSSID registered at the start of communication from the other terminal during beacon transmission When a request is received, a probe response is transmitted to the partner terminal, and an ad hoc connection is established.

無線端末10は、相手端末からアドホック可能応答を受信したら、予め登録済みのSSID、通信開始時に登録したBSSIDを指定したプローブリクエストを相手端末に送信し、相手端末からプローブレスポンスを受信した場合、アドホック接続を確立する。アドホック接続確立後、セルラー通信接続を切断し、通信パスをアドホック通信システムに切り替え、アドホック通信を開始する。このとき、アドホック通信に用いるIPアドレスは、セルラー通信中に使用していたものをそのまま利用する。   When the wireless terminal 10 receives an ad hoc response from the partner terminal, the wireless terminal 10 transmits a probe request specifying the pre-registered SSID and the BSSID registered at the start of communication to the partner terminal and receives a probe response from the partner terminal. Establish a connection. After the ad hoc connection is established, the cellular communication connection is disconnected, the communication path is switched to the ad hoc communication system, and ad hoc communication is started. At this time, the IP address used for the ad-hoc communication is used as it is during the cellular communication.

無線端末10は、相手端末からアドホック不能応答を受信したら、セルラー通信を継続し、セルラー通信中、相手端末からプローブリクエストやプローブレスポンスを受信できなかった場合は、セルラー通信を継続する。
図2は、端末によるセルラー通信中の状態を概念的に示す説明図である。図3は、端末によるセルラー通信中において、アドホック通信可能エリアに移動した後の状態を概念的に示す説明図である。図4は、端末によるアドホック通信中の状態を概念的に示す説明図である。
The wireless terminal 10 continues the cellular communication when receiving a non-ad hoc response from the counterpart terminal, and continues the cellular communication when the probe request or the probe response cannot be received from the counterpart terminal during the cellular communication.
FIG. 2 is an explanatory diagram conceptually showing a state during cellular communication by the terminal. FIG. 3 is an explanatory diagram conceptually showing a state after moving to an ad hoc communication possible area during cellular communication by a terminal. FIG. 4 is an explanatory diagram conceptually showing a state during ad hoc communication by the terminal.

図2に示すように、無線端末(自端末)10は、APを介して相手端末24とセルラー通信中であり、同時に、他端末25a〜25dとの間でアドホックネットワークA(SSID: common、BSSID: 12:34:56:78:90:0a、チャネル: 1ch)を構築することができる状態にある。ここで、無線端末10が、通話中の相手端末24とだけ通話を継続したい、つまり、相手端末24と、TV電話やIP電話や通信対戦ゲーム等の1対1でリアルタイム通信を行っている時に、相手端末24がアドホックネットワークAの構築が可能な範囲(アドホック通信可能エリア)に移動する。   As shown in FIG. 2, the wireless terminal (own terminal) 10 is in cellular communication with the counterpart terminal 24 via the AP, and at the same time, the ad hoc network A (SSID: common, BSSID) with the other terminals 25a to 25d. 12: 34: 56: 78: 90: 0a, channel: 1ch). Here, when the wireless terminal 10 wants to continue the call only with the other party terminal 24 during the call, that is, when the one-to-one real-time communication with the other party terminal 24 such as a TV phone, an IP phone, or a communication game is performed. The counterpart terminal 24 moves to a range where the ad hoc network A can be constructed (ad hoc communication possible area).

図3に示すように、無線端末10は、相手端末24がアドホック通信可能エリアに移動した後も、相手端末24とセルラー通信中であるが、望まない他端末と無駄な通信を行わず、また、他端末からの干渉を抑止するため、アドホックネットワークAとは別のアドホックネットワークを構築する。この際、アドホックネットワークAの識別子であるBSSIDとは異なるBSSIDを使用することにより、アドホックネットワークAとは別のアドホックネットワークを構築することができる。   As shown in FIG. 3, the wireless terminal 10 is in cellular communication with the partner terminal 24 even after the partner terminal 24 moves to the ad hoc communicable area, but does not perform unnecessary communication with other terminals that are not desired. In order to suppress interference from other terminals, an ad hoc network different from the ad hoc network A is constructed. At this time, an ad hoc network different from the ad hoc network A can be constructed by using a BSSID different from the BSSID that is the identifier of the ad hoc network A.

図4に示すように、無線端末10は、相手端末24との間にアドホックネットワークAとは別のアドホックネットワークB(SSID: common、BSSID: ab:cd:ef:01:23:45、チャネル: 10ch)を構築し、相手端末24とアドホック通信を行う。ここで、BSSIDの更新について説明する。   As shown in FIG. 4, the wireless terminal 10 has an ad hoc network B (SSID: common, BSSID: ab: cd: ef: 01: 23: 45, channel: 10ch) is established and ad hoc communication is performed with the counterpart terminal 24. Here, the update of the BSSID will be described.

図5は、BSSIDの更新処理を示す概念説明図である。図5に示すように、端末は、定期的にビーコン(Beacon)情報を送信しているが、このビーコンインターバルに合わせて、BSSID更新タイミングが取られる。ビーコン情報には、MAC(Media Access Control)フレーム(MAC Frame)とマネージメントフレーム(Management Frame)が含まれている。MACフレームには、現在のBSSID(Current BSSID: ab:cd:ef:01:23:45)が、マネージメントフレームには、タイムスタンプ(Timestamp: 0×000000003 e26f4c2)が、それぞれ構成されている。   FIG. 5 is a conceptual explanatory diagram showing BSSID update processing. As shown in FIG. 5, the terminal periodically transmits beacon information, but BSSID update timing is taken in accordance with this beacon interval. The beacon information includes a MAC (Media Access Control) frame (MAC Frame) and a management frame (Management Frame). The MAC frame includes a current BSSID (Current BSSID: ab: cd: ef: 01: 23: 45), and the management frame includes a time stamp (Timestamp: 0 × 000000003 e26f4c2).

これら現在のBSSID(Current BSSID: ab:cd:ef:01:23:45)とタイムスタンプ(Timestamp: 0×000000003 e26f4c2)値に基づいて、Seedを形成し、更に、ハッシュ(Hash)関数(例えばRC4アルゴリズム)を用いて暗号化し、新しいBSSID(New BSSID: 1a:2b:3c:4d:5e:6f)を形成する。   Based on these current BSSIDs (Current BSSID: ab: cd: ef: 01: 23: 45) and time stamp (Timestamp: 0 × 000000003 e26f4c2) values, a seed is formed, and a hash function (for example, RCBS algorithm) to form a new BSSID (New BSSID: 1a: 2b: 3c: 4d: 5e: 6f).

次に、この発明に係る無線端末10によるセルラー通信からアドホック通信へのハンドオフ処理の具体例を説明する。
(マスター端末基本動作)
ここでは、IP通信を行なう場合について説明する。最初にIP接続のコネクション確立要求(SYN)を送った端末、即ち、通信を開始した端末をマスター(Master)端末、それに対して要求と応答(ACK+SYN)を返した端末をスレーブ(Slave)端末とする。
Next, a specific example of handoff processing from cellular communication to ad hoc communication by the wireless terminal 10 according to the present invention will be described.
(Master terminal basic operation)
Here, a case where IP communication is performed will be described. The terminal that first sent a connection establishment request (SYN) for IP connection, that is, the terminal that started communication is the master terminal, and the terminal that returned the request and response (ACK + SYN) is the slave terminal. To do.

図6は、図1の無線端末によるセルラー通信からアドホック通信へのハンドオフ処理におけるマスター端末基本動作の流れを示すフローチャート(その1)であり、図7は、図1の無線端末によるセルラー通信からアドホック通信へのハンドオフ処理におけるマスター端末基本動作の流れを示すフローチャート(その2)である。   6 is a flowchart (part 1) showing a flow of basic operation of a master terminal in a handoff process from cellular communication to ad hoc communication by the wireless terminal in FIG. 1, and FIG. 7 is a flowchart from cellular communication to ad hoc by the wireless terminal in FIG. It is a flowchart (the 2) which shows the flow of a master terminal basic operation | movement in the handoff process to communication.

図6及び図7に示すように、先ず、マスター端末は、スレーブ端末とのセルラー通信開始時、TCP(Transmission Control Protocol)による通信接続の確立を完了する(ステップS101)。通信接続を確立すると、マスター端末は、自端末のMACアドレスに基づきBSSIDを生成して自端末内に登録し、登録後、BSSIDをスレーブ端末に送信する(ステップS102)。これにより、マスター端末とスレーブ端末との間でセルラー通信が開始される(ステップS103)。マスター端末とスレーブ端末でセルラー通信が確立されると同時に、マスター端末は、通信位置情報通知タイマーを起動する(ステップS104)。   As shown in FIGS. 6 and 7, first, the master terminal completes establishment of communication connection by TCP (Transmission Control Protocol) when cellular communication with the slave terminal is started (step S101). When the communication connection is established, the master terminal generates a BSSID based on the MAC address of the own terminal, registers the BSSID in the own terminal, and transmits the BSSID to the slave terminal after registration (step S102). Thereby, cellular communication is started between the master terminal and the slave terminal (step S103). At the same time that cellular communication is established between the master terminal and the slave terminal, the master terminal activates a communication position information notification timer (step S104).

次に、セルラー通信中をループ条件としてループ処理を開始し(ステップS105)、位置情報通知タイマーが満了したか否かを判定する(ステップS106)。判定の結果、位置情報通知タイマーが満了しない(No)場合、判定を繰り返し、一方、位置情報通知タイマーが満了した(Yes)場合、マスター端末は、自端末の位置情報をスレーブ端末に送信する(ステップS107)。
マスター端末による位置情報の送信後、マスター端末がスレーブ端末から応答を受信したか否かを判定する(ステップS108)。判定の結果、マスター端末が、スレーブ端末から応答を受信していない(No)場合、ステップS107へ戻って、自端末の位置情報をスレーブ端末に送信する。
Next, loop processing is started under the condition that cellular communication is being performed (step S105), and it is determined whether or not the position information notification timer has expired (step S106). If the position information notification timer does not expire as a result of the determination (No), the determination is repeated. On the other hand, if the position information notification timer expires (Yes), the master terminal transmits the position information of the own terminal to the slave terminal ( Step S107).
After the location information is transmitted by the master terminal, it is determined whether or not the master terminal has received a response from the slave terminal (step S108). As a result of the determination, if the master terminal has not received a response from the slave terminal (No), the process returns to step S107 to transmit the position information of the own terminal to the slave terminal.

ステップS108における判定の結果、マスター端末がスレーブ端末から応答を受信した(Yes)場合で、受信したのがアドホック可能応答であると、マスター端末は、セルラー通信を維持したまま、スレーブ端末へ、SSIDと事前に登録したBSSIDを使ってプローブリクエストを送信する(ステップS109)。このとき使用するSSIDは、サービス会社などから事前に与えられ、無線端末内部に登録済みのものとする。   As a result of the determination in step S108, if the master terminal receives a response from the slave terminal (Yes), and if the received response is an ad hoc possible response, the master terminal maintains the cellular communication and sends the SSID to the slave terminal. A probe request is transmitted using the BSSID registered in advance (step S109). The SSID used at this time is given in advance by a service company or the like, and is registered in the wireless terminal.

スレーブ端末へプローブリクエストを送信した後、マスター端末がスレーブ端末からプローブレスポンスを受信したか否かを判定する(ステップS110)。判定の結果、マスター端末がプローブレスポンスを受信する(Yes)と、マスター端末は、事前に登録したBSSIDと登録済みのSSIDが指定されているか否かを判定する(ステップS111)。判定の結果、指定されていない(No)場合、ステップS110へ戻って判定を繰り返し、一方、指定されている(Yes)場合、マスター端末は、スレーブ端末との間でアドホック接続を確立し、セルラー通信を切断する(ステップS112)。   After transmitting the probe request to the slave terminal, it is determined whether or not the master terminal has received a probe response from the slave terminal (step S110). As a result of the determination, when the master terminal receives the probe response (Yes), the master terminal determines whether or not a BSSID registered in advance and a registered SSID are specified (step S111). As a result of the determination, if it is not specified (No), the process returns to Step S110 and repeats the determination. On the other hand, if specified (Yes), the master terminal establishes an ad hoc connection with the slave terminal, and the cellular terminal The communication is disconnected (step S112).

なお、ステップS108における判定の結果、マスター端末がアドホック不能応答を受信した場合、及びステップS110における判定の結果、マスター端末がプローブレスポンスを受信できなかった(No)場合は、マスター端末は、スレーブ端末との間でセルラー通信を継続する。   As a result of the determination in step S108, if the master terminal has received an ad hoc non-response, and if the master terminal has not received a probe response as a result of determination in step S110 (No), the master terminal is a slave terminal Cellular communication will continue.

また、ステップS108における判定の結果、マスター端末がスレーブ端末から応答を受信した(Yes)場合で、受信したのがアドホック不能応答であると、また、ステップS110においてマスター端末がプローブレスポンスを受信できないと、マスター端末がスレーブ端末から位置情報を受信したか否かを判定する(ステップS113)。判定の結果、マスター端末がスレーブ端末から位置情報を受信していない(No)場合、判定を繰り返し、一方、マスター端末がスレーブ端末から位置情報を受信した(Yes)場合、マスター端末は、自端末の位置とスレーブ端末の位置が近いか否かを判定する(ステップS114)。   As a result of the determination in step S108, if the master terminal has received a response from the slave terminal (Yes), it is determined that the received ad hoc response is not possible, and in step S110 that the master terminal cannot receive a probe response. Then, it is determined whether or not the master terminal has received position information from the slave terminal (step S113). As a result of the determination, if the master terminal has not received the position information from the slave terminal (No), the determination is repeated. On the other hand, if the master terminal has received the position information from the slave terminal (Yes), the master terminal It is determined whether or not the position of the slave terminal is close to the position of the slave terminal (step S114).

ステップS114における判定の結果、自端末とスレーブ端末が近い(Yes)場合、マスター端末は、アドホック可能応答をスレーブ端末に送信し(ステップS115)、一方、自端末とスレーブ端末が近くない(No)場合、マスター端末は、アドホック不能応答をスレーブ端末に送信する(ステップS116)。   If the result of determination in step S114 is that the own terminal and the slave terminal are close (Yes), the master terminal transmits an ad hoc possible response to the slave terminal (step S115), while the self terminal and the slave terminal are not close (No). In this case, the master terminal transmits an ad hoc impossible response to the slave terminal (step S116).

マスター端末がアドホック可能応答をスレーブ端末に送信した後、マスター端末は、事前に登録したBSSIDと予め登録済みのSSIDを指定してビーコン送信を開始する(ステップS117)。ビーコン送信の開始後、マスター端末がスレーブ端末からプローブレスポンスを受信したか否かを判定する(ステップS118)。判定の結果、マスター端末がプローブレスポンスを受信した(Yes)場合、マスター端末は、事前に登録したBSSIDと登録済みのSSIDが指定されているか否かを判定し(ステップS119)、一方、マスター端末がプローブレスポンスを受信しない(No)場合、マスター端末はビーコンの送信を停止する(ステップS120)。   After the master terminal transmits an ad hoc response to the slave terminal, the master terminal designates the BSSID registered in advance and the SSID registered in advance, and starts beacon transmission (step S117). After the start of beacon transmission, it is determined whether or not the master terminal has received a probe response from the slave terminal (step S118). As a result of the determination, when the master terminal receives the probe response (Yes), the master terminal determines whether or not a previously registered BSSID and a registered SSID are specified (step S119), while the master terminal If no probe response is received (No), the master terminal stops transmitting beacons (step S120).

ステップS119における判定の結果、指定されていない(No)場合、ステップS118へ戻って判定を繰り返し、一方、指定されている(Yes)場合、即ち、スレーブ端末から、同じBSSID、SSIDが指定されたプローブリクエストを受信すると、マスター端末は、プローブレスポンスをスレーブ端末に送信する(ステップS121)。プローブレスポンスの送信後、マスター端末は、スレーブ端末との間でアドホック接続を確立する(ステップS122)。   If the result of determination in step S119 is not specified (No), the process returns to step S118 to repeat the determination. On the other hand, if specified (Yes), the same BSSID and SSID are specified from the slave terminal. When receiving the probe request, the master terminal transmits a probe response to the slave terminal (step S121). After transmitting the probe response, the master terminal establishes an ad hoc connection with the slave terminal (step S122).

ステップS116において、マスター端末がアドホック不能応答をスレーブ端末に送信した後、また、ステップS120において、マスター端末がビーコンの送信を停止した後、位置情報通知タイマーを起動してセルラー通信を継続し(ステップS123)、ループ処理を繰り返す。   After the master terminal transmits an ad hoc impossible response to the slave terminal in step S116, and after the master terminal stops transmitting beacons in step S120, the location information notification timer is started to continue cellular communication (step S120). S123), loop processing is repeated.

ステップS112及びステップS122において、マスター端末がスレーブ端末との間でアドホック接続を確立した後、通信パスをアドホック通信システムに切り換える(ステップS124)。アドホック通信システムへの切り換えに際し、マスター端末とスレーブ端末の何れも、IPアドレスはセルラー通信中に使用していたものを継続して利用する。そして、アドホック通信を開始し、セルラー通信は切断する(ステップS125)。
その後、マスター端末基本動作の処理を終了する。
In step S112 and step S122, after the master terminal establishes an ad hoc connection with the slave terminal, the communication path is switched to the ad hoc communication system (step S124). When switching to the ad hoc communication system, both the master terminal and the slave terminal continue to use the IP addresses used during the cellular communication. And ad hoc communication is started and cellular communication is cut | disconnected (step S125).
Thereafter, the master terminal basic operation processing is terminated.

なお、ここでは、位置情報を取得する手段は限定しないが、一例として、GPSを用いる方法、Active Setの情報を元におおよその位置を特定する方法などが挙げられる。
(スレーブ端末基本動作)
ここでは、IP通信を行なう場合について説明する。スレーブ端末は、マスター端末とのセルラー通信中にIP接続を確立する。このとき、スレーブ端末は、マスター端末から通知されたBSSIDを受信すると、このBSSIDを無線端末内に登録する。その後の動作は、最初にマスター端末から位置情報を受信すること以外、マスター端末の基本動作と同様である。
Here, the means for acquiring the position information is not limited, but examples include a method using GPS and a method of specifying an approximate position based on information of Active Set.
(Slave terminal basic operation)
Here, a case where IP communication is performed will be described. The slave terminal establishes an IP connection during cellular communication with the master terminal. At this time, when the slave terminal receives the BSSID notified from the master terminal, the slave terminal registers the BSSID in the wireless terminal. The subsequent operation is the same as the basic operation of the master terminal except that the position information is first received from the master terminal.

図8は、図1の無線端末によるセルラー通信からアドホック通信へのハンドオフ処理におけるスレーブ端末基本動作の流れを示すフローチャート(その1)であり、図9は、図1の無線端末によるセルラー通信からアドホック通信へのハンドオフ処理におけるスレーブ端末基本動作の流れを示すフローチャート(その2)である。
図8及び図9に示すように、先ず、スレーブ端末は、マスター端末とのセルラー通信開始時、TCPによる通信接続の確立を完了する(ステップS201)。通信接続を確立すると、スレーブ端末は、マスター端末から送信されたBSSIDを受信し、登録する(ステップS202)。これにより、スレーブ端末とマスター端末との間でセルラー通信が開始される(ステップS203)。
FIG. 8 is a flowchart (part 1) illustrating a flow of basic operation of a slave terminal in a handoff process from cellular communication to ad hoc communication by the wireless terminal in FIG. 1, and FIG. 9 is a flowchart from cellular communication to ad hoc by the wireless terminal in FIG. It is a flowchart (the 2) which shows the flow of a slave terminal basic operation | movement in the handoff process for communication.
As shown in FIGS. 8 and 9, first, the slave terminal completes establishment of communication connection by TCP when cellular communication with the master terminal is started (step S201). When the communication connection is established, the slave terminal receives and registers the BSSID transmitted from the master terminal (step S202). Thereby, cellular communication is started between the slave terminal and the master terminal (step S203).

次に、セルラー通信中をループ条件としてループ処理を開始し(ステップS204)、スレーブ端末がマスター端末から位置情報を受信したか否かを判定する(ステップS205)。判定の結果、スレーブ端末がマスター端末から位置情報を受信していない(No)場合、判定を繰り返し、一方、スレーブ端末がマスター端末から位置情報を受信した(Yes)場合、スレーブ端末は、自端末の位置とマスター端末の位置が近いか否かを判定する(ステップS206)。   Next, loop processing is started under the condition that cellular communication is being performed (step S204), and it is determined whether or not the slave terminal has received location information from the master terminal (step S205). As a result of the determination, if the slave terminal has not received the position information from the master terminal (No), the determination is repeated. On the other hand, if the slave terminal has received the position information from the master terminal (Yes), the slave terminal It is determined whether or not the position of the master terminal and the position of the master terminal are close (step S206).

ステップS206における判定の結果、自端末とマスター端末が近くない(No)場合、スレーブ端末は、アドホック不能応答をマスター端末に送信し(ステップS207)、一方、自端末とマスター端末が近い(Yes)場合、スレーブ端末は、アドホック可能応答をマスター端末に送信する(ステップS208)。   If the result of determination in step S206 is that the terminal is not close to the master terminal (No), the slave terminal sends an ad hoc incapable response to the master terminal (step S207), while the terminal is close to the master terminal (Yes). In this case, the slave terminal transmits an ad hoc response to the master terminal (step S208).

アドホック可能応答をマスター端末に送信した後、スレーブ端末は、事前に登録したBSSIDと登録済みのSSIDを指定してビーコンの送信を開始する(ステップS209)。ビーコンの送信開始後、スレーブ端末がプローブリクエストを受信したか否かを判定し(ステップS210)、判定の結果、プローブリクエストを受信していない(No)場合、スレーブ端末はビーコンの送信を停止し(ステップS211)、プローブリクエストを受信した(Yes)場合、スレーブ端末は、事前に登録したBSSIDと登録済みのSSIDが指定されているか否かを判定する(ステップS212)。   After transmitting the ad hoc possible response to the master terminal, the slave terminal designates the BSSID registered in advance and the registered SSID, and starts transmitting a beacon (step S209). After the start of beacon transmission, it is determined whether the slave terminal has received a probe request (step S210). If the result of determination is that no probe request has been received (No), the slave terminal stops transmitting beacons. (Step S211) When the probe request is received (Yes), the slave terminal determines whether or not a previously registered BSSID and a registered SSID are specified (Step S212).

ステップS212における判定の結果、プローブリクエストに事前に登録したBSSIDと登録済みのSSIDが指定されていない(No)場合、ステップS210へ戻って判定を繰り返し、一方、指定されている(Yes)場合、即ち、マスター端末から、同じBSSID、SSIDが指定されたプローブリクエストを受信すると、スレーブ端末は、プローブレスポンスをマスター端末に送信する(ステップS213)。プローブレスポンスの送信後、スレーブ端末は、マスター端末との間でアドホック接続を確立する(ステップS214)。   As a result of the determination in step S212, if the BSSID registered in advance and the registered SSID are not specified in the probe request (No), the process returns to step S210 and repeats the determination. On the other hand, if specified (Yes), That is, when receiving a probe request in which the same BSSID and SSID are specified from the master terminal, the slave terminal transmits a probe response to the master terminal (step S213). After transmitting the probe response, the slave terminal establishes an ad hoc connection with the master terminal (step S214).

ステップS207において、スレーブ端末がアドホック不能応答をマスター端末に送信した後、また、ステップS211において、スレーブ端末がビーコンの送信を停止した後、スレーブ端末は、位置情報通知タイマーを起動する(ステップS215)。位置情報通知タイマーの起動後、位置情報通知タイマーが満了したか否かを判定し(ステップS216)、位置情報通知タイマーが満了していない(No)場合、判定を繰り返し、一方、位置情報通知タイマーが満了した(Yes)場合、スレーブ端末は、自端末の位置情報をマスター端末に送信する(ステップS217)。   In step S207, after the slave terminal transmits an ad hoc incapable response to the master terminal, and in step S211, after the slave terminal stops transmitting beacons, the slave terminal starts a position information notification timer (step S215). . After starting the position information notification timer, it is determined whether or not the position information notification timer has expired (step S216). If the position information notification timer has not expired (No), the determination is repeated, while the position information notification timer Is completed (Yes), the slave terminal transmits the position information of the own terminal to the master terminal (step S217).

スレーブ端末による位置情報の送信後、スレーブ端末がマスター端末から応答を受信したか否かを判定する(ステップS218)。判定の結果、スレーブ端末が、マスター端末から応答を受信していない(No)場合、ステップS217へ戻って、自端末の位置情報をマスター端末に送信する。
ステップS218における判定の結果、スレーブ端末がマスター端末から応答を受信した(Yes)場合で、受信したのがアドホック可能応答であると、スレーブ端末は、セルラー通信を維持したまま、マスター端末へ、SSIDと事前に登録したBSSIDを使ってプローブリクエストを送信する(ステップS219)。このとき使用するSSIDは、サービス会社などから事前に与えられ、無線端末内部に登録済みのものとする。
After the position information is transmitted by the slave terminal, it is determined whether the slave terminal has received a response from the master terminal (step S218). As a result of the determination, if the slave terminal has not received a response from the master terminal (No), the process returns to step S217 to transmit the position information of the own terminal to the master terminal.
As a result of the determination in step S218, if the slave terminal has received a response from the master terminal (Yes), and if the received response is an ad hoc response, the slave terminal maintains the cellular communication and sends the SSID to the master terminal. A probe request is transmitted using the BSSID registered in advance (step S219). The SSID used at this time is given in advance by a service company or the like, and is registered in the wireless terminal.

マスター端末へプローブリクエストを送信した後、スレーブ端末がマスター端末からプローブレスポンスを受信したか否かを判定する(ステップS220)。判定の結果、スレーブ端末がプローブレスポンスを受信する(Yes)と、スレーブ端末は、事前に登録したBSSIDと登録済みのSSIDが指定されているか否かを判定する(ステップS221)。判定の結果、プローブレスポンスに事前に登録したBSSIDと登録済みのSSIDが指定されていない(No)場合、ステップS220へ戻って判定を繰り返し、一方、指定されている(Yes)場合、スレーブ端末は、マスター端末との間でアドホック接続を確立する(ステップS222)。   After transmitting a probe request to the master terminal, it is determined whether the slave terminal has received a probe response from the master terminal (step S220). As a result of the determination, when the slave terminal receives the probe response (Yes), the slave terminal determines whether the BSSID registered in advance and the registered SSID are specified (step S221). As a result of the determination, when the BSSID registered in advance and the registered SSID are not specified in the probe response (No), the process returns to Step S220 and repeats the determination. On the other hand, if specified (Yes), the slave terminal Then, an ad hoc connection is established with the master terminal (step S222).

ステップS218における判定の結果、スレーブ端末がマスター端末から応答を受信した(Yes)場合で、受信したのがアドホック不能応答であると、また、ステップS220においてスレーブ端末がプローブレスポンスを受信できない(No)と、セルラー通信を継続してループ処理を繰り返す。   As a result of the determination in step S218, when the slave terminal has received a response from the master terminal (Yes), if the received response is an ad hoc incapable response, the slave terminal cannot receive a probe response in step S220 (No). Then, the cellular communication is continued and the loop process is repeated.

ステップS214及びステップS222において、スレーブ端末がマスター端末との間でアドホック接続を確立した後、通信パスをアドホック通信システムに切り換える(ステップS223)。アドホック通信システムへの切り換えに際し、スレーブ端末とマスター端末の何れも、IPアドレスはセルラー通信中に使用していたものを継続して利用する。そして、アドホック通信を開始し、セルラー通信は切断する(ステップS224)。
ここでは、一例として位置情報を定期的に交換する方法を挙げたが、アドホック接続を試みるきっかけはこの限りではなく、例えば、アドホックサーチ(待ち受け)を促すメッセージを、マスター端末とスレーブ端末の間で定期的にやり取りしてもよい。
In step S214 and step S222, after the slave terminal establishes an ad hoc connection with the master terminal, the communication path is switched to the ad hoc communication system (step S223). When switching to the ad hoc communication system, both the slave terminal and the master terminal continue to use the IP addresses used during the cellular communication. And ad hoc communication is started and cellular communication is cut | disconnected (step S224).
Here, as an example, the method of periodically exchanging location information has been described. However, this is not the only reason why an ad hoc connection is attempted. For example, a message prompting an ad hoc search (standby) is sent between a master terminal and a slave terminal. You may communicate regularly.

(マスター端末切断時動作)
図10は、図1の無線端末によるセルラー通信からアドホック通信へのハンドオフ処理におけるマスター端末切断時動作の流れを示すフローチャートである。図10に示すように、先ず、セルラー通信中をループ条件としてループ処理を開始し(ステップS301)、通信切断イベントがあるか否かを判定する(ステップS302)。つまり、セルラー通信中に利用者からの指示を除いたことが原因(例えば、圏外遷移やネットワーク障害など)で、マスター端末とスレーブ端末との間のセルラー通信による接続が切断されたか否かを判定する。
(Operation when master terminal is disconnected)
FIG. 10 is a flowchart showing a flow of an operation when the master terminal is disconnected in the handoff process from the cellular communication to the ad hoc communication by the wireless terminal of FIG. As shown in FIG. 10, first, loop processing is started with the cellular communication being performed as a loop condition (step S301), and it is determined whether there is a communication disconnection event (step S302). In other words, it is determined whether or not the connection by the cellular communication between the master terminal and the slave terminal has been disconnected due to the removal of the instruction from the user during the cellular communication (for example, out-of-service transition or network failure). To do.

ステップS302における判定の結果、通信切断イベントがある(Yes)場合、マスター端末は、事前に登録したBSSIDとSSIDを指定してビーコンの送信を開始し(ステップS303)、一方、通信切断イベントがない(No)場合、マスター端末は、ループ処理を繰り返す。このとき使用するSSIDは、サービス会社などから与えられ、予め登録済みのものとする。   If the result of determination in step S302 is that there is a communication disconnection event (Yes), the master terminal starts transmitting beacons by specifying the BSSID and SSID registered in advance (step S303), while there is no communication disconnection event. If (No), the master terminal repeats the loop processing. The SSID used at this time is given by a service company or the like and is registered in advance.

ビーコンの送信を開始した後、マスター端末がスレーブ端末からプローブリクエストを受信したか否かを判定する(ステップS304)。判定の結果、スレーブ端末からプローブリクエストを受信した(Yes)場合、マスター端末は、受信したプローブリクエストが、事前に登録したBSSIDと登録済みのSSIDが指定されているか否かを判定する(ステップS305)。   After starting the transmission of the beacon, it is determined whether or not the master terminal has received a probe request from the slave terminal (step S304). As a result of the determination, when the probe request is received from the slave terminal (Yes), the master terminal determines whether the received probe request specifies the BSSID registered in advance and the registered SSID (step S305). ).

ステップS305の判定において、プローブリクエストに事前に登録したBSSIDと登録済みのSSIDが指定されていない(No)場合、ステップS304へ戻って判定を繰り返し、一方、指定されている(Yes)場合、即ち、スレーブ端末から、同じBSSID、SSIDが指定されたプローブリクエストを受信すると、マスター端末は、プローブレスポンスをスレーブ端末に送信する(ステップS306)。プローブレスポンスの送信後、マスター端末は、スレーブ端末との間でアドホック接続を確立する(ステップS307)。その後、マスター端末とスレーブ端末は、アドホック通信を開始し、セルラー通信を切断する(ステップS308)。その後、マスター端末切断時動作の処理を終了する。   If the BSSID registered in advance and the registered SSID are not specified in the probe request in the determination in step S305 (No), the process returns to step S304 to repeat the determination, while if specified (Yes), that is, When receiving the probe request in which the same BSSID and SSID are designated from the slave terminal, the master terminal transmits a probe response to the slave terminal (step S306). After transmitting the probe response, the master terminal establishes an ad hoc connection with the slave terminal (step S307). Thereafter, the master terminal and the slave terminal start ad hoc communication and disconnect cellular communication (step S308). Thereafter, the processing of the operation when the master terminal is disconnected is terminated.

一方、ステップS304の判定の結果、スレーブ端末からプローブリクエストを受信できなかった(No)場合、マスター端末は、ビーコンの送信を停止する(ステップS309)。この場合、マスター端末とスレーブ端末との間でアドホック通信を接続できなかったことになる。その後、マスター端末切断時動作の処理を終了する。
(スレーブ端末切断時動作)
図11は、図1の無線端末によるセルラー通信からアドホック通信へのハンドオフ処理におけるスレーブ端末切断時動作の流れを示すフローチャートである。図11に示すように、先ず、セルラー通信中をループ条件としてループ処理を開始し(ステップS401)、通信切断イベントがあるか否かを判定する(ステップS402)。
On the other hand, if the result of determination in step S304 is that a probe request could not be received from the slave terminal (No), the master terminal stops transmitting beacons (step S309). In this case, ad hoc communication could not be connected between the master terminal and the slave terminal. Thereafter, the processing of the operation when the master terminal is disconnected is terminated.
(Operation when slave terminal is disconnected)
FIG. 11 is a flowchart showing a flow of operation when the slave terminal is disconnected in the handoff process from the cellular communication to the ad hoc communication by the wireless terminal of FIG. As shown in FIG. 11, first, loop processing is started with the cellular communication being performed as a loop condition (step S401), and it is determined whether there is a communication disconnection event (step S402).

つまり、セルラー通信中に利用者からの指示を除いたことが原因(例えば、圏外遷移やネットワーク障害など)で、スレーブ端末とマスター端末との間のセルラー通信による接続が切断されたか否かを判定する。
ステップS402における判定の結果、通信切断イベントがある(Yes)場合、スレーブ端末は、事前に登録したBSSIDとSSIDを指定してプローブリクエストの送信を開始し(ステップS403)、一方、通信切断イベントがない(No)場合、マスター端末は、ループ処理を繰り返す。このとき使用するSSIDは、サービス会社などから与えられ、予め登録済みのものとする。
In other words, it is determined whether or not the connection by the cellular communication between the slave terminal and the master terminal is disconnected due to the removal of the instruction from the user during the cellular communication (for example, out-of-service transition or network failure). To do.
As a result of the determination in step S402, if there is a communication disconnection event (Yes), the slave terminal starts transmitting a probe request by specifying the BSSID and SSID registered in advance (step S403). If not (No), the master terminal repeats the loop processing. The SSID used at this time is given by a service company or the like and is registered in advance.

プローブリクエストの送信を開始した後、スレーブ端末がマスター端末からプローブレスポンスを受信したか否かを判定する(ステップS404)。判定の結果、マスター端末からプローブレスポンスを受信した(Yes)場合、スレーブ端末は、受信したプローブレスポンスが、事前に登録したBSSIDと登録済みのSSIDが指定されているか否かを判定する(ステップS405)。   After starting the transmission of the probe request, it is determined whether or not the slave terminal has received a probe response from the master terminal (step S404). When the probe response is received from the master terminal as a result of the determination (Yes), the slave terminal determines whether the received probe response specifies a BSSID registered in advance and a registered SSID (step S405). ).

ステップS405の判定において、プローブレスポンスに事前に登録したBSSIDと登録済みのSSIDが指定されていない(No)場合、ステップS404へ戻って判定を繰り返し、一方、指定されている(Yes)場合、即ち、マスター端末から、同じBSSID、SSIDが指定されたプローブレスポンスを受信すると、スレーブ端末は、マスター端末との間でアドホック接続を確立する(ステップS406)。その後、スレーブ端末とマスター端末は、アドホック通信を開始し、セルラー通信を切断する(ステップS407)。その後、スレーブ端末切断時動作の処理を終了する。   When the BSSID registered in advance and the registered SSID are not specified in the probe response in the determination in step S405 (No), the process returns to step S404 and the determination is repeated. On the other hand, if it is specified (Yes), that is, When receiving the probe response in which the same BSSID and SSID are specified from the master terminal, the slave terminal establishes an ad hoc connection with the master terminal (step S406). Thereafter, the slave terminal and the master terminal start ad hoc communication and disconnect cellular communication (step S407). Thereafter, the processing of the operation when the slave terminal is disconnected ends.

一方、ステップS404の判定の結果、マスター端末からプローブレスポンスを受信できなかった(No)場合、スレーブ端末は、スレーブ端末切断時動作の処理を終了する。   On the other hand, as a result of the determination in step S404, if the probe response cannot be received from the master terminal (No), the slave terminal ends the operation of the slave terminal disconnection operation.

(アドホック通信中動作1)
図12は、図1の無線端末によるアドホック通信中の動作1の流れを示すフローチャートである。図12に示すように、先ず、アドホック通信中をループ条件としてループ処理を開始し(ステップS501)、アドホック通信中の両端末は、BSSIDの更新タイミングか否かを判定する(ステップS502)。
(Operation during ad hoc communication 1)
FIG. 12 is a flowchart showing a flow of operation 1 during ad hoc communication by the wireless terminal of FIG. As shown in FIG. 12, first, loop processing is started with ad hoc communication being performed as a loop condition (step S501), and both terminals in ad hoc communication determine whether or not it is the BSSID update timing (step S502).

判定の結果、BSSIDの更新タイミングである(Yes)場合、現在使用中のBSSIDを端末内に登録し(ステップS503)、一方、BSSIDの更新タイミングでない(No)場合、ループ処理を繰り返す。
つまり、アドホック通信中の両端末は、BSSIDの更新タイミング毎に現在使用中のBSSIDを端末内に登録する。BSSIDの更新タイミングは、一定時間(例えば、アドホック通信開始後5〜10秒程度)とするが、不定期としてもよい。不定期に更新する方法としては、直前のビーコンのタイムスタンプ値とハッシュ関数(両端末で同一のものを使用)から算出された5〜10秒程度の幅に分散する値を、更新時間として用いる方法が挙げられる。この場合は、BSSIDを更新した時点で次に更新するまでの時間を算出する。
As a result of the determination, if it is the BSSID update timing (Yes), the BSSID currently in use is registered in the terminal (step S503). On the other hand, if it is not the BSSID update timing (No), the loop process is repeated.
That is, both terminals in ad hoc communication register the BSSID currently in use in the terminal at every BSSID update timing. The update timing of the BSSID is a fixed time (for example, about 5 to 10 seconds after the start of ad hoc communication), but may be irregular. As a method of updating irregularly, a value distributed over a range of about 5 to 10 seconds calculated from the time stamp value of the previous beacon and the hash function (the same is used in both terminals) is used as the update time. A method is mentioned. In this case, the time until the next update is calculated when the BSSID is updated.

また、端末内には、過去2回以上のBSSIDを登録しておくものとする。これにより、プローブリクエストを送った後にBSSID更新タイミングが来た場合に、プローブレスポンスのBSSIDが食い違うのを防ぐことができる。
次に、アドホック通信中の両端末は、BSSIDを端末内に登録した後、現在のBSSIDと直前のビーコンのタイムスタンプ値から新しいBSSIDを生成する(ステップS504)。この新しいBSSID(New BSSID)は、現在のBSSID(Current BSSID)と直前のビーコンのタイムスタンプ値から生成したSeedを元に、例えばRC4アルゴリズムによって暗号化され生成される(図5参照)。
Also, it is assumed that BSSIDs are registered twice or more in the terminal in the past. Thereby, when the BSSID update timing comes after sending the probe request, it is possible to prevent the BSSID of the probe response from being different.
Next, both terminals in ad hoc communication register a BSSID in the terminal, and then generate a new BSSID from the current BSSID and the time stamp value of the immediately preceding beacon (step S504). The new BSSID (New BSSID) is encrypted and generated by, for example, the RC4 algorithm based on the Seed generated from the current BSSID (Current BSSID) and the time stamp value of the immediately preceding beacon (see FIG. 5).

新しいBSSIDを生成した後、その生成された新しいBSSIDを使用して、アドホック通信中の両端末はアドホック通信を継続する(ステップS505)。   After generating a new BSSID, both terminals in ad hoc communication continue ad hoc communication using the generated new BSSID (step S505).

(アドホック通信中動作2)
図13は、図1の無線端末によるアドホック通信中の動作2の流れを示すフローチャートである。図13に示すように、先ず、アドホック通信中をループ条件としてループ処理を開始し(ステップS601)、アドホック通信中の端末が、他端末からプローブリクエスト(SSIDは登録済みの共通情報)を受信したか否かを判定する(ステップS602)。
(Operation during ad hoc communication 2)
FIG. 13 is a flowchart showing a flow of operation 2 during ad hoc communication by the wireless terminal of FIG. As shown in FIG. 13, first, loop processing is started under the condition of ad hoc communication as a loop condition (step S601), and the terminal in ad hoc communication receives a probe request (SSID is registered common information) from another terminal. It is determined whether or not (step S602).

ステップS602における判定の結果、アドホック通信中の端末がプローブリクエストを受信した(Yes)場合、プローブリクエストのBSSIDが未指定か否かを判定し(ステップS603)、ステップS603における判定の結果、BSSIDが未指定でない(No)場合、BSSIDが現在使用中のもの或いは端末内に登録されているものか否かを判定する(ステップS604)。   If the result of determination in step S602 is that the terminal in ad hoc communication has received a probe request (Yes), it is determined whether or not the BSSID of the probe request is unspecified (step S603), and as a result of determination in step S603, the BSSID is If it is not unspecified (No), it is determined whether the BSSID is currently in use or registered in the terminal (step S604).

ステップS604における判定の結果、BSSIDが現在使用中のもの或いは端末内に登録されているものである(Yes)場合、アドホック通信中の端末は、現在使用中のBSSIDを指定してプローブレスポンスを送信する(ステップS605)。プローブレスポンスを送信した後、アドホック通信中の端末が、他の端末からのプローブレスポンスを受信したか否かを判定する(ステップS606)。   If the result of determination in step S604 is that the BSSID is currently in use or registered in the terminal (Yes), the terminal in ad hoc communication transmits a probe response specifying the BSSID currently in use (Step S605). After transmitting the probe response, it is determined whether the terminal in ad hoc communication has received a probe response from another terminal (step S606).

一方、ステップS602における判定の結果、アドホック通信中の端末がプローブリクエストを受信しない(No)場合、また、ステップS603における判定の結果、BSSIDが未指定である(Yes)場合、また、ステップS604における判定の結果、BSSIDが現在使用中のもの或いは端末内に登録されているものでない(No)場合、アドホック通信中の端末が、他の端末からのプローブレスポンスを受信したか否かを判定する(ステップS606)。   On the other hand, if the result of determination in step S602 is that the terminal in ad hoc communication does not receive a probe request (No), or if the result of determination in step S603 is that BSSID is unspecified (Yes), or in step S604 As a result of the determination, if the BSSID is not currently used or registered in the terminal (No), it is determined whether the terminal in ad hoc communication has received a probe response from another terminal ( Step S606).

次に、ステップS606における判定の結果、アドホック通信中の端末がプローブレスポンスを受信した(Yes)場合、BSSIDが現在使用中のもの或いは端末内に登録されているものか否かを判定する(ステップS607)。ステップS607における判定の結果、BSSIDが現在使用中のもの或いは端末内に登録されているものである(Yes)場合、アドホック通信中の端末は、現在使用中のBSSIDを指定してアドホック通信を継続して(ステップS608)ループ処理を繰り返す。   Next, if the result of determination in step S606 is that the terminal in ad hoc communication has received a probe response (Yes), it is determined whether the BSSID is currently in use or registered in the terminal (step S606). S607). If the result of determination in step S607 is that the BSSID is currently in use or registered in the terminal (Yes), the ad hoc communication terminal specifies the currently used BSSID and continues ad hoc communication. (Step S608), the loop process is repeated.

一方、ステップS606における判定の結果、アドホック通信中の端末がプローブレスポンスを受信しない(No)場合、また、ステップS607における判定の結果、BSSIDが現在使用中のもの或いは端末内に登録されているものでない(No)場合、ループ処理を繰り返す。
つまり、アドホック通信中に他端末からSSIDが同一のプローブリクエストを受信した場合、受信した端末は、BSSIDの値をチェックする。チェックの結果、BSSIDが未指定(オールF)の場合、受信した端末は、送信した端末が所望の相手ではないと判断するため、プローブレスポンスは返さない。
On the other hand, if the result of determination in step S606 is that the terminal in ad hoc communication does not receive a probe response (No), or the result of determination in step S607 is that the BSSID is currently in use or registered in the terminal If not (No), the loop process is repeated.
That is, when a probe request having the same SSID is received from another terminal during ad hoc communication, the received terminal checks the value of the BSSID. If the BSSID is not specified (all F) as a result of the check, the received terminal determines that the transmitted terminal is not the desired partner, and therefore does not return a probe response.

一方、BSSIDが現在使用中のもの若しくは端末内に登録されている過去のものの何れかであった場合、受信した端末は、送信した端末は所望の相手であると判断し、現在使用中のBSSIDを指定してプローブレスポンスを送信する(ステップS605)。ここで、BSSIDが現在使用中のものばかりでなく端末内に登録されている過去のものについても判断対象とするのは、相手端末がプローブリクエストを送信した後、当該プローブリクエストを自端末が受信する前にBSSIDが更新された場合を考慮しているからである。そして、前記BSSID以外のBSSIDが指定されていた場合、送信した端末は所望の相手ではないと判断し、プローブレスポンスは返さない。   On the other hand, if the BSSID is either currently used or the past registered in the terminal, the received terminal determines that the transmitted terminal is the desired partner, and the BSSID currently in use. Is designated and a probe response is transmitted (step S605). Here, not only the BSSID that is currently in use but also the past ones registered in the terminal are subject to judgment. After the partner terminal transmits the probe request, the own terminal receives the probe request. This is because the case where the BSSID is updated before the process is taken into consideration. If a BSSID other than the BSSID is specified, it is determined that the transmitted terminal is not a desired partner, and no probe response is returned.

また、アドホック通信中に他端末からプローブレスポンスを受信した場合も、受信した端末はBSSIDの値をチェックする。チェックの結果、BSSIDが現在使用中のもの若しくは端末内に登録されている過去のものの何れかであった場合、受信した端末は、送信した端末は所望の相手であると判断し、現在使用中のBSSIDを使用してアドホック通信を継続する。ここで、BSSIDが現在使用中のものばかりでなく端末内に登録されている過去のものについても判断対象とするのは、相手端末がプローブリクエストを送信した後、当該プローブリクエストを自端末が受信する前にBSSIDが更新された場合を考慮しているからである。前記BSSID以外のBSSIDが指定されていた場合、送信した端末は所望の相手ではないと判断し、アドホック通信は行わない。   Also, when a probe response is received from another terminal during ad hoc communication, the received terminal checks the BSSID value. As a result of the check, if the BSSID is either currently used or past registered in the terminal, the received terminal determines that the transmitted terminal is a desired partner and is currently in use. Ad-hoc communication is continued using the BSSID. Here, not only the BSSID that is currently in use but also the past ones registered in the terminal are subject to judgment. After the partner terminal transmits the probe request, the own terminal receives the probe request. This is because the case where the BSSID is updated before the process is taken into consideration. If a BSSID other than the BSSID is specified, it is determined that the transmitting terminal is not a desired partner, and ad hoc communication is not performed.

上述したように、アドホック通信中動作1の処理(図12参照)とアドホック通信中動作2の処理(図13参照)は、他の端末が後からアドホックネットワークに参加することを許可しない場合の処理を示しているが、他の端末の加入を許可できるようにしても良い。他の端末の加入を許可できるように設定した場合、BSSIDを更新することを止め、SSIDが同一でBSSIDが未指定のプローブリクエストに対してプローブレスポンスを返すようにすればよい。   As described above, the process in the operation 1 during ad hoc communication (see FIG. 12) and the process in the operation 2 during ad hoc communication (see FIG. 13) are performed when other terminals are not allowed to join the ad hoc network later. However, it may be possible to permit the participation of other terminals. When setting is made so that the participation of other terminals can be permitted, updating of the BSSID may be stopped, and a probe response may be returned in response to a probe request with the same SSID and an unspecified BSSID.

なお、アドホック通信中動作2(図13参照)において、ステップS602〜ステップS605迄のプローブリクエストの受信に伴う処理と、ステップS606〜ステップS608迄のプローブレスポンスの受信に伴う処理は、入れ替えて行っても良い。つまり、ステップS606〜ステップS608迄のプローブレスポンスの受信に伴う処理を先に行って、その後に、ステップS602〜ステップS605迄のプローブリクエストの受信に伴う処理を行っても良い。   Note that in the operation 2 during ad hoc communication (see FIG. 13), the processing associated with reception of the probe request from step S602 to step S605 and the processing associated with reception of the probe response from step S606 to step S608 are interchanged. Also good. That is, the process associated with reception of the probe response from step S606 to step S608 may be performed first, and then the process associated with reception of the probe request from step S602 to step S605 may be performed.

このように、この発明に係る無線端末10により、セルラー通信からアドホック通信に切り替える際、ネットワーク識別子にSSIDの他にBSSIDを指定することで、通信する相手端末を特定した状態で通信を継続することができる。このため、通信相手ではない他端末と無駄な接続を行なうことによる通信性能の低下を防ぐことができる。
また、ネットワーク識別子であるBSSIDを定期的に更新することにより、自端末が接続しているアドホックネットワークに、通信する相手端末ではない他端末が容易に参加するのを防ぐことができる。このため、無駄な通信による性能低下を防ぐことができる。
As described above, when switching from cellular communication to ad hoc communication by the wireless terminal 10 according to the present invention, by specifying BSSID in addition to SSID as a network identifier, communication is continued in a state in which a partner terminal for communication is specified. Can do. For this reason, it is possible to prevent a decrease in communication performance due to useless connection with another terminal that is not the communication partner.
In addition, by periodically updating the BSSID that is a network identifier, it is possible to prevent other terminals that are not communicating counterpart terminals from easily joining the ad hoc network to which the terminal is connected. For this reason, it is possible to prevent performance degradation due to useless communication.

また、定期的に更新するネットワーク識別子をBSSIDとしたことにより、更新した後もアドホック通信をスムースに継続することができるが、一方、ネットワーク識別子としてSSIDを用いた場合、更新する度に接続が途切れるためアドホック通信を維持することができない。そこで、SSIDは既知のものを使用し、通信開始時に共通のBSSIDを登録しておくことで、通信する相手端末との距離が近くなったときだけでなく、何らかの原因でセルラー通信が切断された場合にも、アドホック通信に切り替えて相手を特定したまま通信を継続することができる。   In addition, by using BSSID as the network identifier that is periodically updated, ad hoc communication can be continued smoothly even after updating. On the other hand, when the SSID is used as the network identifier, the connection is interrupted each time it is updated. Therefore, ad hoc communication cannot be maintained. Therefore, by using a known SSID and registering a common BSSID at the start of communication, the cellular communication was disconnected not only when the distance to the communicating partner terminal became short, but also for some reason. Even in this case, it is possible to continue communication while switching to ad hoc communication and specifying the other party.

なお、本発明は、上述した実施の形態により説明したが、この実施の形態に限定されるものではない。従って、本発明の趣旨を逸脱することなく変更態様として実施するものも含むものである。   Although the present invention has been described with reference to the above-described embodiment, it is not limited to this embodiment. Therefore, what is implemented as a change aspect without deviating from the meaning of the present invention is also included.

この発明の一実施の形態に係る無線端末の回路構成を示すブロック図である。It is a block diagram which shows the circuit structure of the radio | wireless terminal which concerns on one embodiment of this invention. 端末によるセルラー通信中の状態を概念的に示す説明図である。It is explanatory drawing which shows notionally the state in cellular communication by a terminal. 端末によるセルラー通信中において、アドホック通信可能エリアに移動した後の状態を概念的に示す説明図である。It is explanatory drawing which shows notionally the state after moving to an ad hoc communication possible area in the cellular communication by a terminal. 端末によるアドホック通信中の状態を概念的に示す説明図である。It is explanatory drawing which shows notionally the state during the ad hoc communication by a terminal. BSSIDの更新処理を示す概念説明図である。It is a conceptual explanatory drawing which shows the update process of BSSID. 図1の無線端末によるセルラー通信からアドホック通信へのハンドオフ処理におけるマスター端末基本動作の流れを示すフローチャート(その1)である。7 is a flowchart (part 1) showing a flow of basic operation of a master terminal in a handoff process from cellular communication to ad hoc communication by the wireless terminal of FIG. 1; 図1の無線端末によるセルラー通信からアドホック通信へのハンドオフ処理におけるマスター端末基本動作の流れを示すフローチャート(その2)である。FIG. 6 is a flowchart (part 2) illustrating a flow of basic operation of a master terminal in handoff processing from cellular communication to ad hoc communication by the wireless terminal of FIG. 1. 図1の無線端末によるセルラー通信からアドホック通信へのハンドオフ処理におけるスレーブ端末基本動作の流れを示すフローチャート(その1)である。4 is a flowchart (part 1) illustrating a flow of a basic operation of a slave terminal in a handoff process from cellular communication to ad hoc communication by the wireless terminal of FIG. 1; 図1の無線端末によるセルラー通信からアドホック通信へのハンドオフ処理におけるスレーブ端末基本動作の流れを示すフローチャート(その2)である。6 is a flowchart (part 2) illustrating a flow of a basic operation of a slave terminal in a handoff process from cellular communication to ad hoc communication by the wireless terminal of FIG. 1. 図1の無線端末によるセルラー通信からアドホック通信へのハンドオフ処理におけるマスター端末切断時動作の流れを示すフローチャートである。3 is a flowchart showing a flow of an operation when a master terminal is disconnected in a handoff process from cellular communication to ad hoc communication by the wireless terminal of FIG. 1. 図1の無線端末によるセルラー通信からアドホック通信へのハンドオフ処理におけるスレーブ端末切断時動作の流れを示すフローチャートである。2 is a flowchart showing a flow of an operation when a slave terminal is disconnected in a handoff process from cellular communication to ad hoc communication by the wireless terminal of FIG. 1. 図1の無線端末によるアドホック通信中の動作1の流れを示すフローチャートである。6 is a flowchart showing a flow of operation 1 during ad hoc communication by the wireless terminal of FIG. 1. 図1の無線端末によるアドホック通信中の動作2の流れを示すフローチャートである。7 is a flowchart showing a flow of operation 2 during ad hoc communication by the wireless terminal of FIG. 1.

符号の説明Explanation of symbols

10 無線端末
11 セルラー通信部
12 アドホック通信部
13 BSSID生成部
14 アドホック情報記憶部
15 位置情報取得部
16 位置情報送受信部
17 位置情報判定部
18 アドホック可否応答送受信部
19 入力部
20 表示部
21 タイマー部
22 割り込み設定部
23 制御部
24 相手端末
25a〜25d 他端末
A,B アドホックネットワーク
DESCRIPTION OF SYMBOLS 10 Wireless terminal 11 Cellular communication part 12 Ad hoc communication part 13 BSSID production | generation part 14 Ad hoc information storage part 15 Location information acquisition part 16 Position information transmission / reception part 17 Position information determination part 18 Ad hoc availability response transmission / reception part 19 Input part 20 Display part 21 Timer part 22 Interrupt setting unit 23 Control unit 24 Counterpart terminals 25a to 25d Other terminals A, B Ad hoc network

Claims (4)

一または複数の他の無線端末とのアドホック通信を行うアドホック通信部と、
インフラネットワークの基地局を介して他の無線端末との通信を行うインフラネットワーク通信部と、
前記アドホック通信に用いるBSSIDを生成するBSSID生成部と、
前記BSSID生成部により生成されたBSSIDを記憶する記憶部と、
前記アドホック通信部で受信されるプローブリクエストに前記記憶部に記憶されるBSSIDと同一のBSSIDが含まれるか否かを判定する判定部と、
前記インフラネットワーク通信部で実行中の通信の通信パスを前記アドホック通信部に切り換える通信切換部と
を備え、
前記インフラネットワーク通信部は、
通信の開始時に前記BSSID生成部にて生成したBSSIDを、前記インフラネットワークの基地局を介して前記他の無線端末に送信し、
前記インフラネットワークによる通信実行中に、前記アドホック通信部によりプローブリクエストが受信され、前記判定部により、当該プローブリクエストに前記記憶部に記憶されているBSSIDと同一のBSSIDが含まれると判定された場合、前記アドホック通信部は、当該プローブリクエストの送信元の無線端末とアドホック接続し、前記通信切換部は、前記通信パスを前記インフラネットワーク通信部から前記アドホック通信部に切り換える
ことを特徴とする無線端末。
An ad hoc communication unit that performs ad hoc communication with one or more other wireless terminals;
An infrastructure network communication unit that communicates with other wireless terminals via an infrastructure network base station;
A BSSID generator for generating a BSSID for use in the ad hoc communication;
A storage unit for storing the BSSID generated by the BSSID generation unit;
A determination unit that determines whether or not a probe request received by the ad hoc communication unit includes the same BSSID as the BSSID stored in the storage unit;
A communication switching unit that switches a communication path of communication being executed in the infrastructure network communication unit to the ad hoc communication unit,
The infrastructure network communication unit
The BSSID generated by the BSSID generation unit at the start of communication is transmitted to the other wireless terminal via the base station of the infrastructure network,
A probe request is received by the ad hoc communication unit during communication execution by the infrastructure network, and the determination unit determines that the probe request includes the same BSSID as the BSSID stored in the storage unit The ad hoc communication unit performs ad hoc connection with a wireless terminal that is a transmission source of the probe request, and the communication switching unit switches the communication path from the infrastructure network communication unit to the ad hoc communication unit. .
自身の位置情報を取得する位置情報取得部をさらに備え、
前記インフラネットワーク通信部は、
前記位置情報取得部により取得した位置情報を定期的に前記他の無線端末に送信する
ことを特徴とする請求項1に記載の無線端末。
It further includes a position information acquisition unit that acquires its own position information,
The infrastructure network communication unit
The wireless terminal according to claim 1, wherein the position information acquired by the position information acquisition unit is periodically transmitted to the other wireless terminal.
一または複数の他の無線端末とのアドホック通信を行うアドホック通信部と、
インフラネットワークの基地局を介して他の無線端末との通信を行うインフラネットワーク通信部と、
前記インフラネットワーク通信部により受信されるBSSIDを記憶する記憶部と、
前記アドホック通信部で受信されるプローブレスポンスに前記記憶部に記憶されるBSSIDと同一のBSSIDが含まれるか否かを判定する判定部と、
前記インフラネットワーク通信部で実行中の通信の通信パスを前記アドホック通信部に切り換える通信切換部と
を備え、
前記アドホック通信部は、
前記インフラネットワークによる通信実行中に、前記記憶部に記憶されたBSSIDを含むプローブリクエストを送信し、
前記判定部により、当該アドホック通信部により受信されるプローブレスポンスに前記記憶部に記憶されるBSSIDと同一のBSSIDが含まれると判定された場合、前記アドホック通信部は、当該プローブレスポンスの送信元の無線端末とアドホック接続し、前記通信切換部は、前記通信パスを前記インフラネットワーク通信部から前記アドホック通信部に切り換える
ことを特徴とする無線端末。
An ad hoc communication unit that performs ad hoc communication with one or more other wireless terminals;
An infrastructure network communication unit that communicates with other wireless terminals via an infrastructure network base station;
A storage unit for storing a BSSID received by the infrastructure network communication unit;
A determination unit that determines whether or not the probe response received by the ad hoc communication unit includes the same BSSID as the BSSID stored in the storage unit;
A communication switching unit that switches a communication path of communication being executed in the infrastructure network communication unit to the ad hoc communication unit,
The ad hoc communication unit
During execution of communication by the infrastructure network, a probe request including a BSSID stored in the storage unit is transmitted,
When the determination unit determines that the same BSSID as the BSSID stored in the storage unit is included in the probe response received by the ad hoc communication unit, the ad hoc communication unit is the source of the probe response. An ad hoc connection with a wireless terminal, and the communication switching unit switches the communication path from the infrastructure network communication unit to the ad hoc communication unit.
自身の位置情報を取得する位置情報取得部をさらに備え、
前記アドホック通信部は、
前記インフラネットワーク通信部により定期的に受信される前記他の無線端末の位置情報と、前記位置情報取得部で定期的に取得される位置情報との比較結果に基づき、前記プローブリクエストの送信を開始する
ことを特徴とする請求項3に記載の無線端末。
It further includes a position information acquisition unit that acquires its own position information,
The ad hoc communication unit
The probe request transmission is started based on a comparison result between the position information of the other wireless terminal periodically received by the infrastructure network communication unit and the position information periodically acquired by the position information acquisition unit. The wireless terminal according to claim 3, wherein:
JP2008046762A 2008-02-27 2008-02-27 Radio terminal Withdrawn JP2009206803A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008046762A JP2009206803A (en) 2008-02-27 2008-02-27 Radio terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008046762A JP2009206803A (en) 2008-02-27 2008-02-27 Radio terminal

Publications (1)

Publication Number Publication Date
JP2009206803A true JP2009206803A (en) 2009-09-10

Family

ID=41148641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008046762A Withdrawn JP2009206803A (en) 2008-02-27 2008-02-27 Radio terminal

Country Status (1)

Country Link
JP (1) JP2009206803A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012222707A (en) * 2011-04-13 2012-11-12 Nec Corp Mobile communication system and communication method therefor
WO2015019549A1 (en) * 2013-08-05 2015-02-12 日本電気株式会社 Communication system, wireless terminal, communication method, and communication program
JP6016986B1 (en) * 2015-05-28 2016-10-26 パナソニック株式会社 Pedestrian terminal device, in-vehicle terminal device, inter-pedal communication system, and inter-pedal communication method
JP2019161507A (en) * 2018-03-14 2019-09-19 キヤノン株式会社 Communication device, data transfer device, control method thereof, and program
JP2021141428A (en) * 2020-03-05 2021-09-16 カシオ計算機株式会社 Communication device, communication connection control method, and program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012222707A (en) * 2011-04-13 2012-11-12 Nec Corp Mobile communication system and communication method therefor
WO2015019549A1 (en) * 2013-08-05 2015-02-12 日本電気株式会社 Communication system, wireless terminal, communication method, and communication program
JP6016986B1 (en) * 2015-05-28 2016-10-26 パナソニック株式会社 Pedestrian terminal device, in-vehicle terminal device, inter-pedal communication system, and inter-pedal communication method
WO2016189776A1 (en) * 2015-05-28 2016-12-01 パナソニック株式会社 Pedestrian terminal device, on-board terminal device, pedestrian-and-vehicle reciprocal communication system, and pedestrian-and-vehicle reciprocal communication method
CN107615735A (en) * 2015-05-28 2018-01-19 松下电器产业株式会社 Pedestrian's terminal installation, on-vehicle terminal device, step load-and-vehicle communication system and step inter-vehicle communication method
US10431090B2 (en) 2015-05-28 2019-10-01 Panasonic Corporation Pedestrian-vehicle communication system
CN107615735B (en) * 2015-05-28 2020-08-04 松下电器产业株式会社 Pedestrian terminal device, vehicle-mounted terminal device, inter-step communication system, and inter-step communication method
JP2019161507A (en) * 2018-03-14 2019-09-19 キヤノン株式会社 Communication device, data transfer device, control method thereof, and program
JP7041559B2 (en) 2018-03-14 2022-03-24 キヤノン株式会社 Communication devices, data transfer devices and their control methods, and programs
JP2021141428A (en) * 2020-03-05 2021-09-16 カシオ計算機株式会社 Communication device, communication connection control method, and program
JP7136149B2 (en) 2020-03-05 2022-09-13 カシオ計算機株式会社 COMMUNICATION DEVICE, COMMUNICATION CONNECTION CONTROL METHOD AND PROGRAM

Similar Documents

Publication Publication Date Title
US11129131B2 (en) Configuration of a ran based notification area for a user equipment in RRC inactive state
JP4602967B2 (en) Wireless local access network system detection and selection
RU2549156C2 (en) Methods and equipment for ad-hoc wireless networks
EP2422551B1 (en) Wireless station connectivity information distribution
US20050094589A1 (en) Establishing a communication link by selectively powering a transceiver based on a communication request received by another transceiver
US20080025512A1 (en) Communication apparatus, control method therefor, and computer program allowing computer to execute the same
WO2011127303A1 (en) Systems and methods for page delivery to a wireless client device in idle state
JP2003023655A (en) Position registration system, mobile communication terminal in the position registration system, controller and position registration method
KR20080075312A (en) Handoff control system by using power save mode and handoff control method thereof
JP2006180138A (en) Control unit, mobile terminal and method of controlling communication
WO2015130895A1 (en) Access point initiated neighbor report request
WO2018032909A1 (en) Method for selecting network slice and related device
US10187820B2 (en) System and method for reducing signaling overhead
JP4775170B2 (en) COMMUNICATION SYSTEM, AD HOC COMMUNICATION METHOD, MOBILE TERMINAL DEVICE, AND BASE STATION DEVICE
KR101440619B1 (en) Procedure for switching regulatory class in mesh network
JP2006067103A (en) Wireless lan system, wireless lan terminal used for it, and management server
JP2009206803A (en) Radio terminal
JP2006060295A (en) Wireless communication support system and mobile terminal device
JP6808411B2 (en) Communication equipment, communication methods, and programs
US9998902B2 (en) Mobile communication system, user terminal, base station, and processor transmitting a discovery-use signal
WO2018027901A1 (en) Communication method, terminal device, and access-network device
JP2009239747A (en) Radio terminal and radio communication method
JP2006304118A (en) Handover method, c-plane wireless controller device, base station and terminal station
JP2011142529A (en) Wireless lan terminal, and wireless communication method
JP5881651B2 (en) Information processing apparatus, communication management method, and program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20110510