JP2006190478A - Device and method for reproduction, and device and method for recording information - Google Patents

Device and method for reproduction, and device and method for recording information Download PDF

Info

Publication number
JP2006190478A
JP2006190478A JP2006101490A JP2006101490A JP2006190478A JP 2006190478 A JP2006190478 A JP 2006190478A JP 2006101490 A JP2006101490 A JP 2006101490A JP 2006101490 A JP2006101490 A JP 2006101490A JP 2006190478 A JP2006190478 A JP 2006190478A
Authority
JP
Japan
Prior art keywords
input
stream
source
recording
recorded
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.)
Granted
Application number
JP2006101490A
Other languages
Japanese (ja)
Other versions
JP4207052B2 (en
Inventor
Motoki Kato
元樹 加藤
Masanobu Nakamura
政信 中村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2006101490A priority Critical patent/JP4207052B2/en
Publication of JP2006190478A publication Critical patent/JP2006190478A/en
Application granted granted Critical
Publication of JP4207052B2 publication Critical patent/JP4207052B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To properly manage information of an input source or the like in a stream recorded in a recording medium. <P>SOLUTION: In a reproduction process for reproducing an AV stream from the recording medium, Source_security_info which is copy limit information recorded on the recording medium is read (step 200); an AV stream is read out (step 201); for example, when an analog video is outputted (Step 203), it is determined from the information contained in Source_security_info whether or not the input source conforms to DTCP (step 216); when the information conforms to DTCP, the video output is processed by reproduction limiting according to the DTCP rule (step 217); and the video is outputted (step 220). <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、再生装置、情報記録装置等に係り、特に、ストリームに関連する情報を適切に管理する再生装置、情報記録装置等に関する。   The present invention relates to a playback device, an information recording device, and the like, and more particularly to a playback device, an information recording device, and the like that appropriately manage information related to a stream.

近年、記録媒体の中で、記録再生装置から取り外し可能なディスク型の情報記録媒体として、DVR等の各種の光ディスクが提案されている。このような記録媒体である光ディスクは、数ギガバイトの大容量メディアとしての提案がなされており、ビデオ信号等のAV(Audio Visual)信号を記録するメディアとしての期待が高まっている。   In recent years, various types of optical discs such as DVR have been proposed as disc-type information recording media removable from a recording / reproducing apparatus. An optical disk, which is such a recording medium, has been proposed as a large-capacity medium of several gigabytes, and the expectation as a medium for recording AV (Audio Visual) signals such as video signals is increasing.

ここで、AV信号をディジタル圧縮する符号化方式の一つに、MPEG2(Moving Picture Experts Group2)方式が存在する。このMPEG2は、動き補償予測、DCT(離散コサイン変換)、量子化、可変長符号化といった圧縮技法を用いて高画質化を目指した国際標準の動画圧縮フォーマットであり、AV信号を記録媒体に記録する場合にも応用されている。例えば、アナログビデオ信号を記録媒体に記録する場合、ビデオ信号をMPEG2方式にエンコードして、符号化ビットストリームをメディアに記録している。また、近年始まったディジタル方式のTV放送では、MPEG2方式で符号化されたAVストリームがトランスポートストリーム(TS) と呼ばれるフォーマットで伝送されている。ディジタル放送を記録媒体に記録する場合には、トランスポートストリームをディジタル信号のまま、デコードや再エンコードすることなく記録する方式が用いられている。   Here, there is an MPEG2 (Moving Picture Experts Group 2) system as one of encoding systems for digitally compressing AV signals. MPEG2 is an international standard video compression format aiming at high image quality using compression techniques such as motion compensation prediction, DCT (discrete cosine transform), quantization, and variable length coding, and records AV signals on a recording medium. It has also been applied to. For example, when an analog video signal is recorded on a recording medium, the video signal is encoded in the MPEG2 system, and an encoded bit stream is recorded on the medium. Also, in digital TV broadcasting that has recently started, an AV stream encoded by the MPEG2 system is transmitted in a format called a transport stream (TS). When recording a digital broadcast on a recording medium, a method of recording a transport stream as a digital signal without decoding or re-encoding is used.

AV信号がディジタル信号フォーマットで記録媒体に記録されている場合には、全く劣化なしでそのAV信号を別の記録メディア(記録媒体)にコピーすることが可能である。しかしながら、これはAV信号の著作権者にとっては大問題である。そこで、AV信号のコピーを制限するために、AV信号に、「Copy Free(コピー可)」、「Copy Once(一世代のみコピー可)」、「No More Copy(この世代以上のコピー不可)」、「Copy Prohibited(コピー禁止)」というコピー制限情報(CCI:Copy Control Information)を持たせる方法が用いられている。   When the AV signal is recorded on the recording medium in the digital signal format, the AV signal can be copied to another recording medium (recording medium) without any deterioration. However, this is a big problem for copyright holders of AV signals. Therefore, in order to restrict copying of AV signals, “Copy Free”, “Copy Once” can be copied to AV signals, and “No More Copy”. , A method of giving copy restriction information (CCI: Copy Control Information) called “Copy Prohibited” is used.

例えば、ビデオ信号のCGMS(Copy Generation Management System)信号がある。CGMSはコピー可能な回数をソフト側でコントロールするシステムであり、アナログインターフェース用のものをCGMS−A、ディジタルインターフェース用のものをCGMS−Dと呼ぶ。アナログ用のCGMS−Aは、VBI(Vertical Blanking Interval:垂直ブランキング期間)にIDを重畳するところからVBIDとも呼ばれている。これは、EIAJ CP−1204として規格化されている。記録媒体に記録されているコピーフリーでないAV信号を再生装置がアナログビデオ出力するときは、CGMSがビデオ信号に挿入されていることが要求される。   For example, there is a CGMS (Copy Generation Management System) signal of a video signal. CGMS is a system that controls the number of times that copying can be performed on the software side. An analog interface device is called CGMS-A, and a digital interface device is called CGMS-D. Analog CGMS-A is also called VBID because it superimposes ID on VBI (Vertical Blanking Interval). This is standardized as EIAJ CP-1204. When a playback device outputs an analog video output of a non-copy-free AV signal recorded on a recording medium, it is required that CGMS be inserted into the video signal.

また、ディジタルTV放送などのトランスポートストリームを記録するときのコピー制限情報として、コピー制限情報を持つディスクリプタを符号化する方法がある。このタイプのディスクリプタとしては、DTLA(Digital Transmission Licensing Administrator)により規定されているDTCP(Digital Transmission Content Protection)descriptorや、ARIB(Association of Radio Industries and Businesses:電波産業会)により規定されている日本のBSディジタル放送で用いられているdigital_copy_control_descriptorがある。記録媒体に記録されているコピーフリーでないトランスポートストリームを、再生装置がトランスポートストリームのままで出力する時は、このタイプのディスクリプタがトランスポートストリームに符号化されていることが要求される。   There is also a method of encoding a descriptor having copy restriction information as copy restriction information when recording a transport stream such as a digital TV broadcast. This type of descriptor includes DTCP (Digital Transmission Content Protection) descriptors specified by DTLA (Digital Transmission Licensing Administrator) and Japanese BS specified by ARIB (Association of Radio Industries and Businesses). There is a digital_copy_control_descriptor used in digital broadcasting. When a playback device outputs a non-copy-free transport stream recorded on a recording medium as a transport stream, this type of descriptor is required to be encoded in the transport stream.

ディジタルTV放送などのトランスポートストリームを記録する場合、記録装置内蔵のディジタルTVチューナを入力ソースとする方法と、外部のセットトップボックス(STBと呼ぶ)を入力ソースとする方法の2通りの方法がある。後者の場合には、STBと記録装置とをIEEE 1394のディジタルバスで接続する。この場合、ディジタルバス上でトランスポートストリームのコピー制御情報はセキュアに守られている必要がある。これは、ディジタルバス上でコピー制御情報がハッキングされて、値が書き換えられることを防止するためである。   When recording a transport stream such as a digital TV broadcast, there are two methods: a method using a digital TV tuner built in a recording device as an input source, and a method using an external set-top box (referred to as STB) as an input source. is there. In the latter case, the STB and the recording device are connected by an IEEE 1394 digital bus. In this case, the copy control information of the transport stream must be securely protected on the digital bus. This is to prevent the copy control information from being hacked on the digital bus and rewriting the value.

そのために、前述したDTLAでは、トランスポートストリームをIEEE 1394のディジタルバスを用いて伝送する方式が規定されている。その方式は、所謂5C方式(DTCP準拠方式)として広く知られている。DTCP方式では、IEEE 1394のイソクロナス転送で使用するイソクロナスパケットのヘッダの中でEncryption Mode Indicator(EMIと呼ぶ)という2ビットの情報を伝送し、これがイソクロナスパケットのペイロードの暗号化モードを表している。   For this reason, the above-described DTLA defines a method for transmitting a transport stream using an IEEE 1394 digital bus. This method is widely known as a so-called 5C method (DTCP compliant method). In the DTCP method, 2-bit information called Encryption Mode Indicator (referred to as EMI) is transmitted in the header of an isochronous packet used for IEEE 1394 isochronous transfer, and this is used to determine the encryption mode of the payload of the isochronous packet. Represents.

このEMIは、ペイロードのコピー制御情報に対応して、「00(=Copy Free)」,「10(=Copy Once)」,「01(=No More Copy)」,「11(=Copy Prohibited)」の意味を持つ。DTCP方式で記録する場合、トランスポートストリームの中に符号化されているコピー制御情報(Embedded CCIと呼ぶ)を解析しないで、EMIだけをコピー制限情報として使い、記録制限する方法が許されている。この記録方法は、Non-cognizant(ノン・コグニザント)記録モードと呼ばれる。一方、Embedded CCIを解析しながら記録する方法は、Cognizant(コグニザント)記録モードと呼ばれる。ここで、DTCP方式で記録媒体に記録したAV信号は、DTCP方式に従った方式で再生することが要求されている。   This EMI corresponds to the copy control information of the payload, “00 (= Copy Free)”, “10 (= Copy Once)”, “01 (= No More Copy)”, “11 (= Copy Prohibited)”. With the meaning. When recording by the DTCP method, a method for recording limitation is permitted by using only EMI as copy restriction information without analyzing copy control information (called Embedded CCI) encoded in the transport stream. . This recording method is called a non-cognizant recording mode. On the other hand, a method of recording while analyzing Embedded CCI is called a Cognizant recording mode. Here, the AV signal recorded on the recording medium by the DTCP method is required to be reproduced by a method according to the DTCP method.

また、ベースバンドのAV信号やMPEGのビットストリームにウォーターマーク(Water Mark)と呼ばれるコピー制限情報を埋め込む方式も検討されている。ウォーターマークは、現在、標準化活動が推進されており、ミレニアム方式とギャラクシー方式が提案されている。ウォーターマークが正式に市場導入された後は、記録媒体に記録したAV信号やMPEGのビットストリームを、再生装置で再生するとき、ウォーターマークがAV信号やMPEGのビットストリームに埋め込まれていることが要求される。   Also, a method of embedding copy restriction information called a watermark in a baseband AV signal or MPEG bit stream has been studied. The standardization activities are currently being promoted for the watermark, and the Millennium method and Galaxy method have been proposed. After the watermark is officially introduced to the market, when the AV signal or MPEG bit stream recorded on the recording medium is played back by a playback device, the watermark may be embedded in the AV signal or MPEG bit stream. Required.

ここで、MPEGのビットストリームを記録媒体に記録する記録装置を考えるに、今後は記録する入力ソースが多様になることが予想される。例えば入力ソースとしては、
(i)アナログビデオのライン入力を記録装置がセルフエンコードしたMPEGストリーム、
(ii)記録装置に内蔵するアナログTV放送のチューナ入力からのビデオを記録装置がセルフエンコードしたMPEGストリーム、
(iii)記録装置に内蔵するディジタルTV放送のチューナ入力からのトランスポートストリーム、
(iv)IEEE1394経由でDTCP準拠の方法を用いて入力されるトランスポートストリーム、
(v)IEEE1394経由でDTCP準拠の方法を用いないで入力されるトランスポートストリーム、
などである。
Here, considering a recording apparatus that records an MPEG bit stream on a recording medium, it is expected that the input sources to be recorded will be diversified in the future. For example, as an input source:
(i) MPEG stream in which the recording device self-encodes the analog video line input,
(ii) an MPEG stream in which the recording device self-encodes video from an analog TV broadcast tuner input built in the recording device;
(iii) a transport stream from a tuner input of a digital TV broadcast built in the recording device,
(iv) a transport stream input using a method conforming to DTCP via IEEE1394;
(v) a transport stream that is input via IEEE1394 without using a DTCP-compliant method;
Etc.

上述したように、ディジタルTV放送などのトランスポートストリームを記録する場合、記録装置内蔵のディジタルTVチューナからのトランスポートストリームを入力ソースとするか、または、外部のセットトップボックス(STB)からIEEE1394経由で入力されるトランスポートストリームを入力ソースとするか、の2通りの方法がある。前者の方法は、DTCP方式を使用しなくても良い、一方、後者の方法は、少なくとも日本のBSディジタル放送の場合、DTCP準拠の方法を用いて、記録しなければならない。従って、前者の方法で記録したストリームを再生する時は、DTCP方式に準拠した再生制限を行う必要がない、一方、後者の方法で記録したストリームを再生する時は、DTCP方式に準拠した再生制限を行わなければならない。   As described above, when recording a transport stream such as a digital TV broadcast, the transport stream from the digital TV tuner built in the recording device is used as an input source, or from an external set top box (STB) via IEEE1394 There are two ways to use the transport stream input in step 1 as the input source. The former method may not use the DTCP method, while the latter method must be recorded by using a DTCP-compliant method at least in the case of BS digital broadcasting in Japan. Therefore, when reproducing the stream recorded by the former method, it is not necessary to perform the reproduction restriction conforming to the DTCP method. On the other hand, when reproducing the stream recorded by the latter method, the reproduction restriction conforming to the DTCP method is not required. Must be done.

しかしながら、従来、「記録媒体に記録されているトランスポートストリームの入力ソースは何か」を記録していなかった。そのために、そのトランスポートストリームを再生する時に適切な再生制限を行うことができなかった。   However, conventionally, “what is the input source of the transport stream recorded on the recording medium” has not been recorded. For this reason, it is not possible to perform appropriate playback restrictions when playing back the transport stream.

また、現在、ウォーターマークは、まず、DVDビデオに導入されることが検討されている。ここでは、DVDビデオプレーヤからのアナログビデオ出力が不正に録画されることを防止することを目的としている。一方、録画が基本的には自由なアナログTV放送にはウォーターマークが導入されない可能性がある。かかる状況になった場合、アナログビデオのライン入力がセルフエンコードされて記録されたMPEGストリームは、入力ソースがDVDビデオ出力の可能性があるので、そのMPEGストリームの再生時に、ウォーターマークをチェックして再生制限を行うことが要求されるが、一方、アナログTV放送がセルフエンコードされて記録されたMPEGストリームは、そのMPEGストリームの再生時に、ウォーターマークをチェックする必要がないだろう、と予想される。   At present, it is considered that the watermark is first introduced into the DVD video. Here, an object is to prevent the analog video output from the DVD video player from being illegally recorded. On the other hand, there is a possibility that a watermark is not introduced into an analog TV broadcast that is basically free to record. In such a situation, the MPEG video recorded with the analog video line input being self-encoded may have a DVD video output as the input source. Therefore, when playing back the MPEG stream, check the watermark. While it is required to restrict playback, it is expected that MPEG streams recorded with analog TV broadcasts being self-encoded will not need to check for watermarks when the MPEG stream is played. .

しかしながら、従来、「記録媒体に記録されているMPEGストリームの入力ソースは何か」を記録していなかった。そのために、そのMPEGストリームを再生するときに適切な再生制限を行うことができなかった。   However, conventionally, “what is the input source of the MPEG stream recorded on the recording medium” has not been recorded. For this reason, it has been impossible to perform appropriate reproduction restrictions when reproducing the MPEG stream.

また、DTCP準拠の方式でトランスポートストリームを記録する場合、Cognizant記録モードとNon-cognizant記録モードがある。Cognizant記録モードで記録されたトランスポートストリームを復号してアナログビデオ再生する時は、トランスポートストリームのEmbedded CCIとウォーターマークをチェックする必要はない。一方、Non-cognizant記録モードで記録されたトランスポートストリームを復号してアナログビデオ再生するときは、トランスポートストリームのEmbedded CCIとウォーターマークをチェックする必要がある。   Further, when a transport stream is recorded by a DTCP compliant method, there are a Cognizant recording mode and a Non-cognizant recording mode. When decoding a transport stream recorded in the Cognizant recording mode and playing back analog video, there is no need to check the embedded CCI and watermark of the transport stream. On the other hand, when the transport stream recorded in the non-cognizant recording mode is decoded and reproduced in analog video, it is necessary to check the embedded CCI and watermark of the transport stream.

しかしながら、従来、「記録媒体に記録されているトランスポートストリームの記録モードがCognizant記録モードとNon-cognizant記録モードのどちらであるか」の情報を記録していなかった。そのために、そのトランスポートストリームを再生する時にEmbedded CCIとウォーターマークのチェックが必要かどうかを判断できなかった。   However, conventionally, information on “whether the recording mode of the transport stream recorded on the recording medium is the Cognizant recording mode or the non-cognizant recording mode” has not been recorded. As a result, it was not possible to determine whether Embedded CCI and watermark checks were required when playing the transport stream.

更に、AVストリームの記録時にウォーターマークのチェックをして記録した場合は、そのAVストリームの再生時にウォーターマークのチェックを行う必要がない。逆に、AVストリームの記録時にウォーターマークのチェックを行わないで記録した場合は、そのAVストリームの再生時にウォーターマークのチェックを行う必要がある。   Further, when the watermark is checked during recording of the AV stream, the watermark need not be checked during playback of the AV stream. On the other hand, when recording is performed without checking the watermark when recording the AV stream, it is necessary to check the watermark when reproducing the AV stream.

しかしながら、従来、「記録媒体に記録されているAVストリームが記録のときにウォーターマークのチェックを行ったかどうか」の情報を記録していなかった。そのために、そのトランスポートストリームを再生するときにウォーターマークのチェックが必要かどうかを判断できなかった。   However, conventionally, the information “whether or not the watermark is checked when the AV stream recorded on the recording medium is recorded” has not been recorded. For this reason, it has not been possible to determine whether or not a watermark check is necessary when playing the transport stream.

本発明は、以上のような技術的課題を解決するためになされたものであり、記録媒体に記録されたストリームにおける入力ソース等の情報を適切に管理することを主たる目的とする。
また他の目的は、そのストリームを再生するときに、適切な再生制限を行うことにある。
The present invention has been made to solve the technical problems as described above, and has as its main object to appropriately manage information such as input sources in a stream recorded on a recording medium.
Another object is to perform appropriate reproduction restrictions when reproducing the stream.

かかる目的のもと、本発明は、記録装置の入力手段により入力されたAVデータと、この入力手段に応じた値(例えば、後述する実施の形態におけるsource_typeなどが該当)と、が記録装置により記録された記録媒体を再生する再生装置であって、AVデータについてディジタル出力を行うか、又はアナログ出力を行うか、を判断する判断手段(例えば、後述する実施の形態におけるステップ203などが該当)と、この判断手段によりアナログ出力を行うと判断した場合に、入力手段に応じた値を取得する取得手段(例えば、後述する実施の形態におけるステップ216などが該当)と、この取得手段により取得した入力手段に応じた値に基づき、アナログ出力における出力制限を行う出力制限手段(例えば、後述する実施の形態におけるステップ217などが該当)とを備えることを特徴としている。   For this purpose, the present invention provides the AV data input by the input means of the recording apparatus and the value corresponding to the input means (for example, source_type in the embodiment described later) by the recording apparatus. A playback device that plays back a recorded recording medium and determines whether to perform digital output or analog output for AV data (for example, step 203 in the embodiment described later) When the determination means determines that analog output is to be performed, an acquisition means for acquiring a value corresponding to the input means (for example, step 216 in the embodiment described later) and the acquisition means Based on a value corresponding to the input means, output restriction means for restricting output in analog output (for example, a scan in the embodiment described later). Like-up 217 is characterized by including a relevant).

また、本発明を方法のカテゴリから捉えると、本発明は、記録装置の入力手段により入力されたAVデータと入力手段に応じた値とが記録装置により記録された記録媒体を再生する再生方法であって、AVデータについてディジタル出力を行うか、又はアナログ出力を行うか、を判断する判断ステップと、この判断ステップによりアナログ出力を行うと判断した場合に、入力手段に応じた値を取得する取得ステップと、この取得ステップにより取得した入力手段に応じた値に基づき、アナログ出力における出力制限を行う出力制限ステップとを備えることを特徴としている。   Further, when the present invention is grasped from the category of the method, the present invention is a reproduction method for reproducing a recording medium in which AV data input by the input means of the recording apparatus and values corresponding to the input means are recorded by the recording apparatus. A determination step for determining whether to perform digital output or analog output for AV data, and acquisition of acquiring a value corresponding to the input means when it is determined that analog output is to be performed by this determination step A step and an output limiting step for limiting output in analog output based on a value corresponding to the input means acquired in the acquiring step.

一方、本発明が適用される情報記録装置は、所定の入力ソースからストリームを入力する入力手段と、このストリームの、アナログ出力の制限のために用いられ、かつ、入力手段に対応した値をストリームと共に記録媒体に記録する記録手段とを備えたことを特徴としている。   On the other hand, an information recording apparatus to which the present invention is applied includes an input unit that inputs a stream from a predetermined input source, and a stream corresponding to the input unit that is used for limiting the analog output of the stream. And a recording means for recording on a recording medium.

更に、本発明が適用される情報記録方法は、所定の入力ソースからストリームを入力する入力ステップと、このストリームの、アナログ出力の制限のために用いられ、かつ、入力手段に対応した値をストリームと共に記録媒体に記録する記録ステップとを備えたことを特徴としている。   Further, an information recording method to which the present invention is applied includes an input step of inputting a stream from a predetermined input source, and a stream corresponding to the input means used for limiting the analog output of the stream. And a recording step of recording on a recording medium.

以上のように、本発明によれば、記録媒体に記録されたストリームにおける入力ソース等の情報を適切に管理することができる。   As described above, according to the present invention, it is possible to appropriately manage information such as an input source in a stream recorded on a recording medium.

以下、添付図面に基づき、本発明が適用される実施の形態について詳細に説明する。
まず、本実施の形態が適用されるシステム構成の説明に入る前に、その理解を容易にするため、本実施の形態にかかるデータフォーマットについて詳述する。
Embodiments to which the present invention is applied will be described below in detail with reference to the accompanying drawings.
First, before the description of the system configuration to which the present embodiment is applied, in order to facilitate understanding thereof, the data format according to the present embodiment will be described in detail.

図1は、本実施の形態の情報記録装置、情報再生装置等で用いられる記録媒体上のアプリケーションフォーマットの構造を示した図である。このフォーマットは、AVストリームの管理のために、ユーザインターフェース(ユーザI/F)に近いプレイリスト(PlayList)レイヤ101と、システムに近いクリップ(Clip)レイヤ102の二つのレイヤを備えている。そして、ボリュームインフォメーション(Volume Information)100は、ディスク内の全てのClipとPlayListの管理を行っている。   FIG. 1 is a diagram showing the structure of an application format on a recording medium used in the information recording apparatus, information reproducing apparatus, etc. of the present embodiment. This format includes two layers for managing AV streams: a play list layer 101 close to the user interface (user I / F) and a clip layer 102 close to the system. Volume information 100 manages all Clips and PlayLists in the disc.

また、ここでは、一つのAVストリームとそれの付属情報のペアを一つのオブジェクトと考え、それをClipと呼んでいる。AVストリームファイルはClip AVストリームファイルと呼ばれ、その付属情報はClip Information fileと呼ばれる。一つのClip AVストリームファイルは、MPEG2トランスポートストリームをDVRアプリケーションフォーマットによって規定される構造に配置したデータをストアしている。   Also, here, a pair of one AV stream and its attached information is considered as one object, and it is called Clip. The AV stream file is called a Clip AV stream file, and its attached information is called a Clip Information file. One Clip AV stream file stores data in which an MPEG2 transport stream is arranged in a structure defined by the DVR application format.

一般に、コンピュータ等で用いるデータファイルは、バイト列として扱われるが、Clip AVストリームファイルのコンテンツは、時間軸上に展開され、PlayListは、Clipの中のアクセスポイントを主にタイムスタンプで指定される。PlayList によって、Clipの中におけるアクセスポイントのタイムスタンプが与えられたとき、Clip Information fileは、Clip AVストリームファイルの中でストリームのデコードを開始すべきアドレス情報を見つけるために役立っている。   In general, a data file used in a computer or the like is handled as a byte string, but the content of a Clip AV stream file is expanded on the time axis, and the PlayList is designated mainly by the time stamp of the access point in the Clip. . When the PlayList gives the time stamp of the access point in the Clip, the Clip Information file is useful for finding address information to start decoding the stream in the Clip AV stream file.

PlayListは、Clipの中からユーザが見たい再生区間を選択し、それを簡単に編集することができることを目的として導入されている。一つのPlayListは、Clipの中における再生区間の集まりである。あるClipの中における一つの再生区間はPlayItemと呼ばれ、それは、時間軸上のIN点(In Time)とOUT点(Out Time)のペアで表される。即ち、PlayListは、PlayItemの集まりと言うことができる。   The PlayList is introduced for the purpose of allowing the user to select a playback section that the user wants to see from the Clip and easily edit it. One PlayList is a collection of playback sections in a Clip. One playback section in a clip is called a PlayItem, which is represented by a pair of an IN point (In Time) and an OUT point (Out Time) on the time axis. That is, the PlayList can be said to be a collection of PlayItems.

PlayListには、二つのタイプがある。一つは、Real PlayListであり、他の一つは、Virtual PlayListである。このReal PlayListは、それが参照しているClipのストリーム部分を共有していると見なされる。すなわち、Real PlayListは、それの参照しているClipのストリーム部分に相当するデータ容量をディスクの中で占めている。AVストリームが新しいClipとして記録される場合、そのClip全体の再生可能範囲を参照するReal PlayListが自動的に作られる。Real PlayListにおける再生範囲の一部分が消去された場合、それが参照しているClipのストリーム部分もまたデータが消去される。Virtual PlayListは、Clipのデータを共有していないと見なされる。Virtual PlayListが変更または消去されたとしても、Clipは何も変化しない。
尚、以下の説明においては、Real PlayListとVirtual PlayListを総称して単に、PlayListと呼んでいる。
There are two types of PlayList. One is a Real PlayList, and the other is a Virtual PlayList. This Real PlayList is considered to share the stream portion of the Clip it refers to. That is, the Real PlayList occupies the data capacity corresponding to the stream portion of the clip referred to by the Real PlayList on the disc. When an AV stream is recorded as a new clip, a Real PlayList that refers to the reproducible range of the entire clip is automatically created. When a part of the playback range in the Real PlayList is erased, the data of the Clip stream part to which it refers is also erased. The Virtual PlayList is considered not to share Clip data. Even if the Virtual PlayList is changed or deleted, the Clip does not change anything.
In the following description, the Real PlayList and Virtual PlayList are collectively referred to simply as “PlayList”.

DVRディスク上に必要なディレクトリとしては、まず、"DVR"ディレクトリを含むrootディレクトリがある。また、"PLAYLIST"ディレクトリ、"CLIPINF"ディレクトリ、"STREAM"ディレクトリ、および"DATA"ディレクトリを含む"DVR"ディレクトリがある。rootディレクトリの下に、これら以外のディレクトリを作っても良いが、それらは、このDVRアプリケーションフォーマットでは無視される。   As a necessary directory on the DVR disk, first, there is a root directory including a “DVR” directory. There is also a “DVR” directory including a “PLAYLIST” directory, a “CLIPINF” directory, a “STREAM” directory, and a “DATA” directory. Directories other than these may be created under the root directory, but they are ignored in this DVR application format.

図2は、DVRディスク上に作られるディレクトリ構造の一例を示した図である。
ここで、rootディレクトリ111は、一つのディレクトリ("DVR"ディレクトリ112)を含む。
"DVR": DVRアプリケーションフォーマットによって規定される全てのファイルとディレクトリは、このディレクトリの下にストアされなければならない。
FIG. 2 is a diagram showing an example of a directory structure created on the DVR disk.
Here, the root directory 111 includes one directory ("DVR" directory 112).
“DVR”: All files and directories defined by the DVR application format must be stored under this directory.

また、"DVR"ディレクトリ112は、"PLAYLIST"ディレクトリ113、"CLIPINF"ディレクトリ114、"STREAM"ディレクトリ115、および"DATA"ディレクトリ116の4個のディレクトリを含む。
"PLAYLIST" : Real PlayListとVirtual PlayListのデータベースファイルは、このディレクトリの下に置かなければならない。このディレクトリは、PlayListが一つもなくても存在しなければならない。
"CLIPINF" : Clipのデータベースは、このディレクトリの下に置かなければならない。このディレクトリは、Clipが一つもなくても存在しなければならない。
"STREAM" : AVストリームファイルは、このディレクトリの下に置かなければならない。このディレクトリは、AVストリームファイルが一つもなくても存在しなければならない。
The “DVR” directory 112 includes four directories: a “PLAYLIST” directory 113, a “CLIPINF” directory 114, a “STREAM” directory 115, and a “DATA” directory 116.
"PLAYLIST": Real PlayList and Virtual PlayList database files must be placed under this directory. This directory must exist even if there is no PlayList.
"CLIPINF": Clip's database must be under this directory. This directory must exist even if there is no clip.
“STREAM”: AV stream files must be placed under this directory. This directory must exist even if there is no AV stream file.

"PLAYLIST"ディレクトリ113は、2種類のPlayListファイルをストアするものであり、それらは、前述したReal PlayListとVirtual PlayListである。
"xxxxx.rpls" : このファイルは、一つのReal PlayListに関連する情報をストアする。それぞれのReal PlayList毎に、一つのファイルが作られる。ファイル名は、"xxxxx.rpls"である。ここで、"xxxxx"は、0から9まで数字5個である。ファイル拡張子は、"rpls"でなければならない。
"yyyyy.vpls" : このファイルは、一つのVirtual PlayListに関連する情報をストアする。それぞれのVirtual PlayList毎に、一つのファイルが作られる。ファイル名は、"yyyyy.vpls"である。ここで、"yyyyy"は、0から9までの数字5個である。ファイル拡張子は、"vpls"でなければならない。
The “PLAYLIST” directory 113 stores two types of PlayList files, which are the above-described Real PlayList and Virtual PlayList.
“xxxxx.rpls”: This file stores information related to one Real PlayList. One file is created for each Real PlayList. The file name is “xxxxx.rpls”. Here, “xxxxx” is five numbers from 0 to 9. The file extension must be "rpls".
“yyyyy.vpls”: This file stores information related to one Virtual PlayList. One file is created for each Virtual PlayList. The file name is “yyyyy.vpls”. Here, “yyyyy” is five numbers from 0 to 9. The file extension must be "vpls".

"CLIPINF"ディレクトリ114は、それぞれのAVストリームファイルに対応して、一つのファイルをストアする。
"zzzzz.clpi" : このファイルは、一つのAVストリームファイル(Clip AVストリームファイルまたはBridge-Clip AVストリームファイル)に対応するClip Information fileである。ファイル名は、"zzzzz.clpi"であり、ここで"zzzzz"は、0から9までの数字5個である。ファイル拡張子は、"clpi"でなければならない。
The “CLIPINF” directory 114 stores one file corresponding to each AV stream file.
“zzzzz.clpi”: This file is a Clip Information file corresponding to one AV stream file (Clip AV stream file or Bridge-Clip AV stream file). The file name is “zzzzz.clpi”, where “zzzzz” is five numbers from 0 to 9. The file extension must be "clpi".

"STREAM"ディレクトリ115は、AVストリームのファイルをストアする。"zzzzz.m2ts" : このファイルは、DVRシステムにより扱われるAVストリームファイルである。これは、Clip AVストリームファイルまたはBridge-Clip AVストリームファイルである。ファイル名は、"zzzzz.m2ts"であり、ここで"zzzzz"は、0から9までの数字5個である。ファイル拡張子は、"m2ts"でなければならない。一つのAVストリームファイルとそれに対応するClip information fileは、同じ5個の数字"zzzzz"を使用しなければならない。
尚、その他のディレクトリとファイル名は、その説明を省略する。
The “STREAM” directory 115 stores AV stream files. “zzzzz.m2ts”: This file is an AV stream file handled by the DVR system. This is a Clip AV stream file or a Bridge-Clip AV stream file. The file name is “zzzzz.m2ts”, where “zzzzz” is five numbers from 0 to 9. The file extension must be "m2ts". The same five numbers “zzzzz” must be used for one AV stream file and the corresponding Clip information file.
Descriptions of other directories and file names are omitted.

図3は、AVストリームファイルの構造を示した図である。AVストリームファイルは、図3に示すDVR MPEG2トランスポートストリームの構造を持たなければならない。図3から理解できるように、DVR MPEG2トランスポートストリームは次に示す特徴を備えている。
1) DVR MPEG2トランスポートストリームは、整数個のAligned unitから構成される。
2) Aligned unitの大きさは6144バイト(2048×3バイト)である。
3) Aligned unitはソースパケットの第一バイト目から始まる。
4) ソースパケット(source packet)は192バイト長である。一つのソースパケットは、TP_extra_headerとトランスポートパケット(Transport packet)から成る。TP_extra_headerは4バイト長であり、またトランスポートパケットは188バイト長である。
5) 一つのAligned unitは32個のソースパケットから成る。
更に、以下の特徴を備えている。
6) DVR MPEG2トランスポートストリームの中における最後のAligned unitも、また32個のソースパケットから成る。
7) 最後のAligned unitが入力トランスポートストリームのトランスポートパケットで完全に満たされなかった場合、残りのバイト領域をヌルパケット(PID=0x1FFFのトランスポートパケット)を持ったソースパケットで満たさねばならない。
FIG. 3 is a diagram showing the structure of an AV stream file. The AV stream file must have the structure of the DVR MPEG2 transport stream shown in FIG. As can be understood from FIG. 3, the DVR MPEG2 transport stream has the following characteristics.
1) A DVR MPEG2 transport stream is composed of an integer number of Aligned units.
2) The size of the Aligned unit is 6144 bytes (2048 × 3 bytes).
3) The Aligned unit starts from the first byte of the source packet.
4) The source packet is 192 bytes long. One source packet includes a TP_extra_header and a transport packet. TP_extra_header is 4 bytes long, and the transport packet is 188 bytes long.
5) One Aligned unit consists of 32 source packets.
Furthermore, it has the following features.
6) The last Aligned unit in the DVR MPEG2 transport stream is also composed of 32 source packets.
7) If the last Aligned unit is not completely filled with transport packets of the input transport stream, the remaining byte area must be filled with source packets with null packets (transport packets with PID = 0x1FFF).

図4は、ソースパケット(source packet)のプログラミング構文であるシンタクス(Syntax)を示した図である。TP_extra_header()は、4バイト長のヘッダである。また、transport_packet() は、ISO/IEC13818-1で規定される188バイト長のMPEG2トランスポートパケットである。   FIG. 4 is a diagram illustrating syntax that is a programming syntax of a source packet. TP_extra_header () is a 4-byte header. Transport_packet () is an MPEG2 transport packet having a length of 188 bytes defined by ISO / IEC13818-1.

図5は、TP_extra_header()のシンタクスを示した図である。copy_permission_indicatorは、トランスポートパケットのペイロード(Payload)のコピー制限を表す整数である。コピー制限は、copy free, no more copy, copy once またはcopy prohibitedとすることができる。arrival_time_stampは、AVストリームの中で、対応するトランスポートパケットがデコーダに到着する時刻を示すタイムスタンプである。   FIG. 5 is a diagram illustrating the syntax of TP_extra_header (). The copy_permission_indicator is an integer representing the copy limit of the payload (Payload) of the transport packet. The copy restriction can be copy free, no more copy, copy once or copy prohibited. arrival_time_stamp is a time stamp indicating the time at which the corresponding transport packet arrives at the decoder in the AV stream.

図6は、copy_permission_indicatorの値とそれらによって指定されるモードの関係を示した図である。copy_permission_indicatorは、トランスポートパケットのペイロードのコピー制限を表す整数である。コピー制限は、copy free、no more copy、copy once、およびcopy prohibitedとすることができる。copy_permission_indicatorは、全てのトランスポートパケットに付加される。   FIG. 6 is a diagram showing the relationship between the values of copy_permission_indicator and the modes specified by them. copy_permission_indicator is an integer representing the copy limit of the payload of the transport packet. Copy restrictions can be copy free, no more copy, copy once, and copy prohibited. copy_permission_indicator is added to all transport packets.

IEEE1394ディジタルインターフェースを使用して入力トランスポートストリームを記録する場合、copy_permission_indicatorの値は、IEEE1394 isochronouspacket headerの中におけるEMI(Encryption Mode Indicator)の値に関連付けても良い。IEEE1394ディジタルインターフェースを使用しないで入力トランスポートストリームを記録する場合、copy_permission_indicatorの値は、トランスポートパケットの中に埋め込まれたコピー制限情報(CCI:Copy Control Information)の値に関連付けても良い。ビデオ入力をセルフエンコードする場合、copy_permission_indicatorの値は、入力信号のCGMSの値に関連付けても良い。   When an input transport stream is recorded using an IEEE1394 digital interface, the value of copy_permission_indicator may be associated with the value of EMI (Encryption Mode Indicator) in the IEEE1394 isochronous packet header. When an input transport stream is recorded without using an IEEE1394 digital interface, the value of copy_permission_indicator may be associated with the value of copy restriction information (CCI: Copy Control Information) embedded in the transport packet. When the video input is self-encoded, the value of copy_permission_indicator may be associated with the value of CGMS of the input signal.

次に、AVストリームファイルの再生情報を管理するデータベースフォーマットについて説明する。
図7は、Clip Information fileのシンタクスを示した図である。Clip Information fileは、ClipInfo(), SequenceInfo(), ProgramInfo(), CPI(), ClipMark(), MakersPrivateData()を持つ。
Next, a database format for managing reproduction information of AV stream files will be described.
FIG. 7 is a diagram illustrating the syntax of the Clip Information file. The Clip Information file has ClipInfo (), SequenceInfo (), ProgramInfo (), CPI (), ClipMark (), and MakersPrivateData ().

図8は、このClipInfo()のシンタクスを示した図である。ClipInfo()の中にあるsource_security_info()は、Clip AVストリームのコピー制限情報を管理する情報を持つものであり、AVストリームの入力ソースと記録モードを管理するための情報を定義する。   FIG. 8 is a diagram showing the syntax of ClipInfo (). The source_security_info () in ClipInfo () has information for managing Clip AV stream copy restriction information, and defines information for managing the input source and recording mode of the AV stream.

図9は、ClipInfo()の中のsource_security_info()のシンタクスを示した図である。is_cognizantは、値が1である場合、そのAVストリームファイルの記録がCognizant記録であることを示し、値が0である場合、そのAVストリームファイルの記録がNon-cognizant記録であることを示す。   FIG. 9 is a diagram illustrating the syntax of source_security_info () in ClipInfo (). is_cognizant indicates that the recording of the AV stream file is cognizant recording when the value is 1, and indicates that the recording of the AV stream file is non-cognizant recording when the value is 0.

ここで、Cognizant記録とは、ディジタル放送等のトランスポートストリームを記録する時、トランスポートストリームの中に符号化されているCCI(Embedded CCIと呼ばれ、CCIを持つディスクリプタやウォーターマーク)を解析する記録モードである。また、Non-cognizant記録とは、ディジタル放送等のトランスポートストリームを記録する時、トランスポートストリームの中に符号化されているCCIを解析しない記録モードである。   Here, Cognizant recording is to analyze CCI (embedded CCI called descriptor or watermark having CCI) encoded in transport stream when recording transport stream such as digital broadcasting. It is a recording mode. Non-cognizant recording is a recording mode in which CCI encoded in a transport stream is not analyzed when a transport stream such as digital broadcasting is recorded.

IEEE1394ディジタルインターフェース経由で入力されるトランスポートストリームをNon-cognizant記録する場合、トランスポートストリームの記録制限は、IEEE1394 isochronous packet headerの中のEMI(Encryption Mode Indicator)の値に基づいて行われる。   When non-cognizant recording of a transport stream input via the IEEE1394 digital interface is performed, the recording restriction of the transport stream is performed based on the value of EMI (Encryption Mode Indicator) in the IEEE1394 isochronous packet header.

is_WM_checkedは、その値が1の場合、記録装置がAVストリームの記録時に、AVストリームのウォーターマークを解析して、それを必要に応じて更新したことを示している。is_WM_checkedが0の場合、AVストリームの記録時にそのウォーターマークを解析せずに記録したことを示す。ウォーターマークは、現時点(2001年6月の時点)では未だ標準化がまとまっていない為、ウォーターマークによる記録制限が記録装置に強制される時点よりも以前に製造された記録装置は、is_WM_checkedをゼロとしても良い。   is_WM_checked indicates that when the value is 1, the recording apparatus analyzes the watermark of the AV stream and updates it as necessary when recording the AV stream. When is_WM_checked is 0, it indicates that the recording was performed without analyzing the watermark when recording the AV stream. Since watermarks are not yet standardized at this time (as of June 2001), recording devices manufactured prior to the time when recording restrictions due to watermarks are imposed on recording devices are set to zero for is_WM_checked. Also good.

source_typeは、記録されたAVストリームの入力ソースを示している。source_type値の意味を、図10に示している。また、source_typeの意味の別の例を図11に示している。記録時のsource_typeの値の設定方法、また再生時のsource_typeの使用方法については、後で詳しく説明する。   source_type indicates the input source of the recorded AV stream. The meaning of the source_type value is shown in FIG. Another example of the meaning of source_type is shown in FIG. A method for setting the value of source_type during recording and a method for using source_type during reproduction will be described in detail later.

Integrity_Check_Valueは、source_security_info()の内容が改竄されていないことを示すための符号である。これは、source_security_info()の第1バイト目からIntegrity_Check_Valueの直前のバイトまでのデータを入力として、所定の暗号アルゴリズムで計算した符号である。この暗号アルゴリズムとしては、例えば、ISO/IEC 9797(Information technology - Security techniques - Data integrity mechanism using a cryptographic check function employing a block cipher algorithm)に記載されているアルゴリズムが採用される。   Integrity_Check_Value is a code for indicating that the contents of source_security_info () have not been tampered with. This is a code calculated by a predetermined encryption algorithm using data from the first byte of source_security_info () to the byte immediately before Integrity_Check_Value as input. As this cryptographic algorithm, for example, an algorithm described in ISO / IEC 9797 (Information technology-Security techniques-Data integrity mechanism using a cryptographic check function using a block cipher algorithm) is adopted.

もしも、悪意を持ったユーザによって、source_security_info()のsource_typeの内容が改竄されて、「DTCP準拠の入力」から「DTCP準拠でない入力」に書き変えられたとしても、記録装置はIntegrity_Check_Valueの値を検査することにより、source_security_info()が改竄されたことを検出できる。もしも、source_security_info()が改竄されたことを検出した場合には、もはやsource_security_info()は信じられないので、記録装置は、そのsource_security_info()を持つAVストリームを再生できないようにする。   Even if a malicious user alters the content of source_type of source_security_info () and rewrites it from “DTCP compliant input” to “non-DTCP compliant input”, the recording device checks the value of Integrity_Check_Value. By doing so, it can be detected that source_security_info () has been tampered with. If it is detected that source_security_info () has been tampered with, source_security_info () is no longer believed, and the recording device prevents playback of the AV stream having that source_security_info ().

また、source_security_info()の内容を改竄できないようにするために、source_security_info()をスクランブルするか、またはClip Information file全体をスクランブルしてもよい。   Further, in order to prevent falsification of the contents of source_security_info (), source_security_info () may be scrambled or the entire Clip Information file may be scrambled.

上述の例では、source_security_info()をClip Information fileの中で記述する場合を説明したが、source_security_info()をAVストリームの中で符号化するようにしても良い。例えば、source_security_info()をMPEG2トランスポートストリームで規定されているディスクリプタの形式で符号化する方法がある。   In the above example, the case where source_security_info () is described in the Clip Information file has been described. However, source_security_info () may be encoded in the AV stream. For example, there is a method of encoding source_security_info () in the descriptor format defined by the MPEG2 transport stream.

図12は、source_security_info()のシンタクスにおける別の例を示した図である。これは、Clip Information fileの中にストアすることは、勿論、他にも、AVストリームの中で符号化するときに適している。この図12のsource_security_info()は、図9に示したシンタクスに対して、status_WMとWM_transition_flagを加えている。   FIG. 12 is a diagram illustrating another example of the syntax of source_security_info (). This is suitable not only for storing in a Clip Information file but also for encoding in an AV stream. The source_security_info () in FIG. 12 adds status_WM and WM_transition_flag to the syntax shown in FIG.

is_WM_checkedの意味は、その値が1の場合、記録装置がAVストリームの記録時に、AVストリームのウォーターマークを解析して、それを必要に応じて更新したことを示している。is_WM_checkedが0の場合、AVストリームの記録時にそのウォーターマークを解析しないで記録したことを示している。また、is_WM_checkedが1の場合、次に続くstatus_WMとWM_transition_flagの値が有効な値を持つことを示し、その値が0の場合、次に続くstatus_WMとWM_transition_flagの値が無効であることを示している。   The meaning of is_WM_checked indicates that when the value is 1, the recording device analyzes the watermark of the AV stream and updates it as necessary when recording the AV stream. When is_WM_checked is 0, it indicates that the recording is performed without analyzing the watermark when recording the AV stream. If is_WM_checked is 1, it indicates that the following status_WM and WM_transition_flag values are valid, and if the value is 0, it indicates that the following status_WM and WM_transition_flag values are invalid. .

図13は、status_WMの意味の例を示した図である。この場合に、status_WMはAVストリーム中で、そのstatus_WMが符号化されているアドレスにおけるAVストリームのコピー制限情報を示している。   FIG. 13 is a diagram illustrating an example of the meaning of status_WM. In this case, status_WM indicates AV stream copy restriction information at an address in which the status_WM is encoded in the AV stream.

図14は、WM_transition_flagの意味を示した図である。この場合に、WM_transition_flagの値が1であれば、AVストリーム中で、そのstatus_WMが符号化されているアドレスにおいて、AVストリームのWMの意味が、そのアドレス以前と比べて変化したことを示している。WM_transition_flagの値が0の場合、AVストリーム中で、そのstatus_WMが符号化されているアドレスにおいて、AVストリームのWMの意味が、そのアドレス以前と同じ意味であることを示している。   FIG. 14 is a diagram illustrating the meaning of WM_transition_flag. In this case, if the value of WM_transition_flag is 1, it indicates that the meaning of the WM of the AV stream has changed compared to that before the address at the address in which the status_WM is encoded in the AV stream. . When the value of WM_transition_flag is 0, it indicates that the meaning of the WM of the AV stream is the same as that before the address at the address where the status_WM is encoded in the AV stream.

記録時に、このstatus_WMを記録することにより、AVストリームの再生時にそのウォーターマークの示す状態を知りたいときに、AVストリームを解析する必要がない。そのため、記録媒体上のあるAVストリーム別の記録媒体にコピーしたいときに、AVストリームに埋め込まれているウォーターマークを解析することなしに、status_WMを参照することによって、コピーの可否を判断することができる。また、WM_transition_flagは、AVストリームの中におけるWMの変化点に対する検索処理の高速化に役立てることができる。   By recording this status_WM at the time of recording, it is not necessary to analyze the AV stream when it is desired to know the state indicated by the watermark during reproduction of the AV stream. Therefore, when copying to a recording medium different from an AV stream on the recording medium, it is possible to determine whether copying is possible by referring to status_WM without analyzing the watermark embedded in the AV stream. it can. Further, WM_transition_flag can be used for speeding up the search process for the WM change point in the AV stream.

Integrity_Check_Valueは、source_security_info()の内容が改竄されていないことを示すための符号である。これは、source_security_info()の第1バイト目からIntegrity_Check_Valueの直前のバイトまでのデータを入力として、所定の暗号アルゴリズムで計算した符号である。この暗号アルゴリズムは、例えば、ISO/IEC 9797に記載されているアルゴリズムを用いる。   Integrity_Check_Value is a code for indicating that the contents of source_security_info () have not been tampered with. This is a code calculated by a predetermined encryption algorithm using data from the first byte of source_security_info () to the byte immediately before Integrity_Check_Value as input. As this encryption algorithm, for example, an algorithm described in ISO / IEC 9797 is used.

また、source_security_info()の内容を改竄できないようにするために、source_security_info()をスクランブルするか、またはAVストリームファイル全体をスクランブルしてもよい。   Further, in order to prevent falsification of the contents of source_security_info (), source_security_info () may be scrambled or the entire AV stream file may be scrambled.

次に、本実施の形態におけるシステム構成を説明する。
図15は、本実施の形態が適用される記録装置の構成を示したブロック図である。ここでは、AVストリームを記録するときに、そのsource_security_info()を作成して記録している。本実施の形態では、端子33から記録するAV信号の入力ソースの指示信号がコントローラ19へ供給されている。また、ここでは、入力ソースの種類として、ビデオのライン入力、記録装置に内蔵されるアナログTV放送のチューナ入力、記録装置に内蔵されるディジタルTV放送のチューナ入力、IEEE1394経由でDTCP準拠の方法を用いて入力されるトランスポートストリーム、そして、IEEE1394経由でDTCP準拠の方法を用いないで入力されるトランスポートストリームがある。コントローラ19は、この入力ソースの指示信号をsource_security_info()の中に符号化している。
Next, the system configuration in the present embodiment will be described.
FIG. 15 is a block diagram showing a configuration of a recording apparatus to which the present embodiment is applied. Here, when the AV stream is recorded, the source_security_info () is created and recorded. In the present embodiment, an instruction signal of the input source of the AV signal to be recorded is supplied from the terminal 33 to the controller 19. Also, here, as the types of input sources, video line input, analog TV broadcast tuner input built in the recording device, digital TV broadcast tuner input built in the recording device, DTCP compliant method via IEEE1394 There are transport streams that are input using and transport streams that are input via IEEE1394 without using a DTCP-compliant method. The controller 19 encodes this input source instruction signal in source_security_info ().

図15に示す記録装置では、上記の入力ソースの種類別に、入力端子として、端子10,12,32,25を備えている。また、端子10のRF入力からビデオ信号を取り出すTVチューナ11、入力ビデオのマクロビジョン信号を解析して入力信号の記録制限を行うマクロビジョン検出部13、入力ビデオのCGMSを解析するCGMS検出・更新部14、入力ビデオのウォーターマーク(Water Mark)を解析するWM(Water Mark)検出・更新部15、入力ビデオオーディオ信号を符号化するMPEG2AVエンコーダ16、ソースパケットからなるAVストリームを供給する多重化・ソースパケット化部17を備えている。   The recording apparatus shown in FIG. 15 includes terminals 10, 12, 32, and 25 as input terminals for each type of input source. Also, a TV tuner 11 that extracts a video signal from the RF input of the terminal 10, a macrovision detection unit 13 that analyzes the macrovision signal of the input video and restricts recording of the input signal, and a CGMS detection / update that analyzes the CGMS of the input video 14, a WM (Water Mark) detection / update unit 15 that analyzes the watermark of the input video, an MPEG2 AV encoder 16 that encodes the input video audio signal, and a multiplex that supplies an AV stream made up of source packets. A source packetization unit 17 is provided.

また、入力されるソースパケット列の情報を解析するストリーム解析部18、端子33からの入力ソース指示信号をsource_security_info()の中に符号化し、また、入力されるCCI_oおよびWM_oに基づいてAVストリームの中で符号化するE_CCI(Embedded CCI)の値を決定するコントローラ19を備えている。更に、入力されるソースパケット列をスクランブルするスクランブラ20の他、ECC(誤り訂正)符号化部21、変調部22、ドライブ23およびDVR等の記録媒体24を備えている。   Also, the stream analysis unit 18 that analyzes the information of the input source packet sequence, the input source instruction signal from the terminal 33 is encoded in source_security_info (), and the AV stream is based on the input CCI_o and WM_o. A controller 19 is provided for determining a value of E_CCI (Embedded CCI) to be encoded. In addition to a scrambler 20 that scrambles an input source packet sequence, an ECC (error correction) encoding unit 21, a modulation unit 22, a drive 23, and a recording medium 24 such as a DVR are provided.

また図15には、DTCP準拠のIEEE1394接続の手続き処理を行うセットトップボックス(STB)26、DTCPに準拠していないトランスポートストリームを供給するPC27が示されている。更に、内蔵チューナであるディジタルTVチューナ28、IEEE1394接続の手続き処理を行うIEEE1394インターフェース(I/F)29、入力トランスポートストリームの中に符号化されているCCI(E_CCI:Embedded CCI)を解析するE_CCI解析・更新部30、および入力ビデオのウォーターマークを解析するWM検出・更新部31を備えている。   FIG. 15 also shows a set top box (STB) 26 that performs DTCP-compliant IEEE1394 connection procedure processing, and a PC 27 that supplies a transport stream that does not comply with DTCP. Further, a digital TV tuner 28 which is a built-in tuner, an IEEE1394 interface (I / F) 29 for performing IEEE1394 connection procedure processing, and an E_CCI for analyzing CCI (E_CCI: Embedded CCI) encoded in the input transport stream An analysis / update unit 30 and a WM detection / update unit 31 that analyzes the watermark of the input video are provided.

まず始めに、図15を用いて、端子12、32の外部ライン入力端子からのビデオ、オーディオ入力をセルフエンコードしたAVストリームを記録する場合について説明する。
マクロビジョン検出部13では、端子12から入力された入力ビデオのマクロビジョン信号が所定の方法により解析されて、入力信号の記録制限が行われる。この記録制限が行われた入力ビデオは、CGMS検出・更新部14へ供給される。このCGMS検出・更新部14では、入力ビデオのCGMS(CGMS‐AまたはCGMS‐D)が所定の方法により解析されて、記録されるAVストリームのCCI(図の中でCCI_oで示す)がコントローラ19へ供給される。また、CGMS検出・更新部14からWM検出・更新部15に対して入力ビデオが供給される。
First, the case of recording an AV stream in which video and audio inputs from the external line input terminals of the terminals 12 and 32 are self-encoded will be described with reference to FIG.
In the macrovision detection unit 13, the macrovision signal of the input video input from the terminal 12 is analyzed by a predetermined method, and input signal recording is limited. The input video subjected to the recording restriction is supplied to the CGMS detection / update unit 14. In the CGMS detection / update unit 14, the CGMS (CGMS-A or CGMS-D) of the input video is analyzed by a predetermined method, and the CCI (indicated by CCI_o in the figure) of the AV stream to be recorded is Supplied to. Also, the input video is supplied from the CGMS detection / update unit 14 to the WM detection / update unit 15.

WM検出・更新部15では、入力ビデオのウォーターマーク(WM)が所定の方法により解析されて、記録されるAVストリームのWM(図の中でWM_oで示す)がコントローラ19へ供給される。また、入力ビデオは、WM検出・更新部15からMPEG2AVエンコーダ16へ供給される。MPEG2AVエンコーダ16では、入力されるビデオオーディオ信号が、MPEGビデオとMPEGオーディオストリームに符号化される。これらのMPEGストリームは、多重化・ソースパケット化部17へ供給される。この多重化・ソースパケット化部17へは、このMPEGストリームとコントローラ19からの情報が入力される。   In the WM detection / update unit 15, the watermark (WM) of the input video is analyzed by a predetermined method, and the WM of the AV stream to be recorded (indicated by WM_o in the figure) is supplied to the controller 19. The input video is supplied from the WM detection / update unit 15 to the MPEG2AV encoder 16. In the MPEG2 AV encoder 16, the input video audio signal is encoded into an MPEG video and an MPEG audio stream. These MPEG streams are supplied to the multiplexing / source packetizing unit 17. The MPEG stream and information from the controller 19 are input to the multiplexing / source packetizing unit 17.

このように、コントローラ19では、入力されるWM_oの変化が検出されて、source_security_info()が作成される。source_security_info()の情報をAVストリームの中で符号化する場合、コントローラ19は、その情報を多重化・ソースパケット化部17へ供給している。そして、多重化・ソースパケット化部17は、source_security_info()の情報をAVストリームの中で符号化しており、例えば、その情報を持つディスクリプタが符号化される。   As described above, the controller 19 detects a change in the input WM_o and creates source_security_info (). When the source_security_info () information is encoded in the AV stream, the controller 19 supplies the information to the multiplexing / source packetizing unit 17. The multiplexing / source packetizing unit 17 encodes the information of source_security_info () in the AV stream, and for example, a descriptor having the information is encoded.

また、コントローラ19では、入力されるCCI_oおよびWM_oに基づいて、AVストリームの中で符号化するE_CCI(Embedded CCI)の値が所定の方法により決定される。このE_CCIは、例えば、DTCP_deascriptorが用いられてAVストリームの中で符号化される。   Further, the controller 19 determines a value of E_CCI (Embedded CCI) to be encoded in the AV stream based on the input CCI_o and WM_o by a predetermined method. This E_CCI is encoded in the AV stream using, for example, DTCP_deascriptor.

また、多重化・ソースパケット化部17では、ソースパケットヘッダに符号化するcopy_permission_indicatorの値が所定の方法により決定される。多重化・ソースパケット化部17は、ソースパケット列をスクランブラ20とストリーム解析部18へ供給している。スクランブラ20では、入力されるソースパケット列が所定の方法によりスクランブルされ、ECC符号化部21へ供給される。また、ストリーム解析部18では、入力されるソースパケット列の情報が解析されて、データベースファイル作成のための情報がコントローラ19へ供給される。   Further, the multiplexing / source packetizing unit 17 determines the value of copy_permission_indicator to be encoded in the source packet header by a predetermined method. The multiplexing / source packetizing unit 17 supplies the source packet sequence to the scrambler 20 and the stream analyzing unit 18. In the scrambler 20, the input source packet sequence is scrambled by a predetermined method and supplied to the ECC encoding unit 21. Further, the stream analysis unit 18 analyzes the information of the input source packet sequence, and supplies information for creating a database file to the controller 19.

ここで、source_security_info()をClip Information fileの中にストアする場合には、コントローラ19は、source_security_info()を持つClip Information fileのデータを作成して、これをECC符号化部21へ供給する。このECC符号化部21へ入力されたAVストリームおよびClip Information fileのデータは、ECC符号化部21,変調部22,ドライブ23の処理の後に、それぞれAVストリームファイルとClip Information fileとして、記録媒体24へ記録される。   Here, when storing source_security_info () in the Clip Information file, the controller 19 creates data of the Clip Information file having source_security_info () and supplies it to the ECC encoding unit 21. The data of the AV stream and Clip Information file input to the ECC encoding unit 21 are recorded as an AV stream file and a Clip Information file after processing by the ECC encoding unit 21, the modulation unit 22, and the drive 23, respectively. Is recorded.

次に、図15を用いて、端子10から、アナログTV放送のRF入力のビデオ信号をセルフエンコードしたAVストリームを記録する場合について説明する。
TVチューナ11では、RF入力からビデオ信号が取り出され、WM検出・更新部15へ供給される。WM検出・更新部15では、入力ビデオのウォーターマークが所定の方法により解析されて、記録するAVストリームのWM(図の中でWM_oで示す)がコントローラ19へ供給される。また、WM検出・更新部15からは、入力ビデオがMPEG2AVエンコーダ16へ供給される。その後の処理は、上述の外部ライン入力端子からのビデオ、オーディオ入力をセルフエンコードしたAVストリームを記録する場合における、MPEG2AVエンコーダ16以降の処理と同様である。
Next, a case where an AV stream obtained by self-encoding an RF input video signal of an analog TV broadcast is recorded from the terminal 10 will be described with reference to FIG.
In the TV tuner 11, a video signal is extracted from the RF input and supplied to the WM detection / update unit 15. In the WM detection / update unit 15, the watermark of the input video is analyzed by a predetermined method, and the WM (indicated by WM_o in the figure) of the AV stream to be recorded is supplied to the controller 19. Further, the input video is supplied from the WM detection / update unit 15 to the MPEG2AV encoder 16. The subsequent processing is the same as the processing after the MPEG2 AV encoder 16 in the case of recording an AV stream in which video and audio inputs from the external line input terminal are self-encoded.

次に、端子25から、ディジタルTV放送のRF入力からのトランスポートストリームを記録する場合について説明する。TVチューナ28は、RF入力からトランスポートストリームを取り出して、E_CCI(Embedded CCI)解析・更新部30へ供給する。   Next, a case where a transport stream from the digital TV broadcast RF input is recorded from the terminal 25 will be described. The TV tuner 28 takes out the transport stream from the RF input and supplies it to the E_CCI (Embedded CCI) analysis / update unit 30.

E_CCI解析・更新部30では、入力トランスポートストリームの中に符号化されているCCI(Embedded CCI)が所定の方法により解析されて、記録するAVストリームのCCI(図の中でCCI_oで示す)がコントローラ19へ供給される。また、E_CCI解析・更新部30からは、入力トランスポートストリームがWM検出・更新部31へ供給される。WM検出・更新部31では、入力ビデオのウォーターマーク(WM)が所定の方法により解析されて、記録するAVストリームのWM(図の中でWM_oで示す)がコントローラ19へ供給される。また、入力トランスポートストリームがWM検出・更新部31から多重化・ソースパケット化部17へ供給される。   The E_CCI analyzing / updating unit 30 analyzes the CCI (Embedded CCI) encoded in the input transport stream by a predetermined method and records the CCI of the AV stream to be recorded (indicated by CCI_o in the figure). It is supplied to the controller 19. Further, the E_CCI analysis / update unit 30 supplies the input transport stream to the WM detection / update unit 31. In the WM detection / update unit 31, the watermark (WM) of the input video is analyzed by a predetermined method, and the WM (indicated by WM_o in the figure) of the AV stream to be recorded is supplied to the controller 19. Also, the input transport stream is supplied from the WM detection / update unit 31 to the multiplexing / source packetization unit 17.

多重化・ソースパケット化部17へは、入力トランスポートストリームとコントローラ19からの所定の指示信号が入力される。即ち、コントローラ19は、入力されるWM_oの変化を検出して、source_security_info()を作成する。source_security_info()をAVストリームの中で符号化する場合、コントローラ19は、source_security_info()を多重化・ソースパケット化部17へ供給する。多重化・ソースパケット化部17は、source_security_info()の情報をAVストリームの中で符号化する場合、例えば、その情報を持つディスクリプタを符号化する。   An input transport stream and a predetermined instruction signal from the controller 19 are input to the multiplexing / source packetizing unit 17. That is, the controller 19 detects a change in the input WM_o and creates source_security_info (). When encoding source_security_info () in the AV stream, the controller 19 supplies source_security_info () to the multiplexing / source packetizing unit 17. When the information of source_security_info () is encoded in the AV stream, the multiplexing / source packetization unit 17 encodes a descriptor having the information, for example.

そして、多重化・ソースパケット化部17では、入力トランスポートストリームがソースパケット化され、スクランブラ20へ供給される。その後の処理は、上述の外部ライン入力端子からのビデオ、オーディオ入力をセルフエンコードしたAVストリームを記録する場合における、スクランブラ20以降の処理と同様である。   Then, in the multiplexing / source packetizing unit 17, the input transport stream is converted into a source packet and supplied to the scrambler 20. The subsequent processing is the same as the processing after the scrambler 20 in the case of recording an AV stream in which video and audio input from the external line input terminal is self-encoded.

次に、IEEE1394で接続されたSTB26からDTCP準拠の方式で供給されるトランスポートストリームをCognizant記録モードで記録する場合について説明する。   Next, a case will be described in which a transport stream supplied from the STB 26 connected by IEEE1394 by a DTCP-compliant method is recorded in the Cognizant recording mode.

図15に示される記録装置とSTB26では、DTCP準拠のIEEE1394接続の手続き処理が行われる。IEEE1394インターフェース29では、入力されるアイソクロナスパケットのヘッダにあるEMI(Encryption Mode Indicator)が所定の方法により解析されて、記録するAVストリームのCCI(図の中でCCI_oで示す)がコントローラ19へ供給される。また、IEEE1394インターフェース29では、入力トランスポートストリームがE_CCI解析・更新部30へ供給される。その後の処理は、上述のディジタルTV放送のRF入力からのトランスポートストリームを記録する場合における、E_CCI解析・更新部30以降の処理と同様である。   In the recording apparatus and the STB 26 shown in FIG. 15, a DTCP-compliant IEEE1394 connection procedure process is performed. In the IEEE1394 interface 29, EMI (Encryption Mode Indicator) in the header of the input isochronous packet is analyzed by a predetermined method, and the CCI (indicated by CCI_o in the figure) of the AV stream to be recorded is supplied to the controller 19. The In the IEEE1394 interface 29, the input transport stream is supplied to the E_CCI analysis / update unit 30. The subsequent processing is the same as the processing after the E_CCI analyzing / updating unit 30 when the transport stream from the RF input of the digital TV broadcast is recorded.

次に、IEEE1394で接続されたSTB26からDTCP準拠の方式で供給されるトランスポートストリームをNon-cognizant記録モードで記録する場合について説明する。   Next, a case where a transport stream supplied from the STB 26 connected by IEEE1394 in a DTCP compliant method is recorded in the non-cognizant recording mode will be described.

図15に示される記録装置とSTB26では、DTCP準拠のIEEE1394接続の手続き処理が行われる。IEEE1394インターフェース29では、入力されるアイソクロナスパケットのヘッダにあるEMIが所定の方法により解析されて、記録するAVストリームのCCI(図の中でCCI_oで示す)がコントローラ19へ供給される。また、IEEE1394インターフェース29から出力されるトランスポートストリームは、E_CCI解析・更新部30とWM解析・更新部31をスルーで通過して(何も処理されないで通過して)、多重化・ソースパケット化部17へ供給される。その後の処理は、上述のディジタルTV放送のRF入力からのトランスポートストリームを記録する場合における、多重化・ソースパケット化部17以降の処理と同様である。   In the recording apparatus and the STB 26 shown in FIG. 15, a DTCP-compliant IEEE1394 connection procedure process is performed. In the IEEE1394 interface 29, the EMI in the header of the input isochronous packet is analyzed by a predetermined method, and the CCI (indicated by CCI_o in the figure) of the AV stream to be recorded is supplied to the controller 19. Further, the transport stream output from the IEEE1394 interface 29 passes through the E_CCI analysis / update unit 30 and the WM analysis / update unit 31 (passes through without being processed) to be multiplexed / source packetized. To the unit 17. The subsequent processing is the same as the processing after the multiplexing / source packetizing unit 17 in the case of recording the transport stream from the digital TV broadcast RF input described above.

次に、IEEE1394で接続されたPC27からDTCP準拠の方式を用いないで供給されるトランスポートストリームをCognizant記録モードで記録する場合について説明する。   Next, a case will be described in which a transport stream supplied from a PC 27 connected by IEEE1394 without using a DTCP-compliant method is recorded in the Cognizant recording mode.

図15に示す記録装置とPC27とは、DTCP準拠でないIEEE1394接続の手続き処理が行われる。この場合、入力されるイソクロナスパケットのEMIフィールドは意味を持たない。IEEE1394インターフェース29からは、入力トランスポートストリームがE_CCI解析・更新部30へ供給される。その後の処理は、上述のディジタルTV放送のRF入力からのトランスポートストリームを記録する場合における、E_CCI解析・更新部30以降の処理と同様である。   The recording device shown in FIG. 15 and the PC 27 perform IEEE1394 connection procedure processing that is not DTCP compliant. In this case, the EMI field of the input isochronous packet has no meaning. An input transport stream is supplied from the IEEE1394 interface 29 to the E_CCI analysis / update unit 30. The subsequent processing is the same as the processing after the E_CCI analyzing / updating unit 30 when the transport stream from the RF input of the digital TV broadcast is recorded.

次に、図15に示した記録装置において、入力ソースの種類によって異なるコピーコントロールの処理について、図16〜図22を用いて説明する。   Next, in the recording apparatus shown in FIG. 15, a copy control process that varies depending on the type of input source will be described with reference to FIGS.

図16は、入力ソースがビデオのライン入力の場合(端子12からのビデオライン入力の場合)におけるコピーコントロール処理について説明した図である。図の中の「入力信号の状態」のCGMSとWMは、それぞれ入力信号が持つCGMSとWMの状態を示している。   FIG. 16 is a diagram for explaining copy control processing when the input source is video line input (in the case of video line input from the terminal 12). CGMS and WM of “input signal state” in the figure indicate the states of CGMS and WM of the input signal, respectively.

ここでは、
・ 入力ビデオ信号のCGMSが'00'のとき、CGMS検出・更新部14は、CCI_o=00とする。
・ 入力ビデオ信号のCGMSが'10'のとき、CGMS検出・更新部14は、CCI_o=01とし、入力ビデオのCGMSを更新する。
・ 入力ビデオ信号のCGMSが'01'または'11'のとき、入力ビデオを記録できない。
here,
When the CGMS of the input video signal is “00”, the CGMS detection / update unit 14 sets CCI_o = 00.
When the CGMS of the input video signal is “10”, the CGMS detection / update unit 14 sets CCI_o = 01 and updates the CGMS of the input video.
-When the CGMS of the input video signal is '01' or '11', the input video cannot be recorded.

入力ビデオ信号のWMを解析する場合において、
・ 入力信号のWMが'00'のとき、WM検出・更新部15は、WM_o=00とする。
・ 入力信号のWMが'10'のとき、WM検出・更新部15は、WM_o=101とし、入力ビデオのWMを更新する。
・ 入力信号のWMが'101'または'11'のとき、入力ビデオを記録できない。
When analyzing the WM of the input video signal,
When the WM of the input signal is “00”, the WM detection / update unit 15 sets WM_o = 00.
When the WM of the input signal is “10”, the WM detection / update unit 15 sets WM_o = 101 and updates the WM of the input video.
-When the WM of the input signal is '101' or '11', the input video cannot be recorded.

ここで、コントローラ19は、記録するAVストリームの中に符号化されるE_CCIにCCI_oと同じ意味の値をセットし、ソースパケットヘッダのcopy_permission_indicator(c_p_I)に、CCI_oと同じ意味の値をセットする。また、コントローラ19は、source_security_info()の内容を次のようにセットする。
・ is_cognizantを1にセットする。
・ 入力ビデオ信号のWMを解析する場合は、is_WM_chekedを1にセットし、status_WMにWM_oと同じ意味の値をセットし、それ以前のWMの状態と比較して、WM_transition_flagの値を決める。
・ 入力ビデオ信号のWMを解析しない場合は、is_WM_chekedを0にセットする。
Here, the controller 19 sets a value having the same meaning as CCI_o in E_CCI encoded in the AV stream to be recorded, and sets a value having the same meaning as CCI_o in copy_permission_indicator (c_p_I) of the source packet header. Further, the controller 19 sets the contents of source_security_info () as follows.
Set is_cognizant to 1.
When analyzing the WM of the input video signal, set is_WM_cheked to 1, set the value of status_WM to the same meaning as WM_o, and compare with the previous WM state to determine the value of WM_transition_flag.
• Set is_WM_cheked to 0 if the WM of the input video signal is not analyzed.

図17は、入力ソースが記録装置に内蔵のアナログTVチューナ(TVチューナ11)からのビデオ入力の場合におけるコピーコントロール処理を説明した図である。図の中における「入力信号の状態」のWMは、入力信号が持つWMの状態を示している。   FIG. 17 is a diagram for explaining copy control processing when the input source is video input from an analog TV tuner (TV tuner 11) built in the recording apparatus. WM of “input signal state” in the figure indicates the WM state of the input signal.

ここでは、
・ 入力ビデオ信号のWMを解析しない場合、WM_o=00と見なす。
入力ビデオ信号のWMを解析する場合において、
・ 入力信号のWMが'00'のとき、WM検出・更新部15は、WM_o=00とする。
・ 入力信号のWMが'10'のとき、WM検出・更新部15は、WM_o=101とし、入力ビデオのWMを更新する。
・ 入力信号のWMが'101'または'11'のとき、入力ビデオを記録できない。
here,
• When not analyzing the WM of the input video signal, it is assumed that WM_o = 00.
When analyzing the WM of the input video signal,
When the WM of the input signal is “00”, the WM detection / update unit 15 sets WM_o = 00.
When the WM of the input signal is “10”, the WM detection / update unit 15 sets WM_o = 101 and updates the WM of the input video.
-When the WM of the input signal is '101' or '11', the input video cannot be recorded.

ここで、コントローラ19は、記録するAVストリームの中に符号化されるE_CCIにWM_oと同じ意味の値をセットし、ソースパケットヘッダのcopy_permission_indicator(c_p_I)に、WM_oと同じ意味の値をセットする。また、コントローラ19は、source_security_info()の内容を次のようにセットする。
・ is_cognizantを1にセットする。
・ 入力ビデオ信号のWMを解析する場合は、is_WM_chekedを1にセットし、status_WMにWM_oと同じ意味の値をセットし、それ以前のWMの状態と比較して、WM_transition_flagの値を決める。
・ 入力ビデオ信号のWMを解析しない場合は、is_WM_chekedを0にセットする。
Here, the controller 19 sets a value having the same meaning as WM_o in E_CCI encoded in the AV stream to be recorded, and sets a value having the same meaning as WM_o in copy_permission_indicator (c_p_I) of the source packet header. Further, the controller 19 sets the contents of source_security_info () as follows.
Set is_cognizant to 1.
When analyzing the WM of the input video signal, set is_WM_cheked to 1, set the value of status_WM to the same meaning as WM_o, and compare with the previous WM state to determine the value of WM_transition_flag.
• Set is_WM_cheked to 0 if the WM of the input video signal is not analyzed.

図18は、入力ソースがディジタルTV放送の内蔵チューナ(ディジタルTVチューナ28)からのTS(トランスポートストリーム)の場合における、コピーコントロール処理を説明するための図である。図の中における「入力信号の状態」のE_CCIとWMは、それぞれ入力信号が持つE_CCIとWMの状態を示している。   FIG. 18 is a diagram for explaining copy control processing when the input source is a TS (transport stream) from a built-in tuner for digital TV broadcasting (digital TV tuner 28). E_CCI and WM of “input signal state” in the figure indicate the states of E_CCI and WM of the input signal, respectively.

ここでは、
・ 入力TSのE_CCIが'00'のとき、E_CCI解析・更新部30は、CCI_o=00とする。
・ 入力TSのE_CCIが'10'のとき、E_CCI解析・更新部30は、CCI_o=01とし、入力TSのE_CCIを'01'に更新する。
・ 入力TSのE_CCIが'01'または'11'のとき、入力TSを記録できない。
here,
When the E_CCI of the input TS is “00”, the E_CCI analyzing / updating unit 30 sets CCI_o = 00.
When the E_CCI of the input TS is “10”, the E_CCI analyzing / updating unit 30 sets CCI_o = 01 and updates the E_CCI of the input TS to “01”.
When the E_CCI of the input TS is “01” or “11”, the input TS cannot be recorded.

また、入力TSのWMを解析する場合において、
・ 入力TSのWMが'00'のとき、WM検出・更新部31は、WM_o=00とする。
・ 入力TSのWMが'10'のとき、WM検出・更新部31は、WM_o=101とし、入力TSのWMを'101'に更新する。
・ 入力TSのWMが'101'または'11'のとき、入力TSを記録できない。
When analyzing the WM of the input TS,
When the WM of the input TS is “00”, the WM detection / update unit 31 sets WM_o = 00.
When the WM of the input TS is “10”, the WM detection / update unit 31 sets WM_o = 101 and updates the WM of the input TS to “101”.
• When the WM of the input TS is '101' or '11', the input TS cannot be recorded.

ここで、コントローラ19は、ソースパケットヘッダのcopy_permission_indicator(c_p_I)に、CCI_oと同じ意味の値をセットする。また、コントローラ19は、source_security_info()の内容を次のようにセットする。
・ is_cognizantを1にセットする。
・ 入力ビデオ信号のWMを解析する場合は、is_WM_chekedを1にセットし、status_WMにWM_oと同じ意味の値をセットし、それ以前のWMの状態と比較して、WM_transition_flagの値を決める。
・ 入力ビデオ信号のWMを解析しない場合は、is_WM_chekedを0にセットする。
Here, the controller 19 sets a value having the same meaning as CCI_o in copy_permission_indicator (c_p_I) of the source packet header. Further, the controller 19 sets the contents of source_security_info () as follows.
Set is_cognizant to 1.
When analyzing the WM of the input video signal, set is_WM_cheked to 1, set the value of status_WM to the same meaning as WM_o, and compare with the previous WM state to determine the value of WM_transition_flag.
• Set is_WM_cheked to 0 if the WM of the input video signal is not analyzed.

図19は、入力ソースがIEEE1394経由でDTCP準拠の方式で入力されるTSであり、そのTSをCognizant記録する場合における、コピーコントロール処理を説明するための図である。図の中の「入力信号の状態」のEMI、E_CCI、WMは、それぞれ入力信号が持つEMI、E_CCI、WMの状態を示している。   FIG. 19 is a diagram for explaining a copy control process when an input source is a TS input in accordance with a DTCP-compliant system via IEEE1394 and the TS is cognizant-recorded. EMI, E_CCI, and WM of “input signal state” in the figure indicate the states of EMI, E_CCI, and WM of the input signal, respectively.

ここでは、
・ 入力TSのE_CCIが'00'のとき、E_CCI解析・更新部30は、CCI_o=00とする。
・ 入力TSのE_CCIが'10'のとき、E_CCI解析・更新部30は、CCI_o=01とし、入力TSのE_CCIを'01'に更新する。
・ 入力TSのE_CCIが'01'または'11'のとき、入力TSを記録できない。
here,
When the E_CCI of the input TS is “00”, the E_CCI analyzing / updating unit 30 sets CCI_o = 00.
When the E_CCI of the input TS is “10”, the E_CCI analyzing / updating unit 30 sets CCI_o = 01 and updates the E_CCI of the input TS to “01”.
When the E_CCI of the input TS is “01” or “11”, the input TS cannot be recorded.

また、入力TSのWMを解析する場合において、
・ 入力TSのWMが'00'のとき、WM検出・更新部31は、WM_o=00とする。
・ 入力TSのWMが'10'のとき、WM検出・更新部31は、WM_o=101とし、入力TSのWMを'101'に更新する。
・ 入力TSのWMが'101'または'11'のとき、入力TSを記録できない。
When analyzing the WM of the input TS,
When the WM of the input TS is “00”, the WM detection / update unit 31 sets WM_o = 00.
When the WM of the input TS is “10”, the WM detection / update unit 31 sets WM_o = 101 and updates the WM of the input TS to “101”.
• When the WM of the input TS is '101' or '11', the input TS cannot be recorded.

ここで、コントローラ19は、ソースパケットヘッダのcopy_permission_indicator(c_p_I)に、CCI_oと同じ意味の値をセットする。また、コントローラ19は、source_security_info()の内容を次のようにセットする。
・ is_cognizantを1にセットする。
・ 入力ビデオ信号のWMを解析する場合は、is_WM_chekedを1にセットし、status_WMにWM_oと同じ意味の値をセットし、それ以前のWMの状態と比較して、WM_transition_flagの値を決める。
・ 入力ビデオ信号のWMを解析しない場合は、is_WM_chekedを0にセットする。
Here, the controller 19 sets a value having the same meaning as CCI_o in copy_permission_indicator (c_p_I) of the source packet header. Further, the controller 19 sets the contents of source_security_info () as follows.
Set is_cognizant to 1.
When analyzing the WM of the input video signal, set is_WM_cheked to 1, set the value of status_WM to the same meaning as WM_o, and compare with the previous WM state to determine the value of WM_transition_flag.
• Set is_WM_cheked to 0 if the WM of the input video signal is not analyzed.

図20は、入力ソースがIEEE1394経由でDTCP準拠の方式で入力されるTSであり、そのTSをNon-cognizant記録する場合における、コピーコントロール処理を説明するための図である。図の中における「入力信号の状態」のEMIは、それぞれ入力信号が持つEMIの状態を示している。   FIG. 20 is a diagram for explaining a copy control process when an input source is a TS input in accordance with a DTCP-compliant system via IEEE1394 and the TS is recorded non-cognizantly. EMI of “input signal state” in the figure indicates the EMI state of the input signal.

ここでは、
・ 入力TSのEMIが'00'のとき、IEEE1394インターフェース29は、CCI_o=00とする。
・ 入力TSのEMIが'10'のとき、IEEE1394インターフェース29は、CCI_o=01とする。
・ 入力TSのEMIが'01'または'11'のとき、入力TSを記録できない。
here,
When the EMI of the input TS is “00”, the IEEE1394 interface 29 sets CCI_o = 00.
When the EMI of the input TS is “10”, the IEEE1394 interface 29 sets CCI_o = 01.
-When the EMI of the input TS is '01' or '11', the input TS cannot be recorded.

ここで、コントローラ19は、ソースパケットヘッダのcopy_permission_indicator(c_p_I)に、CCI_oと同じ意味の値をセットする。また、コントローラ19は、source_security_info()の内容を次のようにセットする。
・ is_cognizantを0にセットする。
・ is_WM_checkedを0にセットする。
Here, the controller 19 sets a value having the same meaning as CCI_o in copy_permission_indicator (c_p_I) of the source packet header. Further, the controller 19 sets the contents of source_security_info () as follows.
• Set is_cognizant to 0.
• Set is_WM_checked to 0.

図21は、入力ソースがIEEE1394経由でDTCP準拠の方式を用いないで入力されるTSであり、そのTSをCognizant記録する場合における、コピーコントロール処理を説明するための図である。図の中における「入力信号の状態」のE_CCIとWMは、それぞれ入力信号が持つE_CCIとWMの状態を示している。   FIG. 21 is a diagram for explaining copy control processing in the case where an input source is a TS that is input via IEEE1394 without using a DTCP-compliant method, and the TS is cognizant-recorded. E_CCI and WM of “input signal state” in the figure indicate the states of E_CCI and WM of the input signal, respectively.

ここでは、
・ 入力TSのE_CCIが'00'のとき、E_CCI解析・更新部30は、CCI_o=00とする。
・ 入力TSのE_CCIが'10'のとき、E_CCI解析・更新部30は、CCI_o=01とし、入力TSのE_CCIを'01'に更新する。
・ 入力TSのE_CCIが'01'または'11'のとき、入力TSを記録できない。
here,
When the E_CCI of the input TS is “00”, the E_CCI analyzing / updating unit 30 sets CCI_o = 00.
When the E_CCI of the input TS is “10”, the E_CCI analyzing / updating unit 30 sets CCI_o = 01 and updates the E_CCI of the input TS to “01”.
When the E_CCI of the input TS is “01” or “11”, the input TS cannot be recorded.

また、入力TSのWMを解析する場合において、
・ 入力TSのWMが'00'のとき、WM検出・更新部31は、WM_o=00とする。
・ 入力TSのWMが'10'のとき、WM検出・更新部31は、WM_o=101とし、入力TSのWMを'101'に更新する。
・ 入力TSのWMが'101'または'11'のとき、入力TSを記録できない。
When analyzing the WM of the input TS,
When the WM of the input TS is “00”, the WM detection / update unit 31 sets WM_o = 00.
When the WM of the input TS is “10”, the WM detection / update unit 31 sets WM_o = 101 and updates the WM of the input TS to “101”.
• When the WM of the input TS is '101' or '11', the input TS cannot be recorded.

ここで、コントローラ19は、ソースパケットヘッダのcopy_permission_indicator(c_p_I)に、CCI_oと同じ意味の値をセットする。また、コントローラ19は、source_security_info()の内容を次のようにセットする。
・ is_cognizantを1にセットする。
・ 入力ビデオ信号のWMを解析する場合は、is_WM_chekedを1にセットし、status_WMにWM_oと同じ意味の値をセットし、それ以前のWMの状態と比較して、WM_transition_flagの値を決める。
・ 入力ビデオ信号のWMを解析しない場合は、is_WM_chekedを0にセットする。
Here, the controller 19 sets a value having the same meaning as CCI_o in copy_permission_indicator (c_p_I) of the source packet header. Further, the controller 19 sets the contents of source_security_info () as follows.
Set is_cognizant to 1.
When analyzing the WM of the input video signal, set is_WM_cheked to 1, set the value of status_WM to the same meaning as WM_o, and compare with the previous WM state to determine the value of WM_transition_flag.
• Set is_WM_cheked to 0 if the WM of the input video signal is not analyzed.

図22は、入力ソースがIEEE1394経由でDTCP準拠の方式を用いないで入力されるTSであり、そのTSをNon-cognizant記録する場合における、コピーコントロール処理を説明するための図である。この場合、信用できるCCIがなく、入力TSはCopy Freeとみなして記録される。   FIG. 22 is a diagram for explaining copy control processing when an input source is a TS that is input via IEEE1394 without using a DTCP-compliant method, and the TS is recorded in a non-cognizant manner. In this case, there is no credible CCI, and the input TS is recorded as Copy Free.

ここで、コントローラ19は、ソースパケットヘッダのcopy_permission_indicator(c_p_I)に、00をセットする。また、コントローラ19は、source_security_info()の内容を次のようにセットする。
・ is_cognizantを0にセットする。
・ is_WM_checkedを0にセットする。
Here, the controller 19 sets 00 in copy_permission_indicator (c_p_I) of the source packet header. Further, the controller 19 sets the contents of source_security_info () as follows.
• Set is_cognizant to 0.
• Set is_WM_checked to 0.

図23は、本実施の形態における記録処理を説明するフローチャートである。まず、入力ソースのタイプが決定された(ステップ99)後に、入力ソースがトランスポートストリーム(TS)入力か否かが判断される(ステップ100)。入力ソースがトランスポートストリーム入力の場合はステップ101へ進み、入力ソースがビデオライン入力または内蔵アナログTVチューナ入力の場合はステップ111へ進む。   FIG. 23 is a flowchart for explaining the recording process in the present embodiment. First, after the input source type is determined (step 99), it is determined whether or not the input source is a transport stream (TS) input (step 100). If the input source is a transport stream input, the process proceeds to step 101. If the input source is a video line input or a built-in analog TV tuner input, the process proceeds to step 111.

始めに、入力ソースがトランスポートストリーム入力の場合を説明する。
ここでは、まず、入力ソースがIEEE1394入力か内蔵のディジタルTVチューナ入力かが判断される(ステップ101)。入力ソースがIEEE1394入力の場合はステップ102へ進み、入力ソースが内蔵のディジタルTVチューナ入力の場合はステップ104へ進む。
First, the case where the input source is a transport stream input will be described.
Here, it is first determined whether the input source is IEEE1394 input or built-in digital TV tuner input (step 101). If the input source is IEEE1394 input, the process proceeds to step 102, and if the input source is a built-in digital TV tuner input, the process proceeds to step 104.

ステップ101で入力ソースがIEEE1394入力の場合に、入力ソースがDTCP準拠か否かが判断される(ステップ102)。DTCP準拠である場合には、EMIの値が読み出され、EMIの処理がなされる(ステップ103)。一方、入力ソースがDTCP準拠でない場合には、EMIの値がゼロと見なされ(ステップ105)、ステップ104に移行する。   If the input source is IEEE1394 input in step 101, it is determined whether or not the input source is DTCP compliant (step 102). If it is DTCP compliant, the value of EMI is read and EMI processing is performed (step 103). On the other hand, when the input source is not DTCP compliant, the value of EMI is regarded as zero (step 105), and the process proceeds to step 104.

ステップ104で、入力TSをCognizant記録する場合はステップ106へ進み、図18、図19、図21で説明したようにE_CCIによるコピーコントロール処理が行われ、またis_cognizantは1にセットされる。一方、ステップ104で、入力TSをNon-cognizant記録する場合は、ステップ109へ進み、is_cognizantは0にセットされる。   In step 104, if the input TS is to be cognizant-recorded, the process proceeds to step 106, and the copy control processing by E_CCI is performed as described in FIGS. 18, 19, and 21, and is_cognizant is set to 1. On the other hand, when the input TS is recorded non-cognizant in step 104, the process proceeds to step 109, and is_cognizant is set to zero.

ステップ107で、入力TSのWMを解析する場合はステップ108へ進み、図18、図19、図21で説明したようにWMによるコピーコントロール処理が行われ、またis_WM_checkedは1にセットされる。一方、入力TSのWMを解析しないで記録する場合はステップ110へ進み、is_WM_checkedは0にセットされる。   In step 107, if the WM of the input TS is analyzed, the process proceeds to step 108, and the copy control process by the WM is performed as described in FIGS. 18, 19, and 21, and is_WM_checked is set to 1. On the other hand, when recording without analyzing the WM of the input TS, the process proceeds to step 110 and is_WM_checked is set to 0.

これらの処理の後、上述したようにcopy_permission_indicatorの値を決定し、入力トランスポートパケットをソースパケット化する(ステップ119)。その後、AVストリームを記録し(ステップ120)、source_security_infoを記録して(ステップ121)、処理が終了する。   After these processes, the value of copy_permission_indicator is determined as described above, and the input transport packet is converted into a source packet (step 119). Thereafter, an AV stream is recorded (step 120), source_security_info is recorded (step 121), and the process ends.

次に、ステップ100で、入力ソースがビデオライン入力または内蔵アナログTVチューナ入力の場合について説明する。ここでは、まず、is_cognizantが1にセットされ(ステップ111)、ビデオライン入力か否かが判断される(ステップ112)。入力ソースがビデオライン入力の場合はステップ113へ進み、入力ソースがアナログTVチューナ入力の場合はステップ115へ進む。ステップ113で、入力ビデオのマクロビジョンによる記録制限が行われた後、入力ビデオのCGMSによるコピーコントロール処理が図16で説明したように実行される(ステップ114)。   Next, the case where the input source is a video line input or a built-in analog TV tuner input in step 100 will be described. Here, is_cognizant is first set to 1 (step 111), and it is determined whether or not the video line is input (step 112). If the input source is a video line input, the process proceeds to step 113. If the input source is an analog TV tuner input, the process proceeds to step 115. In step 113, after the recording restriction of the input video by the macrovision is performed, the copy control process by CGMS of the input video is executed as described in FIG. 16 (step 114).

ステップ115で、入力ビデオのWMを解析する場合はステップ116へ進み、図16および図17で説明したようにWMによるコピーコントロール処理が行われ、またis_WM_checkedは1にセットされる。一方、入力ビデオのWMを解析しないで記録する場合はステップ117へ進み、is_WM_checkedは0にセットされる。   If the WM of the input video is analyzed in step 115, the process proceeds to step 116, where the copy control process by the WM is performed as described in FIGS. 16 and 17, and is_WM_checked is set to 1. On the other hand, when recording the WM of the input video without analyzing it, the process proceeds to step 117 and is_WM_checked is set to 0.

これらの処理の後、入力ビデオをMPEGエンコードして、トランスポートストリーム化する(ステップ118)。そして、上述の入力ソースがTSの場合と同様に、ステップ119、ステップ120、 およびステップ121の処理が行われる。
このようにして、記録するAVストリームのsource_security_infoの情報が作成され、AVストリームと共に記録される。
After these processes, the input video is MPEG-encoded to form a transport stream (step 118). Then, similarly to the case where the above-described input source is TS, the processes of step 119, step 120, and step 121 are performed.
In this way, source_security_info information of the AV stream to be recorded is created and recorded together with the AV stream.

次に、再生制限を行う再生装置について説明する。
図24は、本実施の形態が適用される再生装置を示したブロック図であり、AVストリームを再生するときに、そのsource_security_info()に基づいて再生制限を行っている。
Next, a playback apparatus that performs playback restriction will be described.
FIG. 24 is a block diagram showing a playback apparatus to which the present embodiment is applied. When an AV stream is played back, playback is limited based on the source_security_info ().

この再生装置には、AVストリームファイルとアプリケーションデータベース情報が記録された記録媒体51を読み込むドライブ52、復調処理を行う復調部53、ECC(誤り訂正)復号部54、デスクランブル処理を行うデスクランブラ55、ソースデパケッタイズ・分離部56、E_CCIの検査と再生制限の処理を行うコントローラ57を備えている。また、入力ストリームを復号して、ビデオとオーディオを出力するMPEG2AVデコーダ59、WMの検査と再生制限の処理を行うWM検査部61、DTCP準拠の再生制限の処理を行うDTCP準拠の処理部62、CGMSの処理を行うCGMS挿入部63、マクロビジョンの処理を行うマクロビジョン挿入部64、再生ビデオ信号が出力される端子65、オーディオ信号が出力される端子66を備える。更には、WMの検査と再生制限の処理を行うWM検査部68、およびDTCP準拠の処理を行うIEEE1394インターフェース(I/F)70を備えている。この再生装置からのトランスポートストリームは、DTCP準拠のSTB71やDTCP準拠でない外部のPC72に出力される。   This playback apparatus includes a drive 52 that reads a recording medium 51 in which an AV stream file and application database information are recorded, a demodulation unit 53 that performs demodulation processing, an ECC (error correction) decoding unit 54, and a descrambler 55 that performs descrambling processing. , A source depacketizing / separating unit 56, and a controller 57 for performing E_CCI inspection and reproduction restriction processing. Also, an MPEG2AV decoder 59 that decodes an input stream and outputs video and audio, a WM inspection unit 61 that performs WM inspection and playback restriction processing, a DTCP-compliant processing unit 62 that performs DTCP-compliant playback restriction processing, A CGMS insertion unit 63 that performs CGMS processing, a macrovision insertion unit 64 that performs macrovision processing, a terminal 65 that outputs a playback video signal, and a terminal 66 that outputs an audio signal are provided. Furthermore, a WM inspection unit 68 that performs WM inspection and playback restriction processing, and an IEEE1394 interface (I / F) 70 that performs DTCP-compliant processing are provided. The transport stream from this playback apparatus is output to STB 71 compliant with DTCP or an external PC 72 not compliant with DTCP.

まず始めに、アプリケーションデータベース情報(source_security_infoを含む)を記録媒体51から読み出し、そのデータベース情報は、復調部53、ECC(誤り訂正)復号部54の処理を経て、コントローラ57へ入力される。コントローラ57では、アプリケーションデータベースに基づいて、ディスク(記録媒体51)に記録されているPlayListの一覧がユーザインターフェース(図示せず)へ出力される。ユーザは、PlayListの一覧から再生したいPlayListを選択し、再生を指定されたPlayListがコントローラ57へ指示される。コントローラ57では、そのPlayListの再生に必要なAVストリームファイルの記録媒体51からの読み出しが行われる。そして、ドライブ52では、記録媒体51からそのAVストリームが読み出され、読み出されたAVストリームは、復調部53、ECC復号部54の処理を経て、デスクランブラ55へ供給される。デスクランブラ55では、対応するデータベース情報に基づいたデスクランブル処理が行われ、ソースパケット列がソースデパケッタイズ・分離部56へ供給される。   First, application database information (including source_security_info) is read from the recording medium 51, and the database information is input to the controller 57 through the processing of the demodulation unit 53 and the ECC (error correction) decoding unit 54. Based on the application database, the controller 57 outputs a list of PlayLists recorded on the disc (recording medium 51) to a user interface (not shown). The user selects a PlayList to be reproduced from the PlayList list, and the PlayList designated for reproduction is instructed to the controller 57. The controller 57 reads the AV stream file necessary for playing the PlayList from the recording medium 51. Then, the drive 52 reads the AV stream from the recording medium 51, and the read AV stream is supplied to the descrambler 55 through the processing of the demodulation unit 53 and the ECC decoding unit 54. The descrambler 55 performs descrambling processing based on the corresponding database information and supplies the source packet sequence to the source depacketizing / separating unit 56.

その後の処理は、最終的な再生出力がビデオ出力か、TS出力かによって異なる。
始めに、再生出力がビデオ出力である場合のソースデパケッタイズ・分離部56以降の処理を説明する。
The subsequent processing differs depending on whether the final reproduction output is a video output or a TS output.
First, processing after the source depacketizing / separating unit 56 when the reproduction output is a video output will be described.

ソースデパケッタイズ・分離部56からは、入力されるソースパケットのヘッダのcopy_permission_indicator(c_p_I)がコントローラ57へ提供される。また、ソースデパケッタイズ・分離部56では、ソースパケット列から成るAVストリームの中にsource_security_infoの情報が符号化されている場合、その情報が復号され、コントローラ57へ供給される。また、ソースデパケッタイズ・分離部56からは、ソースパケット列から成るAVストリームの中に符号化されているE_CCI (Embedded CCI)がコントローラ57へ供給される。コントローラ57では、後述するように、このE_CCIの検査と再生制限の処理が行われる。   From the source depacketizing / separating unit 56, copy_permission_indicator (c_p_I) of the header of the input source packet is provided to the controller 57. Further, in the source depacketizing / separating unit 56, when the information of source_security_info is encoded in the AV stream composed of the source packet sequence, the information is decoded and supplied to the controller 57. The source depacketizing / separating unit 56 supplies E_CCI (Embedded CCI) encoded in the AV stream formed of the source packet sequence to the controller 57. As will be described later, the controller 57 performs the E_CCI check and the reproduction restriction process.

図25は、この再生装置が再生時にE_CCIを検査して再生制限を行う処理について示している。ここでは、source_security_infoのis_cognizantが'0'の場合、それに対応するAVストリームの記録時に、E_CCI(Embedded CCI)の解析を行っていないので、再生時にE_CCIの検査と再生制限の処理が行われる。即ち、E_CCIが'00'の場合は、ビデオを再生しても良い。また、E_CCIが'10'の場合は、ビデオを再生しても良いが、CCIを'01'に更新する。E_CCIが'11'または'01'であった場合は、不正に記録されていることになるので、ビデオの再生が中止される。   FIG. 25 shows a process in which this playback apparatus checks E_CCI at the time of playback and performs playback restriction. Here, if is_cognizant of source_security_info is “0”, E_CCI (Embedded CCI) analysis is not performed when recording the corresponding AV stream, so that E_CCI inspection and playback restriction processing are performed during playback. That is, when E_CCI is “00”, video may be played back. When E_CCI is “10”, the video may be reproduced, but the CCI is updated to “01”. If E_CCI is '11' or '01', it means that the video has been recorded illegally, and the video playback is stopped.

また、ソースデパケッタイズ・分離部56では、ソースパケット列からMPEGビデオストリームとオーディオストリームとが分離され、それらストリームがMPEG2AVデコーダ59へ供給される。MPEG2AVデコーダ59からは、入力ストリームが復号され、ビデオとオーディオが出力される。   In the source depacketizing / separating unit 56, the MPEG video stream and the audio stream are separated from the source packet sequence, and these streams are supplied to the MPEG2 AV decoder 59. The MPEG2AV decoder 59 decodes the input stream and outputs video and audio.

次に、MPEG2AVデコーダ59からのビデオ信号は、WM検査部61へ入力されて、WMの検査と再生制限の処理が行われる。
図26は、WM検査部61が行う処理について説明するための図である。ここでは、source_security_infoのis_cognizantが'0'の場合、それに対応するAVストリームの記録時に、WMの解析を行っていないので、再生時にWMの検査と再生制限の処理が行われる。即ち、WMが'00'の場合は、AVストリームの再生をしても良い。また、WMが'10'の場合は、ビデオの再生をしても良いが、WMを'101'に更新する。WMが'101'または'11'であった場合は、不正に記録されていることになるので、AVストリームの再生を中止する。尚、例えばアナログTV放送にてウォーターマークが導入されないような場合には、source_security_infoのsource_typeがアナログTVのチューナ入力を示す場合、WM検査部61では何ら処理をしなくても構わない。
Next, the video signal from the MPEG2 AV decoder 59 is input to the WM inspection unit 61, where WM inspection and playback restriction processing are performed.
FIG. 26 is a diagram for explaining the process performed by the WM inspection unit 61. Here, when is_cognizant of source_security_info is “0”, the WM is not analyzed when recording the corresponding AV stream, so the WM is inspected and the reproduction restriction process is performed during reproduction. That is, when the WM is “00”, the AV stream may be reproduced. When the WM is “10”, the video may be reproduced, but the WM is updated to “101”. If the WM is '101' or '11', it means that it has been recorded illegally, so the AV stream playback is stopped. For example, when a watermark is not introduced in an analog TV broadcast, the WM inspection unit 61 may not perform any processing when the source_type of the source_security_info indicates an analog TV tuner input.

WM検査部61からのビデオ信号は、DTCP準拠の処理部62へ入力される。source_security_infoのsource_typeがDTCP準拠のソースであることを示す場合、DTCP準拠の処理部62では、DTCP準拠の再生制限の処理が行われる。例えば、source_typeがDTCP準拠のソースである場合、トランスポートストリームの中におけるDTCP descriptorのCCIが'01'(No more copy)である場合、DTLAの規定に従えば、アナログビデオ再生にHDTV(High Definition Television:高精細度テレビジョン)の解像度で出力してはいけない。よって、この場合に、DTCP準拠の処理部62では、HDTVのビデオが入力されたとき、ビデオをSDTV(Standard Definition Television:標準画像テレビ)の解像度にダウンサンプルして出力する処理が行われる。   The video signal from the WM inspection unit 61 is input to the DTCP-compliant processing unit 62. When the source_type of source_security_info indicates that the source is DTCP compliant, the DTCP compliant processing unit 62 performs DTCP compliant reproduction restriction processing. For example, when the source_type is a DTCP-compliant source, and the CCI of the DTCP descriptor in the transport stream is “01” (No more copy), HDTV (High Definition) is used for analog video playback according to the DTLA regulations. Television: Do not output in high definition (TV) resolution. Therefore, in this case, when an HDTV video is input, the DTCP-compliant processing unit 62 performs a process of down-sampling the video to the resolution of SDTV (Standard Definition Television) and outputting it.

このDTCP準拠の処理部62からのビデオ信号は、CGMS挿入部63へ入力されて、CGMSの処理が行われる。このCGMS挿入部63からのビデオ信号は、マクロビジョン挿入部64へ入力されて、マクロビジョンの処理が行われる。その後、マクロビジョン挿入部64から再生ビデオ信号が出力される。   The video signal from the DTCP-compliant processing unit 62 is input to the CGMS insertion unit 63, and CGMS processing is performed. The video signal from the CGMS insertion unit 63 is input to the macrovision insertion unit 64 to perform macrovision processing. Thereafter, a playback video signal is output from the macrovision insertion unit 64.

次に、再生出力がTS出力である場合のソースデパケッタイズ・分離部56以降の処理を説明する。   Next, processing after the source depacketizing / separating unit 56 when the reproduction output is the TS output will be described.

ソースデパケッタイズ・分離部56からは、入力されるソースパケットのヘッダのcopy_permission_indicator (c_p_I)がコントローラ57へ提供される。また、ソースデパケッタイズ・分離部56では、ソースパケット列から成るAVストリームの中にsource_security_infoの情報が符号化されている場合、その情報が復号されて、コントローラ57へ供給される。また、ソースデパケッタイズ・分離部56からは、ソースパケット列から成るAVストリームの中に符号化されているE_CCI(Embedded CCI)がコントローラ57へ供給される。また、ソースデパケッタイズ・分離部56では、ソースパケット列からトランスポートストリームが分離されて、これがWM検査部68へ供給される。   The source depacketizing / separating unit 56 provides a copy_permission_indicator (c_p_I) of the header of the input source packet to the controller 57. Further, in the source depacketizing / separating unit 56, when the information of source_security_info is encoded in the AV stream composed of the source packet sequence, the information is decoded and supplied to the controller 57. The source depacketizing / separating unit 56 supplies E_CCI (Embedded CCI) encoded in the AV stream formed of the source packet sequence to the controller 57. In the source depacketizing / separating unit 56, the transport stream is separated from the source packet sequence and supplied to the WM inspection unit 68.

ソースデパケッタイズ・分離部56からのトランスポートストリームは、WM検査部68へ入力されて、WMの検査と再生制限の処理が行われる。WM検査部68にて行われる処理は、上述した図26の説明と同様である。次に、このWM検査部68からのトランスポートストリームは、IEEE1394インターフェース70へ入力される。   The transport stream from the source depacketizing / separating unit 56 is input to the WM inspection unit 68, where WM inspection and playback restriction processing are performed. The processing performed by the WM inspection unit 68 is the same as that described above with reference to FIG. Next, the transport stream from the WM inspection unit 68 is input to the IEEE1394 interface 70.

source_security_infoのsource_typeがDTCP準拠のソースであることを示す場合、DTCP準拠の方法でトランスポートストリームを出力しなければならない。トランスポートストリームをDTCP準拠の方法でSTB71へ出力する場合、IEEE1394インターフェース70では所定のDTCP準拠の処理が行われる。source_security_infoのsource_typeがDTCP準拠のソースでないことを示す場合、トランスポートストリームをDTCP準拠でない外部のPC72へ出力することも可能である。   When the source_type of source_security_info indicates that the source is DTCP compliant, the transport stream must be output in a DTCP compliant method. When the transport stream is output to the STB 71 by a DTCP compliant method, the IEEE 1394 interface 70 performs a predetermined DTCP compliant process. When the source_type of source_security_info indicates that the source is not DTCP compliant, the transport stream can be output to an external PC 72 that is not DTCP compliant.

図27は、AVストリームを再生するときに、そのsource_security_info()に基づいて再生制限を行う処理を示したフローチャートである。再生処理では、まず、Source_security_infoが読み出され(ステップ200)、Source_security_infoに対応するAVストリームファイルが読み出される(ステップ201)。このAVストリームファイルのソースパケット列からトランスポートストリームが分離され、また、ソースパケットのヘッダにあるcopy_permission_indicatorが受信される(ステップ202)。尚、AVストリームの中にSource_security_infoが符号化されている場合は、このステップでSource_security_infoが読み出される。   FIG. 27 is a flowchart showing processing for restricting playback based on source_security_info () when playing back an AV stream. In the reproduction process, first, Source_security_info is read (step 200), and an AV stream file corresponding to Source_security_info is read (step 201). The transport stream is separated from the source packet sequence of the AV stream file, and copy_permission_indicator in the header of the source packet is received (step 202). If Source_security_info is encoded in the AV stream, Source_security_info is read at this step.

次に、ビデオ出力の再生かTS出力の再生かが判断され(ステップ203)、ビデオ出力の再生である場合には、ステップ211へ進み、TS出力の再生の場合には、ステップ204へ進む。   Next, it is determined whether the video output or TS output is reproduced (step 203). If the video output is reproduced, the process proceeds to step 211. If the TS output is reproduced, the process proceeds to step 204.

まず始めに、TS出力の再生の場合について説明する。TS出力の再生の場合、ステップ204で、is_cognizantが1の場合はステップ205へ進み、is_cognizantが0の場合はステップ207へ進む。ステップ205では、is_WM_checkedが0の場合はステップ206へ進み、is_WM_checkedが1の場合はステップ207へ進む。このステップ206では、前述した図26の説明のように、WMの検査と再生制限が行われる。   First, the case of reproducing TS output will be described. In the case of TS output reproduction, in step 204, if is_cognizant is 1, the process proceeds to step 205, and if is_cognizant is 0, the process proceeds to step 207. In step 205, if is_WM_checked is 0, the process proceeds to step 206. If is_WM_checked is 1, the process proceeds to step 207. In this step 206, WM inspection and playback restriction are performed as described above with reference to FIG.

ステップ207で、Source_security_infoのsource_typeがDTCP準拠の入力ソースであることを示す場合、ステップ208へ進み、そうでない場合は、ステップ210へ進む。DTCP準拠の場合、EMIにcopy_permission_indicatorの値がセットされ(ステップ208)、DTCPのルールの従ったTS出力の処理(例えばスクランブル処理等)が行われる(ステップ209)。そして、TSがIEEE1394へアイソクロナス伝送されて(ステップ210)、処理が終了する。   If it is determined in step 207 that the source_type of Source_security_info is an input source that conforms to DTCP, the process proceeds to step 208; otherwise, the process proceeds to step 210. In the case of DTCP compliance, the value of copy_permission_indicator is set in EMI (step 208), and TS output processing (for example, scramble processing, etc.) according to the DTCP rule is performed (step 209). Then, the TS is isochronously transmitted to IEEE1394 (step 210), and the process ends.

次に、ステップ203にて、ビデオ出力の再生の場合について説明する。ビデオ出力の再生の場合には、まず、トランスポートストリームがデコードされて、ビデオとオーディオ信号が取り出される(ステップ211)。その後、ステップ212で、is_cognizantがゼロの場合、ステップ213へ進み、is_cognizantが1の場合、ステップ214へ進む。ステップ213では、図25で説明したように、E_CCIの検査と再生制限が行われる。   Next, the case of reproducing video output in step 203 will be described. In the case of reproduction of video output, first, the transport stream is decoded, and video and audio signals are extracted (step 211). Thereafter, in step 212, if is_cognizant is zero, the process proceeds to step 213. If is_cognizant is 1, the process proceeds to step 214. In step 213, as described with reference to FIG. 25, E_CCI is checked and playback is restricted.

ステップ214で、is_WM_checkedが0の場合、ステップ215へ進み、is_WM_checkedが1の場合、ステップ216へ進む。このステップ215では、図26で説明したようにWMの検査と再生制限が行われる。   In step 214, if is_WM_checked is 0, the process proceeds to step 215. If is_WM_checked is 1, the process proceeds to step 216. In step 215, WM inspection and playback restriction are performed as described with reference to FIG.

ステップ216で、Source_security_infoのsource_typeがDTCP準拠の入力ソースであることを示す場合、ステップ217へ進み、そうでない場合はステップ218へ進む。このステップ217で、DTCPのルールに従ったビデオ出力の再生制限の処理(例えば、ライン数500本以内に制限する等の処理)を行う。ここでは、図24の再生装置におけるDTCP準拠の処理部62にて、前述した処理が行われる。   In step 216, if the source_type of Source_security_info indicates that it is a DTCP-compliant input source, the process proceeds to step 217. Otherwise, the process proceeds to step 218. In this step 217, video output reproduction restriction processing (for example, processing such as limiting the number of lines to 500 or less) in accordance with the DTCP rules is performed. Here, the processing described above is performed in the DTCP-compliant processing unit 62 in the playback apparatus of FIG.

次に、ビデオへのCGMS挿入の処理が行われる(ステップ218)。もしも、ステップ213でCCIを更新した場合、またはステップ215でWMを更新した場合、更新された最新のCCIを表すようにCGMSがセットされる。CCIとWMの状態が異なる場合、どちらを優先するかはアプリケーションによって決められる。その後、所定の方法により、ビデオ信号にマクロビジョンが挿入される(ステップ219)。例えば、AVストリームファイルの中におけるDTCP_descriptorのAPSに符号化されているマクロビジョンの指示情報に従って、ビデオ信号にマクロビジョンが挿入される。そして、ビデオ出力がなされ(ステップ220)、処理が終了する。このようにして、記録されているAVストリームがSource_security_infoに基づいて適切に再生される。   Next, processing for inserting CGMS into the video is performed (step 218). If the CCI is updated in step 213 or the WM is updated in step 215, CGMS is set to represent the updated latest CCI. If the CCI and WM states are different, it is determined by the application which is prioritized. Thereafter, the macrovision is inserted into the video signal by a predetermined method (step 219). For example, the macrovision is inserted into the video signal in accordance with the macrovision instruction information encoded in the DTCP_descriptor APS in the AV stream file. Then, video output is performed (step 220), and the process ends. In this way, the recorded AV stream is appropriately reproduced based on Source_security_info.

このように、本実施の形態では、AVストリームと共に、その入力ソースの種類,Cognizant記録かNon-cognizant記録かの情報、記録時にウォーターマーク(Water mark)を解析して記録したかどうかの情報の少なくとも一つを持つsource_security_info()を記録することにより、そのAVストリームを再生する際に、適切な再生制限を行うことができる。   As described above, in the present embodiment, the AV stream, the type of the input source, information on whether Cognizant recording or non-cognizant recording, information on whether or not the watermark has been analyzed and recorded at the time of recording are recorded. By recording source_security_info () having at least one, it is possible to perform appropriate playback restrictions when playing back the AV stream.

例えば、ディジタルTV放送などのトランスポートストリームを記録する場合、記録装置内蔵のディジタルTVチューナからのトランスポートストリームを入力ソースとするか、または、外部のセットトップボックスからIEEE1394経由で入力されるトランスポートストリームを入力ソースとするかの2通りの方法がある。前者の方法は、DTCP方式を使用しなくても良く、前者の方法で記録したストリームを再生する時は、DTCP方式に準拠した再生制限を行う必要がない。一方、後者の方法は、少なくとも日本のBSディジタル放送の場合、DTCP準拠の方法を用いて記録しなければならない。よって、後者の方法で記録したストリームを再生する時は、DTCP方式に準拠した再生制限を行わなければならない。かかる場合に、Source_security_infoのsource_typeを参照することにより、適切な再生制限を行うことができる。   For example, when recording a transport stream such as a digital TV broadcast, a transport stream from a digital TV tuner built in the recording device is used as an input source, or a transport is input from an external set top box via IEEE1394. There are two ways to use a stream as an input source. The former method does not need to use the DTCP method, and when reproducing the stream recorded by the former method, it is not necessary to perform the reproduction restriction based on the DTCP method. On the other hand, the latter method must be recorded using a DTCP-compliant method at least in the case of Japanese BS digital broadcasting. Therefore, when a stream recorded by the latter method is played back, playback restrictions based on the DTCP method must be performed. In such a case, appropriate playback restriction can be performed by referring to the source_type of Source_security_info.

また、現在、ウォーターマークは、まず、DVDビデオに導入されることが検討されている。これは、DVDビデオプレーヤからのアナログビデオ出力が不正に録画されることを防止することを目的としている。一方、録画が基本的には自由なアナログTV放送にはウォーターマークが導入されない可能性がある。かかる場合、アナログビデオのライン入力がセルフエンコードされて記録されたMPEGストリームは、入力ソースがDVDビデオ出力の可能性があるので、そのMPEGストリームの再生時に、ウォーターマークをチェックして再生制限を行うことが要求される。一方、アナログTV放送がセルフエンコードされて記録されたMPEGストリームは、そのMPEGストリームの再生時に、ウォーターマークをチェックする必要がないだろう、と予想される。この場合に、Source_security_infoのsource_typeを参照することにより、適切な再生制限を行うことができる。   At present, it is considered that the watermark is first introduced into the DVD video. This is intended to prevent the analog video output from the DVD video player from being illegally recorded. On the other hand, there is a possibility that a watermark is not introduced into an analog TV broadcast that is basically free to record. In such a case, since an MPEG stream recorded by analog video line input being self-encoded may be a DVD video output, the watermark is checked during playback of the MPEG stream to restrict playback. Is required. On the other hand, it is expected that an MPEG stream in which an analog TV broadcast is recorded by self-encoding will not need to check a watermark when the MPEG stream is reproduced. In this case, appropriate playback restriction can be performed by referring to the source_type of Source_security_info.

更に、DTCP準拠の方式でトランスポートストリームを記録する場合、Cognizant記録モードとNon-cognizant記録モードがある。Cognizant記録モードで記録されたトランスポートストリームを復号してアナログビデオ再生するときは、トランスポートストリームのEmbedded CCIとウォーターマークをチェックする必要はない。一方、Non-cognizant記録モードで記録されたトランスポートストリームを復号してアナログビデオ再生するときは、トランスポートストリームのEmbedded CCIとウォーターマークをチェックする必要がある。この場合に、Source_security_infoのsource_type、is_cognizantおよびis_WM_checkedを参照することにより、適切な再生制限を行うことができる。   Furthermore, when a transport stream is recorded by a DTCP compliant method, there are a Cognizant recording mode and a non-cognizant recording mode. When decoding a transport stream recorded in the Cognizant recording mode and playing analog video, it is not necessary to check the embedded CCI and watermark of the transport stream. On the other hand, when the transport stream recorded in the non-cognizant recording mode is decoded and reproduced in analog video, it is necessary to check the embedded CCI and watermark of the transport stream. In this case, appropriate playback restriction can be performed by referring to source_type, is_cognizant, and is_WM_checked of Source_security_info.

また更に、AVストリームの記録時にウォーターマークのチェックをして記録した場合は、そのAVストリームの再生時にウォーターマークのチェックを行う必要がない。逆に、AVストリームの記録時にウォーターマークのチェックを行わないで記録した場合は、そのAVストリームの再生時にウォーターマークのチェックを行う必要がある。かかる場合に、Source_security_infoのis_WM_checkedを参照することにより、適切な再生制限を行うことができる。   Furthermore, if the watermark is checked during recording of the AV stream, the watermark need not be checked during playback of the AV stream. On the other hand, when recording is performed without checking the watermark when recording the AV stream, it is necessary to check the watermark when reproducing the AV stream. In such a case, appropriate reproduction restriction can be performed by referring to is_WM_checked of Source_security_info.

そして、Source_security_infoにIntegrity_Check_Valueを付加して記録するか、またはSource_security_infoをスクランブルして記録するので、Source_security_infoの情報が改竄されることがないように、セキュアに管理することができる。   Then, since Integrity_Check_Value is added to Source_security_info and recorded, or Source_security_info is scrambled and recorded, it can be managed securely so that the information of Source_security_info is not falsified.

更には、Source_security_infoにstatus_WMを記録することにより、AVストリームの再生時にそのウォーターマークの示す状態を知りたいときに、AVストリームを解析する必要がない。そのため、記録媒体上のあるAVストリーム別の記録媒体にコピーしたいとき、AVストリームに埋め込まれているウォーターマークを解析することなしに、status_WMを参照することによって、コピーの可否を判断できる。また、WM_transition_flagは、AVストリームの中にてWMの変化点の検索処理を行う際に、その処理の高速化に役立てることができる。   Furthermore, by recording status_WM in Source_security_info, it is not necessary to analyze the AV stream when it is desired to know the state indicated by the watermark during playback of the AV stream. Therefore, when copying to a recording medium for another AV stream on the recording medium, it is possible to determine whether copying is possible by referring to status_WM without analyzing the watermark embedded in the AV stream. Further, WM_transition_flag can be used for speeding up the processing when searching for a WM change point in an AV stream.

尚、本実施の形態では、ディジタルコンテンツの保護機能に関するルールに準拠したものとして、所謂5Cと呼ばれるDTCP(Digital Transmission Content Protection)に準拠したものを挙げている。しかしながら、本実施の形態の趣旨を逸脱しない限り、ディジタルコンテンツの保護機能に関する他のルールに対しても適用できることは言うまでもない。   In the present embodiment, an example conforming to the so-called 5C DTCP (Digital Transmission Content Protection) is cited as an example conforming to the rule regarding the digital content protection function. However, it goes without saying that the present invention can also be applied to other rules concerning the digital content protection function without departing from the spirit of the present embodiment.

また、本実施の形態にて説明した各処理は、情報記録装置、情報再生装置等のコンピュータ装置において実行されるプログラムとして提供することができる。このプログラムは、CD−ROM等の記憶媒体として提供されて、コンピュータ装置におけるCD−ROMドライブ等の読取手段によって読取可能に構成されている場合の他、例えば、ネットワークを介して遠隔地にあるプログラム伝送装置から提供され、コンピュータ装置にインストールされても良い。また、本実施の形態では、記憶媒体としてDVRを例に挙げて説明してきたが、同様のデータフォーマットを有する記憶媒体等、他の記憶媒体に対して適用できることは言うまでもない。   In addition, each process described in the present embodiment can be provided as a program executed in a computer apparatus such as an information recording apparatus or an information reproducing apparatus. This program is provided as a storage medium such as a CD-ROM and is configured to be readable by reading means such as a CD-ROM drive in a computer device. For example, the program is located remotely via a network. It may be provided from a transmission device and installed in a computer device. In this embodiment, the DVR has been described as an example of the storage medium, but it goes without saying that the present invention can be applied to other storage media such as a storage medium having the same data format.

本実施の形態の情報記録装置、情報再生装置等で用いられる記録媒体上のアプリケーションフォーマットの構造を示した図である。It is the figure which showed the structure of the application format on the recording medium used with the information recording device of this Embodiment, an information reproduction apparatus, etc. DVRディスク上に作られるディレクトリ構造の一例を示した図である。It is the figure which showed an example of the directory structure created on a DVR disk. AVストリームファイルの構造を示した図である。It is the figure which showed the structure of AV stream file. ソースパケット(source packet)のプログラミング構文であるシンタクス(Syntax)を示した図である。It is the figure which showed syntax (Syntax) which is the programming syntax of a source packet. TP_extra_header()のシンタクスを示した図である。It is the figure which showed the syntax of TP_extra_header (). copy_permission_indicatorの値とそれらによって指定されるモードの関係を示した図である。It is the figure which showed the relationship between the value of copy_permission_indicator and the mode designated by them. Clip Information fileのシンタクスを示した図である。It is the figure which showed the syntax of Clip Information file. ClipInfo()のシンタクスを示した図である。It is the figure which showed the syntax of ClipInfo (). ClipInfo()の中のsource_security_info()のシンタクスを示した図である。It is the figure which showed the syntax of source_security_info () in ClipInfo (). source_type値の意味を示した図である。It is the figure which showed the meaning of the source_type value. source_typeの意味の別の例を示した図である。It is the figure which showed another example of the meaning of source_type. source_security_info()のシンタクスにおける別の例を示した図である。It is the figure which showed another example in the syntax of source_security_info (). status_WMの意味の例を示した図である。It is the figure which showed the example of the meaning of status_WM. WM_transition_flagの意味を示した図である。It is the figure which showed the meaning of WM_transition_flag. 本実施の形態が適用される記録装置の構成を示したブロック図である。1 is a block diagram showing a configuration of a recording apparatus to which the present embodiment is applied. 入力ソースがビデオのライン入力の場合におけるコピーコントロール処理について説明した図である。It is a figure explaining the copy control process in case the input source is a video line input. 入力ソースが記録装置に内蔵のアナログTVチューナからのビデオ入力の場合におけるコピーコントロール処理を説明した図である。It is a figure explaining the copy control process in case the input source is the video input from the analog TV tuner built in the recording device. 入力ソースがディジタルTV放送の内蔵チューナからのTSの場合における、コピーコントロール処理を説明するための図である。It is a figure for demonstrating a copy control process in case the input source is TS from the built-in tuner of digital TV broadcasting. 入力ソースがIEEE1394経由でDTCP準拠の方式で入力されるTSであり、そのTSをCognizant記録する場合における、コピーコントロール処理を説明するための図である。It is a figure for demonstrating a copy control process in case the input source is TS input by the system based on DTCP via IEEE1394, and the TS is cognizant-recorded. 入力ソースがIEEE1394経由でDTCP準拠の方式で入力されるTSであり、そのTSをNon-cognizant記録する場合における、コピーコントロール処理を説明するための図である。It is a figure for demonstrating a copy control process in case the input source is TS input by the system based on DTCP via IEEE1394, and the TS is non-cognizant-recorded. 入力ソースがIEEE1394経由でDTCP準拠の方式を用いないで入力されるTSであり、そのTSをCognizant記録する場合における、コピーコントロール処理を説明するための図である。It is a figure for demonstrating a copy control process in case the input source is TS input via IEEE1394 without using a DTCP compliant system, and the TS is cognizant recorded. 入力ソースがIEEE1394経由でDTCP準拠の方式を用いないで入力されるTSであり、そのTSをNon-cognizant記録する場合における、コピーコントロール処理を説明するための図である。It is a figure for demonstrating a copy control process in case the input source is TS input via IEEE1394 without using a system based on DTCP, and the TS is recorded non-cognizantly. 本実施の形態における記録処理を説明するフローチャートである。It is a flowchart explaining the recording process in this Embodiment. 本実施の形態が適用される再生装置を示したブロック図である。It is the block diagram which showed the reproducing | regenerating apparatus with which this Embodiment is applied. 再生装置が再生時にE_CCIを検査して再生制限を行う処理について示した図である。FIG. 10 is a diagram illustrating a process in which a playback device performs playback restriction by examining E_CCI during playback. WM検査部が行う処理について説明するための図である。It is a figure for demonstrating the process which a WM test | inspection part performs. AVストリームを再生するときに、そのsource_security_info()に基づいて再生制限を行う処理を示したフローチャートである。It is the flowchart which showed the process which performs a reproduction | regeneration restriction | limiting based on the source_security_info () when reproducing | regenerating AV stream.

符号の説明Explanation of symbols

10…端子、11…TVチューナ、12…端子、13…マクロビジョン検出部、14…CGMS検出・更新部、15…WM(Water Mark)検出・更新部、16…MPEG2AVエンコーダ、17…多重化・ソースパケット化部、18…ストリーム解析部、19…コントローラ、20…スクランブラ、21…ECC(誤り訂正)符号化部、23…ドライブ、24…記録媒体、25…端子、26…セットトップボックス(STB)、27…PC、28…ディジタルTVチューナ、29…IEEE1394インターフェース(I/F)、30…E_CCI解析・更新部、31…WM検出・更新部、32…端子、51…記録媒体、52…ドライブ、54…ECC(誤り訂正)復号部、55…デスクランブラ、56…ソースデパケッタイズ・分離部、57…コントローラ、59…MPEG2AVデコーダ、61…WM検査部、62…DTCP準拠の処理部、63…CGMS挿入部、64…マクロビジョン挿入部、68…WM検査部、70…IEEE1394インターフェース(I/F)、71…STB、72…PC DESCRIPTION OF SYMBOLS 10 ... Terminal, 11 ... TV tuner, 12 ... Terminal, 13 ... Macrovision detection part, 14 ... CGMS detection / update part, 15 ... WM (Water Mark) detection / update part, 16 ... MPEG2AV encoder, 17 ... Multiplexing / Source packetization unit, 18 ... stream analysis unit, 19 ... controller, 20 ... scrambler, 21 ... ECC (error correction) encoding unit, 23 ... drive, 24 ... recording medium, 25 ... terminal, 26 ... set top box ( STB), 27 ... PC, 28 ... digital TV tuner, 29 ... IEEE1394 interface (I / F), 30 ... E_CCI analysis / update unit, 31 ... WM detection / update unit, 32 ... terminal, 51 ... recording medium, 52 ... Drive, 54 ... ECC (error correction) decoding unit, 55 ... Descrambler, 56 ... Source depacketizing / separating unit, 57 ... Controller, 59 ... MPE 2 AV decoder, 61 ... WM inspection unit, 62 ... DTCP compliant processing unit, 63 ... CGMS insertion unit, 64 ... macrovision insertion unit, 68 ... WM inspection unit, 70 ... IEEE1394 interface (I / F), 71 ... STB, 72 ... PC

Claims (4)

記録装置の入力手段により入力されたAVデータと当該入力手段に応じた値とが当該記録装置により記録された記録媒体を再生する再生装置であって、
前記AVデータについてディジタル出力を行うか、又はアナログ出力を行うか、を判断する判断手段と、
前記判断手段によりアナログ出力を行うと判断した場合に、前記入力手段に応じた値を取得する取得手段と、
前記取得手段により取得した前記入力手段に応じた値に基づき、前記アナログ出力における出力制限を行う出力制限手段と
を備えることを特徴とする再生装置。
A playback device for playing back a recording medium in which AV data input by an input unit of a recording device and a value corresponding to the input unit are recorded by the recording device,
Determination means for determining whether to perform digital output or analog output for the AV data;
An acquisition means for acquiring a value corresponding to the input means when the determination means determines to perform analog output;
An output limiting unit configured to limit output in the analog output based on a value corresponding to the input unit acquired by the acquiring unit.
記録装置の入力手段により入力されたAVデータと当該入力手段に応じた値とが当該記録装置により記録された記録媒体を再生する再生方法であって、
前記AVデータについてディジタル出力を行うか、又はアナログ出力を行うか、を判断する判断ステップと
前記判断ステップによりアナログ出力を行うと判断した場合に、前記入力手段に応じた値を取得する取得ステップと、
前記取得ステップにより取得した前記入力手段に応じた値に基づき、前記アナログ出力における出力制限を行う出力制限ステップと
を備えることを特徴とする再生方法。
A playback method for playing back a recording medium recorded by the recording device in which AV data input by the input unit of the recording device and a value corresponding to the input unit are recorded.
A determination step of determining whether to perform digital output or analog output for the AV data; and an acquisition step of acquiring a value corresponding to the input means when it is determined that analog output is to be performed by the determination step; ,
An output limiting step for limiting output in the analog output based on a value corresponding to the input means acquired in the acquiring step.
所定の入力ソースからストリームを入力する入力手段と、
前記ストリームの、アナログ出力の制限のために用いられ、かつ、前記入力手段に対応した値を当該ストリームと共に記録媒体に記録する記録手段と
を備えたことを特徴とする情報記録装置。
Input means for inputting a stream from a predetermined input source;
An information recording apparatus comprising: a recording unit that is used for limiting an analog output of the stream and records a value corresponding to the input unit on a recording medium together with the stream.
所定の入力ソースからストリームを入力する入力ステップと、
前記ストリームの、アナログ出力の制限のために用いられ、かつ、前記入力手段に対応した値を当該ストリームと共に記録媒体に記録する記録ステップと
を備えたことを特徴とする情報記録方法。
An input step of inputting a stream from a predetermined input source;
An information recording method comprising: a recording step which is used for limiting analog output of the stream and which records a value corresponding to the input means on a recording medium together with the stream.
JP2006101490A 2006-04-03 2006-04-03 Playback apparatus and playback method Expired - Fee Related JP4207052B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006101490A JP4207052B2 (en) 2006-04-03 2006-04-03 Playback apparatus and playback method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006101490A JP4207052B2 (en) 2006-04-03 2006-04-03 Playback apparatus and playback method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001249680A Division JP3832289B2 (en) 2001-08-20 2001-08-20 Information recording apparatus, video signal output apparatus, stream output method, program, recording medium, and data structure

Publications (2)

Publication Number Publication Date
JP2006190478A true JP2006190478A (en) 2006-07-20
JP4207052B2 JP4207052B2 (en) 2009-01-14

Family

ID=36797486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006101490A Expired - Fee Related JP4207052B2 (en) 2006-04-03 2006-04-03 Playback apparatus and playback method

Country Status (1)

Country Link
JP (1) JP4207052B2 (en)

Also Published As

Publication number Publication date
JP4207052B2 (en) 2009-01-14

Similar Documents

Publication Publication Date Title
US7508940B2 (en) Video information recording apparatus and method, video information reproducing apparatus and method, recording medium, and program
KR100886055B1 (en) Video signal recording apparatus, video reproduction apparatus, and recording medium
US7668436B2 (en) Video information recording device and reproducing device
JP3832289B2 (en) Information recording apparatus, video signal output apparatus, stream output method, program, recording medium, and data structure
US20160328174A1 (en) Information processing device, information recording medium, information processing system, information processing method, and program
JP4333091B2 (en) VIDEO INFORMATION RECORDING DEVICE, RECORDING METHOD, STORAGE MEDIUM, PROGRAM, AND VIDEO INFORMATION RECORDING METHOD
US20120008921A1 (en) Information processing apparatus, information processing method, and program
US8391118B2 (en) Information processing apparatus, information processing method, and program
US8305860B2 (en) Information processing device, information processing method, and program
CN110663250B (en) Information processing apparatus, information recording medium, and information processing method
US20060262710A1 (en) Recording medium, and method and apparatus for reproducing data from the recording medium
JP4207052B2 (en) Playback apparatus and playback method
JP4701671B2 (en) Video signal processing apparatus and method, program, and data structure
JP4353097B2 (en) Video signal recording apparatus and method, video signal reproducing apparatus and method, program recording medium, program, data recording medium, and data structure

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071127

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080520

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080722

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080924

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081007

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

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131031

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees