WO2012066832A1 - Ip受信装置、ip送信装置、およびts受信装置 - Google Patents

Ip受信装置、ip送信装置、およびts受信装置 Download PDF

Info

Publication number
WO2012066832A1
WO2012066832A1 PCT/JP2011/068760 JP2011068760W WO2012066832A1 WO 2012066832 A1 WO2012066832 A1 WO 2012066832A1 JP 2011068760 W JP2011068760 W JP 2011068760W WO 2012066832 A1 WO2012066832 A1 WO 2012066832A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
pcr
unit
receiver
transmission
Prior art date
Application number
PCT/JP2011/068760
Other languages
English (en)
French (fr)
Inventor
雅俊 近藤
将俊 奥平
昌敏 高田
Original Assignee
株式会社日立国際電気
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 株式会社日立国際電気 filed Critical 株式会社日立国際電気
Publication of WO2012066832A1 publication Critical patent/WO2012066832A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/242Synchronization processes, e.g. processing of PCR [Program Clock References]

Definitions

  • the present invention relates to an IP receiver, an IP transmitter, and a TS receiver included in a system that transmits MPEG (Moving Picture Experts Group) -TS (Transport Stream) on an IP (Internet Protocol) network in real time.
  • MPEG Motion Picture Experts Group
  • TS Transmission Stream
  • IP Internet Protocol
  • TS MPEG-2 TS
  • the multiplexed TS is delivered to the TS receiver via a DVB-AS line, an IP line, etc., and the TS receiver reproduces video and audio.
  • the TS transmitter periodically performs PCR (Prog Timing information called “ram clock reference” is multiplexed on the TS.
  • the TS receiver can perform reproduction without timing of video and audio by performing timing reproduction according to PCR information.
  • An object of the present invention is to provide an IP reception device, an IP transmission device, and a TS reception device that enable reproduction with high-precision timing without increasing the transmission bit rate by inserting timing information such as PCR.
  • a receiver that receives an IP packet from an external IP transmitter; Based on the IP packet received by the receiver, a transmission unit that generates a packet indicating a synchronization state of the IP packet and transmits the packet to the external IP transmitter;
  • An IP receiver characterized by comprising:
  • the IP transmitter Since the synchronization mode period until the IP receiver synchronizes with the timing of the IP transmitter requires a lot of timing information, the IP transmitter replaces the normal TS packet with the PCR packet and transmits it. In the normal mode period after synchronization is established, only normal TS packets are transmitted. As a result, the time required for the IP receiver to synchronize with the IP transmitter can be shortened without increasing the bit rate transmitted by the IP transmitter.
  • the block diagram which shows the structure of the TS transmission system which concerns on one Embodiment of this invention The block diagram which shows an example of a structure of the IP transmission apparatus of TS transmission system similarly.
  • Explanatory drawing which similarly shows the transmission packet mode switching sequence of TS transmission system.
  • Explanatory drawing which shows TS output of the packet selection part according to the synchronous state of IP transmitter Explanatory drawing which shows TS output of the packet selection part according to the synchronous state of IP transmitter.
  • a TS transmission unit 11 that inputs video / audio data and outputs MPEG-2TS, and an MPEG-2TS are input.
  • IP transmission device 12 that outputs IP packets
  • IP reception device 13 that receives IP packets and outputs MPEG-2 TS via the IP network
  • TS reception that receives MPEG-2 TS and outputs video / audio data It has a device 14.
  • the TS transmission unit 11 when the video / audio data is input, the TS transmission unit 11 multiplexes the MPEG-2 TS and outputs it as a single stream.
  • the IP transmission device 12 bundles up to 7 188-byte or 204-byte TS packets constituting the TS and outputs the bundle as IP packets.
  • the IP receiver 13 receives the IP packet output from the IP transmitter 12 via the IP network, extracts the TS packet included in the received IP packet, and outputs it.
  • the TS receiver 14 converts the data into video and audio data based on the input TS and outputs the data.
  • UDP User Datagram Protocol
  • the IP transmission device 12 constituting the TS transmission system 1 will be described with reference to FIG.
  • the IP transmission device 12 is provided in the subsequent stage of the timing information packet generator 21, the packet selector 34, the RTP / UDP packet converter 35 provided in the subsequent stage of the packet selector 34, and the RTP / UDP packet converter 35.
  • a synchronization state notification packet receiving unit 37 that receives a synchronization state communication packet from the outside and supplies a signal corresponding to the synchronization state communication packet to the packet selection unit 34.
  • the timing information packet generation unit 21 is similar to the MPEG extraction unit 31 that receives MPEG-2 TS, and also MPEG-2 TS.
  • a TS cycle generation unit 32 that receives a TS, and a PCR packet generation unit 33 that is provided in the subsequent stage of the PCR extraction unit 31 are configured.
  • the PCR extraction unit 31 extracts a PCR value from the PCR packet multiplexed at the maximum 0.1 second interval on the input MPEG-2 TS, and outputs it to the PCR packet generation unit 33.
  • the PCR value is composed of 9-bit counter information PCR_EXT of 27 MHz from 0 to 299 and 33-bit counter information PCR_BASE based on 90 kHz obtained by dividing 27 MHz by 300.
  • the input MPEG-2 TS is converted into a timing information packet by the timing information packet generator 21 and output.
  • the packet selector 34 switches and outputs two types of input packets according to the synchronization state of the IP receiver 13.
  • the RTP / UDP packet conversion unit 35 converts the input TS packet into a UDP packet and outputs the UDP packet to the IP packet transmission unit 36.
  • the IP packet transmission unit 36 converts the input UDP packet into an IP packet and outputs the IP packet.
  • the synchronization state notification packet receiving unit 37 monitors the synchronization state notification packet sent from the IP receiving device 13 and controls the output of the packet selecting unit 34 according to the synchronization state of the IP receiving device 13.
  • the PCR packet generator 33 loads the first input PCR value into an internal counter, and increments the PCR value with a 27 MHz clock. According to the TS cycle control signal input from the TS cycle generator 32, the PCR value counted internally is converted into a PCR packet and output. The TS cycle generator 32 extracts the TS packet cycle of the input MPEG-2 TS and outputs it as a TS cycle control signal.
  • the IP receiving device 13 includes an IP packet receiving unit 41 that receives an IP packet from the outside, a TS extracting unit 42 that is provided at the subsequent stage of the IP packet receiving unit 41, and a TS buffer unit 43 that is provided at the subsequent stage of the TS extracting unit 42.
  • a PCR extraction unit 44 provided in the subsequent stage of the TS extraction unit 42, a timing reproduction unit 46 to which PCR is supplied from the PCR extraction unit 44, and a synchronization state notification packet transmission to which PCR is also supplied from the PCR extraction unit 44
  • the unit 45 is configured.
  • the input IP packet is output to the TS extracting unit 42 with the IP packet receiving unit 41 removing the IP header.
  • the TS extraction unit 42 removes the RTP and UDP headers and outputs a TS packet.
  • the extracted TS packet data is input to the PCR extracting unit 44 and the TS buffer unit 43.
  • the TS buffer unit 43 stores the input TS packet data in a built-in buffer, and outputs the stored TS according to the transmission timing input from the timing reproduction unit 46.
  • the PCR extraction unit 44 extracts a PCR value from the PCR packet included in the input TS packet data and outputs it to the timing reproduction unit 46.
  • the timing reproducing unit 46 performs timing reproduction so as to synchronize with the timing on the transmission side based on the input PCR value, and transmits the reading timing of the TS buffer unit. Further, the timing reproducing unit 46 averages the jitter components of the input PCR values, and when synchronized with the timing on the transmission side, asserts a synchronization flag and outputs it to the synchronization state notification packet transmission unit 45.
  • the synchronization state notification packet transmission unit 45 generates and outputs a synchronization state notification packet for notifying the synchronization state of the timing reproduction unit 46.
  • a synchronization request notification is transmitted to the IP transmitting device 12 as a synchronization state communication packet.
  • the synchronous state notification packet transmission unit 45 transmits a synchronization completion notification to the IP transmission device 12 as a synchronous state communication packet.
  • the clock synchronizer 50 is included in the TS receiver 14, and includes a PCR detector 51 that extracts PCR data from the received TS packet signal given from the IP receiver 13, and a PCR extractor 31 of the IP transmitter 12.
  • the determination circuit 54 that switches the loop filter 55 based on the difference value, and whether it is analog or digital, has two pull-in coefficients and can switch the coefficients according to the control of the determination circuit 54.
  • a possible loop filter 55 and a voltage value from the loop filter 55 are generated to generate a clock and to the built-in counter 52 Feeding the VCO (Voltag e Controlled Oscillator) 56.
  • the operation of the TS transmission system 1 according to the embodiment of the present invention will be described with reference to the transmission packet mode switching sequence of FIG. 5 and the TS output of the packet selection unit 34 according to the synchronization state of the IP transmission device of FIG. This will be described with reference to the drawings. That is, as shown in the transmission packet mode switching sequence in FIG. 5, the TS transmission system 1 according to an embodiment of the present invention is configured such that the IP reception device 13 is in accordance with the synchronization state between the IP transmission device 12 and the IP reception device 13.
  • the synchronization state notification packet receiving unit 37 of the IP transmission device 12 receives the synchronization request notification as the synchronization state notification packet from the synchronization state notification packet transmission unit 45 of the IP reception device 13 (step S12), the synchronization mode m1 is set.
  • the control signal is supplied to the packet selection unit 34, and the TS to be output is switched to the PCR that is the timing information packet and output (steps S13 to S14).
  • the output cycle of the timing information packet is equal to the TS packet cycle of the input MPEG-2 TS.
  • the synchronization state notification packet receiving unit 37 of the IP transmission device 12 receives the synchronization completion notification as the synchronization state notification packet from the synchronization state notification packet transmission unit 45 of the IP reception device 13 (step S15)
  • the synchronization state notification packet reception unit 37 enters the normal mode m2. Transition.
  • the output of the packet selector 34 is switched from the PCR that is the timing information packet to the MPEG-2 TS and output (steps S16, S17, S19, S20, S22).
  • the PCR packet is also output with a maximum width of 100 msec, for example (steps S18 and S21).
  • the PCR packet is transmitted at the same rate as the rate of the TS stream input to the IP transmission device 12 only in the period of the synchronous mode m1 where a lot of timing information is required for timing reproduction. Since transmission is performed, it becomes possible to complete the timing recovery of the IP receiving apparatus in a short time without squeezing the transmission band.
  • MPEG-TS is a format for transmitting a stream in which video and audio are compressed
  • PCR Program Clock Reference
  • the PCR has the same counter on the transmission side and the reception side, transmits the value counted by the reference clock on the transmission side as a PCR, extracts the difference between the counter built in the reception side and the PCR value, so that the difference disappears
  • the receiver side clock calibration is performed. The operation of clock calibration by PCR using the clock synchronization unit 50 of the TS receiver 14 will be described below.
  • the built-in counter 52 calculates a difference from the next PCR by using the PCR value on the transmission side as it is and using it as a counter value.
  • the loop filter 55 may be analog or digital, but finally converts it into a voltage value for the VCO 56 and outputs it.
  • PCR jitter In MPEG-TS, packet transmission is performed with a unit of 188 bytes or 204 bytes as one packet, and the timing at which the packet arrives may vary depending on the transmission path. This is called PCR jitter, and is defined within ⁇ 500 ns in MPEG. In a stable line such as a line in a broadcasting station, there is almost no PCR jitter, but in the case of going through an external relay line, the PCR jitter increases as described above.
  • the PCR jitter is less than ⁇ 100 nsec, it is determined that the environment is stable. In this case, if the difference is stable within 2.7 clocks in terms of 27 MHz, that is, the difference is stable within ⁇ 3, the PCR jitter is small. It is judged that the environment is stable, and the loop filter is drawn faster, and if the difference exceeds ⁇ 3, the loop filter pulling is slowed down because it is an environment where there is a lot of PCR jitter. In high environments, the pull-in time can be shortened. Actually, the threshold value is further determined in consideration of the frequency variation.
  • the determination circuit 54 since it is not necessary that the number of coefficients of the loop filter be two here, it is preferable to use the determination circuit 54 to perform determination with a plurality of threshold values and switch between a plurality of pull-in times. In particular, there are two types of pull-in times, and it is preferable to switch between a coefficient that has a very fast pull-in time during initial synchronization but a poor stability, and a coefficient that has a high degree of stability after clock stabilization but has a slow pull-in time. is there. This embodiment is intended to switch the coefficient of the loop filter according to the stability of the PCR jitter even after the clock is stabilized.
  • the PCR arrival time usually varies in a specific distribution state centering on the difference 0, and it is unlikely that the difference always exceeds ⁇ 3. Therefore, the determination of whether or not it is stable can be switched by the determination circuit 54 when the sum of absolute values of differences for a specific time interval or a specific number of PCR receptions exceeds a specific threshold, By switching when the number of times exceeding the threshold exceeds a specific number of times, it is possible to determine the stability of the line.
  • the PCR cycle is set within 100 msec, but there is no shortest rule. For this reason, on the transmission side, for example, every video frame (33.3 msec) or a cycle of 50 msec is dispersed. Therefore, it is determined whether or not it is stable at a specific time interval (for example, every second), or a specific number of PCR receptions (for example, 30 times) is defined.
  • the difference is assumed to be greatly biased toward a specific polarity even in a stable environment. Therefore, more stable control can be performed by switching the loop filter.
  • the loop filter should be drawn quickly. It is preferable to perform control.
  • MPEG Motion Picture Experts Group
  • PCR Program Clock Reference
  • the value of the built-in counter included in MPEG-TS are obtained.
  • VCO Voltage Controlled Oscillator
  • the pull-in of the VCO loop filter When the difference exceeds the threshold value, the pull-in of the VCO loop filter is delayed, and when the difference does not exceed the threshold value, the pull-in of the VCO loop filter is accelerated.
  • it is possible to set the optimum pull-in time by switching the coefficient of the loop filter while determining the state of PCR jitter.
  • the various embodiments described above can be implemented by modifying or removing part of the configuration.
  • the change of the PCR insertion frequency and the clock calibration by PCR can be performed independently, but by combining them, it is possible to achieve both high speed of initial pull-in and stability at high jitter.
  • the frequency of inserting a PCR in the asynchronous state is the same as that of a TS packet, so that the frequency is one PCR for two or more TS packets, or at least one is included in one IP packet. It may be at any frequency.
  • the present invention can be used in a system for transmitting a stream including time information (time stamp) in real time via an asynchronous transmission medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

 IPネットワーク伝送でも、精度の高いタイミングによる再生を可能にする。 本発明のIP受信装置13は、外部のIP送信装置12からIPパケットを受信する受信部41と、受信したIPパケットに基づいて、外部のIP送信装置と当該IP受信装置との同期/非同期状態を示すパケットを生成して、外部のIP送信装置12に送信する送信部45とを備える。IP送信装置12では、非同期状態を示すパケットを受取るとPCRの挿入頻度を非常に高くして、ストリームを送信する。これによりストリーム送信開始から短時間でクロック再生が可能となる。IP受信装置13はまた、PCRの値と内蔵カウンタ(再生クロック)の値の差がしきい値以上のときは、PCRへの追従の時定数をあえて大きくする。これにより高ジッタ環境でも再生クロックが安定する。

Description

IP受信装置、IP送信装置、およびTS受信装置
 この発明は、MPEG(Moving Picture Experts Group)-TS(Transport Stream)をIP(Internet Protocol)ネットワーク上にリアルタイム伝送するシステムに含まれるIP受信装置、IP送信装置、およびTS受信装置に関する。
 従来、映像、音声のリアルタイム伝送をおこなうシステムでは、映像、音声の圧縮ストリームをMPEG-2TS(以降TS)で多重化し伝送する方式が広く使われている。多重化されたTSは、DVB-AS回線やIP回線などを通してTS受信装置に届けられ、TS受信装置では、映像、音声を再生する。またTS送信装置は、定期的にPCR(Prog
ram Clock Reference)と呼ばれるタイミング情報をTSに多重する。TS受信装置は、PCR情報に合わせてタイミング再生をすることで、映像、音声の破綻が無く再生することができる。
特開2010-130395号公報
 しかし、IP送信装置においては、PCRに基づくタイミング情報を増やすことにより、IP受信装置におけるタイミング再生を容易になるが、PCRパケットの挿入間隔を短くするほど、ビットレートが増加し伝送帯域を圧迫するという問題がある。
 本発明は、PCR等タイミング情報の挿入による伝送ビットレートを増やすことなく、精度の高いタイミングによる再生を可能にするIP受信装置、IP送信装置、およびTS受信装置を提供することを目的とする。
 課題を解決するための一実施形態は、
 外部のIP送信装置からIPパケットを受信する受信部と、
 前記受信部が受信した前記IPパケットに基づいて、前記IPパケットの同期状態を示すパケットを生成して、前記外部のIP送信装置に送信する送信部と、
 を具備することを特徴とするIP受信装置である。
 IP受信装置がIP送信装置のタイミングに同期するまでの同期モード期間は、多くのタイミング情報を必要とするため、IP送信装置において通常のTSパケットをPCRパケットに置き換えて送信する。同期が取れた後の通常モード期間は、通常のTSパケットのみを送信する。これにより、IP送信装置が送信するビットレートを増加させずに、IP受信装置がIP送信装置とのタイミング同期に要する時間を短縮することができる。
本発明の一実施形態に係るTS伝送システムの構成を示すブロック図。 同じくTS伝送システムのIP送信装置の構成の一例を示すブロック図。 同じくTS受信装置のクロック同期部の構成の一例を示すブロック図。 同じくTS伝送システムのIP受信装置の構成の一例を示すブロック図。 同じくTS伝送システムの送信パケットモード切替シーケンスを示す説明図。 IP送信装置の同期状態に応じたパケット選択部のTS出力を示す説明図。
 以下、本発明の一実施形態を図面を用いて詳細に説明する。 
 本発明の一実施形態であるTS伝送システム1の構成の一例として、図1に示すように、映像/音声データを入力し、MPEG-2TSを出力するTS送信部11と、MPEG-2TSを入力しIPパケットを出力するIP送信装置12と、IP網を介して、IPパケットを受けてMPEG-2TSを出力するIP受信装置13と、MPEG-2TSを受けて映像/音声データを出力するTS受信装置14を有している。
 このような構成をもつTS伝送システム1において、TS送信部11は、映像/音声データを入力すると、MPEG-2 TSに多重化して一本のストリームとして出力する。IP送信装置12は、MPEG-2 TSを入力すると、TSを構成する188バイトまたは204バイト単位のTSパケットを最大7パケット分束ねて、IPパケットとして出力する。IP受信装置13は、IP送信装置12から出力されたIPパケットをIP網を介して受信し、受信したIPパケットに含まれたTSパケットを抽出して出力する。最後に、TS受信装置14は、入力したTSに基づいて、映像、音声データに変換して出力する。このようなIPネットワーク伝送では、IPの上位レイヤのプロトコルとしてUDP(User Datagram Protocol)が用いられる。
 次に、図2を用いて、TS伝送システム1を構成するIP送信装置12を説明する。IP送信装置12は、タイミング情報パケット生成部21と、パケット選択部34と、パケット選択部34の後段に設けられたRTP/UDPパケット変換部35と、RTP/UDPパケット変換部35の後段に設けられたIPパケット送信部36と、同期状態通信パケットを外部から受けて同期状態通信パケットに応じた信号をパケット選択部34に供給する同期状態通知パケット受信部37で構成されている。
 続いて、タイミング情報パケット生成部21の構成を説明する。タイミング情報パケット生成部21は、MPEG-2 TSを受けるPCR抽出部31と、同じくMPEG-2
 TSを受けるTS周期生成部32と、PCR抽出部31の後段に設けられるPCRパケット生成部33で構成される。 PCR抽出部31は、入力したMPEG-2 TSに最大0.1秒間隔で多重されるPCRパケットからPCR値を取り出し、PCRパケット生成部33に出力する。PCR値は、27MHzの0~299までの9ビットのカウンタ情報PCR_EXT と、27MHzを300分周した90kHzを基準とした33ビットのカウンタ情報PCR_BASEで構成される。
 このような構成をもつIP送信装置12において、入力したMPEG-2 TSは、タイミング情報パケット生成部21にてタイミング情報パケットに変換されて出力される。パケット選択部34は、2種類の入力パケットをIP受信装置13の同期状態に応じて、切り替えて出力する。RTP/UDPパケット変換部35は、入力したTSパケットをUDPパケットに変換して、IPパケット送信部36に出力する。IPパケット送信部36は、入力したUDPパケットをIPパケットに変換して出力する。さらに、同期状態通知パケット受信部37は、IP受信装置13から送られてくる同期状態通知パケットを監視し、IP受信装置13の同期状態に応じてパケット選択部34の出力を制御する。
 PCRパケット生成部33では、最初に入力したPCR値を内部のカウンタにロードし、27MHzクロックにてPCR値をインクリメントする。TS周期生成部32から入力するTS周期制御信号に従って、内部でカウントするPCR値をPCRパケット化し、出力する。TS周期生成部32は、入力したMPEG-2 TSのTSパケット周期を抽出し、TS周期制御信号として出力する。
 次に、図3を用いて、TS伝送システム1を構成するIP受信装置13を説明する。IP受信装置13は、外部からIPパケットを受信するIPパケット受信部41と、IPパケット受信部41の後段に設けられるTS抽出部42と、TS抽出部42の後段に設けられたTSバッファ部43と、TS抽出部42の後段に設けられたPCR抽出部44と、PCR抽出部44からPCRが供給されるタイミング再生部46と、同じくPCR抽出部44からPCRが供給される同期状態通知パケット送信部45で構成されている。
 このような構成をもつIP受信装置13において、入力したIPパケットは、IPパケット受信部41において、IPヘッダが取り除かれてTS抽出部42に出力される。続いてTS抽出部42では、RTPおよびUDPヘッダが取り除かれてTSパケットが出力される。ここで抽出されたTSパケットデータは、PCR抽出部44およびTSバッファ部43に入力する。TSバッファ部43では、入力したTSパケットデータを内蔵するバッファに蓄え、タイミング再生部46から入力する送信タイミングに従って、蓄えたTSを出力する。PCR抽出部44は、入力したTSパケットデータに含まれるPCRパケットから、PCR値を抽出してタイミング再生部46に出力する。タイミング再生部46は、入力したPCR値をもとに、送信側のタイミングに同期するようタイミング再生をおこない、TSバッファ部の読出しタイミングを送信する。さらに、タイミング再生部46は、入力したPCR値のジッタ成分が平均化され、送信側のタイミングと同期すると同期フラグをアサートして同期状態通知パケット送信部45に出力する。
 同期状態通知パケット送信部45は、タイミング再生部46の同期状態を通知する同期状態通知パケットを生成して出力する。また、IP送信装置12とIP受信装置13のタイミング再生部46が同期状態でないときにPCRパケット以外のパケットを受信した場合、同期状態通信パケットとして同期要求通知をIP送信装置12に送信する。また、同期状態通知パケット送信部45は、非同期状態から同期状態に変化したイベントを検出すると、同期状態通信パケットとして同期完了通知をIP送信装置12に送信する。
 次に、図4を用いて、TS伝送システム1を構成するTS受信装置14に含まれるクロック同期部50の構成を説明する。クロック同期部50は、TS受信装置14に含まれる構成であり、IP受信装置13から与えられた受信TSパケット信号からPCRデータを抽出するPCR検出部51と、IP送信装置12のPCR抽出部31に含まれる図示しないPCRカウンタと同じ構成である内蔵カウンタ52と、PCR検出部51が抽出したPCR値と内蔵カウンタ52のカウント値から差分を抽出する差分抽出部53と、差分抽出部53で抽出した差分値に基づいてループフィルタ55の切換を行う判定回路54と、アナログであってもデジタルであっても構わないが、2つの引き込み係数を持ち、判定回路54の制御に従い係数を切り替えることが可能なループフィルタ55と、ループフィルタ55からの電圧値を受けてクロックを生成し内蔵カウンタ52に供給するVCO(Voltag
e Controlled Oscillator)56で構成されている。
 (動作)
 次に、本発明の一実施形態に係るTS伝送システム1の動作を、図5の送信パケットモード切替シーケンスおよび図6のIP送信装置の同期状態に応じたパケット選択部34のTS出力を示す説明図を用いて説明する。
 すなわち、図5の送信パケットモード切替シーケンスに示すように、本発明の一実施形態であるTS伝送システム1は、IP送信装置12とIP受信装置13の間の同期状態に従って、IP受信装置13がIP送信装置12のタイミングに同期するまで期間(同期モードm1)は、多くのタイミング情報を必要とするため、IP送信装置において通常のTSパケットをPCRパケットに置き換えて送信する。その後、同期が取れた後の期間(通常モードm2)は、通常のTSパケットのみを送信する。これにより、IP送信装置12が送信するビットレートを増加させることなく、IP受信装置13が送信側とのタイミング同期に要する時間を短縮することができる。
 すなわち、IP送信装置12の同期状態通知パケット受信部37は、IP受信装置13の同期状態通知パケット送信部45から同期状態通知パケットとして同期要求通知を受信すると(ステップS12)、同期モードm1となり、制御信号をパケット選択部34に供給して、出力するTSをタイミング情報パケットであるPCRに切り替えて出力する(ステップS13~ステップS14)。このときタイミング情報パケットの出力周期は、入力したMPEG-2 TSのTSパケット周期に等しい。
 続いて、IP送信装置12の同期状態通知パケット受信部37は、IP受信装置13の同期状態通知パケット送信部45から同期状態通知パケットとして同期完了通知を受信すると(ステップS15)、通常モードm2に遷移する。そして、パケット選択部34の出力を、タイミング情報パケットであるPCRから、MPEG-2 TSに切り替えて出力する(ステップS16,S17,S19,S20,S22)。また、ここで、PCRパケットについても、例えば、最大100msecの幅で出力される(ステップS18,S21)。
 ここまで説明した本発明の実施形態を用いることにより、タイミング再生に多くのタイミング情報が必要な同期モードm1の期間でのみ、IP送信装置12に入力するTSストリームのレートと同レートでPCRパケットを送信するため、伝送帯域を圧迫することなく、短時間でIP受信装置のタイミング再生を完了させることが可能となる。
 (PCRによるクロック校正)
 さらに、MPEG-TSはビデオや音声を圧縮したストリームを伝送する形式であり、そのクロック再生に用いられるのが、PCR(Program Clock Reference)である。PCRは送信側と受信側で同一のカウンタを持ち、送信側の基準クロックでカウントされた値をPCRとして送信し、受信側で内蔵したカウンタとPCR値との差分を抽出し、差分がなくなるように受信側のクロック校正を行うものである。以下に、TS受信装置14のクロック同期部50を用いた、PCRによるクロック校正の働きを説明する。
 すなわち、最初の受信状態では、内蔵カウンタ52は送信側のPCR値をそのまま用いてカウンタ値とすることで次のPCRから差分の演算を行う。ループフィルタ55は、アナログであってもデジタルであっても構わないが、最後にVCO56に対して電圧値に変換して出力を行っている。
 MPEG-TSでは、188バイトまたは204バイト単位を1パケットとするパケット伝送が行われており、伝送路によってはパケットが到達するタイミングに変動が生じることがある。これをPCRジッタと呼び、MPEGでは±500ns以内と規定されている。放送局内の回線のように安定した回線では、ほとんどPCRジッタが存在していないが、外部中継回線を介するような場合には、PCRジッタは上記のように増大する。
 しかしながら、この規定を守って再生したビデオのクロックのタイミングジッタが許容の範囲内に入るように制御するためには、収束時間が非常に長いループフィルタを設定する必要があり、クロックが安定するまでに長時間を要する。
 特に、安定した環境で使用する場合には、早くクロックを安定させて装置を使用したいという要望も多く、安定した環境であるかどうかを自動で判定する必要性がある。
 PCRでは、通常27MHzのクロック再生を行っているので、以降27MHzをクロック周波数として説明を行う。PCRジッタの最大±500nsを27MHzクロックに換算すると、13.5クロックに相当する。これが、TSパケット到達時間のばらつきとなり、PCR値と内蔵カウンタの差分となる。
 そこで、例えばPCRジッタが±100nsec未満であれば安定した環境であると判断し、この場合27MHz換算で2.7クロックつまり、差分が±3以内で安定している場合には、PCRジッタが少ない安定している環境であると判断してループフィルタの引き込みを早くし、差分が±3を超える状態ではPCRジッタが多い環境であるとしてループフィルタの引き込みを遅くすることで、回線の安定度の高い環境では引き込み時間を短くすることが可能になる。実際には、周波数変動分も考慮し、さらにしきい値を決定する。
 しかし、ここで、ループフィルタの係数は2つである必要はないため、判定回路54を用いて、複数のしきい値を持って判定を行い、複数の引き込み時間を切り替えることが好適となる。特に、引き込み時間を2種類持ち、初期同期時は引き込み時間が非常に早いが安定度が悪い係数と、クロック安定後に制御を行う安定度は高いが引き込み時間の遅い係数とを切り替えるのが好適である。この実施形態は、クロック安定後であってもPCRジッタの安定度に応じてループフィルタの係数を切り替えることを目的としたものである。
 また、PCRの到達時間は差分0を中心に特定の分布状態でばらついていることが通常であり、常時差分が±3を超えた状態になることは考えにくい。従って、安定であるかどうかの判定を、判定回路54により、特定の時間間隔あるいは特定のPCR受信回数毎の差分の絶対値の合計が特定のしきい値を超えた場合に切り替えるようにしたり、しきい値を超える回数が特定の回数を超えるような場合に切り替えることで回線の安定度の判定を行うことが可能である。
 PCRの周期は100msec以内と定められているが、最短の規定はない。このため、送信側で例えばビデオフレーム毎(33.3msec)であったり、50msec周期としたりとばらばらである。そこで、安定であるかどうかの判定を特定の時間間隔(例えば1秒毎)に行ったり、特定のPCR受信回数(例えば30回)を定義する。
 差分の絶対値の合計で判定する場合は、PCRジッタのばらつきを考慮し、例えば30回のPCR受信回数に対し、
  |±3|×30×0.6=54          (式1)を判定の基準として、ループフィルタの切換を行う。また、回数の場合も同様に、
  30×0.6=18                (式2)を回数の判定基準として、ループフィルタの切換を行う。
 さらに、急激な温度変動等によるVCOの制御点がずれるような場合には、たとえ安定した環境であっても差分が特定の極性に偏って大きく振れることが想定されるので、差分と極性の双方でループフィルタの切換を行うことでより安定した制御を行うことが可能である。
 この場合も、PCRジッタの状態によっては逆の極性に大きく振れることも考慮して、例えば受信30回中に極性の振れが9割を超えた場合にループフィルタの引き込みを早いままとするように制御を行うことが好適である。
 このように上述した実施形態によれば、MPEG(Moving Picture Experts Group)-TS(Transport Stream)を受信し、MPEG-TS中に含まれるPCR(Program Clock Reference)の値と内蔵カウンタの値とを比較して差分を抽出をしたのち、差分に基づいてVCO(Voltage Controlled Oscillator)を制御を行うTS受信装置において、差分に対し特定のしきい値を設ける。そして、差分がしきい値を超える場合にはVCOのループフィルタの引き込みを遅くし、差分がしきい値を超えない場合にはVCOのループフィルタの引き込みを早くするものである。これにより、上述した実施形態によれば、PCRジッタの状況を判別しながら、ループフィルタの係数を切り替えて最適な引き込み時間を設定することが可能となる。
 以上記載した様々な実施形態は構成の一部を変形或いは除去して実施したりすることが可能である。PCR挿入頻度の変更と、PCRによるクロック校正は、夫々独立して実施することもできるが、組み合わせて実施することで、初期引き込みの高速化と、高ジッタ時の安定性とを両立できる。なお、非同期状態においてPCRを挿入する頻度は、TSパケットと同じにする以外にも、TSパケット2つ以上に対してPCR1つとなるような頻度や、1つのIPパケット内に少なくとも1個含まれるような頻度でもよい。また非同期状態に、IPパケットを短く(MTUを小さく)することを併用しても良い。
 この発明は、時刻情報(タイムスタンプ)を含むストリームを非同期伝送媒体を介してリアルタイム伝送するシステムに利用できる。
 11…TS送信装置、12…IP送信装置、13…IP受信装置、14…TS受信装置、M…IP網。

Claims (3)

  1.  外部のIP送信装置からIPパケットを受信する受信部と、
     前記受信部が受信した前記IPパケットに基づいて、前記外部のIP送信装置と当該IP受信装置との同期状態を示すパケットを生成して、前記外部のIP送信装置に送信する送信部と、を具備することを特徴とするIP受信装置。
  2.  外部のIP受信装置と当該IP送信装置との同期状態を示すパケットを前記IP受信装置から受信する受信部と、
     前記パケットが示す同期状態に応じて、TSとタイミング情報との一方を選択して前記外部の受信装置に送信する送信部と、を具備することを特徴とするIP送信装置。
  3.  受信したIPパケットからPCRを抽出し、前記PCRの値と内蔵カウンタの値とを比較して差分を抽出し、前記差分がしきい値より大きい場合にはVCOのループフィルタの引き込みを遅くし、前記差分が前記しきい値未満である場合にはVCOのループフィルタの引き込みを早くする同期部を具備することを特徴とするTS受信装置。
PCT/JP2011/068760 2010-11-15 2011-08-19 Ip受信装置、ip送信装置、およびts受信装置 WO2012066832A1 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2010255246A JP2012109682A (ja) 2010-11-15 2010-11-15 Ip受信装置、ip送信装置、およびts受信装置
JP2010-255246 2010-11-15

Publications (1)

Publication Number Publication Date
WO2012066832A1 true WO2012066832A1 (ja) 2012-05-24

Family

ID=46083776

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2011/068760 WO2012066832A1 (ja) 2010-11-15 2011-08-19 Ip受信装置、ip送信装置、およびts受信装置

Country Status (2)

Country Link
JP (1) JP2012109682A (ja)
WO (1) WO2012066832A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10173522A (ja) * 1996-10-08 1998-06-26 Sony Corp 受信装置、受信方法、pll回路
JP2008085500A (ja) * 2006-09-26 2008-04-10 Sanyo Electric Co Ltd 受信機、送信機及び同期制御方法
JP2009206777A (ja) * 2008-02-27 2009-09-10 Nec Corp クロック同期システム、クロック同期方法、プログラム、及び記録媒体

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10173522A (ja) * 1996-10-08 1998-06-26 Sony Corp 受信装置、受信方法、pll回路
JP2008085500A (ja) * 2006-09-26 2008-04-10 Sanyo Electric Co Ltd 受信機、送信機及び同期制御方法
JP2009206777A (ja) * 2008-02-27 2009-09-10 Nec Corp クロック同期システム、クロック同期方法、プログラム、及び記録媒体

Also Published As

Publication number Publication date
JP2012109682A (ja) 2012-06-07

Similar Documents

Publication Publication Date Title
JP7120997B2 (ja) オーディオとビデオのマルチモード同期レンダリング
US6493832B1 (en) Communication apparatus which handles a time stamp
JP7279767B2 (ja) 送信方法および送信装置
JP5086285B2 (ja) 映像配信システム,映像配信装置,及び同期補正処理装置
CN109565466B (zh) 多设备间唇音同步方法及设备
WO2015155907A1 (ja) 送信装置、送信方法、受信装置および受信方法
KR100706619B1 (ko) Tc 계층에서의 다중화를 이용한 통신 및 방송 데이터송/수신 장치
US7778173B2 (en) Clock recovery algorithm for remultiplexing MPEG-2 SPTSs and/or MPTSs in the presence of network jitter
WO2014188960A1 (ja) 送信装置、送信方法、受信装置および受信方法
EP1715612B1 (en) Transmitting apparatus, relaying apparatus, receiving apparatus and network system including these apparatus
JP2009272945A (ja) 同期再生装置
JPWO2009028038A1 (ja) デコーダ装置、およびデコード方法
US20110255556A1 (en) Method for transport stream synchronizing in a multiplexer comprising an external corpocessor
KR20070034008A (ko) 송신 시스템에서 패킷을 송신하기 위한 방법
JP2003249922A (ja) データ受信装置、および受信データ処理方法、並びにコンピュータ・プログラム
WO2012066832A1 (ja) Ip受信装置、ip送信装置、およびts受信装置
JP4192766B2 (ja) 受信装置および方法、記録媒体、並びにプログラム
Yuste et al. Effective synchronisation of hybrid broadcast and broadband TV
JP5375021B2 (ja) クロック再生システムおよび方法
JP2008245061A (ja) Ipストリーム伝送におけるpcr再生方式
JP4561240B2 (ja) データ処理装置およびデータ処理方法並びにデータ送受信システム
JP2001268518A (ja) データ記録再生装置
US20230283390A1 (en) Method of measuring timing holdover performance in an r-phy system
Olsson Timing Challenges for Media Production and Transport over the Wide Area Network
JP2020170914A (ja) 切り替え方法、ip再送信システム、ip再送信装置および制御装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11841986

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11841986

Country of ref document: EP

Kind code of ref document: A1