JP5321513B2 - Communication terminal, reception standby method, and program - Google Patents

Communication terminal, reception standby method, and program Download PDF

Info

Publication number
JP5321513B2
JP5321513B2 JP2010070492A JP2010070492A JP5321513B2 JP 5321513 B2 JP5321513 B2 JP 5321513B2 JP 2010070492 A JP2010070492 A JP 2010070492A JP 2010070492 A JP2010070492 A JP 2010070492A JP 5321513 B2 JP5321513 B2 JP 5321513B2
Authority
JP
Japan
Prior art keywords
reception
time
unit
standby time
response signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010070492A
Other languages
Japanese (ja)
Other versions
JP2011205386A (en
Inventor
智明 中西
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2010070492A priority Critical patent/JP5321513B2/en
Publication of JP2011205386A publication Critical patent/JP2011205386A/en
Application granted granted Critical
Publication of JP5321513B2 publication Critical patent/JP5321513B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明は、アクティブスキャンによりアクセスポイントとの接続を行う通信端末、受信待機方法及びプログラムに関する。   The present invention relates to a communication terminal that performs connection with an access point by active scanning, a reception standby method, and a program.

無線LAN(Local Area Network)機能を有するPC(Personal Computer)等の端末装置が普及している。近年は、インターネットとの親和性が高いことや、多様なサービスの提供が容易であることから、携帯電話等の小型の端末装置にも無線LAN機能が搭載された商品が多くなっている。また、家電製品においても、DLNA(Digital Living Network Aliance)等、LANに接続することでサービスを受けることができるものが開発されており、今後も無線LANの需要は高くなると推測される。   A terminal device such as a PC (Personal Computer) having a wireless LAN (Local Area Network) function is widespread. In recent years, since the compatibility with the Internet is high and it is easy to provide various services, there are an increasing number of products equipped with a wireless LAN function in small terminal devices such as mobile phones. In addition, home appliances such as DLNA (Digital Living Network Alliance) that can receive services by connecting to a LAN have been developed, and it is estimated that the demand for wireless LAN will increase in the future.

ここで、携帯電話などの小型の端末装置に無線LAN機能を搭載する場合の大きな課題として、バッテリの容量問題が挙げられる。携帯電話のような小型の端末装置は、家電製品やPC等と異なり、搭載できるバッテリの容量そのものが小さいため、無線LAN機能による消費電力量を低く抑えることが望まれている。また、端末装置全体の消費電力量に対して無線LANによる消費電力量の占める割合は比較的大きいため、無線LANでの消費電力量の低減は装置全体の消費電力量の低減につながることとなる。   Here, a battery capacity problem is a major issue when a wireless LAN function is installed in a small terminal device such as a mobile phone. A small terminal device such as a cellular phone has a small capacity of a battery that can be mounted, unlike home appliances and PCs, so that it is desired to reduce power consumption by a wireless LAN function. In addition, since the ratio of the power consumption by the wireless LAN to the power consumption of the entire terminal device is relatively large, the reduction of the power consumption of the wireless LAN leads to the reduction of the power consumption of the entire device. .

ところで、無線LAN機能を有する機器(通信端末、アクセスポイント)は、信号の送信を行う場合、キャリアセンスや相関信号センスを行い、周囲の無線状況を確認し、周囲にノイズがないと判定した場合に、信号の送信を行う。そのため、キャリアセンスや相関信号センスにより一の機器が送信する信号が検知された場合、他の機器は信号の送信を行わず、次のキャリアセンスの実行を待機することとなる。   By the way, when a device (communication terminal, access point) having a wireless LAN function performs signal transmission, it performs carrier sense or correlation signal sense, confirms surrounding wireless conditions, and determines that there is no noise in the surroundings. In addition, signal transmission is performed. Therefore, when a signal transmitted from one device is detected by carrier sense or correlation signal sense, the other device does not transmit a signal and waits for the next carrier sense.

また、特許文献1には、キャリアセンスを間欠的に行うとともに、キャリアセンス時には、現在のアクセス状況に連動してキャリアセンスの間欠時間を変更することで、キャリアセンス時における消費電力の削減を行う技術が開示されている。
また、特許文献2には、データフレームが送信されてから次のデータフレームが送信されるまでの時間間隔を延ばすことで、パケット衝突を低減する技術が開示されている。
また、特許文献3には、アクセスポイントからの応答の受け付けを締め切る時間として、同一モビリティドメインに属するアクセスポイントの数やアクセスポイントが接続されているネットワークの伝送レート、および平均混雑度合いなどを考慮して決定する技術が開示されている。
Japanese Patent Laid-Open No. 2004-228561 performs carrier sense intermittently and, at the time of carrier sense, reduces the power consumption at the time of carrier sense by changing the intermittent time of carrier sense in conjunction with the current access status. Technology is disclosed.
Patent Document 2 discloses a technique for reducing packet collisions by extending the time interval from transmission of a data frame to transmission of the next data frame.
Patent Document 3 considers the number of access points that belong to the same mobility domain, the transmission rate of the network to which the access points are connected, the average degree of congestion, and the like as the time for which reception of responses from access points is closed. A technique for determining the position is disclosed.

特開2008−172642号公報JP 2008-172642 A 特開2008−211600号公報JP 2008-211600 A 特開2009−088718号公報JP 2009-088718 A

端末装置の無線LAN機能による消費電力量の低減を行うには、アクティブスキャンによるリクエスト信号の送信後、レスポンス信号の受信の待機を終了して省電力状態に移行するまでの時間である受信待機時間を短くすることが挙げられる。しかしながら、受信待機時間を短くすると、他のアクセスポイントからのレスポンス信号が混信したためにレスポンス信号の送信が遅れた場合、その信号を取りこぼしてしまう惧れがある。   In order to reduce the amount of power consumed by the wireless LAN function of the terminal device, the reception standby time, which is the time from when the request signal is transmitted by active scan until the response signal is terminated and the power saving state is entered Shortening the length. However, if the reception standby time is shortened, if the response signal from another access point interferes with the transmission of the response signal due to interference, the signal may be missed.

本発明は上記の課題を解決するためになされたものであり、アクティブスキャンによりアクセスポイントとの接続を行う通信端末であって、リクエスト信号を送信する送信部と、前記アクセスポイントからのレスポンス信号の受信の待機を終了するまでの時間を示す受信待機時間を記憶する待機時間記憶部と、前記送信部がリクエスト信号を送信した時刻から、前記レスポンス信号の受信の待機を継続する最小限の時間を示す所定の最小受信待機時間と前記待機時間記憶部が記憶する前記受信待機時間とのうち、より長い時間を示すほうが示す時間までの間、前記アクセスポイントから前記送信部が送信したリクエスト信号に応答するレスポンス信号の受信を待機する受信部と、前記受信部が最後に受信した連続する2つのレスポンス信号の受信間隔を算出する受信間隔算出部と、前記受信間隔算出部が算出した受信間隔が短いほど、前記待機時間記憶部が記憶する受信待機時間を長い時間に書き換える待機時間延長部と、を備えることを特徴とする。   The present invention has been made to solve the above-described problem, and is a communication terminal that connects to an access point by active scanning, and includes a transmission unit that transmits a request signal, and a response signal from the access point. A standby time storage unit for storing a reception standby time indicating a time until the reception standby is completed, and a minimum time for continuing the reception of the response signal from the time when the transmission unit transmits the request signal. Responding to a request signal transmitted from the access point from the access point to a time indicated by a longer one of the predetermined minimum reception waiting time indicated and the reception waiting time stored in the waiting time storage unit A receiving unit that waits for reception of a response signal to be received, and two consecutive response signals received by the receiving unit last A reception interval calculation unit that calculates a reception interval, and a standby time extension unit that rewrites the reception standby time stored in the standby time storage unit to a longer time as the reception interval calculated by the reception interval calculation unit is shorter. It is characterized by.

また、本発明は、アクティブスキャンによりアクセスポイントとの接続を行い、前記アクセスポイントからのレスポンス信号の受信の待機を終了するまでの時間を示す受信待機時間を記憶する待機時間記憶部を供える通信端末を用いた受信待機方法であって、送信部は、リクエスト信号を送信し、受信部は、前記送信部がリクエスト信号を送信した時刻から、前記レスポンス信号の受信の待機を継続する最小限の時間を示す所定の最小受信待機時間と前記待機時間記憶部が記憶する前記受信待機時間とのうち、より長い時間を示すほうが示す時間までの間、前記アクセスポイントから前記送信部が送信したリクエスト信号に応答するレスポンス信号の受信を待機し、受信間隔算出部は、前記受信部が最後に受信した連続する2つのレスポンス信号の受信間隔を算出し、待機時間延長部は、前記受信間隔算出部が算出した受信間隔が短いほど、前記待機時間記憶部が記憶する受信待機時間を長い時間に書き換えることを特徴とする。   In addition, the present invention provides a communication terminal provided with a standby time storage unit that stores a reception standby time indicating a time until connection with an access point is performed by active scanning and the reception of a response signal from the access point is ended. In this method, the transmitting unit transmits a request signal, and the receiving unit has a minimum time to continue waiting for reception of the response signal from the time when the transmitting unit transmits the request signal. In the request signal transmitted from the access point to the request signal transmitted from the access point until the time indicated by the longer minimum time among the predetermined minimum reception standby time indicating the standby time and the reception standby time stored in the standby time storage unit The reception interval calculation unit waits for reception of a response signal to respond, and the reception interval calculation unit receives two consecutive responses received by the reception unit last. Calculates a reception interval of items, extensions waiting time, as the reception interval of the reception interval calculating unit has calculated is shorter, characterized in that rewrites the reception waiting time the standby time storing unit stores a long time.

また、本発明は、アクティブスキャンによりアクセスポイントとの接続を行い、前記アクセスポイントからのレスポンス信号の受信の待機を終了するまでの時間を示す受信待機時間を記憶する待機時間記憶部を供える通信端末を、リクエスト信号を送信する送信部、前記送信部がリクエスト信号を送信した時刻から、前記レスポンス信号の受信の待機を継続する最小限の時間を示す所定の最小受信待機時間と前記待機時間記憶部が記憶する前記受信待機時間とのうち、より長いほうが示す時間までの間、前記アクセスポイントから前記送信部が送信したリクエスト信号に応答するレスポンス信号の受信を待機する受信部、前記受信部が最後に受信した連続する2つのレスポンス信号の受信間隔を算出する受信間隔算出部、前記受信間隔算出部が算出した受信間隔が短いほど、前記待機時間記憶部が記憶する受信待機時間を長い時間に書き換える待機時間延長部として機能させるためのプログラムである。   In addition, the present invention provides a communication terminal provided with a standby time storage unit that stores a reception standby time indicating a time until connection with an access point is performed by active scanning and the reception of a response signal from the access point is ended. A transmission unit for transmitting a request signal, a predetermined minimum reception standby time indicating a minimum time for waiting for reception of the response signal from the time at which the transmission unit transmits the request signal, and the standby time storage unit The reception unit that waits for reception of a response signal in response to a request signal transmitted from the access point from the access point until the time indicated by the longer one of the reception standby times stored by the receiver, and the reception unit last A reception interval calculation unit for calculating a reception interval between two consecutive response signals received in the reception interval calculation unit As calculated reception interval that is short, a program for functioning as a waiting time extension rewrites the reception waiting time during which the standby time storing unit stores a long time.

本発明によれば、通信端末は、最後に受信した連続する2つのアクセスポイントからのレスポンス信号の受信間隔が短いほど、受信待機時間を長くする。多くのアクセスポイントが通信端末の周囲に存在する場合、アクセスポイントが送信するレスポンス信号が短時間に集中する可能性が高いため、受信待機時間が長くなり、レスポンス信号の取りこぼしを防ぐことができる。他方、周囲に存在する通信端末数が少ない場合、アクセスポイントが送信するレスポンス信号の受信間隔が長くなる可能性が高いため、レスポンス信号の受信を必要最低限の受信待機時間で待機することとなる。これにより、通信端末の消費電力量を低減することができる。   According to the present invention, the communication terminal increases the reception standby time as the reception interval of response signals from two consecutive access points received last is shorter. When there are many access points around the communication terminal, there is a high possibility that response signals transmitted by the access points are concentrated in a short time, so that the reception waiting time becomes long and the response signal can be prevented from being missed. On the other hand, when the number of communication terminals present in the surroundings is small, there is a high possibility that the reception interval of the response signal transmitted by the access point will be long, so the reception of the response signal will be waited with the minimum necessary reception waiting time. . Thereby, the power consumption of a communication terminal can be reduced.

本発明の第1の実施形態による通信端末の構成を示す概略ブロック図である。It is a schematic block diagram which shows the structure of the communication terminal by the 1st Embodiment of this invention. 第1の実施形態による通信端末の動作を示す図である。It is a figure which shows operation | movement of the communication terminal by 1st Embodiment. 受信待機時間算出処理の動作を示すフローチャートである。It is a flowchart which shows operation | movement of a reception waiting time calculation process. 第2の実施形態による通信端末の動作を示す図である。It is a figure which shows operation | movement of the communication terminal by 2nd Embodiment. 第2の受信待機時間算出処理の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of a 2nd reception waiting time calculation process.

[第1の実施形態]
以下、図面を参照しながら本発明の第1の実施形態について詳しく説明する。
図1は、本発明の第1の実施形態による通信端末の構成を示す概略ブロック図である。
通信端末100は、フラッシュメモリ110、無線LAN部120、CPU130、RAM140(待機時間記憶部)、表示部150、キー入力部160を備える。
[First Embodiment]
Hereinafter, a first embodiment of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a schematic block diagram showing the configuration of a communication terminal according to the first embodiment of the present invention.
The communication terminal 100 includes a flash memory 110, a wireless LAN unit 120, a CPU 130, a RAM 140 (standby time storage unit), a display unit 150, and a key input unit 160.

フラッシュメモリ110は、制御プログラム記憶部111とパラメータ記憶部112とを備える。
制御プログラム記憶部111は、無線LANとの接続を制御するための制御プログラムを記憶する。
パラメータ記憶部112は、制御プログラムの実行に用いるパラメータを記憶する。具体的には、パラメータ記憶部112は、最大受信待機時間、最小受信待機時間、延長基準時間を記憶する。ここで、最大受信待機時間とは、アクセスポイント200からのレスポンス信号の受信の待機を継続する最大限の時間である。また、最小受信待機時間とは、アクセスポイント200からのレスポンス信号の受信の待機を継続する最小限の時間である。また、延長基準時間とは、制御プログラムの実行によりアクセスポイント200からのレスポンス信号の受信を延長する際に用いるパラメータである。
なお、パラメータ記憶部112が記憶するパラメータは、キー入力部160への操作により、変更することができる。これにより、ユーザは、パラメータ記憶部112が記憶するパラメータを無線環境に適した値に設定することができる。
The flash memory 110 includes a control program storage unit 111 and a parameter storage unit 112.
The control program storage unit 111 stores a control program for controlling connection with the wireless LAN.
The parameter storage unit 112 stores parameters used for executing the control program. Specifically, the parameter storage unit 112 stores a maximum reception standby time, a minimum reception standby time, and an extension reference time. Here, the maximum reception standby time is the maximum time for which standby for reception of a response signal from the access point 200 is continued. Further, the minimum reception waiting time is a minimum time during which standby for receiving a response signal from the access point 200 is continued. The extension reference time is a parameter used when extending reception of a response signal from the access point 200 by executing a control program.
The parameters stored in the parameter storage unit 112 can be changed by operating the key input unit 160. Thereby, the user can set the parameter stored in the parameter storage unit 112 to a value suitable for the wireless environment.

無線LAN部120は、変換部121と送信部122と受信部123とを備える。
変換部121は、CPU130から入力するベースバンドのリクエスト信号を無線信号に変換して送信部122に出力する。また、変換部121は、受信部123から入力する無線帯域のレスポンス信号をベースバンド信号に変換してCPU130に出力する。
送信部122は、変換部121から入力した無線帯域のリクエスト信号をアクセスポイント200に送信する。
受信部123は、アクセスポイント200から無線帯域のレスポンス信号を受信し、変換部121に出力する。また、受信部123は、CPU130から受信待機終了信号を入力し、レスポンス信号の受信待機を終了する。
The wireless LAN unit 120 includes a conversion unit 121, a transmission unit 122, and a reception unit 123.
The converter 121 converts the baseband request signal input from the CPU 130 into a radio signal and outputs the radio signal to the transmitter 122. In addition, the conversion unit 121 converts the wireless band response signal input from the reception unit 123 into a baseband signal and outputs the baseband signal to the CPU 130.
The transmission unit 122 transmits the request signal for the wireless band input from the conversion unit 121 to the access point 200.
The receiving unit 123 receives a wireless band response signal from the access point 200 and outputs the response signal to the converting unit 121. In addition, the reception unit 123 receives a reception standby end signal from the CPU 130, and ends the reception of the response signal.

CPU130は、制御プログラム記憶部111が記憶する制御プログラムを実行することで、受信間隔算出部131と待機時間延長部132とを備える。
受信間隔算出部131は、受信部123からレスポンス信号を入力し、受信部123が最後に受信した連続する2つのレスポンス信号の受信間隔を算出し、待機時間延長部132に出力する。
待機時間延長部132は、受信間隔算出部131からレスポンス信号の受信間隔を入力し、当該受信間隔に基づいて、アクセスポイント200からのレスポンス信号の受信の待機を終了するまでの時間を延長する。
計時部133は、送信部122がリクエスト信号を送信した時刻からの経過時間を計測する。また、計時部133は、アクセスポイント200からのレスポンス信号の受信の待機を終了するまでの時間が経過した場合に、無線LAN部120に受信待機終了信号を出力する。
The CPU 130 includes a reception interval calculation unit 131 and a standby time extension unit 132 by executing a control program stored in the control program storage unit 111.
The reception interval calculation unit 131 receives the response signal from the reception unit 123, calculates the reception interval between two consecutive response signals received last by the reception unit 123, and outputs the reception interval to the standby time extension unit 132.
The standby time extension unit 132 receives the response signal reception interval from the reception interval calculation unit 131, and extends the time until the reception of the response signal from the access point 200 is completed based on the reception interval.
The timer 133 measures the elapsed time from the time when the transmitter 122 transmits the request signal. In addition, the time measuring unit 133 outputs a reception standby end signal to the wireless LAN unit 120 when the time until the reception of the response signal from the access point 200 ends is completed.

RAM140は、ワークエリアとして、CPU130が実行するプログラム及び当該プログラムで用いるパラメータを記憶する。具体的には、RAM140は、送信後経過時間、受信待機時間、前回受信時間、待機延長時間、受信間隔、待機時間最大化フラグを記憶する。ここで、送信後経過時間とは、送信部122がリクエスト信号を送信してからの経過時間である。また、受信待機時間とは、アクセスポイント200からのレスポンス信号の受信の待機を終了するまでの時間である。また、前回受信時間とは、送信部122がリクエスト信号を送信した時刻から受信部123が前回レスポンス信号を受信した時刻までの時間である。また、待機延長時間とは、待機時間延長部132によって算出される受信待機時間の延長時間である。また、受信間隔とは、受信間隔算出部131によって算出される受信部123が最後に受信した連続する2つのレスポンス信号の受信間隔である。また、待機時間最大化フラグとは、受信待機時間がパラメータ記憶部112が記憶する最大受信待機時間を超えたか否かを示すフラグである。即ち、待機時間最大化フラグが「ON」を示す場合、受信待機時間が最大受信待機時間を超えたことを示し、待機時間最大化フラグが「OFF」を示す場合、受信待機時間が最大受信待機時間を超えていないことを示す。
表示部150は、各種情報を表示する。
キー入力部160は、データの入力を受け付ける。
The RAM 140 stores a program executed by the CPU 130 and parameters used in the program as a work area. Specifically, the RAM 140 stores an elapsed time after transmission, a reception standby time, a previous reception time, a standby extension time, a reception interval, and a standby time maximization flag. Here, the post-transmission elapsed time is an elapsed time after the transmission unit 122 transmits the request signal. The reception waiting time is the time until the reception of the response signal from the access point 200 ends. The previous reception time is the time from the time when the transmission unit 122 transmits the request signal to the time when the reception unit 123 receives the previous response signal. The standby extension time is an extension time of the reception standby time calculated by the standby time extension unit 132. The reception interval is a reception interval between two consecutive response signals received by the reception unit 123 last calculated by the reception interval calculation unit 131. The standby time maximization flag is a flag indicating whether or not the reception standby time has exceeded the maximum reception standby time stored in the parameter storage unit 112. That is, when the standby time maximization flag indicates “ON”, it indicates that the reception standby time has exceeded the maximum reception standby time. When the standby time maximization flag indicates “OFF”, the reception standby time is the maximum reception standby. Indicates that the time has not been exceeded.
The display unit 150 displays various information.
The key input unit 160 accepts data input.

このような構成を有する通信端末100において、送信部122は、リクエスト信号を送信し、受信部123は、送信部122がリクエスト信号を送信した時刻から、パラメータ記憶部112が記憶する最小受信待機時間とRAM140が記憶する受信待機時間とのうちより長い時間を示すほうが示す時間の間、アクセスポイント200から送信部122が送信したリクエスト信号に応答するレスポンス信号の受信を待機する。次に、受信間隔算出部131は、受信部123が最後に受信した連続する2つのレスポンス信号の受信間隔を算出し、待機時間延長部132は、受信間隔算出部131が算出した受信間隔が短いほど、RAM140が記憶する受信待機時間を長い時間に書き換える。
これにより、通信端末100は、アクセスポイント200からのレスポンス信号の受信を、必要最低限の受信待機時間で待機することができる。
In the communication terminal 100 having such a configuration, the transmission unit 122 transmits a request signal, and the reception unit 123 stores the minimum reception standby time stored in the parameter storage unit 112 from the time when the transmission unit 122 transmits the request signal. And the reception waiting time stored in the RAM 140, the reception of the response signal in response to the request signal transmitted from the transmission unit 122 from the access point 200 is waited for the time indicated by the longer time. Next, the reception interval calculation unit 131 calculates the reception interval of two consecutive response signals received last by the reception unit 123, and the standby time extension unit 132 has a short reception interval calculated by the reception interval calculation unit 131. The reception standby time stored in the RAM 140 is rewritten to a longer time.
As a result, the communication terminal 100 can wait for reception of the response signal from the access point 200 with the minimum necessary reception standby time.

次に、第1の実施形態による通信端末100の動作を説明する。
図2は、第1の実施形態による通信端末の動作を示す図である。
ユーザの操作により、通信端末100がアクティブスキャン処理を開始すると、CPU130はフラッシュメモリ110の制御プログラム記憶部111から制御プログラムをRAM140に読み出して実行する。
Next, the operation of the communication terminal 100 according to the first embodiment will be described.
FIG. 2 is a diagram illustrating an operation of the communication terminal according to the first embodiment.
When the communication terminal 100 starts an active scan process by a user operation, the CPU 130 reads the control program from the control program storage unit 111 of the flash memory 110 to the RAM 140 and executes it.

CPU130は、制御プログラムを実行すると、RAM140が記憶する制御プログラムに用いる各パラメータの値を「0」に初期化する(ステップS1)。このとき、RAM140が記憶する全てのパラメータを初期化することが望ましいが、必ずしも全てのパラメータを初期化する必要は無く、CPU130は、少なくとも送信後経過時間、前回受信時間、及び待機時間最大化フラグを初期化すれば良い。   When executing the control program, the CPU 130 initializes the values of the parameters used for the control program stored in the RAM 140 to “0” (step S1). At this time, it is desirable to initialize all the parameters stored in the RAM 140, but it is not always necessary to initialize all the parameters. The CPU 130 at least the elapsed time after transmission, the previous reception time, and the waiting time maximization flag Should be initialized.

次に、CPU130は、無線LAN部120の変換部121にリクエスト信号を出力する。変換部121は、入力したリクエスト信号を無線信号に変換し、送信部122に出力する。送信部122は、入力した無線帯域のリクエスト信号を、アクセスポイント200に送信する(ステップS2)。このとき、受信部123は、アクセスポイント200からのレスポンス信号の受信の待機を開始する(ステップS3)。また、このとき、CPU130の計時部133は、送信部122がリクエスト信号を送信した時刻からの経過時間の計測を開始し、RAM140が記憶する送信後経過時間に記録する(ステップS4)。   Next, the CPU 130 outputs a request signal to the conversion unit 121 of the wireless LAN unit 120. The converter 121 converts the input request signal into a radio signal and outputs it to the transmitter 122. The transmission unit 122 transmits the input request signal for the wireless band to the access point 200 (step S2). At this time, the receiving unit 123 starts waiting for a response signal from the access point 200 (step S3). At this time, the time measuring unit 133 of the CPU 130 starts measuring the elapsed time from the time when the transmission unit 122 transmits the request signal, and records it in the elapsed time after transmission stored in the RAM 140 (step S4).

次に、計時部133は、RAM140が記憶する送信後経過時間が、フラッシュメモリ110のパラメータ記憶部112が記憶する最小受信待機時間以下であるか否かを判定する(ステップS5)。
計時部133が、送信後経過時間が最小受信待機時間以下であると判定した場合(ステップS5:YES)、受信間隔算出部131は、受信部123がアクセスポイント200からレスポンス信号を受信したか否かを判定する(ステップS6)。受信部123がレスポンス信号を受信していない場合(ステップS6:NO)、ステップS5に戻り、送信後経過時間と最小受信待機時間との比較を行う。
他方、受信部123がレスポンス信号を受信した場合(ステップS6:YES)、変換部121は、無線帯域のレスポンス信号をベースバンド信号に変換してCPU130に出力する。そして、CPU130は、受信待機時間算出処理を実行する(ステップS7)。受信待機時間延長処理とは、RAM140の受信待機時間を延長して書き換える処理である。
Next, the time measuring unit 133 determines whether or not the post-transmission elapsed time stored in the RAM 140 is equal to or less than the minimum reception standby time stored in the parameter storage unit 112 of the flash memory 110 (step S5).
When the time measuring unit 133 determines that the elapsed time after transmission is equal to or less than the minimum reception standby time (step S5: YES), the reception interval calculating unit 131 determines whether the receiving unit 123 has received a response signal from the access point 200. Is determined (step S6). When the receiving unit 123 has not received the response signal (step S6: NO), the process returns to step S5, and the elapsed time after transmission is compared with the minimum reception standby time.
On the other hand, when the reception unit 123 receives the response signal (step S6: YES), the conversion unit 121 converts the response signal in the radio band into a baseband signal and outputs it to the CPU 130. And CPU130 performs reception waiting time calculation processing (Step S7). The reception standby time extension process is a process for extending the reception standby time of the RAM 140 and rewriting it.

ここで、ステップS7による受信待機時間算出処理の動作を説明する。
図3は、受信待機時間算出処理の動作を示すフローチャートである。
CPU130が受信待機時間算出処理を開始すると、受信間隔算出部131は、RAM140が記憶する前回受信時間が「0」を示すか否かを判定する(ステップS101)。ステップS1でRAM140のパラメータが初期化されているため、前回受信時間が「0」を示す場合、レスポンス信号の受信が1回目であることがわかる。
Here, the operation of the reception waiting time calculation process in step S7 will be described.
FIG. 3 is a flowchart showing the operation of the reception standby time calculation process.
When the CPU 130 starts the reception standby time calculation process, the reception interval calculation unit 131 determines whether or not the previous reception time stored in the RAM 140 indicates “0” (step S101). Since the parameters of the RAM 140 are initialized in step S1, it is understood that the response signal is received for the first time when the previous reception time indicates “0”.

受信間隔算出部131が、前回受信時間が「0」を示すと判定した場合(ステップS101:YES)、待機時間延長部132は、RAM140が記憶する待機延長時間に、フラッシュメモリ110のパラメータ記憶部112が記憶する延長基準時間の値を書き込む(ステップS102)。これは、通信端末100の周囲にアクセスポイント200が存在する場合、無線LAN部120の受信部123が、フラッシュメモリ110のパラメータ記憶部112が記憶する最小受信待機時間より短い時間でレスポンス信号を受信する可能性が高いため、もっとも計算量が少なくなる計算を選択している。   When the reception interval calculation unit 131 determines that the previous reception time indicates “0” (step S101: YES), the standby time extension unit 132 sets the parameter storage unit of the flash memory 110 to the standby extension time stored in the RAM 140. The value of the extended reference time stored in 112 is written (step S102). This is because when the access point 200 exists around the communication terminal 100, the reception unit 123 of the wireless LAN unit 120 receives the response signal in a time shorter than the minimum reception standby time stored in the parameter storage unit 112 of the flash memory 110. Therefore, the calculation with the smallest amount of calculation is selected.

他方、受信間隔算出部131は、前回受信時間が「0」を示さないと判定した場合(ステップS101:NO)、RAM140が記憶する送信後経過時間から前回受信時間を減算し、得られた値を受信間隔としてRAM140に書き込む(ステップS103)。次に、待機時間延長部132は、フラッシュメモリ110のパラメータ記憶部112が記憶する延長基準時間をRAM140が記憶する受信間隔で除算し、得られた値を待機延長時間としてRAM140に書き込む(ステップS104)。これにより、受信間隔が短いほど、受信待機時間が長い時間となる。これは、受信部123がレスポンス信号を短時間に集中して受信した場合、多くのアクセスポイント200が周囲に存在する可能性が高いため、レスポンス信号の取りこぼしが無いようにするためである。   On the other hand, if the reception interval calculation unit 131 determines that the previous reception time does not indicate “0” (step S101: NO), the value obtained by subtracting the previous reception time from the post-transmission elapsed time stored in the RAM 140. Is written in the RAM 140 as a reception interval (step S103). Next, the standby time extension unit 132 divides the extension reference time stored in the parameter storage unit 112 of the flash memory 110 by the reception interval stored in the RAM 140, and writes the obtained value in the RAM 140 as the standby extension time (step S104). ). As a result, the shorter the reception interval, the longer the reception standby time. This is because when the receiving unit 123 receives response signals concentrated in a short period of time, there is a high possibility that many access points 200 exist in the vicinity, so that there is no missing response signal.

待機時間延長部132は、ステップS102またはステップS104で待機延長時間を算出すると、RAM140が記憶する送信後経過時間に待機延長時間を加算し、得られた値を受信待機時間としてRAM140に書き込む(ステップS105)。次に、待機時間延長部132は、RAM140が記憶する前回受信時間を送信後経過時間が示す値に書き換え(ステップS106)、受信待機時間算出処理を終了する。   When calculating the standby extension time in step S102 or S104, the standby time extension unit 132 adds the standby extension time to the elapsed time after transmission stored in the RAM 140, and writes the obtained value in the RAM 140 as the reception standby time (step S102). S105). Next, the standby time extension unit 132 rewrites the previous reception time stored in the RAM 140 with a value indicating the elapsed time after transmission (step S106), and ends the reception standby time calculation process.

ステップS7の受信待機時間算出処理を終了すると(図2)、CPU130の計時部133は、RAM140が記憶する受信待機時間が、フラッシュメモリ110のパラメータ記憶部112が記憶する最小受信待機時間を超えるか否かを判定する(ステップS8)。計時部133が、受信待機時間が最小受信待機時間以下であると判定した場合(ステップS8:NO)、ステップS5に戻り、送信後経過時間と最小受信待機時間との比較を行う。   When the reception standby time calculation processing in step S7 is completed (FIG. 2), the time measuring unit 133 of the CPU 130 determines whether the reception standby time stored in the RAM 140 exceeds the minimum reception standby time stored in the parameter storage unit 112 of the flash memory 110. It is determined whether or not (step S8). When the time measuring unit 133 determines that the reception standby time is equal to or less than the minimum reception standby time (step S8: NO), the process returns to step S5, and the post-transmission elapsed time is compared with the minimum reception standby time.

他方、計時部133は、受信待機時間が最小受信待機時間を超えると判定した場合(ステップS8:YES)、フラッシュメモリ110のパラメータ記憶部112が記憶する最大受信待機時間とRAM140が記憶する受信待機時間とのうち、より短い時間を示すほうを読み出す(ステップS9)。このとき、計時部133は、RAM140が記憶する待機時間最大化フラグのON/OFFを判定すると良い。この場合、計時部133は、待機時間最大化フラグが「ON」を示すときに最大受信待機時間を読み出し、「OFF」を示す場合に受信待機時間を読み出す。
次に、計時部133は、RAM140が記憶する送信後経過時間が、ステップS9で読み出した時間以下であるか否かを判定する(ステップS10)。
On the other hand, when the timer 133 determines that the reception standby time exceeds the minimum reception standby time (step S8: YES), the maximum reception standby time stored in the parameter storage unit 112 of the flash memory 110 and the reception standby stored in the RAM 140 are stored. The time indicating the shorter time is read out (step S9). At this time, the timing unit 133 may determine whether the standby time maximization flag stored in the RAM 140 is ON / OFF. In this case, the timer 133 reads the maximum reception standby time when the standby time maximization flag indicates “ON”, and reads the reception standby time when it indicates “OFF”.
Next, the timer 133 determines whether or not the elapsed time after transmission stored in the RAM 140 is equal to or shorter than the time read in Step S9 (Step S10).

計時部133によって送信後経過時間がステップS9で読み出した時間以下であると判定された場合(ステップS10:YES)、受信間隔算出部131は、受信部123がアクセスポイント200からレスポンス信号を受信したか否かを判定する(ステップS11)。受信部123がレスポンス信号を受信していない場合(ステップS11:NO)、ステップS9に戻り、受信待機時間または最大受信待機時間と送信後経過時間との比較を行う。   When the time measuring unit 133 determines that the elapsed time after transmission is equal to or shorter than the time read in step S9 (step S10: YES), the reception interval calculation unit 131 has received the response signal from the access point 200 by the reception unit 123 It is determined whether or not (step S11). If the reception unit 123 has not received a response signal (step S11: NO), the process returns to step S9, and the reception standby time or the maximum reception standby time is compared with the elapsed time after transmission.

他方、受信部123がレスポンス信号を受信した場合(ステップS11:YES)、変換部121は、無線帯域のレスポンス信号をベースバンド信号に変換してCPU130に出力する。次に、CPU130の受信間隔算出部131は、RAM140から待機時間最大化フラグを読み出し、当該待機時間最大化フラグが「ON」を示すか否かを判定する(ステップS12)。即ち、受信間隔算出部131は、受信待機時間が最大受信待機時間を超えているか否かを判定する。受信間隔算出部131が、待機時間最大化フラグが「ON」を示すと判定した場合(ステップS12:NO)、ステップS9に戻り、受信待機時間または最大受信待機時間と送信後経過時間との比較を行う。   On the other hand, when the reception unit 123 receives the response signal (step S11: YES), the conversion unit 121 converts the response signal in the radio band into a baseband signal and outputs it to the CPU 130. Next, the reception interval calculation unit 131 of the CPU 130 reads the standby time maximization flag from the RAM 140 and determines whether or not the standby time maximization flag indicates “ON” (step S12). That is, the reception interval calculation unit 131 determines whether the reception standby time exceeds the maximum reception standby time. When the reception interval calculation unit 131 determines that the standby time maximization flag indicates “ON” (step S12: NO), the process returns to step S9, and the reception standby time or the maximum reception standby time is compared with the post-transmission elapsed time. I do.

他方、受信間隔算出部131が、待機時間最大化フラグが「OFF」を示すと判定した場合(ステップS12:YES)、CPU130は、ステップS7で説明した受信待機時間算出処理を実行する(ステップS13)。
受信待機時間算出処理を終了すると、CPU130の計時部133は、RAM140が記憶する受信待機時間が、フラッシュメモリ110のパラメータ記憶部112が記憶する最大受信待機時間以上であるか否かを判定する(ステップS14)。計時部133が、受信待機時間が最大受信待機時間未満であると判定した場合(ステップS14:NO)、ステップS9に戻り、受信待機時間と送信後経過時間との比較を行う。
On the other hand, when the reception interval calculation unit 131 determines that the standby time maximization flag indicates “OFF” (step S12: YES), the CPU 130 executes the reception standby time calculation process described in step S7 (step S13). ).
When the reception standby time calculation process ends, the time measuring unit 133 of the CPU 130 determines whether or not the reception standby time stored in the RAM 140 is equal to or greater than the maximum reception standby time stored in the parameter storage unit 112 of the flash memory 110 ( Step S14). When the timer 133 determines that the reception standby time is less than the maximum reception standby time (step S14: NO), the process returns to step S9, and the reception standby time is compared with the elapsed time after transmission.

他方、計時部133は、受信待機時間が最大受信待機時間以上であると判定した場合(ステップS14:YES)、RAM140が記憶する待機時間最大化フラグを「ON」に書き換え(ステップS15)、ステップS9に戻り、最大受信待機時間と送信後経過時間との比較を行う。
ここで、ステップS12で待機時間最大化フラグのON/OFFの判定を行う理由を説明する。受信待機時間が最大受信待機時間以上となった場合、ステップS9で最大受信待機時間が読み出されるため、ステップS10では最大受信待機時間と送信後経過時間との比較処理が行われる。したがって、受信待機時間が最大受信待機時間以上となった以降の処理では、受信待機時間を用いた計算が行われない。そのため、ステップS15で待機時間最大化フラグを「ON」に書き換え、ステップS12の判定によりステップS13及びステップS14による受信待機時間の算出処理を省くことで、CPU130の計算量を削減し、通信端末100の省電力化を図ることができる。
On the other hand, when it is determined that the reception standby time is equal to or longer than the maximum reception standby time (step S14: YES), the time measuring unit 133 rewrites the standby time maximization flag stored in the RAM 140 to “ON” (step S15), step Returning to S9, the maximum reception standby time is compared with the elapsed time after transmission.
Here, the reason why the standby time maximization flag is turned ON / OFF in step S12 will be described. If the reception standby time is equal to or greater than the maximum reception standby time, the maximum reception standby time is read out in step S9, and therefore, in step S10, a comparison process between the maximum reception standby time and the post-transmission elapsed time is performed. Therefore, in the processing after the reception standby time becomes equal to or greater than the maximum reception standby time, calculation using the reception standby time is not performed. Therefore, by rewriting the standby time maximization flag to “ON” in step S15 and omitting the reception standby time calculation process in steps S13 and S14 according to the determination in step S12, the calculation amount of the CPU 130 is reduced, and the communication terminal 100 The power saving can be achieved.

そして、計時部133がステップS5で、送信後経過時間が最小受信待機時間を超えると判定した場合(ステップS5:NO)、またはステップS10で、送信後経過時間がステップS9で読み出した時間を超えると判定した場合(ステップS10:NO)、計時部133は、受信部123に受信待機終了信号を出力する。次に、受信部123は、受信待機終了信号を入力し、受信待機処理を終了する(ステップS16)。
受信部123が受信待機処理を終了すると、通信端末100は、アクティブスキャン処理を終了する。以降、通信端末100は、受信部123が受信したレスポンス信号を用いてアクセスポイント200との接続処理を行う。または、通信端末100は、その他の設定に応じて別の条件にてアクティブスキャン処理を行う。
When the time measuring unit 133 determines in step S5 that the elapsed time after transmission exceeds the minimum reception standby time (step S5: NO), or in step S10, the elapsed time after transmission exceeds the time read in step S9. (Step S10: NO), the timer 133 outputs a reception standby end signal to the receiver 123. Next, the reception unit 123 inputs a reception standby end signal, and ends the reception standby process (step S16).
When the reception unit 123 ends the reception standby process, the communication terminal 100 ends the active scan process. Thereafter, the communication terminal 100 performs a connection process with the access point 200 using the response signal received by the receiving unit 123. Alternatively, the communication terminal 100 performs active scan processing under different conditions according to other settings.

このように、本実施形態によれば、受信待機時間が最小受信待機時間より短い場合、受信部123は、送信部122がリクエスト信号を送信した時刻から最小受信待機時間までの間、アクセスポイント200からのレスポンス信号の受信を待機する。これにより、通信端末100は、受信待機時間が短すぎることによるアクセスポイント200からのレスポンス信号の取りこぼしを防ぐことができる。
また、受信待機時間が最小受信待機時間より長く最大受信待機時間より短い場合、受信部123は、送信部122がリクエスト信号を送信した時刻から受信待機時間までの間、アクセスポイント200からのレスポンス信号の受信を待機する。これにより、通信端末100は、アクセスポイント200からのレスポンス信号の受信を、必要最低限の受信待機時間で待機することができる。
また、受信待機時間が最大受信待機時間より長い場合、受信部123は、送信部122がリクエスト信号を送信した時刻から最大受信待機時間までの間、アクセスポイント200からのレスポンス信号の受信を待機する。これにより、通信端末100は、受信の待機を長引かせず、省電力化を図ることができる。
As described above, according to the present embodiment, when the reception standby time is shorter than the minimum reception standby time, the reception unit 123 performs the access point 200 from the time when the transmission unit 122 transmits the request signal to the minimum reception standby time. Wait for reception of response signal from. Thereby, the communication terminal 100 can prevent the response signal from being missed from the access point 200 due to the reception standby time being too short.
When the reception standby time is longer than the minimum reception standby time and shorter than the maximum reception standby time, the reception unit 123 responds from the access point 200 between the time when the transmission unit 122 transmits the request signal and the reception standby time. Wait for receipt of. As a result, the communication terminal 100 can wait for reception of the response signal from the access point 200 with the minimum necessary reception standby time.
When the reception standby time is longer than the maximum reception standby time, the reception unit 123 waits for reception of a response signal from the access point 200 from the time when the transmission unit 122 transmits the request signal to the maximum reception standby time. . As a result, the communication terminal 100 can save power without prolonging standby for reception.

<第2の実施形態>
次に、本発明の第2の実施形態を説明する。
第2の実施形態は、レスポンス信号の応答時間に加えて、レスポンス信号から情報を読み出し、当該情報に基づいてレスポンス信号の待機時間をさらに適切に制御するものである。レスポンス信号から読み出す情報としては、例えば電界強度、再送回数、CSMA/CA(Carrier Sense Multiple Access with Collision Avoidance:キャリアセンスによる多重アクセス・衝突回避方式)による送信停止回数がある。
<Second Embodiment>
Next, a second embodiment of the present invention will be described.
In the second embodiment, in addition to the response time of the response signal, information is read from the response signal, and the standby time of the response signal is further appropriately controlled based on the information. Information read from the response signal includes, for example, the field strength, the number of retransmissions, and the number of transmission stops by CSMA / CA (Carrier Sense Multiple Access with Collision Avidance).

具体的には、レスポンス信号の電界強度が極めて弱い場合、レスポンス信号を受信した時点ではアクセスポイント200と接続できる状態であったとしても、実際に接続する際に接続圏外になっている惧れが有る。そのため、電界強度が極めて弱いレスポンス信号は、受信したとしても有効な情報として扱わないことが望ましい。   Specifically, when the response signal has a very weak electric field strength, even when the response signal is received, even if the connection to the access point 200 is possible, there is a possibility that the connection signal is out of the connection range when actually connecting. Yes. Therefore, it is desirable not to treat a response signal with extremely weak electric field strength as effective information even if it is received.

また、レスポンス信号の再送回数が過多である場合、Bluetooth(登録商標)などの近距離無線通信による突発的なノイズ源が付近に複数存在する可能性が高い。そのため、レスポンス信号の受信条件が極めて悪い可能性が高いことから、レスポンス信号の待機時間を長くすることが望ましい。   In addition, when the number of response signal retransmissions is excessive, there is a high possibility that a plurality of sudden noise sources due to short-range wireless communication such as Bluetooth (registered trademark) exist in the vicinity. For this reason, it is highly possible that the reception condition of the response signal is extremely bad. Therefore, it is desirable to increase the waiting time of the response signal.

また、CSMA/CAによる送信停止回数が過多である場合、多くのアクセスポイントが存在する可能性が高い。そのため、多くのアクセスポイントからのレスポンス信号を受信することが想定されることから、レスポンス信号の待機時間を長くすることが望ましい。   Further, when the number of transmission stops by CSMA / CA is excessive, there is a high possibility that there are many access points. Therefore, since it is assumed that response signals from many access points are received, it is desirable to lengthen the waiting time for response signals.

本発明の第2の実施形態では、アクセスポイント200が送信するレスポンス信号に、電界強度、再送回数、CSMA/CAによる送信停止回数が格納される。なお、電界強度(Signal Level)は、レスポンス信号のMAC層に含まれるパラメータであるが、再送回数及びCSMA/CAによる送信停止回数は、レスポンス信号の標準でフレームには含まれないため、レスポンス信号のVender Specific領域に格納しておくことが望ましい。   In the second embodiment of the present invention, the response signal transmitted by the access point 200 stores the electric field strength, the number of retransmissions, and the number of transmission stops by CSMA / CA. The electric field strength (Signal Level) is a parameter included in the MAC layer of the response signal. However, since the number of retransmissions and the number of transmission stops by CSMA / CA are not included in the frame in the response signal standard, the response signal It is desirable to store in the Vender Specific area.

また、本発明の第2の実施形態による通信端末100は、第1の実施形態による通信端末100のフラッシュメモリ110が記憶する情報、及びCPU130の動作が異なる。
フラッシュメモリ110のパラメータ記憶部112は、第1の実施形態のパラメータ記憶部112が記憶するパラメータに加えて、電界強度閾値、再送回数閾値、送信停止回数閾値、及び送信停止多数時重みを記憶する。
電界強度閾値とは、レスポンス信号の電界強度が通信において十分に強いか否かを判定するための閾値である。再送回数閾値とは、レスポンス信号の再送回数が過多であるか否かを判定するための閾値である。送信停止回数閾値とは、レスポンス信号のCSMA/CAによる送信停止回数が過多であるか否かを判定するための閾値である。送信停止多数時重みとは、レスポンス信号のCSMA/CAによる送信停止回数が過多である場合に、RAM140が記憶する待機延長時間に乗算される重みである。なお、送信停止多数時重みは、1以上の値である。
Further, the communication terminal 100 according to the second embodiment of the present invention differs in information stored in the flash memory 110 of the communication terminal 100 according to the first embodiment and the operation of the CPU 130.
The parameter storage unit 112 of the flash memory 110 stores an electric field strength threshold, a retransmission count threshold, a transmission stop count threshold, and a transmission stop multi-time weight in addition to the parameters stored in the parameter storage unit 112 of the first embodiment. .
The electric field strength threshold is a threshold for determining whether or not the electric field strength of the response signal is sufficiently strong in communication. The retransmission count threshold is a threshold for determining whether or not the response signal retransmission count is excessive. The transmission stop count threshold is a threshold for determining whether or not the number of transmission stops by CSMA / CA of the response signal is excessive. The transmission stop multi-time weight is a weight that is multiplied by the standby extension time stored in the RAM 140 when the number of transmission stops by the CSMA / CA of the response signal is excessive. Note that the transmission stop multi-time weight is a value of 1 or more.

次に、第2の実施形態による通信端末100の動作を説明する。
図4は、第2の実施形態による通信端末の動作を示す図である。なお、第1の実施形態と同じ動作をするステップは、同じステップ番号を用いて説明する。
ユーザの操作により、通信端末100がアクティブスキャン処理を開始すると、CPU130はフラッシュメモリ110の制御プログラム記憶部111から制御プログラムをRAM140に読み出して実行する。
Next, the operation of the communication terminal 100 according to the second embodiment will be described.
FIG. 4 is a diagram illustrating the operation of the communication terminal according to the second embodiment. In addition, the step which performs the same operation | movement as 1st Embodiment is demonstrated using the same step number.
When the communication terminal 100 starts an active scan process by a user operation, the CPU 130 reads the control program from the control program storage unit 111 of the flash memory 110 to the RAM 140 and executes it.

CPU130は、制御プログラムを実行すると、RAM140が記憶する制御プログラムに用いる各パラメータの値を「0」に初期化する(ステップS1)。
次に、CPU130は、無線LAN部120の変換部121にリクエスト信号を出力する。変換部121は、入力したリクエスト信号を無線信号に変換し、送信部122に出力する。送信部122は、入力した無線帯域のリクエスト信号を、アクセスポイント200に送信する(ステップS2)。このとき、受信部123は、アクセスポイント200からのレスポンス信号の受信の待機を開始する(ステップS3)。また、このとき、CPU130の計時部133は、送信部122がリクエスト信号を送信した時刻からの経過時間の計測を開始し、RAM140が記憶する送信後経過時間に記録する(ステップS4)。
When executing the control program, the CPU 130 initializes the values of the parameters used for the control program stored in the RAM 140 to “0” (step S1).
Next, the CPU 130 outputs a request signal to the conversion unit 121 of the wireless LAN unit 120. The converter 121 converts the input request signal into a radio signal and outputs it to the transmitter 122. The transmission unit 122 transmits the input request signal for the wireless band to the access point 200 (step S2). At this time, the receiving unit 123 starts waiting for a response signal from the access point 200 (step S3). At this time, the time measuring unit 133 of the CPU 130 starts measuring the elapsed time from the time when the transmission unit 122 transmits the request signal, and records it in the elapsed time after transmission stored in the RAM 140 (step S4).

次に、計時部133は、RAM140が記憶する送信後経過時間が、フラッシュメモリ110のパラメータ記憶部112が記憶する最小受信待機時間以下であるか否かを判定する(ステップS5)。
計時部133が、送信後経過時間が最小受信待機時間以下であると判定した場合(ステップS5:YES)、受信間隔算出部131は、受信部123がアクセスポイント200からレスポンス信号を受信したか否かを判定する(ステップS6)。受信部123がレスポンス信号を受信していない場合(ステップS6:NO)、ステップS5に戻り、送信後経過時間と最小受信待機時間との比較を行う。
Next, the time measuring unit 133 determines whether or not the post-transmission elapsed time stored in the RAM 140 is equal to or less than the minimum reception standby time stored in the parameter storage unit 112 of the flash memory 110 (step S5).
When the time measuring unit 133 determines that the elapsed time after transmission is equal to or less than the minimum reception standby time (step S5: YES), the reception interval calculating unit 131 determines whether the receiving unit 123 has received a response signal from the access point 200. Is determined (step S6). When the receiving unit 123 has not received the response signal (step S6: NO), the process returns to step S5, and the elapsed time after transmission is compared with the minimum reception standby time.

他方、受信部123がレスポンス信号を受信した場合(ステップS6:YES)、変換部121は、無線帯域のレスポンス信号をベースバンド信号に変換してCPU130に出力する。そして、CPU130の受信間隔算出部131は、レスポンス信号から電界強度を読み出し、当該電界強度が、フラッシュメモリ110のパラメータ記憶部112が記憶する電界強度閾値を超えるか否かを判定する(ステップS21)。受信間隔算出部131が、電界強度が電界強度閾値以下であると判定した場合(ステップS21:NO)、ステップS5に戻り、送信後経過時間と最小受信待機時間との比較を行う。
このように、受信間隔算出部131が、アクセスポイント200からの電波が弱いと判定した時点で受信待機時間算出処理の計算対象からはずすことで、処理の簡易化を図ることができる。また、これにより、実際に接続する際に接続圏外になっている惧れのあるアクセスポイント200からのレスポンス信号を無視することができる。
On the other hand, when the reception unit 123 receives the response signal (step S6: YES), the conversion unit 121 converts the response signal in the radio band into a baseband signal and outputs it to the CPU 130. The reception interval calculation unit 131 of the CPU 130 reads out the electric field strength from the response signal, and determines whether the electric field strength exceeds the electric field strength threshold stored in the parameter storage unit 112 of the flash memory 110 (step S21). . When the reception interval calculation unit 131 determines that the electric field intensity is equal to or less than the electric field intensity threshold (step S21: NO), the process returns to step S5, and the post-transmission elapsed time is compared with the minimum reception standby time.
As described above, when the reception interval calculation unit 131 determines that the radio wave from the access point 200 is weak, the reception interval calculation unit 131 is removed from the calculation target of the reception standby time calculation process, whereby the process can be simplified. In addition, this makes it possible to ignore a response signal from the access point 200 that is likely to be outside the connection range when actually connecting.

他方、受信間隔算出部131が、電界強度が電界強度閾値を超えると判定した場合(ステップS21:YES)、第2の受信待機時間算出処理を実行する(ステップS22)。第2の受信待機時間延長処理とは、再送回数及びCSMA/CAによる送信停止回数に基づいて、RAM140の受信待機時間を延長して書き換える処理である。   On the other hand, when the reception interval calculation unit 131 determines that the electric field strength exceeds the electric field strength threshold (step S21: YES), a second reception standby time calculation process is executed (step S22). The second reception waiting time extension process is a process of extending and rewriting the reception waiting time of the RAM 140 based on the number of retransmissions and the number of transmission stops by CSMA / CA.

ここで、ステップS22による第2の受信待機時間算出処理の動作を説明する。
図5は、第2の受信待機時間算出処理の動作を示すフローチャートである。なお、第1の実施形態で説明した受信待機時間算出処理と同じ動作をするステップは、同じステップ番号を用いて説明する。
CPU130が第2の受信待機時間算出処理を開始すると、受信間隔算出部131は、レスポンス信号から再送回数を読み出し、当該再送回数が、フラッシュメモリ110のパラメータ記憶部112が記憶する再送回数閾値を超えるか否かを判定する(ステップS201)。受信間隔算出部131が、再送回数が再送回数閾値を超えると判定した場合(ステップS201:YES)、待機時間延長部132は、RAM140が記憶する受信待機時間に、フラッシュメモリ110のパラメータ記憶部112が記憶する最大受信待機時間の値を書き込み(ステップS202)、第2の受信待機時間算出処理を終了する。
Here, the operation of the second reception standby time calculation process in step S22 will be described.
FIG. 5 is a flowchart showing the operation of the second reception standby time calculation process. In addition, the step which performs the same operation | movement as the reception waiting time calculation process demonstrated in 1st Embodiment is demonstrated using the same step number.
When the CPU 130 starts the second reception standby time calculation process, the reception interval calculation unit 131 reads the number of retransmissions from the response signal, and the number of retransmissions exceeds the retransmission number threshold stored in the parameter storage unit 112 of the flash memory 110. Whether or not (step S201). When the reception interval calculation unit 131 determines that the number of retransmissions exceeds the retransmission number threshold (step S201: YES), the standby time extension unit 132 sets the parameter storage unit 112 of the flash memory 110 to the reception standby time stored in the RAM 140. Is stored (step S202), and the second reception standby time calculation process is terminated.

このように、再送回数が再送回数閾値を越えたときに受信待機時間を最大受信待機時間まで延長することで、意向の計算を省略し、処理の簡易化を図ることができる。また、これにより、近距離無線通信による突発的なノイズ源が付近に複数存在する可能性が高く、レスポンス信号の受信条件が極めて悪い可能性が高い場合に、レスポンス信号の待機時間を長くすることができる。   In this way, when the number of retransmissions exceeds the retransmission number threshold, the reception standby time is extended to the maximum reception standby time, so that the calculation of intention can be omitted and the processing can be simplified. This also increases the waiting time for response signals when there is a high probability that there are multiple sudden noise sources in the vicinity due to short-range wireless communication and there is a high possibility that the reception conditions for response signals are extremely poor. Can do.

他方、受信間隔算出部131が、再送回数が再送回数閾値以下であると判定した場合(ステップS201:NO)、受信間隔算出部131は、RAM140が記憶する前回受信時間が「0」を示すか否かを判定する(ステップS101)。
受信間隔算出部131が、前回受信時間が「0」を示すと判定した場合(ステップS101:YES)、待機時間延長部132は、RAM140が記憶する待機延長時間に、フラッシュメモリ110のパラメータ記憶部112が記憶する延長基準時間の値を書き込む(ステップS102)。
On the other hand, if the reception interval calculation unit 131 determines that the number of retransmissions is equal to or smaller than the retransmission number threshold (step S201: NO), does the reception interval calculation unit 131 indicate “0” as the previous reception time stored in the RAM 140? It is determined whether or not (step S101).
When the reception interval calculation unit 131 determines that the previous reception time indicates “0” (step S101: YES), the standby time extension unit 132 sets the parameter storage unit of the flash memory 110 to the standby extension time stored in the RAM 140. The value of the extended reference time stored in 112 is written (step S102).

他方、受信間隔算出部131は、前回受信時間が「0」を示さないと判定した場合(ステップS101:NO)、RAM140が記憶する送信後経過時間から前回受信時間を減算し、得られた値を受信間隔としてRAM140に書き込む(ステップS103)。次に、待機時間延長部132は、レスポンス信号からCSMA/CAによる送信停止回数を読み出し、当該送信停止回数が、フラッシュメモリ110のパラメータ記憶部112が記憶する送信停止回数閾値を超えるか否かを判定する(ステップS203)。   On the other hand, if the reception interval calculation unit 131 determines that the previous reception time does not indicate “0” (step S101: NO), the value obtained by subtracting the previous reception time from the post-transmission elapsed time stored in the RAM 140. Is written in the RAM 140 as a reception interval (step S103). Next, the standby time extension unit 132 reads the number of transmission suspensions by CSMA / CA from the response signal, and determines whether the number of transmission suspensions exceeds the transmission suspension number threshold stored in the parameter storage unit 112 of the flash memory 110. Determination is made (step S203).

待機時間延長部132は、送信停止回数が送信停止回数閾値以下であると判定した場合(ステップS203:NO)、第1の実施形態と同様に、フラッシュメモリ110のパラメータ記憶部112が記憶する延長基準時間をRAM140が記憶する受信間隔で除算し、得られた値を待機延長時間としてRAM140に書き込む(ステップS104)。
他方、待機時間延長部132は、送信停止回数が送信停止回数閾値を超えると判定した場合(ステップS203:YES)、フラッシュメモリ110のパラメータ記憶部112が記憶する延長基準時間をRAM140が記憶する受信間隔で除算した値に、フラッシュメモリ110のパラメータ記憶部112が記憶する送信停止多数時重みを乗算する。そして、得られた値を待機延長時間としてRAM140に書き込む(ステップS204)。
When the standby time extension unit 132 determines that the transmission stop count is equal to or less than the transmission stop count threshold (step S203: NO), the extension stored in the parameter storage unit 112 of the flash memory 110 is the same as in the first embodiment. The reference time is divided by the reception interval stored in the RAM 140, and the obtained value is written in the RAM 140 as the standby extension time (step S104).
On the other hand, when the standby time extension unit 132 determines that the transmission stop count exceeds the transmission stop count threshold value (step S203: YES), the RAM 140 stores the extension reference time stored in the parameter storage unit 112 of the flash memory 110. The value divided by the interval is multiplied by the transmission stop multi-time weight stored in the parameter storage unit 112 of the flash memory 110. Then, the obtained value is written in the RAM 140 as the standby extension time (step S204).

このように、送信停止回数が送信停止回数閾値より多い場合は、送信停止回数が少ない場合より多い時間、レスポンス信号の待機を継続する。これにより、通信端末100は、多くのアクセスポイントが存在する可能性が高い場合に、多くのアクセスポイントからのレスポンス信号を受信することができる。   As described above, when the transmission stop count is larger than the transmission stop count threshold, the response signal is kept waiting for a longer time than when the transmission stop count is small. Thereby, the communication terminal 100 can receive response signals from many access points when there is a high possibility that there are many access points.

待機時間延長部132は、ステップS102、ステップS104またはステップS204で待機延長時間を算出すると、RAM140が記憶する送信後経過時間に待機延長時間を加算し、得られた値を受信待機時間としてRAM140に書き込む(ステップS105)。次に、待機時間延長部132は、RAM140が記憶する前回受信時間を送信後経過時間が示す値に書き換え(ステップS106)、第2の受信待機時間算出処理を終了する。   When calculating the standby extension time in step S102, step S104, or step S204, the standby time extension unit 132 adds the standby extension time to the elapsed time after transmission stored in the RAM 140, and stores the obtained value in the RAM 140 as the reception standby time. Write (step S105). Next, the standby time extension unit 132 rewrites the previous reception time stored in the RAM 140 with a value indicating the elapsed time after transmission (step S106), and ends the second reception standby time calculation process.

ステップS22の受信待機時間算出処理を終了すると(図4)、CPU130の計時部133は、RAM140が記憶する受信待機時間が、フラッシュメモリ110のパラメータ記憶部112が記憶する最小受信待機時間を超えるか否かを判定する(ステップS8)。計時部133が、受信待機時間が最小受信待機時間以下であると判定した場合(ステップS8:NO)、ステップS5に戻り、送信後経過時間と最小受信待機時間との比較を行う。   When the reception standby time calculation process in step S22 is completed (FIG. 4), the time measuring unit 133 of the CPU 130 determines whether the reception standby time stored in the RAM 140 exceeds the minimum reception standby time stored in the parameter storage unit 112 of the flash memory 110. It is determined whether or not (step S8). When the time measuring unit 133 determines that the reception standby time is equal to or less than the minimum reception standby time (step S8: NO), the process returns to step S5, and the post-transmission elapsed time is compared with the minimum reception standby time.

他方、計時部133は、受信待機時間が最小受信待機時間を超えると判定した場合(ステップS8:YES)、フラッシュメモリ110のパラメータ記憶部112が記憶する最大受信待機時間とRAM140が記憶する受信待機時間とのうち、より短い時間を示すほうを読み出す(ステップS9)。
次に、計時部133は、RAM140が記憶する送信後経過時間が、ステップS9で読み出した時間以下であるか否かを判定する(ステップS10)。
On the other hand, when the timer 133 determines that the reception standby time exceeds the minimum reception standby time (step S8: YES), the maximum reception standby time stored in the parameter storage unit 112 of the flash memory 110 and the reception standby stored in the RAM 140 are stored. The time indicating the shorter time is read out (step S9).
Next, the timer 133 determines whether or not the elapsed time after transmission stored in the RAM 140 is equal to or shorter than the time read in Step S9 (Step S10).

計時部133によって送信後経過時間がステップS9で読み出した時間以下であると判定された場合(ステップS10:YES)、受信間隔算出部131は、受信部123がアクセスポイント200からレスポンス信号を受信したか否かを判定する(ステップS11)。受信部123がレスポンス信号を受信していない場合(ステップS11:NO)、ステップS9に戻り、受信待機時間または最大受信待機時間と送信後経過時間との比較を行う。   When the time measuring unit 133 determines that the elapsed time after transmission is equal to or shorter than the time read in step S9 (step S10: YES), the reception interval calculation unit 131 has received the response signal from the access point 200 by the reception unit 123 It is determined whether or not (step S11). If the reception unit 123 has not received a response signal (step S11: NO), the process returns to step S9, and the reception standby time or the maximum reception standby time is compared with the elapsed time after transmission.

他方、受信部123がレスポンス信号を受信した場合(ステップS11:YES)、変換部121は、無線帯域のレスポンス信号をベースバンド信号に変換してCPU130に出力する。そして、CPU130の受信間隔算出部131は、レスポンス信号から電界強度を読み出し、当該電界強度が、フラッシュメモリ110のパラメータ記憶部112が記憶する電界強度閾値を超えるか否かを判定する(ステップS23)。受信間隔算出部131が、電界強度が電界強度閾値以下であると判定した場合(ステップS23:NO)、ステップS9に戻り、受信待機時間または最大受信待機時間と送信後経過時間との比較を行う。   On the other hand, when the reception unit 123 receives the response signal (step S11: YES), the conversion unit 121 converts the response signal in the radio band into a baseband signal and outputs it to the CPU 130. Then, the reception interval calculation unit 131 of the CPU 130 reads out the electric field strength from the response signal and determines whether or not the electric field strength exceeds the electric field strength threshold stored in the parameter storage unit 112 of the flash memory 110 (step S23). . When the reception interval calculation unit 131 determines that the electric field strength is equal to or less than the electric field strength threshold (step S23: NO), the process returns to step S9, and the reception standby time or the maximum reception standby time is compared with the elapsed time after transmission. .

他方、受信間隔算出部131は、電界強度が電界強度閾値を超えると判定した場合(ステップS23:YES)、RAM140から待機時間最大化フラグを読み出し、当該待機時間最大化フラグが「ON」を示すか否かを判定する(ステップS12)。受信間隔算出部131が、待機時間最大化フラグが「ON」を示すと判定した場合(ステップS12:NO)、ステップS9に戻り、受信待機時間または最大受信待機時間と送信後経過時間との比較を行う。   On the other hand, when it is determined that the electric field strength exceeds the electric field strength threshold (step S23: YES), the reception interval calculation unit 131 reads the standby time maximization flag from the RAM 140, and the standby time maximization flag indicates “ON”. It is determined whether or not (step S12). When the reception interval calculation unit 131 determines that the standby time maximization flag indicates “ON” (step S12: NO), the process returns to step S9, and the reception standby time or the maximum reception standby time is compared with the post-transmission elapsed time. I do.

他方、受信間隔算出部131が、待機時間最大化フラグが「OFF」を示すと判定した場合(ステップS12:YES)、CPU130は、ステップS22で説明した第2の受信待機時間算出処理を実行する(ステップS24)。
第2の受信待機時間算出処理を終了すると、CPU130の計時部133は、RAM140が記憶する受信待機時間が、フラッシュメモリ110のパラメータ記憶部112が記憶する最大受信待機時間以上であるか否かを判定する(ステップS14)。計時部133が、受信待機時間が最大受信待機時間未満であると判定した場合(ステップS14:NO)、ステップS9に戻り、受信待機時間と送信後経過時間との比較を行う。
On the other hand, when the reception interval calculation unit 131 determines that the standby time maximization flag indicates “OFF” (step S12: YES), the CPU 130 executes the second reception standby time calculation process described in step S22. (Step S24).
When the second reception standby time calculation process is completed, the time measuring unit 133 of the CPU 130 determines whether or not the reception standby time stored in the RAM 140 is equal to or greater than the maximum reception standby time stored in the parameter storage unit 112 of the flash memory 110. Determination is made (step S14). When the timer 133 determines that the reception standby time is less than the maximum reception standby time (step S14: NO), the process returns to step S9, and the reception standby time is compared with the elapsed time after transmission.

他方、計時部133は、受信待機時間が最大受信待機時間以上であると判定した場合(ステップS14:YES)、RAM140が記憶する待機時間最大化フラグを「ON」に書き換え(ステップS15)、ステップS9に戻り、最大受信待機時間と送信後経過時間との比較を行う。
そして、計時部133がステップS5で、送信後経過時間が最小受信待機時間を超えると判定した場合(ステップS5:NO)、またはステップS10で、送信後経過時間がステップS9で読み出した時間を超えると判定した場合(ステップS10:NO)、計時部133は、受信部123に受信待機終了信号を出力する。次に、受信部123は、受信待機終了信号を入力し、受信待機処理を終了する(ステップS16)。
受信部123が受信待機処理を終了すると、通信端末100は、アクティブスキャン処理を終了する。
On the other hand, when it is determined that the reception standby time is equal to or longer than the maximum reception standby time (step S14: YES), the time measuring unit 133 rewrites the standby time maximization flag stored in the RAM 140 to “ON” (step S15), step Returning to S9, the maximum reception standby time is compared with the elapsed time after transmission.
When the time measuring unit 133 determines in step S5 that the elapsed time after transmission exceeds the minimum reception standby time (step S5: NO), or in step S10, the elapsed time after transmission exceeds the time read in step S9. (Step S10: NO), the timer 133 outputs a reception standby end signal to the receiver 123. Next, the reception unit 123 inputs a reception standby end signal, and ends the reception standby process (step S16).
When the reception unit 123 ends the reception standby process, the communication terminal 100 ends the active scan process.

このように、本実施形態によれば、通信端末100は、レスポンス信号の電界強度が極めて弱い場合、当該レスポンス信号を無視する。これにより、実際に接続する際に接続圏外になっている惧れがあるアクセスポイント200からのレスポンス信号を有効な情報として扱わないことができる。
また、通信端末100は、レスポンス信号の再送回数が過多である場合、レスポンス信号の待機時間を長くする。これにより、近距離無線通信などによる突発的なノイズ源が付近に複数存在する可能性が高い場合にも、レスポンス信号の取りこぼしを減らすことができる。
また、通信端末100は、CSMA/CAによる送信停止回数が過多である場合、レスポンス信号の待機時間を長くする。これにより、多くのアクセスポイントが存在する可能性が高い場合に、多くのアクセスポイントからのレスポンス信号を受信することができる。
Thus, according to the present embodiment, the communication terminal 100 ignores the response signal when the electric field strength of the response signal is extremely weak. As a result, a response signal from the access point 200 that may be out of the connection range when actually connecting can be prevented from being treated as valid information.
In addition, when the number of retransmissions of the response signal is excessive, the communication terminal 100 increases the response signal standby time. Thereby, even when there is a high possibility that there are a plurality of sudden noise sources in the vicinity due to short-range wireless communication or the like, it is possible to reduce missed response signals.
Further, when the number of transmission stops by CSMA / CA is excessive, the communication terminal 100 lengthens the response signal waiting time. Thereby, when there is a high possibility that there are many access points, response signals from many access points can be received.

以上、図面を参照してこの発明の一実施形態について詳しく説明してきたが、具体的な構成は上述のものに限られることはなく、この発明の要旨を逸脱しない範囲内において様々な設計変更等をすることが可能である。
例えば、第1の実施形態及び第2の実施形態では、受信待機時間が最大受信待機時間より長い場合、受信部123は、送信部122がリクエスト信号を送信した時刻から最大受信待機時間までの間、アクセスポイント200からのレスポンス信号の受信を待機する場合を説明したが、これに限られない。例えば、受信待機時間が最小受信待機時間より長い場合は最大受信待機時間によらず、受信部123は、送信部122がリクエスト信号を送信した時刻から受信待機時間までの間、アクセスポイント200からのレスポンス信号の受信を待機するようにしても良い。この場合、通信端末100は、受信の待機を長引かせず、省電力化を図ることができるという利点はなくなるが、アクセスポイント200が多い場合やノイズが多い場合により多くのレスポンス信号を受信することができる。
As described above, the embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to the above, and various design changes and the like can be made without departing from the scope of the present invention. It is possible to
For example, in the first embodiment and the second embodiment, when the reception standby time is longer than the maximum reception standby time, the reception unit 123 waits from the time when the transmission unit 122 transmits the request signal to the maximum reception standby time. The case of waiting for reception of a response signal from the access point 200 has been described, but the present invention is not limited to this. For example, when the reception standby time is longer than the minimum reception standby time, the reception unit 123 does not depend on the maximum reception standby time, and from the time when the transmission unit 122 transmits the request signal to the reception standby time, You may make it wait for reception of a response signal. In this case, the communication terminal 100 loses the advantage that it can save power without prolonging standby for reception, but receives more response signals when there are many access points 200 or when there is a lot of noise. Can do.

また、第1の実施形態及び第2の実施形態では、演算量を少なくするため、受信待機時間算出処理及び第2の受信待機時間算出処理において、減算及び除算によって待機延長時間を算出する場合を説明したが、これに限られず、CPU130が高速である場合、レスポンス信号の受信時間を関数で定義し、その微分値から待機延長時間を計算しても良い。   In the first embodiment and the second embodiment, in order to reduce the amount of calculation, the standby extension time is calculated by subtraction and division in the reception standby time calculation process and the second reception standby time calculation process. Although described above, the present invention is not limited to this, and when the CPU 130 is high speed, the reception time of the response signal may be defined as a function, and the standby extension time may be calculated from the differential value.

なお、第2の実施形態では、レスポンス信号に含まれる情報から電界強度を読み出して処理を行う場合を説明したが、これに限られず、通信端末100は、物理的な電界強度を検出し、当該検出した電界強度を用いて処理を行っても良い。
また、第2の実施形態では、送信停止多数時重みとして定数を用いているが、これに限られず、例えば、前回受信したレスポンス信号に含まれる送信停止回数との差から送信停止多数時重みを算出することで、より細かな待機延長時間の制御を行っても良い。
In the second embodiment, the case where the processing is performed by reading the electric field strength from the information included in the response signal has been described. However, the present invention is not limited to this, and the communication terminal 100 detects the physical electric field strength, Processing may be performed using the detected electric field strength.
In the second embodiment, a constant is used as the transmission stop multi-time weight. However, the constant is not limited to this. For example, the transmission stop multi-time weight is determined based on the difference from the number of transmission stop included in the previously received response signal. By calculating, finer control of the standby extension time may be performed.

上述の通信端末100は内部に、コンピュータシステムを有している。そして、上述した各処理部の動作は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。   The communication terminal 100 described above has a computer system inside. The operation of each processing unit described above is stored in a computer-readable recording medium in the form of a program, and the above processing is performed by the computer reading and executing this program. Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to the computer via a communication line, and the computer that has received the distribution may execute the program.

また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。   The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, what is called a difference file (difference program) may be sufficient.

100…通信端末 110…フラッシュメモリ 111…制御プログラム記憶部 112…パラメータ記憶部 120…無線LAN部 121…変換部 122…送信部 123…受信部 130…CPU 131…受信間隔算出部 132…待機時間延長部 133…計時部 140…RAM 150…表示部 160…キー入力部 200…アクセスポイント   DESCRIPTION OF SYMBOLS 100 ... Communication terminal 110 ... Flash memory 111 ... Control program memory | storage part 112 ... Parameter memory | storage part 120 ... Wireless LAN part 121 ... Conversion part 122 ... Transmission part 123 ... Reception part 130 ... CPU 131 ... Reception interval calculation part 132 ... Standby time extension Unit 133: Timekeeping unit 140 ... RAM 150 ... Display unit 160 ... Key input unit 200 ... Access point

Claims (7)

アクティブスキャンによりアクセスポイントとの接続を行う通信端末であって、
リクエスト信号を送信する送信部と、
前記アクセスポイントからのレスポンス信号の受信の待機を終了するまでの時間を示す受信待機時間を記憶する待機時間記憶部と、
前記送信部がリクエスト信号を送信した時刻から、前記レスポンス信号の受信の待機を継続する最小限の時間を示す所定の最小受信待機時間と前記待機時間記憶部が記憶する前記受信待機時間とのうち、より長い時間を示すほうが示す時間までの間、前記アクセスポイントから前記送信部が送信したリクエスト信号に応答するレスポンス信号の受信を待機する受信部と、
前記受信部が最後に受信した連続する2つのレスポンス信号の受信間隔を算出する受信間隔算出部と、
前記受信間隔算出部が算出した受信間隔が短いほど、前記待機時間記憶部が記憶する受信待機時間を長い時間に書き換える待機時間延長部と、
を備えることを特徴とする通信端末。
A communication terminal that connects to an access point by active scanning,
A transmission unit for transmitting a request signal;
A standby time storage unit for storing a reception standby time indicating a time until the standby for reception of a response signal from the access point is terminated;
Among the predetermined minimum reception waiting time indicating the minimum time for waiting for reception of the response signal from the time when the transmission unit transmits the request signal, and the reception waiting time stored in the standby time storage unit A reception unit that waits for reception of a response signal in response to a request signal transmitted by the transmission unit from the access point until the time indicated by the longer time is indicated;
A reception interval calculation unit for calculating a reception interval between two consecutive response signals received by the reception unit last;
The shorter the reception interval calculated by the reception interval calculation unit, the longer the standby time extension unit rewrites the reception standby time stored in the standby time storage unit, and
A communication terminal comprising:
前記待機時間記憶部が記憶する前記受信待機時間が前記最小受信待機時間より長い場合、前記受信部は、前記送信部がリクエスト信号を送信した時刻から、前記レスポンス信号の受信の待機を継続する最大限の時間を示す所定の最大受信待機時間と前記受信待機時間とのうち、より短い時間を示すほうが示す時間までの間、前記アクセスポイントから前記送信部が送信したリクエスト信号に応答するレスポンス信号の受信を待機する
ことを特徴とする請求項1に記載の通信端末。
When the reception standby time stored in the standby time storage unit is longer than the minimum reception standby time, the reception unit is configured to continue to wait for reception of the response signal from the time when the transmission unit transmits a request signal. The response signal responding to the request signal transmitted from the access point from the access point until the time indicated by the shorter time of the predetermined maximum reception standby time indicating the limited time and the reception standby time. The communication terminal according to claim 1, wherein the communication terminal waits for reception.
前記レスポンス信号は、当該レスポンス信号の再送回数を含み、
前記待機時間延長部は、前記受信部が受信したレスポンス信号から再送回数を読み出し、当該再送回数が所定の閾値より多い場合に、前記待機時間記憶部が記憶する受信待機時間を、前記最大受信待機時間に書き換える
ことを特徴とする請求項2に記載の通信端末。
The response signal includes the number of retransmissions of the response signal,
The standby time extension unit reads the number of retransmissions from the response signal received by the reception unit, and when the number of retransmissions is greater than a predetermined threshold, the standby time storage unit stores the reception standby time stored in the maximum reception standby The communication terminal according to claim 2, wherein the communication terminal is rewritten in time.
前記レスポンス信号は、キャリアセンスによる当該レスポンス信号の送信停止回数を含み、
待機時間延長部は、前記受信部が受信したレスポンス信号から送信停止回数を読み出し、読み出した送信停止回数が高い値を示すほど、前記待機時間記憶部が記憶する受信待機時間を長い時間に書き換える
ことを特徴とする請求項1から請求項3の何れか1項に記載の通信端末。
The response signal includes the number of times the response signal is stopped due to carrier sense,
The standby time extension unit reads the number of transmission stops from the response signal received by the reception unit, and rewrites the reception standby time stored in the standby time storage unit to a longer time as the read transmission stop frequency indicates a higher value. The communication terminal according to any one of claims 1 to 3, wherein:
前記受信間隔算出部は、前記受信部が受信したレスポンス信号から電界強度が所定の閾値より大きいものを抽出し、当該抽出したレスポンス信号のうち、前記受信部が最後に受信した連続する2つのレスポンス信号の受信間隔を算出する
ことを特徴とする請求項1から請求項4の何れか1項に記載の通信端末。
The reception interval calculation unit extracts a response signal having an electric field strength larger than a predetermined threshold from the response signal received by the reception unit, and among the extracted response signals, two consecutive responses received by the reception unit last The communication terminal according to any one of claims 1 to 4, wherein a signal reception interval is calculated.
アクティブスキャンによりアクセスポイントとの接続を行い、前記アクセスポイントからのレスポンス信号の受信の待機を終了するまでの時間を示す受信待機時間を記憶する待機時間記憶部を供える通信端末を用いた受信待機方法であって、
送信部は、リクエスト信号を送信し、
受信部は、前記送信部がリクエスト信号を送信した時刻から、前記レスポンス信号の受信の待機を継続する最小限の時間を示す所定の最小受信待機時間と前記待機時間記憶部が記憶する前記受信待機時間とのうち、より長い時間を示すほうが示す時間までの間、前記アクセスポイントから前記送信部が送信したリクエスト信号に応答するレスポンス信号の受信を待機し、
受信間隔算出部は、前記受信部が最後に受信した連続する2つのレスポンス信号の受信間隔を算出し、
待機時間延長部は、前記受信間隔算出部が算出した受信間隔が短いほど、前記待機時間記憶部が記憶する受信待機時間を長い時間に書き換える
ことを特徴とする受信待機方法。
Reception standby method using a communication terminal provided with a standby time storage unit for storing a reception standby time indicating a time until connection with an access point by active scan and completion of reception of a response signal from the access point is completed Because
The transmitter transmits a request signal,
The reception unit is configured to store the reception standby stored in the standby time storage unit and a predetermined minimum reception standby time indicating a minimum time for continuing standby for reception of the response signal from the time when the transmission unit transmits the request signal. Waiting for reception of a response signal in response to a request signal transmitted from the access point from the access point until the time indicated by the longer time is indicated.
The reception interval calculation unit calculates a reception interval between two consecutive response signals received by the reception unit last,
The reception standby method, wherein the standby time extension unit rewrites the reception standby time stored in the standby time storage unit to a longer time as the reception interval calculated by the reception interval calculation unit is shorter.
アクティブスキャンによりアクセスポイントとの接続を行い、前記アクセスポイントからのレスポンス信号の受信の待機を終了するまでの時間を示す受信待機時間を記憶する待機時間記憶部を供える通信端末を、
リクエスト信号を送信する送信部、
前記送信部がリクエスト信号を送信した時刻から、前記レスポンス信号の受信の待機を継続する最小限の時間を示す所定の最小受信待機時間と前記待機時間記憶部が記憶する前記受信待機時間とのうち、より長いほうが示す時間までの間、前記アクセスポイントから前記送信部が送信したリクエスト信号に応答するレスポンス信号の受信を待機する受信部、
前記受信部が最後に受信した連続する2つのレスポンス信号の受信間隔を算出する受信間隔算出部、
前記受信間隔算出部が算出した受信間隔が短いほど、前記待機時間記憶部が記憶する受信待機時間を長い時間に書き換える待機時間延長部
として機能させるためのプログラム。
A communication terminal provided with a standby time storage unit for storing a reception standby time indicating a time until connection with an access point by active scan and completion of reception of a response signal from the access point is completed,
A transmission unit for transmitting a request signal;
Among the predetermined minimum reception waiting time indicating the minimum time for waiting for reception of the response signal from the time when the transmission unit transmits the request signal, and the reception waiting time stored in the standby time storage unit A reception unit that waits for reception of a response signal in response to a request signal transmitted by the transmission unit from the access point until the time indicated by the longer one,
A reception interval calculation unit for calculating a reception interval between two consecutive response signals received by the reception unit last;
The program for functioning as a waiting time extension part which rewrites the reception waiting time which the waiting time storage part memorizes into a long time, so that the receiving interval which the receiving interval calculation part computed is short.
JP2010070492A 2010-03-25 2010-03-25 Communication terminal, reception standby method, and program Expired - Fee Related JP5321513B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010070492A JP5321513B2 (en) 2010-03-25 2010-03-25 Communication terminal, reception standby method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010070492A JP5321513B2 (en) 2010-03-25 2010-03-25 Communication terminal, reception standby method, and program

Publications (2)

Publication Number Publication Date
JP2011205386A JP2011205386A (en) 2011-10-13
JP5321513B2 true JP5321513B2 (en) 2013-10-23

Family

ID=44881548

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010070492A Expired - Fee Related JP5321513B2 (en) 2010-03-25 2010-03-25 Communication terminal, reception standby method, and program

Country Status (1)

Country Link
JP (1) JP5321513B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006013594A (en) * 2004-06-22 2006-01-12 Nec Corp Wireless lan communication system, wireless lan connection method, and wireless lan terminal device
JP4971319B2 (en) * 2006-06-06 2012-07-11 パナソニック株式会社 Wireless communication system, wireless terminal, base station, and base station search method
JP2008061111A (en) * 2006-09-01 2008-03-13 Toshiba Corp Electronic device and radio communication control method
JP2008066915A (en) * 2006-09-06 2008-03-21 Matsushita Electric Ind Co Ltd Radio terminal and radio base station

Also Published As

Publication number Publication date
JP2011205386A (en) 2011-10-13

Similar Documents

Publication Publication Date Title
JP6801757B2 (en) Wireless communication device and wireless communication method
JP4762007B2 (en) Relay device, communication terminal, and communication system
CN101652766B (en) Ad-hoc network power save system and method
US8942123B2 (en) Deferral mechanism for improved medium reuse in wireless networks with transmit power imbalances
JP5343276B2 (en) Near field communication
JP5650219B2 (en) Method and apparatus for using licensed spectrum to transmit signals when unlicensed spectrum is congested
US9806557B2 (en) Wireless charging system with adaptive radio frequency interference
US8867512B2 (en) Autonomous discovery for enhanced wifi devices
JP7074216B2 (en) Information processing equipment and information processing method
WO2015078277A1 (en) Broadcasting, and scanning for wireless communication
KR20140111023A (en) Rate and power control systems and methods using harq feedback
AU2010298907A1 (en) Method and system for announcement time of idle timeout for power saving operations in wireless networks
US20150173021A1 (en) Apparatus and method for controlling transmission of sensor data on media access control (mac) layer of wireless sensor network
CN110267296B (en) State detection method and device
KR20050121355A (en) Method and system for power saving in asynchronous comunication system
CN106301676B (en) Data transmission method, equipment and system
US11425656B2 (en) Method and device for handling wake-up signals
JP5321513B2 (en) Communication terminal, reception standby method, and program
US20110003612A1 (en) Loss Differentiation Based Management of Wireless Networks
Yan et al. An optimistic power control MAC protocol for mobile ad hoc networks
US9414312B2 (en) Communication device and method for packet communications in a contention-free period
JP2013223042A (en) Access control method, access control system, and radio communication device
JP2013138326A (en) Sensor node, sensor node control method, sensor node control program
JP2013258625A (en) Radio access point device and radio communication control method
KR20130125088A (en) Method of transmitting data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130612

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130701

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

LAPS Cancellation because of no payment of annual fees