JP2007294104A - Information medium for recording stream data, recording method, reproducing method, and reproducing device - Google Patents

Information medium for recording stream data, recording method, reproducing method, and reproducing device Download PDF

Info

Publication number
JP2007294104A
JP2007294104A JP2007166897A JP2007166897A JP2007294104A JP 2007294104 A JP2007294104 A JP 2007294104A JP 2007166897 A JP2007166897 A JP 2007166897A JP 2007166897 A JP2007166897 A JP 2007166897A JP 2007294104 A JP2007294104 A JP 2007294104A
Authority
JP
Japan
Prior art keywords
stream
data
information
packet
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.)
Withdrawn
Application number
JP2007166897A
Other languages
Japanese (ja)
Inventor
Hideo Ando
秀夫 安東
Kazuyuki Uyama
和之 宇山
Yuji Ito
雄司 伊藤
Shinichi Kikuchi
伸一 菊地
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Toshiba Development and Engineering Corp
Original Assignee
Toshiba Corp
Toshiba Digital Media Engineering Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba Digital Media Engineering Corp filed Critical Toshiba Corp
Priority to JP2007166897A priority Critical patent/JP2007294104A/en
Publication of JP2007294104A publication Critical patent/JP2007294104A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information medium in which stream data are efficiently recorded and managed, a recording method, a reproducing method, and a reproducing device. <P>SOLUTION: The medium has a data area in which stream data including I-picture information of MPEG are recorded using a stream packet and a management area in which management information concerning the stream data is recorded, wherein a boundary of the I-picture information and information being adjacent to the I-picture information is indicated by start time information (SOB_S_APAT) of a part corresponding to the boundary or its finish time information (SOB_E_APAT) out of the stream data. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

この発明は、デジタル放送などで伝送される映像データあるいはパケット構造をもって伝送されるストリームデータを記録する方法、この記録方法に適したストリームデータのデータ構造、およびこのデータ構造を用いて情報記録がなされる情報媒体に関する。   The present invention relates to a method for recording video data transmitted by digital broadcasting or the like or stream data transmitted with a packet structure, a data structure of stream data suitable for this recording method, and information recording using this data structure. It relates to information media.

近年、TV放送はデジタル放送の時代に突入してきた。それに伴い、デジタルTV放送のデジタルデータをその内容を問わずデジタルデータのままで保存する装置、いわゆるストリーマが要望されるようになってきた。   In recent years, TV broadcasting has entered the era of digital broadcasting. Along with this, there has been a demand for an apparatus for storing digital TV broadcast digital data as it is regardless of the content, so-called streamer.

現在放送されているデジタルTV放送では、MPEGのトランスポートストリームが採用されている。今後も、動画を使用したデジタル放送の分野では、MPEGトランスポートストリームが標準的に用いられると考えられる。   An MPEG transport stream is employed in the currently broadcast digital TV broadcast. In the future, MPEG transport streams will be used as standard in the field of digital broadcasting using moving images.

このデジタル放送では、放送される内容(主に映像情報)が、トランスポートパケットと呼ばれる所定サイズ(たとえば188バイト)毎のデータの纏まりに時間分割され、このトランスポートパケット毎に放送データが伝送される。   In this digital broadcasting, the content to be broadcast (mainly video information) is time-divided into a set of data of a predetermined size (for example, 188 bytes) called a transport packet, and the broadcast data is transmitted for each transport packet. The

このデジタル放送データを記録するストリーマとして、現在市販されているものとしては、D−VHS(デジタルVHS)などの家庭用デジタルVCRがある。このD−VHSを利用したストリーマでは、放送されたビットストリームがそのままテープに記録される。そのため、ビデオテープには、複数の番組が多重されて記録されることになる。   As a streamer for recording this digital broadcast data, there are digital VCRs for home use such as D-VHS (digital VHS). In the streamer using this D-VHS, the broadcast bit stream is recorded on the tape as it is. Therefore, a plurality of programs are multiplexed and recorded on the video tape.

再生時には、最初から再生する場合、あるいは途中から再生する場合にも、そのまま全てのデータが、VCRからセットトップボックス(デジタルTVの受信装置:以下STBと略記する)に送り出される。このSTBにおいて、ユーザ操作等により、送り出されたデータ内から所望の番組が選択される。選択された番組情報は、STBからデジタルTV受像機等に転送されて、再生(ビデオ+オーディオ等の再生)がなされる。   At the time of reproduction, all data is sent as it is from the VCR to a set top box (receiver of digital TV: hereinafter abbreviated as STB) even when reproducing from the beginning or from the middle. In this STB, a desired program is selected from the transmitted data by a user operation or the like. The selected program information is transferred from the STB to a digital TV receiver or the like and played back (playback of video + audio etc.).

このD−VHSストリーマでは、記録媒体にテープが用いられるため、素早いランダムアクセスが実現できず、所望の番組の希望位置に素早くジャンプして再生することが困難となる。   In this D-VHS streamer, since a tape is used as a recording medium, quick random access cannot be realized, and it is difficult to quickly jump to a desired position of a desired program for reproduction.

このようなテープの欠点(ランダムアクセスの困難性)を解消できる有力な候補として、DVD−RAMなどの大容量ディスクメディアを利用したストリーマが考えられる。その場合、ランダムアクセスおよび特殊再生などを考えると、必然的に、管理データを放送データとともに記録する必要性がでてくる。   A streamliner using a large capacity disk medium such as a DVD-RAM can be considered as a promising candidate that can eliminate the drawbacks of such tapes (difficult random access). In that case, when random access and special reproduction are considered, it is inevitably necessary to record management data together with broadcast data.

情報記憶媒体としてDVD−RAMディスクを用いた場合には、2048バイト毎に纏められたセクタ単位でデータが記録される。一方、デジタルTV放送ではMPEGのトランスポートストリームが採用されており、映像情報が入ったストリームデータは、トランスポートストリームの最小単位として188バイトのトランスポートパケット毎に纏まって送信される。このトランスポートパケットのサイズはデジタルTV放送局により異なり、たとえば130バイト単位として送信するデジタルTV放送局もある。この受信したトランスポートパケットそのままをDVD−RAMディスクなどの情報記憶媒体にセクタ単位で記録した場合、以下のような問題が生じる。すなわち、
1.セクタサイズの2048バイトがトランスポートパケットサイズ(たとえば188バイト)の整数倍でないため、セクタ内へのトランスポートパケットの記録方法が問題となる。
When a DVD-RAM disk is used as the information storage medium, data is recorded in units of sectors organized every 2048 bytes. On the other hand, the digital TV broadcast employs an MPEG transport stream, and stream data including video information is collectively transmitted for each 188-byte transport packet as a minimum unit of the transport stream. The size of this transport packet differs depending on the digital TV broadcast station. For example, there is a digital TV broadcast station that transmits in units of 130 bytes. When the received transport packet is recorded as it is in sector units on an information storage medium such as a DVD-RAM disk, the following problems occur. That is,
1. Since the 2048 bytes of the sector size is not an integral multiple of the transport packet size (for example, 188 bytes), the method of recording the transport packet in the sector becomes a problem.

具体的には、あるセクタ内へトランスポートパケットを先頭から順次配置し、このセクタ内で生じた余りの端数分をパディングエリア扱いとした場合には、各セクタ毎に無駄なパディングエリアが多数発生する。このため、情報記憶媒体上に記録できるストリームデータ量が、セクタ毎のパディングエリアの分、減少する。その結果、情報記憶媒体の実質的な記録容量が少なくなる。   Specifically, when transport packets are sequentially arranged in a sector from the beginning and the remaining fraction generated in this sector is treated as a padding area, a lot of useless padding areas are generated for each sector. To do. Therefore, the amount of stream data that can be recorded on the information storage medium is reduced by the padding area for each sector. As a result, the substantial recording capacity of the information storage medium is reduced.

2.MPEG規格に従って映像圧縮されているストリームデータは、情報記憶媒体から再生した後デコーダでデコードされる必要があるが、各トランスポートパケット毎のデコーダに転送される時間間隔はデジタルTV放送局から受信した直後の時間間隔を保持する必要がある。そのため、各トランスポートパケット毎のデコーダへ転送される時間間隔情報が必要となる。   2. Stream data that has been compressed in accordance with the MPEG standard needs to be decoded by the decoder after being reproduced from the information storage medium, but the time interval transferred to the decoder for each transport packet was received from a digital TV broadcast station It is necessary to maintain the immediately following time interval. Therefore, time interval information transferred to the decoder for each transport packet is required.

3.情報記憶媒体上に記録される各トランスポートパケットは、それぞれのトランスポートパケットを個々に識別する識別情報を持たないため、検索(サーチ)または編集時に特定のトランスポートパケットを指定する手段がない。   3. Since each transport packet recorded on the information storage medium does not have identification information for individually identifying each transport packet, there is no means for designating a specific transport packet during search or search.

4.情報記憶媒体としてDVD−RAMディスクを用いた場合には、2048バイト毎のセクタ単位で記録されるため、トランスポートパケット単位での部分的な消去処理が難しい。   4). When a DVD-RAM disk is used as the information storage medium, recording is performed in units of sectors of 2048 bytes, so that partial erasure processing in units of transport packets is difficult.

5.デジタルTV放送で送信するストリームデータは、MPEG規格に従って映像圧縮されているため、Iピクチャ位置からデコードを開始する必要がある。従って、特定の映像位置で部分消去する場合は、実質的にはその先頭にあるIピクチャ開始位置を境界位置として部分消去する必要がある。しかし、トランスポートパケットをセクタ内に順次記録しただけの情報では、Iピクチャ開始位置を上記境界位置とした部分消去処理は難しい。   5. Since stream data transmitted by digital TV broadcasting is compressed according to the MPEG standard, it is necessary to start decoding from the I picture position. Accordingly, when partial erasure is performed at a specific video position, it is substantially necessary to partially erase the I picture start position at the head thereof as a boundary position. However, partial erasure processing with the I picture start position as the boundary position is difficult with information obtained by sequentially recording transport packets in a sector.

この発明は上記事情に鑑みなされたもので、その目的は、ストリームデータを効率よく記録できる記録方法を提供することである。   The present invention has been made in view of the above circumstances, and an object thereof is to provide a recording method capable of efficiently recording stream data.

この発明の他の目的は、ストリームデータを効率よく管理できるデータ構造を提供することである。   Another object of the present invention is to provide a data structure capable of efficiently managing stream data.

この発明の一実施の形態に係る情報媒体は、ストリームパケットを用いてMPEGのIピクチャ情報を含むストリームデータが記録されるデータ領域と、前記ストリームデータに関する管理情報が記録される管理領域とを有する。ここで、前記Iピクチャ情報とこのIピクチャ情報に隣接する情報との境界は、前記ストリームデータのうちこの境界に該当する部分の開始時間情報(SOB_S_APAT)またはその終了時間情報(SOB_E_APAT)により示すことができる。   An information medium according to an embodiment of the present invention includes a data area in which stream data including MPEG I picture information is recorded using a stream packet, and a management area in which management information regarding the stream data is recorded. . Here, a boundary between the I picture information and information adjacent to the I picture information is indicated by start time information (SOB_S_APAT) or end time information (SOB_E_APAT) of a portion corresponding to the boundary of the stream data. Can do.

ストリームデータを効率よく記録できるようになる。   Stream data can be recorded efficiently.

以下、図面を参照してこの発明の一実施の形態に係るストリームデータの記録方法およびそのデータ構造などについて説明をする。   A stream data recording method and data structure thereof according to an embodiment of the present invention will be described below with reference to the drawings.

図1は、この発明の一実施の形態に係るストリームデータのデータ構造を説明する図である。   FIG. 1 is a view for explaining the data structure of stream data according to an embodiment of the present invention.

情報媒体上に記録されるストリームデータは、ストリームデータ内の映像情報のコンテンツ毎あるいは一回の映像録画単位毎にストリームオブジェクトとして纏められて記録されている。   Stream data recorded on the information medium is recorded as a stream object for each content of video information in the stream data or for each video recording unit.

図1(h)は、DVD−RAMディスク等の情報媒体上に記録されたストリームオブジェクトを例示している。ここでは、ストリームオブジェクト#A298の最後の部分と、それに続いて記録されているストリームオブジェクト#B299を示している。   FIG. 1H illustrates a stream object recorded on an information medium such as a DVD-RAM disk. Here, the last part of the stream object # A298 and the stream object # B299 recorded subsequently are shown.

DVD−RAMディスク等にこのストリームデータを記録する場合には、図1(d)に示すように、2048kバイト毎のセクタを最小単位として記録される。各セクタ毎には、図1(c)(e)に示すように、パックヘッダ(あるいはパケットヘッダ)11〜15の記録領域とストリームデータを記録するデータエリアに分かれている。   When this stream data is recorded on a DVD-RAM disk or the like, as shown in FIG. 1 (d), it is recorded with a sector of 2048 kbytes as a minimum unit. As shown in FIGS. 1C and 1E, each sector is divided into a recording area for pack headers (or packet headers) 11 to 15 and a data area for recording stream data.

各データエリアには、図1(f)(g)に示すように、タイムスタンプおよびトランスポートパケットが逐次詰め込まれる。これは、以下のように行うことができる。すなわち、
1.タイムスタンプとトランスポートパケットをセクタ内のパックヘッダ11〜15以外の場所に順次めて記録し、タイムスタンプの切れ目またはトランスポートパケット毎に記録されるストリームデータの切れ目がセクタの境界位置とは異なる場合には、タイムスタンプまたはトランスポートパケットのどちらかを隣のセクタに跨って配置記録する。
As shown in FIGS. 1F and 1G, time stamps and transport packets are sequentially packed in each data area. This can be done as follows. That is,
1. Time stamps and transport packets are sequentially recorded in locations other than the pack headers 11 to 15 in the sector, and the time stamp breaks or stream data breaks recorded for each transport packet are different from the sector boundary positions. In some cases, either time stamps or transport packets are arranged and recorded across adjacent sectors.

具体的には、図1(g)では、データエリアNo.1内にタイムスタンプとトランスポートパケットを順次詰め込むと、トランスポートパケット1kの所でデータエリアNo.1に入り切れず、トランスポートパケット1kの一部がデータエリアNo.1からはみ出してしまう。このトランスポートパケット1kの中で、データエリアNo.1からはみ出した部分を、次のセクタNo.2内のデータエリアNo.2の先頭位置に継続して記録する。   Specifically, in FIG. 1, when the time stamp and the transport packet are sequentially packed, the data area No. 1 and a part of the transport packet 1k is data area no. It will protrude from 1. In this transport packet 1k, data area No. The portion protruding from 1 is the next sector No. 2 data area no. Continue recording at the top position of 2.

2.ユーザ等が行う一回の映像録画の纏まり、もしくは1番組などの同一コンテンツの纏まりをストリームオブジェクトと定義する。そして、情報記憶媒体上に記録されたストリームオブジェクトの最後のトランスポートパケット位置がセクタの境界位置とは異なる場合には、該当するセクタ内に限りこの最後のトランスポートパケット位置以降をパディングエリアとする。   2. A group of one-time video recording performed by a user or the like, or a group of identical contents such as one program is defined as a stream object. If the last transport packet position of the stream object recorded on the information storage medium is different from the sector boundary position, the padding area is set after the last transport packet position only within the corresponding sector. .

具体的には、図1(k)の例では、トランスポートパケット321aで映像録画が終了し、ここがストリームオブジェクト#B299の実質的な最終位置になる。その際、このトランスポートパケット321aが図1(j)のデータエリアNo.321の途中に配置されている場合には、データエリアNo.321に限り、それ以降をパディングエリア21とする。   Specifically, in the example of FIG. 1 (k), video recording ends with the transport packet 321a, which is the actual final position of the stream object # B299. At this time, the transport packet 321a is stored in the data area No. 1 of FIG. In the case of being arranged in the middle of 321, the data area No. Only 321 is assumed to be the padding area 21 thereafter.

以上のようなデータ構造を用いることにより、セクタサイズよりも大きなサイズを持つパケットを効率よく記録することができる。   By using the data structure as described above, a packet having a size larger than the sector size can be efficiently recorded.

図1はまた、タイムマップ情報に関係したデータ構造も示している。以下、図1を用いてタイムマップ情報252内の各データの内容について説明する。   FIG. 1 also shows the data structure related to the time map information. Hereinafter, the contents of each data in the time map information 252 will be described with reference to FIG.

図1(h)(i)に例示するように、ストリームオブジェクト(SOB)#B・299は複数のストリームブロック(SOBU)#α〜#γで構成されている。   As illustrated in FIGS. 1H and 1I, the stream object (SOB) # B · 299 is composed of a plurality of stream blocks (SOBU) # α to # γ.

図1(h)(i)の例では、SOB#B・299を構成するストリームブロック(SOBU)#α〜#γ各々のデータサイズは2ECCブロックで構成され、32セクタ分のサイズを持っている。すなわち、タイムマップ情報252(図1(m))内の第1ストリームブロックサイズ261〜264(図1(l))は、それぞれ32セクタ(64kバイト)となる。   In the example of FIGS. 1 (h) and (i), the data size of each of the stream blocks (SOBU) # α to # γ constituting SOB # B • 299 is composed of 2 ECC blocks and has a size of 32 sectors. . That is, each of the first stream block sizes 261 to 264 (FIG. 1 (l)) in the time map information 252 (FIG. 1 (m)) has 32 sectors (64 kbytes).

SOB#B・299(図1(h))の先頭にあるストリームブロック(SOBU)#α(図1(i))はその先頭にセクタNo.1(図1(d))を持ち、セクタNo.1に含まれるデータエリアNo.1(図1(e)(f)(j))の先頭にはタイムスタンプ1a(図1(g)(k))が記録されている。   The stream block (SOBU) # α (FIG. 1 (i)) at the head of SOB # B.299 (FIG. 1 (h)) has a sector No. 1 (FIG. 1 (d)). No. 1 included in data area No. 1 1 (FIGS. 1E, 1F, and 1J) is recorded with a time stamp 1a (FIGS. 1G and 1K).

また、SOB#B・299(図1(h))の後続ストリームブロック(SOBU)#β(図1(i))はデータエリアNo.33(図1(j))を持ち、データエリアNo.33にはタイムスタンプ33aを伴うトランスポートパケット33a(図1(k))が記録されている。   The subsequent stream block (SOBU) # β (FIG. 1 (i)) of SOB # B • 299 (FIG. 1 (h)) is a data area No. 33 (FIG. 1 (j)) and data area No. In 33, a transport packet 33a (FIG. 1 (k)) accompanied by a time stamp 33a is recorded.

図1(k)に示すように、ストリームブロック(SOBU)#αの最初のストリームデータ(トランスポートパケット1a)のタイムスタンプ値[0]はタイムスタンプ1aであり、次のストリームブロック(SOBU)#β内のストリームデータ(トランスポートパケット33a)のタイムスタンプ値[28]はタイムスタンプ33aとなっている。   As shown in FIG. 1 (k), the time stamp value [0] of the first stream data (transport packet 1a) of the stream block (SOBU) # α is the time stamp 1a, and the next stream block (SOBU) # The time stamp value [28] of the stream data (transport packet 33a) in β is the time stamp 33a.

図1(l)の第1ストリームブロック時間差266の値[30]は、上記タイムスタンプ33aとタイムスタンプ1aとの差分値([28]−[0])を所定の有効桁数(ここでは有効1桁)で丸める(切り上げる)ことで与えられる([28]−[0]≒[30])。   The value [30] of the first stream block time difference 266 in FIG. 1 (l) is the difference value ([28]-[0]) between the time stamp 33a and the time stamp 1a and is a predetermined number of significant digits (here, valid). It is given by rounding (rounding up) by one digit) ([28] − [0] ≈ [30]).

なお、図1(m)のタイムマップ情報252は、図15を参照して後述するストリームオブジェクト情報SOBI内のアクセスデータユニットAUDも含むものとして、取り扱かわれてもよい。このAUDに含まれる情報(アクセスユニット開始マップAUSM等)により、アクセスしたい情報(所望のIピクチャ情報など)を含むSOBUを特定できる。   The time map information 252 in FIG. 1 (m) may be handled as including the access data unit AUD in the stream object information SOBI described later with reference to FIG. The SOBU including information (desired I picture information, etc.) desired to be accessed can be specified by the information (access unit start map AUSM, etc.) included in this AUD.

図1の表記方法では、ストリームオブジェクト#B299の先頭セクタのセクタ番号を1とし、順次セクタ番号を増加させている。セクタ番号とデータエリア番号は一致させ、それに合わせてタイムスタンプ番号とトランスポートパケット番号を設定している。すなわち33番目のセクタ内のデータエリア内に配置された最初のタイムスタンプとトランスポートパケットの組を”33a”とし、同一データエリア内の次の組を順次”33b”、”33c”、………と番号を設定する。ここで、トランスポートパケット32j、320kのように直前のデータエリアに入り切らずに次のデータエリアに跨ったタイムスタンプまたはトランスポートパケットの番号は、直前のデータエリア番号に合わせて表示している。また図1(k)の鍵括弧[]内はタイムスタンプの実際の値を例示している。   In the notation method of FIG. 1, the sector number of the first sector of stream object # B299 is set to 1, and the sector number is sequentially increased. The sector number and data area number are matched, and the time stamp number and transport packet number are set accordingly. That is, the first time stamp and transport packet set arranged in the data area in the 33rd sector is “33a”, and the next set in the same data area is “33b”, “33c”,. ... and set the number. Here, the time stamp or the number of the transport packet straddling the next data area without completely entering the previous data area like the transport packets 32j and 320k is displayed according to the previous data area number. . Also, the actual value of the time stamp is illustrated in square brackets [] in FIG.

図1(a)〜(c)に示すように、パックヘッダ(またはパケットヘッダ)11〜15内の情報において、セクタ内共通情報41としては、パックヘッダサイズ51、タイムスタンプサイズ52、トランスポートパケットサイズ53が記載されている。   As shown in FIGS. 1A to 1C, in the information in the pack header (or packet header) 11-15, the sector common information 41 includes a pack header size 51, a time stamp size 52, a transport packet. Size 53 is listed.

ここで、図1(d)のセクタNo.1の例を取れば、図1(b)の検索情報42の中でセクタ内の最初のタイムスタンプ値54とは、図1(k)のタイムスタンプ1a[=0]の値を意味する。また、検索情報42の中でセクタ内の最後のタイムスタンプ値55とは、タイムスタンプ1k(図示せず)の値を意味している。   Here, the sector number of FIG. Taking the example of 1, the first time stamp value 54 in the sector in the search information 42 in FIG. 1B means the value of the time stamp 1a [= 0] in FIG. In the search information 42, the last time stamp value 55 in the sector means the value of the time stamp 1k (not shown).

ところで、多くの辞書では各ページ毎に脚注もしくはヘッダ位置に該当ページ最初と最後の単語を記載して、検索を容易にしている。それと同様に、上記2個の情報(図1(a)に示す最初のタイムスタンプ値54と最後のタイムスタンプ値55)により、ストリームデータの検索を容易にしている。   By the way, in many dictionaries, the first and last words of the corresponding page are described in the footnote or header position for each page to facilitate the search. Similarly, retrieval of stream data is facilitated by the above two pieces of information (first time stamp value 54 and last time stamp value 55 shown in FIG. 1A).

同一のタイムスタンプあるいはトランスポートパケットが隣接するセクタを跨いで配置され得るため、各セクタ毎に単独でアクセスした場合には、最初のタイムスタンプ位置情報が必要となる。図1(a)に示したファーストアクセスポイント56は、パケットヘッダ直後から数えた最初のタイムスタンプ位置までのビット数を意味している。しかし、この実施の形態ではそれに限らず、例えば最初のトランスポートパケット先頭位置までのビット数を(ファーストアクセスポイント56相当の)情報として持っても良い。   Since the same time stamp or transport packet can be arranged across adjacent sectors, the first time stamp position information is required when accessing each sector independently. The first access point 56 shown in FIG. 1A means the number of bits from the position immediately after the packet header to the first time stamp position. However, this embodiment is not limited thereto, and for example, the number of bits up to the first transport packet head position may be included as information (corresponding to the first access point 56).

この実施の形態では、ファーストアクセスポイント56の値としてデータエリアのサイズよりも大きな値を指定可能にすることで、セクタサイズよりも大きなサイズを有するパケットに対してもタイムスタンプ先頭位置を指定することができるようになっている。   In this embodiment, by specifying a value larger than the size of the data area as the value of the first access point 56, the start position of the time stamp can be specified even for a packet having a size larger than the sector size. Can be done.

たとえば図1(d)〜(g)のデータ構造において、1個のパケットがセクタNo.1からセクタNo.2まで跨って記録され、そのパケットに対するタイムスタンプがNo.1のデータエリア内の最初の位置に記録されるとともに、その次のパケットに対するタイムスタンプがセクタNo.2のデータエリア内のTビット目に配置されている場合を考える。   For example, in the data structure shown in FIGS. 1 to sector no. 2 and the time stamp for the packet is No.2. 1 is recorded at the first position in the data area, and the time stamp for the next packet is the sector number. Consider a case where the data is arranged at the T-th bit in the second data area.

この場合、セクタNo.1のファーストアクセスポイント56の値は”セクタNo.1のデータエリアサイズ+T”、セクタNo.2のファーストアクセスポイントの値は”T”となる。   In this case, sector no. The value of the first access point 56 of “1” is “data area size of sector No. 1 + T”. The value of the first access point of 2 is “T”.

セクタNo.1のファーストアクセスポイント56の値としてセクタNo.1のデータエリアのサイズよりも大きな値に設定することにより、セクタNo.1内に記録されたパケットの次にくるパケットに対応するタイムスタンプの位置が次以降のセクタに存在することが示される。   Sector No. 1 as the value of the first access point 56. By setting a value larger than the size of the data area 1, sector no. It is indicated that the time stamp position corresponding to the packet next to the packet recorded in 1 exists in the next and subsequent sectors.

セクタ単位での部分消去(図9参照)を行った場合には、次のセクタに跨らない実質的に有効なタイムスタンプとトランスポートパケットの組の最終位置情報57(図1(a))が必要となる。   When partial erasure is performed in units of sectors (see FIG. 9), final position information 57 of a set of substantially effective time stamps and transport packets that does not span the next sector (FIG. 1A) Is required.

この実施の形態においては、完全な形で記録されている(他セクタへ跨って配置されない)タイムスタンプとトランスポートパケットの組数で記載されているが、それに限らず、例えば最終位置アドレスなどの情報を(最終位置情報57として)記録することも可能である。   In this embodiment, it is described by the number of pairs of time stamps and transport packets recorded in a complete form (not arranged across other sectors), but not limited to this, for example, the final position address, etc. It is also possible to record information (as final position information 57).

図1(a)(b)に示すように、箇々のトランスポートパケットに関するビットマップ情報43は、Iピクチャ位置フラグ58と、ピクチャ先頭位置フラグ59と、暗号情報60を含んでいる。図1(a)のIピクチャ位置フラグ58およびピクチャ先頭位置フラグ59の情報は、図5を参照して後述するランダムアクセスインジケータ303およびペイロードユニット開始インジケータ301の情報を利用して作成できる。また、暗号情報60には、コピープロテクトに利用される情報が適宜記録される。   As shown in FIGS. 1A and 1B, the bitmap information 43 relating to each transport packet includes an I picture position flag 58, a picture head position flag 59, and encryption information 60. The information of the I picture position flag 58 and the picture head position flag 59 in FIG. 1A can be created using information of a random access indicator 303 and a payload unit start indicator 301 described later with reference to FIG. In addition, information used for copy protection is appropriately recorded in the encryption information 60.

図1(b)のセクタ内共通情報41および検索情報42から、該当セクタ内のトランスポートパケット数が分かる。その各トランスポートパケット毎に配列順に1ビットずつ対応させ、条件に該当したトランスポートパケットに対して”1”のフラグを立てることができる。このフラグを立てた個々のトランスポートパケットに関するビットマップ情報43も、図1(b)(c)に示すように、パックヘッダ内に記録されている。   From the intra-sector common information 41 and the search information 42 in FIG. 1B, the number of transport packets in the sector can be known. Each transport packet is made to correspond one bit at a time in the order of arrangement, and a “1” flag can be set for the transport packet that satisfies the condition. As shown in FIGS. 1B and 1C, bitmap information 43 relating to each transport packet in which this flag is set is also recorded in the pack header.

デジタル放送では、映像情報はMPEG2の規格に従って圧縮された情報が転送されてくる。デジタル放送では図5(c)に示すようにトランスポートストリームと呼ばれるマルチプログラム対応の多重・分離方式を採用しており、1個のトランスポートパケットb322のサイズが188バイト(または183バイト)の場合が多い。   In digital broadcasting, video information that is compressed in accordance with the MPEG2 standard is transferred. In digital broadcasting, as shown in FIG. 5C, a multiplexing / demultiplexing method corresponding to a multi-program called a transport stream is adopted, and the size of one transport packet b322 is 188 bytes (or 183 bytes). There are many.

前述したように1セクタサイズは2048バイトであり、各種ヘッダサイズを差し引いても1個のデータエリア内にはデジタル放送用のトランスポートパケットが10個前後記録できる。それに対してISDNなどのデジタル通信網では1パケットサイズが4096バイトもある大きなロングパケットが転送される場合がある。   As described above, one sector size is 2048 bytes, and even if various header sizes are subtracted, about 10 transport packets for digital broadcasting can be recorded in one data area. On the other hand, in a digital communication network such as ISDN, a large long packet with a packet size of 4096 bytes may be transferred.

図1のデータ構造を採用すれば、デジタル放送などのように1個のデータエリア内に複数個のトランスポートパケットを記録するだけでなく、ロングパケットのようにパケットサイズの大きなパケットの場合でも記録できるよう、1個のパケットを複数のデータエリアに連続して跨るように記録できる。デジタル放送用のトランスポートパケットやデジタル通信用のロングパケットなどは、パケットサイズに依ることなく、全てのパケットをストリームブロック(図1(i)のSOBU)内に端数なく記録することができる。   If the data structure of FIG. 1 is adopted, not only a plurality of transport packets are recorded in one data area such as digital broadcasting, but also a packet having a large packet size such as a long packet is recorded. One packet can be recorded so as to continuously span a plurality of data areas. A transport packet for digital broadcasting, a long packet for digital communication, and the like can be recorded without any fraction in a stream block (SOBU in FIG. 1 (i)) regardless of the packet size.

図2は、この発明の一実施の形態に係るデータファイルのディレクトリ構造を説明する図である。図2を用いて、この発明の一実施の形態に係る情報記憶媒体上に記録される情報の内容(ファイル構造)について説明する。   FIG. 2 is a view for explaining the directory structure of the data file according to the embodiment of the present invention. The contents (file structure) of information recorded on the information storage medium according to the embodiment of the present invention will be described with reference to FIG.

DVDーRAMディスク等の情報記憶媒体に記録される情報は、各情報毎に階層ファイル構造を持っている。この実施の形態において説明される映像情報とストリームデータ情報は、DVD_RTRディレクトリ(またはDVD_RTAV)102と言う名のサブディレクトリ101内に入っている。   Information recorded on an information storage medium such as a DVD-RAM disk has a hierarchical file structure for each piece of information. The video information and stream data information described in this embodiment are contained in a subdirectory 101 named DVD_RTR directory (or DVD_RTAV) 102.

DVD_RTR(DVD_RTAV)ディレクトリ102内には、以下の内容のデータファイル103が格納される。すなわち、管理情報(ナビゲーションデータ)のグループとして、RTR.IFO(またはVR_MANGR.IFO)104と、STREAM.IFO(SR_MANGR.IFO/SR_MANGR.BUP)105と、SR_PRIVT.DAT/SR_PRIVT.BUP105aとが格納される。   In the DVD_RTR (DVD_RTAV) directory 102, a data file 103 having the following contents is stored. That is, as a group of management information (navigation data), RTR. IFO (or VR_MANGR.IFO) 104 and STREAM. IFO (SR_MANGR.IFO / SR_MANGR.BUP) 105 and SR_PRIVT. DAT / SR_PRIVT. BUP 105a is stored.

また、データ本体(コンテンツ情報)として、STREAM.VRO(またはSR_TRANS.SRO)106と、RTR_MOV.VRO(VR_MOVIE.VRO)107と、RTR_STO.VRO(またはVR_STILL.VRO)108と、RTR_STA.VRO(またはVR_AUDIO.VRO)109とが格納される。   As the data body (content information), the STREAM. VRO (or SR_TRANS.SRO) 106 and RTR_MOV. VRO (VR_MOVIE.VRO) 107 and RTR_STO. VRO (or VR_STILL.VRO) 108 and RTR_STA. VRO (or VR_AUDIO.VRO) 109 is stored.

上記データファイル103を含むサブディレクトリ101の上位階層にあるルートディレクトリ100には、その他の情報を格納するサブディレクトリ110を設けることができる。このサブディレクトリの内容としては、ビデオプログラムを収めたビデオタイトルセットVIDEO_TS111、オーディオプログラムを収めたオーディオタイトルセットAUDIO_TS112、コンピュータデータ保存用のサブディレクトリ113等がある。   The root directory 100 in the upper hierarchy of the subdirectory 101 including the data file 103 can be provided with a subdirectory 110 for storing other information. The contents of this subdirectory include a video title set VIDEO_TS111 containing a video program, an audio title set AUDIO_TS112 containing an audio program, a subdirectory 113 for storing computer data, and the like.

有線または無線のデータ通信経路上をパケット構造の形で伝送されたデータに対して、パケット構造を保持したまま情報記憶媒体に記録したデータを、「ストリームデータ」と呼ぶ。   Data recorded in an information storage medium while retaining the packet structure with respect to data transmitted in the form of a packet structure on a wired or wireless data communication path is referred to as “stream data”.

そのストリームデータそのものはSTREAM.VRO(またはSR_TRANS.SRO)106と言うファイル名でまとめて記録される。そのストリームデータに対する管理情報が記録されているファイルが、STREAM.IFO(またはSR_MANGR.IFOとそのバックアップファイルSR_MANGR.BUP)105である。   The stream data itself is STREAM. A file name VRO (or SR_TRANS.SRO) 106 is recorded together. A file in which management information for the stream data is recorded is STREAM. IFO (or SR_MANGR.IFO and its backup file SR_MANGR.BUP) 105.

また、VCR(VTR)あるいは従来TVなどで扱われるアナログ映像情報をMPEG2規格に基づきデジタル圧縮して記録されたファイルが、RTR_MOV.VRO(またはVR_MOVIE.VRO)107であり、アフターレコーディング音声あるいはバックグランド音声等を含む静止画像情報を集めたファイルがRTR_STO.VRO(またはVR_STILL.VRO)108であり、そのアフレコ音声情報ファイルがRTR_STA.VRO(またはVR_AUDIO.VRO)109である。   A file recorded by digitally compressing analog video information handled by a VCR (VTR) or a conventional TV based on the MPEG2 standard is RTR_MOV. VRO (or VR_MOVIE.VRO) 107, and a file that collects still image information including after-recording audio or background audio is RTR_STO.VRO. VRO (or VR_STILL.VRO) 108, and the post-record audio information file is RTR_STA.VRO. VRO (or VR_AUDIO.VRO) 109.

図3は、この発明の一実施の形態に係る情報媒体(DVD録再ディスク)上の記録データ構造(とくに管理情報の構造)を説明する図である。   FIG. 3 is a view for explaining the recording data structure (particularly the structure of management information) on the information medium (DVD recording / reproducing disc) according to the embodiment of the present invention.

図3(a)の情報記憶媒体201の内周方向202の端部と外周方向203の端部とで挟まれた領域には、図3(b)に示すように、リードインエリア204と、ファイルシステム情報が記録されているボリューム&ファイル構造情報206と、データエリア207と、リードアウトエリア205が存在する。リードインエリア204はエンボスおよび書替可能データゾーンで構成され、リードアウトエリア205は書替可能データゾーンで構成されている。データエリア207も書替可能データゾーンで構成されている。   As shown in FIG. 3 (b), the area between the end portion in the inner peripheral direction 202 and the end portion in the outer peripheral direction 203 of the information storage medium 201 in FIG. There are volume & file structure information 206 in which file system information is recorded, a data area 207, and a lead-out area 205. The lead-in area 204 is composed of embossed and rewritable data zones, and the lead-out area 205 is composed of rewritable data zones. The data area 207 is also composed of a rewritable data zone.

データエリア207内は、図3(c)に示すように、コンピュータデータとオーディオ&ビデオデータとが混在記録可能となっている。この例では、コンピュータデータエリア208およびコンピュータデータエリア209の間に、オーディオ&ビデオデータエリア210が、挟まれる形態となっている。   In the data area 207, as shown in FIG. 3C, computer data and audio & video data can be recorded together. In this example, an audio & video data area 210 is sandwiched between a computer data area 208 and a computer data area 209.

オーディオ&ビデオデータエリア210内は、図3(d)に示すように、リアルタイムビデオ記録エリア221およびストリーム記録エリア222の混在記録が可能となっている。(リアルタイムビデオ記録エリア221あるいはストリーム記録エリア222の一方だけを使用することも可能である。)
図3(e)に示すように、リアルタイムビデオ記録エリア221には、図2に示された、RTRのナビゲーションデータRTR.IFO(VR_MANGR.IFO)104と、ムービーリアルタイムビデオオブジェクトRTR_MOV.VRO(VR_MOVIE.VRO)107と、スチルピクチャリアルタイムビデオオブジェクトRTR_STO.VRO(VR_STILL.VRO)108と、アフターレコーディング等のオーディオオブジェクトRTR_STA.VRO(VR_AUDIO.VRO)109とが記録される。
In the audio & video data area 210, as shown in FIG. 3D, real-time video recording area 221 and stream recording area 222 can be mixedly recorded. (It is also possible to use only one of the real-time video recording area 221 and the stream recording area 222.)
As shown in FIG. 3 (e), the real-time video recording area 221 includes the RTR navigation data RTR. IFO (VR_MANGR.IFO) 104 and movie real-time video object RTR_MOV. VRO (VR_MOVIE.VRO) 107 and a still picture real-time video object RTR_STO. VRO (VR_STILL.VRO) 108 and an audio object RTR_STA. VRO (VR_AUDIO.VRO) 109 is recorded.

同じく図3(e)に示すように、ストリーム記録エリア222には、図2に示された、ストリーマのナビゲーションデータSTREAM.IFO(SR_MANGR.IFO/SR_MANGR.BUP)105と、トランスポートビットストリームデータSTREAM.VRO(SR_TRANS.VRO)106とが記録される。   Similarly, as shown in FIG. 3E, the stream recording area 222 has streamer navigation data STREAM. IFO (SR_MANGR.IFO / SR_MANGR.BUP) 105 and transport bit stream data STREAM. VRO (SR_TRANS.VRO) 106 is recorded.

なお、図3(d)(e)では図示しないが、ストリーム記録エリア222には、図2に示したアプリケーション固有のナビゲーションデータSR_PRIVT,DAT/SR_PRIVT.BUP105aを記録することもできる。   Although not shown in FIGS. 3D and 3E, the stream recording area 222 includes application-specific navigation data SR_PRIVT, DAT / SR_PRIVT. The BUP 105a can also be recorded.

このSR_PRIVT,DAT105aは、ストリーマに接続(供給)された個々のアプリケーションに固有のナビゲーションデータであり、ストリーマにより認識される必要のないデータである。   This SR_PRIVT, DAT 105a is navigation data unique to each application connected (supplied) to the streamer, and is data that does not need to be recognized by the streamer.

ストリームデータに関する管理情報であるSTREAM.IFO(またはSR_MANGR.IFO)105は、図3(f)〜(i)に示すようなデータ構造を有している。   STREAM., Which is management information related to stream data. The IFO (or SR_MANGR.IFO) 105 has a data structure as shown in FIGS.

すなわち、図3(f)に示すように、STREAM.IFO(またはSR_MANGR.IFO)105は、ビデオマネージャ(VMGIまたはSTR_VMGI)231と、ストリームファイル情報テーブル(SFIT)232と、オリジナルPGC情報(ORG_PGCI)233と、ユーザ定義PGC情報テーブル(UD_PGCIT)234と、テキストデータマネージャ(TXTDT_MG)235と、製造者情報テーブル(MNFIT)またはアプリケーション固有のナビゲーションデータSR_PRIVT.DAT105aを管理するアプリケーションプライベートデータマネージャ(APDT_MG)236とで構成されている。   That is, as shown in FIG. The IFO (or SR_MANGR.IFO) 105 includes a video manager (VMGI or STR_VMGI) 231, a stream file information table (SFIT) 232, original PGC information (ORG_PGCI) 233, a user-defined PGC information table (UD_PGCIT) 234, A text data manager (TXTDT_MG) 235 and a manufacturer information table (MNFIT) or application-specific navigation data SR_PRIVT. It comprises an application private data manager (APDT_MG) 236 that manages the DAT 105a.

図3(f)のストリームファイル情報テーブル(SFIT)232は、図3(g)に示すように、ストリームファイル情報テーブル情報(SFITI)241と、1以上のストリームオブジェクト情報(SOBI)#A・242、#B・243、………と、オリジナルPGC情報一般情報271と、1以上のオリジナルセル情報#1・272、#2・273、………とを含むことができるようになっている。   As shown in FIG. 3G, the stream file information table (SFIT) 232 in FIG. 3F includes stream file information table information (SFITI) 241 and one or more stream object information (SOBI) # A · 242. , # B · 243,..., Original PGC information general information 271 and one or more pieces of original cell information # 1 · 272, # 2 · 273,.

図3(g)の各ストリームオブジェクト情報(たとえばSOBI#B・243)は、図3(h)に示すように、ストリームオブジェクト一般情報(SOBI_GI)251、タイムマップ情報252、その他を含むことができる。   Each stream object information (eg, SOBI # B • 243) in FIG. 3G can include stream object general information (SOBI_GI) 251, time map information 252, and others, as shown in FIG. .

また、図3(g)の各オリジナルセル情報(たとえば#1・272;後述するが図14で示されるSCIに対応)は、図3(h)に示すように、セルタイプ281(後述するが図14で示されるC_TYに対応)と、セルID282と、該当セル開始時間(後述する図9(k)(l)、図14で示されるSC_S_APATに対応)283と、該当セル終了時間(後述する図9(k)(l)、図14で示されるSC_E_APATに対応)284と、エントリポイント情報(SC_EPI)285を含むことができる。   Further, each original cell information (for example, # 1 and 272; corresponding to SCI shown in FIG. 14 which will be described later) in FIG. 3G is the cell type 281 (which will be described later) as shown in FIG. 14 corresponds to C_TY shown in FIG. 14, cell ID 282, corresponding cell start time (corresponding to FIGS. 9 (k) (l) and SC_S_APAT shown in FIG. 14) 283, and corresponding cell end time (described later). 9 (k) (l) and FIG. 14 (corresponding to SC_E_APAT) 284 and entry point information (SC_EPI) 285 can be included.

エントリポイント情報(SC_EPI)285は、記録内容を部分的にスキップする道具として利用できる情報である。このエントリポイント情報(SC_EPI)285には、図14に示すように、プライマリテキスト情報(PRM_TXTI)の有無によって2つの形式(タイプAとタイプB)がある。   The entry point information (SC_EPI) 285 is information that can be used as a tool for partially skipping recorded contents. The entry point information (SC_EPI) 285 has two formats (type A and type B) depending on the presence / absence of primary text information (PRM_TXTI), as shown in FIG.

ここで、エントリポイントとは、オリジナルPGCの場合はプログラム内に入る位置、またユーザ定義PGCの場合はプログラムの一部に入る位置を示すものである。各PGCは、自身のエントリポイントセットを持つことができる。これらのエントリポイントはセル情報(SCI)の一部として記録される。記録内容の再生時に記録内容の一部をスキップする場合に、これらのエントリポイントを用いることができる。   Here, the entry point indicates a position that enters the program in the case of the original PGC, and a position that enters a part of the program in the case of the user-defined PGC. Each PGC can have its own set of entry points. These entry points are recorded as part of cell information (SCI). These entry points can be used when part of the recorded content is skipped during playback of the recorded content.

全てのエントリポイントは、どこからデータ出力を開始するのかを示すアプリケーションパケット到着時間(APAT)により特定できる。このエントリポイントのアプリケーションパケット到着時間は、図14のEP_APATにより示される。   All entry points can be specified by application packet arrival time (APAT) indicating where to start outputting data. The application packet arrival time of this entry point is indicated by EP_APAT in FIG.

図3(g)のSOBI#Bに含まれる図3(h)のタイムマップ情報252は、図3(i)に示すように、ストリームブロック番号260、第1ストリームブロックサイズ261、第2ストリームブロックサイズ262、…と、第1ストリームブロック時間差266、第2ストリームブロック時間差267、…とを含むことができる。   The time map information 252 of FIG. 3H included in the SOBI # B of FIG. 3G includes a stream block number 260, a first stream block size 261, and a second stream block, as shown in FIG. .., And a first stream block time difference 266, a second stream block time difference 267,.

タイムマップ情報252を構成するストリームブロック時間差266の具体例については、図1(l)に示されている。タイムマップ情報252を構成する各ストリームブロック時間差の内容については、図8を参照して後述する。 A specific example of the stream block time difference 266 constituting the time map information 252 is shown in FIG. Details of the time difference between the stream blocks constituting the time map information 252 will be described later with reference to FIG.

図4は、この発明の一実施の形態におけるストリームオブジェクト(SOB)、セル、プログラムチェーン(PGC)等の間の関係を説明する図である。以下、図4の例示を用いてSOBとPGCの関係を説明する。   FIG. 4 is a diagram for explaining the relationship among stream objects (SOB), cells, program chains (PGC), and the like according to an embodiment of the present invention. Hereinafter, the relationship between SOB and PGC will be described with reference to the example of FIG.

ストリームデータ(STREAM.VROまたはSR_TRANS.SRO)106内に記録されたストリームデータは、1個以上のECCブロックの集まりとしてストリームブロックを構成し、このストリームブロック単位で記録、部分消去処理等を行うことができる。このストリームデータは、記録する情報の内容毎(たとえばデジタル放送での番組毎)にストリームオブジェクトという纏まりを作る。   The stream data recorded in the stream data (STREAM.VRO or SR_TRANS.SRO) 106 constitutes a stream block as a collection of one or more ECC blocks, and recording, partial erasure processing, etc. are performed in units of this stream block. Can do. The stream data creates a group called a stream object for each content of information to be recorded (for example, for each program in digital broadcasting).

STREAM.VRO(SR_TRANS.SRO)106内に記録されたストリームオブジェクト(SOB#A、SOB#B)毎の管理情報(オリジナルPGC情報233、ユーザ定義PGC情報テーブル234等)は、ナビゲーションデータSTREAM.IFO(SR_MANGR.IFO)105内に記録されている(図4の最下部および図3(e)(f)参照)。   STREAM. Management information (original PGC information 233, user-defined PGC information table 234, etc.) for each stream object (SOB # A, SOB # B) recorded in the VRO (SR_TRANS.SRO) 106 is navigation data STREAM. It is recorded in the IFO (SR_MANGR.IFO) 105 (see the bottom of FIG. 4 and FIGS. 3E and 3F).

図4の各ストリームオブジェクト#A・298、#B・299毎の管理情報(STREAM.IFO105)は、図3(f)(g)に示したように、ストリームファイル情報テーブル(SFIT)232内のストリームオブジェクト情報(SOBI)#A・242、#B・243として記録されている。   The management information (STREAM.IFO105) for each stream object # A • 298 and # B • 299 in FIG. 4 is stored in the stream file information table (SFIT) 232 as shown in FIGS. Stream object information (SOBI) # A.242 and # B.243 are recorded.

ストリームオブジェクト情報(SOBI)#A・242、(SOBI)#B・243それぞれの内部は、主にストリームブロック毎のデータサイズおよび時間情報等が記載されているタイムマップ情報252を含んでいる。   Each of the stream object information (SOBI) # A • 242 and (SOBI) # B • 243 includes time map information 252 in which data size, time information, and the like for each stream block are mainly described.

ストリームデータの再生時には、1個以上のセルの連続で構成されるプログラムチェーン(PGC)の情報(後述する図14のPGCI#iに対応)が利用される。このPGCを構成するセルの設定順にしたがって、ストリームデータを再生することができる。   When reproducing stream data, program chain (PGC) information (corresponding to PGCI # i in FIG. 14 described later) composed of a series of one or more cells is used. Stream data can be reproduced according to the setting order of the cells constituting the PGC.

PGCには、STREAM.VRO(SR_TRANS.SRO)106に記録された全ストリームデータを連続して再生することのできるオリジナルPGC290(図3(f)ではORG_PGCI・233)と、ユーザが再生したいと希望する場所と順番を任意に設定できるユーザ定義PGC#a・293、#b・296(図3(f)ではUD_PGCIT・234の中身に対応)の2種類が存在する。   PGC includes STREAM. Original PGC 290 (ORG_PGCI 233 in FIG. 3 (f)) that can continuously reproduce all stream data recorded in VRO (SR_TRANS.SRO) 106, and a place and order in which the user desires to reproduce is arbitrary. There are two types of user-defined PGC # a • 293 and # b • 296 (corresponding to the contents of UD_PGCIT • 234 in FIG. 3F).

オリジナルPGC290を構成するオリジナルセル#1・291、#2・292は、基本的にストリームオブジェクト#A・298、#B・299と一対一に対応して存在する。   Original cells # 1, 291 and # 2, 292 constituting the original PGC 290 basically exist in one-to-one correspondence with stream objects # A.298 and # B.299.

それに対して、ユーザ定義PGCを構成するユーザ定義セル#11・294、#12・295、#31・297は、1個のストリームオブジェクト#A・298または#B・299の範囲内では任意の位置を設定することができる。   On the other hand, user-defined cells # 11 and 294, # 12 and 295, and # 31 and 297 constituting the user-defined PGC can be placed at any position within the range of one stream object # A.298 or # B.299. Can be set.

それぞれのセルの指定範囲は、開始時刻と終了時刻の時間指定により行うことができる。すなわち、部分消去あるいは編集がなされる前(ストリームデータの録画直後)のオリジナルセル#2・292の該当セルの開始時間283および該当セルの終了時間284(図3(h))の時間には、図1(k)の例に従えば、該当するストリームオブジェクト#B299内の最初のタイムスタンプ1aの値と最後のタイムスタンプ321aの値が使用される。   Each cell can be specified by specifying the start time and end time. That is, before the partial deletion or editing (immediately after the recording of the stream data), the start time 283 of the corresponding cell of the original cell # 2 • 292 and the end time 284 of the corresponding cell (FIG. 3 (h)) According to the example of FIG. 1 (k), the value of the first time stamp 1a and the value of the last time stamp 321a in the corresponding stream object # B299 are used.

それに対して、図4のユーザ定義セル#11・294での時間範囲指定は任意時刻を指定でき、指定されたトランスポートパケットに対応したタイムスタンプの値が、該当セルの開始時間および該当セルの終了時間の値に設定される。   On the other hand, the time range designation in the user-defined cell # 11/294 in FIG. 4 can designate an arbitrary time, and the time stamp value corresponding to the designated transport packet indicates the start time of the relevant cell and the relevant cell. Set to end time value.

ストリームオブジェクト内の再生開始したいストリームデータへのアクセス方法としては、この実施の形態では
(1)各ストリームオブジェクトの記録開始位置からの累計記録データ量でアクセスする方法と;
(2)MPEG方式による映像圧縮に対応し、デコーダによるデコードタイミングを意識してアクセスする方法と
の2通りが可能となっている。
In this embodiment, the access method to the stream data to be reproduced within the stream object is as follows: (1) A method of accessing the accumulated recording data amount from the recording start position of each stream object;
(2) Corresponding to video compression by the MPEG method, two methods are possible: a method of accessing with consideration of the decoding timing by the decoder.

図1(g)から明らかなように全トランスポートパケットにはタイムスタンプ情報が付属記録されており、このタイムスタンプ情報を利用して各トランスポートパケットに対してアクセス可能となっている。   As apparent from FIG. 1 (g), time stamp information is appended to all transport packets, and each transport packet can be accessed using this time stamp information.

情報記憶媒体としてDVD−RAMディスクを用いた場合には、それぞれ16セクタ毎にECCブロックが構成されている。そこで、この発明の実施の形態ではECCブロックの整数倍(例えば2倍)毎にストリームデータをグループ化し、各グループ毎の経過時間のテーブルを持つことで、上記(1)の「累計記録データ量でアクセスする」方法を可能にしている。上記(2)の「デコードタイミングを意識してアクセスする」方法については、図11の説明において詳述する。   When a DVD-RAM disk is used as the information storage medium, an ECC block is configured for every 16 sectors. Therefore, in the embodiment of the present invention, stream data is grouped for every integral multiple (for example, twice) of the ECC block, and a table of elapsed time for each group is provided. "Access by" is enabled. The above-mentioned (2) “access in consideration of decoding timing” will be described in detail in the description of FIG.

この発明の実施の形態では、各グループ毎の経過時間のテーブルをタイムマップ情報252としている。このタイムマップ情報252は、図3(g)(h)に示すように、それぞれのストリームオブジェクトに対応するストリームオブジェクト情報(#A・242;#B・243)の一部に記録されている。   In the embodiment of the present invention, a table of elapsed time for each group is used as time map information 252. The time map information 252 is recorded in a part of the stream object information (# A • 242; # B • 243) corresponding to each stream object, as shown in FIGS.

また、この発明の実施の形態では上記グループ(2ECCブロック毎にグループ化されたセクタ)をストリームブロック(あるいはSOBUというデータユニット)と呼ぶ(図4上段、あるいは図1(i)参照)。   In the embodiment of the present invention, the above group (sectors grouped every 2 ECC blocks) is called a stream block (or a data unit called SOBU) (see the upper part of FIG. 4 or FIG. 1 (i)).

各ストリームブロック(SOBU)の先頭に配置されているセクタの開始位置には、タイムスタンプが配置されていない場合がある。この場合は、各ストリームブロック(SOBU)毎の経過時間の定義が難しい。   There is a case where a time stamp is not arranged at the start position of the sector arranged at the head of each stream block (SOBU). In this case, it is difficult to define the elapsed time for each stream block (SOBU).

その対応策としては、以下のものがある。   The countermeasures include the following.

A)各ストリームブロック毎の特定位置に配置されているタイムスタンプ値を、それぞれのストリームブロック固有時間とする。   A) A time stamp value arranged at a specific position for each stream block is set as a stream block unique time.

具体的には各ストリームブロック毎の最初に配置されている(しかも前のセクタから跨って記録されてない)タイムスタンプの値をそれぞれのストリームブロックの開始時刻とする。   Specifically, the time stamp value arranged at the beginning of each stream block (and not recorded across the previous sector) is set as the start time of each stream block.

B)各ストリームブロック毎の固有時間(例えば開始時刻)間の差分時間を、各ストリームブロック毎の経過時間と定義する。   B) A difference time between unique times (for example, start time) for each stream block is defined as an elapsed time for each stream block.

C)上記経過時間(差分時間)情報をタイムマップ情報252に記録する。   C) The elapsed time (difference time) information is recorded in the time map information 252.

上記差分時間(経過時間)で表示する方がデータ量が少なくなるメリットがある。しかしこの発明の実施の形態ではそれに限らず、それぞれのストリームブロック固有時間をタイムマップ情報252に記録することも可能である。   There is a merit that the amount of data is reduced by displaying the difference time (elapsed time). However, the embodiment of the present invention is not limited thereto, and each stream block specific time can be recorded in the time map information 252.

D)上記経過時間(差分時間)情報の丸め値をタイムマップ情報252に記録する。   D) The rounded value of the elapsed time (difference time) information is recorded in the time map information 252.

経過時間(差分時間)情報の計算結果を丸める(桁数の低い値を切り上げまたは四捨五入する)ことで桁数の低い値を省略し、この丸め値をタイムマップ情報252に記録することで、データサイズを少なくできる。   By rounding the calculation result of the elapsed time (difference time) information (rounding up or rounding down the value with a lower number of digits), omitting the value with the lower number of digits, and recording this rounded value in the time map information 252, data The size can be reduced.

E)部分消去後のストリームデータに対しても初期記録時に設定したストリームブロック境界位置を不変に保つ。   E) The stream block boundary position set at the time of initial recording is kept unchanged for the stream data after partial erasure.

なお、各ストリームブロックのセクタサイズは種々に設定可能であるが、好ましい実施の形態としては、図4のストリームブロック#μのように、2ECCブロック(32セクタ)で一定サイズ(64kバイト)のストリームオブジェクトユニット(SOBU)を、ストリームブロックとして採用するとよい。   Although the sector size of each stream block can be set variously, as a preferred embodiment, a stream of a constant size (64 kbytes) is composed of 2 ECC blocks (32 sectors) as in stream block # μ in FIG. An object unit (SOBU) may be employed as the stream block.

このようにストリームブロックを一定サイズ(たとえば2ECCブロック=32セクタ=64kバイト)のSOBUに固定すれば、次の利点が得られる:
(01)SOBU単位でストリームデータの消去あるいは書替を行っても、そのSOBUのECCブロックが、消去あるいは書替対象以外のSOBUのECCブロックに影響しない。そのため、消去あるいは書替に伴う(消去あるいは書替の対象でないSOBUに対する)ECCのデインターリーブ/インターリーブのやり直しが、生じない;
(02)任意のSOBU内部の記録情報に対するアクセス位置を、セクタ数(あるいはセクタ数に対応した他のパラメータ;たとえばストリームパックおよびその内部のアプリケーションパケット群の情報)で特定できる。たとえば、あるSOBU#k(図示せず)の中間位置にアクセスする場合は、SOBU#kー1とSOBU#kとの境界から16セクタ目(あるいは16セクタ目に対応するアプリケーションパケットの位置)を指定すればよい。
If the stream block is fixed to the SOBU of a certain size (for example, 2 ECC block = 32 sectors = 64 kbytes) in this way, the following advantages are obtained:
(01) Even when stream data is erased or rewritten in units of SOBU, the ECC block of the SOBU does not affect the ECC block of SOBUs other than those to be erased or rewritten. Therefore, there is no ECC deinterleaving / releaving (for SOBU that is not subject to erasure or rewriting) associated with erasure or rewriting;
(02) An access position for recording information in an arbitrary SOBU can be specified by the number of sectors (or other parameters corresponding to the number of sectors; for example, information on stream packs and application packet groups in the streams pack). For example, when accessing an intermediate position of a certain SOBU # k (not shown), the 16th sector (or the position of the application packet corresponding to the 16th sector) from the boundary between SOBU # k-1 and SOBU # k is set. You can specify.

図5は、デジタル放送のコンテンツとIEEE1394における映像データ転送形態とストリーマにおけるストリームパックとの対応関係を説明する図である。   FIG. 5 is a diagram for explaining the correspondence between digital broadcast content, video data transfer mode in IEEE 1394, and stream packs in a streamer.

デジタル放送では、MPEG2規格に従って圧縮された映像情報がトランスポートパケットに乗って転送されてくる。デジタル放送では、図5(c)に示すようにトランスポートストリームと呼ばれるマルチプログラム対応の多重・分離方式を採用しており、1個のトランスポートパケットb322のサイズが188バイト(または183バイト)の場合が多い。   In digital broadcasting, video information compressed in accordance with the MPEG2 standard is transferred on transport packets. In digital broadcasting, as shown in FIG. 5C, a multiplexing / demultiplexing method corresponding to a multiprogram called a transport stream is adopted, and the size of one transport packet b322 is 188 bytes (or 183 bytes). There are many cases.

このトランスポートパケット内は、図5(b)に示すように、トランスポートパケットヘッダ311と、記録情報のデータ本体が記録されているペイロード312とで構成されている。   As shown in FIG. 5B, the transport packet includes a transport packet header 311 and a payload 312 in which a data body of recording information is recorded.

トランスポートパケットヘッダ311は、図5(a)に示すように、ペイロードユニット開始インジケータ301、パケットID(PID)302、ランダムアクセスインジケータ303、プログラムクロックリファレンス504、再生タイムスタンプ(PTS)305等で構成されている。   As shown in FIG. 5A, the transport packet header 311 includes a payload unit start indicator 301, a packet ID (PID) 302, a random access indicator 303, a program clock reference 504, a reproduction time stamp (PTS) 305, and the like. Has been.

MPEG圧縮された映像情報は、Iピクチャ情報、Bピクチャ情報、およびPピクチャ情報を含んでいる。Iピクチャ情報が記録されている最初のトランスポートパケットには、図5(a)のランダムアクセスインジケータ303に”1”のフラグが立つ。また、各B、Pピクチャ情報の最初のトランスポートパケットには、図5(a)のペイロードユニット開始インジケータ301に”1”のフラグが立つ。   The MPEG-compressed video information includes I picture information, B picture information, and P picture information. In the first transport packet in which the I picture information is recorded, a flag “1” is set in the random access indicator 303 in FIG. In the first transport packet of each B and P picture information, a flag “1” is set in the payload unit start indicator 301 of FIG.

これらのランダムアクセスインジケータ303およびペイロードユニット開始インジケータ301の情報を利用して、IピクチャマッピングテーブルおよびB、Pピクチャ開始位置マッピングテーブルの情報を作成することができる。   The information of the random access indicator 303 and the payload unit start indicator 301 can be used to create the information of the I picture mapping table and the B and P picture start position mapping table.

たとえば、図5(a)に示したペイロードユニット開始インジケータ301に”1”のフラグが立ったトランスポートパケットに対して、B、Pピクチャ開始位置マッピングテーブル内の該当個所のビットが”1”になる。   For example, with respect to the transport packet in which the flag “1” is set in the payload unit start indicator 301 shown in FIG. 5A, the bit at the corresponding position in the B and P picture start position mapping table is set to “1”. Become.

デジタル放送では、ビデオ情報とオーディオ情報がそれぞれ異なるトランスポートパケットに入って転送される。そして、それぞれの情報の区別が、図5(a)のパケットID(PID)302で識別される。このPID302の情報を用いて、ビデオパケットマッピングテーブルとオーディオパケットマッピングテーブルを作成することができる。   In digital broadcasting, video information and audio information are transferred in different transport packets. Each information is identified by a packet ID (PID) 302 in FIG. Using the information of the PID 302, a video packet mapping table and an audio packet mapping table can be created.

図5(c)に示すように、デジタル放送では、1個のトランスポンダに複数の番組(この例では番組1〜番組3)がパケット化された形で時分割されて転送されてくる。たとえば、図5(b)のトランスポートパケットヘッダ311およびペイロード(記録情報)312の情報は、図5(c)に示される番組2のトランスポートパケットb322、トランスポートパケットe325により転送される。   As shown in FIG. 5 (c), in digital broadcasting, a plurality of programs (in this example, programs 1 to 3) are time-divided and transferred to one transponder in a packetized form. For example, the information of the transport packet header 311 and the payload (recording information) 312 in FIG. 5B is transferred by the transport packet b322 and the transport packet e325 of the program 2 shown in FIG.

IEEE1394では、図5(e)(f)に示すように、各IEEEアイソクロナス・ヘッダ343、344は、アイソクロナスパケットヘッダ351およびコモン・アイソクロナスパケットヘッダ352を含む。このコモン・アイソクロナスパケットヘッダ352内には、フォーマット依存のリザーブ領域が設定されている。   In IEEE 1394, as shown in FIGS. 5E and 5F, the IEEE isochronous headers 343 and 344 include an isochronous packet header 351 and a common isochronous packet header 352, respectively. A format-dependent reserved area is set in the common isochronous packet header 352.

この発明の実施の形態では、図5(g)に示すように、コモン・アイソクロナスパケットヘッダ352内のフォーマット依存のリザーブ領域に、ソースID361と、データブロックサイズ情報362と、Iピクチャ開始位置フラグ363が格納される。このようにフォーマット依存のリザーブ領域にIピクチャ開始位置フラグ363を設定することで、ストリームデータをアイソクロナス・モードで転送する時に同時にリアルタイムでストリームデータ内のIピクチャ位置指定(すなわちIピクチャの開始位置に該当するトランスポートパケットの指定)も行えるようにしている。ここに、この実施の形態の大きな特徴がある。   In the embodiment of the present invention, as shown in FIG. 5 (g), a source ID 361, data block size information 362, and an I picture start position flag 363 are stored in a format-dependent reserved area in the common isochronous packet header 352. Is stored. By setting the I picture start position flag 363 in the format-dependent reserved area in this manner, when the stream data is transferred in the isochronous mode, the I picture position designation in the stream data (that is, the start position of the I picture is set at the same time). (Designation of the corresponding transport packet). This is a major feature of this embodiment.

なお、図5(h)において、アプリケーションパケットエリアの末尾に番組2のトランスポートパケットbの前半部346が記録されるのではなく、このアプリケーションパケットエリアの末尾が余白となる場合もある。この場合は、アプリケーションパケットエリアの末尾は部分パケットではなく、予約バイト数のスタッフィングエリア(その先頭にタイムスタンプはない)となる。   In FIG. 5H, the first half 346 of the transport packet b of the program 2 is not recorded at the end of the application packet area, but the end of the application packet area may be a blank space. In this case, the end of the application packet area is not a partial packet, but is a stuffing area with a reserved number of bytes (no time stamp at the beginning).

また、通常のパケットにはタイムスタンプが付いているが、図5(i)に示すように、部分パケットではタイムスタンプを省略することができる。   In addition, time stamps are attached to normal packets, but time stamps can be omitted from partial packets as shown in FIG.

このようにすると、2つの隣接ストリームパック(図5(j))の境界で分断された部分パケット(パケット1つあたり188バイトとすれば部分パケットのサイズは1〜187バイト;平均して100バイト弱)を情報記録に有効利用できる。のみならず、部分パケットに対して省略されたタイムスタンプの分(タイムスタンプ1つあたり例えば4バイト)、媒体201に対する記憶容量を増やすことができる。   In this way, partial packets divided at the boundary of two adjacent stream packs (FIG. 5 (j)) (if each packet has 188 bytes, the size of the partial packet is 1 to 187 bytes; on average 100 bytes Can be used effectively for information recording. In addition, the storage capacity for the medium 201 can be increased by the time stamp omitted for the partial packet (for example, 4 bytes per time stamp).

また、図5(i)の先頭部分パケットの直後にくるタイムスタンプの位置は、図1(a)のファーストアクセスポイント56、あるいは図10(c)のFIRST_AP_OFFSETにより、特定することができる。   Further, the position of the time stamp immediately after the first partial packet in FIG. 5 (i) can be specified by the first access point 56 in FIG. 1 (a) or FIRST_AP_OFFSET in FIG. 10 (c).

図6は、ストリームオブジェクトのデータを格納するセクタ構造を説明する図である。   FIG. 6 is a diagram for explaining a sector structure for storing stream object data.

図6(a)〜(d)は、図1(h)〜(k)に相当する内容を示している。図6の例では、全てのストリームブロック(SOBU)#α〜#γが一定サイズ(32セクタ/2ECCブロック=64kバイト)で構成されている。そのうち、ストリームブロック(SOBU)#γの最終セクタNo.n、およびその1つ手前のセクタNo.nー1(図6(e))を構成するパック構造が、図6(f)〜(j)に例示されている。   FIGS. 6A to 6D show the contents corresponding to FIGS. 1H to 1K. In the example of FIG. 6, all stream blocks (SOBU) # α to # γ are configured with a fixed size (32 sectors / 2 ECC blocks = 64 kbytes). Among them, the last sector No. of the stream block (SOBU) # γ. n, and the sector No. immediately preceding it. The pack structure constituting n-1 (FIG. 6E) is illustrated in FIGS. 6F to 6J.

ストリームブロック(SOBU)#γの各セクタは、最終セクタNo.nを除き、同様なデータ構造を持っている。たとえばセクタNo.nー1についていうと、図6(f)に示すようになっている。   Each sector of the stream block (SOBU) # γ is the last sector number. Except n, it has a similar data structure. For example, sector No. As for n-1, it is as shown in FIG.

すなわち、セクタNo.nー1は2048バイト(2kバイト)のストリームパックにより構成される。このストリームパックは、14バイトのパックヘッダと、2034バイトのストリームPESパケットとで構成される。   That is, sector no. n-1 is composed of a stream pack of 2048 bytes (2 kbytes). This stream pack is composed of a 14-byte pack header and a 2034-byte stream PES packet.

ストリームPESパケットは、6バイトのPESヘッダと、1バイトのサブストリームIDと、2027バイトのストリームデータエリアとで構成される。   The stream PES packet is composed of a 6-byte PES header, a 1-byte substream ID, and a 2027-byte stream data area.

ストリームデータエリアは、9バイトのアプリケーションヘッダと、アプリケーションヘッダエクステンション(オプション)と、スタッフィングバイト(オプション)と、アプリケーションパケットエリアとで構成される。   The stream data area includes a 9-byte application header, an application header extension (option), a stuffing byte (option), and an application packet area.

図6(f)のアプリケーションパケットエリアは、図5(h)(i)に示したものと同様に構成できる(図5(h)(i)のパケットを図6ではアプリケーションパケットに読み替える)。   The application packet area in FIG. 6F can be configured in the same manner as that shown in FIGS. 5H and i (the packet in FIGS. 5H and i is replaced with the application packet in FIG. 6).

アプリケーションパケットエリアは、各々が(図5(h)のスタッフィングエリアおよび図5(i)の部分パケットを除き)アプリケーションタイムスタンプ(ATS)を先頭に持つアプリケーションパケット群で構成される。たとえば188バイトサイズのトランスポートパケットがアプリケーションパケットとしてアプリケーションパケットエリアに格納されるときは、10個程度のアプリケーションパケットがアプリケーションパケットエリアに格納できる。   The application packet area is composed of application packet groups each having an application time stamp (ATS) at the head (except for the stuffing area of FIG. 5 (h) and the partial packet of FIG. 5 (i)). For example, when a transport packet having a size of 188 bytes is stored in the application packet area as an application packet, about 10 application packets can be stored in the application packet area.

ストリーム記録においては、記録内容を生成するアプリケーションは、パック長の調整を別途行なう必要がないように、自身でスタッフィングを行なう。このため、ストリーム記録においては、ストリームパックが常に必要な長さ(たとえば2048バイト)を持つものとして扱うことができる。図6(f)のスタッフィングバイトは、ストリームパックを常に所定長(2048バイト)に保つために利用できる。   In stream recording, an application that generates recording contents performs stuffing by itself so that it is not necessary to separately adjust the pack length. For this reason, in stream recording, a stream pack can always be handled as having a required length (for example, 2048 bytes). The stuffing bytes shown in FIG. 6 (f) can be used to always keep the stream pack at a predetermined length (2048 bytes).

ストリームブロック(SOBU)#γの最終セクタNo.nは、図6(g)〜(j)に示すようになっている。すなわち、図6(g)に示すように最終セクタNo.nはパックヘッダおよびパディングパケットにより構成される。このパディングパケットは、図6(h)に示すように、そのアプリケーションパケットエリアにパディングエリア21(図1(k)のパディングエリア21に対応)を含む。   Last sector number of stream block (SOBU) # γ. n is as shown in FIGS. 6 (g) to (j). That is, as shown in FIG. n is composed of a pack header and a padding packet. As shown in FIG. 6 (h), this padding packet includes a padding area 21 (corresponding to the padding area 21 in FIG. 1 (k)) in its application packet area.

パディングエリア21内で最初のアプリケーションパケットエリア(先頭スタッフィングパケット)の場合は、図6(i)に示すように、アプリケーションタイムスタンプ(ATS)付きのスタッフィングパケット(実質的な記録内容を持たないゼロバイトデータ)で埋められる。もしパディングエリア21が複数セクタ分の長さを持つときは、パディングエリア21内で2番目以降のアプリケーションパケットエリア(後続スタッフィングパケット)は、図6(J)に示すように、ATSなしのスタッフィングパケット(ゼロバイトデータ)で埋められる。   In the case of the first application packet area (first stuffing packet) in the padding area 21, as shown in FIG. 6 (i), a stuffing packet with an application time stamp (ATS) (zero byte having no substantial recorded contents). Data). If the padding area 21 has a length corresponding to a plurality of sectors, the second and subsequent application packet areas (subsequent stuffing packets) in the padding area 21 are stuffing packets without ATS as shown in FIG. It is filled with (zero byte data).

ところで、ビットレートが極めて低い記録がなされる場合、タイムマップ情報(図3(h)の252;あるいは後述する図15のSOBI内MAPL)の回復(再生)を確実にするために、スタッフィングが必要になる。図6(i)(j)のスタッフィングパケットは、そのための概念的な単位として定義されている。   By the way, when recording is performed at a very low bit rate, stuffing is necessary to ensure recovery (reproduction) of time map information (252 in FIG. 3H; or MAPL in SOBI in FIG. 15 described later). become. The stuffing packet shown in FIGS. 6 (i) and 6 (j) is defined as a conceptual unit for that purpose.

このスタッフィングパケットの目的は、スタッフィングエリアを含め夫々のSOBUが少なくとも1つのATS値を含むようにすることで、達成される。   The purpose of this stuffing packet is achieved by ensuring that each SOBU, including the stuffing area, contains at least one ATS value.

スタッフィングパケットには、以下の条件が付く:
*1または複数のスタッフィングパケットは、常に、実際のアプリケーションパケットデータを含むパックの後のパックのアプリケーションパケットエリアから開始する;
*1または複数のスタッフィングパケットは、1つの4バイトATSと、該当SOBUの残りパックのアプリケーションデータエリアを埋め尽くすのに必要なだけのゼロバイトデータ(ATSの後に続く)とで構成される。いま、SOBU1個あたりのセクタ数をSOBU_SIZとしたときに、0≦n≦SOBU_SIZー1とすれば、スタッフィングパケットの全長は、「4+2014+n×2018」バイトとなる。
A stuffing packet has the following conditions:
* One or more stuffing packets always start from the application packet area of the pack after the pack containing the actual application packet data;
* One or more stuffing packets are composed of one 4-byte ATS and as many zero-byte data (following ATS) as are necessary to fill the application data area of the remaining pack of the SOBU. Now, when the number of sectors per SOBU is SOBU_SIZ, if 0 ≦ n ≦ SOBU_SIZ−1, the total length of the stuffing packet is “4 + 2014 + n × 2018” bytes.

スタッフィングパケットのATSは、次のように設定される:
*少なくとも1個のパックが実際のアプリケーションパケットデータを含んでいるSOBU内では、スタッフィングパケットのATSは、スタッフィングパケットに先行するアプリケーションパケットのATSに設定される;
*実際のアプリケーションパケットデータを含まないSOBU内では、スタッフィングパケットのATSはタイムマップ情報等の内容に応じて決定される。
The ATS of the stuffing packet is set as follows:
* In an SOBU where at least one pack contains actual application packet data, the ATS of the stuffing packet is set to the ATS of the application packet preceding the stuffing packet;
* In an SOBU that does not include actual application packet data, the ATS of the stuffing packet is determined according to the contents of time map information and the like.

スタッフィングパケットあるいはスタッフィングパケットの一部を含む全てのパックは、次のように構成される:
*パックヘッダのSCRは、先行パックのSCRに「2048×8ビット÷10.08Mbps」を加えたものとする;
*PESパケットヘッダおよびサブストリームIDは、他の全てのPESパケットに対するものと同じにする;
*アプリケーションヘッダ(図10(c)(d)参照)内において、AP_Ns=0、FIRST_AP_OFFSET=0、EXTENSION_HEADER_IFO=00b、SERVICE_ID=0(アプリケーションヘッダ内のその他のパラメータも0)とする。
All packs that contain stuffing packets or parts of stuffing packets are structured as follows:
* The SCR of the pack header is obtained by adding “2048 × 8 bits ÷ 10.08 Mbps” to the SCR of the preceding pack;
* The PES packet header and substream ID are the same as for all other PES packets;
* In the application header (see FIGS. 10C and 10D), AP_Ns = 0, FIRST_AP_OFFSET = 0, EXTENSION_HEADER_IFO = 00b, and SERVICE_ID = 0 (other parameters in the application header are also 0).

図7は、MPEGにおける映像情報圧縮方法とトランスポートパケットとの関係、およびMPEGにおけるトランスポートパケットとストリーマにおけるアプリケーションパケットとの関係を説明する図である。   FIG. 7 is a diagram for explaining the relationship between the video information compression method in MPEG and the transport packet, and the relationship between the transport packet in MPEG and the application packet in the streamer.

図7に示すように、デジタルTVでの放送信号情報にはMPEG2と呼ばれる信号圧縮方法が採用されている。MPEGによる信号圧縮方法では、TV表示用の各画面(ピクチャ)は時間差分情報を含まないIピクチャ501と時間差分情報を含むBピクチャ503、504およびPピクチャ502に分類される。   As shown in FIG. 7, a signal compression method called MPEG2 is adopted for broadcast signal information on a digital TV. In the signal compression method based on MPEG, each screen (picture) for TV display is classified into an I picture 501 that does not include time difference information, a B picture 503 and 504 that includes time difference information, and a P picture 502.

Iピクチャは前後の画面(ピクチャ)情報の影響を受けることなく単体で存在し、1枚の画面(ピクチャ)に対してDCT変換後、量子化した情報がIピクチャ圧縮情報511となり、Iピクチャ情報521として記録される。Pピクチャ502はIピクチャ501に対する差分情報512のみがPピクチャ情報522として記録される。また、Bピクチャ503はIピクチャ501とPピクチャ502に対する差分情報513、514がBピクチャ情報523として記録され、Bピクチャ504はIピクチャ501とPピクチャ502に対する差分情報515、516がBピクチャ情報524として記録される。   The I picture exists alone without being affected by the preceding and following screen (picture) information, and after DCT conversion is performed on one screen (picture), the quantized information becomes the I picture compression information 511, and the I picture information It is recorded as 521. In the P picture 502, only difference information 512 with respect to the I picture 501 is recorded as P picture information 522. In addition, difference information 513 and 514 for the I picture 501 and the P picture 502 are recorded as B picture information 523 in the B picture 503, and difference information 515 and 516 in the B picture 504 are B picture information 524. As recorded.

図7に示すように、Iピクチャ501の圧縮情報511はIピクチャ情報521としてトランスポートパケット1a、1b、…に記録され、Bピクチャの差分情報513、514はBピクチャ情報523としてトランスポートパケット33a、…に記録され、Bピクチャの差分情報515、516はBピクチャ情報524としてトランスポートパケット41d、…に記録され、Pピクチャ差分情報512はPピクチャ情報522としてトランスポートパケット(TP)48h〜298gに記録される。このように各I、B、Pピクチャ情報は異なるトランスポートパケットに記録されている。   As shown in FIG. 7, the compression information 511 of the I picture 501 is recorded in the transport packets 1a, 1b,... As the I picture information 521, and the difference information 513, 514 of the B picture is the transport packet 33a as the B picture information 523. ,... Are recorded in the transport packet 41d as B picture information 524, and the P picture difference information 512 is transport packet (TP) 48h to 298g as P picture information 522. To be recorded. Thus, each I, B, P picture information is recorded in different transport packets.

映像再生時には、Pピクチャ502あるいはBピクチャ503、504単体では画面を生成することができず、必ずIピクチャ501画面を生成した後に初めて各ピクチャ画面を生成できる。各ピクチャ情報521〜524は1個または複数のトランスポートパケット内のペイロードに分割記録されている。このとき、各ピクチャ情報521〜524の境界位置とトランスポートパケット間の境界位置は、図7に示されるように、常に一致するように記録される。   At the time of video reproduction, a screen cannot be generated by the P picture 502 or the B pictures 503 and 504 alone, and each picture screen can be generated only after the I picture 501 screen is generated. Each picture information 521 to 524 is divided and recorded in a payload in one or a plurality of transport packets. At this time, the boundary positions of the picture information 521 to 524 and the boundary positions between the transport packets are recorded so as to always coincide as shown in FIG.

Iピクチャ情報521が記録されている最初のトランスポートパケット1aには、そのランダムアクセスインジケータ303(図5(a))に”1”のフラグが立つ。また、各B、Pピクチャ情報523、524、522の最初のトランスポートパケット33a、41d、48hには、そのペイロードユニット開始インジケータ301(図5(a))に”1”のフラグが立つ。このランダムアクセスインジケータ303とペイロードユニット開始インジケータ301の情報を利用して、図1(a)のIピクチャ位置フラグ58とピクチャ先頭位置フラグ59の情報が作成される。同様に、個々のトランスポートパケットに関するビットマップ情報43(図5(b))としてコピープロテクトに利用する暗号情報60などの情報も記録される。   In the first transport packet 1a in which the I picture information 521 is recorded, a flag “1” is set in the random access indicator 303 (FIG. 5A). In the first transport packets 33a, 41d, and 48h of the B and P picture information 523, 524, and 522, a flag “1” is set in the payload unit start indicator 301 (FIG. 5A). The information of the random access indicator 303 and the payload unit start indicator 301 is used to create the information of the I picture position flag 58 and the picture head position flag 59 of FIG. Similarly, information such as encryption information 60 used for copy protection is also recorded as bitmap information 43 (FIG. 5B) relating to individual transport packets.

図7のIピクチャ(501)の位置情報(Iピクチャ位置情報)は、図3(g)(h)に示すようにオリジナルセル情報(SCI)(#1・272等)内にエントリポイント情報(SC_EPI)285として記録されている。   The position information (I picture position information) of the I picture (501) in FIG. 7 includes entry point information (SCI) (# 1, 272 etc.) in the original cell information (SCI) as shown in FIGS. SC_EPI) 285.

エントリポイント情報285内のデータ構造は、図7(a)(b)に示すように、同一ストリームオブジェクト内に存在する個々のIピクチャ位置情報を示すエントリポイント位置(第1エントリポイント位置(EP_APAT)531、第2エントリポイント位置532、第3エントリポイント位置533、…、最終エントリポイント位置535)の情報の羅列記載形式になっている。   As shown in FIGS. 7A and 7B, the data structure in the entry point information 285 is an entry point position (first entry point position (EP_APAT)) indicating individual I picture position information existing in the same stream object. 531, second entry point position 532, third entry point position 533,..., Last entry point position 535).

またエントリポイント位置(EP_APAT)531の情報内容としては、図7(a)に示すように、Iピクチャ情報521の最初の情報が記録されているトランスポートパケット1aに対応したタイムスタンプ1aの値が記録されている。個々のエントリポイント位置(EP_APAT)532、533、535の情報内容も、同様に、それぞれの対応Iピクチャ情報の最初の情報が記録されているトランスポートパケットに対応したタイムスタンプ87f、183d、298gの値が記録される。   As the information content of the entry point position (EP_APAT) 531, as shown in FIG. 7A, the value of the time stamp 1a corresponding to the transport packet 1a in which the first information of the I picture information 521 is recorded. It is recorded. Similarly, the information contents of the individual entry point positions (EP_APAT) 532, 533, and 535 include the time stamps 87f, 183d, and 298g corresponding to the transport packet in which the first information of each corresponding I picture information is recorded. The value is recorded.

図4に示した例えばユーザ定義セル#11・294に対する該当セルの開始時間および/または該当セルの終了時間の情報は、図3(f)のユーザ定義PGC情報テーブル234内に記録されている。この場合に、図7のBピクチャ情報524から再生したい場合には、該当セルの開始時間としてタイムスタンプ41dを設定することができる。このように、該当セルの開始時間あるいは該当セルの終了時間の情報は、Iピクチャ位置に関わりなく任意のタイムスタンプ情報で設定できる。   For example, the information on the start time and / or end time of the corresponding cell for the user-defined cell # 11/294 shown in FIG. 4 is recorded in the user-defined PGC information table 234 of FIG. In this case, when it is desired to reproduce from the B picture information 524 of FIG. 7, the time stamp 41d can be set as the start time of the corresponding cell. As described above, the information on the start time of the corresponding cell or the end time of the corresponding cell can be set by any time stamp information regardless of the I picture position.

一方、この実施の形態におけるストリームオブジェクトの開始/終了時刻は、Iピクチャ位置を意識して設定される。すなわち、図3(h)および図7(d)に示したストリームオブジェクト一般情報251の情報内容としては、図7(c)に示すように、録画開始時間を示す記録時間(SOB_REC_TM)541と、ストリームオブジェクト開始時間(SOB_S_APAT)542と、ストリームオブジェクト終了時間(SOB_E_APAT)543が記録されている。   On the other hand, the start / end time of the stream object in this embodiment is set in consideration of the I picture position. That is, as the information contents of the stream object general information 251 shown in FIGS. 3 (h) and 7 (d), as shown in FIG. 7 (c), a recording time (SOB_REC_TM) 541 indicating a recording start time, A stream object start time (SOB_S_APAT) 542 and a stream object end time (SOB_E_APAT) 543 are recorded.

このストリームオブジェクト開始時間(SOB_S_APAT)542は、必ず、Iピクチャ情報521の先頭が記録されているトランスポートパケット1aに対応したタイムスタンプ1aの値に設定される必要がある。同様に、ストリームオブジェクト終了時間(SOB_E_APAT)543は、Iピクチャ情報の直前のトランスポートパケット298gに対応したタイムスタンプ298gの値に設定される必要がある。   This stream object start time (SOB_S_APAT) 542 must be set to the value of the time stamp 1a corresponding to the transport packet 1a in which the head of the I picture information 521 is recorded. Similarly, the stream object end time (SOB_E_APAT) 543 needs to be set to the value of the time stamp 298g corresponding to the transport packet 298g immediately before the I picture information.

図7のトランスポートパケットがストリーマ(後述する図11の光ディスク装置415)に記録されるときは、トランスポートパケットの内容はアプリケーションタイムスタンプ(ATS)というタイムスタンプ付きのパケット(アプリケーションパケット)に移し替えられる。   When the transport packet of FIG. 7 is recorded on a streamer (an optical disk device 415 of FIG. 11 described later), the content of the transport packet is transferred to a packet with a time stamp (application packet) called an application time stamp (ATS). It is done.

そして、ATS付きアプリケーションパケットの一群(通常10パケット前後)がストリームPESパケット内のアプリケーションパケットエリアに格納される。   A group of application packets with ATS (usually around 10 packets) is stored in the application packet area in the stream PES packet.

このストリームPESパケットにパックヘッダを付したものが、1つのストリームパックになる。ストリームPESパケットは、PESヘッダと、サブストリームIDと、アプリケーションヘッダと、アプリケーションヘッダエクステンション(オプション)と、スタッフィングバイト(オプション)と、上記ATS付きアプリケーションパケット群を格納するアプリケーションパケットエリアとで構成される。   The stream PES packet with a pack header is one stream pack. The stream PES packet includes a PES header, a substream ID, an application header, an application header extension (option), a stuffing byte (option), and an application packet area for storing the application packet group with the ATS. .

図8は、図1その他で示されるタイムマップ情報252の設定方法を説明する図である。   FIG. 8 is a diagram for explaining a method for setting the time map information 252 shown in FIG. 1 and others.

図1(g)あるいは図8(b)に示したようにタイムスタンプ(TMS)およびトランスポートパケット(TP)(またはアプリケーションパケットAP)を順次詰めて記録してあるストリームデータに対して、図8(a)のように例えば2ECCブロック(32セクタ)毎に区切って、ストリームブロック(SOBU)#α、#β、#γ、〜#λを構成する。   As shown in FIG. 1 (g) or FIG. 8 (b), the stream data in which the time stamp (TMS) and the transport packet (TP) (or application packet AP) are sequentially packed is recorded as shown in FIG. As shown in (a), for example, the stream blocks (SOBU) # α, # β, # γ, and ˜ # λ are configured by being divided every 2 ECC blocks (32 sectors).

ストリームブロック(SOBU)#αの先頭位置には、タイムスタンプ(TMS)1aが配置されている。このタイムスタンプ1aは、SOBU#αの先頭パケットの到着時間(SOBU_S_APAT)を示している。このタイムスタンプ1aの値[0]が、SOBU#αの開始時刻になる。   A time stamp (TMS) 1a is arranged at the head position of the stream block (SOBU) # α. This time stamp 1a indicates the arrival time (SOBU_S_APAT) of the first packet of SOBU # α. The value [0] of this time stamp 1a becomes the start time of SOBU # α.

他のストリームブロック(SOBU#β〜SOBU#λ)に対しては、前のセクタから跨って記録されないという条件の下で、最初に配置されたタイムスタンプ33a、65a、98a、…321aの値([28]、[63]、[98]、[297])が、各ストリームブロック(SOBU#β〜SOBU#λ)の開始時刻とされる。   For the other stream blocks (SOBU # β to SOBU # λ), the values of the time stamps 33a, 65a, 98a,. [28], [63], [98], [297]) are the start times of the stream blocks (SOBU # β to SOBU # λ).

各ストリームブロック、たとえば最後のSOBU#λの、最終パケットの直前にある最後のタイムスタンプ300aは、SOBU#λの最終パケットの到着時間(SOBU_E_APAT)を示している。このタイムスタンプ300aの値[300]が、SOBU#λの終了時刻になる。   The last time stamp 300a immediately before the last packet of each stream block, for example, the last SOBU # λ, indicates the arrival time (SOBU_E_APAT) of the last packet of SOBU # λ. The value [300] of the time stamp 300a is the end time of SOBU # λ.

なお、最後のSOBU#λの末尾に余白が生じるときは、この余白は実データのないパディングエリア21(図1(k)あるいは図6(h)〜(j)参照)とされる。   When a margin is generated at the end of the last SOBU # λ, the margin is set as a padding area 21 without actual data (see FIG. 1 (k) or FIGS. 6 (h) to (j)).

図8(b)に示すように、各ストリームブロック(SOBU#α〜SOBU#λ)それぞれの開始時刻を、0、28、63、98、…297とする。これらの時刻は、(a)秒単位、(b)フィールドあるいはフレーム/ピクチャ数(例えばNTSCでは30ピクチャ/秒、60フィールド/秒、PALでは25ピクチャ/秒、50フィールド/秒)、および(c)27MHzあるいは90kHzの基準クロックによるカウント数のうちの、いずれかで表示できる。   As shown in FIG. 8B, the start times of the stream blocks (SOBU # α to SOBU # λ) are set to 0, 28, 63, 98,. These times are: (a) seconds, (b) field or frame / picture count (eg 30 pictures / second for NTSC, 60 fields / second, 25 pictures / second for PAL, 50 fields / second), and (c ) It can be displayed in either of the counts by the reference clock of 27 MHz or 90 kHz.

図8(a)(b)の例示では、最初のストリームブロック(SOBU#α)の経過時間は[28]−[0]=[28](有効数2桁)であるが、この経過時間の表現はもっと粗くても実用性は損なわれないので、この経過時間値[28]の
1桁目を丸め(切り上げ)て、[30]としている。
In the examples of FIGS. 8A and 8B, the elapsed time of the first stream block (SOBU # α) is [28] − [0] = [28] (2 significant digits). Even if the expression is coarser, the practicality is not impaired, so the first digit of this elapsed time value [28] is rounded (rounded up) to [30].

2番目のストリームブロック(SOBU#β)の経過時間は、上記丸め計算結果[30]を用いると[63]−[30]となるが、同様に1桁目を丸め(切り上げ)て[40]とする。以下同様に後続ストリームブロック(SOBU#γ〜SOBU#λ)の経過時間は有効数1桁に丸めた(切り上げた)数値で表現される。   The elapsed time of the second stream block (SOBU # β) is [63]-[30] when the rounding calculation result [30] is used. Similarly, the first digit is rounded (rounded up) [40]. And Similarly, the elapsed time of subsequent stream blocks (SOBU # γ to SOBU # λ) is expressed by a numerical value rounded up (rounded up) to one significant number.

なお、ストリームブロック(SOBU#λ)以降へはアクセスしないので、図8(c)のように、最後のストリームブロックに対する時間差値をあえてブランクにしている。   Since the stream block (SOBU # λ) and the subsequent blocks are not accessed, the time difference value for the last stream block is intentionally blanked as shown in FIG. 8C.

以上の丸め計算の結果とタイムマップ情報252との関係は、図8(c)に示されている。   The relationship between the rounding calculation result and the time map information 252 is shown in FIG.

ところで、ストリームブロック(SOBU#λ)以降のストリームブロックは存在しないので、他のストリームブロックと同様な差分時間計算は行えない。そこで、この実施の形態では、最後のストリームブロック(SOBU#λ)だけは、その中で最後に記録されたタイムスタンプの値(図8(b)の例ではタイムスタンプ300aの値[300])と最後のストリームブロック(SOBU#λ)内で最初に記録されたタイムスタンプの値(図8(b)の例ではタイムスタンプ321aの値[297])との間の差分を計算し、切り上げした値を時間差値に設定する方法も可能にしている。これを図8(d)に示す。   By the way, since there is no stream block after the stream block (SOBU # λ), the same differential time calculation as other stream blocks cannot be performed. Therefore, in this embodiment, only the last time stamp value (SOBU # λ) recorded in the time stamp value (the time stamp 300a value [300] in the example of FIG. 8B) is included. And the difference between the time stamp value recorded first in the last stream block (SOBU # λ) (the value [297] of the time stamp 321a in the example of FIG. 8B) is rounded up. It is also possible to set the value to the time difference value. This is shown in FIG.

なお、図8(d)の最後のSOBU#λの時間差値計算方法は、2つの考え方が可能である。第1は、最後のタイムスタンプ300a(SOBU#λのSOBU_E_APAT)の丸める前の値[300]と最初のタイムスタンプ321aの丸める前の値[297]を用い、その差分結果[3]を切り上げ丸めして時間差値[10]を求める方法である。第2は、最後のタイムスタンプ300aの丸め値[300]と最初のタイムスタンプ321aの丸め値[300]を用い、その差分結果[0]に丸め誤差分[10]を加えて時間差値[10]を求める方法である。   Note that there are two possible ways of calculating the time difference value of the last SOBU # λ in FIG. First, the value [300] before rounding of the last time stamp 300a (SOBU_E_APAT of SOBU # λ) and the value [297] of the first time stamp 321a before rounding are used, and the difference result [3] is rounded up. Thus, the time difference value [10] is obtained. Second, the rounding value [300] of the last time stamp 300a and the rounding value [300] of the first time stamp 321a are used, and a rounding error [10] is added to the difference result [0] to obtain a time difference value [10]. It is a method to ask for.

第2の方法では、全ての数値の末尾1桁にある「0」を取り除いた有効桁数1で数値を纏め、丸め誤差分を[1]とし、その他の数値の末尾1桁をそれぞれ削除して考えることもできる。   In the second method, all the numerical values are grouped with the number of significant digits 1 excluding “0” in the last digit, the rounding error is set to [1], and the last digit of the other numerical values is deleted. You can also think about it.

図9は、記録済みのストリームオブジェクトの一部を部分的に消去した場合において、消去前後で、ストリームオブジェクト情報およびオリジナルセル情報がどのように変化するかを説明する図である。   FIG. 9 is a diagram for explaining how the stream object information and the original cell information change before and after erasure when a part of a recorded stream object is partially erased.

前述した一連の情報記載方法は、部分消去されたストリームオブジェクトに対しても適応できる。図9(k)は部分消去前の状態であり、録画直後のストリームオブジェクト(図1(h)その他のSOB#B・299)に関するストリームデータ構造およびオリジナルセル範囲、ストリームオブジェクト範囲は、図9(a)〜(e)に示すようになっている。   The series of information description methods described above can also be applied to partially erased stream objects. FIG. 9 (k) shows a state before partial erasure. The stream data structure, original cell range, and stream object range for the stream object immediately after recording (FIG. 1 (h) other SOB # B • 299) are shown in FIG. a) to (e).

以下、実表示範囲としてタイムスタンプ97cからタイムスタンプ224kまでの範囲を除いて、その範囲の前後を部分消去した後の処理を説明する。   In the following, a process will be described after the range from the time stamp 97c to the time stamp 224k is excluded as the actual display range, and the front and back of the range are partially erased.

この実施の形態においては、セクタ単位で部分消去が行なわれる。しかし部分消去後のストリームオブジェクトの再生を行った直後に別のストリームオブジェクトの再生を行い、しかもそれらのストリームオブジェクトの繋ぎ目で画面の乱れを生じさせることなくシームレス再生を可能にするには、MPEGビットストリームのGOP境界位置を保持したまま部分削除を行う必要がある。   In this embodiment, partial erasure is performed on a sector basis. However, in order to perform playback of another stream object immediately after playback of a stream object after partial erasure and to enable seamless playback without causing screen distortion at the joint of these stream objects, MPEG It is necessary to perform partial deletion while maintaining the GOP boundary position of the bitstream.

タイムスタンプ97cに対応したトランスポートパケット97cの直前のIピクチャ先頭位置が図7(a)の第2エントリポイント位置532に示すようにトランスポートパケット87fに存在するとする。この場合、トランスポートパケット87fを含むセクタNo.87を残し、その前のセクタ以前の全セクタを部分消去し、このタイムスタンプ87fの値を部分消去後のストリームオブジェクトのストリームオブジェクト開始時間(SOB_S_APAT)542とする(図9(l)参照)。   Assume that the I-picture head position immediately before the transport packet 97c corresponding to the time stamp 97c is present in the transport packet 87f as indicated by the second entry point position 532 in FIG. In this case, the sector number including the transport packet 87f. 87 is left, all the sectors before the previous sector are partially erased, and the value of this time stamp 87f is set to the stream object start time (SOB_S_APAT) 542 of the stream object after the partial erase (see FIG. 9L).

その結果、たとえば元には32セクタあったストリームブロック#γのサイズが30セクタに減少する。   As a result, for example, the size of the stream block # γ originally 32 sectors is reduced to 30 sectors.

同時に、それに対応してタイムマップ情報252内に記載されるストリームブロック時間差の値も、たとえば40から30へと減少する。ストリームブロック#δ〜#ηの境界位置は部分消去前後で不変に保たれるので、その部分に関係したタイムマップ情報252内情報は変化しない。   At the same time, the value of the stream block time difference described in the time map information 252 correspondingly decreases from 40 to 30, for example. Since the boundary positions of the stream blocks # δ to # η are kept unchanged before and after partial erasure, the information in the time map information 252 related to the portion does not change.

図7では省略したがIピクチャ先頭位置がトランスポートパケット225eから始まるとすれば、トランスポートパケット225dを含む図9(i)のセクタNo.225まで残し、それ以降の全セクタを消去する。   Although omitted in FIG. 7, if the head position of the I picture starts with the transport packet 225e, the sector number of FIG. 9 (i) including the transport packet 225d is included. Leave to 225 and erase all subsequent sectors.

図9(j)のストリームオブジェクト終了時間(SOB_E_APAT)543は、上記トランスポートパケット225dのタイムスタンプ225dにより設定できる。   The stream object end time (SOB_E_APAT) 543 in FIG. 9J can be set by the time stamp 225d of the transport packet 225d.

部分消去後の該当セルの開始時間(SC_S_APAT)283/終了時間(SC_E_APAT)284は、図9(i)に示すように、部分消去の実指定範囲に合わせて、タイムスタンプ97c、タイムスタンプ224kとされる。   As shown in FIG. 9 (i), the start time (SC_S_APAT) 283 / end time (SC_E_APAT) 284 of the corresponding cell after partial erasure is set to a time stamp 97c and time stamp 224k according to the actual designated range of partial erasure. Is done.

このような方法でタイムマップ情報(あるいはストリームオブジェクト情報SOBI/オリジナルセル情報SCI)が作成される所にこの実施の形態の特徴がある。   The feature of this embodiment is that time map information (or stream object information SOBI / original cell information SCI) is created by such a method.

なお、部分消去前後で開始時間および/または終了時間は変化するが、SOBUサイズは不変(たとえば32セクタ分64kバイト一定)に保たれる。   Note that the start time and / or end time changes before and after the partial erase, but the SOBU size remains unchanged (for example, 64 kbytes for 32 sectors is constant).

部分消去時はSOBU単位の消去を行なうことも可能であり、この場合は、オリジナルセル内で最初の(または最後の)タイムスタンプTMSは、必ず、SOB内最初の(または最後の)SOBU内に含まれるようになる。   In partial erasing, it is also possible to erase in units of SOBU. In this case, the first (or last) time stamp TMS in the original cell is always in the first (or last) SOBU in the SOB. To be included.

図10は、図5その他に示されるストリームパックのデータ構造を説明する図である。   FIG. 10 is a diagram for explaining the data structure of the stream pack shown in FIG. 5 and others.

各ストリームパックは、図10(d)に示すようなデータ構造を持っている。すなわち、14バイトのパックヘッダ11と、6バイトのPESヘッダ601と、1バイトのサブストリームIDと、9バイトのアプリケーションヘッダと、必要に応じて用いられるオプションのアプリケーションヘッダエクステンションと、必要に応じて用いられるオプションのスタッフィングバイトと、アプリケーションタイムスタンプATSが付されたアプリケーションパケットを1以上含むアプリケーションパケット群とで、1つのストリームパックが構成される(図6(f)参照)。   Each stream pack has a data structure as shown in FIG. That is, a 14-byte pack header 11, a 6-byte PES header 601, a 1-byte substream ID, a 9-byte application header, an optional application header extension used as necessary, and, if necessary, One stream pack is composed of an optional stuffing byte to be used and an application packet group including one or more application packets with an application time stamp ATS (see FIG. 6F).

パックヘッダ11は、図10(g)に示すように、パック開始コードの情報、システムクロックリファレンス(SCR)ベースの情報、SCRエクステンションの情報、プログラム多重化レートの情報、パックスタッフィング長の情報等を含んでいる。SCRベースは32ビットで構成され、その32ビット目はゼロとされる。また、プログラム多重化レートとしては、たとえば10.08Mbpsが採用される。   As shown in FIG. 10G, the pack header 11 includes pack start code information, system clock reference (SCR) base information, SCR extension information, program multiplexing rate information, pack stuffing length information, and the like. Contains. The SCR base is composed of 32 bits, and the 32nd bit is set to zero. Further, for example, 10.08 Mbps is adopted as the program multiplexing rate.

PESヘッダは、図8(f)に示すように、パケット開始コードプリフィックスの情報、ストリームID(プライベートストリーム2)の情報、PESパケット長の情報を含んでいる。   As shown in FIG. 8 (f), the PES header includes packet start code prefix information, stream ID (private stream 2) information, and PES packet length information.

また、サブストリームIDは、図8(f)に示すように、ストリーム記録データを特定する内容を持つ。具体的には、サブストリームID=”00000010b”によって、そのストリームパックに格納されたデータがストリーム記録データであることが示される。このストリームIDが”10111110b”のときは、そのストリームパックがパディングパケット(図6(g)参照)に用いられるものであることが示される。   Further, the substream ID has contents for specifying stream recording data, as shown in FIG. Specifically, substream ID = “00000010b” indicates that the data stored in the stream pack is stream recording data. When the stream ID is “10111110b”, it is indicated that the stream pack is used for a padding packet (see FIG. 6G).

図10(d)のアプリケーションヘッダは、図10(c)に示すように、バージョン情報、アプリケーションパケット数AP_Ns、先頭アプリケーションパケットのタイムスタンプ位置FIRST_AP_OFFSET、エクステンションヘッダ情報EXTENSION_HEADER_IFO、サービスID等を含んでいる。   As shown in FIG. 10C, the application header of FIG. 10D includes version information, the number of application packets AP_Ns, the time stamp position FIRST_AP_OFFSET of the top application packet, extension header information EXTENSION_HEADER_IFO, a service ID, and the like.

ここで、バージョンには、アプリケーションヘッダフォーマットのバージョン番号が記述される。   Here, the version describes the version number of the application header format.

アプリケーションヘッダのAP_Nsは、該当ストリームパック内で開始するアプリケーションパケットの数を記述したものである。該当ストリームパック内にATSの先頭バイトが格納されているときは、このストリームパック内でアプリケーションパケットが開始すると見なすことができる。   AP_Ns in the application header describes the number of application packets that start in the corresponding stream pack. When the first byte of ATS is stored in the corresponding stream pack, it can be considered that the application packet starts in this stream pack.

FIRST_AP_OFFSETには、該当ストリームパケット内で開始される最初のアプリケーションパケットのタイムスタンプ位置が、このストリームパケットの最初のバイトからの相対値として、バイト単位で、記述される。もしストリームパケット内で開始するアプリケーションパケットがないときは、FIRST_AP_OFFSETには「0」が記述される。   In FIRST_AP_OFFSET, the time stamp position of the first application packet started in the corresponding stream packet is described in byte units as a relative value from the first byte of this stream packet. If there is no application packet to start in the stream packet, “0” is described in FIRST_AP_OFFSET.

EXTENSION_HEADER_INFOには、該当ストリームパケット内にアプリケーションヘッダエクステンションおよび/またはスタッフィングバイトが存在するか否かが、記述される。   EXTENSION_HEADER_INFO describes whether an application header extension and / or stuffing byte is present in the corresponding stream packet.

EXTENSION_HEADER_INFOの内容が00bの場合は、アプリケーションヘッダの後にアプリケーションヘッダエクステンションもスタッフィングバイトも存在しないことが示される。   When the content of EXTENSION_HEADER_INFO is 00b, it indicates that neither an application header extension nor a stuffing byte exists after the application header.

EXTENSION_HEADER_INFOの内容が10bの場合は、アプリケーションヘッダの後にアプリケーションヘッダエクステンションがあるが、スタッフィングバイトは存在しないことが示される。   When the content of EXTENSION_HEADER_INFO is 10b, it indicates that there is an application header extension after the application header, but there is no stuffing byte.

EXTENSION_HEADER_INFOの内容が11bの場合は、アプリケーションヘッダの後にアプリケーションヘッダエクステンションが存在し、かつアプリケーションヘッダエクステンションの後にスタッフィングバイトも存在することが示される。   When the content of EXTENSION_HEADER_INFO is 11b, it is indicated that an application header extension exists after the application header, and a stuffing byte also exists after the application header extension.

EXTENSION_HEADER_INFOの内容が01bとなることは禁止されている。   It is prohibited for the content of EXTENSION_HEADER_INFO to be 01b.

アプリケーションパケットエリアの前のスタッフィングバイト(オプション)は、「EXTENSION_HEADER_INFO=11b」によりアクティブになる。こうすることで、アプリケーションヘッダエクステンション内のバイト数と、アプリケーションパケットエリア内に格納できるアプリケーションパケット数との間に矛盾が生じた場合に「パッキングパラドクス」が起きるのを防止できる。   The stuffing byte (option) in front of the application packet area is activated by “EXTENSION_HEADER_INFO = 11b”. By doing so, it is possible to prevent a “packing paradox” from occurring when there is a contradiction between the number of bytes in the application header extension and the number of application packets that can be stored in the application packet area.

SERVICE_IDには、ストリームを生成するサービスのIDが記述される。このサービスが未知のものであれば、SERVICE_IDに0x0000が記述される。   SERVICE_ID describes the ID of the service that generates the stream. If this service is unknown, 0x0000 is described in SERVICE_ID.

図10(c)のFIRST_AP_OFFSETは、図10(b)あるいは図1(a)のファーストアクセスポイント56に相当する。このファーストアクセスポイント56は、図10(a)に示すように、パックヘッダ(またはアプリケーションヘッダ)内の検索情報42(図1(b)参照)内に格納される。   FIRST_AP_OFFSET in FIG. 10C corresponds to the first access point 56 in FIG. 10B or FIG. As shown in FIG. 10A, the first access point 56 is stored in the search information 42 (see FIG. 1B) in the pack header (or application header).

図10(d)のスタッフィングバイトおよびアプリケーションパケット群は、図6(f)で示したように、アプリケーションパケットエリアを構成している。このアプリケーションパケットエリアの先頭に部分アプリケーションパケットが記録される。その後に、アプリケーションタイムスタンプATSとアプリケーションパケットとのペアが複数ペア、シーケンシャルに記録される。そして、図5(h)で示したように、アプリケーションパケットエリアの末尾に、部分アプリケーションパケット(または予約バイトのスタッフィングエリア)が記録される。   The stuffing byte and application packet group in FIG. 10D constitute an application packet area as shown in FIG. A partial application packet is recorded at the head of this application packet area. Thereafter, a plurality of pairs of application time stamp ATS and application packet are sequentially recorded. Then, as shown in FIG. 5H, a partial application packet (or a stuffing area for reserved bytes) is recorded at the end of the application packet area.

別の言い方をすると、アプリケーションパケットエリアの開始位置には、部分アプリケーションパケットが存在でき、アプリケーションパケットエリアの終了位置には、部分アプリケーションパケットあるいは予約されたバイト数のスタッフィングエリアが存在できる。   In other words, a partial application packet can exist at the start position of the application packet area, and a partial application packet or a stuffing area with the reserved number of bytes can exist at the end position of the application packet area.

各アプリケーションパケットの前に配置されたアプリケーションタイムスタンプ(ATS)は、32ビット(4バイト)で構成される。このATSは、2つの部分、すなわち基本部分と拡張部分に分けられる。基本部分は90kHzユニット値と呼ばれる部分であり、拡張部分は27MHzで測った細かい値(less significant value)を示す。   An application time stamp (ATS) arranged in front of each application packet is composed of 32 bits (4 bytes). This ATS is divided into two parts: a basic part and an extended part. The basic part is a part called 90 kHz unit value, and the extended part shows a less significant value measured at 27 MHz.

図10(d)において、アプリケーションヘッダエクステンションは、アプリケーションパケット〜アプリケーションパケット間で異なり得る情報を格納するのに用いることができる。このような情報は、必ずしも全てのアプリケーションに必要なものではない。それゆえ、アプリケーションヘッダのデータフィールドは、ストリームデータエリア内にオプションのアプリケーションヘッダエクステンションが存在することを(前述したEXTENSION_HEADER_INFOにおいて)記述できるように定義されいる。   In FIG. 10D, the application header extension can be used to store information that may differ between application packets and application packets. Such information is not necessary for all applications. Therefore, the data field of the application header is defined so as to describe (in the above-described EXTENSION_HEADER_INFO) that an optional application header extension exists in the stream data area.

ストリームの記録時において、最初のアプリケーションパケットのアプリケーションタイムスタンプATSの先頭バイトは、ストリームオブジェクトSOBの始まりにおける最初のストリームパケット内のアプリケーションパケットエリアの開始位置に、アラインされている必要がある。   At the time of recording the stream, the first byte of the application time stamp ATS of the first application packet needs to be aligned with the start position of the application packet area in the first stream packet at the beginning of the stream object SOB.

一方、SOB内のその後のストリームパケットについては、隣接ストリームパケット境界で、アプリケーションパケットが分割(スプリット)されてもよい。   On the other hand, for subsequent stream packets in the SOB, application packets may be divided (split) at adjacent stream packet boundaries.

図1(g)に示した2つのトランスポートパケット1k、あるいは図5(h)(i)に示した部分アプリケーションパケットは、この分割(スプリット)により生じたアプリケーションパケットを示している。   The two transport packets 1k shown in FIG. 1 (g) or the partial application packets shown in FIGS. 5 (h) and (i) indicate application packets generated by this division (split).

ストリームパケット内で開始される最初のアプリケーションタイムスタンプのバイトオフセット、およびそのストリームパケット内で開始されるアプリケーションパケットの数は、そのアプリケーションヘッダに記述される。こうすることにより、あるストリームパケット内において、最初のアプリケーションタイムスタンプの前および最後のアプリケーションパケットの後におけるスタッフィングが、自動的に行われる。   The byte offset of the first application timestamp that starts in the stream packet and the number of application packets that start in the stream packet are described in the application header. By doing so, stuffing before the first application time stamp and after the last application packet is automatically performed in a stream packet.

すなわち、上記自動化メカニズムにより、「アプリケーションが自分でスタッフィングを行なう」ことが実現される。この自動スタッフィングにより、ストリームパケットは常に必要な長さを持つことになる。   That is, “the application performs stuffing by itself” is realized by the automatic mechanism. This automatic stuffing ensures that the stream packet always has the required length.

アプリケーションヘッダエクステンション(オプション)はエントリのリストからなる。ここには、該当ストリームパケット内で開始する各アプリケーションパケットに対する1バイト長の1エントリがある。これらエントリのバイトは、アプリケーションパケット毎に異なり得る情報を格納するのに利用できる。   The application header extension (optional) consists of a list of entries. Here, there is one entry of 1 byte length for each application packet starting in the corresponding stream packet. The bytes of these entries can be used to store information that can vary from application packet to application packet.

なお、1バイトのアプリケーションヘッダエクステンション(オプション)には、図10(e)に示すように、1ビットのAU_STARTと、1ビットのAU_ENDと、2ビットのCOPYRIGHTとが記述される。   The 1-byte application header extension (option) describes 1-bit AU_START, 1-bit AU_END, and 2-bit COPYRIGHT as shown in FIG.

AU_STARTが”1”にセットされると、関連アプリケーションパケットが、ストリーム内にランダムアクセスエントリポイント(ランダムアクセスユニットの開始)を含むことが示される。AU_ENDが”1”にセットされると、関連アプリケーションパケットがランダムアクセスユニットの最終パケットであることが示される。COPYRIGHTには、関連アプリケーションパケットの著作権の状態が記述される。   When AU_START is set to “1”, it indicates that the associated application packet includes a random access entry point (start of random access unit) in the stream. When AU_END is set to “1”, it indicates that the associated application packet is the final packet of the random access unit. COPYRIGHT describes the copyright status of the related application packet.

図10のパケット構造は、該当ストリームオブジェクト(SOB)の最終セクタ以外に適用できるが、その最終セクタには必ずしも適用されない。最終セクタに対しては、図6(i)(j)のパケット構造が適用される。   The packet structure of FIG. 10 can be applied to other than the last sector of the corresponding stream object (SOB), but is not necessarily applied to the last sector. The packet structure shown in FIGS. 6 (i) and (j) is applied to the last sector.

図11は、この発明の一実施の形態に係るストリームデータ記録再生システム(光ディスク装置/ストリーマ、STB装置)の構成を説明する図である。この実施の形態では、情報記憶媒体201として、DVD−RAMディスクのような記録/再生可能光ディスクを想定している。   FIG. 11 is a diagram for explaining the configuration of a stream data recording / reproducing system (optical disc apparatus / streamer, STB apparatus) according to an embodiment of the present invention. In this embodiment, it is assumed that the information storage medium 201 is a recordable / reproducible optical disc such as a DVD-RAM disc.

以下、図11を用いて、この発明の一実施の形態に係るストリームデータ記録再生装置の内部構造を説明する。   Hereinafter, the internal structure of the stream data recording / reproducing apparatus according to the embodiment of the present invention will be described with reference to FIG.

このストリームデータ記録再生装置は、光ディスク装置415、STB装置416およびその周辺機器から構成される。   This stream data recording / reproducing apparatus includes an optical disk device 415, an STB device 416, and peripheral devices.

周辺機器としては、ビデオミキシング部405、フレームメモリ部406、外部スピーカ433、パーソナルコンピュータ(PC)435、モニタTV437、D/Aコンバータ432、436、I/F部431、434等がある。   Peripheral devices include a video mixing unit 405, a frame memory unit 406, an external speaker 433, a personal computer (PC) 435, a monitor TV 437, D / A converters 432 and 436, and I / F units 431 and 434.

光ディスク装置415は、ディスクドライブを含む記録再生部409と、記録再生部409へのストリームデータ(あるいは記録再生部409からのストリームデータ)を処理するデータプロセサ部(以下D−PRO部と略記する)410と、D−PRO部410からオーバーフローしてきたストリームデータを一時記憶する一時記憶部411と、記録再生部409およびD−PRO部410の動作を制御する光ディスク装置制御部412とを備えている。   The optical disk device 415 includes a recording / playback unit 409 including a disk drive, and a data processor unit (hereinafter abbreviated as a D-PRO unit) that processes stream data to the recording / playback unit 409 (or stream data from the recording / playback unit 409). 410, a temporary storage unit 411 that temporarily stores stream data that has overflowed from the D-PRO unit 410, and an optical disc apparatus control unit 412 that controls the operations of the recording / reproducing unit 409 and the D-PRO unit 410.

光ディスク装置415はさらに、STB装置416からIEEE1394等を介して送られてきたストリームデータを受ける(あるいはIEEE1394等を介してSTB装置416へストリームデータを送る)データ転送インターフェース部414と、データ転送インターフェース部414で受けたストリームデータを情報記憶媒体(RAMディスク)201に記録する信号形式に変換する(あるいは媒体201から再生されたストリームデータをIEEE1394等の信号形式に変換する)フォーマッタ/デフォーマッタ部413とを備えている。   The optical disk device 415 further receives a stream data sent from the STB device 416 via the IEEE 1394 or the like (or sends stream data to the STB device 416 via the IEEE 1394 or the like), and a data transfer interface unit A formatter / deformatter unit 413 that converts the stream data received in 414 into a signal format to be recorded in an information storage medium (RAM disk) 201 (or converts stream data reproduced from the medium 201 into a signal format such as IEEE 1394); It has.

データ転送インターフェース部414のIEEE1394受信側は、基準クロック発生器(システムタイムカウンタSTC)440のタイムカウント値に基づいて、ストリームデータ転送開始からの時間を読み込む。   The IEEE 1394 receiver side of the data transfer interface unit 414 reads the time from the start of the stream data transfer based on the time count value of the reference clock generator (system time counter STC) 440.

上記時間情報に基づいて、ストリームデータをストリームブロック毎(あるいはSOBU毎)に切り分ける区切り情報が作成されるとともに、この区切り情報に対応したセルの切り分け情報およびプログラムの切り分け情報、さらにはPGCの切り分け情報が作成される。   Based on the time information, delimiter information for dividing stream data into stream blocks (or SOBUs) is created, and cell delimiter information and program delimiter information corresponding to the delimiter information, and also PGC delimiter information Is created.

フォーマッタ/デフォーマッタ部413は、STB装置416から送られてきたストリームデータをストリームパックの列(図5(j)等参照)に変換し、変換されたストリームパック列をD−PRO部410へ入力する。入力されたストリームパックは、セクタと同じ2048バイトの一定サイズを持っている。D−PRO部410は、入力されたストリームパックを16セクタ毎にまとめてECCブロックにして、記録再生部409へ送る。   The formatter / deformatter unit 413 converts the stream data sent from the STB device 416 into a stream pack sequence (see FIG. 5J, etc.), and inputs the converted stream pack sequence to the D-PRO unit 410. To do. The input stream pack has a constant size of 2048 bytes which is the same as the sector. The D-PRO unit 410 collects the input stream packs every 16 sectors into ECC blocks, and sends them to the recording / reproducing unit 409.

ここで、記録再生部409において媒体201への記録準備ができていない場合には、D−PRO部410は、記録データを一時記憶部411に転送して一時保存し、記録再生部409においてデータ記録準備ができるまで待つ。   If the recording / playback unit 409 is not ready for recording on the medium 201, the D-PRO unit 410 transfers the recorded data to the temporary storage unit 411 and temporarily stores it. Wait until recording is ready.

記録再生部409において記録準備ができた段階で、D−PRO部410は、一時記憶部411に保存されたデータを記録再生部409に転送する。これにより、媒体201への記録が開始される。一時記憶部411に保存されたデータの記録が済むと、その続きのデータはフォーマッタ/デフォーマッタ部413からD−PRO部410へシームレスに転送されるようになっている。ここで、一時記憶部411は、高速アクセス可能で数分以上の記録データを保持できるようにするため、大容量メモリを想定している。   When the recording / playback unit 409 is ready for recording, the D-PRO unit 410 transfers the data stored in the temporary storage unit 411 to the recording / playback unit 409. Thereby, recording on the medium 201 is started. When the data stored in the temporary storage unit 411 is recorded, the subsequent data is seamlessly transferred from the formatter / deformatter unit 413 to the D-PRO unit 410. Here, the temporary storage unit 411 assumes a large-capacity memory so that it can be accessed at high speed and can hold recording data of several minutes or more.

なお、フォーマッタ/デフォーマッタ部413を介して記録ビットストリームに付されるタイムスタンプ情報は、基準クロック発生器(STC)440から得ることができる。また、フォーマッタ/デフォーマッタ部413を介して再生ビットストリームから取り出されたタイムスタンプ情報(SCR)は、STC440にセットすることができる。   Note that the time stamp information attached to the recording bitstream via the formatter / deformatter unit 413 can be obtained from the reference clock generator (STC) 440. Further, the time stamp information (SCR) extracted from the reproduction bit stream via the formatter / deformatter unit 413 can be set in the STC 440.

情報記憶媒体201に記録されたストリームデータ内のパックヘッダには、基準クロック(システムクロックリファレンスSCR)が記録されている。この媒体201に記録されたストリームデータ(SOBまたはSOBU)を再生する場合において、基準クロック発生器(STC)440は、媒体201から再生された基準クロック(SCR)に適合される(SCRの値がSTC440にセットされる)。   A reference clock (system clock reference SCR) is recorded in the pack header in the stream data recorded in the information storage medium 201. When reproducing the stream data (SOB or SOBU) recorded on the medium 201, the reference clock generator (STC) 440 is adapted to the reference clock (SCR) reproduced from the medium 201 (the value of SCR is Set to STC440).

つまり、SOBあるいはSOBUのデータを再生するために、ストリーマ(光ディスク装置415)内の基準クロック(STC440)を、再生が開始される最初のストリームパック内に記述されたシステムクロックリファレンスSCRに合わせる。その後は、STC440のカウントアップが自動的に行われる。   That is, in order to reproduce SOB or SOBU data, the reference clock (STC 440) in the streamer (optical disc apparatus 415) is set to the system clock reference SCR described in the first stream pack from which reproduction is started. Thereafter, the STC 440 is automatically counted up.

STB部416は、衛星アンテナ421で受信したデジタル放送電波の内容を復調し、1以上の番組が多重化された復調データ(ストリームデータ)を提供するデモジュレータ422と、デモジュレータ422で復調されたデータから(ユーザが希望する)特定番組の情報(図5を例に採れば、番組2のトランスポートパケット)を選択する受信情報セレクタ部423とを備えている。   The STB unit 416 demodulates the contents of the digital broadcast radio wave received by the satellite antenna 421 and provides demodulated data (stream data) in which one or more programs are multiplexed, and is demodulated by the demodulator 422 A reception information selector unit 423 that selects information on a specific program (desired by the user) (transport packet of program 2 in FIG. 5 as an example) from data is provided.

受信情報セレクタ部423で選択された特定番組の情報(トランスポートパケット)を情報記憶媒体201に記録する場合は、STB制御部404の指示にしたがい、セレクタ部423は特定番組のトランスポートパケットだけを含むストリームデータを、データ転送インターフェイス部420を介して、IEEE1394転送により、光ディスク装置415のデータ転送インターフェイス部414に送る。   When the information (transport packet) of the specific program selected by the reception information selector unit 423 is recorded in the information storage medium 201, the selector unit 423 receives only the transport packet of the specific program according to the instruction of the STB control unit 404. The included stream data is sent to the data transfer interface unit 414 of the optical disc apparatus 415 through the data transfer interface unit 420 by IEEE1394 transfer.

光ディスク装置415内のデータ転送インターフェイス部414では、IEEE1394で転送されてきたストリームデータが図5(d)の形に一旦戻され、図5(d)の形のタイムスタンプとトランスポートパケットの組が、情報記憶媒体201上に順次詰めて記録される。   In the data transfer interface unit 414 in the optical disk device 415, the stream data transferred by the IEEE1394 is temporarily returned to the form shown in FIG. 5D, and the set of the time stamp and the transport packet shown in FIG. Are sequentially packed and recorded on the information storage medium 201.

受信情報セレクタ部423で選択された特定番組の情報(トランスポートパケット)を記録することなく単に視聴するだけの場合は、STB制御部404の指示にしたがい、セレクタ部423は特定番組のトランスポートパケットだけを含むストリームデータを、デコーダ部402の多重化情報分離部425に送る。   When the information (transport packet) of the specific program selected by the reception information selector unit 423 is simply viewed without being recorded, the selector unit 423 performs the transport packet of the specific program according to the instruction of the STB control unit 404. Is sent to the multiplexed information separator 425 of the decoder unit 402.

一方、情報記憶媒体201に記録された番組を再生する場合、IEEE1394のシリアルバスを介して光ディスク装置415からSTB装置416に送られてきたストリームデータは、セレクタ部423を介してデコーダ部402の多重化情報分離部425に送られる。   On the other hand, when the program recorded in the information storage medium 201 is reproduced, the stream data sent from the optical disk device 415 to the STB device 416 via the IEEE1394 serial bus is multiplexed by the decoder unit 402 via the selector unit 423. Sent to the categorized information separator 425.

多重化情報分離部425は、セレクタ部423から送られてきたストリームデータに含まれる各種パケット(ビデオパケット、オーディオパケット、サブピクチャパケット)を、内部メモリ部426上で、各パケットのIDにより区分けする。そして、区分けされたパケットを、それぞれ該当するデコード部(ビデオデコード部428、サブピクチャデコード部429、オーディオデコード部430に分配する。   The multiplexed information demultiplexing unit 425 classifies various packets (video packet, audio packet, sub-picture packet) included in the stream data sent from the selector unit 423 on the internal memory unit 426 by the ID of each packet. . Then, the divided packets are distributed to the corresponding decoding units (video decoding unit 428, sub-picture decoding unit 429, and audio decoding unit 430).

ビデオデコード部428は、多重化情報分離部425から送られてきた(MPEGエンコードされた)ビデオパケットをデコードして、動画データを生成する。その際、MPEGビデオデータ中のIピクチャから記録内容を代表する縮小画像(サムネールピクチャ)を生成する機能を持たせるために、ビデオデコード部428は、代表画像(サムネール)生成部439を内蔵している。   The video decoding unit 428 decodes the video packet (MPEG-encoded) sent from the multiplexed information separation unit 425 to generate moving image data. At that time, the video decoding unit 428 has a built-in representative image (thumbnail) generation unit 439 in order to have a function of generating a reduced image (thumbnail picture) representing the recorded contents from the I picture in the MPEG video data. Yes.

ビデオデコード部428でデコードされた動画(および/または生成部439で生成された代表画像)と、サブピクチャデコード部429でデコードされたサブピクチャ(字幕、メニュー等の情報)と、オーディオデコード部430でデコードされた音声とは、ビデオプロセサ部438を介してビデオミキシング部405へ送出される。   The video decoded by the video decoding unit 428 (and / or the representative image generated by the generating unit 439), the sub picture (information such as subtitles and menus) decoded by the sub picture decoding unit 429, and the audio decoding unit 430 The audio decoded in step S1 is sent to the video mixing unit 405 via the video processor unit 438.

ビデオミキシング部405は、フレームメモリ部406を利用して、動画に字幕等を重ねたデジタル映像を作り出す。このデジタル映像は、D/A変換器436を介してアナログ映像化され、モニタTV437に送られる。   The video mixing unit 405 uses the frame memory unit 406 to create a digital image in which captions are superimposed on a moving image. This digital video is converted into an analog video via the D / A converter 436 and sent to the monitor TV 437.

また、ビデオミキシング部405からのデジタル映像は、I/F部434およびIEEE194等の信号ラインを介して、パーソナルコンピュータ435等に取り込むことができるようになっている。   The digital video from the video mixing unit 405 can be taken into the personal computer 435 or the like via signal lines such as the I / F unit 434 and IEEE194.

一方、オーディオデコード部430でデコードされたデジタルオーディオ情報は、D/A変換器432および図示しないオーディオアンプを介して、外部スピーカ433に送られる。また、デコードされたオーディオ情報は、I/F部431を介して外部にデジタル出力される。   On the other hand, the digital audio information decoded by the audio decoding unit 430 is sent to the external speaker 433 via the D / A converter 432 and an audio amplifier (not shown). The decoded audio information is digitally output to the outside via the I / F unit 431.

なお、STB装置416内の動作タイミングは、システムタイムカウンタ(STC)部424からのクロックにより決定される。   The operation timing in the STB device 416 is determined by the clock from the system time counter (STC) unit 424.

上述したSTB制御部404による指示等(STB装置416の内部構成各々の動作制御)は、プログラムメモリ部404aに格納された制御プログラムにより実行される。その際、STB制御部404による制御過程においてワークメモリ部407が適宜利用される。   The above-described instruction or the like by the STB control unit 404 (operation control of each internal configuration of the STB device 416) is executed by a control program stored in the program memory unit 404a. At that time, the work memory unit 407 is appropriately used in the control process by the STB control unit 404.

このSTB制御部404およびデコーダ部402を含めSTB装置416の内部動作のタイミングは、STC部424からのクロックで規制できる。また、光ディスク装置415のSTC440とSTB装置416のSTC部424を同期させることで、光ディスク装置415およびSTB装置416を含めたストリーマシステム全体の動作タイミングを規制できる。   The timing of internal operations of the STB device 416 including the STB control unit 404 and the decoder unit 402 can be regulated by a clock from the STC unit 424. Further, by synchronizing the STC 440 of the optical disk device 415 and the STC unit 424 of the STB device 416, the operation timing of the entire streamer system including the optical disk device 415 and the STB device 416 can be regulated.

STC440とSTC部424を同期させる方法としては、データ転送インターフェース部414とデータ転送インターフェース部420との間で受け渡されるストリームデータ中の基準クロック(SCR)により、STC440およびSTC部424をセットする方法がある。   As a method of synchronizing the STC 440 and the STC unit 424, a method of setting the STC 440 and the STC unit 424 by the reference clock (SCR) in the stream data transferred between the data transfer interface unit 414 and the data transfer interface unit 420. There is.

図11の光ディスク装置415(ストリーマ)では、タイムスタンプとトランスポートパケットとの組(図5(h)(i))がそのままの形で情報記憶媒体201上に記録される。   In the optical disc apparatus 415 (streamer) of FIG. 11, a set of time stamps and transport packets (FIG. 5 (h) (i)) is recorded on the information storage medium 201 as it is.

ユーザが例えば図5(c)の第2の番組を情報記憶媒体(図3(a)の201)に記録しようとする場合には、図11に示すSTB装置416内の受信情報セレクタ部423において、番組2のトランスポートパケットb、eのみが抽出される。そのとき、STB装置416では、図5(d)に示すように、各トランスポートパケットb522、e525を受信した時刻情報がタイムスタンプ331、332の形で付加される。   For example, when the user intends to record the second program in FIG. 5C on the information storage medium (201 in FIG. 3A), the reception information selector 423 in the STB device 416 shown in FIG. Only the transport packets b and e of program 2 are extracted. At that time, in the STB device 416, as shown in FIG. 5D, time information when the transport packets b522 and e525 are received is added in the form of time stamps 331 and 332, respectively.

その後、IEEE1394の転送方式を用いて図11のフォーマッタ/デフォーマッタ部413にデータを転送する場合には、図5(e)に示すように、タイムスタンプとトランスポートパケットの組が細かく分割されて転送されることになる。   Thereafter, when data is transferred to the formatter / deformatter unit 413 in FIG. 11 using the IEEE 1394 transfer method, the set of the time stamp and the transport packet is finely divided as shown in FIG. Will be transferred.

図11のフォーマッタ/デフォーマッタ部413では、STB装置416からIEEE1394で転送されてきたストリームデータが、図5(d)の形(図1(g)の形に相当)に一旦戻される。そして、図5(d)の形式のビットストリーム(図5(j)のストリームパック列)が、情報記憶媒体201に記録される。具体的には、この発明の一実施の形態においては、各セクタの先頭には、システムクロック情報などが記録されたパックヘッダとPESヘッダが配置される(図5(j)等参照)。   In the formatter / deformatter unit 413 of FIG. 11, the stream data transferred by the IEEE 1394 from the STB device 416 is temporarily returned to the form of FIG. 5D (corresponding to the form of FIG. 1G). Then, a bit stream in the format of FIG. 5D (stream pack sequence of FIG. 5J) is recorded in the information storage medium 201. Specifically, in one embodiment of the present invention, a pack header in which system clock information and the like are recorded and a PES header are arranged at the head of each sector (see FIG. 5 (j) and the like).

データエリア(図1(f))には複数のタイムスタンプおよびトランスポートパケット(図1(g))が逐次詰め込まれるが、1個のトランスポートパケット(図1(g)ではパケット1k;図5(d)では番組2のパケットb)が複数のセクタ(図1(e)ではNo.1とNo.2;図5(h)(i)では部分パケット)に跨って記録されことも可能になっている。ここに特徴の1つがある。   A plurality of time stamps and transport packets (FIG. 1 (g)) are sequentially packed in the data area (FIG. 1 (f)), but one transport packet (packet 1k in FIG. 1 (g)); In (d), the packet b) of program 2 can be recorded across a plurality of sectors (No. 1 and No. 2 in FIG. 1 (e); partial packets in FIGS. 5 (h) and (i)). It has become. Here is one of the features.

この特徴を生かしたデータ構造を用いることにより、セクタサイズ(例えば2048バイト)よりも大きなサイズを持つパケットを記録することができる。この点について、さらに説明する。   By using a data structure that makes use of this feature, a packet having a size larger than the sector size (for example, 2048 bytes) can be recorded. This point will be further described.

デジタル放送では図5(c)に示すようにトランスポートストリームと呼ばれるマルチプログラム対応の多重・分離方式を採用しており、1個のトランスポートパケットb・522のサイズが188バイト(または183バイト)の場合が多い。前述したように1セクタサイズは2048バイトであり、各種ヘッダサイズを差し引いても1個のデータエリア(図1(f))内にはデジタル放送用のトランスポートパケットが10個前後記録できる。それに対して、ISDNなどのデジタル通信網では1パケットサイズが4096バイトある大きなロングパケットが転送される場合がある。   In digital broadcasting, as shown in FIG. 5C, a multiplexing / demultiplexing method corresponding to a multi-program called a transport stream is adopted, and the size of one transport packet b · 522 is 188 bytes (or 183 bytes). In many cases. As described above, one sector size is 2048 bytes, and even if various header sizes are subtracted, about 10 transport packets for digital broadcasting can be recorded in one data area (FIG. 1 (f)). On the other hand, in a digital communication network such as ISDN, a large long packet having a packet size of 4096 bytes may be transferred.

デジタル放送などのように1個のデータエリア(図1(f))内に複数個のトランスポートパケットを記録するだけでなく、ロングパケットのようにパケットサイズの大きなパケットの場合でも記録できるよう、前記特徴を生かしたデータ構造(1パケットのデータを複数パケットに跨って記録できる特徴)を用いることにより、1個のパケットを複数のデータエリアに連続して跨るように記録する。そうすれば、デジタル放送用のトランスポートパケットやデジタル通信用のロングパケットなどは、パケットサイズに依ることなく、全てのパケットをストリームブロック内に端数なく記録することができる。   In order to record not only a plurality of transport packets in one data area (FIG. 1 (f)) such as digital broadcasting but also a packet with a large packet size such as a long packet, By using a data structure that makes use of the above features (a feature that allows one packet of data to be recorded across a plurality of packets), one packet is recorded so as to continuously straddle a plurality of data areas. By doing so, transport packets for digital broadcasting, long packets for digital communication, and the like can be recorded without any fraction in the stream block without depending on the packet size.

図11の装置構成を機能別にみると、STB装置416内は、「受信時刻管理部」と、「ストリームデータ内容解析部」と、「ストリームデータ転送部」と、「時間関連情報生成部」とに分割/分類できる。   Looking at the device configuration of FIG. 11 by function, the STB device 416 includes a “reception time management unit”, a “stream data content analysis unit”, a “stream data transfer unit”, and a “time-related information generation unit”. Can be divided / classified.

ここで、「受信時刻管理部」は、デモジュレータ(復調部)422、受信情報セレクタ部423、多重化情報分離部425、STB制御部404等で構成される。この「受信時刻管理部」は、衛星アンテナ421でデジタルTV放送を受信し、受信した放送情報内の各トランスポートパケット毎の受信時刻を記録する。   Here, the “reception time management unit” includes a demodulator (demodulation unit) 422, a reception information selector unit 423, a multiplexed information separation unit 425, an STB control unit 404, and the like. This “reception time management unit” receives the digital TV broadcast by the satellite antenna 421 and records the reception time for each transport packet in the received broadcast information.

「ストリームデータ内容解析部」は、多重化情報分離部425、STB制御部404等で構成される。この「ストリームデータ内容解析部」は、受信したストリームデータの中身を解析し、I,B,Pの各ピクチャ位置および/またはPTS値を抽出する。   The “stream data content analysis unit” includes a multiplexed information separation unit 425, an STB control unit 404, and the like. This “stream data content analysis unit” analyzes the contents of the received stream data, and extracts the I, B, and P picture positions and / or PTS values.

「ストリームデータ転送部」は、多重化情報分離部425、受信情報セレクタ部423、STB制御部404、データ転送インターフェース部420等で構成される。この「ストリームデータ転送部」は、各トランスポートパケット毎の差分受信時刻間隔を保持したままストリームデータを光ディスク装置415へ転送する。   The “stream data transfer unit” includes a multiplexed information separation unit 425, a reception information selector unit 423, an STB control unit 404, a data transfer interface unit 420, and the like. The “stream data transfer unit” transfers the stream data to the optical disc device 415 while maintaining the difference reception time interval for each transport packet.

「時間関連情報生成部」は、多重化情報分離部425、STB制御部404、データ転送インターフェース部420等で構成される。この「時間関連情報生成部」は、「受信時刻管理部」で記録した受信時刻(タイムスタンプ)情報と「ストリームデータ内容解析部」で抽出した表示時刻情報(PTS値および/またはフィールド数)との間の関係情報を作成する。   The “time related information generation unit” includes a multiplexed information separation unit 425, an STB control unit 404, a data transfer interface unit 420, and the like. The “time-related information generation unit” includes reception time (time stamp) information recorded by the “reception time management unit”, display time information (PTS value and / or number of fields) extracted by the “stream data content analysis unit”, and Create relationship information between.

次に、図11の装置におけるストリームデータ録画時の処理について説明する。図5(c)に示すように、デジタル放送では1個のトランスポンダ内に複数番組情報が時分割多重化されている。その情報に対して受信情報セレクター部423内で図5(d)に示すように特定番組のみのトランスポートパケットを抽出する。   Next, processing at the time of recording stream data in the apparatus of FIG. 11 will be described. As shown in FIG. 5 (c), in digital broadcasting, a plurality of program information are time-division multiplexed in one transponder. As shown in FIG. 5D, a transport packet for only a specific program is extracted in the reception information selector unit 423 for the information.

前記「受信時刻管理部」では、必要な番組情報を多重化情報分離部425内のメモリ部426内に一時保管すると同時に各トランスポートパケット毎の受信時刻を測定し、その値を図5(d)のようにタイムスタンプとして各トランスポートパケット毎に付加する。この付加したタイムスタンプ情報はメモリ部426内に記録される。   The “reception time management unit” temporarily stores necessary program information in the memory unit 426 in the multiplexed information demultiplexing unit 425 and simultaneously measures the reception time for each transport packet. ) As a time stamp for each transport packet. The added time stamp information is recorded in the memory unit 426.

前記「ストリームデータ内容解析部」では、メモリ部426内に記録されたトランスポートパケット内の情報が解析される。具体的には、トランスポートパケット列から、各ピクチャ境界位置の切り出しと、再生タイムスタンプ(PTS)情報の抽出が行なわれる。各ピクチャ境界位置の切り出し方法は前述したように2通り存在し、ストリームデータ内容に応じて選択する。同様にピクチャヘッダ情報41内にあるPTS情報53を抽出する。次にメモリ部426に一時保管されたストリームデータを情報記憶媒体201上に記録する。   In the “stream data content analysis unit”, information in the transport packet recorded in the memory unit 426 is analyzed. Specifically, each picture boundary position is extracted from the transport packet sequence, and reproduction time stamp (PTS) information is extracted. As described above, there are two methods for extracting each picture boundary position, and the method is selected according to the contents of the stream data. Similarly, the PTS information 53 in the picture header information 41 is extracted. Next, the stream data temporarily stored in the memory unit 426 is recorded on the information storage medium 201.

STB装置416から再生開始位置としてタイムスタンプ値が指定された場合、対応するストリームブロックを算出するための情報がタイムマップ情報252である。このタイムマップ情報252は、図3(e)〜(h)に示すように、ストリームデータに対する管理情報記録領域であるSTREAM.IFO105内のストリームオブジェクト情報243の一部として記録されている。   When the time stamp value is designated as the playback start position from the STB device 416, the time map information 252 is information for calculating the corresponding stream block. As shown in FIGS. 3E to 3H, the time map information 252 includes the STREAM. It is recorded as part of the stream object information 243 in the IFO 105.

図3(i)に示すように、タイムマップ情報252内には各ストリームブロック毎のタイムスタンプ差分時間情報しか記録されていない。従って、各ストリームオブジェクト情報242、243毎にタイムマップ情報252内の各ストリームブロックの時間差の値を逐次加算し、その逐次加算値がSTB装置416側で指定したタイムスタンプ時刻に到達するかどうか比較する必要がある。その比較結果を元に、STB装置416側が指定した時刻はどのストリームオブジェクト内の何番目のストリームブロックの中に含まれるタイムスタンプ値と一致するかが、割り出される。   As shown in FIG. 3I, only time stamp difference time information for each stream block is recorded in the time map information 252. Therefore, the time difference value of each stream block in the time map information 252 is sequentially added for each stream object information 242 and 243, and whether or not the sequentially added value reaches the time stamp time designated on the STB device 416 side is compared. There is a need to. Based on the comparison result, it is determined whether the time designated by the STB device 416 matches the time stamp value included in which stream block in which stream object.

次に、既に情報記憶媒体201上に記録してあるストリームデータの部分消去に関する実施例の説明を行う。   Next, an embodiment relating to partial erasure of stream data already recorded on the information storage medium 201 will be described.

ストリームデータの記録再生装置では、前述した部分消去処理はSTB制御部404により制御され、その中でも特にストリームデータ部分消去制御部と言う名のシーケンシャルプログラムが中心となり処理実行が行なわれる。   In the stream data recording / reproducing apparatus, the above-described partial erasure process is controlled by the STB control unit 404, and among these, a sequential program called a stream data partial erasure control unit is mainly executed.

図11のSTB制御部404では、部分消去が行われる前に、ストリームデータに関する管理情報(STRI)が記載されているSTREAM.IFO105の情報が読み込みまれ、ワークRAMメモリ部407に一時保管されている。部分消去処理が完了すると、部分消去対象のセクタが図2のSTREAM.VRO(またはSR_TRANS.SRO)106から外される。その後、管理情報(SOBIおよびSCIを含むSTRI)が図9(l)に示した内容に変更され、図2のSTREAM.IFO105内のデータが書き替えられる。   In the STB control unit 404 in FIG. 11, before partial erasure is performed, STREAM. Information of the IFO 105 is read and temporarily stored in the work RAM memory unit 407. When the partial erase process is completed, the sector to be partially erased is the STREAM. Removed from VRO (or SR_TRANS.SRO) 106. Thereafter, the management information (STRI including SOBI and SCI) is changed to the content shown in FIG. 9 (l), and the STREAM. Data in the IFO 105 is rewritten.

次に、ストリームオブジェクト内の再生開始したいストリームデータへのアクセス方法として、「MPEG方式による映像圧縮に対応し、デコーダによるデコードタイミングを意識した」アクセス方法について説明する。   Next, an access method “corresponding to the video compression by the MPEG system and being aware of the decoding timing by the decoder” will be described as an access method to the stream data to be reproduced within the stream object.

この発明の実施の形態では、STB装置416からアイソクロナス・モードでストリームデータが転送されると同時に、リアルタイムでIピクチャ情報が転送され、その情報が図1(a)のようにストリームデータを記録するSTREAM.VRO106ファイル内に記録される。また、この発明の実施の形態では、この情報は、ストリームデータの管理情報が記録されているSTREAM.IFO105内にも記録される。   In the embodiment of the present invention, stream data is transferred from the STB device 416 in isochronous mode, and at the same time, I picture information is transferred in real time, and the information records stream data as shown in FIG. STREAM. Recorded in the VRO 106 file. Further, in the embodiment of the present invention, this information includes the STREAM. It is also recorded in the IFO 105.

図11に示すSTB装置416側で、例えば図7のBピクチャ情報504を再生表示したい場合には、その直前に存在するIピクチャ情報501の先頭に位置するトランスポートパケット1aに対応したタイムスタンプ1aの値を、光ディスク装置415に通知する。   For example, when the B picture information 504 in FIG. 7 is to be reproduced and displayed on the STB device 416 side shown in FIG. 11, the time stamp 1a corresponding to the transport packet 1a located at the head of the I picture information 501 existing immediately before that is displayed. Is notified to the optical disk device 415.

光ディスク装置415では、図1あるいは図3に示した構造を有するタイムマップ情報252の情報を用いて再生開始するセクタ位置を割り出し、情報記憶媒体201上の所定位置へアクセスし、再生したいストリームデータをSTB装置416へ転送する。すると、STB装置416のデコーダ部402では、Iピクチャ情報501からデコードを開始し、指定されたBピクチャ情報504から表示を開始する。   The optical disk device 415 uses the information of the time map information 252 having the structure shown in FIG. 1 or FIG. 3 to determine the sector position where playback is started, accesses a predetermined position on the information storage medium 201, and stores stream data to be played back. Transfer to the STB device 416. Then, the decoder unit 402 of the STB device 416 starts decoding from the I picture information 501 and starts displaying from the designated B picture information 504.

Bピクチャ情報504の開始情報が記録されているトランスポートパケット41d(図7)には、図5(a)(b)に示すように、そのトランスポートパケットヘッダ311内に表示開始時刻を示す再生タイムスタンプ(プレゼンテーションタイムスタンプ)PTS305の情報が記録されている。デコーダ部402では、このPTS305を読み取って、再生開始時刻を設定する。   In the transport packet 41d (FIG. 7) in which the start information of the B picture information 504 is recorded, as shown in FIGS. 5A and 5B, reproduction indicating the display start time in the transport packet header 311 is performed. Information of a time stamp (presentation time stamp) PTS 305 is recorded. The decoder unit 402 reads this PTS 305 and sets the playback start time.

図11のデコーダ部402でIピクチャ位置を抽出する方法に付いて前述した。しかしデジタルTV放送局によっては送信の段階で各ピクチャ位置情報を送信する場合もある。送信の段階で既に記録されている各ピクチャ位置情報について、以下に説明する。   The method for extracting the I picture position by the decoder unit 402 in FIG. 11 has been described above. However, depending on the digital TV broadcasting station, each picture position information may be transmitted at the transmission stage. Each picture position information already recorded at the stage of transmission will be described below.

この発明の実施の形態では、部分消去後のストリームデータに対しても初期記録時に設定したストリームブロック境界位置を不変に保つとともに、部分消去部分を境界として残存部分を新たなストリームオブジェクトに定義し直すようにしている。この場合、ストリームオブジェクト内の最初と最後のストリームブロックのサイズが他のストリームブロックのサイズより小さくなることがある。そのため、図1(l)あるいは図3(i)に示すようにタイムマップ情報252では個々のストリームブロックサイズ情報も記録してある。   In the embodiment of the present invention, the stream block boundary position set at the time of initial recording is kept unchanged even for stream data after partial erasure, and the remaining part is redefined as a new stream object with the partial erasure part as a boundary. I am doing so. In this case, the size of the first and last stream blocks in the stream object may be smaller than the sizes of other stream blocks. Therefore, as shown in FIG. 1 (l) or FIG. 3 (i), individual stream block size information is also recorded in the time map information 252.

この実施の形態においては、上記に限らず、例えば最初と最後のストリームブロックサイズ情報のみ持ち、他にはそれ以外の共通のストリームブロックサイズ情報のみ記録することも可能である。   In this embodiment, not limited to the above, for example, it is possible to have only the first and last stream block size information, and to record only other common stream block size information.

図12は、図11のシステムによりビットストリームの情報記録を行なう場合において、アプリケーションパケットとストリームオブジェクトとの位置合わせ、およびストリームオブジェクト末尾のパディング処理がどのように行われるかを説明するフローチャート図である。   FIG. 12 is a flowchart for explaining how the alignment of an application packet and a stream object and the padding process at the end of the stream object are performed when the information recording of the bit stream is performed by the system of FIG. .

図11の光ディスク装置(ストリーマ)415において、記録するビットストリーム(トランスポートパケットの内容)が、スタッフィングパケット内のアプリケーションパケットエリアに分配される(ステップST10)。   In the optical disk device (streamer) 415 of FIG. 11, the bit stream to be recorded (the contents of the transport packet) is distributed to the application packet area in the stuffing packet (step ST10).

最初のアプリケーションパケットのアプリケーションタイムスタンプ(ATS)の先頭バイト(これをAとする)と、ビットストリームが記録されるストリームオブジェクト(SOB)の開始部分にくる最初のストリームパケット内のアプリケーションパケットエリアの開始部分(これをBとする)とが比較される(ステップST12)。   The first byte of the application time stamp (ATS) of the first application packet (this is A) and the start of the application packet area in the first stream packet at the start of the stream object (SOB) where the bitstream is recorded The part (this is referred to as B) is compared (step ST12).

ATSの先頭バイト(A)と最初のストリームパケット内のアプリケーションパケットエリアの開始部分(B)とが一致しないときは(ステップST14ノー)、たとえば必要バイト数のスタッフィングバイトをストリームパケット内に設けて、先頭バイト(A)と開始部分(B)とを一致(アライン)させる(ステップST16)。   When the first byte (A) of the ATS and the start portion (B) of the application packet area in the first stream packet do not match (No in step ST14), for example, a necessary number of stuffing bytes are provided in the stream packet, The first byte (A) and the start part (B) are matched (aligned) (step ST16).

ATSの先頭バイト(A)と最初のストリームパケット内のアプリケーションパケットエリアの開始部分(B)とが一致するとき(ステップST14イエス)、あるいは先頭バイト(A)と開始部分(B)とを一致(アライン)させたあと、記録するビットストリームの実際のデータを含む最終アプリケーションパケット(これをCとする)の末尾と、ビットストリームが記録されるSOBの末尾(これをDとする)との間に、1ストリームパケット分(1セクタ分)以上の余白があるかどうかチェックされる(ステップST18)。   When the first byte (A) of the ATS matches the start part (B) of the application packet area in the first stream packet (Yes in step ST14), or the first byte (A) matches the start part (B) ( Between the end of the last application packet (referred to as C) including the actual data of the bitstream to be recorded and the end of the SOB where the bitstream is recorded (referred to as D). It is checked whether there is a margin equal to or larger than one stream packet (one sector) (step ST18).

アプリケーションパケット(C)の末尾とSOBの末尾(D)との間に1ストリームパケット分(1セクタ分)以上の余白があるときは(ステップST18イエス)、この余白は、1つのATSを含む1以上のスタッフィングパケットで埋められる(ステップST20)。   When there is a margin of one stream packet (one sector) or more between the end of the application packet (C) and the end of the SOB (D) (Yes in step ST18), this margin includes one ATS. It is filled with the above stuffing packet (step ST20).

アプリケーションパケット(C)の末尾とSOBの末尾(D)との間に余白がないとき(ステップST18ノー)、あるいはアプリケーションパケット(C)の末尾とSOBの末尾(D)との間の余白がスタッフィングパケットで埋められたあと、記録するビットストリームの内容を含む1以上のアプリケーションパケット群(適宜スタッフィングパケットあるいはスタッフィングエリアバイトを含み得る)が、情報媒体201に記録される(ステップST22)。   When there is no margin between the end of the application packet (C) and the end of the SOB (D) (No in step ST18), or the margin between the end of the application packet (C) and the end of the SOB (D) is stuffing After being filled with packets, one or more application packet groups (which may include stuffing packets or stuffing area bytes as appropriate) including the contents of the bitstream to be recorded are recorded on the information medium 201 (step ST22).

その後、記録情報に対応して管理情報(STRI)に書き込みが行われる(ステップST24)。   Thereafter, the management information (STRI) is written corresponding to the recording information (step ST24).

上記記録ステップST22においては、以下の処理が適宜行なわれる。   In the recording step ST22, the following processing is appropriately performed.

(10)アプリケーションパケットエリアの末尾に余白部分があるときは、この余白部分に(タイムスタンプがなく)所定バイト数のスタッフィングエリア(図5(h)または図19(j)のパディングエリア37)を設ける。   (10) When there is a margin part at the end of the application packet area, a stuffing area (padding area 37 in FIG. 5 (h) or FIG. 19 (j)) of a predetermined number of bytes (without a time stamp) is added to this margin part. Provide.

また、上記記録ステップST22〜ST24においては、以下の処理が適宜行なわれる。   In the recording steps ST22 to ST24, the following processing is performed as appropriate.

(11)複数のデータユニット(図8(a)のSOBU#α…#λ)によりストリームデータ(SOB)を構成し、
所定のタイムスタンプ(TMS)情報が内部に記録されている1以上の前記データパケット(図8(b)のTP/AP)により各々の前記データユニット(SOBU#α…#λ)を構成し、
複数の前記データユニット(SOBU#α…#λ)のうち、少なくとも、第1のデータユニット(SOBU#α)内に記録された第1タイムスタンプ(TMS1a)と、第2のデータユニット(SOBU#β)内に記録された第2タイムスタンプ(TMS33a)との差分に対応した時間差値(図8(c)(d)の切り上げ丸め値)を、管理領域(STRIまたはSTREAM.IFO/SR_MANGR.IFO)内に記録する。
(11) The stream data (SOB) is composed of a plurality of data units (SOBU # α ... # λ in FIG. 8A),
Each of the data units (SOBU # α ... # λ) is composed of one or more data packets (TP / AP in FIG. 8B) in which predetermined time stamp (TMS) information is recorded,
Among the plurality of data units (SOBU # α ... # λ), at least a first time stamp (TMS1a) recorded in the first data unit (SOBU # α) and a second data unit (SOBU #). A time difference value (rounded up value in FIGS. 8C and 8D) corresponding to the difference from the second time stamp (TMS33a) recorded in β) is stored in the management area (STRI or STREAM.IFO / SR_MANGR.IFO). ).

(12)ストリームデータ(SOB)に、1以上のセル(図18)の情報を記録し、
管理領域(STRIまたはSTREAM.IFO/SR_MANGR.IFO)に、1以上のセルの集まりを記述したプログラムチェーン(PGC)の情報(図3(f)または図13のPGCI)を記録し、
前記ストリームデータ(SOB)の記録内容の一部を再生時にスキップする際に、そのスキップ位置の目印として利用できるエントリポイント(EP)の情報(SC_EPI)を、前記管理情報(STRI)に記録する。
(12) Record information of one or more cells (FIG. 18) in the stream data (SOB),
In the management area (STRI or STREAM.IFO / SR_MANGR.IFO), record information of a program chain (PGC) describing a collection of one or more cells (FIG. 3 (f) or PGCI in FIG. 13),
When a part of the recorded content of the stream data (SOB) is skipped during reproduction, information (SC_EPI) of an entry point (EP) that can be used as a mark of the skip position is recorded in the management information (STRI).

(13)管理情報(STRI)に、ストリームデータ(SOB)の記録時間情報(SOB_REC_TM)、前記ストリームデータ(SOB)の始まり部分のデータパケット到着時間(SOB_S_APAT)、および前記ストリームデータ(SOB)の終わり部分のデータパケット到着時間(SOB_E_APAT)のうち、少なくとも1つを含むストリームオブジェクト一般情報(図7(d)または図15のSOBI_GI)を書き込む。   (13) The management information (STRI) includes stream data (SOB) recording time information (SOB_REC_TM), data packet arrival time (SOB_S_APAT) at the beginning of the stream data (SOB), and end of the stream data (SOB). The stream object general information (FIG. 7D or SOBI_GI in FIG. 15) including at least one of the partial data packet arrival times (SOB_E_APAT) is written.

図13は、ストリーマの管理情報(図2または図3のSTREAM.IFOに対応)の内部データ構造を説明する図である。   13 is a diagram for explaining the internal data structure of streamer management information (corresponding to the STREAM.IFO in FIG. 2 or FIG. 3).

図2あるいは図3(e)に示した管理情報(ナビゲーションデータ)であるSTREAM.IFO(SR_MANGR.IFO)105は、図13に示すように、ストリーマ情報STRIを含んでいる。   The management information (navigation data) shown in FIG. 2 or FIG. The IFO (SR_MANGR.IFO) 105 includes streamer information STRI as shown in FIG.

このストリーマ情報STRIは、図3(f)あるいは図13に示すように、ストリーマビデオマネージャ情報STR_VMGIと、ストリームファイル情報テーブルSFITと、オリジナルPGC情報ORG_PGCI(より一般的に表現すればPGC情報PGCI#i)と、ユーザ定義PGC情報テーブルUD_PGCITと、テキストデータマネージャTXTDT_MGと、アプリケーションプライベートデータマネージャAPDT_MGとで、構成されている。   As shown in FIG. 3 (f) or FIG. 13, this streamer information STRI includes streamer video manager information STR_VMGI, stream file information table SFIT, original PGC information ORG_PGCI (more generally, PGC information PGCI # i ), A user-defined PGC information table UD_PGCIT, a text data manager TXTDT_MG, and an application private data manager APDT_MG.

ストリーマビデオマネージャ情報STR_VMGIは、図13に示すように、STRI、STR_VMGIに関する管理情報等が記述されたビデオマネージャ情報管理情報VTSI_MATと、ストリーム内のプレイリストをサーチするためのサーチポインタが記述されたプレイリストサーチポインタテーブル(PL_SRPT)とを含んでいる。   As shown in FIG. 13, the streamer video manager information STR_VMGI includes video manager information management information VTSI_MAT in which management information about STR and STR_VMGI is described, and a play in which a search pointer for searching a playlist in the stream is described. A list search pointer table (PL_SRPT).

ここで、プレイリストとは、プログラムの一部のリストである。このプレイリストにより、(プログラムの内容に対して)任意の再生シーケンスをユーザが定義できる。   Here, the play list is a list of a part of the program. This playlist allows the user to define any playback sequence (relative to the program content).

ストリームファイル情報テーブルSFITは、ストリーマ動作に直接関係する全てのナビゲーションデータを含むものである。ストリームファイル情報テーブルSFITの詳細については、図15を参照して後述する。   The stream file information table SFIT includes all navigation data directly related to the streamer operation. Details of the stream file information table SFIT will be described later with reference to FIG.

オリジナルPGC情報ORG_PGCIは、オリジナルPGC(ORG_PGC)に関する情報を記述した部分である。ORG_PGCはプログラムセットを記述したナビゲーションデータを示す。ORG_PGCはプログラムの連なり(チェーン)であり、図2または後述する図18の「.SRO」ファイル(図2ではSR_TRANS.SRO106)内に記録されたストリームデータを含む。   The original PGC information ORG_PGCI is a part describing information related to the original PGC (ORG_PGC). ORG_PGC indicates navigation data describing a program set. ORG_PGC is a series (chain) of programs, and includes stream data recorded in the “.SRO” file (SR_TRANS.SRO 106 in FIG. 2) of FIG.

ここで、プログラムセットとは、情報記憶媒体201の記録内容全体(全てのプログラム)を示すものである。プログラムセットの再生においては、任意のプログラムが編集されオリジナル記録に対してその再生順序が変更されている場合を除き、再生順序としてはそのプログラムの記録順序と同じ再生順序が用いられる。このプログラムセットは、オリジナルPGC(ORG_PGC)と呼ばれるデータ構造に対応している。   Here, the program set indicates the entire recorded contents (all programs) of the information storage medium 201. In reproducing a program set, the same reproduction order as the recording order of the program is used as the reproduction order unless an arbitrary program is edited and the reproduction order is changed with respect to the original recording. This program set corresponds to a data structure called an original PGC (ORG_PGC).

また、プログラムは、ユーザにより認識されあるいはユーザにより定義されるところの、記録内容の論理単位である。プログラムセット中のプログラムは、1以上のオリジナルセルにより構成される。プログラムはオリジナルPGC内でのみ定義されるものである。   A program is a logical unit of recorded content that is recognized by a user or defined by a user. A program in the program set is composed of one or more original cells. The program is defined only in the original PGC.

さらに、セルは、プログラムの一部を示すデータ構造である。オリジナルPGC内のセルは「オリジナルセル」と呼ばれ、後述するユーザ定義PGC内のセルは「ユーザ定義セル」と呼ばれる。   Furthermore, the cell is a data structure indicating a part of the program. The cells in the original PGC are called “original cells”, and the cells in the user-defined PGC described later are called “user-defined cells”.

プログラムセット内の各々のプログラムは、少なくとも1個のオリジナルセルで構成される。また、各々のプレイリスト中のプログラムの一部それぞれは、少なくとも1個のユーザ定義セルで構成される。   Each program in the program set consists of at least one original cell. In addition, each part of the program in each playlist is composed of at least one user-defined cell.

一方、ストリーマでは、ストリームセル(SC)だけが定義される。各ストリームセルは、記録されたビットストリームの一部を参照するものである。この発明の実施の形態においては、特に断り無く「セル」と述べた場合は、「ストリームセル」のことを意味している。   On the other hand, in the streamer, only the stream cell (SC) is defined. Each stream cell refers to a part of the recorded bit stream. In the embodiment of the present invention, “cell” means “stream cell” unless otherwise specified.

なお、プログラムチェーン(PGC)とは、上位概念的な単位を示す。オリジナルPGCでは、PGCはプログラムセットに対応したプログラムの連なり(チェーン)を指す。また、ユーザ定義PGCでは、PGCはプレイリストに対応するプログラムの一部の連なり(チェーン)を指す。   Note that the program chain (PGC) represents a superordinate conceptual unit. In the original PGC, the PGC indicates a chain of programs corresponding to the program set. In the user-defined PGC, the PGC indicates a series (chain) of a part of the program corresponding to the playlist.

また、プログラムの一部のチェーンを指すユーザ定義PGCは、ナビゲーションデータだけを含む。そして、各プログラムの一部が、オリジナルPGCに属するストリームデータを参照するようになっている。   In addition, the user-defined PGC that points to a part of the program chain includes only navigation data. A part of each program refers to stream data belonging to the original PGC.

図13のユーザ定義PGC情報テーブルUD_PGCITは、ユーザ定義PGC情報テーブル情報UD_PGCITIと、1以上のユーザ定義PGCサーチポインタUD_PGC_SRP#nと、1以上のユーザ定義PGC情報UD_PGCI#nとを含むことができる。   The user-defined PGC information table UD_PGCIT in FIG. 13 may include user-defined PGC information table information UD_PGCITI, one or more user-defined PGC search pointers UD_PGC_SRP # n, and one or more user-defined PGC information UD_PGCI # n.

ユーザ定義PGC情報テーブル情報UD_PGCITIは、図示しないが、ユーザ定義PGCサーチポインタUD_PGC_SRPの数を示すUD_PGC_SRP_Nsと、ユーザ定義PGC情報テーブルUD_PGCITの終了アドレスを示すUD_PGCIT_EAとを含む。   Although not shown, the user-defined PGC information table information UD_PGCITI includes UD_PGC_SRP_Ns indicating the number of user-defined PGC search pointers UD_PGC_SRP and UD_PGCIT_EA indicating the end address of the user-defined PGC information table UD_PGCIT.

UD_PGC_SRP_Nsが示すUD_PGC_SRPの数は、ユーザ定義PGC情報(UD_PGCI)の数と同じであり、ユーザ定義PGC(UD_PGC)の数とも同じである。この数は、最大「99」まで許されている。   The number of UD_PGC_SRPs indicated by UD_PGC_SRP_Ns is the same as the number of user-defined PGC information (UD_PGCI) and the same as the number of user-defined PGCs (UD_PGC). This number is allowed up to a maximum of “99”.

UD_PGCIT_EAは、該当UD_PGCITの終了アドレスを、そのUD_PGCITの先頭バイトからの相対バイト数(F_RBN)で記述したものである。   UD_PGCIT_EA describes the end address of the corresponding UD_PGCIT by the relative number of bytes (F_RBN) from the first byte of the UD_PGCIT.

ここで、F_RBNとは、ファイル内において、定義されたフィールドの先頭バイトからの相対バイト数を示すもので、ゼロから始まる。   Here, F_RBN indicates the relative number of bytes from the first byte of the defined field in the file, and starts from zero.

オリジナルPGC情報ORG_PGCIあるいはユーザ定義PGC情報テーブルUD_PGCIT内のユーザ定義PGC情報UD_PGCIを一般的に表現したPGCI#iについては、図14を参照して後述する。   PGCI # i that generally represents the original PGC information ORG_PGCI or the user-defined PGC information UD_PGCI in the user-defined PGC information table UD_PGCIT will be described later with reference to FIG.

図13のテキストデータマネージャTXTDT_MGは、補足的なテキスト情報である。このTXTDT_MGは、図14のプライマリテキスト情報PRM_TXTIとともに、プレイリストおよびプログラム内に格納できる。   The text data manager TXTDT_MG in FIG. 13 is supplementary text information. This TXTDT_MG can be stored in the playlist and program together with the primary text information PRM_TXTI of FIG.

図13のアプリケーションプライベートデータマネージャAPDT_Mは、図示しないが、アプリケーションプライベートデータマネージャ一般情報APDT_GIと、1以上のAPDTサーチポインタAPDT_SRP#nと、1以上のAPDTエリアAPADTA#nとを含むことができる。   Although not shown, the application private data manager APDT_M of FIG. 13 can include application private data manager general information APDT_GI, one or more APDT search pointers APDT_SRP # n, and one or more APDT areas APADTA # n.

ここで、アプリケーションプライベートデータAPDTとは、ストリーマに接続されたアプリケーションデバイスが任意の非リアルタイム情報(リアルタイムストリームデータに加えさらに望まれる情報)を格納できるような概念上のエリアである。   Here, the application private data APDT is a conceptual area where an application device connected to the streamer can store arbitrary non-real time information (information desired in addition to the real time stream data).

図14は、PGC情報(図3のORG_PGCI/UD_PGCITまたは図13のPGCI#i)の内部データ構造を説明する図である。図14のPGC情報PGCI#iは、図13のオリジナルPGC情報ORG_PGCIあるいはユーザ定義PGC情報テーブルUD_PGCIT内のユーザ定義PGC情報UD_PGCIを一般的に表現したものである。   FIG. 14 is a diagram illustrating an internal data structure of PGC information (ORG_PGCI / UD_PGCIT in FIG. 3 or PGCI # i in FIG. 13). The PGC information PGCI # i in FIG. 14 generally represents the original PGC information ORG_PGCI in FIG. 13 or the user-defined PGC information UD_PGCI in the user-defined PGC information table UD_PGCIT.

図14に示すように、PGC情報PGCI#iは、PGC一般情報PGC_GIと、1以上のプログラム情報PGI#mと、1以上のストリームセル情報サーチポインタSCI_SRP#nと、1以上のストリームセル情報SCI#nとで構成されている。   As shown in FIG. 14, PGC information PGCI # i includes PGC general information PGC_GI, one or more program information PGI # m, one or more stream cell information search pointers SCI_SRP # n, and one or more stream cell information SCI. #N.

PGC一般情報PGC_GIは、プログラムの数PG_Nsと、ストリームセル情報サーチポインタSCI_SRPの数SCI_SRP_Nsとを含んでいる。   The PGC general information PGC_GI includes the number of programs PG_Ns and the number of stream cell information search pointers SCI_SRP SCI_SRP_Ns.

各プログラム情報PGI(たとえばPGI#1)は、プログラムタイプPG_TYと、該当プログラム内のセルの数C_Nsと、該当プログラムのプライマリテキスト情報PRM_TXTIと、アイテムテキストのサーチポインタ番号IT_TXT_SRPNとを含んでいる。   Each program information PGI (for example, PGI # 1) includes a program type PG_TY, the number C_Ns of cells in the program, primary text information PRM_TXTI of the program, and an item text search pointer number IT_TXT_SRPN.

ここで、プログラムタイプPG_TYは、該当プログラムの状態を示す情報を含む。とくに、そのプログラムが誤消去などから保護された状態にあるかどうかを示すフラグ、すなわちプロテクトフラグを含む。   Here, the program type PG_TY includes information indicating the state of the corresponding program. In particular, a flag indicating whether or not the program is protected from erroneous erasure, that is, a protect flag is included.

このプロテクトフラグが「0b」のときは該当プログラムは保護されておらず、「1b」のときは保護された状態にある。   When the protect flag is “0b”, the corresponding program is not protected, and when it is “1b”, it is in a protected state.

セルの数C_Nsは、該当プログラム内のセルの数を示す。PGCの全プログラムおよび全セルの全体に渡り、セルは、その昇順に従い、プログラムに(暗黙のうちに)付随している。   The number of cells C_Ns indicates the number of cells in the program. Throughout all PGC programs and all cells, cells are associated (implicitly) with the program according to their ascending order.

たとえば、PGC内でプログラム#1がC_Ns=1を持ち、プログラム#2がC_Ns=2を持つとすれば、そのPGCの最初のストリームセル情報SCIはプログラム#1に付随するものとなり、第2、第3のSCIはプログラム#2に付随するものとなる。   For example, if the program # 1 has C_Ns = 1 and the program # 2 has C_Ns = 2 in the PGC, the first stream cell information SCI of the PGC is attached to the program # 1, the second, The third SCI is associated with program # 2.

プライマリテキスト情報PRM_TXTIは、情報記憶媒体(DVD−RAMディスク)201を世界中で利用可能とするために、1つの共通キャラクタセット(ISO/IEC646:1983(ASCIIコード))を持ったテキスト情報を記述したものである。   The primary text information PRM_TXTI describes text information having one common character set (ISO / IEC646: 1983 (ASCII code)) so that the information storage medium (DVD-RAM disk) 201 can be used all over the world. It is a thing.

アイテムテキストのサーチポインタ番号IT_TXT_SRPNは、アイテムテキスト(該当プログラムに対応するテキストデータ)IT_TXTに対するサーチポインタ番号を記述したものである。該当プログラムがアイテムテキストを持たないときは、IT_TXT_SRPNは「0000h」にセットされる。   The item text search pointer number IT_TXT_SRPN describes the search pointer number for the item text (text data corresponding to the corresponding program) IT_TXT. When the corresponding program has no item text, IT_TXT_SRPN is set to “0000h”.

各ストリームセル情報サーチポインタSCI_SRP(たとえばSCI_SRP#1)は、対応ストリームセル情報SCIの開始アドレスを示すSCI_SAを含んでいる。このSCI_SAは、PGCIの先頭バイトからの相対バイト数(F_RBN)で記述される。   Each stream cell information search pointer SCI_SRP (for example, SCI_SRP # 1) includes SCI_SA indicating the start address of the corresponding stream cell information SCI. This SCI_SA is described by the relative number of bytes (F_RBN) from the first byte of PGCI.

各ストリームセル情報SCI(たとえばSCI#1)は、ストリームセル一般情報SC_GIと、1以上のストリームセルエントリポイント情報SC_EPI#nとで構成される。   Each stream cell information SCI (for example, SCI # 1) includes stream cell general information SC_GI and one or more stream cell entry point information SC_EPI # n.

ストリームセル一般情報SC_GIは、仮消去(テンポラリイレーズ;TE)状態を示すフラグTEを含むセルタイプC_TYと、ストリームセルのエントリポイント情報の数SC_EPI_Nsと、ストリームオブジェクト番号SOB_Nと、ストリームセル開始APAT(図9で示したSC_S_APAT)と、ストリームセル終了APAT(図9で示したSC_E_APAT)と、セルが仮消去状態(TE=10b)にあるときにその仮消去セルの開始APATを示す消去開始APAT(ERA_S_APAT)と、セルが仮消去状態(TE=10b)にあるときにその仮消去セルの終了APATを示す消去終了APAT(ERA_E_APAT)とを含んでいる。   The stream cell general information SC_GI includes a cell type C_TY including a flag TE indicating a temporary erase (temporary erase; TE) state, the number SC_EPI_Ns of stream cell entry point information, a stream object number SOB_N, a stream cell start APAT (FIG. SC_S_APAT shown in FIG. 9, stream cell end APAT (SC_E_APAT shown in FIG. 9), and erase start APAT (ERA_S_APAT) indicating the start APAT of the temporary erase cell when the cell is in the temporary erase state (TE = 10b) ) And erase end APAT (ERA_E_APAT) indicating the end APAT of the temporary erase cell when the cell is in the temporary erase state (TE = 10b).

セルタイプC_TYは、該当ストリームセルの形式およびその仮消去状態を記述するものである。   The cell type C_TY describes the format of the corresponding stream cell and its temporary erase state.

すなわち、セルの形式C_TY1=「010b」は全てのストリームセルの形式に記述される(このC_TY1=「010b」によりストリームセルとそれ以外のセルの区別ができる)。   That is, the cell format C_TY1 = “010b” is described in the format of all stream cells (the C_TY1 = “010b” can distinguish the stream cell from the other cells).

一方、フラグTEが「00b」であれば該当セルは通常の状態にあることが示され、フラグTEが「01b」あるいは「10b」であれば該当セルは仮消去の状態にあることが示される。   On the other hand, if the flag TE is “00b”, it indicates that the corresponding cell is in a normal state, and if the flag TE is “01b” or “10b”, it indicates that the corresponding cell is in a temporary erase state. .

フラグTE=「01b」は、該当セル(仮消去状態にあるセル)が、SOBU内で開始する最初のアプリケーションパケットの後から開始し、同じSOBU内の最終アプリケーションパケットの前で終了する場合を示す。   The flag TE = “01b” indicates a case where the corresponding cell (a cell in the temporarily erased state) starts after the first application packet that starts in the SOBU and ends before the last application packet in the same SOBU. .

また、フラグTE=「10b」は、該当セル(仮消去状態にあるセル)が、少なくとも1つのSOBU境界(先頭アプリケーションパケットあるいは最終アプリケーションパケットがそのSOBU内で開始する)を含む場合を示す。   The flag TE = “10b” indicates a case where the corresponding cell (a cell in the temporarily erased state) includes at least one SOBU boundary (the first application packet or the last application packet starts within the SOBU).

なお、プログラムのプロテクトフラグと、そのプログラム内のセルのTEフラグとは、同時に設定できないようになっている。それゆえ、
(a)プロテクト状態にあるプログラム内のセルは何れも仮消去状態に設定できず;
(b)仮消去状態にあるセルを1以上含むプログラムはプロテクト状態に設定できない。
Note that the protect flag of the program and the TE flag of the cells in the program cannot be set at the same time. therefore,
(A) None of the cells in the program in the protected state can be set to the temporary erase state;
(B) A program including one or more cells in the temporary erase state cannot be set to the protected state.

ストリームセルのエントリポイント情報の数SC_EPI_Nsは、該当ストリームセル情報SCI内に含まれるストリームセルエントリポイント情報の数を記述したものである。   The number of stream cell entry point information SC_EPI_Ns describes the number of stream cell entry point information included in the corresponding stream cell information SCI.

図14の各ストリームセルエントリポイント情報SC_EPI(たとえばSC_EPI#1)は、2種類(タイプAとタイプB)存在する。   Each stream cell entry point information SC_EPI (for example, SC_EPI # 1) in FIG. 14 has two types (type A and type B).

タイプAのSC_EPIは、エントリポイントタイプEP_TYとエントリポイントのアプリケーションパケット到着時間EP_APATとを含む。タイプAは、エントリポイントタイプEP_TY1=「00b」により示される。   Type A SC_EPI includes an entry point type EP_TY and an entry point application packet arrival time EP_APAT. Type A is indicated by entry point type EP_TY1 = “00b”.

タイプBのSC_EPIは、タイプAのEP_TYおよびEP_APATの他に、プライマリテキスト情報PRM_TXTIを含む。タイプBは、エントリポイントタイプEP_TY1=「01b」により示される。   Type B SC_EPI includes primary text information PRM_TXTI in addition to type A EP_TY and EP_APAT. Type B is indicated by the entry point type EP_TY1 = "01b".

任意のストリームセルにおいて、記録内容の一部をスキップする道具として、エントリポイントを利用することができる。全てのエントリポイントはアプリケーションパケット到着時間(APAT)により特定できる。このAPATにより、どこからデータ出力が開始されるのかを特定できる。   In any stream cell, an entry point can be used as a tool for skipping a part of the recorded contents. All entry points can be identified by application packet arrival time (APAT). With this APAT, it can be specified where data output is started.

ストリームオブジェクト番号SOB_Nは、該当セルが参照するSOBの番号を記述したものである。   The stream object number SOB_N describes the number of the SOB referred to by the corresponding cell.

ストリームセル開始APAT(SC_S_APAT)は、該当セルの開始APATを記述したものである。   Stream cell start APAT (SC_S_APAT) describes the start APAT of the cell.

ストリームセル終了APAT(SC_E_APAT)は、該当セルの終了APATを記述したものである。   Stream cell end APAT (SC_E_APAT) describes the end APAT of the cell.

消去開始APAT(ERA_S_APAT)は、少なくとも1個のSOBU境界を含む仮消去セル(そのC_TYのTEフィールドが「10b」)において、この仮消去セルに先頭が含まれる最初のSOBU内で開始する最初のアプリケーションパケットの到着時間(APAT)を記述したものである。   The erase start APAT (ERA_S_APAT) is the first start in the first SOBU including the head of the temporary erase cell in the temporary erase cell (the TE field of the C_TY is “10b”) including at least one SOBU boundary. It describes the arrival time (APAT) of the application packet.

消去終了APAT(ERA_E_APAT)は、少なくとも1個のSOBU境界を含む仮消去セル(そのC_TYのTEフィールドが「10b」)において、仮消去セルのすぐ後に続くアプリケーションパケットを含むSOBU内で開始する最初のアプリケーションパケットの到着時間(APAT)を記述したものである。   The erase end APAT (ERA_E_APAT) is the first start in the SOBU containing the application packet immediately following the temporary erase cell in the temporary erase cell (the TE field of its C_TY is “10b”) including at least one SOBU boundary. It describes the arrival time (APAT) of the application packet.

図15は、ストリームファイル情報テーブル(SFIT)の内部データ構造を説明する図である。   FIG. 15 is a diagram for explaining the internal data structure of the stream file information table (SFIT).

図15に示すように、ストリームファイル情報テーブルSFITは、ストリームファイル情報テーブル情報SFITIと、1以上のストリームオブジェクトストリーム情報SOB_STI#nと、ストリームファイル情報SFIとで構成される。   As shown in FIG. 15, the stream file information table SFIT is composed of stream file information table information SFITI, one or more stream object stream information SOB_STI # n, and stream file information SFI.

ストリームファイル情報テーブル情報SFITIは、情報記憶媒体(DVD−RAMディスク)201上のストリームファイル情報の数SFI_Nsと、SFITIに続くストリームオブジェクトストリーム情報の数SOB_STI_Nsと、SFITの終了アドレスSFIT_EAと、SFIの開始アドレスSFI_SAとで構成される。   The stream file information table information SFITI includes the number SFI_Ns of stream file information on the information storage medium (DVD-RAM disk) 201, the number SOB_STI_Ns of stream object stream information following SFITI, the end address SFIT_EA of SFIT, and the start of SFI. It consists of an address SFI_SA.

SFIT_EAは、SFITの先頭バイトからの相対バイト数(F_RBN)でSFITの終了アドレスを記述したものである。   SFIT_EA describes the end address of SFIT by the relative number of bytes (F_RBN) from the first byte of SFIT.

また、SFI_SAは、SFITの先頭バイトからの相対バイト数(F_RBN)でSFIの開始アドレスを記述したものである。   SFI_SA describes the start address of SFI by the relative number of bytes (F_RBN) from the first byte of SFIT.

各ストリームオブジェクトストリーム情報SOB_STIは、3種類のパラメータを含む。各パラメータは箇々のビットストリーム記録に対して固有な値を持つことができる。しかしながら、通常は、多くのビットストリーム記録においてこれらのパラメータセットは等しいものにできる。それゆえ、SOB_STIは、ストリームオブジェクト情報(SOBI)のテーブルとは別のテーブルに格納され、幾つかのストリームオブジェクト(SOB)が同じSOB_STIを共有する(つまり同じSOB_STIをポイントする)ことが認められている。したがって、通常は、SOBの数よりもSOB_STIの数の方が少なくなる。   Each stream object stream information SOB_STI includes three types of parameters. Each parameter can have a unique value for each bitstream recording. However, usually these parameter sets can be equal in many bitstream recordings. Therefore, SOB_STI is stored in a table different from the stream object information (SOBI) table, and it is recognized that several stream objects (SOBs) share the same SOB_STI (ie, point to the same SOB_STI). Yes. Therefore, normally, the number of SOB_STIs is smaller than the number of SOBs.

図15の各ストリームオブジェクトストリーム情報SOB_STI(たとえばSOB_STI#1)は、アプリケーションパケットサイズAP_SIZと、サービスIDの数SERV_ID_Nsと、サービスID(SERV_IDs)と、アプリケーションパケットデバイスユニークID(AP_DEV_UID)とを含んでいる。   Each stream object stream information SOB_STI (eg, SOB_STI # 1) in FIG. 15 includes an application packet size AP_SIZ, a service ID number SERV_ID_Ns, a service ID (SERV_IDs), and an application packet device unique ID (AP_DEV_UID). .

AP_SIZは、アプリケーションデバイスからストリーマへ転送されたビットストリーム内のパケットのバイト長で、アプリケーションパケットサイズを記述したものである。   AP_SIZ describes the application packet size as the byte length of the packet in the bit stream transferred from the application device to the streamer.

なお、DVDストリーマではアプリケーションパケットサイズは、各ビットストリーム記録において、一定とされている。そのため、各々の中断のない記録中において、アプリケーションパケットサイズが変化するようなことがあれば、現在のストリームオブジェクト(現SOB)はそこで終了され、新たなストリームオブジェクト(新SOB)が、新たなAP_SIZを伴って開始される。その際、現SOBおよび新SOBの双方は、オリジナルPGC情報(ORG_PGCI)内の同じプログラムに属するものとなる。   In the DVD streamer, the application packet size is fixed in each bit stream recording. Therefore, if the application packet size may change during each uninterrupted recording, the current stream object (current SOB) is terminated there, and the new stream object (new SOB) is replaced with the new AP_SIZ. It starts with. At that time, both the current SOB and the new SOB belong to the same program in the original PGC information (ORG_PGCI).

SERV_ID_Nsは、後続パラメータに含まれるサービスIDの数を記述したものである。   SERV_ID_Ns describes the number of service IDs included in the subsequent parameters.

SERV_IDsは、サービスIDのリストを任意の順序で記述したものである。   SERV_IDs describes a list of service IDs in an arbitrary order.

AP_DEV_UIDは、記録されたビットストリームを供給したアプリケーションデバイスに固有の、ユニークなデバイスIDを記述したものである。   AP_DEV_UID describes a unique device ID that is unique to the application device that supplied the recorded bitstream.

ストリームファイル情報SFIは、図15に示すように、ストリームファイル一般情報SF_GIと、1以上のストリームオブジェクト情報(SOB情報)サーチポインタ(SOBI_SRP)#nと、1以上のSOB情報(SOBI)#nとで構成されている。   As shown in FIG. 15, the stream file information SFI includes stream file general information SF_GI, one or more stream object information (SOB information) search pointers (SOBI_SRP) #n, one or more SOB information (SOBI) #n, It consists of

ストリームファイル一般情報SF_GIは、SOBIの数SOBI_Nsと、SOBU1個あたりのセクタ数SOBU_SIZとを含んでいる。   The stream file general information SF_GI includes the number of SOBIs SOBI_Ns and the number of sectors SOBU_SIZ per SOBU.

ここで、SOBU_SIZは、SOBUのサイズをセクタ数で記述したもので、このサイズは32(32セクタ=64kバイト)で一定となっている。このことは、各タイムマップ情報(MAPL)内において、最初のエントリが、SOBの最初の32セクタ内に含まれるアプリケーションパケットに関係していることを意味する。同様に、2番目のエントリは、次の32セクタに含まれるアプリケーションパケットに関係する。3番目以降のエントリについても以下同様である。   Here, SOBU_SIZ describes the SOBU size in terms of the number of sectors, and this size is constant at 32 (32 sectors = 64 kbytes). This means that in each time map information (MAPL), the first entry relates to an application packet contained in the first 32 sectors of the SOB. Similarly, the second entry relates to an application packet included in the next 32 sectors. The same applies to the third and subsequent entries.

各SOB情報サーチポインタ(たとえばSOBI_SRP#1)は、SOBIの開始アドレスSOBI_SAを含んでいる。このSOBI_SAは、ストリームファイル情報SFIの先頭バイトから相対バイト数(F_RBN)でもって関連SOBIの開始アドレスを記述したものである。   Each SOB information search pointer (for example, SOBI_SRP # 1) includes the SOBI start address SOBI_SA. This SOBI_SA describes the start address of the related SOBI with the relative number of bytes (F_RBN) from the first byte of the stream file information SFI.

各SOB情報(たとえばSOBI#1)は、ストリームオブジェクト一般情報SOB_GIと、タイムマップ情報MAPLと、アクセスユニットデータAUD(オプション)とで構成される。   Each SOB information (for example, SOBI # 1) includes stream object general information SOB_GI, time map information MAPL, and access unit data AUD (option).

ストリームオブジェクト一般情報SOB_GIは、ストリームオブジェクトのタイプSOB_TYと、ストリームオブジェクト記録時間SOB_REC_TMと、ストリームオブジェクトのストリーム情報番号SOB_STI_Nと、アクセスユニットデータフラグAUD_FLAGSと、ストリームオブジェクトの開始アプリケーションパケット到着時間SOB_S_APATと、ストリームオブジェクトの終了アプリケーションパケット到着時間SOB_E_APATと、該当ストリームオブジェクトの先頭ストリームオブジェクトユニットSOB_S_SOBUと、タイムマップ情報のエントリ数MAPL_ENT_Nsとを含んでいる。   The stream object general information SOB_GI includes a stream object type SOB_TY, a stream object recording time SOB_REC_TM, a stream object stream information number SOB_STI_N, an access unit data flag AUD_FLAGS, a stream object start application packet arrival time SOB_S_APAT, and a stream object. End application packet arrival time SOB_E_APAT, the first stream object unit SOB_S_SOBU of the corresponding stream object, and the number of entries of time map information MAPL_ENT_Ns.

ストリームオブジェクトのタイプSOB_TYは、仮消去状態(TE状態)を示すビットおよび/またはコピー世代管理システムのビットを記述できる部分である。   The stream object type SOB_TY is a part that can describe a bit indicating a temporary erase state (TE state) and / or a bit of a copy generation management system.

ストリームオブジェクト記録時間SOB_REC_TMは、関連ストリームオブジェクト(SOB)の記録時間を記述したものである。   The stream object recording time SOB_REC_TM describes the recording time of the related stream object (SOB).

ストリームオブジェクトのストリーム情報番号SOB_STI_Nは、該当ストリームオブジェクトに対して有効なSOB_STIのインデックスを記述したものである。   The stream information number SOB_STI_N of the stream object describes an SOB_STI index that is valid for the stream object.

アクセスユニットデータフラグAUD_FLAGSは、該当ストリームオブジェクトに対してアクセスユニットデータ(AUD)が存在するか否か、また存在するならどんな種類のアクセスユニットデータなのかを記述したものである。   The access unit data flag AUD_FLAGS describes whether or not access unit data (AUD) exists for the corresponding stream object, and what kind of access unit data if there is.

アクセスユニットデータ(AUD)が存在する場合は、AUD_FLAGSにより、AUDの幾つかの特性が記述される。   If access unit data (AUD) is present, AUD_FLAGS describes some characteristics of the AUD.

アクセスユニットデータ(AUD)自体は、図15に示すように、アクセスユニット一般情報AU_GIと、アクセスユニットエンドマップAUEMと、再生タイムスタンプリストPTSLとで構成される。   As shown in FIG. 15, the access unit data (AUD) itself includes access unit general information AU_GI, an access unit end map AUEM, and a reproduction time stamp list PTSL.

アクセスユニット一般情報AU_GIは、該当SOBに対して記述されたアクセスユニットの数を示すAU_Nsと、該当SOBに属するSOBUのどれがアクセスユニットを含むのかを示すアクセスユニット開始マップAUSMとを含んでいる。   The access unit general information AU_GI includes AU_Ns indicating the number of access units described for the SOB, and an access unit start map AUSM indicating which SOBUs belonging to the SOB include access units.

アクセスユニットエンドマップAUEMは、(もし存在するときは)AUSMと同じ長さのビットアレイであり、該当SOBのアクセスユニットに付随するビットストリームセグメントの終端をどのSOBUが含むのかを示す。   The access unit end map AUEM is a bit array of the same length as AUSM (if any) and indicates which SOBU contains the end of the bitstream segment associated with the access unit of the SOB.

再生タイムスタンプリストPTSLは、該当SOBに属する全てのアクセスユニットの再生タイムスタンプのリストである。このリストに含まれる1つのPTSLエレメントは、対応アクセスユニットの再生タイムスタンプ(PTS)の値を含む。   The reproduction time stamp list PTSL is a list of reproduction time stamps of all access units belonging to the corresponding SOB. One PTSL element included in this list includes the playback time stamp (PTS) value of the corresponding access unit.

なお、アクセスユニット(AU)とは、記録されたビットストリームのうちの任意の単一連続部分を指し、個別の再生に適するように構成されている。たとえばオーディオ・ビデオのビットストリームにおいては、アクセスユニットは、通常は、MPEGのIピクチャに対応する部分となる。   The access unit (AU) refers to an arbitrary single continuous portion of the recorded bit stream, and is configured to be suitable for individual reproduction. For example, in an audio / video bit stream, an access unit is usually a portion corresponding to an MPEG I picture.

ここで再びSOB_GIの内容説明に戻る。   Here, the description returns to the contents of SOB_GI.

AUD_FLAGSは、フラグRTAU_FLGと、フラグAUD_FLGと、フラグAUEM_FLGと、フラグPTSL_FLGとを含んでいる。   AUD_FLAGS includes a flag RTAU_FLG, a flag AUD_FLG, a flag AUEM_FLG, and a flag PTSL_FLG.

フラグRTAU_FLGが0bのときは、該当SOBのリアルタイムデータ内にアクセスユニットフラグはないことが示される。   When the flag RTAU_FLG is 0b, it indicates that there is no access unit flag in the real-time data of the SOB.

フラグRTAU_FLGが1bのときは、図10(d)のアプリケーションヘッダエクステンション内に記述されるAUフラグ(AU_START、AU_END)が、該当SOBのリアルタイムデータ内に存在可能なことが示される。この状態は、下記AUD_FLGが0bの場合にも許される。   When the flag RTAU_FLG is 1b, it indicates that the AU flags (AU_START, AU_END) described in the application header extension of FIG. 10D can exist in the real-time data of the corresponding SOB. This state is allowed even when the following AUD_FLG is 0b.

フラグAUD_FLGが0bのときは、該当SOBに対してアクセスユニットデータ(AUD)がないことが示される。   When the flag AUD_FLG is 0b, it indicates that there is no access unit data (AUD) for the corresponding SOB.

フラグAUD_FLGが1bのときは、該当SOBに対してアクセスユニットデータ(AUD)が存在し得ることが示される。   When the flag AUD_FLG is 1b, it indicates that access unit data (AUD) may exist for the corresponding SOB.

フラグAUEM_FLGが0bのときは、該当SOBにAUEMが存在しないことが示される。   When the flag AUEM_FLG is 0b, it indicates that no AUEM exists in the corresponding SOB.

フラグAUEM_FLGが1bのときは、該当SOBにAUEMが存在することが示される。   When the flag AUEM_FLG is 1b, it indicates that the AUEM exists in the corresponding SOB.

フラグPTSL_FLGが0bのときは、該当SOBにPTSLが存在しないことが示される。   When the flag PTSL_FLG is 0b, it indicates that there is no PTSL in the SOB.

フラグPTSL_FLGが1bのときは、該当SOBにPTSLが存在することが示される。   When the flag PTSL_FLG is 1b, it indicates that PTSL exists in the corresponding SOB.

SOB_S_APATは、ストリームオブジェクトの開始アプリケーションパケット到着時間を記述したものである。つまり、SOB_S_APATにより、該当SOBに属する最初のアプリケーションパケット到着時間が示される。   SOB_S_APAT describes the start application packet arrival time of the stream object. That is, the first application packet arrival time belonging to the SOB is indicated by SOB_S_APAT.

このパケット到着時間(PAT)は、2つの部分、すなわち基本部分と拡張部分に分けられる。基本部分は90kHzユニット値と呼ばれる部分であり、拡張部分は27MHzで測った細かい値(less significant value)を示す。   This packet arrival time (PAT) is divided into two parts: a basic part and an extended part. The basic part is a part called 90 kHz unit value, and the extended part shows a less significant value measured at 27 MHz.

SOB_E_APATは、ストリームオブジェクトの終了アプリケーションパケット到着時間を記述したものである。つまり、SOB_E_APATにより、該当SOBに属する最後のアプリケーションパケット到着時間が示される。   SOB_E_APAT describes the end application packet arrival time of the stream object. That is, SOB_E_APAT indicates the arrival time of the last application packet belonging to the SOB.

SOB_S_SOBUは、該当ストリームオブジェクトの先頭ストリームオブジェクトユニットを記述したものである。つまり、SOB_S_SOBUにより、ストリームオブジェクトの先頭アプリケーションパケットの開始部分を含むSOBUが示される。   SOB_S_SOBU describes the first stream object unit of the corresponding stream object. In other words, SOBU_S_SOBU indicates the SOBU including the start portion of the first application packet of the stream object.

MAPL_ENT_Nsは、SOBI_GIの後に続くタイムマップ情報(MAPL)のエントリ数を記述したものである。   MAPL_ENT_Ns describes the number of entries of time map information (MAPL) following SOBI_GI.

タイムマップ情報MAPLは、図3(h)のタイムマップ情報252に対応する内容を持つ。   The time map information MAPL has contents corresponding to the time map information 252 of FIG.

図13および図15の内容の関連性の1つについて纏めると、次のようになる:
管理情報105に含まれるストリーマ情報STRIは、ストリームデータの内容の一部を構成するストリームオブジェクトSOBを管理するストリームファイル情報テーブルSFITを含む。このSFITは、SOBを管理するストリームオブジェクト情報SOBIを含む。このSOBIが、管理情報(アクセスユニット開始マップAUSM)を含むアクセスユニット一般情報AU_GIと、管理情報(PTSL)とを含む。
Summarizing one of the relevance of the contents of FIGS. 13 and 15 is as follows:
The streamer information STRI included in the management information 105 includes a stream file information table SFIT that manages a stream object SOB that constitutes a part of the content of the stream data. This SFIT includes stream object information SOBI for managing the SOB. This SOBI includes access unit general information AU_GI including management information (access unit start map AUSM) and management information (PTSL).

ここで、管理情報(ATSまたはAUSM)がストリームデータの転送時に使用される情報を含み、管理情報(PTSまたはSC_S_APAT)が前記ストリームデータを表示するときに使用される情報を含む。   Here, the management information (ATS or AUSM) includes information used when transferring stream data, and the management information (PTS or SC_S_APAT) includes information used when displaying the stream data.

図16は、アクセスユニット開始マップ(AUSM)とストリームオブジェクトユニット(SOBU)との対応関係を例示する図である。   FIG. 16 is a diagram illustrating the correspondence between the access unit start map (AUSM) and the stream object unit (SOBU).

図示するように、AUSMのうちビット”1”の部分が、対応SOBUにアクセスユニット(AU)が含まれることを示している。   As shown in the drawing, the bit “1” portion of the AUSM indicates that the corresponding SOBU includes an access unit (AU).

いま、AUSM内でビットがセットされたi番目(1≦i≦AU_Ns)のビット位置をAUSM_pos(i)としてみる。すると、アクセスユニットAUの位置は次のようになる。   Now, the i-th (1 ≦ i ≦ AU_Ns) bit position where the bit is set in AUSM is considered as AUSM_pos (i). Then, the position of the access unit AU is as follows.

(1)もしAUSM_pos(i)により示されるSOBU#iが1以上の開始AU(これはストリーム内で(もしあるなら)AU_STARTマークおよびAU_ENDマークにより記述される)を含むなら、AUSM_pos(i)は、SOBU#i内で開始する最初のAUに割り当てられる。ここで、SOBU#iは、AUSM_pos(i)および(AUEMが存在するなら)AUEM_pos(i)により記述されたSOBUs内に配置されたものである。   (1) If SOBU # i indicated by AUSM_pos (i) contains one or more starting AUs (this is described by AU_START and AU_END marks, if any) in the stream, then AUSM_pos (i) is , Assigned to the first AU starting in SOBU # i. Here, SOBU # i is arranged in SOBUs described by AUSM_pos (i) and AUEM_pos (i) (if AUEM exists).

(2)AUは、このAU開始後に最初に現れるAU_ENDマークで終了し、かつ、AUは、(もしAUEMが存在するなら)割り当てられたAUEMエレメントにより示される最後のSOBUで終了する。   (2) The AU ends with the first AU_END mark that appears after this AU starts, and the AU ends with the last SOBU indicated by the assigned AUEM element (if AUEM exists).

なお、いずれのアクセスユニットデータにおいても、SOBの各SOBU1個当たりに、2以上のアクセス可能なアクセスユニットを記述することはできない。   In any access unit data, two or more accessible access units cannot be described for each SOBU of SOB.

図17は、アクセスユニット開始マップ(AUSM)およびアクセスユニット終了マップ(AUEM)とストリームオブジェクトユニット(SOBU)との対応関係を例示する図である。   FIG. 17 is a diagram illustrating a correspondence relationship between an access unit start map (AUSM) and an access unit end map (AUUM) and a stream object unit (SOBU).

AUEMは、(もし存在するなら)AUSMと同じ長さのビットアレイである。AUEMのビットは、該当SOBのアクセスユニットに付随するビットストリームセグメントの末尾がどのSOBUに含まれるのかを、示している。   AUEM is a bit array of the same length as AUSM (if present). The AUEM bit indicates in which SOBU the end of the bit stream segment attached to the access unit of the SOB is included.

AUEM内にセットされたビットの数はAUSM内にセットされたビットの数に一致する。すなわち、AUSM内の各設定ビットは、AUEM内に対応してセットされたビットを持つ。   The number of bits set in AUEM matches the number of bits set in AUSM. That is, each setting bit in AUSM has a bit set correspondingly in AUEM.

いま、AUSM内でビットがセットされたi番目(1≦i≦AU_Ns)のビット位置をAUSM_pos(i)とし、AUEM内でビットがセットされたi番目(1≦i≦AU_Ns)のビット位置をAUEM_pos(i)としてみる。この場合、以下の関係がある。   Now, the i-th (1 ≦ i ≦ AU_Ns) bit position where the bit is set in AUSM is AUSM_pos (i), and the i-th (1 ≦ i ≦ AU_Ns) bit position is set in AUEM. View as AUEM_pos (i). In this case, there is the following relationship.

(1)1≦AUSM_pos(i)≦AUEM_pos(i)≦MAPL_ENT_Ns;
(2)AUSM_pos(i+1)>AUEM_pos(i);
(3)もしi==AU_NsあるいはAUSM_pos(i+1)>1+AUEM_pos(i)なら、AU#iは、SOBU#[AUEM_pos(i)]で終了する(1≦i≦AU_Ns);
(4)もしAUSM_pos(i+1)==1+AUEM_pos(i)なら、AU#iは、SOBU#[AUEM_pos(i)]で終了する。あるいは
SOBU#[1+AUEM_pos(i)]==SOBU#[AuSM_pos(i+1)]のところで終了する。つまり、AU#iは、SOBU内においてAU#i+1が開始するところで終了する(1≦i≦AU_Ns)。
(1) 1 ≦ AUSM_pos (i) ≦ AUEM_pos (i) ≦ MAPL_ENT_Ns;
(2) AUSM_pos (i + 1)> AUEM_pos (i);
(3) If i == AU_Ns or AUSM_pos (i + 1)> 1 + AUEM_pos (i), AU # i ends with SOBU # [AUUM_pos (i)] (1 ≦ i ≦ AU_Ns);
(4) If AUSM_pos (i + 1) == 1 + AUEM_pos (i), AU # i ends with SOBU # [AUUM_pos (i)]. Alternatively, the process ends at SOBU # [1 + AUEM_pos (i)] == SOBU # [AuSM_pos (i + 1)]. In other words, AU # i ends when AU # i + 1 starts in SOBU (1 ≦ i ≦ AU_Ns).

図18は、オリジナルPGCあるいはユーザ定義PGCで指定されるセルと、これらのセルに対応するSOBUとが、タイムマップ情報によってどのように関係付けられるかを例示する図である。   FIG. 18 is a diagram illustrating how cells specified by an original PGC or user-defined PGC and SOBUs corresponding to these cells are related by time map information.

ユーザ定義PGCは自身のSOBを含まないが、オリジナルPGC内のSOBを参照する。それゆえ、ユーザ定義PGCはPGC情報を用いることのみで記述できる。このことは、SOBデータを何らいじることなく任意の再生シーケンスが実現可能なことを意味する。   The user-defined PGC does not include its own SOB, but refers to the SOB in the original PGC. Therefore, the user-defined PGC can be described only by using PGC information. This means that an arbitrary reproduction sequence can be realized without changing the SOB data.

ユーザ定義PGCはまた、プログラムを含まず、オリジナルPGC内のプログラムの一部に対応したセルの連なり(チェーン)で構成される。   The user-defined PGC also includes a series of cells (chain) corresponding to a part of the program in the original PGC without including a program.

このようなユーザ定義PGCの一例が、図18に示されている。この例は、PGC内のセルがオリジナルPGC内のSOBを参照するようにユーザ定義PGC#nが作成されている場合を示す。   An example of such a user-defined PGC is shown in FIG. This example shows a case where a user-defined PGC # n is created so that a cell in the PGC refers to the SOB in the original PGC.

図18において、PGC#nは4つのセル#1〜#4を持っている。そのうち2つはSOB#1を参照し、残りの2つがSOB#2を参照している。   In FIG. 18, PGC # n has four cells # 1 to # 4. Two of them refer to SOB # 1, and the remaining two refer to SOB # 2.

ユーザ定義PGC内のセルからオリジナルPGCへ(SOBIのタイムマップ情報へ)の実線矢印は、該当セルに対する再生期間を示している。ユーザ定義PGC内のセル再生順序は、オリジナルPGCにおける再生順序と全く異なってもよい。   The solid line arrow from the cell in the user-defined PGC to the original PGC (to the SOBI time map information) indicates the playback period for the corresponding cell. The cell playback order in the user-defined PGC may be completely different from the playback order in the original PGC.

任意のSOBおよびそのSOBUの再生は、図18の開始APAT(S_APAT)および終了APAT(E_APAT)により特定される。   The playback of an arbitrary SOB and its SOBU is specified by the start APAT (S_APAT) and the end APAT (E_APAT) in FIG.

SOBあるいはSOBUのS_APATは、該当SOBのストリームパックのペイロード(図5(b)参照)内に記録されたタイムスタンプに関係して定義される。   SO_APAT of SOB or SOBU is defined in relation to the time stamp recorded in the payload (see FIG. 5B) of the stream pack of the SOB.

SOBの記録中、各到来アプリケーションパケットには、ストリーマ内のローカルクロックリファレンスによりタイムスタンプが付される。これが、アプリケーションパケット到着時間(APAT)である。   During SOB recording, each incoming application packet is time stamped by a local clock reference in the streamer. This is the application packet arrival time (APAT).

SOBの先頭アプリケーションパケットのAPATはSOB_S_APATとして記憶される。全てのAPATの4最下位バイト(4 least significant bytes)は、「〜.SRO」ファイル内の対応アプリケーションパケット用に予め固定されている。   The APAT of the first application packet of SOB is stored as SOB_S_APAT. The 4 least significant bytes of all APATs are fixed in advance for the corresponding application packet in the “˜.SRO” file.

SOBあるいはSOBUのデータを再生するために、ストリーマ内部のリファレンスクロックはSCR値にセットされ、その後クロックが自動的にカウントされる。このSCR値は、再生が始まる最初のストリームパック内(パックヘッダ内)に記述されている。このクロックに基づいて、SOBあるいはSOBUからの全ての後続アプリケーションパケットの再生・出力が、実行される。   In order to reproduce the SOB or SOBU data, the reference clock inside the streamer is set to the SCR value, and then the clock is automatically counted. This SCR value is described in the first stream pack (pack header) where reproduction starts. Based on this clock, reproduction / output of all subsequent application packets from the SOB or SOBU is executed.

任意のストリームセル(SC)が、そのSCがポイントするSOBのSOB_S_APATとSOB_E_APATとの間の任意の値を持つストリームセル開始APAT(SC_S_APAT)を規定しているときは、所望のAPATを伴うアプリケーションパケットを含んだSOBUを見つけるためのアドレスが必要となる。   An application packet with the desired APAT when any stream cell (SC) defines a stream cell start APAT (SC_S_APAT) with an arbitrary value between the SOB_S_APAT and SOB_E_APAT of the SOB that the SC points to An address is required to find the SOBU that contains.

SOBU1個あたりのストリームパックの数は一定であるが、各SOBUにより捕らえられた到着時間の間隔はフレキシブルである。それゆえ、各SOBは、該当SOBのSOBUの到着時間間隔が記述されたタイムマップ情報を持つ。つまり、タイムマップ情報により実現されるアドレス方式は、任意のAPATをファイル内の相対論理ブロックアドレスに変換して、所望のアプリケーションパケットを見つけることができるSOBUをポイントする。   Although the number of stream packs per SOBU is constant, the interval between arrival times captured by each SOBU is flexible. Therefore, each SOB has time map information in which the arrival time interval of SOBU of the SOB is described. In other words, the address system realized by the time map information points to an SOBU that can find a desired application packet by converting an arbitrary APAT into a relative logical block address in a file.

図18に例示された各エントリポイント(EP#i、EP#k)は、どこからデータ出力を開始するのかを示すアプリケーションパケット到着時間(APAT)により特定できる。このエントリポイントのアプリケーションパケット到着時間は、図14のEP_APATにより示される。   Each entry point (EP # i, EP # k) illustrated in FIG. 18 can be specified by an application packet arrival time (APAT) indicating where to start outputting data. The application packet arrival time of this entry point is indicated by EP_APAT in FIG.

このエントリポイントを用いることにより、例えばセル#1のSOBU#1からの再生時において、SOBU#2〜SOBU#(i−1)をスキップして、SOBU#iの指定位置(エントリポイントEP#i)から再生を開始することができる。   By using this entry point, for example, at the time of reproduction from cell # 1 from SOBU # 1, SOBU # 2 to SOBU # (i-1) are skipped, and the designated position (entry point EP # i of SOBU # i) is skipped. ) Can start playback.

図19は、この発明の他の実施の形態に係るストリームデータのデータ構造を説明する図である。   FIG. 19 is a diagram for explaining the data structure of stream data according to another embodiment of the present invention.

DVD−RAMディスク等の情報記憶媒体上に記録されるストリームデータは、ストリームデータ内の映像情報のコンテンツ毎にストリームオブジェクト(SOB)としてまとめられている。各SOBは、1つのリアルタイムな連続記録により得られたストリームデータにより形成される。   Stream data recorded on an information storage medium such as a DVD-RAM disk is collected as a stream object (SOB) for each content of video information in the stream data. Each SOB is formed by stream data obtained by one real-time continuous recording.

図19(f)は、1以上あるストリームオブジェクトのうち1個のSOB#A・298について示している。DVD−RAMディスクにこのストリームデータが記録される場合には、各々が2048kバイトのセクタを最小単位として記録される。さらに、16個のセクタをまとめて1個のECCブロックとし、同一ECCブロック内でインターリーブ(データ配列順序の並び替え)とエラー訂正用の訂正コードの付加が行われる。   FIG. 19F shows one SOB # A · 298 among one or more stream objects. When this stream data is recorded on a DVD-RAM disc, each is recorded with a sector of 2048 kbytes as a minimum unit. Further, the 16 sectors are combined into one ECC block, and interleaving (rearranging the data arrangement order) and addition of a correction code for error correction are performed within the same ECC block.

この実施の形態では、1個または複数のECCブロックを単位としてストリームブロックが構成され、このストリームブロック単位でストリーム情報の記録あるいは部分消去が行われる。   In this embodiment, a stream block is configured in units of one or a plurality of ECC blocks, and recording or partial erasure of stream information is performed in units of the stream blocks.

この実施の形態では、何個のECCブロックでストリームブロックが構成されるかは、転送されるストリームデータの転送レートに応じて決めることができる。たとえば、図19(e)の例では、ストリームブロック#1は2つのECCブロック#α、#βで構成され、ストリームブロック#2は3つのECCブロック#γ、#δ、#εで構成されている。DVDストリーマでは、2個のECCブロック(32セクタ)で1つのストリームブロック(ストリームオブジェクトユニットSOBU)が構成される。   In this embodiment, how many ECC blocks form a stream block can be determined according to the transfer rate of the stream data to be transferred. For example, in the example of FIG. 19 (e), the stream block # 1 is composed of two ECC blocks # α and # β, and the stream block # 2 is composed of three ECC blocks # γ, # δ, and # ε. Yes. In a DVD streamer, one ECC block (32 sectors) constitutes one stream block (stream object unit SOBU).

各ECCブロックは、図19(d)に示すように、16セクタで構成される。したがって、図19(d)(e)から分かるように、2ECCブロックで構成されるストリームブロック(あるいはSOBU)#1は、32セクタ(セクタNo.0〜セクタNo.31)に相当する。   Each ECC block is composed of 16 sectors as shown in FIG. Accordingly, as can be seen from FIGS. 19D and 19E, the stream block (or SOBU) # 1 composed of 2 ECC blocks corresponds to 32 sectors (sector No. 0 to sector No. 31).

つまり、1セクタ=2kバイトとすれば、ストリームブロック(SOBU)は、64kバイト(32セクタ)の固定サイズとして、この発明を実施することができる。   That is, if 1 sector = 2 kbytes, the stream block (SOBU) can be implemented with a fixed size of 64 kbytes (32 sectors).

各セクタの内容はストリームパック(詳細は図5、図6、図10参照)に対応している。そして、たとえばセクタNo.0(図19(d))に対応するストリームパックは、図19(c)に示すように、パックヘッダ1xと、PESヘッダ6xと、ストリームブロックヘッダ11xと、データエリア21xとを含んでいる。また、セクタNo.1(図19(d))に対応するストリームパックは、図19(c)に示すように、パックヘッダ2xと、PESヘッダ7xと、セクタデータヘッダ12xと、データエリア22xとを含んでいる。   The contents of each sector correspond to a stream pack (see FIGS. 5, 6, and 10 for details). For example, sector No. As shown in FIG. 19C, the stream pack corresponding to 0 (FIG. 19D) includes a pack header 1x, a PES header 6x, a stream block header 11x, and a data area 21x. Also, sector No. As shown in FIG. 19C, the stream pack corresponding to 1 (FIG. 19D) includes a pack header 2x, a PES header 7x, a sector data header 12x, and a data area 22x.

図19(c)のデータエリア21xは、図19(b)に示すように、タイムスタンプとトランスポートパケットとのペアの配列(タイムスタンプa、トランスポートパケットa、タイムスタンプb、………トランスポートパケットd)を含んでいる。同様に、データエリア22xは、タイムスタンプとトランスポートパケットとのペアの別配列を含んでいる。一方、後方のデータエリア23xは、図19(b)に示すように、トランスポートパケットf、エンドコード31x、およびパディングエリア36xを含んでいる。   As shown in FIG. 19B, the data area 21x in FIG. 19C has a pair of time stamps and transport packets (time stamp a, transport packet a, time stamp b,... Port packet d). Similarly, the data area 22x includes another arrangement of time stamp and transport packet pairs. On the other hand, the rear data area 23x includes a transport packet f, an end code 31x, and a padding area 36x, as shown in FIG. 19B.

図19(b)のタイムスタンプとトランスポートパケットの複数ペアは、図19(a)に示すような配列のビットストリームとなる。   A plurality of pairs of time stamps and transport packets shown in FIG. 19B form a bit stream having an arrangement as shown in FIG.

SOB#A・298(図19(f))の前方のストリームブロック#1(図19(e))のデータ構造は図19(d)〜(b)のようになるが、SOB#A・298の後方のストリームブロック#2(図19(g))のデータ構造は、次のようになる。   The data structure of stream block # 1 (FIG. 19 (e)) ahead of SOB # A.298 (FIG. 19 (f)) is as shown in FIGS. 19 (d) to 19 (b). The data structure of stream block # 2 (Fig. 19 (g)) behind is as follows.

すなわち、ストリームブロック#2の末尾ECCブロック#εの後方セクタNo.78(図19(h))は、図19(i)に示すように、パックヘッダ3xと、PESヘッダ8xと、セクタデータヘッダ13xと、データエリア24xとを含んでいる。また、ECCブロック#εの最終セクタNo.79(図19(h))は、図19(i)に示すように、パックヘッダ4xとパディングパケット40xを含んでいる。   That is, the rear sector number of the last ECC block # ε of the stream block # 2. 78 (FIG. 19 (h)) includes a pack header 3x, a PES header 8x, a sector data header 13x, and a data area 24x, as shown in FIG. 19 (i). Also, the last sector number of ECC block # ε. 79 (FIG. 19 (h)) includes a pack header 4x and a padding packet 40x as shown in FIG. 19 (i).

セクタNo.78のデータエリア24xは、図19(j)に示すように、トランスポートパケットzと、エンドコード32xと、パディングエリア37xとを含んでいる。また、最終セクタNo.79のパディングパケット40xは、図19(j)に示すように、PESヘッダ9xとパディングエリア38xを含んでいる。   Sector No. As shown in FIG. 19J, the 78 data area 24x includes a transport packet z, an end code 32x, and a padding area 37x. Also, the last sector No. The padding packet 40x of 79 includes a PES header 9x and a padding area 38x as shown in FIG.

なお、パディングエリア37xの内容は、図5(h)に示すように、1以上のタイムスタンプとパケットとのペアと、予約バイトのスタッフィングエリア(スタッフィングエリアにタイムスタンプは付かない)とで構成できる。この場合、スタッフィングエリアにはストリームデータの記録はなされない。   The contents of the padding area 37x can be composed of one or more time stamp / packet pairs and a reserved byte stuffing area (the stuffing area has no time stamp), as shown in FIG. 5 (h). . In this case, stream data is not recorded in the stuffing area.

一方、パディングエリア38の内容は、図6(i)(j)に示すように、スタッフィングパケット(先頭だけアプリケーションタイムスタンプATSが付く)を含むアプリケーションパケットエリアで構成できる。   On the other hand, as shown in FIGS. 6I and 6J, the contents of the padding area 38 can be configured by an application packet area including a stuffing packet (an application time stamp ATS is attached only to the head).

この発明では、以下のような特徴を持つデータ構造を採用することもできる:
A)各セクタ/ストリームパック毎にパックヘッダ/パケットヘッダを設け、セクタ/ストリームパック毎に必要な情報をパックヘッダ/パケットヘッダ内に記録するデータ構造(図1(a)〜(c)、図5(a)〜(b)、図10(a)〜(g)参照)。
The present invention can also employ a data structure having the following characteristics:
A) A data structure in which a pack header / packet header is provided for each sector / stream pack and information necessary for each sector / stream pack is recorded in the pack header / packet header (FIGS. 1A to 1C, FIG. 5 (a)-(b), FIG. 10 (a)-(g) reference).

B)各トランスポートパケット/アプリケーションパケットがデコーダに転送される時間間隔に関係した時間情報を、タイムスタンプ情報として、各トランスポートパケット/アプリケーションパケットと一緒に情報記憶媒体上に記録するデータ構造(図1(k)〜(m)、図5〜図10参照)。   B) A data structure for recording time information related to a time interval at which each transport packet / application packet is transferred to the decoder as time stamp information on the information storage medium together with each transport packet / application packet (see FIG. 1 (k) to (m), see FIGS. 5 to 10).

C)タイムスタンプとトランスポートパケット/アプリケーションパケットをセクタ/ストリームパック内のパックヘッダ/パケットヘッダ以外の場所に順次詰めて記録するデータ構造。そして、タイムスタンプの切れ目またはトランスポートパケット/アプリケーションパケット毎に記録されるストリームデータの切れ目がセクタ/ストリームパックの境界位置とは異なる場合には、タイムスタンプまたはトランスポートパケット/アプリケーションパケットのどちらかを、隣のセクタ/ストリームパックに跨って配置記録するデータ構造(図1(d)〜(g)、図5(e)〜(j)参照)。   C) A data structure in which a time stamp and a transport packet / application packet are sequentially packed in a place other than a pack header / packet header in a sector / stream pack. If the break of the time stamp or the break of the stream data recorded for each transport packet / application packet is different from the boundary position of the sector / stream pack, either the time stamp or the transport packet / application packet is A data structure arranged and recorded across adjacent sectors / stream packs (see FIGS. 1D to 1G and FIGS. 5E to 5J).

D)ユーザ等が行う一回の録画映像の纏まりをストリームオブジェクト(SOB)とし、一回の映像録画において情報記憶媒体上に記録された最後のトランスポートパケット/アプリケーションパケット位置(1個のストリームオブジェクト内の最後のトランスポートパケット/アプリケーションパケット位置)がセクタ/ストリームパックの境界位置とは異なる場合には、該当するセクタ/ストリームパック内に限りこの最後のトランスポートパケット/アプリケーションパケット位置以降をパディングエリアとするデータ構造(図1(g)(k)、図6(g)〜(j)、図19(j)参照)。   D) A group of one recorded video performed by the user or the like is a stream object (SOB), and the last transport packet / application packet position (one stream object) recorded on the information storage medium in one video recording In the case where the last transport packet / application packet position) is different from the sector / stream pack boundary position, the padding area extends from the last transport packet / application packet position only within the corresponding sector / stream pack. (See FIGS. 1G and 1K, FIGS. 6G to 6J, and FIG. 19J).

E)情報記憶媒体上にストリームデータを記録するファイル(STREAM.VROあるいはRTR_MOV.VRO)とは別に、そのファイル内のストリームデータを管理する管理ファイル(STREAM.IFOあるいはRTR.IFO)を設けてストリームデータの検索および/または編集を容易とするデータ構造。   E) In addition to the file (STREAM.VRO or RTR_MOV.VRO) for recording stream data on the information storage medium, a management file (STREAM.IFO or RTR.IFO) for managing the stream data in the file is provided and streamed A data structure that facilitates data retrieval and / or editing.

F)ストリームデータを管理する管理ファイル(STREAM.IFOあるいはRTR.IFO)内では、STREAM.VROファイルあるいはRTR_MOV.VROファイル内に記録してあるタイムスタンプの値を、個々のトランスポートパケット/アプリケーションパケット毎の識別/指定に利用するデータ構造(図8(b)〜(d)参照)。   F) In a management file (STREAM.IFO or RTR.IFO) for managing stream data, STREAM. VRO file or RTR_MOV. A data structure in which the time stamp value recorded in the VRO file is used for identification / designation for each individual transport packet / application packet (see FIGS. 8B to 8D).

G)タイムサーチを容易にするため、複数セクタを纏めてストリームブロックという単位(あるいはストリームオブジェクトユニットSOBUというデータユニット)を管理ファイル上で構成し、このストリームブロック(SOBU)毎の時間情報を持ったタイムマップ情報を、この管理ファイル(STREAM.IFOあるいはRTR.IFO)内に持たせるデータ構造(図8(a)〜(d)参照)。   G) In order to facilitate time search, a unit called a stream block (or a data unit called a stream object unit SOBU) is configured on a management file by collecting a plurality of sectors, and has time information for each stream block (SOBU). A data structure for providing time map information in this management file (STREAM.IFO or RTR.IFO) (see FIGS. 8A to 8D).

なお、少なくともストリームオブジェクト内の最初と最後のストリームブロック(SOBU)のデータサイズを、管理ファイル(STREAM.IFOあるいはRTR.IFO)内のタイムマップ情報に記録するようにしてもよい(図3(i)参照)。   Note that at least the data sizes of the first and last stream blocks (SOBU) in the stream object may be recorded in the time map information in the management file (STREAM.IFO or RTR.IFO) (FIG. 3 (i)). )reference).

H)各ストリームブロック(SOBU)内の最初に配置されたタイムスタンプ(前のストリームブロックから跨って記録されたタイムスタンプを除く)の値を各ストリームブロック(SOBU)先頭時刻として管理ファイル(STREAM.IFOあるいはRTR.IFO)内で管理するデータ構造(図8(a)〜(d)参照)。   H) The management file (STREAM.NET) uses the value of the first time stamp (excluding the time stamp recorded across the previous stream block) in each stream block (SOBU) as the start time of each stream block (SOBU). Data structure managed in IFO or RTR.IFO) (see FIGS. 8A to 8D).

具体的には、管理ファイル内のタイムマップ情報に各ストリームブロック(SOBU)内で最初に配置されたタイムスタンプ(たとえば図8(b)のTMS1a)の値を記録する。   Specifically, the value of the time stamp (for example, TMS1a in FIG. 8B) first arranged in each stream block (SOBU) is recorded in the time map information in the management file.

この発明に係るストリームデータ記録方法では、第1の記録単位(セクタまたはストリームパック)毎に情報記録を行える情報記憶媒体を用い、第2の記録単位(トランスポートパケット/アプリケーションパケット)に分割されたストリームデータが記録される。   In the stream data recording method according to the present invention, an information storage medium capable of recording information for each first recording unit (sector or stream pack) is used and divided into second recording units (transport packets / application packets). Stream data is recorded.

上記第2の記録単位(トランスポートパケット/アプリケーションパケット)でストリームデータが記録される第1の記録領域(図3(d)のストリーム記録エリア222)内に、上記第1記録単位(セクタ/ストリームパック)毎に付与するパケットヘッダ(あるいはパックヘッダ)情報と、上記第2の記録単位(トランスポートパケット/アプリケーションパケット)のストリームデータに関係する時間情報を有するタイムスタンプ情報と、上記第2の記録単位(トランスポートパケット/アプリケーションパケット)毎のストリームデータとが記録される。   In the first recording area (stream recording area 222 in FIG. 3 (d)) where stream data is recorded in the second recording unit (transport packet / application packet), the first recording unit (sector / stream) is recorded. Packet header (or pack header) information provided for each pack), time stamp information having time information related to stream data of the second recording unit (transport packet / application packet), and the second recording Stream data for each unit (transport packet / application packet) is recorded.

上記タイムスタンプ情報の切れ目もしくは上記第2の記録単位(トランスポートパケット/アプリケーションパケット)毎に記録されるストリームデータの切れ目が上記第1の記録単位(セクタ/ストリームパック)の境界位置とは異なる場合には、上記タイムスタンプ情報または上記第2の記録単位(トランスポートパケット/アプリケーションパケット)毎に記録されるストリームデータが複数の上記第1の記録単位(セクタ/ストリームパック)に跨って配置されるように記録される(図5(e)の番組2のトランスポートパケットbの前半部346と後半部347、および図5(h)〜(j)参照)。   When the break of the time stamp information or the break of stream data recorded for each second recording unit (transport packet / application packet) is different from the boundary position of the first recording unit (sector / stream pack) The stream data recorded for each of the time stamp information or the second recording unit (transport packet / application packet) is arranged across a plurality of the first recording units (sector / stream pack). (Refer to the first half 346 and the second half 347 of the transport packet b of the program 2 in FIG. 5E and FIGS. 5H to 5J).

情報記憶媒体上に最後に記録されたストリームデータにおいて、上記第2の記録単位(トランスポートパケット/アプリケーションパケット)の最終位置が上記第1の記録単位(セクタ/ストリームパック)の境界位置とは異なる場合には、最後に記録された上記第1の記録単位(セクタ/ストリームパック)または上記第2の記録単位(トランスポートパケット/アプリケーションパケット)の最終位置以降に、パディングエリア(図1(k)あるいは図6(h)の21)として、所定のデータ(たとえば、オール1ビットあるいはオール0ビット)が記録される(図6(i)(j)参照)。   In the stream data recorded last on the information storage medium, the final position of the second recording unit (transport packet / application packet) is different from the boundary position of the first recording unit (sector / stream pack). In this case, a padding area (FIG. 1 (k)) is placed after the last position of the first recording unit (sector / stream pack) or the second recording unit (transport packet / application packet) recorded last. Alternatively, as 21) in FIG. 6 (h), predetermined data (for example, all 1 bits or all 0 bits) is recorded (see FIGS. 6 (i) and 6 (j)).

上記第1の記録領域(ストリーム記録エリア222)内に記録されたデータに関する管理情報を格納する第2の記録領域(STREAM.IFOあるいはRTR.IFO)が記録される(図3(d)(e)参照)。   A second recording area (STREAM.IFO or RTR.IFO) for storing management information relating to the data recorded in the first recording area (stream recording area 222) is recorded (FIG. 3 (d) (e) )reference).

上記第1の記録領域(ストリーム記録エリア222)に関する時間情報が記録された第3の記録領域(ストリームファイル情報)に対して、上記第1の記録単位(セクタ/ストリームパック)を複数集めて第3の記録単位(ストリームブロック/SOBU)が構成される(図6(b)〜(e)、図8(a)〜(b)参照)。   A plurality of the first recording units (sectors / stream packs) are collected for the third recording area (stream file information) in which the time information related to the first recording area (stream recording area 222) is recorded. 3 recording units (stream block / SOBU) are configured (see FIGS. 6B to 8E and FIGS. 8A to 8B).

上記第1の記録領域(ストリーム記録エリア222)内に記録されたストリームデータに対する上記第3の記録単位(ストリームブロック/SOBU)毎の先頭に配置されたタイムスタンプ情報間の差分値が、タイムマップ情報として記録される(図1(i)〜(m)、図8(a)〜(d)参照)。   A difference value between time stamp information arranged at the head of each third recording unit (stream block / SOBU) with respect to stream data recorded in the first recording area (stream recording area 222) is a time map. Information is recorded (see FIGS. 1 (i) to (m) and FIGS. 8 (a) to 8 (d)).

また上記の方法でストリームデータが記録されたデータ構造を有する情報記憶媒体も、この発明の特徴となっている。   An information storage medium having a data structure in which stream data is recorded by the above method is also a feature of the present invention.

さらにIピクチャ開始位置を意識しながらトランスポートパケット単位での部分消去を可能とする方法として、以下のものがある。   Further, as a method for enabling partial erasure in units of transport packets while considering the I picture start position, there are the following methods.

I)部分消去場所前後で新たにストリームオブジェクトを分割する。   I) The stream object is newly divided before and after the partial erase location.

J)ストリームデータが記録されているSTREAM.VROファイルあるいはRTR_MOV.VROファイルに関する情報を記載するストリームファイル情報の情報と、ストリームデータの再生時に使用する再生単位情報(セル情報)を、管理ファイル(STREAM.IFOあるいはRTR.IFO)内に持つ。   J) STREAM. VRO file or RTR_MOV. The management file (STREAM.IFO or RTR.IFO) has stream file information information describing information on the VRO file and reproduction unit information (cell information) used when reproducing the stream data.

K)ストリームデータが記録されているSTREAM.VROファイルあるいはRTR_MOV.VROファイルに対してはセクタ単位で部分消去処理を行う。   K) STREAM. In which stream data is recorded. VRO file or RTR_MOV. Partial erasure processing is performed for each VRO file in units of sectors.

L)管理ファイル(STREAM.IFOあるいはRTR.IFO)上ではIピクチャ開始位置に従ってストリームオブジェクトを分割する。   L) On the management file (STREAM.IFO or RTR.IFO), the stream object is divided according to the I picture start position.

具体的には、ストリームファイル情報(図7(d)のSOBI_GI・251)内にストリームオブジェクト開始時間の情報(図7(C)のSOB_S_APAT542)とストリームオブジェクト終了時間の情報(図7(C)のSOB_E_APAT543)を持たせ、部分消去後はIピクチャ開始位置が記録されているトランスポートパケット(図7の1a)に対応したタイムスタンプ(図7の1a)の値をストリームオブジェクト開始時間(SOB_S_APAT542)の値に変更(あるいは追記)し、部分消去境界位置を含むストリームデータの直後に来るIピクチャ開始位置が記録されているトランスポートパケットの1個前のトランスポートパケット(図7のTP298g)に対応したタイムスタンプ(図7のTMS298g)の値をストリームオブジェクト終了時間(SOB_E_APAT543)の値に変更(あるいは追記)する。   Specifically, stream object start time information (SOB_S_APAT 542 in FIG. 7C) and stream object end time information (in FIG. 7C) in the stream file information (SOBI_GI · 251 in FIG. 7D). SOB_E_APAT 543), and after partial erasure, the value of the time stamp (1a in FIG. 7) corresponding to the transport packet (1a in FIG. 7) in which the I picture start position is recorded is the stream object start time (SOB_S_APAT 542). Corresponding to the transport packet (TP298g in FIG. 7) immediately before the transport packet in which the I picture start position that comes immediately after the stream data including the partial erasure boundary position is recorded. Time stamp (TMS298g in Fig. 7 Changing the value of the value of the stream object end time (SOB_E_APAT543) (or additional recording).

M)管理ファイル(STREAM.IFOあるいはRTR.IFO)上では部分消去指定したトランスポートパケットに対応してセル情報内の開始/終了位置を設定する。   M) On the management file (STREAM.IFO or RTR.IFO), the start / end positions in the cell information are set in correspondence with the transport packet designated for partial erasure.

具体的には、部分消去の範囲をトランスポートパケット単位で指定し、その指定範囲に対して残存したトランスポートパケットのうち、先頭のトランスポートパケットに対応したタイムスタンプ(図9(j)のTMS97c)の値を新たなオリジナルセルの該当セルの開始時間(図9(l)のSC_S_APAT283)とし、最後のトランスポートパケットに対応したタイムスタンプ(図9(j)のTMS224k)の値を新たなオリジナルセルの該当セルの終了時間(図9(l)のSC_E_APAT284)として管理ファイル(STREAM.IFOあるいはRTR.IFO)内に変更(あるいは追記)する。   Specifically, the range of partial erasure is designated in units of transport packets, and among the remaining transport packets for the designated range, the time stamp corresponding to the first transport packet (TMS 97c in FIG. 9 (j)). ) As the start time (SC_S_APAT 283 in FIG. 9 (l)) of the corresponding cell of the new original cell, and the value of the time stamp corresponding to the last transport packet (TMS 224k in FIG. 9 (j)) as the new original The cell is changed (or added) in the management file (STREAM.IFO or RTR.IFO) as the end time of the corresponding cell (SC_E_APAT284 in FIG. 9 (l)).

上述した部分消去方法を適用できる情報媒体は、第1の記録単位(セクタ)毎に情報の記録が行える媒体である。この媒体は、ストリームデータが記録される第1の記録領域(STREAM.VROあるいはRTR_MOV.VRO)と、上記第1の記録領域内に記録されたデータに関する管理情報を記録した第2の記録領域(STREAM.IFOあるいはRTR.IFO)とを持つ。上記第1の記録領域(STREAM.VROあるいはRTR_MOV.VRO)内に、上記第1記録単位(セクタ)毎に付与するパケットヘッダ情報と、上記第2の記録単位(トランスポートパケット)のストリームデータに関係する時間情報を有するタイムスタンプ情報と、上記第2の記録単位(トランスポートパケット)毎のストリームデータが詰めて記録される。上記第1の記録単位(セクタ)を複数集めて第3の記録単位(ストリームブロック)が構成される。そして、複数の前記第3の記録単位(ストリームブロック)から構成されストリームデータに対する大きなデータのまとまりを示す第4の記録単位(ストリームオブジェクト)が構成される。上記第2の記録領域(STREAM.IFOあるいはRTR.IFO)内に、上記第3の記録単位(ストリームブロック)毎の時間情報(タイムマップ情報)と上記第4の記録単位(ストリームオブジェクト)の開始と終了位置での上記第3の記録単位(ストリームブロック)のデータサイズ情報が記録される。   An information medium to which the above-described partial erasing method can be applied is a medium on which information can be recorded for each first recording unit (sector). This medium has a first recording area (STREAM.VRO or RTR_MOV.VRO) in which stream data is recorded, and a second recording area (in which management information relating to data recorded in the first recording area is recorded). STREAM.IFO or RTR.IFO). In the first recording area (STREAM.VRO or RTR_MOV.VRO), packet header information given for each first recording unit (sector) and stream data of the second recording unit (transport packet) Time stamp information having related time information and stream data for each second recording unit (transport packet) are packed and recorded. A plurality of the first recording units (sectors) are collected to constitute a third recording unit (stream block). Then, a fourth recording unit (stream object) that is composed of a plurality of the third recording units (stream blocks) and indicates a large collection of data with respect to the stream data is configured. In the second recording area (STREAM.IFO or RTR.IFO), time information (time map information) for each third recording unit (stream block) and start of the fourth recording unit (stream object) The data size information of the third recording unit (stream block) at the end position is recorded.

上記第1の記録領域(STREAM.VROあるいはRTR_MOV.VRO)内に記録されたストリームデータは、上記第1の記録単位(セクタ)で部分消去できる。そして、部分消去後は新たなサイズを持った第4の記録単位(ストリームオブジェクト)が形成され、かつ上記新たなサイズを持った第4の記録単位(ストリームオブジェクト)における開始位置もしくは終了位置での上記第3の記録単位(ストリームブロック)でのデータサイズと時間情報の内の少なくともいずれかの情報が、上記第2の記録領域(STREAM.IFOあるいはRTR.IFO)内で書き換えられるか、または新規記録される。   The stream data recorded in the first recording area (STREAM.VRO or RTR_MOV.VRO) can be partially erased in the first recording unit (sector). Then, after partial erasure, a fourth recording unit (stream object) having a new size is formed, and at the start position or end position in the fourth recording unit (stream object) having the new size. At least one of the data size and time information in the third recording unit (stream block) is rewritten in the second recording area (STREAM.IFO or RTR.IFO) or new To be recorded.

この発明の実施により得られる効果をまとめると以下のようになる。   The effects obtained by the implementation of the present invention are summarized as follows.

1.各トランスポートパケット毎の時間情報をタイムスタンプ情報として各トランスポートパケットとともに一緒に情報記憶媒体上に記録するため、
a)そのタイムスタンプ値に合わせてSTBへトランスポートパケットを転送するタイミングが分かる。
1. In order to record the time information for each transport packet together with each transport packet as time stamp information on the information storage medium,
a) The timing at which the transport packet is transferred to the STB according to the time stamp value is known.

b)そのタイムスタンプ値に合わせたタイミングでデコーダへトランスポートパケットを転送できるため、デコーダ側にバッファーがなくても破綻なく安定にデコードと画面表示が行える。     b) Since the transport packet can be transferred to the decoder at a timing corresponding to the time stamp value, even if there is no buffer on the decoder side, decoding and screen display can be performed stably without failure.

c)そのタイムスタンプ値を用いて個々のトランスポートパケットを識別・分別できるため、アクセス時の到着位置指定や編集時の範囲指定が容易となる。     c) Since individual transport packets can be identified and sorted using the time stamp value, it is easy to specify an arrival position at the time of access and a range at the time of editing.

2.セクタ内のパケットヘッダを除いた残りの部分にタイムスタンプとトランスポートパケットを順次詰めて記録し、タイムスタンプの切れ目またはトランスポートパケット毎に記録されるストリームデータの切れ目がセクタの境界位置とは異なる場合には、タイムスタンプまたはトランスポートパケットのどちらかを隣のセクタに跨って配置記録し、映像の録画終了位置(ストリームオブジェクトの最後の位置)のセクタ内にのみパディングエリアを設定する。このため、効率良く情報記憶媒体上にストリームデータを記録できる。その結果、トランスポートパケット毎に分割されたストリームデータの録画記録時には情報記憶媒体の実行容量をほとんど低下させずに記録できる。   2. Time stamps and transport packets are sequentially packed and recorded in the remaining part excluding the packet header in the sector, and the time stamp breaks or stream data breaks recorded for each transport packet differ from the sector boundary position. In this case, either the time stamp or the transport packet is arranged and recorded across the adjacent sectors, and the padding area is set only in the sector at the video recording end position (the last position of the stream object). Therefore, stream data can be efficiently recorded on the information storage medium. As a result, at the time of recording and recording the stream data divided for each transport packet, it is possible to record without substantially reducing the execution capacity of the information storage medium.

3.セクタ内のパケットヘッダを除いた残りの部分にタイムスタンプとトランスポートパケットを順次詰めて記録し、タイムスタンプの切れ目またはトランスポートパケット毎に記録されるストリームデータの切れ目がセクタの境界位置とは異なる場合には、タイムスタンプまたはトランスポートパケットのどちらかを隣のセクタに跨って配置記録し、映像の録画終了位置(ストリームオブジェクトの最後の位置)のセクタ内にのみパディングエリアを設定する。このため、セクタサイズ(2048kバイト)よりも大きなサイズのトランスポートパケットを記録することができる。   3. Time stamps and transport packets are sequentially packed and recorded in the remaining part excluding the packet header in the sector, and the time stamp breaks or stream data breaks recorded for each transport packet differ from the sector boundary position. In this case, either the time stamp or the transport packet is arranged and recorded across the adjacent sectors, and the padding area is set only in the sector at the video recording end position (the last position of the stream object). Therefore, a transport packet having a size larger than the sector size (2048 kbytes) can be recorded.

4.この発明の実施の形態に従えば、各セクタ内でパケットヘッダ直後にタイムスタンプがくるとは限らない。従って、各ストリームブロック毎の時間情報の抽出方法として、この発明の実施の形態では、各ストリームブロック内の最初に配置されたタイムスタンプ(前のストリームブロックから跨って記録されたタイムスタンプを除く)の値を各ストリームブロック先頭時刻として取り扱うことにより、管理ファイル(STREAM.IFOあるいはRTR.IFO)内のタイムマップ情報の作成を可能としている。そうすると、このタイムマップ情報を用いた所定のトランスポートパケットに対するアクセスが容易となる。   4). According to the embodiment of the present invention, the time stamp does not always come immediately after the packet header in each sector. Therefore, as a method for extracting time information for each stream block, in the embodiment of the present invention, the first time stamp arranged in each stream block (excluding the time stamp recorded across the previous stream block) Is handled as the start time of each stream block, so that time map information in the management file (STREAM.IFO or RTR.IFO) can be created. Then, access to a predetermined transport packet using this time map information becomes easy.

5.STREAM.VROファイルあるいはRTR_MOV.VROファイル内のストリームデータに対してセクタ単位での部分消去を可能にすると、DVD−RAMなどの情報記憶媒体に対する記録最小単位(セクタ単位)でのSTREAM.VROファイルあるいはRTR_MOV.VROファイルの部分開放が可能となる。その結果、STREAM.VROファイルあるいはRTR_MOV.VROファイルから開放されたセクタに対して後でコンピュータデータを記録する等の有効利用が可能となる。   5. STREAM. VRO file or RTR_MOV. When partial erasure can be performed on the stream data in the VRO file in units of sectors, the STREAM. VRO file or RTR_MOV. Partial release of a VRO file is possible. As a result, STREAM. VRO file or RTR_MOV. Effective use such as recording computer data later on the sector released from the VRO file becomes possible.

なお、上記内容と異なった部分消去単位として、例えばストリームブロック(SOBU)単位でしか部分消去(STREAM.VROファイルあるいはRTR_MOV.VROファイルの部分開放)しない場合には、ユーザがセクタサイズ程度の細かい範囲での部分消去を指定しても部分消去範囲が狭いために実質的にSTREAM.VROファイルあるいはRTR_MOV.VROファイルの部分開放が生じない。その結果、ユーザが指定した細かい範囲での部分消去の指定領域を他のデータ記録に利用できず、実質的には情報記憶媒体上に情報が記録されない無駄領域が増える危険性がある。とはいえ、この発明はSOBU単位での部分消去の利用を排除するものではない。   In addition, as a partial erase unit different from the above contents, for example, when partial erase is performed only in stream block (SOBU) units (partial release of the STREAM.VRO file or the RTR_MOV.VRO file), the user has a small range of about the sector size. Even if partial erasure is specified at STREAM. VRO file or RTR_MOV. VRO file partial opening does not occur. As a result, there is a risk that the designated area for partial erasure in a fine range designated by the user cannot be used for other data recording, and there is a risk that the useless area in which information is not recorded on the information storage medium substantially increases. However, the present invention does not exclude the use of partial erasure in units of SOBU.

6.情報記憶媒体上にストリームデータを記録するファイル(STREAM.VROあるいはRTR_MOV.VRO)とは別に、そのファイル内のストリームデータを管理する管理ファイル(STREAM.IFOあるいはRTR.IFO)を設け、その管理ファイル内にストリームデータの再生時の再生単位を表すセルに関する情報を記録したセル情報を記録する。そのセルに関する開始/終了位置情報をタイムスタンプに対応した時間情報で持たせることにより、タイムスタンプ値で代表されるトランスポートパケットが指定できる。このようにセルの開始/終了位置情報を時間情報で記述させることで、部分消去後の再生範囲を実質的にトランスポートパケット単位で細かく指定できる。   6). In addition to the file (STREAM.VRO or RTR_MOV.VRO) for recording stream data on the information storage medium, a management file (STREAM.IFO or RTR.IFO) for managing stream data in the file is provided, and the management file The cell information in which the information about the cell indicating the reproduction unit at the time of reproducing the stream data is recorded is recorded. By providing start / end position information regarding the cell as time information corresponding to the time stamp, a transport packet represented by a time stamp value can be designated. As described above, by describing the cell start / end position information with time information, the reproduction range after partial erasure can be substantially specified in units of transport packets.

7.情報記憶媒体上にストリームデータを記録するファイル(STREAM.VROあるいはRTR_MOV.VRO)とは別に、そのファイル内のストリームデータを管理する管理ファイル(STREAM.IFOあるいはRTR.IFO)を設け、さらにその管理ファイル内存在するストリームファイル情報内にストリームオブジェクト開始時間とストリームオブジェクト終了時間情報を持たせる。そして、部分消去後はIピクチャ開始位置が記録されているトランスポートパケットに対応したタイムスタンプ値をストリームオブジェクト開始時間の値に設定し直し、あるいは部分消去境界位置を含むストリームデータの直後にくるIピクチャ開始位置が記録されているトランスポートパケットの1個前のトランスポートパケットに対応したタイムスタンプ値をストリームオブジェクト終了時間の値に設定し直すことでIピクチャ開始位置を境界位置としたストリームデータの部分消去(分割)が可能となる。その結果、
a)デコーダが常にIピクチャ位置からデコード開始できるので、フレーム単位の任意位置から表示開始が可能となる。
7). In addition to the file (STREAM.VRO or RTR_MOV.VRO) for recording stream data on the information storage medium, a management file (STREAM.IFO or RTR.IFO) for managing stream data in the file is provided and further managed. Stream object start time and stream object end time information is included in the stream file information existing in the file. After partial erasure, the time stamp value corresponding to the transport packet in which the I picture start position is recorded is reset to the value of the stream object start time, or I immediately after the stream data including the partial erasure boundary position. By setting the time stamp value corresponding to the transport packet immediately before the transport packet in which the picture start position is recorded to the value of the stream object end time, the stream data with the I picture start position as the boundary position is set. Partial erasure (division) is possible. as a result,
a) Since the decoder can always start decoding from the I picture position, display can be started from an arbitrary position in units of frames.

b)管理ファイル(STREAM.IFOあるいはRTR.IFO)の情報から常にIピクチャ位置が分かり、Iピクチャ開始位置を区切りにストリームデータが分割されているので異なる複数のストリームオブジェクトを連続して再生する場合に、ストリームオブジェクトの切れ目(変わり目)で画面が乱れることなくシームレスに連続して映像再生が行える。     b) When the I-picture position is always known from the information in the management file (STREAM.IFO or RTR.IFO), and the stream data is divided with the I-picture start position as a delimiter, so that a plurality of different stream objects are continuously played back In addition, the video can be reproduced continuously and seamlessly without distorting the screen at the break (change) of the stream object.

8.アイソクロナスパケットヘッダ343、344にIピクチャ位置を示すフラグを設けることで、STB装置416から光ディスク装置415に対してストリームデータ(トランスポートパケット)の転送と同時にIピクチャ位置情報をリアルタイムで通知できる。その結果、容易にストリームデータ記録ファイル(STREAM.VROあるいはRTR_MOV.VRO)内にIピクチャ位置情報をリアルタイムで記録できるとともに、管理ファイル(STREAM.IFOあるいはRTR.IFO)内にも容易にIピクチャ位置情報を記録できる。   8). By providing a flag indicating the I picture position in the isochronous packet headers 343 and 344, the I picture position information can be notified in real time simultaneously with the transfer of the stream data (transport packet) from the STB device 416 to the optical disk device 415. As a result, the I picture position information can be easily recorded in real time in the stream data recording file (STREAM.VRO or RTR_MOV.VRO), and the I picture position can be easily stored in the management file (STREAM.IFO or RTR.IFO). Can record information.

なお、この発明は上記各実施の形態に限定されるものではなく、その実施の段階ではその要旨を逸脱しない範囲で種々な変形・変更が可能である。また、各実施の形態は可能な限り適宜組み合わせて実施されてもよく、その場合組み合わせによる効果が得られる。   The present invention is not limited to the above-described embodiments, and various modifications and changes can be made without departing from the scope of the invention at the stage of implementation. In addition, the embodiments may be implemented in appropriate combination as much as possible, and in that case, the effect of the combination can be obtained.

さらに、上記実施の形態には種々な段階の発明が含まれており、この出願で開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。たとえば、実施の形態に示される全構成要件から1または複数の構成要件が削除されても、この発明の効果あるいはこの発明の実施に伴う効果のうち少なくとも1つが得られるときは、この構成要件が削除された構成が発明として抽出され得るものである。   Further, the above embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of constituent elements disclosed in this application. For example, even if one or more constituent requirements are deleted from all the constituent requirements shown in the embodiment, when at least one of the effects of the present invention or the effects of implementing the present invention is obtained, The deleted configuration can be extracted as an invention.

図1は、この発明の一実施の形態に係るストリームデータのデータ構造を説明する図である。FIG. 1 is a view for explaining the data structure of stream data according to an embodiment of the present invention. この発明の一実施の形態に係るデータファイルのディレクトリ構造を説明する図である。It is a figure explaining the directory structure of the data file which concerns on one embodiment of this invention. この発明の一実施の形態に係る情報媒体(DVD録再ディスク)上の記録データ構造(とくに管理情報の構造)を説明する図である。It is a figure explaining the recording data structure (especially structure of management information) on the information medium (DVD recording / reproducing disc) concerning one embodiment of this invention. この発明におけるストリームオブジェクト(SOB)、セル、プログラムチェーン(PGC)等の間の関係を説明する図である。It is a figure explaining the relationship between the stream object (SOB) in this invention, a cell, a program chain (PGC), etc. デジタル放送、IEEE1394、およびストリーマにおける映像データ転送形態の関係を説明する図である。It is a figure explaining the relationship of the video data transfer form in digital broadcasting, IEEE1394, and a streamer. ストリームオブジェクトのデータを格納するセクタ構造を説明する図である。It is a figure explaining the sector structure which stores the data of a stream object. MPEGにおける映像情報圧縮方法とトランスポートパケットとの関係を説明する図である。It is a figure explaining the relationship between the video information compression method in MPEG and a transport packet. 図1その他で示されるタイムマップ情報の設定方法を説明する図である。It is a figure explaining the setting method of the time map information shown by FIG. 1 others. 記録済みのストリームオブジェクトの一部を部分的に消去した場合において、消去前後で、ストリームオブジェクト情報およびオリジナルセル情報がどのように変化するかを説明する図である。It is a figure explaining how stream object information and original cell information change before and after erasure when a part of a recorded stream object is partially erased. 図5その他に示されるストリームパックのデータ構造を説明する図である。5 is a diagram for explaining the data structure of the stream pack shown in others. この発明の一実施の形態に係るストリームデータ記録再生システム(光ディスク装置/ストリーマ、STB装置)の構成を説明する図である。It is a figure explaining the structure of the stream data recording / reproducing system (optical disc apparatus / streamer, STB apparatus) concerning one embodiment of this invention. 図11のシステムによりビットストリームの情報記録を行なう場合において、アプリケーションパケットとストリームオブジェクトとの位置合わせ、およびストリームオブジェクト末尾のパディング処理がどのように行われるかを説明するフローチャート図である。FIG. 12 is a flowchart for explaining how alignment of an application packet and a stream object and padding processing at the end of the stream object are performed in the case of recording bitstream information by the system of FIG. 11. ストリーマの管理情報(図2または図3のSTREAM.IFOに対応)の内部データ構造を説明する図である。FIG. 4 is a diagram illustrating an internal data structure of streamer management information (corresponding to STREAM.IFO in FIG. 2 or 3). PGC情報(図3のORG_PGCI/UD_PGCITまたは図13のPGCI#i)の内部データ構造を説明する図である。It is a figure explaining the internal data structure of PGC information (ORG_PGCI / UD_PGCIT of FIG. 3 or PGCI # i of FIG. 13). ストリームファイル情報テーブル(SFIT)の内部データ構造を説明する図である。It is a figure explaining the internal data structure of a stream file information table (SFIT). アクセスユニット開始マップ(AUSM)とストリームオブジェクトユニット(SOBU)との対応関係を例示する図である。It is a figure which illustrates the correspondence of an access unit start map (AUSM) and a stream object unit (SOBU). アクセスユニット開始マップ(AUSM)およびアクセスユニット終了マップ(AUEM)とストリームオブジェクトユニット(SOBU)との対応関係を例示する図である。It is a figure which illustrates the correspondence of an access unit start map (AUSM) and an access unit end map (AUUM), and a stream object unit (SOBU). オリジナルPGCあるいはユーザ定義PGCで指定されるセルと、これらのセルに対応するSOBUとが、タイムマップ情報によってどのように関係付けられるかを例示する図である。It is a figure which illustrates how the cell designated by original PGC or user-defined PGC, and SOBU corresponding to these cells are related by time map information. この発明の他の実施の形態に係るストリームデータのデータ構造を説明する図である。It is a figure explaining the data structure of the stream data which concerns on other embodiment of this invention.

符号の説明Explanation of symbols

201…情報記憶媒体/情報記憶媒体(DVD−RAMディスク等);415…光ディスク装置;416…セットトップボックス装置。 201: Information storage medium / information storage medium (DVD-RAM disk, etc.); 415 ... Optical disk device; 416 ... Set top box device.

Claims (4)

ストリームパケットを用いて、MPEGのIピクチャ情報を含むストリームデータが記録されたデータ領域と、前記ストリームデータに関する管理情報が記録された管理領域とを有する情報媒体であって、
前記ストリームパケットを第1データ単位として表現し、ストリームブロックあるいはストリームオブジェクトユニットというデータ単位を第2データ単位として表現し、ストリームオブジェクトというオブジェクトデータを第3データ単位として表現したときに、
1以上の前記第1データ単位を含む前記第2データ単位を1以上含んで構成される前記第3データ単位の前記ストリームオブジェクトにより、前記データ領域に記録される前記ストリームデータが形成され、
前記Iピクチャ情報へのアクセス単位に関するデータをアクセスユニットデータとしたときに、このアクセスユニットデータが存在するか否かを示す情報が前記管理領域に記録された情報媒体。
An information medium having a data area in which stream data including MPEG I picture information is recorded using a stream packet, and a management area in which management information regarding the stream data is recorded,
When the stream packet is expressed as a first data unit, a data unit called a stream block or stream object unit is expressed as a second data unit, and object data called a stream object is expressed as a third data unit,
The stream data to be recorded in the data area is formed by the stream object of the third data unit including one or more of the second data units including one or more of the first data units,
An information medium on which information indicating whether or not the access unit data exists is recorded in the management area when the data related to the access unit to the I picture information is the access unit data.
ストリームパケットを用いてMPEGのIピクチャ情報を含むストリームデータが記録されるデータ領域と前記ストリームデータに関する管理情報が記録される管理領域とを有する情報媒体であって、前記ストリームパケットを第1データ単位として表現しストリームブロックあるいはストリームオブジェクトユニットというデータ単位を第2データ単位として表現しストリームオブジェクトというオブジェクトデータを第3データ単位として表現したときに1以上の前記第1データ単位を含む前記第2データ単位を1以上含んで構成される前記第3データ単位の前記ストリームオブジェクトにより前記データ領域に記録される前記ストリームデータが形成され、前記Iピクチャ情報へのアクセス単位に関するデータをアクセスユニットデータとしたときにこのアクセスユニットデータが存在するか否かを示す情報が前記管理領域に記録されるように構成された情報媒体を用いる記録方法において、
前記データ領域に前記ストリームデータを記録し、前記管理領域に前記管理情報を記録する記録方法。
An information medium having a data area in which stream data including MPEG I picture information is recorded using a stream packet and a management area in which management information relating to the stream data is recorded, wherein the stream packet is a first data unit. The second data unit including one or more first data units when the data unit of stream block or stream object unit is expressed as the second data unit and the object data of stream object is expressed as the third data unit. The stream data to be recorded in the data area is formed by the stream object of the third data unit configured to include one or more, and data relating to an access unit to the I picture information is represented as access unit data. The recording method using the configuration information medium as information indicating whether the access unit data is present is recorded in the management area when the,
A recording method for recording the stream data in the data area and recording the management information in the management area.
ストリームパケットを用いてMPEGのIピクチャ情報を含むストリームデータが記録されるデータ領域と前記ストリームデータに関する管理情報が記録される管理領域とを有する情報媒体であって、前記ストリームパケットを第1データ単位として表現しストリームブロックあるいはストリームオブジェクトユニットというデータ単位を第2データ単位として表現しストリームオブジェクトというオブジェクトデータを第3データ単位として表現したときに1以上の前記第1データ単位を含む前記第2データ単位を1以上含んで構成される前記第3データ単位の前記ストリームオブジェクトにより前記データ領域に記録される前記ストリームデータが形成され、前記Iピクチャ情報へのアクセス単位に関するデータをアクセスユニットデータとしたときにこのアクセスユニットデータが存在するか否かを示す情報が前記管理領域に記録されるように構成された情報媒体を用いる再生方法において、
前記管理領域から前記管理情報を再生し、前記データ領域から前記ストリームデータを再生する再生方法。
An information medium having a data area in which stream data including MPEG I picture information is recorded using a stream packet and a management area in which management information relating to the stream data is recorded, wherein the stream packet is a first data unit. The second data unit including one or more first data units when the data unit of stream block or stream object unit is expressed as the second data unit and the object data of stream object is expressed as the third data unit. The stream data to be recorded in the data area is formed by the stream object of the third data unit configured to include one or more, and data relating to an access unit to the I picture information is represented as access unit data. In reproducing method using the configuration information medium as information indicating whether the access unit data is present is recorded in the management area when the,
A reproduction method for reproducing the management information from the management area and reproducing the stream data from the data area.
ストリームパケットを用いてMPEGのIピクチャ情報を含むストリームデータが記録されるデータ領域と前記ストリームデータに関する管理情報が記録される管理領域とを有する情報媒体であって、前記ストリームパケットを第1データ単位として表現しストリームブロックあるいはストリームオブジェクトユニットというデータ単位を第2データ単位として表現しストリームオブジェクトというオブジェクトデータを第3データ単位として表現したときに1以上の前記第1データ単位を含む前記第2データ単位を1以上含んで構成される前記第3データ単位の前記ストリームオブジェクトにより前記データ領域に記録される前記ストリームデータが形成され、前記Iピクチャ情報へのアクセス単位に関するデータをアクセスユニットデータとしたときにこのアクセスユニットデータが存在するか否かを示す情報が前記管理領域に記録されるように構成された情報媒体を用いる再生装置において、
前記管理領域から前記管理情報を再生する手段と、前記データ領域から前記ストリームデータを再生する手段を具備した再生装置。
An information medium having a data area in which stream data including MPEG I picture information is recorded using a stream packet and a management area in which management information relating to the stream data is recorded, wherein the stream packet is a first data unit. The second data unit including one or more first data units when the data unit of stream block or stream object unit is expressed as the second data unit and the object data of stream object is expressed as the third data unit. The stream data to be recorded in the data area is formed by the stream object of the third data unit configured to include one or more, and data relating to an access unit to the I picture information is represented as access unit data. The reproducing apparatus using the configuration information medium as information indicating whether the access unit data is present is recorded in the management area when the,
A reproduction apparatus comprising: means for reproducing the management information from the management area; and means for reproducing the stream data from the data area.
JP2007166897A 1999-03-17 2007-06-25 Information medium for recording stream data, recording method, reproducing method, and reproducing device Withdrawn JP2007294104A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007166897A JP2007294104A (en) 1999-03-17 2007-06-25 Information medium for recording stream data, recording method, reproducing method, and reproducing device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP7207799 1999-03-17
JP2007166897A JP2007294104A (en) 1999-03-17 2007-06-25 Information medium for recording stream data, recording method, reproducing method, and reproducing device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004274028A Division JP2005045830A (en) 1999-03-17 2004-09-21 Information medium for recording stream data, recording method, reproducing method, and reproducing apparatus

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2009146823A Division JP4970499B2 (en) 1999-03-17 2009-06-19 Information medium for recording stream data, recording method, reproducing method, and reproducing apparatus

Publications (1)

Publication Number Publication Date
JP2007294104A true JP2007294104A (en) 2007-11-08

Family

ID=38764532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007166897A Withdrawn JP2007294104A (en) 1999-03-17 2007-06-25 Information medium for recording stream data, recording method, reproducing method, and reproducing device

Country Status (1)

Country Link
JP (1) JP2007294104A (en)

Similar Documents

Publication Publication Date Title
JP5306531B2 (en) Information storage medium for recording stream data, recording method, reproducing method, and reproducing apparatus
JP3805985B2 (en) Stream data information storage medium, recording method, reproducing method, recording apparatus, and reproducing apparatus
JP5127988B2 (en) Information storage medium used for stream information recording, information recording method, information reproducing method, and information reproducing apparatus
JP3806020B2 (en) Stream data information storage medium, recording method, reproducing method, recording apparatus, and reproducing apparatus
JP4138774B2 (en) Stream data information storage medium, recording method, reproducing method, recording apparatus, and reproducing apparatus
JP3806019B2 (en) Stream data information storage medium, recording method, reproducing method, recording apparatus, and reproducing apparatus
JP3806017B2 (en) Stream data information storage medium, recording method, reproducing method, recording apparatus, and reproducing apparatus
JP3806018B2 (en) Stream data information storage medium, recording method, reproducing method, recording apparatus, and reproducing apparatus
JP3615174B2 (en) Information medium used for stream information recording, information recording method, information reproducing method, and information reproducing apparatus
JP3927010B2 (en) Stream data recording method, reproducing method, recording apparatus and reproducing apparatus
JP2002191026A (en) Stream information processing system
JP2002175683A (en) Method of recording stream data and data structure for the same
JP3896130B2 (en) Information medium for recording stream data of MPEG transport stream and management information thereof, and recording method, playback method, recording apparatus, and playback apparatus using MPEG transport stream stream data and management information thereof
JP4138775B2 (en) Stream data information storage medium, recording method, reproducing method, recording apparatus, and reproducing apparatus
JP4203042B2 (en) Stream data information storage medium, recording method, reproducing method, recording apparatus, and reproducing apparatus
JP4138776B2 (en) Stream data information storage medium, recording method, reproducing method, recording apparatus, and reproducing apparatus
JP3930503B2 (en) Information medium for recording stream data of MPEG transport stream and management information thereof, and recording method, playback method, recording apparatus, and playback apparatus using MPEG transport stream stream data and management information thereof
JP4528749B2 (en) Information medium used for stream information recording, information recording method, information reproducing method, and information reproducing apparatus
JP2007294104A (en) Information medium for recording stream data, recording method, reproducing method, and reproducing device
JP2005045830A (en) Information medium for recording stream data, recording method, reproducing method, and reproducing apparatus
JP3917614B2 (en) Stream data information medium, recording method, reproducing method, and reproducing apparatus
JP2002170337A (en) Method for recording stream data and its data structure
JP2007080509A (en) Recording method, reproducing method, and reproducing apparatus of stream data

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090421

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20090622