JP3881900B2 - Data stream recording apparatus, data stream recording method and program - Google Patents

Data stream recording apparatus, data stream recording method and program Download PDF

Info

Publication number
JP3881900B2
JP3881900B2 JP2002025480A JP2002025480A JP3881900B2 JP 3881900 B2 JP3881900 B2 JP 3881900B2 JP 2002025480 A JP2002025480 A JP 2002025480A JP 2002025480 A JP2002025480 A JP 2002025480A JP 3881900 B2 JP3881900 B2 JP 3881900B2
Authority
JP
Japan
Prior art keywords
data stream
packet
thinning
storage area
replaced
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
JP2002025480A
Other languages
Japanese (ja)
Other versions
JP2003228913A (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.)
Kenwood KK
Original Assignee
Kenwood KK
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 Kenwood KK filed Critical Kenwood KK
Priority to JP2002025480A priority Critical patent/JP3881900B2/en
Publication of JP2003228913A publication Critical patent/JP2003228913A/en
Application granted granted Critical
Publication of JP3881900B2 publication Critical patent/JP3881900B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、データストリーム記録装置、データストリーム記録方法及びプログラムに関する。
【0002】
【従来の技術】
画像や音声などのコンテンツを、コンテンツを表すデータを含むパケットが連続したものからなるデータストリームの形で放送するデジタル放送が利用されている。
【0003】
デジタル放送されたコンテンツは、デジタル形式のデータとして記憶装置に蓄積することができ、蓄積の際にデータの劣化が非常に起こりにくい。
このため、デジタル放送されたコンテンツにかかる著作権などの権利の保護を図るための技術が用いられている。具体的には、コンテンツを表すデータを暗号化した上で蓄積する手法がある。
【0004】
【発明が解決しようとする課題】
しかし、暗号化の手法が攻撃に対して十分な強度を持っていないと、暗号化されたデータは復号鍵を知らない者によっても容易に復号化されてしまい、データの十分な保護が図れない。
【0005】
この発明は、上記実状に鑑みてなされたものであり、データの保護が十分に図られるようにするためのデータストリーム記録装置及びデータストリーム記録方法を提供することを目的とする。
【0006】
【課題を解決するための手段】
上記目的を達成すべく、この発明の第1の観点にかかるデータストリーム記録装置は、
データストリームを取得し、取得したデータストリームを構成する複数のパケットを所定の規則に従って複数のグループに振り分ける間引き手段と、
前記間引き手段以外からのアクセスを実質的に阻止する第1の記憶領域を有する第1の記憶手段と、
第2の記憶領域を有する第2の記憶手段と、を備え、
前記間引き手段は、一部の前記グループに属するパケットを前記第1の記憶領域に格納し、取得した前記データストリームを、前記一部のグループに振り分けられたパケットがダミー用パケットへと置換された置換済みデータストリームへと変換して前記第2の記憶領域に格納するものであり、
前記ダミー用パケットは、当該ダミー用パケットによって置換された間引き対象パケットを特定する識別情報を含んでいる、
ことを特徴とする。
【0007】
前記間引き手段は、前記一部のグループに属するパケットを互いに結合したものを表す集合データを生成して前記第1の記憶領域に格納するものであってもよい。
この場合、前記識別情報は、当該識別情報を含んだダミー用パケットによって置換されたパケットが前記集合データ内で占める論理的位置を表す情報を含んでいてもよい。
【0008】
前記識別情報は、当該識別情報を含んだダミー用パケットによって置換されたパケットが前記第1の記憶領域内で占める論理的位置を表す情報を含んでいてもよい。
【0009】
前記間引き手段が取得するデータストリームを構成するパケット及び前記ダミー用パケットは、たとえばTS(Transport Stream)パケットからなっており、この場合、前記識別情報は、たとえば、TSパケットのペイロード部に含まれていればよい。
【0010】
前記間引き手段は、前記複数のグループに振り分けられたパケットを前記第1及び第2の記憶領域より読み出し、読み出したパケットに基づいて前記データストリームを復元する合成手段を備えていてもよい。
【0011】
前記間引き手段はプロセッサを備えていてもよく、この場合、前記プロセッサは、所定のプログラムを実行することにより、前記第1の記憶領域にアクセスするものであってもよい。
【0012】
前記第1の記憶手段及び前記間引き手段は、前記プロセッサが所定のプログラムを実行することによりデータの伝送が可能となるバスを介して互いに接続されていてもよい。
【0013】
前記間引き手段は、前記一部のグループ及び/又は他のグループに振り分けられたパケットを暗号化して前記第1及び/又は第2の記憶領域に格納するものであってもよい。
【0014】
また、この発明の第2の観点にかかるデータストリーム記録方法は、
データストリームを取得し、取得したデータストリームを構成する複数のパケットを所定の規則に従って複数のグループに振り分け、
一部のグループに属するパケットを、所定のアクセス装置以外からのアクセスを実質的に阻止する第1の記憶領域に格納し、
取得した前記データストリームを、前記一部のグループに振り分けられたパケットがダミー用パケットへと置換された置換済みデータストリームへと変換して第2の記憶領域に格納するデータストリーム記録方法であって、
前記ダミー用パケットは、当該ダミー用パケットによって置換された間引き対象パケットを特定する識別情報を含んでいる、
ことを特徴とする。
【0015】
前記一部のグループに属するパケットは、当該パケットが互いに結合されたものを表す集合データとして前記第1の記憶領域に格納されるものであってもよい。
この場合、前記識別情報は、当該識別情報を含んだダミー用パケットによって置換されたパケットが前記集合データ内で占める論理的位置を表す情報を含んでいてもよい。
【0016】
また、この発明の第3の観点にかかるプログラムは、
コンピュータを、
データストリームを取得し、取得したデータストリームを構成する複数のパケットを所定の規則に従って複数のグループに振り分ける間引き手段と、
前記間引き手段以外からのアクセスを実質的に阻止する第1の記憶領域を有する第1の記憶手段と、
第2の記憶領域を有する第2の記憶手段と、して機能させるためのプログラムであって、
前記間引き手段は、一部の前記グループに属するパケットを前記第1の記憶領域に格納し、取得した前記データストリームを、前記一部のグループに振り分けられたパケットがダミー用パケットへと置換された置換済みデータストリームへと変換して前記第2の記憶領域に格納するものであり、
前記ダミー用パケットは、当該ダミー用パケットによって置換された間引き対象パケットを特定する識別情報を含んでいる、
ことを特徴とする。
【0017】
【発明の実施の形態】
以下、この発明の実施の形態を、図面を参照して説明する。
図1は、この発明の実施の形態に係るデジタル放送レコーダの構成を示す図である。図示するように、このデジタル放送レコーダは、マザーボード1と、マザーボード用ストレージ2と、受信ユニット3とより構成されている。マザーボード用ストレージ2はマザーボード1に接続されており、受信ユニット3は、接続バスBを介してマザーボード1に接続されている。
【0018】
マザーボード1は、たとえば、CPU(Central Processing Unit)等からなるプロセッサと、RAM(Random Access Memory)等からなるメモリと、バスコントローラと、を備える。なお、接続バスBは、PCI(Peripheral Component
Interface)バスからなる。
マザーボード1のメモリは、マザーボード1のプロセッサのワークエリアとなる記憶領域を有する。マザーボード1のバスコントローラは、マザーボード1のプロセッサとマザーボード1の外部の装置との間での接続バスBを介したデータ交換を制御するための制御回路からなる。
【0019】
マザーボード1は、マザーボード用ストレージ2に記憶されている放送記録再生プログラムを読み出し、この放送記録再生プログラムに従って後述する処理を行う。
放送記録再生プログラムが制御する処理は、機能的には複数の処理ブロックを含んでいる。具体的には、図4や図6を参照して後述するデマルチプレクサ1A、ストリーム間引きブロック1B、ストリーム合成ブロック1C、ストレージ記録ブロック1D、MPEG(Moving Picture Expert Group)デコードブロック1E及びストレージ読み出しブロック1F、の各処理ブロックを含んでいる。
【0020】
マザーボード用ストレージ2は、ハードディスク装置等より構成されていて、上述の放送記録再生プログラムを予め記憶している。そして、マザーボード1からのアクセスに従い、マザーボード1が供給するデータを記憶したり、自己が記憶しているデータを読み出してマザーボード1に供給したりする。
【0021】
受信ユニット3は、デジタル放送受信部31と、PCIバスブリッジ32と、コンテンツ保存用内部メモリ33と、IDE(Intelligent Drive Electronics)バスブリッジ34とを備える。
【0022】
デジタル放送受信部31は、復調回路より構成されており、内部バスを介してPCIバスブリッジ32に接続されている。デジタル放送受信部31は、外部よりデジタル放送された、データストリームを表す変調波を入力して復調することにより、データストリームを構成するTS(Transport Stream)パケットを復元する。そして、復元されたTSパケットを、PCIバスブリッジ32及び接続バスBを介してマザーボード1に供給する。
デジタル放送受信部31が受信する変調波が表すデータストリームは、画像や音声からなるコンテンツを表しており、図2に示すように、連続した複数のTSパケットより構成されている。
【0023】
TSパケットはコンテンツをなす画像あるいは音声を表すパケットであり、図2に示すデータ構造を有している。すなわち、TSパケットは、TSパケットヘッダと、TSパケットヘッダに後続するペイロード部(アダプテーション/ペイロード部)とより構成される。
【0024】
ペイロード部は、コンテンツを表すデータを含む部分である。図3に示すように、各ペイロード部は、同一のフレームの画像(又は同一の音声)を構成するデータを含むもの同士を、これらのペイロード部が含まれているTSパケットが並んでいた順で互いに連結することによりPES(Packetized Elementary Stream)パケットを形成できるようになっている。
【0025】
データストリームがMPEG2形式の画像データ(又はMPEG2形式の画像データと実質的に同一のデータ構造を有する画像データ)を表す場合、PESパケットは、動画を構成する画像を表すデータであるIピクチャ、Bピクチャ又はPピクチャの3種のうち1種以上を含んでいる。このうちBピクチャ及びPピクチャは、Iピクチャとの差分を表すものである。
【0026】
そして、図3に示すように、PESパケットには、PESパケットを識別する情報を含むPESヘッダと、Iピクチャ、Bピクチャ又はPピクチャのいずれかを含むピクチャ層とが含まれている。
【0027】
Iピクチャを含むPESパケットには、所定の値を有するシーケンスヘッダコードが含まれており、また、Iピクチャを含むPESパケットには、PESヘッダ及びピクチャ層に加えて、ビデオシーケンス層と、GOP(Group Of Picture)層とが含まれている。
【0028】
TSパケットヘッダは、図2に示すように、先頭より順に、同期バイト、TSエラーデータ、ペイロードユニットスタートインジケータ、トランスポート優先度データ、PID(Program IDentifier)、トランスポートスクランブル制御データ、アダプテーションフィールド制御データ及び連続性指標を含む。
【0029】
このうち、ペイロードユニットスタートインジケータは、当該ペイロードユニットスタートインジケータ自身が含まれているTSパケットのペイロード部が、PESパケットの先頭のデータを含むか否かを示す。具体的には、たとえば、ペイロードユニットスタートインジケータの値が「1」である場合、当該ペイロードユニットスタートインジケータ自身が含まれているTSパケットのペイロード部がPESパケットの先頭のデータを含むことを示し、「0」である場合は、当該ペイロード部がPESパケットの先頭のデータを含まないことを示す。
【0030】
従って、1個のPESパケットは、たとえば、データストリーム中、値が「1」であるペイロードユニットスタートインジケータを含むTSパケット以降、値が「1」のペイロードユニットスタートインジケータを含む次のTSパケットの直前のTSパケットまでの連続する各TSパケットのペイロード部同士を連結することにより生成される。
【0031】
また、PIDは、当該PID自身が含まれているTSパケットのペイロード部がどのコンテンツを表すか(たとえば、どの画像あるいは音声を表すか)を識別するデータである。
【0032】
PCIバスブリッジ32は、バスコントローラ等より構成されており、接続バスBを介してマザーボード1に接続されており、また、内部バスを介してIDEバスブリッジ34及びデジタル放送受信部31に接続されている。
PCIバスブリッジ32は、マザーボード1が放送記録再生プログラムの制御に従って行う、コンテンツ保存用内部メモリ33へのアクセスを媒介する。また、デジタル放送受信部31からコンテンツ保存用内部メモリ33へのデータの供給を媒介する。
【0033】
コンテンツ保存用内部メモリ33は、コンパクトFlashメモリ等の不揮発性メモリと、IDEバスを介したデータの伝送を行うためのインターフェース回路とより構成されている。
【0034】
IDEバスブリッジ34は、バスコントローラ等より構成されており、内部バスを介してPCIバスブリッジ32に接続され、一方でIDEバスを介してコンテンツ保存用内部メモリ33に接続されている。IDEバスブリッジ34は、マザーボード1が放送記録再生プログラムの制御に従って行う、コンテンツ保存用内部メモリ33へのアクセスを媒介する。
なお、PCIバスブリッジ32及びIDEバスブリッジ34は、マザーボード1が放送記録再生プログラムの制御に従わずにコンテンツ保存用内部メモリ33へとアクセスしても、このアクセスを実質的に阻止する。
【0035】
(動作)
次に、このデジタル放送レコーダの動作を説明する。
図4は、コンテンツを記録する処理の流れを示す図である。
図6は、記録したコンテンツを再生する処理の流れを示す図である。
【0036】
(コンテンツの記録)
受信ユニット3のデジタル放送受信部31に、データストリームを表す変調波が供給されると、デジタル放送受信部31は、この変調波を復調することによりデータストリームを復元して、復元されたデータストリームを、PCIバスブリッジ及び接続バスBを介し、マザーボード1に供給する。
【0037】
一方、マザーボード1は、たとえば外部から操作者の操作に従って供給される録画の指示に応答して、放送記録再生プログラムをマザーボード用ストレージ2より読み出して実行する。
【0038】
放送記録再生プログラムを実行するマザーボード1は、データストリームを供給されると(すなわち、TSパケットを順次供給されると)、デマルチプレクサ1Aの制御に従って、供給されたTSパケットに含まれるPIDを特定し、特定したPIDが、蓄積する対象のコンテンツを示すか否かを判別する。蓄積する対象のコンテンツは、たとえば、外部から操作者の操作に従って供給されるデータにより指定されればよい。
【0039】
そして、マザーボード1は、PIDが蓄積する対象のコンテンツを示すものでないと判別するとこのPIDを含むTSパケットを破棄し、示すと判別すると、このPIDを含むTSパケットを、図4に示すように、ストリーム合成ブロック1C及びストリーム間引きブロック1Bの各処理ブロックに引き渡す。
【0040】
TSパケットがデマルチプレクサ1Aからストリーム合成ブロック1Cに引き渡された場合(つまり、このデジタル放送レコーダがデジタル放送を受信した場合)、マザーボード1はストリーム合成ブロック1Cの制御に従い、このTSパケットに特に処理を加えないまま、このTSパケットをMPEGデコードブロック1Eに引き渡す。
【0041】
MPEGデコードブロック1EにTSパケットが引き渡されると、マザーボード1は、MPEGデコードブロック1Eの制御に従い、このTSパケットが表す画像や音声をデコードし、図4に示すように、たとえばコンポジット信号などのビデオ信号や音声信号などからなるコンテンツデータとして出力する。
【0042】
一方、マザーボード1は、デマルチプレクサ1Aからストリーム間引きブロック1Bに順次引き渡されるTSパケットを、ストリーム間引きブロック1Bの制御に従い、一定の規則に合致するように間引く。すなわち、この規則に従ってTSパケットを2つのグループに振り分け、一方のグループに属するTSパケット(以下、間引き対象パケットと呼ぶ)を、受信ユニット3のコンテンツ保存用内部メモリ33に書き込み、他方のグループに属するTSパケット(以下、非間引き対象パケットと呼ぶ)を、ストレージ記録ブロック1Dに引き渡す。なお、規則の具体的な内容は任意である。
【0043】
マザーボード1は、コンテンツ保存用内部メモリ33に書き込む間引き対象パケットを、図5に示すような、間引き対象パケット同士がシリアルに連結されたものから構成されるパケット集合ファイルの形で書き込むものとする。パケット集合ファイル内での各間引き対象パケットの並び順は任意であり、たとえば、元のデータストリーム内での並び順通りに並んでいればよい。
また、各々の間引き対象パケットには、たとえば、パケット集合ファイル内で当該間引き対象パケットが先頭から何番目にあるかを示すパケット番号が割り当てられている。なお、図5は、パケット番号「k−1」、「k」及び「k+1」(kは2以上の任意の整数)を割り当てられた間引き対象パケットを模式的に示すものである。
【0044】
なお、マザーボード1は、コンテンツ保存用内部メモリ33へのパケット集合ファイル(すなわち、間引き対象パケットの集合)の書き込みを、PCIバスブリッジ32及びIDEバスブリッジ34を介してコンテンツ保存用内部メモリ33にアクセスすることにより行う。すなわち、マザーボード1がコンテンツ保存用内部メモリ33にアクセスし、パケット集合ファイルが受信ユニット3へと供給されると、受信ユニット3のPCIバスブリッジ32は、このパケット集合ファイルをIDEバスブリッジ34へと供給し、IDEバスブリッジ34はコンテンツ保存用内部メモリ33にアクセスして、このパケット集合ファイルを、コンテンツ保存用内部メモリ33の記憶領域に格納する。
【0045】
一方、ストリーム間引きブロック1Bの処理を行うマザーボード1は、ストレージ記録ブロック1Dに引き渡す非間引き対象パケットを、図5に示すような置換済みデータストリームの形でストレージ記録ブロック1Dに引き渡す。
図示するように、置換済みデータストリームは、受信ユニット3が受信した元のデータストリームのうち間引き対象パケットをダミーのパケットへと置換したものに相当するデータ構造を有するデータストリームからなる。
【0046】
ダミーのパケットのペイロード部には、図5に示すように、当該ダミーのパケットにより置換された間引き対象パケットを識別する識別データが含まれている。識別データは、たとえば図5に示すように、上述のパケット番号からなっていてもよいし、あるいは、パケット集合ファイル内での当該間引き対象パケットの位置を示すアドレスからなっていてもよい。なお、図5は、パケット番号「k」を割り当てられた間引き対象パケットがダミーのパケットに置換されている置換済みデータストリームを模式的に示すのである。
【0047】
また、ダミーのパケットのペイロード部の内容は、当該ダミーのパケットにより置換された間引き対象パケットのペイロード部の内容と異なるものとする。ダミーのパケットのペイロード部の内容と、当該ダミーのパケットの位置にあった間引き対象パケットのペイロード部の内容との間には、実質的に相関関係がないことが望ましい。
【0048】
置換済みデータストリームがストレージ記録ブロック1Dへと引き渡されると、マザーボード1は、ストレージ記録ブロック1Dの制御に従ってマザーボード用ストレージ2にアクセスし、この置換済みデータストリームを、マザーボード用ストレージ2の記憶領域に格納する。
【0049】
(記録したコンテンツの再生)
記録されたコンテンツを再生する場合、マザーボード1は、たとえば外部から操作者の操作に従って供給されるコンテンツ再生の指示に応答して、放送記録再生プログラムをマザーボード用ストレージ2より読み出して実行する。
【0050】
すると、マザーボード1は、再生する対象のコンテンツを表す置換済みデータストリーム(非間引き対象パケットの集合)を、マザーボード用ストレージ2より読み出す。
【0051】
具体的には、マザーボード1は、たとえば、当該置換済みデータストリームを示す情報(たとえば、ファイル名や、格納されている記憶領域のアドレスなど)を、ストリーム合成ブロック1Cからストレージ読み出しブロック1Fに引き渡す。そして、ストレージ読み出しブロック1Fの制御に従ってマザーボード用ストレージ2にアクセスし、この情報により示される置換済みデータストリームをマザーボード用ストレージ2から読み出し、ストリーム合成ブロック1Cに引き渡す。
【0052】
一方、マザーボード1は、PCIバスブリッジ32及びIDEバスブリッジ34を介してコンテンツ保存用内部メモリ33にアクセスし、再生する対象のコンテンツを表すパケット集合ファイル(すなわち、間引き対象パケットの集合)を読み出す。読み出されたパケット集合ファイルはIDEバスブリッジ34に供給され、IDEバスブリッジ34はこのパケット集合ファイルをPCIバスブリッジ32に転送し、PCIバスブリッジ32は、このパケット集合ファイルを接続バスBを介してマザーボード1に供給する。
なお、読み出す対象のパケット集合ファイルは、たとえば、再生する対象のコンテンツを表す置換済みデータストリーム内の任意のダミーのパケットに含まれる識別データの内容に基づいて特定すればよい。
【0053】
マザーボード1は、図6に示すように、受信ユニット3から読み出したパケット集合ファイルを、ストリーム合成ブロック1Cに引き渡す。
【0054】
次に、マザーボード1は、ストリーム合成ブロック1Cの制御に従い、ストリーム合成ブロック1Cに引き渡された置換済みデータストリームを元のデータストリームへと復元する。そして、図6に示すように、復元されたデータストリームを、MPEGデコードブロック1Eに引き渡す。
【0055】
マザーボード1は、具体的には、ストリーム合成ブロック1Cに引き渡された置換済みデータストリームに含まれるダミーのパケットを、パケット集合ファイルに含まれる間引き対象パケットへと置換することにより、元のデータストリームの復元を行う。なお、マザーボード1は、各々のダミーのパケットをどの間引き対象パケットによって置換するかを、当該ダミーのパケットに含まれる識別データに基づいて特定する。
【0056】
MPEGデコードブロック1Eに元のデータストリームが引き渡されると、マザーボード1は、MPEGデコードブロック1Eの制御に従い、このデータストリームが表す画像や音声をデコードし、図6に示すように、コンテンツデータとして出力する。
【0057】
以上説明した動作を行うこのデジタル放送レコーダは、一定の規則に合致する一部のTSパケットをコンテンツ保存用内部メモリ33に記憶させる。そして、このIピクチャ先頭パケットは、放送記録再生プログラムの制御に従わずに読み出そうとしてもアクセスを実質的に阻止される。従って、たとえばマザーボード用ストレージ2を切り離し、外部のコンピュータ等を用い、マザーボード用ストレージ2の記憶内容に基づいてコンテンツを再生しようとしても、一部のTSパケットに含まれているデータを得ることができないため、コンテンツを正しく再生できない。この結果、コンテンツの保護が図られる。
そして、置換済みデータストリーム内のダミーのパケットをどの間引き対象パケットで置き換えるべきかは、当該ダミーのパケットに含まれる識別データを検証することにより容易に特定できる。このため、元のデータストリーム内での間引き対象パケットの位置を示すテーブルを別途用意することを要せずに、容易にデータストリームを復元できる。
【0058】
なお、このデジタル放送レコーダの構成は上述のものに限られない。
たとえば、TSパケットのデータ構造は上述の通りでなくてもよく、任意のデータ構造をとっていてよい。また、ダミーのパケットは、識別データを必ずしもペイロード部に含んでいる必要はなく、当該ダミーのパケット内の他の任意の位置に含んでいてもよい。また、TSパケットに含まれる画像データは、必ずしもMPEG2形式のデータでなくてもよく、MPEG4あるいはその他任意の形式のデータであってよい。
また、受信ユニット3はコンテンツ保存用内部メモリ33を複数備えてもよく、データストリームは3個以上のグループに振り分けられてもよい。
【0059】
また、ダミーのパケットが含む識別データは、当該ダミーのパケットにより置換された間引き対象パケットが、コンテンツ保存用内部メモリ33の記憶領域内で占める位置を示すアドレスからなっていてもよい。この場合、コンテンツ保存用内部メモリ33が記憶する間引き対象パケットは、必ずしも上述したパケット集合ファイルの形をとっていなくてもよい。
【0060】
また、このデジタル放送レコーダは、マザーボード1が生成したコンテンツデータが表す画像の表示を制御するビデオ回路や、この制御に従って画像を表示する液晶パネル等の表示装置を備えていてもよい。また、コンテンツデータが表す音声を再生するための増幅回路やスピーカ等を備えていてもよい。ビデオ回路や増幅回路がマザーボード1に搭載されていてもよい。
【0061】
また、接続バスBは必ずしもPCIバスに限られず任意の規格に準拠したバスであってよい。従って、接続バスBは、たとえばPC Card Standardに準拠するバスからなっていてもよいし、ISA(Industry Standard Architecture)バスからなっていてもよい。ただし、受信ユニット3は、接続バスBがPCIバスでない場合、PCIバスブリッジ32に代えて、接続バスBが準拠する規格に適合したデータ交換を媒介するバスコントローラ等を備えるものとする。
【0062】
また、コンテンツ保存用内部メモリ33とIDEバスブリッジ34とを接続するバスは必ずしもIDEバスに限られず任意の規格に準拠したバスであってよい。従って、このバスは、たとえばメモリ専用バスからなっていてもよい。ただし、受信ユニット3は、このバスがIDEバスでない場合、IDEバスブリッジ34に代えて、このバスが準拠する規格に適合したデータ交換を媒介するバスコントローラ等を備えるものとし、また、コンテンツ保存用内部メモリ33が備えるインターフェース回路も、このバスが準拠する規格に適合したデータ交換を媒介するものとする。
【0063】
また、マザーボード1は、コンテンツを記録するときは非間引き対象パケットを暗号化してからマザーボード用ストレージ2に記憶させ、記録したコンテンツを再生するときは、暗号化された非間引き対象パケットを読み出して復号化してからデータストリームの復元を行うようにしてもよい。
同様に、コンテンツを記録するときは間引き対象パケットを暗号化してからコンテンツ保存用内部メモリ33に書き込み、記録したコンテンツを再生するときは、暗号化された間引き対象パケットを読み出して復号化してからデータストリームの復元を行うようにしてもよい。
【0064】
以上、この発明の実施の形態を説明したが、この発明にかかるデータストリーム装置は、専用のシステムによらず、通常のコンピュータシステムを用いて実現可能である。
例えば、パーソナルコンピュータに上述のマザーボード1、マザーボード用ストレージ2及び受信ユニット3の動作を実行させるためのプログラムを格納した媒体(CD−ROM、MO、FD等)から該プログラムをインストールすることにより、上述の処理を実行するデジタル放送レコーダを構成することができる。
【0065】
また、例えば、通信回線の掲示板(BBS)に該プログラムを掲示し、これを通信回線を介して配信してもよく、また、該プログラムを表す信号により搬送波を変調し、得られた変調波を伝送し、この変調波を受信した装置が変調波を復調して該プログラムを復元するようにしてもよい。
そして、該プログラムを起動し、OSの制御下に、他のアプリケーションプログラムと同様に実行することにより、上述の処理を実行することができる。
【0066】
なお、OSが処理の一部を分担する場合、あるいは、OSが本願発明の1つの構成要素の一部を構成するような場合には、記録媒体には、その部分を除いたプログラムを格納してもよい。この場合も、この発明では、その記録媒体には、コンピュータが実行する各機能又はステップを実行するためのプログラムが格納されているものとする。
【0067】
【発明の効果】
以上説明したように、この発明によれば、データの保護が十分に図られるようにするためのデータストリーム記録装置及びデータストリーム記録方法が実現される。
【図面の簡単な説明】
【図1】この発明の実施の形態に係るデジタル放送レコーダの構成を示すブロック図である。
【図2】データストリーム及びTSパケットのデータ構造を示す図である。
【図3】PESパケットのデータ構造を示す図である。
【図4】コンテンツを記録する処理の流れを示す図である。
【図5】パケット集合ファイル、置換済みデータストリーム及びダミーのパケットのデータ構造を示す図である。
【図6】記録したコンテンツを再生する処理の流れを示す図である。
【符号の説明】
1 マザーボード
2 マザーボード用ストレージ
3 受信ユニット
31 デジタル放送受信部
32 PCIバスブリッジ
33 コンテンツ保存用内部メモリ
34 IDEバスブリッジ
B 接続バス
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data stream recording apparatus, a data stream recording method, and a program.
[0002]
[Prior art]
Digital broadcasting that broadcasts content such as images and sounds in the form of a data stream composed of continuous packets including data representing the content is used.
[0003]
Digitally broadcast content can be stored in a storage device as data in digital format, and data deterioration is unlikely to occur during storage.
For this reason, a technique for protecting rights such as copyrights relating to digitally broadcast content is used. Specifically, there is a method of encrypting and storing data representing content.
[0004]
[Problems to be solved by the invention]
However, if the encryption method is not strong enough to attack, the encrypted data can be easily decrypted by a person who does not know the decryption key, and the data cannot be sufficiently protected. .
[0005]
The present invention has been made in view of the above circumstances, and an object thereof is to provide a data stream recording apparatus and a data stream recording method for sufficiently protecting data.
[0006]
[Means for Solving the Problems]
In order to achieve the above object, a data stream recording apparatus according to the first aspect of the present invention provides:
Thinning means for acquiring a data stream and distributing a plurality of packets constituting the acquired data stream to a plurality of groups according to a predetermined rule;
First storage means having a first storage area that substantially prevents access from other than the thinning means;
Second storage means having a second storage area,
The thinning-out means stores a part of the packets belonging to the group in the first storage area, and the acquired data stream is replaced with a packet for a dummy packet. Converted into a replaced data stream and stored in the second storage area,
The dummy packet includes identification information that identifies a thinning target packet replaced by the dummy packet.
It is characterized by that.
[0007]
The thinning means may generate aggregate data representing a combination of packets belonging to the partial group and store the aggregated data in the first storage area.
In this case, the identification information may include information representing a logical position occupied by the packet replaced by the dummy packet including the identification information in the aggregated data.
[0008]
The identification information may include information representing a logical position occupied in the first storage area by a packet replaced by a dummy packet including the identification information.
[0009]
The packet constituting the data stream acquired by the thinning-out means and the dummy packet are composed of, for example, a TS (Transport Stream) packet. In this case, the identification information is included, for example, in the payload portion of the TS packet. Just do it.
[0010]
The thinning-out means may comprise combining means for reading out the packets distributed to the plurality of groups from the first and second storage areas and restoring the data stream based on the read-out packets.
[0011]
The thinning unit may include a processor. In this case, the processor may access the first storage area by executing a predetermined program.
[0012]
The first storage unit and the thinning-out unit may be connected to each other via a bus that enables data transmission when the processor executes a predetermined program.
[0013]
The thinning-out means may encrypt the packet distributed to the partial group and / or another group and store the encrypted packet in the first and / or second storage area.
[0014]
A data stream recording method according to the second aspect of the present invention includes:
Acquire a data stream, distribute a plurality of packets constituting the acquired data stream into a plurality of groups according to a predetermined rule,
Storing packets belonging to some groups in a first storage area that substantially prevents access from other than a predetermined access device;
A data stream recording method for converting the acquired data stream into a replaced data stream in which packets assigned to the partial group are replaced with dummy packets and storing the converted data stream in a second storage area. ,
The dummy packet includes identification information that identifies a thinning target packet replaced by the dummy packet.
It is characterized by that.
[0015]
Packets belonging to the partial group may be stored in the first storage area as aggregated data representing a combination of the packets.
In this case, the identification information may include information representing a logical position occupied by the packet replaced by the dummy packet including the identification information in the aggregated data.
[0016]
A program according to the third aspect of the present invention is:
Computer
Thinning means for acquiring a data stream and distributing a plurality of packets constituting the acquired data stream to a plurality of groups according to a predetermined rule;
First storage means having a first storage area that substantially prevents access from other than the thinning means;
A program for functioning as a second storage means having a second storage area,
The thinning unit stores a part of the packets belonging to the group in the first storage area, and the acquired data stream is replaced with a dummy packet for the packet distributed to the part of the group Converted into a replaced data stream and stored in the second storage area,
The dummy packet includes identification information that identifies a thinning target packet replaced by the dummy packet.
It is characterized by that.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a diagram showing a configuration of a digital broadcast recorder according to an embodiment of the present invention. As shown in the figure, this digital broadcast recorder includes a motherboard 1, a motherboard storage 2, and a receiving unit 3. The motherboard storage 2 is connected to the motherboard 1, and the receiving unit 3 is connected to the motherboard 1 via the connection bus B.
[0018]
The motherboard 1 includes, for example, a processor composed of a CPU (Central Processing Unit), a memory composed of a RAM (Random Access Memory), and a bus controller. The connection bus B is a PCI (Peripheral Component).
Interface) bus.
The memory of the motherboard 1 has a storage area that becomes a work area of the processor of the motherboard 1. The bus controller of the motherboard 1 includes a control circuit for controlling data exchange between the processor of the motherboard 1 and a device external to the motherboard 1 via the connection bus B.
[0019]
The mother board 1 reads out the broadcast recording / reproducing program stored in the motherboard storage 2 and performs the processing described later according to this broadcast recording / reproducing program.
The process controlled by the broadcast recording / reproducing program functionally includes a plurality of processing blocks. Specifically, a demultiplexer 1A, a stream decimation block 1B, a stream synthesis block 1C, a storage recording block 1D, an MPEG (Moving Picture Expert Group) decoding block 1E, and a storage reading block 1F, which will be described later with reference to FIGS. , Each processing block is included.
[0020]
The motherboard storage 2 is composed of a hard disk device or the like, and stores the above-described broadcast recording / reproducing program in advance. Then, in accordance with an access from the mother board 1, data supplied by the mother board 1 is stored, or data stored by itself is read out and supplied to the mother board 1.
[0021]
The receiving unit 3 includes a digital broadcast receiving unit 31, a PCI bus bridge 32, a content storage internal memory 33, and an IDE (Intelligent Drive Electronics) bus bridge 34.
[0022]
The digital broadcast receiving unit 31 includes a demodulation circuit and is connected to the PCI bus bridge 32 via an internal bus. The digital broadcast receiving unit 31 restores TS (Transport Stream) packets constituting the data stream by inputting and demodulating a modulated wave representing the data stream digitally broadcast from the outside. Then, the restored TS packet is supplied to the mother board 1 via the PCI bus bridge 32 and the connection bus B.
The data stream represented by the modulated wave received by the digital broadcast receiving unit 31 represents content composed of images and sounds, and is composed of a plurality of continuous TS packets as shown in FIG.
[0023]
A TS packet is a packet representing an image or sound constituting content, and has a data structure shown in FIG. That is, the TS packet includes a TS packet header and a payload portion (adaptation / payload portion) following the TS packet header.
[0024]
The payload portion is a portion including data representing content. As shown in FIG. 3, each payload part includes data that constitutes the same frame image (or the same sound) in the order in which TS packets including these payload parts are arranged. By connecting each other, a PES (Packetized Elementary Stream) packet can be formed.
[0025]
When the data stream represents MPEG2 format image data (or image data having substantially the same data structure as the MPEG2 format image data), the PES packet is an I picture, B that is data representing an image constituting a moving image. One or more of three types of pictures or P pictures are included. Of these, the B picture and the P picture represent differences from the I picture.
[0026]
As shown in FIG. 3, the PES packet includes a PES header including information for identifying the PES packet and a picture layer including any one of an I picture, a B picture, and a P picture.
[0027]
The PES packet including the I picture includes a sequence header code having a predetermined value. The PES packet including the I picture includes the video sequence layer, the GOP (in addition to the PES header and the picture layer). Group Of Picture) layer.
[0028]
As shown in FIG. 2, the TS packet header includes a synchronization byte, TS error data, payload unit start indicator, transport priority data, PID (Program IDentifier), transport scramble control data, and adaptation field control data in order from the top. And continuity indicators.
[0029]
Among these, the payload unit start indicator indicates whether or not the payload portion of the TS packet including the payload unit start indicator itself includes the top data of the PES packet. Specifically, for example, when the value of the payload unit start indicator is “1”, it indicates that the payload portion of the TS packet including the payload unit start indicator itself includes the head data of the PES packet, When it is “0”, it indicates that the payload part does not include the head data of the PES packet.
[0030]
Therefore, one PES packet is, for example, a TS packet including a payload unit start indicator having a value of “1” in the data stream, and immediately before a next TS packet including a payload unit start indicator having a value of “1”. It is generated by concatenating the payload portions of successive TS packets up to TS packets.
[0031]
The PID is data for identifying which content (for example, which image or sound represents) the payload part of the TS packet including the PID itself represents.
[0032]
The PCI bus bridge 32 is configured by a bus controller or the like, is connected to the motherboard 1 via the connection bus B, and is connected to the IDE bus bridge 34 and the digital broadcast receiver 31 via an internal bus. Yes.
The PCI bus bridge 32 mediates access to the content storage internal memory 33 which is performed by the mother board 1 according to the control of the broadcast recording / reproducing program. It also mediates the supply of data from the digital broadcast receiver 31 to the content storage internal memory 33.
[0033]
The content storage internal memory 33 includes a nonvolatile memory such as a compact flash memory and an interface circuit for transmitting data via the IDE bus.
[0034]
The IDE bus bridge 34 is composed of a bus controller or the like, and is connected to the PCI bus bridge 32 via an internal bus, while being connected to the content storage internal memory 33 via the IDE bus. The IDE bus bridge 34 mediates access to the content storage internal memory 33 that the motherboard 1 performs according to the control of the broadcast recording / playback program.
The PCI bus bridge 32 and the IDE bus bridge 34 substantially prevent this access even if the motherboard 1 accesses the content storage internal memory 33 without following the control of the broadcast recording / reproducing program.
[0035]
(Operation)
Next, the operation of this digital broadcast recorder will be described.
FIG. 4 is a diagram showing a flow of processing for recording content.
FIG. 6 is a diagram showing a flow of processing for reproducing the recorded content.
[0036]
(Recording content)
When a modulated wave representing a data stream is supplied to the digital broadcast receiver 31 of the receiving unit 3, the digital broadcast receiver 31 restores the data stream by demodulating the modulated wave, and the restored data stream Are supplied to the mother board 1 via the PCI bus bridge and the connection bus B.
[0037]
On the other hand, the mother board 1 reads out and executes a broadcast recording / reproducing program from the mother board storage 2 in response to a recording instruction supplied from the outside in accordance with the operation of the operator.
[0038]
When the motherboard 1 executing the broadcast recording / playback program is supplied with the data stream (that is, when TS packets are sequentially supplied), the motherboard 1 specifies the PID included in the supplied TS packets according to the control of the demultiplexer 1A. Then, it is determined whether or not the specified PID indicates content to be accumulated. The content to be accumulated may be designated by data supplied from the outside according to the operation of the operator, for example.
[0039]
If the mother board 1 determines that the PID does not indicate the content to be accumulated, the motherboard 1 discards the TS packet including the PID. If determined that the PID indicates, the motherboard 1 converts the TS packet including the PID as shown in FIG. The data is delivered to each processing block of the stream synthesis block 1C and the stream decimation block 1B.
[0040]
When the TS packet is delivered from the demultiplexer 1A to the stream synthesizing block 1C (that is, when this digital broadcast recorder receives a digital broadcast), the motherboard 1 specifically processes this TS packet according to the control of the stream synthesizing block 1C. The TS packet is delivered to the MPEG decode block 1E without being added.
[0041]
When the TS packet is delivered to the MPEG decoding block 1E, the mother board 1 decodes the image and sound represented by the TS packet according to the control of the MPEG decoding block 1E, and a video signal such as a composite signal as shown in FIG. And output as content data consisting of audio signals.
[0042]
On the other hand, the mother board 1 thins out TS packets sequentially delivered from the demultiplexer 1A to the stream thinning block 1B so as to conform to a certain rule according to the control of the stream thinning block 1B. That is, according to this rule, TS packets are divided into two groups, TS packets belonging to one group (hereinafter referred to as thinning target packets) are written in the content storage internal memory 33 of the receiving unit 3 and belong to the other group A TS packet (hereinafter referred to as a non-decimation target packet) is delivered to the storage recording block 1D. The specific contents of the rules are arbitrary.
[0043]
It is assumed that the mother board 1 writes the thinning target packets to be written into the content storage internal memory 33 in the form of a packet set file composed of serially connected thinning target packets as shown in FIG. Arrangement order of each thinning-out target packet in the packet set file is arbitrary. For example, it may be arranged in the order of arrangement in the original data stream.
Each thinning target packet is assigned, for example, a packet number indicating the number of the thinning target packet from the beginning in the packet set file. FIG. 5 schematically shows a thinning-out target packet to which packet numbers “k−1”, “k”, and “k + 1” (k is an arbitrary integer equal to or greater than 2) are assigned.
[0044]
The motherboard 1 accesses the content storage internal memory 33 via the PCI bus bridge 32 and the IDE bus bridge 34 to write the packet set file (that is, a set of packets to be thinned out) to the content storage internal memory 33. To do. That is, when the motherboard 1 accesses the content storage internal memory 33 and the packet set file is supplied to the receiving unit 3, the PCI bus bridge 32 of the receiving unit 3 transfers the packet set file to the IDE bus bridge 34. The IDE bus bridge 34 accesses the content storage internal memory 33, and stores this packet aggregate file in the storage area of the content storage internal memory 33.
[0045]
On the other hand, the mother board 1 that performs the processing of the stream thinning block 1B delivers the non-thinning target packet delivered to the storage recording block 1D to the storage recording block 1D in the form of a replaced data stream as shown in FIG.
As shown in the figure, the replaced data stream is composed of a data stream having a data structure corresponding to the original data stream received by the receiving unit 3 in which the thinning target packet is replaced with a dummy packet.
[0046]
As shown in FIG. 5, the payload portion of the dummy packet includes identification data for identifying the thinning target packet replaced by the dummy packet. For example, as shown in FIG. 5, the identification data may consist of the above-mentioned packet number, or may consist of an address indicating the position of the thinning-out target packet in the packet set file. FIG. 5 schematically shows the replaced data stream in which the thinning-out target packet assigned the packet number “k” is replaced with a dummy packet.
[0047]
In addition, the contents of the payload portion of the dummy packet are different from the contents of the payload portion of the thinning target packet replaced by the dummy packet. It is desirable that there is substantially no correlation between the content of the payload portion of the dummy packet and the content of the payload portion of the thinning target packet at the position of the dummy packet.
[0048]
When the replaced data stream is delivered to the storage recording block 1D, the motherboard 1 accesses the motherboard storage 2 according to the control of the storage recording block 1D, and stores this replaced data stream in the storage area of the motherboard storage 2. To do.
[0049]
(Replay recorded content)
When playing back the recorded content, the motherboard 1 reads out and executes the broadcast recording / playback program from the motherboard storage 2 in response to a content playback instruction supplied from the outside in accordance with the operation of the operator.
[0050]
Then, the motherboard 1 reads from the motherboard storage 2 a replaced data stream (a set of non-thinning target packets) representing the content to be played back.
[0051]
Specifically, for example, the mother board 1 delivers information indicating the replaced data stream (for example, a file name, an address of a stored storage area, and the like) from the stream synthesis block 1C to the storage read block 1F. Then, the motherboard storage 2 is accessed according to the control of the storage read block 1F, the replaced data stream indicated by this information is read from the motherboard storage 2, and delivered to the stream synthesis block 1C.
[0052]
On the other hand, the motherboard 1 accesses the content storage internal memory 33 via the PCI bus bridge 32 and the IDE bus bridge 34, and reads a packet set file (that is, a set of thinning target packets) representing the content to be played back. The read packet set file is supplied to the IDE bus bridge 34, and the IDE bus bridge 34 transfers the packet set file to the PCI bus bridge 32. The PCI bus bridge 32 passes the packet set file through the connection bus B. To the motherboard 1.
The packet set file to be read may be specified based on the content of identification data included in any dummy packet in the replaced data stream representing the content to be played back, for example.
[0053]
As shown in FIG. 6, the mother board 1 delivers the packet set file read from the receiving unit 3 to the stream synthesis block 1C.
[0054]
Next, under the control of the stream synthesis block 1C, the mother board 1 restores the replaced data stream delivered to the stream synthesis block 1C to the original data stream. Then, as shown in FIG. 6, the restored data stream is delivered to the MPEG decoding block 1E.
[0055]
Specifically, the mother board 1 replaces a dummy packet included in the replaced data stream delivered to the stream synthesis block 1C with a thinning target packet included in the packet set file, so that the original data stream is replaced. Perform restoration. The mother board 1 specifies which packet to be thinned out to replace each dummy packet based on identification data included in the dummy packet.
[0056]
When the original data stream is delivered to the MPEG decode block 1E, the mother board 1 decodes the image and sound represented by this data stream according to the control of the MPEG decode block 1E, and outputs it as content data as shown in FIG. .
[0057]
The digital broadcast recorder that performs the operation described above stores a part of TS packets that match a certain rule in the content storage internal memory 33. Then, even if the I picture head packet is read out without following the control of the broadcast recording / reproducing program, the access is substantially blocked. Therefore, even if, for example, the motherboard storage 2 is disconnected and an external computer or the like is used to play back content based on the stored contents of the motherboard storage 2, data included in some TS packets cannot be obtained. Therefore, the content cannot be played back correctly. As a result, the content can be protected.
Then, it is possible to easily identify which thinning target packet to replace the dummy packet in the replaced data stream by verifying the identification data included in the dummy packet. For this reason, it is possible to easily restore the data stream without requiring a separate table indicating the position of the thinning target packet in the original data stream.
[0058]
The configuration of this digital broadcast recorder is not limited to the above.
For example, the data structure of the TS packet may not be as described above, and may have an arbitrary data structure. The dummy packet does not necessarily include the identification data in the payload portion, and may be included in any other position in the dummy packet. Further, the image data included in the TS packet does not necessarily have to be MPEG2 format data, and may be MPEG4 or other arbitrary format data.
The receiving unit 3 may include a plurality of content storage internal memories 33, and the data stream may be distributed into three or more groups.
[0059]
Further, the identification data included in the dummy packet may include an address indicating a position occupied by the thinning-out target packet replaced by the dummy packet in the storage area of the content storage internal memory 33. In this case, the thinning-out target packet stored in the content storage internal memory 33 does not necessarily have to take the form of the packet aggregate file described above.
[0060]
In addition, the digital broadcast recorder may include a video circuit that controls display of an image represented by the content data generated by the motherboard 1 and a display device such as a liquid crystal panel that displays an image according to this control. Further, an amplifier circuit, a speaker, and the like for reproducing the sound represented by the content data may be provided. A video circuit and an amplifier circuit may be mounted on the motherboard 1.
[0061]
Further, the connection bus B is not necessarily limited to the PCI bus, and may be a bus conforming to an arbitrary standard. Therefore, the connection bus B may be composed of, for example, a bus conforming to PC Card Standard or may be composed of an ISA (Industry Standard Architecture) bus. However, when the connection bus B is not a PCI bus, the reception unit 3 is provided with a bus controller or the like that mediates data exchange conforming to the standard to which the connection bus B conforms instead of the PCI bus bridge 32.
[0062]
The bus connecting the content storage internal memory 33 and the IDE bus bridge 34 is not necessarily limited to the IDE bus, and may be a bus conforming to an arbitrary standard. Therefore, this bus may comprise a memory dedicated bus, for example. However, when this bus is not an IDE bus, the receiving unit 3 is provided with a bus controller or the like that mediates data exchange conforming to the standard to which this bus conforms instead of the IDE bus bridge 34, and for content storage It is assumed that the interface circuit provided in the internal memory 33 also mediates data exchange conforming to the standard to which this bus complies.
[0063]
Further, when recording content, the mother board 1 encrypts the non-decimation target packet and then stores it in the motherboard storage 2. When reproducing the recorded content, the mother board 1 reads and decrypts the encrypted non-decimation target packet. The data stream may be restored after conversion.
Similarly, when content is recorded, the thinning-out target packet is encrypted and then written into the content storage internal memory 33. When the recorded content is reproduced, the encrypted thinning-out target packet is read and decrypted before data is recorded. Stream restoration may be performed.
[0064]
Although the embodiment of the present invention has been described above, the data stream device according to the present invention can be realized using a normal computer system, not a dedicated system.
For example, by installing the program from a medium (CD-ROM, MO, FD, etc.) storing a program for causing the personal computer to execute the operations of the mother board 1, the mother board storage 2, and the receiving unit 3 described above, A digital broadcast recorder that executes the above process can be configured.
[0065]
Further, for example, the program may be posted on a bulletin board (BBS) of a communication line and distributed via the communication line. Also, a carrier wave is modulated by a signal representing the program, and the obtained modulated wave is An apparatus that transmits and receives the modulated wave may demodulate the modulated wave to restore the program.
Then, the above-described processing can be executed by starting the program and executing it in the same manner as other application programs under the control of the OS.
[0066]
When the OS shares a part of the process, or when the OS constitutes a part of one component of the present invention, a program excluding that part is stored in the recording medium. May be. Also in this case, in the present invention, it is assumed that the recording medium stores a program for executing each function or step executed by the computer.
[0067]
【The invention's effect】
As described above, according to the present invention, a data stream recording apparatus and a data stream recording method for sufficiently protecting data are realized.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a digital broadcast recorder according to an embodiment of the present invention.
FIG. 2 is a diagram illustrating a data structure of a data stream and a TS packet.
FIG. 3 is a diagram illustrating a data structure of a PES packet.
FIG. 4 is a diagram showing a flow of processing for recording content.
FIG. 5 is a diagram illustrating a data structure of a packet aggregate file, a replaced data stream, and a dummy packet.
FIG. 6 is a diagram showing a flow of processing for reproducing recorded content.
[Explanation of symbols]
1 Motherboard 2 Motherboard Storage 3 Receiving Unit 31 Digital Broadcasting Reception Unit 32 PCI Bus Bridge 33 Content Storage Internal Memory 34 IDE Bus Bridge B Connection Bus

Claims (11)

データストリームを取得し、取得したデータストリームを構成する複数のパケットを所定の規則に従って複数のグループに振り分ける間引き手段と、
前記間引き手段以外からのアクセスを実質的に阻止する第1の記憶領域を有する第1の記憶手段と、
第2の記憶領域を有する第2の記憶手段と、を備え、
前記間引き手段は、一部の前記グループに属するパケットを前記第1の記憶領域に格納し、取得した前記データストリームを、前記一部のグループに振り分けられたパケットがダミー用パケットへと置換された置換済みデータストリームへと変換して前記第2の記憶領域に格納するものであり、
前記ダミー用パケットは、当該ダミー用パケットによって置換された間引き対象パケットを特定する識別情報を含んでいる、
ことを特徴とするデータストリーム記録装置。
Thinning means for acquiring a data stream and distributing a plurality of packets constituting the acquired data stream to a plurality of groups according to a predetermined rule;
First storage means having a first storage area that substantially prevents access from other than the thinning means;
Second storage means having a second storage area,
The thinning-out means stores a part of the packets belonging to the group in the first storage area, and the acquired data stream is replaced with a packet for a dummy packet. Converted into a replaced data stream and stored in the second storage area,
The dummy packet includes identification information that identifies a thinning target packet replaced by the dummy packet.
A data stream recording apparatus.
前記間引き手段は、前記一部のグループに属するパケットを互いに結合したものを表す集合データを生成して前記第1の記憶領域に格納するものであり、
前記識別情報は、当該識別情報を含んだダミー用パケットによって置換されたパケットが前記集合データ内で占める論理的位置を表す情報を含んでいる、
ことを特徴とする請求項1に記載のデータストリーム記録装置。
The thinning means generates aggregate data representing a combination of packets belonging to the partial group and stores them in the first storage area,
The identification information includes information indicating a logical position occupied by the packet replaced by the dummy packet including the identification information in the set data.
The data stream recording apparatus according to claim 1, wherein:
前記識別情報は、当該識別情報を含んだダミー用パケットによって置換されたパケットが前記第1の記憶領域内で占める論理的位置を表す情報を含んでいる、
ことを特徴とする請求項1に記載のデータストリーム記録装置。
The identification information includes information indicating a logical position occupied in the first storage area by a packet replaced by a dummy packet including the identification information.
The data stream recording apparatus according to claim 1, wherein:
前記間引き手段が取得するデータストリームを構成するパケット及び前記ダミー用パケットはTS(Transport Stream)パケットからなっており、前記識別情報は、TSパケットのペイロード部に含まれている、
ことを特徴とする請求項1、2又は3に記載のデータストリーム記録装置。
The packet constituting the data stream acquired by the thinning unit and the dummy packet are TS (Transport Stream) packets, and the identification information is included in the payload portion of the TS packet.
4. The data stream recording apparatus according to claim 1, 2, or 3.
前記間引き手段は、前記複数のグループに振り分けられたパケットを前記第1及び第2の記憶領域より読み出し、読み出したパケットに基づいて前記データストリームを復元する合成手段を備える、
ことを特徴とする請求項1乃至4のいずれか1項に記載のデータストリーム記録装置。
The thinning unit includes a combining unit that reads out the packets distributed to the plurality of groups from the first and second storage areas and restores the data stream based on the read packets.
The data stream recording apparatus according to claim 1, wherein the data stream recording apparatus is a data stream recording apparatus.
前記間引き手段はプロセッサを備え、前記プロセッサは、所定のプログラムを実行することにより、前記第1の記憶領域にアクセスする、
ことを特徴とする請求項1乃至5のいずれか1項に記載のデータストリーム記録装置。
The thinning means includes a processor, and the processor accesses the first storage area by executing a predetermined program.
The data stream recording apparatus according to claim 1, wherein the data stream recording apparatus is a data stream recording apparatus.
前記第1の記憶手段及び前記間引き手段は、前記プロセッサが所定のプログラムを実行することによりデータの伝送が可能となるバスを介して互いに接続されている、
ことを特徴とする請求項6に記載のデータストリーム記録装置。
The first storage unit and the thinning unit are connected to each other via a bus that enables data transmission by the processor executing a predetermined program.
The data stream recording apparatus according to claim 6.
前記間引き手段は、前記一部のグループ及び/又は他のグループに振り分けられたパケットを暗号化して前記第1及び/又は第2の記憶領域に格納する、
ことを特徴とする請求項1乃至7のいずれか1項に記載のデータストリーム記録装置。
The thinning-out means encrypts the packet distributed to the partial group and / or another group and stores the encrypted packet in the first and / or second storage area.
The data stream recording apparatus according to claim 1, wherein the data stream recording apparatus is a data stream recording apparatus.
データストリームを取得し、取得したデータストリームを構成する複数のパケットを所定の規則に従って複数のグループに振り分け、
一部のグループに属するパケットを、所定のアクセス装置以外からのアクセスを実質的に阻止する第1の記憶領域に格納し、
取得した前記データストリームを、前記一部のグループに振り分けられたパケットがダミー用パケットへと置換された置換済みデータストリームへと変換して第2の記憶領域に格納するデータストリーム記録方法であって、
前記ダミー用パケットは、当該ダミー用パケットによって置換された間引き対象パケットを特定する識別情報を含んでいる、
ことを特徴とするデータストリーム記録方法。
Acquire a data stream, distribute a plurality of packets constituting the acquired data stream into a plurality of groups according to a predetermined rule,
Storing packets belonging to some groups in a first storage area that substantially prevents access from other than a predetermined access device;
A data stream recording method for converting the acquired data stream into a replaced data stream in which packets assigned to the partial group are replaced with dummy packets and storing the converted data stream in a second storage area. ,
The dummy packet includes identification information that identifies a thinning target packet replaced by the dummy packet.
A data stream recording method.
前記一部のグループに属するパケットは、当該パケットが互いに結合されたものを表す集合データとして前記第1の記憶領域に格納されるものであり、
前記識別情報は、当該識別情報を含んだダミー用パケットによって置換されたパケットが前記集合データ内で占める論理的位置を表す情報を含んでいる、
ことを特徴とする請求項9に記載のデータストリーム記録方法。
Packets belonging to the partial group are stored in the first storage area as aggregated data representing a combination of the packets,
The identification information includes information indicating a logical position occupied by the packet replaced by the dummy packet including the identification information in the set data.
The data stream recording method according to claim 9.
コンピュータを、
データストリームを取得し、取得したデータストリームを構成する複数のパケットを所定の規則に従って複数のグループに振り分ける間引き手段と、
前記間引き手段以外からのアクセスを実質的に阻止する第1の記憶領域を有する第1の記憶手段と、
第2の記憶領域を有する第2の記憶手段と、して機能させるためのプログラムであって、
前記間引き手段は、一部の前記グループに属するパケットを前記第1の記憶領域に格納し、取得した前記データストリームを、前記一部のグループに振り分けられたパケットがダミー用パケットへと置換された置換済みデータストリームへと変換して前記第2の記憶領域に格納するものであり、
前記ダミー用パケットは、当該ダミー用パケットによって置換された間引き対象パケットを特定する識別情報を含んでいる、
ことを特徴とするプログラム。
Computer
Thinning means for acquiring a data stream and distributing a plurality of packets constituting the acquired data stream to a plurality of groups according to a predetermined rule;
First storage means having a first storage area that substantially prevents access from other than the thinning means;
A program for functioning as a second storage means having a second storage area,
The thinning-out means stores a part of the packets belonging to the group in the first storage area, and the acquired data stream is replaced with a packet for a dummy packet. Converted into a replaced data stream and stored in the second storage area,
The dummy packet includes identification information that identifies a thinning target packet replaced by the dummy packet.
A program characterized by that.
JP2002025480A 2002-02-01 2002-02-01 Data stream recording apparatus, data stream recording method and program Expired - Fee Related JP3881900B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002025480A JP3881900B2 (en) 2002-02-01 2002-02-01 Data stream recording apparatus, data stream recording method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002025480A JP3881900B2 (en) 2002-02-01 2002-02-01 Data stream recording apparatus, data stream recording method and program

Publications (2)

Publication Number Publication Date
JP2003228913A JP2003228913A (en) 2003-08-15
JP3881900B2 true JP3881900B2 (en) 2007-02-14

Family

ID=27747622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002025480A Expired - Fee Related JP3881900B2 (en) 2002-02-01 2002-02-01 Data stream recording apparatus, data stream recording method and program

Country Status (1)

Country Link
JP (1) JP3881900B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012169007A (en) * 2011-02-14 2012-09-06 Sharp Corp Hybrid drive with extended memory, and record reproducer including hybrid drive with extended memory

Also Published As

Publication number Publication date
JP2003228913A (en) 2003-08-15

Similar Documents

Publication Publication Date Title
JP4585460B2 (en) Storage device, system, and method for preventing simultaneous use of different contents derived from same content at multiple locations
US7567487B2 (en) Content moving device, content moving method, computer program, recording medium, and content moving system
JP2008278122A (en) Method and program for reproducing broadcast program content
JP3881900B2 (en) Data stream recording apparatus, data stream recording method and program
JP3865374B2 (en) Data stream recording apparatus, data stream recording method and program
JP3865372B2 (en) Data stream recording apparatus, data stream recording method and program
JP3865376B2 (en) Data stream recording apparatus, data stream recording method and program
JP3865383B2 (en) Data stream recording apparatus, data stream recording method and program
JP3865375B2 (en) Data stream recording apparatus, data stream recording method and program
JP3630406B2 (en) Packet processing apparatus, packet processing method and storage medium therefor
JP3865384B2 (en) Data stream recording apparatus, data stream recording method and program
JP3747872B2 (en) Data stream recording apparatus, data stream recording method and program
JP3828850B2 (en) Data stream recording apparatus, data stream recording method and program
JP3828848B2 (en) Data stream recording apparatus, data stream recording method and program
JP3747871B2 (en) Data stream recording apparatus, data stream recording method and program
JPH11331803A (en) Encryption method, encryption device, digital contents reproduction device
JP4045137B2 (en) Data stream recording apparatus, data stream recording method and program
JP3828849B2 (en) Data stream recording apparatus, data stream recording method and program
JP2003228912A (en) Device and method for data stream recording, and program
JP2003228914A (en) Data stream recording device and method, and program
JP2003224815A (en) Data stream recording apparatus, data stream recording method and program
JP2003283991A (en) Data stream recording apparatus, data stream recording method and program
JP3780924B2 (en) Digital information transmission method and recording / reproducing method
JP2003299018A (en) Data stream recorder, method for recording data stream and program
JP2006293642A (en) Communication system, communication equipment, control method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040427

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061013

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061113

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111117

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121117

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20121117

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20121117

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20121117

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20131117

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees