JP2006050656A - Stream transmitting device and receiving device, and transmission/reception method - Google Patents

Stream transmitting device and receiving device, and transmission/reception method Download PDF

Info

Publication number
JP2006050656A
JP2006050656A JP2005254582A JP2005254582A JP2006050656A JP 2006050656 A JP2006050656 A JP 2006050656A JP 2005254582 A JP2005254582 A JP 2005254582A JP 2005254582 A JP2005254582 A JP 2005254582A JP 2006050656 A JP2006050656 A JP 2006050656A
Authority
JP
Japan
Prior art keywords
packet
time
reference value
stream
additional information
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.)
Granted
Application number
JP2005254582A
Other languages
Japanese (ja)
Other versions
JP4092705B2 (en
Inventor
Takayuki Onishi
隆之 大西
Jiro Naganuma
次郎 長沼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2005254582A priority Critical patent/JP4092705B2/en
Publication of JP2006050656A publication Critical patent/JP2006050656A/en
Application granted granted Critical
Publication of JP4092705B2 publication Critical patent/JP4092705B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problems of color shift and distortion of a decoded image caused by delay fluctuation by enabling an error of a time standard reference value by the delay fluctuation to be corrected and transmitted to a decoding device with respect to a multiplexed stream transmitted via a digital transmission network. <P>SOLUTION: A synchronous timer 210 operable by receiving a common clock is provided in a transmitting device 2 and a receiving device. In the transmitting device 2, the time of the synchronous timer 210 is added to a time standard reference value involved in the multiplexed stream and is transmitted as additional information. In the receiving device, the time standard reference value involved in the multiplexed stream is rewritten on the basis of a difference between the time indicated by the additional information and the time of the self synchronous timer 210. Further, a clock counter included in the synchronous timer 210 comprises a base part and an extension part counted up by a signal divided by the common clock. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、動画像や音声、あるいはその他のディジタル信号が、例えばMPEG(Moving Picture Experts Group)方式に従って符号化および多重化された時系列のデータを、ディジタルネットワークなどの伝送路を介して伝送するストリーム送信装置および受信装置、ならびに送受信方法に関する。   The present invention transmits time-series data in which moving images, audio, or other digital signals are encoded and multiplexed according to, for example, the MPEG (Moving Picture Experts Group) system, via a transmission path such as a digital network. The present invention relates to a stream transmission device, a reception device, and a transmission / reception method.

従来より、メディア信号の組合せ、例えば1つのテレビジョン番組を構成する動画像や音声その他のディジタル信号について、これらを多重化して1本の多重化ストリームとし、ディジタル衛星放送やATM・IPネットワークなどのディジタル伝送媒体を介して伝送するシステムが存在している。例えば、MPEG−2符号化されたビデオやオーディオその他の信号を、それぞれ188バイトの固定長パケット(トランスポートストリームパケット)に収容し、それらのパケットを混合して1本の多重化ストリーム(トランスポートストリーム)とする方法が、ISO/IEC13818−1に規定されており、このトランスポートストリームを使用してMPEG−2符号化情報を多重伝送するシステムが広く用いられている。   Conventionally, a combination of media signals, for example, moving images, voices and other digital signals constituting one television program are multiplexed into one multiplexed stream, such as digital satellite broadcasting or ATM / IP network. Systems exist that transmit over digital transmission media. For example, MPEG-2 encoded video, audio and other signals are accommodated in 188-byte fixed-length packets (transport stream packets), and these packets are mixed to form one multiplexed stream (transport). Stream) is defined in ISO / IEC13818-1, and systems that multiplex-transmit MPEG-2 encoded information using this transport stream are widely used.

図14は、従来における多重化ストリームを伝送する一般的な系の構成図である。
符号化装置1において、映像や音声その他の付加情報信号は、対応するエンコーダ101〜103により圧縮および符号化が行われる。多重化器104は、これらのエレメンタリーストリーム(メディア別のストリーム)をパケット化して多重化し、1本の多重化ストリームとして出力する。
この時、各メディアを同期させるための時刻情報として、発振器105によって駆動されるクロックカウンタ106の値が使用される。使用方法の一つ目は、クロックカウンタ106の現在の値が、時刻基準参照値として多重化ストリームに埋め込まれる。二つ目は、各メディアを復号すべき時刻、および提示すべき時刻が、タイムスタンプとして付加される。
FIG. 14 is a configuration diagram of a general system for transmitting a multiplexed stream in the related art.
In the encoding device 1, video, audio and other additional information signals are compressed and encoded by the corresponding encoders 101 to 103. The multiplexer 104 packetizes and multiplexes these elementary streams (streams for each medium), and outputs the result as one multiplexed stream.
At this time, the value of the clock counter 106 driven by the oscillator 105 is used as time information for synchronizing each medium. In the first usage method, the current value of the clock counter 106 is embedded in the multiplexed stream as a time base reference value. Second, the time at which each medium is to be decoded and the time at which it is to be presented are added as time stamps.

符号化装置1から多重化ストリームを受け取った送信装置2は、これをパケットないしセルのペイロードに格納し、ディジタル伝送網3を介して受信装置4へ伝送する。受信装置4は、受信したパケットないしセルのペイロードから多重化ストリームを取り出し、復号装置5へ供給する。
復号装置5は、多重化ストリームを受け取り、分離器504で各メディア別のエレメンタリーストリームに分離して、対応するデコーダ501〜503に供給する。さらに、分離器504は、多重化ストリームに埋め込まれた時刻基準参照値が到着した瞬間に、当該時刻基準参照値を基準時刻再生器507に供給する。
Upon receiving the multiplexed stream from the encoding device 1, the transmission device 2 stores this in the packet or cell payload and transmits it to the reception device 4 via the digital transmission network 3. The receiving device 4 extracts the multiplexed stream from the received packet or cell payload and supplies it to the decoding device 5.
The decoding device 5 receives the multiplexed stream, separates it into elementary streams for each medium by the separator 504, and supplies them to the corresponding decoders 501 to 503. Further, the separator 504 supplies the time base reference value to the reference time regenerator 507 at the moment when the time base reference value embedded in the multiplexed stream arrives.

デコーダ501〜503は、クロックカウンタ506を逐次参照し、クロックカウンタ506の値が前述のタイムスタンプ(当該メディアを復号すべき時刻、および提示すべき時刻を示す)と同一になった瞬間に、当該メディアの復号および提示を行う。従って、クロックカウンタ506の値は、符号化装置1にあるクロックカウンタ106の値が正確に再現されたものでなければならない。例えば、クロックカウンタ106の値と比較して、クロックカウンタ506の値が次第に遅れたとすると、デコーダ501〜503によるメディアの復号および表示が次第に遅れて、受信装置4および復号装置5内部のバッファには未復号のストリームが次第に蓄積して、ついにはバッファのオーバランを来たす。逆の場合には、バッファのアンダーランが生じる。
そのため、基準時刻再生器507は、分離器504から供給される時刻基準参照値をもとに、符号化装置1にあるクロックカウンタ106の値が、正確にクロックカウンタ506で再現されるように制御を行う。
The decoders 501 to 503 sequentially refer to the clock counter 506, and at the moment when the value of the clock counter 506 becomes the same as the above-described time stamp (indicating the time when the media should be decoded and the time when the media should be presented) Decrypt and present media. Therefore, the value of the clock counter 506 must be an accurate reproduction of the value of the clock counter 106 in the encoding device 1. For example, if the value of the clock counter 506 is gradually delayed as compared with the value of the clock counter 106, the decoding and display of media by the decoders 501 to 503 are gradually delayed, and the buffers in the receiving device 4 and the decoding device 5 are stored in the buffers. Undecoded streams accumulate gradually and eventually overrun the buffer. In the opposite case, a buffer underrun occurs.
Therefore, the reference time regenerator 507 performs control so that the value of the clock counter 106 in the encoding device 1 is accurately reproduced by the clock counter 506 based on the time reference reference value supplied from the separator 504. I do.

図15は、図14における基準時刻再生器の動作説明図である。
分離器504から供給された時刻基準参照値と自己のクロックカウンタ506との差分、すなわち誤差を演算して、急激な周波数変動を防ぐための低域通過フィルタ508を通じてD/A変換器509でアナログ電圧信号に変換し、VCO505へ当該電圧信号を供給する。VCO505は、印加する電圧により発振周波数を制御できる電圧制御発振器であって、自己のクロックカウンタ506が時刻基準参照値に比べて遅れ気味の場合には発振周波数を上昇させる方向に、進み気味の場合には発振周波数を減少させる方向にそれぞれ制御される。このようにして、復号装置5のクロックカウンタ506には、符号化装置1のクロックカウンタ106と同一の時刻が再生される。このような時刻再生機構を、一般的にPLL(Phase Locked Loop)と呼んでいる。
FIG. 15 is an explanatory diagram of the operation of the reference time regenerator in FIG.
The difference between the time base reference value supplied from the separator 504 and its own clock counter 506, that is, the error is calculated, and the analog signal is output by the D / A converter 509 through the low-pass filter 508 for preventing abrupt frequency fluctuation. The voltage signal is converted and supplied to the VCO 505. The VCO 505 is a voltage-controlled oscillator that can control the oscillation frequency by the applied voltage. When the clock counter 506 is delayed compared to the time base reference value, the VCO 505 increases the oscillation frequency. Are controlled to reduce the oscillation frequency. In this way, the same time as the clock counter 106 of the encoding device 1 is reproduced in the clock counter 506 of the decoding device 5. Such a time reproduction mechanism is generally called a PLL (Phase Locked Loop).

ISO/IEC13818−1で規定されているMPEG−2トランスポートストリームでは、時刻基準参照値をPCR(Program Clock Reference)としてトランスポートストリームパケット(以下、TSパケットと呼ぶ)に付加し、100ミリ秒以内の間隔で送信することが規定されている。
PCRは、時間解像度27MHzの時刻値を42ビットで表示する。PCRの基本部33ビットが時間解像度90kHzの値を示し、拡張部9ビットは時間解像度27MHzの値を0〜299の値で示す。すなわち、27MHzでカウントアップされる拡張部の値が300に達した時点で、拡張部の値は0にリセットされ、基本部の値が1つインクリメントされる。
In the MPEG-2 transport stream defined by ISO / IEC13818-1, a time base reference value is added as a PCR (Program Clock Reference) to a transport stream packet (hereinafter referred to as a TS packet) and within 100 milliseconds. It is prescribed to transmit at intervals of
The PCR displays a time value with a time resolution of 27 MHz in 42 bits. The 33 bits of the basic part of the PCR indicate a value with a time resolution of 90 kHz, and the 9 bits of the extension part indicate a value of a time resolution of 27 MHz with a value of 0 to 299. That is, when the value of the extension part counted up at 27 MHz reaches 300, the value of the extension part is reset to 0, and the value of the basic part is incremented by one.

TSパケットは、符号情報をメディア別に収めた188バイト固定長のパケットである。PCRの付加に際しては、PCR専用のTSパケットを用意するか、あるいはビデオなどのTSパケットにPCRを付加して送信される。当該TSパケットにPCR情報が含まれる判断基準は、
(1)当該TSパケットのPID(パケットID)が、PCRを付加することを事前に示し合わせたPIDであること、
(2)アダプテーションフィールド制御(2ビット)の上位1ビットが「1」であること、
(3)アダプテーションフィールド長の値が1以上であること、
(4)PCRフラグが「1」であること、
であり、以上の条件を満たすTSパケットにPCRが含まれる。
図16は、TSパケット中の各フィールドの位置を示した配置図の例である。
この例では、PCR専用のTSパケットを用いている。メディア毎のTSパケット(188バイト)中に、PCR専用のパケットがある。PCRを含むパケットにおける各フィールドは、図のような構成をとる。
The TS packet is a 188-byte fixed-length packet in which code information is stored for each medium. When adding a PCR, a TS packet dedicated for PCR is prepared, or a TS packet such as video is added with a PCR and transmitted. The criterion for PCR information included in the TS packet is:
(1) The PID (packet ID) of the TS packet is a PID that indicates in advance that PCR is to be added;
(2) The upper 1 bit of the adaptation field control (2 bits) is “1”.
(3) The value of the adaptation field length is 1 or more,
(4) The PCR flag is “1”,
The PCR is included in the TS packet that satisfies the above conditions.
FIG. 16 is an example of an arrangement diagram showing the position of each field in the TS packet.
In this example, a PCR-dedicated TS packet is used. There is a packet dedicated to PCR in TS packets (188 bytes) for each medium. Each field in the packet including the PCR has a configuration as shown in the figure.

このように、MPEG−2に代表される多重化ストリームの符号化・復号システムにおいては、符号化装置1と復号装置5の時刻を同期させる手法が用意されている。
しかしながら、この同期手法を有効に動作させるためには、符号化装置1から復号装置5までの伝送遅延が常に一定でなければならない。換言すれば、符号化装置1から出力される多重化ストリームは、そのままの時刻間隔を保持して復号装置5に入力される必要がある。例えば、ISO/IEC13818−1では、PCRの伝送遅延揺らぎは±0.5μsecを超えてはならないと規定されている。
しかしながら、一般的にディジタル伝送網3を介してパケットないしセルを伝送する際には、その遅延時間が一定とならず不規則に変動する、いわゆる遅延揺らぎを生じることが知られている。そして、これらの遅延揺らぎを受けた多重化ストリームをそのまま復号装置5に入力すると、前述のPLL回路によりVCO505の発振周波数が不規則に揺らぎ、クロックカウンタ506で正確な時刻が再生できない。また、VCO505の発振周波数は、アナログ映像出力を生成する回路の基準クロックとしても用いられるため、その結果として、出力画像の歪や色ずれなどの問題を引き起こすことが指摘されている。
As described above, in a multiplexed stream encoding / decoding system represented by MPEG-2, a method of synchronizing the times of the encoding device 1 and the decoding device 5 is prepared.
However, in order for this synchronization method to operate effectively, the transmission delay from the encoding device 1 to the decoding device 5 must always be constant. In other words, the multiplexed stream output from the encoding device 1 needs to be input to the decoding device 5 while maintaining the same time interval. For example, ISO / IEC13818-1 stipulates that PCR transmission delay fluctuations should not exceed ± 0.5 μsec.
However, it is generally known that when a packet or a cell is transmitted through the digital transmission network 3, a so-called delay fluctuation is generated in which the delay time is not constant but varies irregularly. When the multiplexed stream subjected to these delay fluctuations is input to the decoding device 5 as it is, the oscillation frequency of the VCO 505 fluctuates irregularly by the PLL circuit described above, and the clock counter 506 cannot reproduce the exact time. Further, since the oscillation frequency of the VCO 505 is also used as a reference clock for a circuit that generates an analog video output, it has been pointed out that as a result, problems such as distortion and color misregistration of an output image are caused.

そこで、この不規則な遅延揺らぎを吸収するために、例えばPLL回路を利用することが考えられる。しかしながら、大きな遅延揺らぎをPLL回路のみで吸収しようとすると、時定数を大きくとらなくてはならず、同期に長い時間を要してしまう、という問題がある。
また、受信装置4にバッファを持ち、遅延揺らぎを平滑化した上で復号装置5に伝達する各種の手法が提案されている。平滑化の代表的な手法としては、アダプティブクロック方式が知られている。
アダプティブクロック方式では、ネットワークから受信したデータを一旦FIFOバッファに格納する。そして、FIFOバッファ内に滞留するデータが常に一定量(通常は、全バッファ量の半分)に保たれるように、FIFOバッファからの読み出し速度を調整する。このようにして遅延揺らぎが平滑化されるが、その結果として、短周期の遅延揺らぎを平均化して出力しているに過ぎず、遅延揺らぎの長周期成分が残留することになる。その結果、PCRの伝送遅延揺らぎを±0.5μsecに抑えることはできない、という問題がある。
Therefore, in order to absorb this irregular delay fluctuation, for example, it is conceivable to use a PLL circuit. However, if a large delay fluctuation is absorbed only by the PLL circuit, the time constant must be increased, and there is a problem that a long time is required for synchronization.
Various methods have been proposed in which the receiving device 4 has a buffer and smoothes delay fluctuations and then transmits the smoothed delay to the decoding device 5. As a representative smoothing method, an adaptive clock method is known.
In the adaptive clock method, data received from the network is temporarily stored in a FIFO buffer. Then, the reading speed from the FIFO buffer is adjusted so that the data staying in the FIFO buffer is always kept at a constant amount (usually half of the total buffer amount). In this way, the delay fluctuation is smoothed. As a result, the short-cycle delay fluctuation is only averaged and output, and the long-period component of the delay fluctuation remains. As a result, there is a problem that the PCR transmission delay fluctuation cannot be suppressed to ± 0.5 μsec.

その他にも、ITU−T H.222.0付属書Jには、ジッタ吸収のために受信装置側にバッファを持ち、揺らぎを吸収した後に復号装置へ伝達する手法が記載されている。しかしながら、ジッタを除去する具体的な制御方法については記述されていない。
また、ATM回線などで供給される網共通クロックを使用する方法も考えられる。網共通クロックは、1つのクロック発振源から全端末に一斉に配信され、揺らぎや誤差を生じない。この網共通クロックを使用して、例えば網共通クロックを基にPCRと同じ時間解像度(27MHz)のクロックを各端末で生成し、送信装置はこのクロックとPCRとの差分を多重化ストリームに載せて送ることで、受信装置では、この差分情報を基にバッファで遅延を吸収したり、PCRの値を書き換えてジッタを補正することができる。しかしながら、PCRと同じ時間解像度のクロックを発生させるためにPLL回路が必要であること、複数のチャネルの複数PCRに対応するためにはパケットのID番号を識別して個別に情報を管理しなくてはならないこと、あるいは符号化装置がリセットしてPCRが不連続となった場合には、送信装置と受信装置のジッタ補正装置もリセットして初期動作を繰り返さなくてはならないため、装置規模が大きくなったり、動作が不安定になったりするという問題があった。
In addition, ITU-TH 222.0 Annex J describes a technique in which a buffer is provided on the receiving device side to absorb jitter, and the fluctuation is absorbed and then transmitted to the decoding device. However, a specific control method for removing jitter is not described.
A method using a network common clock supplied via an ATM line or the like is also conceivable. The network common clock is simultaneously distributed from one clock oscillation source to all terminals, and does not cause fluctuations or errors. Using this network common clock, for example, each terminal generates a clock having the same time resolution (27 MHz) as PCR based on the network common clock, and the transmission device puts the difference between this clock and PCR on the multiplexed stream. By sending, the receiving apparatus can absorb the delay by the buffer based on the difference information, and can correct the jitter by rewriting the PCR value. However, a PLL circuit is required to generate a clock having the same time resolution as that of PCR, and in order to cope with a plurality of PCRs of a plurality of channels, it is necessary to identify packet ID numbers and manage information individually. If the encoder is reset or the PCR becomes discontinuous, the jitter correction device of the transmission device and the reception device must be reset and the initial operation must be repeated. There was a problem that the operation became unstable.

そこで、本発明の目的は、これら従来の課題を解決し、多重化ストリームをパケットないしセル化してディジタル伝送網経由で伝送する送信装置および受信装置において、遅延揺らぎによる時刻基準参照値の揺らぎを補正して復号装置に供給する機構を、小さな装置規模で実現できるストリーム送信装置および受信装置、ならびに送受信方法を提供することにある。   Accordingly, an object of the present invention is to solve these conventional problems and correct fluctuations in the time base reference value due to delay fluctuations in a transmission apparatus and a reception apparatus that transmit a multiplexed stream in packets or cells and transmit them through a digital transmission network. Another object of the present invention is to provide a stream transmission device and a reception device, and a transmission / reception method capable of realizing the mechanism for supplying the decoding device with a small device scale.

上記目的を達成するため、本発明のストリーム送信装置および受信装置は、送信装置および受信装置内に共通のクロックを受けて動作する同期計時器を有し、送信装置では多重化ストリームに含まれる時刻基準参照値に、同期計時器の時刻を付加情報として添えて伝送し、受信装置では付加情報が示す時刻と自己の同期計時器の時刻との差分値を基に多重化ストリームに含まれる時刻基準参照値を書き換える。
また、送信装置と受信装置の同期計時器に含まれるクロックカウンタは、共通のクロックを分周した信号によりカウントアップされる基本部と内部の発振器でカウントアップされる拡張部で構成される。
また、符号化装置から出力される多重化ストリーム中の付加情報パケットを示すビット列を含むパケットを検出し、当該パケットにおける付加情報パケットを示すビット列を書き換える違反パケットフィルタを設ける。
このように、同期計時器におけるクロックカウンタの基本部は、網共通クロックを基にして動作し、拡張部はPCRと同一の内蔵発振器を基にして動作するため、送信側と受信側で誤差を生じることがなく、かつPCRと同一の27MHzの時間解像度の時刻情報を生成することができる。従って、同期計時器の時刻情報を時刻基準参照値修正のための正確な時計として用いることができる。
In order to achieve the above object, a stream transmission device and a reception device of the present invention have a synchronous timer that operates in response to a common clock in the transmission device and the reception device, and the transmission device includes a time included in the multiplexed stream. The time reference included in the multiplexed stream is transmitted based on the difference value between the time indicated by the additional information and the time of its own synchronous timer at the receiving device. Rewrite the reference value.
The clock counter included in the synchronous timer of the transmission device and the reception device includes a basic unit that is counted up by a signal obtained by dividing a common clock and an expansion unit that is counted up by an internal oscillator.
In addition, a violation packet filter is provided that detects a packet including a bit string indicating the additional information packet in the multiplexed stream output from the encoding device and rewrites the bit string indicating the additional information packet in the packet.
In this way, the basic part of the clock counter in the synchronous timer operates based on the network common clock, and the expansion part operates based on the same internal oscillator as the PCR. The time information with the same time resolution of 27 MHz that does not occur and can be generated. Therefore, the time information of the synchronous timer can be used as an accurate clock for correcting the time reference value.

本発明によれば、ディジタル伝送網を介して伝送した多重化ストリームについて、遅延揺らぎによる時刻基準参照値の誤差を修正して復号装置に伝達することができるため、遅延揺らぎに起因する復号画像の色ずれや歪の問題を解消することができる。   According to the present invention, it is possible to correct an error of a time base reference value due to delay fluctuation and transmit it to a decoding apparatus for a multiplexed stream transmitted via a digital transmission network, so that a decoded image caused by delay fluctuation can be transmitted. The problem of color misregistration and distortion can be solved.

以下、本発明の実施例を、図面により詳細に説明する。
(第1の実施例)
図1は、本発明の第1の実施例を示す送信装置および受信装置を用いた多重化ストリーム伝送システムの構成図である。
送信装置2において、多重化ストリーム送信部201が従来の送信装置(図14の送信装置2に相当)と同等の機能を提供し、この前段に付加情報重畳部202を設置する。また、受信装置4においては、多重化ストリーム受信部401が従来の受信装置(図14の受信装置4に相当)と同等の機能を提供し、この後段に時刻基準参照値補正部402を設置する。
以下、付加情報重畳部202および時刻基準参照値補正部402の詳細な動作について説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.
(First embodiment)
FIG. 1 is a configuration diagram of a multiplexed stream transmission system using a transmission device and a reception device according to the first embodiment of the present invention.
In the transmission apparatus 2, the multiplexed stream transmission unit 201 provides a function equivalent to that of the conventional transmission apparatus (corresponding to the transmission apparatus 2 in FIG. 14), and the additional information superimposing unit 202 is installed in the preceding stage. In the receiving device 4, the multiplexed stream receiving unit 401 provides a function equivalent to that of the conventional receiving device (corresponding to the receiving device 4 in FIG. 14), and the time reference reference value correcting unit 402 is installed in the subsequent stage. .
Hereinafter, detailed operations of the additional information superimposing unit 202 and the time reference reference value correcting unit 402 will be described.

図2は、図1における送信装置の具体的構成図である。
網共通クロック211は、送信装置2と受信装置4が共通して得ることができるクロックである。図2では、網共通クロック211はディジタル伝送網3(具体的には、ATM網)から供給され、多重化ストリーム送信部201を通じて得られるものとする。同期計時器210は、この網共通クロック211に同期して、PCRと同一の時間解像度である27MHzで計時を行うものである。
FIG. 2 is a specific configuration diagram of the transmission apparatus in FIG.
The network common clock 211 is a clock that can be obtained in common by the transmission device 2 and the reception device 4. In FIG. 2, the network common clock 211 is supplied from the digital transmission network 3 (specifically, an ATM network) and is obtained through the multiplexed stream transmission unit 201. The synchronous timer 210 measures time at 27 MHz, which is the same time resolution as PCR, in synchronization with the network common clock 211.

図3は、図2における同期計時器の詳細構成図である。
同期計時器210において、クロックカウンタの拡張部217eは27MHzの時間解像度を持ち、PCRと同一の9ビット長を持つ。一方、クロックカウンタの基本部217bは90kHzの時間解像度を持ち、ビット長は想定される遅延揺らぎの最大値に対してカウンタのクリアが起こらない程度とする。例としては、遅延揺らぎの最大値を±100msecとすると、90kHzの時間解像度で100msecは13ビット程度に相当するから、基本部217bは15ビット程度を用意するとよい。
FIG. 3 is a detailed configuration diagram of the synchronous timer in FIG.
In the synchronous timer 210, the clock counter extension 217e has a time resolution of 27 MHz and has the same 9-bit length as the PCR. On the other hand, the basic part 217b of the clock counter has a time resolution of 90 kHz, and the bit length is set so that the counter does not clear with respect to the maximum value of the assumed delay fluctuation. As an example, if the maximum value of delay fluctuation is ± 100 msec, 100 msec corresponds to about 13 bits at a time resolution of 90 kHz, and therefore the basic unit 217b may be prepared with about 15 bits.

発振器213は、27MHzの周波数を発生し、クロックカウンタの拡張部217eをカウントアップさせる(214)。ATM網より供給される19.44MHzの網共通クロック211は、先ず分周器212において1/216に分周され、90kHzの信号となってクロックカウンタの基本部217bをカウントアップする(216)とともに、拡張部217eをゼロにリセットする(215)。この一連の動作により、クロックカウンタの拡張部217eは、0〜299の範囲で27MHzの計時を繰り返すとともに、基本部217bが90kHzでカウントアップされる。   The oscillator 213 generates a frequency of 27 MHz, and counts up the expansion unit 217e of the clock counter (214). The 19.44 MHz network common clock 211 supplied from the ATM network is first divided by 1/216 in the frequency divider 212 to become a 90 kHz signal and counts up the basic part 217b of the clock counter (216). The extension unit 217e is reset to zero (215). By this series of operations, the expansion unit 217e of the clock counter repeats the timing of 27 MHz in the range of 0 to 299, and the basic unit 217b is counted up at 90 kHz.

いま、発振器213の発振周波数のずれが、MPEG−2符号化器で基準時刻を発生する発振器の許容偏差と同等の±30ppm(perts per million)程度であるとすると、300カウント中の誤差は10−2カウントにとどまるため、クロックカウンタの拡張部217eが一時的に299を超える値となったり、299に達しないままゼロにリセットされたりすることはない。
このように、同期計時器210におけるクロックカウンタの基本部は、19.44MHzの網共通クロックを基にして動作し、拡張部はPCRと同一の27MHzの内蔵発振器を基にして動作するため、送信側と受信側で誤差を生じず、かつ、PCRと同一の27MHzの時間解像度の時刻情報を作り出すことができる。従って、同期計時器210および410の時刻情報を時刻基準参照値修正のための正確な時計として用いることができる。
そして、外部からの参照に応じて、それぞれのクロックカウンタから時刻情報218を読み出して、現在時刻223として出力する。
Assuming that the deviation of the oscillation frequency of the oscillator 213 is about ± 30 ppm (parts per million) equivalent to the allowable deviation of the oscillator that generates the reference time in the MPEG-2 encoder, the error during 300 counts is 10 to stay -2 count, or a value extensions 217e exceeds temporarily 299 of the clock counter, never or reset to zero without reaching 299.
As described above, the basic part of the clock counter in the synchronous timer 210 operates based on the 19.44 MHz network common clock, and the expansion part operates based on the same 27 MHz internal oscillator as the PCR. It is possible to generate time information having a time resolution of 27 MHz, which is the same as that of PCR, without causing an error between the reception side and the reception side. Therefore, the time information of the synchronous timers 210 and 410 can be used as an accurate clock for correcting the time reference value.
Then, the time information 218 is read from each clock counter in response to an external reference, and is output as the current time 223.

さて、符号化装置1で生成される多重化ストリームは、映像信号や音声信号などのビットストリームがパケット化されて時分割多重されている。ISO/IEC13818−1に規定されたMPEG−2トランスポートストリームの場合、188バイトのTSパケットが時分割多重されている。多重化ストリーム受取器220は、このパケット入力を受けて、1箇のパケットをバッファA230に格納する。同時に、パケットを受け取った瞬間に受信タイミングパルス221を出力する。スイッチ222は、受信タイミングパルス221を受け取ると、同期計時器210から現在時刻223を読み出して、バッファB231に格納する。このように、バッファA230とバッファB231には、多重化ストリームのパケット1箇とその入力時刻が対になって格納される。   Now, the multiplexed stream generated by the encoding apparatus 1 is time-division multiplexed by packetizing a bit stream such as a video signal or an audio signal. In the case of an MPEG-2 transport stream defined in ISO / IEC13818-1, TS packets of 188 bytes are time-division multiplexed. The multiplexed stream receiver 220 receives this packet input and stores one packet in the buffer A 230. At the same time, the reception timing pulse 221 is output at the moment of receiving the packet. When receiving the reception timing pulse 221, the switch 222 reads the current time 223 from the synchronous timer 210 and stores it in the buffer B 231. In this way, in the buffer A230 and the buffer B231, one packet of the multiplexed stream and its input time are stored as a pair.

時刻基準参照値検出器240は、バッファA230に格納されたパケットに時刻基準参照値が含まれるか否かを判断し、判定信号241を出力する。TSパケットの場合、
(1)アダプテーションフィールド制御(2ビット)の上位1ビットが「1」であること、
(2)アダプテーションフィールド長の値が1以上であること、
(3)PCRフラグが「1」であること、
を検出する。上記(1)〜(3)が全て真であるときはPCRを含み、そうでないときはPCRを含まない。
The time base reference value detector 240 determines whether or not the time base reference value is included in the packet stored in the buffer A 230 and outputs a determination signal 241. For TS packets:
(1) The upper 1 bit of the adaptation field control (2 bits) is “1”.
(2) The value of the adaptation field length is 1 or more,
(3) The PCR flag is “1”,
Is detected. When all of the above (1) to (3) are true, PCR is included. Otherwise, PCR is not included.

付加情報混合器250は、判定信号241に従って動作する。判定信号241が偽の(時刻基準参照値を含まない)場合には、バッファB231の時刻情報は破棄し、バッファA230に含まれるパケットを取り出して、多重化ストリーム送信部201に転送する。判定信号241が真(時刻基準参照値を含む)の場合には、先ずバッファB231の時刻情報を基に付加情報パケットを生成して多重化ストリーム送信部201に転送し、続いてバッファA230に含まれるパケットを取り出して多重化ストリーム送信部201に転送する。   The additional information mixer 250 operates according to the determination signal 241. When the determination signal 241 is false (not including the time base reference value), the time information in the buffer B 231 is discarded, the packet included in the buffer A 230 is extracted, and transferred to the multiplexed stream transmission unit 201. When the determination signal 241 is true (including the time base reference value), first, an additional information packet is generated based on the time information in the buffer B231 and transferred to the multiplexed stream transmission unit 201, and subsequently included in the buffer A230. The extracted packet is taken out and transferred to the multiplexed stream transmission unit 201.

図4は、付加情報パケットのフォーマットとして、ヌルパケットを使用した場合の例を示す図である。
符号化装置1により生成される一般的なヌルパケットでは、ISO/IEC13818−1の規定に従って、ユニット開始表示フィールドおよびスクランブル制御フィールドのいずれも値は「0」である。そこで、付加情報パケットはヌルパケット(188バイト)の形態をとりながらも、ユニット開始表示フィールドないしスクランブル制御フィールドのいずれかの値を「1」とすることで、一般的なヌルパケットとの区別を可能にする。ここでは、スクランブル制御フィールドの上位1ビットを「1」としている。そして、ヌルパケットのペイロード部に、バッファB231から読み出した時刻情報(基本部および拡張部)を収容する。
FIG. 4 is a diagram illustrating an example when a null packet is used as the format of the additional information packet.
In a general null packet generated by the encoding apparatus 1, both the unit start display field and the scramble control field have a value of “0” in accordance with ISO / IEC13818-1. Therefore, while the additional information packet takes the form of a null packet (188 bytes), the value of either the unit start display field or the scramble control field is set to “1” to distinguish it from a general null packet. enable. Here, the upper 1 bit of the scramble control field is set to “1”. Then, the time information (basic part and extension part) read from the buffer B231 is accommodated in the payload part of the null packet.

図5は、図4に示す付加情報パケットと、時刻基準参照値を含むパケットとの順序関係を示す配置図である。
付加情報パケットと時刻基準参照値を含むパケットとの関係は、図5に示すように、付加情報パケット、時刻基準参照値を含むパケットの順序で連続して伝送される。
一連の動作が終了したならば、再び多重化ストリーム受取器220から1箇のパケットをバッファA230に格納し、同様の処理を繰り返し行う。多重化ストリーム送信部201は、多重化ストリームのパケットを通信路符号化してディジタル伝送網3に送り出す。
FIG. 5 is an arrangement diagram showing an order relationship between the additional information packet shown in FIG. 4 and a packet including a time reference reference value.
As shown in FIG. 5, the relationship between the additional information packet and the packet including the time reference value is continuously transmitted in the order of the additional information packet and the packet including the time reference value.
When the series of operations is completed, one packet is again stored in the buffer A230 from the multiplexed stream receiver 220, and the same processing is repeated. The multiplexed stream transmission unit 201 performs channel coding on the multiplexed stream packets and sends them to the digital transmission network 3.

図6は、本発明の受信装置の具体的な構成図である。
図6においても、網共通クロック411はディジタル伝送網3(具体的には、ATM網)から供給され、多重化ストリーム受信部401を通じて得られるものとする。同期計時器410は、この網共通クロック411に同期して、PCRと同一の時間解像度である27MHzで計時を行うものである。
受信装置4のうちの時刻基準参照値補正部402は、バッファ430、付加情報パケット検出器440、多重化ストリーム送出器480、入力スイッチ420、出力スイッチ470、時刻基準参照値読出器461、時刻基準参照値補正器463、時刻基準参照値書戻器464、時刻差分演算器450、同期計時器410、および時刻情報レジスタ442から構成される。
FIG. 6 is a specific configuration diagram of the receiving apparatus of the present invention.
Also in FIG. 6, it is assumed that the network common clock 411 is supplied from the digital transmission network 3 (specifically, the ATM network) and obtained through the multiplexed stream receiving unit 401. The synchronous timer 410 measures time at 27 MHz, which is the same time resolution as PCR, in synchronization with the network common clock 411.
The time reference reference value correction unit 402 in the receiving device 4 includes a buffer 430, an additional information packet detector 440, a multiplexed stream transmitter 480, an input switch 420, an output switch 470, a time reference reference value reader 461, a time reference. It comprises a reference value corrector 463, a time base reference value rewriter 464, a time difference calculator 450, a synchronous timer 410, and a time information register 442.

図7は、図6における同期計時器の詳細構成図である。
図3の同期計時器210とほぼ同様の動作を行うが、「初期セット」機構を持つ点のみが図3と異なる。外部から初期セット443の値が与えられると、クロックカウンタの基本部417bに該当値がセットされる。ただし、拡張部417eにはセットされない。
FIG. 7 is a detailed configuration diagram of the synchronous timer in FIG.
The operation is almost the same as that of the synchronous timer 210 of FIG. 3 except that it has an “initial setting” mechanism. When the value of the initial set 443 is given from the outside, the corresponding value is set in the basic part 417b of the clock counter. However, it is not set in the expansion unit 417e.

図8は、図6の時刻基準参照値補正部における処理フローチャートである。
バッファ430は、多重化ストリームパケットが1箇だけ格納できる容量を持っている(新たなパケットの入力により、バッファの内容は上書きされる)。また、入力スイッチ420および出力スイッチ470は、スイッチを閉じる(オンにする)毎に多重化ストリームパケットを1箇ずつ入出力する機能を有する。
送信装置2よりディジタル伝送網3を経由して到着した信号は、多重化ストリーム受信部401で通信路復号化される。このようにして得られた多重化ストリームは、先ず入力スイッチ420が閉じられ、1箇のパケットがバッファ430に導かれる(ステップS1)。次に、付加情報パケット検出器440は、バッファ430に格納されたパケットが付加情報パケットか否かを判別する(ステップS2)。ISO/IEC13818−1に規定されたヌルパケットを使用する本例においては、当該パケットがヌルパケットであり、かつスクランブル制御フィールドの上位1ビットが「1」であれば、付加情報パケットと判断される。
FIG. 8 is a process flowchart in the time base reference value correction unit of FIG.
The buffer 430 has a capacity capable of storing only one multiplexed stream packet (the contents of the buffer are overwritten by the input of a new packet). The input switch 420 and the output switch 470 have a function of inputting / outputting one multiplexed stream packet each time the switch is closed (turned on).
A signal arriving from the transmission device 2 via the digital transmission network 3 is channel-decoded by the multiplexed stream reception unit 401. In the multiplexed stream thus obtained, the input switch 420 is first closed, and one packet is guided to the buffer 430 (step S1). Next, the additional information packet detector 440 determines whether or not the packet stored in the buffer 430 is an additional information packet (step S2). In this example using a null packet defined in ISO / IEC13818-1, if the packet is a null packet and the upper 1 bit of the scramble control field is “1”, it is determined as an additional information packet. .

バッファ430の内容が付加情報パケットでない場合には、出力スイッチ470が閉じられ、バッファ430に格納されたパケットを取り出して多重化ストリーム送出器480に伝達し(ステップS3)、一連の動作を終了する。
バッファA430の内容が付加情報パケットの場合には、付加情報パケット検出器440はバッファ430に格納されたパケットから時刻情報を読み出し、基本部と拡張部をそれぞれ時刻情報レジスタ442に格納する(ステップS4)。
なお、受信装置4が稼動し始めてから初めて到着した付加情報パケットであった場合に限り(ステップS5)、クロックカウンタの「初期セット」を行う(ステップS6)。すなわち、時刻情報レジスタ442のうち基本部の値を、クロックカウンタの基本部417bにセットして、一連の動作を終了する。
If the content of the buffer 430 is not an additional information packet, the output switch 470 is closed, the packet stored in the buffer 430 is taken out and transmitted to the multiplexed stream transmitter 480 (step S3), and the series of operations is completed. .
When the content of the buffer A430 is an additional information packet, the additional information packet detector 440 reads time information from the packet stored in the buffer 430, and stores the basic part and the extension part in the time information register 442, respectively (step S4). ).
Only when the additional information packet arrives for the first time after the reception apparatus 4 starts operating (step S5), the clock counter is "initially set" (step S6). That is, the value of the basic part in the time information register 442 is set in the basic part 417b of the clock counter, and the series of operations ends.

既に「初期セット」作業が済んでいる場合には、入力スイッチ420が閉じられ、多重化ストリーム受信部401から得られる次のパケット1箇をバッファ430に格納する(ステップS7)。図5に示すように、付加情報パケットと時刻基準参照値を含むパケットは連続しているから、バッファ430に格納されたパケットは時刻基準参照値を含んでいる。
ただし、ディジタル伝送網3の伝送損失によるパケットロスが原因で、付加情報パケットに続くパケットに時刻基準参照値が含まれない可能性がある。そのため、時刻基準参照値を含むか否かを確認して(ステップS8)、万が一時刻基準参照値が含まれない場合には、ステップS9をスキップして時刻基準参照値の補正動作を中止し、出力スイッチ470を閉じてバッファ430に格納されたパケットを取り出し、多重化ストリーム送出器480に伝達して(ステップS10)、一連の動作を終了する。
異常がない場合には、時刻基準参照値を補正するための動作を行う(ステップS9)。
If the “initial setting” operation has already been completed, the input switch 420 is closed, and the next packet obtained from the multiplexed stream receiving unit 401 is stored in the buffer 430 (step S7). As shown in FIG. 5, since the additional information packet and the packet including the time base reference value are continuous, the packet stored in the buffer 430 includes the time base reference value.
However, there is a possibility that the time reference reference value is not included in the packet following the additional information packet due to the packet loss due to the transmission loss of the digital transmission network 3. Therefore, it is confirmed whether or not the time base reference value is included (step S8). If the time base reference value is not included, step S9 is skipped and the time base reference value correction operation is stopped. The output switch 470 is closed and the packet stored in the buffer 430 is taken out and transmitted to the multiplexed stream transmitter 480 (step S10), and the series of operations is terminated.
If there is no abnormality, an operation for correcting the time base reference value is performed (step S9).

時刻基準参照値を補正する動作の詳細な流れを、以下に説明する。
(1)時刻基準参照値読出器461は、バッファ430に格納されたパケットの時刻基準参照値を読み出して出力する。具体的には、TSパケットのPCRフィールドからPCRの値を読み出す。
(2)時刻差分演算器450は、同期計時器410より得られる現在時刻415の値から、時刻情報レジスタ442の値を減算し、差分値451として出力する。それぞれの値は基本部と拡張部から構成されるので、差分値の演算は、基本部の1が拡張部の300に相当することを考慮して行われる。差分値451は符号付きの値となって、後述のように、多重化ストリームが伝送中に受けた遅延揺らぎ(27MHzの時間解像度で計測した値)に相当する。
(3)時刻基準参照値補正器463は、時刻基準参照値462の値(具体的には、PCRの値)に差分値451を加算する。
それぞれの値は基本部と拡張部とから構成されるので、この演算も基本部の1が拡張部の300に相当することを考慮して行われる。これにより、多重化ストリームが伝送中に受けた遅延揺らぎに対応して、時刻基準参照値462が補正される。
A detailed flow of the operation for correcting the time base reference value will be described below.
(1) The time base reference value reader 461 reads the time base reference value of the packet stored in the buffer 430 and outputs it. Specifically, the PCR value is read from the PCR field of the TS packet.
(2) The time difference calculator 450 subtracts the value of the time information register 442 from the value of the current time 415 obtained from the synchronous timer 410 and outputs it as a difference value 451. Since each value is composed of a basic part and an extension part, the calculation of the difference value is performed considering that 1 of the basic part corresponds to 300 of the extension part. The difference value 451 is a signed value and corresponds to the delay fluctuation (measured with a time resolution of 27 MHz) received during transmission of the multiplexed stream, as will be described later.
(3) The time base reference value corrector 463 adds the difference value 451 to the time base reference value 462 (specifically, the PCR value).
Since each value is composed of a basic part and an extension part, this calculation is also performed in consideration that 1 of the basic part corresponds to 300 of the extension part. As a result, the time base reference value 462 is corrected corresponding to the delay fluctuation received during transmission of the multiplexed stream.

なお、これに加えて、時刻基準参照値補正器463は、時刻基準参照値462から常に一定の値を減算する機能が追加されてもよい。これは、復号装置5において、デコーダ501〜503のバッファに滞留するストリームの量を増加し、バッファのアンダーランを生じ難くする作用がある。この作用について、以下に説明する。
映像、音声など複数のメディア情報が多重化されたストリームでは、複数メディアを同期再生するために、それぞれのメディア情報を復号、ないし提示するタイミングを指定したタイムスタンプが存在する。例えば、MPEG−2ストリームでは、復号タイミングであるDTS(Decoding Time Stamp)、および提示タイミングであるPTS(Presentation Time Stamp)が、映像情報や音声情報のそれぞれに付加される。
In addition to this, the time base reference value corrector 463 may be added with a function of always subtracting a constant value from the time base reference value 462. This has the effect of increasing the amount of the stream staying in the buffers of the decoders 501 to 503 in the decoding device 5 and making the buffer underrun difficult to occur. This operation will be described below.
In a stream in which a plurality of pieces of media information such as video and audio are multiplexed, there is a time stamp that specifies the timing for decoding or presenting each piece of media information in order to synchronously reproduce the plurality of media. For example, in an MPEG-2 stream, decoding time stamp (DTS) and presentation time stamp (PTS) are added to video information and audio information, respectively.

MPEG−2復号装置5のクロックカウンタ506(図14参照)には、時刻基準参照値PCRを基に再生した基準時刻(デコーダのシステムクロック)が存在するが、この基準時刻の値がDTSないしPTSが示す値になった瞬間に、該当する映像情報および音声情報を復号ないし提示することを意味している。このようにして、例えば人が会話する場面において、口の動きと音声とがずれたりすることなく、複数メディアの同期再生が可能になる。基準時刻(デコーダのシステムクロック)の値がDTSないしPTSが示す値になるまでの期間、多重化ストリームはデコーダ501〜503のバッファに滞留し、復号の開始を待つ。   The clock counter 506 (see FIG. 14) of the MPEG-2 decoding device 5 has a reference time (decoder system clock) reproduced based on the time reference reference value PCR. The reference time value is DTS or PTS. This means that the corresponding video information and audio information is decoded or presented at the moment when the value becomes. In this way, synchronized playback of a plurality of media is possible without shifting the mouth movement and the voice in a scene where people talk, for example. During the period until the value of the reference time (decoder system clock) reaches the value indicated by DTS or PTS, the multiplexed stream stays in the buffers of the decoders 501 to 503 and waits for the start of decoding.

ここで、PCRの値から常に一定値を減算した場合、PCRの値と、DTSおよびPTSの値の間隔がより広がることになる。すなわち、基準時刻(デコーダのシステムクロック)の値がDTSないしPTSが示す値になるのを待つために、デコーダ501〜503のバッファに滞留する多重化ストリームの量がより多くなる。
伝送遅延揺らぎが復号装置5に与える影響として、一つには、これまで述べてきたPCRの揺らぎに起因してシステムクロックが揺らぐ問題、もう一つには、多重化ストリームの到着の一時的な遅れが原因でデコーダ501〜503のバッファが空になり(バッファアンダーラン)、復号すべきデータが未到着であるため符号化を停止せざるを得なくなる問題がある。ここで、デコーダ501〜503のバッファに滞留する多重化ストリームの量を増加させれば、バッファアンダーランが起こる可能性をより小さくできる。
このように、PCRの値から常に一定値を減算することにより、復号装置のバッファアンダーランの可能性を減少させ、その結果として、遅延揺らぎの影響を抑えることができる。
Here, when a constant value is always subtracted from the PCR value, the interval between the PCR value and the DTS and PTS values becomes wider. That is, in order to wait for the value of the reference time (the system clock of the decoder) to become a value indicated by DTS or PTS, the amount of multiplexed streams staying in the buffers of the decoders 501 to 503 increases.
The influence of the transmission delay fluctuation on the decoding device 5 is, firstly, the problem that the system clock fluctuates due to the PCR fluctuation described above, and secondly, the temporary arrival of the multiplexed stream. Due to the delay, the buffers of the decoders 501 to 503 are emptied (buffer underrun), and there is a problem that the encoding has to be stopped because the data to be decoded has not arrived. Here, if the amount of multiplexed streams staying in the buffers of the decoders 501 to 503 is increased, the possibility of buffer underrun can be reduced.
In this way, by always subtracting a constant value from the PCR value, the possibility of buffer underrun in the decoding device is reduced, and as a result, the influence of delay fluctuation can be suppressed.

(4)時刻基準参照値書戻器464は、補正された時刻基準参照値を、バッファ430に格納されたパケットの時刻基準参照値フィールド(具体的には、TSパケットのPCRフィールド)に書き戻す。
図8に戻り、最後に、出力スイッチ470を閉じてバッファ430に格納されたパケットを取り出し、多重化ストリーム送出器480に伝達して(ステップS10)、一連の動作を終了する。なお、時刻差分演算器450以降、多重化ストリーム送出器480からパケットが出力されるまでは、処理時間が一定となる構成(ハードウェアによる構成など)を採用する。
一連の動作が終了したならば、再びステップS1に戻り、入力スイッチ420から1箇のパケットがバッファ430に格納されて、同様の処理を繰り返し行う。
(4) The time base reference value rewriter 464 writes the corrected time base reference value back to the time base reference value field (specifically, the PCR field of the TS packet) of the packet stored in the buffer 430. .
Returning to FIG. 8, finally, the output switch 470 is closed, the packet stored in the buffer 430 is taken out and transmitted to the multiplexed stream transmitter 480 (step S10), and the series of operations ends. Note that a configuration in which the processing time is constant (such as a configuration using hardware) is employed after the time difference calculator 450 until the packet is output from the multiplexed stream transmitter 480.
When the series of operations is completed, the process returns to step S1, and one packet is stored in the buffer 430 from the input switch 420, and the same processing is repeated.

図9は、本発明における時刻基準参照値から遅延揺らぎの影響が補正される仕組みの説明図である。
図9において、例えば時刻情報が「100:10」と表記されている場合には、時刻情報の基本部が100、拡張部が10であることを意味している。
図9(A)は、1つ目の付加情報パケットが送られた場合を示している。
いま、図9(A)において、送信側のクロックカウンタ212が‘100:0’の時に、PCRの値‘0:0’を含むTSパケットが入力されたとする。その結果、ディジタル伝送網3上では、「‘100:0’」の付加情報パケットと、PCR「‘0:0’」を含むTSパケットの2つが伝送される。
受信側では、最初に受けた付加情報パケットであるから、クロックカウンタ412の基本部に「‘100’」を初期セットする(443)。クロックカウンタ412の拡張部は、その構造上、網共通クロックを216分周した90kHzによりリセットされることが決定されているため、拡張部を初期セットすることはできない。ここでは、初期セットを行った際の拡張部の値がたまたま10であったとする。この影響については後述する。
クロックカウンタ412の基本部は、初期セットされた値‘100’を起点とし、網共通クロック411を216分周した90kHzによってカウントアップされる。PCR「‘0:0’」を含むTSパケットは、そのまま復号装置5へ出力される。
FIG. 9 is an explanatory diagram of a mechanism for correcting the influence of delay fluctuation from the time base reference value in the present invention.
In FIG. 9, for example, when the time information is written as “100: 10”, it means that the basic part of the time information is 100 and the extension part is 10.
FIG. 9A shows a case where the first additional information packet is sent.
In FIG. 9A, it is assumed that a TS packet including a PCR value “0: 0” is input when the transmission-side clock counter 212 is “100: 0”. As a result, on the digital transmission network 3, two additional information packets “100: 0” and a TS packet including the PCR “0: 0” are transmitted.
On the receiving side, since it is the first received additional information packet, “100” is initially set in the basic part of the clock counter 412 (443). The extended portion of the clock counter 412 is determined to be reset at 90 kHz obtained by dividing the network common clock by 216 because of its structure, and therefore the extended portion cannot be initially set. Here, it is assumed that the value of the extension part when the initial setting is performed happens to be 10. This effect will be described later.
The basic part of the clock counter 412 is counted up by 90 kHz obtained by dividing the network common clock 411 by 216 from the initial value “100” as a starting point. The TS packet including the PCR “'0: 0” is output to the decoding device 5 as it is.

次に、図9(B)は、2つ目の付加情報パケットが送られた場合を示している。図9(B)においては、送信側のクロックカウンタ212が‘200:0’の時に、PCR‘100:0’を含むTSパケットが入力されたとする。その結果、ディジタル伝送網3上では「‘200:0’」の付加情報パケットと、PCR「‘100:0’」を含むTSパケットの2つが伝送される。ここで、ディジタル伝送網3上の遅延揺らぎにより、パケットの到着が10:0の時間遅れたとする。
この場合、PCRが「‘100:0’」のままTSパケットを復号装置5へ転送すると、復号装置5が遅延揺らぎの影響を受ける。従って、遅延揺らぎを補正するためには、パケットの到着が遅れた分を補正し、PCRに10:0を加えて「‘110:0’」として復号装置5へ転送しなければならない。
さて、パケットの到着が10:0遅れたため、クロックカウンタ412の値は‘210:10’になっている。その結果、時刻差分演算器450は、クロックカウンタ412の値から付加情報パケットの値を減算し、値‘10:10’を得る。時刻基準参照値補正器463は、読み出したPCRの値‘100:0’に‘10:10’を加算して‘110:10’とし、書き戻す。このようにして、遅延揺らぎ分を補正した時刻基準参照値が、復号装置5へ伝達される。
Next, FIG. 9B shows a case where the second additional information packet is sent. In FIG. 9B, it is assumed that a TS packet including PCR “100: 0” is inputted when the clock counter 212 on the transmission side is “200: 0”. As a result, the additional information packet “200: 0” and the TS packet including the PCR “100: 0” are transmitted on the digital transmission network 3. Here, it is assumed that the arrival of the packet is delayed by 10: 0 due to delay fluctuation on the digital transmission network 3.
In this case, if the TS packet is transferred to the decoding device 5 while the PCR is “100: 0”, the decoding device 5 is affected by delay fluctuation. Therefore, in order to correct the delay fluctuation, it is necessary to correct the delay of the arrival of the packet, add 10: 0 to the PCR, and transfer it to the decoding device 5 as “'110: 0”.
Since the arrival of the packet is delayed by 10: 0, the value of the clock counter 412 is “210: 10”. As a result, the time difference calculator 450 subtracts the value of the additional information packet from the value of the clock counter 412 to obtain the value “10:10”. The time base reference value corrector 463 adds “10:10” to the read PCR value “100: 0” to make “110: 10”, and writes it back. In this way, the time base reference value with the delay fluctuation corrected is transmitted to the decoding device 5.

ここで、正しくは「‘110:0’」として復号装置5へ転送されるべきところを、「‘110:10’」に書き換えられてしまったのは、図9(A)においてクロックカウンタ412の拡張部をセットしていない影響である。しかしながら、図9(C)に示すように、2つ目以降の全ての付加情報パケットの処理において、この誤差は一定値で持続する。誤差が常に一定値であることから、遅延揺らぎの除去という本発明の目的では、2つ目以降の処理においてこの誤差が悪影響を及ぼすことはない。   Here, what is supposed to be transferred to the decoding device 5 as “′ 110: 0” correctly is changed to “′ 110: 10” ”in FIG. 9A in the clock counter 412. The effect is that the extension is not set. However, as shown in FIG. 9C, in the processing of all additional information packets after the second, this error continues at a constant value. Since the error is always a constant value, for the purpose of the present invention to remove the delay fluctuation, the error does not adversely affect the second and subsequent processes.

なお、以上の説明においては、符号化装置1内部の発振器によって生成されるPCRと、同期計時器210により生成される現在時刻が、双方とも正確に27MHzであることが前提となっている。しかしながら、実際にはこれらは正確な27MHzではなく、若干の誤差を含むことが考えられる。以下に、この影響について述べる。
ATM網で供給される網共通クロックは、原子時計などの信頼性の高いクロック供給源を持ったATM網の使用を前提とし、ほぼ正確な27MHzが得られるものとする。これに対して、ISO/IEC13818−1の規定においては、符号化装置の持つ発振器は±30ppm、すなわち27MHz±810Hz以内の偏差が許容されている。
In the above description, it is assumed that both the PCR generated by the oscillator inside the encoding device 1 and the current time generated by the synchronous timer 210 are exactly 27 MHz. In practice, however, these are not exact 27 MHz and may contain some errors. This effect is described below.
The network common clock supplied by the ATM network assumes that the ATM network having a highly reliable clock supply source such as an atomic clock is used, and an almost accurate 27 MHz is obtained. On the other hand, in the regulation of ISO / IEC13818-1, the oscillator of the encoding device is allowed to have a deviation within ± 30 ppm, that is, 27 MHz ± 810 Hz.

いま、符号化装置の持つ発振器の偏差が、規定内で最大の27MHz±810Hzであったとする。このとき、本発明の装置において、j(秒)の遅延揺らぎが起き、PCRの値をj(秒)だけ書き換えたとすると、書き換えたPCRの値に含まれる誤差は(810/27×10)×j(秒)となる。
この誤差を、ISO/IEC13818−1の規定である±0.5μsec以内に抑えるためには、
(810/(27×106))×j≦0.5×10−6
j≦0.016
となり、16ミリ秒以内の遅延揺らぎに対しては、本発明による方式でISO/IEC13818−1の規定を満たす遅延揺らぎ吸収が可能である。
Now, it is assumed that the deviation of the oscillator included in the encoding device is 27 MHz ± 810 Hz which is the maximum within the regulation. At this time, in the apparatus of the present invention, if delay fluctuation of j (second) occurs and the PCR value is rewritten by j (second), the error included in the rewritten PCR value is (810/27 × 10 6 ). Xj (seconds).
In order to suppress this error within ± 0.5 μsec as defined in ISO / IEC13818-1,
(810 / (27 × 106)) × j ≦ 0.5 × 10 −6
j ≦ 0.016
Thus, with respect to delay fluctuations within 16 milliseconds, the delay fluctuations satisfying the standard of ISO / IEC13818-1 can be absorbed by the method according to the present invention.

なお、16ミリ秒以内の遅延揺らぎを起こす網においても、多重化ストリーム受信部401と、時刻基準参照値補正部402との間に、例えば前述のアダプティブクロック方式に基づく遅延揺らぎ吸収機構を設けることができる。アダプティブクロック方式によって遅延揺らぎを数百マイクロ秒まで平滑化し、続いて本発明による時刻基準参照値補正部402でPCRの値を書き換えることにより、大きな遅延揺らぎを起こす網においても、本発明による方式を適用することができる。   Even in a network that causes a delay fluctuation within 16 milliseconds, a delay fluctuation absorbing mechanism based on the above-described adaptive clock system, for example, is provided between the multiplexed stream reception unit 401 and the time base reference value correction unit 402. Can do. The delay clock is smoothed down to several hundred microseconds by the adaptive clock system, and then the time base reference value correction unit 402 according to the present invention rewrites the PCR value, so that the system according to the present invention is applied even to a network that causes a large delay clock fluctuation. Can be applied.

上記の実施例では、一つの符号化装置1から供給される一本の多重化ストリームを、一つの復号装置5に供給する系について記述したが、実際の送信装置2および受信装置4においては、符号化装置1および復号装置5を接続するコネクタを複数設け、複数本の多重化ストリームを伝送できるようにする場合も考えられる。その際に、複数本の多重化ストリームそれぞれに対して遅延揺らぎ補正機能を提供するため、一般的には上述した付加情報重畳部202および時刻基準参照値補正部402を複数持つ必要がある。しかしながら、本発明においては、同期計時器210および410は各装置に1つだけあればよく、その分ハードウェアコストを抑えることができる。   In the above embodiment, a system for supplying one multiplexed stream supplied from one encoding device 1 to one decoding device 5 has been described. However, in the actual transmission device 2 and reception device 4, There may be a case where a plurality of connectors for connecting the encoding device 1 and the decoding device 5 are provided so that a plurality of multiplexed streams can be transmitted. At that time, in order to provide a delay fluctuation correction function for each of a plurality of multiplexed streams, it is generally necessary to have a plurality of the additional information superimposing unit 202 and the time reference reference value correcting unit 402 described above. However, in the present invention, only one synchronous timer 210 and 410 is required for each device, and the hardware cost can be reduced accordingly.

さらに、同期計時器210および410が、多重化ストリームに含まれる時刻基準参照値に同期して動作する構成をとった場合(例えば、最初に得た時刻基準参照値をクロックカウンタ212および412にセットする等)、多重化ストリームにおいて時刻基準参照値が途切れたり不連続になったりすると、遅延揺らぎ吸収動作を中止して、同期計時器210および410を再同期しなければならない。さらに、複数チャネルに複数の時刻基準参照値を持つ多重化ストリームの場合には、そのそれぞれを識別して(例えば、TSパケットのパケットID番号で識別して)、個別の処理を行わなくてはならない。
これに対して、本発明における同期計時器210および410は、多重化ストリームに含まれる時刻基準参照値とは独立して動作するため、多重化ストリームにおいて時刻基準参照値が不連続となった場合にも、遅延揺らぎ吸収動作を継続することができる。また、複数チャネルに複数の時刻基準参照値が存在する多重化ストリームであっても、ID番号などによって個別のチャネルを区別する必要がなく、遅延揺らぎ補正を一括して処理できる。
Further, when the synchronous timers 210 and 410 are configured to operate in synchronization with the time base reference value included in the multiplexed stream (for example, the first obtained time base reference value is set in the clock counters 212 and 412). If the time base reference value is interrupted or becomes discontinuous in the multiplexed stream, the delay fluctuation absorbing operation must be stopped and the synchronous timers 210 and 410 must be resynchronized. Furthermore, in the case of a multiplexed stream having a plurality of time base reference values in a plurality of channels, each of them must be identified (for example, identified by the packet ID number of the TS packet), and individual processing must be performed. Don't be.
On the other hand, since the synchronous timers 210 and 410 according to the present invention operate independently of the time base reference value included in the multiplexed stream, the time base reference value becomes discontinuous in the multiplexed stream. In addition, the delay fluctuation absorbing operation can be continued. In addition, even for a multiplexed stream in which a plurality of time base reference values exist in a plurality of channels, it is not necessary to distinguish individual channels by an ID number or the like, and delay fluctuation correction can be collectively processed.

(第2の実施例)
図10は、本発明の第2の実施例を示す付加情報パケットと時刻基準参照値を含むパケットとの位置関係図である。
図10と第1の実施例の図5とを比較すると、図2の付加情報混合器250から出力されるパケットの送信順序が逆順となっている。すなわち、時刻基準参照値を含むパケット、付加情報パケット、の順序で送信されるものとする。
(Second embodiment)
FIG. 10 is a diagram showing the positional relationship between the additional information packet and the packet including the time base reference value according to the second embodiment of the present invention.
Comparing FIG. 10 with FIG. 5 of the first embodiment, the transmission order of the packets output from the additional information mixer 250 of FIG. 2 is reversed. That is, it is assumed that the packet including the time base reference value and the additional information packet are transmitted in this order.

図11は、本発明の第2の実施例を示す受信装置の構成図である。
図11と第1の実施例の図6に示した受信装置4とを比較すると、次の3点のみが異なっている。すなわち、
(a)多重化ストリームパケットを格納するバッファを、バッファA430およびバッファB431の2つに増設したこと、
(b)入力スイッチ420および出力スイッチ430に、上記の2つのバッファを切り替えてパケット入出力するための選択機能を追加したこと、
(c)付加情報パケットフィルタ475を設置したこと、このフィルタは、バッファA430から出力されるパケットが付加情報パケットか否かを判定し、付加情報パケットであれば当該パケットを破棄する機能を持つ。
FIG. 11 is a block diagram of a receiving apparatus showing a second embodiment of the present invention.
Comparing FIG. 11 with the receiving apparatus 4 shown in FIG. 6 of the first embodiment, only the following three points are different. That is,
(A) The number of buffers for storing multiplexed stream packets is increased to two, that is, a buffer A430 and a buffer B431,
(B) A selection function for switching the two buffers and inputting / outputting packets is added to the input switch 420 and the output switch 430.
(C) The additional information packet filter 475 is installed, and this filter has a function of determining whether or not the packet output from the buffer A 430 is an additional information packet, and discarding the packet if it is an additional information packet.

図12は、図11における受信装置の動作フローチャートである。
送信装置2よりディジタル伝送網3を経由して到着した信号は、多重化ストリーム受信部401で通信路復号化される。このようにして得られた多重化ストリームは、先ず入力スイッチ420が閉じられ、1箇のパケットがバッファ430に導かれる(ステップS21)。次に、付加情報パケット検出器440は、バッファ430に格納されたパケットが時刻基準参照値を含むか否かを判別する(ステップS22)。ISO/IEC13818−1に規定されたヌルパケットを使用する本例においては、当該パケットがヌルパケットであり、かつスクランブル制御フィールドの上位1ビットが「1」であれば、付加情報パケットと判断される。付加情報パケットの場合には、バッフア430からパケットを出力し、フィルタ475で破棄される(ステップS23)。
FIG. 12 is an operation flowchart of the receiving apparatus in FIG.
A signal arriving from the transmission device 2 via the digital transmission network 3 is channel-decoded by the multiplexed stream reception unit 401. In the multiplexed stream thus obtained, the input switch 420 is first closed, and one packet is guided to the buffer 430 (step S21). Next, the additional information packet detector 440 determines whether or not the packet stored in the buffer 430 includes a time base reference value (step S22). In this example using a null packet defined in ISO / IEC13818-1, if the packet is a null packet and the upper 1 bit of the scramble control field is “1”, it is determined as an additional information packet. . In the case of an additional information packet, the packet is output from the buffer 430 and discarded by the filter 475 (step S23).

続くパケットをバッファB431に格納する(ステップS24)。付加情報パケット検出器440は、バッファB431の内容が付加情報パケットか否かを判別する(ステップS25)。付加情報パケットの場合には、付加情報パケット検出器440はバッファ431に格納されたパケットから時刻情報を読み出し、基本部と拡張部をそれぞれ時刻情報レジスタ442に格納する(ステップS28)。付加情報パケットでない場合には、バッファA430からパケットを出力する(S26)とともに、バッファB431からもパケットを出力する(ステップS27)。受信装置4が稼動し始めてから初めて到着した付加情報パケットであった場合に限り(ステップS29)、クロックカウンタ412に時刻情報レジスタ442のうちの基本部の値を初期セットする(ステップS30)。付加情報パケットでない場合には、時刻基準参照値の補正動作を行う(ステップS31)。
次に、バッファA430からパケットを出力する(ステップS32)。
The subsequent packet is stored in the buffer B 431 (step S24). The additional information packet detector 440 determines whether or not the content of the buffer B431 is an additional information packet (step S25). In the case of an additional information packet, the additional information packet detector 440 reads time information from the packet stored in the buffer 431 and stores the basic part and the extension part in the time information register 442 (step S28). If it is not an additional information packet, the packet is output from the buffer A 430 (S 26) and the packet is also output from the buffer B 431 (step S 27). Only when the additional information packet arrives for the first time after the reception apparatus 4 starts operating (step S29), the value of the basic part of the time information register 442 is initially set in the clock counter 412 (step S30). If it is not an additional information packet, the time base reference value is corrected (step S31).
Next, the packet is output from the buffer A 430 (step S32).

(第3の実施例)
図13は、本発明の第3の実施例を示す送信装置の一部の構成図である。
本実施例においては、第1の実施例および第2の実施例の図2と比較して、多重化ストリーム受取器220とバッファA230との間に、違反パケットフィルタ225を設置する点のみが異なっている。
違反パケットフィルタ225は、符号化装置1から入力された多重化ストリームパケットの中に、付加情報パケットと混同するようなパケットが存在した場合、当該パケットを強制的に書き換える機能を持っている。
(Third embodiment)
FIG. 13 is a block diagram of a part of a transmission apparatus showing a third embodiment of the present invention.
The present embodiment is different from the first embodiment and the second embodiment in FIG. 2 only in that a violation packet filter 225 is provided between the multiplexed stream receiver 220 and the buffer A230. ing.
The violation packet filter 225 has a function of forcibly rewriting a packet that is confused with the additional information packet in the multiplexed stream packet input from the encoding device 1.

一例として、第1の実施例および第2の実施例の図4と同様に、付加情報パケットとして、スクランブル制御フィールド上位1ビットを「1」としたヌルパケットを使用する場合を挙げる。ISO/IEC13818−1の規定に従い、符号化装置1が出力するヌルパケットのスクランブル制御フィールドは‘00’である。しかし、符号化装置1がISO/IEC13818−1の規定に反して、スクランブル制御フィールドが‘00’ではないヌルパケットを生成する可能性も考えられる。この場合、受信装置4において付加情報パケットとの区別が不可能となり、装置の動作が異常となる。
そこで、違反パケットフィルタ225は、スクランブル制御フィールドが‘00’ではないヌルパケットが符号化装置1から入力された場合には、当該フィールドを強制的に‘00’に書き換える。これにより、受信装置4における付加情報パケットとの混同を防ぎ、装置を安定に動作させることができる。
なお、第3の実施例において、送信装置の他の動作については、第1および第2の実施例と同様であるので、説明を省略する。
As an example, as in FIG. 4 of the first embodiment and the second embodiment, a case where a null packet in which the upper 1 bit of the scramble control field is “1” is used as the additional information packet. The scramble control field of the null packet output from the encoding device 1 is “00” in accordance with ISO / IEC13818-1 regulations. However, there is a possibility that the encoding apparatus 1 generates a null packet whose scramble control field is not “00” contrary to the standard of ISO / IEC13818-1. In this case, the receiving device 4 cannot distinguish from the additional information packet, and the operation of the device becomes abnormal.
Therefore, when a null packet whose scramble control field is not “00” is input from the encoding device 1, the violation packet filter 225 forcibly rewrites the field to “00”. Thereby, confusion with the additional information packet in the receiving apparatus 4 can be prevented, and the apparatus can be operated stably.
In the third embodiment, the other operations of the transmission apparatus are the same as those in the first and second embodiments, and thus the description thereof is omitted.

本発明の第1の実施例を示す送信装置および受信装置を用いた多重化ストリーム伝送システムの構成図である。It is a block diagram of the multiplexed stream transmission system using the transmitter and receiver which show the 1st Example of this invention. 図1における送信装置の構成を示す図である。It is a figure which shows the structure of the transmitter in FIG. 図2における同期計時器の詳細構成図である。It is a detailed block diagram of the synchronous timer in FIG. 図2における付加情報混合器により生成される付加情報パケットの例を示す図である。It is a figure which shows the example of the additional information packet produced | generated by the additional information mixer in FIG. 図2の付加情報混合器により出力される付加情報パケットと時刻基準参照値を含むパケットとの位置関係を示す図である。It is a figure which shows the positional relationship of the additional information packet output by the additional information mixer of FIG. 2, and the packet containing a time base reference value. 図1における受信装置の構成を示すブロック図である。It is a block diagram which shows the structure of the receiver in FIG. 図6における同期計時器の構成を示す図である。It is a figure which shows the structure of the synchronous timer in FIG. 図6における受信装置の処理フローチャートである。FIG. 7 is a processing flowchart of the receiving apparatus in FIG. 6. FIG. 図6の受信装置により時刻基準参照値が修正される手順の説明図である。It is explanatory drawing of the procedure in which a time reference reference value is corrected by the receiver of FIG. 本発明の第2の実施例を示す付加情報パケットと時刻基準参照値を含むパケットとの位置関係図である。It is a positional relationship figure of the additional information packet which shows the 2nd Example of this invention, and the packet containing a time base reference value. 本発明の第2の実施例を示す受信装置の構成図である。It is a block diagram of the receiver which shows the 2nd Example of this invention. 図11における受信装置の処理フローチャートである。12 is a processing flowchart of the receiving apparatus in FIG. 11. 本発明の第3の実施例を示す送信装置の要部の構成図である。It is a block diagram of the principal part of the transmitter which shows the 3rd Example of this invention. 従来の多重化ストリーム伝送システムを示すブロック図である。It is a block diagram which shows the conventional multiplexed stream transmission system. 図14における基準時刻再生器の仕組みを説明する図である。It is a figure explaining the mechanism of the reference | standard time regenerator in FIG. MPEG−2トランスポートストリームパケットにおけるPCRの配置を示す図である。It is a figure which shows arrangement | positioning of PCR in an MPEG-2 transport stream packet.

符号の説明Explanation of symbols

1:符号化装置、2:送信装置、3:ディジタル伝送網、4:受信装置、5:復号装置、201:多重化ストリーム送信部、202:付加情報重畳部、401:多重化ストリーム受信部、402:時刻基準参照値補正部、210:同期計時器、211:網共通クロック、220:多重化ストリーム受取器、230,231:バッファA,B、240:時刻基準参照値検出器、250:付加情報混合器、222:スイッチ、221:受信タイミングパルス、212:分周器、223:現在時刻、217b:クロックカウンタ(基本部)、217e:クロックカウンタ(拡張部)、218b:時刻情報(基本部)、218e:時刻情報(拡張部)、411:網共通クロック、410:同期計時器、442:時刻情報レジスタ、441:時刻情報、440:付加情報パケット検出器、430:バッファ、420:入力スイッチ、470:出力スイッチ、480:多重化ストリーム送出器、461:時刻基準参照値読出器、462:時刻基準参照値、463:時刻基準参照値補正器、464:時刻基準参照値書戻器、450:時刻差分演算器、443:初期セット、451:差分値、415:現在時刻、412:分周器、417b:クロックカウンタ(基本部)、417e:クロックカウンタ(拡張部)、413:発振器、414,416:カウントアップ、418b:時刻情報(基本部)、418e:時刻情報(拡張部)、475:付加情報パケットフィルタ、431:バッファB、225:違反パケットフィルタ。   1: encoding device, 2: transmitting device, 3: digital transmission network, 4: receiving device, 5: decoding device, 201: multiplexed stream transmitting unit, 202: additional information superimposing unit, 401: multiplexed stream receiving unit, 402: Time base reference value correction unit, 210: Synchronous timer, 211: Network common clock, 220: Multiplexed stream receiver, 230, 231: Buffers A and B, 240: Time base reference value detector, 250: Addition Information mixer, 222: switch, 221: reception timing pulse, 212: frequency divider, 223: current time, 217b: clock counter (basic part), 217e: clock counter (expansion part), 218b: time information (basic part) ) 218e: Time information (extension unit), 411: Network common clock, 410: Synchronous timer, 442: Time information register, 441: Time information, 40: additional information packet detector, 430: buffer, 420: input switch, 470: output switch, 480: multiplexed stream transmitter, 461: time base reference value reader, 462: time base reference value, 463: time base Reference value corrector, 464: time base reference value rewriter, 450: time difference calculator, 443: initial set, 451: difference value, 415: current time, 412: frequency divider, 417b: clock counter (basic part 417e: Clock counter (expansion part), 413: Oscillator, 414, 416: Count up, 418b: Time information (basic part), 418e: Time information (extension part), 475: Additional information packet filter, 431: Buffer B, 225: Violation packet filter.

Claims (7)

一つ以上のディジタル信号のビットストリームがパケット化されて時分割多重化され、かつ時刻基準参照値が付加された多重化ストリームをディジタル伝送網を介して伝送するストリーム送信装置において、
受信装置と共通のクロック信号をカウントして動作する同期計時器と、
時刻基準参照値を含むパケットの到来時刻を前記同期計時器から取得し、ISO/IEC13818−1で規定されるヌルパケットの形態であるがユニット開始表示フィールドもしくはスクランブル制御フィールドのいずれかの値が1でペイロード部に前記到来時刻を格納した付加情報パケットを生成し、該付加情報パケットを、前記時刻基準参照値を含むパケットと連続で送信する付加情報生成手段と
を具備することを特徴とするストリーム送信装置。
In a stream transmission apparatus for transmitting a multiplexed stream to which a bit stream of one or more digital signals is packetized and time-division multiplexed and a time base reference value is added via a digital transmission network,
A synchronous timer that counts and operates a common clock signal with the receiver;
The arrival time of the packet including the time base reference value is acquired from the synchronous timer, and the value of either the unit start display field or the scramble control field is 1 in the form of a null packet defined by ISO / IEC13818-1. A stream comprising: additional information generating means for generating an additional information packet in which the arrival time is stored in a payload portion and transmitting the additional information packet continuously with a packet including the time reference value Transmitter device.
一つ以上のディジタル信号のビットストリームがパケット化されて時分割多重化され、かつ時刻基準参照値が付加された多重化ストリームをディジタル伝送網を介して受信するストリーム受信装置において、
送信装置と共通のクロック信号をカウントして動作する同期計時器と、
送信装置から送信されたパケットから、ISO/IEC13818−1で規定されるヌルパケットの形態であるがユニット開始表示フィールドもしくはスクランブル制御フィールドのいずれかの値が1でペイロード部に前記時刻基準参照値を含むパケットの到来時刻を格納した付加情報パケットを検出して当該到来時刻を読み出した後、当該パケットを破棄する付加情報読み出し手段と、
時刻基準参照値を含むパケットを検出して、時刻基準参照値を読み出す時刻基準参照値読み出し手段と、
前記付加情報読み出し手段から得た到来時刻と前記同期計時器から取得した時刻の差分を演算する時刻差分演算手段と、
該時刻差分演算手段で得た差分値を、前記時刻基準参照値に加算することで遅延揺らぎの影響を補正する時刻基準参照値補正手段と、
補正した時刻基準参照値をパケットに書き戻して出力する時刻基準参照値書き戻し手段とを備えることを特徴とするストリーム受信装置。
In a stream receiving apparatus for receiving a multiplexed stream to which a bit stream of one or more digital signals is packetized and time-division multiplexed and a time base reference value is added via a digital transmission network,
A synchronous timer that counts and operates the clock signal common to the transmitter;
From the packet transmitted from the transmission device, it is in the form of a null packet specified by ISO / IEC13818-1, but the value of either the unit start display field or the scramble control field is 1 and the time base reference value is set in the payload portion. An additional information reading means for discarding the packet after detecting the additional information packet storing the arrival time of the included packet and reading the arrival time;
A time base reference value reading means for detecting a packet including the time base reference value and reading the time base reference value;
A time difference calculating means for calculating a difference between an arrival time obtained from the additional information reading means and a time obtained from the synchronous timer;
A time base reference value correcting means for correcting the influence of delay fluctuation by adding the difference value obtained by the time difference calculating means to the time base reference value;
A stream receiving apparatus comprising: a time base reference value write-back means for writing the corrected time base reference value back into a packet and outputting the packet.
請求項1に記載のストリーム送信装置であって、
前記同期計時器が使用する共通のクロック信号は、網共通クロック信号を用いることを特徴とするストリーム送信装置。
The stream transmission device according to claim 1,
A stream transmitting apparatus characterized in that a common clock signal used by the synchronous timer uses a network common clock signal.
請求項2に記載のストリーム受信装置であって、
前記同期計時器が使用する共通のクロック信号は、網共通クロック信号を用いることを特徴とするストリーム受信装置。
The stream receiving device according to claim 2,
A stream receiver as a common clock signal used by the synchronous timer uses a network common clock signal.
請求項1もしくは請求項3のいずれかに記載のストリーム送信装置であって、
符号化装置から出力される前記多重化ストリーム中の付加情報パケットを示すビット列を含むパケットを検出し、当該パケットにおける付加情報パケットを示すビット列を書き換えるパケットフィルタ手段を備えたことを特徴とするストリーム送信装置。
The stream transmission device according to claim 1 or 3, wherein
Stream transmission comprising packet filtering means for detecting a packet including a bit string indicating an additional information packet in the multiplexed stream output from the encoding device and rewriting the bit string indicating the additional information packet in the packet. apparatus.
一つ以上のディジタル信号のビットストリームがパケット化されて時分割多重されるとともに、時刻基準参照値が付加された多重化ストリームをディジタル伝送網を介して伝送するストリーム送受信方法において、
送信装置および受信装置の双方に備えられた同期計時器が、共通のクロック信号をカウントして動作し、
送信装置では、時刻基準参照値を含むパケットの到来時刻を前記同期計時器から取得し、ISO/IEC13818−1で規定されるヌルパケットの形態であるがユニット開始表示フィールドもしくはスクランブル制御フィールドのいずれかの値が1でペイロード部に前記到来時刻を格納した付加情報パケットを生成し、該付加情報パケットを、前記時刻基準参照値を含むパケットと連続で送信し、
受信装置では、前記付加情報パケットを検出して前記到来時刻を読み出した後、当該付加情報パケットを破棄し、かつ時刻基準参照値を含むパケットを検出して、該時刻基準参照値を読み出し、前記読み出した到来時刻と同期計時器から取得した時刻の差分を演算し、該差分値を時刻基準参照値に加算することで、遅延揺らぎの影響を補正し、補正した時刻基準参照値をパケットに書き戻して出力することにより、ディジタル伝送網で生じた伝送遅延の揺らぎに対応して、受信した多重化ストリームに含まれる時刻基準参照値を修正することを特徴とするストリーム送受信方法。
In a stream transmission / reception method in which a bit stream of one or more digital signals is packetized and time-division multiplexed and a multiplexed stream to which a time base reference value is added is transmitted via a digital transmission network.
The synchronous timer provided in both the transmitting device and the receiving device operates by counting a common clock signal,
In the transmission apparatus, the arrival time of the packet including the time base reference value is acquired from the synchronous timer, and is in the form of a null packet defined by ISO / IEC13818-1, but either the unit start display field or the scramble control field Generating an additional information packet having the value of 1 and storing the arrival time in the payload portion, and transmitting the additional information packet continuously with the packet including the time reference value,
In the receiving apparatus, after detecting the additional information packet and reading the arrival time, discarding the additional information packet and detecting a packet including a time base reference value, reading the time base reference value, The difference between the read arrival time and the time acquired from the synchronous timer is calculated, and the difference value is added to the time base reference value to correct the influence of delay fluctuation, and the corrected time base reference value is written in the packet. A stream transmission / reception method characterized by correcting a time base reference value included in a received multiplexed stream in response to fluctuations in transmission delay caused in a digital transmission network by returning and outputting.
請求項6に記載のストリーム送受信方法であって、
前記同期計時器は基本部と拡張部からなり、
基本部は、共通のクロック信号、ないしそれを一定値で分周した分周信号によりカウントアップされ、
拡張部は、内蔵された発振器によりカウントアップされ、前記基本部をカウントアップする信号と同一の信号によりリセットされることを特徴とするストリーム送受信方法。
The stream transmission / reception method according to claim 6,
The synchronous timer consists of a basic part and an extended part,
The basic part is counted up by a common clock signal or a divided signal obtained by dividing the clock signal by a constant value.
The stream transmission / reception method, wherein the extension unit is counted up by a built-in oscillator and reset by the same signal as the signal for counting up the basic unit.
JP2005254582A 2005-09-02 2005-09-02 Stream transmitting apparatus, receiving apparatus, and transmission / reception method Expired - Lifetime JP4092705B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005254582A JP4092705B2 (en) 2005-09-02 2005-09-02 Stream transmitting apparatus, receiving apparatus, and transmission / reception method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005254582A JP4092705B2 (en) 2005-09-02 2005-09-02 Stream transmitting apparatus, receiving apparatus, and transmission / reception method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001224420A Division JP3736396B2 (en) 2001-07-25 2001-07-25 Stream transmitting apparatus and receiving apparatus

Publications (2)

Publication Number Publication Date
JP2006050656A true JP2006050656A (en) 2006-02-16
JP4092705B2 JP4092705B2 (en) 2008-05-28

Family

ID=36028568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005254582A Expired - Lifetime JP4092705B2 (en) 2005-09-02 2005-09-02 Stream transmitting apparatus, receiving apparatus, and transmission / reception method

Country Status (1)

Country Link
JP (1) JP4092705B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007108222A1 (en) * 2006-03-17 2007-09-27 Nec Corporation Encoded stream sending device
WO2008028361A1 (en) * 2006-08-29 2008-03-13 Zte Corporation A method for synchronous playing video and audio data in mobile multimedia broadcasting
WO2010089962A1 (en) * 2009-02-06 2010-08-12 日本電気株式会社 Stream signal transmission device and transmission method
CN114339348A (en) * 2021-11-23 2022-04-12 伟乐视讯科技股份有限公司 PCR correction method and system based on frequency difference detection and compensation

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7067367B2 (en) 2018-08-24 2022-05-16 日本電信電話株式会社 Video transmission device and video transmission method

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0537560A (en) * 1991-07-29 1993-02-12 Nec Corp Clock synchronization system between sender and receiver in packet network and clock synchronization device
JPH08242255A (en) * 1995-03-01 1996-09-17 Nippon Telegr & Teleph Corp <Ntt> Isochronism guarantee type continuous media transmitter and isochronism guarantee type continuous media transmitting method
JPH08251152A (en) * 1995-03-14 1996-09-27 Nippon Telegr & Teleph Corp <Ntt> Distributed real time consecutive media processor
JPH0936914A (en) * 1995-07-20 1997-02-07 Matsushita Electric Ind Co Ltd Scramble transmitter, scrambler and descrambler
JPH09139937A (en) * 1995-11-14 1997-05-27 Fujitsu Ltd Moving image stream converter
JPH11127145A (en) * 1997-10-21 1999-05-11 Nec Corp Frame synchronization system and frame synchronization method
JP2000332831A (en) * 1999-03-17 2000-11-30 Sony Corp Communication device, communication method and recording medium
JP2001016267A (en) * 1999-07-01 2001-01-19 Sony Corp Communication equipment and method and medium
JP2001045092A (en) * 1999-08-04 2001-02-16 Sony Corp Communication equipment and method, communication system and recording medium
JP2001156760A (en) * 1999-11-24 2001-06-08 Sony Corp Communication system, control method and recording medium
JP2001244932A (en) * 2000-02-28 2001-09-07 Nippon Telegr & Teleph Corp <Ntt> Method and system for measuring network delay
JP2002374220A (en) * 2001-06-14 2002-12-26 Nippon Telegr & Teleph Corp <Ntt> Stream transmission reception system, and stream transmitter and receiver

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0537560A (en) * 1991-07-29 1993-02-12 Nec Corp Clock synchronization system between sender and receiver in packet network and clock synchronization device
JPH08242255A (en) * 1995-03-01 1996-09-17 Nippon Telegr & Teleph Corp <Ntt> Isochronism guarantee type continuous media transmitter and isochronism guarantee type continuous media transmitting method
JPH08251152A (en) * 1995-03-14 1996-09-27 Nippon Telegr & Teleph Corp <Ntt> Distributed real time consecutive media processor
JPH0936914A (en) * 1995-07-20 1997-02-07 Matsushita Electric Ind Co Ltd Scramble transmitter, scrambler and descrambler
JPH09139937A (en) * 1995-11-14 1997-05-27 Fujitsu Ltd Moving image stream converter
JPH11127145A (en) * 1997-10-21 1999-05-11 Nec Corp Frame synchronization system and frame synchronization method
JP2000332831A (en) * 1999-03-17 2000-11-30 Sony Corp Communication device, communication method and recording medium
JP2001016267A (en) * 1999-07-01 2001-01-19 Sony Corp Communication equipment and method and medium
JP2001045092A (en) * 1999-08-04 2001-02-16 Sony Corp Communication equipment and method, communication system and recording medium
JP2001156760A (en) * 1999-11-24 2001-06-08 Sony Corp Communication system, control method and recording medium
JP2001244932A (en) * 2000-02-28 2001-09-07 Nippon Telegr & Teleph Corp <Ntt> Method and system for measuring network delay
JP2002374220A (en) * 2001-06-14 2002-12-26 Nippon Telegr & Teleph Corp <Ntt> Stream transmission reception system, and stream transmitter and receiver

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007108222A1 (en) * 2006-03-17 2007-09-27 Nec Corporation Encoded stream sending device
KR100989087B1 (en) 2006-03-17 2010-10-25 닛본 덴끼 가부시끼가이샤 Encoded stream sending device and encoded stream sending method
US8243826B2 (en) 2006-03-17 2012-08-14 Nec Corporation Encoded stream transmitter
WO2008028361A1 (en) * 2006-08-29 2008-03-13 Zte Corporation A method for synchronous playing video and audio data in mobile multimedia broadcasting
WO2010089962A1 (en) * 2009-02-06 2010-08-12 日本電気株式会社 Stream signal transmission device and transmission method
JP2010183448A (en) * 2009-02-06 2010-08-19 Nec Corp Apparatus and method for transmitting stream signal
US8874058B2 (en) 2009-02-06 2014-10-28 Nec Corporation Stream signal transmission device and transmission method
CN114339348A (en) * 2021-11-23 2022-04-12 伟乐视讯科技股份有限公司 PCR correction method and system based on frequency difference detection and compensation
CN114339348B (en) * 2021-11-23 2024-02-06 伟乐视讯科技股份有限公司 PCR correction method and system based on frequency offset detection and compensation

Also Published As

Publication number Publication date
JP4092705B2 (en) 2008-05-28

Similar Documents

Publication Publication Date Title
US6493832B1 (en) Communication apparatus which handles a time stamp
EP0735776B1 (en) Decoder for compressed and multiplexed video and audio data
US6947448B2 (en) Data transmission device and data transmission method
US7983345B2 (en) Content receiving apparatus, video/audio output timing control method, and content provision system
US20050117583A1 (en) Method and apparatus for receiving packets transmitted from transmission apparatus
TWI455573B (en) Method for reconstructing system time clock (stc) without carrying pcr
US6377588B1 (en) Method and apparatus for reducing jitter of a program clock reference in a transport stream of MPEG over ATM, and MPEG decoder
KR101343886B1 (en) Method of transmitting mpeg streams over ip and corresponding device, receiving method and receiver
JP4092705B2 (en) Stream transmitting apparatus, receiving apparatus, and transmission / reception method
US20050039064A1 (en) Method and system for re-multiplexing of content-modified MPEG-2 transport streams using PCR interpolation
US20080307470A1 (en) Control method for an information processing device
JP4081936B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND RECORDING MEDIUM
JP3736396B2 (en) Stream transmitting apparatus and receiving apparatus
US20030002540A1 (en) MPEG data packet transmission through an ATM network with jitter free decoding
JP6813933B2 (en) Video / audio transmission system, transmission method, transmitter and receiver
JP2003259365A (en) Data stream processing apparatus
JP4689231B2 (en) Transport stream switching device
JP3893643B2 (en) Signal multiplexing method and transmission signal generating apparatus using the same
JP3350365B2 (en) Video synchronization signal correction device
JP3419607B2 (en) Clock recovery device
JP2002374220A (en) Stream transmission reception system, and stream transmitter and receiver
JPH1141193A (en) Data packet re-multiplexing method and re-multiplexer
JP3018335B2 (en) Method and apparatus for reducing program clock reference jitter of MPEG over ATM and MPEG decoding apparatus
JP4026556B2 (en) Data transmission device
JP4168527B2 (en) Data multiplexing apparatus and data multiplexing method

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080208

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080221

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4092705

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110314

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120314

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130314

Year of fee payment: 5

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term