Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4035802B2 - Packet generating apparatus, packet reproducing apparatus and methods thereof - Google Patents
[go: Go Back, main page]

JP4035802B2 - Packet generating apparatus, packet reproducing apparatus and methods thereof - Google Patents

Packet generating apparatus, packet reproducing apparatus and methods thereof Download PDF

Info

Publication number
JP4035802B2
JP4035802B2 JP36298298A JP36298298A JP4035802B2 JP 4035802 B2 JP4035802 B2 JP 4035802B2 JP 36298298 A JP36298298 A JP 36298298A JP 36298298 A JP36298298 A JP 36298298A JP 4035802 B2 JP4035802 B2 JP 4035802B2
Authority
JP
Japan
Prior art keywords
packet
header
position information
length
pes
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.)
Expired - Fee Related
Application number
JP36298298A
Other languages
Japanese (ja)
Other versions
JP2000188579A (en
Inventor
守 久々宮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP36298298A priority Critical patent/JP4035802B2/en
Publication of JP2000188579A publication Critical patent/JP2000188579A/en
Application granted granted Critical
Publication of JP4035802B2 publication Critical patent/JP4035802B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明はパケット生成装置及びパケット再生装置並びにこれらの方法に関し、例えばディジタルテレビジョン放送に用いるパケット生成装置及びパケット再生装置に適用して好適なものである。
【0002】
【従来の技術】
従来、映像信号をディジタル化し衛星を介して放送するディジタル衛星放送が開始されている。このようなディジタル衛星放送では、送信側において複数の映像信号をそれぞれMPEG(Moving Picture Experts Group)2方式を用いて圧縮符号化した後多重化して送信する。そして受信側では受信した放送波をMPEG2方式を用いて復号し表示する。
【0003】
図8は全体としてディジタル衛星放送システム1を示し、同一構成でなる符号化部5A〜5Cは、それぞれ外部から供給される映像信号及び音声信号をMPEG(Moving Picture Experts Group)2方式を用いて圧縮符号化し、これらを所定パケット長のPES(Packetized Elementary Stream)パケットが連続してなるビットストリームS5A〜S5Cとして多重化装置9に出力する。
【0004】
多重化装置9が有する多重バッファ11A〜11Cは、それぞれビットストリームS5A〜S5Cを入力して一旦蓄える。選択部8は、多重バッファ11A〜11Cに蓄えられたビットストリームS5A〜S5Cを所定のタイミングで切り換えて読み出すことにより、ビットストリームS5A〜S5Cを構成する各PESパケットを188バイト長でなるトランスポートパケットに分割した後多重し、トランスポートパケットが連続してなるトランスポートストリームS9として誤り訂正符号付加部30に出力する。
【0005】
誤り訂正符号付加部30は、トランスポートストリームS9に対して所定の誤り訂正符号を付加して変調部40に出力する。変調部40はトランスポートストリームS9を所定の変調方式で変調し、放送信号S3として送信アンテナ41を介して衛星50に送信する。衛星50は放送信号S3を受信して増幅し、これを放送信号S4として再送信する。
【0006】
IRD(Integrated Receiver Decorder:受信復号装置)60は、受信アンテナ42を介して放送信号S4を受信し、当該放送信号S4を復調した後MPEG2方式を用いて復号して映像信号S64及び音声信号S65を生成し、テレビジョン受像機100に出力する。テレビジョン受像機100は映像信号S64を表示するとともに、音声信号S65をスピーカ(図示せず)で再生する。
【0007】
このような多重化装置においては、PESパケットをトランスポートパケットに分割する際に、PESヘッダの位置をTP(Transport Packet)ヘッダの直後に位置するように調整するアライメントと呼ばれる処理が行われる。
【0008】
図9はアライメント処理を示し、あるトランスポートパケットTP1がPESパケットデータの最後尾部分D1を含み、さらに当該PESパケットデータ最後尾部分D1のデータ長がトランスポートパケットTP1のペイロード長Lp に満たない場合、TPヘッダHtpとPESパケットデータ最後尾部分D1との間に無効データ(以下これをダミーデータDdum と呼ぶ)を付加し、続くトランスポートパケットTP1ではTPヘッダHt に続いてPESヘッダHp をそのまま付加する。かかるアライメント処理を行うことによりPESヘッダHpes が2つのトランスポートパケットTP1及びTP1の間で分割されることがなくなり、復号の際にトランスポートストリームからPESヘッダを分離しやすいという利点が生ずる。
【0009】
図10は多重バッファ11A〜11C(図7)におけるビットストリームS5A〜S5Cのバッファ占有量遷移を表し、横軸に時間を示し、縦軸に各バッファの占有量をトランスポートパケット単位で示している。
【0010】
各多重バッファ11A〜11Cに常に一定のレートで入力した場合、各多重バッファ11A〜11Cには1タイムスロット毎にトランスポートパケットの1/3に相当する量のビットストリームが蓄積されていき、同時に各多重バッファからはそれぞれ3タイムスロットに1回の割合で1トランスポートパケット分のデータが読みだされていく。ここで実線は多重バッファ11Aの占有量SAを示し、当該多重バッファ11AはタイムスロットA1〜AnのタイミングでビットストリームS5Aの読み出しが行われる。同様に破線は多重バッファ11Bの占有量SBを示し、当該多重バッファ11BはタイムスロットB1〜BnのタイミングでビットストリームS5Bの読み出しが行わる。また点線は多重バッファ11Cの占有量SCを示し、当該多重バッファ11CはタイムスロットC1〜CnのタイミングでビットストリームS5Cの読み出しが行われる。
【0011】
【発明が解決しようとする課題】
ここで、図10に示すタイムスロットC2においてビットストリームS5Cに対してアライメント処理が行われており、このため多重バッファ11Cからは本来読みだされるデータの一部しか読みだされておらず、多重バッファ11CにおけるビットストリームS5Cのバッファ占有量が増大している。かかるアライメント処理は各PESパケット毎に一回発生し、極端な場合、1タイムスロットで1バイトしかデータが読みだされない場合もある。
【0012】
このように、アライメント処理を行うことにより多重バッファからのビットストリームの読出し量が減少し、多重バッファにおける遅延が発生するとともに、トランスポートパケットにダミーデータが付加されることによりパケット化効率が低下するという問題を有している。
【0013】
本発明は以上の点を考慮してなされたもので、簡易な構成による、パケット化効率を向上したパケット生成装置及びパケット再生装置並びにこれらの方法を提案しようとするものである。
【0014】
【課題を解決するための手段】
かかる課題を解決するため本発明においては、所定パケット長でなり先頭部分にヘッダを有する第1のパケットが連続してなるデータ列から、第1のパケットより短いパケット長でなり先頭部分にヘッダを有する第2のパケットを生成する、ディジタルテレビジョン放送システムにおけるパケット生成装置において、データ列を構成する第1のパケットを第2のパケットに分割し、当該第2のパケットが第1のパケットの最後尾部分を含み、そのデータ長が当該第2のパケットのヘッダを除いた部分のペイロード長に満たない場合、続く第1のパケットを当該第1のパケットのヘッダから最後尾部分に付加するパケット分割付加手段と、第2のパケットに第1のパケットのヘッダが含まれる場合当該第2のパケットに第1のパケットのヘッダが含まれる旨及び当該ヘッダの位置を示すヘッダ位置情報を第2のパケットの所定領域に付加するヘッダ位置情報付加手段とを設けた。
【0015】
第2のパケットが第1のパケットの最後尾部分を含み、そのデータ長が当該第2のパケットのヘッダを除いた部分のペイロード長に満たない場合、続く第1のパケットを分割して最後尾部分に付加することにより、第2のパケットに対するダミーデータの付加を回避し、パケット化効率を向上することができ、また第1のパケットのヘッダを含む第2のパケットの所定領域に、当該第2のパケットに当該第1のパケットのヘッダが含まれる旨及び当該ヘッダの位置を示すヘッダ位置情報を付加するようにしたことにより、第1のパケットのヘッダを分割した場合でも第1のパケットを再生側で容易に再生させることができる。
【0016】
また本発明においては、所定パケット長でなり先頭部分にヘッダを有する第1のパケットが連続してなるデータ列を当該第1のパケットより短いパケット長で分割することにより生成された、先頭部分にヘッダを有する第2のパケットを入力し、当該第2のパケットに基づいて第1のパケットを再生する、ディジタルテレビジョン放送システムにおけるパケット再生装置において、第1のパケットのヘッダを含む第2のパケットの所定領域に付加された、当該第2のパケットに第1のパケットのヘッダが含まれる旨及び当該ヘッダの位置を示すヘッダ位置情報に基づいて、当該第2のパケットに含まれる第1のパケットのヘッダの位置を解析するヘッダ位置解析手段と、解析結果に基づいて、第2のパケットから第1のパケットを再生する際に当該第1のパケットのヘッダの中身を再生するパケット再生手段とを設けた。
【0017】
第1のパケットのヘッダを含む第2のパケットに付加された、当該第2のパケットに第1のパケットのヘッダが含まれる旨及び当該ヘッダの位置を示すヘッダ位置情報を参照することにより、第1のパケットのヘッダが分割されている場合でも容易に第1のパケットを再生することができる。
【0018】
【発明の実施の形態】
以下図面について本発明の一実施の形態を詳述する。
【0019】
図8との対応部分に同一符号を付して示す図1において、2は全体としてディジタル衛星放送システムを示し、同一構成でなる符号化部5A〜5Cはそれぞれ外部から供給される映像信号及び音声信号をMPEG(Moving Picture Experts Group)2方式により圧縮符号化し、第1のパケットとしてのPES(Packetized Elementary Stream)パケットが連続してなるビットストリームS5A〜S5Cとしてパケット生成装置としての多重化装置10に出力する。
【0020】
図2は全体として多重化装置10を示し、多重バッファ11A〜11CはそれぞれビットストリームS5A〜S5Cを入力して一旦蓄える。このときヘッダ解析部12はビットストリームS5A〜S5Cを常に監視しており、当該ビットストリームS5A〜S5Cを構成する各PESパケットが有するPESヘッダの位置を検出し、当該PESヘッダの位置情報をヘッダ位置情報S12として、先頭位置情報付加手段としてのTP(Transport Packet)ヘッダ生成部13、及びPTS/DTS(Presentation Time Stamp/Decoding Time Stamp :表示時刻情報/復号時刻情報)付け替え部19に出力する。
【0021】
SI(System Information:システム情報)制御部15は、トランスポートストリームの多重情報等を示すパケットであるSIパケットをトランスポートストリームに多重するときの多重間隔に基づいてSIパケット多重要求信号S15を生成し、これをチャンネル選択制御部21に出力するとともに、SIパケットファイル16に格納されているSIパケットS16を読み出し、パケット分割手段としてのチャンネル選択部17に出力する。
【0022】
チャンネル選択制御部21は、多重バッファ11A〜11Cにおけるビットストリームの占有量をバッファ占有量情報S11として常に監視しており、当該バッファ占有情報S11及びSIパケット多重要求信号S15に基づいてチャンネル選択信号S21を生成し、チャンネル選択部17に出力する。
【0023】
チャンネル選択部17は、チャンネル選択信号S21に応じて動作することによりNULLパケット生成部14、TPヘッダ生成部13、多重バッファ11A〜11C及びSIパケットファイル16から供給されるデータをトランスポートパケット単位で多重する。すなわちチャンネル選択部17は、多重バッファ11A〜11Cから供給されるビットストリームS5A〜S5Cをトランスポートパケットのペイロードとして分割するとともに当該ペイロードの先端にTPヘッダ生成部13から供給されるTPヘッダS13を付加してトランスポートパケットを生成し、当該トランスポートパケット、NULLパケット生成部14から供給されるNULLパケットS14及びSIパケットファイル16から供給されるSIパケットS16を多重し、第2のパケットとしてのトランスポートパケットが連続してなるトランスポートストリームS10を生成して出力する。NULLパケットS14は、ビットストリームS5A〜S5Cの入力が無い場合に挿入される無効データのパケットである。
【0024】
ここでチャンネル選択制御部21はPESヘッダに対してアライメント処理を行わず、PESパケットデータの最後尾に続いて次のPESパケットのPESヘッダを付加してトランスポートパケットを生成する。すなわち図3に示すように、あるトランスポートパケットTP1がPESパケットデータの最後尾部分D1を含み、さらに当該PESパケットデータ最後尾部分D1のデータ長がトランスポートパケットTP1のペイロード長Lp に満たない場合、PESパケットデータ最後尾部分D1にダミーデータを付加せず、続くPESパケットのPESヘッダHpes を分割して分割PESヘッダHpes1を生成しこれをPESパケットデータ最後尾部分D1に付加する。そして次のトランスポートパケットTP2において、分割された残りのPESヘッダHpes2をTPヘッダHtpに付加してトランスポートパケットを生成する。
【0025】
このときPESヘッダを含むトランスポートパケットには、当該トランスポートパケットにおけるPESヘッダの位置を示す情報が書き込まれる。すなわち図4に示すように、トランスポートパケットにおけるアダプテーションフィールドには、プライベートデータ領域と呼ばれるユーザが自由に使用できる領域がある。TPヘッダ生成部13(図2)はヘッダ解析部12から供給されるヘッダ位置情報S12に基づいて、TPヘッダの最後尾からPESヘッダの先頭までのデータ長を算出し、このデータ長の値を8バイト長のポインタフィールドPfとしてプライベートデータ領域に記入するとともに、TPプライベートデータ長Tprの値を、トランスポートパケットにPESヘッダが含まれていることを示す「1」と記入する。PESヘッダを含まないトランスポートパケットのTPヘッダにはポインタフィールドは記入されず、TPプライベートデータ長Tprの値を「0」と記入する。
【0026】
かくしてチャンネル選択部17は、多重バッファ11A〜11Cから供給されるビットストリームS5A〜S5CをPESヘッダに対するアライメント処理を行うことなく多重化し、トランスポートストリームS10として多重レジスタ18に一旦記憶する。
【0027】
図5は多重バッファ11A〜11C(図2)におけるビットストリームS5A〜S5Cのバッファ占有量遷移を表し、横軸に時間を示し、縦軸に各多重バッファ11A〜11Cのビットストリーム占有量をトランスポートパケット単位で示している。ビットストリームS5A〜S5Cが固定の同一レートで入力される場合、各多重バッファ11A〜11Cにはそれぞれ1タイムスロット毎にトランスポートパケットの1/3に相当する量のビットストリームS5A〜S5Cが蓄積されていき、同時に各多重バッファ11A〜11Cからはそれぞれ3タイムスロットに1回の割合で1トランスポートパケット分のビットストリームS5A〜S5Cが読みだされていく。ここで実線は多重バッファ11Aの占有量SAを示し、当該多重バッファ11AはタイムスロットA1〜AnのタイミングでビットストリームS5Aの読み出しが行われる。同様に破線は多重バッファ11Bの占有量SBを示し、当該多重バッファ11BはタイムスロットB1〜BnのタイミングでビットストリームS5Bの読み出しが行われる。また点線は多重バッファ11Cの占有量SCを示し、当該多重バッファ11CはタイムスロットC1〜CnのタイミングでビットストリームS5Cの読み出しが行われる。多重化装置10はアライメント処理を行なわないため、各多重バッファ11A〜11Cからは常に1トランスポートパケット分のデータが読みだされていく。
【0028】
PTS/DTS書き換え部19(図2)は、チャンネル選択制御部21から供給される多重情報S22及びヘッダ解析部12から供給されるヘッダ位置情報S12に応じて、多重レジスタ18に記憶されているトランスポートストリームS17のPTS及びDTSの値を、PCR(Program Crock Reference :プログラム基準時刻)と呼ばれる基準時刻に合わせて書き換える。またCC(Continuity Counter:巡回カウンタ) 付加部20は、多重レジスタ18に記憶されているトランスポートストリームS17を構成する各トランスポートパケットの所定位置に、トランスポートパケットの連続性を示す巡回カウンタを付加する。そして多重レジスタ18は、PTS及びDTSの書き換え、並びに巡回カウンタを付加したトランスポートストリームS10を誤り訂正符号付加部30(図1)に出力する。
【0029】
誤り訂正符号付加部30は、トランスポートストリームS10に対して所定の誤り訂正符号を付加して変調部40に出力する。そして変調部40はトランスポートストリームS10を所定の変調方式で変調し、放送信号S3として送信アンテナ41を介して衛星50に送信する。衛星50は放送信号S3を受信して増幅し、放送信号S3として再送信する。
【0030】
IRD(Integrated Receiver Decorder:受信復号装置)60は、受信アンテナ42を介して放送信号S4を受信する。図6は全体としてIRD60を示し、フロントエンド部61、暗号解読部62、パケット再生装置としての分離部63、制御部71、IC(Integrated Circuit)カードインターフェース73及びROM(Read Only Memory)75がバス70を介して接続されている。
【0031】
フロントエンド部61は、受信アンテナ42(図1)から供給される放送信号S4を復調してトランスポートストリームS61を生成し、これを暗号解読部62に出力する。暗号解除部62は、ICカードインターフェース73に挿入されているICカード74及びROM75に記憶されている暗号解除情報に基づいてトランスポートストリームS61を暗号解除し、分離部63に出力する。制御部71は、操作者が操作部76を操作することにより生成されるチャンネル選択入力信号S76に応じてチャンネル選択信号S71を生成し、バス70を介して分離部63に出力する。
【0032】
分離部63はまず、チャンネル選択信号S71が示すチャンネルのトランスポートパケットをトランスポートストリームS61から分離し、さらに分離したトランスポートパケットからPESパケットを再生する。このとき先頭位置解析手段としての制御部71は、トランスポートパケットに記入されているポインタフィールドの値を参照することによりPESヘッダの先頭位置情報を得て、これをヘッダ位置情報S72として分離部63に出力する。分離部63はヘッダ位置情報S72に基づいて、再生したPESパケットの先頭にPESヘッダが位置するようにPESパケットを再生する。
【0033】
さらに分離部63は、再生したPESパケットのPESヘッダに基づいて、PESパケットの内容を判別し、映像データを含むPESパケットを映像ビットストリームS63Vとして映像復号部64に出力するとともに、音声データを含むPESパケットを音声ビットストリームS63Aとして音声復号部64に出力する。このとき分離部63は、DRAM(Dynamic Random Access Memory)66をバッファとして用いる。
【0034】
映像復号部64は映像ビットストリームS63VをMPEG2方式を用いて復号し、映像信号S64としてテレビジョン受像機100(図1)に出力する。同様に音声復号部65は音声ビットストリームS63AをMPEG2方式を用いて復号し、音声信号S65としてテレビジョン受像機100に出力する。このとき映像復号部64及び音声復号部65はそれぞれDRAM67及び68をバッファとして用いて復号処理を行う。テレビジョン受像機100は映像信号S64を表示するとともに、音声信号S65をスピーカ(図示せず)で再生する。
【0035】
以上の構成において、多重化装置10はビットストリームS5A〜S5Cを多重化する際にアライメント処理を行わず、PESパケットの最後尾部分を含むトランスポートパケットにおいてPESパケット最後尾部分のデータ長がトランスポートパケットのペイロード長に満たない場合、続くPESパケットのPESヘッダを分割して付加しトランスポートストリームS10を生成する。このときTPヘッダ生成部13は、PESヘッダの先頭部分を含むトランスポートパケットのプライベートデータ領域に、PESヘッダの先頭位置を示すポインタフィールドを付加する。
【0036】
変調部40はトランスポートストリームS10を変調して送信信号S3を生成し、これを送信アンテナ41を介して衛星50に送信する。IRD60は、衛星50により再送信された送信信号S4を受信アンテナ42を介して受信する。
【0037】
IRD60が有する分離部63は、放送信号S4を復調してなるトランスポートストリームS61からPESパケットを再生する。このとき制御部71はトランスポートパケットに記入されているポインタフィールドに基づいてPESヘッダの先頭位置情報を得、分離部63はこの先頭位置情報に基づいてPESヘッダの中身を再生する。
【0038】
以上の構成によれば、PESパケットの最後尾部分を含むトランスポートパケットにおいてPESパケットのデータ長がトランスポートパケットのペイロード長に満たない場合、続くPESパケットのヘッダ部を分割してPESパケットの最後尾部分に付加するとともに、PESヘッダの先頭部分を含むトランスポートパケットに、当該トランスポートパケットにおけるPESパケットの先頭位置を示すポインタフィールドを付加してPESパケットを生成することにより、PESパケットにダミーデータを含まない分パケット化効率を向上することができる。
【0039】
またIRD60においてトランスポートパケットからPESパケットを再生する際にポインタフィールドに基づいてPESヘッダの中身を再生することができる。
【0040】
なお上述の実施の形態においては、トランスポートパケットにおけるPESヘッダの位置を示すポインタフィールドをプライベートデータ領域に記入するようにした場合について述べたが、本発明はこれに限らず、ポインタフィールドをプライベートデータ領域以外の位置に記入するようにしてもよい。例えば図6に示すように、TPヘッダの後ろにポインタフィールドを設け、ここにPESヘッダの位置を示す位置情報を付加するようにしてもよい。
【0041】
また上述の実施の形態においては、ディジタル衛星放送における多重化装置及び分離装置に本発明を適用する場合について述べたが、本発明はこれに限らず、ディジタル地上波放送やディジタル有線放送等、様々な放送システムに適用しても良い。
【0042】
さらに上述の実施の形態においては、複数のビットストリームをトランスポートパケット化して多重しトランスポートストリームを生成する多重化装置に本発明を適用する場合について述べたが、本発明はこれに限らず、一本のビットストリームをトランスポートパケット化するパケット化装置に適用しても良い。
【0043】
さらに上述の実施の形態においては、TPヘッダの最後尾からPESヘッダの先頭までのデータ長をポインタフィールドPfとして記入したが、本発明はこれに限らず、例えばTPヘッダの先頭からPESヘッダの先頭までのデータ長等、要はトランスポートパケットにおけるPESヘッダの先頭位置が判別できるようにすれば良い。
【0044】
【発明の効果】
上述のように本発明によれば、第2のパケットが第1のパケットの最後尾部分を含み、そのデータ長が当該第2のパケットのヘッダを除いた部分のペイロード長に満たない場合、続く第1のパケットを分割して最後尾部分に付加することにより、第2のパケットに対するダミーデータの付加を回避し、パケット化効率を向上することができ、また第1のパケットのヘッダを含む第2のパケットの所定領域に、当該第2のパケットに当該第1のパケットのヘッダが含まれる旨及び当該ヘッダの位置を示すヘッダ位置情報を付加するようにしたことにより、第1のパケットのヘッダを分割した場合でも第1のパケットを再生側で容易に再生させることができる。
【0045】
また、第1のパケットのヘッダを含む第2のパケットに付加された、当該第2のパケットに第1のパケットのヘッダが含まれる旨及び当該ヘッダの位置を示すヘッダ位置情報に基づいて第1のパケットを再生するようにしたことにより、第1のパケットのヘッダが分割されている場合でも容易に第1のパケットを再生することができる。
【図面の簡単な説明】
【図1】ディジタル衛星放送システムを示すブロック図である。
【図2】本発明による多重化装置を示すブロック図である。
【図3】PESパケットの分割を示す略線図である。
【図4】トランスポートパケットの構造を示す略線図である。
【図5】バッファ占有量遷移を示すグラフである。
【図6】IRDを示すブロック図である。
【図7】ポインタフィールドの記入位置を示す略線図である。
【図8】従来のディジタル衛星放送システムを示すブロック図である。
【図9】アライメント処理を示す略線図である。
【図10】アライメント処理によるバッファ占有量遷移を示すグラフである。
【符号の説明】
1,2……ディジタル衛星放送システム、8……選択部、5A〜5C……符号化部、9、10……多重化装置、11A〜11C……多重バッファ、12……ヘッダ解析部、13……TPヘッダ生成部、14……NULLパケット生成部、15……SI制御部、16……SIパケットファイル、17……チャンネル選択部、18……多重レジスタ、19……PTS/DTS書き換え部、20……CC付加部、21……チャンネル選択制御部、30……誤り訂正符号付加部、40……変調部、41……送信アンテナ、42……受信アンテナ、50……衛星、60……IRD、61……フロントエンド部、62……暗号解読部、63……分離部、64……映像復号部、65……音声復号部、66、67、68……DRAM、70……バス、71……制御部、73……ICカードインターフェース、74……ICカード、75…ROM、76……操作部。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a packet generation device, a packet reproduction device, and a method thereof, and is suitably applied to, for example, a packet generation device and a packet reproduction device used for digital television broadcasting.
[0002]
[Prior art]
Conventionally, digital satellite broadcasting that digitizes a video signal and broadcasts it via a satellite has been started. In such digital satellite broadcast, a plurality of video signals are compressed and encoded using a moving picture experts group (MPEG) 2 system on the transmission side, and then multiplexed and transmitted. On the receiving side, the received broadcast wave is decoded and displayed using the MPEG2 system.
[0003]
FIG. 8 shows a digital satellite broadcasting system 1 as a whole, and encoding units 5A to 5C having the same configuration compress video signals and audio signals supplied from the outside using an MPEG (Moving Picture Experts Group) 2 system. These are encoded and output to the multiplexing device 9 as bit streams S5A to S5C in which PES (Packetized Elementary Stream) packets having a predetermined packet length are continuous.
[0004]
Multiplexing buffers 11A to 11C included in the multiplexing device 9 receive and temporarily store bit streams S5A to S5C, respectively. The selection unit 8 switches and reads the bit streams S5A to S5C stored in the multiplex buffers 11A to 11C at a predetermined timing, thereby transporting each PES packet constituting the bit streams S5A to S5C with a length of 188 bytes. Are then multiplexed and output to the error correction code adding unit 30 as a transport stream S9 composed of continuous transport packets.
[0005]
The error correction code adding unit 30 adds a predetermined error correction code to the transport stream S9 and outputs it to the modulation unit 40. The modulation unit 40 modulates the transport stream S9 with a predetermined modulation method, and transmits it to the satellite 50 via the transmission antenna 41 as a broadcast signal S3. The satellite 50 receives and amplifies the broadcast signal S3, and retransmits it as the broadcast signal S4.
[0006]
An IRD (Integrated Receiver Decorder: reception decoding device) 60 receives the broadcast signal S4 via the reception antenna 42, demodulates the broadcast signal S4, and then decodes the video signal S64 and the audio signal S65 using the MPEG2 system. And output to the television receiver 100. The television receiver 100 displays the video signal S64 and reproduces the audio signal S65 with a speaker (not shown).
[0007]
In such a multiplexing apparatus, when a PES packet is divided into transport packets, a process called alignment is performed to adjust the position of the PES header so that it is located immediately after the TP (Transport Packet) header.
[0008]
FIG. 9 shows an alignment process, in which a certain transport packet TP1 includes the tail part D1 of the PES packet data, and the data length of the tail part D1 of the PES packet data is less than the payload length Lp of the transport packet TP1. , Invalid data (hereinafter referred to as dummy data Ddum) is added between the TP header Htp and the tail portion D1 of the PES packet data, and the PES header Hp is added as it is after the TP header Ht in the subsequent transport packet TP1. To do. By performing such alignment processing, the PES header Hpes is not divided between the two transport packets TP1 and TP1, and there is an advantage that the PES header can be easily separated from the transport stream during decoding.
[0009]
FIG. 10 shows buffer occupancy transitions of the bit streams S5A to S5C in the multiplex buffers 11A to 11C (FIG. 7), the horizontal axis indicates time, and the vertical axis indicates the occupancy of each buffer in units of transport packets. .
[0010]
When data is always input to each of the multiplex buffers 11A to 11C at a constant rate, a bit stream equivalent to 1/3 of the transport packet is accumulated in each of the multiplex buffers 11A to 11C for each time slot. From each multiplex buffer, data for one transport packet is read out at a rate of once every three time slots. Here, the solid line indicates the occupation amount SA of the multiplex buffer 11A, and the multiplex buffer 11A reads the bit stream S5A at the timing of the time slots A1 to An. Similarly, the broken line indicates the occupation amount SB of the multiplex buffer 11B, and the multiplex buffer 11B reads the bit stream S5B at the timing of the time slots B1 to Bn. The dotted line indicates the occupation amount SC of the multiplex buffer 11C, and the multiplex buffer 11C reads the bit stream S5C at the timing of the time slots C1 to Cn.
[0011]
[Problems to be solved by the invention]
Here, the alignment processing is performed on the bit stream S5C in the time slot C2 shown in FIG. 10, so that only a part of the data that is originally read is read from the multiplexing buffer 11C. The buffer occupation amount of the bit stream S5C in the buffer 11C is increasing. Such alignment processing occurs once for each PES packet, and in extreme cases, only one byte may be read in one time slot.
[0012]
In this way, the amount of bit stream read from the multiplex buffer is reduced by performing alignment processing, a delay occurs in the multiplex buffer, and packetization efficiency is reduced by adding dummy data to the transport packet. Has the problem.
[0013]
The present invention has been made in view of the above points, and intends to propose a packet generation apparatus and a packet reproduction apparatus that improve packetization efficiency and a method thereof with a simple configuration.
[0014]
[Means for Solving the Problems]
  In order to solve this problem, the present invention provides a predetermined packet length.With a header at the beginningA packet length shorter than the first packet from the data string in which the first packets are continuous.With a header at the beginningGenerate second packetIn digital television broadcasting systemsIn the packet generation device, the first packet constituting the data string is divided into second packets.The second2 packet includes the tail part of the first packet, and the data length of the second packetPayload excluding headerIf less than the lengthInAnd the first packet that followsFrom the header of the first packetPacket division adding means for adding to the tail part of the first packet to the second packetheaderIs includedIn,That the header of the first packet is included in the second packet and the headerIndicates the position ofheaderAdd location information to a predetermined area of the second packetheaderAnd position information adding means.
[0015]
  The second packet includes the tail part of the first packet, andData length isConcernedOf the second packetPayload excluding headerIf less than the lengthInDivide the following first packetAt the tailBy adding, it is possible to avoid adding dummy data to the second packet and improve packetization efficiency.In addition, header information indicating that the header of the first packet is included in the second packet and header position information indicating the position of the header are added to a predetermined area of the second packet including the header of the first packet. Thus, even when the header of the first packet is divided, the first packet can be easily reproduced on the reproduction side.
[0016]
  In the present invention,Predetermined packet lengthWith a header at the beginningA data string consisting of consecutive first packets is represented by a packet length shorter than that of the first packet.It has a header at the beginning generated by dividing byInput a second packet and reproduce the first packet based on the second packetIn digital television broadcasting systemsIn the packet reproduction device, the first packetheaderAdded to a predetermined area of the second packet includingThat the header of the first packet is included in the second packet and that the headerIndicate positionheaderBased on location informationThe header of the first packet included in the second packetAnalyzing positionheaderBased on the position analysis means and the analysis result, the first packet is reproduced from the second packet.When playing back the contents of the header of the first packetAnd packet reproducing means.
[0017]
  Contains the header of the first packetAppended to the second packet,A header indicating that the header of the first packet is included in the second packet and the position of the headerBy referring to location information,Even if the header of the first packet is splitThe first packet can be easily reproduced.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
[0019]
In FIG. 1, in which parts corresponding to those in FIG. 8 are assigned the same reference numerals, 2 denotes a digital satellite broadcasting system as a whole, and encoding units 5A to 5C having the same configuration are respectively supplied with video signals and audio supplied from outside. The signal is compressed and encoded by the Moving Picture Experts Group (MPEG) 2 method, and the PES (Packetized Elementary Stream) packet as the first packet is continuously formed into bit streams S5A to S5C to the multiplexing device 10 as the packet generation device. Output.
[0020]
FIG. 2 shows the multiplexing apparatus 10 as a whole, and the multiplexing buffers 11A to 11C receive and temporarily store the bit streams S5A to S5C, respectively. At this time, the header analysis unit 12 constantly monitors the bit streams S5A to S5C, detects the position of the PES header included in each PES packet constituting the bit streams S5A to S5C, and uses the position information of the PES header as the header position. The information S12 is output to a TP (Transport Packet) header generating unit 13 as a head position information adding unit and a PTS / DTS (Presentation Time Stamp / Decoding Time Stamp: display time information / decoding time information) changing unit 19.
[0021]
An SI (System Information) control unit 15 generates an SI packet multiplexing request signal S15 based on a multiplexing interval when an SI packet, which is a packet indicating multiplexing information of the transport stream, is multiplexed on the transport stream. This is output to the channel selection control unit 21, and the SI packet S 16 stored in the SI packet file 16 is read out and output to the channel selection unit 17 as packet dividing means.
[0022]
The channel selection control unit 21 always monitors the occupation amount of the bit stream in the multiplex buffers 11A to 11C as the buffer occupancy information S11, and the channel selection signal S21 based on the buffer occupancy information S11 and the SI packet multiplex request signal S15. Is output to the channel selector 17.
[0023]
The channel selection unit 17 operates in accordance with the channel selection signal S21, thereby transferring data supplied from the NULL packet generation unit 14, the TP header generation unit 13, the multiple buffers 11A to 11C, and the SI packet file 16 in units of transport packets. Multiplex. That is, the channel selection unit 17 divides the bit streams S5A to S5C supplied from the multiplexing buffers 11A to 11C as the payload of the transport packet and adds the TP header S13 supplied from the TP header generation unit 13 to the leading end of the payload. The transport packet is generated, and the transport packet, the NULL packet S14 supplied from the NULL packet generator 14 and the SI packet S16 supplied from the SI packet file 16 are multiplexed, and the transport as a second packet A transport stream S10 composed of continuous packets is generated and output. The NULL packet S14 is a packet of invalid data inserted when there is no input of the bit streams S5A to S5C.
[0024]
Here, the channel selection control unit 21 does not perform alignment processing on the PES header, and generates a transport packet by adding the PES header of the next PES packet following the end of the PES packet data. That is, as shown in FIG. 3, when a certain transport packet TP1 includes the tail portion D1 of the PES packet data, and the data length of the tail portion D1 of the PES packet data is less than the payload length Lp of the transport packet TP1 The dummy data is not added to the tail portion D1 of the PES packet data, but the PES header Hpes1 of the subsequent PES packet is divided to generate a divided PES header Hpes1, and this is added to the tail portion D1 of the PES packet data. Then, in the next transport packet TP2, the remaining divided PES header Hpes2 is added to the TP header Htp to generate a transport packet.
[0025]
At this time, information indicating the position of the PES header in the transport packet is written in the transport packet including the PES header. That is, as shown in FIG. 4, the adaptation field in the transport packet includes an area called a private data area that can be freely used by the user. The TP header generation unit 13 (FIG. 2) calculates the data length from the tail of the TP header to the beginning of the PES header based on the header position information S12 supplied from the header analysis unit 12, and calculates the value of this data length. The private data area is entered as an 8-byte length pointer field Pf, and the value of the TP private data length Tpr is entered as “1” indicating that the PES header is included in the transport packet. The pointer field is not entered in the TP header of the transport packet that does not include the PES header, and the value of the TP private data length Tpr is entered as “0”.
[0026]
Thus, the channel selection unit 17 multiplexes the bit streams S5A to S5C supplied from the multiplexing buffers 11A to 11C without performing alignment processing on the PES header, and temporarily stores them in the multiplexing register 18 as the transport stream S10.
[0027]
FIG. 5 shows the buffer occupancy transition of the bit streams S5A to S5C in the multiplex buffers 11A to 11C (FIG. 2). The horizontal axis represents time, and the ordinate represents the bit stream occupancy of each of the multiplex buffers 11A to 11C. Shown in packets. When the bit streams S5A to S5C are input at a fixed same rate, each of the multiple buffers 11A to 11C stores bit streams S5A to S5C in an amount corresponding to 1/3 of the transport packet for each time slot. At the same time, the bit streams S5A to S5C for one transport packet are read from each of the multiplexing buffers 11A to 11C once every three time slots. Here, the solid line indicates the occupation amount SA of the multiplex buffer 11A, and the multiplex buffer 11A reads the bit stream S5A at the timing of the time slots A1 to An. Similarly, the broken line indicates the occupation amount SB of the multiplex buffer 11B, and the multiplex buffer 11B reads the bit stream S5B at the timing of the time slots B1 to Bn. The dotted line indicates the occupation amount SC of the multiplex buffer 11C, and the multiplex buffer 11C reads the bit stream S5C at the timing of the time slots C1 to Cn. Since the multiplexing apparatus 10 does not perform alignment processing, data for one transport packet is always read from each of the multiplexing buffers 11A to 11C.
[0028]
The PTS / DTS rewriting unit 19 (FIG. 2) responds to the multiplexing information S22 supplied from the channel selection control unit 21 and the header position information S12 supplied from the header analysis unit 12, and the transformer stored in the multiplexing register 18. The values of PTS and DTS of the port stream S17 are rewritten according to a reference time called PCR (Program Clock Reference). The CC (Continuity Counter) adding unit 20 adds a cyclic counter indicating the continuity of the transport packet to a predetermined position of each transport packet constituting the transport stream S17 stored in the multiplex register 18. To do. Then, the multiplex register 18 outputs the transport stream S10 to which the PTS and DTS are rewritten and the cyclic counter is added to the error correction code adding unit 30 (FIG. 1).
[0029]
The error correction code adding unit 30 adds a predetermined error correction code to the transport stream S10 and outputs it to the modulation unit 40. Then, the modulation unit 40 modulates the transport stream S10 with a predetermined modulation method, and transmits it to the satellite 50 via the transmission antenna 41 as a broadcast signal S3. The satellite 50 receives and amplifies the broadcast signal S3 and retransmits it as the broadcast signal S3.
[0030]
An IRD (Integrated Receiver Decorder: reception decoding apparatus) 60 receives the broadcast signal S4 via the reception antenna. FIG. 6 shows an IRD 60 as a whole, and a front end unit 61, a decryption unit 62, a separation unit 63 as a packet reproduction device, a control unit 71, an IC (Integrated Circuit) card interface 73, and a ROM (Read Only Memory) 75 are buses. 70 is connected.
[0031]
The front end unit 61 demodulates the broadcast signal S4 supplied from the receiving antenna 42 (FIG. 1) to generate a transport stream S61, and outputs this to the decryption unit 62. The descrambling unit 62 descrambles the transport stream S61 based on the descrambling information stored in the IC card 74 and the ROM 75 inserted in the IC card interface 73, and outputs it to the separating unit 63. The control unit 71 generates a channel selection signal S71 according to the channel selection input signal S76 generated when the operator operates the operation unit 76, and outputs the channel selection signal S71 to the separation unit 63 via the bus 70.
[0032]
First, the separation unit 63 separates the transport packet of the channel indicated by the channel selection signal S71 from the transport stream S61, and further reproduces the PES packet from the separated transport packet. At this time, the control unit 71 as the head position analyzing means obtains the head position information of the PES header by referring to the value of the pointer field written in the transport packet, and uses this as header position information S72 to separate the separation section 63. Output to. Based on the header position information S72, the separation unit 63 reproduces the PES packet so that the PES header is positioned at the head of the reproduced PES packet.
[0033]
Further, the separation unit 63 determines the content of the PES packet based on the PES header of the reproduced PES packet, outputs the PES packet including the video data to the video decoding unit 64 as the video bit stream S63V, and includes the audio data. The PES packet is output to the audio decoding unit 64 as an audio bitstream S63A. At this time, the separation unit 63 uses a DRAM (Dynamic Random Access Memory) 66 as a buffer.
[0034]
The video decoding unit 64 decodes the video bit stream S63V by using the MPEG2 system, and outputs it as a video signal S64 to the television receiver 100 (FIG. 1). Similarly, the audio decoding unit 65 decodes the audio bit stream S63A using the MPEG2 system and outputs the audio bit stream S63A to the television receiver 100 as an audio signal S65. At this time, the video decoding unit 64 and the audio decoding unit 65 perform the decoding process using the DRAMs 67 and 68 as buffers, respectively. The television receiver 100 displays the video signal S64 and reproduces the audio signal S65 with a speaker (not shown).
[0035]
In the above configuration, the multiplexing apparatus 10 does not perform alignment processing when multiplexing the bit streams S5A to S5C, and the transport packet including the tail part of the PES packet has the data length of the tail part of the PES packet being transported. If it is less than the payload length of the packet, the PES header of the subsequent PES packet is divided and added to generate the transport stream S10. At this time, the TP header generation unit 13 adds a pointer field indicating the head position of the PES header to the private data area of the transport packet including the head portion of the PES header.
[0036]
The modulation unit 40 modulates the transport stream S10 to generate a transmission signal S3, and transmits this to the satellite 50 via the transmission antenna 41. The IRD 60 receives the transmission signal S4 retransmitted by the satellite 50 via the reception antenna 42.
[0037]
The separation unit 63 included in the IRD 60 reproduces the PES packet from the transport stream S61 obtained by demodulating the broadcast signal S4. At this time, the control unit 71 obtains the head position information of the PES header based on the pointer field entered in the transport packet, and the separation unit 63 reproduces the contents of the PES header based on the head position information.
[0038]
According to the above configuration, when the data length of the PES packet is less than the payload length of the transport packet in the transport packet including the tail part of the PES packet, the header part of the subsequent PES packet is divided to end the PES packet. A dummy data is added to the PES packet by adding a pointer field indicating the head position of the PES packet in the transport packet to the transport packet including the head portion of the PES header and adding the tail portion to the transport packet including the head portion of the PES header. Packetization efficiency can be improved as much as it does not contain.
[0039]
Further, when the PES packet is reproduced from the transport packet in the IRD 60, the contents of the PES header can be reproduced based on the pointer field.
[0040]
In the above-described embodiment, the case where the pointer field indicating the position of the PES header in the transport packet is written in the private data area has been described. However, the present invention is not limited to this, and the pointer field is set to the private data. You may make it fill in in positions other than an area | region. For example, as shown in FIG. 6, a pointer field may be provided after the TP header, and position information indicating the position of the PES header may be added thereto.
[0041]
In the above-described embodiment, the case where the present invention is applied to a multiplexing device and a demultiplexing device in digital satellite broadcasting has been described. However, the present invention is not limited to this, and various other methods such as digital terrestrial broadcasting and digital cable broadcasting can be used. It may be applied to various broadcasting systems.
[0042]
Further, in the above-described embodiment, the case where the present invention is applied to a multiplexing apparatus that generates a transport stream by multiplexing a plurality of bit streams into transport packets has been described, but the present invention is not limited thereto, You may apply to the packetization apparatus which carries out the transport packetization of one bit stream.
[0043]
Furthermore, in the above-described embodiment, the data length from the tail end of the TP header to the head of the PES header is entered as the pointer field Pf. However, the present invention is not limited to this. What is necessary is to make it possible to determine the leading position of the PES header in the transport packet, such as the data length up to.
[0044]
【The invention's effect】
  As described above, according to the present invention,The second packet includes the tail part of the first packet, andData length isConcernedOf the second packetOf the part excluding the headerWhen the payload length is not reachedInDivide the first packet that followsBestAppend to tailBy doing so, it is possible to avoid adding dummy data to the second packet and improve the packetization efficiency. In addition, the second packet is placed in a predetermined area of the second packet including the header of the first packet. Includes a header indicating that the header of the first packet is included and the position of the headerBy adding location information,Even when the header of the first packet is divided, the first packet can be easily reproduced on the reproduction side.
[0045]
  Also,A header added to the second packet including the header of the first packet and indicating that the header of the first packet is included in the second packet and the header indicating the position of the headerBy reproducing the first packet based on the position information,Even if the header of the first packet is splitThe first packet can be easily reproduced.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a digital satellite broadcasting system.
FIG. 2 is a block diagram illustrating a multiplexing device according to the present invention.
FIG. 3 is a schematic diagram illustrating division of a PES packet.
FIG. 4 is a schematic diagram illustrating a structure of a transport packet.
FIG. 5 is a graph showing transition of buffer occupancy.
FIG. 6 is a block diagram showing an IRD.
FIG. 7 is a schematic diagram showing the entry position of a pointer field.
FIG. 8 is a block diagram showing a conventional digital satellite broadcasting system.
FIG. 9 is a schematic diagram illustrating alignment processing.
FIG. 10 is a graph showing buffer occupation amount transition by alignment processing;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1, 2 ... Digital satellite broadcasting system, 8 ... Selection part, 5A-5C ... Coding part, 9, 10 ... Multiplexer, 11A-11C ... Multiplexing buffer, 12 ... Header analysis part, 13 ...... TP header generation unit, 14 ... NULL packet generation unit, 15 ... SI control unit, 16 ... SI packet file, 17 ... channel selection unit, 18 ... multiple register, 19 ... PTS / DTS rewrite unit , 20... CC addition unit, 21... Channel selection control unit, 30... Error correction code addition unit, 40 .. modulation unit, 41... Transmission antenna, 42. ... IRD, 61 ... front end section, 62 ... decryption section, 63 ... separation section, 64 ... video decryption section, 65 ... audio decryption section, 66, 67, 68 ... DRAM, 70 ... bus , 71 …… Control unit, 73 ...... IC card interface, 74 ...... IC card, 75 ... ROM, 76 ...... operation unit.

Claims (8)

所定パケット長でなり先頭部分にヘッダを有する第1のパケットが連続してなるデータ列から、上記第1のパケットより短いパケット長でなり先頭部分にヘッダを有する第2のパケットを生成する、ディジタルテレビジョン放送システムにおけるパケット生成装置において、
上記データ列を構成する上記第1のパケットを上記第2のパケットに分割し、当該第2のパケットが上記第1のパケットの最後尾部分を含み、そのデータ長が当該第2のパケットのヘッダを除いた部分のペイロード長に満たない場合、続く上記第1のパケットを当該第1のパケットのヘッダから上記最後尾部分に付加するパケット分割付加手段と、
上記第2のパケットに上記第1のパケットのヘッダが含まれる場合当該第2のパケットに上記第1のパケットのヘッダが含まれる旨及び当該ヘッダの位置を示すヘッダ位置情報を上記第2のパケットの所定領域に付加するヘッダ位置情報付加手段と
を具えることを特徴とするパケット生成装置。
A digital packet that generates a second packet having a packet length shorter than the first packet and having a header at the head portion from a data string having a predetermined packet length and having a first packet having a header at the head portion. In a packet generation device in a television broadcasting system ,
The first packet constituting the data string is divided into the second packet, the second packet comprises the last portion of the first packet, the header data length of the second packet If less than the payload length of the portion excluding a packet dividing adding means for adding subsequent the first packet from the header of the first packet in the end portion,
If the header is included in the second packet in the first packet, the said second header position information indicating and position of the header includes a header of the second above packet of the first packet And a header position information adding means for adding to a predetermined area of the packet.
上記ヘッダ位置情報は、上記第1のパケットのヘッダの位置として、上記第2のパケットにおける当該ヘッダの先頭位置を示す
ことを特徴とする請求項1に記載のパケット生成装置。
The header position information, as the position of the header of the first packet, the packet generating apparatus according to claim 1, characterized in that indicating a beginning position of the header in the second packet.
上記第2のパケットは、ヘッダの最後尾部分に上記ヘッダ位置情報が付加されるヘッダ位置情報付加領域を有し、The second packet has a header position information addition area in which the header position information is added to the tail part of the header,
上記ヘッダ位置情報付加手段は、上記ヘッダ位置情報を上記ヘッダ位置情報付加領域に付加するThe header position information adding means adds the header position information to the header position information adding area.
ことを特徴とする請求項1に記載のパケット生成装置。The packet generation device according to claim 1.
所定パケット長でなり先頭部分にヘッダを有する第1のパケットが連続してなるデータ列から、上記第1のパケットより短いパケット長でなり先頭部分にヘッダを有する第2のパケットを生成する、ディジタルテレビジョン放送システムにおけるパケット生成方法において、
上記データ列を構成する上記第1のパケットを上記第2のパケットに分割し、
当該第2のパケットが上記第1のパケットの最後尾部分を含み、そのデータ長が当該第2のパケットのヘッダを除いた部分のペイロード長に満たない場合、続く上記第1のパケットを当該第1のパケットのヘッダから上記最後尾部分に付加し、
上記第2のパケットに上記第1のパケットのヘッダが含まれる場合当該第2のパケットに上記第1のパケットのヘッダが含まれる旨及び当該ヘッダの位置を示すヘッダ位置情報を上記第2のパケットの所定領域に付加する
ことを特徴とするパケット生成方法。
A digital packet that generates a second packet having a packet length shorter than the first packet and having a header at the head portion from a data string having a predetermined packet length and having a first packet having a header at the head portion. In a packet generation method in a television broadcasting system ,
Dividing the first packet constituting the data string into the second packet;
The second packet contains the last portion of the first packet, that if the data length is less than the payload length of the portion excluding the header of the second packet, the subsequent said first packet Append to the last part from the header of the first packet ,
If the header is included in the second packet in the first packet, the said second header position information indicating and position of the header includes a header of the second above packet of the first packet A packet generation method characterized by adding to a predetermined area of the packet.
所定パケット長でなり先頭部分にヘッダを有する第1のパケットが連続してなるデータ列を当該第1のパケットより短いパケット長で分割することにより生成された、先頭部分にヘッダを有する第2のパケットを入力し、当該第2のパケットに基づいて上記第1のパケットを再生する、ディジタルテレビジョン放送システムにおけるパケット再生装置において、
上記第1のパケットのヘッダを含む上記第2のパケットの所定領域に付加された、当該第2のパケットに上記第1のパケットのヘッダが含まれる旨及び当該ヘッダの位置を示すヘッダ位置情報に基づいて、当該第2のパケットに含まれる上記第1のパケットのヘッダの位置を解析するヘッダ位置解析手段と、
上記解析結果に基づいて、上記第2のパケットから上記第1のパケットを再生する際に当該第1のパケットのヘッダの中身を再生するパケット再生手段と
を具えることを特徴とするパケット再生装置。
A data string in which the first packet is continuously having a header at the head portion becomes a predetermined packet length is generated by dividing a short packet length than the first packet, the head portion a second having a header In a packet reproduction device in a digital television broadcasting system , which inputs a packet and reproduces the first packet based on the second packet,
The header position information indicating that the header of the first packet is included in the second packet and the header position information indicating the position of the header is added to a predetermined area of the second packet including the header of the first packet. Based on the header position analyzing means for analyzing the position of the header of the first packet included in the second packet ,
A packet reproducing device comprising: packet reproducing means for reproducing the contents of the header of the first packet when reproducing the first packet from the second packet based on the analysis result .
上記ヘッダ位置情報は、上記第1のパケットのヘッダの位置として、上記第2のパケットにおける当該ヘッダの先頭位置を示す
ことを特徴とする請求項5に記載のパケット再生装置。
The header position information, said as a position of the header of the first packet, the packet reproducing apparatus according to claim 5, characterized in that indicating a beginning position of the header in the second packet.
上記第2のパケットは、ヘッダの最後尾部分に上記ヘッダ位置情報が付加されるヘッダ位置情報付加領域を有し、The second packet has a header position information addition area in which the header position information is added to the tail part of the header,
上記ヘッダ位置解析手段は、上記ヘッダ位置情報付加領域に付加されたヘッダ位置情報に基づいて、上記第2のパケットに含まれる上記第1のパケットのヘッダの位置を解析するThe header position analysis means analyzes the position of the header of the first packet included in the second packet based on the header position information added to the header position information addition area.
ことを特徴とする請求項5に記載のパケット再生装置。The packet reproduction device according to claim 5, wherein:
所定パケット長でなり先頭部分にヘッダを有する第1のパケットが連続してなるデータ列を当該第1のパケットより短いパケット長で分割することにより生成された、先頭部分にヘッダを有する第2のパケットを入力し、当該第2のパケットに基づいて上記第1のパケットを再生する、ディジタルテレビジョン放送システムにおけるパケット再生方法において、
上記第1のパケットのヘッダを含む上記第2のパケットの所定領域に付加された、当該第2のパケットに上記第1のパケットのヘッダが含まれる旨及び当該ヘッダの位置を示すヘッダ位置情報に基づいて、当該第2のパケットに含まれる上記第1のパケットのヘッダの位置を解析し、
上記解析結果に基づいて、上記第2のパケットから上記第1のパケットを再生する際に当該第1のパケットのヘッダの中身を再生する
ことを特徴とするパケット再生方法。
A data string in which the first packet is continuously having a header at the head portion becomes a predetermined packet length is generated by dividing a short packet length than the first packet, the head portion a second having a header In a packet reproduction method in a digital television broadcasting system, which receives a packet and reproduces the first packet based on the second packet,
The header position information indicating that the header of the first packet is included in the second packet and the header position information indicating the position of the header is added to a predetermined area of the second packet including the header of the first packet. Based on the position of the header of the first packet included in the second packet ,
A packet reproduction method comprising: reproducing contents of a header of the first packet when reproducing the first packet from the second packet based on the analysis result.
JP36298298A 1998-12-21 1998-12-21 Packet generating apparatus, packet reproducing apparatus and methods thereof Expired - Fee Related JP4035802B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP36298298A JP4035802B2 (en) 1998-12-21 1998-12-21 Packet generating apparatus, packet reproducing apparatus and methods thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP36298298A JP4035802B2 (en) 1998-12-21 1998-12-21 Packet generating apparatus, packet reproducing apparatus and methods thereof

Publications (2)

Publication Number Publication Date
JP2000188579A JP2000188579A (en) 2000-07-04
JP4035802B2 true JP4035802B2 (en) 2008-01-23

Family

ID=18478227

Family Applications (1)

Application Number Title Priority Date Filing Date
JP36298298A Expired - Fee Related JP4035802B2 (en) 1998-12-21 1998-12-21 Packet generating apparatus, packet reproducing apparatus and methods thereof

Country Status (1)

Country Link
JP (1) JP4035802B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5123340B2 (en) * 2010-02-23 2013-01-23 日本電信電話株式会社 Video data transmission apparatus, video data transmission method, and video data transmission program
CN104038403B (en) * 2014-06-30 2018-01-30 广东睿江云计算股份有限公司 Message encapsulating method and device, message de-encapsulation method and device

Also Published As

Publication number Publication date
JP2000188579A (en) 2000-07-04

Similar Documents

Publication Publication Date Title
KR100226528B1 (en) Decoder for compressed and multiplexed video and audio data
CN100433839C (en) Receiving device for digital broadcast signal
US5832085A (en) Method and apparatus storing multiple protocol, compressed audio video data
US5648960A (en) Recording/reproducing apparatus for data packet stream
US7933411B2 (en) Method of constructing MPEG program streams from encrypted MPEG transport streams
KR100555658B1 (en) Stream decode device
US20080253466A1 (en) Method and system for converting a dss stream to an encrypted mpeg stream
US7706379B2 (en) TS transmission system, transmitting apparatus, receiving apparatus, and TS transmission method
KR20050022556A (en) Reliable decoder and decoding method
US8032910B2 (en) System for receiving transport streams
JP4002002B2 (en) Demultiplexer apparatus and demultiplexing method
JP4035802B2 (en) Packet generating apparatus, packet reproducing apparatus and methods thereof
US6731657B1 (en) Multiformat transport stream demultiplexor
JPH08275151A (en) Distribution / decoding device for multiplexed compressed image / sound data
JP3893643B2 (en) Signal multiplexing method and transmission signal generating apparatus using the same
JP3490252B2 (en) Packet-multiplexed audio / video signal separation device
JPH11205789A (en) Transmission rate converter of mpeg2 transport stream
JP2885217B2 (en) MPEG data processing circuit
US7050436B1 (en) Device and method for processing a stream of data
KR20060113523A (en) Data processing device and method of digital broadcast receiver
US8832773B2 (en) System and method for transport PID broadcast scheme
JPH11340936A (en) Data multiplexing method and apparatus
US7050460B1 (en) Method and apparatus for multiplexing data streams using time constraints
JP2000049726A (en) Multiplexing apparatus and method
US20080123732A1 (en) Method and system for configuring decoding based on detecting transport stream input rate

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050830

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070709

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070713

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070911

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071018

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

Free format text: PAYMENT UNTIL: 20101109

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111109

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111109

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121109

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121109

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131109

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees