JP2007258820A - Digital broadcasting recording and reproducing device - Google Patents

Digital broadcasting recording and reproducing device Download PDF

Info

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
Application number
JP2006077359A
Other languages
Japanese (ja)
Inventor
Hiroyuki Nagata
裕之 永田
Kenji Tomizawa
研二 冨澤
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.)
Toshiba Corp
Toshiba Development and Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Digital Media Engineering Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba Digital Media Engineering Corp filed Critical Toshiba Corp
Priority to JP2006077359A priority Critical patent/JP2007258820A/en
Publication of JP2007258820A publication Critical patent/JP2007258820A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a digital broadcasting recording and reproducing device capable of recording a scrambled bit stream and achieving high-speed reproduction. <P>SOLUTION: The digital broadcasting recording and reproducing device comprises: an extractor 111 for extracting each packet belonging to a desired program from a bit stream composed by the assembly of a plurality of packets including at least one piece of information; a descrambler 112 for descrambling each packet belonging to the desired program; a management table creator 113 for detecting inherent information from a packet including specified information in each packet belonging to the desired program, calculating position information in each packet belonging to the desired program for each packet including the specified information, and creating a management table for indicating the correlation between the inherent information and the position information; and a storage 18 for storing each packet belonging to the desired program and the management table. The management table creator 113 creates the management table at least at the first reproduction of each packet belonging to the stored desired program. <P>COPYRIGHT: (C)2008,JPO&INPIT

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パケットのまま記録する手法においては、コンテンツのコピープロテクションを保つことができない。一方、高速再生用の管理テーブルを記録時に作成するためには、スクランブルされたデジタル放送信号をデスクランブルする必要がある。よって、コンテンツのコピープロテクションを維持しつつ高速再生を実現できない。但し、スクランブルされたままのビットストリームを記録可能とし、且つ高速再生を実現するデジタル放送記録再生装置の実現が望まれている。
特開平11−313282号公報 特開2002−185920号公報
However, in the method of descrambling the scrambled digital broadcast signal and recording the TS packet as it is, the content copy protection cannot be maintained. On the other hand, in order to create a management table for high-speed playback at the time of recording, it is necessary to descramble the scrambled digital broadcast signal. Therefore, high-speed playback cannot be realized while maintaining content copy protection. However, it is desired to realize a digital broadcast recording / reproducing apparatus that can record a scrambled bit stream and realize high-speed reproduction.
JP-A-11-313282 JP 2002-185920 A

本発明は、スクランブルされたままのビットストリームを記録可能とし、且つ高速再生をも実現できるデジタル放送記録再生装置を提供する。   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 antenna 2, a receiving device 3, a digital broadcast recording / reproducing device 1a, a display device 4, and an audio output device 5. In the digital broadcast receiving system shown in FIG. 1, the antenna 2 first receives a scrambled broadcast signal and outputs it to the receiving device 3 as a received signal. The receiving device 3 performs error correction decoding on the received signal input from the antenna 2, demodulates the bit stream, and outputs it to the digital broadcast recording / reproducing device 1a. The digital broadcast recording / reproducing apparatus 1a extracts each packet belonging to a desired program from the bit stream, and records / reproduces each extracted packet. In addition to the receiving device 3, a display device 4 and an audio output device 5 are connected to the digital broadcast recording / reproducing device 1a. The digital broadcast recording / reproducing apparatus 1a outputs the reproduced signal to the display apparatus 4 and the audio information to the audio output apparatus 5 respectively. The display device 4 displays the video signal input from the digital broadcast recording / reproducing device 1a as a video. The audio output device 5 reproduces the audio signal input from the digital broadcast recording / reproducing device 1a as audio. The display device 4 corresponds to, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), a plasma display panel (PDP), or the like. For example, the sound reproducing device corresponds to a speaker or the like.

デジタル放送記録再生装置1aは、デマルチプレクサ11a、データバス60、メモリ13、映像デコーダ14、音声デコーダ15、表示制御部16、制御部17a、及び蓄積部18を備え、データバス60を介して、デマルチプレクサ11a、メモリ13、映像デコーダ14、音声デコーダ15、制御部17a、及び蓄積部18がそれぞれ接続されている。   The digital broadcast recording / reproducing apparatus 1a includes a demultiplexer 11a, a data bus 60, a memory 13, a video decoder 14, an audio decoder 15, a display control unit 16, a control unit 17a, and a storage unit 18, and through the data bus 60, A demultiplexer 11a, a memory 13, a video decoder 14, an audio decoder 15, a control unit 17a, and a storage unit 18 are connected to each other.

デマルチプレクサ11aは、少なくとも1つの情報を含むパケットが複数集まり構成されるビットストリームから所望の番組に属する各パケットを抽出する抽出部111と、所望の番組に属する各パケットをデスクランブルするデスクランブル部112と、所望の番組に属する各パケットのうち特定の情報を含むパケットから固有情報を検出し、特定の情報を含むパケットの位置情報を算出して、固有情報と位置情報との相関を示す管理テーブルを作成する管理テーブル作成部113とを備える。「特定の情報」、「固有情報」、及び「位置情報」の詳細については後述する。蓄積部18は、所望の番組に属する各パケット及び管理テーブルを蓄積する。尚、蓄積部18としては例えばハードディスク等の磁気記憶媒体が利用できる。制御部17aは、蓄積された所望の番組に属する各パケットの再生時に、管理テーブルを作成するため、抽出部111、デスクランブル部112、管理テーブル作成部113、及び蓄積部18の少なくとも1つを制御する。   The demultiplexer 11a includes an extraction unit 111 that extracts each packet that belongs to a desired program from a bitstream that includes a plurality of packets including at least one piece of information, and a descrambling unit that descrambles each packet that belongs to the desired program 112 and management indicating the correlation between the specific information and the position information by detecting the specific information from the packet including the specific information among the packets belonging to the desired program, calculating the position information of the packet including the specific information And a management table creation unit 113 for creating a table. Details of “specific information”, “unique information”, and “position information” will be described later. The storage unit 18 stores each packet and management table belonging to a desired program. The storage unit 18 can be a magnetic storage medium such as a hard disk. The control unit 17a creates at least one of the extraction unit 111, the descrambling unit 112, the management table creation unit 113, and the storage unit 18 in order to create a management table when each packet belonging to the stored desired program is played back. Control.

また、以下においては、放送信号が、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 control unit 17a records at least one of the extraction unit 111, the descrambling unit 112, the management table creation unit 113, and the storage unit 18 in order to record the partial TS and the management table in the storage unit 18. 171 and a playback control unit that controls at least one of the extraction unit 111, the descrambling unit 112, the management table creation unit 113, or the storage unit 18 in order to play back the partial TS stored in the storage unit 18 from the storage unit 18. With.

先ず、デジタル放送記録再生装置1aによりパーシャルTSを記録する場合の動作説明をする。   First, the operation when a partial TS is recorded by the digital broadcast recording / reproducing apparatus 1a will be described.

デマルチプレクサ11aの抽出部111は、受信装置3より入力するビットストリームを構成する各TSパケットのパケット識別子(PID)を検出し、PIDに応じてTSパケットを選別する。選別されたTSパケットはパーシャルTSとして、データバス60を介してメモリ13の第1記録用バッファ領域131に一旦格納される。   The extraction unit 111 of the demultiplexer 11a detects the packet identifier (PID) of each TS packet constituting the bit stream input from the receiving device 3, and selects the TS packet according to the PID. The selected TS packet is temporarily stored in the first recording buffer area 131 of the memory 13 through the data bus 60 as a partial TS.

TSパケットの選別に用いるPIDは、制御部17aの記録制御部171によってデータバス60、或いは図示を省略する経路を介して、デマルチプレクサ11aに予め設定されている。   The PID used for selecting the TS packets is set in advance in the demultiplexer 11a by the recording control unit 171 of the control unit 17a via the data bus 60 or a path (not shown).

記録制御部171は、第1記録用バッファ領域131に格納されているパーシャルTSを、データバス60を介して蓄積部18のビットストリーム格納領域181に定期的に書き込むことを、蓄積部18に指示する。つまり、記録制御部171の制御によりパーシャルTSが蓄積部18に記録される。   The recording control unit 171 instructs the storage unit 18 to periodically write the partial TS stored in the first recording buffer area 131 to the bit stream storage area 181 of the storage unit 18 via the data bus 60. To do. That is, the partial TS is recorded in the storage unit 18 under the control of the recording control unit 171.

尚、定期的とは、例えば、第1記録用バッファ領域131の空き容量(残量)がある閾値となる毎、又は第1記録用バッファ領域131にある一定数のTSパケットが格納される毎、等を基準とすることである。但し、本発明の実施形態において、移動する基準(タイミング)を上記の2つに限定するわけではない。   Note that the term “periodic” means, for example, every time the free space (remaining amount) of the first recording buffer area 131 reaches a certain threshold value, or every time a certain number of TS packets in the first recording buffer area 131 are stored. , Etc. However, in the embodiment of the present invention, the moving reference (timing) is not limited to the above two.

パーシャル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 storage unit 18, the bit stream storage area 181 includes TS packets PV1, PV2,..., Audio information including video information in the payload, as shown in FIG. TS packets PA1, PA2,... Included in the payload, and TS packets PS1, PS2,.

続いて、デジタル放送記録再生装置1aにより記録されたパーシャルTSを再生する場合の動作説明をする。   Next, the operation in the case of reproducing the partial TS recorded by the digital broadcast recording / reproducing apparatus 1a will be described.

再生制御部172は、蓄積部18に記録されたパーシャルTSを、データバス60を介してメモリ13の第1再生用バッファ領域132に読出すことを、蓄積部18に指示する。   The playback control unit 172 instructs the storage unit 18 to read the partial TS recorded in the storage unit 18 to the first playback buffer area 132 of the memory 13 via the data bus 60.

蓄積部18に蓄積されているパーシャルTSは、データバス60を介してメモリ13の第1再生用バッファ領域132に一旦格納される。   The partial TS stored in the storage unit 18 is temporarily stored in the first reproduction buffer area 132 of the memory 13 via the data bus 60.

デマルチプレクサ11aは、データバス60を介して第1再生用バッファ領域132に格納されているパーシャルTSを読出す。記録の場合と同様に、読出したパーシャルTSを構成する各TSパケットのPIDを検出し、PIDに応じてTSパケットを選別する。選別したTSパケットはデスクランブル部112に一旦出力される。   The demultiplexer 11a reads the partial TS stored in the first reproduction buffer area 132 via the data bus 60. As in the case of recording, the PID of each TS packet constituting the read partial TS is detected, and the TS packet is selected according to the PID. The selected TS packet is temporarily output to the descrambling unit 112.

デスクランブル部112は、抽出部111より入力するTSパケットにスクランブルが施されている場合、TSパケットのデスクランブルを行い、その結果を抽出部111に出力する。スクランブルされていない場合は何も行わず、TSパケットをそのまま抽出部111に出力する。尚、スクランブルが施されているTSパケットのみをデスクランブル部112に出力しても良い。   When the TS packet input from the extraction unit 111 is scrambled, the descrambling unit 112 descrambles the TS packet and outputs the result to the extraction unit 111. If it is not scrambled, nothing is performed and the TS packet is output to the extraction unit 111 as it is. Only the scrambled TS packet may be output to the descrambling unit 112.

抽出部111は、TSパケットに含まれる情報の種類に基づき、TSパケットの一部又は全部を抽出し、これをメモリ13の各種情報のバッファ領域(図示省略)に、データバス60を介して格納する。例えば、TSパケットに含まれる情報が映像情報の場合には映像情報用バッファ領域に、音声情報の場合には音声情報用バッファ領域に、サービス情報の場合にはサービス情報用バッファ領域に、それぞれ格納される。尚、格納されるTSパケットの一部又は全部が、映像情報の場合は「映像データ」と、音声情報の場合は「音声データ」とそれぞれ呼ぶ。   The extraction unit 111 extracts part or all of the TS packet based on the type of information included in the TS packet, and stores it in the buffer area (not shown) of various information in the memory 13 via the data bus 60. To do. For example, if the information contained in the TS packet is video information, it is stored in the video information buffer area, if it is audio information, it is stored in the audio information buffer area, and if it is service information, it is stored in the service information buffer area. Is done. It should be noted that part or all of the stored TS packets are referred to as “video data” in the case of video information, and “audio data” in the case of audio information.

映像デコーダ14は、映像情報用バッファ領域に格納された映像データを読出し、映像信号をデコードし、表示装置4に出力する。音声デコーダ15は、音声情報用バッファ領域に格納された音声データを読出し、音声信号をデコードし、音声出力装置5に出力する。表示装置4では映像信号が、音声出力装置5では音声信号が、それぞれ再生される。   The video decoder 14 reads the video data stored in the video information buffer area, decodes the video signal, and outputs it to the display device 4. The audio decoder 15 reads the audio data stored in the audio information buffer area, decodes the audio signal, and outputs it to the audio output device 5. The display device 4 reproduces the video signal, and the audio output device 5 reproduces the audio signal.

尚、サービス情報用バッファ領域に格納されるサービス情報には、字幕等の文字情報等も含まれ、これら情報をデコード(復号)するためには、図示を省略するデコーダが必要となる場合がある。また、一部のサービス情報は制御部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 control unit 17a.

つまり、TSパケットに含まれる各情報は、メモリ13、及びデータバス60を介して、デマルチプレクサ11aから映像デコーダ14、音声デコーダ15、制御部17a、或いは、図示を省略するデコーダに渡され、デコードされる。   That is, each information included in the TS packet is transferred from the demultiplexer 11a to the video decoder 14, the audio decoder 15, the control unit 17a, or a decoder (not shown) via the memory 13 and the data bus 60, and decoded. Is done.

尚、本発明の第1実施形態においては情報の受け渡し方法を上記のメモリ13経由に限定するわけではない。例えば、データバス60のみ、或いは、図示を省略する別経路を介して渡すことも可能である。   In the first embodiment of the present invention, the information delivery method is not limited to the above-described memory 13. For example, it is possible to pass through only the data bus 60 or another route (not shown).

以上説明したように、デジタル放送記録再生装置1aにより、ビットストリーム(TS)の一部又は全部となるパーシャルTSの記録・再生が行われる。つまり、パーシャルTSをスクランブルされたまま記録し、これを再生するときにデスクランブルを行うことで、コンテンツのコピープロテクションを保ちつつ記録・再生できる。   As described above, the digital broadcast recording / reproducing apparatus 1a records / reproduces the partial TS that is a part or all of the bit stream (TS). In other words, the partial TS is recorded while being scrambled and descrambled when the partial TS is reproduced, so that recording / reproduction can be performed while maintaining copy protection of the content.

更に、本発明の第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 extraction unit 111, the detected TS packet (or only the video data portion) is temporarily stored in the management table creation unit 113. Output to. At this time, the demultiplexer 11a counts the number of read TS packets by the extraction unit 111 or a functional block not shown. The count value can be referred to in order for the management table creation unit 113 to calculate position information in which packets including video information are multiplexed in the partial TS. Whether or not playback is the first time (first time) is preset in the demultiplexer 11a from the playback control unit 172 by the data bus 60 or a path not shown.

管理テーブル作成部113は、抽出部111より入力する映像データからピクチャの先頭を検出する。もしも検出できた場合に、そのピクチャタイプ(固有情報に相当する)とその映像データを含むTSパケットがパーシャルTSの先頭TSパケットから数えた番号(パケット番号。位置情報に相当する)とを関連付ける管理テーブルを作成する。ピクチャについては後述する。   The management table creation unit 113 detects the beginning of a picture from the video data input from the extraction unit 111. If it can be detected, the management associates the picture type (corresponding to unique information) and the number (packet number, corresponding to position information) that the TS packet containing the video data counts from the first TS packet of the partial TS. Create a table. The picture will be described later.

管理テーブルの具体例を図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 extraction unit 111 or the reproduction control unit 172.

ピクチャタイプ: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 recording buffer area 133 of the memory 13 via the data bus 60. The storage may be performed after the demultiplexer 11a completes the association of at least one picture.

制御部17aの記録制御部171は、第2記録用バッファ領域133に格納されている管理テーブルを、データバス60を介して蓄積部18の管理テーブル格納領域182に定期的に書き込むことを、蓄積部18に指示する。つまり、記録制御部171の制御により管理テーブルが蓄積部18に記録される。   The recording control unit 171 of the control unit 17a accumulates that the management table stored in the second recording buffer area 133 is periodically written to the management table storage area 182 of the accumulation unit 18 via the data bus 60. The unit 18 is instructed. That is, the management table is recorded in the storage unit 18 under the control of the recording control unit 171.

2回目の再生のときには、制御部17aが管理テーブル格納領域182に蓄積されている管理テーブルの一部又は全部を、第2再生用バッファ領域134にデータバス60を介して読出すための蓄積部18を制御する。制御に従い、管理テーブルが第2再生用バッファ領域134に格納される。   During the second playback, the storage unit for the control unit 17a to read a part or all of the management table stored in the management table storage area 182 to the second playback buffer area 134 via the data bus 60. 18 is controlled. In accordance with the control, the management table is stored in the second reproduction buffer area 134.

再生制御部172は、第2再生用バッファ領域134にある管理テーブルの示す各ピクチャとそのピクチャを含むパケットまでのパケット数(番号)から、任意のピクチャを含むパケットを、ビットストリーム格納領域181に蓄積されているパーシャルTSから第1再生用バッファ領域132に読出すための制御を蓄積部18に対して行う。   The playback control unit 172 transfers a packet including an arbitrary picture to the bit stream storage area 181 from each picture indicated by the management table in the second playback buffer area 134 and the number of packets (number) up to the packet including the picture. The storage unit 18 is controlled to read from the stored partial TS to the first reproduction buffer area 132.

例えば、図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 apparatus 1a shown in FIG. 1 will be described with reference to a flowchart shown in FIG. Note that the flowchart of FIG. 4 shows an operation flow of the demultiplexer 11a during the recording process.

(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 demultiplexer 11a. If the recording end command is instructed, the recording process is ended, and if there is no end command, the process proceeds to step S100.

(B)ステップS100において、抽出部111は、ビットストリームを構成する各TSパケットのヘッダ部に含まれるPIDを検出し、記録制御部171からの指示に応じて記録されるTSパケット(以下、記録対象パケット)を抽出する。記録対象のTSパケットを抽出すると、ステップS101に進む。   (B) In step S100, the extraction unit 111 detects the PID included in the header portion of each TS packet constituting the bit stream, and is recorded in accordance with an instruction from the recording control unit 171 (hereinafter referred to as a recording packet). (Target packet) is extracted. When the TS packet to be recorded is extracted, the process proceeds to step S101.

(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 demultiplexer 11a so as to temporarily store the TS packet to be recorded in the first recording buffer area 131 via the data bus 60. . Furthermore, the recording control unit 171 stores data of a predetermined size in the first recording buffer area 131 in the bit stream storage area 181 in the storage unit 18 via the data bus 60. Thus, the memory 13 and the storage unit 18 are controlled. At this point, no management table is created.

(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 descrambling unit 112 descrambles the TS packet to be reproduced.

(H)ステップS105において、抽出部111はデスクランブルされたTSパケットのペイロードの内容を判定する。デスクランブルされたTSパケットのペイロードの内容が映像データである場合、映像ペイロードデータを映像デコーダ14に転送する。デスクランブルされたTSパケットのペイロードの内容が音声データである場合、音声ペイロードデータを音声デコーダ15へ転送する。次にステップS99へ戻る。   (H) In step S105, the extraction unit 111 determines the content of the payload of the descrambled TS packet. When the content of the payload of the descrambled TS packet is video data, the video payload data is transferred to the video decoder 14. When the content of the payload of the descrambled TS packet is audio data, the audio payload data is transferred to the audio decoder 15. Next, the process returns to step S99.

次に、図5に示すフローチャートを参照して、図1に示すデジタル放送記録再生装置1aにおける1回目の再生処理手順例を説明する。図5のフローチャートは1回目の再生処理におけるデマルチプレクサ11aの動作フローを示している。   Next, an example of the first reproduction processing procedure in the digital broadcast recording / reproducing apparatus 1a shown in FIG. 1 will be described with reference to the flowchart shown in FIG. The flowchart of FIG. 5 shows an operation flow of the demultiplexer 11a in the first reproduction process.

(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 reproduction buffer area 132 in step S200, the TS packet recorded in the bit stream storage area 181 is stored in the first reproduction buffer area 132 via the data bus 60.

(C)ステップS201において、抽出部111は第1再生用バッファ領域132に格納されたTSパケットを、データバス60を介して読出す。また管理テーブル作成部113は、読出されたTSパケット数をカウントする。   (C) In step S <b> 201, the extraction unit 111 reads out the TS packet stored in the first reproduction buffer area 132 via the data bus 60. In addition, the management table creation unit 113 counts the number of read TS packets.

(D)ステップS202において、抽出部111は、読出されたTSパケットが再生対象のTSパケットであるか否か判定する。読出されたTSパケットが再生対象のTSパケットであると判定した場合、ステップS203に進む。   (D) In step S202, the extraction unit 111 determines whether or not the read TS packet is a TS packet to be reproduced. If it is determined that the read TS packet is a TS packet to be reproduced, the process proceeds to step S203.

(E)ステップS203において、抽出部111は、再生対象のTSパケットがスクランブルされているか否か判定する。再生対象のTSパケットがスクランブルされていると判定した場合、ステップS204に進む。再生対象のTSパケットがスクランブルされていないと判定した場合、ステップS205に進む。   (E) In step S203, the extraction unit 111 determines whether the TS packet to be played is scrambled. If it is determined that the TS packet to be reproduced is scrambled, the process proceeds to step S204. If it is determined that the TS packet to be played back is not scrambled, the process proceeds to step S205.

(F)ステップS204において、デスクランブル部112は、再生対象のTSパケットをデスクランブルする。再生対象のTSパケットがデスクランブルされるとステップS205に進む。   (F) In step S204, the descrambling unit 112 descrambles the TS packet to be reproduced. When the TS packet to be reproduced is descrambled, the process proceeds to step S205.

(G)ステップS205において、抽出部111は、デスクランブルされたTSパケットのペイロードの内容が映像又は音声データであるか判定する。デスクランブルされたTSパケットのペイロードの内容が映像データである場合、ステップS206に進む。デスクランブルされたTSパケットのペイロードの内容が音声データである場合、ステップS207に進む。   (G) In step S205, the extraction unit 111 determines whether the content of the payload of the descrambled TS packet is video or audio data. When the content of the payload of the descrambled TS packet is video data, the process proceeds to step S206. When the content of the payload of the descrambled TS packet is audio data, the process proceeds to step S207.

(H)ステップS206において、管理テーブル作成部113は、例えば、TSパケットにピクチャ先頭が含まれているか否か判定する。TSパケットにピクチャ先頭が含まれていると判定した場合、ステップS208に進む。TSパケットにピクチャ先頭が含まれていないと判定した場合、ステップS209に進む。   (H) In step S206, the management table creating unit 113 determines, for example, whether the TS packet includes the picture head. If it is determined that the TS packet contains the picture head, the process proceeds to step S208. If it is determined that the TS packet does not include the picture head, the process proceeds to step S209.

(I)ステップS208において、管理テーブル作成部113は、読出されたTSパケット数及びピクチャタイプから、図3に示した管理テーブルを作成し、第2記録用バッファ領域133にデータバス60を介して書き込む。   (I) In step S208, the management table creation unit 113 creates the management table shown in FIG. 3 from the number of read TS packets and the picture type, and stores it in the second recording buffer area 133 via the data bus 60. Write.

(J)ステップS209において、抽出部111はTSパケットの映像ペイロードデータを映像デコーダ14に転送する。   (J) In step S209, the extraction unit 111 transfers the video payload data of the TS packet to the video decoder 14.

(K)一方、ステップS207において抽出部111は、TSパケット中の音声ペイロードデータを音声デコーダ15へ転送する。   (K) On the other hand, in step S207, the extraction unit 111 transfers the audio payload data in the TS packet to the audio decoder 15.

次に、図6に示すフローチャートを参照して、図1に示すデジタル放送記録再生装置1aにおける高速再生処理の手順例を説明する。尚、高速再生とは早送り及び早戻し等を意味する。図6のフローチャートは高速再生時の再生制御部172の動作フローを示している。高速再生時のデマルチプレクサ11aの動作は図5と同様である。   Next, a procedure example of high-speed playback processing in the digital broadcast recording / playback apparatus 1a shown in FIG. 1 will be described with reference to a flowchart shown in FIG. Note that high-speed playback means fast forward and fast reverse. The flowchart of FIG. 6 shows an operation flow of the playback control unit 172 during high-speed playback. The operation of the demultiplexer 11a during high-speed playback is the same as that in FIG.

(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 playback buffer area 134 is empty, the playback control unit 172 reads the management table data from the storage unit 18 to the second playback buffer area 134. Further, referring to the read management table data, the head TS packet position of the I picture or the I and P pictures is detected.

(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 storage unit 18 via the data bus 60 to the first playback buffer. Control is performed so that the area 132 is stored. Here, the size may be the data size up to the TS packet including the head of the next picture. Next, the process returns to step S299.

このように、本発明の第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 apparatus 1a capable of performing processing. Therefore, the content copy protection function can be realized and fast-forwarding cannot be performed at the time of the first reproduction, so that the user can view the commercial (CM) without skipping. Further, since it is not necessary to perform encryption inside the receiver during recording, the control during recording can be simplified.

(第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 extraction unit 111, the descrambling unit 112, the management table creation unit 113, and the storage unit 18. Control one. That is, the playback control unit 172 selectively reads TS packets from the storage unit 18 with reference to the management table up to the time when the partial TS is played back at the first playback of the partial TS.

先ず、図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 data bus 60 from the bit stream storage area 181 in the storage unit 18 to the first reproduction buffer area 132 when the first reproduction buffer area 132 is free. Through which the I picture (and P picture) is read out. Next, the process returns to step S399.

次に、図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 playback buffer area 132, the playback control section 172 starts from the bitstream storage area 181 to the first playback buffer area 132. I picture (and P picture) are read out. Next, the process returns to step S499.

このように、本発明の第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 apparatus 1b according to a second modification of the first embodiment of the present invention. In the second modification of the first embodiment, the partial TS accumulated in the bit stream storage area 181 in the accumulation unit 18 by the reproduction control unit 172 is transferred to the first reproduction buffer area 132 in the memory 13 via the data bus 60. To control reading. Further, the playback control unit 172 controls the partial TS to be read from the first playback buffer area 132 to the playback control unit 20 via the data bus 60 and is subjected to rate control so as to be input to the input selection unit 19. The input selection unit 19 selects any partial TS input from the receiving device 3 and the reproduction control unit 20 and inputs the selected partial TS to the demultiplexer 11a.

第1実施形態の第2変形例に係るデジタル放送記録再生装置1aによれば、デマルチプレクサ11aに対するパーシャルTSの入力を1箇所に統一することにより、デマルチプレクサ11aの処理を簡略化することができる。更に、再生制御部20を個別に設けることにより、蓄積部18から読出されたパーシャルTSを他の機器に転送することが可能となる。   According to the digital broadcast recording / reproducing apparatus 1a according to the second modification of the first embodiment, the processing of the demultiplexer 11a can be simplified by unifying the partial TS input to the demultiplexer 11a in one place. . Furthermore, by providing the playback control unit 20 individually, the partial TS read from the storage unit 18 can be transferred to another device.

(第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 demultiplexer 11b further includes an encryption unit 114 and a decryption unit 115, as shown in FIG. The encryption unit 114 encrypts the descrambled partial TS. The decryption unit 115 decrypts the partial TS encrypted by the encryption unit 114. The control unit 17a performs encryption when the stored partial TS is reproduced for the first time, and performs decryption when the reproduction is performed for the second time or later. Therefore, the extraction unit 111, the descrambling unit 112, the management table creation unit 113, And at least one of the storage units 18 is controlled. Other configurations are the same as those of the digital broadcast recording / reproducing apparatus 1a shown in FIG.

よって、蓄積部18から読出したTSパケットをデスクランブル用の制御データ(鍵データ)を参照することなく復号化可能なデジタル放送記録再生装置1cを構成している。また、デジタル放送記録再生装置1c毎に暗号化鍵を備え、暗号化部114がTSパケットに対して暗号化を施すことによって、蓄積部18を他の機器に移し変えても再生できないようにするといったコンテンツ保護規定を遵守できる。   Therefore, the digital broadcast recording / reproducing apparatus 1c that can decrypt the TS packet read from the storage unit 18 without referring to the control data (key data) for descrambling is configured. Further, each digital broadcast recording / reproducing apparatus 1c is provided with an encryption key, and the encryption unit 114 encrypts the TS packet so that it cannot be reproduced even if the storage unit 18 is transferred to another device. Can comply with the content protection regulations.

次に、図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 apparatus 1a shown in FIG. 1 is abbreviate | omitted.

(A)ステップS203において、抽出部111は、再生対象のTSパケットがスクランブルされているか否か判定する。再生対象のTSパケットがスクランブルされていると判定した場合、ステップS204に進む。再生対象のTSパケットがスクランブルされていないと判定した場合、ステップS600に進む。   (A) In step S203, the extraction unit 111 determines whether the TS packet to be played is scrambled. If it is determined that the TS packet to be reproduced is scrambled, the process proceeds to step S204. If it is determined that the TS packet to be played back is not scrambled, the process proceeds to step S600.

(B)ステップS600において、暗号化部114はTSパケット内のペイロードの全部又は一部を暗号化し、第1記録用バッファ領域131にデータバス60を介して一時的に格納するように制御する。   (B) In step S600, the encryption unit 114 controls to encrypt all or part of the payload in the TS packet and temporarily store it in the first recording buffer area 131 via the data bus 60.

(C)ステップS205において、抽出部111は、暗号化前のTSパケットのペイロードの内容が映像データであるか否か判定する。暗号化前のTSパケットのペイロードの内容が映像データであると判定した場合、ステップS206に進む。暗号化前のTSパケットのペイロードの内容が映像データでないと判定した場合、ステップS207に進む。   (C) In step S205, the extraction unit 111 determines whether the content of the payload of the TS packet before encryption is video data. If it is determined that the content of the payload of the TS packet before encryption is video data, the process proceeds to step S206. If it is determined that the content of the payload of the TS packet before encryption is not video data, the process proceeds to step S207.

このように、本発明の第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 video decoder 14 is not limited to MPEG2, but MPEG4 or H.264. A video decoder conforming to a compression encoding method such as H.264 can be used. The same applies to the audio decoder 15.

また、蓄積部18としてハードディスクが利用できると説明したが、光ディスク等の光記憶媒体又は不揮発性半導体メモリ等のランダムアクセス可能な大容量の記憶媒体であれば良い。   In addition, although it has been described that a hard disk can be used as the storage unit 18, an optical storage medium such as an optical disk or a large-capacity storage medium such as a nonvolatile semiconductor memory may be used.

更に、映像データを含む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.

本発明の第1実施形態に係るデジタル放送受信システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the digital broadcast receiving system which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係る蓄積装置に記録される各パケットの一例を示す模式図である。It is a schematic diagram which shows an example of each packet recorded on the storage device which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係る管理テーブル作成部が作成する管理テーブルの一例を示す模式図である。It is a schematic diagram which shows an example of the management table which the management table preparation part which concerns on 1st Embodiment of this invention produces. 本発明の第1実施形態に係るデジタル放送記録再生装置における記録処理の手順例を示すフローチャートである。It is a flowchart which shows the example of a procedure of the recording process in the digital broadcast recording / reproducing apparatus which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係るデジタル放送記録再生装置における1回目の再生処理の手順例を示すフローチャートである。It is a flowchart which shows the example of a procedure of the 1st reproduction | regeneration processing in the digital broadcast recording / reproducing apparatus which concerns on 1st Embodiment of this invention. 本発明の第1実施形態に係るデジタル放送記録再生装置における高速再生処理の手順例を示すフローチャートである。It is a flowchart which shows the example of a procedure of the high-speed reproduction | regeneration processing in the digital broadcast recording / reproducing apparatus concerning 1st Embodiment of this invention. 本発明の第1実施形態の第1変形例に係るデジタル放送記録再生装置における1回目の再生処理中における早戻し処理の手順例を示すフローチャートである。It is a flowchart which shows the example of a procedure of the rewinding process in the 1st reproduction | regeneration processing in the digital broadcast recording / reproducing apparatus which concerns on the 1st modification of 1st Embodiment of this invention. 本発明の第1実施形態の第1変形例に係るデジタル放送記録再生装置における1回目の再生処理中における早戻し処理後の早送り処理の手順例を示すフローチャートである。It is a flowchart which shows the example of a procedure of the fast-forward process after the fast reverse process in the 1st reproduction | regeneration process in the digital broadcast recording / reproducing apparatus which concerns on the 1st modification of 1st Embodiment of this invention. 本発明の第1実施形態の第2変形例に係るデジタル放送受信システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the digital broadcast receiving system which concerns on the 2nd modification of 1st Embodiment of this invention. 本発明の第2実施形態に係るデジタル放送受信システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the digital broadcast receiving system which concerns on 2nd Embodiment of this invention. 本発明の第2実施形態に係るデジタル放送記録再生装置における1回目の再生処理の手順例を示すフローチャートである。It is a flowchart which shows the example of a procedure of the 1st reproduction | regeneration processing in the digital broadcast recording / reproducing apparatus which concerns on 2nd Embodiment of this invention.

符号の説明Explanation of symbols

1a〜1c…デジタル放送記録再生装置
18…蓄積装置
111…抽出部
112…デスクランブル部
113…管理テーブル作成部
17a,17b…記録制御部
DESCRIPTION OF SYMBOLS 1a-1c ... Digital broadcast recording / reproducing apparatus 18 ... Storage apparatus 111 ... Extraction part 112 ... Descramble part 113 ... Management table preparation part 17a, 17b ... Recording control part

Claims (5)

少なくとも1つの情報を含むパケットが複数集まり構成されるビットストリームから所望の番組に属する各パケットを抽出する抽出部と、
前記所望の番組に属する各パケットをデスクランブルするデスクランブル部と、
前記所望の番組に属する各パケットのうち特定の情報を含むパケットから固有情報を検出し、前記特定の情報を含むパケットの位置情報を算出して、前記固有情報と前記位置情報との相関を示す管理テーブルを作成する管理テーブル作成部と、
前記所望の番組に属する各パケット及び前記管理テーブルを蓄積する蓄積部と、
前記蓄積された前記所望の番組に属する各パケットの再生時に、前記管理テーブルを作成するため、前記抽出部、前記デスクランブル部、前記管理テーブル作成部、及び前記蓄積部の少なくとも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回目の再生時に、前記管理テーブルを作成するため、前記抽出部、前記デスクランブル部、前記管理テーブル作成部、及び前記蓄積部の少なくとも1つを制御することを特徴とする請求項1に記載のデジタル放送記録再生装置。   The control unit creates the management table at the first playback of each packet belonging to the stored desired program, so that the extraction unit, the descrambling unit, the management table creation unit, and the storage The digital broadcast recording / reproducing apparatus according to claim 1, wherein at least one of the units is controlled. 前記制御部は、前記蓄積された前記所望の番組に属する各パケットの再生が2回目以降の場合に、前記管理テーブルを参照して、前記特定の情報を含むパケットを選択的に再生するため、前記抽出部及び前記蓄積部の少なくとも1つを制御することを特徴とする請求項2に記載のデジタル放送記録再生装置。   The control unit refers to the management table and selectively reproduces the packet including the specific information when each packet belonging to the stored desired program is reproduced for the second time or later. The digital broadcast recording / reproducing apparatus according to claim 2, wherein at least one of the extraction unit and the storage unit is controlled. 前記制御部は、前記蓄積された前記所望の番組に属する各パケットの再生が1回目の場合に、前記蓄積された前記所望の番組に属する各パケットを再生した時点までの前記管理テーブルを参照し、少なくとも1回再生された前記特定の情報を含むパケットを選択的に再生するため、前記抽出部、前記デスクランブル部、前記管理テーブル作成部、及び前記蓄積部の少なくとも1つを制御することを特徴とする請求項2に記載のデジタル放送記録再生装置。   The control unit refers to the management table up to a point of time when each packet belonging to the stored desired program is played back when each packet belonging to the stored desired program is reproduced for the first time. Controlling at least one of the extraction unit, the descrambling unit, the management table creation unit, and the storage unit in order to selectively reproduce the packet including the specific information reproduced at least once. The digital broadcast recording / reproducing apparatus according to claim 2, wherein: 前記デスクランブル部によってデスクランブルされた前記所望の番組に属する各パケットを暗号化する暗号部と、
前記暗号化部によって暗号化された前記前記所望の番組に属する各パケットを復号化する復号化部
とを更に備え、前記制御部は、前記蓄積された前記所望の番組に属する各パケットの再生が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.
JP2006077359A 2006-03-20 2006-03-20 Digital broadcasting recording and reproducing device Pending JP2007258820A (en)

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)

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