JP2005252638A - Network communication control method and apparatus thereof - Google Patents
Network communication control method and apparatus thereof Download PDFInfo
- Publication number
- JP2005252638A JP2005252638A JP2004059987A JP2004059987A JP2005252638A JP 2005252638 A JP2005252638 A JP 2005252638A JP 2004059987 A JP2004059987 A JP 2004059987A JP 2004059987 A JP2004059987 A JP 2004059987A JP 2005252638 A JP2005252638 A JP 2005252638A
- Authority
- JP
- Japan
- Prior art keywords
- sessions
- now
- cwnd
- new
- communication
- 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
Abstract
Description
本発明は、通信装置間で複数のセッションの接続が行われている場合の通信制御方法および装置に関する。 The present invention relates to a communication control method and apparatus when a plurality of sessions are connected between communication apparatuses.
周知のように、TCP(Transmission Control Protocol)通信はコネクション指向型であり、ラウンド・トリップ・タイム(RTT)を測定することでパケットの再送タイムアウト値を設定し、また受信側の状況に応じてウインドウ・サイズを調整するフロー制御を行うことができる。 As is well known, TCP (Transmission Control Protocol) communication is connection-oriented, and sets a packet retransmission timeout value by measuring a round trip time (RTT). -Flow control to adjust the size can be performed.
従来の通信システムでは、一般に、通信装置間のRTT値および輻輳ウインドウ値をセッション単位で管理している。たとえば、特開平7−74780号公報には、送信側の装置と送信先の装置との間でウインドウの歩調を合わせる方法として「エンド・ツウ・エンド」法が言及され、ネットワーク内の輻輳に対して応答が大きく遅れるという問題点が指摘されている。 In a conventional communication system, generally, an RTT value and a congestion window value between communication devices are managed on a session basis. For example, Japanese Patent Application Laid-Open No. 7-74780 refers to an “end-to-end” method as a method for adjusting the window pace between a transmission-side device and a transmission-destination device. It has been pointed out that the response is greatly delayed.
また、特開2003−32296号公報には、複数セッションを一括して格納する共通バッファ機能を設け、セッション毎に要求されるサービス品質(QoS)を確保しつつ、輻輳状態の解消を狙った共通チャネルフロー制御方法が開示されている。 Japanese Patent Application Laid-Open No. 2003-32296 provides a common buffer function for storing a plurality of sessions in a lump, and provides a common service aiming to eliminate a congestion state while ensuring the quality of service (QoS) required for each session. A channel flow control method is disclosed.
しかしながら、通信装置間で複数のセッションの接続が行われている場合、パケット再送タイマ管理およびフロー制御は、通信装置間のネットワークの状態によって変動するのが常である。上記従来のシステムのように、セッションごとに後別制御を行うと、ネットワークの通信遅延や通信障害が発生あるいは回復したときに即座に対応することができない。 However, when a plurality of sessions are connected between communication apparatuses, packet retransmission timer management and flow control usually vary depending on the network state between the communication apparatuses. If post-control is performed for each session as in the conventional system described above, it is impossible to respond immediately when a network communication delay or communication failure occurs or recovers.
そこで、本発明の目的は、通信装置間のネットワークの状態を高速で検出し、適切な対応を可能にする通信制御方法および装置を提供することにある。 SUMMARY OF THE INVENTION An object of the present invention is to provide a communication control method and apparatus that can detect a network state between communication apparatuses at high speed and enable appropriate responses.
本発明によれば、通信装置間がネットワークを通して複数セッションで接続されたネットワークシステムにおける通信制御方法は、前記複数セッションの各々で検出されるネットワーク状態を検出し、前記複数セッション内の部分的セッションで前記ネットワーク状態の変化を検出すると、前記複数セッション全てのセッション情報に当該ネットワーク状態変化を反映する、ことを特徴とする。 According to the present invention, a communication control method in a network system in which communication devices are connected by a plurality of sessions through a network detects a network state detected in each of the plurality of sessions, and a partial session in the plurality of sessions When the change in the network state is detected, the change in the network state is reflected in the session information of all the plurality of sessions.
前記セッション情報は、各セクション情報のラウンド・トリップ・タイム(RTT)値および/または輻輳ウインドウ値であることを特徴とする。 The session information may be a round trip time (RTT) value and / or a congestion window value of each section information.
また、新規セッションが接続されると、当該新規セッションの輻輳ウインドウ値CWNDNEWは、
CWNDNEW=(SESNOW×CWNDNOW)/(SESNOW+1)
(ここで、SESNOWは相手先の通信装置への現在のセッション数、CWNDNOWは現在設定されている輻輳ウインドウ値である。)
により計算され、前記新たな輻輳ウインドウ値CWNDNEWが既存の前記複数セッション全てのセッション情報に反映する、ことを特徴とする。
When a new session is connected, the congestion window value CWND NEW of the new session is
CWND NEW = (SES NOW x CWND NOW ) / (SES NOW +1)
(Here, SES NOW is the current number of sessions to the communication device of the other party, and CWND NOW is the congestion window value currently set.)
And the new congestion window value CWND NEW is reflected in the existing session information of the plurality of sessions.
さらに、サービスの1セッションで使用する輻輳ウインドウ値CWNDQOSXNEWは、
CWNDQOSXNEW=T×POINTQOS×PS
(ここで、Tは通信装置間のパケット量であり、T=Σ(CWNDNOW×SESNOW)で計算され、C
WNDNOW-Sは現輻輳ウインドウ値、SESNOW-Sは現セッション数であり、Σはサービスごとのパケッ
ト量(CWNDNOW-S×SESNOW-S)を全てのサービスで合計することを表し、
POINTQOSは1ポリシー当たりの割合値であり、POINTQOS=1/Σ(PS×SESNOW-S)
で計算され、PSはサービスのポリシー値、SESNOW-Sはセッション数である。)
により算出され、前記新たな輻輳ウインドウ値CWNDQOSXNEWが前記複数セッション全てのセッション情報に反映する、ことを特徴とする。
Furthermore, the congestion window value CWND QOS X NEW used in one session of service is
CWND QOS X NEW = T × POINT QOS × P S
(Where T is the amount of packets between communication devices, calculated by T = Σ (CWND NOW × SES NOW ), and C
WND NOW-S is the current congestion window value, SES NOW-S is the current number of sessions, and Σ is the sum of the packet amount for each service (CWND NOW-S × SES NOW-S ) for all services,
POINT QOS is a ratio value per policy, and POINT QOS = 1 / Σ (P S × SES NOW-S )
Where P S is the service policy value and SES NOW-S is the number of sessions. )
And the new congestion window value CWND QOS X NEW is reflected in the session information of all the plurality of sessions.
本発明によれば、同一の相手先通信装置に接続された複数のセッションである場合、RTT値および/または輻輳ウインドウ値のセッション情報をそれぞれ共通化して更新/設定するために、通信遅延/通信遅延復旧の高速検出および高速対応が可能となる。 According to the present invention, when there are a plurality of sessions connected to the same counterpart communication device, in order to update / set the session information of the RTT value and / or the congestion window value in common, the communication delay / communication High-speed detection and high-speed response for delay recovery are possible.
また、新規セッションは既存のセッションが使用してきたネットワークリソース(通信パケット量)を使用することが可能となり、新規セッションの通信を高速で開始することができる。 In addition, the new session can use the network resources (communication packet amount) used by the existing session, and communication of the new session can be started at high speed.
さらに、サービス毎に1セッションで使用する輻輳ウインドウ値を算出することで、サービス品質QoSを組み込んだ輻輳ウインドウ制御により優先通信制御を行うこともできる。 Furthermore, by calculating the congestion window value used in one session for each service, priority communication control can be performed by congestion window control incorporating service quality QoS.
図1は、本発明の第1実施形態によるネットワーク通信制御を概念的に説明する概略的なネットワーク構成図である。ここでは、説明を簡単にするために、通信装置1と通信装置2とがネットワーク3により接続され、これら装置間に複数のセッションS1〜SNが存続しているものとする。なお、ネットワーク3は通信装置1および2の間を接続するものであり、複数のネットワークが介在していてもよい。本発明によれば、これらセッションS1〜SNの各々のRTT値および輻輳ウインドウ値がそれぞれ共通化されることで、ネットワーク状態に高速対応することが可能となる。以下、詳述する。
FIG. 1 is a schematic network configuration diagram conceptually illustrating network communication control according to the first embodiment of the present invention. Here, in order to simplify the description, it is assumed that the
図2は本実施形態によるネットワーク通信制御装置の概略的構成を示すブロック図である。ここでは図1における通信装置1の場合を例示している。
FIG. 2 is a block diagram showing a schematic configuration of the network communication control apparatus according to the present embodiment. Here, the case of the
図2において、ネットワーク通信制御装置は、通信管理部101、通信装置2へ向けたセッション管理部102、各セッションで測定されたRTTをモニタし、パケット受診間隔をモニタするRTTモニタ・ACK受信間隔モニタ103、再送タイマを管理するタイマ管理部104を含んでいる。セッション管理部102には、通信装置2と接続している複数のセッションS1〜SNごとに、セッション情報部102.1〜102.Nが設けられ、各セッション情報におけるRTT値および輻輳ウインドウ値が通信管理部101により設定/更新される。
In FIG. 2, the network communication control device includes a
通信管理部101は、通信先の通信装置(ここでは、通信装置2)が同一である場合、該当するセッション情報(ここではS1〜SN)全てに対して同時に設定/更新を行う。この通信制御について、ネットワーク3で通信遅延が発生し、そして復旧した場合を例示して説明する。
The
通信装置1および通信装置2の間のネットワーク3において通信遅延が発生すると、データパケットを送信してその確認応答パケットを受信するまでの時間が増大する。したがって、通信装置1のRTTモニタ103は、いくつかのセッションのRTT測定値が一様に増加する事態を検出する。RTTモニタ103によってこれらセッションでのRTT測定値の増加が検出されると、通信管理部101は、その増加を全てのセッション情報S1〜SNのRTT値に反映させる。すなわち、同じ通信装置2に接続している全てのセッションのRTT値を増加した値に更新する。これによって、全てのセッションに対して高速でRTT値の更新が可能となる。
When a communication delay occurs in the
その後、通信遅延が復旧すると、同様に、データパケットを送信してその確認応答パケットを受信したセッションでは、RTT測定値が一様に減少する。このRTT値の減少が検出されると、通信管理部101は、その減少を全てのセッション情報S1〜SNのRTT値に反映させる。このようにして、全てのセッションのRTT値を、ネットワーク状態に応じたRTT値に高速で更新することができる。
Thereafter, when the communication delay is recovered, similarly, the RTT measurement value decreases uniformly in the session in which the data packet is transmitted and the acknowledgment packet is received. When the decrease in the RTT value is detected, the
同様に、通信装置1および通信装置2の間のネットワーク3において通信遅延が発生し、その後回復した場合、送信したデータパケットに対して受信した確認応答パケットの受信間隔は、遅延発生に伴って送信時よりも長くなり、その後回復することで通常の長さに戻ることになる。ACK受信間隔モニタ103はこの受信間隔の変化が一様に発生することをモニタし、それによって通信管理部101は、RTTの場合と同様に、輻輳ウインドウ値を全てのセッションについて更新する。これによって、全てのセッションの輻輳ウインドウ値を、ネットワーク状態に応じた値に高速で更新することができる。
Similarly, when a communication delay occurs in the
また、通信装置1および2の間で複数のセッションS1〜SNが接続されている状態で、通信装置2への新たなセッションS(N+1)が発生すると、この新たなセッションS(N+1)の輻輳ウインドウ値CWNDNEWは、次の式により算出され、その値が関連する全てのセッションセッションS1〜SNに反映される。
Further, when a new session S (N + 1) to the
CWNDNEW=(SESNOW×CWNDNOW)/(SESNOW+1)
ここで、SESNOWは通信装置2への現在のセッション数、CWNDNOWは現在設定されている輻輳ウインドウ値である。したがって、(SESNOW×CWNDNOW)は、現在の通信装置1と通信装置2との間のネットワークトラフィック量を表す。
CWND NEW = (SES NOW x CWND NOW ) / (SES NOW +1)
Here, SES NOW is the current number of sessions to the
上記計算式により新たなセッションの輻輳ウインドウ値が求められ、それが他のセッションに反映されることで、通信装置間のパケット量を増加させることなく、新規セッションの高速通信が可能になる。その際、既存のセッションの輻輳ウインドウ値は減少するが、既存のセッションの輻輳ウインドウ値は限界輻輳ウインドウとスロースタート閾値の間の揺らぎ値となっているために、減少による通信速度への影響は少ない。 The congestion window value of a new session is obtained by the above formula and is reflected in other sessions, so that high-speed communication of a new session is possible without increasing the amount of packets between communication devices. At that time, the congestion window value of the existing session decreases, but the congestion window value of the existing session is a fluctuation value between the limit congestion window and the slow start threshold value. Few.
(他の実施形態)
次に、本発明の他の実施形態について説明する。本実施形態では、サービス品質(QoS)を組み込むことで輻輳ウインドウを制御する優先制御通信が可能となる。すなわち、サービスの1セッションで使用する輻輳ウインドウ値CWNDQOSXNEWは、次の式により算出され、その値が関連する当該サービスの全てのセッションに反映される。
(Other embodiments)
Next, another embodiment of the present invention will be described. In the present embodiment, priority control communication for controlling a congestion window can be performed by incorporating quality of service (QoS). That is, the congestion window value CWND QOS X NEW used in one session of the service is calculated by the following formula, and the value is reflected in all the sessions of the related service.
CWNDQOSXNEW=T×POINTQOS×PS
ここで、
Tは通信装置間のパケット量であり、
T=Σ(CWNDNOW×SESNOW)
で計算される。すなわち、(CWNDNOW-S×SESNOW-S)はサービスごとのパケット量であり、現輻輳ウインドウ値CWNDNOW-Sと現セッション数SESNOW-Sとの積で求められ、Σはその結果を全ての
サービスで合計することを表し、それによって通信装置間のパケット量Tが算出される。
CWND QOS X NEW = T × POINT QOS × P S
here,
T is the amount of packets between communication devices,
T = Σ (CWND NOW x SES NOW )
Calculated by That is, (CWND NOW-S × SES NOW-S ) is the packet amount for each service, and is obtained by multiplying the current congestion window value CWND NOW-S and the current session number SES NOW-S, and Σ is the result. This represents the total for all services, whereby the packet amount T between communication devices is calculated.
POINTQOSは1ポリシー当たりの割合値であり、
POINTQOS=1/Σ(PS×SESNOW-S)
で計算される。PSはサービスのポリシー値、SESNOW-Sはセッション数であり、ポリシー値とセッション数との積を全てのサービスで合計し、その結果の逆数を1ポリシー当たりの割合値とする。
POINT QOS is a percentage value per policy.
POINT QOS = 1 / Σ (P S × SES NOW-S)
Calculated by P S is the policy value of the service, SES NOW-S is the number of sessions, the product of the policy value and the number of sessions is totaled for all services, and the reciprocal of the result is the ratio value per policy.
図3は、本発明の他の実施形態によるネットワーク通信制御方法の輻輳ウインドウの設定値の一例を示す図である。ここでは、サービスとしてWeb、Mail、TELNETおよびFTPの4種類があり、それぞれにポリシー値PS、セッション数SESNOW-Sが示されている。この状態で、通信装置間のパケット量T=2000とした場合、Webサービスの新規輻輳ウインドウ値は、次のように計算される。 FIG. 3 is a diagram illustrating an example of a setting value of a congestion window in a network communication control method according to another embodiment of the present invention. Here, there are four types of services, Web, Mail, TELNET, and FTP, and the policy value P S and the number of sessions SES NOW-S are shown respectively. In this state, when the packet amount T between communication devices is set to 2000, the new congestion window value of the Web service is calculated as follows.
T=2000、
POINTQOS=1/(4×4+3×2+2×1+1×1)=0.04
ゆえに、CWNDQOSXNEW=2000×0.04×4=320。
T = 2000,
POINT QOS = 1 / (4 × 4 + 3 × 2 + 2 × 1 + 1 × 1) = 0.04
Therefore, CWND QOS X NEW = 2000 × 0.04 × 4 = 320.
これは、接続したセッション数で平均化した輻輳ウインドウ値よりも高い値であり、したがって、優先的にWeb通信を行うことが可能となる。こうして、本発明を使用したQoS制御を実施することができる。 This is a value higher than the congestion window value averaged by the number of connected sessions, and therefore it is possible to perform Web communication preferentially. In this way, QoS control using the present invention can be implemented.
1,2 通信装置
3 ネットワーク
101 通信管理部
102 セッション管理部
103 RTTモニタ・ACK受信間隔モニタ
104 タイマ管理部
1, 2
Claims (5)
前記複数セッションの各々で検出されるネットワーク状態を検出し、
前記複数セッション内の部分的セッションで前記ネットワーク状態の変化を検出すると、前記複数セッション全てのセッション情報に当該ネットワーク状態変化を反映する、
ことを特徴とする通信制御方法。 In a communication control method in a network system in which communication devices are connected by a plurality of sessions through a network,
Detecting a network state detected in each of the plurality of sessions;
When a change in the network state is detected in a partial session within the plurality of sessions, the change in the network state is reflected in session information of all the plurality of sessions.
A communication control method characterized by the above.
CWNDNEW=(SESNOW×CWNDNOW)/(SESNOW+1)
(ここで、SESNOWは相手先の通信装置への現在のセッション数、CWNDNOWは現在設定されている輻輳ウインドウ値である。)
により計算され、
前記新たな輻輳ウインドウ値CWNDNEWが既存の前記複数セッション全てのセッション情報に反映する、
ことを特徴とする請求項2に記載の通信制御方法。 When a new session is connected, the congestion window value CWND NEW of the new session is
CWND NEW = (SES NOW x CWND NOW ) / (SES NOW +1)
(Here, SES NOW is the current number of sessions to the communication device of the other party, and CWND NOW is the congestion window value currently set.)
Calculated by
The new congestion window value CWND NEW is reflected in the session information of all the existing multiple sessions.
The communication control method according to claim 2.
CWNDQOSXNEW=T×POINTQOS×PS
(ここで、Tは通信装置間のパケット量であり、T=Σ(CWNDNOW×SESNOW)で計算され、C
WNDNOW-Sは現輻輳ウインドウ値、SESNOW-Sは現セッション数であり、Σはサービスごとのパケッ
ト量(CWNDNOW-S×SESNOW-S)を全てのサービスで合計することを表し、
POINTQOSは1ポリシー当たりの割合値であり、POINTQOS=1/Σ(PS×SESNOW-S)
で計算され、PSはサービスのポリシー値、SESNOW-Sはセッション数である。)
により算出され、
前記新たな輻輳ウインドウ値CWNDQOSXNEWが前記複数セッション全てのセッション情報に反映する、
ことを特徴とする請求項2に記載の通信制御方法。 The congestion window value CWND QOS X NEW used in one session of service is
CWND QOS X NEW = T × POINT QOS × P S
(Where T is the amount of packets between communication devices, calculated by T = Σ (CWND NOW × SES NOW ), and C
WND NOW-S is the current congestion window value, SES NOW-S is the current number of sessions, and Σ is the sum of the packet amount for each service (CWND NOW-S × SES NOW-S ) for all services,
POINT QOS is a ratio value per policy, and POINT QOS = 1 / Σ (P S × SES NOW-S )
Where P S is the service policy value and SES NOW-S is the number of sessions. )
Calculated by
The new congestion window value CWND QOS X NEW is reflected in the session information of all the plurality of sessions.
The communication control method according to claim 2.
前記複数セッションの各々で検出されるネットワーク状態を検出する検出手段と、
前記複数セッション内の部分的セッションで前記ネットワーク状態の変化を検出すると、前記複数セッション全てのセッション情報に当該ネットワーク状態変化を反映する通信管理手段と、
を有することを特徴とする通信制御装置。
In a communication control device in a network system in which communication devices are connected by a plurality of sessions through a network,
Detecting means for detecting a network state detected in each of the plurality of sessions;
When detecting a change in the network state in a partial session within the plurality of sessions, communication management means for reflecting the network state change in the session information of all the plurality of sessions;
A communication control apparatus comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004059987A JP2005252638A (en) | 2004-03-04 | 2004-03-04 | Network communication control method and apparatus thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004059987A JP2005252638A (en) | 2004-03-04 | 2004-03-04 | Network communication control method and apparatus thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005252638A true JP2005252638A (en) | 2005-09-15 |
Family
ID=35032715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004059987A Pending JP2005252638A (en) | 2004-03-04 | 2004-03-04 | Network communication control method and apparatus thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005252638A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015068381A1 (en) * | 2013-11-05 | 2015-05-14 | 日本電気株式会社 | Transmission device, reception device, information processing system, master server, slave server, database system, data transfer method, and storage medium |
-
2004
- 2004-03-04 JP JP2004059987A patent/JP2005252638A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015068381A1 (en) * | 2013-11-05 | 2015-05-14 | 日本電気株式会社 | Transmission device, reception device, information processing system, master server, slave server, database system, data transfer method, and storage medium |
JPWO2015068381A1 (en) * | 2013-11-05 | 2017-03-09 | 日本電気株式会社 | Transmitting apparatus, information processing system, master server, database system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4632874B2 (en) | Communication terminal | |
US6535482B1 (en) | Congestion notification from router | |
JP3789120B2 (en) | RTT measurement method for receiving side in TCP | |
Bohacek et al. | A new TCP for persistent packet reordering | |
JP4778453B2 (en) | Communication terminal, congestion control method, and congestion control program | |
US7869365B2 (en) | System and program storage device for controlling data packet flows by manipulating data packets according to an actual manipulation rate | |
KR100918731B1 (en) | Method of controlling a queue buffer | |
Parsa et al. | Improving TCP congestion control over internets with heterogeneous transmission media | |
US6625118B1 (en) | Receiver based congestion control | |
JP4738594B2 (en) | Data flow control method and apparatus | |
US8036112B2 (en) | System and method for transmission control protocol (TCP) transmission rate control | |
JP5867188B2 (en) | Information processing apparatus, congestion control method, and congestion control program | |
US20040037223A1 (en) | Edge-to-edge traffic control for the internet | |
JP2008507204A (en) | How to manage inter-zone bandwidth in a two-way messaging network | |
US11533656B2 (en) | Method of traffic and congestion control for a network with quality of service | |
EP0955749A1 (en) | Receiver based congestion control and congestion notification from router | |
JP2008259164A (en) | Communication terminal, communication control method, and communication control program | |
Pu et al. | Enhancements on router-assisted congestion control for wireless networks | |
JP2005252638A (en) | Network communication control method and apparatus thereof | |
Psaras et al. | CA-RTO: a contention-adaptive retransmission timeout | |
JP2003046555A (en) | Band supervisory device | |
Bajeja et al. | Performance evaluation of traditional TCP variants in wireless multihop networks | |
JP2893398B1 (en) | Congestion control method | |
Peng et al. | Fast backward congestion notification mechanism for TCP congestion control | |
Jaiswal et al. | A comparative performance analysis of TCP congestion control algorithm: elastic TCP vs. e-Elastic TCP |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070206 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090122 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090415 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20090812 |