JP2007258820A - Digital broadcasting recording and reproducing device - Google Patents
Digital broadcasting recording and reproducing device Download PDFInfo
- Publication number
- JP2007258820A JP2007258820A JP2006077359A JP2006077359A JP2007258820A JP 2007258820 A JP2007258820 A JP 2007258820A JP 2006077359 A JP2006077359 A JP 2006077359A JP 2006077359 A JP2006077359 A JP 2006077359A JP 2007258820 A JP2007258820 A JP 2007258820A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- packet
- management table
- desired program
- digital broadcast
- 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.)
- Pending
Links
Images
Abstract
Description
本発明はムービング・ピクチャ・エキスパート・グループ(MPEG)等の圧縮符号化規格に準拠したデジタル放送信号のビットストリームを記録・再生するデジタル放送記録再生装置に関する。 The present invention relates to a digital broadcast recording / reproducing apparatus for recording / reproducing a bit stream of a digital broadcast signal compliant with a compression coding standard such as Moving Picture Expert Group (MPEG).
近年、画像伝送及び圧縮技術の規格標準であるMPEG2のシステム規格で規定されたMPEG2−トランスポート・ストリーム(TS)規格を用いたデジタル放送が実用化されている。MPEG2−TS規格で規定されるビットストリームは複数のTSパケットにより構成され、各TSパケットには映像情報、音声情報、及びSIやPSI等と呼ばれるサービス情報が多重されて伝送される。スクランブルされたデジタル放送信号のビットストリームをデスクランブルし、デスクランブル後のTSパケットをそのまま記録することで、デジタル信号の品質を維持して記録可能な手法が知られている(例えば、特許文献1参照。)。尚、スクランブルとは伝送路における暗号化処理を意味し、デスクランブルとは暗号の復号化処理を意味する。 In recent years, digital broadcasting using the MPEG2-transport stream (TS) standard defined by the MPEG2 system standard, which is a standard for image transmission and compression technology, has been put into practical use. The bit stream defined by the MPEG2-TS standard is composed of a plurality of TS packets, and video information, audio information, and service information called SI, PSI, etc. are multiplexed and transmitted in each TS packet. A technique is known in which a bit stream of a scrambled digital broadcast signal is descrambled and a TS packet after descrambling is recorded as it is so that the quality of the digital signal can be maintained and recorded (for example, Patent Document 1). reference.). Note that scramble means encryption processing in the transmission path, and descrambling means encryption decryption processing.
また、ビデオ・テープ・レコーダ(VTR)と同様に早送り及び早戻し等の高速再生を実現するために、高速再生用の管理テーブルをビットストリームの記録時に作成する手法が提案されている(例えば、特許文献2参照。)。 Further, in order to realize high-speed playback such as fast-forward and fast-reverse as in a video tape recorder (VTR), a method for creating a management table for high-speed playback at the time of recording a bitstream has been proposed (for example, (See Patent Document 2).
しかしながら、スクランブルされたデジタル放送信号をデスクランブルしてTSパケットのまま記録する手法においては、コンテンツのコピープロテクションを保つことができない。一方、高速再生用の管理テーブルを記録時に作成するためには、スクランブルされたデジタル放送信号をデスクランブルする必要がある。よって、コンテンツのコピープロテクションを維持しつつ高速再生を実現できない。但し、スクランブルされたままのビットストリームを記録可能とし、且つ高速再生を実現するデジタル放送記録再生装置の実現が望まれている。
本発明は、スクランブルされたままのビットストリームを記録可能とし、且つ高速再生をも実現できるデジタル放送記録再生装置を提供する。 The present invention provides a digital broadcast recording / reproducing apparatus that can record a scrambled bit stream and can realize high-speed reproduction.
本発明の一態様によれば、少なくとも1つの情報を含むパケットが複数集まり構成されるビットストリームから所望の番組に属する各パケットを抽出する抽出部と、所望の番組に属する各パケットをデスクランブルするデスクランブル部と、所望の番組に属する各パケットのうち特定の情報を含むパケットから固有情報を検出し、特定の情報を含むパケットの位置情報を算出して、固有情報と位置情報との相関を示す管理テーブルを作成する管理テーブル作成部と、所望の番組に属する各パケット及び管理テーブルを蓄積する蓄積部と、蓄積された所望の番組に属する各パケットの再生時に、管理テーブルを作成するため、抽出部、デスクランブル部、管理テーブル作成部、及び蓄積部の少なくとも1つを制御する制御部とを備えるデジタル放送記録再生装置が提供される。 According to one aspect of the present invention, an extraction unit that extracts each packet belonging to a desired program from a bitstream including a plurality of packets including at least one piece of information, and descrambles each packet belonging to the desired program The unique information is detected from the descramble unit and the packet including the specific information among the packets belonging to the desired program, the position information of the packet including the specific information is calculated, and the correlation between the specific information and the position information is calculated. A management table creation unit for creating a management table, a storage unit for storing each packet and management table belonging to a desired program, and a management table at the time of reproducing each packet belonging to the stored desired program, A digital device comprising: an extraction unit, a descrambling unit, a management table creation unit, and a control unit that controls at least one of the storage units Feeding the recording and reproducing apparatus is provided.
本発明によれば、スクランブルされたままのビットストリームを記録可能とし、且つ高速再生をも実現できるデジタル放送記録再生装置を提供できる。 ADVANTAGE OF THE INVENTION According to this invention, the digital broadcast recording / reproducing apparatus which can record the bit stream as scrambled and can also implement | achieve high-speed reproduction can be provided.
次に、図面を参照して、本発明の第1及び第2実施形態を説明する。以下の第1及び第2実施形態における図面の記載において、同一又は類似の部分には同一又は類似の符号を付している。 Next, first and second embodiments of the present invention will be described with reference to the drawings. In the following description of the drawings in the first and second embodiments, the same or similar parts are denoted by the same or similar reference numerals.
(第1実施形態)
本発明の第1実施形態に係るデジタル放送受信システムは、図1に示すように、アンテナ2、受信装置3、デジタル放送記録再生装置1a、表示装置4、及び音声出力装置5を備える。図1に示すデジタル放送受信システムは、先ずアンテナ2はスクランブルの施された放送信号を受信し、受信装置3に受信信号として出力する。受信装置3はアンテナ2より入力する受信信号に対して誤り訂正復号等を行い、ビットストリームを復調してデジタル放送記録再生装置1aに出力する。デジタル放送記録再生装置1aは、ビットストリームから所望の番組に属する各パケットを抽出し、抽出した各パケットを記録・再生する。デジタル放送記録再生装置1aには、受信装置3の他に表示装置4及び音声出力装置5が接続される。デジタル放送記録再生装置1aは、映像情報を表示装置4に、音声情報を音声出力装置5に、再生した信号をそれぞれ出力する。表示装置4は、デジタル放送記録再生装置1aより入力する映像信号を映像として表示する。音声出力装置5は、デジタル放送記録再生装置1aより入力する音声信号を音声として再生する。尚、表示装置4は、例えば、ブラウン管(CRT)、液晶ディスプレイ(LCD)又はプラズマ・ディスプレイ・パネル(PDP)等に相当する。音声再生装置としては、例えば、スピーカ等に相当する。
(First embodiment)
As shown in FIG. 1, the digital broadcast receiving system according to the first embodiment of the present invention includes an
デジタル放送記録再生装置1aは、デマルチプレクサ11a、データバス60、メモリ13、映像デコーダ14、音声デコーダ15、表示制御部16、制御部17a、及び蓄積部18を備え、データバス60を介して、デマルチプレクサ11a、メモリ13、映像デコーダ14、音声デコーダ15、制御部17a、及び蓄積部18がそれぞれ接続されている。
The digital broadcast recording / reproducing
デマルチプレクサ11aは、少なくとも1つの情報を含むパケットが複数集まり構成されるビットストリームから所望の番組に属する各パケットを抽出する抽出部111と、所望の番組に属する各パケットをデスクランブルするデスクランブル部112と、所望の番組に属する各パケットのうち特定の情報を含むパケットから固有情報を検出し、特定の情報を含むパケットの位置情報を算出して、固有情報と位置情報との相関を示す管理テーブルを作成する管理テーブル作成部113とを備える。「特定の情報」、「固有情報」、及び「位置情報」の詳細については後述する。蓄積部18は、所望の番組に属する各パケット及び管理テーブルを蓄積する。尚、蓄積部18としては例えばハードディスク等の磁気記憶媒体が利用できる。制御部17aは、蓄積された所望の番組に属する各パケットの再生時に、管理テーブルを作成するため、抽出部111、デスクランブル部112、管理テーブル作成部113、及び蓄積部18の少なくとも1つを制御する。
The
また、以下においては、放送信号が、MPEG2−トランスポート・ストリーム(TS)規格に準拠して符号化及び多重化されている場合を例に説明する。「所望の番組に属する各パケット」とは、所望の番組(プログラム)に関係しないパケットを取り除いたパケット群を意味し、MPEG2−TSにおいてはパーシャル・トランスポート・ストリーム(パーシャルTS)と呼ばれる。 In the following, a case where a broadcast signal is encoded and multiplexed in conformity with the MPEG2-transport stream (TS) standard will be described as an example. “Each packet belonging to a desired program” means a packet group from which packets not related to a desired program (program) are removed, and is called a partial transport stream (partial TS) in MPEG2-TS.
尚、MPEG2−TS規格においては、送信側(放送局側)において、映像情報及び音声情報等が符号化され、符号化された映像情報及び音声情報等がパケット化される。更に、各パケットを分割し、ヘッダを付加して、最終的にTSパケットとして伝送される。 In the MPEG2-TS standard, video information and audio information are encoded on the transmission side (broadcasting station side), and the encoded video information and audio information are packetized. Further, each packet is divided, a header is added, and finally it is transmitted as a TS packet.
更に、制御部17aは、パーシャルTS及び管理テーブルを蓄積部18に記録するため、抽出部111、デスクランブル部112、管理テーブル作成部113、或いは蓄積部18の少なくとも1つを制御する記録制御部171と、蓄積部18に蓄積されたパーシャルTSを蓄積部18から再生するため、抽出部111、デスクランブル部112、管理テーブル作成部113、或いは蓄積部18の少なくとも1つを制御する再生制御部とを備える。
In addition, the
先ず、デジタル放送記録再生装置1aによりパーシャルTSを記録する場合の動作説明をする。
First, the operation when a partial TS is recorded by the digital broadcast recording / reproducing
デマルチプレクサ11aの抽出部111は、受信装置3より入力するビットストリームを構成する各TSパケットのパケット識別子(PID)を検出し、PIDに応じてTSパケットを選別する。選別されたTSパケットはパーシャルTSとして、データバス60を介してメモリ13の第1記録用バッファ領域131に一旦格納される。
The
TSパケットの選別に用いるPIDは、制御部17aの記録制御部171によってデータバス60、或いは図示を省略する経路を介して、デマルチプレクサ11aに予め設定されている。
The PID used for selecting the TS packets is set in advance in the
記録制御部171は、第1記録用バッファ領域131に格納されているパーシャルTSを、データバス60を介して蓄積部18のビットストリーム格納領域181に定期的に書き込むことを、蓄積部18に指示する。つまり、記録制御部171の制御によりパーシャルTSが蓄積部18に記録される。
The recording control unit 171 instructs the
尚、定期的とは、例えば、第1記録用バッファ領域131の空き容量(残量)がある閾値となる毎、又は第1記録用バッファ領域131にある一定数のTSパケットが格納される毎、等を基準とすることである。但し、本発明の実施形態において、移動する基準(タイミング)を上記の2つに限定するわけではない。
Note that the term “periodic” means, for example, every time the free space (remaining amount) of the first
パーシャルTSが蓄積部18に定期的に記録される結果、ビットストリーム格納領域181には、例えば図2に示すように、映像情報をペイロードに含むTSパケットPV1,PV2,・・・、音声情報をペイロードに含むTSパケットPA1,PA2,・・・、サービス情報をペイロードに含むTSパケットPS1,PS2,・・・が蓄積される。
As a result of the partial TS being periodically recorded in the
続いて、デジタル放送記録再生装置1aにより記録されたパーシャルTSを再生する場合の動作説明をする。
Next, the operation in the case of reproducing the partial TS recorded by the digital broadcast recording / reproducing
再生制御部172は、蓄積部18に記録されたパーシャルTSを、データバス60を介してメモリ13の第1再生用バッファ領域132に読出すことを、蓄積部18に指示する。
The playback control unit 172 instructs the
蓄積部18に蓄積されているパーシャルTSは、データバス60を介してメモリ13の第1再生用バッファ領域132に一旦格納される。
The partial TS stored in the
デマルチプレクサ11aは、データバス60を介して第1再生用バッファ領域132に格納されているパーシャルTSを読出す。記録の場合と同様に、読出したパーシャルTSを構成する各TSパケットのPIDを検出し、PIDに応じてTSパケットを選別する。選別したTSパケットはデスクランブル部112に一旦出力される。
The
デスクランブル部112は、抽出部111より入力するTSパケットにスクランブルが施されている場合、TSパケットのデスクランブルを行い、その結果を抽出部111に出力する。スクランブルされていない場合は何も行わず、TSパケットをそのまま抽出部111に出力する。尚、スクランブルが施されているTSパケットのみをデスクランブル部112に出力しても良い。
When the TS packet input from the
抽出部111は、TSパケットに含まれる情報の種類に基づき、TSパケットの一部又は全部を抽出し、これをメモリ13の各種情報のバッファ領域(図示省略)に、データバス60を介して格納する。例えば、TSパケットに含まれる情報が映像情報の場合には映像情報用バッファ領域に、音声情報の場合には音声情報用バッファ領域に、サービス情報の場合にはサービス情報用バッファ領域に、それぞれ格納される。尚、格納されるTSパケットの一部又は全部が、映像情報の場合は「映像データ」と、音声情報の場合は「音声データ」とそれぞれ呼ぶ。
The
映像デコーダ14は、映像情報用バッファ領域に格納された映像データを読出し、映像信号をデコードし、表示装置4に出力する。音声デコーダ15は、音声情報用バッファ領域に格納された音声データを読出し、音声信号をデコードし、音声出力装置5に出力する。表示装置4では映像信号が、音声出力装置5では音声信号が、それぞれ再生される。
The
尚、サービス情報用バッファ領域に格納されるサービス情報には、字幕等の文字情報等も含まれ、これら情報をデコード(復号)するためには、図示を省略するデコーダが必要となる場合がある。また、一部のサービス情報は制御部17aによってデコードしても良い。
The service information stored in the service information buffer area also includes character information such as subtitles, and a decoder (not shown) may be required to decode the information. . Also, some service information may be decoded by the
つまり、TSパケットに含まれる各情報は、メモリ13、及びデータバス60を介して、デマルチプレクサ11aから映像デコーダ14、音声デコーダ15、制御部17a、或いは、図示を省略するデコーダに渡され、デコードされる。
That is, each information included in the TS packet is transferred from the
尚、本発明の第1実施形態においては情報の受け渡し方法を上記のメモリ13経由に限定するわけではない。例えば、データバス60のみ、或いは、図示を省略する別経路を介して渡すことも可能である。
In the first embodiment of the present invention, the information delivery method is not limited to the above-described
以上説明したように、デジタル放送記録再生装置1aにより、ビットストリーム(TS)の一部又は全部となるパーシャルTSの記録・再生が行われる。つまり、パーシャルTSをスクランブルされたまま記録し、これを再生するときにデスクランブルを行うことで、コンテンツのコピープロテクションを保ちつつ記録・再生できる。
As described above, the digital broadcast recording / reproducing
更に、本発明の第1実施形態においては、次に説明するように、1回目以降の再生のときに、映像情報を含むTSパケット(「特定の情報を含むパケット」に相当する)がパーシャルTSのどの位置に点在するかを特定するための管理テーブルを作成しておくことで、管理テーブルの作成以降の高速再生が可能となる。以下、1回目の再生のときに管理テーブルを作成する場合を例に説明する。 Furthermore, in the first embodiment of the present invention, as described below, a TS packet including video information (corresponding to a “packet including specific information”) is a partial TS at the first and subsequent playbacks. By creating a management table for identifying the positions where the management table is scattered, high-speed reproduction after the creation of the management table becomes possible. Hereinafter, a case where a management table is created during the first reproduction will be described as an example.
記録されたビットストリーム(パーシャルTS)を初めて再生するとき、抽出部111によって映像情報を含むTSパケットを検出した場合に、検出したTSパケット(或いは映像データ部分のみ)を、一旦管理テーブル作成部113に出力する。このとき、デマルチプレクサ11aは、読出したTSパケットの数を抽出部111、或いは図示を省略する機能ブロックによってカウントする。カウント値は、映像情報を含むパケットがパーシャルTSに多重されている位置情報を管理テーブル作成部113によって計算するために参照できるようになっている。尚、再生が初めて(1回目)かどうかは、再生制御部172よりデータバス60或いは図示を省略する経路によって、デマルチプレクサ11aに予め設定されている。
When the recorded bit stream (partial TS) is reproduced for the first time, when the TS packet including the video information is detected by the
管理テーブル作成部113は、抽出部111より入力する映像データからピクチャの先頭を検出する。もしも検出できた場合に、そのピクチャタイプ(固有情報に相当する)とその映像データを含むTSパケットがパーシャルTSの先頭TSパケットから数えた番号(パケット番号。位置情報に相当する)とを関連付ける管理テーブルを作成する。ピクチャについては後述する。
The management
管理テーブルの具体例を図3に示す。図3に示すように、どのピクチャタイプの映像データが何番のTSパケットから含まれているのかが判断できるようになっている。図3においては次のことが判断できる。判断するのは抽出部111でも良いし、再生制御部172でも良い。
A specific example of the management table is shown in FIG. As shown in FIG. 3, it is possible to determine which picture packet of which picture type is included from which TS packet. In FIG. 3, the following can be determined. The determination may be made by the
ピクチャタイプ:Iの映像データが1224番目のTSパケットから含まれる
ピクチャタイプ:Pの映像データが1634番目のTSパケットから含まれる
ピクチャタイプ:Bの映像データが2023番目のTSパケットから含まれる
ピクチャタイプ:Bの映像データが2517番目のTSパケットから含まれる
ピクチャタイプ:Pの映像データが3012番目のTSパケットから含まれる
ピクチャタイプ:Bの映像データが3233番目のTSパケットから含まれる
ピクチャタイプ:Bの映像データが4010番目のTSパケットから含まれる
管理テーブルは、データバス60を介して、メモリ13の第2記録用バッファ領域133に一旦格納される。格納はデマルチプレクサ11aによって、少なくとも1つ以上のピクチャ分の関連付けが完成したあと行えば良い。
Picture type: I video data is included from the 1224th TS packet Picture type: P video data is included from the 1634th TS packet Picture type: B video data is included from the 2023rd TS packet Picture type : B video data is included from the 2517th TS packet Picture type: P video data is included from the 3012th TS packet Picture type: B video data is included from the 3233th TS packet Picture type: B The management table including the 4010th TS data is temporarily stored in the second
制御部17aの記録制御部171は、第2記録用バッファ領域133に格納されている管理テーブルを、データバス60を介して蓄積部18の管理テーブル格納領域182に定期的に書き込むことを、蓄積部18に指示する。つまり、記録制御部171の制御により管理テーブルが蓄積部18に記録される。
The recording control unit 171 of the
2回目の再生のときには、制御部17aが管理テーブル格納領域182に蓄積されている管理テーブルの一部又は全部を、第2再生用バッファ領域134にデータバス60を介して読出すための蓄積部18を制御する。制御に従い、管理テーブルが第2再生用バッファ領域134に格納される。
During the second playback, the storage unit for the
再生制御部172は、第2再生用バッファ領域134にある管理テーブルの示す各ピクチャとそのピクチャを含むパケットまでのパケット数(番号)から、任意のピクチャを含むパケットを、ビットストリーム格納領域181に蓄積されているパーシャルTSから第1再生用バッファ領域132に読出すための制御を蓄積部18に対して行う。
The playback control unit 172 transfers a packet including an arbitrary picture to the bit
例えば、図3において、Iタイプのピクチャ(以下、Iピクチャ)とPタイプのピクチャ(以下、Pピクチャ)のみを再生するのであれば、次のように制御すれば良い。 For example, in FIG. 3, if only an I-type picture (hereinafter referred to as an I picture) and a P-type picture (hereinafter referred to as a P picture) are reproduced, the following control may be performed.
最初にIピクチャを再生するために、1224番目から1633番目のパケットを読出す。2番目にPピクチャを再生するために、1634番目から2022番目のパケットを読出す。3番目にPピクチャを再生するために、3012番目から3232番目のパケットを読出す。同様にしてn番目のI又はPピクチャが読出し・再生される(n;4以上の整数)。 First, in order to reproduce the I picture, the 1224th to 1633th packets are read. In order to reproduce the P picture second, the 1634th to 2022th packets are read. In order to reproduce the third P picture, the 3012st to 3232nd packets are read. Similarly, the n-th I or P picture is read / reproduced (n: integer greater than or equal to 4).
この結果、Bピクチャを除いたI及びPピクチャのみが再生される。例えば、本来Bピクチャが再生される時間にPピクチャが再生されていることになり、この間のピクチャが飛ばされた(スキップされた)状態で再生される。この結果、高速再生が実現できる。 As a result, only the I and P pictures excluding the B picture are reproduced. For example, a P picture is originally reproduced at a time when a B picture is reproduced, and the picture during this time is reproduced in a skipped state. As a result, high speed reproduction can be realized.
したがって、1回目の再生以降に管理テーブルを作成することで、スクランブルされたまま記録されているパーシャルTSに対して高速再生を実現できる。 Therefore, by creating a management table after the first reproduction, high-speed reproduction can be realized for the partial TS recorded while being scrambled.
次に、図4に示すフローチャートを参照して、図1に示すデジタル放送記録再生装置1aにおける記録手順例を説明する。尚、図4のフローチャートは記録処理時のデマルチプレクサ11aの動作フローを示している。
Next, an example of a recording procedure in the digital broadcast recording / reproducing
(A)ステップS99において、記録制御部171から記録終了命令がデマルチプレクサ11aに指示されたかどうかを判定する。記録終了命令が指示されている場合は記録処理を終了し、終了命令がない場合には、ステップS100へ移行する。
(A) In step S99, it is determined whether a recording end command is instructed from the recording control unit 171 to the
(B)ステップS100において、抽出部111は、ビットストリームを構成する各TSパケットのヘッダ部に含まれるPIDを検出し、記録制御部171からの指示に応じて記録されるTSパケット(以下、記録対象パケット)を抽出する。記録対象のTSパケットを抽出すると、ステップS101に進む。
(B) In step S100, the
(C)ステップS101において、記録制御部171は、記録対象とされているTSパケットを第1記録用バッファ領域131にデータバス60を介して一時的に格納するように、デマルチプレクサ11aを制御する。更に、記録制御部171は、予め規定されたサイズ分のデータが第1記録用バッファ領域131に格納されたときに、データバス60を介して蓄積部18内のビットストリーム格納領域181へ格納するようにメモリ13、蓄積部18を制御する。尚、この時点では管理テーブルは作成されない。
(C) In step S101, the recording control unit 171 controls the
(E)ステップS102において、記録対象のTSパケットが、記録しながら表示再生中のTSパケットであるか否かを判定する。表示再生中のTSパケットであると判定した場合、ステップS103に進む。表示中のTSパケットでないと判定された場合、記録処理が終了する。 (E) In step S102, it is determined whether the TS packet to be recorded is a TS packet being displayed and reproduced while being recorded. If it is determined that the TS packet is being displayed and reproduced, the process proceeds to step S103. If it is determined that the TS packet is not being displayed, the recording process ends.
(F)ステップS103において、再生制御部172は、再生対象のTSパケットがスクランブルされているか否か判定する。再生対象のTSパケットがスクランブルされていると判定した場合、ステップS104に進む。再生対象のTSパケットがスクランブルされていないと判定された場合、ステップS105に進む。 (F) In step S103, the reproduction control unit 172 determines whether or not the TS packet to be reproduced is scrambled. If it is determined that the TS packet to be reproduced is scrambled, the process proceeds to step S104. If it is determined that the TS packet to be played back is not scrambled, the process proceeds to step S105.
(G)ステップS104において、デスクランブル部112は、再生対象のTSパケットをデスクランブルする。
(G) In step S104, the
(H)ステップS105において、抽出部111はデスクランブルされたTSパケットのペイロードの内容を判定する。デスクランブルされたTSパケットのペイロードの内容が映像データである場合、映像ペイロードデータを映像デコーダ14に転送する。デスクランブルされたTSパケットのペイロードの内容が音声データである場合、音声ペイロードデータを音声デコーダ15へ転送する。次にステップS99へ戻る。
(H) In step S105, the
次に、図5に示すフローチャートを参照して、図1に示すデジタル放送記録再生装置1aにおける1回目の再生処理手順例を説明する。図5のフローチャートは1回目の再生処理におけるデマルチプレクサ11aの動作フローを示している。
Next, an example of the first reproduction processing procedure in the digital broadcast recording / reproducing
(A)ステップS199において、再生制御部172より再生停止命令の指示がなされているかどうか判定する。再生処理停止命令指示がなされた場合は、再生処理を終了する。再生停止命令指示がなされていない場合は、ステップS200へ移行する。 (A) In step S199, it is determined whether or not a playback stop command is instructed from the playback control unit 172. If a reproduction process stop command is instructed, the reproduction process is terminated. If the playback stop command is not instructed, the process proceeds to step S200.
(B)ステップS200において、第1再生用バッファ領域132に空きがある場合、ビットストリーム格納領域181に記録されたTSパケットがデータバス60を介して第1再生用バッファ領域132に格納される。
(B) If there is an empty space in the first
(C)ステップS201において、抽出部111は第1再生用バッファ領域132に格納されたTSパケットを、データバス60を介して読出す。また管理テーブル作成部113は、読出されたTSパケット数をカウントする。
(C) In step S <b> 201, the
(D)ステップS202において、抽出部111は、読出されたTSパケットが再生対象のTSパケットであるか否か判定する。読出されたTSパケットが再生対象のTSパケットであると判定した場合、ステップS203に進む。
(D) In step S202, the
(E)ステップS203において、抽出部111は、再生対象のTSパケットがスクランブルされているか否か判定する。再生対象のTSパケットがスクランブルされていると判定した場合、ステップS204に進む。再生対象のTSパケットがスクランブルされていないと判定した場合、ステップS205に進む。
(E) In step S203, the
(F)ステップS204において、デスクランブル部112は、再生対象のTSパケットをデスクランブルする。再生対象のTSパケットがデスクランブルされるとステップS205に進む。
(F) In step S204, the
(G)ステップS205において、抽出部111は、デスクランブルされたTSパケットのペイロードの内容が映像又は音声データであるか判定する。デスクランブルされたTSパケットのペイロードの内容が映像データである場合、ステップS206に進む。デスクランブルされたTSパケットのペイロードの内容が音声データである場合、ステップS207に進む。
(G) In step S205, the
(H)ステップS206において、管理テーブル作成部113は、例えば、TSパケットにピクチャ先頭が含まれているか否か判定する。TSパケットにピクチャ先頭が含まれていると判定した場合、ステップS208に進む。TSパケットにピクチャ先頭が含まれていないと判定した場合、ステップS209に進む。
(H) In step S206, the management
(I)ステップS208において、管理テーブル作成部113は、読出されたTSパケット数及びピクチャタイプから、図3に示した管理テーブルを作成し、第2記録用バッファ領域133にデータバス60を介して書き込む。
(I) In step S208, the management
(J)ステップS209において、抽出部111はTSパケットの映像ペイロードデータを映像デコーダ14に転送する。
(J) In step S209, the
(K)一方、ステップS207において抽出部111は、TSパケット中の音声ペイロードデータを音声デコーダ15へ転送する。
(K) On the other hand, in step S207, the
次に、図6に示すフローチャートを参照して、図1に示すデジタル放送記録再生装置1aにおける高速再生処理の手順例を説明する。尚、高速再生とは早送り及び早戻し等を意味する。図6のフローチャートは高速再生時の再生制御部172の動作フローを示している。高速再生時のデマルチプレクサ11aの動作は図5と同様である。
Next, a procedure example of high-speed playback processing in the digital broadcast recording /
(A)ステップS299において、再生制御部172は高速再生停止命令指示がなされているかどうか判定する。高速再生停止命令が指示されている場合は高速再生を終了する。高速再生停止命令の指示がない場合は、ステップS300へ移行する。 (A) In step S299, the reproduction control unit 172 determines whether or not a high-speed reproduction stop instruction has been issued. If a fast playback stop command is instructed, the fast playback is terminated. If there is no instruction for a fast playback stop command, the process proceeds to step S300.
(B)ステップS300において、再生制御部172は、第2再生用バッファ領域134に空きがあると、管理テーブルデータを蓄積部18から第2再生用バッファ領域134へ読出す。更に読出した管理テーブルデータを参照して、Iピクチャ、或いはI及びPピクチャの先頭のTSパケット位置を検出する。
(B) In step S300, when the second
(C)ステップS301において、再生制御部172は、Iピクチャ(又はPピクチャ)の先頭のTSパケットから別途指定されたサイズ分のデータを蓄積部18からデータバス60を介して第1再生用バッファ領域132に格納するように制御する。ここでサイズを次のピクチャ先頭が含まれるTSパケットまでのデータサイズとしても良い。次にステップS299へ戻る。
(C) In step S301, the playback control unit 172 sends data for the size specified separately from the first TS packet of the I picture (or P picture) from the
このように、本発明の第1実施形態によれば、スクランブルしたままストリームを記録し、最初の(1回目の)再生時に管理テーブルを作成することにより、2回目以降の再生時に早送りや早戻し処理を実現可能なデジタル放送記録再生装置1aを提供できる。したがって、コンテンツのコピープロテクション機能を実現するとともに、最初の再生時には早送りができないため、コマーシャル(CM)等をスキップせずに利用者に視聴させることができる。また、記録時に受信機内部で暗号化をかけなくても良いため、記録時の制御を簡略化することができる。
As described above, according to the first embodiment of the present invention, a stream is recorded while being scrambled, and a management table is created at the first (first) reproduction, thereby fast-forwarding and fast-rewinding at the second and subsequent reproductions. It is possible to provide a digital broadcast recording / reproducing
(第1実施形態の第1変形例)
本発明の第1実施形態の第1変形例として、図7に示すように、蓄積されたパーシャルTSの再生が1回目の場合に、再生制御部172が、蓄積されたパーシャルTSを再生した時点までの管理テーブルを参照し、少なくとも1回再生された映像データを含むパケットを選択的に再生するために、抽出部111、デスクランブル部112、管理テーブル作成部113、及び蓄積部18の少なくとも1つを制御する。即ち、再生制御部172は、パーシャルTSの1回目の再生時に、パーシャルTSを再生した時点までの管理テーブルを参照して蓄積部18からTSパケットを選択的に読出す。
(First modification of the first embodiment)
As a first modification of the first embodiment of the present invention, as shown in FIG. 7, when the stored partial TS is played back for the first time, the playback control unit 172 plays back the stored partial TS. In order to selectively reproduce the packet including the video data reproduced at least once with reference to the management table up to at least one of the
先ず、図7に示すフローチャートを参照して、1回目の再生時に早戻し処理を実行するときの手順例を説明する。図7のフローチャートは1回目の再生時に早戻し処理を実行するときの再生制御部172の動作フローを示している。 First, with reference to a flowchart shown in FIG. 7, an example of a procedure for executing a fast reverse process during the first reproduction will be described. The flowchart of FIG. 7 shows an operation flow of the playback control unit 172 when the fast reverse process is executed during the first playback.
(A)ステップS400において、再生制御部172は、1回目の再生時に早戻しの命令を受ける。 (A) In step S400, the playback control unit 172 receives a fast reverse command during the first playback.
(B)ステップS401において、再生制御部172は、ステップS400までに転送されたTSパケット数のカウント値を保持する。 (B) In step S401, the reproduction control unit 172 holds the count value of the number of TS packets transferred up to step S400.
(C)ステップS399において再生制御部172は早戻し停止命令を指示されたかどうか判定する。早戻し停止命令が指示された場合には再生を終了する。早戻し停止命令指示がない場合にはステップS402へ移行する。 (C) In step S399, the playback control unit 172 determines whether or not a fast reverse stop command has been instructed. When the fast reverse stop command is instructed, the reproduction is finished. If there is no fast reverse stop instruction, the process proceeds to step S402.
(D)ステップS402において、再生制御部172は、作成中の管理テーブルを参照する。 (D) In step S402, the playback control unit 172 refers to the management table being created.
(E)ステップS402において、再生制御部172は、第1再生用バッファ領域132に空きがある場合には蓄積部18内のビットストリーム格納領域181から第1再生用バッファ領域132にデータバス60を介してIピクチャ(及びPピクチャ)を読出すように制御する。次にステップS399へ戻る。
(E) In step S402, the reproduction control unit 172 connects the
次に、図8に示すフローチャートを参照して、1回目の再生時において早戻しを実行し、その後早送りを行う場合の処理手順例を説明する。図8のフローチャートは1回目の再生時において早戻し処理を実現するときの再生制御部172の動作フローを示している。 Next, referring to a flowchart shown in FIG. 8, an example of a processing procedure in a case where fast reverse is executed at the time of the first reproduction and then fast forward is performed will be described. The flowchart of FIG. 8 shows an operation flow of the playback control unit 172 when the fast reverse process is realized at the time of the first playback.
(A)ステップS500において、再生制御部172は、1回目の再生時に早戻しの命令を受ける。 (A) In step S500, the playback control unit 172 receives a fast reverse command during the first playback.
(B)ステップS499において、再生制御部172は早送り停止命令が指示されているかどうか判定する。早送り停止命令が指示されている場合には再生を終了する。早送り停止命令が指示されていない場合にはステップS501へ移行する。 (B) In step S499, the playback control unit 172 determines whether a fast-forward stop command is instructed. If a fast-forward stop command is instructed, playback is terminated. When the fast-forward stop command is not instructed, the process proceeds to step S501.
(C)ステップS501において、再生制御部172は、ステップS500までに転送されたTSパケット数のカウント値を保持する。 (C) In step S501, the reproduction control unit 172 holds the count value of the number of TS packets transferred up to step S500.
(D)ステップS502において、再生制御部172は、管理テーブル内に新規に読出すデータがあるかどうか判定する。管理テーブル内に新規に読出すデータがないと判定された場合、ステップS504に進み、早送り処理が終了する。管理テーブル内に新規に読出すデータがあると判定された場合、ステップS503に進む。 (D) In step S502, the reproduction control unit 172 determines whether there is data to be newly read in the management table. When it is determined that there is no data to be newly read in the management table, the process proceeds to step S504, and the fast-forward process ends. If it is determined that there is data to be newly read in the management table, the process proceeds to step S503.
(E)ステップS503において、再生制御部172は、作成中の管理テーブルを参照し、更に第1再生用バッファ領域132に空きがある場合にはビットストリーム格納領域181から第1再生用バッファ領域132にIピクチャ(及びPピクチャ)を読出す。次にステップS499へ戻る。
(E) In step S503, the playback control unit 172 refers to the management table being created, and if there is a free space in the first
このように、本発明の第1実施形態の第1変形例によれば、最初の再生時にも管理テーブルを作成した範囲内で早送り及び早戻し処理を実現することができる。また、最初の再生時には、管理テーブルが存在しない未来方向には早送りができないため、最初の再生時におけるCM等のスキップを回避できる。 Thus, according to the first modification of the first embodiment of the present invention, fast forward and fast reverse processing can be realized within the range in which the management table is created even during the first reproduction. In addition, at the time of the first reproduction, fast forward cannot be performed in the future direction where the management table does not exist, so that it is possible to avoid skipping CMs or the like at the time of the first reproduction.
(第1実施形態の第2変形例)
本発明の第1実施形態の第2変形例に係るデジタル放送記録再生装置1bについて図9に示した。第1実施形態の第2変形例では、再生制御部172が蓄積部18内のビットストリーム格納領域181に蓄積したパーシャルTSをメモリ13内の第1再生用バッファ領域132へ、データバス60を介して読出すように制御する。更に、再生制御部172は、第1再生用バッファ領域132からパーシャルTSを再生制御部20へデータバス60を介して読出し、レート制御を施して入力選択部19へ入力させるように制御する。入力選択部19は、受信装置3及び再生制御部20から入力されるいずれかのパーシャルTSを選択して、デマルチプレクサ11aに入力させる。
(Second modification of the first embodiment)
FIG. 9 shows a digital broadcast recording / reproducing
第1実施形態の第2変形例に係るデジタル放送記録再生装置1aによれば、デマルチプレクサ11aに対するパーシャルTSの入力を1箇所に統一することにより、デマルチプレクサ11aの処理を簡略化することができる。更に、再生制御部20を個別に設けることにより、蓄積部18から読出されたパーシャルTSを他の機器に転送することが可能となる。
According to the digital broadcast recording / reproducing
(第2実施形態)
本発明の第2実施形態に係るデジタル放送記録再生装置1cは、図10に示すように、デマルチプレクサ11bが、暗号化部114及び復号化部115を更に備える点が図1と異なる。暗号化部114は、デスクランブルされたパーシャルTSを暗号化する。復号化部115は、暗号化部114によって暗号化されたパーシャルTSを復号化する。制御部17aは、蓄積されたパーシャルTSの再生が1回目の場合に暗号化を行い、2回目以降の場合に復号化を行うため、抽出部111、デスクランブル部112、管理テーブル作成部113、及び蓄積部18の少なくとも1つを制御する。その他の構成については図1に示すデジタル放送記録再生装置1aの構成と同様である。
(Second Embodiment)
A digital broadcast recording / reproducing apparatus 1c according to the second embodiment of the present invention is different from FIG. 1 in that a
よって、蓄積部18から読出したTSパケットをデスクランブル用の制御データ(鍵データ)を参照することなく復号化可能なデジタル放送記録再生装置1cを構成している。また、デジタル放送記録再生装置1c毎に暗号化鍵を備え、暗号化部114がTSパケットに対して暗号化を施すことによって、蓄積部18を他の機器に移し変えても再生できないようにするといったコンテンツ保護規定を遵守できる。
Therefore, the digital broadcast recording / reproducing apparatus 1c that can decrypt the TS packet read from the
次に、図11に示すフローチャートを参照して、図10に示すデジタル放送記録再生装置1cにおける1回目の再生処理手順例を説明する。但し、図1に示すデジタル放送記録再生装置1aにおける1回目の再生処理手順例と重複する説明は省略する。
Next, an example of the first reproduction processing procedure in the digital broadcast recording / reproducing apparatus 1c shown in FIG. 10 will be described with reference to the flowchart shown in FIG. However, the description which overlaps with the example of the 1st reproduction | regeneration processing procedure in the digital broadcast recording / reproducing
(A)ステップS203において、抽出部111は、再生対象のTSパケットがスクランブルされているか否か判定する。再生対象のTSパケットがスクランブルされていると判定した場合、ステップS204に進む。再生対象のTSパケットがスクランブルされていないと判定した場合、ステップS600に進む。
(A) In step S203, the
(B)ステップS600において、暗号化部114はTSパケット内のペイロードの全部又は一部を暗号化し、第1記録用バッファ領域131にデータバス60を介して一時的に格納するように制御する。
(B) In step S600, the
(C)ステップS205において、抽出部111は、暗号化前のTSパケットのペイロードの内容が映像データであるか否か判定する。暗号化前のTSパケットのペイロードの内容が映像データであると判定した場合、ステップS206に進む。暗号化前のTSパケットのペイロードの内容が映像データでないと判定した場合、ステップS207に進む。
(C) In step S205, the
このように、本発明の第2実施形態によれば、暗号化処理以降の再生時においてデスクランブル用の制御データ(鍵データ)を参照することなく、記録したTSパケットを再生することができる。更に、スクランブルしたままストリームを記録し、1回目の再生時に管理テーブルを作成することにより、2回目以降の再生時に早送りや早戻し処理を実現可能なデジタル放送記録再生装置1cを提供できる。 As described above, according to the second embodiment of the present invention, the recorded TS packet can be reproduced without referring to the descrambling control data (key data) during reproduction after the encryption process. Furthermore, by recording a stream while being scrambled and creating a management table during the first playback, it is possible to provide a digital broadcast recording / playback apparatus 1c that can perform fast forward and fast reverse processing during the second and subsequent playback.
(その他の実施形態)
上記のように、本発明は第1及び第2実施形態によって記載したが、この開示の一部をなす論述及び図面はこの発明を限定するものであると理解すべきではない。この開示から当業者には様々な代替実施形態、実施例及び運用技術が明らかとなろう。
(Other embodiments)
As described above, the present invention has been described according to the first and second embodiments. However, it should not be understood that the description and drawings constituting a part of this disclosure limit the present invention. From this disclosure, various alternative embodiments, examples and operational techniques will be apparent to those skilled in the art.
上述した第1及び第2実施形態においては、MPEG2−TSを利用する一例を説明した。しかしながら、MPEG2−TSに限定されるものではなく、パケットによる多重化を行う伝送規格であれば良い。即ち、映像デコーダ14としては、MPEG2に限らず、MPEG4又はH.264等の圧縮符号化方式に準拠した映像デコーダが使用できる。音声デコーダ15においても同様である。
In the first and second embodiments described above, an example using MPEG2-TS has been described. However, the transmission standard is not limited to MPEG2-TS, and any transmission standard that performs multiplexing using packets may be used. That is, the
また、蓄積部18としてハードディスクが利用できると説明したが、光ディスク等の光記憶媒体又は不揮発性半導体メモリ等のランダムアクセス可能な大容量の記憶媒体であれば良い。
In addition, although it has been described that a hard disk can be used as the
更に、映像データを含むTSパケットの位置情報としてパケット番号を利用する一例を説明したが、パケット番号に代えてバイト数やハードディスク・ドライブ(HDD)内のセクタ数等の記録したピクチャの先頭位置を判別できるデータであれば良い。 Furthermore, although an example in which the packet number is used as the position information of the TS packet including video data has been described, the start position of the recorded picture such as the number of bytes or the number of sectors in the hard disk drive (HDD) is used instead of the packet number. Any data that can be discriminated may be used.
また、無線伝送されるデジタル放送信号を受信する一例を説明したが、デジタル放送信号が無線伝送される場合に限らず有線伝送される構成でも良い。 Further, although an example of receiving a digital broadcast signal transmitted wirelessly has been described, the configuration is not limited to the case where the digital broadcast signal is wirelessly transmitted, and may be configured to be wired.
このように本発明は、ここでは記載していない様々な実施形態等を包含するということを理解すべきである。したがって、本発明はこの開示から妥当な特許請求の範囲の発明特定事項によってのみ限定されるものである。 Thus, it should be understood that the present invention includes various embodiments and the like not described herein. Therefore, the present invention is limited only by the invention specifying matters in the scope of claims reasonable from this disclosure.
1a〜1c…デジタル放送記録再生装置
18…蓄積装置
111…抽出部
112…デスクランブル部
113…管理テーブル作成部
17a,17b…記録制御部
DESCRIPTION OF
Claims (5)
前記所望の番組に属する各パケットをデスクランブルするデスクランブル部と、
前記所望の番組に属する各パケットのうち特定の情報を含むパケットから固有情報を検出し、前記特定の情報を含むパケットの位置情報を算出して、前記固有情報と前記位置情報との相関を示す管理テーブルを作成する管理テーブル作成部と、
前記所望の番組に属する各パケット及び前記管理テーブルを蓄積する蓄積部と、
前記蓄積された前記所望の番組に属する各パケットの再生時に、前記管理テーブルを作成するため、前記抽出部、前記デスクランブル部、前記管理テーブル作成部、及び前記蓄積部の少なくとも1つを制御する制御部
とを備えることを特徴とするデジタル放送記録再生装置。 An extraction unit that extracts each packet belonging to a desired program from a bitstream including a plurality of packets including at least one piece of information;
A descrambling unit for descrambling each packet belonging to the desired program;
The unique information is detected from the packets including specific information among the packets belonging to the desired program, the position information of the packet including the specific information is calculated, and the correlation between the specific information and the position information is indicated. A management table creation unit for creating a management table;
An accumulator for accumulating each packet belonging to the desired program and the management table;
Controls at least one of the extraction unit, the descrambling unit, the management table creation unit, and the storage unit to create the management table when each packet belonging to the stored desired program is reproduced. A digital broadcast recording / reproducing apparatus comprising: a control unit.
前記暗号化部によって暗号化された前記前記所望の番組に属する各パケットを復号化する復号化部
とを更に備え、前記制御部は、前記蓄積された前記所望の番組に属する各パケットの再生が1回目の場合に前記暗号化を行い、且つ、2回目以降の場合に前記復号化を行うため、前記抽出部、前記デスクランブル部、前記管理テーブル作成部、及び前記蓄積部の少なくとも1つを制御することを特徴とする請求項1〜4のいずれか1項に記載のデジタル放送記録再生装置。 An encryption unit for encrypting each packet belonging to the desired program descrambled by the descrambling unit;
A decrypting unit that decrypts each packet belonging to the desired program encrypted by the encryption unit, and the control unit reproduces each stored packet belonging to the desired program. In order to perform the encryption in the first time and to perform the decryption in the second time or later, at least one of the extraction unit, the descrambling unit, the management table creation unit, and the storage unit is provided. 5. The digital broadcast recording / reproducing apparatus according to claim 1, wherein the digital broadcast recording / reproducing apparatus is controlled.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006077359A JP2007258820A (en) | 2006-03-20 | 2006-03-20 | Digital broadcasting recording and reproducing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006077359A JP2007258820A (en) | 2006-03-20 | 2006-03-20 | Digital broadcasting recording and reproducing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007258820A true JP2007258820A (en) | 2007-10-04 |
Family
ID=38632661
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006077359A Pending JP2007258820A (en) | 2006-03-20 | 2006-03-20 | Digital broadcasting recording and reproducing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007258820A (en) |
-
2006
- 2006-03-20 JP JP2006077359A patent/JP2007258820A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6865747B1 (en) | High definition media storage structure and playback mechanism | |
JP4709548B2 (en) | Content playback apparatus and trick mode playback system | |
KR100821575B1 (en) | Method and apparatus for editing digital video recordings, and recordings made by such methods | |
EP1447983B1 (en) | Method of recording scrambled digital data, storage medium and method of reading such data | |
KR101401967B1 (en) | Method and apparatus for trick play of scrambled data stream | |
US20050271365A1 (en) | Simultaneous video recording processing method of copy-protected contents and video apparatus therefor | |
JP2008539640A (en) | Apparatus and method for processing encrypted data stream | |
JPWO2019043987A1 (en) | Content recording device, content editing device, content reproducing device, content recording method, content editing method, and content reproducing method | |
JP4895113B2 (en) | Recording apparatus, control method, and program | |
JP4186429B2 (en) | Content transmitting apparatus and method, content receiving apparatus and method | |
JP4852453B2 (en) | Recording apparatus, video reproduction apparatus, and special reproduction method thereof | |
KR20060032191A (en) | A method and system for digitally recording broadcast content | |
US20090185790A1 (en) | Method and apparatus for processing additional data in broadcast signal, method and apparatus for recording broadcast signal, and method and apparatus for reproducing recorded broadcasting signal | |
JP2007258820A (en) | Digital broadcasting recording and reproducing device | |
JP2008165931A (en) | Program recording/reproducing device and program recording/reproducing method | |
JP2005229156A (en) | Decoding and recording device | |
JP4748095B2 (en) | Information recording / reproducing apparatus, method, and program | |
JP4865618B2 (en) | Broadcast receiving apparatus and control method thereof | |
JP2010257519A (en) | Recording device and recording method | |
JP2006050179A (en) | Video/audio recording reproducer and recording reproducing method | |
JP2013158020A (en) | Video audio recorder/reproducer and recording/reproducing method | |
JP2003023596A (en) | Digital broadcast recorder and method therefor | |
JP5120286B2 (en) | Video / audio recording / reproducing apparatus and recording / reproducing method | |
JP2006108822A (en) | Commercial broadcast system and video recorder/reproducer | |
JP2002287619A (en) | Recording/reproducing device |