JP2008136228A - Content transmitting apparatus - Google Patents

Content transmitting apparatus Download PDF

Info

Publication number
JP2008136228A
JP2008136228A JP2007332073A JP2007332073A JP2008136228A JP 2008136228 A JP2008136228 A JP 2008136228A JP 2007332073 A JP2007332073 A JP 2007332073A JP 2007332073 A JP2007332073 A JP 2007332073A JP 2008136228 A JP2008136228 A JP 2008136228A
Authority
JP
Japan
Prior art keywords
packet
extended
capsule
header
mpeg2
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
JP2007332073A
Other languages
Japanese (ja)
Other versions
JP4561822B2 (en
Inventor
Masahiro Takatori
正博 高鳥
Shoichi Goto
昌一 後藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2007332073A priority Critical patent/JP4561822B2/en
Publication of JP2008136228A publication Critical patent/JP2008136228A/en
Application granted granted Critical
Publication of JP4561822B2 publication Critical patent/JP4561822B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors
    • 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/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2381Adapting the multiplex stream to a specific network, e.g. an Internet Protocol [IP] network
    • 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/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2389Multiplex stream processing, e.g. multiplex stream encrypting
    • H04N21/23895Multiplex stream processing, e.g. multiplex stream encrypting involving multiplex stream encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/637Control signals issued by the client directed to the server or network components
    • H04N21/6375Control signals issued by the client directed to the server or network components for requesting retransmission, e.g. of data packets lost or corrupted during transmission from server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/64322IP
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04N21/6437Real-time Transport Protocol [RTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Abstract

<P>PROBLEM TO BE SOLVED: To prevent the occurrence of a decoding error at a receiving party by compensating for a packet loss or jitter at both transmitting and receiving parties in a communications network such as the Internet. <P>SOLUTION: A transmitting party adds reproduction time information to each transport packet to form an extended transport packet, encapsulates the extended transport packet, adds capsule counter information, and transmits the capsule. A receiving party has a storage means, and transmits a re-send request including the capsule counter information to the transmitting party when a packet loss occurs. Also, at the receiving party, the re-sent data received overwrites data in its original storage region. At reproduction, the receiving party decodes the data after compensating for jitter referring to reproduction time information. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、デジタルテレビジョン放送受信機、パーソナルコンピュータ、携帯電話機、携帯情報端末機および携帯電話アダプターに関する。   The present invention relates to a digital television broadcast receiver, a personal computer, a mobile phone, a personal digital assistant, and a mobile phone adapter.

近年、通信網を介して映像や音声のコンテンツを送受信するストリーミングなどの機能をもつ送信器および受信器が、市場において普及してきている。   In recent years, transmitters and receivers having a function such as streaming for transmitting and receiving video and audio contents via a communication network have been widely used in the market.

以下に従来のコンテンツ送信器について説明する。図7は従来のコンテンツ送信器の構成を示す図である。図10は従来のコンテンツ送信器と従来のコンテンツ受信器におけるパケット構成の推移を示す図である。図11は従来のパケットの構成を示す図である。   A conventional content transmitter will be described below. FIG. 7 is a diagram showing a configuration of a conventional content transmitter. FIG. 10 is a diagram showing transition of packet configurations in a conventional content transmitter and a conventional content receiver. FIG. 11 is a diagram showing the structure of a conventional packet.

図7に示すビデオエンコーダー51は、映像信号を所定の圧縮方式でエンコードして、後段に出力する。図7にはMPEG2方式による構成を示している。ビデオエンコーダー51からの出力はMPEG2トランスポートストリームパケット(以下MPEG2−TSPと略する)で構成される。   The video encoder 51 shown in FIG. 7 encodes the video signal with a predetermined compression method and outputs it to the subsequent stage. FIG. 7 shows a configuration according to the MPEG2 system. The output from the video encoder 51 is composed of MPEG2 transport stream packets (hereinafter abbreviated as MPEG2-TSP).

システムクロック生成器54は、27MHzのクロックを生成する。ビデオエンコーダー51が映像信号をエンコードする際に使用するシステムクロックは、この27MHzのクロックである。   The system clock generator 54 generates a 27 MHz clock. The system clock used when the video encoder 51 encodes the video signal is this 27 MHz clock.

オーディオエンコーダー52は、音声信号を、ビデオエンコーダー51と同様の圧縮方式でエンコードし、MPEG2−TSPを後段に出力する。データエンコーダー53は、データ放送やEPGなどのデータをビデオエンコーダー51と同様の圧縮方式でエンコードし、MPEG2−TSPを後段に出力する。   The audio encoder 52 encodes the audio signal using the same compression method as the video encoder 51, and outputs MPEG2-TSP to the subsequent stage. The data encoder 53 encodes data such as data broadcast and EPG by the same compression method as the video encoder 51, and outputs MPEG2-TSP to the subsequent stage.

ストリーム多重化器55は、上述の3種のMPEG2−TSPを時間軸上に多重化する。またストリーム多重化器55は、受信側においてシステムクロックを再生するためのPCR信号を、システムクロックをカウントした計数値を50mS程の周期で定期的に用いて、生成する。そしてストリーム多重化器55は、PCR信号をMPEG2−TSP化した後に、上述の多重化された信号に更に多重して、MPEG2トランスポートストリーム(以下MPEG2−TSと略す)として後段に出力する。この出力信号を図10のS11に示す。   The stream multiplexer 55 multiplexes the above-described three types of MPEG2-TSP on the time axis. Further, the stream multiplexer 55 generates a PCR signal for reproducing the system clock on the receiving side by periodically using a count value obtained by counting the system clock at a period of about 50 mS. The stream multiplexer 55 converts the PCR signal into MPEG2-TSP, and further multiplexes it with the multiplexed signal described above, and outputs it to the subsequent stage as an MPEG2 transport stream (hereinafter abbreviated as MPEG2-TS). This output signal is shown in S11 of FIG.

図10は時間軸上におけるパケットの多重の推移を示した図である。図10の横軸は時間である。しかし、図10において、各処理における定常的な遅延については無視しており図示していない。S11のVIDEO1、VIDEO2、VIDEO3、AUDIO1、AUDIO2、DATA1はストリーム多重化器55により多重化されたパケットである。また、S11のVIDEO1、VIDEO2、VIDEO3はビデオエンコードされたMPEG2−TSPである。また、S11のAUDIO1、AUDIO2はオーディオエンコードされたMPEG2−TSPである。また、S11のDATA1はデータエンコードされたMPEG2−TSPである。PCR信号についてはMPEG2システムにおいて周知の内容なので説明は省略する。   FIG. 10 is a diagram showing the transition of packet multiplexing on the time axis. The horizontal axis in FIG. 10 is time. However, in FIG. 10, the steady delay in each process is ignored and not shown. VIDEO 1, VIDEO 2, VIDEO 3, AUDIO 1, AUDIO 2, and DATA 1 in S 11 are packets multiplexed by the stream multiplexer 55. Also, VIDEO1, VIDEO2, and VIDEO3 in S11 are video-encoded MPEG2-TSPs. Further, AUDIO1 and AUDIO2 in S11 are MPEG2-TSP encoded with audio. Further, DATA1 of S11 is MPEG2-TSP encoded with data. Since the PCR signal is well-known content in the MPEG2 system, description thereof is omitted.

スクランブラ56は、MPEG2−TSを所定の暗号方式で暗号化して出力する。ここに示す例はMULTI2方式の例である。   The scrambler 56 encrypts MPEG2-TS using a predetermined encryption method and outputs it. The example shown here is an example of the MULTI2 system.

RTPパケット化器58は個々のMPEG2−TSPを一つ以上でカプセル化する。また、RTPパケット化器58は、送受信器61が通信網から提供される基準時刻情報を元に再生するバスクロックをカウントするカウンタを有している。なお、送受信器61については後述する。そしてRTPパケット化器58は、そのカウンタ値であるタイムスタン
プと、カプセル化された情報がMPEG2−TSPであることを識別する情報とを含んだヘッダーを出力信号に付加して、後段に出力する。この出力信号を図10のS12に示す。また、S12のRTPはヘッダーである。このタイムスタンプは、受信側でパケット到着時にバスクロックを用いてジッタ−を補正するときに使用する。
The RTP packetizer 58 encapsulates one or more individual MPEG2-TSPs. The RTP packetizer 58 has a counter that counts the bus clock that the transmitter / receiver 61 reproduces based on the reference time information provided from the communication network. The transceiver 61 will be described later. The RTP packetizer 58 adds a header including the time stamp as the counter value and information for identifying that the encapsulated information is MPEG2-TSP to the output signal, and outputs it to the subsequent stage. To do. This output signal is shown in S12 of FIG. The RTP in S12 is a header. This time stamp is used when the receiving side corrects jitter using a bus clock when a packet arrives.

UDP/IPパケット化器59は、個々のRTPパケットをIP通信網に送信するためにIPデータグラム内に格納する。そして、UDP/IPパケット化器59はこの格納した個々のRTPパケットにIPパケットヘッダーを付加してIPパケットとして出力する。この出力信号を図10のS13に示す。また、S13のIPはIPヘッダーなどの通信プロトコルにおけるヘッダーである。IPパケットヘッダーについてはインターネットで周知の内容なので説明は省略する。   The UDP / IP packetizer 59 stores individual RTP packets in IP datagrams for transmission to the IP communication network. Then, the UDP / IP packetizer 59 adds an IP packet header to each stored RTP packet and outputs it as an IP packet. This output signal is shown in S13 of FIG. The IP of S13 is a header in a communication protocol such as an IP header. The IP packet header is well-known content on the Internet and will not be described.

イーサネット(登録商標)パケット化器60は、IPパケットをイーサネット(登録商標)のデータ領域に格納し、イーサネット(登録商標)パケットヘッダーとチェックサムを付加してイーサネット(登録商標)パケットとして出力する。イーサネット(登録商標)パケットヘッダーとチェックサムについてはインターネットで周知の内容なので説明は省略する。   The Ethernet (registered trademark) packetizer 60 stores the IP packet in an Ethernet (registered trademark) data area, adds an Ethernet (registered trademark) packet header and a checksum, and outputs the packet as an Ethernet (registered trademark) packet. Since the Ethernet (registered trademark) packet header and the checksum are well-known contents on the Internet, description thereof will be omitted.

送受信器61はイーサネット(登録商標)パケットをインターネット網に送信する。そして送受信器61は前述した基準時刻情報などを受信する。   The transceiver 61 transmits an Ethernet (registered trademark) packet to the Internet network. The transceiver 61 receives the above-described reference time information and the like.

次に、前述した送信パケット構成について説明する。図11は従来のパケット構成を示す図である。図11ではMPEG2−TSPを10個カプセル化している。そして、MPEG2−TSPを識別するための情報とパケット到着時に使用するタイムスタンプを含む8バイトのヘッダーを付加している。そして、1892バイトのRTPパケット化している。そして、RTPパケットに8バイトのUDPパケットヘッダーを付加して1900バイトのUDPパケットとしている。そして、UDPパケットに24バイトのIPパケットヘッダーを付加して1924バイトのIPパケット化している。そして、IPパケットに14バイトのイーサネット(登録商標)ヘッダーと4バイトのチェックサムを付加して1942バイトのイーサネット(登録商標)パケット化している。   Next, the transmission packet configuration described above will be described. FIG. 11 shows a conventional packet configuration. In FIG. 11, 10 MPEG2-TSPs are encapsulated. An 8-byte header including information for identifying the MPEG2-TSP and a time stamp used when the packet arrives is added. Then, it is converted into an RTP packet of 1892 bytes. Then, an 8-byte UDP packet header is added to the RTP packet to form a 1900-byte UDP packet. Then, a 24-byte IP packet header is added to the UDP packet to form a 1924-byte IP packet. Then, a 14-byte Ethernet (registered trademark) header and a 4-byte checksum are added to the IP packet to form a 1942-byte Ethernet (registered trademark) packet.

通信網においては、最大伝播パケット単位であるMTUを制限している場合が多い。そして、送出するパケットデータサイズがMTUをオーバーしている場合は、通信網においてパケットを分割する場合が多い。インターネットではこのような処理をフラグメントと言う。   In communication networks, there are many cases where the MTU, which is the maximum propagation packet unit, is limited. When the packet data size to be transmitted exceeds the MTU, the packet is often divided in the communication network. Such processing is called a fragment on the Internet.

この従来例では、イーサネット(登録商標)通信網におけるMTUは1500バイトである。一方、イーサネット(登録商標)パケットのデータ領域のデータサイズはMTUをオーバーしているため通信網でのフラグメントを防止できない。したがって、ヘッダー情報を喪失したパケットが発生する場合がある。このため、フラグメント後に発生したパケットロスやジッタ−の補償を受信側で行うことは困難である。   In this conventional example, the MTU in the Ethernet (registered trademark) communication network is 1500 bytes. On the other hand, since the data size of the data area of the Ethernet (registered trademark) packet exceeds the MTU, fragmentation in the communication network cannot be prevented. Therefore, a packet with lost header information may occur. For this reason, it is difficult to compensate for packet loss and jitter occurring after fragmentation on the receiving side.

次に受信側の従来例を説明する。図8はコンテンツ受信器の従来例の構成を示す図である。図9はパケットを受信してデコードするまでの動作を示したフローチャートである。   Next, a conventional example on the receiving side will be described. FIG. 8 is a diagram showing a configuration of a conventional content receiver. FIG. 9 is a flowchart showing an operation from reception of a packet to decoding.

受信器71は、インターネット網などの通信網からイーサネット(登録商標)パケットを受信し、後段に出力する。このイーサネット(登録商標)パケットは図11で示したものである。イーサネット(登録商標)パケット処理器72は、イーサネット(登録商標)パケット処理器72当てのイーサネット(登録商標)パケットにイーサネット(登録商標)のプロトコル処理を行い、UDP/IPパケットを後段に出力する。この処理を図9のSTEP91に示す。また、この出力信号を図10のS14に示す。   The receiver 71 receives an Ethernet (registered trademark) packet from a communication network such as the Internet network and outputs it to the subsequent stage. This Ethernet (registered trademark) packet is shown in FIG. The Ethernet (registered trademark) packet processor 72 performs Ethernet (registered trademark) protocol processing on the Ethernet (registered trademark) packet for the Ethernet (registered trademark) packet processor 72, and outputs a UDP / IP packet to the subsequent stage. This process is shown in STEP 91 of FIG. The output signal is shown in S14 of FIG.

図10のS14は、インターネット網を介して受信UDP/IPパケットの送受信をした結果、受信UDP/IPパケットにジッタ−とパケットロスが発生していることを表している。つまりVIDEO1とDATA1を含むパケットには定常的な遅延より大きな遅延が生じている。VIDEO3とAUDIO2を含むパケットには定常的な遅延より小さい遅延が生じている。   S14 in FIG. 10 indicates that jitter and packet loss have occurred in the received UDP / IP packet as a result of transmission / reception of the received UDP / IP packet via the Internet network. That is, the packet including VIDEO1 and DATA1 has a delay larger than the steady delay. The packet including VIDEO3 and AUDIO2 has a delay smaller than a steady delay.

ここで、図10を用いて、インターネットのジッターとパケットロスについて説明する。インターネット網における送信側と受信側の間には、定常的な遅延が存在する。全てのパケットがその定常的な遅延を持って伝達されるのが理想的である。そして、この場合にはジッターやパケットロスは発生しない。しかし、実際のインターネット網では、パケットが異なるルートを割り当てられる、パケットの有効時間中にパケットを伝達できない為にパケットがゲートウェイで削除される、パケットが再送される、等が生じるので、ジッターやパケットロスが発生する。S14の記載については、定常的な遅延をあえてゼロに表現することで、限られた紙面上ジッターを分かりやすく記している。具体的には、VIDEO1とDATA1を含むパケットは定常的な遅延より大きな遅延が生じているため、S13に比べ遅く(遅れているように)記している。VIDEO3とAUDIO2を含むパケットは定常的な遅延より小さい遅延が生じているためS13に比べ早く(進んでいるように)記している。   Here, the jitter and packet loss of the Internet will be described with reference to FIG. There is a steady delay between the sending side and the receiving side in the Internet network. Ideally, all packets are transmitted with that constant delay. In this case, no jitter or packet loss occurs. However, in an actual Internet network, a different route is assigned to the packet, the packet cannot be transmitted during the valid time of the packet, the packet is deleted at the gateway, the packet is retransmitted, etc. Loss occurs. In the description of S14, the limited on-paper jitter is described in an easy-to-understand manner by expressing the steady delay as zero. Specifically, since the packet including VIDEO1 and DATA1 has a delay larger than the steady delay, it is written later (like delayed) than S13. A packet including VIDEO3 and AUDIO2 has a delay smaller than a steady delay, and therefore is written earlier (as if advanced) than S13.

またVIDEO2とAUDIO1を含むパケットはパケットロスとなっている。図8に示すUDP/IPパケット処理部73は、UDP/IPパケットにUDP/IPのプロトコル処理を行い、RTPパケットを出力する。この処理を図9のSTEP92に示す。また、この出力信号を図10のS15に示す。   A packet including VIDEO2 and AUDIO1 has a packet loss. The UDP / IP packet processing unit 73 shown in FIG. 8 performs UDP / IP protocol processing on the UDP / IP packet and outputs an RTP packet. This process is shown in STEP 92 of FIG. The output signal is shown in S15 of FIG.

以上のイーサネット(登録商標)およびUDP/IPのプロトコル処理はインターネットで周知であるので説明は省略する。   Since the above Ethernet (registered trademark) and UDP / IP protocol processing is well known on the Internet, description thereof is omitted.

これらの通信プロトコルは、それぞれのヘッダーにデータ本体のプロトコル処理方法を示す情報を含んでいる。各種プロトコルの処理方法については規格化されており、予めコンテンツ受信器はその処理方法を備える事ができる。従って、コンテンツ受信器は、ヘッダー内のプロトコルを示す情報を解析する事により、ヘッダーを削除した後のデータ本体のプロトコル処理を行うことができる。   These communication protocols include information indicating the protocol processing method of the data body in each header. The processing methods of various protocols are standardized, and the content receiver can be provided with the processing methods in advance. Therefore, the content receiver can perform protocol processing of the data body after deleting the header by analyzing information indicating the protocol in the header.

RTPパケット処理器79は、図11で示した個々のRTPパケットから個々のRTPパケットのヘッダーを取得する。また、RTPパケット処理器79はヘッダー内に含まれている構成データの内容を示す情報を取得する。このデータの内容を示す情報は、格納されているデータのフォーマットタイプを識別するための情報である。なお、ここでは、この情報は前述したMPEG2−TSPであることを識別するための情報である。   The RTP packet processor 79 acquires the header of each RTP packet from each RTP packet shown in FIG. In addition, the RTP packet processor 79 acquires information indicating the contents of the configuration data included in the header. The information indicating the content of the data is information for identifying the format type of the stored data. Here, this information is information for identifying the MPEG2-TSP described above.

また、RTPパケット処理器79は、受信器71において基準時刻情報を用いて再生したバスクロックをカウントするカウンタを備えている。RTPパケット処理器79は、このバスクロックをカウントし、カウントした値がヘッダー内のタイムスタンプと一致した場合には、ヘッダーを取り外してMPEG2−TSPを後段に出力する(図9のSTEP93)。そして、RTPパケット処理器79は、MPEG2−TSPがスクランブルされているかを確認する(図9のSTEP94)。MPEG2−TSPのヘッダーはMPEG2−TSPがスクランブルされているかどうかの情報をスクランブルされる範囲外に持っている。したがって、一旦MPEG2−TSPを取り出した後にその情報を確認してデスクランブル処理を行うことができる。どの方式を用いるかを受信側と送信側とで予め決めておくこと、または、受信するテーブル情報を受信側で確認して認識すること、これらのこ
とで任意の方式への対応が可能である。
The RTP packet processor 79 includes a counter that counts the bus clock reproduced by the receiver 71 using the reference time information. The RTP packet processor 79 counts the bus clock, and when the counted value matches the time stamp in the header, removes the header and outputs MPEG2-TSP to the subsequent stage (STEP 93 in FIG. 9). Then, the RTP packet processor 79 confirms whether the MPEG2-TSP is scrambled (STEP 94 in FIG. 9). The MPEG2-TSP header has information on whether the MPEG2-TSP is scrambled or not outside the scrambled range. Therefore, once the MPEG2-TSP is extracted, the information can be confirmed and descrambling can be performed. Predetermining which method to use on the receiving side and the transmitting side, or confirming and recognizing the table information to be received on the receiving side, can be used for any method. is there.

デスクランブラ74は、MPEG2−TSPを送信側で定めたスクランブルの方式に対応した方式でデスクランブルして、出力する。この処理を図9のSTEP96に示す。この出力信号を図10のS17に示す。   The descrambler 74 descrambles the MPEG2-TSP with a method corresponding to the scrambling method determined on the transmission side, and outputs the descrambler. This process is shown in STEP 96 of FIG. This output signal is shown in S17 of FIG.

TSデコーダー77はMPEG2−TSPをAVデコーダー78がAVデコードできる形態に直して出力する(図9のSTEP97)。AVデコーダー78は、AVデコーダー78に入力されたデータをAVデコードして出力する(図9のSTEP98)。図9のSTEP93では、バスクロックをカウントした値とヘッダー内のタイムスタンプが一致しなかった場合に、TSデコーダー77はその差分を検証する (図9のSTEP95) 。その差分が再生制御機(図示せず)内部のバッファーで補償できる範囲であれば、TSデコーダー77は拡張TSパケットをこのバッファー上で待機させる。その差分がこのバッファーで補償できる範囲を超える場合は、TSデコーダー77は該当TSパケットを廃棄するよう制御する(図9のSTEP96)。   The TS decoder 77 outputs MPEG2-TSP after converting it into a form that the AV decoder 78 can AV-decode (STEP 97 in FIG. 9). The AV decoder 78 AV-decodes and outputs the data input to the AV decoder 78 (STEP 98 in FIG. 9). In STEP93 of FIG. 9, when the value obtained by counting the bus clock does not match the time stamp in the header, the TS decoder 77 verifies the difference (STEP95 of FIG. 9). If the difference is within a range that can be compensated by a buffer inside the reproduction controller (not shown), the TS decoder 77 waits for the extended TS packet on this buffer. If the difference exceeds the range that can be compensated by this buffer, the TS decoder 77 controls to discard the corresponding TS packet (STEP 96 in FIG. 9).

しかしながら上記のような構成では、通信網において発生するパケットロスを受信側でリアルタイムに補償することができず、パケットロスが発生した場合はデコードエラーとなってしまう。   However, with the configuration as described above, the packet loss that occurs in the communication network cannot be compensated in real time on the receiving side, and if a packet loss occurs, a decoding error occurs.

また、ジッター補正用のRTPのタイムスタンプはコンテンツのエンコードやデコードと無関係のバスクロックのカウントにより生成される。また、そのバスクロックを生成するために使用する基準時刻情報が、デコードを行なう際に要求されるジッター精度に対し充分な精度が無い。また、この基準時刻情報が通信網のジッターの影響を受ける。これらの理由により、受信側でデコードを行なう際のジッター補償精度が不十分となりデコードエラーとなる場合がある。   Also, the RTP time stamp for jitter correction is generated by counting the bus clock unrelated to content encoding and decoding. In addition, the reference time information used for generating the bus clock does not have sufficient accuracy for the jitter accuracy required for decoding. Further, this reference time information is affected by jitter of the communication network. For these reasons, jitter compensation accuracy at the time of decoding on the receiving side may be insufficient, resulting in a decoding error.

また、通信パケットのデータ領域のデータサイズが通信網におけるMTUをオーバーし、通信網でのフラグメントを防止できないため、ヘッダー情報を喪失する。これによりフラグメント後に発生したパケットロスやジッタ−の補償を受信側で行うことは困難である。   Further, since the data size of the data area of the communication packet exceeds the MTU in the communication network and fragmentation in the communication network cannot be prevented, header information is lost. As a result, it is difficult to compensate for packet loss and jitter generated after fragmentation on the receiving side.

本発明は、圧縮されたトランスポートパケットから構成されるストリームにより形成されるコンテンツを送信側から受信し再生する受信器において、コンテンツを受信した後に蓄積する蓄積手段と、蓄積手段に蓄積した前記コンテンツを再生する再生手段とを備えている。また、コンテンツを形成する個々のトランスポートパケットがトランスポートパケットのシステムクロックを用いて生成された再生時刻指示情報を有する拡張トランスポートパケットであれば、再生手段は蓄積された個々の拡張トランスポートパケットを再生時刻指示情報から求める時刻で再生する。   The present invention provides a receiver that receives and reproduces content formed by a stream composed of compressed transport packets from the transmission side, and stores the content after receiving the content, and the content stored in the storage And reproducing means for reproducing. If each transport packet forming the content is an extended transport packet having playback time instruction information generated using the system clock of the transport packet, the playback means stores the stored individual extended transport packet. Is reproduced at the time determined from the reproduction time instruction information.

また本発明は、圧縮されたトランスポートパケットから構成されるストリームにより形成されるコンテンツを送信する送信器において、コンテンツを送信する送信手段と、トランスポートパケットのシステムクロックを用いて受信側が蓄積手段から再生する際の時刻を指示する再生時刻指示情報を生成する再生時刻指示情報生成手段とを備えている。送信手段は送信する個々のトランスポートパケットに再生時刻指示情報を付加した拡張トランスポートパケットを送信す。   Further, the present invention provides a transmitter for transmitting content formed by a stream composed of compressed transport packets, wherein the receiving side uses the system clock of the transport packet from the storage means to transmit the content. Reproduction time instruction information generating means for generating reproduction time instruction information for indicating a reproduction time is provided. The transmission means transmits an extended transport packet in which reproduction time instruction information is added to each transport packet to be transmitted.

以上のように本発明のコンテンツ受信器によれば、通信網において発生するパケットロスを受信側で補償することができずパケットロスが発生した場合にデコードエラーとなってしまうことを防止でき、デジタルテレビジョン放送受信機、パーソナルコンピュータ、携帯電話機、携帯情報端末機および携帯電話アダプターに有用である。   As described above, according to the content receiver of the present invention, it is possible to prevent a packet loss occurring in a communication network from being compensated on the receiving side and to prevent a decoding error when a packet loss occurs. It is useful for a television broadcast receiver, a personal computer, a mobile phone, a personal digital assistant, and a mobile phone adapter.

また、本発明のコンテンツ送信器によれば、受信側において、データを蓄積する際に到着時刻を無視して効率よく蓄積デバイスに蓄積できる。また、再生時には、デコーダーに出力する時刻を示すタイムスタンプを用いてデコーダーの求める精度で再生することができる。これにより、ジッター補償精度がデコードする上で不十分な場合にデコードエラーとなることを防止でき、デジタルテレビジョン放送受信機、パーソナルコンピュータ、携帯電話機、携帯情報端末機および携帯電話アダプターに有用である。   Further, according to the content transmitter of the present invention, the data can be efficiently stored in the storage device on the receiving side while ignoring the arrival time when storing the data. Further, at the time of reproduction, reproduction can be performed with the accuracy required by the decoder using a time stamp indicating the time to be output to the decoder. This can prevent a decoding error when the jitter compensation accuracy is insufficient for decoding, and is useful for digital television broadcast receivers, personal computers, mobile phones, portable information terminals, and mobile phone adapters. .

(実施の形態1)
図1は実施の形態1によるコンテンツ送信器の構成を示す図である。図5は実施の形態1によるコンテンツ送信器と、コンテンツ受信器におけるパケット構成の推移を示す図である。図6は実施の形態1によるパケットの構成を示す図である。
(Embodiment 1)
FIG. 1 is a diagram showing a configuration of a content transmitter according to the first embodiment. FIG. 5 is a diagram showing transition of packet configurations in the content transmitter and the content receiver according to the first embodiment. FIG. 6 is a diagram showing a packet structure according to the first embodiment.

図1において、マイコン14はコンテンツ送信器の各部の制御を行う。ビデオエンコーダー1は、映像信号を所定の圧縮方式でエンコードして、後段に出力する。本実施の形態ではMPEG2方式を例として示しており、エンコーダー1が出力する出力信号はMPEG2−TSPで構成される。システムクロック生成器4は27MHzのクロックを生成する。ビデオエンコーダー1が映像信号をエンコードする際に使用するシステムクロックはこの27MHzのクロックである。オーディオエンコーダー2は、音声信号をビデオエンコーダー1と同様の圧縮方式でエンコードして、MPEG2−TSPを後段に出力する。   In FIG. 1, a microcomputer 14 controls each part of the content transmitter. The video encoder 1 encodes the video signal by a predetermined compression method and outputs it to the subsequent stage. In this embodiment, the MPEG2 system is shown as an example, and the output signal output from the encoder 1 is composed of MPEG2-TSP. The system clock generator 4 generates a 27 MHz clock. The system clock used when the video encoder 1 encodes the video signal is this 27 MHz clock. The audio encoder 2 encodes the audio signal with the same compression method as the video encoder 1 and outputs MPEG2-TSP to the subsequent stage.

データエンコーダー3は、データ放送やEPGなどのデータをビデオエンコーダー1と同様の圧縮方式でエンコードして、MPEG2−TSPを後段に出力する。   The data encoder 3 encodes data such as data broadcast and EPG by the same compression method as the video encoder 1, and outputs MPEG2-TSP to the subsequent stage.

ストリーム多重化器4は、上述の3種のMPEG2−TSPを時間軸上に多重化する。また、ストリーム多重化器4は受信側においてシステムクロックを再生するためのPCR信号を、システムクロックをカウントするカウンタを用いて生成する。   The stream multiplexer 4 multiplexes the above three types of MPEG2-TSP on the time axis. Further, the stream multiplexer 4 generates a PCR signal for regenerating the system clock on the receiving side using a counter that counts the system clock.

なお、MPEGトランスポートシステムにおいて、PCR信号は50mS程の周期で生成される。そしてストリーム多重化器4はPCR信号をMPEG2−TSP化した後に、上述の多重化された信号に更に多重して、MPEG2−TSとして出力する。この出力信号を図5のS1に示す。   In the MPEG transport system, PCR signals are generated with a period of about 50 mS. The stream multiplexer 4 converts the PCR signal into MPEG2-TSP, and further multiplexes it with the multiplexed signal described above, and outputs it as MPEG2-TS. This output signal is shown in S1 of FIG.

図5は時間軸上におけるパケットの多重の推移を示した図である。図5の横軸は時間である。しかし、図5において、各処理における定常的な遅延については無視しており図示していない。S5のVIDEO1、VIDEO2、VIDEO3、AUDIO1、AUDIO2、DATA1はストリーム多重化器5により多重化されたパケットである。また、S1のVIDEO1、VIDEO2、VIDEO3はビデオエンコードされたMPEG2−TSPである。また、S1のAUDIO1、AUDIO2はオーディオエンコードされたMPEG2−TSPである。また、S1のDATA1はデータエンコードされたMPEG2−TSPである。PCR信号についてはMPEG2システムにおいて周知の内容なので説明は省略する。   FIG. 5 is a diagram showing the transition of packet multiplexing on the time axis. The horizontal axis in FIG. 5 is time. However, in FIG. 5, the steady delay in each process is ignored and not shown. VIDEO 1, VIDEO 2, VIDEO 3, AUDIO 1, AUDIO 2, and DATA 1 in S 5 are packets multiplexed by the stream multiplexer 5. Also, VIDEO1, VIDEO2, and VIDEO3 of S1 are MPEG2-TSP that is video-encoded. Also, AUDIO1 and AUDIO2 of S1 are MPEG2-TSP encoded with audio. DATA1 of S1 is data-encoded MPEG2-TSP. Since the PCR signal is well-known content in the MPEG2 system, description thereof is omitted.

スクランブラ6は、MPEG2−TSを所定の暗号方式で暗号化して出力する。ここに
示す例はMULTI2方式の例である。タイムスタンプ付加器7は、システムクロック生成器4が出力するシステムクロックをカウントするカウンタを有している。そして、タイムスタンプ付加器7はそのカウント値をタイムスタンプとしてヘッダーに含め、このヘッダーを個々のMPEG2−TS(この例ではスクランブルされている)に付加して、拡張TSパケットとして後段に出力する。この出力信号を図5のS2に示す。また、図5のTSはタイムスタンプを含んだヘッダーを示している。受信側では、このタイムスタンプを、システムクロックを求めるためには使用しない。受信側は、送信側におけるパケットの生成タイミングを無視して、蓄積デバイスにパケットを蓄積する。そして、受信側は、蓄積したパケットを再生する際に、送信側でのパケットの生成タイミングを求めるため(MPEG2−TSを再生するため)に、このタイムスタンプを使用する。
The scrambler 6 encrypts MPEG2-TS using a predetermined encryption method and outputs it. The example shown here is an example of the MULTI2 system. The time stamp adder 7 has a counter that counts the system clock output from the system clock generator 4. Then, the time stamp adder 7 includes the count value as a time stamp in the header, adds the header to each MPEG2-TS (scrambled in this example), and outputs it as an extended TS packet to the subsequent stage. This output signal is shown in S2 of FIG. 5 indicates a header including a time stamp. On the receiving side, this time stamp is not used to obtain the system clock. The reception side ignores the packet generation timing on the transmission side and accumulates the packets in the accumulation device. Then, the receiving side uses this time stamp in order to obtain the packet generation timing on the transmitting side (to reproduce MPEG2-TS) when reproducing the accumulated packet.

なお、このカウンタとPCR信号を生成するカウンタとは、同じシステムクロックを用いているため同期が取れている。   The counter and the counter that generates the PCR signal are synchronized because they use the same system clock.

一方、このカウンタと受信側のカウンタとで同期が取れない場合が考えられる。したがって、受信側で再生する時刻を確保する為に、システムクロックの周波数と、送信する拡張TSパケットの最大速度と、後述する受信側の蓄積デバイス32の最小限のサイズとを予め決めておく。そして、カウンタが一巡する時間に送信する全拡張TSパケットを蓄積できるようにこのカウンタのビット数を設定する。なお、本実施の形態のように、受信側において一旦コンテンツを形成する拡張TSパケットを全て蓄積した後に再生する例では、十分に蓄積デバイスのサイズは確保されることになるので、受信側で再生する時刻を確保できないという問題は生じない。   On the other hand, there may be a case where synchronization cannot be established between this counter and the receiving counter. Therefore, in order to secure the time for reproduction on the reception side, the frequency of the system clock, the maximum speed of the extended TS packet to be transmitted, and the minimum size of the storage device 32 on the reception side described later are determined in advance. Then, the number of bits of this counter is set so that all extended TS packets to be transmitted can be accumulated at the time that the counter makes a round. Note that, in the example in which the extended TS packet that once forms the content is stored once on the receiving side as in the present embodiment and played back, the storage device size is sufficiently secured, so playback on the receiving side. The problem of not being able to secure the time to perform does not occur.

またタイムスタンプを付加する際に、PCR信号の生成に用いたカウント値と時間的に同期させるように、このカウンタをPCR信号のカウント値に応じて所定のタイミングで初期化した後にタイムスタンプ化する。または、このカウンタを所定のオフセット時間後に初期化した後にタイムスタンプ化する。こうすることで、受信側においてPCRによるシステムクロック再生用カウンタをMPEG2―TS再生用のカウンタとして用いることもできる。また受信側のカウンタと、このカウンタとの同期をとる事もできる。この場合、このカウンタのビット数を、PCR信号を生成するためのカウンタのビット数と合わせておく事が望ましい。こうすることで受信側におけるキャリーオーバーの処理を簡略化することができるからである。   In addition, when adding a time stamp, this counter is initialized at a predetermined timing in accordance with the count value of the PCR signal so as to be synchronized with the count value used for generating the PCR signal, and then time stamped. . Alternatively, the counter is initialized after a predetermined offset time and then time-stamped. In this way, the system clock recovery counter by PCR can be used as a counter for MPEG2-TS playback on the receiving side. The counter on the receiving side can be synchronized with this counter. In this case, it is desirable to match the number of bits of this counter with the number of bits of the counter for generating the PCR signal. This is because the carry-over process on the receiving side can be simplified.

スーパーカプセル化器8は、個々の拡張TSパケットを一つ以上でカプセル化する。また、カプセル化された情報が拡張TSパケットであることを識別する情報と、カプセル内の拡張TSパケットのパケット長と、拡張TSパケット数と、カプセルカウンタ値とを含むヘッダーを出力信号に付加して、スーパーカプセルとして後段に出力する。このスーパーカプセルを図5のS3に示す。また、図5のCHはヘッダーを示している。このカプセルカウンタ値は、受信側でスーパーカプセルの連続性を確認するためのものである。そして、スーパーカプセル化器8がスーパーカプセルを出力するたびにスーパーカプセル化器8は、このカプセルカウンタ値をカウントアップさせる。   The super encapsulator 8 encapsulates one or more individual extended TS packets. In addition, a header including information for identifying that the encapsulated information is an extended TS packet, the packet length of the extended TS packet in the capsule, the number of extended TS packets, and the capsule counter value is added to the output signal. And output to the subsequent stage as a super capsule. This super capsule is shown in S3 of FIG. Further, CH in FIG. 5 indicates a header. This capsule counter value is for confirming the continuity of the super capsule on the receiving side. Then, every time the super encapsulator 8 outputs a super capsule, the super encapsulator 8 increments the capsule counter value.

なお、図5ではカプセル化される拡張TSパケットは2つであるが、これは一例を示したに過ぎず、本実施の形態において拡張TSパケットの数を限定するものではない。また、スーパーカプセルでの付加ヘッダー内の情報は、カプセル化されたデータの内容と受信側で連続性を確認するための情報を格納することを目的としており、前述した形式に限定するものではない。例えば、カプセルカウンタ値を拡張TSパケットの計数値として拡張TSパケット数の情報も含めてもよい。または、拡張TSパケットのパケット長および拡張TSパケット数はカプセル化された総データ長であっても良い。また、スーパーカプセル化機8は後段へのスーパーカプセルの出力とともに蓄積バッファー15にもスーパーカ
プセルを出力する。
In FIG. 5, there are two extended TS packets encapsulated, but this is merely an example, and the number of extended TS packets is not limited in this embodiment. The information in the additional header in the supercapsule is intended to store the content of the encapsulated data and information for confirming continuity on the receiving side, and is not limited to the format described above. . For example, information on the number of extended TS packets may be included with the capsule counter value as the count value of the extended TS packets. Alternatively, the packet length of the extended TS packet and the number of extended TS packets may be the total encapsulated data length. In addition, the super capsule machine 8 outputs the super capsule to the storage buffer 15 together with the output of the super capsule to the subsequent stage.

蓄積バッファー15への蓄積制御は、マイコン14によりリングバッファー方式で行われる。マイコン14は蓄積バッファー15のスーパーカプセルを記憶する領域と個々のスーパーカプセルのヘッダー情報を管理する。再送コマンド検出器13は受信器12が出力する再送コマンドを検出する。そして、スーパーカプセルの再送制御時には、再送コマンド検出器13は、再送コマンド内に含まれる再送が必要なスーパーカプセルを指定するための情報(この例では少なくともカプセルカウンタ値)と再送を指示する情報をマイコン14に出力する。   Accumulation control in the accumulation buffer 15 is performed by the microcomputer 14 using a ring buffer method. The microcomputer 14 manages the area for storing the super capsules in the accumulation buffer 15 and the header information of each super capsule. The retransmission command detector 13 detects the retransmission command output from the receiver 12. At the time of super capsule retransmission control, the retransmission command detector 13 receives information (in this example, at least a capsule counter value) for specifying a super capsule that needs to be retransmitted included in the retransmission command and information for instructing retransmission. Output to the microcomputer 14.

マイコン14はカプセルカウンタ値に該当するスーパーカプセルを蓄積バッファー15から読み出す。その後、マイコン14はスーパーカプセルを再送するために、UDP/IPパケット化器9に出力の制御を行なう。この場合、スーパーカプセルのヘッダー内に再送パケットであることを示す情報を更に付加して出力する場合もある。なおカプセルカウンタ値の計数範囲はスーパーカプセルを送信する速度に対し、送信する通信網での最大遅延時間の2倍(スーパーカプセル送信後再送コマンド受信までの遅延分)を少なくともカバーできるビット数であることが望ましい。また、蓄積バッファーサイズは少なくともスーパーカプセルをカプセルカウンタの計数範囲分蓄積できる量であることが望ましい。また再送コマンドのフォーマットについては受信側と予め取り決めておけば良い。本実施の形態では再送コマンドのフォーマットを特に限定しない。   The microcomputer 14 reads the super capsule corresponding to the capsule counter value from the accumulation buffer 15. Thereafter, the microcomputer 14 controls the output of the UDP / IP packetizer 9 in order to retransmit the super capsule. In this case, information indicating a retransmission packet may be further added to the header of the super capsule and output. Note that the count range of the capsule counter value is the number of bits that can cover at least twice the maximum delay time in the communication network to transmit (the delay from the supercapsule transmission until the retransmission command reception) with respect to the transmission speed of the supercapsule. It is desirable. Further, it is desirable that the storage buffer size is an amount capable of storing at least the super capsule for the count range of the capsule counter. The format of the retransmission command may be decided in advance with the receiving side. In this embodiment, the format of the retransmission command is not particularly limited.

UDP/IPパケット化器9は、個々のスーパーカプセルをIP通信網に送信するためにIPデータグラム内に格納し、IPパケットヘッダーを付加してIPパケットとして出力する。この出力信号を図5のS4に示す。また、S4のIPとはIPヘッダーなどの通信プロトコルにおけるヘッダーを示している。IPパケットヘッダーについてはインターネットで周知の内容なので説明は省略する。この例では更にUDPパケット内にIPパケットヘッダーを格納しているが本来その必要は無い。また別のプロトコル、例えばTCPパケット内にIPパケットヘッダーを格納しても良い。   The UDP / IP packetizer 9 stores each super capsule in an IP datagram for transmission to the IP communication network, adds an IP packet header, and outputs the packet as an IP packet. This output signal is shown in S4 of FIG. The IP in S4 indicates a header in a communication protocol such as an IP header. The IP packet header is well-known content on the Internet and will not be described. In this example, an IP packet header is further stored in the UDP packet, but this is not essential. Moreover, you may store an IP packet header in another protocol, for example, a TCP packet.

イーサネット(登録商標)パケット化器10は、イーサネット(登録商標)パケット化器10に入力されるIPパケットをイーサネット(登録商標)のデータ領域に格納する。また、イーサネット(登録商標)パケット化器10はIPパケットにイーサネット(登録商標)パケットヘッダーとチェックサムを付加してイーサネット(登録商標)パケットとして出力する。イーサネット(登録商標)パケットヘッダーとチェックサムについてはインターネットで周知の内容なので説明は省略する。   The Ethernet (registered trademark) packetizer 10 stores an IP packet input to the Ethernet (registered trademark) packetizer 10 in a data area of the Ethernet (registered trademark). The Ethernet (registered trademark) packetizer 10 adds an Ethernet (registered trademark) packet header and a checksum to the IP packet and outputs the packet as an Ethernet (registered trademark) packet. Since the Ethernet (registered trademark) packet header and the checksum are well-known contents on the Internet, description thereof will be omitted.

送信器11はイーサネット(登録商標)パケットをインターネット網に送信する。インターネット網では様々な通信事業者が様々な方式で通信網を運営しており、送信器11と受信器12はこれら様々な方式に対応するものである。また、その形態や仕様について特に制限はしない。   The transmitter 11 transmits an Ethernet (registered trademark) packet to the Internet network. In the Internet network, various communication carriers operate the communication network in various ways, and the transmitter 11 and the receiver 12 correspond to these various methods. Moreover, there is no restriction | limiting in particular about the form and specification.

次に送信パケット構成について説明する。図6は本実施の形態におけるイーサネット(登録商標)パケット構成を示す図である。図6ではMPEG2−TSPにタイムスタンプを含む4バイトのヘッダーを付加した拡張TSパケットを7つカプセル化している。そして、拡張TSパケットを識別するための識別値と、カプセルカウンタ値と、拡張TSパケットサイズと、拡張TSパケット数とを含む8バイトのヘッダーを付加して1352バイトのスーパーカプセル化している。そして、スーパーカプセルに8バイトのUDPパケットヘッダーを付加して1356バイトのUDPパケットとしている。そして、UDPパケットに24バイトのIPパケットヘッダーを付加して1380バイトのIPパケット化している。そして、IPパケットに14バイトのイーサネット(登録商標)ヘッダーと4バイトのチェッ
クサムを付加して1398バイトのイーサネット(登録商標)パケット化している。
Next, the transmission packet configuration will be described. FIG. 6 is a diagram showing an Ethernet (registered trademark) packet configuration in the present embodiment. In FIG. 6, seven extended TS packets in which a 4-byte header including a time stamp is added to MPEG2-TSP are encapsulated. Then, an 1-byte header including an identification value for identifying an extended TS packet, a capsule counter value, an extended TS packet size, and the number of extended TS packets is added to super encapsulate 1352 bytes. Then, an 8-byte UDP packet header is added to the super capsule to form a 1356-byte UDP packet. Then, a 24-byte IP packet header is added to the UDP packet to form a 1380-byte IP packet. Then, a 14-byte Ethernet (registered trademark) header and a 4-byte checksum are added to the IP packet to form a 1398-byte Ethernet (registered trademark) packet.

通信網では、最大伝播パケット単位であるMTUを制限している場合が多い。そして、送出するパケットデータサイズがMTUをオーバーしている場合は、通信網においてパケットを分割する場合が多い。インターネットではこのような処理をフラグメントと言う。フラグメント後に発生したパケットロスやジッタ−の補償を受信側で行うことは困難である。これは、ヘッダー情報の喪失に原因がある。このため本実施の形態においては、スーパーカプセル内の拡張TSパケット数を7つに設定している。これは、イーサネット(登録商標)通信網におけるMTU1500バイトに対しイーサネット(登録商標)パケットのデータ領域のデータサイズがオーバーしないようにするためである。   In communication networks, there are many cases where the MTU, which is the maximum propagation packet unit, is limited. When the packet data size to be transmitted exceeds the MTU, the packet is often divided in the communication network. Such processing is called a fragment on the Internet. It is difficult for the receiving side to compensate for packet loss and jitter generated after fragmentation. This is due to the loss of header information. For this reason, in this embodiment, the number of extended TS packets in the super capsule is set to seven. This is to prevent the data size of the data area of the Ethernet (registered trademark) packet from exceeding the MTU 1500 bytes in the Ethernet (registered trademark) communication network.

MPEG2−TSPのデータサイズは、エンコーダーの仕様により188バイト固定である。したがって、拡張TSパケットのデータサイズは192バイトとなる。そして、イーサネット(登録商標)通信網におけるMTU1500バイトを満たしながらスーパーカプセルに格納できる拡張トランスポートパケット数は最大7つとなる。   The data size of MPEG2-TSP is fixed at 188 bytes according to the encoder specifications. Therefore, the data size of the extended TS packet is 192 bytes. The maximum number of extended transport packets that can be stored in the super capsule while satisfying MTU 1500 bytes in the Ethernet (registered trademark) communication network is seven.

このように通信網のMTUに応じてスーパーカプセル内に格納する拡張TSパケット数を設定することで、通信網でのフラグメントを防止する。更に前述したカプセルカウント値を付加することと、再送機能を備えることによりパケットロスの補償を受信側に提供することができる。   In this way, by setting the number of extended TS packets stored in the super capsule according to the MTU of the communication network, fragmentation in the communication network is prevented. Further, by adding the above-described capsule count value and providing a retransmission function, it is possible to provide packet loss compensation to the receiving side.

なお、通信網はイーサネット(登録商標)を使用するインターネットに限定するものではない。例えばUSBを使用しても良く、携帯電話などの無線通信網などであっても良い。また、MTUもそれらに応じた値に対応可能である。また圧縮方式はMPEG2に限定しない。例えば、MPEG4やその他の方式であっても良い。   The communication network is not limited to the Internet using Ethernet (registered trademark). For example, a USB may be used, and a wireless communication network such as a mobile phone may be used. Further, the MTU can also correspond to values corresponding to them. The compression method is not limited to MPEG2. For example, MPEG4 or other methods may be used.

次に実施の形態1における受信側の例を説明する。図2は実施の形態1におけるコンテンツ受信器の構成を示す図である。図3は個々のパケットを受信して蓄積するまでの動作例を示したフローチャートである。図4は蓄積後再生する時の動作を示したフローチャートである。   Next, an example of the receiving side in the first embodiment will be described. FIG. 2 is a diagram showing the configuration of the content receiver in the first embodiment. FIG. 3 is a flowchart showing an operation example from reception to accumulation of individual packets. FIG. 4 is a flowchart showing the operation when reproducing after storage.

図2において、マイコン29はコンテンツ受信器の各部の制御を行う。受信器21は、インターネット網などの通信網から図6に示すイーサネット(登録商標)パケットを受信し出力する。インターネット網では様々な通信事業者が様々な方式で通信網を運営しており、受信器21と後述する送信器31はそれらの方式に対応するものである。また、その形態や仕様について特に制限はしない。通信網はイーサネット(登録商標)を使用するインターネットに限定するものではなく、USBを使用しても良く、または携帯電話などの無線通信網などであっても良い。   In FIG. 2, a microcomputer 29 controls each part of the content receiver. The receiver 21 receives and outputs the Ethernet (registered trademark) packet shown in FIG. 6 from a communication network such as the Internet network. In the Internet network, various communication carriers operate the communication network by various methods, and the receiver 21 and the transmitter 31 described later correspond to these methods. Moreover, there is no restriction | limiting in particular about the form and specification. The communication network is not limited to the Internet using Ethernet (registered trademark), USB may be used, or a wireless communication network such as a mobile phone may be used.

イーサネット(登録商標)パケット処理器22は、イーサネット(登録商標)パケット処理器22当てのイーサネット(登録商標)パケットにイーサネット(登録商標)のプロトコル処理を行いUDP/IPパケットを出力する(この処理を図3のSTEP51に示す。また、この出力信号を図5のS5に示す)。   The Ethernet (registered trademark) packet processor 22 performs an Ethernet (registered trademark) protocol process on the Ethernet (registered trademark) packet for the Ethernet (registered trademark) packet processor 22 and outputs a UDP / IP packet (this processing is performed). This is shown in STEP 51 of Fig. 3. Also, this output signal is shown in S5 of Fig. 5).

図5のS5では、受信UDP/IPパケットがインターネット網を介した結果ジッタ−とパケットロスが発生していることを意味している。つまりVIDEO1とDATA1を含むパケットは定常的な遅延より大きな遅延が生じている。また、VIDEO3とAUDIO2を含むパケットは定常的な遅延より小さい遅延が生じている。また、VIDEO2とAUDIO1を含むパケットは一旦パケットロスとなり後に再送されている。   In S5 of FIG. 5, it means that the received UDP / IP packet has jitter and packet loss as a result of passing through the Internet network. That is, the packet including VIDEO1 and DATA1 has a delay larger than the steady delay. A packet including VIDEO3 and AUDIO2 has a delay smaller than a steady delay. Further, a packet including VIDEO2 and AUDIO1 is once lost and retransmitted later.

ここで、図5を用いてインターネットの場合のジッターとパケットロスについて説明する。インターネット網における送信側と受信側の間には、定常的な遅延が存在する。全てのパケットがその定常的な遅延を持って伝達されるのが理想的であり、その場合はジッターやパケットロスは発生しない。しかしながら、実際のインターネット網では、パケットが異なるルートを割り当てられる、パケットの有効時間中に伝達できない為パケットがゲートウェイで削除される、パケットが再送される、などが生じるので、ジッターやパケットロスが発生する。S5の記載については、定常的な遅延をあえてゼロに表現することで、限られた紙面上ジッターを分かりやすく記している。具体的には、VIDEO1とDATA1を含むパケットは定常的な遅延より大きな遅延が生じているため、S4に比べ遅く(遅れているように)記している。VIDEO3とAUDIO2を含むパケットは定常的な遅延より小さい遅延が生じているためS4に比べ早く(進んでいるように)記している。またVIDEO2とAUDIO1を含むパケットは、一旦パケットロスとなり、後に再送されていることを記している。   Here, jitter and packet loss in the case of the Internet will be described with reference to FIG. There is a steady delay between the sending side and the receiving side in the Internet network. Ideally, all packets are transmitted with a constant delay, in which case no jitter or packet loss occurs. However, in an actual Internet network, jitter or packet loss occurs because packets are assigned different routes, packets cannot be transmitted during the effective time of packets, and packets are deleted at the gateway, packets are retransmitted, etc. To do. In the description of S5, the limited on-paper jitter is described in an easy-to-understand manner by expressing the steady delay as zero. Specifically, since the packet including VIDEO1 and DATA1 has a delay larger than the steady delay, it is written later (like delayed) than S4. A packet including VIDEO3 and AUDIO2 has a delay smaller than a steady delay, and is written earlier (as if it is advanced) than S4. Further, it is described that a packet including VIDEO2 and AUDIO1 is once lost and retransmitted later.

図2に示すUDP/IPパケット処理部23は、UDP/IPパケットにUDP/IPのプロトコル処理を行い、スーパーカプセルを出力する(この処理を図3のSTEP52に示す。また、この出力信号を図5のS6に示す)。   The UDP / IP packet processing unit 23 shown in FIG. 2 performs UDP / IP protocol processing on the UDP / IP packet and outputs a supercapsule (this processing is shown in STEP 52 of FIG. 3. This output signal is also shown in FIG. 5 shown in S6).

以上のイーサネット(登録商標)およびUDP/IPのプロトコル処理はインターネットで周知であるので説明は省略する。また、イーサネット(登録商標)パケットやUDPパケット処理はここに記した内容に限定せず、受信パケットの種別や通信網の仕様に応じる。また、他の通信プロトコル処理を行う場合もある。   Since the above Ethernet (registered trademark) and UDP / IP protocol processing is well known on the Internet, description thereof is omitted. Further, Ethernet (registered trademark) packet and UDP packet processing is not limited to the contents described here, but depends on the type of received packet and the specifications of the communication network. In addition, other communication protocol processing may be performed.

これらの通信プロトコルにはそれぞれのヘッダーにデータ本体のプロトコル処理方法を示す情報が含まれている。各種プロトコルの処理方法については規格化されており、予めコンテンツ受信器はその処理方法を備える事ができる。従って、コンテンツ受信器は、ヘッダー内のプロトコルを示す情報を解析する事により、ヘッダーを削除した後のデータ本体のプロトコル処理を行うことができる。   Each of these communication protocols includes information indicating the protocol processing method of the data body in each header. The processing methods of various protocols are standardized, and the content receiver can be provided with the processing methods in advance. Therefore, the content receiver can perform protocol processing of the data body after deleting the header by analyzing information indicating the protocol in the header.

カプセル処理機24は、図6で示した個々のスーパーカプセルから、個々のスーパーカプセルのヘッダーを取得する。また、カプセル処理機24はこのヘッダー内に含まれている構成データの内容を示す情報をマイコン29に出力する。このデータの内容を示す情報は、カプセル化されたデータのフォーマットタイプを識別するための情報である(この例では前述した拡張TSパケットであることを識別する情報)。また、このデータの内容を示す情報は、カプセル内の拡張TSパケットのパケット長および拡張TSパケット数を示す情報などもある。拡張TSパケットのパケット長および拡張TSパケット数を示す情報はカプセル化された総データ長であっても良い。   The capsule processor 24 acquires the header of each super capsule from each super capsule shown in FIG. Further, the capsule processor 24 outputs information indicating the contents of the configuration data included in the header to the microcomputer 29. The information indicating the content of the data is information for identifying the format type of the encapsulated data (in this example, information identifying the extended TS packet described above). Further, the information indicating the contents of the data includes information indicating the packet length of the extended TS packet in the capsule and the number of extended TS packets. The information indicating the packet length of the extended TS packet and the number of extended TS packets may be the total data length encapsulated.

マイコン29は与えられたデータの内容を示す情報を解釈して、カプセル化されているデータが拡張TSパケットであることを認識する(図3のSTEP53) 。またマイコン
29は、個々の拡張TSパケットのサイズを認識し、蓄積デバイス32の蓄積領域を確保する。またマイコン29は、蓄積制御機28に対し蓄積パケットサイズの設定や個々の拡張TSパケットを記憶する際のアドレス初期設定など準備を行う(図3のSTEP50)。これらの準備は、最初のスーパーカプセルを入力した時点やデータの内容を示す情報に変更があった事を検出してその場合に行ってもよい。
The microcomputer 29 interprets the information indicating the contents of the given data and recognizes that the encapsulated data is an extended TS packet (STEP 53 in FIG. 3). The microcomputer 29 recognizes the size of each extended TS packet and secures a storage area of the storage device 32. Further, the microcomputer 29 prepares the storage controller 28 for setting the storage packet size and initializing the address when storing each extended TS packet (STEP 50 in FIG. 3). These preparations may be performed when the first super capsule is input or when the information indicating the contents of the data is detected and changed.

また、カプセル処理機24はヘッダーに含まれているカプセルカウンタをモニターして、連続性を確認する(図3のSTEP54)。カプセル処理機24は個々のスーパーカプセルにおけるカプセルカウンタ値を検出して、不連続点のチェックを行う。カプセル処理機24が不連続点を検出すればカプセルカウンタの推移により不連続性を検証する(図3の
STEP64)。
In addition, the capsule processor 24 monitors the capsule counter included in the header to confirm continuity (STEP 54 in FIG. 3). The capsule processor 24 detects the capsule counter value in each super capsule and checks the discontinuity point. If the capsule processor 24 detects the discontinuity point, the discontinuity is verified by the transition of the capsule counter (STEP 64 in FIG. 3).

この不連続性が、カプセルカウンタ値が同じかまたは減少する方向の不連続であれば、カプセル処理機24は、不連続点以後に検出するカプセルカウンタ値が不連続点直前のカプセルカウンタ値を上回り不連続が解消するまでの間のスーパーカプセルを削除する(図
3のSTEP65)。
If this discontinuity is discontinuity in the direction in which the capsule counter value is the same or decreasing, the capsule processor 24 detects that the capsule counter value detected after the discontinuity point exceeds the capsule counter value immediately before the discontinuity point. The super capsule until the discontinuity is eliminated is deleted (STEP 65 in FIG. 3).

この不連続性が、カプセルカウンタ値が増加する方向の不連続であれば、カプセル処理器24は不連続に該当するスーパーカプセルは削除しない。そして、カプセル処理器24はマイコン29に不連続点を検出したことを通知して、カプセル処理器24が受信できなかったスーパーカプセルに該当するカプセルカウンタ値をマイコン29に出力する。   If this discontinuity is discontinuity in the direction in which the capsule counter value increases, the capsule processor 24 does not delete the super capsule corresponding to the discontinuity. Then, the capsule processor 24 notifies the microcomputer 29 that the discontinuity point has been detected, and outputs a capsule counter value corresponding to the super capsule that the capsule processor 24 could not receive to the microcomputer 29.

また、カプセル処理器24は、ダミー拡張TSパケットで構成されるダミーヘッダーを備えたダミースーパーカプセルを生成する。そして、カプセル処理器24は、カプセル処理器24が受信できなかったスーパーカプセルに該当する時間的スペースにこのダミースーパーカプセルを挿入して後段に出力する(図3でのSTEP66)これは、後段で再送パケット挿入処理を簡略化するためである。   In addition, the capsule processor 24 generates a dummy super capsule having a dummy header composed of dummy extended TS packets. Then, the capsule processor 24 inserts this dummy supercapsule into the temporal space corresponding to the supercapsule that the capsule processor 24 could not receive and outputs it to the subsequent stage (STEP 66 in FIG. 3). This is to simplify the retransmission packet insertion process.

マイコン29はカプセル処理器24からの通知を受けて、スーパーカプセルを再送指示するための再送コマンドを出力する。このとき、マイコン29はこの再送コマンドをカプセル処理器24が受信できなかったスーパーカプセルに該当するカプセルカウンタ値を用いて生成する(図3のSTEP67)。送信器31は、イーサネット(登録商標)を使用するインターネット網などの通信網を介して、再送コマンドを送信側に送信する。   In response to the notification from the capsule processor 24, the microcomputer 29 outputs a retransmission command for instructing retransmission of the super capsule. At this time, the microcomputer 29 generates this retransmission command by using the capsule counter value corresponding to the super capsule that the capsule processor 24 could not receive (STEP 67 in FIG. 3). The transmitter 31 transmits a retransmission command to the transmission side via a communication network such as the Internet network using Ethernet (registered trademark).

送信側が再送したスーパーカプセルはヘッダー内に再送であることを示す情報を含んでいるので、カプセル処理器24において検出が可能である。したがって、カプセル処理器24は前述した不連続性の検証対象からこれを除外し、後段にそのまま出力する。(図3のSTEP54)。   Since the super capsule retransmitted by the transmitting side includes information indicating that it is retransmitted in the header, the capsule processor 24 can detect it. Therefore, the capsule processor 24 excludes this from the above-described discontinuity verification target and outputs it as it is to the subsequent stage. (STEP 54 in FIG. 3).

マイコン29はカプセル処理器24から不連続の通知を受けてから直ちに再送コマンド送信の制御を行わなくても良い。マイコン29は、カプセル処理器24に対し検出できなかったスーパーカプセルの受信待機を指示してから所定の時間の間、該当するスーパーカプセルが受信できなかった場合に再送コマンド送信の制御を行う場合もある。受信待機を指示してから所定の時間の間に受信できた場合は、カプセル処理器24は所定のヘッダー内に再送パケットを示す情報を付加して後段に出力する。これは後段で再送パケットと同様に処理させるためである。誤動作を避けるためには、待機時間はカプセルカウンタ値が一巡する時間より短く、そして通信網におけるパケット到着の最大遅延時間より長いことが望ましい。また、STEP54、STEP64での不連続性の確認および確認後の処理制御は、カプセル処理器24とマイコン29でのソフトウェア処理とのどちらかで行なう。   The microcomputer 29 may not control the retransmission command transmission immediately after receiving the discontinuous notification from the capsule processor 24. The microcomputer 29 may control retransmission command transmission when the corresponding supercapsule is not received for a predetermined time after instructing the capsule processor 24 to wait for reception of the supercapsule that could not be detected. is there. If reception is possible within a predetermined time after instructing reception standby, the capsule processor 24 adds information indicating a retransmission packet in a predetermined header and outputs the information to the subsequent stage. This is because the subsequent processing is performed in the same manner as the retransmission packet. In order to avoid malfunction, it is desirable that the waiting time is shorter than the time required for the capsule counter value to make a round and longer than the maximum delay time of packet arrival in the communication network. Further, the confirmation of discontinuity in STEP 54 and STEP 64 and the processing control after the confirmation are performed by either the capsule processor 24 or the software processing in the microcomputer 29.

次に、カプセル処理機24はマイコン29の制御によってカプセル化されている拡張TSパケットを分離して出力する。ここでは拡張TSパケットに含まれているMPEG2−TSPがスクランブルされている場合や再送パケットの場合も考慮して、個々のMPEG2−TSPとタイムスタンプが含まれているヘッダーを分離して出力する。マイコン29はMPEG2−TSPがスクランブルされているかを確認する(図3のSTEP55)。   Next, the capsule processor 24 separates and outputs the extended TS packet encapsulated under the control of the microcomputer 29. Here, in consideration of the case where the MPEG2-TSP included in the extended TS packet is scrambled or the case of the retransmission packet, the header including each MPEG2-TSP and the time stamp is output separately. The microcomputer 29 confirms whether the MPEG2-TSP is scrambled (STEP 55 in FIG. 3).

MPEG2−TSPのヘッダーはスクランブルされているかどうかの情報をスクランブルされる範囲外に持っている。したがって、マイコン29は一旦MPEG2−TSPを取り出した後でその情報を確認して、スクランブルされている範囲に対しデスクランブル処
理を行うことができる。どの方式を用いるかを受信側と送信側とで予め決めておくこと、または、受信するテーブル情報を受信側で確認して認識すること、これらのことで任意の方式への対応が可能である。
The MPEG2-TSP header has information on whether or not it is scrambled outside the scrambled range. Therefore, the microcomputer 29 can take out the MPEG2-TSP once and confirm the information, and can perform descrambling processing on the scrambled range. Decide which method to use on the receiving side and the sending side in advance, or check and recognize the table information to be received on the receiving side. .

デスクランブラ25は、デスクランブラ25に入力されたMPEG2−TSPを送信側でのスクランブルに対応した方式でデスクランブルして、後段に出力する。一方、タイムスタンプを含んだヘッダーはタイムスタンプバッファー26においてデスクランブラ25の処理時間分遅延させてMPEG2−TSPと時間的な同期を取った後、後段に出力する(図3のSTEP56)。   The descrambler 25 descrambles the MPEG2-TSP input to the descrambler 25 using a method corresponding to scrambling on the transmission side, and outputs the descrambler to the subsequent stage. On the other hand, the header including the time stamp is delayed by the processing time of the descrambler 25 in the time stamp buffer 26 to obtain time synchronization with the MPEG2-TSP, and then output to the subsequent stage (STEP 56 in FIG. 3).

また、マイコン29は再送パケットかどうかの確認も行う(図3のSTEP68)。再送パケットはヘッダーに再送パケットを示す情報を有している。したがって、マイコン29はそれを見て再送パケットかどうかを確認する。再送パケットの場合はタイムスタンプに加え再送パケットであることを示す情報とカプセルカウンタ値を更に付加したヘッダーを生成してタイムスタンプバッファー26に出力する(図3のSTEP69)。   Further, the microcomputer 29 also confirms whether the packet is a retransmission packet (STEP 68 in FIG. 3). The retransmission packet has information indicating the retransmission packet in the header. Therefore, the microcomputer 29 confirms whether or not the packet is a retransmission packet. In the case of a retransmission packet, a header to which information indicating that the packet is a retransmission packet and a capsule counter value are added in addition to the time stamp is generated and output to the time stamp buffer 26 (STEP 69 in FIG. 3).

拡張TS再生器27は、MPEG2−TSとヘッダーを結合して拡張TSパケットを再生し、出力する。この処理を図3のSTEP57に示す。また、この出力信号を図5のS7に示す。蓄積制御器28は、通信網における遅延あるいはロスにより再取得した拡張TSパケットかどうかの確認をヘッダー情報によって行う(図3のSTEP58)。再送パケットではない場合は、マイコン29の制御により蓄積デバイス32上の管理された領域に順次拡張TSパケットを書き込む(図3のSTEP59)。再送パケットである場合は、STEP66においてダミー拡張TSパケットとダミースーパーカプセルを生成する。そして、前もって蓄積済みの対応するダミー拡張TSパケットに再取得した拡張TSパケットを上書きする(図3のSTEP60)。   The extended TS regenerator 27 combines the MPEG2-TS and the header to reproduce and output an extended TS packet. This process is shown in STEP 57 of FIG. The output signal is shown in S7 of FIG. The accumulation controller 28 confirms whether it is an extended TS packet reacquired due to a delay or loss in the communication network based on the header information (STEP 58 in FIG. 3). If it is not a retransmitted packet, extended TS packets are sequentially written into the managed area on the storage device 32 under the control of the microcomputer 29 (STEP 59 in FIG. 3). If it is a retransmission packet, in STEP 66, a dummy extended TS packet and a dummy super capsule are generated. Then, the re-acquired extended TS packet is overwritten on the corresponding dummy extended TS packet stored in advance (STEP 60 in FIG. 3).

再送された拡張TSパケットにはカプセルカウンタ値が含まれている。またマイコン29がカプセルカウンタ値と蓄積デバイス32のアドレス管理を行っている。これらのことから、この上書き制御は、再送された拡張TSパケットを本来の蓄積領域(ダミー拡張TSパケットを一旦蓄積して確保している領域)に蓄積して、蓄積デバイス32における連続性を補償する(図5のS8)。   The retransmitted extended TS packet includes a capsule counter value. The microcomputer 29 manages the capsule counter value and the address of the storage device 32. Therefore, this overwrite control accumulates the retransmitted extended TS packet in the original storage area (the area where the dummy extended TS packet is temporarily stored and secured) to compensate for the continuity in the storage device 32. (S8 in FIG. 5).

図5のS8では再送されたVIDEO2とAUDIO1の拡張TSパケットが本来の場所に蓄積されている。また、蓄積デバイス32では到着時刻や送信側での送信時刻を参照せず記憶するため、各拡張TSパケットを効率よく蓄積できる。   In S8 of FIG. 5, the retransmitted VIDEO2 and AUDIO1 extended TS packets are stored in their original locations. Further, since the storage device 32 stores the arrival time and the transmission time on the transmission side without referring to it, each extended TS packet can be stored efficiently.

なお蓄積デバイス32はHDDやDVDなどの如何なる蓄積メディアでも良く、半導体メモリでも良い。また、再送制御を簡略化してジッター補償のみの制御とすれば、蓄積デバイス32に要求される容量も、後述のカウンタが一巡する時間に受信する全ての拡張TSパケットを蓄積できる範囲に少なくなる。   The storage device 32 may be any storage medium such as an HDD or a DVD, or a semiconductor memory. Further, if retransmission control is simplified and only jitter compensation is controlled, the capacity required for the storage device 32 is reduced to a range in which all extended TS packets received during a round of a counter described later can be stored.

なお図3のSTEP53においてマイコン29は拡張TSパケットが格納されていないことを確認する。例えばこれが通常のMPEG2−TSPであった場合には、スクランブルされているかどうかを同様に確認する(図3のSTEP61)。そして、スクランブルされている場合はデスクランブラ25にてデスクランブルする(図3のSTEP62)。そして、拡張TS再生機27でタイムスタンプを含むヘッダーを生成し付加して拡張TSパケット化して出力し(図3のSTEP63)、同様に蓄積デバイス32に蓄積する。この場合も以後の再生処理は共通化できる。ただし、この場合はジッター補償やパケットロス補償は従来例と同じとなる。   In STEP 53 of FIG. 3, the microcomputer 29 confirms that no extended TS packet is stored. For example, if this is normal MPEG2-TSP, it is confirmed in the same manner whether or not it is scrambled (STEP 61 in FIG. 3). If it is scrambled, it is descrambled by the descrambler 25 (STEP 62 in FIG. 3). Then, a header including a time stamp is generated and added by the extended TS player 27 to be output as an extended TS packet (STEP 63 in FIG. 3), and similarly stored in the storage device 32. Also in this case, the subsequent reproduction processing can be made common. In this case, however, jitter compensation and packet loss compensation are the same as in the conventional example.

次に、再生時の説明を行う。再生制御機33は、システムクロックをカウントするカウンタを備えている。再生制御機33は、このカウンタのカウント値とTSデコーダ34から出力されるPCR信号とを比較した結果が等しくなるように、システムクロックの周波数を制御する。つまり、既存のMPEGトランスポートシステムをそのまま使用してシステムクロックを再生することができる。したがって、再生時において、MPEGトランスポートシステムのスペックを、既存の技術を用いて容易に満たす事ができる。また、マイコン29の制御により再生制御機33は蓄積デバイス32に記憶されている拡張TSパケットを、このシステムクロックに同期させて順次読み出す(図4のSTEP71)。そして、再生制御機33は、個々のタイムスタンプと前述したカウンタの計数値とが所定のオフセット値を持って合致するタイミングで(図4のSTEP72)タイムスタンプを含むヘッダーを取り外す。そして、再生制御機33は個々のMPEG2−TSPを後段に出力する。この処理を図4のSTEP73に示す。また、この出力信号を図5のS9に示す。   Next, explanation will be given at the time of reproduction. The reproduction controller 33 includes a counter that counts the system clock. The reproduction controller 33 controls the frequency of the system clock so that the result of comparing the count value of this counter and the PCR signal output from the TS decoder 34 becomes equal. That is, the system clock can be reproduced using the existing MPEG transport system as it is. Therefore, at the time of reproduction, the specifications of the MPEG transport system can be easily satisfied using the existing technology. Further, the reproduction controller 33 sequentially reads out the extended TS packets stored in the storage device 32 in synchronization with the system clock under the control of the microcomputer 29 (STEP 71 in FIG. 4). Then, the playback controller 33 removes the header including the time stamp at a timing when each time stamp matches the count value of the counter described above with a predetermined offset value (STEP 72 in FIG. 4). Then, the playback controller 33 outputs each MPEG2-TSP to the subsequent stage. This process is shown in STEP 73 of FIG. The output signal is shown in S9 of FIG.

この段階で、送信側でのMPEG2−TSは再生されており、通信網において発生したジッタ−は補償されている。なお、送信側において、PCR信号をカウントするカウンタとタイムスタンプをカウントするカウンタとの同期は取られている。したがって、再生制御機33は、PCR信号から求められるこのカウンタの計数値と、タイムスタンプとを比較することができる。   At this stage, the MPEG2-TS on the transmission side is reproduced, and the jitter generated in the communication network is compensated. On the transmission side, the counter for counting the PCR signal and the counter for counting the time stamp are synchronized. Therefore, the reproduction controller 33 can compare the count value of this counter obtained from the PCR signal with the time stamp.

TSデコーダー34はMPEG2−TSPをAVデコーダー35がAVデコードできる形態に直して、出力する。AVデコーダー35は、AVデコーダー35に入力されるデータをAVデコードして出力する。STEP72において、タイムスタンプとシステムクロックカウンタ値が一致しなかった場合は、再生制御機33はその差分を検証する(図4の
STEP75)。そして、その差分が再生制御機33内部のバッファー(図示せず)でジ
ッター補償できる範囲であれば拡張TSパケットはバッファー上で待機させる。その差分が、再生制御機内部のバッファーでジッター補償できる範囲を超える場合は、該当する拡張TSパケットを廃棄するよう制御する(図4のSTEP76)。
The TS decoder 34 converts the MPEG2-TSP into a form that the AV decoder 35 can AV-decode and outputs. The AV decoder 35 AV-decodes the data input to the AV decoder 35 and outputs it. If the time stamp and the system clock counter value do not match in STEP 72, the playback controller 33 verifies the difference (STEP 75 in FIG. 4). If the difference is within a range where jitter can be compensated by a buffer (not shown) in the playback controller 33, the extended TS packet is made to wait on the buffer. If the difference exceeds the range in which the jitter can be compensated by the buffer in the playback controller, control is performed to discard the corresponding extended TS packet (STEP 76 in FIG. 4).

次に受信パケット構成について説明する。図6では、スーパーカプセル内の拡張TSパケット数は7つのイーサネット(登録商標)パケット(1398バイト)を受信する例を示している。   Next, the received packet configuration will be described. FIG. 6 shows an example in which the number of extended TS packets in the supercapsule receives seven Ethernet (registered trademark) packets (1398 bytes).

データ領域は1356バイトのUDP/IPパケットを有しており、更にそのデータ領域は1352バイトのスーパーカプセルを有している。スーパーカプセルにはMPEG2−TSPにタイムスタンプを含む4バイトのヘッダーを付加した拡張TSパケットが7つカプセル化されている。また、スーパーカプセルは拡張TSパケットを識別するための識別値とカプセルカウンタ値と拡張TSパケットサイズと拡張TSパケット数を含む8バイトのヘッダーを有している。   The data area has a 1356-byte UDP / IP packet, and the data area has a 1352-byte supercapsule. In the super capsule, seven extended TS packets in which a 4-byte header including a time stamp is added to MPEG2-TSP are encapsulated. The super capsule has an 8-byte header including an identification value for identifying an extended TS packet, a capsule counter value, an extended TS packet size, and the number of extended TS packets.

通信網においては、最大伝播パケット単位であるMTUを制限している場合が多い。そして、パケットデータサイズがMTUをオーバーしている場合は、通信網においてパケットを分割する場合が多い。   In communication networks, there are many cases where the MTU, which is the maximum propagation packet unit, is limited. When the packet data size exceeds the MTU, the packet is often divided in the communication network.

インターネットではこのような処理をフラグメントと言う。フラグメント後に発生したパケットロスやジッタ−の補償を受信側単独で行うことは困難である。したがって、本実施の形態では、スーパーカプセル内の拡張TSパケット数を7つに設定している。これは、イーサネット(登録商標)通信網におけるMTU1500バイトに対しイーサネット(登録商標)パケットのデータ領域のデータサイズがオーバーしないようにするためである。   Such processing is called a fragment on the Internet. It is difficult for the receiving side alone to compensate for packet loss and jitter generated after fragmentation. Therefore, in this embodiment, the number of extended TS packets in the super capsule is set to seven. This is to prevent the data size of the data area of the Ethernet (registered trademark) packet from exceeding the MTU 1500 bytes in the Ethernet (registered trademark) communication network.

MPEG2−TSPのデータサイズは、エンコーダーの仕様により188バイト固定で
ある。したがって、拡張TSパケットのデータサイズは192バイトとなり、イーサネット(登録商標)通信網におけるMTU1500バイトを満たしながらスーパーカプセルに格納できる拡張トランスポートパケット数は最大7つとなる。
The data size of MPEG2-TSP is fixed at 188 bytes according to the encoder specifications. Therefore, the data size of the extended TS packet is 192 bytes, and the maximum number of extended transport packets that can be stored in the super capsule while satisfying MTU 1500 bytes in the Ethernet (registered trademark) communication network is seven.

このようにフラグメントを防止することで、以上に説明したように、通信網においてパケットロスが発生した場合は個々のスーパーカプセルに付加されているカプセルカウント値を利用してロスパケットの再送を要求する。そして、再送されたパケットを蓄積デバイスに蓄積するときにカプセルカウント値を用いてパケットロスの補償を行う。   By preventing fragmentation in this way, as described above, when packet loss occurs in the communication network, a retransmission of the lost packet is requested using the capsule count value added to each super capsule. . Then, when the retransmitted packet is stored in the storage device, the packet loss is compensated using the capsule count value.

また、再生時には個々の拡張TSパケットに含まれる再生用タイムスタンプを用いることで、通信網で発生するジッタ−の補償を、システムクロックの精度で正確に行う。更に、前述したようにコンテンツ送信器とコンテンツ受信器とのデコードのタイミングを制御するジッター補償や再送制御するパケットロス補償の連携制御により、それらの補償を確実に効率良く行う。   Further, by using a reproduction time stamp included in each extended TS packet at the time of reproduction, the jitter generated in the communication network is compensated accurately with the accuracy of the system clock. Further, as described above, the compensation is reliably and efficiently performed by the cooperative control of the jitter compensation for controlling the decoding timing of the content transmitter and the content receiver and the packet loss compensation for the retransmission control.

なお、通信網はイーサネット(登録商標)を使用するインターネットに限定するものではない。例えば、USBや、携帯電話などの無線通信網などであっても良い。また圧縮方式はMPEG2に限定しない。例えば、MPEG4やその他の方式であっても良い。   The communication network is not limited to the Internet using Ethernet (registered trademark). For example, a wireless communication network such as a USB or a mobile phone may be used. The compression method is not limited to MPEG2. For example, MPEG4 or other methods may be used.

また、再生制御器33はMPEG2―TSPを、コンテンツ受信器から、バス上に接続されるAVデコーダーに出力する場合もある。この場合、再生制御器33はIEEE1394インターフェース(図示せず)などの外部出力用インターフェースに接続される。また、MPEG2―TSPはインターフェースにより定められるアイソクロナスパケットに格納される。   The playback controller 33 may output MPEG2-TSP from the content receiver to an AV decoder connected on the bus. In this case, the regeneration controller 33 is connected to an external output interface such as an IEEE 1394 interface (not shown). MPEG2-TSP is stored in an isochronous packet defined by the interface.

また、TSデコーダー34をIEEE1394インターフェース(図示せず)などの外部出力用インターフェースに接続し、TSデコーダー34の出力を外部のAVデコーダーに送信する構成としても良い。この場合、外部出力用インターフェースは、インターフェースの規格により定められるアイソクロナスパケットにMPEG2−TSPを格納して出力する。   The TS decoder 34 may be connected to an external output interface such as an IEEE 1394 interface (not shown), and the output of the TS decoder 34 may be transmitted to an external AV decoder. In this case, the external output interface stores and outputs MPEG2-TSP in an isochronous packet determined by the interface standard.

(実施の形態2)
図12は実施の形態2によるコンテンツ送信器の構成を示す図である。図13は実施の形態2によるIEEE1394インターフェースの構成を示す図である。図14は実施の形態2によるコンテンツ受信器でのパケット構成の推移を示す図である。図15と図16は実施の形態2によるIEEE1394インターフェースが送信するパケットの構成を示す図である。
(Embodiment 2)
FIG. 12 is a diagram showing a configuration of a content transmitter according to the second embodiment. FIG. 13 is a diagram showing the configuration of the IEEE 1394 interface according to the second embodiment. FIG. 14 is a diagram showing the transition of the packet configuration in the content receiver according to the second embodiment. FIG. 15 and FIG. 16 are diagrams showing a configuration of a packet transmitted by the IEEE 1394 interface according to the second embodiment.

図12において、インターネット網から受信したパケットを蓄積デバイス32で蓄積するまでの構成および動作は実施の形態1と同じであるので説明は省略する。読み出し制御器36は、マイコン29の指示によって蓄積デバイス32に蓄積されている拡張TSパケットを、拡張TSパケット読み出しクロック生成器37が生成する所定の周波数のクロックに同期させて読み出す。その場合、図14のS10で示すように各拡張TSパケット間に所定の時間間隔を挿入して出力する(図14のS10)。その間隔は、時間間隔挿入後の拡張TSパケットのビットレートがコンテンツ送信器の拡張TSパケット送出時のビットレート以上になるように、クロック再生器37のクロック周波数に応じて設定される。   In FIG. 12, since the configuration and operation until the storage device 32 stores packets received from the Internet network are the same as those in the first embodiment, description thereof is omitted. The read controller 36 reads the extended TS packet stored in the storage device 32 according to an instruction from the microcomputer 29 in synchronization with a clock having a predetermined frequency generated by the extended TS packet read clock generator 37. In that case, as shown by S10 in FIG. 14, a predetermined time interval is inserted between the extended TS packets and output (S10 in FIG. 14). The interval is set according to the clock frequency of the clock regenerator 37 so that the bit rate of the extended TS packet after the time interval is inserted is equal to or higher than the bit rate at the time of transmitting the extended TS packet of the content transmitter.

IEEE1394インターフェース38は、IEEE1394規格に準拠している。また、IEEE1394インターフェース38は、IEEE1394インターフェース38に入力される拡張TSパケットを、アイソクロナス転送モードで出力する(図14のS11
)。S11において、ISOとはIEEE1394インターフェースで付加されるヘッダ
ーである。読み出し制御器36とIEEE1394インターフェース38間の伝送信号は、MPEG2−TSと同様にデータ信号、クロック信号、パケットスタート信号、データイネーブル信号で構成される。また、拡張TSパケットを送信する際に、IEEE1394インターフェース38にはマイコンにより拡張TSパケット情報が設定される。これについて説明する。
The IEEE 1394 interface 38 conforms to the IEEE 1394 standard. Further, the IEEE 1394 interface 38 outputs the extended TS packet input to the IEEE 1394 interface 38 in the isochronous transfer mode (S11 in FIG. 14).
). In S11, ISO is a header added by the IEEE1394 interface. The transmission signal between the read controller 36 and the IEEE 1394 interface 38 is composed of a data signal, a clock signal, a packet start signal, and a data enable signal as in the case of MPEG2-TS. Further, when transmitting an extended TS packet, extended TS packet information is set in the IEEE 1394 interface 38 by a microcomputer. This will be described.

図13はIEEE1394インターフェース38の構成を示した図である。MPEG2インターフェース41には、拡張TSパケットのストリームが入力される。DTCP暗号化回路42は、MPEG2インターフェース41から出力された拡張TSパケットにDTCP(Digital Transmission Content Protection)規格に則った著作権保護の為の暗号化を行い、出力する。ヘッダー付加回路43は、DTCP暗号化を行ったパケットにヘッダーを付加して出力する。このヘッダーはアイソクロナス転送するために必要なヘッダーである。   FIG. 13 is a diagram showing the configuration of the IEEE 1394 interface 38. A stream of extended TS packets is input to the MPEG2 interface 41. The DTCP encryption circuit 42 performs encryption for copyright protection on the extended TS packet output from the MPEG2 interface 41 in accordance with the DTCP (Digital Transmission Content Protection) standard, and outputs the result. The header addition circuit 43 adds a header to the packet subjected to DTCP encryption and outputs the packet. This header is necessary for isochronous transfer.

パケットフォーマット情報付加回路44には、拡張TSパケットのフォーマットを指定する情報がホストインターフェース46を介してマイコンから入力される。そして、パケットフォーマット情報付加回路44は、ヘッダーの所定の位置に、アイソクロナス転送するパケットのデータフォーマットを拡張TSパケットと識別するための情報を書き込む処理を行う。   Information specifying the format of the extended TS packet is input to the packet format information adding circuit 44 from the microcomputer via the host interface 46. Then, the packet format information adding circuit 44 performs a process of writing information for identifying the data format of the packet to be isochronously transferred as an extended TS packet at a predetermined position of the header.

パケットデータサイズ情報付加回路45には、拡張TSパケットのデータサイズを指定する情報がホストインターフェース46を介してマイコンから入力される。そして、パケットデータサイズ情報付加回路45は、その情報を元にアイソクロナスパケットのデータサイズを算出して決定する。あるいは、パケットデータサイズ情報付加回路45には、拡張TSパケットを格納するアイソクロナスパケットサイズの情報が、ホストインターフェース46を介してマイコンから入力される。そして、パケットデータサイズ情報付加回路45は、ヘッダーの所定の位置にアイソクロナス転送するパケットのデータサイズの情報を書き込む処理を行う。   Information specifying the data size of the extended TS packet is input to the packet data size information adding circuit 45 from the microcomputer via the host interface 46. Then, the packet data size information adding circuit 45 calculates and determines the data size of the isochronous packet based on the information. Alternatively, isochronous packet size information for storing extended TS packets is input to the packet data size information adding circuit 45 from the microcomputer via the host interface 46. Then, the packet data size information adding circuit 45 performs a process of writing information on the data size of the packet to be isochronously transferred at a predetermined position of the header.

ここで、拡張TSパケットに対する付加ヘッダーについて説明する。図15と図16はMPEG2パケットについて規定したIEC61883−4とは異なるフォーマットである。図15は拡張TSパケットにアイソクロナスヘッダーのみが付加される例を示した図である。この場合はパケットデータサイズのみを図15に示すデータ長領域に書き込む。もし、拡張TSパケットのデータサイズが192バイトであれば、192を3倍した576バイトと、アイソクロナスヘッダーとデータCRCの12バイトとを足した588バイトを示すデータを図15のデータ長領域に書き込む。   Here, an additional header for the extended TS packet will be described. FIG. 15 and FIG. 16 are different formats from IEC61883-4 defined for MPEG2 packets. FIG. 15 is a diagram showing an example in which only an isochronous header is added to the extended TS packet. In this case, only the packet data size is written in the data length area shown in FIG. If the data size of the extended TS packet is 192 bytes, data indicating 588 bytes obtained by adding 576 bytes multiplied by 3 to 192 and 12 bytes of the isochronous header and the data CRC is written in the data length area of FIG. .

図16は、アイソクロナスヘッダーと共通ヘッダーとを拡張TSパケットに有する例を示した図である。ここでは、パケットデータサイズを図16のアイソクロナスヘッダーのデータ長領域に書き込み、拡張TSパケットを識別する為の情報を共通ヘッダーのフォーマット領域に書き込む。もし、拡張TSパケットのデータサイズが192バイトであれば、Reserved領域の4と192を加えた数字を3倍した588バイトと、アイソクロナスヘッダーと共通ヘッダーとデータCRCの16バイトと、Reservedの4バイトを足した608バイトを示すデータを図16に示す領域書き込む。Reserved領域は将来の拡張のための領域である。拡張TSパケットを識別する為の情報は現在運用されているデータがあれば、それらを除いた範囲で予めコンテンツ送信側と決定されるデータである。   FIG. 16 is a diagram illustrating an example in which an isochronous header and a common header are included in an extended TS packet. Here, the packet data size is written in the data length area of the isochronous header of FIG. 16, and information for identifying the extended TS packet is written in the format area of the common header. If the data size of the extended TS packet is 192 bytes, 588 bytes, which is 3 times the number obtained by adding 4 and 192 in the Reserved area, 16 bytes for the isochronous header, common header, data CRC, and 4 bytes for Reserved. The area 608 shown in FIG. 16 is written with data indicating 608 bytes obtained by adding. The Reserved area is an area for future expansion. The information for identifying the extended TS packet is data determined in advance as the content transmission side within a range excluding any data currently in operation.

図15と図16は、拡張TSパケットが3パケット格納されているアイソクロナスパケ
ットの例であるが、パケット数は3に限定しない。例えば、このパケット数は4でも2でも1でも良い。また、拡張TSパケットのデータサイズは192バイトの例であるが、特に限定しない。例えば、拡張TSパケットのデータサイズは196バイトであっても良い。
FIGS. 15 and 16 are examples of isochronous packets in which three extended TS packets are stored, but the number of packets is not limited to three. For example, the number of packets may be 4, 2, or 1. The data size of the extended TS packet is an example of 192 bytes, but is not particularly limited. For example, the data size of the extended TS packet may be 196 bytes.

図13に示すIEEE1394アイソクロナスパケット送出回路47は、IEEE1394規格に則ったデータリンク層および物理層のプロトコルを実現する回路で構成されている。また、IEEE1394アイソクロナスパケット送出回路47は、IEEE1394アイソクロナスパケット送出回路47に入力されるヘッダーを付加されたパケットを1394バスに送出する。   The IEEE 1394 isochronous packet transmission circuit 47 shown in FIG. 13 includes a circuit that implements a data link layer and physical layer protocol in accordance with the IEEE 1394 standard. The IEEE 1394 isochronous packet transmission circuit 47 transmits a packet to which the header input to the IEEE 1394 isochronous packet transmission circuit 47 is added to the 1394 bus.

以上説明したように実施の形態2では、IEEE1394インターフェースを介して拡張TSパケットを送信可能となる。また、本実施の形態2におけるコンテンツ受信器において、1394バス上に、TSデコーダー(図示せず)およびAVデコーダ(図示せず)を別途接続した構成としても実施の形態1で説明した効果を実現できる。   As described above, in the second embodiment, an extended TS packet can be transmitted via the IEEE 1394 interface. Further, in the content receiver according to the second embodiment, the effect described in the first embodiment is realized even if a TS decoder (not shown) and an AV decoder (not shown) are separately connected on the 1394 bus. it can.

以上のように本発明のコンテンツ受信器によれば、通信網において発生するパケットロスを受信側で補償することができずパケットロスが発生した場合にデコードエラーとなってしまうことを防止でき、デジタルテレビジョン放送受信機、パーソナルコンピュータ、携帯電話機、携帯情報端末機および携帯電話アダプターに有用である。   As described above, according to the content receiver of the present invention, it is possible to prevent a packet loss occurring in a communication network from being compensated on the receiving side and to prevent a decoding error when a packet loss occurs. It is useful for a television broadcast receiver, a personal computer, a mobile phone, a personal digital assistant, and a mobile phone adapter.

また、本発明のコンテンツ送信器によれば、受信側において、データを蓄積する際に到着時刻を無視して効率よく蓄積デバイスに蓄積できる。また、再生時には、デコーダーに出力する時刻を示すタイムスタンプを用いてデコーダーの求める精度で再生することができる。これにより、ジッター補償精度がデコードする上で不十分な場合にデコードエラーとなることを防止でき、デジタルテレビジョン放送受信機、パーソナルコンピュータ、携帯電話機、携帯情報端末機および携帯電話アダプターに有用である。   Further, according to the content transmitter of the present invention, the data can be efficiently stored in the storage device on the receiving side while ignoring the arrival time when storing the data. Further, at the time of reproduction, reproduction can be performed with the accuracy required by the decoder using a time stamp indicating the time to be output to the decoder. This can prevent a decoding error when the jitter compensation accuracy is insufficient for decoding, and is useful for digital television broadcast receivers, personal computers, mobile phones, portable information terminals, and mobile phone adapters. .

本発明の実施の形態1によるコンテンツ送信器のブロック図Block diagram of a content transmitter according to Embodiment 1 of the present invention 本発明の実施の形態1によるコンテンツ受信器のブロック図Block diagram of a content receiver according to Embodiment 1 of the present invention 本発明の実施の形態1によるコンテンツ受信器での第一の動作フローチャートFirst operation flowchart in the content receiver according to the first embodiment of the present invention. 本発明の実施の形態1によるコンテンツ受信器での第二の動作フローチャートSecond operation flowchart in the content receiver according to the first embodiment of the present invention. 本発明の実施の形態1によるパケット構成の推移を示す図The figure which shows the transition of the packet structure by Embodiment 1 of this invention. 本発明の実施の形態1によるイーサネット(登録商標)パケット構成を示す図The figure which shows the Ethernet (trademark) packet structure by Embodiment 1 of this invention. 従来のコンテンツ送信器のブロック図Block diagram of a conventional content transmitter 従来のコンテンツ受信器のブロック図Block diagram of a conventional content receiver 従来のコンテンツ受信器の動作フローチャートOperation flowchart of conventional content receiver 従来のパケット構成の推移を示す図Figure showing the transition of the conventional packet structure 従来のパケット構成を示す図Diagram showing conventional packet configuration 本発明の実施の形態2によるコンテンツ受信器のブロック図Block diagram of a content receiver according to Embodiment 2 of the present invention 本発明の実施の形態2によるコンテンツ受信器のIEEE1394インターフェースのブロック図Block diagram of the IEEE 1394 interface of the content receiver according to the second embodiment of the present invention. 本発明の実施の形態2によるパケット構成推移を示す図The figure which shows the packet structure transition by Embodiment 2 of this invention. 本発明の実施の形態2による第一のIEEE1394パケット構成を示す図The figure which shows the 1st IEEE1394 packet structure by Embodiment 2 of this invention. 本発明の実施の形態2による第二のIEEE1394パケット構成を示す図The figure which shows the 2nd IEEE1394 packet structure by Embodiment 2 of this invention.

符号の説明Explanation of symbols

1 ビデオエンコーダー
2 オーディオエンコーダー
3 データエンコーダー
4 システムクロック生成器
5 ストリーム多重器
6 スクランブラ
7 タイムスタンプ付加器
8 スーパーカプセル化器
9 UDP/IPパケット化器
10 イーサネット(登録商標)パケット化器
11 送信機
12 受信機
13 再送コマンド検出器
14 マイコン
15 蓄積バッファー
21 受信器
22 イーサネット(登録商標)パケット処理器
23 UDP/IPパケット処理器
24 カプセル処理器
25 デスクランブラ
26 タイムスタンプバッファー
27 拡張TS再生器
28 蓄積制御器
29 マイコン
31 送信器
32 蓄積デバイス
33 再生制御器
34 TSデコーダー
35 AVデコーダー
36 読み出し制御器
37 拡張TSパケット読み出しクロック生成器
38 IEEE1394インターフェース
41 MPEG2インターフェース
42 DTCP暗号化回路
43 ヘッダー付加回路
44 パケットフォーマット情報付加回路
45 パケットデータサイズ情報付加回路
46 ホストインターフェース
47 IEEE1394パケット送出回路
DESCRIPTION OF SYMBOLS 1 Video encoder 2 Audio encoder 3 Data encoder 4 System clock generator 5 Stream multiplexer 6 Scrambler 7 Time stamp adder 8 Super encapsulator 9 UDP / IP packetizer 10 Ethernet (registered trademark) packetizer 11 Transmitter DESCRIPTION OF SYMBOLS 12 Receiver 13 Retransmission command detector 14 Microcomputer 15 Accumulation buffer 21 Receiver 22 Ethernet (trademark) packet processor 23 UDP / IP packet processor 24 Capsule processor 25 Descrambler 26 Timestamp buffer 27 Extended TS regenerator 28 Accumulation Controller 29 Microcomputer 31 Transmitter 32 Storage device 33 Playback controller 34 TS decoder 35 AV decoder 36 Read controller 37 Extended TS packet read clock generation 38 IEEE 1394 interface 41 MPEG2 interface 42 DTCP encryption circuit 43 Header addition circuit 44 Packet format information addition circuit 45 Packet data size information addition circuit 46 Host interface 47 IEEE 1394 packet transmission circuit

Claims (1)

圧縮されたトランスポートパケットから構成されるストリームにより形成されるコンテンツを送信する送信器において、前記コンテンツを送信する送信手段と、トランスポートパケットのシステムクロックを用いて受信側が蓄積手段から再生する際の時刻を指示する再生時刻指示情報を生成する再生時刻指示情報生成手段と、前記送信手段は送信する個々のトランスポートパケットに前記再生時刻指示情報を付加した拡張トランスポートパケットを送信するコンテンツ送信器。 In a transmitter for transmitting content formed by a stream composed of compressed transport packets, a transmission means for transmitting the content, and a reception side using the system clock of the transport packet to reproduce from the storage means Reproduction time instruction information generating means for generating reproduction time instruction information for indicating a time, and a content transmitter for transmitting an extended transport packet in which the reproduction time instruction information is added to each transport packet to be transmitted.
JP2007332073A 2002-07-16 2007-12-25 Content receiver Expired - Lifetime JP4561822B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007332073A JP4561822B2 (en) 2002-07-16 2007-12-25 Content receiver

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002206780 2002-07-16
JP2007332073A JP4561822B2 (en) 2002-07-16 2007-12-25 Content receiver

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007093265A Division JP4135763B2 (en) 2002-07-16 2007-03-30 Content receiver

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2010134745A Division JP5170166B2 (en) 2002-07-16 2010-06-14 Content receiver
JP2010134744A Division JP4666110B2 (en) 2002-07-16 2010-06-14 Content receiver

Publications (2)

Publication Number Publication Date
JP2008136228A true JP2008136228A (en) 2008-06-12
JP4561822B2 JP4561822B2 (en) 2010-10-13

Family

ID=39560690

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007332073A Expired - Lifetime JP4561822B2 (en) 2002-07-16 2007-12-25 Content receiver

Country Status (1)

Country Link
JP (1) JP4561822B2 (en)

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0897837A (en) * 1994-09-22 1996-04-12 Sony Corp Packet receiver
JPH08191330A (en) * 1994-11-10 1996-07-23 Sony Corp System and method for encoding, system and method for decoding, device and method for recording encoded data, device and method for transmitting encoded data, and recording medium
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
JPH10313350A (en) * 1997-05-13 1998-11-24 Matsushita Electric Ind Co Ltd Communication system
JPH1141193A (en) * 1997-07-16 1999-02-12 Hitachi Ltd Data packet re-multiplexing method and re-multiplexer
JPH1188856A (en) * 1997-09-05 1999-03-30 Hitachi Ltd Transmission protocol converting system and catv network connecting system using protocol converting device
JPH11308203A (en) * 1998-04-24 1999-11-05 Mitsubishi Electric Corp Clock reproduction system
JP2000307637A (en) * 1999-04-16 2000-11-02 Nec Corp Multimedia terminal device and inter-network connecting device
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
JP2001136503A (en) * 1999-11-04 2001-05-18 Nec Corp Video conference terminal and image and sound reproducing method used for the same
JP2001320413A (en) * 2000-05-02 2001-11-16 Sony Corp Data transmitter and method
JP2002051321A (en) * 2000-08-04 2002-02-15 Sony Corp Digital video transmitter, digital video receiver and digital video transmitter-receiver
JP2002141917A (en) * 2000-08-22 2002-05-17 Matsushita Electric Ind Co Ltd Transmitter, source packet generator, packet form decision method, medium and information aggregate
JP2002152273A (en) * 2000-11-13 2002-05-24 Nippon Telegr & Teleph Corp <Ntt> Delay fluctuation absorbing method and packet arrangement adjustment device

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0897837A (en) * 1994-09-22 1996-04-12 Sony Corp Packet receiver
JPH08191330A (en) * 1994-11-10 1996-07-23 Sony Corp System and method for encoding, system and method for decoding, device and method for recording encoded data, device and method for transmitting encoded data, and recording medium
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
JPH10313350A (en) * 1997-05-13 1998-11-24 Matsushita Electric Ind Co Ltd Communication system
JPH1141193A (en) * 1997-07-16 1999-02-12 Hitachi Ltd Data packet re-multiplexing method and re-multiplexer
JPH1188856A (en) * 1997-09-05 1999-03-30 Hitachi Ltd Transmission protocol converting system and catv network connecting system using protocol converting device
JPH11308203A (en) * 1998-04-24 1999-11-05 Mitsubishi Electric Corp Clock reproduction system
JP2000332831A (en) * 1999-03-17 2000-11-30 Sony Corp Communication device, communication method and recording medium
JP2000307637A (en) * 1999-04-16 2000-11-02 Nec Corp Multimedia terminal device and inter-network connecting device
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
JP2001136503A (en) * 1999-11-04 2001-05-18 Nec Corp Video conference terminal and image and sound reproducing method used for the same
JP2001320413A (en) * 2000-05-02 2001-11-16 Sony Corp Data transmitter and method
JP2002051321A (en) * 2000-08-04 2002-02-15 Sony Corp Digital video transmitter, digital video receiver and digital video transmitter-receiver
JP2002141917A (en) * 2000-08-22 2002-05-17 Matsushita Electric Ind Co Ltd Transmitter, source packet generator, packet form decision method, medium and information aggregate
JP2002152273A (en) * 2000-11-13 2002-05-24 Nippon Telegr & Teleph Corp <Ntt> Delay fluctuation absorbing method and packet arrangement adjustment device

Also Published As

Publication number Publication date
JP4561822B2 (en) 2010-10-13

Similar Documents

Publication Publication Date Title
JP4666110B2 (en) Content receiver
RU2273111C2 (en) Method for transformation of packet stream of information signals to stream of information signals with time stamps and vice versa
EP0838926A2 (en) Apparatus and method for transmitting and receiving isochronous data
US8966241B2 (en) Apparatus and method for sending encrypted data to conditional access module over common interface, conditional access module and system thereof
KR20060025559A (en) Simultaneously transporting multiple mpeg-2 transport streams
KR20100050516A (en) Streaming data content in a network
JP2004194295A (en) Packet transmitting/receiving device
EP1089488A1 (en) Information processing system, information processing method, and information processing device
EP1705842B1 (en) Apparatus for receiving packet stream
KR20050120652A (en) Transmission/reception system, transmission device and method, reception device and method, recording medium, and program
JP4135763B2 (en) Content receiver
JP4561822B2 (en) Content receiver
KR100919216B1 (en) Method and apparatus for transmitting and receiving data
US6763037B1 (en) Transmitting apparatus and method, receiving apparatus and method
JPH1173729A (en) Recording and reproducing device
KR100636107B1 (en) Apparatus for realtime data processing and method thereof
JP2006211227A (en) Apparatus and method for data transmission
GB2490492A (en) Encrypted data format conversion for a conditional access module (CAM)
JPH08307453A (en) Data receiving device
JP2011254275A (en) Reception device and reception method
JP2008085872A (en) Network system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080121

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20091127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100427

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100614

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: 20100706

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100719

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

Free format text: PAYMENT UNTIL: 20130806

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4561822

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20130806

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130806

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20140806

Year of fee payment: 4

EXPY Cancellation because of completion of term