JP2015133737A - Communication terminal and communication method - Google Patents

Communication terminal and communication method Download PDF

Info

Publication number
JP2015133737A
JP2015133737A JP2015043976A JP2015043976A JP2015133737A JP 2015133737 A JP2015133737 A JP 2015133737A JP 2015043976 A JP2015043976 A JP 2015043976A JP 2015043976 A JP2015043976 A JP 2015043976A JP 2015133737 A JP2015133737 A JP 2015133737A
Authority
JP
Japan
Prior art keywords
communication
state
communication device
power supply
association
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.)
Pending
Application number
JP2015043976A
Other languages
Japanese (ja)
Inventor
伊瀬 恒太郎
Tsunetaro Ise
恒太郎 伊瀬
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2015043976A priority Critical patent/JP2015133737A/en
Publication of JP2015133737A publication Critical patent/JP2015133737A/en
Pending legal-status Critical Current

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

Abstract

PROBLEM TO BE SOLVED: To achieve both of power saving and user convenience in a communication terminal.SOLUTION: A communication terminal of an embodiment which allows a plurality of communication protocols to operate comprises: a communication device for forming association with a communication apparatus to perform communication; a communication management unit for determining an operation mode of the communication device; and a device power supply management unit for controlling, according to the operation mode, power supply to the communication device. The device power supply management unit sets the communication device into a first power supply state in which transmission/reception is disabled, when a first operation mode is determined; and sets, for each first period, the communication device into a second power supply state in which transmission/reception is enabled, while being set into the first power supply state. When being set into the second power supply state, the communication terminal selects a frame on the basis of operation situations of the plurality of communication protocols and transmits the selected frame through the association. After receiving a response frame corresponding to the selected frame, the device power supply management unit restores the communication device to the first power supply state.

Description

本発明の実施形態は、通信端末および通信方法に関する。   Embodiments described herein relate generally to a communication terminal and a communication method.

通信技術の発展に伴い、スマートフォンのような通信機能を有する端末が普及してきている。一方で、地球温暖化への懸念から、端末の消費電力削減に対する社会的な要請が高まっている。さらに、スマートフォンのようなバッテリにより駆動される端末においては、その駆動時間を長くするという利便性の観点からも、端末の消費電力削減に対するニーズがある。   With the development of communication technology, a terminal having a communication function such as a smartphone has become widespread. On the other hand, due to concerns about global warming, social demands for reducing power consumption of terminals are increasing. Furthermore, in a terminal driven by a battery such as a smartphone, there is a need for reducing power consumption of the terminal from the viewpoint of convenience of extending the driving time.

この消費電力削減への要求に対して、ACPI(Advanced Configuration and Power Interface)という電源制御の枠組みが提案されている。これによれば、S3という状態が定義されている。S3は、“Suspend to RAM”と呼ばれる状態である。S3状態では、CPUのレジスタの値をメインメモリに書き出し、メインメモリを通電状態にしつつ、CPUやバスやバスデバイスの給電を絶つ。S3状態の端末は動作を行うことはできないが、S0状態(動作状態)よりも消費電力は少ない。さらにS3状態からS0状態に復帰した際には、S3状態に遷移する前の端末状態に復帰できる。このため、コールドブートよりも利便性が高い。   In response to this demand for power consumption reduction, a power control framework called ACPI (Advanced Configuration and Power Interface) has been proposed. According to this, a state of S3 is defined. S3 is a state called “Suspend to RAM”. In the S3 state, the CPU register value is written to the main memory, and the CPU, bus, and bus device are powered off while the main memory is energized. A terminal in the S3 state cannot operate, but consumes less power than the S0 state (operating state). Furthermore, when returning from the S3 state to the S0 state, it is possible to return to the terminal state before the transition to the S3 state. For this reason, it is more convenient than cold boot.

さらに他の従来技術として、特許文献1がある。ここでは、無線LAN端末において、送受信パケットが一定時間無い場合に、接続中のアクセスポイントにデータを送信するために必要な情報を端末内部に保存し、通信回路の電源供給を停止する。送信パケット発生時には、通信回路に電源を供給し、保存していた情報を用いて接続手順を行わずに、以前接続していたアクセスポイントへパケットを送信する。このように、アクセスポイントとの接続手順を省くことで、通信部の電源供給後のパケット送信に要する遅延を削減している。   There is Patent Document 1 as another prior art. Here, in the wireless LAN terminal, when there is no transmission / reception packet for a predetermined time, information necessary for transmitting data to the connected access point is stored in the terminal, and the power supply of the communication circuit is stopped. When a transmission packet is generated, power is supplied to the communication circuit, and the packet is transmitted to the previously connected access point without performing the connection procedure using the stored information. Thus, by omitting the connection procedure with the access point, the delay required for packet transmission after power supply to the communication unit is reduced.

特開2006-5577号公報JP 2006-5577 A

近年、Webサービスあるいはクラウドサービスと呼ばれるサービスが普及してきている。例えば、Google社のGmailのようなものを挙げることができる。Gmailでは、メールデータはサーバ上に存在し、これにWebブラウザからアクセスすることで、専用のメールアプリケーションを用いることなく、受信メールの一覧や、選択メールの内容を表示する。このようなサービスを想定した場合、ローカル端末は、必要なデータを受信する度に無線LAN通信部の給電を停止し、通信が必要となった場合にのみ無線LAN通信部の給電を行うことが、消費電力の観点では望ましい。しかしながら、無線LAN通信部の給電を開始してからパケットを送信可能となるまでの遅延が大きく、ユーザの利便性を損なう。   In recent years, services called Web services or cloud services have become widespread. For example, something like Google's Gmail. In Gmail, mail data exists on the server, and by accessing it from a web browser, a list of received mail and the contents of selected mail are displayed without using a dedicated mail application. Assuming such a service, the local terminal may stop supplying power to the wireless LAN communication unit every time it receives necessary data, and only when necessary to communicate, the local terminal supplies power to the wireless LAN communication unit. This is desirable from the viewpoint of power consumption. However, there is a large delay until the packet can be transmitted after the start of power supply to the wireless LAN communication unit, which impairs user convenience.

これに対して、特許文献1で述べられているように、接続中のアクセスポイント情報を保持したまま、無線LAN通信部の給電を停止する方法がある。パケット送信が必要となった際には、無線LAN通信部の給電を行うとともに、保持したアクセスポイント情報を用いてパケットをアクセスポイントに向けて送信する。   On the other hand, as described in Patent Document 1, there is a method of stopping the power supply of the wireless LAN communication unit while maintaining the access point information being connected. When packet transmission is required, the wireless LAN communication unit is powered and the packet is transmitted to the access point using the stored access point information.

しかしながら、無線LAN通信部の給電を停止している状態が長いと、アクセスポイントはその端末がいなくなったと判断し、アソシエーション情報を破棄する可能性がある。このとき、通信端末は無線LANインタフェースの給電を開始してパケットを送信すると、アクセスポイントで送信パケットが破棄される。そして、一定時間後に通信端末はそのパケットの再送を一定回数行うことになる。このように、通信端末は、アクセスポイントがアソシエーションを破棄していることに気付けず、パケットが送信できない時間が増加するという問題がある。   However, if the power supply to the wireless LAN communication unit has been stopped for a long time, the access point may determine that the terminal is gone and discard the association information. At this time, when the communication terminal starts to supply power to the wireless LAN interface and transmits a packet, the transmission packet is discarded at the access point. Then, after a certain period of time, the communication terminal performs retransmission of the packet a certain number of times. As described above, the communication terminal is not aware that the access point has discarded the association, and there is a problem that the time during which a packet cannot be transmitted increases.

このように、省電力状態のため無線LAN通信部の給電を停止すると、パケット送信可能となるまでの遅延が大きく、ユーザの利便性を損なうという課題があった。   As described above, when power supply to the wireless LAN communication unit is stopped due to the power saving state, there is a problem that a delay until the packet transmission is possible is large and the convenience of the user is impaired.

本発明の一側面は、通信端末における省電力とユーザの利便性を両立させることを目的とする。   An object of one aspect of the present invention is to achieve both power saving and user convenience in a communication terminal.

本発明の一態様としての通信端末は、複数の通信プロトコルが動作する通信端末であって、通信デバイスと、通信管理部と、デバイス電源管理部と、を備える。   A communication terminal as one aspect of the present invention is a communication terminal that operates a plurality of communication protocols, and includes a communication device, a communication management unit, and a device power supply management unit.

前記通信デバイスは、通信機器とアソシエーションを形成し、前記通信機器と通信する。   The communication device forms an association with a communication device and communicates with the communication device.

前記通信管理部は、前記通信デバイスの動作モードを決定する。   The communication management unit determines an operation mode of the communication device.

前記デバイス電源管理部は、前記通信管理部により決定された動作モードに応じて、前記通信デバイスへの給電を制御する。   The device power management unit controls power supply to the communication device according to an operation mode determined by the communication management unit.

前記デバイス電源管理部は、デバイス電源管理部は、前記通信管理部により第1の動作モードが決定されたとき、前記通信デバイスを送受信が不能な状態である第1の電源状態に設定し、前記第1の電源状態に設定されている間、第1の周期ごとに、前記通信デバイスを送受信が可能な状態である第2の電源状態に設定する。   The device power management unit, when the first operation mode is determined by the communication management unit, the device power management unit sets the communication device to a first power state in which transmission / reception is impossible, While the first power supply state is set, the communication device is set to a second power supply state in which transmission / reception is possible for each first period.

前記通信端末は、前記通信デバイスが前記第2の電源状態に設定されたとき、前記複数の通信プロトコルの動作状況に基づいてフレームを選択し、選択したフレームを前記アソシエーションを介して前記通信機器に送信する。前記デバイス電源管理部は、前記デバイス電源管理部は、前記選択したフレームに対応する応答フレームを受信した後、前記通信デバイスを前記第1の電源状態に戻す。   When the communication device is set to the second power state, the communication terminal selects a frame based on an operation state of the plurality of communication protocols, and transmits the selected frame to the communication device via the association. Send. The device power management unit returns the communication device to the first power state after receiving a response frame corresponding to the selected frame.

本実施形態における全体構成を示す。The whole structure in this embodiment is shown. パワー制限モードでの動作タイミングを示す。The operation timing in the power limit mode is shown. パワー制限モードでの外部インタフェース部の動作を示す。The operation of the external interface unit in the power limit mode is shown. 本実施形態に係る通信端末のハードウエア構成例を示す。The hardware structural example of the communication terminal which concerns on this embodiment is shown. 本実施形態に係る通信端末のソフトウエア構成を示す。2 shows a software configuration of a communication terminal according to the present embodiment. 外部インタフェース部の構成を示す。The configuration of the external interface unit is shown. 本実施形態に係る通信端末と、ネットワーク上の通信端末間の通信シーケンス例を示す。The communication sequence example between the communication terminal which concerns on this embodiment, and the communication terminal on a network is shown. HTTPレベルの通信シーケンスを示す。Indicates the HTTP level communication sequence. 受信メールの一覧画面の例を示す。An example of the received mail list screen is shown. HTMLデータにより表示する画面の表示例を示す。A display example of a screen displayed by HTML data is shown. 通信デバイスのハードウエア構成例を示す。The example of a hardware configuration of a communication device is shown. HTTP処理部の動作を示す。The operation of the HTTP processing unit is shown. 周辺アクセスポイント表示と接続状態表示とモード表示を含む表示画面の例を示す。An example of a display screen including a peripheral access point display, a connection status display, and a mode display is shown.

以下、図面を参照しながら、本実施形態を説明する。   Hereinafter, this embodiment will be described with reference to the drawings.

図1に本実施形態における全体構成を示す。   FIG. 1 shows the overall configuration of this embodiment.

通信端末1と通信端末2が、ネットワーク3を介して接続されている。通信端末1は、無線LAN(例えばIEEE 802.11)にて、通信機器である無線LANアクセスポイント4を介してネットワーク3に接続されている。通信端末2は10GBイーサーネットにて、ネットワーク3に接続されている。無線LANアクセスポイント4は、通信を中継する中継機器として機能する。   A communication terminal 1 and a communication terminal 2 are connected via a network 3. The communication terminal 1 is connected to the network 3 via a wireless LAN access point 4 that is a communication device by a wireless LAN (for example, IEEE 802.11). The communication terminal 2 is connected to the network 3 by 10 GB Ethernet. The wireless LAN access point 4 functions as a relay device that relays communication.

通信端末1ではWebブラウザが実行されており、通信端末2ではHTTPサーバが動作している。通信端末2では、HTTPを用いたメールサービスが提供されており、通信端末1からこのメールサービスを利用している。   The communication terminal 1 is running a Web browser, and the communication terminal 2 is running an HTTP server. The communication terminal 2 provides a mail service using HTTP, and the communication terminal 1 uses this mail service.

図7に通信端末1と通信端末2間の通信シーケンス例を記す。図7ではTCPパケットのシーケンスを記している。   FIG. 7 shows an example of a communication sequence between the communication terminal 1 and the communication terminal 2. FIG. 7 shows a sequence of TCP packets.

まず初めに、通信端末1は、通信端末2に、宛先ポート番号80にて、TCPコネクションを設定する(S101)。この時のTCPコネクション設定手順は、次のとおりである。(1)TCPのSYNパケットを通信端末1から通信端末2に送信し、(2)これを受信した通信端末2がSYN ACKパケットを通信端末1に送信し、(3)このSYN ACKパケットを受信した通信端末1がACKパケットを通信端末2に送信する。   First, the communication terminal 1 sets up a TCP connection with the destination port number 80 in the communication terminal 2 (S101). The TCP connection setting procedure at this time is as follows. (1) A TCP SYN packet is transmitted from the communication terminal 1 to the communication terminal 2, (2) The communication terminal 2 that has received this transmits a SYN ACK packet to the communication terminal 1, and (3) receives this SYN ACK packet. The communication terminal 1 that has transmitted transmits an ACK packet to the communication terminal 2.

次に、通信端末1は、HTTPリクエストを通信端末2に送信する(S102)。このときHTTPリクエストは、複数のTCPパケットに分割されることがある。HTTPリクエストを受信した送信端末2は、HTTPレスポンスを送信端末1に送信する(S103)。HTTPレスポンスは、複数のTCPパケットに分割されることがある。図7中のACKはDATAを受信したことを示す送達確認パケットであり、受信済みデータを識別するセグメントサイズの情報(確認応答番号)を有する。   Next, the communication terminal 1 transmits an HTTP request to the communication terminal 2 (S102). At this time, the HTTP request may be divided into a plurality of TCP packets. The transmission terminal 2 that has received the HTTP request transmits an HTTP response to the transmission terminal 1 (S103). An HTTP response may be divided into multiple TCP packets. ACK in FIG. 7 is a delivery confirmation packet indicating that DATA has been received, and has segment size information (acknowledgment response number) for identifying received data.

図8にHTTPレベルの通信シーケンスを記す。図8において、実線矢印はTCPパケットの送受信を示し、点線矢印はHTTPレベルの情報の送受信を示す。   Figure 8 shows the HTTP level communication sequence. In FIG. 8, solid line arrows indicate transmission / reception of TCP packets, and dotted line arrows indicate transmission / reception of HTTP level information.

先に述べたように、それぞれのHTTPリクエストとHTTPレスポンスは、一つ以上のTCPパケットにて運ばれる。典型的には一つ目のHTTPセッション1のHTTPレスポンスでは、通信端末1はユーザ認証画面に対応するHTMLデータを受信する。通信端末1上で動作するWebブラウザにて受信したHTMLデータは、ユーザIDとパスワード入力画面として、ユーザに提示される。   As mentioned earlier, each HTTP request and HTTP response is carried in one or more TCP packets. Typically, in the HTTP response of the first HTTP session 1, the communication terminal 1 receives HTML data corresponding to the user authentication screen. HTML data received by a web browser operating on the communication terminal 1 is presented to the user as a user ID and password input screen.

ユーザがこの画面にてユーザIDとパスワードを入力し、送信ボタンを押下することで、HTTPセッション2が開始される。HTTPセッション2のHTTPリクエストには、ユーザID・パスワード・リクエストURL(HTTPリクエストが要求するURL)を含む。これを受信した通信端末2は、対応するユーザの受信メールの一覧を表示するためのHTMLデータと、ユーザを識別するユーザ識別情報とを含むHTTPレスポンスを、通信端末1に送信する。   When the user inputs the user ID and password on this screen and presses the send button, HTTP session 2 is started. The HTTP request for HTTP session 2 includes the user ID, password, and request URL (URL requested by the HTTP request). Receiving this, the communication terminal 2 transmits to the communication terminal 1 an HTTP response including HTML data for displaying a list of received mails of the corresponding user and user identification information for identifying the user.

さらに、ユーザが受信メール一覧画面上であるメールを選択することで、HTTPセッション3が開始される。HTTPセッション3のHTTPリクエストには、ユーザを識別するユーザ識別情報と、ユーザが選択したメールに対応するメール識別情報と、リクエストURLとを含む。これを受信した通信端末2は、ユーザ識別情報と、メール識別情報に対応するメールを表示するためのHTMLデータとを含むHTTPレスポンスを、通信端末1に送信する。   Furthermore, the HTTP session 3 is started when the user selects a mail on the received mail list screen. The HTTP request of the HTTP session 3 includes user identification information for identifying the user, mail identification information corresponding to the mail selected by the user, and a request URL. Receiving this, the communication terminal 2 transmits an HTTP response including user identification information and HTML data for displaying a mail corresponding to the mail identification information to the communication terminal 1.

図9に、受信メールの一覧画面の例を示す。   FIG. 9 shows an example of a received mail list screen.

通信端末1は、HTTPセッション2のHTTPレスポンスに含まれるHTMLデータを受信すると、これをWebブラウザを使って画面に表示する。図9はその表示例である。   When the communication terminal 1 receives the HTML data included in the HTTP response of the HTTP session 2, the communication terminal 1 displays it on the screen using a Web browser. FIG. 9 is an example of the display.

この表示例では、画面は二つのフレームからなっている。左のフレーム51には受信ボタン61・作成ボタン62・受信箱ボタン63・送信済ボタン64が表示されている。右のフレーム52には、受信したそれぞれのメールに対する(件名、受信日時、送信者)のエントリが表示されている。右フレームのスクロールバー65を用いて画面スクロールすることで、画面に入りきれないエントリも表示することができる。   In this display example, the screen consists of two frames. In the left frame 51, a reception button 61, a creation button 62, an inbox button 63, and a transmitted button 64 are displayed. In the right frame 52, entries of (subject, reception date and time, sender) for each received mail are displayed. By scrolling the screen using the scroll bar 65 in the right frame, it is possible to display entries that cannot fit on the screen.

さて、図9のように2つのフレームの画面を表示するには、図8で説明したように一つのHTTPセッションではなく、複数のHTTPセッションでHTMLデータを取得することが一般的である。しかしながら、図8では説明を簡易に行うため、受信メール一覧画面のHTMLデータが、一つのHTTPセッションで受信できる場合の例を元に説明を行っている。   Now, in order to display a screen of two frames as shown in FIG. 9, it is common to acquire HTML data in a plurality of HTTP sessions instead of one HTTP session as described in FIG. However, in order to simplify the explanation in FIG. 8, the explanation is based on an example in which the HTML data of the received mail list screen can be received in one HTTP session.

たとえば図9の画面の場合は、まず一つ目のHTMLデータを取得し、このHTMLデータには、二つのフレームと、夫々に対応する埋め込みオブジェクトのURLとが記されている。Webブラウザは埋め込みオブジェクトのURLに対して、2つのHTTPセッションにて、図9の右画面と左画面のHTMLデータ(埋め込みオブジェクト)を受信することになる。もちろん、埋め込みオブジェクトはHTMLデータ以外に、画像データなど様々なものが可能である。   For example, in the case of the screen shown in FIG. 9, first, the first HTML data is acquired, and in this HTML data, two frames and URLs of embedded objects corresponding to the frames are described. The Web browser receives the HTML data (embedded object) of the right screen and the left screen in FIG. 9 in two HTTP sessions for the URL of the embedded object. Of course, the embedded object can be various things such as image data in addition to HTML data.

図9の受信メール一覧画面にて、ユーザが一番上のエントリを選択すると、通信端末1が、HTTPセッション3によりHTMLデータを受信する。このHTMLデータにより表示する画面の表示例を図10に示す。   When the user selects the top entry on the received mail list screen in FIG. 9, the communication terminal 1 receives HTML data through the HTTP session 3. A display example of the screen displayed by the HTML data is shown in FIG.

図10の表示例では、画面は二つのフレームからなっている。左のフレーム71には、次のメールボタン81・前のメールボタン82・返信ボタン83・受信箱ボタン84・送信済ボタン85が表示されている。右のフレーム72には、ユーザが選択したメールに対応するメールの詳細が記されている。メール本文が長く画面に収まりきらない場合には、右フレームのスクロールバー86を用いて画面をスクロールすることで、画面外の部分を表示できる。   In the display example of FIG. 10, the screen is composed of two frames. In the left frame 71, a next mail button 81, a previous mail button 82, a reply button 83, an inbox button 84, and a transmitted button 85 are displayed. In the right frame 72, details of the mail corresponding to the mail selected by the user are written. If the mail text is too long to fit on the screen, the portion outside the screen can be displayed by scrolling the screen using the scroll bar 86 in the right frame.

ユーザが図10のメール本文を読んでいる間は、通信端末1と通信端末2との間の通信は発生しない。画面データは全て取得済であるため、例えば、スクロールバーを操作しても通信が不要である。このため、ユーザがメールを読んでいる間(例えば3分)は、通信端末1の通信部の給電を停止することが可能である(図8のHTTPセッション3の後のPLM状態)。PLM状態は、通信部の給電を停止した状態である。このように通信の発生しない間、PLM状態とすることで、通信回路における動作電力およびリーク電力を減らすことができ、通信端末1の消費電力を削減することができる。さらに、ユーザがメールを読んでいる間だけでなく、認証画面にユーザIDとパスワードを入力している間(HTTPセッション1とHTTPセッション2の間)と、受信メール一覧画面にて読むメールを探している間(HTTPセッション2とHTTPセッション3の間)も、通信端末1がPLM状態となることが可能である。この様子が図8に示されている。   While the user is reading the mail text of FIG. 10, communication between the communication terminal 1 and the communication terminal 2 does not occur. Since all the screen data has been acquired, for example, communication is not required even if the scroll bar is operated. For this reason, while the user is reading the mail (for example, 3 minutes), it is possible to stop the power supply of the communication unit of the communication terminal 1 (PLM state after the HTTP session 3 in FIG. 8). The PLM state is a state where power supply to the communication unit is stopped. Thus, by setting the PLM state while no communication occurs, the operating power and leakage power in the communication circuit can be reduced, and the power consumption of the communication terminal 1 can be reduced. In addition, not only while the user is reading mail, but also while entering the user ID and password on the authentication screen (between HTTP session 1 and HTTP session 2), look for mail to read on the received mail list screen. The communication terminal 1 can be in the PLM state even while it is running (between HTTP session 2 and HTTP session 3). This is illustrated in FIG.

図4に通信端末1のハードウエア構成例を示す。   FIG. 4 shows a hardware configuration example of the communication terminal 1.

通信端末1は、CPU11と画面表示デバイス12とワーキングメモリ13と外部入力デバイス14と通信デバイス15とフラッシュメモリ16とバッテリ17とバッテリ管理部18とを備える。   The communication terminal 1 includes a CPU 11, a screen display device 12, a working memory 13, an external input device 14, a communication device 15, a flash memory 16, a battery 17, and a battery management unit 18.

CPU11は、例えばインテル社Core i5のようなプロセッサである。   The CPU 11 is a processor such as Intel Core i5, for example.

画面表示デバイス12は、例えばLCDディスプレイのように、画面表示信号を人間の見える形式で画面表示するものである。   The screen display device 12 is a device that displays a screen display signal in a form that can be seen by humans, such as an LCD display.

ワーキングメモリ13は、DRAMのようなメモリであり、例えばLPDDRインタフェースにてCPU11と接続される。   The working memory 13 is a memory such as a DRAM, and is connected to the CPU 11 through an LPDDR interface, for example.

外部入力デバイス14は、ボタンやタッチパネルやキーボードやマウスなどのような入力デバイスであり、例えばUSBインタフェースにてCPU11に接続される。   The external input device 14 is an input device such as a button, a touch panel, a keyboard, or a mouse, and is connected to the CPU 11 through, for example, a USB interface.

通信デバイス15は、例えば無線LAN(IEEE 802.11)規格に従って動作し、ネットワークとのパケット送受信を行うものである。通信デバイス15は、例えばPCI expressバスにてCPU11と接続される。   The communication device 15 operates according to, for example, a wireless LAN (IEEE 802.11) standard and performs packet transmission / reception with a network. The communication device 15 is connected to the CPU 11 by, for example, a PCI express bus.

フラッシュメモリ16は、例えばNANDフラッシュメモリ16であり、OSやWebブラウザなどのプログラムや、ユーザデータを保持するものである。フラッシュメモリ16は、例えばSATAインタフェースにてCPU11と接続される。フラッシュメモリ16は、データの保持ができれば、ハードディスクなどの他の媒体でも代替可能である。   The flash memory 16 is, for example, a NAND flash memory 16 and holds programs such as an OS and a web browser and user data. The flash memory 16 is connected to the CPU 11 through, for example, a SATA interface. The flash memory 16 can be replaced with another medium such as a hard disk as long as it can hold data.

バッテリ17は、リチウムイオン電池などの電気エネルギーを通信端末1に供給するものである。   The battery 17 supplies electric energy such as a lithium ion battery to the communication terminal 1.

バッテリ管理部18は、CPU11に対してバッテリ残量などのようなバッテリ状態を提供する。   The battery management unit 18 provides the CPU 11 with a battery state such as a remaining battery level.

図11に通信デバイス15のハードウエア構成例を示す。通信デバイス15は、内部インタフェース部81と状態保持部82と電源状態制御部83とパケット保持部84と外部インタフェース部85とを備える。   FIG. 11 shows a hardware configuration example of the communication device 15. The communication device 15 includes an internal interface unit 81, a state holding unit 82, a power supply state control unit 83, a packet holding unit 84, and an external interface unit 85.

内部インタフェース部81は、例えばPCI-expressインタフェースであり、PCI-express規格に従ってCPU11との情報送受信を行う。また、通信デバイス15への給電は、内部インタフェース部81を介して行われる。   The internal interface unit 81 is, for example, a PCI-express interface, and transmits / receives information to / from the CPU 11 in accordance with the PCI-express standard. In addition, power is supplied to the communication device 15 via the internal interface unit 81.

外部インタフェース部85は、通信路と信号を送受信する通信部を含む。外部インタフェース部85は、パケット保持部84に送信フレームが存在する場合に、これを通信路に電気信号あるいは電波信号として送信する。また、通信路から電気信号あるいは電波信号を受信して、これを受信フレームとしてパケット保持部84に送る。   The external interface unit 85 includes a communication unit that transmits and receives signals to and from the communication path. When there is a transmission frame in the packet holding unit 84, the external interface unit 85 transmits this as an electrical signal or radio wave signal to the communication path. In addition, an electrical signal or a radio wave signal is received from the communication path, and this is sent to the packet holding unit 84 as a received frame.

外部インタフェース部85は、無線LANの場合には、IEEE802.11のMAC処理部と物理層処理部とを備える。MAC処理部は、物理層処理部を介して、プローブ要求を送信し、アクセスポイントからのプローブ応答を受信することでアクセスポイントを発見する。MAC処理部は、物理処理部に指定する無線チャンネルを変えながらプローブ要求送信とプローブ応答受信を繰り返すことで、様々な無線チャンネルにわたってアクセスポイントを発見することができる。   In the case of a wireless LAN, the external interface unit 85 includes an IEEE802.11 MAC processing unit and a physical layer processing unit. The MAC processing unit transmits a probe request via the physical layer processing unit and receives a probe response from the access point to discover the access point. The MAC processing unit can find an access point over various wireless channels by repeating probe request transmission and probe response reception while changing the wireless channel designated to the physical processing unit.

MAC処理部は、発見したアクセスポイントを、CPU11に内部インタフェース部81を介して伝える。CPU11からアクセスポイントのSSIDとBSSIDと無線チャンネルを含む接続要求を、内部インタフェースを介してMAC処理部は受信する。MAC処理部は、指定されたSSIDとBSSIDと無線チャンネルを用いて、物理層処理部と状態保持部82を介して、アクセスポイントへアソシエーション要求を送信し、アソシエーション応答を受信する。このアソシエーション要求とアソシエーション応答の送受信により、通信デバイス15とアクセスポイントとの間に、アソシエーションが設定される。アソシエーションが設定されると、MAC処理部は、そのSSIDとBSSIDと無線チャンネルを、状態保持部82に送る。状態保持部82は、MAC処理部から受けたこれらのデータを内部に保持する。   The MAC processing unit transmits the discovered access point to the CPU 11 via the internal interface unit 81. The MAC processing unit receives a connection request including the SSID, BSSID and wireless channel of the access point from the CPU 11 via the internal interface. The MAC processing unit transmits an association request to the access point and receives an association response via the physical layer processing unit and the state holding unit 82 using the designated SSID, BSSID, and radio channel. An association is set between the communication device 15 and the access point by transmitting / receiving the association request and the association response. When the association is set, the MAC processing unit sends the SSID, BSSID, and radio channel to the state holding unit 82. The state holding unit 82 holds these data received from the MAC processing unit.

MAC処理部は、パケット保持部84に送信イーサーフレームがあると、これにMACヘッダを付与して、IEEE802.11フレームを生成する。MAC処理部は、このフレームを、物理層処理部を介してアクセスポイントに送信する。また、MAC処理部は、物理層処理部を介してアクセスポイントからIEEE802.11フレームを受信すると、そのMACヘッダを外して、イーサーフレームを抽出する。MAC処理部は、このイーサーフレームをパケット保持部84に送る。パケット保持部84は、MAC処理部から受けたイーサーフレームを一時保持する。   When there is a transmission ether frame in the packet holding unit 84, the MAC processing unit adds a MAC header to the packet and generates an IEEE 802.11 frame. The MAC processing unit transmits this frame to the access point via the physical layer processing unit. Further, when the MAC processing unit receives the IEEE 802.11 frame from the access point via the physical layer processing unit, the MAC processing unit removes the MAC header and extracts the Ether frame. The MAC processing unit sends this ether frame to the packet holding unit 84. The packet holding unit 84 temporarily holds the Ethernet frame received from the MAC processing unit.

パケット保持部84は、ワーキングメモリ13から、CPU11と内部インタフェース部81を介して、送信パケット(無線LANの場合はイーサーフレーム)を受信および保持する。外部インタフェース部85はこれをパケット保持部84から取り出し、通信路に送信する。また、通信路から外部インタフェース部85を介してパケットを受信すると、これを保持し、内部インタフェース部81とCPU11を介して、ワーキングメモリ13に送る。このようにパケット保持部84は、ワーキングメモリ13と通信路との間でのパケットのやり取りの際に、パケットの一時保管を行うものであり、主として内部プロトコルと外部プロトコルのタイミングをとるために使われる。   The packet holding unit 84 receives and holds a transmission packet (an Ethernet frame in the case of a wireless LAN) from the working memory 13 via the CPU 11 and the internal interface unit 81. The external interface unit 85 extracts this from the packet holding unit 84 and transmits it to the communication path. Further, when a packet is received from the communication path via the external interface unit 85, the packet is held and sent to the working memory 13 via the internal interface unit 81 and the CPU 11. As described above, the packet holding unit 84 temporarily stores packets when the packets are exchanged between the working memory 13 and the communication path, and is mainly used for timing the internal protocol and the external protocol. Is called.

状態保持部82は、CPU11からアクセスできるメモリ領域であり、例えば複数のレジスタ変数を保持する。通信デバイス15の設定情報を、CPU11からこの状態保持部82に設定することで、通信デバイス15の設定を変更することが可能である。また、通信状態に関わる情報を外部インタフェース部85に問い合わせるためにも使用する。以下に、レジスタ変数の例を示す。

Figure 2015133737
The state holding unit 82 is a memory area accessible from the CPU 11, and holds, for example, a plurality of register variables. Setting of the communication device 15 can be changed by setting the setting information of the communication device 15 in the state holding unit 82 from the CPU 11. It is also used to inquire the external interface unit 85 about information related to the communication state. The following are examples of register variables.
Figure 2015133737

電源状態制御部83は、状態保持部82のAレジスタの値に従い、通信デバイス15の電源状態を設定する。Aレジスタの値が0の場合はD0状態にし、1の場合はD1状態に、2の場合はD2状態に、3の場合はD3状態に設定する。   The power supply state control unit 83 sets the power supply state of the communication device 15 according to the value of the A register of the state holding unit 82. When the value of the A register is 0, the state is set to the D0 state. When the value is 1, the D1 state is set. When the value is 2, the D2 state is set.

D0状態とは通信デバイス15が動作している状態であり、送受信可能である。   The D0 state is a state in which the communication device 15 is operating, and transmission / reception is possible.

D3状態とはD0状態に復帰するのに最低必要な機能を除いて、全ての給電を停止した状態である。D3状態では、送受信とも不可である。具体例としては、外部インタフェース部85とパケット保持部84の給電を止める。状態保持部82は、Aレジスタ以外の読み書きを停止しつつ、すべてのレジスタの保持内容を保持する状態にする。内部インタフェース部81はAレジスタの読み書き以外の機能を停止する。   The D3 state is a state in which all power supply is stopped except for the minimum function required to return to the D0 state. In the D3 state, neither transmission nor reception is possible. As a specific example, power supply to the external interface unit 85 and the packet holding unit 84 is stopped. The state holding unit 82 stops reading / writing other than the A register and sets the holding contents of all the registers. The internal interface unit 81 stops functions other than reading and writing of the A register.

D1とD2は、D0とD3の中間の状態であり、P(Di)を各状態の消費電力とすると、P(D0)>P(D1)>P(D2)>P(D3)である。また、各状態からD0に復帰するのに要する時間をT(Di)で表すと、T(D1)<T(D2)<T(D3)である。   D1 and D2 are intermediate states between D0 and D3, and P (Di)> P (D1)> P (D2)> P (D3) where P (Di) is the power consumption in each state. Further, when the time required to return to D0 from each state is represented by T (Di), T (D1) <T (D2) <T (D3).

また、Eレジスタは、通信デバイスとアクセスポイントとのアソシエーションの有無を示す。例えば値が0であればアソシエーションなし、値が1であればアソシエーションありを意味する。   The E register indicates the presence / absence of association between the communication device and the access point. For example, a value of 0 means no association, and a value of 1 means that there is an association.

また、Fレジスタは、アクセスポイントとのアソシエーションがある場合に、そのアクセスポイントのBSSIDを保持する。   Also, the F register holds the BSSID of the access point when there is an association with the access point.

また、Gレジスタは、アクセスポイントとのアソシエーションがある場合に、そのアクセスポイントのSSIDを保持する。   The G register holds the SSID of the access point when there is an association with the access point.

また、Hレジスタは、アクセスポイントとのアソシエーションがある場合に、そのアクセスポイントのビーコン周期を保持する。   The H register holds the beacon period of the access point when there is an association with the access point.

また、Iレジスタは、アクセスポイントとのアソシエーションがある場合に、そのアクセスポイントのDTIM周期を保持する。   The I register holds the DTIM period of the access point when there is an association with the access point.

図6に外部インタフェース部85の構成を示す。外部インタフェース部85は、アンテナ200とRF(Radio Frequency)処理部210とベースバンド処理部250とを備える。   FIG. 6 shows the configuration of the external interface unit 85. The external interface unit 85 includes an antenna 200, an RF (Radio Frequency) processing unit 210, and a baseband processing unit 250.

アンテナ200は、電波信号の送受信を行うものである。図6ではアンテナ200は1本であり、この1本のアンテナが、アンテナ切り替えスイッチ260を用いて、送受信で共有される。これ以外の構成として、MIMOと呼ばれる手法のように複数のアンテナを用いることも可能である。あるいは、送受信で異なるアンテナを用いることも可能である。   The antenna 200 transmits and receives radio signals. In FIG. 6, there is one antenna 200, and this one antenna is shared for transmission and reception using the antenna changeover switch 260. As another configuration, a plurality of antennas can be used as in a technique called MIMO. Alternatively, different antennas can be used for transmission and reception.

RF処理部210は、デジタル信号と電波として送受信する電気信号との変換を行うものである。RF処理部210は、受信回路220と送信回路230と周波数シンセサイザ240を備える。   The RF processing unit 210 performs conversion between a digital signal and an electric signal transmitted / received as a radio wave. The RF processing unit 210 includes a reception circuit 220, a transmission circuit 230, and a frequency synthesizer 240.

周波数シンセサイザ240は、PLL回路242とVCO241を備えた発信機であり、周波数変換を行う。   The frequency synthesizer 240 is a transmitter including a PLL circuit 242 and a VCO 241 and performs frequency conversion.

受信回路220は、アンテナから受信した信号を復調処理し、復調信号をベースバンド処理部250に送る。受信回路220は、低雑音アンプ221とミクサ222と高利得アンプ223と復調回路224とを備える。アンテナ200から受信した電気信号は、低雑音アンプ221により増幅され、次にミクサ222により中間周波数に変換され、高利得アンプ223で増幅された後、復調処理が行われる。   The receiving circuit 220 demodulates the signal received from the antenna and sends the demodulated signal to the baseband processing unit 250. The reception circuit 220 includes a low noise amplifier 221, a mixer 222, a high gain amplifier 223, and a demodulation circuit 224. The electrical signal received from the antenna 200 is amplified by the low noise amplifier 221, then converted to an intermediate frequency by the mixer 222, amplified by the high gain amplifier 223, and then demodulated.

送信回路230は、ベースバンド処理部250から受信したデジタル信号を、電気信号に変換し、アンテナ200に送る。送信回路230は、変調回路231とパワーアンプ232とを備える。ベースバンド処理部250から受信したデジタル信号は、変調回路231にて処理されることで変調信号とされる。この変調信号は、パワーアンプ232にて増幅された後、アンテナ200に送信される。   The transmission circuit 230 converts the digital signal received from the baseband processing unit 250 into an electric signal and sends it to the antenna 200. The transmission circuit 230 includes a modulation circuit 231 and a power amplifier 232. The digital signal received from the baseband processing unit 250 is processed by the modulation circuit 231 to be a modulated signal. This modulated signal is amplified by the power amplifier 232 and then transmitted to the antenna 200.

ベースバンド処理部250は、IEEE802.11 MAC処理を行うものであり、BB受信処理部251とBB送信処理部253とBB制御処理部252とを備える。   The baseband processing unit 250 performs IEEE802.11 MAC processing, and includes a BB reception processing unit 251, a BB transmission processing unit 253, and a BB control processing unit 252.

BB受信処理部251は、フレームの受信処理を行うものである。BB受信処理部251は、フレームを受信した際の、フレームフォーマットをチェックし、受信したフレームがデータフレームである場合には、これに含まれるイーサーフレームを抽出しパケット保持部(図11)へ送る。受信したフレームが制御フレームである場合には、BB制御処理部252へ送る。   The BB reception processing unit 251 performs frame reception processing. The BB reception processing unit 251 checks the frame format when the frame is received. If the received frame is a data frame, the BB reception processing unit 251 extracts the Ether frame included therein and sends it to the packet holding unit (FIG. 11). . If the received frame is a control frame, it is sent to the BB control processing unit 252.

BB送信処理部253は、フレームの送信処理を行うものである。BB送信処理部253は、パケット保持部84から送信イーサーフレームを受信すると、MACフレームを生成し、RF処理部210に送る。MACフレームの再送処理もここで行う。   The BB transmission processing unit 253 performs frame transmission processing. When receiving the transmission ether frame from the packet holding unit 84, the BB transmission processing unit 253 generates a MAC frame and sends it to the RF processing unit 210. The MAC frame retransmission process is also performed here.

BB制御処理部252は、IEEE802.11の制御フレームの処理を行うものであり、受信したビーコンの処理や、アソシエーション要求の生成や、受信したアソシエーション応答の処理などを行う。存在通知メッセージとしてNULLフレームを送信する場合には、このフレームの生成をBB制御処理部252が行う。   The BB control processing unit 252 processes IEEE802.11 control frames, and performs processing of received beacons, generation of association requests, processing of received association responses, and the like. When a NULL frame is transmitted as the presence notification message, the BB control processing unit 252 generates this frame.

後述するよう、PLMと呼ぶ状態では、外部インタフェース部85は、送受信不可状態と、受信可能状態と、送受信可能状態の3つのPLM動作状態を有する。   As will be described later, in a state called PLM, the external interface unit 85 has three PLM operation states: a transmission / reception disabled state, a reception enabled state, and a transmission / reception enabled state.

送受信不可能状態とは、外部インタフェース85のRF処理部210とベースバンド処理部の給電を停止した状態である。ここで給電の停止とは、(図示しない)タイマなどを除きすべての回路の給電を停止することが望ましいが、PLM動作状態の遷移を高速に行うため、給電後に動作可能になるのに要する時間の長い回路(例えばPLL回路242など)への給電を行っていても構わない。また、電圧を完全にゼロにするのではなく、一部の回路に低い電圧を印加し続けていてもよい。   The transmission / reception disabled state is a state where power supply to the RF processing unit 210 and the baseband processing unit of the external interface 85 is stopped. Here, it is desirable to stop power supply for all circuits except for a timer (not shown), but the time required to be able to operate after power supply because the PLM operating state transitions at high speed. It is also possible to supply power to a long circuit (for example, the PLL circuit 242). In addition, a low voltage may be continuously applied to some circuits, instead of completely reducing the voltage to zero.

受信可能状態とは、受信に必要な回路のみ給電を行っている状態であり、例えばRF処理部210の送信回路230と、ベースバンド処理部250のBB送信処理部253以外の処理部への給電を行っている状態である。この状態では電波信号の受信処理は可能だが、送信処理はできない。   The receivable state is a state where power is supplied only to circuits necessary for reception. For example, power is supplied to a processing unit other than the transmission circuit 230 of the RF processing unit 210 and the BB transmission processing unit 253 of the baseband processing unit 250. Is in a state of performing. In this state, radio signal reception processing is possible, but transmission processing is not possible.

送受信可能状態とは、送受信可能な状態であり、通常の動作状態である。つまり、外部インタフェース部85のすべてのブロックに電源が供給される。ただし、消費電力を下げるため、一部の機能への電源供給を停止し、当該機能を使用不可にしても構わない。消費電力を下げるため、通信速度を下げてもよい。   The transmission / reception enabled state is a state where transmission / reception is possible and is a normal operation state. That is, power is supplied to all blocks of the external interface unit 85. However, in order to reduce power consumption, power supply to some functions may be stopped to disable the functions. In order to reduce power consumption, the communication speed may be reduced.

なお、上記以外にも、受信処理はできないが、送信処理が可能な送信可能状態が定義されてもよい。   In addition to the above, although a reception process cannot be performed, a transmittable state in which a transmission process can be performed may be defined.

一般に、RF処理部のパワーアンプの消費電力は大きい。また、すべての回路は送受信を行っていない場合でも給電を行っていると、電力を消費する。したがって、上述のように一部の回路の給電を停止することで、消費電力を削減することが可能となる。   In general, the power consumption of the power amplifier of the RF processing unit is large. Further, all the circuits consume power when power is supplied even when transmission / reception is not performed. Therefore, power consumption can be reduced by stopping power supply to some circuits as described above.

(スキャン動作)
内部インタフェース81を介して、Oレジスタにスキャン要求(スキャン種別、チャンネル、SSID)が書き込まれると、外部インタフェース部85はスキャン動作を行う。スキャン種別とは、アクティブスキャンあるいはパッシブスキャンのどちらかを示す。チャンネルはスキャンを実行すべき無線チャンネルを示す。SSIDはアクティブスキャンの場合にのみ有効である。
(Scanning operation)
When a scan request (scan type, channel, SSID) is written to the O register via the internal interface 81, the external interface unit 85 performs a scan operation. The scan type indicates either active scan or passive scan. The channel indicates a radio channel on which scanning is to be performed. SSID is valid only for active scans.

アクティブスキャンでは、指定されたSSIDを記したプローブ要求フレームを外部インタフェース85が通信路に送信し、指定されたSSIDを有するアクセスポイントがこのプローブ要求フレームに対してプローブ応答フレームを送信する。このプローブ応答フレームを外部インタフェース部85が受信すると、これに含まれる(BSSID,SSID,ビーコン周期、サポートしている送信伝送レート、暗号情報(Capability Information))と、プローブ応答フレームの受信電界強度を抽出し、Pレジスタに書き込む。ここで、複数のアクセスポイントからプローブ応答を受信した場合には、各アクセスポイントに対して上述の情報をPレジスタに書き込む。また、Oレジスタに書き込まれたSSIDがNULLの場合には、SSID=0の値のプローブ要求フレームを外部インタフェース部85は送信する。これを受信したアクセスポイントは、アクセスポイントが有するSSIDの値に関わらずプローブ応答フレームを送信する。   In the active scan, the external interface 85 transmits a probe request frame describing the designated SSID to the communication path, and an access point having the designated SSID transmits a probe response frame to the probe request frame. When the external interface unit 85 receives this probe response frame, it includes (BSSID, SSID, beacon period, supported transmission transmission rate, encryption information (Capability Information)) and the received electric field strength of the probe response frame. Extract and write to P register. Here, when probe responses are received from a plurality of access points, the above-described information is written in the P register for each access point. If the SSID written in the O register is NULL, the external interface unit 85 transmits a probe request frame having a value of SSID = 0. The access point that has received this transmits a probe response frame regardless of the SSID value of the access point.

パッシブスキャンでは、Oレジスタに指定されたチャンネルに対して定められた時間に受信したビーコンの中から上述の値を抽出し、Pレジスタに書き込む。パッシブスキャンの場合も複数のアクセスポイントからビーコンを受信した場合には、複数のアクセスポイントの情報をPレジスタに書き込む。   In the passive scan, the above-mentioned value is extracted from the beacons received at a predetermined time for the channel specified in the O register and written in the P register. Also in the case of passive scanning, when beacons are received from a plurality of access points, information on the plurality of access points is written into the P register.

(アソシエーション動作)
内部インタフェース81を介してRレジスタにアソシエーション要求(CH,SSID,BSSID)が設定されると、外部インタフェース85は、この値を使ってアソシエーション要求フレームを伝送路に送信する。そのSSIDとBSSIDを有するアクセスポイントからアソシエーション応答フレームを受信すると、通信デバイスとアクセスポイントの間にアソシエーションが設定される。また、必要に応じて認証要求フレームと認証応答フレームを交換することで、アクセスポイントとの間の通信の暗号化を行うことも可能である。
(Association operation)
When an association request (CH, SSID, BSSID) is set in the R register via the internal interface 81, the external interface 85 uses this value to send an association request frame to the transmission path. When an association response frame is received from an access point having the SSID and BSSID, an association is set between the communication device and the access point. Also, it is possible to encrypt communication with the access point by exchanging an authentication request frame and an authentication response frame as necessary.

アソシエーションが設定された後、アクセスポイントは、該外部インタフェース85のMACアドレスを宛先アドレスとして有するフレームを有線通信路から受信すると、これを無線伝送路に送信する。また外部インタフェース85のMACアドレスをソースアドレスとして有するフレームを受信すると、その受信処理を行い、有線インタフェースに転送する。   After the association is set, when the access point receives a frame having the MAC address of the external interface 85 as the destination address from the wired communication path, the access point transmits it to the wireless transmission path. When a frame having the MAC address of the external interface 85 as a source address is received, the reception process is performed and the frame is transferred to the wired interface.

もし、アソシエーションが設定されていない場合には、アクセスポイントは、外部インタフェース85のMACアドレスを宛先アドレスとして有するパケットを有線通信路から受信しても、このパケットを破棄する。また外部インタフェース85のMACアドレスをソースアドレスとして有するパケットを無線通信路から受信しても、このパケットを破棄する。   If the association is not set, the access point discards the packet even if the access point receives a packet having the MAC address of the external interface 85 as the destination address from the wired communication path. Even if a packet having the MAC address of the external interface 85 as a source address is received from the wireless communication path, the packet is discarded.

(省電力状態)
通信デバイスがD0状態のときは、アクセスポイントとのフレームの送受信ができるが、D3状態の時にはフレームの送受信はできない。通信デバイスはD0状態である場合には、Kレジスタの値によって外部インタフェース部85は異なる動作を行う。
(Power saving state)
When the communication device is in the D0 state, frames can be transmitted / received to / from the access point, but when the communication device is in the D3 state, frames cannot be transmitted / received. When the communication device is in the D0 state, the external interface unit 85 performs different operations depending on the value of the K register.

Kレジスタの値が0のとき、外部インタフェース部85は、常にフレームの送受信が可能な状態(Normal)である。   When the value of the K register is 0, the external interface unit 85 is always in a state where frames can be transmitted and received (Normal).

Kレジスタの値が1のとき、外部インタフェース部85は、IEEE 802.11仕様の定めるパワーセーブモード(PSM)を行う。このPSMでは、送信パケットが内部インタフェース81を介してパケット保持部に受信すると、外部インタフェース部85は、直ちにこのパケットを無線通信路に送信する。受信動作に関しては、アソシエーション応答フレームにより受信したビーコン周期を用いて、アクセスポイントのビーコン送信タイミングで、受信可能状態に遷移する。ビーコンを受信するとこれに含まれるTIM(Traffic Indication Map)を参照し、自身宛てのフレームの有無を確認する。もし自身宛てのフレームをアクセスポイントが有している場合には、アクセスポイントへそのフレームの送信を要求するPS-Pollフレームを送信し、アクセスポイントから自身宛てのフレームを受信する。また、マルチキャストやブロードキャストフレームは、DTIM周期に対応するビーコンの送信直後にアクセスポイントから送信されるため、外部インタフェース部85は、このタイミングでは受信可能状態でいる。もし、TIMを参照して、自身宛てのフレームをアクセスポイントが有していないことが分かったら、外部インタフェース部85は受信不可の状態に移行することで、消費電力を削減する。   When the value of the K register is 1, the external interface unit 85 performs a power save mode (PSM) defined by the IEEE 802.11 specification. In this PSM, when a transmission packet is received by the packet holding unit via the internal interface 81, the external interface unit 85 immediately transmits this packet to the wireless communication path. With respect to the reception operation, a transition is made to a receivable state at the beacon transmission timing of the access point using the beacon period received by the association response frame. When a beacon is received, a TIM (Traffic Indication Map) included in the beacon is referred to and the presence / absence of a frame addressed to itself is confirmed. If the access point has a frame addressed to itself, the access point transmits a PS-Poll frame requesting transmission of that frame, and receives a frame addressed to itself from the access point. Further, since the multicast or broadcast frame is transmitted from the access point immediately after the transmission of the beacon corresponding to the DTIM cycle, the external interface unit 85 is in a receivable state at this timing. If it is found from the TIM that the access point does not have a frame addressed to itself, the external interface unit 85 shifts to a state incapable of receiving, thereby reducing power consumption.

Kレジスタの値が2のとき(提案方式)は、外部インタフェース部85は、本実施形態の第1の動作モードに対応するパワー制限モード(PLM)に移行する。PLMでの動作タイミングを図2に示す。図2ではビーコン周期毎にアクセスポイントはビーコンを送信している。   When the value of the K register is 2 (proposed method), the external interface unit 85 shifts to the power limit mode (PLM) corresponding to the first operation mode of the present embodiment. Figure 2 shows the operation timing in PLM. In FIG. 2, the access point transmits a beacon every beacon period.

外部インタフェース部85は予め定められた覗き見周期(第2の周期)毎に、送受信可能状態に遷移し、予め定められた覗き見期間(第2の期間)が終了後は、送受信不可能状態に遷移する。   The external interface unit 85 transitions to a transmission / reception enabled state every predetermined peeping period (second period), and transmission / reception is disabled after a predetermined peeping period (second period) ends. Transition to.

また、存在通知周期(第1の周期)毎に外部インタフェース部85は送受信可能状態に遷移し、存在通知期間(第1の期間)の終了後は、送受信不可状態に移行する。   In addition, the external interface unit 85 shifts to a transmission / reception enabled state every presence notification cycle (first cycle), and shifts to a transmission / reception disabled state after the presence notification period (first period) ends.

送受信不可能状態は、外部インタフェース部85の電子回路の給電を停止し、消費電力を抑える。このとき、全てのPLL(Phased Lock Loop)回路も停止することで、回路へのクロック配送も停止しておくことが望ましい。ただし、次の覗き見期間に受信可能状態となるようタイマ回路は動作させておくことは言うまでもない。この例では、覗き見期間で送受信可能状態に遷移したが、そうではなく受信可能状態(送信は不可)に遷移することも可能である。すなわち、覗き見期間には、アクティブスキャンを行う場合には送受信可能状態に遷移し、そうではなくパッシブスキャンに遷移する場合には受信可能状態あるいは送受信可能状態に遷移する。以下では受信可能状態に遷移するとして説明する。   In the transmission / reception disabled state, power supply to the electronic circuit of the external interface unit 85 is stopped to reduce power consumption. At this time, it is desirable to stop clock delivery to the circuits by stopping all PLL (Phased Lock Loop) circuits. However, it goes without saying that the timer circuit is operated so that reception is possible in the next peeping period. In this example, the state transits to the transmission / reception enabled state during the peeping period. That is, during the peeping period, when active scanning is performed, the state transits to a transmission / reception ready state, and when transition is made to passive scanning, the state transitions to a reception possible state or transmission / reception ready state. In the following description, it is assumed that the state transits to the receivable state.

図3にPLMでの外部インタフェース部85の動作を示す。外部インタフェース部85はPLMに移行すると、送受信不可状態に遷移する(S11)。あらかじめ定められた覗き見周期の長さにタイマを設定する。このタイマにより覗き見期間の開始を知ると(S12)、受信可能状態に遷移し(S13)、Eレジスタを参照してアソシエーションが設定されているか検査する(S14)。アソシエーションが設定されている場合には、Jレジスタを参照し、アクセスポイントとの通信に使用している無線チャネル(周波数)に対して、パッシブスキャンを実行する(S15)。そして、スキャン結果をPレジスタに出力する(S16)。   FIG. 3 shows the operation of the external interface unit 85 in the PLM. When the external interface unit 85 shifts to PLM, the external interface unit 85 shifts to a transmission / reception disabled state (S11). Set the timer to the length of the predetermined peeping period. When this timer knows the start of the peeping period (S12), it transitions to a receivable state (S13) and checks whether the association is set with reference to the E register (S14). If the association is set, the J register is referred to, and a passive scan is executed for the radio channel (frequency) used for communication with the access point (S15). Then, the scan result is output to the P register (S16).

アソシエーションが無い場合には、覗き見期間の度に異なる周波数でパッシブスキャンを実行する(S17)。例えば、前回の覗き見期間でCH1をスキャンした場合には、今回はCH2をスキャンし、次回はCH3をスキャンするといった具合である。このチャンネルの変更は様々な方法によって実現することができる。例えば、覗き見期間が開始する毎に、乱数にてスキャンするチャンネルを決めることができる。あるいは、CH1, CH4, CH7, CH10, CH13, CH2, CH5, …のようにチャンネルの変更幅を1以上に大きくすることもできる。ここで、ステップS17(ニコちゃんマーク)で、アソシエーションを設定できるアクセスポイントからのビーコンを受信した場合には、あらかじめ設定されている接続情報(SSID,WEPキー、接続優先度)を元に、そのアクセスポイントとのアソシエーション設定を行ってもよい。   If there is no association, a passive scan is executed at a different frequency for each peeping period (S17). For example, when CH1 is scanned during the previous peeping period, CH2 is scanned this time, and CH3 is scanned next time. This channel change can be realized by various methods. For example, each time a peeping period starts, a channel to be scanned with a random number can be determined. Alternatively, the channel change width can be increased to 1 or more as in CH1, CH4, CH7, CH10, CH13, CH2, CH5,. Here, in step S17 (Nico-chan mark), when a beacon is received from an access point that can set an association, based on the connection information (SSID, WEP key, connection priority) set in advance, Association settings with an access point may be performed.

さらに、アソシエーションがある場合には(S18のYES)、存在通知周期の長さに設定したタイマによって、存在通知期間の開始が到来したか検査する(S19)。到来すると、送受信可能状態に遷移し(S20)、自身(通信端末1)の存在を通知する存在通知を送信する(S21)。存在通知に対する応答(IEEE802.11 ACK)を当該期間内に受信したか判定し(S22)、受信しなかった場合には、Eレジスタの値を、アソシエーション無しの状態に変更する(S23)。すなわち、アソシエーションを破棄する。一方、存在通知に対する応答を受信した場合には、送受信不可状態に遷移する(S11)。存在通知に対する応答を受信した場合には、存在通知期間中であっても、直ちに送受信不可状態に遷移してもよい。存在通知を送信することで、通信端末1が送受信不可能状態に遷移しても、アクセスポイントとのアソシエーション維持することが可能となる。   Furthermore, if there is an association (YES in S18), it is checked whether or not the presence notification period has started by the timer set to the length of the presence notification cycle (S19). When it arrives, the state transits to a transmission / reception enabled state (S20), and a presence notification for notifying the presence of itself (communication terminal 1) is transmitted (S21). It is determined whether a response (IEEE802.11 ACK) to the presence notification has been received within the relevant period (S22). If not received, the value of the E register is changed to a state without association (S23). That is, discard the association. On the other hand, when a response to the presence notification is received, the state transits to a transmission / reception disabled state (S11). When a response to the presence notification is received, the transmission / reception disabled state may be immediately made even during the presence notification period. By transmitting the presence notification, it is possible to maintain the association with the access point even when the communication terminal 1 transitions to a transmission / reception disabled state.

ここで、存在通知に対する応答がない場合には、あらかじめ定められた回数の存在通知の再送を行い、一つも存在通知の応答を受信しない場合にアソシエーション破棄することが望ましい。また、存在通知メッセージは、IEEE802.11のNULL Frameであることが望ましいが、様々なメッセージを存在通知メッセージとして使用可能であり、NULL Frameの後にICMP ECHO Requestを送信するように存在通知期間毎に異なるメッセージを存在通知メッセージとして使用しても構わない。   Here, when there is no response to the presence notification, it is desirable to resend the presence notification a predetermined number of times, and discard the association when no response to the presence notification is received. In addition, the presence notification message is preferably an IEEE802.11 NULL frame, but various messages can be used as the presence notification message, and an ICMP ECHO Request is transmitted after the NULL frame for each presence notification period. A different message may be used as the presence notification message.

あるいは、ARP Announcementメッセージ(RFC 3972)の送信することで、自身の存在通知とすることも可能である。この場合は、自身の存在をアクセスポイントに通知するだけでなく、(図1で図示しない)同一サブネットの端末あるいはルータのARPキャッシュテーブルを更新することが可能である。また、L2スイッチが存在する場合には、そのイーサーフレームフォワードテーブルを更新することが可能である。ARP Announcementメッセージを送信する場合には、これに対するARP応答を通信端末1は受信しなくても構わない。   Alternatively, the presence notification can be made by transmitting an ARP Announcement message (RFC 3972). In this case, it is possible not only to notify the access point of the existence of itself but also to update the ARP cache table of a terminal or router (not shown in FIG. 1) in the same subnet. If there is an L2 switch, the ether frame forward table can be updated. When transmitting an ARP Announcement message, the communication terminal 1 may not receive an ARP response to the message.

なお、上記では覗き見期間と、存在通知期間の2つの期間が存在したが、覗き見期間を設けない形態も可能である。また存在通知期間では送受信可能状態に遷移したが、存在通知フレームに対する応答フレームを受け取らない形態の場合は、受信不可で送信可能状態に遷移することも可能である。   In the above description, there are two periods, a peeping period and a presence notification period, but a mode in which no peeping period is provided is also possible. In the presence notification period, the state transits to the transmission / reception enabled state. However, in the case where the response frame to the presence notification frame is not received, it is possible to transition to the transmission possible state without reception.

図5に通信端末1のソフトウエア構成を示す。通信端末1は、図4のハードウエア上で、図5のソフトウエアが動作することで実現される。図3に示す各ブロックは、プログラムモジュールとして実現されることができる。プログラムは、コンピュータ読取可能記録媒体に格納されてもよい。当該記録媒体からプログラムがコンピュータによって読み出され、メモリに展開され、実行される。ただし、図5のソフトウエアの一部が、ハードウエアで実現されることも可能である。図5のソフトウエアは、大きくOSとアプリケーションソフトウエアに分けることができる。   FIG. 5 shows a software configuration of the communication terminal 1. The communication terminal 1 is realized by the software of FIG. 5 operating on the hardware of FIG. Each block shown in FIG. 3 can be realized as a program module. The program may be stored in a computer readable recording medium. A program is read from the recording medium by a computer, loaded into a memory, and executed. However, a part of the software of FIG. 5 can be realized by hardware. The software in FIG. 5 can be roughly divided into an OS and application software.

OSは、TCP処理部31(コネクション処理部)とIP処理部32とデバイスドライバ33と通信管理部34とデバイス電源管理部35と端末電源状態管理部36とを備える。   The OS includes a TCP processing unit 31 (connection processing unit), an IP processing unit 32, a device driver 33, a communication management unit 34, a device power supply management unit 35, and a terminal power supply state management unit 36.

TCP処理部31は、アプリケーションソフトウエアの要請によりTCPコネクションの設定・解放を行う。また、TCP処理部31は、アプリケーションソフトウエアから渡されたデータをTCPパケットの形式に変換して、IP処理部32とデバイスドライバ33を介して、通信端末2に送信する。通信端末2からACKパケットを受信しない場合には、TCPパケットの再送処理を行う。さらに、TCP処理部31は、通信端末2から受信したTCPパケットに対して、ACKパケットを通信端末2に送信する。また、TCP処理部31は、受信TCPパケットからデータを抽出し、アプリケーションソフトウエアに送る。なお、本実施形態では通信端末2とコネクションを設定するが、アクセスポイント(通信機器)4がTCP/IPおよびアプリケーションを備えるとき、アクセスポイント4とコネクションを設定および解放することも可能である。   The TCP processing unit 31 sets and releases a TCP connection at the request of application software. Also, the TCP processing unit 31 converts the data passed from the application software into a TCP packet format, and transmits the data to the communication terminal 2 via the IP processing unit 32 and the device driver 33. When no ACK packet is received from the communication terminal 2, TCP packet retransmission processing is performed. Further, the TCP processing unit 31 transmits an ACK packet to the communication terminal 2 in response to the TCP packet received from the communication terminal 2. Further, the TCP processing unit 31 extracts data from the received TCP packet and sends it to the application software. In the present embodiment, the connection with the communication terminal 2 is set. However, when the access point (communication device) 4 includes TCP / IP and an application, the connection with the access point 4 can be set and released.

IP処理部32は、TCP処理部31から受信したTCPパケットをIPパケットに変換して、デバイスドライバ33を介して通信端末2に送信する。さらに、IP処理部32は、通信端末2から受信したIPパケットからTCPパケットを抽出し、TCP処理部31に送る。なお、図示しないがイーサー処理部が、IP処理部32とデバイスドライバ33との間に存在する。イーサー処理部は、IP処理部32から受信したIPパケットをイーサーフレームに変換して、デバイスドライバ33に送る。またイーサー処理部は、デバイスドライバ33から受信したイーサーフレームからIPパケットを抽出し、IP処理部32に渡す。   The IP processing unit 32 converts the TCP packet received from the TCP processing unit 31 into an IP packet, and transmits the IP packet to the communication terminal 2 via the device driver 33. Further, the IP processing unit 32 extracts a TCP packet from the IP packet received from the communication terminal 2 and sends it to the TCP processing unit 31. Although not shown, an Ethernet processing unit exists between the IP processing unit 32 and the device driver 33. The ether processing unit converts the IP packet received from the IP processing unit 32 into an ether frame and sends it to the device driver 33. The ether processing unit extracts an IP packet from the ether frame received from the device driver 33 and passes it to the IP processing unit 32.

デバイスドライバ33は、図4の通信デバイス15を制御するためのソフトウエアである。デバイスドライバ33は、指定されたメモリ番地にデータを読み書きすることで、通信デバイス15のレジスタにアクセスし、これにより通信デバイス15を制御する。さらに、イーサー処理部から受信したイーサーフレームを、通信デバイス15に送る。また通信デバイス15により通信路からイーサーフレームが受信された場合、通信デバイス15からCPU11に割り込みがかかることで、デバイスドライバ33が実行され、通信デバイス15からイーサーフレームをデバイスドライバ33が受信する。この通信デバイス15とデバイスドライバ33とのイーサーフレームのやり取りは、あらかじめ定められたメモリ番地にアクセスすることで行われる。本実施形態において通信端末1のCPU11は、メモリマップドIOを用いて、通信デバイス15やワーキングメモリ13などの周辺デバイスにアクセスすることを想定している。ただし、ポートマップドIOなど他のアクセス方法を用いることも可能である。   The device driver 33 is software for controlling the communication device 15 of FIG. The device driver 33 accesses the register of the communication device 15 by reading and writing data to the designated memory address, and thereby controls the communication device 15. Further, the ether frame received from the ether processing unit is sent to the communication device 15. When an Ethernet frame is received from the communication path by the communication device 15, the device driver 33 is executed by interrupting the CPU 11 from the communication device 15, and the device driver 33 receives the Ethernet frame from the communication device 15. The Ethernet frame exchange between the communication device 15 and the device driver 33 is performed by accessing a predetermined memory address. In the present embodiment, it is assumed that the CPU 11 of the communication terminal 1 accesses peripheral devices such as the communication device 15 and the working memory 13 using the memory mapped IO. However, other access methods such as port-mapped IO can also be used.

通信管理部34は、アプリケーションソフトウエアのHTTP処理部4141から、通信アクティビティ情報(HTTPセッションを開始通知、HTTPセッション終了通知)を受信する。HTTPセッション終了通知を受信すると、デバイス電源管理部35に、通信デバイス15の電源状態設定要求(PLM)を送る。また、通信管理部34がHTTPセッション開始通知を受信すると、デバイス電源管理部35に通信デバイス15の電源状態設定要求(PSM)あるいは電源状態設定要求(Normal)を送る。なお、“電源状態設定要求(X)”とは、通信デバイスをXモードにすることを要求するものである。このように通信管理部34は、通信デバイスの動作モードを決定する。ユーザからの指示に基づいて動作モードを決定することも可能である。またTCP処理部31のコネクションの設定・解放に応じて動作モードを決定することも可能である。たとえばコネクションが解放されたとき、第1の動作モード(PLMモード)にすることを決定する。またコネクション上でのセッションの開始および終了に応じて動作モードを決定することも可能である。たとえば終了を検出したとき、第1の動作モード(PLM)にすることを決定する。なおセッションはHTTPセッションだけでなく、コネクション上で形成される任意のプロトコルのセッションが可能である。   The communication management unit 34 receives communication activity information (HTTP session start notification, HTTP session end notification) from the HTTP processing unit 4141 of the application software. When the HTTP session end notification is received, a power state setting request (PLM) of the communication device 15 is sent to the device power management unit 35. Further, when the communication management unit 34 receives the HTTP session start notification, it sends a power state setting request (PSM) or a power state setting request (Normal) of the communication device 15 to the device power source management unit 35. The “power supply state setting request (X)” is a request to set the communication device to the X mode. In this way, the communication management unit 34 determines the operation mode of the communication device. It is also possible to determine the operation mode based on an instruction from the user. It is also possible to determine the operation mode according to the setting / release of the connection of the TCP processing unit 31. For example, when the connection is released, it is determined to enter the first operation mode (PLM mode). It is also possible to determine the operation mode according to the start and end of the session on the connection. For example, when the end is detected, it is determined to enter the first operation mode (PLM). The session can be not only an HTTP session but also a session of an arbitrary protocol formed on the connection.

デバイス電源管理部35は、受信した電源状態設定要求に従ってKレジスタにアクセスすることで、通信デバイス15の電源状態を制御する。なお、本実施形態では、通信デバイス15に対してのみ対応したデバイス電源管理部35が設けられるが、外部入力デバイス14やワーキングメモリ13やCPU11やそれらの接続インタフェース(PCI-Expressなど)など、すべてのコンポーネントに対応した電源状態管理部を設けることも可能である。この場合は、コンポーネント毎に、電源状態の管理を行うことができる。   The device power management unit 35 controls the power state of the communication device 15 by accessing the K register according to the received power state setting request. In the present embodiment, the device power management unit 35 that is compatible only with the communication device 15 is provided, but the external input device 14, the working memory 13, the CPU 11, and their connection interfaces (such as PCI-Express) are all included. It is also possible to provide a power supply state management unit corresponding to these components. In this case, the power state can be managed for each component.

端末電源状態管理部36は、デバイス電源管理部35を含むすべてのコンポーネントの電源状態を管理している。端末電源状態管理部36は、例えば通信端末1全体をスリープ状態に移行させ、スリープ状態から動作状態に復帰させる。   The terminal power supply state management unit 36 manages the power supply states of all components including the device power supply management unit 35. The terminal power supply state management unit 36 shifts the entire communication terminal 1 to the sleep state, for example, and returns the sleep state to the operation state.

アプリケーションソフトウエアは、HTTP処理部41とアプリケーションデータ処理部42と外部入出力データ処理部43とを備える。   The application software includes an HTTP processing unit 41, an application data processing unit 42, and an external input / output data processing unit 43.

アプリケーションデータ処理部42は、HTTP処理部41から受信したアプリケーションデータを、そのアプリケーションソフトウエア固有の処理を行うものである。Webブラウザの場合には、アプリケーションデータとしてHTMLデータを受信し、それを用いてレンダリング処理(画面の画素の色や輝度値を生成する処理)を行う。レンダリング処理で生成した画素データは、外部入出力データ処理部43に送る。ここで、アプリケーションデータはHTMLデータの他に、画像データや、動画データや、音データなど様々なものが考えられる。レンダリング処理を行うデータであれば、その種類は問わない。また、レンダリング処理とは画素データを生成するだけではなく、外部に対して情報を出力するためにその出力デバイスに応じた形式のデータを生成するあらゆる処理を含んでいる。たとえば、レンダリング処理部は、音データを生成する場合や、LEDなどを制御する場合も含む。   The application data processing unit 42 performs processing specific to the application software on the application data received from the HTTP processing unit 41. In the case of a Web browser, HTML data is received as application data, and rendering processing (processing for generating a pixel color or luminance value on the screen) is performed using the received HTML data. Pixel data generated by the rendering process is sent to the external input / output data processing unit 43. Here, in addition to HTML data, various data such as image data, moving image data, and sound data can be considered as application data. Any kind of data can be used as long as it is data to be rendered. The rendering process includes not only pixel data but also any process for generating data in a format corresponding to the output device in order to output information to the outside. For example, the rendering processing unit includes a case where sound data is generated and a case where an LED or the like is controlled.

さらに、アプリケーションデータは、JavaScript(登録商標)で書かれたプログラムであってもよい。その際には、アプリケーションデータ処理部42はそのプログラムを実行し、その結果に応じてレンダリング処理を行ったり、HTTP処理部41に新たなHTTP通信要求を行う。例えば、Google社のGoogle docsは、JavaScriptで書かれたプログラムで実現されており、アプリケーションデータ処理部42にてそのプログラムを実行することで、動作が行われる。アプリケーションデータ処理部42で処理するプログラムは、JavaScriptでの記述に限定される必要はなく、様々なプログラム言語で記述することが可能である。   Furthermore, the application data may be a program written in JavaScript (registered trademark). At that time, the application data processing unit 42 executes the program, performs rendering processing according to the result, and makes a new HTTP communication request to the HTTP processing unit 41. For example, Google docs of Google Inc. is realized by a program written in JavaScript, and an operation is performed by executing the program in the application data processing unit 42. The program processed by the application data processing unit 42 need not be limited to description in JavaScript, and can be described in various program languages.

アプリケーションデータ処理部42は、新たなアプリケーションデータを取得する必要が生じた場合には、そのURLを含むHTTP通信要求を送信する。たとえば、受信したアプリケーションデータに、埋め込みURLが記述されている場合や、プログラムを実行する過程で必要になった場合などがある。   When it becomes necessary to acquire new application data, the application data processing unit 42 transmits an HTTP communication request including the URL. For example, there is a case where an embedded URL is described in the received application data, or a case where it is necessary in the process of executing a program.

さらに、外部入出力データ処理部43から外部イベントを受信すると、それに応じて新たに画素データ生成や、HTTP通信要求のHTTP処理部41への送信を行う。例えば、図10のスクロールバー位置のマウスドラッグイベントを、外部入出力データ処理部43を介して、アプリケーションデータ処理部42が受信すると、画面スクロールに対応する画素データを生成し、外部入出力データ処理部43へ送る。あるいは、図10の受信箱ボタン84のマウスクリックイベントを外部入出力データ処理部43を介して、アプリケーションデータ処理部42が受信すると、図9の受信メール一覧画面を取得するためのURLを含むHTTP通信要求を、HTTP処理部41へ送る。   Further, when an external event is received from the external input / output data processing unit 43, pixel data is newly generated and an HTTP communication request is transmitted to the HTTP processing unit 41 accordingly. For example, when the application data processing unit 42 receives the mouse drag event at the scroll bar position in FIG. 10 via the external input / output data processing unit 43, it generates pixel data corresponding to screen scrolling and performs external input / output data processing. Send to part 43. Alternatively, when the application data processing unit 42 receives the mouse click event of the inbox button 84 in FIG. 10 via the external input / output data processing unit 43, the HTTP including the URL for acquiring the received mail list screen in FIG. A communication request is sent to the HTTP processing unit 41.

外部入出力データ処理部43は、アプリケーションデータ処理部42から、画素データを受信すると、これを用いて画面表示を行う。例えば、図10のような画面表示を行う。また、マウスクリックなどの外部からのイベントを外部インタフェース部85が受信すると、これをアプリケーションデータ処理部42へ送る。   When the external input / output data processing unit 43 receives pixel data from the application data processing unit 42, the external input / output data processing unit 43 performs screen display using the pixel data. For example, the screen display as shown in FIG. 10 is performed. In addition, when the external interface unit 85 receives an external event such as a mouse click, it sends this to the application data processing unit.

図12にHTTP処理部41の動作を示す。HTTP処理部41は、アプリケーションデータ処理部42からのHTTP通信要求を受信すると、通信管理部34へ、HTTPセッション開始通知(セッション識別情報、プロセス識別情報、コネクション識別情報)を送る(S301)。   FIG. 12 shows the operation of the HTTP processing unit 41. When receiving the HTTP communication request from the application data processing unit 42, the HTTP processing unit 41 sends an HTTP session start notification (session identification information, process identification information, connection identification information) to the communication management unit 34 (S301).

セッション識別情報とは、アプリケーションソフトの中でHTTPセッションを一意に識別する情報であり、この情報があることにより一つのアプリケーションソフトで複数のHTTPセッションを利用することも可能となる。プロセス識別情報は、アプリケーションソフトのプロセスを識別する情報である(UNIX(登録商標)の場合)。このようにHTTPセッション開始通知が(セッション識別情報、プロセス識別情報)の組を有することで、通信端末1内でHTTPセッションを一意に識別することが可能となる。   The session identification information is information for uniquely identifying an HTTP session in the application software, and the presence of this information makes it possible to use a plurality of HTTP sessions with a single application software. The process identification information is information for identifying the process of the application software (in the case of UNIX (registered trademark)). As described above, when the HTTP session start notification includes a set of (session identification information and process identification information), the HTTP session can be uniquely identified in the communication terminal 1.

さらに、コネクション識別情報は、HTTPセッションが使用するTCPコネクションを識別するための情報であり、例えばsocket()システムコールでOSが返すソケット番号を用いることができる。ただし、そのHTTPセッションが使用するTCPコネクションが未設定の場合は、無効な値例えば0を設定する。   Furthermore, the connection identification information is information for identifying a TCP connection used by the HTTP session, and for example, a socket number returned by the OS in a socket () system call can be used. However, when the TCP connection used by the HTTP session is not set, an invalid value, for example, 0 is set.

次に、HTTP通信要求に含まれるURL内の宛先アドレスと、ポート番号に対するTCPコネクションの設定有無とを確認し(S302)、設定されていない場合にはTCPコネクションの設定を行う(S303)。   Next, the destination address in the URL included in the HTTP communication request and the presence / absence of the TCP connection setting for the port number are confirmed (S302). If not set, the TCP connection is set (S303).

次に、TCPコネクションを用いてHTTPリクエストを送信し(S304)、それに対するHTTP応答を受信する(S305)。HTTP応答を受信すると、HTTPセッション終了通知(セッション識別情報、プロセス識別情報、コネクション識別情報)を、通信管理部34へ送る(S306)。この時、HTTPセッション終了通知のコネクション識別情報には、HTTPセッションに使用したTCPコネクションを識別する情報、例えばソケット番号を記す。   Next, an HTTP request is transmitted using a TCP connection (S304), and an HTTP response is received (S305). When an HTTP response is received, an HTTP session end notification (session identification information, process identification information, connection identification information) is sent to the communication management unit 34 (S306). At this time, information for identifying the TCP connection used for the HTTP session, for example, a socket number is described in the connection identification information of the HTTP session end notification.

(画面の表示)
上述したように、本実施形態では、消費電力の少ないPLM状態においても、アソシーエションンを維持することが可能であり、さらにアソシエーションの切断を検出可能である。さらに、アソシエーションのない状態において全てのCHをスキャンすることが可能である。そのため、これらの状態に応じて、画面表示を行うことで、ユーザに通信が可能か否かを知らしめることができる。
(Screen display)
As described above, in the present embodiment, association can be maintained even in a PLM state with low power consumption, and association disconnection can be detected. Furthermore, it is possible to scan all the CHs in a state where there is no association. Therefore, it is possible to let the user know whether or not communication is possible by performing screen display according to these states.

図13にその表示例を示す。図13の画面例では、周辺アクセスポイント表示91と接続状態表示92が含まれ、また、パワーセーブモード設定ボタン93が表示されている。   FIG. 13 shows an example of the display. The screen example of FIG. 13 includes a peripheral access point display 91 and a connection state display 92, and a power save mode setting button 93 is displayed.

接続状態表示92は、アソシエーションの有無に応じて「切断」と「接続」のどちらかを表示する。また、「接続」表示の場合には、その接続先のアクセスポイントのSSIDが表示されていることが望ましい。また、接続先のアクセスポイントのBSSIDも同時に表示されていても構わない。   The connection status display 92 displays either “disconnected” or “connected” depending on the presence or absence of the association. In the case of “connection” display, it is desirable that the SSID of the access point of the connection destination is displayed. Also, the BSSID of the access point to be connected may be displayed at the same time.

パワーセーブモード設定ボタン93は、「PLM」「PSM」「NORAMAL」のいずれかの設定を行うことができる。ボタンを押下することで、ドロップダウンリストが表示され、そのリストからこれらの設定のうちのいずれかを選択する。さらに、選択されている設定が、ボタンの表面に表示される。   The power save mode setting button 93 can set any of “PLM”, “PSM”, and “NORAMAL”. By pressing the button, a drop-down list is displayed, and one of these settings is selected from the list. In addition, the selected setting is displayed on the surface of the button.

周辺アクセスポイント表示91は、Pレジスタに格納された情報を元に表示が行われる。PLMの場合、全チャンネルをスキャンするわけではないが、あらかじめ定められた期間、Pレジスタの内容をワーキングメモリ(図4)に保持することで、全チャネルのアクセスポイントの情報を表示することが望ましい。図13では、アクセスポイント「FREE」と
「MYHOME」と「TSB」がスキャンにより発見しており、このうち「FREE」と「MYHOME」の接続情報(SSIDやWEPキーのような認証情報)は既に通信端末1に設定済(YES)であることを表示している。図3のステップS17(ニコちゃんマーク)で、接続情報が設定済のアクセスポイントには自動で接続する場合には、「FREE」と「MYHOME」のうちあらかじめ設定された優先度の高いアクセスポイントに自動接続を行う。
The peripheral access point display 91 is displayed based on the information stored in the P register. In the case of PLM, it does not scan all channels, but it is desirable to display access point information of all channels by holding the contents of the P register in the working memory (Figure 4) for a predetermined period. . In Fig. 13, the access points "FREE", "MYHOME", and "TSB" have been discovered by scanning. It is displayed that the communication terminal 1 has been set (YES). If you want to automatically connect to an access point for which connection information has been set in step S17 (Nico-chan mark) in Fig. 3, select an access point with a high priority set in advance between "FREE" and "MYHOME". Connect automatically.

また、別の表示例として、例えば、図10の例において、PLMの状態で、アソシエーションが無い場合には、次のメールボタンをグレイアウトすることで、新たに通信が発生する画面表示はできない状態であることをユーザに通知することが可能である。アソシエーションが無い場合においても、例えば、既にメール本文を取得済である場合は、前のメールボタンあるいは次のメールボタンをグレイアウトする必要はない。   As another display example, for example, in the example of FIG. 10, when there is no association in the PLM state, the next mail button is grayed out so that a screen display that newly generates communication cannot be performed. This can be notified to the user. Even when there is no association, for example, if the mail text has already been acquired, there is no need to gray out the previous mail button or the next mail button.

以上、本実施形態によれば、アプリケーションソフトウエアが通信を行っていない場合において、通信デバイス15の電源状態を動作状態(PSMあるいはNormal)よりも低消費電力な状態(PLM)にすることにより、通信端末の消費電力を低減することが可能となる。さらに、通信が必要な際にも、アクセスポイントとのアソシエーションは維持できているため、直ちに通信を開始することが可能になり、ユーザの利便性を損なわない。   As described above, according to the present embodiment, when the application software is not communicating, the power state of the communication device 15 is set to a lower power consumption state (PLM) than the operation state (PSM or Normal). It becomes possible to reduce the power consumption of the communication terminal. Furthermore, since the association with the access point can be maintained even when communication is required, it is possible to immediately start communication without impairing user convenience.

(HTTP以外のプロトコルへの適用)
これまでは、アプリケーションソフトとしてWebブラウザを想定していたが、他のアプリケーションソフトウエアや、HTTP以外のプロトコルを用いることも可能である。
(Application to protocols other than HTTP)
Until now, Web browsers were assumed as application software, but other application software and protocols other than HTTP can also be used.

例えば、アプリケーションソフトウエアがWebブラウザではなくメールソフトである場合には、プロトコルとしてPOP3(メール受信)とSMTP(メール送信)を使用する。どちらのプロトコルもそれぞれTCPコネクションを使用する。POP3は、宛先ポート番号110のTCPコネクションを設定し、このTCPコネクション上で、以下のコマンドを利用してメールの受信を行う(<>はコマンドの引数である)。   For example, when the application software is not web browser but mail software, POP3 (mail reception) and SMTP (mail transmission) are used as protocols. Both protocols each use a TCP connection. POP3 sets up a TCP connection with the destination port number 110, and receives mail using the following command on this TCP connection (<> is an argument of the command).

USER <ユーザ名> : ユーザ名
PASS <パスワード>: パスワード
LIST : 受信メール一覧要求
TOP <メッセージ番号> <行数>: 後に続く数のメール内容要求
RETR<メッセージ番号>:メッセージ取得要求
DELE <メッセージ番号>:メール削除マーキング要求
QUIT : アップデート(更新を反映)もしくはセッションクローズ要求の送信
USER <user name>: User name
PASS <password>: Password
LIST: Received mail list request
TOP <message number><number of lines>: Number of mail contents requested after
RETR <message number>: Message acquisition request
DELE <message number>: Email deletion marking request
QUIT: Update (reflect update) or send session close request

具体的には、メールソフトは、TCPコネクション設定後、USERコマンドとPASSコマンドでユーザ認証を行う。認証後、LISTコマンドで受信メールの一覧(メッセージ番号とデータサイズ)を取得する。TOPコマンドでは、メッセージ番号でメールを指定し、さらに指定した行数だけデータを取得する。TOPコマンドを、LISTコマンドで取得したメール一覧で指定した段数分実行することで、図9と同様の受信メール一覧画面を表示することができる。ユーザが読むメールを探している間、TCPコネクションを設定したまま通信デバイス15の電源状態をD3にすることにより、通信端末の消費電力を削減することができる。ユーザが読むメールを選択すると、通信デバイス15の電源状態をD0にし、RETRコマンドをTCPコネクションを用いて送信することで、ユーザが選択したメールメッセージ全体を取得する。取得後、通信デバイス15の電源状態をD3に変更し、図10の画面を表示する。   Specifically, the mail software performs user authentication with the USER command and PASS command after setting the TCP connection. After authentication, use the LIST command to get a list of received mail (message number and data size). In the TOP command, mail is specified by the message number, and data is acquired for the specified number of lines. By executing the TOP command for the number of steps specified in the mail list acquired with the LIST command, the received mail list screen similar to that shown in FIG. 9 can be displayed. While the user is searching for the mail to be read, the power consumption of the communication terminal can be reduced by setting the power state of the communication device 15 to D3 while setting the TCP connection. When the user selects mail to read, the power state of the communication device 15 is set to D0, and the RETR command is transmitted using the TCP connection, thereby acquiring the entire mail message selected by the user. After acquisition, the power state of the communication device 15 is changed to D3, and the screen of FIG. 10 is displayed.

この動作を図5を用いて説明する。HTTP処理部41の代わりに、SMTP処理部とPOP処理部が設けられる。SMTP処理部とPOP処理部のそれぞれが、通信管理部34に通信アクティビティ情報((SMTPセッション開始通知、SMTPセッション終了通知)、(POPセッション開始通知、POPセッション終了通知))を送る。   This operation will be described with reference to FIG. Instead of the HTTP processing unit 41, an SMTP processing unit and a POP processing unit are provided. Each of the SMTP processing unit and the POP processing unit sends communication activity information ((SMTP session start notification, SMTP session end notification), (POP session start notification, POP session end notification)) to the communication management unit 34.

通信管理部34は、アプリケーションソフトウエアからセッション開始要求を受信すると、デバイス電源管理部35に通信デバイス15の電源状態設定要求(PSM)あるいは電源状態設定要求(Normal)を送る。   When receiving a session start request from the application software, the communication management unit 34 sends a power supply state setting request (PSM) or a power supply state setting request (Normal) of the communication device 15 to the device power supply management unit 35.

また、通信管理部34は、受信済みのすべてのセッション開始要求に対するセッション終了要求を受信すると、デバイス電源管理部35に通信デバイス15の電源状態設定要求(PLM)を送る。   Further, upon receiving session end requests for all received session start requests, the communication management unit 34 sends a power state setting request (PLM) of the communication device 15 to the device power supply management unit 35.

(複数アプリケーション)
図5では、アプリケーションソフトウエアは一つのみ記しているが、複数のアプリケーションソフトウエアが実行されていてもかまわない。例えばアプリケーションソフトウエアとして、Webブラウザとメールソフトの二つが実行されている場合を考える。
(Multiple applications)
In FIG. 5, only one application software is shown, but a plurality of application software may be executed. For example, let us consider a case where two web browsers and mail software are executed as application software.

この場合、通信管理部34は、通信アクティビティ情報として(Web/POP/SMTP)セッション開始通知を受信し、通信デバイス15の電源状態がPLM以外の場合に、電源状態設定要求(PSM)あるいは電源状態設定要求(Normal)を送る。通信アクティビティ情報として(Web/POP/SMTP)セッション終了通知を受信した際には、終了していないセッションが存在しない場合には(すなわちすべてのセッションが終了している場合は)、電源状態設定要求(PLM)を送る。この終了していないセッションの有無は、通信アクティビティ情報に含まれる(セッション識別情報、プロセス識別情報)を用いて、セッション開始通知とセッション終了通知の対応をとることで、判断できる。   In this case, the communication management unit 34 receives a (Web / POP / SMTP) session start notification as communication activity information, and when the communication device 15 has a power status other than PLM, the power status setting request (PSM) or the power status Send a setting request (Normal). When (Web / POP / SMTP) session termination notification is received as communication activity information, if there are no unterminated sessions (that is, all sessions are terminated), a power status setting request Send (PLM). The presence / absence of an unfinished session can be determined by taking a correspondence between the session start notification and the session end notification using (session identification information, process identification information) included in the communication activity information.

(PSM・NORMAL状態への移行タイミング制御)
通信管理部34は、アプリケーションソフトウエアからセッション開始通知を受信した際に、別のセッション開始通知を受信するまで電源状態設定要求(PSM) あるいは電源状態設定要求(Noramal)の送信を遅らせることも可能である。これにより、複数の通信セッションの開始タイミングを合わせることができ、通信デバイス15がD0状態である時間を減らすことができる。よって消費電力を削減することができる。
(Transition timing control to PSM / NORMAL state)
When the communication manager 34 receives a session start notification from the application software, it can also delay sending a power state setting request (PSM) or power state setting request (Noramal) until another session start notification is received. It is. Thereby, the start timings of a plurality of communication sessions can be matched, and the time during which the communication device 15 is in the D0 state can be reduced. Therefore, power consumption can be reduced.

ここで、通信管理部34は、常に二つ目のセッション開始要求を待つのではなく、一つ目のセッション開始要求を受信後、あらかじめ定められた時間だけ電源状態設定要求(PSM) あるいは電源状態設定要求(Noramal)の送信を待つようにすることも可能である。   Here, the communication management unit 34 does not always wait for the second session start request, but after receiving the first session start request, the power supply state setting request (PSM) or the power state only for a predetermined time. It is also possible to wait for transmission of a setting request (Noramal).

あるいは、セッション開始要求に許容遅延時間をアプリケーションソフトウエアが設定し、通信管理部34は、この許容遅延時間だけ電源状態設定要求(PSM) あるいは電源状態設定要求(Noramal)の送信を遅らせることも可能である。   Alternatively, the application software sets an allowable delay time for the session start request, and the communication management unit 34 can delay transmission of the power supply state setting request (PSM) or the power supply state setting request (Noramal) by this allowable delay time. It is.

さらに、この許容遅延時間を通信端末1が保持するバッテリ17の電気残量が少ないほど、大きな値にしてもよい。これにより、バッテリ残量の少ない時ほど消費電力を削減することが可能となる。   Further, the allowable delay time may be set to a larger value as the remaining amount of electricity of the battery 17 held by the communication terminal 1 is smaller. Thereby, it becomes possible to reduce power consumption, so that there is little battery residual amount.

(タイマでPSM・NORMALにする)
通信管理部34は、電源状態設定要求(PLM)を送信後、ある一定時間を経過した場合に、セッション開始要求の受信が無くても、電源状態設定要求(PSM) あるいは電源状態設定要求(Noramal)を送ることが望ましい。これにより、TCP以外のパケット、たとえばUDPやDHCP renewパケットなどの送信を、通信端末1が可能となる。PSMまたはNormalへの移行後、あらかじめ定められた時間が経過したら、PLMに戻ることが望ましい。
(Set to PSM / NORMAL by timer)
The communication management unit 34 sends a power supply state setting request (PSM) or a power supply state setting request (Noramal) even if there is no reception of a session start request after a certain period of time has elapsed after transmitting the power supply state setting request (PLM). ) Is desirable. As a result, the communication terminal 1 can transmit packets other than TCP, for example, UDP and DHCP renew packets. After the transition to PSM or Normal, it is desirable to return to PLM when a predetermined time has elapsed.

さらに、Websocketを用いている場合には、通信デバイス15がPSMあるいはNormal状態になった際に、受信可能状態である旨を相手通信端末に通知し、相手端末からのパケットを受信することも可能となる。   In addition, when Websocket is used, when the communication device 15 is in the PSM or Normal state, it is possible to notify the partner communication terminal that it is in a receivable state and to receive packets from the partner terminal. It becomes.

また、通信デバイス15がD3状態である時に、UDPやDHCP renewパケットなどTCP以外のパケットの送信要求が発生した場合は、次のようにすることが望ましい。すなわち、そのパケット送信要求の発生後、あらかじめ定められた時間を経過後には、セッション開始要求の受信が無くても通信管理部34は、電源状態設定要求(PSM) あるいは電源状態設定要求(Noramal)にすることが望ましい。   Further, when a transmission request for a packet other than TCP such as UDP or DHCP renew packet occurs when the communication device 15 is in the D3 state, it is desirable to do the following. That is, after elapse of a predetermined time after the occurrence of the packet transmission request, the communication management unit 34 may receive a power state setting request (PSM) or a power state setting request (Noramal) even if no session start request is received. It is desirable to make it.

このとき、これらのTCP以外のパケットの夫々に、異なる待ち時間が予め設定されていてもよい。この場合、パケット送信要求発生後、そのパケットに対応する待ち時間が経過したら、電源状態設定要求(PSM) あるいは電源状態設定要求(Noramal)を送ることもできる。この場合、あらかじめ定められた時間がさらに経過したのちに、通信管理部34は、電源状態設定要求(PLM)を送ることが望ましい。   At this time, different waiting times may be set in advance for each of these packets other than TCP. In this case, a power supply state setting request (PSM) or a power supply state setting request (Noramal) can be sent when a waiting time corresponding to the packet has elapsed after the packet transmission request is generated. In this case, it is desirable that the communication management unit 34 sends a power supply state setting request (PLM) after a predetermined time has further passed.

(通信アクティビティの把握の仕方)
これまでは、通信管理部34は、アプリケーションソフトウエアから通信アクティビティ情報を受信していたが、この通信アクティビティ情報を、デバイスドライバ33あるいはIP処理部32あるいはTCP処理部31から受信するようにすることも可能である。この場合は、セッションリクエストとセッションレスポンスを解析する機能をデバイスドライバ33あるいはIP処理部32あるいはTCP処理部31に搭載することで、通信管理部34はこれまでと同様の処理を行うことが可能となる。
(How to grasp communication activity)
Until now, the communication management unit 34 received communication activity information from the application software, but this communication activity information should be received from the device driver 33, the IP processing unit 32, or the TCP processing unit 31. Is also possible. In this case, by installing the function to analyze the session request and session response in the device driver 33, the IP processing unit 32, or the TCP processing unit 31, the communication management unit 34 can perform the same processing as before. Become.

あるいは、設定中のTCPコネクションが無い場合にPLM状態とし、設定中のTCPコネクションがある場合には、PSMあるいはNORMAL状態とすることも可能である。この場合は、通信アクティビティ情報をTCP処理部31が通信管理部に送ることが望ましい。   Alternatively, the PLM state can be set when there is no TCP connection being set, and the PSM or NORMAL state can be set when there is a TCP connection being set. In this case, it is desirable that the TCP processing unit 31 sends the communication activity information to the communication management unit.

あるいは、通信管理部34は、パケットの送受信の有無に基づき通信アクティビティ情報を推測してもよい。これによって通信管理部34は、これまでと同様の処理を行うことも可能である。   Alternatively, the communication management unit 34 may estimate the communication activity information based on the presence / absence of packet transmission / reception. Accordingly, the communication management unit 34 can perform the same processing as before.

(TCPコネクション以外のコネクション)
これまでは、TCPコネクションを例に説明を行ってきたが、TCPコネクション以外のコネクションを対象とすることも可能である。例えば、IPSEC通信のIPSECコネクションを対象とすることも可能である。IPSEC通信においては、送受信端末間で、セキュリティアソシエーションと呼ぶ状態を保持する。これは、IPSEC通信がTCPと同様にコネクション型の通信を行っていることを意味する。このセキュリティアソシエーションの設定には、通常IKE(Internet Key Exchange)プロトコルを用いる。このプロトコルは、処理すべきメッセージ数が多く、また処理に公開鍵暗号処理を含む場合があるなど、処理負荷が高い。それゆえ、IPSECコネクション(セキュリティアソシエーション)の再設定には、設定処理遅延が大きく、また処理負荷による消費電力が大きい。
(Connection other than TCP connection)
Up to now, the TCP connection has been described as an example, but connections other than the TCP connection can also be targeted. For example, it is possible to target an IPSEC connection of IPSEC communication. In IPSEC communication, a state called a security association is maintained between sending and receiving terminals. This means that IPSEC communication is connection-type communication similar to TCP. This security association is usually set using the IKE (Internet Key Exchange) protocol. This protocol has a high processing load, such as a large number of messages to be processed and a case where the processing includes public key encryption processing. Therefore, in the reconfiguration of the IPSEC connection (security association), the setting processing delay is large and the power consumption due to the processing load is large.

そこで、送受信パケットのない時にIPSECコネクション(セキュリティアソシエーション)を維持したまま、通信デバイス15をPLM状態に移行し、通信時にのみPSMあるいはNormal状態に復帰させる。これにより、利便性維持と消費電力削減の両立を実現できる。   Therefore, the communication device 15 is shifted to the PLM state while maintaining the IPSEC connection (security association) when there is no transmission / reception packet, and is restored to the PSM or Normal state only during communication. Thereby, both maintenance of convenience and reduction of power consumption can be realized.

また、通信デバイス15がPLM状態の際に、通信が無くてもセキュリティアソシエーションのソフト有効期限になった際には、通信デバイスをPSMあるいはNormalに復帰し、セキュリティアソシエーションの再交渉を相手端末と行ってコネクションを維持してもよい。その後、PLMに遷移することが望ましい。   In addition, when the communication device 15 is in the PLM state and the security association software expiration date is reached even if there is no communication, the communication device is returned to PSM or Normal, and the security association is renegotiated with the partner terminal. Connection may be maintained. After that, it is desirable to transition to PLM.

なお、上述したIPSECトンネルは一例であり、他のトンネルを対象とすることも可能である。具体的には、GRE( Generic Routing Encapsulation)トンネルや、L2TPトンネル、あるいはPPTPなど、他にも様々なトンネルプロトコルが可能である。   The above-described IPSEC tunnel is an example, and other tunnels can be targeted. Specifically, various other tunnel protocols such as GRE (Generic Routing Encapsulation) tunnel, L2TP tunnel, or PPTP are possible.

(ユーザ操作アクティビティとの連携)
本実施形態にかかる状態制御を、ユーザによる操作情報と連携させることも可能である。例えば、図5においてOSが外部からのユーザイベントを受信した際には、通信デバイス15をPLM状態から、PSMあるいはNormal状態に移行することも可能である。
(Cooperation with user operation activity)
It is also possible to link the state control according to the present embodiment with operation information by the user. For example, when the OS receives an external user event in FIG. 5, the communication device 15 can be shifted from the PLM state to the PSM or Normal state.

例えば、ユーザがある一定時間、通信端末1を操作しない場合には、バックライトを消すなどにより、通信端末1に具備する液晶ディスプレイを低消費電力状態に移行する。このとき、通信デバイス15をD3状態とする。そして、その後ユーザがタッチパネルにタッチするなどして液晶ディスプレイのバックライトを点灯し、画面をユーザに提示する際に、通信デバイス15をD0状態にする。   For example, when the user does not operate the communication terminal 1 for a certain period of time, the liquid crystal display included in the communication terminal 1 is shifted to a low power consumption state by turning off the backlight. At this time, the communication device 15 is set to the D3 state. Then, when the user touches the touch panel to turn on the backlight of the liquid crystal display and present the screen to the user, the communication device 15 is set to the D0 state.

これにより、UDPやDHCPパケットなどを送受信することが可能となり、周囲のプリンタやUPnPデバイスの有無を、液晶ディスプレイに表示することが可能となる。ユーザに画面表示が行われていない時には、このようなデバイスやサービス発見の動作は不要である。このため、画面表示が行われていないときは、通信デバイス15をPSMあるいはNormal状態とすることで、消費電力の低減を実現できる。また、ユーザに画面表示を行うタイミングで通信デバイス15をPLM状態にすることで、ユーザに通信サービスを提供する待ち時間を減らすことができる。よって、ユーザ利便性と低消費電力の両立を実現できる。   This makes it possible to send and receive UDP and DHCP packets, and display the presence or absence of surrounding printers and UPnP devices on the liquid crystal display. When the screen is not displayed to the user, such a device and service discovery operation is unnecessary. For this reason, when the screen display is not performed, the power consumption can be reduced by setting the communication device 15 to the PSM or Normal state. In addition, by setting the communication device 15 in the PLM state at the timing when the screen is displayed to the user, the waiting time for providing the communication service to the user can be reduced. Therefore, both user convenience and low power consumption can be realized.

上述の例では、タッチパネルの操作を外部イベントとして扱ったが、これ以外にも、通信デバイスとは別のセンサーで得られるセンシング情報を用いることが可能である。たとえば、ボタンの押下頻度や、照度センサーにより検出する周囲の明るさの変化や、マイクにより検出する音の大きさや、バッテリ残量などを用いることが可能である。   In the above example, the operation of the touch panel is handled as an external event, but other than this, sensing information obtained by a sensor different from the communication device can be used. For example, it is possible to use a frequency of pressing a button, a change in ambient brightness detected by an illuminance sensor, a loudness detected by a microphone, a remaining battery level, or the like.

(その他)
本実施形態では、IPv4通信を行う場合を例に説明を行っているが、これに限らず、IPv6やX.25など様々なパケット通信にも、本実施形態は適用可能である。
(Other)
In the present embodiment, the case of performing IPv4 communication has been described as an example. However, the present embodiment is not limited to this, and the present embodiment can also be applied to various packet communication such as IPv6 and X.25.

また、本実施形態では、IEEE802.11のインフラストラクチャモードと呼ばれる端末は、アクセスポイントとフレームの送受信を行った。これ以外にも、アドホックモードやWiFi Directと呼ばれる端末同士がフレームを送受信する形態においても、本実施形態は適用可能である。アドホックモードにおいては、認証が終了して暗号化パケットを送信可能な状態を、セッションが設定されている状態と考える。   In this embodiment, a terminal called an infrastructure mode of IEEE802.11 transmits / receives a frame to / from an access point. In addition to this, the present embodiment can also be applied to a mode in which terminals called ad hoc mode and WiFi Direct transmit and receive frames. In the ad hoc mode, a state where authentication is completed and an encrypted packet can be transmitted is considered as a state where a session is set.

また、本実施形態では、IEEE802.11を例に説明を行ったが、アソシエーションのように接続関係を相手通信機器との間で設定し、接続関係を設定している間のみフレーム送受信を行う他の通信方式にも、本実施形態を適用することが可能である。具体的には、Bluetooth(登録商標)やZigBee(登録商標)などを挙げることができる。Bluetooth(登録商標)では、ページ要求と応答を交換後の接続状態をアソシエーションを設定した状態と考えることができる。Zigbeeではアソシエーション/ディスアソシエーション動作によって設定解放されるものをアソシエーションと考えることができる。さらに、有線のイーサネット(登録商標)のように明示的な接続状態をMACレベルで有しない通信方式においても、例えば、RFC5191のように認証情報を通信機器とやりとりし、認証が終わった状態でのみフレームの転送を行う網においては、認証状態を接続状態の設定すなわちアソシエーション設定と考えて、本発明を同様に適用することが可能である。   In this embodiment, IEEE 802.11 has been described as an example. However, as in association, a connection relationship is set with a partner communication device, and frame transmission / reception is performed only while the connection relationship is set. The present embodiment can also be applied to this communication method. Specific examples include Bluetooth (registered trademark) and ZigBee (registered trademark). In Bluetooth (registered trademark), the connection state after exchanging the page request and response can be considered as the state in which the association is set. In Zigbee, associations that are released by association / disassociation operations can be considered as associations. Furthermore, even in communication methods that do not have an explicit connection state at the MAC level, such as wired Ethernet (registered trademark), for example, authentication information is exchanged with a communication device as in RFC5191, and only when authentication is completed. In a network that transfers frames, the present invention can be similarly applied by regarding the authentication state as a connection state setting, that is, an association setting.

なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

Claims (6)

複数の通信プロトコルが動作する通信端末であって、
通信機器とアソシエーションを形成し、前記通信機器と通信する通信デバイスと、
前記通信デバイスの動作モードを決定する通信管理部と、
前記通信管理部により決定された動作モードに応じて、前記通信デバイスへの給電を制御するデバイス電源管理部と、を備え、
前記デバイス電源管理部は、前記通信管理部により第1の動作モードが決定されたとき、前記通信デバイスを送受信が不能な状態である第1の電源状態に設定し、前記第1の電源状態に設定されている間、第1の周期ごとに、前記通信デバイスを送受信が可能な状態である第2の電源状態に設定し、
前記通信端末は、前記通信デバイスが前記第2の電源状態に設定されたとき、前記複数の通信プロトコルの動作状況に基づいてフレームを選択し、選択したフレームを前記アソシエーションを介して前記通信機器に送信し、
前記デバイス電源管理部は、前記選択したフレームに対応する応答フレームを受信した後、前記通信デバイスを前記第1の電源状態に戻す
通信端末。
A communication terminal that operates a plurality of communication protocols,
A communication device that forms an association with a communication device and communicates with the communication device;
A communication management unit for determining an operation mode of the communication device;
A device power management unit that controls power supply to the communication device according to the operation mode determined by the communication management unit, and
When the first operation mode is determined by the communication management unit, the device power management unit sets the communication device to a first power state where transmission / reception is impossible, and enters the first power state. While being set, for each first cycle, the communication device is set to a second power state in which transmission and reception are possible,
When the communication device is set to the second power state, the communication terminal selects a frame based on an operation state of the plurality of communication protocols, and transmits the selected frame to the communication device via the association. Send
The communication terminal that returns the communication device to the first power state after receiving a response frame corresponding to the selected frame.
前記アソシエーションは、前記複数の通信プロトコルのうちの第1の通信プロトコルに従って形成され、
前記選択されたフレームの通信プロトコルは、前記複数の通信プロトコルのうち第2の通信プロトコルであり、
前記第2の通信プロトコルは、前記第1の通信プロトコルと異なる、
請求項1に記載の通信端末。
The association is formed according to a first communication protocol of the plurality of communication protocols;
The communication protocol of the selected frame is a second communication protocol among the plurality of communication protocols,
The second communication protocol is different from the first communication protocol;
The communication terminal according to claim 1.
前記第1の通信プロトコルは、IEEE802.11に規定されたプロトコルであり、前記第2の通信プロトコルは、TCP、IPSEC、Websocket、ICMP、IKE、GRE、L2TP、PPTP、UDPおよびDHCPのうちのいずれかである
請求項2に記載の通信端末。
The first communication protocol is a protocol defined in IEEE 802.11, and the second communication protocol is any of TCP, IPSEC, Websocket, ICMP, IKE, GRE, L2TP, PPTP, UDP, and DHCP. The communication terminal according to claim 2.
複数の通信プロトコルが動作する通信端末が実行する通信方法であって、
前記通信端末における通信デバイスと、通信機器との間にアソシエーションを形成し、前記通信機器と通信する通信ステップと、
前記通信デバイスの動作モードを決定する通信アクティビティ管理ステップと、
前記通信アクティビティ管理ステップにより決定された動作モードに応じて、前記通信デバイスへの給電を制御するデバイス電源状態管理ステップと、
前記動作モードとして第1の動作モードが決定されたとき、前記通信デバイスを送受信が不能な状態である第1の電源状態に設定し、前記第1の電源状態に設定された後、第1の周期ごとに、前記通信デバイスを送受信が可能な状態である第2の電源状態に設定するステップと、
前記通信デバイスが前記第2の電源状態に設定されたとき、前記複数の通信プロトコルの動作状況に基づいてフレームを選択し、選択したフレームを前記アソシエーションを介して前記通信機器に送信するステップと、
前記選択したフレームに対応する応答フレームを受信した後、前記通信デバイスを前記第1の電源状態に戻すステップと
を備えた通信方法。
A communication method executed by a communication terminal that operates a plurality of communication protocols,
A communication step of communicating with the communication device by forming an association between the communication device in the communication terminal and the communication device;
A communication activity management step for determining an operation mode of the communication device;
A device power state management step for controlling power supply to the communication device according to the operation mode determined by the communication activity management step;
When the first operation mode is determined as the operation mode, the communication device is set to a first power supply state in which transmission / reception is impossible, and after the first power supply state is set, the first power supply state is set. For each cycle, setting the communication device to a second power state in which transmission and reception are possible;
When the communication device is set to the second power state, selecting a frame based on an operation status of the plurality of communication protocols, and transmitting the selected frame to the communication device via the association;
And a step of returning the communication device to the first power state after receiving a response frame corresponding to the selected frame.
前記アソシエーションは、前記複数の通信プロトコルのうちの第1の通信プロトコルに従って形成され、
前記選択されたフレームの通信プロトコルは、前記複数の通信プロトコルのうち第2の通信プロトコルであり、
前記第2の通信プロトコルは、前記第1の通信プロトコルと異なる、
請求項4に記載の通信方法。
The association is formed according to a first communication protocol of the plurality of communication protocols;
The communication protocol of the selected frame is a second communication protocol among the plurality of communication protocols,
The second communication protocol is different from the first communication protocol;
The communication method according to claim 4.
前記第1の通信プロトコルは、IEEE802.11に規定されたプロトコルであり、
前記第2の通信プロトコルは、TCP、IPSEC、Websocket、ICMP、IKE、GRE、L2TP、PPTP、UDPおよびDHCPのうちのいずれかである
請求項5に記載の通信方法。
The first communication protocol is a protocol defined in IEEE 802.11,
The communication method according to claim 5, wherein the second communication protocol is any one of TCP, IPSEC, Websocket, ICMP, IKE, GRE, L2TP, PPTP, UDP, and DHCP.
JP2015043976A 2015-03-05 2015-03-05 Communication terminal and communication method Pending JP2015133737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015043976A JP2015133737A (en) 2015-03-05 2015-03-05 Communication terminal and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015043976A JP2015133737A (en) 2015-03-05 2015-03-05 Communication terminal and communication method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2012165116A Division JP2014027421A (en) 2012-07-25 2012-07-25 Communication terminal and communication method

Publications (1)

Publication Number Publication Date
JP2015133737A true JP2015133737A (en) 2015-07-23

Family

ID=53900581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015043976A Pending JP2015133737A (en) 2015-03-05 2015-03-05 Communication terminal and communication method

Country Status (1)

Country Link
JP (1) JP2015133737A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000333259A (en) * 1999-05-24 2000-11-30 Sony Corp Radio communication system and radio terminal station
JP2005080158A (en) * 2003-09-03 2005-03-24 Mega Chips Corp Wireless communication apparatus
JP2006050020A (en) * 2004-07-30 2006-02-16 Sony Computer Entertainment Inc Communication terminal device, method of establishing communication
JP2008003839A (en) * 2006-06-22 2008-01-10 Toshiba Corp Communication device
JP2010045536A (en) * 2008-08-11 2010-02-25 Toshiba Corp Wireless communication device
JP2010114766A (en) * 2008-11-07 2010-05-20 Univ Of Electro-Communications Information processing apparatus and method, program, and communication method
US20100189020A1 (en) * 2009-01-23 2010-07-29 Qualcomm Incorporated Methods and systems using fast connection setup procedure for wimax networks
US20100232330A1 (en) * 2009-03-13 2010-09-16 Qualcomm Incorporated Methods and systems for split timer l3 p2p communications
US20100315982A1 (en) * 2009-06-12 2010-12-16 Samsung Electronics Co. Ltd. Method and apparatus for connecting portable terminal to wlan
JP2012114915A (en) * 2010-11-23 2012-06-14 Olympus Corp System and method for mac layer clock drift compensation, beacon transmission method, program, and wireless communication terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000333259A (en) * 1999-05-24 2000-11-30 Sony Corp Radio communication system and radio terminal station
JP2005080158A (en) * 2003-09-03 2005-03-24 Mega Chips Corp Wireless communication apparatus
JP2006050020A (en) * 2004-07-30 2006-02-16 Sony Computer Entertainment Inc Communication terminal device, method of establishing communication
JP2008003839A (en) * 2006-06-22 2008-01-10 Toshiba Corp Communication device
JP2010045536A (en) * 2008-08-11 2010-02-25 Toshiba Corp Wireless communication device
JP2010114766A (en) * 2008-11-07 2010-05-20 Univ Of Electro-Communications Information processing apparatus and method, program, and communication method
US20100189020A1 (en) * 2009-01-23 2010-07-29 Qualcomm Incorporated Methods and systems using fast connection setup procedure for wimax networks
US20100232330A1 (en) * 2009-03-13 2010-09-16 Qualcomm Incorporated Methods and systems for split timer l3 p2p communications
US20100315982A1 (en) * 2009-06-12 2010-12-16 Samsung Electronics Co. Ltd. Method and apparatus for connecting portable terminal to wlan
JP2012114915A (en) * 2010-11-23 2012-06-14 Olympus Corp System and method for mac layer clock drift compensation, beacon transmission method, program, and wireless communication terminal

Similar Documents

Publication Publication Date Title
US10743286B2 (en) Paging processing method and device
US11265814B2 (en) Implementation method of low power consumption internet of things based on proxy apparatus
US9544851B2 (en) Communication terminal, communication method, and computer readable medium
US10932313B2 (en) Wireless connection switching method and terminal
US9113413B2 (en) Communication terminal and communication method
US20130227647A1 (en) Shared network access via a peer-to-peer link
US20090022125A1 (en) Direct link teardown procedure in tunneled direct link setup (tdls) wireless network and station supporting the same
JP2007081519A (en) Wireless lan system
TW202131726A (en) Wireless communication method with adaptive power control mechanism and associated circuitry within electronic device
WO2022143508A1 (en) Method for transmitting data in near field, device and system
WO2022017472A1 (en) Auxiliary information sending method and apparatus, auxiliary information receiving method and apparatus, terminal, and network side device
CN107809789B (en) Communication method, communication device, access point and station of wireless local area network
JP2019134322A (en) Communication device, control method, and program
WO2017121224A1 (en) Data transmission method, device and system
JP2015133737A (en) Communication terminal and communication method
TWI575975B (en) Information processing device, communication management method, and program
JP2005252822A (en) Wireless terminal, connection pointing device, data communications system, and data communication method
JP2015181253A (en) Communication terminal, communication method and communication program
CN109041178B (en) Communication method, communication device and communication equipment of wireless local area network
WO2023185841A1 (en) Method and apparatus for selecting relay user equipment, and user equipment and storage medium
WO2022206663A1 (en) Pdu session establishment method, related device and readable storage medium
US9860840B2 (en) System, method, and server for keeping wireless local area network terminal online all the time
WO2023020465A1 (en) Address conversion control method and apparatus, and terminal and network element
WO2023217024A1 (en) Sidelink (sl) communication method and apparatus, and terminal
WO2022237616A1 (en) Resource pool configuration method and apparatus, and terminal and network side device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160325

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20161104