JP2015076764A - Communication device, control method, and program - Google Patents

Communication device, control method, and program Download PDF

Info

Publication number
JP2015076764A
JP2015076764A JP2013212354A JP2013212354A JP2015076764A JP 2015076764 A JP2015076764 A JP 2015076764A JP 2013212354 A JP2013212354 A JP 2013212354A JP 2013212354 A JP2013212354 A JP 2013212354A JP 2015076764 A JP2015076764 A JP 2015076764A
Authority
JP
Japan
Prior art keywords
communication
terminal
power saving
connection
saving control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013212354A
Other languages
Japanese (ja)
Other versions
JP6182043B2 (en
JP2015076764A5 (en
Inventor
剛 寺尾
Takeshi Terao
剛 寺尾
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP2013212354A priority Critical patent/JP6182043B2/en
Publication of JP2015076764A publication Critical patent/JP2015076764A/en
Publication of JP2015076764A5 publication Critical patent/JP2015076764A5/ja
Application granted granted Critical
Publication of JP6182043B2 publication Critical patent/JP6182043B2/en
Active 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

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

PROBLEM TO BE SOLVED: To maintain connection with an opposite device in a communication device executing power saving control.SOLUTION: A communication device is able to connect with an opposite device by using a first communication function to directly connect with the opposite device, and a second communication function to connect with the opposite device via another device and to perform at least part of communication for establishing connection by the first communication function. The communication device determines whether connection is interrupted in a state of the connection with the opposite device being established by the second communication function, and finishes power saving control if it is determined that the connection has been interrupted during execution of the power saving control.

Description

本発明は省電力制御が可能な通信装置に関する。   The present invention relates to a communication apparatus capable of power saving control.

近年、無線LAN機能が搭載された通信装置が増加している。このような通信装置は、無線LAN機能によって、無線LANのアクセスポイント(AP)と接続して、インターネットへの接続や通信の相手装置との通信を行うことができる。ここで、通信装置と相手装置とが互いに近い位置に存在する場合、これらの装置は、APを介して互いに接続して通信することができるほか、APを介さずに直接接続して直接通信することもできる。   In recent years, communication apparatuses equipped with a wireless LAN function are increasing. Such a communication apparatus can be connected to a wireless LAN access point (AP) by the wireless LAN function to connect to the Internet or communicate with a communication partner apparatus. Here, when the communication device and the partner device are located close to each other, these devices can communicate with each other via the AP, and also directly communicate with each other without the AP. You can also.

非特許文献1には、APに接続している通信装置が直接通信できるTunneled Direct Link Setup(以後TDLS)という無線LANの技術が記載されている。この技術においては、TDLS設定用の制御データがAPを介して送受信されて、通信装置と相手装置との間の直接通信が行われる。   Non-Patent Document 1 describes a wireless LAN technology called Tunneled Direct Link Setup (hereinafter referred to as TDLS) that allows a communication device connected to an AP to communicate directly. In this technique, control data for TDLS setting is transmitted / received via the AP, and direct communication is performed between the communication device and the counterpart device.

特許文献1には、TDLSに参加している端末の消費電力を削減する制御が開示されている。図12を用いて、特許文献1における、TDLSに参加している通信装置が省電力制御を実行中の場合に通信を行うための処理の流れを説明する。本処理では、第1通信装置が省電力制御を実行するものとする。第1通信装置は、省電力状態に移行することをアクセスポイントに通知するとともに、TDLSの直接通信を用いて第2通信装置に通知する。その後、第1通信装置は、アクセスポイントが次に報知信号を送信する時刻まで無線回路を停止させ、省電力状態に入る。第2通信装置は、データ送信先の第1通信装置が省電力状態にある時、アクセスポイント経由で第1通信装置へ、Peer Traffic Indicationを送ることにより、第1通信装置の省電力状態を解除させる。第2通信装置は、第1通信装置からPeer Traffic Responseを受信し、第1通信装置の省電力状態が解除されたことを確認した後、直接通信によりデータを送信する。第1通信装置は、最後の送信データを受信すると、再びアクセスポイントおよび第2通信装置に、省電力制御を開始することを通知する。   Patent Document 1 discloses control for reducing power consumption of terminals participating in TDLS. With reference to FIG. 12, the flow of processing for performing communication when a communication device participating in TDLS is executing power saving control in Patent Document 1 will be described. In this process, it is assumed that the first communication device executes power saving control. The first communication device notifies the access point of the transition to the power saving state and notifies the second communication device using TDLS direct communication. Thereafter, the first communication device stops the wireless circuit until the next time when the access point transmits the notification signal, and enters the power saving state. The second communication device cancels the power saving state of the first communication device by sending Peer Traffic Indication to the first communication device via the access point when the first communication device of the data transmission destination is in the power saving state. Let The second communication device receives the Peer Traffic Response from the first communication device, confirms that the power saving state of the first communication device has been released, and then transmits data by direct communication. When receiving the last transmission data, the first communication device notifies the access point and the second communication device again of starting the power saving control.

特表2010−521117号公報Special table 2010-521117

IEEE Std 802.11z(TM)−2010:IEEE Standard for Information Technology−Telecommunications and information exchange between systems−Local and metropolitan area networks−Specific requirements Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) specifications Amendment 7: Extensions to Direct−Link Setup (DLS)IEEE Std 802.11z (TM) -2010: IEEE Standard for Information Technology-Telecommunications and information exchange between systems-Local and metropolitan area networks-Specific requirements Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) specifications Amenment 7: Extensions to Direct-Link Setup (DLS)

この省電力制御では、相手装置とAPとの間の接続、又は通信装置とAPとの間の接続が途絶した場合、通信装置は、相手装置からAPを経由してPeer Traffic Indicationを受信することができない。また、相手装置が直接通信を用いてPeer Traffic Indicationを送ってきたとしても、通信装置自身が省電力状態にあるため、それを受信できない場合がある。したがって、通信装置と相手装置とが、互いに直接通信が可能な距離にあったとしても、相手装置からのデータ送信を開始することができない場合があるという課題があった。   In this power saving control, when the connection between the partner device and the AP or the connection between the communication device and the AP is interrupted, the communication device receives Peer Traffic Indication from the partner device via the AP. I can't. Even if the partner device sends Peer Traffic Indication using direct communication, the communication device itself may be in a power saving state and may not be able to receive it. Therefore, there is a problem that even if the communication device and the partner device are at a distance that allows direct communication with each other, data transmission from the partner device may not be started.

本発明は上記課題に鑑みなされたものであり、省電力制御を実行中の通信装置において、相手装置との接続を維持するための技術を提供することを目的とする。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a technique for maintaining a connection with a counterpart device in a communication device that is executing power saving control.

上記目的を達成するため、本発明による通信装置は、相手装置と直接接続する第1の通信機能と、他の装置を介して前記相手装置と接続し、前記第1の通信機能による接続の確立のための通信の少なくとも一部を実行する第2の通信機能とを用いて前記相手装置と接続可能な通信手段を有する通信装置であって、前記第2の通信機能により前記相手装置との接続が確立している状態において、当該接続が途絶したかを判定する判定手段と、省電力制御を実行中に、前記接続が途絶したと判定された場合、当該省電力制御を終了するように制御する制御手段と、を有する。   In order to achieve the above object, a communication device according to the present invention has a first communication function that directly connects to a counterpart device, and connects to the counterpart device via another device, and establishes a connection using the first communication function. A communication device having communication means connectable to the counterpart device using a second communication function for executing at least a part of communication for the communication device, wherein the communication device is connected to the counterpart device by the second communication function. In the state where the connection is established, the determination means for determining whether or not the connection has been interrupted, and the control to end the power saving control when it is determined that the connection has been interrupted while executing the power saving control. Control means.

本発明によれば、省電力制御を実行中の通信装置において、相手装置との接続を維持することができる。   ADVANTAGE OF THE INVENTION According to this invention, the communication apparatus which is performing power saving control can maintain a connection with the other party apparatus.

ネットワーク構成例を示す図。The figure which shows the network structural example. 端末のハードウェア構成例を示すブロック図。The block diagram which shows the hardware structural example of a terminal. 端末の機能構成例を示すブロック図。The block diagram which shows the function structural example of a terminal. 省電力制御中に端末が実行する処理例の流れを示すフローチャート。The flowchart which shows the flow of the process example which a terminal performs during power saving control. 通信システムの動作例を示すシーケンス図。The sequence diagram which shows the operation example of a communication system. 端末の機能構成の別の例を示すブロック図。The block diagram which shows another example of the function structure of a terminal. 省電力制御中に端末が実行する別の処理例の流れを示すフローチャート。The flowchart which shows the flow of another example of a process which a terminal performs during power saving control. 通信システムの別の動作例を示すシーケンス図。The sequence diagram which shows another operation example of a communication system. 端末の機能構成のさらに別の例を示すブロック図。The block diagram which shows another example of the function structure of a terminal. 省電力制御中に端末が実行するさらに別の処理例の流れを示すフローチャート。The flowchart which shows the flow of another example of a process which a terminal performs during power saving control. 通信システムのさらに別の動作例を示すシーケンス図。The sequence diagram which shows another operation example of a communication system. 従来のTDLSに参加している通信装置が省電力制御を実行中の場合に通信を行うための処理の流れを示すシーケンス図。The sequence diagram which shows the flow of the process for communicating when the communication apparatus which has participated in the conventional TDLS is performing power saving control.

以下、添付図面を参照して本発明の実施の形態を詳細に説明する。なお、以下では、IEEE802.11シリーズに準拠した無線LANシステムを用いた例について説明するが、通信形態は必ずしもIEEE802.11準拠の無線LANには限らない。   Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following, an example using a wireless LAN system compliant with the IEEE802.11 series will be described, but the communication form is not necessarily limited to a wireless LAN compliant with IEEE802.11.

<<実施形態1>>
(通信システムの構成)
図1に、本実施形態に係る無線通信システムを示す。この無線通信システムは、無線通信装置として、端末101、端末102、アクセスポイント(以下APとする。)103を含む。ここでAP103は、一般的なアクセスポイント(又は基地局)としての機能を有する通信装置であればよいため、以下では詳細な説明を省略する。
<< Embodiment 1 >>
(Configuration of communication system)
FIG. 1 shows a wireless communication system according to this embodiment. This wireless communication system includes a terminal 101, a terminal 102, and an access point (hereinafter referred to as AP) 103 as wireless communication devices. Here, the AP 103 only needs to be a communication device having a function as a general access point (or base station), and thus detailed description thereof will be omitted below.

端末101および端末102は、それぞれ、直接通信により接続可能な第1の通信機能と、AP103を介して接続可能な第2の通信機能とを有する。端末101は、例えばユーザの指示により、ダイレクトリンク設定処理を実行し、AP103に接続する端末102との間で直接通信路をセットアップする。なお、以下では、端末102は省電力制御を実行中であるものとする。また、端末101は、端末102よりもAP103から遠い位置にあり、AP103との通信が途絶しやすいものとする。   Each of the terminal 101 and the terminal 102 has a first communication function that can be connected by direct communication, and a second communication function that can be connected via the AP 103. The terminal 101 executes a direct link setting process, for example, according to a user instruction, and sets up a direct communication path with the terminal 102 connected to the AP 103. In the following, it is assumed that the terminal 102 is executing power saving control. Further, the terminal 101 is located farther from the AP 103 than the terminal 102, and communication with the AP 103 is likely to be interrupted.

(端末の構成)
図2は、本実施形態に係る端末101及び端末102のハードウェア構成例を示すブロック図である。端末201は、例えば、制御部202、記憶部203、無線部204、表示部205、アンテナ制御部206、アンテナ207及び入力部208を有する。
(Terminal configuration)
FIG. 2 is a block diagram illustrating a hardware configuration example of the terminal 101 and the terminal 102 according to the present embodiment. The terminal 201 includes, for example, a control unit 202, a storage unit 203, a wireless unit 204, a display unit 205, an antenna control unit 206, an antenna 207, and an input unit 208.

制御部202は、例えば、CPU、MPU等のコンピュータであり、記憶部203に記憶される制御プログラムを実行することにより装置全体を制御する。制御部202は、他の装置との間で行われる通信パラメータ自動設定システムの制御をも実行する。記憶部203は、制御部202が実行する制御用のコンピュータプログラムと、通信パラメータ等の各種情報を記憶する。後述する各種動作は、例えば、記憶部203に記憶された制御プログラムを制御部202が実行することにより行われる。また、後述の各種動作の少なくとも一部の実行のためのハードウェアが別途用意されてもよい。なお、記憶部203は、ROM、RAM等のメモリ、又はフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、CD−R、磁気テープ、不揮発性のメモリカード、DVDなどによって構成されうる。   The control unit 202 is, for example, a computer such as a CPU or MPU, and controls the entire apparatus by executing a control program stored in the storage unit 203. The control unit 202 also executes control of a communication parameter automatic setting system performed with other devices. The storage unit 203 stores a computer program for control executed by the control unit 202 and various types of information such as communication parameters. Various operations to be described later are performed, for example, when the control unit 202 executes a control program stored in the storage unit 203. Further, hardware for executing at least a part of various operations described below may be separately prepared. The storage unit 203 may be configured by a memory such as a ROM or a RAM, or a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a nonvolatile memory card, a DVD, or the like.

無線部204は無線通信を行うための機能部である。表示部205は、LCDやLEDのように視覚で認知可能な情報の出力、あるいはスピーカなどの音出力が可能な機能を有し、各種表示を行う。アンテナ制御部206はアンテナ207を制御して、無線信号の送信と受信との少なくともいずれかを行う。入力部208は、ユーザからの各種入力を受け付ける。   The wireless unit 204 is a functional unit for performing wireless communication. The display unit 205 has a function capable of outputting visually recognizable information such as an LCD or LED, or outputting sound such as a speaker, and performs various displays. The antenna control unit 206 controls the antenna 207 to perform at least one of transmission and reception of a radio signal. The input unit 208 receives various inputs from the user.

なお、無線部204、アンテナ制御部206等は、上述のような相手装置との直接接続を提供する第1の通信機能と、APを介した接続を提供する第2の通信機能、または後述するアドホック通信機能、簡易AP機能などを切り替えて実行可能である。ただし、これに限られず、端末201は、これらの各種通信機能ごとにそれぞれ異なるハードウェアを有していてもよい。また、端末201は、複数の通信機能を含むグループに対して1つのハードウェアを有し、そのグループ外の通信機能に対しては別のハードウェアを有してもよい。したがって、端末201は、どのような通信機能の組み合わせに対しても、以下に説明する機能を適用することができる。   Note that the wireless unit 204, the antenna control unit 206, and the like include a first communication function that provides a direct connection with the counterpart device as described above, and a second communication function that provides a connection via an AP, or will be described later. An ad hoc communication function, a simple AP function, and the like can be switched and executed. However, the present invention is not limited to this, and the terminal 201 may have different hardware for each of these various communication functions. Further, the terminal 201 may have one hardware for a group including a plurality of communication functions, and may have another hardware for a communication function outside the group. Therefore, the terminal 201 can apply the functions described below to any combination of communication functions.

図3は、端末101及び端末102が有する機能の構成例を示すブロック図である。なお、図3には、主としてダイレクトリンク処理を実行するための機能が示されているが、端末は、これ以外の一般的な通信装置としての機能を有してもよい。端末301は、例えば、ダイレクトリンク通信機能302、インフラストラクチャ通信機能303、パケット受信部304及びパケット送信部305を有する。ダイレクトリンク通信機能302は、端末間の直接通信機能の制御を行う。インフラストラクチャ通信機能303は、APとの接続制御を行う。端末は、通信の相手装置との間で、ダイレクトリンク通信機能302により直接接続を確立し、又はインフラストラクチャ通信機能303によりAPを介した接続を確立して、通信を行う。   FIG. 3 is a block diagram illustrating a configuration example of functions of the terminal 101 and the terminal 102. In addition, although the function for mainly performing a direct link process is shown by FIG. 3, the terminal may have a function as a general communication apparatus other than this. The terminal 301 includes, for example, a direct link communication function 302, an infrastructure communication function 303, a packet reception unit 304, and a packet transmission unit 305. The direct link communication function 302 controls the direct communication function between terminals. The infrastructure communication function 303 performs connection control with the AP. The terminal establishes a direct connection with the communication partner device by the direct link communication function 302 or establishes a connection through the AP by the infrastructure communication function 303 to perform communication.

パケット送信部305は、各種通信にかかわるパケットを送信する。データパケットの送信は、パケット送信部305により行われる。なお、パケット送信部305は、パケット以外の無線信号を送信する一般的な無線信号の送信部であってもよい。パケット受信部304は各種通信にかかわるパケットを受信する。ビーコン(報知信号)の受信は、パケット受信部304によって行われる。また、インフラストラクチャおよびダイレクトリンクのデータパケットも、パケット受信部304によって受信される。なお、パケット受信部304は、パケット以外の無線信号を受信する一般的な無線信号の受信部であってもよい。   The packet transmission unit 305 transmits packets related to various communications. Data packet transmission is performed by the packet transmission unit 305. The packet transmission unit 305 may be a general wireless signal transmission unit that transmits wireless signals other than packets. The packet receiving unit 304 receives packets related to various communications. Reception of the beacon (notification signal) is performed by the packet receiving unit 304. Further, infrastructure and direct link data packets are also received by the packet receiver 304. The packet receiving unit 304 may be a general wireless signal receiving unit that receives wireless signals other than packets.

ダイレクトリンク通信機能302は、例えば、ダイレクトリンク設定部306、ダイレクトリンク省電力制御部307、ダイレクトリンクデータ送受信部308を含む。ダイレクトリンク設定部306は、ダイレクトリンクの設定処理を行う。   The direct link communication function 302 includes, for example, a direct link setting unit 306, a direct link power saving control unit 307, and a direct link data transmission / reception unit 308. The direct link setting unit 306 performs direct link setting processing.

ダイレクトリンク省電力制御部307は、ダイレクトリンク接続の省電力制御を行う。ダイレクトリンク省電力制御部307は、例えば、送受信が行われない期間に省電力機能を実行する。ダイレクトリンク省電力制御部307が省電力制御を開始すると、後述のインフラストラクチャ省電力制御部311による省電力制御も開始される。一方、後述のTDLS Peer Traffic Indicationを受信した場合、対向端末からの一連のデータ送信が終了するまで、インフラストラクチャ省電力制御部311による省電力制御は無効化される。   The direct link power saving control unit 307 performs power saving control for direct link connection. For example, the direct link power saving control unit 307 executes the power saving function during a period in which transmission / reception is not performed. When the direct link power saving control unit 307 starts power saving control, power saving control by an infrastructure power saving control unit 311 described later is also started. On the other hand, when a TDLS Peer Traffic Indication described later is received, the power saving control by the infrastructure power saving control unit 311 is invalidated until a series of data transmission from the opposite terminal is completed.

ダイレクトリンクデータ送受信部308は、ダイレクトリンク上でデータ送受信を行う。ダイレクトリンクデータ送受信部308は、ダイレクトリンク上で、データパケットのほか、後述のTDLS Peer Traffic Responseの送信または受信を実行する。   The direct link data transmission / reception unit 308 performs data transmission / reception on the direct link. The direct link data transmission / reception unit 308 transmits or receives a TDLS Peer Traffic Response (described later) in addition to the data packet on the direct link.

インフラストラクチャ通信機能303は、例えば、インフラストラクチャネットワーク制御部309、インフラストラクチャ省電力制御部311、インフラストラクチャデータ送受信部312を有する。インフラストラクチャ通信機能303は、さらに、インフラストラクチャ通信途絶検出部310、インフラストラクチャ生存確認部313を有する。インフラストラクチャネットワーク制御部309は、APへの接続を制御する。APへの接続や切断処理などはインフラストラクチャネットワーク制御部309により行われる。インフラストラクチャ通信途絶検出部310は、端末とAPとの間の接続が途絶したことを検出する。   The infrastructure communication function 303 includes, for example, an infrastructure network control unit 309, an infrastructure power saving control unit 311, and an infrastructure data transmission / reception unit 312. The infrastructure communication function 303 further includes an infrastructure communication interruption detection unit 310 and an infrastructure survival confirmation unit 313. The infrastructure network control unit 309 controls connection to the AP. The connection to the AP and the disconnection processing are performed by the infrastructure network control unit 309. The infrastructure communication disruption detection unit 310 detects that the connection between the terminal and the AP has been disrupted.

インフラストラクチャ省電力制御部311は、インフラストラクチャネットワーク上での省電力制御を行う。インフラストラクチャ省電力制御部311では、例えば、APからのビーコンを受信後、信号の送受信の行われない期間に無線部204およびアンテナ制御部206への電力供給を制限または遮断することで、端末の消費電力を低減する。また、インフラストラクチャ省電力制御部311は、次のAPからのビーコン受信時刻が近付いた場合に、無線部204およびアンテナ制御部206への電力供給を再開し、ビーコンの受信に備えるように電源の制御を行う。   The infrastructure power saving control unit 311 performs power saving control on the infrastructure network. In the infrastructure power saving control unit 311, for example, after receiving a beacon from the AP, the power supply to the radio unit 204 and the antenna control unit 206 is limited or cut off during a period in which no signal is transmitted / received. Reduce power consumption. In addition, the infrastructure power saving control unit 311 resumes power supply to the radio unit 204 and the antenna control unit 206 when the beacon reception time from the next AP approaches, and prepares for the reception of the beacon. Take control.

インフラストラクチャデータ送受信部312は、APを経由してデータ送受信を行う。ダイレクトリンクの開始メッセージの送信や、後述のTDLS Peer Traffic Indicationの送受信はインフラストラクチャデータ送受信部312を用いて行われる。   The infrastructure data transmission / reception unit 312 performs data transmission / reception via the AP. Transmission of the direct link start message and transmission / reception of a TDLS Peer Traffic Indication described later are performed using the infrastructure data transmission / reception unit 312.

インフラストラクチャ生存確認部313は、相手装置がインフラストラクチャネットワークから離脱していないか、すなわち、相手装置とAPとの間の接続が途絶していないかを判定する。インフラストラクチャ生存確認部313は、例えば、所定の信号(ICMP Echo Request(Ping))を相手装置に向けてアクセスポイント経由で送信して、相手装置に生存確認要求をする。そして、インフラストラクチャ生存確認部313は、相手装置からICMP Echo Replyを受信することで、相手装置とAPとの間の接続が途絶していないと判定することができる。また、相手装置から当該所定の信号(ICMP Echo Request)を受信すると、アクセスポイント経由で相手装置に対して応答信号(ICMP Echo Reply)を送信することで、生存確認要求に対する応答を行う。   The infrastructure survival confirmation unit 313 determines whether the partner device has left the infrastructure network, that is, whether the connection between the partner device and the AP has not been interrupted. For example, the infrastructure existence confirmation unit 313 transmits a predetermined signal (ICMP Echo Request (Ping)) to the counterpart apparatus via the access point, and makes a survival confirmation request to the counterpart apparatus. Then, the infrastructure existence confirmation unit 313 can determine that the connection between the partner apparatus and the AP is not interrupted by receiving ICMP Echo Reply from the partner apparatus. Further, when the predetermined signal (ICMP Echo Request) is received from the counterpart device, a response signal (ICMP Echo Reply) is transmitted to the counterpart device via the access point, thereby responding to the survival confirmation request.

(端末の動作)
図4は、端末101または端末102が省電力制御中に実行する処理の流れを示すフローチャートである。図4の各処理は、例えば、制御部202が記憶部203に記憶されたコンピュータプログラムを読み出して実行することにより行われる。なお、以下では端末101が省電力制御を実行中であるものとする。
(Device operation)
FIG. 4 is a flowchart showing a flow of processing executed by the terminal 101 or the terminal 102 during power saving control. Each process of FIG. 4 is performed, for example, when the control unit 202 reads and executes a computer program stored in the storage unit 203. In the following, it is assumed that the terminal 101 is executing power saving control.

省電力制御を実行中の端末101は、AP103からのビーコンを待ちうける。(S401)。なお、ビーコンは例えば所定の周期で送信され、端末101は、ビーコンを受信するための期間または上述の生存確認のための信号の送信または受信のための期間を除いて、例えば、無線部204及びアンテナ制御部206への給電を制限して省電力制御を行う。   The terminal 101 that is executing the power saving control waits for a beacon from the AP 103. (S401). Note that the beacon is transmitted at a predetermined cycle, for example, and the terminal 101, for example, except for the period for receiving the beacon or the period for transmitting or receiving the above-mentioned survival confirmation signal, for example, the wireless unit 204 and Power saving control is performed by restricting power supply to the antenna control unit 206.

そして、端末101は、AP103から受信したビーコンに含まれるTraffic Indication Map(TIM)情報に基づいて、端末101宛ての受信データが存在するかどうかを判断する(S402)。端末101は、端末101宛てのデータがあると判断した場合(S402でYES)、AP103に対して、受信データの送信を要求する(S403)。一方、端末101は、端末101宛てのデータがないと判断した場合(S402でNO)は、処理をS411へ進める。   Then, the terminal 101 determines whether there is received data addressed to the terminal 101 based on the Traffic Indication Map (TIM) information included in the beacon received from the AP 103 (S402). If the terminal 101 determines that there is data addressed to the terminal 101 (YES in S402), the terminal 101 requests the AP 103 to transmit received data (S403). On the other hand, if the terminal 101 determines that there is no data addressed to the terminal 101 (NO in S402), the process proceeds to S411.

端末101は、S403の要求に応じてデータパケットを受信すると、そのデータパケットが、端末102からのTDLS Peer Traffic Indicationであるかどうかを判別する(S404)。受信したデータパケットがTDLS Peer Traffic Indicationでなかった場合(S404でNO)は、端末101は、処理をS411へ進める。   When the terminal 101 receives the data packet in response to the request in S403, the terminal 101 determines whether or not the data packet is a TDLS Peer Traffic Indication from the terminal 102 (S404). If the received data packet is not TDLS Peer Traffic Indication (NO in S404), the terminal 101 advances the process to S411.

受信したデータパケットがTDLS Peer Traffic Indicationであった場合(S404でYES)、端末101のダイレクトリンク省電力制御部307は、省電力制御を無効化して終了する(S405)。そして、端末102との直接通信により、TDLS Peer Traffic Responseを送信する(S406)。そして、端末101は、端末102からのデータを待ち受け(S407)、S407で受信したパケットから、端末102のデータ送信が終了したかどうか判断する(S408)。ここで、端末101は、最後のデータではないと判断した場合(S408でNO)、次のパケットを待ち受ける(S407)。一方、最後のデータであると判断した場合(S408でYES)、端末101のダイレクトリンク省電力制御部307は、省電力制御を有効化して再開する(S410)。また、端末101のダイレクトリンク省電力制御部307は、省電力制御を有効化したことを端末102に直接通信により通知する(S410)。その後、端末101は、処理をS401へ戻す。   When the received data packet is TDLS Peer Traffic Indication (YES in S404), the direct link power saving control unit 307 of the terminal 101 invalidates the power saving control and ends (S405). Then, a TDLS Peer Traffic Response is transmitted by direct communication with the terminal 102 (S406). Then, the terminal 101 waits for data from the terminal 102 (S407), and determines from the packet received in S407 whether the data transmission of the terminal 102 has been completed (S408). If the terminal 101 determines that it is not the last data (NO in S408), it waits for the next packet (S407). On the other hand, when determining that the data is the last data (YES in S408), the direct link power saving control unit 307 of the terminal 101 validates and restarts the power saving control (S410). Further, the direct link power saving control unit 307 of the terminal 101 notifies the terminal 102 that the power saving control has been validated by direct communication (S410). Thereafter, the terminal 101 returns the process to S401.

S411では、端末101のインフラストラクチャ生存確認部313が、例えば前回の生存確認要求の実行からの経過時間に基づいて、生存確認要求を実行するかどうかを判断する。例えば所定の時間が経過しておらず、生存確認要求を実行しないと判断すると(S411でNO)、端末101は処理をS414へ移す。一方、例えば所定の時間の経過後で、生存確認要求を実行すると判断すると(S411でYES)、端末101のインフラストラクチャ生存確認部313は、インフラストラクチャデータ送受信部312を通じて生存確認要求を端末102へ送信する(S412)。生存確認要求は、例えば、ICMP Echo Requestである。   In S411, the infrastructure existence confirmation unit 313 of the terminal 101 determines whether to execute the existence confirmation request based on, for example, the elapsed time from the execution of the previous existence confirmation request. For example, when it is determined that the predetermined time has not elapsed and the survival confirmation request is not executed (NO in S411), the terminal 101 moves the process to S414. On the other hand, for example, if it is determined that a survival confirmation request is to be executed after a predetermined time has elapsed (YES in S411), the infrastructure survival confirmation unit 313 of the terminal 101 sends a survival confirmation request to the terminal 102 via the infrastructure data transmission / reception unit 312. Transmit (S412). The survival confirmation request is, for example, ICMP Echo Request.

端末101は、生存確認要求の送信後、端末102からの応答信号(ICMP Echo Reply)を待ちうける(S413)。端末101は、所定の時間内にICMP Echo Replyを受信すると(S413でYES)、インフラストラクチャ省電力制御部311により、再度省電力状態へ移行する(S414)。そして、次のビーコンを受信する期間(例えば受信時刻の直前から所定期間)に、省電力状態を解除し(S415)、再度ビーコンを待ち受ける。   After transmitting the survival confirmation request, the terminal 101 waits for a response signal (ICMP Echo Reply) from the terminal 102 (S413). When the terminal 101 receives ICMP Echo Reply within a predetermined time (YES in S413), the infrastructure power saving control unit 311 makes a transition to the power saving state again (S414). Then, in a period for receiving the next beacon (for example, a predetermined period immediately before the reception time), the power saving state is canceled (S415), and the beacon is waited again.

一方、S413で、所定の時間内に応答信号(ICMP Echo Reply)を受信しなかった場合、端末101は、端末102とAP103との間の接続が途絶したと判断し、省電力制御を無効化して終了する(S416)。それに加えて、端末101のダイレクトリンク省電力制御部307は、省電力制御を終了したことを、端末102へ、直接通信によりPeer Traffic Responseを送信することで通知する(S417)。なお、端末101は、TDLS Peer Traffic Indicationを受信していないが、省電力制御から復帰したことを示すために、Peer Traffic Responseを送信する。   On the other hand, if the response signal (ICMP echo reply) is not received within the predetermined time in S413, the terminal 101 determines that the connection between the terminal 102 and the AP 103 has been lost, and disables the power saving control. And end (S416). In addition, the direct link power saving control unit 307 of the terminal 101 notifies the terminal 102 of the completion of power saving control by transmitting a Peer Traffic Response by direct communication (S417). Note that the terminal 101 has not received the TDLS Peer Traffic Indication, but transmits a Peer Traffic Response to indicate that it has returned from the power saving control.

このようにして、端末101と端末102との間でAP103を介した接続が確立している状態において、端末101は、ビーコンの受信により、AP103と端末101との接続が途絶していないことを確認することができる。また、端末101は、ビーコンを受信できている状況(すなわち、端末101とAP103との間の接続が途絶していない状態)において、AP103を介して端末102へ所定の信号を送信し、それに対する応答を受信したかを判定する。これにより、AP103と端末102との間の接続が途絶したかを判定することができる。なお、これらの判定に伴う信号の送信または受信を行う期間以外では、通信機能への電力を供給しないことにより、省電力機能を実現することができる。   In this way, in a state where the connection via the AP 103 is established between the terminal 101 and the terminal 102, the terminal 101 confirms that the connection between the AP 103 and the terminal 101 is not interrupted by the reception of the beacon. Can be confirmed. The terminal 101 transmits a predetermined signal to the terminal 102 via the AP 103 in a situation where the beacon can be received (that is, a state where the connection between the terminal 101 and the AP 103 is not interrupted). Determine if a response has been received. Thereby, it is possible to determine whether the connection between the AP 103 and the terminal 102 has been interrupted. It should be noted that the power saving function can be realized by not supplying power to the communication function outside the period in which the signal transmission or reception associated with these determinations is performed.

この結果、省電力機能を実行中であっても、AP103を介した相手装置との間の接続が途絶したかを判定することができ、その接続が途絶したことに応じて省電力制御を終了することにより、直接通信による相手装置との間の接続を維持することができる。また、端末101及び端末102が共に省電力制御中であり、一方の端末とAP103との接続が途絶した場合、その一方の端末は、所定の期間にわたってビーコンを受信しないことにより、接続の途絶を確認し、省電力制御を終了することができる。また、他方の端末は、生存確認要求を送信したにも関わらず、その応答がなかったことにより、又は、所定の時間が経過したにもかかわらず相手装置から生存確認要求を受信しなかったことにより、接続の途絶を確認し、省電力制御を終了することができる。   As a result, even when the power saving function is being executed, it is possible to determine whether or not the connection with the partner apparatus via the AP 103 has been interrupted, and the power saving control is terminated in response to the disconnection. By doing so, the connection with the other apparatus by direct communication can be maintained. In addition, when both the terminal 101 and the terminal 102 are under power saving control and the connection between one terminal and the AP 103 is interrupted, the one terminal does not receive a beacon for a predetermined period, thereby disconnecting the connection. The power saving control can be completed after confirmation. In addition, the other terminal did not receive a survival confirmation request from the partner device because it did not respond even though it transmitted a survival confirmation request, or a predetermined time had elapsed. Thus, the disconnection can be confirmed and the power saving control can be terminated.

(システムの動作)
図5は、省電力制御中の端末101と省電力制御を実行していない端末102との間でTDLSによる直接接続が確立している場合に、端末102とAP103の通信が途絶した場合のシステムの動作例を示すシーケンス図である。端末102は、AP103からのビーコンを受信できる状態(F501)では、端末101からのICMP Echo Request(F502)を受信できるため、ICMP Echo Reply(F503)により応答することができる。
(System operation)
FIG. 5 shows a system in which communication between the terminal 102 and the AP 103 is interrupted when a direct connection by TDLS is established between the terminal 101 during power saving control and the terminal 102 not executing power saving control. It is a sequence diagram which shows the example of operation | movement. In a state where the terminal 102 can receive the beacon from the AP 103 (F501), the terminal 102 can receive an ICMP Echo Request (F502) from the terminal 101, and therefore can respond with an ICMP Echo Reply (F503).

これに対し、端末102が、AP103との通信可能範囲外へ移動すると、AP103のビーコンを受信することができなくなり(F504)、端末102とAP103との間の接続が途絶する。このような状況では、端末102において端末101宛ての送信データが発生したとしても、AP103経由でTDLS Peer Traffic Indicationを送信することができない(F505)。   On the other hand, when the terminal 102 moves out of the communicable range with the AP 103, the AP 103 cannot receive the beacon (F504), and the connection between the terminal 102 and the AP 103 is interrupted. In such a situation, even if transmission data addressed to the terminal 101 is generated in the terminal 102, the TDLS Peer Traffic Indication cannot be transmitted via the AP 103 (F505).

一方、端末101は、前回の生存確認から所定の期間が経過すると、再度ICMP Echo Requestを端末102へ送信する(F506)。端末102は、AP103の通信可能範囲外にいるため、このICMP Echo Requestを受信することができない。したがって、端末101は、端末102から所定の時間内にICMP Echo Replyを受信しないこととなる。このため、端末101は、端末102とAP103との間の接続が途絶したと判定し、省電力制御を終了する(F507)。   On the other hand, when a predetermined period has elapsed since the last survival confirmation, the terminal 101 transmits an ICMP Echo Request again to the terminal 102 (F506). Since the terminal 102 is out of the communicable range of the AP 103, it cannot receive this ICMP Echo Request. Therefore, the terminal 101 does not receive the ICMP Echo Reply from the terminal 102 within a predetermined time. For this reason, the terminal 101 determines that the connection between the terminal 102 and the AP 103 has been interrupted, and ends the power saving control (F507).

そして、端末101は、端末102に対して省電力制御を終了したことを通知するために、直接通信を用いてTLDS Peer Traffic Responseを送信する(F508)。端末102は、TDLS Peer Traffic Responseを受信したことにより、端末101が省電力制御から復帰したと判断することができ、これに応じて、直接通信を用いてデータを送信する(F509)。   Then, the terminal 101 transmits a TLDS Peer Traffic Response using direct communication in order to notify the terminal 102 that the power saving control has ended (F508). The terminal 102 can determine that the terminal 101 has returned from the power saving control by receiving the TDLS Peer Traffic Response, and in response thereto, transmits data using direct communication (F509).

以上のシーケンスの通り、端末102とAP103との間の接続が途絶した場合であっても、端末101は、その途絶を確認して省電力状態を解除することができる。したがって、端末101は、省電力制御中に、通信環境が変化して、AP103を通じた通信ができなくなった場合であっても、端末102との直接通信を維持することが可能となる。   As described above, even when the connection between the terminal 102 and the AP 103 is interrupted, the terminal 101 can confirm the disconnection and cancel the power saving state. Accordingly, the terminal 101 can maintain direct communication with the terminal 102 even when the communication environment is changed and communication via the AP 103 becomes impossible during the power saving control.

<<実施形態2>>
実施形態1では、端末101が、AP103を介した端末102との間の接続の途絶を検出した後に、省電力制御を終了して、ダイレクトリンクにより端末102との通信を継続する例を示した。これに対し、本実施形態では、端末101がAP103を介した端末102との間の通信途絶を検出した後、端末102とアドホックネットワークを形成することにより通信を継続する構成を示す。
<< Embodiment 2 >>
In the first embodiment, an example is shown in which the terminal 101 ends the power saving control after detecting the disconnection of the connection with the terminal 102 via the AP 103 and continues the communication with the terminal 102 through the direct link. . On the other hand, this embodiment shows a configuration in which communication is continued by forming an ad hoc network with the terminal 102 after the terminal 101 detects a communication interruption with the terminal 102 via the AP 103.

なお、本実施形態に係る無線通信システムの構成、及び端末のハードウェア構成は、実施形態1と同様であるため、説明を省略する。   Note that the configuration of the wireless communication system according to the present embodiment and the hardware configuration of the terminal are the same as those in the first embodiment, and thus description thereof is omitted.

(端末の構成)
図6は、本実施形態に係る端末101及び端末102が有する機能の構成例を示すブロック図である。なお、実施形態1(図3)と同様の機能については、同じ参照番号を付して、その説明を省略する。端末101及び端末102は、実施形態1の構成に加えて、さらに、アドホック通信機能314を有する。アドホック通信機能314は、アドホックネットワーク制御部315、アドホックデータ送受信部316、及びアドホックネットワーク役割決定部317を有する。
(Terminal configuration)
FIG. 6 is a block diagram illustrating a configuration example of functions of the terminal 101 and the terminal 102 according to the present embodiment. In addition, about the function similar to Embodiment 1 (FIG. 3), the same reference number is attached | subjected and the description is abbreviate | omitted. In addition to the configuration of the first embodiment, the terminal 101 and the terminal 102 further have an ad hoc communication function 314. The ad hoc communication function 314 includes an ad hoc network control unit 315, an ad hoc data transmission / reception unit 316, and an ad hoc network role determination unit 317.

アドホックネットワーク制御部315は、アドホックネットワークの形成、参加および離脱のための制御を行う。アドホックデータ送受信部316は、アドホックネットワークでデータの送信または受信の少なくともいずれかを実行する。アドホックネットワーク役割決定部317は、相手装置との間で、アドホックネットワークを生成する役割または参加する役割のどちらを担うかを交渉する。   The ad hoc network control unit 315 performs control for forming, joining, and leaving the ad hoc network. The ad hoc data transmission / reception unit 316 executes at least one of data transmission and reception in the ad hoc network. The ad hoc network role determination unit 317 negotiates with the partner device whether to play the role of creating or participating in the ad hoc network.

(端末の動作)
図7は、本実施形態に係る端末101または端末102が省電力制御中に実行する処理の流れを示すフローチャートである。図7の各処理は、図4の各処理と同様に、制御部202が記憶部203に記憶されたコンピュータプログラムを読み出して実行することにより行われる。なお、以下では端末101が省電力制御を実行中であるものとする。また、S701からS716の各処理ステップは、図4のS401からS416の各処理ステップとそれぞれ同様であるため、説明を省略する。
(Device operation)
FIG. 7 is a flowchart showing a flow of processing executed by the terminal 101 or the terminal 102 according to the present embodiment during power saving control. Each process of FIG. 7 is performed by reading and executing the computer program stored in the storage unit 203 by the control unit 202, similarly to the processes of FIG. In the following, it is assumed that the terminal 101 is executing power saving control. The processing steps from S701 to S716 are the same as the processing steps from S401 to S416 in FIG.

端末101は、S717において、省電力制御を終了したことを、端末102へ、直接通信によりPeer Traffic Responseを送信することで通知する。ここで、本実施形態に係る端末101は、これに加えて、アドホックネットワークへの移行要求を端末102に通知する。これは、例えば、TDLS Peer Traffic Responseの情報要素に、アドホックネットワーク移行要求を示す情報要素を付加することにより実現される。その後、端末101は、アドホックネットワーク役割決定部317を起動し、端末102との間で役割を決定する(S718)。   In step S717, the terminal 101 notifies the terminal 102 that the power saving control has been completed by transmitting a peer traffic response to the terminal 102 by direct communication. Here, in addition to this, the terminal 101 according to the present embodiment notifies the terminal 102 of a request for transition to the ad hoc network. This is realized, for example, by adding an information element indicating an ad hoc network migration request to the information element of the TDLS Peer Traffic Response. Thereafter, the terminal 101 activates the ad hoc network role determination unit 317 and determines a role with the terminal 102 (S718).

端末101は、S718の決定によりネットワークを生成する役割となった場合、アドホックネットワーク制御部315により、アドホックネットワークを生成する(S719)。一方、S718の決定によりネットワークに参加する役割となった場合、端末101は、アドホックネットワーク制御部315により、端末102が生成したアドホックネットワークへ参加する(S720)。   When the terminal 101 has a role of generating a network according to the determination in S718, the ad hoc network control unit 315 generates an ad hoc network (S719). On the other hand, when it becomes a role to participate in the network by the determination in S718, the terminal 101 participates in the ad hoc network generated by the terminal 102 by the ad hoc network control unit 315 (S720).

(システムの動作)
図8は、省電力制御中の端末101と省電力制御を実行していない端末102との間でTDLSによる直接接続が確立している場合に、端末102とAP103の通信が途絶した場合の、本実施形態に係るシステムの動作例を示すシーケンス図である。なお、F801からF804の各動作については、実施形態1のF504からF507の各動作と同様であるため説明を省略する。
(System operation)
FIG. 8 illustrates a case where communication between the terminal 102 and the AP 103 is interrupted when a direct connection by TDLS is established between the terminal 101 that is in power saving control and the terminal 102 that is not executing power saving control. It is a sequence diagram which shows the operation example of the system which concerns on this embodiment. Note that the operations from F801 to F804 are the same as the operations from F504 to F507 in the first embodiment, and thus description thereof is omitted.

端末101は、端末102とAP103間の接続が途絶したと判断し、省電力制御を終了するとともに、直接接続により、端末102へ、TLDS Peer Traffic Responseを送信する(F805)。このとき、端末101は、TDLS Peer Traffic Responseに加えて、アドホックネットワークへの移行要求を意味する情報要素を通知する。   The terminal 101 determines that the connection between the terminal 102 and the AP 103 has been interrupted, ends the power saving control, and transmits a TLDS Peer Traffic Response to the terminal 102 by direct connection (F805). At this time, in addition to the TDLS Peer Traffic Response, the terminal 101 notifies an information element indicating a request for transition to an ad hoc network.

また、端末101は、アドホックネットワークの役割決定機能を起動する。端末102も、TDLS Peer Traffic Responseを受信したことに応じて、アドホックネットワークの役割決定機能を起動する。これにより、端末101と端末102との間で、アドホックネットワークの役割決定が実行される(F806)。   In addition, the terminal 101 activates an ad hoc network role determination function. The terminal 102 also activates the ad hoc network role determination function in response to receiving the TDLS Peer Traffic Response. Thereby, the role determination of the ad hoc network is executed between the terminal 101 and the terminal 102 (F806).

なお、ここでは、端末102がアドホックネットワークの生成側、端末101がアドホックネットワークへの参加側になったものとする。端末102は、アドホックネットワークを生成する(F807)。そして、端末101は、端末102の生成したアドホックネットワークへ参加する(F808)。こうして形成されたアドホックネットワーク上で、端末101および端末102はデータ送受信を行う(F809)。   Here, it is assumed that the terminal 102 is the ad hoc network generation side and the terminal 101 is the ad hoc network participation side. The terminal 102 generates an ad hoc network (F807). Then, the terminal 101 participates in the ad hoc network generated by the terminal 102 (F808). On the ad hoc network formed in this way, the terminal 101 and the terminal 102 perform data transmission / reception (F809).

以上のシーケンスの通り、本実施形態では、AP103を介した端末102との間の接続の途絶を検出した後に、省電力制御を終了して、端末102とアドホックネットワークを形成することができる。したがって、端末101は、省電力制御中に、通信環境が変化して、AP103を通じた通信ができなくなった場合であっても、端末102との通信を維持することが可能となる。   As described above, in the present embodiment, after detecting the disconnection of the connection with the terminal 102 via the AP 103, the power saving control is terminated and an ad hoc network can be formed with the terminal 102. Therefore, the terminal 101 can maintain communication with the terminal 102 even when the communication environment is changed during the power saving control and communication via the AP 103 becomes impossible.

<<実施形態3>>
実施形態2では、端末101が、AP103を介した端末102との間の接続の途絶を検出した後に、省電力制御を終了して、端末102との間でアドホックネットワークを形成することにより通信を継続する構成を示した。これに対し、本実施形態では、端末101がAP103を介した端末102との間の通信途絶を検出した後、端末101または端末102が簡易アクセスポイント機能を動作させ、これに他方の端末が接続することで通信を継続する構成を示す。
<< Embodiment 3 >>
In the second embodiment, after the terminal 101 detects the disconnection of the connection with the terminal 102 via the AP 103, the power saving control is terminated, and communication is performed by forming an ad hoc network with the terminal 102. The continued configuration was shown. On the other hand, in this embodiment, after the terminal 101 detects a communication interruption with the terminal 102 via the AP 103, the terminal 101 or the terminal 102 operates the simple access point function, and the other terminal connects to this. The structure which continues communication by doing is shown.

なお、本実施形態に係る無線通信システムの構成、及び端末のハードウェア構成は、実施形態1及び2と同様であるため、説明を省略する。   Note that the configuration of the wireless communication system according to the present embodiment and the hardware configuration of the terminal are the same as those in the first and second embodiments, and thus description thereof is omitted.

(端末の構成)
図9は、本実施形態に係る端末101及び端末102が有する機能の構成例を示すブロック図である。なお、実施形態1(図3)と同様の機能については、同じ参照番号を付して、その説明を省略する。端末101及び端末102は、実施形態1の構成に加えて、さらに、簡易アクセスポイント機能318と、簡易アクセスポイント・ステーション役割決定部321とを有する。簡易アクセスポイント機能318は、端末が無線LANアクセスポイントとして動作し、他の無線端末を接続させるための機能である。また、簡易アクセスポイント・ステーション役割決定部321は、対向端末と無線LANネットワークを生成する役割または参加する役割のどちらを担うかを交渉する。
(Terminal configuration)
FIG. 9 is a block diagram illustrating a configuration example of functions of the terminal 101 and the terminal 102 according to the present embodiment. In addition, about the function similar to Embodiment 1 (FIG. 3), the same reference number is attached | subjected and the description is abbreviate | omitted. In addition to the configuration of the first embodiment, the terminal 101 and the terminal 102 further include a simple access point function 318 and a simple access point / station role determination unit 321. The simple access point function 318 is a function for a terminal to operate as a wireless LAN access point and connect another wireless terminal. Further, the simple access point / station role determination unit 321 negotiates with the opposite terminal whether to play a role of generating or participating in the wireless LAN network.

簡易アクセスポイント機能318は、例えば、簡易アクセスポイント制御部319と、簡易アクセスポイントデータ送受信部320とを含む。簡易アクセスポイント制御部319は、無線LANネットワークを生成・管理する。簡易アクセスポイントデータ送受信部320は、簡易アクセスポイントに接続した他の端末とデータ送受信を行う。   The simple access point function 318 includes, for example, a simple access point control unit 319 and a simple access point data transmission / reception unit 320. The simple access point control unit 319 generates and manages a wireless LAN network. The simple access point data transmission / reception unit 320 performs data transmission / reception with other terminals connected to the simple access point.

(端末の動作)
図10は、本実施形態に係る端末101または端末102が省電力制御中に実行する処理の流れを示すフローチャートである。図10の各処理は、図4または図7の各処理と同様に、制御部202が記憶部203に記憶されたコンピュータプログラムを読み出して実行することにより行われる。なお、以下では端末101が省電力制御を実行中であるものとする。また、S1001からS1016の各処理ステップは、図4のS401からS416の各処理ステップとそれぞれ同様であるため、説明を省略する。
(Device operation)
FIG. 10 is a flowchart illustrating a flow of processing executed by the terminal 101 or the terminal 102 according to the present embodiment during power saving control. Each process of FIG. 10 is performed by reading and executing the computer program stored in the storage unit 203 by the control unit 202, similarly to the processes of FIG. 4 or FIG. In the following, it is assumed that the terminal 101 is executing power saving control. Further, the processing steps from S1001 to S1016 are the same as the processing steps from S401 to S416 in FIG.

端末101は、S1017にて、省電力制御を終了したことを、端末102へ、直接通信によりPeer Traffic Responseを送信することで通知する。ここで、本実施形態に係る端末101は、これに加えて、簡易アクセスポイント機能による接続への移行要求を端末102に通知する。これは、例えば、TDLS Peer Traffic Responseの情報要素に簡易アクセスポイント接続への移行要求を示す情報要素を付加することにより実現される。その後、端末101は、簡易アクセスポイント・ステーション役割決定部321を起動し、端末102との間で役割を決定する(S1018)。   In step S1017, the terminal 101 notifies the terminal 102 that the power saving control has been completed by transmitting a peer traffic response to the terminal 102 by direct communication. Here, in addition to this, the terminal 101 according to the present embodiment notifies the terminal 102 of a request for shifting to the connection by the simple access point function. This is realized, for example, by adding an information element indicating a request for transition to the simple access point connection to the information element of the TDLS Peer Traffic Response. After that, the terminal 101 activates the simple access point / station role determining unit 321 and determines a role with the terminal 102 (S1018).

端末101は、S1018の決定により簡易アクセスポイントの役割となった場合、簡易アクセスポイント制御部319により、無線LANインフラストラクチャネットワークを生成する(S1019)。一方、S1018の決定によりステーションの役割となった場合、端末101は、インフラストラクチャネットワーク制御部309により、端末102が生成した無線LANインフラストラクチャネットワークへ参加する(S1020)。   When the terminal 101 assumes the role of a simple access point according to the determination in S1018, the simple access point control unit 319 generates a wireless LAN infrastructure network (S1019). On the other hand, when the terminal 101 becomes a role by the determination in S1018, the infrastructure network control unit 309 causes the terminal 101 to participate in the wireless LAN infrastructure network generated by the terminal 102 (S1020).

なお、S1018の簡易アクセスポイント・ステーション役割決定部における役割決定は、両端末のMACアドレスの比較や、両端末の簡易アクセスポイントになる性向の強弱を示す値の比較により行われてもよい。また、役割決定のために使われるメッセージは、TDLSの直接通信上のデータフレームや、アクションフレーム、探索信号に付加されてもよい。   Note that the role determination in the simple access point / station role determination unit in S1018 may be performed by comparing the MAC addresses of both terminals or by comparing values indicating the strength of the tendency to become simple access points of both terminals. Further, a message used for determining a role may be added to a data frame, an action frame, or a search signal on TDLS direct communication.

(システムの動作)
図11は、省電力制御中の端末101と省電力制御を実行していない端末102との間でTDLSによる直接接続が確立している場合に、端末102とAP103の通信が途絶した場合の、本実施形態に係るシステムの動作例を示すシーケンス図である。F1101からF1104の各動作については、実施形態1のF504からF507の各動作と同様であるため説明を省略する。
(System operation)
FIG. 11 illustrates a case where communication between the terminal 102 and the AP 103 is interrupted when a direct connection by TDLS is established between the terminal 101 that is in power saving control and the terminal 102 that is not executing power saving control. It is a sequence diagram which shows the operation example of the system which concerns on this embodiment. Since each operation from F1101 to F1104 is the same as each operation from F504 to F507 in the first embodiment, a description thereof will be omitted.

端末101は、端末102とAP103間の通信が途絶したと判断し、省電力制御を終了するとともに、直接通信により、端末102へ、TLDS Peer Traffic Responseを送信する(F1105)。このとき、端末101は、TDLS Peer Traffic Responseに加えて、簡易アクセスポイント接続への移行要求を意味する情報要素を通知する。   The terminal 101 determines that the communication between the terminal 102 and the AP 103 has been interrupted, ends the power saving control, and transmits a TLDS Peer Traffic Response to the terminal 102 through direct communication (F1105). At this time, in addition to the TDLS Peer Traffic Response, the terminal 101 notifies an information element indicating a request for transition to the simple access point connection.

また、端末101は、簡易アクセスポイント・ステーション役割決定機能を起動する。端末102も、TDLS Peer Traffic Responseを受信したことに応じて、簡易アクセスポイント・ステーション役割決定機能を起動する。これにより、端末101と端末102との間で、どちらが簡易アクセスポイントになるかの役割決定が実行される(F1106)。   In addition, the terminal 101 activates a simple access point / station role determination function. In response to receiving the TDLS Peer Traffic Response, the terminal 102 also activates the simple access point / station role determination function. As a result, a role determination as to which of the terminals 101 and 102 becomes the simple access point is executed (F1106).

なお、ここでは、端末102簡易アクセスポイント側、端末101がステーション側になったものとする。端末102は、インフラストラクチャネットワークを生成する(F1107)。そして、端末101は、端末102の生成したインフラストラクチャネットワークへ参加する(F1108)。こうして形成されたネットワーク上で、端末101および端末102はデータ送受信を行う(F1109)。   Here, it is assumed that the terminal 102 is the simple access point side and the terminal 101 is the station side. The terminal 102 generates an infrastructure network (F1107). Then, the terminal 101 participates in the infrastructure network generated by the terminal 102 (F1108). On the network thus formed, the terminal 101 and the terminal 102 perform data transmission / reception (F1109).

以上のシーケンスの通り、本実施形態では、AP103を介した端末102との間の接続の途絶を検出した後に、省電力制御を終了して、簡易アクセスポイント機能を利用して、端末102とインフラストラクチャネットワークを形成することができる。したがって、端末101は、省電力制御中に、通信環境が変化して、AP103を通じた通信ができなくなった場合であっても、端末102との通信を維持することが可能となる。   As described above, in this embodiment, after detecting the disconnection of the connection with the terminal 102 via the AP 103, the power saving control is terminated and the simple access point function is used to connect the terminal 102 and the infrastructure. A structure network can be formed. Therefore, the terminal 101 can maintain communication with the terminal 102 even when the communication environment is changed during the power saving control and communication via the AP 103 becomes impossible.

<<その他の実施形態>>
以上、いくつかの実施形態を説明したが、これらは説明のための例示であって、本発明の範囲をこの実施形態のみに限定する趣旨のものではない。本発明の要旨を逸脱しない範囲で、実施形態は種々に変形することが可能である。また、上記説明はIEEE802.11準拠の無線LANを例に説明した。しかしながら、本発明は、ワイヤレスUSB、MBOA、Bluetooth(登録商標)、UWB、ZigBee等の他の無線媒体において実施してもよい。ここで、MBOAは、Multi Band OFDM Allianceの略である。また、UWBは、ワイヤレスUSB、ワイヤレス1394、WINETなどが含まれる。
<< Other Embodiments >>
Although several embodiments have been described above, these are illustrative examples, and the scope of the present invention is not intended to be limited only to these embodiments. The embodiment can be variously modified without departing from the gist of the present invention. Also, the above description has been made with reference to an IEEE 802.11-compliant wireless LAN as an example. However, the present invention may be implemented in other wireless media such as wireless USB, MBOA, Bluetooth (registered trademark), UWB, and ZigBee. Here, MBOA is an abbreviation for Multi Band OFDM Alliance. UWB includes wireless USB, wireless 1394, WINET, and the like.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(またはCPUやMPU等)がプログラムを読み出して実行する処理である。   The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, or the like) of the system or apparatus reads the program. It is a process to be executed.

Claims (15)

相手装置と直接接続する第1の通信機能と、他の装置を介して前記相手装置と接続し、前記第1の通信機能による接続の確立のための通信の少なくとも一部を実行する第2の通信機能とを用いて前記相手装置と接続可能な通信手段を有する通信装置であって、
前記第2の通信機能により前記相手装置との接続が確立している状態において、当該接続が途絶したかを判定する判定手段と、
省電力制御を実行中に、前記接続が途絶したと判定された場合、当該省電力制御を終了するように制御する制御手段と、
を有することを特徴とする通信装置。
A first communication function that directly connects to the counterpart device, and a second communication device that connects to the counterpart device via another device and executes at least part of communication for establishing a connection by the first communication function. A communication device having communication means connectable to the counterpart device using a communication function,
Determination means for determining whether the connection is interrupted in a state where the connection with the counterpart device is established by the second communication function;
Control means for controlling to end the power saving control when it is determined that the connection is interrupted during the power saving control;
A communication apparatus comprising:
前記通信手段は、前記省電力制御を終了したことを前記第1の通信機能によって前記相手装置へ通知する、
ことを特徴とする請求項1に記載の通信装置。
The communication means notifies the counterpart device by the first communication function that the power saving control has been terminated;
The communication apparatus according to claim 1.
前記判定手段は、前記第2の通信機能によって、前記相手装置へ所定の信号を送信して前記所定の信号に対する応答を前記相手装置から受信したかによって、又は前記相手装置からの前記所定の信号を受信したかによって、前記接続が途絶したかを判定する、
ことを特徴とする請求項1または2に記載の通信装置。
The determination means transmits a predetermined signal to the counterpart device and receives a response to the predetermined signal from the counterpart device by the second communication function, or the predetermined signal from the counterpart device To determine whether the connection is lost depending on whether
The communication apparatus according to claim 1 or 2, wherein
前記判定手段は、所定の時間ごとに前記所定の信号を送信する、
ことを特徴とする請求項3に記載の通信装置。
The determination means transmits the predetermined signal every predetermined time.
The communication apparatus according to claim 3.
前記所定の信号は、ICMP Echo Requestである、
ことを特徴とする請求項3又は4に記載の通信装置。
The predetermined signal is ICMP Echo Request.
The communication apparatus according to claim 3 or 4, wherein
前記応答は、ICMP Echo Replyである、
ことを特徴とする請求項3から5のいずれか1項に記載の通信装置。
The response is ICMP Echo Reply.
The communication apparatus according to any one of claims 3 to 5, wherein:
前記判定手段は、前記第2の通信機能によって、所定の周期で所定の信号を前記他の装置から受信しているかに応じて、前記接続が途絶したかを判定する、
ことを特徴とする請求項1または2に記載の通信装置。
The determination unit determines whether the connection is interrupted according to whether the second communication function receives a predetermined signal from the other device at a predetermined period.
The communication apparatus according to claim 1 or 2, wherein
前記省電力制御を実行中に、前記通信手段に対する電力の供給を制限する制限手段をさらに有する、
ことを特徴とする請求項1から7のいずれか1項に記載の通信装置。
A limiting unit that limits supply of power to the communication unit during execution of the power saving control;
The communication device according to claim 1, wherein the communication device is a device.
前記制限手段は、前記判定手段による判定のための信号の送信または受信のための期間は、前記通信手段への電力の供給を制限しない、
ことを特徴とする請求項8に記載の通信装置。
The limiting unit does not limit the supply of power to the communication unit during a period for transmission or reception of a signal for determination by the determination unit.
The communication apparatus according to claim 8.
前記通信装置は、前記第1の通信機能による通信を実行する第1の通信手段と、前記第2の通信機能による通信を実行する第2の通信手段とを含む、
ことを特徴とする請求項1から9のいずれか1項に記載の通信装置。
The communication device includes a first communication unit that executes communication by the first communication function, and a second communication unit that executes communication by the second communication function.
The communication apparatus according to any one of claims 1 to 9, wherein
前記通信装置は、前記省電力制御を実行中に、前記接続が途絶したと判定された場合、前記第1の通信機能により、前記相手装置と通信を行う、
ことを特徴とする請求項1から10のいずれか1項に記載の通信装置。
The communication device communicates with the counterpart device by the first communication function when it is determined that the connection is interrupted during the power saving control.
The communication device according to any one of claims 1 to 10, wherein:
前記通信手段は、さらに、アドホックネットワークにより前記相手装置と接続可能であり、
前記通信手段は、前記省電力制御を実行中に前記接続が途絶したと判定された場合、前記アドホックネットワークによる前記相手装置との通信を開始する、
ことを特徴とする請求項1から10のいずれか1項に記載の通信装置。
The communication means is further connectable to the counterpart device by an ad hoc network,
The communication means starts communication with the counterpart device by the ad hoc network when it is determined that the connection has been interrupted during the power saving control.
The communication device according to any one of claims 1 to 10, wherein:
前記通信手段は、さらに、ネットワークを生成して前記相手装置がそのネットワークに参加することにより、又は、前記相手装置が生成したネットワークに参加することにより、前記相手装置と接続可能であり、
前記通信手段は、前記省電力制御を実行中に前記接続が途絶したと判定された場合、ネットワークを生成して前記相手装置がそのネットワークに参加することによる、または前記相手装置が生成したネットワークに参加することによる前記相手装置との通信を開始する、
ことを特徴とする請求項1から10のいずれか1項に記載の通信装置。
The communication means is further connectable with the counterpart device by generating a network and the counterpart device joining the network, or by joining the network generated by the counterpart device,
When it is determined that the connection has been interrupted while the power saving control is being performed, the communication unit generates a network and the partner device joins the network, or the network generated by the partner device Start communication with the partner device by joining,
The communication device according to any one of claims 1 to 10, wherein:
相手装置と直接接続する第1の通信機能と、他の装置を介して前記相手装置と接続し、前記第1の通信機能による接続の確立のための通信の少なくとも一部を実行する第2の通信機能とを用いて前記相手装置と接続可能な通信手段を有する通信装置の制御方法であって、
判定手段が、前記第2の通信機能により前記相手装置との接続が確立している状態において、当該接続が途絶したかを判定する判定工程と、
制御手段が、省電力制御を実行中に、前記接続が途絶したと判定された場合、当該省電力制御を終了するように制御する制御工程と、
を有することを特徴とする制御方法。
A first communication function that directly connects to the counterpart device, and a second communication device that connects to the counterpart device via another device and executes at least part of communication for establishing a connection by the first communication function. A communication device control method comprising a communication means connectable to the counterpart device using a communication function,
A determination step of determining whether the connection is interrupted in a state in which the determination unit is connected to the counterpart device by the second communication function;
When the control means determines that the connection has been interrupted during execution of power saving control, a control step for controlling the power saving control to be terminated, and
A control method characterized by comprising:
相手装置と直接接続する第1の通信機能と、他の装置を介して前記相手装置と接続し、前記第1の通信機能による接続の確立のための通信の少なくとも一部を実行する第2の通信機能とを用いて前記相手装置と接続可能な通信手段を有する通信装置に備えられたコンピュータに、
前記第2の通信機能により前記相手装置との接続が確立している状態において、当該接続が途絶したかを判定する判定工程と、
省電力制御を実行中に、前記接続が途絶したと判定された場合、当該省電力制御を終了するように制御する制御工程と、
を実行させるためのプログラム。
A first communication function that directly connects to the counterpart device, and a second communication device that connects to the counterpart device via another device and executes at least part of communication for establishing a connection by the first communication function. In a computer provided in a communication device having a communication means connectable to the counterpart device using a communication function,
A determination step of determining whether or not the connection is interrupted in a state where the connection with the counterpart device is established by the second communication function;
A control step of controlling to end the power saving control when it is determined that the connection is interrupted during the power saving control;
A program for running
JP2013212354A 2013-10-09 2013-10-09 Communication device, control method, and program Active JP6182043B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013212354A JP6182043B2 (en) 2013-10-09 2013-10-09 Communication device, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013212354A JP6182043B2 (en) 2013-10-09 2013-10-09 Communication device, control method, and program

Publications (3)

Publication Number Publication Date
JP2015076764A true JP2015076764A (en) 2015-04-20
JP2015076764A5 JP2015076764A5 (en) 2016-09-08
JP6182043B2 JP6182043B2 (en) 2017-08-16

Family

ID=53001307

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013212354A Active JP6182043B2 (en) 2013-10-09 2013-10-09 Communication device, control method, and program

Country Status (1)

Country Link
JP (1) JP6182043B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006128949A (en) * 2004-10-27 2006-05-18 Canon Inc Radio communication device, communication system, radio communication method, and computer program
JP2010050694A (en) * 2008-08-21 2010-03-04 Sony Corp Radio communication device, communication system, communication control method, and program
JP2010521117A (en) * 2007-03-10 2010-06-17 エルジー エレクトロニクス インコーポレイティド Peer power saving mode in tunnel direct link setup wireless network
WO2013016422A1 (en) * 2011-07-25 2013-01-31 Qualcomm Incorporated Direct link setup through an extended service set
JP2014204404A (en) * 2013-04-09 2014-10-27 キヤノン株式会社 Communication device, control method and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006128949A (en) * 2004-10-27 2006-05-18 Canon Inc Radio communication device, communication system, radio communication method, and computer program
JP2010521117A (en) * 2007-03-10 2010-06-17 エルジー エレクトロニクス インコーポレイティド Peer power saving mode in tunnel direct link setup wireless network
JP2010050694A (en) * 2008-08-21 2010-03-04 Sony Corp Radio communication device, communication system, communication control method, and program
WO2013016422A1 (en) * 2011-07-25 2013-01-31 Qualcomm Incorporated Direct link setup through an extended service set
JP2014204404A (en) * 2013-04-09 2014-10-27 キヤノン株式会社 Communication device, control method and program

Also Published As

Publication number Publication date
JP6182043B2 (en) 2017-08-16

Similar Documents

Publication Publication Date Title
JP6235135B2 (en) System and method for establishing synchronization across multiple networks and participating STAs via operation on a known common channel
JP6563426B2 (en) Peer discovery in neighbor aware networking (NAN) assisted data link networks
JP5526236B2 (en) Method and apparatus for peer discovery in a wireless communication network
US9392525B2 (en) Establishing reliable routes without expensive mesh peering
US7502354B1 (en) Mesh networking using point coordination function
US10708750B2 (en) Method and apparatus for peer-to-peer connection using wireless local area network (LAN) in mobile communication terminal
US7522540B1 (en) Extended service set mesh topology discovery
US7606175B1 (en) Extended service set mesh path selection
US7835301B1 (en) Extended service set mesh topology representation
EP2408234B1 (en) Method and apparatus for device initiated offloading to unlicensed bands
USRE48848E1 (en) Communication system, communication apparatus and communication method, and computer program
US9843989B2 (en) Uniform UE initialization procedure for both in-coverage and out-of-coverage D2D communications
EP2772094B1 (en) A method and apparatus for wireless peer-to-peer communication with multiple radio interfaces
JP2016517188A (en) Method of using device-to-device communication, wireless communication system and architecture
US10893457B2 (en) Route discovery in a mesh communication network
US10917829B2 (en) Path handover in Bluetooth mesh routing
WO2022135035A1 (en) Method and apparatus for relay selection
JP2018524910A (en) Neighbor aware network data link presence indication
WO2018228127A1 (en) Communication control method and device, and computer readable storage medium
WO2017198032A1 (en) Electronic apparatus, information processing device and information processing method
TW202218474A (en) Enhancements for sidelink resource allocation
TWI445354B (en) Multiple-transceiver distributed dynamic channel selection in a communication network
JPWO2013183729A1 (en) Communication control method, user terminal, processor, and storage medium
JP2013187644A (en) Communication device, control method therefor, and program
US10880807B2 (en) Battery efficient routing in mesh networks

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160722

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160722

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170526

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170616

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: 20170623

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170721

R151 Written notification of patent or utility model registration

Ref document number: 6182043

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151