[go: up one dir, main page]

JP2005184580A - COMMUNICATION SYSTEM, INFORMATION PROCESSING DEVICE AND METHOD, PROGRAM, AND RECORDING MEDIUM - Google Patents

COMMUNICATION SYSTEM, INFORMATION PROCESSING DEVICE AND METHOD, PROGRAM, AND RECORDING MEDIUM Download PDF

Info

Publication number
JP2005184580A
JP2005184580A JP2003424061A JP2003424061A JP2005184580A JP 2005184580 A JP2005184580 A JP 2005184580A JP 2003424061 A JP2003424061 A JP 2003424061A JP 2003424061 A JP2003424061 A JP 2003424061A JP 2005184580 A JP2005184580 A JP 2005184580A
Authority
JP
Japan
Prior art keywords
time
buffer
packet
data
transmission
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
JP2003424061A
Other languages
Japanese (ja)
Inventor
Yasushi Mizuno
泰志 水野
Kenji Yamane
健治 山根
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2003424061A priority Critical patent/JP2005184580A/en
Publication of JP2005184580A publication Critical patent/JP2005184580A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

【課題】 受信側端末のバッファ時間を、ネットワークの環境に応じて最適に設定する。
【解決手段】 通信部21は、ストリーミングデータのパケットを送信してくる送信側端末との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する。コントローラ22は、測定パケットの往復時間に基づいて、バッファ時間を算出する。再生データバッファ部23は、送信側端末から送信されてきたパケットのストリーミングデータをバッファリングし、バッファ時間の経過後、バッファリングしているストリーミングデータの読み出しを開始する。本発明は、例えば、テレビ電話に適用することができる。
【選択図】図2
PROBLEM TO BE SOLVED: To optimally set a buffer time of a receiving side terminal according to a network environment.
A communication unit 21 transmits a measurement packet for measuring a round-trip time to and from a transmission-side terminal that transmits a packet of streaming data, and receives the measurement packet. The controller 22 calculates the buffer time based on the round trip time of the measurement packet. The reproduction data buffer unit 23 buffers the streaming data of the packet transmitted from the transmission side terminal, and starts reading the buffered streaming data after the buffer time has elapsed. The present invention can be applied to, for example, a videophone.
[Selection] Figure 2

Description

本発明は、通信システム、情報処理装置および方法、並びに、プログラムおよび記録媒体に関し、特に、受信装置において、適応的に適切なバッファ時間を設定することができる通信システム、情報処理装置および方法、並びに、プログラムおよび記録媒体に関する。   The present invention relates to a communication system, an information processing apparatus and method, a program, and a recording medium, and more particularly, to a communication system, an information processing apparatus and method capable of adaptively setting an appropriate buffer time in a receiving apparatus, and The present invention relates to a program and a recording medium.

昨今、インターネットなどのネットワークを介して、画像データまたは音声データを伝送して提供するサービスが一般に行われている。特に、近年、リアルタイムにデータを伝送する、ストリーム型の伝送方式のサービスが多く提供されている。   In recent years, services for transmitting and providing image data or audio data via a network such as the Internet are generally performed. In particular, in recent years, many stream-type transmission scheme services that transmit data in real time have been provided.

ストリーム型の伝送方式のサービスにおいては、送信装置は、カメラやマイクロフォンからの画像データや音声データを符号化処理の後、所定のデータ量を1つのパケットに格納して複数のパケットを作成する。送信装置は、そのパケットを、順次、ネットワークを介して受信装置に送信する。受信装置は、ネットワークを介して送信装置からのパケットを受信し、順次、復号処理を行い再生する。ストリーム型の伝送方式においては、送信装置がデータを順次送信し、受信装置が送信装置からのデータを順次再生することにより、受信装置において、画像や音声のリアルタイム再生を行うことが可能となる。ストリーム型の伝送方式は、例えば、インターネット電話、テレビ電話、遠隔テレビ会議、ライブ映像、またはビデオオンデマンドなどのインターネットサービスに利用されている。   In a stream-type transmission method service, a transmission apparatus encodes image data and audio data from a camera or a microphone, stores a predetermined amount of data in one packet, and creates a plurality of packets. The transmitting device sequentially transmits the packets to the receiving device via the network. The receiving device receives the packet from the transmitting device via the network, and sequentially performs decoding processing and reproduces it. In the stream-type transmission method, the transmission device sequentially transmits data, and the reception device sequentially reproduces data from the transmission device, whereby the reception device can perform real-time image and audio reproduction. The stream type transmission method is used for Internet services such as Internet telephone, videophone, remote video conference, live video, and video on demand.

ストリーム型の伝送方式において、送信装置から送信されてくるデータを、一般に、ストリーミングデータと称する。   In the stream type transmission method, data transmitted from a transmission device is generally referred to as streaming data.

ネットワークを伝送中に遅延が発生する場合、受信装置でのストリーミングデータの再生には、ゆらぎ(ジッタ)が生じる。また、ネットワークを伝送中に損失(ロス)が発生する場合、受信装置でのストリーミングデータの再生が途切れることになる   When a delay occurs during transmission through the network, fluctuation (jitter) occurs in the reproduction of streaming data at the receiving device. In addition, when a loss occurs during transmission over the network, playback of streaming data on the receiving device is interrupted.

このような再生のゆらぎや途切れを防止する方法として、受信装置において、送信装置から受信したストリーミングデータをある程度の時間だけバッファリングする方法がある。受信装置がストリーミングデータをバッファリングするバッファ時間は、例えば、ユーザが、ネットワーク環境に応じて適宜指定しなおすか、または、あらかじめ受信装置である程度大きな時間を指定しておくことで任意のネットワークに対応することができる。   As a method of preventing such playback fluctuations and interruptions, there is a method of buffering streaming data received from a transmitting apparatus for a certain amount of time in a receiving apparatus. The buffer time for buffering streaming data by the receiving device can be specified by the user as appropriate depending on the network environment, or by specifying a certain amount of time in advance at the receiving device. can do.

一方、例えば、送信装置が各受信装置のバッファ量を算出して受信装置に設定させる技術が、特許文献1に開示されている。   On the other hand, for example, Patent Literature 1 discloses a technique in which a transmission device calculates a buffer amount of each reception device and sets the reception device.

特開平10−229429号公報Japanese Patent Laid-Open No. 10-229429

しかしながら、上述のように、受信装置において、ユーザがある程度大きなバッファ時間を指定した場合、必要以上にバッファ時間を確保することとなり、ストリーミングデータの再生が開始されるまでの時間、即ち、遅延時間が増大するという課題があった。   However, as described above, in the receiving apparatus, when the user specifies a buffer time that is large to some extent, the buffer time is secured more than necessary, and the time until playback of streaming data is started, that is, the delay time. There was a problem of increasing.

一方、十分なバッファ時間を確保しない場合には、遅延時間は短くなるが、再生の揺らぎや途切れ、即ち、再生される画像や音声の品質の防止することが困難となる。   On the other hand, when a sufficient buffer time is not secured, the delay time is shortened, but it becomes difficult to prevent fluctuations or interruptions in reproduction, that is, quality of reproduced images and sounds.

例えば、インターネットのような伝送中にパケットのロスが発生するネットワークにおいては、ストリーミングデータの再生を低遅延で開始することと、そのストリーミングデータの品質を保証することとはトレードオフの関係にあり、ユーザが適切なバッファ時間を指定することは困難である。   For example, in a network in which packet loss occurs during transmission, such as the Internet, there is a trade-off between starting playback of streaming data with a low delay and ensuring the quality of the streaming data. It is difficult for the user to specify an appropriate buffer time.

また、送信装置が各受信装置のバッファ量を算出する場合、受信装置の接続数の増大に伴って、送信装置の処理のオーバヘッドが増大する。   Further, when the transmission device calculates the buffer amount of each reception device, the processing overhead of the transmission device increases as the number of connections of the reception device increases.

本発明はこのような状況に鑑みてなされたものであり、受信装置において、適応的に適切なバッファ時間を設定することを目的としている。   The present invention has been made in view of such a situation, and an object of the present invention is to adaptively set an appropriate buffer time in a receiving apparatus.

本発明の通信システムは、受信装置は、パケットが受信装置と送信装置との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する通信手段と、送信装置から送信されてくるデータをバッファリングするバッファ手段と、往復時間に基づいて、送信装置から送信されてくるデータをバッファ手段にバッファリングするバッファ時間を算出するバッファ時間算出手段と、バッファ手段によるデータのバッファリングの開始後、バッファ時間が経過してから、バッファ手段にバッファリングされているデータの読み出しを開始する読み出し手段とを備え、送信装置は、ネットワークを介して、受信装置からの測定パケットを受信して、その測定パケットを受信装置に送信する送信側通信手段を備えることを特徴とする。   In the communication system according to the present invention, the receiving device transmits a measurement packet for measuring a round trip time in which the packet reciprocates between the receiving device and the transmitting device, and receives the measurement packet, and the transmitting device. Buffer means for buffering data transmitted from the buffer, buffer time calculating means for calculating a buffer time for buffering data transmitted from the transmitting device to the buffer means based on the round trip time, and data by the buffer means And a reading means for starting reading of the data buffered in the buffer means after the buffer time has elapsed after the start of buffering, and the transmitting device receives a measurement packet from the receiving device via the network. And transmitting side communication means for transmitting the measurement packet to the receiving device. And butterflies.

本発明の情報処理装置は、パケットが送信装置との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する通信手段と、送信装置から送信されてくるデータをバッファリングするバッファ手段と、往復時間に基づいて、送信装置から送信されてくるデータをバッファ手段にバッファリングするバッファ時間を算出するバッファ時間算出手段と、バッファ手段によるデータのバッファリングの開始後、バッファ時間が経過してから、バッファ手段にバッファリングされているデータの読み出しを開始する読み出し手段とを備えることを特徴とする。   The information processing apparatus of the present invention transmits a measurement packet for measuring a round-trip time during which the packet reciprocates between the transmission apparatus and communication means for receiving the measurement packet, and data transmitted from the transmission apparatus Buffer means for buffering data, buffer time calculating means for calculating buffer time for buffering data transmitted from the transmission device in the buffer means based on the round-trip time, and after starting buffering of data by the buffer means And reading means for starting reading of the data buffered in the buffer means after the buffer time has elapsed.

データは、ストリーミングデータであっても良い。   The data may be streaming data.

通信手段には、2以上の測定パケットを送信装置に送信させ、バッファ時間算出手段には、その2以上の測定パケットの往復時間に基づいて、バッファ時間を算出させることができる。   The communication unit can cause the transmitter to transmit two or more measurement packets, and the buffer time calculation unit can calculate the buffer time based on the round trip time of the two or more measurement packets.

測定パケットは、その測定パケットに固有のID(Identification)を含み、通信手段には、IDに基づいて、2以上の測定パケットそれぞれを識別させることができる。   The measurement packet includes an ID (Identification) unique to the measurement packet, and the communication unit can identify each of two or more measurement packets based on the ID.

バッファ時間算出手段には、往復時間の変動分を考慮した、バッファ時間を算出させることができる。   The buffer time calculation means can calculate the buffer time in consideration of the fluctuation of the round trip time.

バッファ時間算出手段には、測定パケットがネットワークの往路および復路を伝送するのに要する往復遅延時間の変動分を考慮した、バッファ時間を算出させることができる。   The buffer time calculation means can calculate the buffer time in consideration of the fluctuation of the round-trip delay time required for the measurement packet to be transmitted on the forward and return paths of the network.

バッファ時間算出手段には、さらに、送信装置が測定パケットを受信して送信するまでに要する送信側処理時間の変動分をも考慮した、バッファ時間を算出させることができる。   Further, the buffer time calculation means can calculate the buffer time in consideration of the variation in the processing time on the transmission side required until the transmission apparatus receives and transmits the measurement packet.

本発明の情報処理方法は、パケットが送信装置との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する通信ステップと、送信装置から送信されてくるデータをバッファリングするバッファ手段に、データをバッファリングするバッファステップと、往復時間に基づいて、送信装置から送信されてくるデータをバッファ手段にバッファリングするバッファ時間を算出するバッファ時間算出ステップと、バッファ手段によるデータのバッファリングの開始後、バッファ時間が経過してから、バッファ手段にバッファリングされているデータの読み出しを開始する読み出しステップとを含むことを特徴とする。   The information processing method according to the present invention includes a communication step of transmitting a measurement packet for measuring a round trip time for a packet to and from the transmission device, and receiving the measurement packet; and data transmitted from the transmission device A buffer step for buffering data in a buffer means for buffering, a buffer time calculating step for calculating a buffer time for buffering data transmitted from the transmission device in the buffer means based on a round trip time, and a buffer And a reading step of starting reading of data buffered in the buffer means after a buffer time has elapsed after the start of data buffering by the means.

本発明のプログラムは、パケットが送信装置との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する通信ステップと、送信装置から送信されてくるデータをバッファリングするバッファ手段に、データをバッファリングするバッファステップと、往復時間に基づいて、送信装置から送信されてくるデータをバッファ手段にバッファリングするバッファ時間を算出するバッファ時間算出ステップと、バッファ手段によるデータのバッファリングの開始後、バッファ時間が経過してから、バッファ手段にバッファリングされているデータの読み出しを開始する読み出しステップとを含むことを特徴とする。   The program of the present invention transmits a measurement packet for measuring a round-trip time during which the packet reciprocates between the transmitter and a communication step of receiving the measurement packet, and buffers data transmitted from the transmitter A buffer step for buffering data in the buffer means for ringing, a buffer time calculating step for calculating a buffer time for buffering data transmitted from the transmission device in the buffer means based on the round trip time, and a buffer means And a reading step of starting reading of data buffered in the buffer means after a buffer time has elapsed after the start of buffering of data.

本発明の記録媒体には、パケットが送信装置との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する通信ステップと、送信装置から送信されてくるデータをバッファリングするバッファ手段に、データをバッファリングするバッファステップと、往復時間に基づいて、送信装置から送信されてくるデータをバッファ手段にバッファリングするバッファ時間を算出するバッファ時間算出ステップと、バッファ手段によるデータのバッファリングの開始後、バッファ時間が経過してから、バッファ手段にバッファリングされているデータの読み出しを開始する読み出しステップとを含むことを特徴とするプログラムが記録されている。   The recording medium of the present invention transmits a measurement packet for measuring the round-trip time during which the packet reciprocates between the transmission device and receives the measurement packet, and data transmitted from the transmission device A buffer step for buffering data in a buffer means for buffering, a buffer time calculating step for calculating a buffer time for buffering data transmitted from the transmission device in the buffer means based on a round trip time, and a buffer And a read step for starting reading of data buffered in the buffer means after a buffer time has elapsed after the start of data buffering by the means.

本発明の通信システムにおいては、受信装置が、パケットが受信装置と送信装置との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する。また、送信装置から送信されてくるデータをバッファリングする。さらに、往復時間に基づいて、送信装置から送信されてくるデータをバッファリングするバッファ時間を算出し、データのバッファリングの開始後、バッファ時間が経過してから、バッファリングされているデータの再生を開始する。また、送信装置は、ネットワークを介して、受信装置からの測定パケットを受信して、その測定パケットを受信装置に送信する。   In the communication system of the present invention, the receiving device transmits a measurement packet for measuring the round-trip time during which the packet reciprocates between the receiving device and the transmitting device, and receives the measurement packet. Also, the data transmitted from the transmission device is buffered. Furthermore, based on the round trip time, the buffer time for buffering the data transmitted from the transmission device is calculated, and after the buffer time has elapsed after the start of data buffering, the buffered data is reproduced. To start. Further, the transmission device receives the measurement packet from the reception device via the network and transmits the measurement packet to the reception device.

本発明の情報処理装置、情報処理方法、プログラムおよび記録媒体においては、パケットが送信装置との間を往復する往復時間を測定するための測定パケットが送信され、その測定パケットが受信される。また、送信装置から送信されてくるデータがバッファリングされる。さらに、往復時間に基づいて、送信装置から送信されてくるデータがバッファリングされるバッファ時間が算出され、データのバッファリングの開始後、バッファ時間が経過してから、バッファリングされているデータの再生が開始される。   In the information processing apparatus, the information processing method, the program, and the recording medium of the present invention, a measurement packet for measuring the round-trip time during which the packet reciprocates with the transmission apparatus is transmitted, and the measurement packet is received. In addition, data transmitted from the transmission device is buffered. Further, based on the round trip time, the buffer time for buffering the data transmitted from the transmission device is calculated, and after the buffer time has elapsed after the start of data buffering, the buffered data Playback starts.

本発明によれば、受信側において、適応的に適切なバッファ時間の設定を行うことができる。   According to the present invention, an appropriate buffer time can be adaptively set on the receiving side.

以下に本発明の最良の形態を説明するが、請求項に記載の構成要件と、発明の実施の形態における具体例との対応関係を例示すると次のようになる。この記載は、請求項に記載されている発明をサポートする具体例が、発明の実施の形態に記載されていることを確認するためのものである。従って、発明の実施の形態中には記載されているが、構成要件に対応するものとして、ここには記載されていない具体例があったとしても、そのことは、その具体例が、その構成要件に対応するものではないことを意味するものではない。逆に、具体例が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その具体例が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。   BEST MODE FOR CARRYING OUT THE INVENTION The best mode of the present invention will be described below. Correspondences between constituent features described in the claims and specific examples in the embodiments of the present invention are exemplified as follows. This description is to confirm that specific examples supporting the invention described in the claims are described in the embodiments of the invention. Therefore, even if there are specific examples that are described in the embodiment of the invention but are not described here as corresponding to the configuration requirements, the specific examples are not included in the configuration. It does not mean that it does not correspond to a requirement. On the contrary, even if a specific example is described here as corresponding to a configuration requirement, this means that the specific example does not correspond to a configuration requirement other than the configuration requirement. not.

さらに、この記載は、発明の実施の形態に記載されている具体例に対応する発明が、請求項にすべて記載されていることを意味するものではない。換言すれば、この記載は、発明の実施の形態に記載されている具体例に対応する発明であって、この出願の請求項には記載されていない発明の存在、すなわち、将来、分割されたり、補正により出現し、追加される発明の存在を否定するものではない。   Further, this description does not mean that all the inventions corresponding to the specific examples described in the embodiments of the invention are described in the claims. In other words, this description is an invention corresponding to the specific example described in the embodiment of the invention, and the existence of an invention not described in the claims of this application, that is, it may be divided in the future. It does not deny the existence of an invention which appears by amendment and is added.

請求項1に記載の通信システムは、
データをパケットで送信する送信装置とそのデータを受信する受信装置とがネットワークを介して接続される通信システムにおいて、
前記受信装置は、
前記パケットが前記受信装置と前記送信装置との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する通信手段(例えば、図2の通信部21)と、
前記送信装置から送信されてくるデータをバッファリングするバッファ手段(例えば、図2の再生データバッファ部23)と、
前記往復時間に基づいて、前記送信装置から送信されてくるデータを前記バッファ手段にバッファリングするバッファ時間を算出するバッファ時間算出手段(例えば、図2のバッファ時間算出部53)と、
前記バッファ手段による前記データのバッファリングの開始後、前記バッファ時間が経過してから、前記バッファ手段にバッファリングされているデータの読み出しを開始する読み出し手段(例えば、図2のコントローラ22)と
を備え、
前記送信装置は、
前記ネットワークを介して、前記受信装置からの前記測定パケットを受信して、その測定パケットを前記受信装置に送信する送信側通信手段(例えば、図3の通信部313)
を備える
ことを特徴とする。
The communication system according to claim 1 comprises:
In a communication system in which a transmitting device that transmits data in packets and a receiving device that receives the data are connected via a network,
The receiving device is:
A communication means (for example, the communication unit 21 in FIG. 2) that transmits a measurement packet for measuring a round-trip time during which the packet reciprocates between the reception device and the transmission device, and receives the measurement packet;
Buffer means for buffering data transmitted from the transmission device (for example, the reproduction data buffer unit 23 in FIG. 2);
Based on the round trip time, buffer time calculating means for calculating buffer time for buffering data transmitted from the transmitting device in the buffer means (for example, the buffer time calculating unit 53 in FIG. 2);
Read means (for example, the controller 22 in FIG. 2) that starts reading the data buffered in the buffer means after the buffer time has elapsed after the buffer means starts buffering the data. Prepared,
The transmitter is
A transmission-side communication means (for example, the communication unit 313 in FIG. 3) that receives the measurement packet from the reception device via the network and transmits the measurement packet to the reception device.
It is characterized by providing.

請求項2に記載の情報処理装置は、
データをパケットで送信する送信装置から、ネットワークを介して送信されてくるデータを受信する情報処理装置において、
前記パケットが前記送信装置との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する通信手段(例えば、図2の通信部21)と、
前記送信装置から送信されてくるデータをバッファリングするバッファ手段(例えば、図2の再生データバッファ部23)と、
前記往復時間に基づいて、前記送信装置から送信されてくるデータを前記バッファ手段にバッファリングするバッファ時間を算出するバッファ時間算出手段(例えば、図2のバッファ時間算出部53)と、
前記バッファ手段による前記データのバッファリングの開始後、前記バッファ時間が経過してから、前記バッファ手段にバッファリングされているデータの読み出しを開始する読み出し手段(例えば、図2のコントローラ22)と
を備えることを特徴とする。
The information processing apparatus according to claim 2
In an information processing apparatus that receives data transmitted via a network from a transmission apparatus that transmits data in packets,
A communication means (for example, the communication unit 21 in FIG. 2) that transmits a measurement packet for measuring a round-trip time during which the packet reciprocates between the transmission device and receives the measurement packet;
Buffer means for buffering data transmitted from the transmission device (for example, the reproduction data buffer unit 23 in FIG. 2);
Based on the round trip time, buffer time calculating means for calculating buffer time for buffering data transmitted from the transmitting device in the buffer means (for example, the buffer time calculating unit 53 in FIG. 2);
Read means (for example, the controller 22 in FIG. 2) that starts reading the data buffered in the buffer means after the buffer time has elapsed after the buffer means starts buffering the data. It is characterized by providing.

請求項9に記載の情報処理方法は、
ネットワークを介して、データをパケットで送信する送信装置から送信されてくるデータを受信する情報処理装置の情報処理方法において、
前記パケットが前記送信装置との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する通信ステップ(例えば、図10のステップS103およびS104の処理)と、
前記送信装置から送信されてくるデータをバッファリングするバッファ手段に、前記データをバッファリングするバッファステップ(例えば、図10のステップS109の処理)と、
前記往復時間に基づいて、前記送信装置から送信されてくるデータを前記バッファ手段にバッファリングするバッファ時間を算出するバッファ時間算出ステップ(例えば、図10のステップS107の処理)と、
前記バッファ手段による前記データのバッファリングの開始後、前記バッファ時間が経過してから、前記バッファ手段にバッファリングされているデータの読み出しを開始する読み出しステップ(例えば、図10のステップS111の処理)と
を含むことを特徴とする。
The information processing method according to claim 9 comprises:
In an information processing method of an information processing apparatus that receives data transmitted from a transmission apparatus that transmits data in a packet via a network,
A communication step (for example, processing in steps S103 and S104 in FIG. 10) for transmitting a measurement packet for measuring a round trip time for the packet to and from the transmitting device and receiving the measurement packet;
A buffer step for buffering the data to the buffer means for buffering the data transmitted from the transmission device (for example, the process of step S109 in FIG. 10);
A buffer time calculating step for calculating a buffer time for buffering data transmitted from the transmitting device in the buffer means based on the round-trip time (for example, the process of step S107 in FIG. 10);
A read step (for example, the process of step S111 in FIG. 10) that starts reading the data buffered in the buffer means after the buffer time has elapsed after the buffer means starts buffering the data. It is characterized by including and.

請求項10に記載のプログラムは、
ネットワークを介して、データをパケットで送信する送信装置から送信されてくるデータを受信する処理をコンピュータに行わせるプログラムであって、
前記パケットが前記送信装置との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する通信ステップ(例えば、図10のステップS103およびS104の処理)と、
前記送信装置から送信されてくるデータをバッファリングするバッファ手段に、前記データをバッファリングするバッファステップ(例えば、図10のステップS109の処理)と、
前記往復時間に基づいて、前記送信装置から送信されてくるデータを前記バッファ手段にバッファリングするバッファ時間を算出するバッファ時間算出ステップ(例えば、図10のステップS107の処理)と、
前記バッファ手段による前記データのバッファリングの開始後、前記バッファ時間が経過してから、前記バッファ手段にバッファリングされているデータの読み出しを開始する読み出しステップ(例えば、図10のステップS111の処理)と
を含むことを特徴とする。
The program according to claim 10 is:
A program for causing a computer to perform processing for receiving data transmitted from a transmission device that transmits data in packets via a network,
A communication step (for example, processing in steps S103 and S104 in FIG. 10) for transmitting a measurement packet for measuring a round trip time for the packet to and from the transmitting device and receiving the measurement packet;
A buffer step for buffering the data to the buffer means for buffering the data transmitted from the transmission device (for example, the process of step S109 in FIG. 10);
A buffer time calculating step for calculating a buffer time for buffering data transmitted from the transmitting device in the buffer means based on the round-trip time (for example, the process of step S107 in FIG. 10);
A read step (for example, the process of step S111 in FIG. 10) that starts reading the data buffered in the buffer means after the buffer time has elapsed after the buffer means starts buffering the data. It is characterized by including and.

請求項11に記載の記録媒体に記録されているプログラムの各ステップと実施の形態との対応関係は、請求項10に記載のプログラムと同様である。   The correspondence relationship between each step of the program recorded on the recording medium according to claim 11 and the embodiment is the same as that of the program according to claim 10.

以下、図を参照して、本発明の実施の形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明を適用した通信システムの一実施の形態の構成例を示している。   FIG. 1 shows a configuration example of an embodiment of a communication system to which the present invention is applied.

ネットワーク1は、インターネットなどからなる伝送路である。なお、ネットワーク1は、有線または無線のいずれであってもよく、さらに、有線と無線とが混在したものであっても良い。   The network 1 is a transmission path including the Internet. The network 1 may be either wired or wireless, and may be a mixture of wired and wireless.

図1Aでは、ネットワーク1を介して、ストリーミングデータを受信する1つの受信側端末10とストリーミングデータを送信する1つの送信側端末301とが接続して、1対1の通信システムを構成している。このような、1対1の通信システムで伝送されるストリーミングデータとしては、例えば、インターネット電話やテレビ電話などがある。   In FIG. 1A, one receiving-side terminal 10 that receives streaming data and one transmitting-side terminal 301 that transmits streaming data are connected via a network 1 to form a one-to-one communication system. . Examples of streaming data transmitted by such a one-to-one communication system include an Internet phone and a video phone.

図1Bでは、ネットワーク1を介して、ストリーミングデータを受信する受信側端末10、受信側端末11およびその他の図示せぬ1以上の受信側端末と、ストリーミングデータを送信する1つの送信側端末301とが接続して、1対多の通信システムを構成している。   In FIG. 1B, a receiving terminal 10 that receives streaming data, a receiving terminal 11 and one or more other receiving terminals (not shown) via a network 1, and one transmitting terminal 301 that transmits streaming data Are connected to form a one-to-many communication system.

ネットワーク1がインターネットなどの公衆回線網である場合、図1Bに示すような1対多の通信システムが構成される。このような、1対多の通信システムで伝送されるストリーミングデータとしては、例えば、遠隔テレビ会議映像やライブ映像などがある。   When the network 1 is a public line network such as the Internet, a one-to-many communication system as shown in FIG. 1B is configured. Examples of streaming data transmitted in such a one-to-many communication system include remote video conference video and live video.

図2は、受信側端末10の構成例を示している。   FIG. 2 shows a configuration example of the receiving terminal 10.

受信側端末10は、通信部21、コントローラ22、再生データバッファ部23、デコード処理部24、および出力部25で構成される。また、コントローラ22は、パケット作成部51、時刻計測部52、バッファ時間算出部53、およびパケットロス検出時間保持部54で構成される。受信側端末10は、送信側端末301からのストリーミングデータを受信し、モニタ31およびスピーカ32に出力する。   The receiving terminal 10 includes a communication unit 21, a controller 22, a reproduction data buffer unit 23, a decoding processing unit 24, and an output unit 25. The controller 22 includes a packet creation unit 51, a time measurement unit 52, a buffer time calculation unit 53, and a packet loss detection time holding unit 54. The receiving side terminal 10 receives the streaming data from the transmitting side terminal 301 and outputs it to the monitor 31 and the speaker 32.

通信部21は、ネットワーク1を介して、パケット作成部51が作成するパケットを送信する。パケット作成部51が作成するパケットとしては、受信側端末10と送信側端末301との間をパケットが往復する往復時間を測定するための往復遅延測定パケットがある。また、パケット作成部51が作成するパケットとしては、ストリーミングデータの再送を要求するための再送要求パケットがある。通信部21は、往復遅延測定パケットや再送要求パケットを、ネットワーク1を介して送信側端末301に送信する。また、通信部21は、ネットワーク1を介して送信側端末301から送信されてくる往復遅延測定パケットやストリーミングデータが格納されたパケットを受信し、解析する。   The communication unit 21 transmits a packet created by the packet creation unit 51 via the network 1. The packet created by the packet creation unit 51 includes a round-trip delay measurement packet for measuring a round-trip time during which the packet travels back and forth between the reception-side terminal 10 and the transmission-side terminal 301. The packet created by the packet creation unit 51 includes a retransmission request packet for requesting retransmission of streaming data. The communication unit 21 transmits a round trip delay measurement packet and a retransmission request packet to the transmission side terminal 301 via the network 1. Further, the communication unit 21 receives and analyzes a round-trip delay measurement packet transmitted from the transmission-side terminal 301 via the network 1 and a packet storing streaming data.

通信部21は、往復遅延測定パケットを受信したとき、往復遅延測定パケットを受信した旨をコントローラ22に通知し、さらに、その往復遅延測定パケットに格納されている時刻のデータをコントローラ22に出力する。また、通信部21は、ストリーミングデータが格納されたパケットを受信したとき、そのパケットに格納されているストリーミングデータを、再生データバッファ部23に供給する。さらに、通信部21は、ストリーミングデータを再生データバッファ部23に供給を開始した旨をコントローラ22に通知する。   When the communication unit 21 receives the round trip delay measurement packet, the communication unit 21 notifies the controller 22 that the round trip delay measurement packet has been received, and further outputs the time data stored in the round trip delay measurement packet to the controller 22. . Further, when the communication unit 21 receives a packet in which streaming data is stored, the communication unit 21 supplies the streaming data stored in the packet to the reproduction data buffer unit 23. Further, the communication unit 21 notifies the controller 22 that the supply of streaming data to the reproduction data buffer unit 23 has started.

また、通信部21は、パケットのロスを監視する。通信部21は、ロスを検出した場合、コントローラ22にその旨を通知する。   The communication unit 21 monitors packet loss. When the communication unit 21 detects a loss, the communication unit 21 notifies the controller 22 accordingly.

コントローラ22は、パケット作成部51、時刻計時部52、バッファ時間算出部53、およびパケットロス検出時間保持部54を内蔵し、受信側端末10が送受信するパケットを制御する。即ち、パケット作成部51は、往復遅延測定パケットや再送要求パケットを作成する。コントローラ22は、通信部21からロスを検出した旨の通知を受けた場合、そのロスしたパケットの再送を要求する再送要求パケットをパケット作成部51で作成して、通信部21に供給する。また、コントローラ22は、ユーザの指示などにより、ネットワーク1を介して送信側端末301と接続する場合、往復遅延測定パケットをパケット作成部51で作成して、通信部21に供給する。   The controller 22 includes a packet creation unit 51, a time counting unit 52, a buffer time calculation unit 53, and a packet loss detection time holding unit 54, and controls packets transmitted and received by the receiving terminal 10. That is, the packet creation unit 51 creates a round trip delay measurement packet and a retransmission request packet. When the controller 22 receives notification from the communication unit 21 that a loss has been detected, the controller 22 creates a retransmission request packet for requesting retransmission of the lost packet, and supplies the packet to the communication unit 21. Further, the controller 22 creates a round trip delay measurement packet by the packet creation unit 51 and supplies the round trip delay measurement packet to the communication unit 21 when connecting to the transmission side terminal 301 via the network 1 according to a user instruction or the like.

時刻計時部52は、時刻を計時する。コントローラ22は、通信部21が往復遅延測定パケットを送信するとき、時刻計時部52が計時する時刻のデータを、往復遅延測定パケットのペイロードに格納し、あるいは自身の記憶領域に記憶する。また、コントローラ22は、通信部21が往復遅延測定パケットを受信したとき、時刻計時部52が計時する時刻のデータを、自身の記憶領域に記憶する。時刻計時部52が計時する時刻のデータは、例えば、64ビットのデータとする。   The time counter 52 measures time. When the communication unit 21 transmits the round-trip delay measurement packet, the controller 22 stores the data of the time counted by the time counting unit 52 in the payload of the round-trip delay measurement packet or in its own storage area. Further, when the communication unit 21 receives the round-trip delay measurement packet, the controller 22 stores the time data counted by the time counting unit 52 in its own storage area. The time data counted by the time counting unit 52 is, for example, 64-bit data.

バッファ時間算出部53は、送信側端末301から送信されてくるストリーミングデータを再生データバッファ部23にバッファリングする時間、バッファ時間を算出する。即ち、コントローラ22は、通信部21からの往復遅延測定パケットに格納されている時刻のデータと、自身の記憶領域に記憶している時刻のデータとを対応付けて、バッファ時間算出部53に供給する。バッファ時間算出部53は、コントローラ22からの時刻のデータを用いてバッファ時間を算出する。   The buffer time calculation unit 53 calculates the buffering time and the time for buffering the streaming data transmitted from the transmission side terminal 301 in the reproduction data buffer unit 23. That is, the controller 22 associates the time data stored in the round-trip delay measurement packet from the communication unit 21 with the time data stored in its own storage area, and supplies the data to the buffer time calculation unit 53. To do. The buffer time calculation unit 53 calculates the buffer time using the time data from the controller 22.

パケットロス検出時間保持部54は、通信部21がパケットのロスを検出するまでのロス検出時間αを記憶する。パケットロス検出時間保持部54は、ロス検出時間αをバッファ時間算出部53に供給する。バッファ時間算出部53は、パケットロス検出時間保持部54からのロス検出時間αをも用いてバッファ時間を算出する。   The packet loss detection time holding unit 54 stores a loss detection time α until the communication unit 21 detects a packet loss. The packet loss detection time holding unit 54 supplies the loss detection time α to the buffer time calculation unit 53. The buffer time calculation unit 53 also calculates the buffer time using the loss detection time α from the packet loss detection time holding unit 54.

コントローラ22は、通信部21からストリーミングデータを再生データバッファ部23に供給を開始した旨を取得してから、バッファ時間算出部53が算出したバッファ時間が経過した後、再生データバッファ部23にバッファリングされているストリーミングデータを読み出してデコード処理部24に出力させ、その再生を開始させる。   The controller 22 acquires that the streaming data is started to be supplied to the reproduction data buffer unit 23 from the communication unit 21, and then buffers the reproduction data buffer unit 23 after the buffer time calculated by the buffer time calculation unit 53 has elapsed. The ringed streaming data is read out and output to the decoding processing unit 24, and the reproduction is started.

デコード処理部24は、再生データバッファ部23からのストリーミングデータを受信して、復号処理を行って出力部25に供給する。出力部25は、デコード処理部24からのストリーミングデータを取得し、モニタ31またはスピーカ32に出力する。   The decode processing unit 24 receives streaming data from the reproduction data buffer unit 23, performs a decoding process, and supplies it to the output unit 25. The output unit 25 acquires the streaming data from the decode processing unit 24 and outputs it to the monitor 31 or the speaker 32.

図3は、送信側端末301の構成例を示している。   FIG. 3 shows a configuration example of the transmission side terminal 301.

送信側端末301は、データキャプチャ部311、エンコード処理部312、通信部313、コントローラ314、および出力データバッファ部315で構成される。また、コントローラ314は、時刻を計時する時刻計測部341を含んで構成される。   The transmission side terminal 301 includes a data capture unit 311, an encoding processing unit 312, a communication unit 313, a controller 314, and an output data buffer unit 315. The controller 314 includes a time measuring unit 341 that measures time.

カメラ308は、例えば、動画像を撮像して、動画像に対応する画像データを送信側端末301に供給する。また、マイクロフォン309は、音声を集音して、集音した音声に対応する音声データを送信側端末301に供給する。画像データや音声データは、ストリーミングデータの一例である。ストリーミングデータとしては、画像データや音声データの他、例えば、リアルタイム制御データ等の時間の経過に対応して順次送信または受信が要求されるデータがある。   For example, the camera 308 captures a moving image and supplies image data corresponding to the moving image to the transmission-side terminal 301. The microphone 309 collects sound and supplies sound data corresponding to the collected sound to the transmitting terminal 301. Image data and audio data are examples of streaming data. As streaming data, there is data such as real-time control data and the like that are sequentially requested to be transmitted or received in accordance with the passage of time, in addition to image data and audio data.

データキャプチャ部311は、カメラ308からの画像データおよびマイクロフォン309からの音声データを取得し、所定の時間の間隔でキャプチャする。データキャプチャ部311は、画像データや音声データをキャプチャすることによりパーソナルコンピュータなどが扱うことが可能なデジタルデータに変換して、エンコード処理部312に出力する。エンコード処理部312は、データキャプチャ部311からの画像データや音声データを符号化する。また、エンコード処理部312は、符号化した画像データや音声データを、ストリーミングデータを送信するための所定の方式のパケットに格納して、通信部313に出力する。   The data capture unit 311 acquires image data from the camera 308 and audio data from the microphone 309 and captures them at predetermined time intervals. The data capture unit 311 captures image data and audio data, converts them into digital data that can be handled by a personal computer or the like, and outputs the digital data to the encoding processing unit 312. The encoding processing unit 312 encodes image data and audio data from the data capture unit 311. The encoding processing unit 312 stores the encoded image data and audio data in a packet of a predetermined method for transmitting streaming data, and outputs the packet to the communication unit 313.

通信部313は、エンコード処理部312からのストリーミングデータが格納されているパケットを、ネットワーク1を介して送信する。通信部313は、このパケットのコピーを、出力データバッファ部315にバッファリングさせる。さらに、通信部313は、受信側端末10からの再送要求パケットを受信する。通信部313は、再送要求パケットを受信した場合、その再送要求パケットによって要求されたパケットを、出力データバッファ部315から読み出し、ネットワーク1を介して受信側端末10に送信する。   The communication unit 313 transmits the packet storing the streaming data from the encoding processing unit 312 via the network 1. The communication unit 313 causes the output data buffer unit 315 to buffer the copy of the packet. Further, the communication unit 313 receives a retransmission request packet from the receiving terminal 10. When the communication unit 313 receives the retransmission request packet, the communication unit 313 reads the packet requested by the retransmission request packet from the output data buffer unit 315 and transmits the packet to the receiving terminal 10 via the network 1.

また、通信部313は、ネットワーク1を介して受信側端末10からの往復遅延測定パケットを受信する。通信部313は、往復遅延測定パケットを受信した場合、その往復遅延測定パケットをコントローラ314に供給する。さらに、通信部313は、コントローラ314からの往復遅延測定パケットを処理し、ネットワーク1を介して、その処理後の往復遅延測定パケットを送信してきた受信側端末10に送信(返信)する。   In addition, the communication unit 313 receives a round trip delay measurement packet from the receiving terminal 10 via the network 1. When the communication unit 313 receives the round trip delay measurement packet, the communication unit 313 supplies the round trip delay measurement packet to the controller 314. Further, the communication unit 313 processes the round-trip delay measurement packet from the controller 314 and transmits (replies) the round-trip delay measurement packet after processing to the receiving terminal 10 that has transmitted the processed round-trip delay measurement packet.

コントローラ314は、時刻計時部341を含む。コントローラ314は、通信部313が往復遅延測定パケットを受信したときの、時刻計時部341が計時する時刻のデータを、その往復遅延測定パケットのペイロードに格納し、あるいは、自身の記憶領域に記憶する。また、コントローラ314は、通信部313に往復遅延測定パケットを送信させるときの、時刻計時部341が計時する時刻のデータを、その往復遅延測定パケットのペイロードに格納することもできる。時刻計測部341が計時する時刻のデータは、例えば64ビットのデータとする。   The controller 314 includes a time counter 341. The controller 314 stores the data of the time measured by the time measuring unit 341 when the communication unit 313 receives the round trip delay measurement packet in the payload of the round trip delay measurement packet or stores it in its own storage area. . In addition, the controller 314 can store the data of the time measured by the time measuring unit 341 when the communication unit 313 transmits the round trip delay measurement packet in the payload of the round trip delay measurement packet. The time data counted by the time measuring unit 341 is, for example, 64-bit data.

なお、後述するように、コントローラ314は、通信部313が往復遅延測定パケットを受信した時刻と、通信部313がその往復遅延測定パケットを送信する時刻との差、即ち、送信側処理時間を算出して、その送信側処理時間のデータを、往復遅延測定パケットに格納する。   As will be described later, the controller 314 calculates the difference between the time when the communication unit 313 receives the round trip delay measurement packet and the time when the communication unit 313 transmits the round trip delay measurement packet, that is, the transmission side processing time. Then, the data on the transmission side processing time is stored in the round trip delay measurement packet.

出力データバッファ部315は、通信部313からのストリーミングデータが格納されているパケットをバッファリングする。また、出力データバッファ部315は、通信部313からのパケットの要求に応答し、要求されたストリーミングデータが格納されているパケットを通信部313に出力する。   The output data buffer unit 315 buffers packets in which streaming data from the communication unit 313 is stored. The output data buffer unit 315 outputs a packet storing the requested streaming data to the communication unit 313 in response to the packet request from the communication unit 313.

以上のように構成される受信側端末10と送信側端末301とでは、受信側端末10が、送信側端末301に対してストリーミングデータを要求し、送信側端末301は、その要求に応じて、ストリーミングデータが格納されたパケットを送信する。   In the reception side terminal 10 and the transmission side terminal 301 configured as described above, the reception side terminal 10 requests streaming data from the transmission side terminal 301, and the transmission side terminal 301 responds to the request, A packet storing streaming data is transmitted.

受信側端末10の通信部21は、送信側端末301からのストリーミングデータが格納されたパケットの受信を開始し、そのパケットに格納されているストリーミングデータを再生データバッファ部23に出力する。再生データバッファ部23は、ストリーミングデータのバッファリングを開始した後、バッファ時間が経過するまで、そのストリーミングデータをバッファリングする。そして、再生データバッファ部23は、バッファ時間が経過すると、バッファリングしているストリーミングデータの読み出しを開始し、デコード処理部24へ出力する。   The communication unit 21 of the reception side terminal 10 starts receiving the packet storing the streaming data from the transmission side terminal 301 and outputs the streaming data stored in the packet to the reproduction data buffer unit 23. The reproduction data buffer unit 23 buffers the streaming data after starting buffering of the streaming data until the buffer time elapses. Then, when the buffer time has elapsed, the reproduction data buffer unit 23 starts reading the buffered streaming data and outputs it to the decoding processing unit 24.

また、通信部21は、ストリーミングデータが格納されたパケットのロスを検出した場合、送信側端末301に再送要求パケットを送信する。通信部313は、受信側端末10からの再送要求パケットを受信した場合、要求されたパケットを出力データバッファ部315から読み出し、ネットワーク1を介してそのパケットを再送する。通信部21は、送信側端末301から再送されたパケットを受信して、そのパケットに格納されているストリーミングデータを、再生データバッファ部23にバッファされているストリーミングデータに追加することにより補填する。   In addition, when the communication unit 21 detects a loss of a packet in which streaming data is stored, the communication unit 21 transmits a retransmission request packet to the transmission side terminal 301. When the communication unit 313 receives a retransmission request packet from the receiving terminal 10, the communication unit 313 reads the requested packet from the output data buffer unit 315 and retransmits the packet via the network 1. The communication unit 21 receives the packet retransmitted from the transmission side terminal 301 and compensates the streaming data stored in the packet by adding it to the streaming data buffered in the reproduction data buffer unit 23.

なお、再生データバッファ部23は、再送されたストリーミングデータが補填される時刻が、そのストリーミングデータを出力する時刻(ストリーミングデータの再生時刻)を過ぎている場合、そのストリーミングデータを破棄する。   Note that the playback data buffer unit 23 discards the streaming data when the time at which the retransmitted streaming data is filled has passed the time at which the streaming data is output (the playback time of the streaming data).

次に、受信側端末10と送信側端末301との間での往復遅延測定パケットの送受信について、図4を参照して説明する。   Next, transmission / reception of a round-trip delay measurement packet between the receiving terminal 10 and the transmitting terminal 301 will be described with reference to FIG.

受信側端末10の通信部21は、ネットワーク1を介して送信側端末301に往復遅延測定パケットを送信する。受信側端末10による往復遅延測定パケットの送信時刻を、受信側パケット送信時刻T1と記述する。   The communication unit 21 of the receiving terminal 10 transmits the round trip delay measurement packet to the transmitting terminal 301 via the network 1. The transmission time of the round trip delay measurement packet by the reception side terminal 10 is described as reception side packet transmission time T1.

送信側端末301の通信部313は、ネットワーク1を介して受信側端末10が送信したパケットを受信する。この往復遅延測定パケットの受信時刻を、送信側パケット受信時刻T2と記述する。   The communication unit 313 of the transmission side terminal 301 receives a packet transmitted from the reception side terminal 10 via the network 1. The reception time of this round trip delay measurement packet is described as a transmission side packet reception time T2.

送信側端末301のコントローラ314は、受信側端末10から受信した往復遅延測定パケットを処理し、その処理後の往復遅延測定パケットを、通信部313を制御することにより、ネットワーク1を介して受信側端末10に送信させる。この往復遅延測定パケットの送信時刻を、送信側パケット送信時刻T3と記述する。   The controller 314 of the transmission-side terminal 301 processes the round-trip delay measurement packet received from the reception-side terminal 10, and controls the communication unit 313 to process the round-trip delay measurement packet after the processing via the network 1. Transmit to the terminal 10. The transmission time of this round trip delay measurement packet is described as a transmission side packet transmission time T3.

受信側端末10の通信部21は、ネットワーク1を介して送信側端末301からの往復遅延測定パケットを受信する。この往復遅延測定パケットの受信時刻を、受信側パケット受信時刻T4と記述する。   The communication unit 21 of the receiving terminal 10 receives the round trip delay measurement packet from the transmitting terminal 301 via the network 1. The reception time of this round-trip delay measurement packet is described as reception-side packet reception time T4.

また、送信側端末301が受信側端末10からの往復遅延測定パケットを受信してから、その往復遅延測定パケットを処理して送信するまでに要する時間、即ち、送信側パケット送信時刻T3と送信側パケット受信時刻T2との差を、送信側処理時間(T3−T2)と記述する。   Also, the time required for the transmission side terminal 301 to process and transmit the round trip delay measurement packet after receiving the round trip delay measurement packet from the reception side terminal 10, that is, the transmission side packet transmission time T3 and the transmission side The difference from the packet reception time T2 is described as a transmission side processing time (T3-T2).

次に、往復遅延測定パケットのフォーマットについて説明する。   Next, the format of the round trip delay measurement packet will be described.

図5は、往復遅延測定パケットの第1のフォーマットを説明するための図である。   FIG. 5 is a diagram for explaining a first format of the round-trip delay measurement packet.

図5に示す往復遅延測定パケットは、例えば、UDP(User Datagram Protocol)パケットであり、64ビットの受信側パケット送信時刻T1を格納するためのペイロード、64ビットの送信側パケット受信時刻T2を格納するためのペイロード、および64ビットの送信側パケット送信時刻T3を格納するためのペイロードを含む。   The round trip delay measurement packet shown in FIG. 5 is, for example, a UDP (User Datagram Protocol) packet, and stores a payload for storing a 64-bit reception side packet transmission time T1, and a 64-bit transmission side packet reception time T2. And a payload for storing a 64-bit transmission side packet transmission time T3.

受信側端末10のコントローラ22は、受信側パケット送信時刻T1を格納するためのペイロードに、往復遅延測定パケットを送信するときに時刻計測部52が計時する受信側パケット送信時刻T1を格納する。また、送信側端末301のコントローラ314は、送信側パケット受信時刻T2を格納するためのペイロードに、往復遅延測定パケットを受信したときに時刻計測部341が計時する送信側パケット受信時刻T2を格納する。コントローラ314は、送信側パケット受信時刻T3を格納するためのペイロードに、往復遅延測定パケットを送信するときに時刻計測部341が計時する送信側パケット受信時刻T3を格納する。   The controller 22 of the reception-side terminal 10 stores the reception-side packet transmission time T1 that is measured by the time measuring unit 52 when transmitting the round-trip delay measurement packet in the payload for storing the reception-side packet transmission time T1. In addition, the controller 314 of the transmission side terminal 301 stores, in the payload for storing the transmission side packet reception time T2, the transmission side packet reception time T2 that is timed by the time measuring unit 341 when the round trip delay measurement packet is received. . The controller 314 stores, in the payload for storing the transmission side packet reception time T3, the transmission side packet reception time T3 that the time measuring unit 341 measures when transmitting the round trip delay measurement packet.

図6は、往復遅延測定パケットの第2のフォーマットを説明するための図である。   FIG. 6 is a diagram for explaining a second format of the round trip delay measurement packet.

図6に示す往復遅延測定パケットは、例えば、UDPパケットであり、64ビットの受信側パケット送信時刻T1を格納するためのペイロード、64ビットの送信側処理時間(T3−T2)を格納するためのペイロードを含む。   The round-trip delay measurement packet shown in FIG. 6 is, for example, a UDP packet, and stores a payload for storing a 64-bit reception side packet transmission time T1, and a 64-bit transmission side processing time (T3-T2). Includes payload.

送信側端末301のコントローラ314は、送信側パケット受信時刻T2と送信側パケット送信時刻T3との差の時間である送信側処理時間(T3−T2)を算出して、図6の往復遅延測定パケットの(T3−T2)を格納するためのペイロードに格納する。   The controller 314 of the transmission side terminal 301 calculates a transmission side processing time (T3−T2) that is a time difference between the transmission side packet reception time T2 and the transmission side packet transmission time T3, and the round trip delay measurement packet of FIG. Of (T3-T2) in the payload.

即ち、図6の往復遅延測定パケットにおいては、図5の往復遅延測定パケットに格納される送信側パケット受信時刻T2および送信側パケット受信時刻T3に代えて、送信側処理時間(T3−T2)が格納される。   That is, in the round trip delay measurement packet of FIG. 6, instead of the transmission side packet reception time T2 and the transmission side packet reception time T3 stored in the round trip delay measurement packet of FIG. Stored.

図7は、往復遅延測定パケットの第3のフォーマットを説明するための図である。また、図8は、往復遅延測定パケットの第4のフォーマットを説明するための図である。   FIG. 7 is a diagram for explaining a third format of the round trip delay measurement packet. FIG. 8 is a diagram for explaining a fourth format of the round trip delay measurement packet.

図7および図8に示す往復遅延測定パケットは、受信側パケット送信時刻T1を格納するためのペイロードに換わり、32ビットのIDを格納するためのペイロードを含む。図7および図8に示す、特に、IDを格納するためのペイロードを含む往復遅延測定パケットを、以下、適宜、ID付き往復遅延測定パケットと記述する。   The round trip delay measurement packet shown in FIGS. 7 and 8 includes a payload for storing a 32-bit ID in place of the payload for storing the reception side packet transmission time T1. The round trip delay measurement packet including the payload for storing the ID shown in FIG. 7 and FIG. 8 is hereinafter appropriately referred to as a round trip delay measurement packet with ID.

受信側端末10において、ID付き往復遅延パケットを送信する場合、コントローラ22は、ID付き往復遅延測定パケットのIDを格納するためのペイロードに、ID付き往復遅延測定パケットに固有のIDを格納する。また、コントローラ22は、ID付き往復遅延測定パケットを送信するときに時刻計測部52が計時する受信側パケット送信時刻T1を認識し、図9のIDリストに示すように、IDと受信側パケット送信時刻T1とを対応付けて記憶する。   When transmitting the round trip delay packet with ID in the receiving side terminal 10, the controller 22 stores the ID unique to the round trip delay measurement packet with ID in the payload for storing the ID of the round trip delay measurement packet with ID. Further, the controller 22 recognizes the reception side packet transmission time T1 timed by the time measuring unit 52 when transmitting the round trip delay measurement packet with ID, and as shown in the ID list of FIG. The time T1 is stored in association with each other.

図7に示すID付き往復遅延パケットにおいては、図5に示す往復遅延測定パケットと同様に、送信側端末301のコントローラ314は、送信側パケット受信時刻T2を格納するためのペイロードに、送信側パケット受信時刻T2を格納する。さらに、コントローラ314は、送信側パケット送信時刻T3を格納するためのペイロードに、送信側パケット送信時刻T3を格納する。   In the round trip delay packet with ID shown in FIG. 7, as in the round trip delay measurement packet shown in FIG. 5, the controller 314 of the transmission side terminal 301 includes the transmission side packet in the payload for storing the transmission side packet reception time T2. The reception time T2 is stored. Further, the controller 314 stores the transmission side packet transmission time T3 in the payload for storing the transmission side packet transmission time T3.

図8に示すID付き往復遅延パケットにおいては、図6に示す往復遅延測定パケットと同様に、送信側端末301のコントローラ314は、送信側処理時間(T3−T2)を格納するためのペイロードに、送信側処理時間(T3−T2)を算出して格納する。   In the round-trip delay packet with ID shown in FIG. 8, the controller 314 of the transmission-side terminal 301, in the payload for storing the transmission-side processing time (T3-T2), as in the round-trip delay measurement packet shown in FIG. The transmission side processing time (T3-T2) is calculated and stored.

ここで、受信側端末10のバッファ時間算出部53は、後述するように、複数の往復遅延測定パケットを送信して、バッファ時間を算出することができるが、この場合、複数の往復遅延測定パケットそれぞれが、受信側端末10と送信側端末301との間で送受信された時刻を認識する必要がある。   Here, the buffer time calculation unit 53 of the receiving terminal 10 can calculate the buffer time by transmitting a plurality of round trip delay measurement packets, as will be described later. Each needs to recognize the time transmitted and received between the receiving terminal 10 and the transmitting terminal 301.

即ち、受信側端末10と送信側端末301との間で、図5に示した往復遅延測定パケットが送受信される場合、コントローラ22は、通信部21で受信された送信側端末301からの往復遅延測定パケットのペイロードに格納されている受信側パケット送信時刻T1、送信側パケット受信時刻T2、および送信側パケット送信時刻T3を取得し、バッファ時間算出部53に供給する。また、コントローラ22は、通信部21が送信側端末301からの往復遅延測定パケットを受信したときの受信側パケット受信時刻T4を自身の記憶領域に記憶し、バッファ時間算出部53に供給する。バッファ時間算出部53は、以上のようにして、コントローラ22から供給される受信側パケット送信時刻T1、送信側パケット受信時刻T2、送信側パケット受信時刻T3、および受信側パケット受信時刻T4を、同一の往復遅延測定パケットの受信側パケット送信時刻T1、送信側パケット受信時刻T2、送信側パケット受信時刻T3、および受信側パケット受信時刻T4として認識する。   That is, when the round trip delay measurement packet shown in FIG. 5 is transmitted and received between the receiving side terminal 10 and the transmitting side terminal 301, the controller 22 receives the round trip delay from the transmitting side terminal 301 received by the communication unit 21. The reception side packet transmission time T1, the transmission side packet reception time T2, and the transmission side packet transmission time T3 stored in the payload of the measurement packet are acquired and supplied to the buffer time calculation unit 53. In addition, the controller 22 stores the reception side packet reception time T4 when the communication unit 21 receives the round trip delay measurement packet from the transmission side terminal 301 in its own storage area, and supplies it to the buffer time calculation unit 53. As described above, the buffer time calculation unit 53 makes the reception side packet transmission time T1, the transmission side packet reception time T2, the transmission side packet reception time T3, and the reception side packet reception time T4 supplied from the controller 22 the same. Are recognized as a reception side packet transmission time T1, a transmission side packet reception time T2, a transmission side packet reception time T3, and a reception side packet reception time T4.

受信側端末10と送信側端末301との間で、図6に示した往復遅延測定パケットが送受信される場合、コントローラ22は、通信部21で受信された送信側端末301からの往復遅延測定パケットのペイロードに格納されている受信側パケット送信時刻T1と送信側処理時間(T3−T2)とを取得し、バッファ時間算出部53に供給する。また、コントローラ22は、通信部21が送信側端末301からの往復遅延測定パケットを受信したときの受信側パケット受信時刻T4を自身の記憶領域に記憶し、バッファ時間算出部53に供給する。バッファ時間算出部53は、以上のようにしてコントローラ22から供給される受信側パケット送信時刻T1、送信側処理時間(T3−T2)、および受信側パケット受信時刻T4を、同一の往復遅延測定パケットの受信側パケット送信時刻T1、送信側処理時間(T3−T2)、および受信側パケット受信時刻T4として認識する。   When the round trip delay measurement packet shown in FIG. 6 is transmitted and received between the reception side terminal 10 and the transmission side terminal 301, the controller 22 receives the round trip delay measurement packet from the transmission side terminal 301 received by the communication unit 21. The reception side packet transmission time T1 and the transmission side processing time (T3-T2) stored in the payload are acquired and supplied to the buffer time calculation unit 53. In addition, the controller 22 stores the reception side packet reception time T4 when the communication unit 21 receives the round trip delay measurement packet from the transmission side terminal 301 in its own storage area, and supplies it to the buffer time calculation unit 53. The buffer time calculation unit 53 uses the same round trip delay measurement packet for the reception side packet transmission time T1, the transmission side processing time (T3-T2), and the reception side packet reception time T4 supplied from the controller 22 as described above. Are recognized as a reception side packet transmission time T1, a transmission side processing time (T3-T2), and a reception side packet reception time T4.

受信側端末10と送信側端末301との間で、図7に示したID付き往復遅延測定パケットが送受信される場合、コントローラ22は、そのID付き往復遅延測定パケットを送信するときの受信側パケット送信時刻T1と、そのID付き往復遅延測定パケットのペイロードに格納されているIDとを対応付けてIDリスト(図9)に記憶する。その後、コントローラ22は、通信部21で受信された送信側端末301からのID付き往復遅延測定パケットのペイロードに格納されているID、送信側パケット受信時刻T2、および送信側パケット送信時刻T3を取得し、その送信側パケット受信時刻T2および送信側パケット送信時刻T3を、ID付き往復遅延測定パケットのIDに対応付けて記憶する。さらに、コントローラ22は、通信部21が送信側端末301からのID付き往復遅延測定パケットを受信したときの受信側パケット受信時刻T4を、そのID付き往復遅延測定パケットのIDに対応付けて自身の記憶領域に記憶する。そして、コントローラ22は、同一のIDに対応付けて記憶している受信側パケット送信時刻T1、送信側パケット受信時刻T2、送信側パケット受信時刻T3、および受信側パケット受信時刻T4を、バッファ時間算出部53に供給する。バッファ時間算出部53は、以上のようにして、コントローラ22から供給される受信側パケット送信時刻T1、送信側パケット受信時刻T2、送信側パケット受信時刻T3、および受信側パケット受信時刻T4を、同一のID付き往復遅延測定パケットの受信側パケット送信時刻T1、送信側パケット受信時刻T2、送信側パケット受信時刻T3、および受信側パケット受信時刻T4として認識する。   When the round trip delay measurement packet with ID shown in FIG. 7 is transmitted and received between the reception side terminal 10 and the transmission side terminal 301, the controller 22 receives the round trip delay measurement packet with ID when receiving the round trip delay measurement packet with ID. The transmission time T1 and the ID stored in the payload of the roundtrip delay measurement packet with ID are associated with each other and stored in the ID list (FIG. 9). Thereafter, the controller 22 obtains the ID, the transmission side packet reception time T2, and the transmission side packet transmission time T3 stored in the payload of the round trip delay measurement packet with ID received from the transmission side terminal 301 received by the communication unit 21. Then, the transmission side packet reception time T2 and the transmission side packet transmission time T3 are stored in association with the ID of the round trip delay measurement packet with ID. Further, the controller 22 associates the reception side packet reception time T4 when the communication unit 21 receives the round trip delay measurement packet with ID from the transmission side terminal 301 with the ID of the round trip delay measurement packet with ID. Store in the storage area. Then, the controller 22 calculates the buffer time for the reception side packet transmission time T1, the transmission side packet reception time T2, the transmission side packet reception time T3, and the reception side packet reception time T4 stored in association with the same ID. To the unit 53. As described above, the buffer time calculation unit 53 makes the reception side packet transmission time T1, the transmission side packet reception time T2, the transmission side packet reception time T3, and the reception side packet reception time T4 supplied from the controller 22 the same. Are recognized as a reception side packet transmission time T1, a transmission side packet reception time T2, a transmission side packet reception time T3, and a reception side packet reception time T4.

受信側端末10と送信側端末301との間で、図8に示したID付き往復遅延測定パケットが送受信される場合、コントローラ22は、そのID付き往復遅延測定パケットを送信するときの受信側パケット送信時刻T1と、そのID付き往復遅延測定パケットのペイロードに格納されているIDとを対応付けてIDリスト(図9)に記憶する。その後、コントローラ22は、通信部21で受信された送信側端末301からのID付き往復遅延測定パケットのペイロードに格納されているIDと送信側処理時間(T3−T2)とを取得し、その送信側処理時間(T3−T2)を、ID付き往復遅延測定パケットのIDに対応付けて記憶する。さらに、コントローラ22は、通信部21が送信側端末301からのID付き往復遅延測定パケットを受信したときの受信側パケット受信時刻T4を、そのID付き往復遅延測定パケットのIDに対応付けて自信の記憶領域に記憶する。そして、コントローラ22は、同一のIDに対応付けて記憶している受信側パケット送信時刻T1、送信側処理時間(T3−T2)、および受信側パケット受信時刻T4を、バッファ時間算出部53に供給する。バッファ時間算出部53は、以上のようにしてコントローラ22から供給される受信側パケット送信時刻T1、送信側処理時間(T3−T2)、および受信側パケット受信時刻T4を、同一のID付き往復遅延測定パケットの受信側パケット送信時刻T1、送信側処理時間(T3−T2)、および受信側パケット受信時刻T4として認識する。   When the round trip delay measurement packet with ID shown in FIG. 8 is transmitted and received between the reception side terminal 10 and the transmission side terminal 301, the controller 22 receives the round trip delay measurement packet with ID when receiving the round trip delay measurement packet with ID. The transmission time T1 and the ID stored in the payload of the roundtrip delay measurement packet with ID are associated with each other and stored in the ID list (FIG. 9). Thereafter, the controller 22 acquires the ID and the transmission side processing time (T3-T2) stored in the payload of the round trip delay measurement packet with ID received from the transmission side terminal 301 received by the communication unit 21, and transmits the transmission. The side processing time (T3-T2) is stored in association with the ID of the round trip delay measurement packet with ID. Further, the controller 22 associates the reception side packet reception time T4 when the communication unit 21 receives the round trip delay measurement packet with ID from the transmission side terminal 301 with the ID of the round trip delay measurement packet with ID. Store in the storage area. Then, the controller 22 supplies the reception side packet transmission time T1, the transmission side processing time (T3-T2), and the reception side packet reception time T4 stored in association with the same ID to the buffer time calculation unit 53. To do. The buffer time calculation unit 53 uses the same ID round-trip delay for the reception side packet transmission time T1, the transmission side processing time (T3-T2), and the reception side packet reception time T4 supplied from the controller 22 as described above. The measurement packet is recognized as the reception side packet transmission time T1, the transmission side processing time (T3-T2), and the reception side packet reception time T4.

受信側端末10と送信側端末301との間で、複数の往復遅延測定パケットが送受信される場合、上述のように、バッファ時間算出部53において、その複数の往復遅延測定パケットそれぞれについて、受信側端末10と送信側端末301との間で送受信された時刻を認識する必要がある。   When a plurality of round-trip delay measurement packets are transmitted / received between the reception-side terminal 10 and the transmission-side terminal 301, as described above, the buffer time calculation unit 53 uses the reception side for each of the plurality of round-trip delay measurement packets. It is necessary to recognize the time transmitted and received between the terminal 10 and the transmitting terminal 301.

しかしながら、UDPパケットである往復遅延測定パケットは、受信側端末10が送信した往復遅延測定パケットが送信側端末301に届くことや、送信側端末301が送信した往復遅延測定パケットが受信側端末10に届くことは保証されていない。   However, the round trip delay measurement packet that is a UDP packet is transmitted to the transmission side terminal 301 by the round trip delay measurement packet transmitted from the reception side terminal 10 or the round trip delay measurement packet transmitted from the transmission side terminal 301 to the reception side terminal 10. It is not guaranteed to arrive.

そこで、図5に示す往復遅延測定パケットについては、コントローラ22は、通信部21によって、往復遅延測定パケットを送信側端末301に送信させ、その後、送信側端末301からの送信側パケット受信時刻T2および送信側パケット送信時刻T3が格納された対応する往復遅延測定パケットを受信する。そして、コントローラ22は、次の往復遅延測定パケットを送信する。このように、前回送信した往復遅延測定パケットの受信を待って、次の往復遅延測定パケットを送信することにより、複数の往復遅延測定パケットそれぞれについて、受信側パケット送信時刻T1、送信側パケット受信時刻T2、送信側パケット受信時刻T3、および受信側パケット受信時刻T4を認識することができる。   Therefore, for the round trip delay measurement packet shown in FIG. 5, the controller 22 causes the communication unit 21 to send the round trip delay measurement packet to the transmission side terminal 301, and then transmits the transmission side packet reception time T <b> 2 from the transmission side terminal 301 and A corresponding round trip delay measurement packet storing the transmission side packet transmission time T3 is received. Then, the controller 22 transmits the next round trip delay measurement packet. Thus, by waiting for the reception of the round-trip delay measurement packet transmitted last time and transmitting the next round-trip delay measurement packet, the reception-side packet transmission time T1 and the transmission-side packet reception time for each of the plurality of round-trip delay measurement packets. T2, the transmission side packet reception time T3, and the reception side packet reception time T4 can be recognized.

図6に示す往復遅延測定パケットについては、コントローラ22は、通信部21によって、往復遅延測定パケットを送信側端末301に送信させ、その後、送信側端末301からの送信側処理時間(T3−T2)が格納された対応する往復遅延測定パケットを受信する。そして、コントローラ22は、次の往復遅延測定パケットを送信する。このように、前回送信した往復遅延測定パケットの受信を待って、次の往復遅延測定パケットを送信することにより、複数の往復遅延測定パケットそれぞれについて、受信側パケット送信時刻T1、送信側処理時間(T3−T2)、および受信側パケット受信時刻T4を認識することができる。   For the round trip delay measurement packet shown in FIG. 6, the controller 22 causes the communication unit 21 to send the round trip delay measurement packet to the transmission side terminal 301, and then the transmission side processing time (T 3 -T 2) from the transmission side terminal 301. Is received in the corresponding round trip delay measurement packet. Then, the controller 22 transmits the next round trip delay measurement packet. In this way, by waiting for the reception of the round-trip delay measurement packet transmitted last time and transmitting the next round-trip delay measurement packet, the reception-side packet transmission time T1, the transmission-side processing time ( T3-T2) and the reception side packet reception time T4 can be recognized.

一方、図7および図8に示すID付き往復遅延測定パケットについては、複数のID付き往復遅延測定パケットそれぞれの受信側パケット送信時刻T1は、そのID付き往復遅延測定パケットのIDで識別することができるので、コントローラ22は、図5や図6の往復遅延測定パケットにおける場合のように、前回送信したID付き往復遅延測定パケットの受信を待たずに、次のID付き往復遅延測定パケットを送信することができ、その結果、短時間で、複数の受信側パケット送信時刻T1、送信側パケット受信時刻T2、送信側パケット受信時刻T3、および受信側パケット受信時刻T4、または受信側パケット送信時刻T1、送信側処理時間(T3−T2)、および受信側パケット受信時刻T4を認識することが可能となる。   On the other hand, for the round trip delay measurement packet with ID shown in FIGS. 7 and 8, the reception side packet transmission time T1 of each of the round trip delay measurement packets with ID can be identified by the ID of the round trip delay measurement packet with ID. Therefore, the controller 22 transmits the next round trip delay measurement packet with ID without waiting for the reception of the round trip delay measurement packet with ID transmitted last time, as in the round trip delay measurement packet of FIG. 5 or FIG. As a result, a plurality of reception side packet transmission times T1, transmission side packet reception times T2, transmission side packet reception times T3, and reception side packet reception times T4, or reception side packet transmission times T1, It becomes possible to recognize the transmission side processing time (T3-T2) and the reception side packet reception time T4.

ここで、以下適宜、往復遅延測定パケットがネットワーク1を介して受信側端末10と送信側端末301との間を往復するのに要する時間を往復時間と記述する。往復時間は、式(1)で表される。   Here, hereinafter, the time required for the round trip delay measurement packet to travel back and forth between the receiving terminal 10 and the transmitting terminal 301 via the network 1 will be described as a round trip time. The round-trip time is expressed by equation (1).

往復時間=T4−T1 ・・・(1)     Round trip time = T4-T1 (1)

また、受信側端末10が送信した往復遅延測定パケットを送信側端末301が受信するまでの、ネットワーク1の往路の伝送に要する時間と、その往復遅延測定パケットを送信側端末301が送信して受信側端末10が受信するまでの、ネットワーク1の復路の伝送に要する時間との和を、往復遅延時間と記述する。往復遅延時間は、式(2)で表される。   The transmission side terminal 301 transmits and receives the round trip delay measurement packet until the transmission side terminal 301 receives the round trip delay measurement packet transmitted by the reception side terminal 10 and the round trip delay measurement packet. The sum of the time required for transmission on the return path of the network 1 until the side terminal 10 receives is described as a round-trip delay time. The round-trip delay time is expressed by equation (2).

往復遅延時間=T4−T1−(T3−T2) ・・・(2)     Round trip time = T4-T1- (T3-T2) (2)

また、上述のように、送信側処理時間は、式(3)で表される。   Further, as described above, the transmission-side processing time is expressed by Expression (3).

送信側処理時間=T3−T2 ・・・(3)     Transmission side processing time = T3-T2 (3)

式(1)の往復時間は、式(2)の往復遅延時間と式(3)の送信側処理時間との和で表される。   The round trip time of the formula (1) is represented by the sum of the round trip delay time of the formula (2) and the transmission side processing time of the formula (3).

バッファ時間算出部53は、往復時間に基づいてバッファ時間を算出する。即ち、バッファ時間算出部53は、例えば、式(4)に従って、バッファ時間を算出する。   The buffer time calculation unit 53 calculates the buffer time based on the round trip time. In other words, the buffer time calculation unit 53 calculates the buffer time according to the equation (4), for example.

バッファ時間=往復時間+受信側処理遅延 ・・・(4)     Buffer time = round trip time + reception side processing delay (4)

ここで、式(4)の受信側処理遅延については、後述する。   Here, the reception-side processing delay of Expression (4) will be described later.

なお、往復時間は、1つの往復遅延測定パケットを送受信することにより得た式(1)の往復時間とすることもできるし、複数の往復遅延測定パケットを送受信することにより得た式(1)の往復時間の平均値とすることもできる。   The round trip time can be the round trip time of Equation (1) obtained by transmitting / receiving one round trip delay measurement packet, or Equation (1) obtained by sending / receiving multiple round trip delay measurement packets. It is also possible to use an average value of round-trip times.

上述のように、往復時間は、往復遅延時間と送信側処理時間との和であるから、式(4)は、式(5)で表すことができる。   As described above, since the round trip time is the sum of the round trip delay time and the transmission side processing time, the equation (4) can be expressed by the equation (5).

バッファ時間=往復遅延時間+送信側処理時間+受信側処理遅延 ・・・(5)     Buffer time = round trip delay time + transmission side processing time + reception side processing delay (5)

バッファ時間は、式(5)に従って算出することもできる。   The buffer time can also be calculated according to equation (5).

なお、往復遅延時間は、1つの往復遅延測定パケットを送受信することにより得た式(2)の往復遅延時間とすることもできるし、複数の往復遅延測定パケットを送受信することにより得た式(2)の往復遅延時間の平均値とすることもできる。同様に、送信側処理時間は、1つの往復遅延測定パケットを送信することにより得た式(3)の送信側処理時間とすることもできるし、複数の往復遅延測定パケットを送受信することにより得た式(3)の送信側処理時間の平均値とすることもできる。同様に、送信側処理時間は、複数の往復遅延測定パケットを送受信することにより得た送信側処理時間の平均値とすることができる。   The round trip delay time can be the round trip delay time of the formula (2) obtained by transmitting / receiving one round trip delay measurement packet, or the formula (2) obtained by sending / receiving a plurality of round trip delay measurement packets ( The average value of the round trip delay time of 2) can also be used. Similarly, the transmission side processing time can be the transmission side processing time of Expression (3) obtained by transmitting one round trip delay measurement packet, or can be obtained by transmitting and receiving a plurality of round trip delay measurement packets. It is also possible to use the average value of the processing time on the transmission side in equation (3). Similarly, the transmission side processing time can be an average value of the transmission side processing times obtained by transmitting and receiving a plurality of round trip delay measurement packets.

ここで、式(4)および式(5)の受信側処理遅延は、例えば、式(6)で表すことができる。式(6)のαは、受信側端末10がパケットのロスを検出するのに必要な時間であるロス検出時間である。   Here, the reception-side processing delays of Expression (4) and Expression (5) can be expressed by Expression (6), for example. Α in Expression (6) is a loss detection time which is a time required for the receiving side terminal 10 to detect a packet loss.

受信側処理遅延=α ・・・(6)     Processing delay on reception side = α (6)

受信側端末10は、ロス検出時間αをパケットロス検出時間保持部54に保持している。ロス検出時間αは、例えば、10msecなどの正の値(時間)とすることができる。また、ロス検出時間αは、受信側端末10のユーザが設定することができる。   The receiving terminal 10 holds the loss detection time α in the packet loss detection time holding unit 54. The loss detection time α can be set to a positive value (time) such as 10 msec, for example. Also, the loss detection time α can be set by the user of the receiving terminal 10.

また、受信側処理遅延は、ロス検出時間αと、ネットワーク1のジッタを吸収する値(時間)βを考慮した時間とすることができる。ネットワーク1のジッタを吸収することを考慮したときの、受信側処理遅延は、式(7)で表される。   The processing delay on the receiving side can be set to a time that takes into account the loss detection time α and the value (time) β that absorbs the jitter of the network 1. The processing delay on the receiving side when taking into account the jitter of the network 1 is expressed by Expression (7).

受信側処理遅延=α+β ・・・(7)     Reception side processing delay = α + β (7)

ネットワーク1のジッタを吸収する値βは、例えば、往復時間の最大値(以下、適宜、往復時間最大値と記述する)と、往復時間の最小値(以下、適宜、往復時間最小値と記述する)との差で表される値とすることができる。往復時間最大値と往復時間最小値に基づいたネットワーク1のジッタを吸収する値βは、式(8)で表される。   The value β that absorbs the jitter of the network 1 is described, for example, as a maximum value of the round trip time (hereinafter referred to as the maximum value of the round trip time as appropriate) and a minimum value of the round trip time (hereinafter referred to as the minimum value of the round trip time as appropriate). ) And the value represented by the difference. A value β that absorbs the jitter of the network 1 based on the maximum value of the round trip time and the minimum value of the round trip time is expressed by Expression (8).

β=往復時間最大値−往復時間最小値 ・・・(8)     β = maximum round trip time−minimum round trip time (8)

式(8)に示すネットワーク1のジッタを吸収する値βを、式(7)のネットワーク1のジッタを吸収する値βに代入することにより、受信側処理遅延において、往復時間の変動分を吸収することができる。   By substituting the value β that absorbs the jitter of the network 1 shown in Equation (8) into the value β that absorbs the jitter of the network 1 shown in Equation (7), the fluctuation in the round trip time is absorbed in the processing delay on the reception side. can do.

バッファ時間算出部53では、式(8)に示すネットワーク1のジッタを吸収する値βを、式(7)のネットワーク1のジッタを吸収する値βに代入し、式(7)の受信側処理遅延を式(5)の受信側処理遅延に代入して、式(5)に基づいてバッファ時間を算出することができる。この場合、往復時間の変動分を加味(考慮)したバッファ時間を算出することができる。従って、受信側端末10において、往復時間の変動分を吸収することができる。   In the buffer time calculation unit 53, the value β that absorbs the jitter of the network 1 shown in the equation (8) is substituted into the value β that absorbs the jitter of the network 1 in the equation (7). The buffer time can be calculated based on equation (5) by substituting the delay into the reception-side processing delay of equation (5). In this case, it is possible to calculate the buffer time taking into account (considering) the fluctuation of the round-trip time. Therefore, the receiving side terminal 10 can absorb the fluctuation of the round trip time.

また、ネットワーク1のジッタを吸収する値βは、例えば、往復遅延時間の最大値(以下、適宜、往復遅延最大値と記述する)と、往復遅延時間の最小値(以下、適宜、往復遅延最小値と記述する)との差で表される値とすることができる。往復遅延最大値と往復遅延最小値に基づいたネットワーク1のジッタを吸収する値βは、式(9)で表される。   Further, the value β for absorbing the jitter of the network 1 is, for example, the maximum value of the round trip delay time (hereinafter referred to as the maximum round trip delay value) and the minimum value of the round trip delay time (hereinafter referred to as the round trip delay minimum as appropriate). It can be a value represented by the difference between the value and the value. A value β that absorbs the jitter of the network 1 based on the maximum value of the round trip delay and the minimum value of the round trip delay is expressed by Expression (9).

β=往復遅延最大値−往復遅延最小値 ・・・(9)     β = maximum round trip delay−minimum round trip delay (9)

式(9)に示すネットワーク1のジッタを吸収する値βを、式(7)のネットワーク1のジッタを吸収する値βに代入することにより、受信側処理遅延において往復遅延時間の変動分を吸収することができる。   By substituting the value β that absorbs the jitter of the network 1 shown in Equation (9) into the value β that absorbs the jitter of the network 1 shown in Equation (7), the fluctuation amount of the round-trip delay time is absorbed in the processing delay on the receiving side. can do.

バッファ時間算出部53では、式(9)に示すネットワーク1のジッタを吸収する値βを、式(7)のネットワーク1のジッタを吸収する値βに代入し、式(7)の受信側処理遅延を式(5)の受信側処理遅延に代入して、式(5)に基づいてバッファ時間を算出することができる。この場合、往復遅延時間の変動分を加味(考慮)したバッファ時間を算出することができる。従って、受信側端末10において、往復遅延時間の変動分を吸収することができる。   In the buffer time calculation unit 53, the value β that absorbs the jitter of the network 1 shown in the equation (9) is substituted into the value β that absorbs the jitter of the network 1 in the equation (7), and the reception side processing of the equation (7) is performed. The buffer time can be calculated based on equation (5) by substituting the delay into the reception-side processing delay of equation (5). In this case, it is possible to calculate the buffer time taking into account (considering) the fluctuation of the round trip delay time. Therefore, the receiving side terminal 10 can absorb the fluctuation of the round trip delay time.

また、ネットワーク1のジッタを吸収する値βは、例えば、往復遅延時間最大値と往復遅延時間最小値との差に、さらに、送信側処理時間の最大値(以下、適宜、送信側処理遅延最大値と記述する)と送信側処理時間の最小値(以下、適宜、送信側処理遅延最小値)との差を加味した値とすることができる。往復遅延最大値および往復遅延最小値、並びに送信側遅延最大値および送信側遅延最小値に基づいたネットワーク1のジッタを吸収する値βは、式(10)で表される。   Further, the value β that absorbs the jitter of the network 1 is, for example, the difference between the maximum round-trip delay time value and the minimum round-trip delay time value, and further the maximum value on the transmission side processing time (hereinafter referred to as the maximum on the transmission side processing delay as appropriate) And a value that takes into account the difference between the minimum value of the transmission side processing time (hereinafter referred to as the minimum value of the transmission side processing delay as appropriate). The value β that absorbs the jitter of the network 1 based on the maximum round-trip delay value and the minimum round-trip delay value, and the transmission-side delay maximum value and the transmission-side delay minimum value is expressed by Expression (10).

β=往復遅延最大値−往復遅延最小値+(送信側処理遅延最大値−送信側処理遅延最小値) ・・・(10)     β = Maximum round trip delay−Minimum round trip delay + (Maximum transmission processing delay−Minimum transmission processing delay) (10)

式(10)に示すネットワーク1のジッタを吸収する値βを、式(7)のネットワーク1のジッタを吸収する値βに代入することにより、受信側処理遅延において往復遅延時間の変動分と、送信側処理遅延の変動分とを吸収することができる。   By substituting the value β that absorbs the jitter of the network 1 shown in the equation (10) into the value β that absorbs the jitter of the network 1 shown in the equation (7), It is possible to absorb fluctuations in processing delay on the transmission side.

バッファ時間算出部53では、式(10)に示すネットワーク1のジッタを吸収する値βを、式(7)のネットワーク1のジッタを吸収する値βに代入し、式(7)の受信側処理遅延を式(5)の受信側処理遅延に代入して、式(5)に基づいてバッファ時間を算出することができる。この場合、往復遅延時間の変動分と送信側処理時間の変動分とを加味(考慮)したバッファ時間が算出することができる。従って、受信側端末10において、往復遅延時間の変動分と送信側処理時間の変動分とを吸収することができる。   In the buffer time calculation unit 53, the value β that absorbs the jitter of the network 1 shown in the equation (10) is substituted into the value β that absorbs the jitter of the network 1 in the equation (7). The buffer time can be calculated based on equation (5) by substituting the delay into the reception-side processing delay of equation (5). In this case, it is possible to calculate the buffer time in consideration (consideration) of the fluctuation of the round trip delay time and the fluctuation of the transmission side processing time. Therefore, the receiving side terminal 10 can absorb the fluctuation of the round trip delay time and the fluctuation of the transmission side processing time.

なお、往復時間の変動分、往復遅延時間の変動分、または送信側処理時間の変動分に対するマージンを必要とするときは、例えば、ロス検出時間αを、式(11)で求めるようにすれば良い。   When a margin for fluctuations in round-trip time, fluctuations in round-trip delay time, or fluctuations in processing time on the transmission side is required, for example, the loss detection time α can be obtained by equation (11). good.

α=受信側端末10がロスを検出するのに必要な時間+変動分に対するマージン
・・・(11)
α = time required for receiving terminal 10 to detect loss + margin for fluctuation
(11)

ここで、例えば、再生データバッファ部23からデコード処理部24へのストリーミングデータの読み出しが、一定時間間隔(一定の読み出しレート)で行われるものとすると、再生データバッファ部23でストリーミングデータを記憶する時間が変動した場合、ストリーミングデータの再生にゆらぎが生じることとなる。そこで、受信側端末10において、上述したように、往復時間の変動分や、往復遅延時間の変動分、送信側処理時間の変動分、さらには、これらの変動分に対するマージンを考慮したバッファ時間を算出し、再生データバッファ部23に、このバッファ時間だけ、送信側端末301からのストリーミングデータを記憶してから、デコード処理部24に読み出すことにより、上述した変動分を吸収して、再生データバッファ部23にストリーミングデータを言って時間記憶してからデコード処理部24に読み出す(出力する)ことが可能となる。   Here, for example, when reading of streaming data from the reproduction data buffer unit 23 to the decoding processing unit 24 is performed at a constant time interval (a constant reading rate), the reproduction data buffer unit 23 stores the streaming data. When the time fluctuates, fluctuations occur in the reproduction of the streaming data. Therefore, as described above, the receiving side terminal 10 has a round trip time fluctuation, a round trip delay time fluctuation, a transmission side processing time fluctuation, and a buffer time considering a margin for these fluctuations. The streaming data from the transmission-side terminal 301 is stored in the reproduction data buffer unit 23 for this buffer time after being calculated, and then read out to the decoding processing unit 24 to absorb the fluctuations described above, and the reproduction data buffer It is possible to say the streaming data to the unit 23, store the time, and read (output) it to the decoding processing unit 24.

受信側端末10が、バッファ時間を算出して、ストリーミングデータを再生する処理を、図10のフローチャートを参照して説明する。なお、ここでは、往復遅延測定パケットとして、図5または図6の往復遅延測定パケットを採用するものとする。   A process in which the receiving terminal 10 calculates the buffer time and reproduces the streaming data will be described with reference to the flowchart of FIG. Here, it is assumed that the round trip delay measurement packet of FIG. 5 or 6 is adopted as the round trip delay measurement packet.

ステップS101において、通信部21は、ネットワーク1を介して送信側端末301に接続要求を送信し、ステップS102に進む。ステップS102において、通信部21は、ネットワーク1を介して送信側端末301への接続に成功したか否かを判定する。ステップS102において、通信部21は、ネットワーク1を介して送信側端末301との接続に成功したと判定した場合、ステップS103に進み、コントローラ22は、往復遅延測定パケットに受信側パケット送信時刻T1を格納して、通信部21に供給する。通信部21は、直ちに、往復遅延測定パケットをネットワーク1を介して送信側端末301に送信する。   In step S101, the communication unit 21 transmits a connection request to the transmitting terminal 301 via the network 1, and the process proceeds to step S102. In step S <b> 102, the communication unit 21 determines whether the connection to the transmission-side terminal 301 has been successful via the network 1. In step S102, when the communication unit 21 determines that the connection with the transmission side terminal 301 has succeeded via the network 1, the communication unit 21 proceeds to step S103, and the controller 22 sets the reception side packet transmission time T1 in the round trip delay measurement packet. Stored and supplied to the communication unit 21. The communication unit 21 immediately transmits the round-trip delay measurement packet to the transmission side terminal 301 via the network 1.

送信側端末301から往復遅延測定パケットが送信されてくるのを待って、ステップS103からS104に進み、通信部21は、送信側端末301からの往復遅延測定パケットを受信する。通信部21は、その往復遅延測定パケットのペイロードに格納されている受信側パケット送信時刻T1、送信側パケット受信時刻T2、および送信側パケット送信時刻T3をコントローラ22に供給する。また、コントローラ22は、往復遅延測定パケットを受信したときの時刻である受信側パケット受信時刻T4を記憶する。そして、コントローラ22は、受信側パケット送信時刻T1乃至受信側パケット受信時刻T4を、バッファ時間算出部53に供給する。   After waiting for the round trip delay measurement packet to be transmitted from the transmission side terminal 301, the process proceeds from step S 103 to S 104, and the communication unit 21 receives the round trip delay measurement packet from the transmission side terminal 301. The communication unit 21 supplies the controller 22 with the reception side packet transmission time T1, the transmission side packet reception time T2, and the transmission side packet transmission time T3 stored in the payload of the round trip delay measurement packet. Further, the controller 22 stores a reception side packet reception time T4 that is a time when the round-trip delay measurement packet is received. Then, the controller 22 supplies the reception side packet transmission time T1 to the reception side packet reception time T4 to the buffer time calculation unit 53.

なお、受信側端末10が送信側端末301に送信する往復遅延測定パケットが、図6に示した往復遅延測定パケットの場合、通信部21は、送信側パケット受信時刻T2と送信側パケット送信時刻T3の換わりに、送信側処理時間(T3−T2)をコントローラ22に供給する。   When the round trip delay measurement packet transmitted from the receiving side terminal 10 to the sending side terminal 301 is the round trip delay measuring packet shown in FIG. 6, the communication unit 21 sends the transmission side packet reception time T2 and the transmission side packet transmission time T3. Instead, the transmission side processing time (T3-T2) is supplied to the controller 22.

ステップS104からS105に進み、バッファ時間算出部53は、受信側パケット送信時刻T1、送信側パケット受信時刻T2、送信側パケット受信時刻T3、および受信側パケット受信時刻T4を用い、式(1)に従って往復時間を算出する。または、バッファ時間算出部53は、式(2)に従って往復遅延時間を算出するとともに、式(3)に従って送信側処理時間を算出する。なお、受信側端末10が送信する往復遅延測定パケットが、図6の往復遅延測定パケットの場合は、送信側処理時間は算出する必要がない、   Proceeding from step S104 to S105, the buffer time calculation unit 53 uses the reception side packet transmission time T1, the transmission side packet reception time T2, the transmission side packet reception time T3, and the reception side packet reception time T4, and follows equation (1). Calculate the round trip time. Alternatively, the buffer time calculation unit 53 calculates the round trip delay time according to the equation (2), and calculates the transmission side processing time according to the equation (3). When the round trip delay measurement packet transmitted by the receiving terminal 10 is the round trip delay measurement packet of FIG. 6, it is not necessary to calculate the transmission processing time.

ステップS105からS106に進み、コントローラ22は、送信側端末301からの往復遅延測定パケットを受信した回数が所定の回数を満たすか否かを判定する。ステップS106において、コントローラ22は、往復遅延測定パケットを受信した回数がまだ所定の回数を満たしていないと判定した場合、ステップS103に戻り、次の往復遅延測定パケットを送信する処理を行う。   Proceeding from step S105 to S106, the controller 22 determines whether or not the number of receptions of the round-trip delay measurement packet from the transmission-side terminal 301 satisfies a predetermined number. If the controller 22 determines in step S106 that the number of times the round-trip delay measurement packet has been received does not yet satisfy the predetermined number, the controller 22 returns to step S103 and performs processing for transmitting the next round-trip delay measurement packet.

ステップS106において、往復遅延測定パケットを受信した回数が所定の回数を満たすと判定された場合、ステップS107に進み、バッファ時間算出部53は、バッファ時間を算出して、再生データバッファ部23に供給する。バッファ時間を算出する処理は、図12で後述する。   If it is determined in step S106 that the number of times the round-trip delay measurement packet has been received satisfies the predetermined number, the process proceeds to step S107, where the buffer time calculation unit 53 calculates the buffer time and supplies it to the reproduction data buffer unit 23. To do. The process for calculating the buffer time will be described later with reference to FIG.

送信側端末301からパケットが送信されてくるのを待って、ステップS107からS108に進み、通信部21は、ネットワーク1を介して送信側端末301からのストリーミングデータが格納されたパケットの受信を開始する。通信部21で受信されたパケットに格納されたストリーミングデータは、再生データバッファ部23に供給される。ステップS108からS109に進み、再生データバッファ部23は、通信部21から供給されるストリーミングデータのバッファリングを開始する。   After waiting for a packet to be transmitted from the transmitting terminal 301, the process proceeds from step S107 to S108, and the communication unit 21 starts receiving the packet storing the streaming data from the transmitting terminal 301 via the network 1. To do. The streaming data stored in the packet received by the communication unit 21 is supplied to the reproduction data buffer unit 23. Proceeding from step S108 to S109, the reproduction data buffer unit 23 starts buffering of streaming data supplied from the communication unit 21.

ステップS109からS110に進み、コントローラ22は、再生データバッファ部23がストリーミングデータのバッファリングを開始してから、ステップS107で算出されたバッファ時間だけ経過したか否かを判定する。ステップS110において、コントローラ22は、再生データバッファ部23がストリーミングデータのバッファリングを開始してから、ステップS107で算出されたバッファ時間だけ経過していないと判定した場合、ステップS110に戻る。   Proceeding from step S109 to S110, the controller 22 determines whether or not the buffer time calculated in step S107 has elapsed since the reproduction data buffer 23 started buffering the streaming data. In step S110, when the controller 22 determines that the buffer time calculated in step S107 has not elapsed since the reproduction data buffer unit 23 started buffering the streaming data, the process returns to step S110.

一方、ステップS110において、再生データバッファ部23がストリーミングデータのバッファリングを開始してから、ステップS107で算出されたバッファ時間だけ経過したと判定された場合、ステップS111に進み、コントローラ22は、再生データバッファ部23を制御することにより、再生データバッファ部23に、デコード処理部24へのストリーミングデータの出力を開始させる。これにより、再生データバッファ部23は、バッファリングしたストリーミングデータを、一定の読み出しレートで読み出し、デコード処理部24に供給する。デコード処理部24は、再生データバッファ部23からのストリーミングデータを復号して、出力部25に供給する。出力部25は、モニタ31およびスピーカ32(図2)にストリーミングデータを出力して、処理を終了する。   On the other hand, if it is determined in step S110 that the buffer time calculated in step S107 has elapsed since the playback data buffer unit 23 started buffering the streaming data, the process proceeds to step S111, where the controller 22 By controlling the data buffer unit 23, the reproduction data buffer unit 23 is caused to start outputting streaming data to the decoding processing unit 24. As a result, the reproduction data buffer unit 23 reads the buffered streaming data at a constant reading rate, and supplies it to the decoding processing unit 24. The decode processing unit 24 decodes the streaming data from the reproduction data buffer unit 23 and supplies the decoded data to the output unit 25. The output unit 25 outputs the streaming data to the monitor 31 and the speaker 32 (FIG. 2), and ends the process.

なお、ステップS102において、通信部21は、送信側端末301への接続が成功しないと判定した場合、即ち、ネットワーク1を介して送信側端末301とのコネクションが確立されない場合、送信側端末301に接続できないとみなし、処理を終了する。   In step S102, if the communication unit 21 determines that the connection to the transmission side terminal 301 is not successful, that is, if the connection with the transmission side terminal 301 is not established via the network 1, the communication unit 21 It is assumed that connection is not possible, and the process ends.

次に、送信側端末301が、ネットワーク1を介して受信側端末10にストリーミングデータを送信する処理を、図11のフローチャートを参照して説明する。   Next, processing in which the transmission side terminal 301 transmits streaming data to the reception side terminal 10 via the network 1 will be described with reference to the flowchart of FIG.

ステップS551において、通信部313は、受信側端末10からの接続要求を待機する状態にあり、受信側端末10からの接続要求を受信したか否かを判定する。ステップS551において、通信部313は、ネットワーク1を介して受信側端末10からの接続の要求を受信したと判定した場合、受信側端末10とのコネクションを確立して、ステップS552に進み、受信側端末10からの往復遅延測定パケットの受信を待機する。   In step S551, the communication unit 313 is in a state of waiting for a connection request from the receiving terminal 10, and determines whether or not a connection request from the receiving terminal 10 has been received. In step S551, when the communication unit 313 determines that a connection request from the receiving terminal 10 has been received via the network 1, the communication unit 313 establishes a connection with the receiving terminal 10, and proceeds to step S552. Waiting for reception of a round-trip delay measurement packet from the terminal 10.

通信部313は、受信側端末10から往復遅延測定パケットが送信されてくるのを待って、ステップS552において、その往復遅延測定パケットを受信する。コントローラ314は、通信部313が往復遅延測定パケットを受信したときの時刻を、送信側パケット受信時刻T2として記憶する。ステップS552からS553に進み、コントローラ314は、通信部313が後述するステップS554で往復遅延測定パケットを送信する時刻を、例えば、予測して、送信側パケット送信時刻T3として記憶する。そして、コントローラ314は、受信側端末10から受信した往復遅延測定パケットの所定のペイロードに、送信側パケット受信時刻T2と送信側パケット送信時刻T3、または、送信側処理時間(T3−T2)を格納する。   The communication unit 313 waits for the round trip delay measurement packet to be transmitted from the receiving terminal 10 and receives the round trip delay measurement packet in step S552. The controller 314 stores the time when the communication unit 313 receives the round trip delay measurement packet as the transmission side packet reception time T2. Proceeding from step S552 to S553, the controller 314 predicts, for example, the time at which the communication unit 313 transmits the round-trip delay measurement packet in step S554, which will be described later, and stores it as the transmission side packet transmission time T3. Then, the controller 314 stores the transmission side packet reception time T2 and the transmission side packet transmission time T3 or the transmission side processing time (T3-T2) in a predetermined payload of the round trip delay measurement packet received from the reception side terminal 10. To do.

ステップS554において、通信部313は、往復遅延測定パケットをネットワーク1を介して受信側端末10に送信し、ステップS555に進む。   In step S554, the communication unit 313 transmits the round trip delay measurement packet to the reception side terminal 10 via the network 1, and proceeds to step S555.

ステップS555において、コントローラ314は、往復遅延測定パケットを所定の回数だけ送信したか否かを判定する。ステップS555において、コントローラ314は、往復遅延測定パケットを所定の回数だけ送信していないと判定した場合、ステップS552に戻り、次の往復遅延測定パケットを受信するまで待機する。   In step S555, the controller 314 determines whether or not the round trip delay measurement packet has been transmitted a predetermined number of times. If the controller 314 determines in step S555 that the round trip delay measurement packet has not been transmitted a predetermined number of times, the controller 314 returns to step S552 and waits until the next round trip delay measurement packet is received.

ステップS555において、往復遅延測定パケットを所定の回数だけ送信したと判定された場合、ステップS556に進み、コントローラ314は、通信部313にストリーミングデータの送信の開始を通知して、ステップS556に進む。ステップS556において、通信部313は、コントローラ314からの通知を受けて、エンコード処理部312が作成した画像データや音声データ(ストリーミングデータ)が格納されているパケットを、ネットワーク1を介して受信側端末10に送信する処理を開始し、ステップS557に進む。   If it is determined in step S555 that the round trip delay measurement packet has been transmitted a predetermined number of times, the process proceeds to step S556, the controller 314 notifies the communication unit 313 of the start of transmission of streaming data, and the process proceeds to step S556. In step S556, the communication unit 313 receives a notification from the controller 314, and receives a packet storing image data and audio data (streaming data) created by the encoding processing unit 312 via the network 1 on the receiving side terminal. 10 is started, and the process proceeds to step S557.

ステップS557において、通信部313は、送信したストリーミングデータが格納されているパケットのコピーを、出力データバッファ部315に供給する。出力データバッファ部315は、通信部313からのストリーミングデータが格納されたパケットの記憶を開始して、処理を終了する。   In step S557, the communication unit 313 supplies a copy of the packet storing the transmitted streaming data to the output data buffer unit 315. The output data buffer unit 315 starts storing the packet in which the streaming data from the communication unit 313 is stored, and ends the process.

このように、送信側端末301は、受信側端末10からの往復遅延測定パケットに時刻のデータを格納して、その往復遅延測定パケットを返信するだけで、バッファ時間の算出は受信側端末10が行う。送信側端末301が、バッファ時間を算出する処理を行わないので、複数の受信側端末と接続する場合においても、送信側端末301の負荷の増大を軽減することができる。   In this way, the transmission side terminal 301 simply stores the time data in the round trip delay measurement packet from the reception side terminal 10 and returns the round trip delay measurement packet, and the reception side terminal 10 calculates the buffer time. Do. Since the transmission side terminal 301 does not perform the process of calculating the buffer time, an increase in load on the transmission side terminal 301 can be reduced even when connecting to a plurality of reception side terminals.

図10のステップS107でバッファ時間算出部53が行うバッファ時間算出処理について、図12のフローチャートを参照して説明する。   The buffer time calculation process performed by the buffer time calculation unit 53 in step S107 of FIG. 10 will be described with reference to the flowchart of FIG.

受信側端末10が所定の数の往復遅延測定パケットを送受信することにより、バッファ時間算出部53は、その所定の数の往復遅延時間と送信側処理時間のセットを保持している。   When the receiving-side terminal 10 transmits and receives a predetermined number of round-trip delay measurement packets, the buffer time calculation unit 53 holds a set of the predetermined number of round-trip delay times and transmission-side processing times.

ステップS201において、バッファ時間算出部53は、所定の数の往復遅延時間から往復遅延時間の平均値、往復遅延最大値および往復遅延最小値を求め、ステップS202に進む。   In step S201, the buffer time calculation unit 53 obtains an average value of round trip delay times, a round trip delay maximum value, and a round trip delay minimum value from a predetermined number of round trip delay times, and then proceeds to step S202.

ステップS202において、バッファ時間算出部53は、所定の数の送信側処理時間から、送信側処理時間の平均値、送信側処理最大値、および送信側処理最小値を求める。   In step S202, the buffer time calculation unit 53 obtains an average value of the transmission side processing time, a transmission side processing maximum value, and a transmission side processing minimum value from a predetermined number of transmission side processing times.

ステップS202からS203に進み、バッファ時間算出部53は、ステップS201で求めた往復遅延最大値および往復遅延最小値と、ステップS202で求めた送信側処理最大値および送信側処理最小値とを用いて、式(10)に従ってネットワーク1のジッタを吸収する値βを算出し、ステップS204に進む。   Proceeding from step S202 to S203, the buffer time calculation unit 53 uses the maximum round-trip delay value and the round-trip delay minimum value obtained in step S201, and the transmission-side processing maximum value and the transmission-side processing minimum value obtained in step S202. Then, the value β for absorbing the jitter of the network 1 is calculated according to the equation (10), and the process proceeds to step S204.

ステップS204において、バッファ時間算出部53は、パケットロス検出時間保持部54に保持されているロス検出時間αを取得する。   In step S204, the buffer time calculation unit 53 obtains the loss detection time α held in the packet loss detection time holding unit 54.

ステップS204からS205に進み、バッファ時間算出部53は、往復遅延時間の平均値、送信側処理時間の平均値、ロス検出時間α、およびネットワーク1のジッタを吸収する値βを用いて、式(5)に従ってバッファ時間を算出し、リターンする。   Proceeding from step S204 to S205, the buffer time calculation unit 53 uses the average value of the round-trip delay time, the average value of the processing time on the transmission side, the loss detection time α, and the value β that absorbs jitter of the network 1 to obtain an equation ( Calculate buffer time according to 5) and return.

なお、バッファ時間算出部53は、式(5)で用いる受信側処理遅延を、ロス検出時間αとネットワーク1のジッタを吸収する値βを用い、式(7)に従って算出する。   The buffer time calculation unit 53 calculates the reception-side processing delay used in Expression (5) according to Expression (7) using the loss detection time α and the value β that absorbs jitter of the network 1.

なお、例えば、ロス検出時間αなどは、受信側端末10においてある程度、自由に設定可能なようにすることができる。この場合、ストリーミングデータを視聴するユーザの目的に応じて、バッファ時間を設定することが可能となる。即ち、例えば、ユーザが品質の良い再生を望むときは、αを大に設定してバッファ時間を長く設定し、また、低遅延での再生を望むときは、αを小に設定してバッファ時間を短く設定すればよい。   For example, the loss detection time α and the like can be set freely to some extent in the receiving terminal 10. In this case, the buffer time can be set according to the purpose of the user who views the streaming data. That is, for example, when the user desires high quality reproduction, α is set to a large value and the buffer time is set to be long, and when reproduction with low delay is desired, α is set to a small value and the buffer time is set to be small. Should be set short.

送信側端末301が受信側端末10に送信したパケットがロスした場合の受信側端末10と送信側端末301の処理について、図13のフローチャートを参照して説明する。   Processing of the receiving terminal 10 and the transmitting terminal 301 when a packet transmitted from the transmitting terminal 301 to the receiving terminal 10 is lost will be described with reference to the flowchart of FIG.

ステップS601において、通信部313は、コントローラ314からのストリーミングデータの送信の開始の通知に応答して、エンコード処理部312が作成した1番目のストリーミングデータが格納されているパケットであるパケット#1を、ネットワーク1を介して受信側端末10に送信する処理を開始して、ステップS602に進む。なお、ステップS601の処理は、図11のステップS556に対応する。   In step S601, the communication unit 313 responds to the notification of the start of transmission of streaming data from the controller 314, and receives packet # 1, which is a packet in which the first streaming data created by the encoding processing unit 312 is stored. Then, the process of transmitting to the receiving terminal 10 via the network 1 is started, and the process proceeds to step S602. Note that the processing in step S601 corresponds to step S556 in FIG.

ステップS602において、通信部313は、パケット#1の送信が終了した後、2番目のストリーミングデータが格納されているパケットであるパケット#2を、ネットワーク1を介して受信側端末10に送信する処理を開始して、ステップS603に進む。また、通信部313は、送信が終了したパケット#1を、出力データバッファ部315に保持させる。   In step S602, the communication unit 313 transmits the packet # 2, which is a packet storing the second streaming data, to the receiving terminal 10 via the network 1 after the transmission of the packet # 1 is completed. To proceed to step S603. In addition, the communication unit 313 causes the output data buffer unit 315 to hold the packet # 1 that has been transmitted.

ステップS603において、通信部313は、パケット#2の送信が終了した後、3番目のストリーミングデータが格納されているパケットであるパケット#3を、ネットワーク1を介して受信側端末10に送信する処理を開始する。また、通信部313は、送信したパケット#2を、出力データバッファ部315にバッファリングさせる。以下、通信部313は、4番目以降のストリーミングデータについても、同様に、受信側端末10に送信し、出力データバッファ部315にバッファリングさせる処理を行う。   In step S603, the communication unit 313 transmits the packet # 3, which is a packet storing the third streaming data, to the receiving terminal 10 via the network 1 after the transmission of the packet # 2 is completed. To start. Further, the communication unit 313 causes the output data buffer unit 315 to buffer the transmitted packet # 2. Hereinafter, the communication unit 313 similarly transmits the fourth and subsequent streaming data to the receiving terminal 10 and causes the output data buffer unit 315 to buffer the data.

ステップS251において、通信部21は、ネットワーク1を介して送信側端末301からのパケット#1が到着したことに応答して、パケット#1を受信する。さらに、通信部21は、2番目のパケット#2の到着を待機する状態となる。通信部21は、受信したパケット#1に格納されているストリーミングデータを再生データバッファ部23に出力する。再生データバッファ部23は、パケット#1のストリーミングデータをバッファリングする。   In step S251, the communication unit 21 receives the packet # 1 in response to the arrival of the packet # 1 from the transmission-side terminal 301 via the network 1. Further, the communication unit 21 waits for the arrival of the second packet # 2. The communication unit 21 outputs the streaming data stored in the received packet # 1 to the reproduction data buffer unit 23. The reproduction data buffer unit 23 buffers the streaming data of packet # 1.

ステップS251からS252に進み、通信部21は、パケット#2の到着を待機した状態のまま、ネットワーク1を介して送信側端末301からのパケット#3が到着したことに応答して、パケット#3を受信する。通信部21は、受信したパケット#3に格納されているストリーミングデータを再生データバッファ部23に出力する。再生データバッファ部23は、パケット#3のストリーミングデータをバッファリングする。通信部21は、4番目のパケット以降についても同様に、パケットに格納されているストリーミングデータを、再生データバッファ部23に出力する。そして、再生データバッファ部23は、ストリーミングデータをバッファリングする。   Proceeding from step S251 to S252, the communication unit 21 waits for the arrival of the packet # 2 and responds to the arrival of the packet # 3 from the transmission side terminal 301 via the network 1 in response to the arrival of the packet # 3. Receive. The communication unit 21 outputs the streaming data stored in the received packet # 3 to the reproduction data buffer unit 23. The reproduction data buffer unit 23 buffers the streaming data of packet # 3. Similarly, the communication unit 21 outputs the streaming data stored in the packet to the reproduction data buffer unit 23 for the fourth and subsequent packets. Then, the reproduction data buffer unit 23 buffers the streaming data.

一方、通信部21は、パケット#3の到着に対応して、パケット#2がネットワーク1を伝送中にロスされたことを検出する。この場合、ステップS253において、通信部21は、再送要求パケットをネットワーク1を介して送信側端末301に送信する。通信部21がパケット#2の再送を要求する時刻は、図4に示した受信側パケット送信時刻T1に相当する。   On the other hand, the communication unit 21 detects that the packet # 2 is lost during transmission through the network 1 in response to the arrival of the packet # 3. In this case, in step S253, the communication unit 21 transmits a retransmission request packet to the transmitting terminal 301 via the network 1. The time when the communication unit 21 requests retransmission of the packet # 2 corresponds to the reception side packet transmission time T1 shown in FIG.

ここで、上述のように、パケット#2のロスは、パケット#3の到着を待って検出される。このパケット#3の到着を増す時間に対応するのが、ロス検出時間αである。   Here, as described above, the loss of the packet # 2 is detected after the arrival of the packet # 3. The loss detection time α corresponds to the time for increasing the arrival of the packet # 3.

ステップS604において、通信部313は、ネットワーク1を介して受信側端末10からの再送要求パケットを受信する。通信部313は、再送要求パケットに応答して、出力データバッファ部315に記憶されているパケット#2(2番目のストリーミングデータ)を読み出して、通信部313に供給する。ステップS604からS605に進み、通信部313は、ネットワーク1を介して受信側端末10にパケット#2を送信する。   In step S <b> 604, the communication unit 313 receives a retransmission request packet from the receiving terminal 10 via the network 1. In response to the retransmission request packet, the communication unit 313 reads the packet # 2 (second streaming data) stored in the output data buffer unit 315 and supplies it to the communication unit 313. Proceeding from step S604 to S605, the communication unit 313 transmits the packet # 2 to the receiving terminal 10 via the network 1.

なお、通信部313がステップS604で受信側端末10からの再送要求パケットを受信する時刻は、図4に示した送信側パケット受信時刻T2に相当する。また、通信部313がステップS605でパケット#2を送信する時刻は、送信側パケット送信時刻T3に相当する。   Note that the time at which the communication unit 313 receives the retransmission request packet from the reception side terminal 10 in step S604 corresponds to the transmission side packet reception time T2 illustrated in FIG. The time when the communication unit 313 transmits packet # 2 in step S605 corresponds to the transmission side packet transmission time T3.

ステップS254において、通信部21は、ネットワーク1を介して送信側端末301からの再送パケットであるパケット#2が到着したことに応答して、そのパケット#2を受信する。通信部21は、パケット#2のストリーミングデータを再生データバッファ部23に出力する。再生データバッファ部23は、パケット#2のストリーミングデータを補填する。   In step S254, the communication unit 21 receives the packet # 2 in response to the arrival of the packet # 2, which is a retransmission packet from the transmission side terminal 301, via the network 1. The communication unit 21 outputs the streaming data of the packet # 2 to the reproduction data buffer unit 23. The reproduction data buffer unit 23 supplements the streaming data of the packet # 2.

なお、ステップS254で通信部21がパケット#2を受信する時刻は、図4に示した受信側パケット受信時刻T4に相当する。   Note that the time at which the communication unit 21 receives packet # 2 in step S254 corresponds to the reception side packet reception time T4 shown in FIG.

ステップS255において、再生データバッファ部23では、パケット#1のストリーミングデータをバッファリングした後、バッファ時間だけ経過してからバッファリングされているストリーミングデータの読み出しが開始され、デコード処理部24に出力される。   In step S255, the reproduction data buffer unit 23 starts to read the buffered streaming data after the buffer time has elapsed after buffering the streaming data of the packet # 1, and outputs it to the decoding processing unit 24. The

従って、パケット#2がロスした場合であっても、そのロスしたパケット#2の再送を受けて、再生に間に合わせることができる。即ち、再生が途切れることを防止することができる。   Therefore, even when the packet # 2 is lost, it is possible to receive the retransmission of the lost packet # 2 in time for reproduction. That is, it is possible to prevent the reproduction from being interrupted.

以上説明したように、受信側端末10は、送信側端末301に往復遅延測定パケットを送信して、その往復測定パケットを受信する。そして、バッファ時間算出部53は、その往復遅延測定パケットの往復時間に基づいて、ストリーミングデータをバッファリングするバッファ時間を算出する。そして、再生データバッファ部23は、ストリーミングデータをバッファリングし、バッファ時間だけストリーミングデータをバッファリングした後、その読み出し、再生を開始する。また、送信側端末301は、ネットワーク1を介して、受信側端末10からの往復遅延測定パケットを受信して、その往復遅延測定パケットを受信側端末10に送信する。   As described above, the receiving terminal 10 transmits the round trip delay measurement packet to the transmitting terminal 301 and receives the round trip measurement packet. Then, the buffer time calculation unit 53 calculates the buffer time for buffering the streaming data based on the round trip time of the round trip delay measurement packet. Then, the reproduction data buffer unit 23 buffers the streaming data, buffers the streaming data for the buffer time, and then starts reading and reproducing the streaming data. Further, the transmission side terminal 301 receives the round trip delay measurement packet from the reception side terminal 10 via the network 1 and transmits the round trip delay measurement packet to the reception side terminal 10.

従って、バッファ時間として、適応的に適切な値を設定(算出)して、受信側端末10でストリーミングデータの再生が開始されるまでの遅延時間を短くすることができる。   Therefore, an appropriate value can be adaptively set (calculated) as the buffer time, and the delay time until the streaming data reproduction is started at the receiving terminal 10 can be shortened.

さらに、受信側端末10がバッファ時間を算出するので、例えば、複数の受信側装置からのアクセスが送信側端末301にあった場合においても、送信側端末301の処理のオーバヘッドを極力抑えることが可能となる。また、受信側端末10の裁量により、バッファ時間をある程度自由に算出することができ、ストリーミングデータを視聴するユーザの目的に応じて、例えば、品質の良い再生、あるいは遅延時間の短い(応答性の高い)再生などが可能となる。   Furthermore, since the receiving side terminal 10 calculates the buffer time, for example, even when the transmitting side terminal 301 has access from a plurality of receiving side devices, it is possible to suppress the processing overhead of the transmitting side terminal 301 as much as possible. It becomes. In addition, the buffer time can be calculated to some extent at the discretion of the receiving terminal 10 and, for example, according to the purpose of the user who views the streaming data, high quality playback or a short delay time (responsiveness is low). High) playback is possible.

さらに、往復時間に基づいてバッファ時間を算出するので、例えば、インターネットなどのパケットロスが発生するネットワーク1において、受信側端末10が送信側端末301に再送要求パケットを送信し、ロスのあったパケットを受信するのに要する時間を想定したバッファ時間を設定することが可能となる。従って、ロスが発生した場合においても、そのロスされたパケットの再送を待って、ストリーミングデータを再生することができる。また、ネットワーク1に遅延が生じた場合においても、遅延によるジッタを再生データバッファ部23で吸収することができる。   Further, since the buffer time is calculated based on the round trip time, for example, in the network 1 in which packet loss occurs such as the Internet, the receiving side terminal 10 transmits a retransmission request packet to the transmitting side terminal 301, and the lost packet It is possible to set the buffer time assuming the time required to receive the signal. Therefore, even when a loss occurs, streaming data can be reproduced after waiting for retransmission of the lost packet. Even when a delay occurs in the network 1, the reproduction data buffer unit 23 can absorb jitter due to the delay.

上述した一連の処理は、ソフトウェアにより実行することもできる。一連の処理をソフトウェアに実行させる場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、記録媒体からインストールされる。   The series of processes described above can also be executed by software. When a series of processing is executed by software, a program constituting the software may execute various functions by installing a computer incorporated in dedicated hardware or various programs. For example, it is installed from a recording medium in a general-purpose personal computer or the like.

図14は、汎用のコンピュータの内部の構成例を示している。コンピュータのCPU(Central Processing Unit)131は、ROM(Read Only Memory)132に記録されているプログラム、または記憶部138からRAM(Random Access Memory)133にロードされたプログラムに従って各種の処理を実行する。RAM133にはまた、CPU131が各種の処理を実行する上において必要なデータなども適宜記憶される。   FIG. 14 shows an internal configuration example of a general-purpose computer. A CPU (Central Processing Unit) 131 of the computer executes various processes according to a program recorded in a ROM (Read Only Memory) 132 or a program loaded from a storage unit 138 to a RAM (Random Access Memory) 133. The RAM 133 also appropriately stores data necessary for the CPU 131 to execute various processes.

CPU131、ROM132、およびRAM133は、バス134を介して相互に接続されている。このバス134にはまた、入出力インターフェース135も接続されている。   The CPU 131, ROM 132, and RAM 133 are connected to each other via a bus 134. An input / output interface 135 is also connected to the bus 134.

入出力インターフェース135には、ボタン、スイッチ、キーボードあるいはマウスなどで構成される入力部136、CRT(Cathode Ray Tube)やLCD(Liquid Crystal Display)などで構成されるディスプレイ、並びにスピーカなどで構成される出力部137、ハードディスクなどで構成される記憶部138、およびモデムやターミナルアダプタなどで構成される通信部139が接続されている。通信部139は、インターネットなどのネットワークを介して通信処理を行う。   The input / output interface 135 includes an input unit 136 including buttons, switches, a keyboard or a mouse, a display including CRT (Cathode Ray Tube) and LCD (Liquid Crystal Display), and a speaker. An output unit 137, a storage unit 138 composed of a hard disk or the like, and a communication unit 139 composed of a modem or a terminal adapter are connected. The communication unit 139 performs communication processing via a network such as the Internet.

入出力インターフェース135にはまた、必要に応じてドライブ140が接続され、磁気ディスク(フレキシブルディスクを含む)151、光ディスク(CD-ROM(Computer Disk Read Only Memory)、DVD(Digital Video Disk)を含む)152、光磁気ディスク(MD(Mini-Disk)(登録商標)を含む)153、もしくは半導体メモリなどよりなるリムーバルディスク154が適宜装着され、そこから読み出されたコンピュータプログラムが、記憶部138にインストールされる。   A drive 140 is connected to the input / output interface 135 as necessary, and includes a magnetic disk (including a flexible disk) 151, an optical disk (including a CD-ROM (Computer Disk Read Only Memory) and a DVD (Digital Video Disk)). 152, a magneto-optical disk (including MD (Mini-Disk) (including registered trademark)) 153, or a removable disk 154 made of a semiconductor memory or the like is appropriately mounted, and a computer program read from the disk is installed in the storage unit 138. Is done.

コンピュータにインストールされ、コンピュータによって実行可能な状態とされるプログラムを記録する記録媒体は、図14に示されるように、装置本体とは別に、ユーザにプログラムを提供するために配布される、プログラムが記録されている磁気ディスク151、光ディスク152、光磁気ディスク153、およびリムーバルディスク154により構成されるだけでなく、装置本体にあらかじめ組み込まれた状態でユーザに提供される、プログラムが記録されているROM132またはハードディスクなどの記録部138で構成される。   As shown in FIG. 14, a recording medium that records a program that is installed in a computer and can be executed by the computer is distributed to provide a program to a user separately from the apparatus main body. A ROM 132 that stores a program that is provided not only to the magnetic disk 151, the optical disk 152, the magneto-optical disk 153, and the removable disk 154 but is provided in advance to the apparatus main body. Alternatively, it is composed of a recording unit 138 such as a hard disk.

なお、本明細書において、記録媒体に記録されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。   In the present specification, the step of describing the program recorded on the recording medium is not limited to the processing performed in chronological order according to the described order, but is not necessarily performed in chronological order. It also includes processes that are executed individually.

また、本明細書において、システムとは、1以上の装置により構成される装置全体を表すものである。   Further, in the present specification, the system represents the entire apparatus constituted by one or more apparatuses.

本発明を適用した通信システムの一実施の形態の構成例を示す図である。It is a figure which shows the structural example of one Embodiment of the communication system to which this invention is applied. 受信側端末の構成例を示すブロック図である。It is a block diagram which shows the structural example of a receiving side terminal. 送信側端末の構成例を示すブロック図である。It is a block diagram which shows the structural example of a transmission side terminal. 往復遅延測定パケットの往復を説明するための図である。It is a figure for demonstrating the round trip of a round trip delay measurement packet. 往復遅延測定パケットの第1のフォーマットを説明するための図である。It is a figure for demonstrating the 1st format of a round-trip delay measurement packet. 往復遅延測定パケットの第2のフォーマットを説明するための図である。It is a figure for demonstrating the 2nd format of a roundtrip delay measurement packet. 往復遅延測定パケットの第3のフォーマットを説明するための図である。It is a figure for demonstrating the 3rd format of a round-trip delay measurement packet. 往復遅延測定パケットの第4のフォーマットを説明するための図である。It is a figure for demonstrating the 4th format of a round-trip delay measurement packet. ID付き遅延測定パケットのIDリストを説明するための図である。It is a figure for demonstrating the ID list | wrist of delay measurement packet with ID. 受信側端末の処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process of the receiving side terminal. 送信側端末の処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process of the transmission side terminal. バッファ時間算出処理を説明するためのフローチャートである。It is a flowchart for demonstrating a buffer time calculation process. ストリーミングデータが格納されたパケットの送信処理および受信処理を説明するためのフローチャートである。It is a flowchart for demonstrating the transmission process and reception process of the packet in which streaming data were stored. 汎用のコンピュータの内部の構成例を示す図である。FIG. 3 is a diagram illustrating an internal configuration example of a general-purpose computer.

符号の説明Explanation of symbols

1 ネットワーク, 10、11 受信側端末, 21 通信部, 22 コントローラ, 23 再生データバッファ部, 51 パケット作成部, 52 時刻計測部, 53 バッファ時間算出部, 54 パケットロス検出時間保持部, 131 CPU, 132 ROM, 133 RAM, 151 磁気ディスク, 152 光ディスク, 153 光磁気ディスク, 154 半導体メモリ, 301 送信側端末, 313 通信部, 314 コントローラ, 315 出力データバッファ部, 341 時刻計測部, T1 受信側パケット送信時刻, T2 送信側パケット受信時刻T3 送信側パケット送信時刻, T4 受信側パケット受信時刻, α ロス検出時間, β ネットワーク1のジッタを吸収する値   1 network, 10, 11 receiving side terminal, 21 communication unit, 22 controller, 23 reproduction data buffer unit, 51 packet creation unit, 52 time measurement unit, 53 buffer time calculation unit, 54 packet loss detection time holding unit, 131 CPU, 132 ROM, 133 RAM, 151 magnetic disk, 152 optical disk, 153 magneto-optical disk, 154 semiconductor memory, 301 transmission side terminal, 313 communication unit, 314 controller, 315 output data buffer unit, 341 time measurement unit, T1 reception side packet transmission Time, T2 Transmission side packet reception time T3 Transmission side packet transmission time, T4 Reception side packet reception time, α loss detection time, β Value that absorbs jitter of network 1

Claims (11)

データをパケットで送信する送信装置とそのデータを受信する受信装置とがネットワークを介して接続される通信システムにおいて、
前記受信装置は、
前記パケットが前記受信装置と前記送信装置との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する通信手段と、
前記送信装置から送信されてくるデータをバッファリングするバッファ手段と、
前記往復時間に基づいて、前記送信装置から送信されてくるデータを前記バッファ手段にバッファリングするバッファ時間を算出するバッファ時間算出手段と、
前記バッファ手段による前記データのバッファリングの開始後、前記バッファ時間が経過してから、前記バッファ手段にバッファリングされているデータの読み出しを開始する読み出し手段と
を備え、
前記送信装置は、
前記ネットワークを介して、前記受信装置からの前記測定パケットを受信して、その測定パケットを前記受信装置に送信する送信側通信手段
を備える
ことを特徴とする通信システム。
In a communication system in which a transmitting device that transmits data in packets and a receiving device that receives the data are connected via a network,
The receiving device is:
A communication means for transmitting a measurement packet for measuring a round-trip time during which the packet reciprocates between the reception device and the transmission device, and receiving the measurement packet;
Buffer means for buffering data transmitted from the transmitter;
A buffer time calculating means for calculating a buffer time for buffering the data transmitted from the transmitting device in the buffer means based on the round trip time;
A read means for starting reading of the data buffered in the buffer means after the buffer time has elapsed after the buffer means starts buffering the data;
The transmitter is
A communication system comprising: a transmission-side communication unit that receives the measurement packet from the reception device via the network and transmits the measurement packet to the reception device.
データをパケットで送信する送信装置から、ネットワークを介して送信されてくるデータを受信する情報処理装置において、
前記パケットが前記送信装置との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する通信手段と、
前記送信装置から送信されてくるデータをバッファリングするバッファ手段と、
前記往復時間に基づいて、前記送信装置から送信されてくるデータを前記バッファ手段にバッファリングするバッファ時間を算出するバッファ時間算出手段と、
前記バッファ手段による前記データのバッファリングの開始後、前記バッファ時間が経過してから、前記バッファ手段にバッファリングされているデータの読み出しを開始する読み出し手段と
を備えることを特徴とする情報処理装置。
In an information processing apparatus that receives data transmitted via a network from a transmission apparatus that transmits data in packets,
Communication means for transmitting a measurement packet for measuring a round trip time for the packet to and from the transmitting device, and receiving the measurement packet;
Buffer means for buffering data transmitted from the transmitter;
A buffer time calculating means for calculating a buffer time for buffering the data transmitted from the transmitting device in the buffer means based on the round trip time;
An information processing apparatus comprising: a reading unit configured to start reading data buffered in the buffer unit after the buffer time has elapsed after the buffer unit starts buffering the data. .
前記データは、ストリーミングデータである
ことを特徴とする請求項2に記載の情報処理装置。
The information processing apparatus according to claim 2, wherein the data is streaming data.
前記通信手段は、2以上の前記測定パケットを前記送信装置に送信し、
前記バッファ時間算出手段は、その2以上の前記測定パケットの往復時間に基づいて、前記バッファ時間を算出する
ことを特徴とする請求項2に記載の情報処理装置。
The communication means transmits two or more measurement packets to the transmission device,
The information processing apparatus according to claim 2, wherein the buffer time calculation unit calculates the buffer time based on a round trip time of the two or more measurement packets.
前記測定パケットは、その測定パケットに固有のID(Identification)を含み、
前記通信手段は、前記IDに基づいて、2以上の前記測定パケットそれぞれを識別する
ことを特徴とする請求項4に記載の情報処理装置。
The measurement packet includes an ID (Identification) unique to the measurement packet,
The information processing apparatus according to claim 4, wherein the communication unit identifies each of the two or more measurement packets based on the ID.
前記バッファ時間算出手段は、前記往復時間の変動分を考慮した、前記バッファ時間を算出する
ことを特徴とする請求項2に記載の情報処理装置。
The information processing apparatus according to claim 2, wherein the buffer time calculation unit calculates the buffer time in consideration of a change in the round-trip time.
前記バッファ時間算出手段は、前記測定パケットがネットワークの往路および復路を伝送するのに要する往復遅延時間の変動分を考慮した、前記バッファ時間を算出する
ことを特徴とする請求項2に記載の情報処理装置。
3. The information according to claim 2, wherein the buffer time calculating unit calculates the buffer time in consideration of a fluctuation amount of a round-trip delay time required for the measurement packet to be transmitted on a forward path and a return path of a network. Processing equipment.
前記バッファ時間算出手段は、さらに、前記送信装置が前記測定パケットを受信して送信するまでに要する送信側処理時間の変動分をも考慮した、前記バッファ時間を算出する
ことを特徴とする請求項7に記載の情報処理装置。
The buffer time calculating means further calculates the buffer time in consideration of a change in processing time on the transmission side required until the transmission apparatus receives and transmits the measurement packet. 8. The information processing apparatus according to 7.
ネットワークを介して、データをパケットで送信する送信装置から送信されてくるデータを受信する情報処理装置の情報処理方法において、
前記パケットが前記送信装置との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する通信ステップと、
前記送信装置から送信されてくるデータをバッファリングするバッファ手段に、前記データをバッファリングするバッファステップと、
前記往復時間に基づいて、前記送信装置から送信されてくるデータを前記バッファ手段にバッファリングするバッファ時間を算出するバッファ時間算出ステップと、
前記バッファ手段による前記データのバッファリングの開始後、前記バッファ時間が経過してから、前記バッファ手段にバッファリングされているデータの読み出しを開始する読み出しステップと
を含むことを特徴とする情報処理方法。
In an information processing method of an information processing apparatus that receives data transmitted from a transmission apparatus that transmits data in a packet via a network,
A communication step of transmitting a measurement packet for measuring a round-trip time during which the packet reciprocates between the transmission device and receiving the measurement packet;
Buffer means for buffering the data in buffer means for buffering data transmitted from the transmitter; and
Based on the round trip time, a buffer time calculating step for calculating a buffer time for buffering data transmitted from the transmitting device in the buffer means;
And a reading step of starting reading of the data buffered in the buffer means after the buffer time has elapsed after the buffering of the data is started by the buffer means. .
ネットワークを介して、データをパケットで送信する送信装置から送信されてくるデータを受信する処理をコンピュータに行わせるプログラムであって、
前記パケットが前記送信装置との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する通信ステップと、
前記送信装置から送信されてくるデータをバッファリングするバッファ手段に、前記データをバッファリングするバッファステップと、
前記往復時間に基づいて、前記送信装置から送信されてくるデータを前記バッファ手段にバッファリングするバッファ時間を算出するバッファ時間算出ステップと、
前記バッファ手段による前記データのバッファリングの開始後、前記バッファ時間が経過してから、前記バッファ手段にバッファリングされているデータの読み出しを開始する読み出しステップと
を含むことを特徴とするプログラム。
A program for causing a computer to perform processing for receiving data transmitted from a transmission device that transmits data in packets via a network,
A communication step of transmitting a measurement packet for measuring a round-trip time during which the packet reciprocates between the transmission device and receiving the measurement packet;
Buffer means for buffering the data in buffer means for buffering data transmitted from the transmitter; and
Based on the round trip time, a buffer time calculating step for calculating a buffer time for buffering data transmitted from the transmitting device in the buffer means;
And a reading step of starting reading of the data buffered in the buffer means after the buffer time has elapsed after the buffering of the data is started by the buffer means.
ネットワークを介して、データをパケットで送信する送信装置から送信されてくるデータを受信する処理をコンピュータに行わせるプログラムが記録されている記録媒体であって、
前記パケットが前記送信装置との間を往復する往復時間を測定するための測定パケットを送信して、その測定パケットを受信する通信ステップと、
前記送信装置から送信されてくるデータをバッファリングするバッファ手段に、前記データをバッファリングするバッファステップと、
前記往復時間に基づいて、前記送信装置から送信されてくるデータを前記バッファ手段にバッファリングするバッファ時間を算出するバッファ時間算出ステップと、
前記バッファ手段による前記データのバッファリングの開始後、前記バッファ時間が経過してから、前記バッファ手段にバッファリングされているデータの読み出しを開始する読み出しステップと
を含むことを特徴とするプログラムが記録されている記録媒体。
A recording medium in which a program for causing a computer to perform processing for receiving data transmitted from a transmission device that transmits data in packets via a network is recorded,
A communication step of transmitting a measurement packet for measuring a round-trip time during which the packet reciprocates between the transmission device and receiving the measurement packet;
Buffer means for buffering the data in buffer means for buffering data transmitted from the transmitter; and
Based on the round trip time, a buffer time calculating step for calculating a buffer time for buffering data transmitted from the transmitting device in the buffer means;
And a reading step of starting reading of the data buffered in the buffer means after the buffer time has elapsed after the buffering of the data is started by the buffer means. Recording media.
JP2003424061A 2003-12-22 2003-12-22 COMMUNICATION SYSTEM, INFORMATION PROCESSING DEVICE AND METHOD, PROGRAM, AND RECORDING MEDIUM Pending JP2005184580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003424061A JP2005184580A (en) 2003-12-22 2003-12-22 COMMUNICATION SYSTEM, INFORMATION PROCESSING DEVICE AND METHOD, PROGRAM, AND RECORDING MEDIUM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003424061A JP2005184580A (en) 2003-12-22 2003-12-22 COMMUNICATION SYSTEM, INFORMATION PROCESSING DEVICE AND METHOD, PROGRAM, AND RECORDING MEDIUM

Publications (1)

Publication Number Publication Date
JP2005184580A true JP2005184580A (en) 2005-07-07

Family

ID=34784345

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003424061A Pending JP2005184580A (en) 2003-12-22 2003-12-22 COMMUNICATION SYSTEM, INFORMATION PROCESSING DEVICE AND METHOD, PROGRAM, AND RECORDING MEDIUM

Country Status (1)

Country Link
JP (1) JP2005184580A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007037037A (en) * 2005-07-29 2007-02-08 Circle One:Kk Video distribution system
JP2007037038A (en) * 2005-07-29 2007-02-08 Circle One:Kk Video distribution system
JP2007150916A (en) * 2005-11-29 2007-06-14 Sony Corp Communication system, terminal device and computer program
WO2009014222A1 (en) * 2007-07-26 2009-01-29 Media Global Links Co., Ltd. Retransmission parameter automatic calculation algorithm and its system
WO2009069753A1 (en) * 2007-11-30 2009-06-04 Nec Corporation Call processing time measuring device, call processing time measuring method, and call processing time measuring program
JP2010101670A (en) * 2008-10-22 2010-05-06 Fujitsu Ltd Device and system for measuring optical fiber transmission line
JP5517381B1 (en) * 2013-09-30 2014-06-11 レゾネッツ合同会社 Fluctuation absorber, communication device, and control program
JP2015536592A (en) * 2012-10-10 2015-12-21 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for media data delivery control
WO2016080280A1 (en) * 2014-11-19 2016-05-26 日本電気株式会社 Round-trip delay time measurement system, round-trip delay time measurement method, return method, communication device, program, and data structure
US9419877B2 (en) 2007-11-30 2016-08-16 Nec Corporation Call processing time measurement device, call processing time measurement method, and program for call processing time measurement
JP2017073655A (en) * 2015-10-07 2017-04-13 日本電信電話株式会社 Time-out time setting device and time-out time setting method
JP2021016133A (en) * 2019-07-16 2021-02-12 富士通株式会社 Packet analysis program, packet analyzing method, and packet analysis device
JP2023019090A (en) * 2021-07-28 2023-02-09 Kddi株式会社 Communication terminal apparatus, communication method, and computer program

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007037038A (en) * 2005-07-29 2007-02-08 Circle One:Kk Video distribution system
JP2007037037A (en) * 2005-07-29 2007-02-08 Circle One:Kk Video distribution system
JP2007150916A (en) * 2005-11-29 2007-06-14 Sony Corp Communication system, terminal device and computer program
WO2009014222A1 (en) * 2007-07-26 2009-01-29 Media Global Links Co., Ltd. Retransmission parameter automatic calculation algorithm and its system
WO2009069753A1 (en) * 2007-11-30 2009-06-04 Nec Corporation Call processing time measuring device, call processing time measuring method, and call processing time measuring program
US9264477B2 (en) 2007-11-30 2016-02-16 Nec Corporation Call processing time measuring device, call processing time measuring method, and call processing time measuring program
US9419877B2 (en) 2007-11-30 2016-08-16 Nec Corporation Call processing time measurement device, call processing time measurement method, and program for call processing time measurement
JP2010101670A (en) * 2008-10-22 2010-05-06 Fujitsu Ltd Device and system for measuring optical fiber transmission line
US10356143B2 (en) 2012-10-10 2019-07-16 Samsung Electronics Co., Ltd. Method and apparatus for media data delivery control
JP2015536592A (en) * 2012-10-10 2015-12-21 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for media data delivery control
US11381622B2 (en) 2012-10-10 2022-07-05 Samsung Electronics Co., Ltd. Method and apparatus for media data delivery control
US10382515B2 (en) 2012-10-10 2019-08-13 Samsung Electronics Co., Ltd. Method and apparatus for media data delivery control
JP5517381B1 (en) * 2013-09-30 2014-06-11 レゾネッツ合同会社 Fluctuation absorber, communication device, and control program
US9350783B2 (en) 2013-09-30 2016-05-24 Resonetz, Llc Fluctuation absorbing device, communication device, and control program
JPWO2016080280A1 (en) * 2014-11-19 2017-08-24 日本電気株式会社 Round trip time measurement system, round trip time measurement method, return method, communication device, program, and data structure
AU2015351161B2 (en) * 2014-11-19 2018-11-08 Nec Corporation Round-trip delay time measurement system, round-trip delay time measurement method, return method, communication device, program, and data structure
AU2015351161C1 (en) * 2014-11-19 2019-02-07 Nec Corporation Round-trip delay time measurement system, round-trip delay time measurement method, return method, communication device, program, and data structure
US10230606B2 (en) 2014-11-19 2019-03-12 Nec Corporation Round-trip delay time measurement system, round-trip delay time measurement method, return method, communication device, program, and data structure
WO2016080280A1 (en) * 2014-11-19 2016-05-26 日本電気株式会社 Round-trip delay time measurement system, round-trip delay time measurement method, return method, communication device, program, and data structure
TWI684337B (en) * 2014-11-19 2020-02-01 日本電氣股份有限公司 Round-trip delay time measurement system, round-trip delay time measurement method, reply method, communication apparatus, program, and data structure
JP2017073655A (en) * 2015-10-07 2017-04-13 日本電信電話株式会社 Time-out time setting device and time-out time setting method
JP2021016133A (en) * 2019-07-16 2021-02-12 富士通株式会社 Packet analysis program, packet analyzing method, and packet analysis device
JP7323782B2 (en) 2019-07-16 2023-08-09 富士通株式会社 Packet analysis program, packet analysis method and packet analysis device
JP2023019090A (en) * 2021-07-28 2023-02-09 Kddi株式会社 Communication terminal apparatus, communication method, and computer program
JP7541494B2 (en) 2021-07-28 2024-08-28 Kddi株式会社 COMMUNICATION TERMINAL DEVICE, COMMUNICATION METHOD, AND COMPUTER PROGRAM

Similar Documents

Publication Publication Date Title
US8677002B2 (en) Streaming media system and method
KR102172530B1 (en) IP Speaker system embedded with amplifier for video monitoring
JP3658087B2 (en) Terminal device and method for controlling terminal device
US20160219249A1 (en) Proactively preparing to display multimedia data
JP2007057767A (en) Content receiving apparatus and content receiving method
JP2011139150A (en) Stream distribution system, call control server apparatus, and stream distribution control method
JP2005184580A (en) COMMUNICATION SYSTEM, INFORMATION PROCESSING DEVICE AND METHOD, PROGRAM, AND RECORDING MEDIUM
JP2008311831A (en) Moving picture communication apparatus, moving picture communication system, and semiconductor integrated circuit for moving picture communication
JP4975672B2 (en) Wireless communication device
KR20070070534A (en) Method for controlling video server using real time transmission protocol and recording medium thereof
US20080117834A1 (en) Call server, call terminal, call system, transfer processing method, and program storage medium storing program thereof
KR102107150B1 (en) Power Distributor system to be saved the power an AC/DC Power switchover to be connected to amplifier of speakers
JP2001177573A (en) Data communication system, data receiving terminal and data transmitting terminal
WO2003088551A1 (en) Data transmission system, data transmission apparatus, data transmission method, and computer program
JP5428734B2 (en) Network device, information processing apparatus, stream switching method, information processing method, program, and content distribution system
JP2003101662A (en) Communication method, communication device, and communication terminal
JP2007150859A5 (en)
JP2003101547A (en) Video distribution apparatus and compressed video data distribution method
KR20230050449A (en) Wireless Conferencing System with Early Packet Loss Detection
EP1633161A1 (en) Medium signal reception device, transmission device, and transmission/reception system
JP2004186793A (en) Streaming distribution device, streaming terminal device, streaming distribution system, and streaming distribution method
KR102109607B1 (en) System for reducing delay of transmission and reception in communication network, and apparatus thereof
JP2008167351A (en) Terminal device
KR20090126734A (en) Video Mailbox Service Method for PIPIP Terminal
JP5053071B2 (en) Wireless communication device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060927

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090116

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090421