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
JP3686396B2 - Stream processing device - Google Patents
[go: Go Back, main page]

JP3686396B2 - Stream processing device - Google Patents

Stream processing device Download PDF

Info

Publication number
JP3686396B2
JP3686396B2 JP2002223079A JP2002223079A JP3686396B2 JP 3686396 B2 JP3686396 B2 JP 3686396B2 JP 2002223079 A JP2002223079 A JP 2002223079A JP 2002223079 A JP2002223079 A JP 2002223079A JP 3686396 B2 JP3686396 B2 JP 3686396B2
Authority
JP
Japan
Prior art keywords
stream
processing means
input
output
inputs
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
JP2002223079A
Other languages
Japanese (ja)
Other versions
JP2003153168A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2002223079A priority Critical patent/JP3686396B2/en
Publication of JP2003153168A publication Critical patent/JP2003153168A/en
Application granted granted Critical
Publication of JP3686396B2 publication Critical patent/JP3686396B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Signal Processing Not Specific To The Method Of Recording And Reproducing (AREA)
  • Studio Circuits (AREA)
  • Television Signal Processing For Recording (AREA)
  • Television Systems (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、複数のストリームを取り扱うストリーム処理装置に関する。
【0002】
【従来の技術】
近年、映像・音声・データをデジタルデータにより放送・伝送・蓄積することが多くなってきた。たとえばデジタルTV放送・DVD・デジタルVTR・デジタルビデオカメラ・IEEE1394などでは、映像信号・音声信号・データ放送やEPGなどのデータをまとめてストリームとして放送・伝送・処理・蓄積している。これらのストリームのデータフォーマットは多様である。たとえばデジタルTV放送やデジタルVTRでは、MPEGシステム規格に定められているトランスポートストリームが用いられている。DVDでは、MPEGシステム規格に定められているプログラムストリームが用いられている。デジタルビデオカメラの録画データをIEEE1394バス上で伝送させる際にはDVフォーマットが用いられている。そして、これらのデータフォーマットの各々について独特の処理が必要となっている。
【0003】
このような状況の中、デジタルAV機器も単一の機能だけでなく複数の機能をもつものが現れてきている。たとえばIEEE1394インタフェースを備えたデジタルTV受信機では、「放送されている番組を受信し表示する」,「放送されている番組を受信し、IEEE1394バスを介して接続されている外部の蓄積機器に記録する」,「IEEE1394バスを介して接続されている外部の蓄積機器から番組を再生し表示する」ことができる。このデジタルTV受信機に入力されるストリームは、「放送されている番組のストリーム」および「IEEE1394バスを介して接続されている外部の蓄積機器から再生された番組のストリーム」であり、出力されるストリームは、「IEEE1394バスを介して接続されている外部の蓄積機器へ記録する番組のストリーム」である。このように複数のストリームが入出力される。
【0004】
【発明が解決しようとする課題】
デジタルTV受信機にはストリームを処理するLSIとしてトランスポートデコーダが設けられている。また、外部から入力されたストリームをトランスポートデコーダに供給したりトランスポートデコーダによって処理されたストリームを外部へ出力したりするストリーム入出力インタフェースLSI(たとえばIEEE1394インタフェースLSI)がトランスポートデコーダとは別のLSIとして設けられている。そして、プリント板上でのこれらのLSI間の接続を応用システムに応じて最適化している。しかし、将来にわたる使用方法をすべて想定することは不可能であり、システム設計時の想定により将来の応用範囲が限定される。
【0005】
最近ではLSIの集積化が進展し、トランスポートデコーダとストリーム入出力インタフェースとを1つのLSI内に搭載することができるようになってきた。このため、LSIが使われ続ける将来にわたるLSIの応用範囲およびLSIを用いるシステムにおいて実現される機能をLSIの設計時に想定する必要が生じてきている。
【0006】
一方、映像・音声のデジタル化およびネットワーク化の進展により、ストリーム入出力インタフェースの種類が増加するとともに同時に処理しなければならないストリームの数も増加している。また、ストリームの処理内容も多様化してきている。
【0007】
この発明の目的は、複数のストリームを処理する機能を有する装置の構成の自由度を向上させることができるストリーム処理装置を提供することである。
【0008】
【課題を解決するための手段】
この発明によるストリーム処理装置は、選択手段と、第1から第5の処理手段とを備える。選択手段は、複数の入力と複数の出力とを外部からの制御に従って対応づけ、複数の入力の各々に与えられるストリームを対応する出力に与える。第1の処理手段は、上記複数の入力のうちの第1の入力に第1のストリームを与える。第2の処理手段は、上記複数の入力のうちの第2の入力に第2のストリームを与える。第3の処理手段は、上記複数の出力のうちの第1の出力からのストリームを受ける。第4の処理手段は、上記複数の出力のうちの第2の出力からのストリームを受ける。第5の処理手段は、上記複数の出力のうちの第3の出力からのストリームを受け、受けたストリームに対して所定の処理を施し、当該処理が施されたストリームを上記複数の入力のうちの第3の入力に与える。上記選択手段は、上記複数の出力のうちの少なくとも2つを多重化して新たな1つの出力とする。
【0009】
好ましくは、上記選択手段は、上記複数の入力と上記複数の出力とを1対1に対応づける。
【0010】
上記ストリーム処理装置では、選択手段を制御することにより、第1の処理手段からのストリームを第3および第4の処理手段の一方に与えるとともに第2の処理手段からのストリームを第3および第4の処理手段の他方に与えることができる。また、選択手段を制御することにより、第1および第2の処理手段の一方からのストリームを第3および第4の処理手段の一方に与えるとともに、第1および第2の処理手段の他方からのストリームを第5の処理手段に与えて第5の処理手段によって処理された後のストリームを第3および第4の処理手段の他方に与えることもできる。また、1系統の出力から複数のストリームを出力することも可能である。このように、選択手段に入力されるストリームと第3から第5の処理手段との割り当てを自由に変更することができるため、複数のストリームを処理する機能を有する装置の構成の自由度を向上させることができる。
【0011】
好ましくは、上記選択手段は、上記複数の入力のうちのある1つと上記複数の出力のうちのある2つとを対応づける。
【0012】
上記ストリーム処理装置では、選択手段を制御することにより、第1の処理手段からのストリームを第3および第4の処理手段の一方と第5の処理手段とに与え、第5の処理手段によって処理が施されたストリームを第3および第4の処理手段の他方に与えることができる。また、第1の処理手段からのストリームを第3および第4の処理手段へ与えることもできる。
【0013】
好ましくは、上記第5の処理手段は、受けたストリームから所望の情報を取り出して部分ストリームを生成し、生成した部分ストリームを上記複数の入力のうちの第3の入力に与える。
【0014】
好ましくは、上記第3の処理手段および上記第4の処理手段のうち少なくとも一方は、受けたストリームを、そのインタフェース形式を変換して出力する。
【0015】
好ましくは、上記第1のストリームおよび上記第2のストリームのうち少なくとも一方は、映像データおよび/または音声データを含む。上記第3の処理手段および上記第4の処理手段のうち少なくとも一方は、受けたストリームに含まれている映像データおよび/または音声データをデコードする。
【0016】
好ましくは、上記第5の処理手段は、受けたストリームから所望の映像データおよび/または音声データを取り出し、取り出した映像データおよび/または音声データを上記複数の入力のうちの第3の入力に与える。
【0017】
好ましくは、上記第1のストリームおよび上記第2のストリームのうち少なくとも一方は暗号化されている。上記第5の処理手段は、受けたストリームにかけられている暗号を解除する。
【0018】
好ましくは、上記第5の処理手段は、受けたストリームを暗号化する。
【0019】
この発明によるもう1つのストリーム処理装置は、選択手段と、第1から第6の処理手段とを備える。選択手段は、複数の入力と複数の出力とを外部からの制御に従って対応づけ、前記複数の入力の各々に与えられるストリームを対応する出力に与える。第1の処理手段は、前記複数の入力のうちの第1の入力に第1のストリームを与える。第2の処理手段は、前記複数の入力のうちの第2の入力に第2のストリームを与える。第3の処理手段は、前記複数の出力のうちの第1の出力からのストリームを受ける。第4の処理手段は、前記複数の出力のうちの第2の出力からのストリームを受ける。第5の処理手段は、前記 複数の出力のうちの第3の出力からのストリームを受け、受けたストリームに対して所定の処理を施し、当該処理が施されたストリームを前記複数の入力のうちの第3の入力に与える。前記第1のストリームおよび前記第2のストリームのうち少なくとも一方は第1の暗号方法によって暗号化されている。第5の処理手段は、受けたストリームにかけられている暗号を解除する。第6の処理手段は、前記複数の出力のうちの第4の出力からのストリームを受け、受けたストリームを第2の暗号方法によって暗号化し、暗号化したストリームを前記複数の入力のうちの第4の入力に与える。
【0020】
この発明によるさらにもう1つのストリーム処理装置は、選択手段と、第1から第5の処理手段と、記憶手段とを備える。選択手段は、複数の入力と複数の出力とを外部からの制御に従って対応づけ、前記複数の入力の各々に与えられるストリームを対応する出力に与える。第1の処理手段は、前記複数の入力のうちの第1の入力に第1のストリームを与える。第2の処理手段は、前記複数の入力のうちの第2の入力に第2のストリームを与える。第3の処理手段は、前記複数の出力のうちの第1の出力からのストリームを受ける。第4の処理手段は、前記複数の出力のうちの第2の出力からのストリームを受ける。第5の処理手段は、前記複数の出力のうちの第3の出力からのストリームを受け、受けたストリームに対して所定の処理を施し、当該処理が施されたストリームを前記複数の入力のうちの第3の入力に与える。第3の処理手段および第4の処理手段のうち少なくとも一方は、受けたストリームを記憶手段に書き込み、記憶手段に書き込んだストリームの記憶手段における書き込み位置を記憶する。第1の処理手段および第2の処理手段のうち少なくとも一方は、記憶手段からストリームを読み出し、記憶手段から読み出したストリームの記憶手段における読み出し位置を記憶するとともに、読み出したストリームを対応する入力に与える。
【0021】
好ましくは、第1の処理手段および第2の処理手段のうち少なくとも一方は、第3の処理手段および第4の処理手段のうち少なくとも一方が記憶している書き込み位置を参照して記憶手段からストリームを読み出す。
【0022】
好ましくは、第3の処理手段および第4の処理手段のうち少なくとも一方は、第1の処理手段および第2の処理手段のうち少なくとも一方が記憶している読み出し位置を参照し、記憶手段内の未だ読み出されていないストリームが記憶されている領域以外の領域にストリームを書き込む。
【0023】
この発明によるさらにもう1つのストリーム処理装置は、選択手段と、第1から第5の処理手段と、記憶手段とを備える。選択手段は、複数の入力と複数の出力とを外部からの制御に従って対応づけ、前記複数の入力の各々に与えられるストリームを対応する出力に与える。第1の処理手段は、前記複数の入力のうちの第1の入力に第1のストリームを与える。第2の処理手段は、前記複数の入力のうちの第2の入力に第2のストリームを与える。第3の処理手段は、前記複数の出力のうちの第1の出力からのストリームを受ける。第4の処理手段は、前記複数の出力のうちの第2の出力からのストリームを受ける。第5の処理手段は、前記複数の出力のうちの第3の出力からのストリームを受け、受けたストリームに対して所定の処理を施し、当該処理が施されたストリームを前記複数の入力のうちの第3の入力に与える。第3の処理手段および第4の処理手段のうち少なくとも一方は、受けたストリームを記憶手段に書き込む。第1の処理手段および第2の処理手段のうち少なくとも一方は、記憶手段からストリームを読み出し、読み出したストリームを対応する入力に与える。第1のストリームおよび第2のストリームのうち少なくとも一方は複数のパケットを含む。複数のパケットの各々は、要否を選別するための識別情報を含む。第5の処理手段は、受けたストリームに含まれている複数のパケットのうち所望のパケットを識別情報を参照して取り出して第1の部分ストリームを生成し、当該第1の部分ストリームを前記複数の入力のうちの第3の入力に与える。第3の処理手段および第4の処理手 段のうち少なくとも一方は、受けた第1の部分ストリームを記憶手段に書き込む。第1の処理手段および第2の処理手段のうち少なくとも一方は、記憶手段から第1の部分ストリームを読み出しこれを第2の部分ストリームとして対応する入力に与える。第3の処理手段および第4の処理手段のうち少なくとも一方は、受けた第2の部分ストリームから所望の情報を抽出する。
【0024】
【発明の実施の形態】
以下、この発明の実施の形態を図面を参照して詳しく説明する。なお、図中同一または相当部分には同一の符号を付しその説明は繰り返さない。
【0025】
(第1の実施形態)
<システムの全体構成>
図1は、この発明の第1の実施形態によるデジタルTV受信機のシステムの全体構成を示すブロック図である。図1に示すシステムは、デジタルTV受信機100と、AVHDD112と、デジタルVTR113とを備える。
【0026】
デジタルTV受信機100は、ストリーム処理装置101と、メモリ106と、CPU107と、AVデコーダ108と、ハードディスク装置109とを含む。
【0027】
ストリーム処理装置101は、チューナ110および111と、マトリクススイッチ102と、IEEE1394インタフェース103と、デマルチプレクサ104と、HDDインタフェース105とを含む。チューナ110および111は、デジタルTV放送を受信するためのチューナであり、受信した放送ストリームをマトリクススイッチ102へ出力する。ストリーム処理装置101には、デジタルTVチューナ110および111からの放送ストリーム・IEEE1394バスB2からのストリーム・ハードディスク装置109からの再生ストリームが入力される。入力されたストリームは処理されてメモリ106に蓄積されたり、処理後のストリームとして出力されたりする。また、入力されたストリームがそのまま出力されることもある。ストリーム処理装置101からはIEEE1394バスB2・ハードディスク装置109・AVデコーダ108へストリームが出力される。
【0028】
メモリ106はデジタルTV受信機100のメインメモリである。メモリ106は、CPU107によるソフトウェアの実行の際に利用されたりデータを格納するために利用されたりする。またメモリ106には、ストリーム処理装置101で処理されたストリームが格納される。
【0029】
AVデコーダ108は、デジタルTV受信機100で受信・再生されるAVデータを伸長して出力する。
【0030】
ハードディスク装置109は、ストリーム処理装置101から出力されるストリームを記録したり、蓄積しているストリームをストリーム処理装置101へ出力したりする。
【0031】
AVHDD112は、デジタルAVストリームの記録・再生を行う機能を備えたハードディスク装置である。AVHDD112は、バスB2との間のインタフェースを備えており、バスB2から入力されるストリームを記録したり再生ストリームをバスB2へ出力したりする。
【0032】
デジタルVTR113は、デジタルAVストリームの記録・再生機能を備えたVTR装置である。デジタルVTR113は、バスB2から入力されるストリームを記録したり再生ストリームをバスB2へ出力したりする。
【0033】
<ストリーム処理装置101の内部構成>
図2は、図1に示したストリーム処理装置101の構成を詳しく示すブロック図である。
【0034】
<マトリクススイッチ102>
図2を参照して、マトリクススイッチ102は、入力端子T0−T7,T20と、出力端子T10−T18と、スイッチ群200−208と、スイッチ制御レジスタ209とを含む。
【0035】
入力端子T0およびT1は、チューナ110および111からのストリームを受ける。入力端子T2およびT3は、デマルチプレクサ104の出力ポートOUT0およびOUT1からのストリームを受ける。入力端子T4−T6は、IEEE1394インタフェース103の出力ポートOUT0−OUT2からのストリームを受ける。入力端子T7は、HDDインタフェース105の出力ポートOUT0からのストリームを受ける。入力端子T20は、CPUバスB1からの制御信号を受ける。
【0036】
スイッチ群200−208は、スイッチ(00−70)−(08−78)を含む。スイッチ(00−70)−(08−78)は、オン状態のとき、入力端子T0−T7に与えられるストリームを出力端子T10−T18に与える。
【0037】
スイッチ制御レジスタ209は、CPU107からバスB1を介して入力端子T20に与えられる制御信号に応答してスイッチ群200−208に制御信号を与える。スイッチ群200−208に与えられる制御信号は、当該スイッチ群に含まれるスイッチのうちどのスイッチをオンにするかを指定する信号である。スイッチ群200−208の各々は、スイッチ制御レジスタ209からの制御信号に応答して対応するスイッチ(00−70)−(08−78)のうちの1つをオンにする。すなわちスイッチ群200−208の各々は、スイッチ制御レジスタ209からの制御信号に応答して、入力端子T0−T7に与えられるストリームのうちの1つを選択して出力端子T10−T18に出力する。
【0038】
以上のように構成されたマトリクススイッチ102では、スイッチ制御レジスタ209からの制御信号に応じて出力端子T10−T18の各々と入力端子T0−T7のうちの1つとが対応づけられ、対応づけられた入力端子に与えられるストリームが出力端子T10−T18の各々から出力される。すなわち、入力端子T0−T7に与えられる8つの入力ストリームの各々を9つの出力端子T10−T18のうち任意のものに出力することができる。
【0039】
<IEEE1394インタフェース103>
IEEE1394インタフェース103は、3つの入力ポートIN0−IN2と3つの出力ポートOUT0−OUT2とを備える。IEEE1394インタフェース103の入力ポートIN0−IN2には、マトリクススイッチ102の出力端子T10−T12からのストリームが与えられる。IEEE1394インタフェース103の出力ポートOUT0−OUT2からのストリームは、マトリクススイッチ102の入力端子T4−T6に与えられる。IEEE1394インタフェース103は、バスB2からのストリームをそのインタフェース形式を変換して出力ポートOUT0−OUT2から出力し、入力ポートIN0−IN2に与えられたストリームをそのインタフェース形式を変換してバスB2に出力する。
【0040】
<HDDインタフェース105>
HDDインタフェース105は、2つの入力ポートIN0およびIN1と1つの出力ポートOUT0とを備える。HDDインタフェース105の入力ポートIN0およびIN1には、マトリクススイッチ102の出力端子T18およびT17からのストリームが与えられる。HDDインタフェース105の出力端子OUT0からのストリームは、マトリクススイッチ102の入力端子T7に与えられる。HDDインタフェース105は、ハードディスク装置109からのストリームをそのインタフェース形式を変換して出力ポートOUT0から出力し、入力ポートIN0,IN1に与えられたストリームをそのインタフェース形式を変換してハードディスク装置109に出力する。
【0041】
<デマルチプレクサ104>
デマルチプレクサ104は、4つの入力ポートIN0−IN3と2つの出力ポートOUT0およびOUT1とを備える。デマルチプレクサ104の入力ポートIN0−IN3には、マトリクススイッチ102の出力端子T13−T16からのストリームが与えられる。デマルチプレクサ104の出力ポートOUT0およびOUT1からのストリームは、マトリクススイッチ102の入力端子T2およびT3に与えられる。デマルチプレクサ104は、入力ポートIN0−IN3に与えられる4つのストリームを同時に処理することができる。デマルチプレクサ104は、処理後のストリームを出力ポートOUT0,OUT1から出力する。またデマルチプレクス処理(ストリームからのデータ取り出し処理)の結果のデータをバスB1を介してメモリ106へ記録したり、AVデコーダ108へ出力したりする。
【0042】
<複数の処理を同時に行う>
次に、以上のように構成されたシステムにおいてさまざまなストリームに対する各種の処理や出力が同時に行えることを順に説明する。
【0043】
<処理1>
受信した番組をAVHDD112に一時的に蓄積し時間差で再生・表示する処理(処理1)について図1,図2および図3(a)を参照しつつ説明する。
【0044】
まず、放送ストリームから所望の番組のストリームを取り出し、これをAVHDD112に蓄積する処理について説明する。
【0045】
スイッチ群203のスイッチ03およびスイッチ群200のスイッチ20をオン(ストリームが通過する)にするように指示する制御信号がCPU107からマトリクススイッチ102のスイッチ制御レジスタ209に与えられる。これに応答してスイッチ制御レジスタ209は、スイッチ03および20をオンにする制御信号をスイッチ群203および200に与える。これに応答してスイッチ03および20がオンになる。
【0046】
チューナ110で受信された放送ストリーム(暗号化されたストリーム)はマトリクススイッチ102の入力端子T0に与えられ、スイッチ03を通過し出力端子T13から出力され、デマルチプレクサ104の入力ポートIN0に入力される。
【0047】
デマルチプレクサ104は、入力ポートIN0に入力されるストリームの暗号を解除し、所望の番組を構成するストリームを取り出すようにCPU107によってあらかじめ設定されている。デマルチプレクサ104は、入力ポートIN0に入力された放送ストリームの暗号を解除し、所望の番組を構成するストリームを取り出して出力ポートOUT0から出力する。デマルチプレクサ104の出力ポートOUT0から出力されたストリームはマトリクススイッチ102の入力端子T2に与えられる。入力端子T2に入力されたストリームはスイッチ20を通過し出力端子T10から出力され、IEEE1394インタフェース103の入力ポートIN0に与えられる。IEEE1394インタフェース103はこのストリームをバスB2を介してAVHDD112に送る。AVHDD112はこのストリームを蓄積する。
【0048】
次に、AVHDD112に蓄積された番組ストリームを順次読み出して受信番組の時間差再生を行う処理について説明する。
【0049】
スイッチ群203のスイッチ03およびスイッチ群200のスイッチ20に加えてさらにスイッチ群204のスイッチ44をオンにするように指示する制御信号がCPU107からマトリクススイッチ102のスイッチ制御レジスタ209に与えられる。これに応答してスイッチ制御レジスタ209は、スイッチ03および20に加えてさらにスイッチ44をオンにする制御信号をスイッチ群204に与える。これに応答してスイッチ03および20に加えてさらにスイッチ44がオンになる。
【0050】
デマルチプレクサ104は、上述の設定に加えてさらに、入力ポートIN1から入力されたストリームからAVデータを取り出してAVデコーダ108へ出力するようにCPU107によって設定される。
【0051】
この後、AVHDD112に蓄積された番組ストリームが順次読み出され、IEEE1394インタフェース103の出力ポートOUT0からマトリクススイッチ102の入力端子T4に与えられる。入力端子T4に与えられたストリームはスイッチ44を通過し出力端子T14から出力され、デマルチプレクサ104の入力ポートIN1に入力される。デマルチプレクサ104は、番組を構成するAVデータを取り出しこれをAVデコーダ108に与える。このようにして再生番組のAV再生を行う。以上のようにして、受信した番組をAVHDD112に一時的に蓄積し時間差で再生・表示する処理を行う。
【0052】
<処理2>
次に、デジタルVTR113から外部のハードディスク装置109へ番組ストリームをダビングする処理(処理2)を図1,図2および図3(b)を参照しつつ説明する。処理2は上述の処理1と並行して行われる。
【0053】
スイッチ群208のスイッチ58をオンにするように指示する制御信号がCPU107からマトリクススイッチ102のスイッチ制御レジスタ209に与えられる。これに応答してスイッチ制御レジスタ209は、スイッチ58をオンにする制御信号をスイッチ群208に与える。これに応答してスイッチ58がオンになる。また、デジタルVTR113からの再生ストリームを出力ポートOUT1から出力するようにIEEE1394インタフェース103が設定される。また、入力ポートIN0に与えられるストリームをハードディスク装置109に蓄積するようにHDDインタフェース105が設定される。
【0054】
上述の設定の後にデジタルVTR113を再生すると、再生されたストリームは、図3(b)に示すように、IEEE1394インタフェース103の出力ポートOUT1からマトリクススイッチ102の入力端子T5に与えられ、スイッチ58を通過して出力端子T18からHDDインタフェース105の入力端子IN0に与えられ、ハードディスク装置109に蓄積される。
【0055】
処理2におけるストリームのマトリクススイッチ102内の通過経路は上述の処理1における通過経路とは異なるため、処理2を処理1と並行して同時に行うことができる。
【0056】
<処理3>
次に、別の受信放送からの番組ストリームを取り出しこれをハードディスク装置109への記録する処理(処理3)を図1,図2および図3(c)を参照しつつ説明する。処理3は上述の第1および処理2と並行して行われる。
【0057】
スイッチ群205のスイッチ15およびスイッチ群207のスイッチ37をオンにするように指示する制御信号がCPU107からマトリクススイッチ102のスイッチ制御レジスタ209に与えられる。これに応答してスイッチ制御レジスタ209は、スイッチ15および37をオンにする制御信号をスイッチ群205および207に与える。これに応答してスイッチ15および37がオンになる。
【0058】
チューナ111で受信された放送ストリームはマトリクススイッチ102の入力端子T1に与えられ、スイッチ15を通過し出力端子T15から出力され、デマルチプレクサ104の入力ポートIN2に入力される。
【0059】
デマルチプレクサ104は、所望の番組を構成するストリームを取り出すようにCPU107によってあらかじめ設定されている。デマルチプレクサ104は、入力ポートIN2に入力された放送ストリームから所望の番組を構成するストリームを取り出して出力ポートOUT1から出力する。デマルチプレクサ104の出力ポートOUT1から出力されたストリームはマトリクススイッチ102の入力端子T3に与えられる。入力端子T3に入力されたストリームはスイッチ37を通過し出力端子T17から出力され、HDDインタフェース105の入力ポートIN1に与えられる。HDDインタフェース105はこのストリームをハードディスク装置109に蓄積する。
【0060】
処理3におけるストリームのマトリクススイッチ102内の通過経路は上述の処理1および処理2における通過経路とは異なるため、処理3を第1および処理2と並行して同時に行うことができる。
【0061】
<処理4>
次に、ハードディスク装置109に蓄積されているデータ放送情報を取り出し、これをメモリ106に置きCPU107で処理する場合(処理4)について図1,図2および図3(d)を参照しつつ説明する。処理4は上述の第1−処理3と並行して行われる。
【0062】
スイッチ群206のスイッチ76をオンにするように指示する制御信号がCPU107からマトリクススイッチ102のスイッチ制御レジスタ209に与えられる。これに応答してスイッチ制御レジスタ209は、スイッチ76をオンにする制御信号をスイッチ群206に与える。これに応答してスイッチ76がオンになる。また、入力ポートIN3に与えられるストリームからデータ放送情報を取り出してメモリ106に蓄積するようにCPU107によってデマルチプレクサ104が設定される。
【0063】
HDDインタフェース105は、ハードディクス装置109にあらかじめ蓄積されているデータ放送情報を取り出し、出力ポートOUT0からマトリクススイッチ102の入力端子T7に与える。入力端子T7に与えられたストリームは、スイッチ76を通過し出力端子T16からデマルチプレクサ104の入力ポートIN3に与えられる。デマルチプレクサ104は、入力ポートIN3に与えられるストリームから設定に従ってデータ放送情報を取り出してメモリ106に蓄積する。これによりCPU107は、メモリ106に蓄積されたデータ放送情報を参照し処理することができるようになる。
【0064】
処理4におけるストリームのマトリクススイッチ102内の通過経路は上述の処理1−処理3における通過経路とは異なるため、処理4を処理1−処理3と並行して同時に行うことができる。
【0065】
<1つのストリームに対する複数の処理>
次に、図1に示したシステムにおいて1つのストリームに対して複数の処理や出力が可能であることを説明する。
【0066】
<ケース1>
まず、放送番組のAV再生処理と当該番組のオーディオデータをメモリ106へ蓄積する処理とを同時に行う場合(ケース1)について図1,図2および図4(a)を参照しつつ説明する。
【0067】
スイッチ群203のスイッチ03およびスイッチ群204のスイッチ04をオンにするように指示する制御信号がCPU107からマトリクススイッチ102のスイッチ制御レジスタ209に与えられる。これに応答してスイッチ制御レジスタ209は、スイッチ03および04をオンにする制御信号をスイッチ群203および204に与える。これに応答してスイッチ03および04がオンになる。また、入力ポートIN0に与えられるストリームから視聴対象の番組のAVデータをPESパケット形式で取り出しAVデコーダ108へ出力するようにCPU107によってデマルチプレクサ104が設定される。さらに、入力ポートIN1に与えられるストリームから視聴対象の番組のオーディオデータをエレメンタリストリームとして取り出しメモリ106に蓄積するようにデマルチプレクサ104が設定される。
【0068】
チューナ110からの放送ストリームがマトリクススイッチ102の入力端子T0に与えられる。このストリームはスイッチ03を通過し出力端子T13からデマルチプレクサ104の入力ポートIN0に与えられる。デマルチプレクサ104ではこのストリームから視聴対象のAVデータをPESパケット形式で取り出しこれをAVデコーダ108へ出力する。一方、チューナ110からの放送ストリームはマトリクススイッチ102のスイッチ04を通過し出力端子T14からデマルチプレクサ104の入力ポートIN1にも与えられる。デマルチプレクサ104はこのストリームから視聴対象番組のオーディオデータをエレメンタリストリーム形式で取り出しメモリ106に蓄積する。
【0069】
このように、1つのストリームを分岐させて複数種類の処理を同時に行うことができる。
【0070】
<ケース2>
次に、放送番組ストリームのAV再生と同時に同じ番組をトランスポートストリーム形式でAVHDD112に録画する場合について図1,図2および図4(b)を参照しつつ説明する。
【0071】
スイッチ群203のスイッチ03,スイッチ群204のスイッチ04およびスイッチ群200のスイッチ20をオンにするように指示する制御信号がCPU107からマトリクススイッチ102のスイッチ制御レジスタ209に与えられる。これに応答してスイッチ制御レジスタ209は、スイッチ03,04,20をオンにする制御信号をスイッチ群203,204,200に与える。これに応答してスイッチ03,04,20がオンになる。また、入力ポートIN0に与えられるストリームから視聴対象の番組のAVデータをPESパケット形式で取り出しAVデコーダ108へ出力するようにCPU107によってデマルチプレクサ104が設定される。さらに、入力ポートIN1に与えられるストリームから視聴対象の番組のストリームを取り出しトランスポートストリーム形式で出力ポートOUT0から出力するようにデマルチプレクサ104が設定される。また、入力ポートIN0に与えられるストリームをAVHDD112に記録するようにIEEE1394インタフェース103が設定される。
【0072】
チューナ110からの放送ストリームがマトリクススイッチ102の入力端子T0に与えられる。このストリームはスイッチ03を通過し出力端子T13からデマルチプレクサ104の入力ポートIN0に与えられる。デマルチプレクサ104はこのストリームから視聴対象のAVデータをPESパケット形式で取り出しAVデコーダ108へ出力する。一方、チューナ110からの放送ストリームはマトリクススイッチ102のストリームスイッチ04を通過し出力端子T15からデマルチプレクサ104の入力ポートIN1に入力される。デマルチプレクサ104はこのストリームから視聴対象番組をトランスポートストリームとして取り出し出力ポートOUT0より出力する。デマルチプレクサ104の出力ポートOUT0から出力されたストリームは、マトリクススイッチ102の入力端子T2に与えられ、スイッチ20を通過し出力端子T10からIEEE1394インタフェース103の入力ポートIN0に与えられる。IEEE1394インタフェース103はこのストリームをバスB2を介してAVHDD112に記録する。
【0073】
このように、1つの入力ストリームを分岐させて複数種類の処理を同時に行うことができる。
【0074】
<その他の処理>
次に、受信放送からの番組ストリームを取り出し、この番組ストリームにかけられている放送用暗号の解除を行った後にハードディスク記録用の暗号をかけた上でハードディスク装置109へ記録する処理について、図1、図2、図5を用いて説明する。
【0075】
スイッチ群205のスイッチ15、スイッチ群206のスイッチ26およびスイッチ群207のスイッチ37をオンにするように指示する制御信号がCPU107からマトリクススイッチ102のスイッチ制御レジスタ209に与えられる。これに応答してスイッチ制御レジスタ209は、スイッチ15、26および37をオンにする制御信号をスイッチ群205,206,207に与える。これに応答してスイッチ15、26および37がオンになる。チューナ111で受信された放送ストリームはマトリクススイッチ102の入力端子T1に与えられ、スイッチ15を通過し出力端子T15から出力され、デマルチプレクサ104の入力ポートIN2に入力される。
【0076】
デマルチプレクサ104は、入力ポートIN2から入力されたストリームに対して記録対象の番組を構成するストリームを取り出し放送用の暗号を解除するように、また入力ポートIN3から入力されたストリームに対してハードディスク記録用に暗号をかけるようにCPU107によってあらかじめ設定されている。
【0077】
デマルチプレクサ104は、入力ポートIN2に入力された放送ストリームから所望の番組を構成するストリームを取り出しこのストリームにかけられている放送用の暗号を解除した上で出力ポートOUT0から出力する。
【0078】
デマルチプレクサ104の出力ポートOUT0から出力されたストリームはマトリクススイッチ102の入力端子T2に与えられる。入力端子T2に入力されたストリームはスイッチ26を通過し出力端子T16から出力され、デマルチプレクサ104の入力ポートIN3に入力される。
【0079】
デマルチプレクサ104は、入力ポートIN3に入力されたストリームに対してハードディスク記録用の暗号をかけ出力ポートOUT1から出力する。
【0080】
デマルチプレクサ104の出力ポートOUT1から出力されたストリームはマトリクススイッチ102の入力端子T3に与えられる。入力端子T3に入力されたストリームはスイッチ37を通過し出力端子T17から出力され、HDDインタフェース105の入力ポートIN1に与えられる。HDDインタフェース105はこのストリームをハードディスク装置109に蓄積する。
【0081】
このように、入力されたストリームは、デマルチプレクサ104にて放送用暗号が解除され、マトリクススイッチ102を経由して再びデマルチプレクサ104に入力される。そしてデマルチプレクサ104においてハードディスク記録用暗号化処理が行われ、再びマトリクススイッチ102を経由してハードディスクインタフェース105よりハードディスク装置109に蓄積される。
【0082】
<効果>
以上のように第1の実施形態によるシステムでは、複数のストリームを同時並行に処理したり、入力されたストリームを直接出力したりすることができる。また、マトリクススイッチ102内のスイッチの設定に応じてシステム構成を自由に変更できる。
【0083】
なお、マトリクススイッチ102,IEEE1394インタフェース103,HDDインタフェース105の入出力ポート数は上述の数には限られず、必要となるシステム構成に応じて自由に設定することができる。また、その他の種類のストリーム入出力インタフェースやストリーム処理回路を排除するものではない。
【0084】
(第2の実施形態)
<システムの全体構成>
図6は、この発明の第2の実施形態によるデジタルTV受信機のシステムの全体構成を示すブロック図である。図6に示すシステムは、デジタルTV受信機500と、AVHDD112と、デジタルビデオカメラ508とを備える。
【0085】
デジタルTV受信機500は、ストリーム処理装置501と、メモリ106と、CPU107と、イーサネット(R)インタフェース507と、DVDドライブ装置509とを含む。
【0086】
ストリーム処理装置501は、チューナ111と、マトリクススイッチ502と、IEEE1394インタフェース503と、デマルチプレクサ504と、AVデコーダ505と、HDDインタフェース105と、DMA回路506とを含む。ストリーム処理装置501には、チューナ111からの放送ストリーム・バスB2からのストリーム・DVDドライブ装置509からの再生ストリームが入力される。入力されたストリームは処理されてメモリ106に蓄積されたり、処理後のストリームとして出力されたりする。また、入力されたストリームがそのまま出力されることもある。さらにメモリ106へストリームを蓄積したりメモリ106からストリームを読み出して入力したりすることができる。ストリーム処理装置501からはバスB2・DVDドライブ装置509へストリームが出力される。
【0087】
DVDドライブ装置509は、ストリーム処理装置501から出力されるストリームを記録したり、蓄積されているストリームをストリーム処理装置501へ出力したりする。
【0088】
イーサネット(R)インタフェース507は、イーサネット(R)を介して受信したデータをメモリ106に蓄積したり、メモリ106内のデータをイーサネット(R)へ送信したりする。
【0089】
デジタルビデオカメラ508は、録画されたAVストリームをバスB2を介して再生したり、バスB2を介して入力されたAVストリームを記録したりする。
【0090】
<ストリーム処理装置501の内部構成>
図7は、図6に示したストリーム処理装置501の構成を詳しく示すブロック図である。
【0091】
<マトリクススイッチ502>
図7を参照して、マトリクススイッチ502は、入力端子T30−T37,T50と、出力端子T40−T48と、スイッチ群600−608と、スイッチ制御レジスタ609とを含む。
【0092】
入力端子T30は、DMA回路506の出力ポートOUT0からのストリームを受ける。入力端子T31は、チューナ111からのストリームを受ける。入力端子T32およびT33は、デマルチプレクサ504の出力ポートOUT0およびOUT1からのストリームを受ける。入力端子T34−T36は、IEEE1394インタフェース503の出力ポートOUT0−OUT2からのストリームを受ける。入力端子T37は、HDDインタフェース105の出力ポートOUT0からのストリームを受ける。入力端子T50は、バスB1からの制御信号を受ける。
【0093】
スイッチ群600は、スイッチ00−30,70を含む。スイッチ00−30,70は、オン状態のとき、入力端子T30−T33,T37に与えられるストリームを出力端子T40に与える。スイッチ群601は、スイッチ01−31,71を含む。スイッチ01−31,71は、オン状態のとき、入力端子T30−T33,T37に与えられるストリームを出力端子T41に与える。スイッチ群602は、スイッチ02−72を含む。スイッチ02−72は、オン状態のとき、入力端子T30−T37に与えられるストリームを出力端子T42に与える。スイッチ群603は、スイッチ13−73を含む。スイッチ13−73は、オン状態のとき、入力端子T31−T37に与えられるストリームを出力端子T43に与える。スイッチ群604は、スイッチ04,14,44−74を含む。スイッチ04,14,44−74は、オン状態のとき、入力端子T30,T31,T34−T37に与えられるストリームを出力端子T44に与える。スイッチ群605は、スイッチ05,15,45−75を含む。スイッチ05,15,45−75は、オン状態のとき、入力端子T30,T31,T34−T37に与えられるストリームを出力端子T45に与える。スイッチ群606は、スイッチ06,16,46−76を含む。スイッチ06,16,46−76は、オン状態のとき、入力端子T30,T31,T34−T37に与えられるストリームを出力端子T46に与える。スイッチ群607は、スイッチ07−67を含む。スイッチ07−67は、オン状態のとき、入力端子T30−T36に与えられるストリームを出力端子T47に与える。スイッチ群608は、スイッチ08−68を含む。スイッチ08−68は、オン状態のとき、入力端子T30−T36に与えられるストリームを出力端子T48に与える。
【0094】
図7に示すスイッチ群600−608では、図2に示したスイッチ群200−208と比較して一部のスイッチが省略されている。これは、IEEE1394インタフェース503から入力されたストリームをIEEE1394インタフェース503に出力するというようなストリームが通過する可能性のないスイッチを省略しているためである。
【0095】
スイッチ制御レジスタ609は、CPU107からバスB1を介して入力端子T50に与えられる制御信号に応答してスイッチ群600−608に制御信号を与える。スイッチ群600−608に与えられる制御信号は、当該スイッチ群に含まれるスイッチのうちどのスイッチをオンにするかを指定する信号である。スイッチ群600−608は、スイッチ制御レジスタ609からの制御信号に応答していずれか1つのスイッチをオンにする。すなわちスイッチ群600−608は、入力端子T30−T37に与えられるストリームのうちの1つを選択して出力端子T40−T48に出力する。
【0096】
以上のように構成されたマトリクススイッチ502では、入力端子T30−T37に与えられる8つの入力ストリームをそれぞれ9つの出力端子T40−T48のうちの指定のものに出力することができる。
【0097】
<IEEE1394インタフェース503>
IEEE1394インタフェース503は、2つの入力ポートIN0,IN1と3つの出力ポートOUT0−OUT2とを備える。IEEE1394インタフェース103の入力ポートIN0,IN1には、マトリクススイッチ502の出力端子T40,T41からのストリームが与えられる。IEEE1394インタフェース503の出力ポートOUT0−OUT2からのストリームは、マトリクススイッチ502の入力端子T34−T36に与えられる。IEEE1394インタフェース503は、バスB2からのストリームをそのインタフェース形式を変換して出力ポートOUT0−OUT2から出力し、入力ポートIN0,IN1に与えられたストリームをそのインタフェース形式を変換してバスB2に出力する。
【0098】
<HDDインタフェース105>
HDDインタフェース105は、2つの入力ポートIN0およびIN1と1つの出力ポートOUT0とを備える。HDDインタフェース105の入力ポートIN0およびIN1には、マトリクススイッチ502の出力端子T48およびT47からのストリームが与えられる。HDDインタフェース105の出力端子OUT0からのストリームは、マトリクススイッチ502の入力端子T37に与えられる。HDDインタフェース105は、DVDドライブ装置509からのストリームをそのインタフェース形式を変換して出力ポートOUT0から出力し、入力ポートIN0,IN1に与えられたストリームをそのインタフェース形式を変換してDVDドライブ装置509に出力する。
【0099】
<デマルチプレクサ504>
デマルチプレクサ504は、3つの入力ポートIN1−IN3と2つの出力ポートOUT0およびOUT1とを備える。デマルチプレクサ504の入力ポートIN1−IN3には、マトリクススイッチ502の出力端子T44−T46からのストリームが与えられる。デマルチプレクサ504の出力ポートOUT0およびOUT1からのストリームは、マトリクススイッチ502の入力端子T32およびT33に与えられる。デマルチプレクサ504は、入力ポートIN1−IN3に与えられる3つのストリームを同時に処理することができる。デマルチプレクサ504は、処理後のストリームを出力ポートOUT0,OUT1から出力する。またデマルチプレクス処理(ストリームからのデータ取り出し処理)の結果のデータをバスB1を介してメモリ106へ記録する。
【0100】
<DMA回路506>
DMA回路506は、入力ポートIN0と出力ポートOUT0とを備える。DMA回路506の入力ポートIN0には、マトリクススイッチ502の出力端子T43からのストリームが与えられる。DMA回路506の出力ポートOUT0からのストリームは、マトリクススイッチ502の入力端子T30に与えられる。DMA回路506は、入力ポートIN0に与えられるストリームをバスB1を介してメモリ106に書き込むとともにメモリ106内における当該ストリームの書き込み位置を記憶し、メモリ106に書き込まれているストリームをバスB1を介して読み出して出力ポートOUT0から出力するとともにメモリ106内における当該ストリームの読み出し位置を記憶する。
【0101】
<各種の処理>
次に、図6に示したシステムにおいて様々なストリームに対して各種の処理を行う場合について説明する。
【0102】
<処理1>
まず、デジタルビデオカメラ508から再生した映像・音声をAVデコーダ505でデコードし再生する場合について図6,図7および図8(a)を参照しつつ説明する。
【0103】
スイッチ群603のスイッチ53およびスイッチ群602のスイッチ02をオンにするように指示する制御信号がCPU107からスイッチ制御レジスタ609に与えられる。これに応答してスイッチ制御レジスタ609は、スイッチ53および02をオンにする制御信号をスイッチ群603および602に与える。これに応答してスイッチ53および02がオンになる。さらに、メモリ106内のデータ蓄積領域のアドレスをDMA回路506に設定し、入力されたストリームをこのデータ蓄積領域に蓄積しつつAVデコーダ505からのデータ要求に応じてデータ蓄積領域からストリームを読み出すようにDMA回路506を設定しておく。
【0104】
デジタルビデオカメラ508からバスB2に出力された映像・音声ストリームはIEEE1394インタフェース503へ入力され、出力ポートOUT1よりマトリクススイッチ502の入力端子T35へ入力される。このストリームはスイッチ53を通過し出力端子T43からDMA回路506の入力ポートIN0に入力される。DMA回路506はこのストリームをメモリ106内のデータ蓄積領域に書き込む。このときDMA回路506は、メモリ106内におけるストリームの読み出し位置を参照して、未だ読み出されていないストリームが記憶されている領域にはストリームを書き込まないようにする。すなわち、メモリ106内の領域のうち未だ読み出されていないストリームが記憶されている領域以外の領域にストリームを書き込む。
【0105】
AVデコーダ505からデータ要求が出されると、DMA回路506は、メモリ106内のデータ蓄積領域に蓄積されたストリームを読み出して出力ポートOUT0からマトリクススイッチ502の入力端子T30に与える。このときDMA回路506は、メモリ106内におけるストリームの書き込み位置を参照して、すでにストリームが記憶されている領域からストリームを読み出す。このストリームはストリームスイッチ02を通過し出力端子T42からAVデコーダ505の入力ポートIN0へ渡され、そしてAVデコーダ505によってAVデコード処理が行われ表示・再生される。
【0106】
<処理2>
次に、イーサネット(R)を介して受信しCPU107が取り出したストリームに対してデマルチプレクス処理を行う場合について図6,図7および図8(b)を参照しつつ説明する。
【0107】
スイッチ群604のスイッチ04をオンにするように指示する制御信号がCPU107からスイッチ制御レジスタ609に与えられる。これに応答してスイッチ制御レジスタ609は、スイッチ04をオンにする制御信号をスイッチ群604に与える。これに応答してスイッチ04がオンになる。また、入力ポートIN1に与えられるストリームに対してデマルチプレクス処理を行い処理結果をメモリ106に蓄積するようにデマルチプレクサ504が設定される。さらに、メモリ106内の受信ストリーム蓄積領域からストリームを読出して出力ポートOUT0から出力するようにDMA回路506が設定される。
【0108】
イーサネット(R)インタフェース507が受信したパケットはバスB1を介してメモリ106のイーサネット(R)データ受信領域に蓄積される。このイーサネット(R)パケットをCPU107が処理しパケット内から所望のストリームを取り出し、メモリ106の受信ストリーム蓄積領域に蓄積する。
【0109】
DMA回路506は、メモリ106の受信ストリーム蓄積領域に蓄積されたストリームを読み出し、出力ポートOUT0からマトリクススイッチ502の入力端子T30へ入力する。このストリームはスイッチ04を通過し出力端子T44からデマルチプレクサ504の入力ポートIN1に入力される。デマルチプレクサ504は、入力されたストリームに対してデマルチプレクス処理を行い、その結果のデータをメモリ106に蓄積する。
【0110】
このように、通常のストリームインタフェースではないイーサネット(R)などのインタフェースによって受信したストリームをデマルチプレクス処理することができる。
【0111】
<処理3>
次に、チューナ111が受信した放送ストリーム(トランスポートストリーム)中からデジタルTV受信機500のソフトウェアが処理する番組表や暗号解除用鍵データなどを取り出す処理について図6,図7,図8(c)を参照しつつ説明する。
【0112】
まず、トランスポートストリームのデータフォーマットとこれに対するデマルチプレクス処理について説明する。トランスポートストリームは一連のトランスポートストリームパケットから構成されている。トランスポートストリームパケットは188バイト長のパケットであり、様々なデジタル放送データを格納している。トランスポートパケットに格納されているデータはおもにPES(Packetized Elementary Stream)パケットとセクションデータとに分けられる。PESパケットは、放送される番組を構成する映像や音声のデータ(エレメンタリデータ)を格納している。セクションデータは、デジタルTV受信機のソフトウェアによる処理の対象となる番組表や暗号解除用鍵データなどを格納している。各トランスポートストリームパケットにはパケット識別子(PID)が付与されている。パケット識別子(PID)は、格納しているデータの種別すなわち映像か音声か番組表かなどを示している。さらにセクションデータの先頭にはヘッダ情報がある。ヘッダ情報には、セクションデータの内容に関するさらに詳細な種別や内容の更新状況などの情報が埋め込まれている。
【0113】
デマルチプレクサ504では、入力されたトランスポートストリームパケットのPIDを識別し、受信すべき番組のエレメンタリストリームであるか、受信すべきセクションデータであるかを判断し、トランスポートストリームパケット単位での選別(PIDフィルタ処理)を行う。次に、トランスポートストリームパケット内からPESパケットやセクションデータを取り出す。取り出されたセクションデータに対してはさらに、セクションデータのヘッダ情報に基づき選別処理(セクションフィルタ処理)を行う。セクションフィルタ処理の一般的な処理内容は、セクションデータのヘッダ部分16バイトに対して32種類の条件データとの比較を行い一致するものがあるかどうかを判断するというものである。選別されたPESパケットやセクションデータはそれぞれ種別ごとにメモリ106に一時蓄積された後、PESパケットすなわち映像や音声データはAVデコーダ505で伸長処理が行われ再生される。一方、セクションデータはソフトウェアで処理され、番組表の取り出しや暗号解除用鍵データの取り出しが行われ、これに基づきデジタルTV受信機500の動作が制御される。
【0114】
一般にデジタルTV放送におけるトランスポートストリームのデータレートは30Mbps(20000パケット/秒)程度であり、このデータレートでデマルチプレクス処理をリアルタイムに実行する必要がある。特にセクションフィルタ処理は1つのトランスポートストリームパケットに対して最大10回実行する必要がある。すなわち、1秒あたり(20000パケット×10)個のセクションデータに対して32種類×16バイトの比較処理(計100Mバイト以上の比較処理)を行う必要がある。
【0115】
第2の実施形態では、デマルチプレクス処理のPIDフィルタ処理およびセクションフィルタ処理をリアルタイムに行うのではなく2回に分けて行う。
【0116】
まず、デマルチプレクサ504は、受信すべきエレメンタリデータをPIDフィルタ処理で取り出しメモリ106に格納する。一方、デマルチプレクサ504は、入力されたトランスポートストリームのうち受信すべきセクションデータのPIDをもつトランスポートストリームパケットだけを残した部分トランスポートストリームを生成し、これをメモリ106に一時蓄積する。一時蓄積された部分トランスポートストリームを順次メモリ106から取り出し再びデマルチプレクサ504に入力しこの時にセクションフィルタ処理を行う。
【0117】
一般にデジタルTV放送のトランスポートストリームのデータレート30Mbpsのうち、1〜2Mbpsがセクションデータ、残りがエレメンタリデータという構成になっている。すなわち、PIDフィルタ処理で取り出された受信対象のセクションデータだけから構成される部分トランスポートストリームの平均データレートは高々1〜2Mbpsということになる。この結果、セクションフィルタ処理に必要とされる比較処理の能力は上述のように受信されたトランスポートストリームをリアルタイムで処理する場合と比較して1/30〜1/15に軽減される。これにより、回路規模が縮小され、ソフトウェアによるセクションフィルタ処理が可能となる。
【0118】
以下、上述のような2段階のデマルチプレクス処理の動作を具体的に説明する。ここでは、放送から受信されたトランスポートストリーム内の受信すべきセクションデータの平均データレートを1Mbpsとする。
【0119】
スイッチ群605のスイッチ15,スイッチ群603のスイッチ23およびスイッチ群604のスイッチ04をオンにするように指示する制御信号がCPU107からスイッチ制御レジスタ609に与えられる。これに応答してスイッチ制御レジスタ609は、スイッチ15,23および04をオンにする制御信号をスイッチ群604に与える。これに応答してスイッチ15,23および04がオンになる。また、入力ポートIN2から入力されたストリームに対しては、受信すべきセクションデータを含むパケットだけをPIDフィルタ処理により取り出しこのパケットだけからなる部分トランスポートストリームを作成しこれを出力ポートOUT0から出力するようにデマルチプレクサ回路504が設定される。また、入力ポートIN1から入力されたストリームに対してはセクションデータの選別とメモリ106への蓄積処理を行うようにデマルチプレクサ504が設定される。また、メモリ106内のデータ蓄積領域のアドレスをDMA回路506に設定し、入力ポートIN0に与えられるストリームをこの領域に蓄積しかつこの蓄積データを低速度(1Mbps)で読み出して出力ポートOUT0から出力するようにDMA回路506が設定される。
【0120】
チューナ111が受信したストリームはマトリクススイッチ502の入力端子T31に入力され、スイッチ15を通過し出力端子T45からデマルチプレクサ504の入力ポートIN2に入力される。デマルチプレクサ504は、このストリームからセクションデータを含むパケットだけをPIDフィルタ処理で抜き出しセクションデータだけからなる部分トランスポートストリームを生成しこれを出力ポートOUT0から出力する。受信すべきセクションデータの平均データレートは1Mbpsであるのでこの部分ストリームのデータレートは平均1Mbpsとなる。この部分ストリームはマトリクススイッチ502の入力端子T32に与えられスイッチ23を通過して出力端子T43からDMA回路506の入力ポートIN0に入力される。DMA回路506は、入力された部分ストリームをメモリ106内のデータ蓄積領域に一時的に蓄積する。また同時に、データ蓄積領域にストリームが蓄積されている場合にはDMA回路506は低速度(1Mbps)でこのストリームを読み出して出力ポートOUT0から出力する。このストリームはマトリクススイッチ502のスイッチ04を通過して出力端子T44からデマルチプレクサ504の入力ポートIN1へ入力される。デマルチプレクサ504は、入力ポートIN1に入力されたストリームに対してセクションデータの取り出しとセクションフィルタ処理を行い、処理結果のデータをメモリ106の所定の領域に記録する。
【0121】
このように、実時間処理を必要としないようなセクションフィルタ処理を行うためにストリームを一時蓄積した後、改めて低速度のストリームとして処理することもできる。
【0122】
このようにデマルチプレクス処理を2段階に分けて行うため、セクションフィルタ処理を行う回路の回路規模の削減やソフトウェアによるセクションフィルタ処理が可能となる。
【0123】
ここではメモリ106に蓄積された部分トランスポートストリームをDMA回路506が低速度で読み出すようにしたが、これに代えて、デマルチプレクサ504がデータ要求を出し、これに応じてDMA回路506がメモリ106内のデータ蓄積領域から部分トランスポートストリームを読み出しデマルチプレクサ504に供給するようにしてもよい。すなわち、マトリクススイッチ502の各出力端子に対応してデータ要求信号の入力を設け、このデータ要求信号はマトリクススイッチ502の接続をデータと逆方向にたどり当該出力端子に対応づけられている入力ポートを通りストリーム供給元へ出力される。上記の例ではデマルチプレクサ504の入力ポートIN1からデータ要求信号が出力され、これがマトリクススイッチ502を経由しDMA回路506の出力ポートOUT0からDMA回路506へ入力される。DMA回路506はメモリ106に格納されている部分ストリームをこのデータ要求信号に応じて読み出す。読み出された部分ストリームは、マトリクススイッチ502を経由してデマルチプレクサ504の入力ポートIN1に供給される。このようにデータ要求に応じてデータを供給することにより、処理対象の部分ストリームのデータレートが変動した場合にも柔軟に対応してデマルチプレクス処理を実行することが可能となる。
【0124】
<効果>
以上のように第2の実施形態では、メモリ106に対してストリームを読み書きすることのできるDMA回路506を設けたため、ストリーム処理中にデータを一時蓄積することやCPU107が処理したデータをストリームとして処理することが可能となり、システム構成の自由度がさらに向上する。
【0125】
また、ストリームの供給をデータ要求信号に応じて実施するため、動作の自由度や組み合わせることの可能な入出力・処理手段の種類が増加する。
【0126】
なお、この実施形態で示した入力や出力のポート数は一例でありこれに限定されるものではない。またデータ要求信号がデマルチプレクサ504からDMA回路506へ渡される例を説明したがこれに限定されるものでなく、すべてのストリーム供給先からストリーム供給元へマトリクススイッチの設定に応じて渡すことが可能である。さらにデータ要求信号だけでなくその他の制御信号を同様に渡すこともできる。
【0127】
(第3の実施形態)
第1および第2の実施形態では、マトリクススイッチのスイッチ群は8つの入力端子から入力されるストリームから1つのストリームを選択しこれを出力するものであった。第3の実施形態におけるマトリクススイッチのスイッチ群は、複数のストリームを多重して出力することができることを特徴とする。
【0128】
<スイッチ群の構成>
図9は、第3の実施形態によるスイッチ群の構成を示すブロック図である。スイッチ群以外の構成は図6および図7に示したシステムの構成と同様である。図9を参照して、それぞれの入力ストリーム0−7は、有効なデータ入力があることを示すデータイネーブル信号0−7がアクティブになるたびにそれぞれのレジスタ800〜807に取り込まれる。また、データイネーブル信号0−7は多重制御回路808に入力されており、多重制御回路808はレジスタ800−807のうちのどのレジスタにデータが蓄積されているかを管理している。また多重制御回路808は、レジスタ800−807にデータが蓄積されるとこれを順次選択するようにセレクタ809を制御するとともに出力データイネーブル信号と出力データ選択信号を出力する。ただし、スイッチ制御レジスタ609から出力選択信号が入力されており、入力ごとに多重出力するかどうかを制御している。出力データイネーブル信号と出力データ選択信号は、出力先指示回路810にも入力されている。出力先指示回路810には、スイッチ群への入力と出力先との対応がスイッチ制御レジスタ609によって指定される。この対応に基づいて出力先指示回路810は出力先指示信号を出力する。出力先指示信号は、出力データ選択信号が示す入力信号を出力すべき出力先を示す。このようにスイッチ群は、複数の入力データのうち指定されたものを多重して出力すると同時に、多重されたそれぞれのデータを識別し出力先を示す信号を出力することができる。多重された出力データと、出力先指示信号とが入力される回路では、出力先指示信号を参照して多重出力データからもとのデータを分離し、それぞれのデータに対して個別の処理を実施することができる。
【0129】
<スイッチ群の動作>
このスイッチ群の動作タイミングチャートの例を図10に示す。この例ではデータ0,1,2,3が入力されており、このうちデータ0,1,2を多重出力するようにスイッチ制御レジスタ609が指示しているとする。また、スイッチ制御レジスタ609はデータ0を出力先1に、データ1を出力先0に、データ2を出力先3に出力するように対応が指定されているとする。まずデータ0が入力されるとレジスタ800に蓄積され、次のクロックでセレクタ809がデータ0を選択し出力すると同時に出力先指示回路810からは出力先1を示す出力先指示信号が出力される。次にデータ1,2,3が同時に入力され、それぞれレジスタ801−803に書き込まれる。これらのデータは多重制御回路808の指示により、次のクロックではデータ1が出力されると同時に出力先0を示す出力先指示信号が出力され、さらに次のクロックではデータ2が出力されると同時に出力先3を示す出力先指示信号が出力される。しかしデータ3はスイッチ制御レジスタ609からの出力指示がないため出力されない。このように動作するスイッチ群を実現することで、複数のストリーム入力を多重して1ストリームとしてAVデコーダ505などに入力できる。
【0130】
このスイッチ群の動作タイミングチャートの別の例を図11に示す。この例ではデータ0,1,2,3が入力されており、このうちデータ0,1を多重出力するようにスイッチ制御レジスタ609が指示しているとする。また、スイッチ制御レジスタ609はデータ0を出力先1に、データ1を出力先0と出力先3とに分岐して出力するように対応が指定されているとする。まずデータ0が入力されるとレジスタ800に蓄積され、次のクロックでセレクタ809がデータ0を選択し出力すると同時に出力先指示回路810からは出力先1を示す出力先指示信号が出力される。次にデータ1,2,3が同時に入力され、それぞれレジスタ801−803に書き込まれる。これらのデータは多重制御回路808の指示により、次のクロックではデータ1が出力されると同時に出力先0を示す出力先指示信号と出力先3を示す出力先指示信号とが出力される。しかしデータ2とデータ3はスイッチ制御レジスタ609からの出力指示がないため出力されない。このように動作するスイッチ群を実現することにより、複数のストリーム入力を多重して1ストリームとして、複数ストリームに対してそれぞれ個別の処理を行うAVデコーダ505などにこの1ストリームを入力できる。また、AVデコーダ505へ入力される3系統のストリームのうち2つを同じストリームとすることもできる。すなわち、第1の実施形態で説明した、1つのストリームを分岐して2種類の処理を実行することを、出力データを多重して出力するスイッチ群を用いても実現することができる。
【0131】
<システムにおいて実現できる機能>
以上説明したようなスイッチ群を備えることにより、図6および図7に示したシステムでは次のような機能を実現できる。なお、ここではAVデコーダ505は、入力ストリームとして複数のストリームが多重されたものを受け取り、多重されたそれぞれのデータを出力先指示信号に基づき取り出し別のAVデータとしてデコードできるものであるとする。
【0132】
バスB2に接続されているデジタルビデオカメラ508からの再生ストリームとHDDインタフェース105に接続されているDVDドライブ装置509からの再生ストリームとの2つの映像を同時にAVデコーダ505でデコードし表示する場合について説明する。
【0133】
スイッチ42および72をオンにし入力端子T34から入力されるストリームと入力端子T37から入力されるストリームとを多重化して出力するようにCPU107およびスイッチ制御レジスタ609によってスイッチ群609が設定される。また、デジタルビデオカメラ508からの再生ストリームを出力ポートOUT0から出力するようにIEEE1394インタフェース503が設定される。また、DVDドライブ装置509からの再生ストリームを出力ポートOUT0から出力するようにHDDインタフェース105が設定される。
【0134】
デジタルビデオカメラ508からの再生ストリームはIEEE1394インタフェース503の出力ポートOUT0からスイッチ42に入力される。一方、DVDドライブ装置509からの再生ストリームはHDDインタフェース105の出力ポートOUT0からスイッチ72に入力される。この2つのストリームはスイッチ群602により多重化されAVデコーダ505の入力ポートIN0に入力される。AVデコーダ505は多重化された2つのストリームのそれぞれをデコードし双方の映像を表示する。
【0135】
以上のように構成し動作させることで、回路規模としては1系統のストリーム接続だけで複数のストリームを自由に接続することができる。
【0136】
【発明の効果】
以上説明したようにこの発明によるストリーム処理装置によれば複数のストリームを処理する機能を有する装置の構成の自由度を向上させることができる。
【図面の簡単な説明】
【図1】 この発明の第1の実施形態によるシステムの全体構成を示すブロック図である。
【図2】 図1に示したストリーム処理装置の構成を詳しく示すブロック図である。
【図3】 (a)は、放送ストリームから所望の番組のストリームを取り出し、これをIEEE1394バスに接続されているAVHDDに蓄積する処理を説明するための図である。(b)は、デジタルVTRから外部のハードディスク装置へ番組ストリームをダビングする処理を説明するための図である。(c)は、別の受信放送からの番組ストリームを取り出しこれをハードディスク装置への記録する処理を説明するための図である。(d)は、ハードディスク装置に蓄積されているデータ放送情報を取り出し、これをメモリに置きCPUで処理する場合を説明するための図である。
【図4】 (a)は、放送番組のAV再生と当該番組のオーディオデータをメモリ106へ蓄積する処理とを同時に行う場合について説明するための図である。(b)は、放送番組ストリームのAV再生と同時に同じ番組をトランスポートストリーム形式でAVHDD112に録画する場合について説明するための図である。
【図5】 受信放送からの番組ストリームを取り出し、この番組ストリームにかけられている放送用暗号の解除を行い、さらにこの番組ストリームに対してハードディスク記録用の暗号をかけた上で、ハードディスク装置へ記録する処理について説明するための図である。
【図6】 この発明の第2の実施形態によるシステムの全体構成を示すブロック図である。
【図7】 図6に示したストリーム処理装置の構成を詳しく示すブロック図である。
【図8】 (a)は、デジタルビデオカメラから再生した映像・音声をAVデコーダでデコードし再生する処理を説明するための図である。(b)は、イーサネット(R)を介して受信しCPUが取り出したストリームに対してデマルチプレクス処理を行う場合について説明するための図である。(c)は、チューナが受信した放送ストリーム中からデジタルTV受信機のソフトウェアが処理する番組表や暗号解除用鍵データなどを取り出す処理について説明するための図である。
【図9】 この発明の第3の実施形態によるスイッチ群の構成を示すブロック図である。
【図10】 図9に示したスイッチ群の動作を説明するためのタイミングチャートである。
【図11】 図9に示したスイッチ群の動作を説明するためのタイミングチャートである。
【符号の説明】
101,501 ストリーム処理装置、102,502 マトリクススイッチ、103,503 IEEE1394インタフェース、104,504 デマルチプレクサ、105 HDDインタフェース、106 メモリ、107 CPU、108,505 AVデコーダ、110,111 チューナ、200−208,600−608 スイッチ群、209,609 スイッチ制御レジスタ、506 DMA回路、507 イーサネット(R)インタフェース、800−807 レジスタ、808 多重制御回路、809 データ選択回路。
[0001]
BACKGROUND OF THE INVENTION
  The present invention relates to a stream processing apparatus that handles a plurality of streams.
[0002]
[Prior art]
  In recent years, video, audio, and data are often broadcasted, transmitted, and stored as digital data. For example, in digital TV broadcasts, DVDs, digital VTRs, digital video cameras, IEEE 1394, etc., data such as video signals, audio signals, data broadcasts, and EPGs are broadcasted, transmitted, processed, and stored as a stream. There are various data formats for these streams. For example, in digital TV broadcasting and digital VTR, a transport stream defined in the MPEG system standard is used. In DVD, a program stream defined in the MPEG system standard is used. The DV format is used when recording data of a digital video camera is transmitted on the IEEE 1394 bus. A unique process is required for each of these data formats.
[0003]
  Under such circumstances, digital AV devices have appeared that have not only a single function but also a plurality of functions. For example, in a digital TV receiver having an IEEE 1394 interface, “receive and display a broadcast program”, “receive a broadcast program and record it on an external storage device connected via the IEEE 1394 bus” ”,“ Reproduce and display a program from an external storage device connected via the IEEE 1394 bus ”. The stream input to the digital TV receiver is “broadcast program stream” and “program stream played from an external storage device connected via the IEEE1394 bus” and is output. The stream is “a stream of a program to be recorded on an external storage device connected via the IEEE 1394 bus”. In this way, a plurality of streams are input / output.
[0004]
[Problems to be solved by the invention]
  The digital TV receiver is provided with a transport decoder as an LSI for processing a stream. A stream input / output interface LSI (for example, IEEE 1394 interface LSI) that supplies a stream input from the outside to the transport decoder and outputs the stream processed by the transport decoder to the outside is different from the transport decoder. It is provided as an LSI. The connection between these LSIs on the printed board is optimized according to the application system. However, it is impossible to envisage all future usage methods, and the future application range is limited by assumptions at the time of system design.
[0005]
  Recently, integration of LSIs has progressed, and it has become possible to mount a transport decoder and a stream input / output interface in one LSI. For this reason, it has become necessary to assume the application range of the LSI in which the LSI continues to be used and the functions realized in the system using the LSI when designing the LSI.
[0006]
  On the other hand, with the progress of video / audio digitization and networking, the types of stream input / output interfaces have increased and the number of streams that must be processed simultaneously has also increased. In addition, the processing content of the stream has been diversified.
[0007]
  An object of the present invention is to provide a stream processing apparatus capable of improving the degree of freedom of the configuration of an apparatus having a function of processing a plurality of streams.
[0008]
[Means for Solving the Problems]
  The stream processing apparatus according to the present invention comprises selection means and first to fifth processing means. The selecting means associates a plurality of inputs with a plurality of outputs according to external control, and provides a stream given to each of the plurality of inputs to the corresponding output. The first processing means gives the first stream to the first input among the plurality of inputs. The second processing means gives the second stream to the second input among the plurality of inputs. The third processing means receives a stream from the first output among the plurality of outputs. The fourth processing means receives a stream from the second output among the plurality of outputs. The fifth processing means receives a stream from the third output among the plurality of outputs, performs a predetermined process on the received stream, and selects the stream subjected to the process from the plurality of inputs. To the third input.The selection means multiplexes at least two of the plurality of outputs into a new output.
[0009]
  Preferably, the selection unit associates the plurality of inputs with the plurality of outputs on a one-to-one basis.
[0010]
  In the stream processing apparatus, by controlling the selection means, the stream from the first processing means is supplied to one of the third and fourth processing means, and the stream from the second processing means is supplied to the third and fourth streams. To the other of the processing means. Further, by controlling the selection means, a stream from one of the first and second processing means is given to one of the third and fourth processing means, and from the other of the first and second processing means. The stream after being provided to the fifth processing means and processed by the fifth processing means may be provided to the other of the third and fourth processing means.It is also possible to output a plurality of streams from one system output.As described above, since the assignment between the stream input to the selection means and the third to fifth processing means can be freely changed, the degree of freedom of the configuration of the apparatus having the function of processing a plurality of streams is improved. Can be made.
[0011]
  Preferably, the selection means associates one of the plurality of inputs with two of the plurality of outputs.
[0012]
  In the stream processing apparatus, by controlling the selection means, the stream from the first processing means is given to one of the third and fourth processing means and the fifth processing means, and the processing is performed by the fifth processing means. Can be provided to the other of the third and fourth processing means. The stream from the first processing means can also be provided to the third and fourth processing means.
[0013]
  Preferably, the fifth processing means extracts desired information from the received stream to generate a partial stream, and provides the generated partial stream to a third input of the plurality of inputs.
[0014]
  Preferably, at least one of the third processing unit and the fourth processing unit converts the received stream and outputs the converted stream.
[0015]
  Preferably, at least one of the first stream and the second stream includes video data and / or audio data. At least one of the third processing unit and the fourth processing unit decodes video data and / or audio data included in the received stream.
[0016]
  Preferably, the fifth processing means extracts desired video data and / or audio data from the received stream, and supplies the extracted video data and / or audio data to a third input of the plurality of inputs. .
[0017]
  Preferably, at least one of the first stream and the second stream is encrypted. The fifth processing means releases the encryption applied to the received stream.
[0018]
  Preferably, the fifth processing means encrypts the received stream.
[0019]
  Another stream processing apparatus according to the present invention comprises selection means and first to sixth processing means. The selecting means associates a plurality of inputs with a plurality of outputs according to external control, and provides a stream given to each of the plurality of inputs to the corresponding output. The first processing means gives a first stream to a first input of the plurality of inputs. The second processing means gives a second stream to a second input of the plurality of inputs. The third processing means receives a stream from the first output among the plurality of outputs. The fourth processing means receives a stream from a second output among the plurality of outputs. The fifth processing means is the above-mentioned A stream from a third output of the plurality of outputs is received, a predetermined process is performed on the received stream, and the stream subjected to the process is given to a third input of the plurality of inputs. At least one of the first stream and the second stream is encrypted by a first encryption method. The fifth processing means releases the encryption applied to the received stream. The sixth processing means receives the stream from the fourth output of the plurality of outputs, encrypts the received stream by the second encryption method, and encrypts the encrypted stream in the plurality of inputs. Give to 4 input.
[0020]
  Yet another stream processing apparatus according to the present invention comprises selection means, first to fifth processing means, and storage means. The selecting means associates a plurality of inputs with a plurality of outputs according to external control, and provides a stream given to each of the plurality of inputs to the corresponding output. The first processing means gives a first stream to a first input of the plurality of inputs. The second processing means gives a second stream to a second input of the plurality of inputs. The third processing means receives a stream from the first output among the plurality of outputs. The fourth processing means receives a stream from a second output among the plurality of outputs. The fifth processing means receives a stream from the third output among the plurality of outputs, performs a predetermined process on the received stream, and selects the stream subjected to the process from the plurality of inputs. To the third input. At least one of the third processing means and the fourth processing means writes the received stream to the storage means, and stores the write position in the storage means of the stream written to the storage means. At least one of the first processing means and the second processing means reads the stream from the storage means, stores the read position in the storage means of the stream read from the storage means, and gives the read stream to the corresponding input .
[0021]
  Preferably, at least one of the first processing means and the second processing means streams from the storage means with reference to a write position stored in at least one of the third processing means and the fourth processing means. Is read.
[0022]
  Preferably, at least one of the third processing means and the fourth processing means refers to a read position stored in at least one of the first processing means and the second processing means, and stores in the storage means. The stream is written in an area other than the area where the stream that has not been read yet is stored.
[0023]
  Yet another stream processing apparatus according to the present invention comprises selection means, first to fifth processing means, and storage means. The selecting means associates a plurality of inputs with a plurality of outputs according to external control, and provides a stream given to each of the plurality of inputs to the corresponding output. The first processing means gives a first stream to a first input of the plurality of inputs. The second processing means gives a second stream to a second input of the plurality of inputs. The third processing means receives a stream from the first output among the plurality of outputs. The fourth processing means receives a stream from a second output among the plurality of outputs. The fifth processing means receives a stream from the third output among the plurality of outputs, performs a predetermined process on the received stream, and selects the stream subjected to the process from the plurality of inputs. To the third input. At least one of the third processing unit and the fourth processing unit writes the received stream in the storage unit. At least one of the first processing means and the second processing means reads the stream from the storage means and applies the read stream to the corresponding input. At least one of the first stream and the second stream includes a plurality of packets. Each of the plurality of packets includes identification information for selecting necessity. The fifth processing means generates a first partial stream by extracting a desired packet from the plurality of packets included in the received stream with reference to the identification information, and generates the first partial stream as the plurality of the plurality of packets. To the third input. Third processing means and fourth processing hand At least one of the stages writes the received first partial stream to the storage means. At least one of the first processing means and the second processing means reads the first partial stream from the storage means and applies it to the corresponding input as the second partial stream. At least one of the third processing unit and the fourth processing unit extracts desired information from the received second partial stream.
[0024]
DETAILED DESCRIPTION OF THE INVENTION
  Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals, and description thereof will not be repeated.
[0025]
  (First embodiment)
                      <Overall system configuration>
  FIG. 1 is a block diagram showing the overall configuration of a digital TV receiver system according to a first embodiment of the present invention. The system shown in FIG. 1 includes a digital TV receiver 100, an AVHDD 112, and a digital VTR 113.
[0026]
  The digital TV receiver 100 includes a stream processing device 101, a memory 106, a CPU 107, an AV decoder 108, and a hard disk device 109.
[0027]
  The stream processing apparatus 101 includes tuners 110 and 111, a matrix switch 102, an IEEE 1394 interface 103, a demultiplexer 104, and an HDD interface 105. Tuners 110 and 111 are tuners for receiving digital TV broadcasts, and output received broadcast streams to the matrix switch 102. The stream processing apparatus 101 receives a broadcast stream from the digital TV tuners 110 and 111, a stream from the IEEE 1394 bus B2, and a reproduction stream from the hard disk apparatus 109. The input stream is processed and stored in the memory 106 or output as a processed stream. In addition, the input stream may be output as it is. The stream is output from the stream processing apparatus 101 to the IEEE 1394 bus B2, the hard disk device 109, and the AV decoder 108.
[0028]
  A memory 106 is a main memory of the digital TV receiver 100. The memory 106 is used when the software is executed by the CPU 107 or used for storing data. The memory 106 stores a stream processed by the stream processing apparatus 101.
[0029]
  The AV decoder 108 decompresses and outputs AV data received and reproduced by the digital TV receiver 100.
[0030]
  The hard disk device 109 records a stream output from the stream processing device 101 and outputs an accumulated stream to the stream processing device 101.
[0031]
  The AVHDD 112 is a hard disk device having a function of recording / reproducing a digital AV stream. The AVHDD 112 has an interface with the bus B2, and records a stream input from the bus B2 and outputs a playback stream to the bus B2.
[0032]
  The digital VTR 113 is a VTR device having a digital AV stream recording / reproducing function. The digital VTR 113 records a stream input from the bus B2 and outputs a playback stream to the bus B2.
[0033]
              <Internal configuration of stream processing apparatus 101>
  FIG. 2 is a block diagram showing in detail the configuration of the stream processing apparatus 101 shown in FIG.
[0034]
                  <Matrix switch 102>
  Referring to FIG. 2, matrix switch 102 includes input terminals T0-T7, T20, output terminals T10-T18, switch group 200-208, and switch control register 209.
[0035]
  Input terminals T0 and T1 receive streams from tuners 110 and 111. Input terminals T2 and T3 receive streams from output ports OUT0 and OUT1 of demultiplexer 104. Input terminals T 4 to T 6 receive streams from the output ports OUT 0 to OUT 2 of the IEEE 1394 interface 103. The input terminal T7 receives a stream from the output port OUT0 of the HDD interface 105. The input terminal T20 receives a control signal from the CPU bus B1.
[0036]
  The switch group 200-208 includes switches (00-70)-(08-78). When the switches (00-70)-(08-78) are in the ON state, the streams supplied to the input terminals T0-T7 are supplied to the output terminals T10-T18.
[0037]
  The switch control register 209 gives a control signal to the switch group 200-208 in response to a control signal given from the CPU 107 to the input terminal T20 via the bus B1. The control signal given to the switch group 200-208 is a signal that designates which switch among the switches included in the switch group is to be turned on. Each of the switch groups 200-208 turns on one of the corresponding switches (00-70)-(08-78) in response to a control signal from the switch control register 209. That is, each of the switch groups 200 to 208 selects one of the streams supplied to the input terminals T0 to T7 in response to a control signal from the switch control register 209 and outputs the selected stream to the output terminals T10 to T18.
[0038]
  In the matrix switch 102 configured as described above, each of the output terminals T10 to T18 is associated with one of the input terminals T0 to T7 in accordance with the control signal from the switch control register 209. A stream applied to the input terminal is output from each of the output terminals T10 to T18. That is, each of the eight input streams applied to the input terminals T0 to T7 can be output to any of the nine output terminals T10 to T18.
[0039]
              <IEEE1394 interface 103>
  The IEEE 1394 interface 103 includes three input ports IN0-IN2 and three output ports OUT0-OUT2. Streams from the output terminals T10 to T12 of the matrix switch 102 are given to the input ports IN0 to IN2 of the IEEE1394 interface 103. A stream from the output ports OUT0 to OUT2 of the IEEE1394 interface 103 is supplied to the input terminals T4 to T6 of the matrix switch 102. The IEEE 1394 interface 103 converts the interface format of the stream from the bus B2 and outputs it from the output ports OUT0-OUT2, and converts the stream supplied to the input ports IN0-IN2 to the bus B2 after converting the interface format. .
[0040]
                  <HDD interface 105>
  The HDD interface 105 includes two input ports IN0 and IN1 and one output port OUT0. Streams from the output terminals T18 and T17 of the matrix switch 102 are applied to the input ports IN0 and IN1 of the HDD interface 105. The stream from the output terminal OUT0 of the HDD interface 105 is given to the input terminal T7 of the matrix switch 102. The HDD interface 105 converts the interface format of the stream from the hard disk device 109 and outputs it from the output port OUT0, converts the stream given to the input ports IN0 and IN1 to the hard disk device 109 after converting the interface format. .
[0041]
                    <Demultiplexer 104>
  The demultiplexer 104 includes four input ports IN0 to IN3 and two output ports OUT0 and OUT1. Streams from the output terminals T13 to T16 of the matrix switch 102 are given to the input ports IN0 to IN3 of the demultiplexer 104. Streams from the output ports OUT0 and OUT1 of the demultiplexer 104 are supplied to the input terminals T2 and T3 of the matrix switch 102. The demultiplexer 104 can simultaneously process four streams provided to the input ports IN0 to IN3. The demultiplexer 104 outputs the processed stream from the output ports OUT0 and OUT1. Also, the data resulting from the demultiplexing process (data extracting process from the stream) is recorded in the memory 106 via the bus B1 or output to the AV decoder 108.
[0042]
                    <Perform multiple processes simultaneously>
  Next, it will be sequentially described that various processes and outputs for various streams can be simultaneously performed in the system configured as described above.
[0043]
                            <Process 1>
  A process (process 1) for temporarily storing the received program in the AVHDD 112 and reproducing / displaying it with a time difference will be described with reference to FIGS. 1, 2, and 3A.
[0044]
  First, a process of extracting a desired program stream from the broadcast stream and storing it in the AVHDD 112 will be described.
[0045]
  A control signal instructing to turn on the switch 03 of the switch group 203 and the switch 20 of the switch group 200 (a stream passes) is supplied from the CPU 107 to the switch control register 209 of the matrix switch 102. In response to this, the switch control register 209 gives a control signal for turning on the switches 03 and 20 to the switch groups 203 and 200. In response to this, the switches 03 and 20 are turned on.
[0046]
  The broadcast stream (encrypted stream) received by the tuner 110 is applied to the input terminal T0 of the matrix switch 102, passes through the switch 03, is output from the output terminal T13, and is input to the input port IN0 of the demultiplexer 104. .
[0047]
  The demultiplexer 104 is preset by the CPU 107 so as to decrypt the stream input to the input port IN0 and take out the stream constituting the desired program. The demultiplexer 104 decrypts the encryption of the broadcast stream input to the input port IN0, takes out the stream constituting the desired program, and outputs it from the output port OUT0. The stream output from the output port OUT0 of the demultiplexer 104 is given to the input terminal T2 of the matrix switch 102. The stream input to the input terminal T2 passes through the switch 20, is output from the output terminal T10, and is given to the input port IN0 of the IEEE 1394 interface 103. The IEEE 1394 interface 103 sends this stream to the AVHDD 112 via the bus B2. The AVHDD 112 stores this stream.
[0048]
  Next, a process for sequentially reading out program streams stored in the AVHDD 112 and performing a time difference reproduction of received programs will be described.
[0049]
  In addition to the switch 03 of the switch group 203 and the switch 20 of the switch group 200, a control signal for instructing to turn on the switch 44 of the switch group 204 is given from the CPU 107 to the switch control register 209 of the matrix switch 102. In response to this, the switch control register 209 gives a control signal for turning on the switch 44 to the switch group 204 in addition to the switches 03 and 20. In response to this, the switch 44 is turned on in addition to the switches 03 and 20.
[0050]
  In addition to the above settings, the demultiplexer 104 is further set by the CPU 107 to extract AV data from the stream input from the input port IN1 and output it to the AV decoder 108.
[0051]
  Thereafter, the program stream stored in the AVHDD 112 is sequentially read out and supplied from the output port OUT0 of the IEEE1394 interface 103 to the input terminal T4 of the matrix switch 102. The stream supplied to the input terminal T4 passes through the switch 44, is output from the output terminal T14, and is input to the input port IN1 of the demultiplexer 104. The demultiplexer 104 extracts AV data constituting the program and supplies it to the AV decoder 108. In this way, AV playback of the playback program is performed. As described above, the received program is temporarily stored in the AVHDD 112 and is played back / displayed with a time difference.
[0052]
                            <Process 2>
  Next, a process (process 2) for dubbing a program stream from the digital VTR 113 to the external hard disk device 109 will be described with reference to FIGS. 1, 2, and 3B. Process 2 is performed in parallel with process 1 described above.
[0053]
  A control signal instructing to turn on the switch 58 of the switch group 208 is given from the CPU 107 to the switch control register 209 of the matrix switch 102. In response to this, the switch control register 209 gives a control signal for turning on the switch 58 to the switch group 208. In response to this, the switch 58 is turned on. In addition, the IEEE 1394 interface 103 is set so that a playback stream from the digital VTR 113 is output from the output port OUT1. Further, the HDD interface 105 is set so that the stream given to the input port IN0 is stored in the hard disk device 109.
[0054]
  When the digital VTR 113 is reproduced after the above setting, the reproduced stream is given from the output port OUT1 of the IEEE1394 interface 103 to the input terminal T5 of the matrix switch 102 and passes through the switch 58 as shown in FIG. Then, it is given from the output terminal T 18 to the input terminal IN 0 of the HDD interface 105 and stored in the hard disk device 109.
[0055]
  Since the passage route in the matrix switch 102 of the stream in the process 2 is different from the passage route in the process 1, the process 2 can be performed simultaneously with the process 1.
[0056]
                            <Process 3>
  Next, a process of extracting a program stream from another received broadcast and recording it on the hard disk device 109 (Process 3) will be described with reference to FIGS. 1, 2 and 3C. Process 3 is performed in parallel with the first and process 2 described above.
[0057]
  A control signal instructing to turn on the switch 15 of the switch group 205 and the switch 37 of the switch group 207 is supplied from the CPU 107 to the switch control register 209 of the matrix switch 102. In response to this, the switch control register 209 gives a control signal for turning on the switches 15 and 37 to the switch groups 205 and 207. In response, switches 15 and 37 are turned on.
[0058]
  The broadcast stream received by the tuner 111 is applied to the input terminal T1 of the matrix switch 102, passes through the switch 15, is output from the output terminal T15, and is input to the input port IN2 of the demultiplexer 104.
[0059]
  The demultiplexer 104 is set in advance by the CPU 107 so as to extract a stream constituting a desired program. The demultiplexer 104 extracts a stream constituting a desired program from the broadcast stream input to the input port IN2, and outputs it from the output port OUT1. The stream output from the output port OUT1 of the demultiplexer 104 is supplied to the input terminal T3 of the matrix switch 102. The stream input to the input terminal T3 passes through the switch 37, is output from the output terminal T17, and is given to the input port IN1 of the HDD interface 105. The HDD interface 105 stores this stream in the hard disk device 109.
[0060]
  Since the passage route in the matrix switch 102 of the stream in the processing 3 is different from the passage routes in the processing 1 and the processing 2 described above, the processing 3 can be performed simultaneously with the first and processing 2.
[0061]
                            <Process 4>
  Next, a case where the data broadcast information stored in the hard disk device 109 is taken out, placed in the memory 106 and processed by the CPU 107 (processing 4) will be described with reference to FIGS. 1, 2, and 3D. . Process 4 is performed in parallel with the first to third processes described above.
[0062]
  A control signal instructing to turn on the switch 76 of the switch group 206 is given from the CPU 107 to the switch control register 209 of the matrix switch 102. In response to this, the switch control register 209 gives a control signal for turning on the switch 76 to the switch group 206. In response to this, the switch 76 is turned on. Further, the demultiplexer 104 is set by the CPU 107 so that the data broadcast information is extracted from the stream supplied to the input port IN3 and stored in the memory 106.
[0063]
  The HDD interface 105 takes out data broadcast information stored in advance in the hard disk device 109 and supplies it from the output port OUT0 to the input terminal T7 of the matrix switch 102. The stream supplied to the input terminal T7 passes through the switch 76 and is supplied from the output terminal T16 to the input port IN3 of the demultiplexer 104. The demultiplexer 104 extracts the data broadcast information from the stream supplied to the input port IN3 according to the setting and stores it in the memory 106. Thereby, the CPU 107 can refer to and process the data broadcast information stored in the memory 106.
[0064]
  Since the passage route in the matrix switch 102 of the stream in the process 4 is different from the passage route in the process 1 to the process 3 described above, the process 4 can be performed simultaneously with the process 1 to the process 3.
[0065]
            <Multiple processes for one stream>
  Next, it will be described that a plurality of processes and outputs can be performed on one stream in the system shown in FIG.
[0066]
                          <Case 1>
  First, a case (case 1) in which AV playback processing of a broadcast program and processing of storing audio data of the program in the memory 106 are performed at the same time will be described with reference to FIGS. 1, 2, and 4A.
[0067]
  A control signal instructing to turn on the switch 03 of the switch group 203 and the switch 04 of the switch group 204 is supplied from the CPU 107 to the switch control register 209 of the matrix switch 102. In response to this, the switch control register 209 gives a control signal for turning on the switches 03 and 04 to the switch groups 203 and 204. In response to this, the switches 03 and 04 are turned on. Further, the demultiplexer 104 is set by the CPU 107 so that AV data of the program to be viewed is extracted from the stream supplied to the input port IN0 in the PES packet format and output to the AV decoder 108. Further, the demultiplexer 104 is set so that the audio data of the program to be viewed is taken out as an elementary stream from the stream supplied to the input port IN1 and stored in the memory 106.
[0068]
  The broadcast stream from the tuner 110 is given to the input terminal T0 of the matrix switch 102. This stream passes through the switch 03 and is given from the output terminal T13 to the input port IN0 of the demultiplexer 104. The demultiplexer 104 extracts AV data to be viewed from this stream in the PES packet format and outputs it to the AV decoder 108. On the other hand, the broadcast stream from the tuner 110 passes through the switch 04 of the matrix switch 102 and is also supplied from the output terminal T14 to the input port IN1 of the demultiplexer 104. The demultiplexer 104 extracts the audio data of the viewing target program from this stream in the elementary stream format and stores it in the memory 106.
[0069]
  In this way, one stream can be branched and a plurality of types of processing can be performed simultaneously.
[0070]
                          <Case 2>
  Next, a case where the same program is recorded on the AVHDD 112 in the transport stream format simultaneously with the AV reproduction of the broadcast program stream will be described with reference to FIGS. 1, 2, and 4B.
[0071]
  A control signal instructing to turn on the switch 03 of the switch group 203, the switch 04 of the switch group 204, and the switch 20 of the switch group 200 is given from the CPU 107 to the switch control register 209 of the matrix switch 102. In response to this, the switch control register 209 gives a control signal for turning on the switches 03, 04, 20 to the switch groups 203, 204, 200. In response to this, the switches 03, 04, and 20 are turned on. Further, the demultiplexer 104 is set by the CPU 107 so that AV data of the program to be viewed is extracted from the stream supplied to the input port IN0 in the PES packet format and output to the AV decoder 108. Further, the demultiplexer 104 is set so that the program stream to be viewed is extracted from the stream supplied to the input port IN1 and is output from the output port OUT0 in the transport stream format. Further, the IEEE 1394 interface 103 is set so as to record the stream given to the input port IN0 in the AVHDD 112.
[0072]
  The broadcast stream from the tuner 110 is given to the input terminal T0 of the matrix switch 102. This stream passes through the switch 03 and is given from the output terminal T13 to the input port IN0 of the demultiplexer 104. The demultiplexer 104 extracts AV data to be viewed from this stream in the PES packet format and outputs it to the AV decoder 108. On the other hand, the broadcast stream from the tuner 110 passes through the stream switch 04 of the matrix switch 102 and is input from the output terminal T15 to the input port IN1 of the demultiplexer 104. The demultiplexer 104 extracts the viewing target program from this stream as a transport stream and outputs it from the output port OUT0. The stream output from the output port OUT0 of the demultiplexer 104 is supplied to the input terminal T2 of the matrix switch 102, passes through the switch 20, and is supplied from the output terminal T10 to the input port IN0 of the IEEE1394 interface 103. The IEEE 1394 interface 103 records this stream in the AVHDD 112 via the bus B2.
[0073]
  In this way, a plurality of types of processing can be performed simultaneously by branching one input stream.
[0074]
                          <Other processing>
  Next, a process for extracting a program stream from the received broadcast, releasing the broadcast encryption applied to the program stream, applying the encryption for hard disk recording, and recording it on the hard disk device 109 will be described with reference to FIG. This will be described with reference to FIGS.
[0075]
  A control signal instructing to turn on the switch 15 of the switch group 205, the switch 26 of the switch group 206, and the switch 37 of the switch group 207 is given from the CPU 107 to the switch control register 209 of the matrix switch 102. In response to this, the switch control register 209 gives a control signal for turning on the switches 15, 26 and 37 to the switch groups 205, 206 and 207. In response to this, the switches 15, 26 and 37 are turned on. The broadcast stream received by the tuner 111 is applied to the input terminal T1 of the matrix switch 102, passes through the switch 15, is output from the output terminal T15, and is input to the input port IN2 of the demultiplexer 104.
[0076]
  The demultiplexer 104 takes out the stream constituting the program to be recorded from the stream input from the input port IN2 and releases the broadcast encryption, and records the hard disk on the stream input from the input port IN3. Is set in advance by the CPU 107 so as to be encrypted.
[0077]
  The demultiplexer 104 extracts a stream constituting a desired program from the broadcast stream input to the input port IN2, releases the broadcast encryption applied to the stream, and outputs it from the output port OUT0.
[0078]
  The stream output from the output port OUT0 of the demultiplexer 104 is given to the input terminal T2 of the matrix switch 102. The stream input to the input terminal T2 passes through the switch 26, is output from the output terminal T16, and is input to the input port IN3 of the demultiplexer 104.
[0079]
  The demultiplexer 104 applies encryption for hard disk recording to the stream input to the input port IN3 and outputs it from the output port OUT1.
[0080]
  The stream output from the output port OUT1 of the demultiplexer 104 is supplied to the input terminal T3 of the matrix switch 102. The stream input to the input terminal T3 passes through the switch 37, is output from the output terminal T17, and is given to the input port IN1 of the HDD interface 105. The HDD interface 105 stores this stream in the hard disk device 109.
[0081]
  In this manner, the input stream is de-broadcasted by the demultiplexer 104 and input to the demultiplexer 104 again via the matrix switch 102. Then, the hard disk recording encryption process is performed in the demultiplexer 104 and is again stored in the hard disk device 109 from the hard disk interface 105 via the matrix switch 102.
[0082]
                              <Effect>
  As described above, in the system according to the first embodiment, a plurality of streams can be processed in parallel, or input streams can be directly output. In addition, the system configuration can be freely changed according to the switch settings in the matrix switch 102.
[0083]
  Note that the number of input / output ports of the matrix switch 102, the IEEE 1394 interface 103, and the HDD interface 105 is not limited to the above-described number, and can be freely set according to a required system configuration. In addition, other types of stream input / output interfaces and stream processing circuits are not excluded.
[0084]
  (Second Embodiment)
                      <Overall system configuration>
  FIG. 6 is a block diagram showing the overall configuration of a digital TV receiver system according to the second embodiment of the present invention. The system shown in FIG. 6 includes a digital TV receiver 500, an AVHDD 112, and a digital video camera 508.
[0085]
  The digital TV receiver 500 includes a stream processing device 501, a memory 106, a CPU 107, an Ethernet (R) interface 507, and a DVD drive device 509.
[0086]
  The stream processing device 501 includes a tuner 111, a matrix switch 502, an IEEE 1394 interface 503, a demultiplexer 504, an AV decoder 505, an HDD interface 105, and a DMA circuit 506. The stream processing device 501 receives a broadcast stream from the tuner 111, a stream from the bus B2, and a reproduction stream from the DVD drive device 509. The input stream is processed and stored in the memory 106 or output as a processed stream. In addition, the input stream may be output as it is. Further, the stream can be accumulated in the memory 106, or the stream can be read from the memory 106 and input. The stream is output from the stream processing device 501 to the bus B2 / DVD drive device 509.
[0087]
  The DVD drive device 509 records a stream output from the stream processing device 501 and outputs an accumulated stream to the stream processing device 501.
[0088]
  The Ethernet (R) interface 507 accumulates data received via the Ethernet (R) in the memory 106 and transmits data in the memory 106 to the Ethernet (R).
[0089]
  The digital video camera 508 reproduces the recorded AV stream via the bus B2, and records the AV stream input via the bus B2.
[0090]
            <Internal configuration of stream processing apparatus 501>
  FIG. 7 is a block diagram showing in detail the configuration of the stream processing apparatus 501 shown in FIG.
[0091]
                  <Matrix switch 502>
  Referring to FIG. 7, matrix switch 502 includes input terminals T30-T37, T50, output terminals T40-T48, a group of switches 600-608, and a switch control register 609.
[0092]
  The input terminal T30 receives a stream from the output port OUT0 of the DMA circuit 506. The input terminal T31 receives a stream from the tuner 111. Input terminals T32 and T33 receive streams from output ports OUT0 and OUT1 of demultiplexer 504. Input terminals T34 to T36 receive streams from the output ports OUT0 to OUT2 of the IEEE1394 interface 503. The input terminal T37 receives a stream from the output port OUT0 of the HDD interface 105. Input terminal T50 receives a control signal from bus B1.
[0093]
  The switch group 600 includes switches 00-30 and 70. When the switches 00-30 and 70 are in the ON state, the streams supplied to the input terminals T30 to T33 and T37 are supplied to the output terminal T40. The switch group 601 includes switches 01-31 and 71. When the switches 01-31 and 71 are in the ON state, the streams supplied to the input terminals T30 to T33 and T37 are supplied to the output terminal T41. Switch group 602 includes switches 02-72. When the switch 02-72 is in the ON state, the stream supplied to the input terminals T30 to T37 is supplied to the output terminal T42. Switch group 603 includes switches 13-73. When the switch 13-73 is in the ON state, the switch 13-73 supplies the stream supplied to the input terminals T31-T37 to the output terminal T43. The switch group 604 includes switches 04, 14, and 44-74. When the switches 04, 14, and 44-74 are in the ON state, the streams supplied to the input terminals T30, T31, and T34 to T37 are applied to the output terminal T44. The switch group 605 includes switches 05, 15, and 45-75. When the switches 05, 15, and 45-75 are in the ON state, the streams supplied to the input terminals T30, T31, and T34 to T37 are supplied to the output terminal T45. The switch group 606 includes switches 06, 16, and 46-76. When the switches 06, 16, and 46-76 are in the ON state, the streams provided to the input terminals T30, T31, and T34 to T37 are applied to the output terminal T46. Switch group 607 includes switches 07-67. When the switches 07-67 are in the ON state, the streams supplied to the input terminals T30-T36 are supplied to the output terminal T47. Switch group 608 includes switches 08-68. When the switches 08-68 are in the ON state, the streams supplied to the input terminals T30 to T36 are supplied to the output terminal T48.
[0094]
  In the switch group 600-608 shown in FIG. 7, some switches are omitted as compared to the switch group 200-208 shown in FIG. This is because a switch that does not allow a stream to pass through such as outputting a stream input from the IEEE 1394 interface 503 to the IEEE 1394 interface 503 is omitted.
[0095]
  The switch control register 609 gives a control signal to the switch group 600-608 in response to a control signal given from the CPU 107 to the input terminal T50 via the bus B1. The control signal given to the switch group 600-608 is a signal that designates which switch among the switches included in the switch group is to be turned on. The switch group 600-608 turns on one of the switches in response to a control signal from the switch control register 609. That is, the switch group 600-608 selects one of the streams given to the input terminals T30-T37 and outputs it to the output terminals T40-T48.
[0096]
  In the matrix switch 502 configured as described above, eight input streams given to the input terminals T30 to T37 can be output to designated ones of the nine output terminals T40 to T48, respectively.
[0097]
            <IEEE1394 interface 503>
  The IEEE 1394 interface 503 includes two input ports IN0 and IN1 and three output ports OUT0 to OUT2. Streams from the output terminals T40 and T41 of the matrix switch 502 are applied to the input ports IN0 and IN1 of the IEEE1394 interface 103. A stream from the output ports OUT0 to OUT2 of the IEEE1394 interface 503 is supplied to input terminals T34 to T36 of the matrix switch 502. The IEEE 1394 interface 503 converts the interface format of the stream from the bus B2 and outputs the stream from the output ports OUT0 to OUT2, and converts the stream supplied to the input ports IN0 and IN1 to the bus B2 after converting the interface format. .
[0098]
                  <HDD interface 105>
  The HDD interface 105 includes two input ports IN0 and IN1 and one output port OUT0. Streams from the output terminals T48 and T47 of the matrix switch 502 are given to the input ports IN0 and IN1 of the HDD interface 105. The stream from the output terminal OUT0 of the HDD interface 105 is given to the input terminal T37 of the matrix switch 502. The HDD interface 105 converts the interface format of the stream from the DVD drive device 509 and outputs it from the output port OUT0, converts the stream given to the input ports IN0 and IN1 to the DVD drive device 509 by converting the interface format. Output.
[0099]
                    <Demultiplexer 504>
  The demultiplexer 504 includes three input ports IN1-IN3 and two output ports OUT0 and OUT1. A stream from the output terminals T44 to T46 of the matrix switch 502 is supplied to the input ports IN1 to IN3 of the demultiplexer 504. Streams from the output ports OUT0 and OUT1 of the demultiplexer 504 are applied to the input terminals T32 and T33 of the matrix switch 502. The demultiplexer 504 can simultaneously process three streams provided to the input ports IN1-IN3. The demultiplexer 504 outputs the processed stream from the output ports OUT0 and OUT1. Further, data resulting from the demultiplexing process (data extracting process from the stream) is recorded in the memory 106 via the bus B1.
[0100]
                        <DMA circuit 506>
  The DMA circuit 506 includes an input port IN0 and an output port OUT0. A stream from the output terminal T43 of the matrix switch 502 is applied to the input port IN0 of the DMA circuit 506. The stream from the output port OUT0 of the DMA circuit 506 is given to the input terminal T30 of the matrix switch 502. The DMA circuit 506 writes the stream supplied to the input port IN0 to the memory 106 via the bus B1, and stores the write position of the stream in the memory 106, and the stream written to the memory 106 via the bus B1. The data is read out and output from the output port OUT0, and the read position of the stream in the memory 106 is stored.
[0101]
                          <Various processing>
  Next, a case where various processes are performed on various streams in the system illustrated in FIG. 6 will be described.
[0102]
                            <Process 1>
  First, the case where video / audio reproduced from the digital video camera 508 is decoded and reproduced by the AV decoder 505 will be described with reference to FIGS. 6, 7 and 8A.
[0103]
  A control signal instructing to turn on the switch 53 of the switch group 603 and the switch 02 of the switch group 602 is supplied from the CPU 107 to the switch control register 609. In response to this, the switch control register 609 gives a control signal for turning on the switches 53 and 02 to the switch groups 603 and 602. In response to this, the switches 53 and 02 are turned on. Further, the address of the data storage area in the memory 106 is set in the DMA circuit 506, and the stream is read from the data storage area in response to a data request from the AV decoder 505 while storing the input stream in this data storage area. The DMA circuit 506 is set in the above.
[0104]
  The video / audio stream output from the digital video camera 508 to the bus B2 is input to the IEEE 1394 interface 503, and is input from the output port OUT1 to the input terminal T35 of the matrix switch 502. This stream passes through the switch 53 and is input from the output terminal T43 to the input port IN0 of the DMA circuit 506. The DMA circuit 506 writes this stream into the data storage area in the memory 106. At this time, the DMA circuit 506 refers to the read position of the stream in the memory 106 so that the stream is not written in the area where the stream that has not yet been read is stored. That is, the stream is written to an area other than the area in the memory 106 where the stream that has not been read is stored.
[0105]
  When a data request is issued from the AV decoder 505, the DMA circuit 506 reads the stream accumulated in the data accumulation area in the memory 106 and applies it from the output port OUT0 to the input terminal T30 of the matrix switch 502. At this time, the DMA circuit 506 refers to the stream write position in the memory 106 and reads the stream from the area where the stream is already stored. This stream passes through the stream switch 02, is transferred from the output terminal T42 to the input port IN0 of the AV decoder 505, and is subjected to AV decoding processing by the AV decoder 505 to be displayed and reproduced.
[0106]
                            <Process 2>
  Next, a case where demultiplex processing is performed on a stream received via Ethernet (R) and taken out by the CPU 107 will be described with reference to FIGS. 6, 7, and 8 (b).
[0107]
  A control signal instructing to turn on the switch 04 of the switch group 604 is given from the CPU 107 to the switch control register 609. In response to this, the switch control register 609 gives a control signal for turning on the switch 04 to the switch group 604. In response to this, the switch 04 is turned on. Further, the demultiplexer 504 is set so that the demultiplex processing is performed on the stream supplied to the input port IN 1 and the processing result is accumulated in the memory 106. Further, the DMA circuit 506 is set so that the stream is read from the reception stream accumulation area in the memory 106 and output from the output port OUT0.
[0108]
  Packets received by the Ethernet (R) interface 507 are stored in the Ethernet (R) data receiving area of the memory 106 via the bus B1. The CPU 107 processes this Ethernet (R) packet, extracts a desired stream from the packet, and stores it in the received stream storage area of the memory 106.
[0109]
  The DMA circuit 506 reads the stream accumulated in the reception stream accumulation area of the memory 106 and inputs the stream from the output port OUT0 to the input terminal T30 of the matrix switch 502. This stream passes through the switch 04 and is input from the output terminal T44 to the input port IN1 of the demultiplexer 504. The demultiplexer 504 performs demultiplex processing on the input stream and accumulates the resultant data in the memory 106.
[0110]
  In this way, a stream received by an interface such as Ethernet (R) that is not a normal stream interface can be demultiplexed.
[0111]
                            <Process 3>
  Next, FIG. 6, FIG. 7 and FIG. 8 (c) show processing for extracting the program table processed by the software of the digital TV receiver 500 and the decryption key data from the broadcast stream (transport stream) received by the tuner 111. ) Will be described.
[0112]
  First, the data format of the transport stream and the demultiplexing process for this will be described. The transport stream is composed of a series of transport stream packets. The transport stream packet is a packet having a length of 188 bytes and stores various digital broadcast data. Data stored in the transport packet is mainly divided into PES (Packetized Elementary Stream) packets and section data. The PES packet stores video and audio data (elementary data) constituting a broadcast program. The section data stores a program table to be processed by software of the digital TV receiver, decryption key data, and the like. Each transport stream packet is given a packet identifier (PID). The packet identifier (PID) indicates the type of data stored, that is, whether it is video, audio or program guide. Furthermore, header information is at the head of the section data. In the header information, information such as a more detailed type and content update status regarding the content of the section data is embedded.
[0113]
  The demultiplexer 504 identifies the PID of the input transport stream packet, determines whether it is the elementary stream of the program to be received or the section data to be received, and selects in units of transport stream packets (PID filter processing) is performed. Next, a PES packet and section data are extracted from the transport stream packet. The extracted section data is further subjected to a sorting process (section filter process) based on the header information of the section data. The general processing content of the section filter processing is to compare the 16-byte header portion of the section data with 32 types of condition data to determine whether there is a match. The selected PES packets and section data are temporarily stored in the memory 106 for each type, and then the PES packets, that is, video and audio data are decompressed by the AV decoder 505 and reproduced. On the other hand, the section data is processed by software, the program guide is extracted and the decryption key data is extracted, and the operation of the digital TV receiver 500 is controlled based on this.
[0114]
  In general, the data rate of a transport stream in digital TV broadcasting is about 30 Mbps (20000 packets / second), and it is necessary to execute demultiplex processing in real time at this data rate. In particular, the section filtering process needs to be executed a maximum of 10 times for one transport stream packet. That is, it is necessary to perform comparison processing of 32 types × 16 bytes (comparison processing of a total of 100 Mbytes or more) for (20,000 packets × 10) section data per second.
[0115]
  In the second embodiment, the PID filter processing and the section filter processing of the demultiplex processing are performed in two steps instead of being performed in real time.
[0116]
  First, the demultiplexer 504 retrieves elementary data to be received by PID filter processing and stores it in the memory 106. On the other hand, the demultiplexer 504 generates a partial transport stream in which only the transport stream packet having the PID of the section data to be received is left out of the input transport stream, and temporarily stores it in the memory 106. The partial transport stream temporarily stored is sequentially taken out from the memory 106 and input to the demultiplexer 504 again, and section filtering is performed at this time.
[0117]
  Generally, a data rate of 30 Mbps of a transport stream of digital TV broadcasting is configured such that 1-2 Mbps is section data and the rest is elementary data. That is, the average data rate of the partial transport stream composed of only the section data to be received extracted by the PID filter processing is at most 1 to 2 Mbps. As a result, the capacity of the comparison processing required for the section filter processing is reduced to 1/30 to 1/15 compared with the case where the transport stream received as described above is processed in real time. As a result, the circuit scale is reduced, and section filtering by software becomes possible.
[0118]
  Hereinafter, the operation of the above-described two-stage demultiplex processing will be specifically described. Here, the average data rate of the section data to be received in the transport stream received from the broadcast is 1 Mbps.
[0119]
  A control signal instructing to turn on the switch 15 of the switch group 605, the switch 23 of the switch group 603, and the switch 04 of the switch group 604 is supplied from the CPU 107 to the switch control register 609. In response to this, the switch control register 609 gives a control signal for turning on the switches 15, 23 and 04 to the switch group 604. In response to this, the switches 15, 23 and 04 are turned on. For the stream input from the input port IN2, only the packet including the section data to be received is extracted by the PID filter processing, a partial transport stream including only this packet is generated, and this is output from the output port OUT0. Thus, the demultiplexer circuit 504 is set. In addition, the demultiplexer 504 is set so that the section data is selected and stored in the memory 106 for the stream input from the input port IN1. Also, the address of the data storage area in the memory 106 is set in the DMA circuit 506, the stream applied to the input port IN0 is stored in this area, and this stored data is read at a low speed (1 Mbps) and output from the output port OUT0. Thus, the DMA circuit 506 is set.
[0120]
  The stream received by the tuner 111 is input to the input terminal T31 of the matrix switch 502, passes through the switch 15, and is input from the output terminal T45 to the input port IN2 of the demultiplexer 504. The demultiplexer 504 extracts only packets including section data from this stream by PID filter processing, generates a partial transport stream including only section data, and outputs this from the output port OUT0. Since the average data rate of the section data to be received is 1 Mbps, the data rate of this partial stream is an average of 1 Mbps. This partial stream is given to the input terminal T32 of the matrix switch 502, passes through the switch 23, and is inputted from the output terminal T43 to the input port IN0 of the DMA circuit 506. The DMA circuit 506 temporarily stores the input partial stream in a data storage area in the memory 106. At the same time, when a stream is accumulated in the data accumulation area, the DMA circuit 506 reads this stream at a low speed (1 Mbps) and outputs it from the output port OUT0. This stream passes through the switch 04 of the matrix switch 502 and is input from the output terminal T44 to the input port IN1 of the demultiplexer 504. The demultiplexer 504 performs section data extraction and section filtering on the stream input to the input port IN1, and records the processing result data in a predetermined area of the memory 106.
[0121]
  Thus, after temporarily storing a stream in order to perform section filter processing that does not require real-time processing, it can be processed again as a low-speed stream.
[0122]
  Since demultiplex processing is performed in two stages as described above, the circuit scale of a circuit that performs section filter processing can be reduced, and section filter processing by software can be performed.
[0123]
  Here, the partial transport stream stored in the memory 106 is read out by the DMA circuit 506 at a low speed. Instead, the demultiplexer 504 issues a data request, and the DMA circuit 506 responds accordingly by the DMA circuit 506. Alternatively, the partial transport stream may be read from the internal data storage area and supplied to the demultiplexer 504. That is, an input of a data request signal is provided corresponding to each output terminal of the matrix switch 502, and the data request signal traces the connection of the matrix switch 502 in the opposite direction to the data and sets the input port associated with the output terminal. To the stream supplier. In the above example, a data request signal is output from the input port IN 1 of the demultiplexer 504, and this is input to the DMA circuit 506 from the output port OUT 0 of the DMA circuit 506 via the matrix switch 502. The DMA circuit 506 reads the partial stream stored in the memory 106 in response to the data request signal. The read partial stream is supplied to the input port IN1 of the demultiplexer 504 via the matrix switch 502. By supplying data in response to the data request in this way, it is possible to flexibly perform demultiplex processing even when the data rate of the partial stream to be processed fluctuates.
[0124]
                            <Effect>
  As described above, in the second embodiment, since the DMA circuit 506 that can read and write a stream to and from the memory 106 is provided, data is temporarily accumulated during stream processing, and data processed by the CPU 107 is processed as a stream. And the degree of freedom of system configuration is further improved.
[0125]
  In addition, since the stream is supplied according to the data request signal, the degree of freedom of operation and the types of input / output / processing means that can be combined increase.
[0126]
  The number of input and output ports shown in this embodiment is merely an example, and the present invention is not limited to this. Further, the example in which the data request signal is transferred from the demultiplexer 504 to the DMA circuit 506 has been described. However, the present invention is not limited to this, and can be transferred from all stream supply destinations to the stream supply sources according to the setting of the matrix switch. It is. Furthermore, not only the data request signal but also other control signals can be passed in the same manner.
[0127]
  (Third embodiment)
  In the first and second embodiments, the switch group of the matrix switch selects and outputs one stream from the streams input from the eight input terminals. The switch group of the matrix switch in the third embodiment is characterized in that a plurality of streams can be multiplexed and output.
[0128]
                      <Configuration of switch group>
  FIG. 9 is a block diagram illustrating a configuration of a switch group according to the third embodiment. The configuration other than the switch group is the same as the configuration of the system shown in FIGS. Referring to FIG. 9, each of input streams 0-7 is taken into respective registers 800-807 each time data enable signal 0-7 indicating that there is a valid data input becomes active. The data enable signal 0-7 is input to the multiplex control circuit 808, and the multiplex control circuit 808 manages which register of the registers 800-807 stores data. The multiplex control circuit 808 controls the selector 809 to sequentially select the data stored in the registers 800-807, and outputs an output data enable signal and an output data selection signal. However, an output selection signal is input from the switch control register 609, and it is controlled whether or not multiple outputs are performed for each input. The output data enable signal and the output data selection signal are also input to the output destination instruction circuit 810. In the output destination instruction circuit 810, the correspondence between the input to the switch group and the output destination is designated by the switch control register 609. Based on this correspondence, the output destination instruction circuit 810 outputs an output destination instruction signal. The output destination instruction signal indicates an output destination to which the input signal indicated by the output data selection signal is to be output. As described above, the switch group can multiplex and output the designated one of the plurality of input data, and at the same time, can identify each multiplexed data and output a signal indicating the output destination. In a circuit to which multiplexed output data and an output destination instruction signal are input, the original data is separated from the multiplexed output data with reference to the output destination instruction signal, and individual processing is performed on each data. can do.
[0129]
                        <Operation of switch group>
  An example of an operation timing chart of this switch group is shown in FIG. In this example, data 0, 1, 2, 3 are input, and it is assumed that the switch control register 609 instructs to output data 0, 1, 2 in a multiplexed manner. Also, assume that the switch control register 609 is designated to output data 0 to output destination 1, data 1 to output destination 0, and data 2 to output destination 3. First, when data 0 is input, it is stored in the register 800. At the next clock, the selector 809 selects and outputs data 0. At the same time, the output destination instruction circuit 810 outputs an output destination instruction signal indicating the output destination 1. Next, data 1, 2 and 3 are input simultaneously and written in registers 801-803, respectively. In response to an instruction from the multiplex control circuit 808, these data are output at the same time as the data 1 is output at the next clock and at the same time the data 2 is output at the next clock. An output destination instruction signal indicating the output destination 3 is output. However, data 3 is not output because there is no output instruction from the switch control register 609. By realizing the switch group operating in this way, a plurality of stream inputs can be multiplexed and input as one stream to the AV decoder 505 or the like.
[0130]
  Another example of the operation timing chart of this switch group is shown in FIG. In this example, data 0, 1, 2, 3 are input, and it is assumed that the switch control register 609 instructs to output multiple data 0, 1 among them. In addition, it is assumed that the switch control register 609 is designated so as to branch and output data 0 to output destination 1 and data 1 to output destination 0 and output destination 3. First, when data 0 is input, it is stored in the register 800. At the next clock, the selector 809 selects and outputs data 0. At the same time, the output destination instruction circuit 810 outputs an output destination instruction signal indicating the output destination 1. Next, data 1, 2 and 3 are input simultaneously and written in registers 801-803, respectively. In response to an instruction from the multiplex control circuit 808, data 1 is output at the next clock, and at the same time, an output destination instruction signal indicating the output destination 0 and an output destination instruction signal indicating the output destination 3 are output. However, data 2 and data 3 are not output because there is no output instruction from the switch control register 609. By realizing a switch group that operates in this way, a plurality of stream inputs can be multiplexed to form one stream, and this one stream can be input to an AV decoder 505 that performs individual processing on each of the plurality of streams. Also, two of the three streams input to the AV decoder 505 can be the same stream. That is, branching one stream and executing two types of processing described in the first embodiment can be realized even using a switch group that multiplexes and outputs output data.
[0131]
                  <Functions that can be realized in the system>
  By providing the switch group as described above, the following functions can be realized in the systems shown in FIGS. Here, it is assumed that the AV decoder 505 is capable of receiving an input stream in which a plurality of streams are multiplexed, extracting each of the multiplexed data based on an output destination instruction signal, and decoding it as another AV data.
[0132]
  Explanation will be given on a case where two videos of a playback stream from the digital video camera 508 connected to the bus B2 and a playback stream from the DVD drive device 509 connected to the HDD interface 105 are simultaneously decoded and displayed by the AV decoder 505. To do.
[0133]
  A switch group 609 is set by the CPU 107 and the switch control register 609 so that the switches 42 and 72 are turned on and the stream input from the input terminal T34 and the stream input from the input terminal T37 are multiplexed and output. Further, the IEEE 1394 interface 503 is set so that a playback stream from the digital video camera 508 is output from the output port OUT0. Further, the HDD interface 105 is set so that a playback stream from the DVD drive device 509 is output from the output port OUT0.
[0134]
  The playback stream from the digital video camera 508 is input to the switch 42 from the output port OUT0 of the IEEE1394 interface 503. On the other hand, the playback stream from the DVD drive device 509 is input to the switch 72 from the output port OUT 0 of the HDD interface 105. These two streams are multiplexed by the switch group 602 and input to the input port IN0 of the AV decoder 505. The AV decoder 505 decodes each of the two multiplexed streams and displays both videos.
[0135]
  By configuring and operating as described above, a plurality of streams can be freely connected with only one stream connection as a circuit scale.
[0136]
【The invention's effect】
  As described above, according to the stream processing apparatus of the present invention, the degree of freedom of the configuration of the apparatus having the function of processing a plurality of streams can be improved.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an overall configuration of a system according to a first embodiment of the present invention.
FIG. 2 is a block diagram showing in detail the configuration of the stream processing apparatus shown in FIG. 1;
FIG. 3A is a diagram for explaining processing for extracting a stream of a desired program from a broadcast stream and storing it in an AVHDD connected to the IEEE 1394 bus. (B) is a diagram for explaining a process of dubbing a program stream from a digital VTR to an external hard disk device. (C) is a figure for demonstrating the process which takes out the program stream from another received broadcast, and records this on a hard-disk device. (D) is a diagram for explaining a case in which data broadcast information stored in a hard disk device is taken out, placed in a memory, and processed by a CPU.
FIG. 4A is a diagram for explaining a case where AV playback of a broadcast program and processing for storing audio data of the program in the memory 106 are performed simultaneously. (B) is a figure for demonstrating the case where the same program is recorded on AVHDD112 with a transport stream format simultaneously with AV reproduction of a broadcast program stream.
FIG. 5: Extracts a program stream from a received broadcast, releases the broadcast encryption applied to the program stream, applies the encryption for recording the hard disk to the program stream, and records it on the hard disk device It is a figure for demonstrating the process to perform.
FIG. 6 is a block diagram showing an overall configuration of a system according to a second embodiment of the present invention.
7 is a block diagram showing in detail the configuration of the stream processing apparatus shown in FIG. 6;
FIG. 8A is a diagram for explaining processing for decoding and reproducing video / audio reproduced from a digital video camera using an AV decoder; (B) is a figure for demonstrating the case where a demultiplex process is performed with respect to the stream which received via Ethernet (R) and taken out by CPU. (C) is a figure for demonstrating the process which takes out the program schedule, the descrambling key data, etc. which the software of a digital TV receiver processes from the broadcast stream which the tuner received.
FIG. 9 is a block diagram showing a configuration of a switch group according to a third embodiment of the present invention.
10 is a timing chart for explaining the operation of the switch group shown in FIG. 9;
11 is a timing chart for explaining the operation of the switch group shown in FIG. 9;
[Explanation of symbols]
101, 501 Stream processing device, 102, 502 Matrix switch, 103, 503 IEEE 1394 interface, 104, 504 Demultiplexer, 105 HDD interface, 106 Memory, 107 CPU, 108, 505 AV decoder, 110, 111 tuner, 200-208, 600-608 switch group, 209, 609 switch control register, 506 DMA circuit, 507 Ethernet (R) interface, 800-807 register, 808 multiple control circuit, 809 data selection circuit.

Claims (14)

複数の入力と複数の出力とを外部からの制御に従って対応づけ、前記複数の入力の各々に与えられるストリームを対応する出力に与える選択手段と、
前記複数の入力のうちの第1の入力に第1のストリームを与える第1の処理手段と、
前記複数の入力のうちの第2の入力に第2のストリームを与える第2の処理手段と、
前記複数の出力のうちの第1の出力からのストリームを受ける第3の処理手段と、
前記複数の出力のうちの第2の出力からのストリームを受ける第4の処理手段と、
前記複数の出力のうちの第3の出力からのストリームを受け、受けたストリームに対して所定の処理を施し、当該処理が施されたストリームを前記複数の入力のうちの第3の入力に与える第5の処理手段とを備え
前記選択手段は、
前記複数の入力のうちの少なくとも2つを多重化して新たな1つの出力とする
ことを特徴とするストリーム処理装置。
Selecting means for associating a plurality of inputs and a plurality of outputs according to control from the outside, and providing a stream provided to each of the plurality of inputs to the corresponding output;
First processing means for providing a first stream to a first input of the plurality of inputs;
Second processing means for providing a second stream to a second input of the plurality of inputs;
Third processing means for receiving a stream from a first output of the plurality of outputs;
Fourth processing means for receiving a stream from a second output of the plurality of outputs;
A stream from a third output of the plurality of outputs is received, a predetermined process is performed on the received stream, and the stream subjected to the process is given to a third input of the plurality of inputs A fifth processing means ,
The selection means includes
A stream processing apparatus, wherein at least two of the plurality of inputs are multiplexed to form one new output .
請求項1において、
前記選択手段は、
前記複数の入力と前記複数の出力とを1対1に対応づける
ことを特徴とするストリーム処理装置。
In claim 1,
The selection means includes
A stream processing apparatus, wherein the plurality of inputs and the plurality of outputs are associated one-to-one.
請求項1において、
前記選択手段は、
前記複数の入力のうちのある1つと前記複数の出力のうちのある2つとを対応づける
ことを特徴とするストリーム処理装置。
In claim 1,
The selection means includes
A stream processing apparatus that associates one of the plurality of inputs with two of the plurality of outputs.
請求項1において、
前記第5の処理手段は、
受けたストリームから所望の情報を取り出して部分ストリームを生成し、生成した部分ストリームを前記複数の入力のうちの第3の入力に与える
ことを特徴とするストリーム処理装置。
In claim 1,
The fifth processing means includes
A stream processing apparatus, wherein desired stream information is extracted from a received stream to generate a partial stream, and the generated partial stream is provided to a third input of the plurality of inputs.
請求項1において、
前記第3の処理手段および前記第4の処理手段のうち少なくとも一方は、
受けたストリームを、そのインタフェース形式を変換して出力する
ことを特徴とするストリーム処理装置。
In claim 1,
At least one of the third processing means and the fourth processing means is:
A stream processing apparatus, wherein the received stream is converted in its interface format and output.
請求項1において、
前記第1のストリームおよび前記第2のストリームのうち少なくとも一方は、
映像データおよび/または音声データを含み、
前記第3の処理手段および第4の処理手段のうち少なくとも一方は、
受けたストリームに含まれている映像データおよび/または音声データをデコードする
ことを特徴とするストリーム処理装置。
In claim 1,
At least one of the first stream and the second stream is
Including video data and / or audio data,
At least one of the third processing means and the fourth processing means is
A stream processing apparatus that decodes video data and / or audio data included in a received stream.
請求項において、
前記第5の処理手段は、
受けたストリームから所望の映像データおよび/または音声データを取り出し、取り出した映像データおよび/または音声データを前記複数の入力のうちの第3の入力に与える
ことを特徴とするストリーム処理装置。
In claim 6 ,
The fifth processing means includes
A stream processing apparatus, wherein desired video data and / or audio data is extracted from a received stream, and the extracted video data and / or audio data is provided to a third input of the plurality of inputs.
請求項1において、
前記第1のストリームおよび前記第2のストリームのうち少なくとも一方は暗号化されており、
前記第5の処理手段は、
受けたストリームにかけられている暗号を解除する
ことを特徴とするストリーム処理装置。
In claim 1,
At least one of the first stream and the second stream is encrypted;
The fifth processing means includes
A stream processing apparatus for canceling a cipher applied to a received stream.
請求項1において、
前記第5の処理手段は、
受けたストリームを暗号化する
ことを特徴とするストリーム処理装置。
In claim 1,
The fifth processing means includes
A stream processing apparatus for encrypting a received stream.
複数の入力と複数の出力とを外部からの制御に従って対応づけ、前記複数の入力の各々に与えられるストリームを対応する出力に与える選択手段と、
前記複数の入力のうちの第1の入力に第1のストリームを与える第1の処理手段と、
前記複数の入力のうちの第2の入力に第2のストリームを与える第2の処理手段と、
前記複数の出力のうちの第1の出力からのストリームを受ける第3の処理手段と、
前記複数の出力のうちの第2の出力からのストリームを受ける第4の処理手段と、
前記複数の出力のうちの第3の出力からのストリームを受け、受けたストリームに対して所定の処理を施し、当該処理が施されたストリームを前記複数の入力のうちの第3の入力に与える第5の処理手段とを備え、
前記第1のストリームおよび前記第2のストリームのうち少なくとも一方は第1の暗号方法によって暗号化されており、
前記第5の処理手段は、
受けたストリームにかけられている暗号を解除し、
前記ストリーム処理装置は、
第6の処理手段をさらに備え、
前記第6の処理手段は、
前記複数の出力のうちの第4の出力からのストリームを受け、受けたストリームを第2の暗号方法によって暗号化し、暗号化したストリームを前記複数の入力のうちの第4の入力に与える
ことを特徴とするストリーム処理装置。
Selection means for associating a plurality of inputs and a plurality of outputs according to control from the outside, and providing a stream given to each of the plurality of inputs to the corresponding output;
First processing means for providing a first stream to a first input of the plurality of inputs;
Second processing means for providing a second stream to a second input of the plurality of inputs;
Third processing means for receiving a stream from a first output of the plurality of outputs;
Fourth processing means for receiving a stream from a second output of the plurality of outputs;
A stream from a third output of the plurality of outputs is received, a predetermined process is performed on the received stream, and the stream subjected to the process is provided to a third input of the plurality of inputs A fifth processing means,
At least one of the first stream and the second stream is encrypted by a first encryption method;
The fifth processing means includes
Remove the encryption applied to the received stream,
The stream processing device includes:
Further comprising sixth processing means,
The sixth processing means includes:
Receiving a stream from a fourth output of the plurality of outputs, encrypting the received stream by a second encryption method, and providing the encrypted stream to a fourth input of the plurality of inputs A characteristic stream processing apparatus.
複数の入力と複数の出力とを外部からの制御に従って対応づけ、前記複数の入力の各々に与えられるストリームを対応する出力に与える選択手段と、
前記複数の入力のうちの第1の入力に第1のストリームを与える第1の処理手段と、
前記複数の入力のうちの第2の入力に第2のストリームを与える第2の処理手段と、
前記複数の出力のうちの第1の出力からのストリームを受ける第3の処理手段と、
前記複数の出力のうちの第2の出力からのストリームを受ける第4の処理手段と、
前記複数の出力のうちの第3の出力からのストリームを受け、受けたストリームに対して所定の処理を施し、当該処理が施されたストリームを前記複数の入力のうちの第3の入力に与える第5の処理手段と、
記憶手段とを備え、
前記第3の処理手段および前記第4の処理手段のうち少なくとも一方は、
受けたストリームを前記記憶手段に書き込み、前記記憶手段に書き込んだストリームの前記記憶手段における書き込み位置を記憶し、
前記第1の処理手段および前記第2の処理手段のうち少なくとも一方は、
前記記憶手段からストリームを読み出し、前記記憶手段から読み出したストリームの前記記憶手段における読み出し位置を記憶するとともに、読み出したストリームを対応する入力に与える
ことを特徴とするストリーム処理装置。
Selection means for associating a plurality of inputs and a plurality of outputs according to control from the outside, and providing a stream given to each of the plurality of inputs to the corresponding output;
First processing means for providing a first stream to a first input of the plurality of inputs;
Second processing means for providing a second stream to a second input of the plurality of inputs;
Third processing means for receiving a stream from a first output of the plurality of outputs;
Fourth processing means for receiving a stream from a second output of the plurality of outputs;
A stream from a third output of the plurality of outputs is received, a predetermined process is performed on the received stream, and the stream subjected to the process is given to a third input of the plurality of inputs Fifth processing means;
Storage means,
At least one of the third processing means and the fourth processing means is:
Write the received stream to the storage means, store the write position in the storage means of the stream written to the storage means,
At least one of the first processing means and the second processing means is:
It reads a stream from the storage unit, stores the read position in said storage means of a stream read from the storage unit, the stream processing apparatus according to claim <br/> providing the read stream to the corresponding input.
請求項11において、
前記第1の処理手段および前記第2の処理手段のうち少なくとも一方は、
前記第3の処理手段および前記第4の処理手段のうち少なくとも一方が記憶している書き込み位置を参照して前記記憶手段からストリームを読み出す
ことを特徴とするストリーム処理装置。
In claim 11 ,
At least one of the first processing means and the second processing means is:
A stream processing apparatus, wherein a stream is read from the storage unit with reference to a write position stored in at least one of the third processing unit and the fourth processing unit.
請求項11において、
前記第3の処理手段および前記第4の処理手段のうち少なくとも一方は、
前記第1の処理手段および前記第2の処理手段のうち少なくとも一方が記憶している読み出し位置を参照し、前記記憶手段内の未だ読み出されていないストリームが記憶されている領域以外の領域にストリームを書き込む
ことを特徴とするストリーム処理装置。
In claim 11 ,
At least one of the third processing means and the fourth processing means is:
Reference is made to a read position stored in at least one of the first processing means and the second processing means, and an area other than an area in the storage means that is not yet read is stored. A stream processing apparatus for writing a stream.
複数の入力と複数の出力とを外部からの制御に従って対応づけ、前記複数の入力の各々に与えられるストリームを対応する出力に与える選択手段と、
前記複数の入力のうちの第1の入力に第1のストリームを与える第1の処理手段と、
前記複数の入力のうちの第2の入力に第2のストリームを与える第2の処理手段と、
前記複数の出力のうちの第1の出力からのストリームを受ける第3の処理手段と、
前記複数の出力のうちの第2の出力からのストリームを受ける第4の処理手段と、
前記複数の出力のうちの第3の出力からのストリームを受け、受けたストリームに対して所定の処理を施し、当該処理が施されたストリームを前記複数の入力のうちの第3の入力に与える第5の処理手段と、
記憶手段とを備え、
前記第3の処理手段および前記第4の処理手段のうち少なくとも一方は、
受けたストリームを前記記憶手段に書き込み、
前記第1の処理手段および前記第2の処理手段のうち少なくとも一方は、
前記記憶手段からストリームを読み出し、読み出したストリームを対応する入力に与え、
前記第1のストリームおよび前記第2のストリームのうち少なくとも一方は複数のパケットを含み、
前記複数のパケットの各々は、要否を選別するための識別情報を含み、
前記第5の処理手段は、
受けたストリームに含まれている複数のパケットのうち所望のパケットを前記識別情報を参照して取り出して第1の部分ストリームを生成し、当該第1の部分ストリームを前記複数の入力のうちの第3の入力に与え、
前記第3の処理手段および前記第4の処理手段のうち少なくとも一方は、
受けた第1の部分ストリームを前記記憶手段に書き込み、
前記第1の処理手段および前記第2の処理手段のうち少なくとも一方は、
前記記憶手段から第1の部分ストリームを読み出しこれを第2の部分ストリームとして対応する入力に与え、
前記第3の処理手段および前記第4の処理手段のうち少なくとも一方は、
受けた第2の部分ストリームから所望の情報を抽出する
ことを特徴とするストリーム処理装置。
Selection means for associating a plurality of inputs and a plurality of outputs according to control from the outside, and providing a stream given to each of the plurality of inputs to the corresponding output;
First processing means for providing a first stream to a first input of the plurality of inputs;
Second processing means for providing a second stream to a second input of the plurality of inputs;
Third processing means for receiving a stream from a first output of the plurality of outputs;
Fourth processing means for receiving a stream from a second output of the plurality of outputs;
A stream from a third output of the plurality of outputs is received, a predetermined process is performed on the received stream, and the stream subjected to the process is given to a third input of the plurality of inputs Fifth processing means;
Storage means,
At least one of the third processing unit and the fourth processing unit is
Write the received stream to the storage means,
At least one of the first processing means and the second processing means is:
Reads a stream from the storage means, gives the read stream to the corresponding input,
At least one of the first stream and the second stream includes a plurality of packets;
Each of the plurality of packets includes identification information for selecting necessity,
The fifth processing means includes
A desired packet among a plurality of packets included in the received stream is extracted with reference to the identification information to generate a first partial stream, and the first partial stream is extracted from the plurality of inputs. 3 input,
At least one of the third processing means and the fourth processing means is:
Writing the received first partial stream to the storage means;
At least one of the first processing means and the second processing means is:
Reading the first partial stream from the storage means and applying it to the corresponding input as a second partial stream;
At least one of the third processing means and the fourth processing means is:
A stream processing apparatus that extracts desired information from the received second partial stream.
JP2002223079A 2001-08-06 2002-07-31 Stream processing device Expired - Fee Related JP3686396B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002223079A JP3686396B2 (en) 2001-08-06 2002-07-31 Stream processing device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001-237433 2001-08-06
JP2001237433 2001-08-06
JP2002223079A JP3686396B2 (en) 2001-08-06 2002-07-31 Stream processing device

Publications (2)

Publication Number Publication Date
JP2003153168A JP2003153168A (en) 2003-05-23
JP3686396B2 true JP3686396B2 (en) 2005-08-24

Family

ID=26619991

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002223079A Expired - Fee Related JP3686396B2 (en) 2001-08-06 2002-07-31 Stream processing device

Country Status (1)

Country Link
JP (1) JP3686396B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005158182A (en) 2003-11-27 2005-06-16 Funai Electric Co Ltd Information recording system
CN1331343C (en) * 2004-09-21 2007-08-08 深圳国微技术有限公司 Conversion equipment and conversion method for CI interface of digital television to IEEE-1394 interface
JP2006246245A (en) * 2005-03-04 2006-09-14 Toshiba Corp Signal processing apparatus and stream processing method
JP4984545B2 (en) * 2005-05-18 2012-07-25 ソニー株式会社 Content display reproduction system and content display reproduction method
JP2007166597A (en) * 2005-11-15 2007-06-28 Seiko Epson Corp Information reproducing apparatus and electronic apparatus
JP4876571B2 (en) * 2005-12-22 2012-02-15 三菱電機株式会社 Digital video signal switching device
JP2009130426A (en) * 2007-11-20 2009-06-11 Hitachi Kokusai Electric Inc Non-linear bank system
JP2009159472A (en) * 2007-12-27 2009-07-16 Toshiba Corp Information processing apparatus, key processing apparatus, and information processing method
US20100002699A1 (en) * 2008-07-01 2010-01-07 Sony Corporation Packet tagging for effective multicast content distribution
JP5282460B2 (en) * 2008-07-02 2013-09-04 オンキヨー株式会社 Signal input / output device

Also Published As

Publication number Publication date
JP2003153168A (en) 2003-05-23

Similar Documents

Publication Publication Date Title
JP2007082232A (en) Reproduction method, reproduction apparatus, recording method, recording apparatus and recording medium for video stream
KR100663049B1 (en) Data processing device, its method and recording medium
US7054989B2 (en) Stream processor
JP3686396B2 (en) Stream processing device
US20030123657A1 (en) Methods and apparatus for simultaneously decrypting multiple services received on separate multiplexed transport streams
US20080240685A1 (en) Recording and reproducing apparatus
US8032910B2 (en) System for receiving transport streams
US7889864B2 (en) Data processing system and method
JP4613000B2 (en) Playback device
KR100617767B1 (en) Location Information Record Management Method for Trick Mode Support
JP4501854B2 (en) Video / audio recording device
US6952520B1 (en) Picture recorder/reproducer and method thereof
JP2003317386A (en) Digital broadcast receiving, storing and reproducing device
JP2002125179A (en) Network storage device and storage method
JP3897753B2 (en) Memory output device
JP3865375B2 (en) Data stream recording apparatus, data stream recording method and program
JP2001313905A (en) Multiplex data recording / reproducing apparatus and recording / reproducing method
JP4073304B2 (en) Digital broadcast receiver
JP2004328295A (en) Storage and playback device
JP2006186515A (en) Digital broadcast recording and playback device
JP2004007614A (en) Transport stream recording device, playback device, processing device, and method
KR20030060232A (en) System decoder
JP2002112180A (en) Digital data recording and reproducing device and its method
JP2005072916A (en) Transport stream processing apparatus and method, and digital broadcast receiver
JP2009159472A (en) Information processing apparatus, key processing apparatus, and information processing method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050204

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050222

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050418

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050602

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080610

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090610

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100610

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100610

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110610

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120610

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees