JP2014175711A - Terminal, keep-alive timing control system, computer program and keep-alive timing control method - Google Patents
Terminal, keep-alive timing control system, computer program and keep-alive timing control method Download PDFInfo
- Publication number
- JP2014175711A JP2014175711A JP2013044308A JP2013044308A JP2014175711A JP 2014175711 A JP2014175711 A JP 2014175711A JP 2013044308 A JP2013044308 A JP 2013044308A JP 2013044308 A JP2013044308 A JP 2013044308A JP 2014175711 A JP2014175711 A JP 2014175711A
- Authority
- JP
- Japan
- Prior art keywords
- keep
- alive
- timing
- interval
- terminal device
- 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
Links
Images
Landscapes
- Maintenance And Management Of Digital Transmission (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本発明は、端末装置、Keep-Aliveタイミング制御システム、コンピュータプログラムおよびKeep-Aliveタイミング制御方法に関する。 The present invention relates to a terminal device, a keep-alive timing control system, a computer program, and a keep-alive timing control method.
従来、端末のアプリケーションがサーバに対してコネクションを確立し通信する場合、アプリケーションとサーバ間のコネクションを維持するために、キープアライブ(Keep-Alive)パケットを定期的にサーバへ送信するアプリケーションが存在する。また、そのようなアプリケーションが端末に複数存在する場合に、各アプリケーションが個々にKeep-Aliveパケットを送信しなくても済むようにする従来技術が知られている(例えば、非特許文献1,2参照)。非特許文献1,2の従来技術によれば、端末内の複数のアプリケーションに対して一つのTCP(Transmission Control Protocol)コネクションを確立しておけばよいので、各アプリケーションが個々にTCPコネクションを確立する場合に比してKeep-Aliveパケットの送信のための通信機会を減らすことができる。
Conventionally, when a terminal application establishes a connection to a server and communicates, there is an application that periodically sends a keep-alive packet to the server in order to maintain the connection between the application and the server. . In addition, when there are a plurality of such applications in a terminal, there is known a conventional technique that does not require each application to individually send a Keep-Alive packet (for example, Non-Patent
しかし、上述した従来技術では、端末内の複数のアプリケーションに対して共通のTCPコネクションを利用するので、各アプリケーションにおける通信の自由度が制限される。このため、Keep-Aliveパケットの送信のための通信機会を減らすと共に、各アプリケーションにおける通信の自由度を確保することが課題となっている。 However, since the above-described conventional technology uses a common TCP connection for a plurality of applications in the terminal, the degree of freedom of communication in each application is limited. For this reason, while reducing the communication opportunity for transmission of a Keep-Alive packet, ensuring the freedom degree of communication in each application is a subject.
本発明は、このような事情を考慮してなされたもので、端末におけるKeep-Aliveパケットの送信のための通信機会を減らすと共に、端末内の複数のアプリケーションの個々における通信の自由度を確保することを課題とする。 The present invention has been made in consideration of such circumstances, and reduces communication opportunities for transmission of Keep-Alive packets in a terminal and secures communication flexibility in each of a plurality of applications in the terminal. This is the issue.
(1)上記の課題を解決するために、本発明に係る端末装置は、コネクション毎にKeep-Aliveパケットを送信するアプリケーションを一つまたは複数と、前記一つまたは複数のアプリケーションに対して同時にKeep-Aliveタイミングを通知するKeep-Aliveタイミング通知部と、を備え、前記アプリケーションは、前記Keep-Aliveタイミング通知部から通知されたKeep-Aliveタイミングを契機としてKeep-Aliveパケットを送信する、ことを特徴とする。 (1) In order to solve the above-described problem, the terminal apparatus according to the present invention keeps one or a plurality of applications that transmit a keep-alive packet for each connection and the one or a plurality of applications simultaneously. A Keep-Alive timing notification unit for notifying the Alive timing, and the application transmits a Keep-Alive packet triggered by the Keep-Alive timing notified from the Keep-Alive timing notification unit. And
(2)本発明に係る端末装置は、コネクション毎にKeep-Aliveパケットを送信するKeep-Alive送信部と、前記Keep-Alive送信部に対してKeep-Aliveタイミングを通知するKeep-Aliveタイミング通知部と、を備え、前記Keep-Alive送信部は、前記Keep-Aliveタイミング通知部から通知されたKeep-Aliveタイミングを契機としてKeep-Aliveパケットを送信する、ことを特徴とする。 (2) A terminal apparatus according to the present invention includes a Keep-Alive transmission unit that transmits a Keep-Alive packet for each connection, and a Keep-Alive timing notification unit that notifies the Keep-Alive transmission unit of a Keep-Alive timing The Keep-Alive transmission unit transmits a Keep-Alive packet triggered by the Keep-Alive timing notified from the Keep-Alive timing notification unit.
(3)本発明に係る端末装置において、特定のサーバとの間で通信することによりKeep-Alive間隔を測定するKeep-Alive間隔測定部を備え、前記Keep-Aliveタイミング通知部は、前記測定結果に基づいてKeep-Aliveタイミングを発生する、ことを特徴とする。 (3) The terminal device according to the present invention includes a Keep-Alive interval measurement unit that measures a Keep-Alive interval by communicating with a specific server, and the Keep-Alive timing notification unit includes the measurement result Based on the above, a keep-alive timing is generated.
(4)本発明に係る端末装置において、特定のサーバとの間で通信することによりKeep-Alive間隔を測定するKeep-Alive間隔測定部を備え、前記Keep-Aliveタイミング通知部は、各コネクションにおけるパケット通知間隔と前記測定結果とに基づいてKeep-Aliveタイミングを発生する、ことを特徴とする。 (4) The terminal device according to the present invention includes a Keep-Alive interval measuring unit that measures a Keep-Alive interval by communicating with a specific server, and the Keep-Alive timing notifying unit includes: A keep-alive timing is generated based on a packet notification interval and the measurement result.
(5)本発明に係る端末装置において、前記Keep-Alive間隔の測定情報と前記測定結果のKeep-Alive間隔の組を格納するKeep-Alive間隔保持テーブルを備え、前記Keep-Aliveタイミング通知部は、前記測定情報と同じ条件でのKeep-Aliveパケットの送信において、前記Keep-Alive間隔保持テーブルに格納されているKeep-Alive間隔を用いる、ことを特徴とする。 (5) In the terminal device according to the present invention, the terminal device includes a keep-alive interval holding table for storing a set of the measurement information of the keep-alive interval and the keep-alive interval of the measurement result, and the keep-alive timing notification unit includes: In the transmission of the keep-alive packet under the same conditions as the measurement information, the keep-alive interval stored in the keep-alive interval holding table is used.
(6)本発明に係るKeep-Aliveタイミング制御システムは、前述の(3)に記載の端末装置と、前記端末装置との間で通信する測定サーバと、を備えたことを特徴とする。 (6) A Keep-Alive timing control system according to the present invention includes the terminal device according to (3) described above and a measurement server that communicates with the terminal device.
(7)本発明に係るコンピュータプログラムは、端末装置のコンピュータに、Keep-Aliveタイミングを契機としてコネクション毎にKeep-Aliveパケットを送信する一つまたは複数のアプリケーションに対して、同時にKeep-Aliveタイミングを通知するKeep-Aliveタイミング通知ステップ、を実行させるためのコンピュータプログラムであることを特徴とする。 (7) The computer program according to the present invention simultaneously sets Keep-Alive timing for one or a plurality of applications that transmit Keep-Alive packets for each connection to the terminal computer, triggered by the Keep-Alive timing. It is a computer program for executing a keep-alive timing notification step to be notified.
(8)本発明に係るコンピュータプログラムは、端末装置のコンピュータに、Keep-Aliveタイミングを契機としてコネクション毎にKeep-Aliveパケットを送信するKeep-Alive送信部に対して、Keep-Aliveタイミングを通知するKeep-Aliveタイミング通知ステップ、を実行させるためのコンピュータプログラムであることを特徴とする。 (8) The computer program according to the present invention notifies the computer of the terminal device of the Keep-Alive timing to the Keep-Alive transmission unit that transmits the Keep-Alive packet for each connection in response to the Keep-Alive timing. A computer program for executing a keep-alive timing notification step.
(9)本発明に係るKeep-Aliveタイミング制御方法は、端末装置と、前記端末装置との間で通信する測定サーバと、を備えたKeep-Aliveタイミング制御システムにおけるKeep-Aliveタイミング制御方法であって、前記端末装置が、前記測定サーバとの間で通信することによりKeep-Alive間隔を測定するKeep-Alive間隔測定ステップと、前記端末装置が、前記測定結果に基づいてKeep-Aliveタイミングを発生するKeep-Aliveタイミング発生ステップと、前記端末装置が、前記発生されたKeep-Aliveタイミングを契機としてKeep-Aliveパケットを送信するKeep-Aliveパケット送信ステップと、を含むことを特徴とする。 (9) A Keep-Alive timing control method according to the present invention is a Keep-Alive timing control method in a Keep-Alive timing control system comprising a terminal device and a measurement server that communicates with the terminal device. The terminal device measures a keep-alive interval by measuring a keep-alive interval by communicating with the measurement server, and the terminal device generates a keep-alive timing based on the measurement result. A Keep-Alive timing generation step, and a terminal device that transmits a Keep-Alive packet triggered by the generated Keep-Alive timing.
本発明によれば、端末におけるKeep-Aliveパケットの送信のための通信機会を減らすと共に、端末内の複数のアプリケーションの個々における通信の自由度を確保することができる。 ADVANTAGE OF THE INVENTION According to this invention, while reducing the communication opportunity for transmission of a Keep-Alive packet in a terminal, the freedom degree of communication in each of the some application in a terminal is securable.
以下、図面を参照し、本発明の実施形態について説明する。
図1は、本発明の一実施形態に係る通信システムの概略構成図である。図1において、端末1は無線回線により無線基地局3と接続する。無線基地局3としては、例えば、携帯電話網の基地局(例えば、3G回線の基地局)や無線LANのアクセスポイント(Access Point:AP)などが挙げられる。端末1は、無線基地局3を介して、インターネット等のIP(Internet Protocol)ネットワーク5に接続されるサーバ2及び測定サーバ20との間で通信することができる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a schematic configuration diagram of a communication system according to an embodiment of the present invention. In FIG. 1, a
無線基地局3とサーバ2及び測定サーバ20間の通信経路上には、NAT(Network Address Translation)やファイアウォール等のネットワーク機器4が、一つ若しくは複数存在する場合もあるし、又は、存在しない場合もある。一般的に、ネットワーク機器4は、自機器を経由するコネクションの有無を管理し、一定時間(コネクション保持時間)においてパケットの通過が無いコネクションについてはパケットを廃棄することが知られている。また、コネクション保持時間は、ネットワーク機器4によって異なる場合がある。
There may or may not be one or
端末1には複数(図1の例では3個)のアプリケーション10(A,B,C)が存在する。各アプリケーション10(A,B,C)は、各サーバ2(A,B,C)との間で各コネクション100A,100B,100Cを確立し通信する。なお、以下、個々のアプリケーション10(A,B,C)を特に区別しないときは「アプリケーション10」と称する。また、個々のサーバ2(A,B,C)を特に区別しないときは「サーバ2」と称する。
The
以下、本実施形態に係る端末1について実施例を挙げて説明する。
Hereinafter, examples of the
図2は本発明に係る端末1の実施例1の構成を示すブロック図である。図2には端末1の構成のうち本発明に係る部分を示している。図2において、端末1は、Keep-Aliveタイミング通知部11とKeep-Alive間隔測定部12を有する。
FIG. 2 is a block diagram showing the configuration of the first embodiment of the
Keep-Alive間隔測定部12は、測定サーバ20と通信することによりKeep-Alive間隔を測定する。具体的には、Keep-Alive間隔測定部12は、測定サーバ20とコネクション100Dを確立した後、Keep-Aliveパケットを測定サーバ20へ送信する間隔(Keep-Aliveパケット送信間隔)を段階的に長くしながらKeep-Aliveパケットを測定サーバ20へ次々送信し、測定サーバ20からの応答パケットの受信の有無を確認する。そして、Keep-Alive間隔測定部12は、測定サーバ20からの応答パケットの受信が無くなったと判断した場合に、測定サーバ20からの応答パケットの受信が有り且つ最長のKeep-Aliveパケット送信間隔(Keep-Aliveパケット送信間隔限界値)を記録する。Keep-Alive間隔測定部12は、そのKeep-Aliveパケット送信間隔限界値に基づいてKeep-Alive間隔を決定する。例えば、Keep-Aliveパケット送信間隔限界値をKeep-Alive間隔とする。又は、余裕をみて、Keep-Aliveパケット送信間隔限界値よりも一段階だけ短いKeep-Aliveパケット送信間隔をKeep-Alive間隔とすることが挙げられる。
The Keep-Alive
なお、一般的に、サーバ2におけるコネクション保持時間よりも、ネットワーク機器4におけるコネクション保持時間の方が短いので、Keep-Aliveパケット送信間隔限界値は、ネットワーク機器4におけるコネクション保持時間の最小値を示していると考えられる。
In general, since the connection holding time in the
Keep-Alive間隔測定部12は、測定結果のKeep-Alive間隔をKeep-Alive間隔保持テーブルに記録する。図3はKeep-Alive間隔保持テーブル120の構成例を示す図である。図3において、Keep-Alive間隔保持テーブル120は、測定情報とKeep-Alive間隔の組を格納する。測定情報は、Keep-Alive間隔を測定したときの条件を示す情報である。測定情報としては、例えば、Keep-Alive間隔の測定における通信経路上に存在する無線基地局3またはネットワーク機器4を示す識別情報である。無線基地局3の識別情報としては、例えば、携帯電話網の基地局(例えば、3G回線の基地局)の識別情報(基地局ID)や無線LANのアクセスポイントの識別情報(BSSID)が挙げられる。ネットワーク機器4の識別情報としては、例えば、ゲートウェイのMACアドレスが挙げられる。
The keep-alive
Keep-Alive間隔測定部12は、Keep-Alive間隔をKeep-Aliveタイミング通知部11へ通知する。
The Keep-Alive
Keep-Aliveタイミング通知部11は、Keep-Alive間隔測定部12から通知されたKeep-Alive間隔に基づいて、各アプリケーション10(A,B,C)に対して同時にKeep-Aliveタイミングを通知する。また、Keep-Aliveタイミング通知部11は、各アプリケーション10(A,B,C)からKeep-Alive要求情報が通知されている場合には、Keep-Alive間隔測定部12から通知されたKeep-Alive間隔と、各アプリケーション10(A,B,C)から通知されたKeep-Alive要求情報とに基づいて、各アプリケーション10(A,B,C)に対して同時にKeep-Aliveタイミングを通知する。
The Keep-Alive
各アプリケーション10(A,B,C)からは、事前に(例えば、アプリケーション10とサーバ2間のコネクション確立時に)、Keep-Aliveタイミング通知部11に対して、Keep-Alive要求情報が通知される。Keep-Aliveタイミング通知部11は、アプリケーション10から通知されたKeep-Alive要求情報をKeep-Alive要求情報保持テーブルに記録する。図4はKeep-Alive要求情報保持テーブル110の構成例を示す図である。図4において、Keep-Alive要求情報保持テーブル110は、アプリケーション情報とKeep-Alive要求情報の組を格納する。アプリケーション情報は、アプリケーション10を特定する情報(例えば、アプリケーション10の識別情報)である。Keep-Alive要求情報としては、例えば、アプリケーション10がKeep-Aliveパケットを送信する間隔(パケット通知間隔)である。
Each application 10 (A, B, C) notifies the keep-alive request information to the keep-alive
Keep-Aliveタイミング通知部11は、Keep-Alive間隔測定部12から通知されたKeep-Alive間隔と、Keep-Alive要求情報保持テーブル110に格納されているKeep-Alive要求情報とに基づいて、Keep-Aliveタイミングを決定する。例えば、Keep-Alive間隔測定部12から通知されたKeep-Alive間隔と、Keep-Alive要求情報保持テーブル110に格納されているパケット通知間隔との中で、最も短い間隔でKeep-Aliveタイミングを発生させることが挙げられる。
The Keep-Alive
各アプリケーション10(A,B,C)は、Keep-Aliveタイミング通知部11から通知されたKeep-Aliveタイミングを契機として、Keep-Aliveパケットを各サーバ2(A,B,C)へ送信する。
Each application 10 (A, B, C) transmits a Keep-Alive packet to each server 2 (A, B, C) triggered by the Keep-Alive timing notified from the Keep-Alive
次に図5を参照して実施例1に係るKeep-Aliveタイミング制御処理を説明する。図5は、本発明の実施例1に係るKeep-Aliveタイミング制御処理のシーケンスチャートである。 Next, the keep-alive timing control process according to the first embodiment will be described with reference to FIG. FIG. 5 is a sequence chart of the keep-alive timing control process according to the first embodiment of the present invention.
(ステップS1)端末1のKeep-Alive間隔測定部12が、無線基地局3に接続する。Keep-Alive間隔測定部12は、接続した無線基地局3の識別情報を取得する。
(Step S1) The Keep-Alive
(ステップS2)Keep-Alive間隔測定部12は、取得した無線基地局3の識別情報に基づいて、Keep-Alive間隔保持テーブル120を検索する。
(Step S2) The Keep-Alive
(ステップS3)Keep-Alive間隔測定部12は、ステップS2の検索の結果、該当するKeep-Alive間隔がKeep-Alive間隔保持テーブル120から発見された場合には、該Keep-Alive間隔をKeep-Aliveタイミング通知部11へ通知する。一方、Keep-Alive間隔測定部12は、ステップS2の検索の結果、該当するKeep-Alive間隔がKeep-Alive間隔保持テーブル120から発見された場合には、Keep-Alive間隔のデフォルト値をKeep-Aliveタイミング通知部11へ通知する。Keep-Alive間隔のデフォルト値には、安全性を見込んだ短めの値を予め設定しておく。
(Step S3) If the relevant Keep-Alive interval is found from the Keep-Alive interval holding table 120 as a result of the search in Step S2, the Keep-Alive
(ステップS4)Keep-Alive間隔測定部12は、測定サーバ20を利用してKeep-Alive間隔の測定を行う。
(Step S4) The keep-alive
(ステップS5)Keep-Alive間隔測定部12は、ステップS4の測定結果であるKeep-Alive間隔がステップS3でKeep-Aliveタイミング通知部11へ通知した値と異なる場合には、該測定結果のKeep-Alive間隔をKeep-Aliveタイミング通知部11へ通知し更新させる。そして、Keep-Alive間隔測定部12は、該測定結果のKeep-Alive間隔によりKeep-Alive間隔保持テーブル120を更新する。
(Step S5) If the Keep-Alive interval, which is the measurement result of Step S4, is different from the value notified to the Keep-Alive
なお、Keep-Alive間隔測定部12は、Keep-Alive間隔の測定を定期的に行い、Keep-Aliveタイミング通知部11およびKeep-Alive間隔保持テーブル120に対してKeep-Alive間隔の更新を行うようにしてもよい。また、Keep-Alive間隔の測定を行わず、Keep-Alive間隔の既存の設定値を使用してもよい。
The keep-alive
(ステップS6)アプリケーション10は、Keep-Aliveタイミング通知部11に対して、Keep-Alive要求情報を登録する。Keep-Aliveタイミング通知部11は、該アプリケーション10からの登録を受けると、該Keep-Alive要求情報を該アプリケーション10のアプリケーション情報に関連付けてKeep-Alive要求情報保持テーブル110に格納する。
(Step S6) The
(ステップS7)Keep-Aliveタイミング通知部11は、Keep-Alive間隔測定部12から通知されたKeep-Alive間隔と、アプリケーション10から通知されたKeep-Alive間隔(例えば、パケット通知間隔)とを加味したKeep-Alive間隔を決定する。
(Step S7) The keep-alive
(ステップS8)Keep-Aliveタイミング通知部11は、ステップS7で決定したKeep-Alive間隔で、Keep-Alive要求情報保持テーブル110に登録されている全アプリケーション10に対して同時にKeep-Aliveタイミングを通知する。
(Step S8) The Keep-Alive
(ステップS9)アプリケーション10は、Keep-Aliveタイミング通知部11からKeep-Aliveタイミングの通知を受けると、サーバ2に対してKeep-Aliveパケットを送信する。
(Step S <b> 9) When the
上述した実施例1によれば、各アプリケーション10(A,B,C)は、Keep-Aliveタイミング通知部11から同時に通知されるKeep-Aliveタイミングを契機にして、各サーバ2(A,B,C)へKeep-Aliveパケットの送信を行う。これにより、Keep-Aliveパケットの送信のための通信機会は、Keep-Aliveタイミング通知部11から各アプリケーション10(A,B,C)に同時に通知されるKeep-Aliveタイミングに限定される。このため、端末1は、無線基地局3間において、Keep-Aliveパケットの送信のために無線リンクを確立する頻度を下げることができるので、消費電力の低減や無線リソースの効率的利用などに寄与できる。また、各アプリケーション10(A,B,C)は、各サーバ2(A,B,C)との間で個々にコネクションを確立するので、通信の自由度を確保できる。例えば、各アプリケーション10(A,B,C)は、独自のPUSH通知機構や情報送信を行うことができる。
According to the first embodiment described above, each application 10 (A, B, C) receives each server 2 (A, B, C) triggered by the Keep-Alive timing simultaneously notified from the Keep-Alive
また、頻繁に通信が発生することを防ぐことにより、無線基地局3が端末1をActive状態にしたり非Active状態にしたりするための制御信号の発生を抑制することができる。
Further, by preventing frequent communication, it is possible to suppress the generation of a control signal for the
また、アプリケーション10の利用による頻繁な通信の発生が抑制されるので、アプリケーション10の利用による電池消耗を低減でき、アプリケーション10の利用による電池消耗の増加という、ユーザに対するマイナス面の印象を改善する効果が期待できる。
In addition, since frequent occurrence of communication due to use of the
実施例2は上述した実施例1の変形例である。図6は本発明に係る端末1の実施例2の構成を示すブロック図である。図2には端末1の構成のうち本発明に係る部分を示している。図2において、図2の各部に対応する部分には同一の符号を付している。以下、実施例1と異なる点を主に説明する。
The second embodiment is a modification of the first embodiment described above. FIG. 6 is a block diagram showing a configuration of the second embodiment of the
図2に示す端末1は、Keep-Alive送信部30を有する。Keep-Alive送信部30は、各アプリケーション10(A,B,C)のコネクション毎に、各サーバ2(A,B,C)へKeep-Aliveパケットを送信する機能を持つ。各アプリケーション10(A,B,C)は、Keep-Alive送信部30に対してKeep-Aliveの送信を登録する。Keep-Alive送信部30は、各アプリケーション10(A,B,C)からのKeep-Aliveの送信の登録に従って、各サーバ2(A,B,C)へのKeep-Aliveパケットの送信を行う。
The
本実施例2では、Keep-Aliveタイミング通知部11は、Keep-Alive送信部30に対して、Keep-Aliveタイミングを通知する。Keep-Alive送信部30は、Keep-Aliveタイミング通知部11から通知されたKeep-Aliveタイミングを契機にして、Keep-Aliveの送信が登録されている全アプリケーション10に関するKeep-Aliveパケットの送信を行う。
In the second embodiment, the keep-alive
本実施例2によれば、端末1におけるKeep-Aliveパケットの送信のための通信機会は、Keep-Aliveタイミング通知部11からKeep-Alive送信部30に通知されるKeep-Aliveタイミングに限定される。これにより、端末1は、無線基地局3間において、Keep-Aliveパケットの送信のために無線リンクを確立する頻度を下げることができるので、消費電力の低減や無線リソースの効率的利用などに寄与できる。また、各アプリケーション10(A,B,C)は、各サーバ2(A,B,C)との間で個々にコネクションを確立するので、通信の自由度を確保できる。
According to the second embodiment, the communication opportunity for transmitting the Keep-Alive packet in the
以上、本発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計変更等も含まれる。 As mentioned above, although embodiment of this invention was explained in full detail with reference to drawings, the specific structure is not restricted to this embodiment, The design change etc. of the range which does not deviate from the summary of this invention are included.
例えば、本発明は、一アプリケーションが複数のコネクションを確立する場合にも適用可能である。この場合、端末は、複数のコネクションを確立する一アプリケーションのみを有するものであってもよい。該アプリケーションは、Keep-Aliveタイミング通知部から通知されたKeep-Aliveタイミングを契機にして、全コネクションに関するKeep-Aliveパケットの送信を行う。 For example, the present invention is also applicable when one application establishes a plurality of connections. In this case, the terminal may have only one application that establishes a plurality of connections. The application transmits Keep-Alive packets related to all connections in response to the Keep-Alive timing notified from the Keep-Alive timing notification unit.
また、Keep-Aliveタイミング通知部から通知されたKeep-Aliveタイミングを契機にしてKeep-Aliveパケットを送信するコネクションを、一部に限定してもよい。これによっても、端末におけるKeep-Aliveパケットの送信のための通信機会を減らす効果は得られる。 Further, a part of the connection for transmitting the Keep-Alive packet in response to the Keep-Alive timing notified from the Keep-Alive timing notification unit may be limited. This also has the effect of reducing the communication opportunity for transmitting the Keep-Alive packet at the terminal.
また、Keep-Aliveタイミング通知部は、アプリケーションからのKeep-Aliveの登録に関わらず、全アプリケーションに対してKeep-Aliveタイミングを通知するようにしてもよい。 Further, the Keep-Alive timing notification unit may notify the Keep-Alive timing to all applications regardless of the Keep-Alive registration from the application.
また、アプリケーションを複数のグループに分け、アプリケーションのグループ毎に、Keep-Aliveタイミングを発生させるタイミングを決定してもよい。この場合には、アプリケーションのグループ毎にKeep-Aliveタイミングを発生させ、発生させたKeep-Aliveタイミングに該当するグループに属するアプリケーションにのみ該発生させたKeep-Aliveタイミングを通知する。 Alternatively, the application may be divided into a plurality of groups, and the timing for generating the keep-alive timing may be determined for each application group. In this case, a keep-alive timing is generated for each application group, and the generated keep-alive timing is notified only to applications belonging to the group corresponding to the generated keep-alive timing.
また、上述した端末1を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行するようにしてもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものであってもよい。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、フラッシュメモリ等の書き込み可能な不揮発性メモリ、DVD(Digital Versatile Disk)等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。
Further, a program for realizing the
“Computer-readable recording medium” refers to a flexible disk, a magneto-optical disk, a ROM, a writable nonvolatile memory such as a flash memory, a portable medium such as a DVD (Digital Versatile Disk), and a built-in computer system. A storage device such as a hard disk.
さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(例えばDRAM(Dynamic Random Access Memory))のように、一定時間プログラムを保持しているものも含むものとする。
また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。
また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。
Further, the “computer-readable recording medium” means a volatile memory (for example, DRAM (Dynamic DRAM) in a computer system that becomes a server or a client when a program is transmitted through a network such as the Internet or a communication line such as a telephone line. Random Access Memory)), etc., which hold programs for a certain period of time.
The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line.
The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.
1…端末(端末装置)、2…サーバ、3…無線基地局、4…ネットワーク機器、5…IPネットワーク、10…アプリケーション、11…Keep-Aliveタイミング通知部、12…Keep-Alive間隔測定部、20…測定サーバ、30…Keep-Alive送信部、100A,100B,100C,100D…コネクション、110…Keep-Alive要求情報保持テーブル、120…Keep-Alive間隔保持テーブル
DESCRIPTION OF
Claims (9)
前記一つまたは複数のアプリケーションに対して同時にKeep-Aliveタイミングを通知するKeep-Aliveタイミング通知部と、を備え、
前記アプリケーションは、前記Keep-Aliveタイミング通知部から通知されたKeep-Aliveタイミングを契機としてKeep-Aliveパケットを送信する、
ことを特徴とする端末装置。 One or more applications that send Keep-Alive packets for each connection,
A Keep-Alive timing notification unit for notifying one or a plurality of applications of Keep-Alive timing at the same time,
The application transmits a Keep-Alive packet triggered by the Keep-Alive timing notified from the Keep-Alive timing notification unit.
A terminal device characterized by that.
前記Keep-Alive送信部に対してKeep-Aliveタイミングを通知するKeep-Aliveタイミング通知部と、を備え、
前記Keep-Alive送信部は、前記Keep-Aliveタイミング通知部から通知されたKeep-Aliveタイミングを契機としてKeep-Aliveパケットを送信する、
ことを特徴とする端末装置。 A Keep-Alive sending unit that sends a Keep-Alive packet for each connection;
A Keep-Alive timing notification unit for notifying the Keep-Alive timing to the Keep-Alive transmission unit,
The Keep-Alive transmission unit transmits a Keep-Alive packet triggered by the Keep-Alive timing notified from the Keep-Alive timing notification unit.
A terminal device characterized by that.
前記Keep-Aliveタイミング通知部は、前記測定結果に基づいてKeep-Aliveタイミングを発生する、
ことを特徴とする請求項1又は2に記載の端末装置。 A Keep-Alive interval measurement unit that measures the Keep-Alive interval by communicating with a specific server is provided.
The Keep-Alive timing notification unit generates a Keep-Alive timing based on the measurement result.
The terminal device according to claim 1, wherein the terminal device is a terminal device.
前記Keep-Aliveタイミング通知部は、各コネクションにおけるパケット通知間隔と前記測定結果とに基づいてKeep-Aliveタイミングを発生する、
ことを特徴とする請求項1又は2に記載の端末装置。 A Keep-Alive interval measurement unit that measures the Keep-Alive interval by communicating with a specific server is provided.
The Keep-Alive timing notification unit generates a Keep-Alive timing based on a packet notification interval in each connection and the measurement result.
The terminal device according to claim 1, wherein the terminal device is a terminal device.
前記Keep-Aliveタイミング通知部は、前記測定情報と同じ条件でのKeep-Aliveパケットの送信において、前記Keep-Alive間隔保持テーブルに格納されているKeep-Alive間隔を用いる、
ことを特徴とする請求項3又は4に記載の端末装置。 A keep-alive interval holding table for storing a set of measurement information of the keep-alive interval and a keep-alive interval of the measurement result;
The Keep-Alive timing notification unit uses the Keep-Alive interval stored in the Keep-Alive interval holding table in the transmission of the Keep-Alive packet under the same conditions as the measurement information.
The terminal device according to claim 3 or 4, wherein
Keep-Aliveタイミングを契機としてコネクション毎にKeep-Aliveパケットを送信する一つまたは複数のアプリケーションに対して、同時にKeep-Aliveタイミングを通知するKeep-Aliveタイミング通知ステップ、
を実行させるためのコンピュータプログラム。 In the terminal computer,
Keep-Alive timing notification step to notify Keep-Alive timing at the same time to one or more applications that send Keep-Alive packets for each connection triggered by Keep-Alive timing.
A computer program for running.
Keep-Aliveタイミングを契機としてコネクション毎にKeep-Aliveパケットを送信するKeep-Alive送信部に対して、Keep-Aliveタイミングを通知するKeep-Aliveタイミング通知ステップ、
を実行させるためのコンピュータプログラム。 In the terminal computer,
Keep-Alive timing notification step for notifying the Keep-Alive timing to the Keep-Alive transmission unit that transmits Keep-Alive packets for each connection with the Keep-Alive timing as an opportunity,
A computer program for running.
前記端末装置が、前記測定サーバとの間で通信することによりKeep-Alive間隔を測定するKeep-Alive間隔測定ステップと、
前記端末装置が、前記測定結果に基づいてKeep-Aliveタイミングを発生するKeep-Aliveタイミング発生ステップと、
前記端末装置が、前記発生されたKeep-Aliveタイミングを契機としてKeep-Aliveパケットを送信するKeep-Aliveパケット送信ステップと、
を含むことを特徴とするKeep-Aliveタイミング制御方法。 A keep-alive timing control method in a keep-alive timing control system comprising a terminal device and a measurement server that communicates between the terminal device,
The terminal device measures a Keep-Alive interval by measuring a Keep-Alive interval by communicating with the measurement server;
The terminal device generates a keep-alive timing based on the measurement result, and a keep-alive timing generation step,
The terminal device transmits a Keep-Alive packet triggered by the generated Keep-Alive timing,
A keep-alive timing control method comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013044308A JP2014175711A (en) | 2013-03-06 | 2013-03-06 | Terminal, keep-alive timing control system, computer program and keep-alive timing control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2013044308A JP2014175711A (en) | 2013-03-06 | 2013-03-06 | Terminal, keep-alive timing control system, computer program and keep-alive timing control method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2014175711A true JP2014175711A (en) | 2014-09-22 |
Family
ID=51696579
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2013044308A Pending JP2014175711A (en) | 2013-03-06 | 2013-03-06 | Terminal, keep-alive timing control system, computer program and keep-alive timing control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2014175711A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016122926A (en) * | 2014-12-24 | 2016-07-07 | 株式会社東芝 | Communication equipment, server device, communication method and program |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003173299A (en) * | 2001-12-06 | 2003-06-20 | Mitsubishi Electric Corp | Data receiving device, data transmitting device, data receiving method, and data transmitting method |
| JP2007166532A (en) * | 2005-12-16 | 2007-06-28 | Matsushita Electric Works Ltd | Communications system |
-
2013
- 2013-03-06 JP JP2013044308A patent/JP2014175711A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003173299A (en) * | 2001-12-06 | 2003-06-20 | Mitsubishi Electric Corp | Data receiving device, data transmitting device, data receiving method, and data transmitting method |
| JP2007166532A (en) * | 2005-12-16 | 2007-06-28 | Matsushita Electric Works Ltd | Communications system |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016122926A (en) * | 2014-12-24 | 2016-07-07 | 株式会社東芝 | Communication equipment, server device, communication method and program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12003592B2 (en) | Method and apparatus for service discovery | |
| US20190182290A1 (en) | Method and system to resolve a distributed denial of service attack through denying radio resource allocation of infected end devices | |
| US20140258367A1 (en) | Renewing registrations for a plurality of client applications that are associated with the same host server via an implicit piggybacking scheme | |
| JP6377761B2 (en) | Method and apparatus for data path based on independent basic service set for neighbor aware network | |
| WO2020103403A1 (en) | Method and apparatus for parameter configuration | |
| US10320705B1 (en) | Identifying video data included in network packets | |
| EP3967104B1 (en) | Method and apparatus for session management | |
| WO2018102964A1 (en) | Information transmission method and device | |
| US20160105786A1 (en) | Leveraging peer-to-peer discovery messages for group activity notification | |
| JP2019036971A (en) | Systems and methods for effective access point discovery | |
| US10966249B2 (en) | Distributed resource allocation for devices | |
| JP2016532401A (en) | System and method for fast initial link setup security optimization for PSK and SAE security modes | |
| US10609627B2 (en) | Identifying communications technology from cellular broadcast data | |
| WO2022237857A1 (en) | Method for determining security protection enabling mode, communication method, and communication apparatus | |
| TW202442005A (en) | Unavailability period support for musim devices | |
| CN108512714A (en) | A kind of message transmitting method, relevant device and system | |
| US12388893B2 (en) | P2P-based data distribution method, apparatus, and system | |
| US9866644B2 (en) | Terminal, message distribution system, message distribution method, and computer-readable medium | |
| JP2014175711A (en) | Terminal, keep-alive timing control system, computer program and keep-alive timing control method | |
| US9380580B2 (en) | Method and apparatus for transmission synchronization utilizing a router advertisement | |
| US12219516B2 (en) | Method and apparatus for registration | |
| JP6469203B2 (en) | Terminal device, communication session establishment method, and program | |
| JP2016184817A (en) | Terminal device, communication session establishment method, and program | |
| JP6025624B2 (en) | Terminal device and keep-alive control system | |
| WO2013061116A1 (en) | Method and apparatus for facilitating maintenance of a connection state |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20150806 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20150810 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20160606 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20160614 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20160810 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20160812 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20161213 |