JPH10210107A - Communication controlling method - Google Patents

Communication controlling method

Info

Publication number
JPH10210107A
JPH10210107A JP9013816A JP1381697A JPH10210107A JP H10210107 A JPH10210107 A JP H10210107A JP 9013816 A JP9013816 A JP 9013816A JP 1381697 A JP1381697 A JP 1381697A JP H10210107 A JPH10210107 A JP H10210107A
Authority
JP
Japan
Prior art keywords
round trip
time
trip time
buffer
receiving
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
JP9013816A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kimiyama
博之 君山
Kazuhiro Yoshida
和広 吉田
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP9013816A priority Critical patent/JPH10210107A/en
Publication of JPH10210107A publication Critical patent/JPH10210107A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication controlling method which maintains a communication speed that is needed by an application even when the delay time of a network becomes long. SOLUTION: A transmitter records a round trip time to a receiver, derives the next round trip time by using the recorded round trip time, decides a receiving buffer size based on the derived round trip time and notifies the receiver of the decided buffer size. In such cases, a sending time is recorded together with the round trip time at the time recording it, and the next round trip can be derived by using the round trip time and the sending time. Furthermore, while the receiver responds to the transmitter for sending back, an expandable buffer memory amount of the receiver is written at the point of time and sent back to the transmitter.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、インターネット等
のコネクションレス通信網上に、リアルタイムに受信再
生が必要な高品質の映像或いは音声等の情報を送受信す
るマルチメディア通信システムの通信制御方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control method for a multimedia communication system for transmitting and receiving high-quality information such as video or audio that needs to be received and reproduced in real time over a connectionless communication network such as the Internet.

【0002】従来のマルチメディア通信システムの場
合、ネットワークが混み始めると、途中のルーター或い
はブリッジ等のバッファ中にデータが溜まって来るため
データの送信に遅延が起こり始める。また、逆にネット
ワークが空くとデータの遅延時間が短くなる。このよう
に、ネットワークの遅延時間は時々刻々と変化する。
In the case of a conventional multimedia communication system, when the network starts to be crowded, data is accumulated in a buffer such as a router or a bridge on the way, so that a delay occurs in data transmission. Conversely, when the network is free, the data delay time is reduced. As described above, the delay time of the network changes every moment.

【0003】この場合、従来は、受信側に予め大きなバ
ッファを用意してネットワークが混雑した場合でも途切
れなく再生出来るようにし、逆にネットワークが空いた
時にバッファが溢れないように応答を返し送信を止める
フロー制御をかける方法が用いられている。
[0003] In this case, conventionally, a large buffer is prepared in advance on the receiving side so that the data can be reproduced without interruption even when the network is congested. A method of applying flow control to stop is used.

【0004】このような従来のフロー制御を使用してレ
ート制御を行った場合、ネットワークの遅延時間が大き
くなった時に応答が送信側に戻って来るまでの時間が長
くなり、次のデータの送信が遅れてしまう。そのため、
アプリケーションが必要としている通信速度が出ないと
いう事態が生ずる。また、そのような状態にならないた
めに、従来は可能な限りの大きなバッファを用意してい
たが、ハイビジョン等の高品質の映像を送受信すること
を考えると数十メガバイトのバッファを通信のためだけ
に用意しなければならない。
When the rate control is performed using such conventional flow control, when the delay time of the network increases, the time required for the response to return to the transmission side becomes longer, and the next data transmission is performed. Is delayed. for that reason,
A situation occurs in which the communication speed required by the application cannot be obtained. In order to avoid such a situation, a buffer as large as possible has been prepared in the past, but considering transmission and reception of high-quality video such as HDTV, a buffer of several tens of megabytes is only used for communication. Must be prepared.

【0005】[0005]

【発明が解決しようとする課題】本発明の目的は、ネッ
トワークの遅延時間が大きくなった場合でも、必要最小
限のバッファを用いてアプリケーションが必要とする通
信速度を維持出来るようにする通信制御方法を提供する
ことにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a communication control method capable of maintaining a communication speed required by an application by using a minimum necessary buffer even when a network delay time increases. Is to provide.

【0006】[0006]

【課題を解決するための手段】本発明の通信制御方法
は、上述の目的を達成するため、送信装置でラウンドト
リップ時間(送信装置から受信装置に対してデータを送
信してから該データに対する応答が受信装置から返って
来るまでの時間)を記録する段階と、記録されたラウン
ドトリップ時間を用いて次のラウンドトリップ時間を導
出する段階と、導出されたラウンドトリップ時間を基に
受信用のバッファサイズを決定する段階と、その決定さ
れたバッファサイズを受信装置に通知する段階とを含む
ことを特徴とする。
According to the communication control method of the present invention, in order to achieve the above object, a round trip time (a data transmission from a transmission device to a reception device and a response Recording the time until it returns from the receiving device), deriving the next round trip time using the recorded round trip time, and a receiving buffer based on the derived round trip time. The method further comprises a step of determining the size and a step of notifying the receiving apparatus of the determined buffer size.

【0007】このような本発明の通信制御方法によれ
ば、受信側のバッファを溢れさせないために受信側でデ
ータをバッファ分受け取ると必ず確認応答を送信側に返
し、送信側ではラウンドトリップ時間を過去数回分だけ
通信先毎或いはコネクション毎に記録しておき、その記
録を基に次の遅延時間を予測し、その予測遅延時間が長
くなった場合で、且つ、アプリケーションが要求してい
る通信速度を確保できない場合には、受信側にバッファ
拡大の要求を送信し、受信バッファを拡大させ、受信確
認応答の数を減らすようにして同じ通信速度を保つよう
にする。
According to the communication control method of the present invention, in order to prevent the buffer on the receiving side from overflowing, the receiving side always returns an acknowledgment to the transmitting side when receiving data for the buffer, and the transmitting side sets the round trip time. Record for the past several times for each communication destination or connection, predict the next delay time based on the record, and if the predicted delay time is long, and the communication speed requested by the application If it is not possible to secure the same communication speed, a buffer expansion request is transmitted to the receiving side, the reception buffer is expanded, and the number of reception acknowledgments is reduced to maintain the same communication speed.

【0008】この場合、本発明においては、ラウンドト
リップ時間を記録する際にこれと共に送信時刻を記録
し、ラウンドトリップ時間と送信時刻とを用いて次のラ
ウンドトリップ時間を導出するようにすることができ
る。このようにすれば、ラウンドトリップ時間を送信時
刻の関数と見做して直前の数回分の値から関数関係を導
出し、これを外挿してより正確な次のラウンドトリップ
時間を導出することができる。
In this case, in the present invention, when recording the round trip time, the transmission time is recorded together with the round trip time, and the next round trip time is derived using the round trip time and the transmission time. it can. In this way, the round trip time can be regarded as a function of the transmission time, and a functional relationship can be derived from the values of the last several times, and extrapolated to derive a more accurate next round trip time. it can.

【0009】本発明においては、更に、受信装置が送信
装置に返送する応答中に、その時点における受信装置の
拡張可能なバッファメモリー量を書込み、送信装置に返
送することができる。送信側は送受信を開始する際にそ
の時の受信側のバッファ量に関する情報を得ることがで
きるが、ここに述べたようにその後の変化に関する情報
を得るようにすれば、送信側で、時々刻々と変化する受
信側での利用可能バッファ量が正確に分かるようにな
り、特に複数の端末と通信する場合に、受信側のバッフ
ァメモリーを効率よく使用できるようになる。
Further, in the present invention, during the response returned by the receiving device to the transmitting device, the amount of buffer memory that can be expanded at the time of the receiving device can be written and returned to the transmitting device. The transmitting side can obtain information on the buffer amount of the receiving side at the time of starting transmission / reception, but if the information on subsequent changes is obtained as described here, the transmitting side can momentarily The change in the available buffer amount on the receiving side can be accurately known, and the buffer memory on the receiving side can be used efficiently especially when communicating with a plurality of terminals.

【0010】このような本発明の通信制御方法を用いる
ことにより、ネットワーク遅延時間が変化した場合でも
通信速度を落とすことなく通信することができる。ま
た、過去数回分のラウンドトリップ時間から予測するこ
とにより、WWWのような一時的なトラヒックの増加に
よる遅延時間の増加が起こった場合でも、ネットワーク
遅延量を正しく見積もることができる。
By using the communication control method of the present invention, communication can be performed without lowering the communication speed even when the network delay time changes. Further, by estimating from the past several round trip times, even when the delay time increases due to a temporary increase in traffic such as WWW, the network delay amount can be correctly estimated.

【0011】[0011]

【発明の実施の形態】次に図面を用いて本発明の実施例
を説明する。図1に、先ず、一般的な通信システムの例
を示す。送信装置10では、アプリケーションから受取っ
たデータを送信用バッファ11に一旦蓄積し、パケット化
して、ネットワーク30を介して受信装置20に送信する。
受信装置20では、送信装置10から受信したデータを一旦
受信バッファ21に蓄積し、これが一杯になると受信アプ
リケーションにデータを渡し、送信装置10に応答を返送
する。送信装置10の時間データ格納用メモリー12に、送
信した時刻(送信時刻)とラウンドトリップ時間が格納
される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows an example of a general communication system. The transmission device 10 temporarily stores the data received from the application in the transmission buffer 11, packetizes the data, and transmits the packet to the reception device 20 via the network 30.
The receiving device 20 temporarily stores the data received from the transmitting device 10 in the receiving buffer 21, and when the data is full, passes the data to the receiving application and returns a response to the transmitting device 10. The transmission time (transmission time) and the round trip time are stored in the time data storage memory 12 of the transmission device 10.

【0012】図2は、本発明による送信装置及び受信装
置の処理の概要を説明するフローチャートである。送信
装置10では、先ず、データを送信する前に、これから送
信するデータに対するラウンドトリップ時間を計算す
る。その計算方法としては、例えば直前に観測されたラ
ウンドトリップ時間T2 とその1回前に観測されたラウ
ンドトリップ時間T1 とから、直前に観測されたラウン
ドトリップ時間の差分T2 −T1 を直前に観測されたラ
ウンドトリップ時間T2 に加えて、次のラウンドトリッ
プ時間を2T2 −T1 とする方法、ラウンドトリップ時
間を送信時刻の関数と見做して直前の数回にわたって観
測されたラウンドトリップ時間と送信時刻とを基に、例
えば最小自乗法を用いて線形関数に置き換え、その関数
を外挿することによって次のラウンドトリップ時間の予
測値を求める方法等を使用することができる。
FIG. 2 is a flowchart for explaining the outline of the processing of the transmitting apparatus and the receiving apparatus according to the present invention. The transmitting apparatus 10 first calculates a round trip time for data to be transmitted before transmitting the data. As a calculation method, for example, a difference T2−T1 of a previously observed round trip time from a previously observed round trip time T2 and a previously measured round trip time T1 can be calculated immediately before. In addition to the round-trip time T2, the next round-trip time is set to 2T2 -T1, the round-trip time is regarded as a function of the transmission time, and the round-trip time and transmission time observed several times immediately before are considered. , A method of obtaining a predicted value of the next round trip time by extrapolating the function to a linear function using, for example, the least squares method can be used.

【0013】そして、このようにして求めたラウンドト
リップ時間と前回のものとを比較し、予測されたラウン
ドトリップ時間が更に長くなる場合は求められている通
信速度を出すためのバッファサイズを計算する。その結
果、バッファを拡張する必要がある場合は、次に送信す
るデータパケットに新しいバッファサイズを載せて受信
装置20に送信する。計算されたバッファサイズが直前の
応答に書かれているバッファサイズより大きい場合は、
アプリケーションに対して必要な速度が出ないことを通
知し、アプリケーション側で映像の圧縮率を上げる等の
処置を促す。その時の時刻を送信時刻として時間データ
格納用メモリー12に記録しておく。この後、以前に計算
したバッファサイズ分のデータパケットを送信する。
[0013] Then, the round trip time thus obtained is compared with the previous one, and if the predicted round trip time becomes longer, a buffer size for obtaining the required communication speed is calculated. . As a result, when it is necessary to extend the buffer, the data packet to be transmitted next is loaded with the new buffer size and transmitted to the receiving device 20. If the calculated buffer size is larger than the buffer size written in the previous response,
The application is notified that the required speed is not achieved, and the application is encouraged to take measures such as increasing the video compression ratio. The time at that time is recorded in the time data storage memory 12 as the transmission time. Thereafter, data packets of the previously calculated buffer size are transmitted.

【0014】また、逆にバッファを小さくできる場合
は、拡張する場合と同様に、送信するデータパケットに
新しいバッファサイズを載せて受信装置20に送信する。
受信装置20はデータパケットを受取ると、受信したデー
タパケットで指定されているバッファサイズに変更して
そのバッファサイズ分のデータパケットを受信した後、
送信装置10に対して応答を返送する。送信装置10が応答
を受取ると、最後に送出したデータパケットの送信時刻
と応答を受取った時刻とからラウンドトリップ時間を求
めて記録する。以上の手順を送信するデータがなくなる
まで繰り返す。
Conversely, if the buffer can be made smaller, the data packet to be transmitted is loaded with the new buffer size and transmitted to the receiving device 20, as in the case of expansion.
Upon receiving the data packet, the receiving device 20 changes the buffer size to the buffer size specified by the received data packet, and after receiving the data packet of the buffer size,
A response is returned to the transmitting device 10. When the transmission device 10 receives the response, it calculates and records a round trip time from the transmission time of the last transmitted data packet and the time at which the response was received. The above procedure is repeated until there is no more data to be transmitted.

【0015】[0015]

【発明の効果】従来、映像或いは音声の送信中にネット
ワークによる遅延が大きくなった時は、通信速度が落ち
ることによって途切れが生じていたが、本発明による通
信制御方法を用いれば、通信速度を落とさずに連続して
再生させることが可能になるという顕著な効果を奏す
る。
Conventionally, when a delay caused by a network during transmission of video or audio has been large, the communication speed has been interrupted due to a decrease in the communication speed. However, if the communication control method according to the present invention is used, the communication speed is reduced. This has a remarkable effect that continuous reproduction can be performed without dropping.

【図面の簡単な説明】[Brief description of the drawings]

【図1】一般的な通信システムの例を示す図である。FIG. 1 is a diagram illustrating an example of a general communication system.

【図2】本発明による送信装置及び受信装置の処理の概
要を説明するフローチャートである。
FIG. 2 is a flowchart illustrating an outline of processing of a transmitting device and a receiving device according to the present invention.

【符号の説明】[Explanation of symbols]

10 送信装置 11 送信用バッファ 12 時間データ格納用メモリー 20 受信装置 21 受信バッファ 30 ネットワーク REFERENCE SIGNS LIST 10 transmission device 11 transmission buffer 12 time data storage memory 20 reception device 21 reception buffer 30 network

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 送信装置でラウンドトリップ時間を記録
する段階と、記録されたラウンドトリップ時間を用いて
次のラウンドトリップ時間を導出する段階と、導出され
たラウンドトリップ時間を基に受信用のバッファサイズ
を決定する段階と、その決定されたバッファサイズを受
信装置に通知する段階とを含むことを特徴とする通信制
御方法。
1. A recording apparatus for recording a round trip time, a step of deriving a next round trip time using the recorded round trip time, and a receiving buffer based on the derived round trip time. A communication control method comprising: determining a size; and notifying the receiving device of the determined buffer size.
【請求項2】 送信装置でラウンドトリップ時間と共に
送信時刻を記録する段階と、ラウンドトリップ時間と送
信時刻とを用いて次のラウンドトリップ時間を導出する
段階と、導出されたラウンドトリップ時間を基に受信用
のバッファサイズを決定する段階と、その決定されたバ
ッファサイズを受信装置に通知する段階とを含むことを
特徴とする通信制御方法。
2. A step of recording a transmission time together with a round trip time in a transmitting apparatus, a step of deriving a next round trip time using the round trip time and the transmission time, and a step of deriving a round trip time based on the derived round trip time. A communication control method, comprising: determining a receiving buffer size; and notifying the receiving device of the determined buffer size.
【請求項3】 請求項1又は2に記載の通信制御方法に
おいて、更に、受信装置が送信装置に返送する応答中
に、その時点における受信装置の拡張可能なバッファメ
モリー量を書込み、送信装置に返送する段階を含むこと
を特徴とする通信制御方法。
3. The communication control method according to claim 1, further comprising: writing a scalable buffer memory amount of the receiving device at the time during the response returned by the receiving device to the transmitting device; A communication control method comprising a step of returning.
JP9013816A 1997-01-28 1997-01-28 Communication controlling method Pending JPH10210107A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9013816A JPH10210107A (en) 1997-01-28 1997-01-28 Communication controlling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9013816A JPH10210107A (en) 1997-01-28 1997-01-28 Communication controlling method

Publications (1)

Publication Number Publication Date
JPH10210107A true JPH10210107A (en) 1998-08-07

Family

ID=11843813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9013816A Pending JPH10210107A (en) 1997-01-28 1997-01-28 Communication controlling method

Country Status (1)

Country Link
JP (1) JPH10210107A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015156175A (en) * 2013-03-15 2015-08-27 株式会社リコー Distribution control system, distribution control method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015156175A (en) * 2013-03-15 2015-08-27 株式会社リコー Distribution control system, distribution control method, and program

Similar Documents

Publication Publication Date Title
US7606928B2 (en) Method and device for controlling receiver buffer fullness level in multimedia streaming
US8621061B2 (en) Adaptive bitrate management for streaming media over packet networks
JP4838273B2 (en) Adaptive media playback method and apparatus for intra-media synchronization
WO2020192152A1 (en) Video transmission method, root node, child node, p2p server, and system
JP2005503722A (en) Data communication method and system using reception of buffer size to calculate transmission rate for congestion control
US20080133744A1 (en) Multimedia data streaming server and method for dynamically changing amount of transmitting data in response to network bandwidth
US11812114B2 (en) Method and server for audio and/or video content delivery
CN111162971A (en) Time delay determination method and device
JP2007116204A (en) Data transmitter, data receiver and data transmitting/receiving method
US7123618B2 (en) Data transmitting apparatus and data receiving apparatus
CN101378356B (en) Method for playing real time stream medium
JPH10210107A (en) Communication controlling method
CN116233002A (en) Data packet sending method, receiving method, message sending method and product
JP2005348015A (en) Real time streaming data receiver
JP2003163691A (en) Data communication system, data transmitter, data receiver, method therefor and computer program
JP4596766B2 (en) MEDIA COMMUNICATION CONTROL METHOD, MEDIA COMMUNICATION CONTROL DEVICE, MEDIA PROVIDING SYSTEM, MEDIA COMMUNICATION CONTROL PROGRAM, AND STORAGE MEDIUM THEREOF
KR100986555B1 (en) Initial buffering time decision method and system for progressive multimedia streaming service
JPS6133487B2 (en)
KR100401227B1 (en) Multimedia Streaming Method
KR100648654B1 (en) Method for clientless rate control for streaming video and Apparatus thereof
CN115767143A (en) Method and device for judging playing card pause, electronic equipment and readable storage medium
JPH1168880A (en) Data communication equipment, method, system and storage medium
JP2000152136A (en) Video recording system
KR20050059801A (en) Control apparatus for packet transmission
JPH10322681A (en) Video information transmitting method