JP2012129655A - Communication apparatus and its control method and program - Google Patents

Communication apparatus and its control method and program Download PDF

Info

Publication number
JP2012129655A
JP2012129655A JP2010277422A JP2010277422A JP2012129655A JP 2012129655 A JP2012129655 A JP 2012129655A JP 2010277422 A JP2010277422 A JP 2010277422A JP 2010277422 A JP2010277422 A JP 2010277422A JP 2012129655 A JP2012129655 A JP 2012129655A
Authority
JP
Japan
Prior art keywords
data
communication
mode
control information
state
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
JP2010277422A
Other languages
Japanese (ja)
Other versions
JP5582993B2 (en
Inventor
Tomokazu Yamaki
智和 八巻
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 JP2010277422A priority Critical patent/JP5582993B2/en
Publication of JP2012129655A publication Critical patent/JP2012129655A/en
Application granted granted Critical
Publication of JP5582993B2 publication Critical patent/JP5582993B2/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)

Abstract

PROBLEM TO BE SOLVED: To provide a communication apparatus which can reduce occurrence of packet losses even when power saving mode does not work as stipulated, and a control method therefor.SOLUTION: The communication apparatus has a power saving mode in which an active state for receiving data from some other communication apparatus and a snooze state for not receiving data from the other communication apparatus are switched over in a time-multiplexed manner as it communicates. In the power saving mode, if control information is received from the other communication apparatus and the received control information indicates that data to be acquired from the other communication apparatus exists, the communication apparatus requests data from the other communication apparatus. If a prescribed time elapses while the communication apparatus, after receiving control information indicating that data to be acquired exists, not receiving the data it requested from the other communication apparatus, the communication apparatus has its operation mode transitioned from the power saving mode to another mode in which the active state continues.

Description

本発明は、無線ネットワークを構成可能な通信装置、制御方法及びプログラムに関する。   The present invention relates to a communication apparatus, a control method, and a program that can configure a wireless network.

近年、IEEE802.11シリーズに準拠した無線LANに代表される無線通信を搭載した製品が急速に普及している。無線LANを搭載した製品には、カメラやPDA(Personal Digital Assistant)などの携帯機器もある。携帯機器の多くはバッテリ駆動であり、これらの装置にとって省電力が課題の一つとなる。   In recent years, products equipped with wireless communication typified by wireless LAN compliant with the IEEE802.11 series are rapidly spreading. Products equipped with a wireless LAN include portable devices such as cameras and PDAs (Personal Digital Assistants). Many portable devices are battery-powered, and power saving is one of the challenges for these devices.

この課題に対しIEEE802.11仕様では、無線インターフェースを常に有効(Active状態)とする通常モード(省電力化無効)の他に、省電力モード(省電力化有効)を規定している(非特許文献1を参照)。省電力モードでは、特定条件の時にだけ送受信を行う間欠処理により、無線インターフェースの有効、無効(Doze状態)を切替え、低消費電力を実現する。   In response to this problem, the IEEE802.11 specification defines a power saving mode (power saving enabled) in addition to the normal mode (power saving disabled) in which the wireless interface is always enabled (active state) (non-patented). Reference 1). In the power saving mode, the wireless interface is switched between enabled and disabled (Doze state) by intermittent processing that performs transmission / reception only under specific conditions, realizing low power consumption.

しかしながら、省電力モードを利用するには、省電力状態(Active状態、Doze状態)の遷移によるデータロスに関する課題がある。この課題を解決するため、特許文献1、特許文献2には次のような提案がなされている。   However, in order to use the power saving mode, there is a problem regarding data loss due to the transition of the power saving state (Active state, Doze state). In order to solve this problem, the following proposals are made in Patent Document 1 and Patent Document 2.

特許文献1には、アドホックモード時の省電力に関わる制御方法の一例が開示されている。IEEE802.11仕様において、無線LANの基地局(アクセスポイント)を介して、他の通信装置(ステーション)と通信を行うインフラストラクチャモードと、各ステーション間で通信を行うアドホックモードが規定されている。特許文献1では、ステーション間でアドホックネットワークが構成されており、新規ステーションがネットワークへ参加する場合、省電力モードから通常モードへ移行することで、データの取りこぼしを防止している。   Patent Document 1 discloses an example of a control method related to power saving in the ad hoc mode. In the IEEE802.11 specification, an infrastructure mode for communicating with other communication devices (stations) via a wireless LAN base station (access point) and an ad hoc mode for communicating between the stations are defined. In Patent Document 1, an ad hoc network is configured between stations, and when a new station joins the network, data is prevented from being lost by shifting from the power saving mode to the normal mode.

特許文献2には、インフラストラクチャモード時の省電力に関わる制御方法の一例が開示されている。特許文献2では、省電力モードのステーションはIEEE802.11仕様に従い、アクセスポイントから無線LANの定期的な制御情報であるBeaconを受信するためActive状態に遷移する。次に、ステーションは当該ステーション向けデータの送信要求(PS-Poll)をアクセスポイントに送信する。アクセスポイントは、PS-Pollに対する確認応答(ACK)をステーションへ送信する。そしてステーション向けのデータがある場合は当該データを含むデータフレームを、ステーション向けのデータがない場合は中身のないデータフレーム(Null DATA)をステーションへ送信する。ステーションはPS-Pollで要求したデータフレームを受信することにより、一連のフレーム交換手順を完了させることができ、アクセスポイントに当該ステーション向けのデータがない場合には、Doze状態に遷移することができる。   Patent Document 2 discloses an example of a control method related to power saving in the infrastructure mode. In Patent Document 2, a station in a power saving mode transitions to an Active state in order to receive Beacon, which is periodic control information of a wireless LAN, from an access point according to the IEEE 802.11 specification. Next, the station transmits a data transmission request (PS-Poll) for the station to the access point. The access point transmits an acknowledgment (ACK) to PS-Poll to the station. When there is data for the station, a data frame including the data is transmitted to the station, and when there is no data for the station, a data frame without content (Null DATA) is transmitted to the station. By receiving the data frame requested by PS-Poll, the station can complete a series of frame exchange procedures, and when there is no data for the station at the access point, it can transition to the Doze state. .

特開2006−135549号公報JP 2006-135549 A 特開2008−048429号公報JP 2008-048429 A

IEEE std 802.11IEEE std 802.11

しかしながら、特許文献1の通信装置においては、省電力モードで構成されたネットワークに新規ステーションが参加する場合以外のデータの取りこぼしについて考慮されていない。また、特許文献2では、アクセスポイントがIEEE802.11に準拠していないNull DATAを送信することを想定しており、既存のアクセスポイントを変更することなく実施することが難しい。さらに、IEEE802.11仕様通り正しく動作しないアクセスポイント(不具合アクセスポイント)も存在している。これにより、通信装置に不具合がなくてもパケットロスが頻繁に発生することでシステムとして正しく動作しなくなるという不具合が発生している。図11はIEEE802.11仕様通りに正しく動作しないアクセスポイントと従来の通信装置との間で生じる通信不具合の一例を示すシーケンス図である。   However, in the communication device of Patent Document 1, data loss other than when a new station participates in a network configured in the power saving mode is not considered. In Patent Document 2, it is assumed that the access point transmits Null DATA that does not comply with IEEE 802.11, and it is difficult to implement without changing the existing access point. There are also access points (problem access points) that do not operate correctly according to the IEEE802.11 specification. As a result, there is a problem that even if there is no problem in the communication device, packet loss frequently occurs and the system does not operate correctly. FIG. 11 is a sequence diagram illustrating an example of a communication failure that occurs between an access point that does not operate correctly according to the IEEE802.11 specification and a conventional communication device.

省電力モードで動作中の通信装置は、IEEE802.11仕様に従い、アクセスポイントからBeaconを受信するためにDose状態からActive状態に遷移する。次に、通信装置はBeaconを受信する(F1101)。Beaconには、当該ステーションへのデータがアクセスポイントにバッファされているかを示すTIM(Traffic Indication Map)フィールドが存在する。通信装置はTIMフィールドを参照して、当該ステーションへのデータがアクセスポイントにバッファされていない(OFF)ことを認識すると、Doze状態に遷移する。次に、省電力モードで動作中の通信装置は定期的なBeaconを受信するタイミングでDose状態からActive状態に遷移し、アクセスポイントからBeaconを受信する(F1102)。通信装置はTIMフィールドを参照して、当該ステーションへのデータがアクセスポイントにバッファされている(ON)ことを認識すると、PS-Pollをアクセスポイントに送信する(F1103)。アクセスポイントがIEEE802.11仕様通り問題なく動作する場合は、通信装置はF1103の後にDataを受信することになるが、本シーケンス図においては受信できていない。通信装置は、データ(Data)を受信することなく次のBeaconを受信する(F1104)。通信装置がこの新たなBeaconのTIMフィールドを参照してOFFであることを認識すると、通信装置はDoze状態に遷移する。次に、アクセスポイントはF1103で要求したデータ(Data)を通信装置に送信したとする(F1105)。しかし、このタイミングで通信装置はDoze状態であるため、データを受信することができず、パケットロスが発生する。   A communication device operating in the power saving mode transitions from the Dose state to the Active state in order to receive Beacon from the access point in accordance with the IEEE802.11 specification. Next, the communication apparatus receives Beacon (F1101). In Beacon, there is a TIM (Traffic Indication Map) field indicating whether data for the station is buffered in the access point. When the communication device recognizes that the data to the station is not buffered (OFF) by referring to the TIM field, the communication device transits to the Doze state. Next, the communication device operating in the power saving mode transitions from the Dose state to the Active state at the timing of receiving periodic Beacon, and receives Beacon from the access point (F1102). When the communication device refers to the TIM field and recognizes that the data to the station is buffered (ON) in the access point, it transmits PS-Poll to the access point (F1103). When the access point operates without problems according to the IEEE802.11 specification, the communication apparatus receives Data after F1103, but cannot receive it in this sequence diagram. The communication apparatus receives the next Beacon without receiving data (Data) (F1104). When the communication device recognizes that it is OFF with reference to this new Beacon TIM field, the communication device transitions to the Doze state. Next, it is assumed that the access point transmits the data (Data) requested in F1103 to the communication device (F1105). However, since the communication device is in the Doze state at this timing, data cannot be received and packet loss occurs.

本発明は、上記の課題に鑑みてなされたものであり、パケットロスの発生を低減することを目的とする。   The present invention has been made in view of the above problems, and an object thereof is to reduce the occurrence of packet loss.

上記目的を達成するための本発明の一態様による通信装置は以下の構成を備える。すなわち、
他の通信装置からデータを受信する起動状態と、前記他の通信装置からデータを受信しない仮眠状態とを時分割に切り替えて通信する省電力モードにおいて、前記他の通信装置から制御情報を受信する受信手段と、
前記受信手段により受信した前記制御情報が、前記他の通信装置から取得すべきデータが存在することを示す場合に、前記他の通信装置に対してデータを要求する要求手段と、
取得すべきデータが存在することを示す前記制御情報を前記受信手段が受信してから前記要求に対応したデータを前記他の通信装置から受信しないまま所定の時間が経過した場合、前記省電力モードから前記起動状態が継続する他のモードに移行させる移行手段とを備える。
In order to achieve the above object, a communication apparatus according to an aspect of the present invention has the following arrangement. That is,
Control information is received from the other communication device in a power saving mode in which the communication is switched between time-division between a start state in which data is received from another communication device and a nap state in which data is not received from the other communication device. Receiving means;
Requesting means for requesting data from the other communication device when the control information received by the receiving means indicates that there is data to be acquired from the other communication device;
When a predetermined time has passed without receiving the data corresponding to the request from the other communication device after the receiving means has received the control information indicating that there is data to be acquired, the power saving mode Transition means for shifting to another mode in which the startup state continues.

本発明によれば、パケットロスの発生を低減することができる。   According to the present invention, occurrence of packet loss can be reduced.

第一実施形態による通信装置のブロック図。The block diagram of the communication apparatus by 1st embodiment. 第一実施形態による通信シーケンス図。The communication sequence diagram by 1st embodiment. 第一実施形態による電力モード決定処理を説明するフローチャート。The flowchart explaining the electric power mode determination process by 1st embodiment. 第一実施形態による電力モード決定処理を説明するフローチャート。The flowchart explaining the electric power mode determination process by 1st embodiment. 第一実施形態による電力モード決定処理を説明するフローチャート。The flowchart explaining the electric power mode determination process by 1st embodiment. 第二実施形態による通信装置のブロック図。The block diagram of the communication apparatus by 2nd embodiment. 第二実施形態による通信シーケンス図。The communication sequence diagram by 2nd embodiment. 第三実施形態による通信装置のブロック図。The block diagram of the communication apparatus by 3rd embodiment. 第三実施形態による通信シーケンス図。The communication sequence diagram by 3rd embodiment. 第三実施形態による通信シーケンス図。The communication sequence diagram by 3rd embodiment. 一般的な通信装置と不具合アクセスポイントとの通信シーケンス図。The communication sequence diagram with a general communication apparatus and a malfunctioning access point. 実施形態による省電力モードの動作を示すフローチャート。The flowchart which shows operation | movement of the power saving mode by embodiment.

以下、本発明の実施の形態について添付の図面を参照して詳細に説明する。なお、以下では、IEEE802.11に準拠した無線LANを用いた例を説明するが、通信形態を無線LANやインフラストラクチャモードといった本実施形態に限るものではなく、その技術思想の範囲内で種々の変更が可能である。また、以下の実施形態において、通信装置は、通常モードと省電力モードの2つの電力モードで動作が可能である。通常モードでは、無線インターフェースが常に有効(すなわち起動状態、以下Active状態という)とされる(省電力化無効)。また、省電力モードでは、他の通信装置からデータを受信する起動状態と、前記他の通信装置からデータを受信しない仮眠状態とを時分割に切り替えて通信する。すなわち、省電力モードでは、特定条件の時にだけ送受信を行う間欠処理により、無線インターフェースの有効、無効(すなわち仮眠状態、以下Doze状態という)を切替える(省電力化有効)。Active状態では、無線インターフェースが有効なのでデータを受信することができる。また、Doze状態では、無線インターフェースが無効なのでデータを受信することができない。   Embodiments of the present invention will be described below in detail with reference to the accompanying drawings. In the following, an example using a wireless LAN compliant with IEEE802.11 will be described. However, the communication form is not limited to this embodiment such as a wireless LAN or an infrastructure mode, and various communication methods can be used within the scope of the technical idea. It can be changed. In the following embodiments, the communication device can operate in two power modes, a normal mode and a power saving mode. In the normal mode, the wireless interface is always enabled (that is, activated state, hereinafter referred to as Active state) (power saving is disabled). Further, in the power saving mode, communication is performed by switching between an activation state in which data is received from another communication device and a nap state in which data is not received from the other communication device by time division. That is, in the power saving mode, the wireless interface is switched between valid and invalid (that is, a nap state, hereinafter referred to as Doze state) by intermittent processing in which transmission / reception is performed only under a specific condition (power saving is effective). In the Active state, data can be received because the wireless interface is valid. In the Doze state, data cannot be received because the wireless interface is invalid.

[第一実施形態]
図1は第一実施形態に関する通信装置100の構成の一例を示すブロック図である。通信装置100は、起動状態(Active状態)と仮眠状態(Doze状態)とを交互に繰り返し、相手装置から周期的に送信される制御情報の送信周期に同期して装置を起動状態に切り替えることにより通信を行う省電力モードを実行可能である。入力部110は、ユーザからの各種入力を受け付ける。入力部110は、無線LANに関する設定を受け付けることも可能である。制御部120は各種ブロックを制御する。制御部120は、通信部150およびアンテナ160を介して他装置とデータの送受信を行ったり、無線LANネットワークへの接続処理を行ったりすることが可能である。電力モード切替部121は、記憶部140に記憶された電力モードに関する通信パラメータや電力モード決定部151の決定結果に基づき、通信部150の電力モードの切替えを行う。IEEE802.11では、パケットロスなど通信状況を考慮して電力モードを切替える仕様は規定されていない。本実施形態では、通信状況に応じて省電力モードではない他の電力モード(本実施形態では、Active状態が継続する通常モード)に切替えることにより、接続性を確保してパケットロスを低減する。出力部130は、LCDやLEDのような表示出力、スピーカ等のような音声出力により、ユーザへ各種出力を行う。また、出力部130は、例えば、入力部110で受け付けた無線LANに関する設定を出力する。
[First embodiment]
FIG. 1 is a block diagram illustrating an example of a configuration of a communication device 100 according to the first embodiment. The communication device 100 alternately repeats the activation state (Active state) and the nap state (Doze state), and switches the device to the activation state in synchronization with the transmission cycle of control information periodically transmitted from the partner device. It is possible to execute a power saving mode for performing communication. The input unit 110 receives various inputs from the user. The input unit 110 can also accept settings related to the wireless LAN. The control unit 120 controls various blocks. The control unit 120 can transmit / receive data to / from other devices via the communication unit 150 and the antenna 160, and can perform connection processing to the wireless LAN network. The power mode switching unit 121 switches the power mode of the communication unit 150 based on the communication parameters related to the power mode stored in the storage unit 140 and the determination result of the power mode determination unit 151. IEEE802.11 does not stipulate specifications for switching power modes in consideration of communication conditions such as packet loss. In the present embodiment, the connectivity is ensured and the packet loss is reduced by switching to another power mode that is not the power saving mode (in this embodiment, the normal mode in which the Active state continues) according to the communication status. The output unit 130 performs various outputs to the user by a display output such as an LCD or LED, or an audio output such as a speaker. The output unit 130 outputs, for example, settings related to the wireless LAN accepted by the input unit 110.

記憶部140は、制御部120が実行するコンピュータプログラムや通信パラメータ等の各種情報を記憶する。通信部150は他の機器と通信を行う。通信部150はアンテナ160から受信した制御情報やデータに関して、MAC(Media Access Control)に関する処理など通信に係わる処理を行う。本実施形態において、制御情報はアクセスポイントなどが送信するBeaconである。Beaconには、当該通信装置へのデータが他装置にバッファされているかを示すTIMフィールドが存在する。電力モード決定部151は、他装置との通信状況に応じて電力モードを決定する。通信状況はBeaconやデータ受信から判断することができる。   The storage unit 140 stores various information such as a computer program executed by the control unit 120 and communication parameters. The communication unit 150 communicates with other devices. The communication unit 150 performs processing related to communication such as processing related to MAC (Media Access Control) with respect to control information and data received from the antenna 160. In the present embodiment, the control information is a Beacon transmitted by an access point or the like. In Beacon, there is a TIM field indicating whether data to the communication device is buffered in another device. The power mode determination unit 151 determines the power mode according to the communication status with other devices. The communication status can be judged from Beacon or data reception.

図2は第一実施形態による通信装置100の通信シーケンス図であり、通信相手である他装置(相手装置ともいう)がアクセスポイントとなるインフラストラクチャモードの場合の通信シーケンスが示されている。なお、図2では、通信装置100はアクセスポイントが構成するネットワークに参加して省電力モードに移行した後から、通信状況に応じて他の電力モードに切替えるまでの動作が示されている。なお、他の電力モードとは、Active状態が継続するような、省電力モードが無効なモード(Doze状態への遷移のない状態)である。   FIG. 2 is a communication sequence diagram of the communication device 100 according to the first embodiment, and shows a communication sequence in the infrastructure mode in which another device (also called a partner device) as a communication partner serves as an access point. Note that FIG. 2 shows an operation from when the communication apparatus 100 joins the network formed by the access point and shifts to the power saving mode until it switches to another power mode according to the communication status. Note that the other power modes are modes in which the power saving mode is invalid so that the Active state continues (state without transition to the Doze state).

省電力モードで動作している通信装置100において、通信部150はBeacon受信のタイミングに応じて定期的にActive状態に遷移し、アンテナ160を介してアクセスポイントからBeaconを受信する(F201)。通信部150はBeaconのTIMフィールドを参照して、当該通信装置へのデータがアクセスポイントにバッファされていないことを認識すると、Doze状態へ遷移する。以下、通信装置100に対して送信すべきデータが存在しないことをTIMフィールドが示すことを、「TIMフィールドがOFF」であると表現する。次のBeacon受信タイミングが来ると、通信部150は再度Active状態に遷移し、アクセスポイントからBeaconを受信する(F202)。通信部150はTIMフィールドを参照して、今度は当該通信装置へのデータがアクセスポイントにバッファされていることを認識したとする。以下、通信装置100に対して送信すべきデータが存在することをTIMフィールドが示すことを、「TIMフィールドがON」であると表現する。TIMフィールドがONの場合、通信部150は当該通信装置向けデータの送信要求(PS-Poll)をアクセスポイントに送信する(F203)。アクセスポイントがIEEE802.11仕様通り問題なく動作しており、通信装置向けのデータがあれば、当該通信装置の通信部150はF203の後にデータを受信するが、本シーケンス図においては受信できていない。   In the communication device 100 operating in the power saving mode, the communication unit 150 periodically transitions to the Active state according to the Beacon reception timing, and receives the Beacon from the access point via the antenna 160 (F201). When the communication unit 150 refers to the TIM field of Beacon and recognizes that the data to the communication device is not buffered in the access point, the communication unit 150 transitions to the Doze state. Hereinafter, the fact that the TIM field indicates that there is no data to be transmitted to the communication apparatus 100 is expressed as “the TIM field is OFF”. When the next Beacon reception timing comes, the communication unit 150 transitions to the Active state again and receives Beacon from the access point (F202). Assume that the communication unit 150 refers to the TIM field and recognizes that data to the communication device is buffered at the access point. Hereinafter, the fact that the TIM field indicates that there is data to be transmitted to the communication apparatus 100 is expressed as “TIM field is ON”. When the TIM field is ON, the communication unit 150 transmits a data transmission request (PS-Poll) for the communication device to the access point (F203). If the access point operates without any problem according to the IEEE802.11 specification and there is data for the communication device, the communication unit 150 of the communication device receives the data after F203, but it cannot be received in this sequence diagram. .

Beaconは定期的に送信されるため、通信部150は次のBeaconを受信することになる(F204)。Beaconを受信すると、通信部150はTIMフィールドを参照して、それがONであることを認識し、PS-Pollをアクセスポイントに送信する(F205)。しかしF203の時と同様、通信部150はデータを受信できていない。通信部150は、さらに次のBeaconを受信する(F206)。ここで電力モード決定部151は、これまでの通信状況(本実施形態では、2回のPS-Pollに対してデータの受信ができなかったこと)から通常モードに変更することを決定し、この決定を電力モード切替部121に通知する。電力モード切替部121は記憶部140に格納されている省電力モードに関するパラメータを通常モードに変更するとともに、省電力モードを無効にするための指示を通信部150に対して行い、以降の処理を通常モードとして動作させる。電力モード決定部151が省電力モードから通常モードに変更することを通信状況に基づいて決定する処理は種々の処理が考えられる。以下、これら処理のいくつかについて具体的に説明する。   Since the Beacon is periodically transmitted, the communication unit 150 receives the next Beacon (F204). When Beacon is received, the communication unit 150 refers to the TIM field, recognizes that it is ON, and transmits PS-Poll to the access point (F205). However, as in F203, the communication unit 150 cannot receive data. The communication unit 150 further receives the next Beacon (F206). Here, the power mode determination unit 151 determines to change to the normal mode from the communication status so far (in this embodiment, data could not be received for two PS-Polls), and this The determination is notified to the power mode switching unit 121. The power mode switching unit 121 changes the parameter related to the power saving mode stored in the storage unit 140 to the normal mode and instructs the communication unit 150 to invalidate the power saving mode, and performs the subsequent processing. Operate in normal mode. Various processes can be considered for the process in which the power mode determination unit 151 determines the change from the power saving mode to the normal mode based on the communication status. Hereinafter, some of these processes will be described in detail.

<<省電力モードの動作について>>
電力モードが省電力モードになると、通信部150はActive状態とDoze状態とを交互に繰り返し、相手装置から周期的に送信されるBeaconの送信周期に同期して装置をActive状態に切り替えることにより通信を行う。図12は、本実施形態による省電力モードにおける動作を説明するフローチャートである。電力モード切替部121により通信装置100が省電力モードに移行すると、通信部150はまず通信装置100をDoze状態に移行する(S1201)。そして、通信部150は、相手装置から周期的に送信されるBeaconの送信タイミングになると、通信装置100をActive状態へ移行する(S1202、S1203)。通信部150は、Active状態にてBeacon信号を受信すると、受信したBeacon信号のTIMフィールドをチェックし、相手装置が通信装置100に送信すべきデータを有するかどうかを判定する(S1204、S1205)。
<< Operation in power saving mode >>
When the power mode becomes the power saving mode, the communication unit 150 alternately repeats the Active state and the Doze state, and communicates by switching the device to the Active state in synchronization with the transmission cycle of Beacon periodically transmitted from the partner device. I do. FIG. 12 is a flowchart for explaining the operation in the power saving mode according to the present embodiment. When the communication device 100 shifts to the power saving mode by the power mode switching unit 121, the communication unit 150 first shifts the communication device 100 to the Doze state (S1201). Then, the communication unit 150 shifts the communication device 100 to the Active state at the transmission timing of Beacon periodically transmitted from the counterpart device (S1202, S1203). When receiving the Beacon signal in the Active state, the communication unit 150 checks the TIM field of the received Beacon signal and determines whether the partner apparatus has data to be transmitted to the communication apparatus 100 (S1204, S1205).

受信データが有ると判定されると、通信部150は、データ要求としてのPS-Pollを相手装置に対して送信し、データ受信を待つ(S1205、S1206、S1207)。通信部150は、データ要求(PS-Poll)に応じて相手装置からデータが受信されると、ACK信号を相手装置に送信し、通信装置100をDoze状態に移行する(S1207,S1208,S1209)。S1207でデータの受信を待つ間に再びBeaconの受信タイミングが訪れた場合は、処理をS1205に戻し、上述の処理を繰り返す。相手装置から通信装置100に対して送信すべきデータが存在しないことを示すBeaconを受信した場合、通信部150は、Doze状態へ通信装置100を移行する(S1205でNO、S1209)。なお、Doze状態へ移行する処理において(S1201、S1209)、次に相手装置からBeaconを受信するタイミングが特定時間より短い場合には、Doze状態へ移行せず、Active状態のまま処理を継続するようにしても良い。   If it is determined that there is received data, the communication unit 150 transmits a PS-Poll as a data request to the counterpart device and waits for data reception (S1205, S1206, S1207). When data is received from the counterpart device in response to the data request (PS-Poll), the communication unit 150 transmits an ACK signal to the counterpart device and shifts the communication device 100 to the Doze state (S1207, S1208, S1209). . If the Beacon reception timing comes again while waiting for data reception in S1207, the process returns to S1205, and the above-described process is repeated. When receiving a Beacon indicating that there is no data to be transmitted from the partner apparatus to the communication apparatus 100, the communication unit 150 shifts the communication apparatus 100 to the Doze state (NO in S1205, S1209). In the process of transitioning to the Doze state (S1201, S1209), if the next timing of receiving the Beacon from the counterpart device is shorter than the specific time, the process is continued without changing to the Doze state and in the Active state. Anyway.

本実施形態では、取得すべきデータが存在することを示すBeaconを通信部150が受信してからデータ要求(PS-Poll)に対応したデータを相手装置から受信できないまま特定時間が経過したことに基づいて電力モードの移行が制御される。この制御は、電力モード決定部151と電力モード切替部121により実行されるものであり、以下、図3〜図5のフローチャートを参照して詳しく説明する。   In the present embodiment, the communication unit 150 receives Beacon indicating that there is data to be acquired, and the specific time has passed without receiving data corresponding to the data request (PS-Poll) from the partner device. Based on this, the transition of the power mode is controlled. This control is executed by the power mode determination unit 151 and the power mode switching unit 121, and will be described in detail below with reference to the flowcharts of FIGS.

<<タイマで計測した特定時間を超えた場合に省電力モードを無効化>>
図3は本発明の第一の実施形態に関する通信装置100の電力モードを決定する時の動作を示すフローチャートである。図3のフローチャートで示される処理は、通信装置100がネットワークに参加して省電力モードに移行した後、Beacon受信周期ごとに実施される。
<< Disabling power saving mode when a specific time measured by the timer is exceeded >>
FIG. 3 is a flowchart showing an operation when determining the power mode of the communication apparatus 100 according to the first embodiment of the present invention. The process shown in the flowchart of FIG. 3 is performed every Beacon reception period after the communication apparatus 100 joins the network and shifts to the power saving mode.

初めに、電力モード決定部151はタイマ(このタイマは、後述のS304で開始される)が特定時間経過しているか確認する(S301)。図2に示されるシーケンスは、この特定時間がBeacon周期2回分であった場合に相当する。特定時間が経過していなければ(S301でNoの場合)、通信部150はアクセスポイントからのBeaconの受信を待ち、Beaconを受信する(S302)。そして、通信部150は、そのTIMフィールドを参照することで、当該通信装置が受信すべきデータがあるか否か(当該通信装置へのデータがアクセスポイントにバッファされているか否か)を確認する(S302)。TIMフィールドを参照した結果、受信すべきデータが無い(TIMフィールドがOFF)と判定された場合(S302でNoの場合)、通信部150は図3に示す処理を終了し、次回のBeacon受信タイミングまで待機する。   First, the power mode determination unit 151 confirms whether a specific time has elapsed for a timer (this timer is started in S304 described later) (S301). The sequence shown in FIG. 2 corresponds to the case where this specific time is two Beacon cycles. If the specific time has not elapsed (in the case of No in S301), the communication unit 150 waits for Beacon reception from the access point and receives Beacon (S302). Then, the communication unit 150 refers to the TIM field to check whether there is data to be received by the communication device (whether data to the communication device is buffered in the access point). (S302). As a result of referring to the TIM field, when it is determined that there is no data to be received (the TIM field is OFF) (No in S302), the communication unit 150 ends the processing illustrated in FIG. 3 and next Beacon reception timing Wait until.

受信すべきデータが有る(TIMフィールドがON)と判定された場合(S302でYesの場合)、通信部150は、S304でタイマによる計時を既に開始しているか確認する(S303)。まだタイマによる計時が開始されていない場合(S303でNoの場合)、通信部150はタイマを開始する(S304)。そして、S305において、通信部150はPS-Pollを送信して、アクセスポイントにデータを要求しデータの受信を待つ。PS-Pollで要求したデータを次のBeacon受信タイミングまでにアクセスポイントから受信できなかった場合(S305でNoの場合)、通信部150は図3に示す処理を終了して、次のBeacon受信タイミングまで待機する。他方、データ受信できた場合は(S305でYesの場合)、通信部150はS304で開始したタイマを停止し、リセットした後(S306)、本処理を終了して次のBeacon受信タイミングまで待機する。   If it is determined that there is data to be received (TIM field is ON) (Yes in S302), the communication unit 150 confirms whether timing by the timer has already started in S304 (S303). When the time measurement by the timer has not started yet (No in S303), the communication unit 150 starts the timer (S304). In step S305, the communication unit 150 transmits a PS-Poll, requests data from the access point, and waits for data reception. If the data requested by PS-Poll cannot be received from the access point by the next Beacon reception timing (No in S305), the communication unit 150 ends the processing shown in FIG. Wait until. On the other hand, if the data can be received (Yes in S305), the communication unit 150 stops the timer started in S304, resets it (S306), ends this processing, and waits for the next Beacon reception timing. .

一方、S301で特定時間が経過していると判定された場合(S301でYesの場合)、電力モード決定部151は、アクセスポイントに当該通信装置へのデータがあるにも関わらず、特定時間データを受信できなかったものと判断する。そして、電力モード決定部151は、電力モードを省電力モード以外の電力モード(本実施形態では通常モード)と決定して電力モード切替部121に通知する。電力モード切替部121は記憶部140に格納されている省電力モードに関するパラメータを通常モードに変更するとともに、省電力モードを無効にするための指示を通信部150に対して行い、以降の処理を通常モードとして動作させる(S307)。   On the other hand, when it is determined in S301 that the specific time has elapsed (Yes in S301), the power mode determination unit 151 determines that the specific time data is present even though there is data to the communication device at the access point. Is not received. Then, the power mode determination unit 151 determines the power mode as a power mode other than the power saving mode (in this embodiment, the normal mode) and notifies the power mode switching unit 121 of the power mode. The power mode switching unit 121 changes the parameter related to the power saving mode stored in the storage unit 140 to the normal mode and instructs the communication unit 150 to invalidate the power saving mode, and performs the subsequent processing. Operate in the normal mode (S307).

なお、タイマの開始、停止、リセットや省電力モードからの切替えは、本発明の処理を行えるならば、どのタイミングで行っても良い。   Note that the timer start, stop, reset, and switching from the power saving mode may be performed at any timing as long as the processing of the present invention can be performed.

<<Beaconのカウント値に基づいて省電力モードを無効化(その1)>>
図4は第一実施形態に関する通信装置100の電力モードを決定する処理を示すフロー図である。本フロー図は、図3の処理と同様に、通信装置100がネットワークに参加して省電力モードに移行した後、Beacon受信周期ごとに実施される。
<< Disabling the power saving mode based on the count value of Beacon (Part 1) >>
FIG. 4 is a flowchart showing processing for determining the power mode of the communication apparatus 100 according to the first embodiment. Similar to the processing of FIG. 3, this flowchart is performed every Beacon reception period after the communication apparatus 100 joins the network and shifts to the power saving mode.

初めに、電力モード決定部151は、受信不能カウント(S405で後述)の回数が制御部120から指定された回数以上となっているかどうかを確認する(S401)。受信不能カウントは、TIMフィールドで当該通信装置へのデータが存在することを示すBeaconを受信したが、次のBeaconまでにデータを受信できなかったことをカウントしたものである。したがって、図2は、指定回数が2回の時のシーケンス図に相当するものである。受信不能カウントが指定回数未満の場合(S401でNoの場合)、通信部150はアクセスポイントからのBeaconを待ち、これを受信する。そして、通信部150は、TIMフィールドを参照することで、当該通信装置が受信すべきデータが存在するか否か(当該通信装置へのデータがアクセスポイントにバッファされているか否か)を確認する(S402)。受信すべきデータが無い場合(S402でNoの場合)、通信部150は本処理を終了して、次のBeacon受信タイミングまで待機する。   First, the power mode determination unit 151 checks whether or not the number of reception impossible counts (described later in S405) is equal to or greater than the number specified by the control unit 120 (S401). The unreceivable count is obtained by counting that the Beacon indicating that data to the communication apparatus exists in the TIM field has been received but the data could not be received by the next Beacon. Therefore, FIG. 2 corresponds to a sequence diagram when the designated number of times is two. If the unreceivable count is less than the specified number (No in S401), the communication unit 150 waits for and receives the Beacon from the access point. Then, the communication unit 150 refers to the TIM field to check whether there is data to be received by the communication device (whether data to the communication device is buffered in the access point). (S402). If there is no data to be received (No in S402), the communication unit 150 ends this processing and waits until the next Beacon reception timing.

受信すべきデータがある場合(S402でYesの場合)、通信部150はPS-Pollを送信して、アクセスポイントからのデータの受信を待つ(S403)。次のBeaconタイミングまでにアクセスポイントからデータを受信できた場合(S403でYesの場合)、電力モード決定部151はデータ受信をできなかった回数を保持する受信不能カウントをリセットする。そして、通信部150は本処理を終了して、次のBeacon受信タイミングまで待機する。他方、S403でデータを受信できなかった場合(S403でNoの場合)、電力モード決定部151は、受信不能カウントを1つインクリメントする(S405)。そして、通信部150は本処理を終了して、次のBeacon受信タイミングまで待機する。なお、受信不能カウントとして、通信部150の内部メモリを用いても良いし、記憶部140を用いてもよい。   If there is data to be received (Yes in S402), the communication unit 150 transmits a PS-Poll and waits for reception of data from the access point (S403). When the data can be received from the access point by the next Beacon timing (Yes in S403), the power mode determination unit 151 resets the unreceivable count that holds the number of times the data cannot be received. Then, the communication unit 150 ends this processing and waits until the next Beacon reception timing. On the other hand, when data could not be received in S403 (No in S403), the power mode determination unit 151 increments the unreceivable count by one (S405). Then, the communication unit 150 ends this processing and waits until the next Beacon reception timing. Note that the internal memory of the communication unit 150 or the storage unit 140 may be used as the unreceivable count.

一方、S401で受信不能カウントが指定回数であると判定された場合(S401でYesの場合)、電力モード決定部151は、アクセスポイントに当該通信装置へのデータがあるにも関わらず、指定回数以上データを受信できなかったと判断する。そして、電力モード決定部151は、電力モードを省電力モード以外の省電力を無効化するモード(本実施形態では通常モード)に決定して、電力モード切替部121に通知する。電力モード切替部121は記憶部140に格納されている省電力モードに関するパラメータを通常モードに変更するとともに、省電力モードを無効にするための指示を通信部150に対して行い、以降の処理を通常モードとして動作させる(S406)。   On the other hand, when it is determined in S401 that the unreceivable count is the specified number of times (Yes in S401), the power mode determination unit 151 specifies the specified number of times even though there is data to the communication device at the access point. It is determined that data could not be received. Then, the power mode determination unit 151 determines the power mode to be a mode for invalidating power saving other than the power saving mode (normal mode in the present embodiment), and notifies the power mode switching unit 121 of the mode. The power mode switching unit 121 changes the parameter related to the power saving mode stored in the storage unit 140 to the normal mode and instructs the communication unit 150 to invalidate the power saving mode, and performs the subsequent processing. Operate in the normal mode (S406).

<<Beaconのカウント値に基づいて省電力モードを無効化(その2)>>
図5は、第一実施形態に関する通信装置100の電力モードを決定する時の動作を示すフロー図である。本フロー図で示される処理は、図3や図4の処理と同様に、通信装置100がネットワークに参加して省電力モードに移行した後、Beacon受信周期ごとに実施される。
<< Disabling the power saving mode based on the count value of Beacon (Part 2) >>
FIG. 5 is a flowchart showing an operation when determining the power mode of the communication apparatus 100 according to the first embodiment. The processing shown in this flowchart is performed every Beacon reception period after the communication apparatus 100 joins the network and shifts to the power saving mode, similarly to the processing in FIGS. 3 and 4.

初めに、通信部150はBeaconを受信してTIMフィールドを参照することで、当該通信装置がデータ受信可能か否か(当該通信装置へのデータがアクセスポイントにバッファされているか否か)を確認する(S501)。相手装置から受信すべきデータが存在する場合(S501でYesの場合)、通信部150はアクセスポイントにPS-Pollを送信し、次のBeacon受信タイミングまでアクセスポイントからのデータ受信を待つ(S502)。データ受信ができた場合(S502でYesの場合)、電力モード決定部151はデータ受信履歴をクリアする(S504)。他方、次のBeacon受信タイミングまでにデータを受信できなかった場合(S502でNoの場合)、データ受信履歴として受信すべきデータが存在したが、データ受信を行えなかった旨を登録する(S503)。なお、受信履歴は通信部150の内部メモリに格納しても良いし、記憶部140に格納しても良い。ここでは、図4で説明したような受信不能カウントを用いる。   First, the communication unit 150 receives Beacon and refers to the TIM field to check whether or not the communication device can receive data (whether or not data to the communication device is buffered in the access point). (S501). When there is data to be received from the counterpart device (Yes in S501), the communication unit 150 transmits PS-Poll to the access point and waits for data reception from the access point until the next Beacon reception timing (S502). . When the data can be received (Yes in S502), the power mode determination unit 151 clears the data reception history (S504). On the other hand, if data could not be received by the next Beacon reception timing (in the case of No in S502), the fact that there was data to be received as the data reception history, but registered that the data could not be received (S503). . Note that the reception history may be stored in the internal memory of the communication unit 150 or may be stored in the storage unit 140. Here, the reception impossible count as described in FIG. 4 is used.

S501で受信すべきデータが無いと判定された場合(S501でNoの場合)、処理はS505へ進む。S505で、電力モード決定部151は、「受信不能カウントが制御部120から指定された回数以上となっている」且つ「受信したBeaconのTIMフィールドがOFFである」ことを確認する。S505でYESとなる場合は、指定回数にわたってデータの受信ができずにBeaconのTIMフィールドがONからOFFに変化したことを示している。図2は、指定回数が2回でF206においてTIMフィールドがONからOFFに変化した場合のシーケンス図に対応する。指定回数以上受信ができておらず、かつTIMフィールドが変化しなかった場合(S505でNoの場合)、通信部150は処理を終了する。通信部150において指定回数以上にわたって受信すべきデータが存在する旨のBeaconを受信したにもかかわらずデータの受信ができておらず(受信不能カウントが指定回数以上)、かつTIMフィールドが変化したとする(S505でYes)。その場合、電力モード決定部151は、アクセスポイントの当該通信装置宛てのデータはエイジングされたと判断し、電力モードを通常モードと決定して電力モード切替部121に通知する(S506)。電力モード切替部121は記憶部140に格納されている省電力モードに関するパラメータを通常モードに変更するとともに、省電力モードを無効にするための指示を通信部150に対して行い、以降の処理を通常モードとして動作させる。   If it is determined in S501 that there is no data to be received (No in S501), the process proceeds to S505. In step S <b> 505, the power mode determination unit 151 confirms that “the unreceivable count is equal to or greater than the number specified by the control unit 120” and “the TIM field of the received Beacon is OFF”. If YES is obtained in S505, it indicates that the data could not be received for the designated number of times and the Beacon TIM field has changed from ON to OFF. FIG. 2 corresponds to a sequence diagram when the specified number of times is 2 and the TIM field changes from ON to OFF in F206. If reception has not been performed for the specified number of times and the TIM field has not changed (No in S505), the communication unit 150 ends the process. The communication unit 150 receives a beacon indicating that there is data to be received for the specified number of times or more, but has not received the data (the unreceivable count is the specified number of times) and the TIM field has changed. (Yes in S505). In that case, the power mode determination unit 151 determines that the data addressed to the communication device of the access point has been aged, determines the power mode as the normal mode, and notifies the power mode switching unit 121 (S506). The power mode switching unit 121 changes the parameter related to the power saving mode stored in the storage unit 140 to the normal mode and instructs the communication unit 150 to invalidate the power saving mode, and performs the subsequent processing. Operate in normal mode.

なお、図5の処理では、S505でNOの場合にそのまま処理を終了している。したがって、受信不能カウントが0の状態で、TIMフィールドがONの状態のBeaconを受信し、データ受信ができないまま、次にTIMフィールドがOFFのBeacon(1回目のTIMフィールドがOFFのBeacon)を受信した場合には、そのままDoze状態への移行が行われる。その後、再び、TIMフィールドがONの状態のBeaconを受信し、データ受信ができないまま、次にTIMフィールドがOFFのBeacon(2回目のTIMフィールドがOFFのBeacon)を受信したとする。1回目のTIMフィールドがOFFのBeaconを受信する際には受信不能カウントが1となっており、2回目のTIMフィールドがOFFのBeaconを受信した際には受信不能カウントが2となるので、上記指定回数が2に設定されていれば、電力モードの切り替えが実行されることになる。なおS505でNOの場合、データ受信履歴をクリアするなど、本発明の処理を行う範囲で処理内容を変更しても良い。S505でNOの場合にデータ受信履歴をクリアするようにすると、TIMフィールドがONの状態のBeaconを受信したがデータ受信ができないという状況が連続して指定回数発生した後に、TIMフィールドがOFFの状態のBeaconを受信した場合にのみ、電力モードの切り替えが実行されることになる。   In the process of FIG. 5, the process ends as it is in the case of NO in S505. Therefore, receive a Beacon whose TIM field is ON with the unreceivable count being 0, and receive a Beacon whose TIM field is OFF (Beacon whose first TIM field is OFF) without receiving data. If this happens, the transition to the Doze state is performed as it is. After that, it is assumed that a Beacon whose TIM field is ON is received again, and that a Beacon whose TIM field is OFF (a Beacon whose second TIM field is OFF) is received without receiving data. When receiving a Beacon whose first TIM field is OFF, the reception impossible count is 1, and when receiving a Beacon whose second TIM field is OFF, the reception impossible count is 2. If the specified number of times is set to 2, the power mode is switched. In the case of NO in S505, the processing content may be changed within the scope of performing the processing of the present invention, such as clearing the data reception history. If the data reception history is cleared in the case of NO in S505, a situation where a beacon with the TIM field ON is received but no data can be received continuously occurs after a specified number of times, and then the TIM field is OFF Only when the Beacon is received, the power mode is switched.

以上のように、第一実施形態によれば、TIMフィールドがONの状態のBeaconを受信した際のデータの受信状況に応じて、省電力モードから通常モードへの電力モードの切り替えが行われる。そのため、相手装置であるアクセスポイントが規格どおりに動作しない場合でも、データのとりこぼしを低減させることができる。なお、上記実施形態において、図11のような状況でデータのとりこぼしを防ぐには、特定時間をBeacon周期1回分にする、あるいは、指定回数を1に設定すればよい。   As described above, according to the first embodiment, the power mode is switched from the power saving mode to the normal mode according to the data reception state when the Beacon with the TIM field being ON is received. Therefore, even when the access point as the counterpart device does not operate according to the standard, it is possible to reduce data loss. In the above embodiment, in order to prevent data loss in the situation shown in FIG. 11, the specific time may be set to one Beacon cycle, or the specified number of times may be set to one.

[第二実施形態]
図6は第二実施形態による通信装置600の構成の一例を示すブロック図である。図1記載の通信装置100に対して、制御部120に電力モード制御部622を追加している。図6において、図1と同一構成である部分に関しては同一の符号を付してその説明を省略する。電力モード制御部622は、
・電力モード切替部121が通信部150の電力モードを切替えた際に、切替えた電力モードと他装置が提供しているネットワークを識別する情報とから構成される装置識別情報を記憶部140に記憶し、
・通信装置600が、制御部120の指示によりネットワークから離脱した後に再度ネットワークへ参加する際、記憶部140の装置識別情報を参照して、以前に設定した電力モードがあればそれを電力モード切替部121を介して通信部150に設定する。
[Second Embodiment]
FIG. 6 is a block diagram showing an example of the configuration of the communication apparatus 600 according to the second embodiment. A power mode control unit 622 is added to the control unit 120 with respect to the communication apparatus 100 illustrated in FIG. 6, parts having the same configuration as in FIG. 1 are denoted by the same reference numerals and description thereof is omitted. The power mode control unit 622
When the power mode switching unit 121 switches the power mode of the communication unit 150, device identification information including the switched power mode and information for identifying a network provided by another device is stored in the storage unit 140. And
When the communication device 600 leaves the network according to an instruction from the control unit 120 and rejoins the network, the device identification information in the storage unit 140 is referred to, and if there is a previously set power mode, the power mode is switched. The communication unit 150 is set via the unit 121.

図7は、第二実施形態にかかる通信装置600の動作を説明するシーケンス図である。図7では、通信相手である他装置がアクセスポイントとなるインフラストラクチャモードの場合の動作が示されている。通信装置600がネットワークへ参加する前から、一度ネットワークに参加した後に離脱して、再度、同じネットワークへ参加した後、前回同ネットワークに参加していた時の電力モードを反映するまでの通信装置の動作が示されている。   FIG. 7 is a sequence diagram for explaining the operation of the communication apparatus 600 according to the second embodiment. FIG. 7 shows an operation in the infrastructure mode in which another device as a communication partner is an access point. Before the communication device 600 joins the network, once it joins the network, leaves the network, joins the same network again, and then reflects the power mode when it last joined the network. Operation is shown.

入力部110がユーザから通信装置600をネットワークへ参加させる操作を受けると、制御部120は通信部150に指示を出すことにより、通信装置600はアクセスポイントが提供するネットワークへ参加する(F701)。ネットワークに参加した後、入力部110から省電力モードで動作する旨の指示を受けると、通信装置600の電力モード切替部121は省電力モードを有効にするための指示を通信部150に対して行う。こうして、以降は、通信装置600を省電力モードで動作させる(F702)。その後、通信装置600はアクセスポイントと通信を行うが、第一実施形態で説明したように、電力モード決定部151は、通信状況を鑑みて通常モードに変更するか否かを決定する。電力モード決定部151は、通常モードにすることを決定すると、これを電力モード切替部121に通知する。電力モード切替部121は記憶部140に格納されている省電力モードに関するパラメータを通常モードに変更するとともに、省電力モードを無効にするための指示を通信部150に対して行い、以降の処理を通常モードとして動作させる(F703)。電力モード制御部622は、電力モードが通信の状況に応じて通常モードに決定されている場合には装置識別情報を記憶部140に記憶する(F704)。この装置識別情報は、通常モードであることを示す情報と、他装置が提供しているネットワーク(現在、自身が参加しているネットワーク)を識別する情報であるSSID(Service Set Identifier)とから構成される。なお、上記装置識別情報における他装置が提供しているネットワークを識別する情報は、SSIDではなく他装置のMACアドレスなどでも良い。   When the input unit 110 receives an operation for allowing the communication device 600 to join the network from the user, the control unit 120 issues an instruction to the communication unit 150, so that the communication device 600 joins the network provided by the access point (F701). After receiving the instruction to operate in the power saving mode from the input unit 110 after joining the network, the power mode switching unit 121 of the communication device 600 sends an instruction for enabling the power saving mode to the communication unit 150. Do. Thus, thereafter, the communication apparatus 600 is operated in the power saving mode (F702). Thereafter, the communication device 600 communicates with the access point. As described in the first embodiment, the power mode determination unit 151 determines whether or not to change to the normal mode in view of the communication status. When the power mode determination unit 151 determines to set the normal mode, the power mode determination unit 151 notifies the power mode switching unit 121 of this. The power mode switching unit 121 changes the parameter related to the power saving mode stored in the storage unit 140 to the normal mode and instructs the communication unit 150 to invalidate the power saving mode, and performs the subsequent processing. Operate in the normal mode (F703). The power mode control unit 622 stores the device identification information in the storage unit 140 when the power mode is determined to be the normal mode according to the communication status (F704). This device identification information is composed of information indicating the normal mode and SSID (Service Set Identifier) which is information for identifying a network provided by another device (a network in which the device is currently participating). Is done. The information for identifying the network provided by the other device in the device identification information may be the MAC address of the other device instead of the SSID.

ここで入力部110がユーザから通信装置600を現在参加しているネットワークから離脱させる操作を受けると、制御部120は通信部150に指示を出すことにより通信装置600をアクセスポイントが提供するネットワークから離脱させる(F705)。その後、入力部110がユーザから通信装置600を前回と同一のネットワークへ参加させる操作を受けると、制御部120は通信部150に指示を出すことにより通信装置600を当該アクセスポイントが提供するネットワークへ参加させる(F706)。電力モード制御部622は記憶部140に記憶されている装置識別情報を参照することにより、参加しているネットワークに関して離脱前に設定した電力モードがあるか確認する。ここでは、F704で記憶した装置識別情報が見つかり、電力モード制御部622は電力モード切替部121を介して通信部150の電力モードを通常モードに変更する(F707)。   When the input unit 110 receives an operation from the user to leave the communication device 600 from the currently participating network, the control unit 120 instructs the communication unit 150 to send the communication device 600 from the network provided by the access point. Leave (F705). Thereafter, when the input unit 110 receives an operation from the user to join the communication device 600 to the same network as the previous time, the control unit 120 instructs the communication unit 150 to send the communication device 600 to the network provided by the access point. Let them participate (F706). The power mode control unit 622 refers to the device identification information stored in the storage unit 140 to confirm whether there is a power mode set before leaving for the participating network. Here, the device identification information stored in F704 is found, and the power mode control unit 622 changes the power mode of the communication unit 150 to the normal mode via the power mode switching unit 121 (F707).

以上説明したように、第二実施形態によれば、前回参加していたネットワークに再度参加した場合には、前回のモード(省電力モードまたは通常モード)が自動的に設定されてモード移行する。従って、規格どおりに動作しなアクセスポイントが形成するネットワークに参加する場合、2度目以降からは省電力モードでの動作がただちに禁止され、より効果的にデータのとりこぼしを防止できる。   As described above, according to the second embodiment, when rejoining the network that was previously joined, the previous mode (power saving mode or normal mode) is automatically set and the mode is changed. Accordingly, when participating in a network formed by an access point that does not operate according to the standard, the operation in the power saving mode is immediately prohibited from the second time onward, and data can be more effectively prevented from being lost.

[第三実施形態]
図8は第三実施形態による通信装置800の構成の一例を示すブロック図である。図1記載の通信装置100に対して、電力モード切替部121および電力モード決定部151をなくし、通信部150に電力状態切替部851と電力状態決定部852を追加している。図8において、図1と同一構成である部分に関しては同一の符号を付してその説明を省略する。電力状態切替部851は、IEEE802.11で規定されている電力状態遷移、および電力状態決定部852の決定結果に基づき、通信部150の電力状態の切替えを行う。電力状態切替部851は、通常IEEE802.11で規定されている電力状態遷移に従うが、電力状態決定部852から指示がある場合は、電力状態決定部852の決定結果を優先する。電力状態決定部852は、他装置との通信状況に応じて電力状態を決定する。通信状況はBeaconやデータ受信から判断する。第一実施形態では、省電力モードから通常モードに切り替えることでActive状態を維持した。これに対して、第三実施形態では、特定条件の時に、指定回数だけBeaconを受信した後、特定時間の経過後にDoze状態に遷移するまでActive状態を維持することにより、通信の接続性を確保する。
[Third embodiment]
FIG. 8 is a block diagram showing an example of the configuration of the communication apparatus 800 according to the third embodiment. The power mode switching unit 121 and the power mode determination unit 151 are eliminated from the communication device 100 illustrated in FIG. 1, and a power state switching unit 851 and a power state determination unit 852 are added to the communication unit 150. 8, portions having the same configuration as in FIG. 1 are denoted by the same reference numerals and description thereof is omitted. The power state switching unit 851 switches the power state of the communication unit 150 based on the power state transition defined by IEEE802.11 and the determination result of the power state determination unit 852. The power state switching unit 851 normally follows the power state transition defined by IEEE802.11. However, when there is an instruction from the power state determination unit 852, the determination result of the power state determination unit 852 is given priority. The power state determination unit 852 determines the power state according to the communication status with other devices. The communication status is judged from Beacon and data reception. In the first embodiment, the Active state is maintained by switching from the power saving mode to the normal mode. On the other hand, in the third embodiment, after receiving Beacon a specified number of times under specific conditions, the active state is maintained until the transition to the Doze state after the elapse of a specific time, thereby ensuring communication connectivity. To do.

図9は第三実施形態による通信装置800の動作を示すシーケンス図である。図9に示されているのは、通信相手である他装置がアクセスポイントとなるインフラストラクチャモードの場合である。通信装置800が、アクセスポイントが構成するネットワークに参加して省電力モードに移行し、Active状態とDoze状態とを繰り返す。図9では、Active状態に移行した後から、特定条件に一致し、指定回数だけBeaconを受信した後、特定時間経過後にDoze状態に遷移するまでの動作が示されている。図9における特定条件とは、TIMフィールドがONのBeaconを受信したが、データを受信できないという条件である。   FIG. 9 is a sequence diagram showing an operation of the communication apparatus 800 according to the third embodiment. FIG. 9 shows the case of the infrastructure mode in which another device as a communication partner is an access point. The communication device 800 joins the network configured by the access point, shifts to the power saving mode, and repeats the Active state and the Doze state. FIG. 9 shows an operation from the transition to the Active state to the transition to the Doze state after a specific time elapses after the Beacon is received a specified number of times, after matching the specific condition. The specific condition in FIG. 9 is a condition in which a beacon whose TIM field is ON is received but data cannot be received.

省電力モードで動作している通信装置800において、電力状態切替部851はIEEE802.11で規定されている電力状態遷移に従い、Beaconの受信タイミングで通信部150をActive状態に切替える。この状態で、通信部150はアンテナ160を介してアクセスポイントからBeaconを受信する(F901)。通信部150がBeaconのTIMフィールドがOFFであることを認識すると、電力状態切替部851はIEEE802.11で規定されている電力状態遷移に従い、通信部150をDoze状態に遷移する。次のBeacon受信タイミングにおいて、電力状態切替部851はIEEE802.11で規定されている電力状態遷移に従い、通信部150をActive状態に切替える。そして、通信部150はアンテナ160を介してアクセスポイントからBeaconを受信する(F902)。通信部150はBeaconのTIMフィールドがONであることを認識すると、PS-Pollをアクセスポイントに送信する(F903)。しかしF203(図2)の時と同様、通信部150はデータを受信できていない。通信部150は更に次のBeaconを受信する(F904)。ここで制御部120が通信部150へBeaconの受信指定回数を1と指定した場合、通信部150は特定時間のタイマを開始する。通信部150は、BeaconのTIMフィールドを参照し、それがOFFであることを認識する。BeaconのTIMフィールドがOFFであった場合、その後、特定時間のタイマが完了した時点で、電力状態決定部852はDoze状態に遷移することを決定し、電力状態切替部851に通知する。電力状態切替部851は通信部150をDoze状態に切替える。   In the communication apparatus 800 operating in the power saving mode, the power state switching unit 851 switches the communication unit 150 to the Active state at the Beacon reception timing in accordance with the power state transition defined by IEEE802.11. In this state, the communication unit 150 receives Beacon from the access point via the antenna 160 (F901). When the communication unit 150 recognizes that the Beacon TIM field is OFF, the power state switching unit 851 transitions the communication unit 150 to the Doze state in accordance with the power state transition defined by IEEE802.11. At the next Beacon reception timing, the power state switching unit 851 switches the communication unit 150 to the Active state in accordance with the power state transition defined by IEEE802.11. And the communication part 150 receives Beacon from an access point via the antenna 160 (F902). When recognizing that the TIM field of Beacon is ON, the communication unit 150 transmits PS-Poll to the access point (F903). However, as in F203 (FIG. 2), the communication unit 150 cannot receive data. The communication unit 150 further receives the next Beacon (F904). Here, when the control unit 120 specifies the Beacon reception designation count to 1 to the communication unit 150, the communication unit 150 starts a timer for a specific time. The communication unit 150 refers to the Beacon TIM field and recognizes that it is OFF. When the TIM field of Beacon is OFF, after that, when the timer for a specific time is completed, the power state determination unit 852 determines to shift to the Doze state and notifies the power state switching unit 851. The power state switching unit 851 switches the communication unit 150 to the Doze state.

以上の処理は、図4に示したS406を「所定時間経過後にDoze状態へ移行する」処理とし、電力状態決定部852が当該処理を実行することで実現できる。なお、第一実施形態で説明した図3(S307を「所定時間経過後に(所定時間だけ遅延させて)Doze状態へ移行する」とする)や図5(S506を「所定時間経過後に(所定時間だけ遅延させて)Doze状態へ移行する」とする)の処理を適用してもよい。なお、上記ではPS-Poll送信後にデータを受信できなかったが、データを受信できた場合には、IEEE802.11仕様に従ってDoze状態に遷移するようにしても良い。   The above process can be realized by setting S406 shown in FIG. 4 as a process of “transitioning to the Doze state after a predetermined time has elapsed” and the power state determination unit 852 executing the process. 3 described in the first embodiment (S307 is “determined to shift to the Doze state after a predetermined time has elapsed (delayed by a predetermined time)”) and FIG. 5 (S506 is “after a predetermined time has elapsed (predetermined time) The process of “transition to Doze state”) may be applied. In the above description, data cannot be received after PS-Poll transmission. However, when data can be received, the state may be changed to the Doze state according to the IEEE802.11 specification.

また、図10は第三実施形態の通信装置800による動作を示すシーケンス図である。図10では、通信相手である他装置がアクセスポイントとなるインフラストラクチャモードの場合が示されている。図10では、通信装置800が、アクセスポイントが構成するネットワークに参加して省電力モードに移行してから、特定条件に一致し、指定回数だけBeaconを受信した後、特定時間経過後にDoze状態に遷移するまでの動作を示している。なお、図10における特定条件とは、他装置からPS-Pollによりデータ受信を行った後、さらにデータ受信を行えないBeacon(TIMフィールドがOFFのBeacon)を受信したという条件である。   FIG. 10 is a sequence diagram illustrating an operation performed by the communication apparatus 800 according to the third embodiment. FIG. 10 shows a case of an infrastructure mode in which another device as a communication partner is an access point. In FIG. 10, after the communication device 800 joins the network configured by the access point and shifts to the power saving mode, the communication device 800 matches the specific condition, receives the Beacon for the specified number of times, and then enters the Doze state after the specific time has elapsed. The operation until the transition is shown. Note that the specific condition in FIG. 10 is a condition that after receiving data from another device by PS-Poll, a Beacon that cannot receive data (a Beacon whose TIM field is OFF) is received.

省電力モードで動作している通信装置800において、電力状態切替部851はIEEE802.11で規定されている電力状態遷移に従い、Beaconの受信タイミングで通信部150をActive状態に切替える。通信部150はアンテナ160を介してアクセスポイントからBeaconを受信する(F1001)。通信部150がBeaconのTIMフィールドを参照し、それがOFFであることを認識すると、電力状態切替部851はIEEE802.11で規定されている電力状態遷移に従い、通信部150をDoze状態に遷移する。次に、電力状態切替部851は、IEEE802.11で規定されている電力状態遷移に従い、次のBeacon受信タイミングで通信部150をActive状態に切替える。通信部150はアンテナ160を介してアクセスポイントからBeaconを受信する(F1002)。通信部150はBeaconのTIMフィールドを参照し、それがONであることを認識すると、PS-Pollをアクセスポイントに送信する(F1003)。通信部150はアンテナ160を介してアクセスポイントからデータを受信する(F1004)。通信部150はActive状態を維持し、アンテナ160を介してアクセスポイントから次のBeaconを受信する(F1005)。ここで制御部120が通信部150へBeaconの受信指定回数を1と指定した場合、通信部150は特定時間のタイマを開始する。その後、特定時間のタイマが完了した時点で、電力状態決定部852はDoze状態に遷移することを決定し、電力状態切替部851に通知する。電力状態切替部851は通信部150をDoze状態に切替える。   In the communication apparatus 800 operating in the power saving mode, the power state switching unit 851 switches the communication unit 150 to the Active state at the Beacon reception timing in accordance with the power state transition defined by IEEE802.11. The communication unit 150 receives Beacon from the access point via the antenna 160 (F1001). When the communication unit 150 refers to the Beacon TIM field and recognizes that it is OFF, the power state switching unit 851 transitions the communication unit 150 to the Doze state in accordance with the power state transition defined in IEEE802.11. . Next, the power state switching unit 851 switches the communication unit 150 to the Active state at the next Beacon reception timing in accordance with the power state transition defined by IEEE802.11. The communication unit 150 receives Beacon from the access point via the antenna 160 (F1002). When the communication unit 150 refers to the TIM field of Beacon and recognizes that it is ON, the communication unit 150 transmits PS-Poll to the access point (F1003). The communication unit 150 receives data from the access point via the antenna 160 (F1004). The communication unit 150 maintains the Active state, and receives the next Beacon from the access point via the antenna 160 (F1005). Here, when the control unit 120 specifies the Beacon reception designation count to 1 to the communication unit 150, the communication unit 150 starts a timer for a specific time. Thereafter, when the timer for the specific time is completed, the power state determination unit 852 determines to shift to the Doze state, and notifies the power state switching unit 851. The power state switching unit 851 switches the communication unit 150 to the Doze state.

この場合、PS-Pollを送信した後は、データが受信されるまではActive状態が必ず維持されることになる。このような制御により生ずる効果は次のとおりである。他装置(AP)からPS-Pollによりデータ受信を行う際、さらに他装置に自装置宛てのデータ(継続データ)がある場合はデータフレーム(F1004)の制御制御フィールド中のモアデータビットを1に設定し、データがない場合はモアデータビットを0に設定するようにIEEE802.11で規定されている。ここで、IEEE802.11の仕様では、モアデータビットが0になるか、BeaconのTIMがOFFになれば、Doze状態に遷移してよいと規定されている。しかしながら、市場のアクセスポイントの中には、モアデータビットを正しく設定せず、ある時間が経過した後でデータを送信するような製品も存在する。よって、本実施形態の通信装置では、そのようなアクセスポイントと通信する際もデータ損失を極力なくすために、モアデータビットの値を信用せず(あえて参照せず)、通信部150はActive状態を維持するようにして、次のBeaconまでのデータ損失を防ぐようにしている。また、IEEE802.11の仕様的では、TIMがOFFであれば、特定時間経過せずにDoze状態に遷移できるように規定されている。これに対し、本実施形態の通信装置では、次のBeaconのTIMがOFFであっても、あえて特定時間Active状態を継続することにより、さらにデータ損失を防止するようにしている。   In this case, after transmitting the PS-Poll, the Active state is always maintained until data is received. The effects produced by such control are as follows. When data is received from another device (AP) by PS-Poll, if the other device has data (continuous data) addressed to itself, the more data bit in the control control field of the data frame (F1004) is set to 1. It is specified by IEEE802.11 to set the more data bit to 0 when there is no data. Here, the IEEE802.11 specification stipulates that the transition to the Doze state may be made if the more data bit becomes 0 or the Beacon TIM is turned OFF. However, some access points in the market do not correctly set the more data bits and send data after a certain period of time. Therefore, in the communication apparatus of this embodiment, in order to minimize data loss even when communicating with such an access point, the value of the more data bit is not trusted (not referred to), and the communication unit 150 is in the active state. To keep data from being lost until the next Beacon. Further, the IEEE802.11 specification stipulates that if the TIM is OFF, a transition to the Doze state can be made without elapse of a specific time. On the other hand, in the communication apparatus of this embodiment, even if the next Beacon TIM is OFF, data loss is further prevented by intentionally continuing the Active state for a specific time.

以上のように、第一実施形態によれば、省電力機能を有する通信装置において、他装置との通信状況に応じて電力モードを自動的に切替える。さらに、第二実施形態によれば、その自動的に切替えた結果を保持しておき、次回ネットワーク参加時、切替えた電力モードにより通信が行われる。また、第三実施形態によれば、省電力モードで動作する通信装置において、他装置との通信状況に応じて無線インターフェースの有効、無効が切替えられる。以上のような各実施形態によれば、省電力モードで構成されたネットワークに新規ステーションが参加する場合以外のデータの取りこぼしを考慮し、IEEE802.11だけに準拠しているアクセスポイントにおいてもパケットロスを考慮した省電力状態の遷移を実現できる。さらに、通信装置の通信相手が不具合アクセスポイントの時でも接続性を確保できるため、ユーザが通信できない等の不具合に遭遇する機会を減少させることができる。   As described above, according to the first embodiment, in the communication device having the power saving function, the power mode is automatically switched according to the communication status with other devices. Furthermore, according to the second embodiment, the result of the automatic switching is retained, and communication is performed in the switched power mode at the next network participation. Further, according to the third embodiment, in a communication device that operates in the power saving mode, the validity / invalidity of the wireless interface is switched according to the communication status with other devices. According to each of the embodiments as described above, packet loss can be achieved even at an access point compliant with only IEEE802.11 in consideration of data loss except when a new station joins a network configured in the power saving mode. It is possible to realize the transition of the power saving state in consideration of the above. Furthermore, since the connectivity can be ensured even when the communication partner of the communication device is a defective access point, the chance of encountering a problem such as a user being unable to communicate can be reduced.

また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(または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 (10)

通信装置であって、
他の通信装置からデータを受信する起動状態と、前記他の通信装置からデータを受信しない仮眠状態とを時分割に切り替えて通信する省電力モードにおいて、前記他の通信装置から制御情報を受信する受信手段と、
前記受信手段により受信した前記制御情報が、前記他の通信装置から取得すべきデータが存在することを示す場合に、前記他の通信装置に対してデータを要求する要求手段と、
取得すべきデータが存在することを示す前記制御情報を前記受信手段が受信してから前記要求に対応したデータを前記他の通信装置から受信しないまま所定の時間が経過した場合、前記省電力モードから前記起動状態が継続する他のモードに移行させる移行手段と、
を備えることを特徴とする通信装置。
A communication device,
Control information is received from the other communication device in a power saving mode in which the communication is switched between time-division between a start state in which data is received from another communication device and a nap state in which data is not received from the other communication device. Receiving means;
Requesting means for requesting data from the other communication device when the control information received by the receiving means indicates that there is data to be acquired from the other communication device;
When a predetermined time has passed without receiving the data corresponding to the request from the other communication device after the receiving means has received the control information indicating that there is data to be acquired, the power saving mode A transition means for transitioning from one mode to another mode in which the startup state continues,
A communication apparatus comprising:
取得すべきデータが存在することを示す前記制御情報を前記受信手段が受信したときに開始されるタイマ手段を更に備え、
前記移行手段は、前記タイマ手段による計時に基づいて前記所定の時間が経過したと判定することを特徴とする請求項1に記載の通信装置。
Timer means started when the receiving means receives the control information indicating that there is data to be acquired;
The communication apparatus according to claim 1, wherein the transition unit determines that the predetermined time has elapsed based on the time measured by the timer unit.
前記受信手段が取得すべきデータが存在することを示す前記制御情報を受信した後に、前記受信手段が制御情報の受信した回数をカウントするカウント手段を更に備え、
前記移行手段は、前記カウント手段が指定回数をカウントしたことにより、前記所定の時間が経過したと判定することを特徴とする請求項1に記載の通信装置。
After receiving the control information indicating that there is data to be acquired by the receiving unit, the receiving unit further includes a counting unit that counts the number of times the control information is received,
The communication apparatus according to claim 1, wherein the transition unit determines that the predetermined time has elapsed when the counting unit counts the designated number of times.
前記移行手段は、前記要求に対応するデータを前記他の通信装置から受信できないまま前記所定の時間が経過した後、取得すべきデータが存在しないことを示す前記制御情報を前記受信手段が受信した場合に、前記省電力モードから前記他のモードに移行させることを特徴とする請求項1乃至3のいずれか1項に記載の通信装置。   The shift means receives the control information indicating that there is no data to be acquired after the predetermined time has passed without receiving data corresponding to the request from the other communication device. 4. The communication apparatus according to claim 1, wherein the communication apparatus shifts from the power saving mode to the other mode. 前記移行手段により前記他のモードへ移行された後に前記他の通信装置が形成するネットワークから離脱し、当該ネットワークに再度参加した場合は、当該通信装置を前記他のモードで動作させる制御手段を更に備えることを特徴とする請求項1乃至4のいずれか1項に記載の通信装置。   Control means for causing the communication device to operate in the other mode when the transfer device leaves the network formed by the other communication device after being transferred to the other mode and rejoins the network. The communication apparatus according to any one of claims 1 to 4, further comprising: 現在参加しているネットワークを識別する識別情報と前記省電力モードから前記他のモードへ移行したこととを記憶する記憶手段を更に備え、
前記制御手段は、前記ネットワークから離脱した後、ネットワークに参加した際に、当該参加したネットワークの識別情報が前記記憶手段に記憶されている識別情報と一致した場合に、当該通信装置を前記他のモードで動作させることを特徴とする請求項5に記載の通信装置。
And further comprising storage means for storing identification information for identifying the currently participating network and that the mode has been shifted from the power saving mode to the other mode,
The control means, when leaving the network and joining the network, if the identification information of the joined network matches the identification information stored in the storage means, The communication apparatus according to claim 5, wherein the communication apparatus is operated in a mode.
起動状態と仮眠状態とを交互に繰り返し、相手装置から周期的に送信される制御情報の送信周期に同期して装置を前記起動状態に切り替えることにより通信を行う省電力モードで動作する通信装置であって、
前記相手装置から制御情報を受信する受信手段と、
前記受信手段により受信した制御情報が、前記相手装置から取得すべきデータが存在することを示す場合に、前記相手装置に対してデータ要求を送信する送信手段と、
前記データ要求に応じて前記相手装置からデータを受信したこと、もしくは前記相手装置から取得すべきデータが存在しないことを示す制御情報を前記受信手段が受信したことに基づいて前記起動状態から前記仮眠状態へ切り替える電力状態切替手段とを備え、
前記電力状態切替手段は、取得すべきデータが存在することを示す制御情報を前記受信手段が受信してから前記データ要求に対応したデータを前記相手装置から受信できないまま特定時間が経過した場合には、前記特定時間が経過した後に前記受信手段が制御情報を受信してから所定時間だけ遅延させて前記通信装置を仮眠状態とすることを特徴とする通信装置。
A communication device that operates in a power saving mode in which communication is performed by alternately switching between an activated state and a nap state and switching the device to the activated state in synchronization with a transmission period of control information periodically transmitted from the partner device. There,
Receiving means for receiving control information from the counterpart device;
A transmission means for transmitting a data request to the counterpart apparatus when the control information received by the reception means indicates that there is data to be acquired from the counterpart apparatus;
The nap from the activated state based on the reception of control information indicating that data has been received from the counterpart device in response to the data request or that there is no data to be acquired from the counterpart device. Power state switching means for switching to a state,
The power state switching means, when the receiving means receives control information indicating that there is data to be acquired, and when a specific time has passed without receiving data corresponding to the data request from the counterpart device Is a communication apparatus characterized in that after the specific time has elapsed, the receiving means delays by a predetermined time after receiving the control information to put the communication apparatus in a nap state.
起動状態と仮眠状態とを交互に繰り返し、相手装置から周期的に送信される制御情報の送信周期に同期して装置を前記起動状態に切り替えることにより通信を行う省電力モードで動作する通信装置であって、
前記相手装置から制御情報を受信する受信手段と、
前記受信手段により受信した制御情報が、前記相手装置から取得すべきデータが存在することを示す場合に、前記相手装置に対してデータ要求を送信する送信手段と、
前記データ要求に応じて前記相手装置からデータを受信したこと、もしくは前記相手装置から取得すべきデータが存在しないことを示す制御情報を前記受信手段が受信したことに基づいて前記起動状態から前記仮眠状態へ切り替える電力状態切替手段とを備え、
前記電力状態切替手段は、取得すべきデータが存在することを示す制御情報を前記受信手段が受信してから前記データ要求に対応したデータを前記相手装置から受信した後に、前記相手装置から取得すべきデータが存在しなことを示す制御情報を前記受信手段が受信してから所定時間だけ遅延させて前記通信装置を仮眠状態とすることを特徴とする通信装置。
A communication device that operates in a power saving mode in which communication is performed by alternately switching between an activated state and a nap state and switching the device to the activated state in synchronization with a transmission period of control information periodically transmitted from the partner device. There,
Receiving means for receiving control information from the counterpart device;
A transmission means for transmitting a data request to the counterpart apparatus when the control information received by the reception means indicates that there is data to be acquired from the counterpart apparatus;
The nap from the activated state based on the reception of control information indicating that data has been received from the counterpart device in response to the data request or that there is no data to be acquired from the counterpart device. Power state switching means for switching to a state,
The power state switching means obtains from the counterpart apparatus after receiving data corresponding to the data request from the counterpart apparatus after the reception means has received control information indicating that there is data to be acquired. A communication apparatus characterized by putting the communication apparatus into a nap state by delaying a predetermined time after receiving the control information indicating that no data should be present.
起動状態と仮眠状態とを交互に繰り返し、相手装置から周期的に送信される制御情報の送信周期に同期して装置を前記起動状態に切り替えることにより通信を行う省電力モードを電力モードの一つとして実行可能な通信装置の制御方法であって、
受信手段が、前記省電力モードにおいて前記相手装置から制御情報を受信する受信工程と、
送信手段が、前記受信工程で受信した制御情報が、前記相手装置から取得すべきデータが存在することを示す場合に、前記相手装置に対してデータ要求を送信する送信工程と、
モード制御手段が、取得すべきデータが存在することを示す制御情報を前記受信工程で受信してから前記データ要求に対応したデータを前記相手装置から受信できないまま特定時間が経過したことに基づいて、前記電力モードを前記省電力モードから前記起動状態が継続する他のモードに移行させるモード制御工程と、を有することを特徴とする通信装置の制御方法。
One of the power modes is a power saving mode in which communication is performed by alternately switching between an activated state and a nap state and switching the device to the activated state in synchronization with a transmission period of control information periodically transmitted from the partner device. A communication device control method executable as
A receiving step for receiving control information from the counterpart device in the power saving mode;
A transmitting step for transmitting a data request to the counterpart device when the control information received in the reception step indicates that there is data to be acquired from the counterpart device; and
Based on the fact that the mode control means has received the control information indicating that there is data to be acquired in the reception step and has not received the data corresponding to the data request from the counterpart device after a specific time has passed. And a mode control step of shifting the power mode from the power saving mode to another mode in which the activation state continues.
コンピュータを、請求項1乃至8のいずれか1項に記載の通信装置の各手段として機能させることを特徴とするプログラム。   A program that causes a computer to function as each unit of the communication device according to any one of claims 1 to 8.
JP2010277422A 2010-12-13 2010-12-13 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM Active JP5582993B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010277422A JP5582993B2 (en) 2010-12-13 2010-12-13 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010277422A JP5582993B2 (en) 2010-12-13 2010-12-13 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2012129655A true JP2012129655A (en) 2012-07-05
JP5582993B2 JP5582993B2 (en) 2014-09-03

Family

ID=46646259

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010277422A Active JP5582993B2 (en) 2010-12-13 2010-12-13 COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP5582993B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014010241A1 (en) * 2012-07-11 2014-01-16 京セラ株式会社 Power control system, power control device, server device, and method for controlling power control system
JP2015527790A (en) * 2012-07-13 2015-09-17 エルジー エレクトロニクス インコーポレイティド Channel access method and apparatus using null data packet frame in wireless LAN system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005124159A (en) * 2003-09-03 2005-05-12 Samsung Electronics Co Ltd METHOD AND DEVICE FOR SAVING POWER OF WLAN (Wireless LAN)
JP2006135549A (en) * 2004-11-04 2006-05-25 Canon Inc Communication device, control method and its program
JP2009206762A (en) * 2008-02-27 2009-09-10 Panasonic Corp Communication terminal device and receiving method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005124159A (en) * 2003-09-03 2005-05-12 Samsung Electronics Co Ltd METHOD AND DEVICE FOR SAVING POWER OF WLAN (Wireless LAN)
JP2006135549A (en) * 2004-11-04 2006-05-25 Canon Inc Communication device, control method and its program
JP2009206762A (en) * 2008-02-27 2009-09-10 Panasonic Corp Communication terminal device and receiving method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014010241A1 (en) * 2012-07-11 2014-01-16 京セラ株式会社 Power control system, power control device, server device, and method for controlling power control system
US10243373B2 (en) 2012-07-11 2019-03-26 Kyocera Corporation Power control system, power control device, server device, and method for controlling power control system
JP2015527790A (en) * 2012-07-13 2015-09-17 エルジー エレクトロニクス インコーポレイティド Channel access method and apparatus using null data packet frame in wireless LAN system
US9585165B2 (en) 2012-07-13 2017-02-28 Lg Electronics Inc. Method and apparatus for accessing channel using null data packet in wireless LAN system

Also Published As

Publication number Publication date
JP5582993B2 (en) 2014-09-03

Similar Documents

Publication Publication Date Title
US10887836B2 (en) Scheduled peer power save mode
EP3024289B1 (en) Communication system, communication apparatus and communication method, and computer program
ES2788855T3 (en) WLAN module power management apparatus and procedure in handheld terminal
KR101726773B1 (en) Systems and methods for power savings in wireless communications
JP4489452B2 (en) Method and apparatus for managing power in a network interface module
KR100705577B1 (en) Apparatus and method for packet transmission scheduling in wireless ad hoc network
JP2007329696A (en) Communication system, communication device and communication method, and computer program
CA2716353A1 (en) Wireless network including post groupcast time
JP2006060788A (en) Method of optimizing energy consumption of communication station in radio network, and method of controlling communication station
KR20170067774A (en) Method and apparatus to improve wireless device performance
US7801574B2 (en) Wireless communication apparatus, wireless network system, communication method and program
TW202131726A (en) Wireless communication method with adaptive power control mechanism and associated circuitry within electronic device
KR101589434B1 (en) Apparatus and method for connecting wlan in portable terminal
JP6021445B2 (en) COMMUNICATION DEVICE AND ITS CONTROL METHOD
JP5582993B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM
TW202215899A (en) Non-simultaneous transmission and reception mobile access point and method performed thereby, and non-simultaneous transmission and reception end user device and method performed thereby
JP2009038659A (en) Information communication terminal, radio communication apparatus, and radio communication network
Peng Implementing ZigBee-assisted power saving management for short-delay traffics
JP2006129041A (en) Data transfer system, transmission terminal, reception terminal, data transmission method, and data reception method
JP2014003581A (en) Communication device, method for controlling communication device, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131125

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140612

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140715

R151 Written notification of patent or utility model registration

Ref document number: 5582993

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151