JP2001244969A - Method and device for receiving data - Google Patents

Method and device for receiving data

Info

Publication number
JP2001244969A
JP2001244969A JP2000050821A JP2000050821A JP2001244969A JP 2001244969 A JP2001244969 A JP 2001244969A JP 2000050821 A JP2000050821 A JP 2000050821A JP 2000050821 A JP2000050821 A JP 2000050821A JP 2001244969 A JP2001244969 A JP 2001244969A
Authority
JP
Japan
Prior art keywords
data
time
reproduction time
real
delay
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
JP2000050821A
Other languages
Japanese (ja)
Inventor
Yusaku Miyazaki
雄策 宮崎
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2000050821A priority Critical patent/JP2001244969A/en
Publication of JP2001244969A publication Critical patent/JP2001244969A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To reproduce received real time data without communication failure even when any reproducing time information is added on the side of transmission. SOLUTION: Communication delay is detected by a communication delay detecting circuit 102. An offset value for controlling the reproducing time of real time data is found by a DSP 300 while counting delay for reception processing in addition to the detected communication delay. The offset value is set to correction registers 103 and 107. The set offset values are respectively added to the received reproducing time data or output value of real time data by adders 205 and 108. Thus, fine adjustment is adaptively applied to the reproducing time of data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データ受信方法お
よびデータ受信装置に関し、特に、通信ネットワーク等
を介して送信されてきた映像信号などのリアルタイムデ
ータを受信するデータ受信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data receiving method and a data receiving apparatus, and more particularly, to a data receiving apparatus for receiving real-time data such as a video signal transmitted via a communication network or the like.

【0002】[0002]

【従来の技術】近年、映像(例えば、ライブ中継や監視
等のために撮影された映像)を情報を受け取る側に即座
に伝送し、再生するという需要が高まっている。例え
ば、インターネット等のネットワークを介した動画像の
配信や、衛星放送における双方向通信等である。
2. Description of the Related Art In recent years, there has been an increasing demand for immediately transmitting and reproducing a video (for example, a video shot for live broadcasting or monitoring) to a side receiving information. For example, there are distribution of moving images via a network such as the Internet, and two-way communication in satellite broadcasting.

【0003】ネットワーク等を介して、音声データ,画
像データあるいは演奏データなどの時系列データ等をリ
アルタイム伝送するとき、伝送経路における信号の遅延
が無視できず、完全な同期通信方式の通信系とならない
場合がある。
When transmitting time-series data such as audio data, image data or performance data via a network or the like in real time, signal delays in a transmission path cannot be ignored, and the communication system does not become a completely synchronous communication system. There are cases.

【0004】このような場合には、伝送されるデータの
時間軸上での再現性を保証するために、データ自身にそ
のデータが再現されるべき時刻を示す再生時刻データ
(タイムスタンプ)を付加して送信し、受信側におい
て、そのタイムスタンプ(データの再生時点を指示する
情報)を参照し、その指定された時刻に到達した時点
で、そのデータを再生する、という方式が採用される。
In such a case, in order to guarantee reproducibility on the time axis of transmitted data, reproduction time data (time stamp) indicating a time at which the data is to be reproduced is added to the data itself. Then, the receiving side refers to the time stamp (information indicating the data reproduction time) and reproduces the data when the specified time is reached.

【0005】[0005]

【発明が解決しようとする課題】再生時刻情報(タイム
スタンプ)をデータに付加した送受信を実現する場合に
おいて、再生時刻情報は、有線媒体あるいは無線媒体の
通信遅延,ジッタあるいは受信側での処理遅延やバッフ
ァ容量等を考慮して決定する必要がある。
In realizing transmission and reception in which reproduction time information (time stamp) is added to data, the reproduction time information includes communication delay, jitter or processing delay on the receiving side of a wired or wireless medium. It is necessary to determine in consideration of the buffer capacity and the like.

【0006】現実には、送信側がこれらを予め予測する
のは困難であり、結局、通信媒体における伝送遅延や受
信側の処理遅延を考慮すれば、再生までの時間を十分に
大きくせざるを得ない。
In reality, it is difficult for the transmitting side to predict these in advance, and after all, if the transmission delay in the communication medium and the processing delay on the receiving side are taken into account, the time until reproduction must be made sufficiently long. Absent.

【0007】しかし、このようにすると、受信側のデー
タバッファの容量が足りなくなって、オーバーフローが
生じるおそれがある。逆に、再生までの時間を小さく設
定すれば、受信側における受信処理の遅延等によって、
途中で再生時刻が過ぎてしまい、既に過去の時刻と見な
されて、受信したデータの再生ができなくなってしまう
おそれもあった。
However, in this case, the capacity of the data buffer on the receiving side becomes insufficient, and an overflow may occur. Conversely, if the time until playback is set to a small value, a delay in the receiving process on the receiving side, etc.
There is also a possibility that the playback time has passed halfway and the received data is regarded as a past time and cannot be played back.

【0008】本発明はこのような考察に着目してなされ
たものであり、送信側がどのような再生時間情報を付加
したとしても、通信の破綻をきたすことなく受信データ
を再生することを可能とすることを目的とする。
The present invention has been made in view of such considerations, and it has become possible to reproduce received data without causing communication failure, regardless of what reproduction time information is added by the transmitting side. The purpose is to do.

【0009】[0009]

【課題を解決するための手段】本発明では、受信側にお
いて伝送路の遅延を検出し、この検出結果を考慮して、
再生時刻データ(再生時間情報)、あるいは受信側のタ
イマの値を補正する。受信側にて、伝送遅延(さらに受
信処理の遅延等)を考慮して、再生時刻を適応的に微調
整するため、送信側がどのような再生時間情報を付加し
たとしても、通信の破綻をきたすことなく、受信データ
を再生することが可能となる。
According to the present invention, a delay of a transmission line is detected on the receiving side, and the detection result is taken into consideration.
The reproduction time data (reproduction time information) or the value of the timer on the receiving side is corrected. On the receiving side, the reproduction time is adaptively fine-tuned in consideration of the transmission delay (further, the delay of the reception processing, etc.), so that whatever the reproduction time information is added by the transmitting side, the communication is broken. It is possible to reproduce the received data without the need.

【0010】[0010]

【発明の実施の形態】本発明の一態様は、通常のパケッ
ト受信のための受信部と、通信媒体のネットワーク遅延
時間を検出するための通信遅延検出回路と、この値と受
信機の処理遅延を考慮した補正データが格納される補正
レジスタと、補正データを加算する為の加算器と、受信
データを再生時刻になるまでバッファリングするための
受信バッファと、ネットワーク上の実時間をカウントす
るリアルタイムタイマと、受信データに付加された再生
時刻データが大きすぎる場合の補正のための補正レジス
タと、再生時刻になるまで再生時刻データと実時間とを
コンペアするためのコンパレータと、を具備する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One aspect of the present invention is a receiving unit for normal packet reception, a communication delay detecting circuit for detecting a network delay time of a communication medium, a value of this value and a processing delay of a receiver. Register for storing correction data in consideration of the above, an adder for adding the correction data, a reception buffer for buffering the reception data until the reproduction time, and a real-time counting real time on the network It includes a timer, a correction register for correcting when the reproduction time data added to the received data is too large, and a comparator for comparing the reproduction time data with real time until the reproduction time is reached.

【0011】補正すべき時間データは、有線/無線媒体
の通信遅延、ジッタ、また受信側での処理遅延、バッフ
ァ容量を超えてしまうように受信パケットデータ付加さ
れた大きな再生時刻データである。通信媒体の遅延遅
延、ジッタは通信遅延検出回路により得ることができ
る。この通信遅延検出回路は、ネットワーク上にある任
意の機器から出される実時間パケットを受信した時に、
リアルタイムタイマの値と比較することで時間ずれを検
出する。検出されたずれ量は各補正レジスタの値を決定
するために使用される。
The time data to be corrected is large reproduction time data to which received packet data is added so as to exceed the communication delay and jitter of the wired / wireless medium, the processing delay on the receiving side, and the buffer capacity. The delay and jitter of the communication medium can be obtained by a communication delay detection circuit. This communication delay detection circuit, when receiving a real-time packet from any device on the network,
The time lag is detected by comparing with the value of the real-time timer. The detected shift amount is used to determine the value of each correction register.

【0012】再生時刻データが付加されたパケットを受
信部で受信すると、そのパケットヘッダ解析とパケット
先頭からデータ数をカウントし再生時刻データのあるパ
ケットフィールドに対して補正レジスタのデータを加算
器により加算する。これにより再生時刻データが、受信
側での処理遅延よりも小さいような場合でも、補正レジ
スタの値を、前記時間ずれと受信側での処理遅延時間に
設定しておくことで正常に再生することができる。一
方、受信部で受信したパケットデータの受信レートが低
く、付加された再生時刻データが受信バッファの容量を
超えてしまうような場合は、適正な値を補正レジスタに
設定し、リアルタイムタイマの値と加算器によって加算
された値によって再生時刻データとコンパレータと比較
することにより、正常に再生することが可能となる。
When the receiving section receives the packet to which the reproduction time data has been added, the packet header is analyzed, the number of data is counted from the beginning of the packet, and the data of the correction register is added to the packet field having the reproduction time data by the adder. I do. Thereby, even when the reproduction time data is smaller than the processing delay on the receiving side, normal reproduction can be performed by setting the value of the correction register to the time lag and the processing delay time on the receiving side. Can be. On the other hand, when the reception rate of the packet data received by the receiving unit is low and the added reproduction time data exceeds the capacity of the reception buffer, an appropriate value is set in the correction register, and the value of the real-time timer is set. By comparing the reproduction time data with the comparator based on the value added by the adder, normal reproduction can be performed.

【0013】次に、本発明の実施の形態について図面を
参照して、より具体的に説明する。
Next, embodiments of the present invention will be described more specifically with reference to the drawings.

【0014】図1は、本実施の形態に係るデータ受信装
置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a data receiving apparatus according to the present embodiment.

【0015】図示されるように、このデータ受信装置
は、受信部101と、遅延検出回路102(減算器30
1を具備する)と、加算部104(加算器205を具備
する)と、受信バッファ105(再生時刻データを格納
するためのレジスタ206を内蔵する)と、補正レジス
タ103,107と、リアルタイムタイマ106と、加
算器108と、コンパレータ109と、再生処理部20
7と、を有している。受信バッファ105は、受信した
データを、再生時刻になるまでバッファリングするため
に設けられている。
As shown in the figure, the data receiving apparatus includes a receiving section 101 and a delay detecting circuit 102 (a subtractor 30).
1), an adder 104 (including an adder 205), a reception buffer 105 (built-in a register 206 for storing reproduction time data), correction registers 103 and 107, and a real-time timer 106. , An adder 108, a comparator 109, and a reproduction processing unit 20.
And 7. The reception buffer 105 is provided to buffer the received data until the reproduction time comes.

【0016】本実施の形態の特徴は、通信遅延検出回路
102において、ネットワークの伝送遅延を検出し、そ
の検出結果を考慮して、送信パケットに付加されている
再生時刻データを補正したり、あるいは、受信装置が内
蔵するリアルタイマのカウント値を補正したりして、再
生時刻を最適化することである。
A feature of the present embodiment is that a communication delay detecting circuit 102 detects a network transmission delay and, in consideration of the detection result, corrects reproduction time data added to a transmission packet, or In other words, the reproduction time is optimized by correcting the count value of a real timer incorporated in the receiving device.

【0017】補正データは、例えば、DSP300によ
って算出され、補正レジスタ103,107にセットさ
れる。補正レジスタ103は、送信側が設定した再生時
刻を示すデータの値が小さすぎる場合に、再生時刻を少
し引き延ばすために、再生時刻情報(再生時間情報)に
加算するための補正データを保持する。
The correction data is calculated, for example, by the DSP 300 and set in the correction registers 103 and 107. The correction register 103 holds correction data to be added to the reproduction time information (reproduction time information) in order to slightly extend the reproduction time when the value of the data indicating the reproduction time set by the transmission side is too small.

【0018】一方、補正レジスタ107は、送信側が設
定する再生時刻を示すデータの値が大きすぎる場合に、
受信装置が内蔵するリアルタイムタイマのカウント値に
上のせするための補正データを保持する。
On the other hand, when the value of the data indicating the reproduction time set by the transmitting side is too large, the correction register 107
It holds correction data to be added to the count value of the real-time timer built in the receiving device.

【0019】補正レジスタ103にセットされた補正デ
ータは、加算器205により、再生時刻情報に加算され
る。また、補正レジスタ107にセットされた補正デー
タは、加算器108によって、リアルタイムタイマ10
6の出力値に加算される。
The correction data set in the correction register 103 is added to the reproduction time information by the adder 205. The correction data set in the correction register 107 is added by the adder 108 to the real-time timer 10.
6 is added to the output value.

【0020】以下、図1に示される受信装置の全体構成
と動作について、順を追って説明する。
Hereinafter, the overall configuration and operation of the receiving apparatus shown in FIG. 1 will be described step by step.

【0021】受信部101は、ネットワーク10を介し
て送信されてきたパケットを受信する他、受信データに
付加された再生時刻データを検出する機能を有する。
The receiving unit 101 has a function of receiving a packet transmitted via the network 10 and a function of detecting reproduction time data added to the received data.

【0022】この受信部101は、図示されるとおり、
ヘッダ解析部201と、受信処理部202と、データカ
ウンタ203と、エラーチェック部204を具備する。
ヘッダ解析部201は、受信データパケットのパケット
ヘッダ部を解析し、受信処理部202に受信データを出
力する。
As shown in FIG.
It includes a header analysis unit 201, a reception processing unit 202, a data counter 203, and an error check unit 204.
Header analysis section 201 analyzes the packet header section of the received data packet, and outputs the received data to reception processing section 202.

【0023】受信処理部202に入力された受信データ
は、データカウンタ(パケットカウンタ)203、エラ
ーチェック部204により、データ数のカウントと受信
データにエラーがあるかのチェックを行う。エラーがあ
る場合は、受信データを無効とする。
The received data input to the reception processing unit 202 is counted by a data counter (packet counter) 203 and an error check unit 204 to check whether there is an error in the received data. If there is an error, invalidate the received data.

【0024】一方、受信データが有効であった場合は、
以下のような処理を行う。リアルタイムデータの送信に
際しては、まず、そのシステム(系)における実時間を
示す実時間パケットが送出され、続いて、再生時刻デー
タが付加されたデータパケットが送出される。
On the other hand, if the received data is valid,
The following processing is performed. When transmitting real-time data, first, a real-time packet indicating the real time in the system (system) is transmitted, and subsequently, a data packet to which reproduction time data is added is transmitted.

【0025】したがって、受信処理部202では、ヘッ
ダ解析部201から渡されたのが実時間パケット(この
パケットは通信サイクル毎に発行される)で伝送されて
きた実時間データ(これは、送信側における送信時刻を
示すデータとして機能する)であれば、これを、通信遅
延検出回路102に送る。
Therefore, in the reception processing unit 202, the real-time data transmitted from the header analysis unit 201 in the form of a real-time packet (this packet is issued every communication cycle) Function as the data indicating the transmission time in), this is sent to the communication delay detection circuit 102.

【0026】また、送信されてきたリアルタイムデータ
(再生時刻データが付加された通信データ)であれば、
リアルタイムデータのパケットフィールドをパケットの
先頭からカウントして、再生時刻データが付加されてい
る位置を検出し、その検出した位置を示す信号を、加算
部104に供給する。また、リアルタイムデータ(通信
データ)を、加算部104中の、加算器205に供給す
る。
In the case of transmitted real-time data (communication data to which reproduction time data is added),
The packet field of the real-time data is counted from the beginning of the packet, the position where the reproduction time data is added is detected, and a signal indicating the detected position is supplied to the adding unit 104. Further, it supplies the real-time data (communication data) to the adder 205 in the adder 104.

【0027】通信遅延検出回路102は、内蔵する減算
器301を用いて、リアルタイムタイマ106のカウン
ト値と、受信処理部202から送られてきた実時間デー
タ(送信側における送信時刻を示すデータ)の値との差
をとる。これにより、送信から受信までに要した時間、
つまり、通信ネットワークの遅延時間を検出することが
できる。
The communication delay detection circuit 102 uses a built-in subtractor 301 to convert the count value of the real-time timer 106 and the real-time data (data indicating the transmission time on the transmission side) transmitted from the reception processing unit 202. Take the difference from the value. As a result, the time required from transmission to reception,
That is, the delay time of the communication network can be detected.

【0028】リアルタイムタイマ106は、ネットワー
ク上の実時間をカウントするものであり、受信装置の動
作クロックで動作している。なお、ネットワーク10に
接続されている各機器(各受信装置)の各々は、リアル
タイムタイマを内蔵しており、それぞれ独自にタイムカ
ウントしている。
The real-time timer 106 counts the actual time on the network, and operates on the operating clock of the receiving device. Each device (each receiving device) connected to the network 10 has a built-in real-time timer, and performs its own time counting.

【0029】そして、ネットワーク上の一つの機器(す
なわち、パケット送信を行う送信側の機器)から実時間
パケットが発行されて、これを受信した場合には、受信
した実時間パケットに含まれる時刻データに、各受信装
置のリアルタイムタイマの値はセットされるようになっ
ている。つまり、送信側と受信側の同期を確保するため
に、受信側のリアルタイマを、送信側の実時間に適合さ
せるようなシステムとなっている。
Then, a real-time packet is issued from one device on the network (that is, a transmitting device that performs packet transmission), and when this is received, the time data contained in the received real-time packet is transmitted. Then, the value of the real-time timer of each receiving device is set. In other words, in order to ensure synchronization between the transmission side and the reception side, the system is such that the real timer on the reception side is adapted to the real time on the transmission side.

【0030】上述の通信遅延検出回路102では、リア
ルタイムタイマ106がセットされる前の値と、受信処
理部202から送られてきた実時間データの値との差を
とる。つまり、通信サイクル毎に発行される実時間パケ
ットにより、受信装置が内蔵するリアルタイムタイマが
補正される前にネットワーク上の実時間を記憶し、ネッ
トワーク上の実時間と比較する。このため、ネットワー
クにおける伝送遅延を、確実に求めることができる。
The communication delay detecting circuit 102 calculates a difference between the value before the real-time timer 106 is set and the value of the real-time data sent from the reception processing unit 202. That is, the real time on the network is stored and compared with the real time on the network before the real time timer built in the receiving device is corrected by the real time packet issued for each communication cycle. Therefore, the transmission delay in the network can be reliably obtained.

【0031】DSP300は、通信遅延検出回路102
による検出結果を考慮し、送信側が設定した再生時刻ま
での時間が短すぎる(あるいは再生時刻がすでに過ぎて
いる)場合には、例えば、補正レジスタ103に、例え
ば、”+1”をセットする。セットされた補正値は、加
算部104の加算器205により、送信されてきたデー
タに付加されている再生時刻データに付加される。この
とき、加算部104は、受信処理部202から供給され
る、再生時刻データの位置を示す検出信号に基づいて、
受信データに付加されている再生時刻データ位置を認識
し、補正データを付加する。
The DSP 300 includes a communication delay detection circuit 102
In consideration of the detection result of the above, if the time until the reproduction time set by the transmission side is too short (or the reproduction time has already passed), for example, "+1" is set in the correction register 103, for example. The set correction value is added by the adder 205 of the adder 104 to the reproduction time data added to the transmitted data. At this time, the adding unit 104 determines, based on the detection signal indicating the position of the reproduction time data supplied from the reception processing unit 202,
The reproduction time data position added to the received data is recognized, and correction data is added.

【0032】このように、適正な値を補正レジスタ10
3に書き込んでおくことで、再生時刻データに対してオ
フセット値を加算し、再生時刻を,適宜、遅らせること
ができる。すなわち、受信した映像、音声信号のような
リアルタイムデータに付加された再生時刻データに対し
て、受信側で、現実の受信処理遅延やネットワーク上で
の通信遅延を加算するので、見かけ上、受信側で受信処
理遅延やネットワーク上での通信遅延を無視することが
できるようになる。
As described above, the correct value is set in the correction register 10.
By writing to 3, the reproduction time can be appropriately delayed by adding an offset value to the reproduction time data. That is, the reception side adds the actual reception processing delay and the communication delay on the network to the reproduction time data added to the real-time data such as the received video and audio signals. Thus, it is possible to ignore a reception processing delay and a communication delay on the network.

【0033】また、送信側が設定した再生時刻までの時
間が長すぎて、受信バッファ105がオーバーフローす
るような場合には、補正レジスタ107に、適正な再生
時刻になるようなオフセット値(例えば、”+2”)を
セットする。
When the time until the reproduction time set by the transmission side is too long and the reception buffer 105 overflows, the offset value (for example, "") is set in the correction register 107 so that the reproduction time becomes appropriate. +2 ”) is set.

【0034】受信バッファ105には、再生を待つ受信
データが格納され、また、この受信バッファ105が内
蔵するレジスタ206には、再生時刻を示すデータ(よ
り具体的には、再生時刻に至るまでの時間のデータ)が
保持されている。
The reception buffer 105 stores reception data waiting for reproduction, and a register 206 incorporated in the reception buffer 105 stores data indicating the reproduction time (more specifically, data until the reproduction time is reached). Time data) is retained.

【0035】コンパレータ109は、レジスタ206に
セットされている再生時刻に至るまでの残り時間のデー
タと、リアルタイムタイマによりカウントされた実時間
とを比較する。
The comparator 109 compares the data of the remaining time up to the reproduction time set in the register 206 with the real time counted by the real time timer.

【0036】上述のように、補正レジスタ107にセッ
トされた補正値が、加算器108によってリアルタイム
タイマ106の現実のカウント値に加算されるというこ
とは、補正値の分だけ、コンパレータ109による一致
検出のタイミングが早まることを意味する。すなわち、
これにより、再生時刻を早めることができる。
As described above, the fact that the correction value set in the correction register 107 is added to the actual count value of the real-time timer 106 by the adder 108 means that the comparator 109 detects the coincidence by the correction value. Means that the timing of the process is advanced. That is,
Thereby, the reproduction time can be advanced.

【0037】コンパレータ109により一致が判定され
ると、再生処理部207は、受信バッファに蓄積されて
いる、再生待ちのデータを取り出し、再生処理を開始す
る。
When the comparator 109 determines a match, the reproduction processing unit 207 extracts the data waiting for reproduction stored in the reception buffer and starts the reproduction process.

【0038】以上説明した、本実施の形態の受信装置の
動作をまとめると、図2のようになる。
FIG. 2 summarizes the operation of the receiving apparatus according to the present embodiment described above.

【0039】すなわち、まず、通信遅延(伝送路の遅
延)を検出し(ステップ400)、この通信遅延ならび
に受信側における信号処理の遅延を考慮して、送信側が
指定した再生時刻の妥当性を判定する(ステップ41
0)。
That is, first, a communication delay (delay of a transmission line) is detected (step 400), and the validity of the reproduction time designated by the transmission side is determined in consideration of the communication delay and the delay of the signal processing on the reception side. (Step 41
0).

【0040】再生時刻が適正であるときには、再生時刻
になるまで受信データをバッファリングしておき、再生
時刻になったらデータの再生処理を開始する(ステップ
450)。
If the reproduction time is proper, the received data is buffered until the reproduction time comes, and when the reproduction time comes, the data reproduction process is started (step 450).

【0041】一方、再生時刻が適正でない場合には、再
生時刻までの時間が短かすぎるかどうかを判定し(ステ
ップ420)、そうであるならば、補正値を、再生時刻
を示すデータ(再生時刻に至るまでの時間を示すデー
タ)に加算して、再生時刻を先に延ばす(ステップ43
0)。
On the other hand, if the playback time is not appropriate, it is determined whether the time until the playback time is too short (step 420). If so, the correction value is replaced with data indicating the playback time (playback time). (Data indicating the time until the time is reached) to extend the reproduction time earlier (step 43).
0).

【0042】また、ステップ420において、再生時刻
までの時間が短いと判定されない場合には、逆に再生時
刻までの時間が長すぎることになる。よって、リアルタ
イムタイマの出力値に補正値を上のせして(すなわち、
オフセット補正を行い)、再生開始を早める(ステップ
440)。
If it is not determined in step 420 that the time until the reproduction time is short, the time until the reproduction time is too long. Therefore, the correction value is added to the output value of the real-time timer (ie,
Offset correction is performed), and the reproduction is started earlier (step 440).

【0043】このように、再生時刻データまたはリアル
タイムタイマの出力値に対して、適応的な補正を行うこ
とにより、通信遅延、受信処理遅延によるリアルタイム
データ再生時に発生する問題をすべて、解決することが
できる。
As described above, by adaptively correcting the reproduction time data or the output value of the real-time timer, it is possible to solve all the problems that occur during the reproduction of the real-time data due to the communication delay and the reception processing delay. it can.

【0044】本発明は、上述の実施の形態に限定される
ものではなく、種々、変形・応用が可能である。例え
ば、上述の実施の形態では、「再生時刻を指定するデー
タ」の適正を判断しているが、送信側が「再生が許容さ
れる時間範囲を指定するデータ」を付加して送信してき
た場合には、その許容時間範囲を、受信側で、現実の遅
延や受信状況等を考慮して適応的に補正することもでき
る。
The present invention is not limited to the above embodiment, but can be variously modified and applied. For example, in the above-described embodiment, the appropriateness of the “data specifying the reproduction time” is determined. However, when the transmitting side adds and transmits the “data specifying the time range in which the reproduction is permitted”, Can adaptively correct the permissible time range on the receiving side in consideration of actual delays, reception conditions, and the like.

【0045】また、上述の実施の形態では、オフセット
値をDSPにより求めているが、例えば、オフセット値
をROM化しておき、遅延時間情報をアドレス変数とし
て用いてROMをアクセスし、オフセット値を出力させ
るような方式(ルックアップテーブル方式)を採用する
こともできる。また、実際の遅延量を、所定のレンジ毎
に分割してグループ化しておき、一つのグループに属す
る遅延に対しては、一律のオフセット値を適用すること
も可能である。
In the above-described embodiment, the offset value is obtained by the DSP. For example, the offset value is stored in a ROM, the ROM is accessed using the delay time information as an address variable, and the offset value is output. (A look-up table method). Further, it is also possible to divide the actual delay amount for each predetermined range into groups and to apply a uniform offset value to delays belonging to one group.

【0046】[0046]

【発明の効果】以上説明したように、本発明によれば、
送信側がどのような再生時間情報を添付した場合でも、
現実の通信遅延や受信処理遅延を考慮して、適応的に再
生時点を変更することができる。これにより、通信が破
綻することがなく、受信装置において、常に正常なデー
タの再生が確保される。
As described above, according to the present invention,
Whatever playback time information is attached by the sender,
The reproduction point can be adaptively changed in consideration of the actual communication delay and the reception processing delay. Thus, normal data reproduction is always ensured in the receiving device without communication failure.

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

【図1】本発明のデータ受信装置の一実施の形態の構成
を示すブロック図
FIG. 1 is a block diagram showing a configuration of an embodiment of a data receiving device of the present invention.

【図2】本発明のデータ受信装置の特徴的な動作を示す
フロー図
FIG. 2 is a flowchart showing a characteristic operation of the data receiving apparatus of the present invention.

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

101 受信部 102 通信遅延検出回路 103 補正レジスタ 104 加算部 105 受信バッファ 106 リアルタイムタイマ 107 補正レジスタ 108 加算器 109 コンパレータ 110 データ受信装置 201 ヘッダ解析部 202 受信処理部 203 データカウンタ 204 エラーチェック部 205 加算器 206 レジスタ 207 再生処理部 300 DSP 301 減算器 Reference Signs List 101 reception unit 102 communication delay detection circuit 103 correction register 104 addition unit 105 reception buffer 106 real-time timer 107 correction register 108 adder 109 comparator 110 data reception device 201 header analysis unit 202 reception processing unit 203 data counter 204 error check unit 205 adder 206 Register 207 Reproduction processing unit 300 DSP 301 Subtractor

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 データの再生時刻を指定する再生時間情
報が付加されて送信されてくる、リアルタイム性が要求
されるデータを受信するに際し、伝送路における実際の
遅延を検出し、検出された通信遅延ならびに受信処理に
伴う遅延を考慮して、送信側が付加したデータの再生時
間情報の妥当性を判定し、再生時刻を遅らせた方がよい
場合には、受信した前記再生時間情報に対してオフセッ
ト補正を行い、また、再生時刻を早めた方がいい場合に
は、自装置が内蔵するリアルタイムタイマの出力に対し
てオフセット補正を行うことを特徴とするデータ受信方
法。
When receiving data requiring real-time transmission which is transmitted with reproduction time information specifying a reproduction time of data, an actual delay in a transmission path is detected, and the detected communication is performed. In consideration of the delay and the delay associated with the reception processing, the validity of the reproduction time information of the data added by the transmission side is determined, and if it is better to delay the reproduction time, an offset is applied to the received reproduction time information. A data receiving method comprising: performing a correction and, if it is better to advance the reproduction time, performing an offset correction on an output of a real-time timer incorporated in the apparatus.
【請求項2】 データの再生時刻を指定する再生時間情
報が付加されて、ネットワークを介して送信されてく
る、映像、音声信号のようなリアルタイム性が要求され
るデータを受信するデータ受信装置であって、 送信側から送られてくる、ネットワーク上の実時間に関
する情報と、自装置内における実時間情報とを比較する
ことにより、ネットワーク上での遅延時間を検出する通
信遅延検出手段と、 この通信遅延検出手段によって検出された通信遅延、お
よび受信処理に伴う遅延に基づき、前記再生時間情報が
示す受信データの再生時刻を補正するためのオフセット
値を求め、データの再生時刻を適応的に調整する再生時
刻調整手段と、を有することを特徴とするデータ受信装
置。
2. A data receiving apparatus for receiving data that requires real-time characteristics, such as video and audio signals, which is transmitted via a network to which reproduction time information specifying a reproduction time of data is added. Communication delay detecting means for detecting a delay time on the network by comparing the information on the real time on the network sent from the transmitting side with the real time information in the own device; Based on the communication delay detected by the communication delay detecting means and the delay associated with the reception processing, an offset value for correcting the reproduction time of the reception data indicated by the reproduction time information is obtained, and the data reproduction time is adaptively adjusted. And a reproduction time adjusting means.
【請求項3】 前記再生時刻調整手段は、前記再生時間
情報に対して、オフセット補正を行う第1のオフセット
補正手段、および内蔵するリアルタイムタイマのカウン
ト値に対してオフセット補正を行う第2のオフセット補
正手段と、を有することを特徴とする請求項2記載のデ
ータ受信装置。
3. The reproduction time adjustment means includes: first offset correction means for performing offset correction on the reproduction time information; and second offset for performing offset correction on a count value of a built-in real-time timer. 3. The data receiving apparatus according to claim 2, further comprising a correction unit.
【請求項4】 前記第1のオフセット補正手段は、前記
オフセット値を保持するためのレジスタを内蔵し、この
レジスタに設定された前記オフセット値を、前記再生時
間情報に加算することによりオフセット補正を行うこと
を特徴とする請求項3記載のデータ受信装置。
4. The first offset correction means has a built-in register for holding the offset value, and performs offset correction by adding the offset value set in the register to the reproduction time information. The data receiving apparatus according to claim 3, wherein the data receiving is performed.
【請求項5】 前記第2のオフセット補正手段は、前記
オフセット値を保持するレジスタを内蔵し、このレジス
タに設定された前記オフセット値と、前記リアルタイム
タイマのカウント値との演算を行うことによりオフセッ
ト補正を行うことを特徴とする請求項3記載のデータ受
信装置。
5. The offset correction means includes a register for holding the offset value, and calculates the offset value by performing an operation on the offset value set in the register and the count value of the real-time timer. 4. The data receiving apparatus according to claim 3, wherein the correction is performed.
【請求項6】 受信したパケットのデータ数をカウント
して、受信データの有効性を確認する手段をさらに具備
することを特徴とする請求項2〜請求項5のいずれかに
記載のデータ受信装置。
6. The data receiving apparatus according to claim 2, further comprising means for counting the number of data of the received packet and confirming the validity of the received data. .
JP2000050821A 2000-02-28 2000-02-28 Method and device for receiving data Pending JP2001244969A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000050821A JP2001244969A (en) 2000-02-28 2000-02-28 Method and device for receiving data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000050821A JP2001244969A (en) 2000-02-28 2000-02-28 Method and device for receiving data

Publications (1)

Publication Number Publication Date
JP2001244969A true JP2001244969A (en) 2001-09-07

Family

ID=18572568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000050821A Pending JP2001244969A (en) 2000-02-28 2000-02-28 Method and device for receiving data

Country Status (1)

Country Link
JP (1) JP2001244969A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2005067252A1 (en) * 2004-01-07 2007-12-27 松下電器産業株式会社 Data receiver
CN100375477C (en) * 2004-05-19 2008-03-12 中兴通讯股份有限公司 Method for adjusting inter network-element data transmission time in communication system
JP2010147806A (en) * 2008-12-18 2010-07-01 Fujitsu Ltd Delay measurement method and communication device
JP2016048898A (en) * 2014-08-28 2016-04-07 株式会社リコー Distribution control system, distribution control method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2005067252A1 (en) * 2004-01-07 2007-12-27 松下電器産業株式会社 Data receiver
JP4694969B2 (en) * 2004-01-07 2011-06-08 パナソニック株式会社 Data receiver
CN100375477C (en) * 2004-05-19 2008-03-12 中兴通讯股份有限公司 Method for adjusting inter network-element data transmission time in communication system
JP2010147806A (en) * 2008-12-18 2010-07-01 Fujitsu Ltd Delay measurement method and communication device
JP2016048898A (en) * 2014-08-28 2016-04-07 株式会社リコー Distribution control system, distribution control method, and program

Similar Documents

Publication Publication Date Title
EP1072166B1 (en) Method of and apparatus for isochronous data communication
US7606928B2 (en) Method and device for controlling receiver buffer fullness level in multimedia streaming
JP3687188B2 (en) Packet transmission method
DK3118855T3 (en) Method, device and system for synchronous audio playback
US8300709B2 (en) Method of processing video data and wireless communication apparatus
US6693921B1 (en) System for use of packet statistics in de-jitter delay adaption in a packet network
JP3052824B2 (en) Audio playback time adjustment circuit
US20070009071A1 (en) Methods and apparatus to synchronize a clock in a voice over packet network
JP4909409B2 (en) Particularly, a receiver system control method for a wireless IP data broadcasting network and the receiver system
JP2001244969A (en) Method and device for receiving data
US6735223B1 (en) Method of controlling offset of time stamp and apparatus for transmitting packet using the same
JP5383520B2 (en) Relay device, program, system, and method for correcting loss of synchronization between video frame and audio frame
JP5186094B2 (en) Communication terminal, multimedia playback control method, and program
JP4612688B2 (en) Receiver
US20070230512A1 (en) Receiving apparatus and transmitting/receiving method
JP3801043B2 (en) Data receiving apparatus and method
JP5441650B2 (en) Media receiver
CA2651701A1 (en) Generation of valid program clock reference time stamps for duplicate transport stream packets
JP2002077241A (en) Asynchronous voice data processing system
JP4193856B2 (en) Data transmission apparatus and method
CN101141368A (en) Method and device for controlling stream media data playback processing speed
JP2002171282A (en) Method and device for absorbing delay fluctuation at the packet arrival in packet communication
JPH11103319A (en) Device and method for network transmission/reception
JPH0514456B2 (en)
JPH11261636A (en) Recording and reproducing device, and recording and reproducing method therefor