JP2006228339A - Information recording medium considering resource management of reproduction control environment described in declaration language, and device and method for reproducing - Google Patents

Information recording medium considering resource management of reproduction control environment described in declaration language, and device and method for reproducing Download PDF

Info

Publication number
JP2006228339A
JP2006228339A JP2005042000A JP2005042000A JP2006228339A JP 2006228339 A JP2006228339 A JP 2006228339A JP 2005042000 A JP2005042000 A JP 2005042000A JP 2005042000 A JP2005042000 A JP 2005042000A JP 2006228339 A JP2006228339 A JP 2006228339A
Authority
JP
Japan
Prior art keywords
title
event
playback
data
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005042000A
Other languages
Japanese (ja)
Inventor
Ko Ikeda
航 池田
Hideyuki Kuwano
秀之 桑野
Shigeki Matsunaga
繁樹 松永
Ryuichiro Takamatsu
隆一郎 高松
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2005042000A priority Critical patent/JP2006228339A/en
Publication of JP2006228339A publication Critical patent/JP2006228339A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide the mechanism of resource management capable of easily managing an application operated within a management unit such as a title and giving no influence other than the management unit when a new reproduction control environment using XML and a script is introduced by a video data BD-ROM. <P>SOLUTION: A resource management method capable of easily managing data reading or releasing timing by using a title as a resource management unit is provided. By using this, authoring or verifying is facilitated, and content creation is made efficient. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、BD−ROM等、映像データを記録した情報記録媒体、その再生装置及び再生方法に関し、特に、映像データとプログラムとを含むコンテンツの開発にプログラミング環境を導入する場合の改良に関する。   The present invention relates to an information recording medium on which video data is recorded, such as a BD-ROM, and a playback apparatus and playback method thereof, and more particularly to an improvement in the case of introducing a programming environment to the development of content including video data and a program.

映像データを記録した情報記録媒体の代表格は、DVD(以下、SD−DVDまたは単にDVDと称する)である。以降、従来のDVDについて説明する。   A typical information recording medium on which video data is recorded is a DVD (hereinafter referred to as SD-DVD or simply DVD). Hereinafter, a conventional DVD will be described.

図1は、SD−DVDの構造を示した図である。図1の下段に示すように、DVDディスク上にはリードインからリードアウトまでの間に論理アドレス空間が設けられ、論理アドレス空間の先頭からファイルシステムのボリューム情報が記録され、続いて映像音声などのアプリケーションデータが記録されている。   FIG. 1 is a diagram showing the structure of an SD-DVD. As shown in the lower part of FIG. 1, a logical address space is provided on the DVD disc from lead-in to lead-out, and the volume information of the file system is recorded from the head of the logical address space, followed by video / audio, etc. Application data is recorded.

ファイルシステムとは、ISO9660やUDF(Universal Disc Format)のことであり、ディスク上のデータをディレクトリまたはファイルと呼ばれる単位で表現する仕組みである。日常使っているPC(パーソナルコンピュータ)の場合でも、FATまたはNTFSと呼ばれるファイルシステムを通すことにより、ディレクトリやファイルという構造でハードディスクに記録されたデータがコンピュータ上で表現され、ユーザビリティを高めている。 SD−DVDの場合、UDF及びISO9660両方を使用しており(両方を合わせて「UDFブリッジ」と呼ぶ事がある)、UDFまたはISO9660どちらのファイルシステムドライバによってもデータの読み出し(ここで取り扱うDVDはパッケージメディア用のROMディスクであり、物理的に書き込みが不可能である)ができるようになっている。   A file system is ISO9660 or UDF (Universal Disc Format), and is a mechanism for expressing data on a disk in units called directories or files. Even in the case of a personal computer (PC) that is used daily, data recorded on a hard disk in a directory or file structure is expressed on the computer by passing through a file system called FAT or NTFS, thereby improving usability. In the case of SD-DVD, both UDF and ISO9660 are used (sometimes referred to as “UDF bridge” together), and data is read by either UDF or ISO9660 file system drivers (DVDs handled here are This is a ROM disk for package media, and is physically unwritable).

DVD上に記録されたデータは、UDFブリッジを通して、図1左上に示すようなディレクトリまたはファイルとして見ることができる。ルートディレクトリ(図中「ROOT」)の直下に「VIDEO_TS」と呼ばれるディレクトリが置かれ、ここにDVDのアプリケーションデータが記録されている。アプリケーションデータは、複数のファイルとして記録され、主なファイルとして以下のものがある。   Data recorded on the DVD can be viewed as a directory or file as shown in the upper left of FIG. 1 through the UDF bridge. A directory called “VIDEO_TS” is placed directly under the root directory (“ROOT” in the figure), and DVD application data is recorded therein. Application data is recorded as a plurality of files, and the main files are as follows.

VIDEO_TS.IFO ディスク再生制御情報ファイル
VTS_01_0.IFO ビデオタイトルセット#1再生制御情報ファイル
VTS_01_0.VOB ビデオタイトルセット#1ストリームファイル
.....
拡張子として2つの種類が存在する。「IFO」は再生制御情報が記録されたファイルであって、「VOB」はAVデータであるMPEGストリームが記録されたファイルである。再生制御情報とは、DVDで採用されたインタラクティビティ(ユーザの操作に応じて再生を動的に変化させる技術)を実現するための情報や、メタデータのようなタイトルやAVストリームに付属する情報などのことである。また、DVDでは一般的に再生制御情報のことをナビゲーション情報と呼ぶことがある。
VIDEO_TS. IFO disc playback control information file VTS_01_0. IFO video title set # 1 playback control information file VTS_01_0. VOB video title set # 1 stream file. . . . .
There are two types of extensions. “IFO” is a file in which reproduction control information is recorded, and “VOB” is a file in which an MPEG stream that is AV data is recorded. The playback control information is information for realizing interactivity (technology for dynamically changing playback in accordance with user operations) adopted by DVD, information attached to titles and AV streams such as metadata. And so on. In DVD, generally, reproduction control information is sometimes referred to as navigation information.

再生制御情報ファイルは、ディスク全体を管理する「VIDEO_TS.IFO」と、個々のビデオタイトルセット(DVDでは複数のタイトル、言い換えれば異なる映画や異なるバージョンの映画を1枚のディスクに記録することが可能である。)毎の再生制御情報である「VTS_01_0.IFO」がある。ここで、ファイル名ボディにある「01」はビデオタイトルセットの番号を示しており、例えば、ビデオタイトルセット#2の場合は、「VTS_02_0.IFO」となる。   The playback control information file includes “VIDEO_TS.IFO” for managing the entire disc and individual video title sets (multiple titles for DVD, in other words, different movies and different versions of movies can be recorded on one disc. There is “VTS — 01 — 0.IFO” which is reproduction control information for each. Here, “01” in the file name body indicates the number of the video title set. For example, in the case of the video title set # 2, “VTS — 02 — 0.IFO”.

図1の右上部は、DVDのアプリケーション層でのDVDナビゲーション空間であり、前述した再生制御情報が展開された論理構造空間である。「VIDEO_TS.IFO」内の情報は、VMGI(VIDEO Manager Information)として、「VTS_01_0.IFO」または、他のビデオタイトルセット毎に存在する再生制御情報はVTSI(Video Title Set Information)としてDVDナビゲーション空間に展開される。   The upper right part of FIG. 1 is a DVD navigation space in the DVD application layer, which is a logical structure space in which the above-described reproduction control information is expanded. Information in “VIDEO_TS.IFO” is stored in the DVD navigation space as VMGI (VIDEO Manager Information), “VTS — 01 — 0.IFO”, or playback control information existing for each other video title set is stored in the DVD navigation space as VTSI (Video Title Set Information). Be expanded.

VTSIの中にはPGC(Program Chain)と呼ばれる再生シーケンスの情報であるPGCI(Program Chain Information)が記述されている。PGCIは、Cellの集合とコマンドと呼ばれる一種のプログラミング情報によって構成されている。Cell自身はVOB(Video Objectの略であり、MPEGストリームを指す)の一部区間または全部区間の集合であり、Cellの再生は、当該VOBのCellによって指定された区間を再生することを意味している。   In VTSI, PGCI (Program Chain Information), which is information of a reproduction sequence called PGC (Program Chain), is described. The PGCI is composed of a set of cells and a kind of programming information called a command. Cell itself is a set of a part or all of a VOB (which is an abbreviation of Video Object and indicates an MPEG stream), and playback of a cell means that a section specified by the cell of the VOB is played back. ing.

コマンドは、DVDの仮想マシンによって処理されるものであり、ブラウザ上で実行されるJava(登録商標)スクリプトなどに近いものである。しかしながらJava(登録商標)スクリプトが論理演算の他にウィンドウやブラウザの制御(例えば、新しいブラウザのウィンドを開くなど)を行うのに対して、DVDのコマンドは、論理演算の他にAVタイトルの再生制御、例えば、再生するチャプタの指定などを実行するだけのものである点で異なっている。   The command is processed by a DVD virtual machine and is similar to a Java (registered trademark) script executed on a browser. However, while Java (registered trademark) scripts control windows and browsers in addition to logical operations (for example, opening a new browser window), DVD commands play AV titles in addition to logical operations. It is different in that it only performs control, for example, specifying a chapter to be played back.

Cellはディスク上に記録されているVOBの開始及び終了アドレス(論理アドレス)をその内部情報として有しており、プレーヤは、Cellに記述されたVOBの開始及び終了アドレス情報を使ってデータの読み出し、再生を実行する。   The Cell has VOB start and end addresses (logical addresses) recorded on the disc as its internal information, and the player reads data using the VOB start and end address information described in the Cell. Execute playback.

図1はAVストリーム中に埋め込まれているナビゲーション情報を説明する概略図である。SD−DVDの特長であるインタラクティビティは前述した「VIDEO_TS.IFO」や「VTS_01_0.IFO」などに記録されているナビゲーション情報だけによって実現されているのではなく、幾つかの重要な情報はナビゲーション・パック(ナビパックまたは、NV_PCKと称する)と呼ばれる専用キャリアを使いVOB内に映像、音声データと一緒に多重化されている。   FIG. 1 is a schematic diagram for explaining navigation information embedded in an AV stream. The interactivity, which is the feature of SD-DVD, is not realized only by the navigation information recorded in the aforementioned “VIDEO_TS.IFO”, “VTS — 01 — 0.IFO”, etc. It is multiplexed together with video and audio data in a VOB using a dedicated carrier called a pack (called Navi pack or NV_PCK).

ここでは簡単なインタラクティビティの例としてメニューを説明する。メニュー画面上には、幾つかのボタンが現れ、夫々のボタンには当該ボタンが選択実行された時の処理が定義されている。また、メニュー上では一つのボタンが選択されており(ハイライトによって選択ボタン上に半透明色がオーバーレイされている)、ユーザは、リモコンの上下左右キーを使って、選択状態のボタンを上下左右の何れかのボタンに移動させることが出来る。リモコンの上下左右キーを使って、選択実行したいボタンまでハイライトを移動させ、決定する(決定キーを押す)ことによって対応するコマンドのプログラムが実行される。一般的には対応するタイトルやチャプタの再生がコマンドによって実行されている。   Here, a menu is described as an example of simple interactivity. Several buttons appear on the menu screen, and each button defines processing when the button is selected and executed. In addition, one button is selected on the menu (the highlight button has a translucent color overlaid on the selection button), and the user can use the up / down / left / right keys on the remote control to move the selected button up / down / left / right. It can be moved to any of the buttons. Using the up / down / left / right keys on the remote control, move the highlight to the button you want to select and execute, and press the enter key to execute the corresponding command program. In general, reproduction of a corresponding title or chapter is executed by a command.

図2の左上部はNV_PCK内の概要を示している。   The upper left part of FIG. 2 shows an outline in NV_PCK.

NV_PCK内には、ハイライトカラー情報と個々のボタン情報などが含まれている。ハイライトカラー情報には、カラーパレット情報が記述され、オーバーレイ表示されるハイライトの半透明色が指定される。ボタン情報には、個々のボタンの位置情報である矩形領域情報と、当該ボタンから他のボタンへの移動情報(ユーザの上下左右キー操作夫々に対応する移動先ボタンの指定)と、ボタンコマンド情報(当該ボタンが決定された時に実行されるコマンド)が記述されている。   NV_PCK includes highlight color information and individual button information. In the highlight color information, color palette information is described, and a semi-transparent color of the highlight displayed on the overlay is designated. The button information includes rectangular area information that is position information of each button, movement information from the button to another button (designation of a destination button corresponding to each of the user's up / down / left / right key operations), and button command information. (Command executed when the button is determined) is described.

メニュー上のハイライトは、図2の中央右上部に示すように、オーバーレイ画像として作られる。オーバーレイ画像は、ボタン情報の矩形領域情報にカラーパレット情報の色をつけた物である。このオーバーレイ画像は右部に示す背景画像と合成されて画面上に表示される。   The highlight on the menu is created as an overlay image as shown in the upper right part of the center of FIG. The overlay image is obtained by adding the color palette information color to the rectangular area information of the button information. This overlay image is combined with the background image shown on the right and displayed on the screen.

上述のようにして、DVDではメニューを実現している。また、何故、ナビゲーションデータの一部をNV_PCKを使ってストリーム中に埋め込んでいるのは、ストリームと同期して動的にメニュー情報を更新、例えば、映画再生中の途中5分〜10分の間にだけメニューが表示されるなど、同期タイミングが問題となりやすいアプリケーションの場合でも、問題なく実現できるようにしたためである。   As described above, the menu is realized in the DVD. The reason why a part of the navigation data is embedded in the stream using NV_PCK is that the menu information is dynamically updated in synchronization with the stream, for example, during 5 to 10 minutes during movie playback. This is because, even in the case of an application in which synchronization timing is likely to be a problem, such as a menu being displayed only on the screen, it can be realized without any problem.

図3は、DVDのVOBのイメージである。図に示すように、映像、音声、字幕などのデータ(A段)は、MPEGシステム(ISO/IEC13818−1)規格に基づいて、パケット及びパック化し(B段)、夫々を多重化して1本のMPEGプログラムストリームにしている(C段)。また、前述した通りインタラクティブを実現するためのボタンコマンドを含んだNV_PCKも一緒に多重化をされている。   FIG. 3 is an image of a DVD VOB. As shown in the figure, data (A stage) such as video, audio, subtitles, etc. is packetized and packed (B stage) based on the MPEG system (ISO / IEC13818-1) standard, and each is multiplexed into one. MPEG program stream (stage C). Further, as described above, NV_PCK including a button command for realizing interactive is also multiplexed together.

MPEGシステムの多重化の特徴は、多重化する個々のデータは、そのデコード順に基づくビット列になっているが、多重化されるデータ間、即ち、映像、音声、字幕の間は必ずしも再生順、言い換えればデコード順に基づいてビット列が形成されているわけではない。これはMPEGシステムストリームのデコーダモデル(一般にSystem Target Decoder、またはSTDと呼ばれる(図3のD段))が多重化を解いた後に個々のエレメンタリーストリームに対応するデコーダバッファを持ち、デコードタイミングまでに一時的にデータを蓄積している事に由来している。このデコーダバッファは、個々のエレメンタリーストリーム毎にサイズが異なり、映像に対しては、232kB、音声に対しては4kB、字幕に対しては52kBを夫々有している。このため、各デコーダバッファへのデータ入力タイミングは個々のエレメンタリストリームで異なるため、MPEGシステムストリームとしてビット列を形成する順番と表示(デコード)されるタイミングにずれが生じている。   The multiplexing feature of the MPEG system is that each data to be multiplexed is a bit string based on the decoding order, but between the multiplexed data, that is, between video, audio and subtitles, it is not necessarily the playback order, in other words For example, the bit string is not formed based on the decoding order. This is because an MPEG system stream decoder model (generally called System Target Decoder or STD (D stage in FIG. 3)) has a decoder buffer corresponding to each elementary stream after demultiplexing, and by the decoding timing It comes from temporarily accumulating data. This decoder buffer has a different size for each elementary stream, and has 232 kB for video, 4 kB for audio, and 52 kB for subtitles. For this reason, since the data input timing to each decoder buffer is different for each elementary stream, there is a difference between the order in which the bit string is formed as the MPEG system stream and the display (decoding) timing.

即ち、映像データと並んで多重化されている字幕データが必ずしも同一タイミングでデコードされているわけでは無い。   That is, subtitle data multiplexed side by side with video data is not necessarily decoded at the same timing.

かかるDVDの構成は、以下の特許文献1に記載されている。
特許第2813245号公報
The configuration of such a DVD is described in Patent Document 1 below.
Japanese Patent No. 2813245

ところで映像データと、プログラムとを含むコンテンツを、情報記録媒体で配布しようとすると、プログラムの状態がおかしくなることによりプレーヤ自体の動作やAV再生が破綻してしまう恐れがある。次世代の情報記録媒体であるBD−ROMは、上述したようなナビゲーションコマンドではなく、XMLとスクリプトによるプログラムを含むコンテンツの記録が予定されており、かかるコンテンツにあたっては、プレーヤの動作保障が深刻な問題になる。   By the way, if content including video data and a program is to be distributed on an information recording medium, there is a possibility that the operation of the player itself or AV playback may be broken due to an abnormal program state. The BD-ROM, which is a next-generation information recording medium, is scheduled to record content including programs using XML and scripts instead of the navigation commands as described above, and the player's operation security is serious for such content. It becomes a problem.

メモリなどのリソースを厳密に管理するため、従来DVDプレーヤ規格では、リソースを管理する際にメモリリソースのサイズを固定化している。しかしメモリサイズの固定化は、プレーヤ設計の自由度を失わせるものであり、アプリケーションが発展してもプレーヤは、その発展から取り残されてしまうという問題点がある。   In order to strictly manage resources such as memory, in the conventional DVD player standard, the size of memory resources is fixed when managing resources. However, fixing the memory size loses the degree of freedom in designing the player, and there is a problem that even if the application develops, the player is left behind from the development.

本発明の目的は、プレーヤの動作保障を実現しつつも、プレーヤ設計の自由度を高めることができる情報記録媒体を提供することである。   An object of the present invention is to provide an information recording medium capable of enhancing the degree of freedom in designing a player while ensuring the player's operation.

上記課題を解決するため本発明にかかる情報記録媒体は、映像データとXMLおよびスクリプトが記録されており、管理区間としてのタイトルごとにリソースを管理する。   In order to solve the above problems, an information recording medium according to the present invention records video data, XML, and a script, and manages resources for each title as a management section.

上述した構成では、タイトルなどを管理単位としてアプリケーションの起動及び終了やデータの読み込み及び解放のタイミングが管理可能になるので、管理単位内で動作するアプリケーションを容易に管理でき、管理単位外に影響を及ぼさない仕組みを提供することが可能となる。   In the configuration described above, it is possible to manage the timing of starting and ending an application and reading and releasing data using a title as a management unit, so that an application operating within the management unit can be easily managed and the outside of the management unit is affected. It is possible to provide a mechanism that does not extend.

ここで前記管理情報はメモリ上にデータ読み込むための優先度情報を備えていてもよい。管理情報としてデータ読み込み優先度を用いることにより、プレーヤに搭載されているメモリサイズに応じて読み込むデータサイズを調整することが可能となり、メモリサイズが小さい場合でもアプリケーションは動作保証され、メモリサイズが大きい場合はアプリケーションの動作や切替が早くなる利便性を提供することが可能となる。   Here, the management information may include priority information for reading data into the memory. By using data reading priority as management information, it is possible to adjust the data size to be read according to the memory size installed in the player. Even if the memory size is small, the operation of the application is guaranteed and the memory size is large. In this case, it is possible to provide the convenience that the operation and switching of the application are accelerated.

(実施例1)
まず最初に本発明の第1の実施の形態について説明する。
(ディスク上の論理データ構造)
図4は、BD−ROM(以降、「BD」と称する場合もある)の構成、特にディスク媒体であるBDディスク(104)と、ディスクに記録されているデータ(101、102、103)の構成を示す図である。BDディスク(104)に記録されるデータは、AVデータ(103)と、AVデータに関する管理情報及びAV再生シーケンスなどのBD管理情報(102)と、インタラクティブを実現するBD再生プログラム(101)である。本実施の形態では、映画などのAVコンテンツを再生するためのAVアプリケーションを主眼においてのBDディスクの説明を行うが、BDディスクをCD−ROMやDVD−ROMの様にコンピュータ用途の記録媒体としてしようすることも当然のことながら可能である。 図5は、上述したBDディスクに記録されている論理データを示した図である。BDディスクは、他の光ディスク、例えばDVDやCDなどと同様にその内周から外周に向けてらせん状に記録領域を持ち、内周のリード・インと外周のリード・アウトの間に論理データを記録できる論理アドレス空間を有している。また、リード・インの内側にはBCA(Burst Cutting Area)と呼ばれるドライブでしか読み出せない特別な領域がある。この領域はアプリケーションから読み出せないため、例えば著作権保護技術などに利用されることがよくある。
Example 1
First, a first embodiment of the present invention will be described.
(Logical data structure on disk)
FIG. 4 shows the structure of a BD-ROM (hereinafter also referred to as “BD”), in particular, the structure of a BD disk (104) as a disk medium and data (101, 102, 103) recorded on the disk. FIG. Data recorded on the BD disc (104) is AV data (103), BD management information (102) such as management information related to AV data and an AV playback sequence, and a BD playback program (101) that realizes interactive processing. . In the present embodiment, a BD disc will be described with a focus on AV applications for reproducing AV contents such as movies. The BD disc will be used as a recording medium for computers such as a CD-ROM and a DVD-ROM. Of course, it is also possible. FIG. 5 is a diagram showing logical data recorded on the BD disc described above. A BD disc has a spiral recording area from its inner periphery to its outer periphery, like other optical discs such as DVDs and CDs, and stores logical data between the inner lead-in and outer lead-out. It has a logical address space that can be recorded. Further, inside the lead-in, there is a special area that can be read only by a drive called BCA (Burst Cutting Area). Since this area cannot be read from an application, it is often used for copyright protection technology, for example.

論理アドレス空間には、ファイルシステム情報(ボリューム)を先頭に映像データなどのアプリケーションデータが記録されている。ファイルシステムとは従来技術で説明した通り、UDFやISO9660などのことであり、通常のPCと同じように記録されている論理データをディレクトリ、ファイル構造を使って読み出しする事が可能になっている。   Application data such as video data is recorded in the logical address space with file system information (volume) at the head. As described in the prior art, the file system is UDF, ISO9660 or the like, and logical data recorded in the same way as a normal PC can be read using a directory and file structure. .

本実施例の場合、BDディスク上のディレクトリ、ファイル構造は、ルートディレクトリ(ROOT)直下にBDVIDEOディレクトリが置かれている。このディレクトリはBD−ROMで扱うAVコンテンツや管理情報などのデータ(図4で説明した101、102、103)が記録されているディレクトリである。   In the case of this embodiment, the directory and file structure on the BD disc is a BDVIDEO directory placed directly under the root directory (ROOT). This directory is a directory in which data (101, 102, 103 described in FIG. 4) such as AV contents and management information handled by the BD-ROM is recorded.

BDVIDEOディレクトリの下には、次の7種類のファイルが記録されている。   The following seven types of files are recorded under the BDVIDEO directory.

BD.INFO(ファイル名固定)
「BD管理情報」の一つであり、BDディスク全体に関する情報を記録したファイルである。BDプレーヤは最初にこのファイルを読み出す。
BD. INFO (fixed file name)
This is one of “BD management information” and is a file in which information related to the entire BD disc is recorded. The BD player first reads this file.

BD.PROG(ファイル名固定)
「BD再生プログラム」の一つであり、BDディスク全体に関わるプログラムを記録したファイルである。
BD. PROG (fixed file name)
It is one of “BD playback programs” and is a file in which programs related to the entire BD disc are recorded.

XXX.PL(「XXX」は可変、拡張子「PL」は固定)
「BD管理情報」の一つであり、シナリオを記録するプレイリスト(Play List)情報を記録したファイルである。プレイリスト毎に1つのファイルを持っている。
XXX. PL ("XXX" is variable, extension "PL" is fixed)
It is one of “BD management information”, and is a file in which play list information for recording a scenario is recorded. I have one file per playlist.

XXX.PROG(「XXX」は可変、拡張子「PL」は固定)
「BD再生プログラム」の一つであり、前述したプレイリスト毎のプログラムを記録したファイルである。プレイリストとの対応はファイルボディ名(「XXX」が一致する)によって識別される。
XXX. PROG ("XXX" is variable, extension "PL" is fixed)
It is one of “BD playback programs” and is a file in which a program for each playlist described above is recorded. Correspondence with a playlist is identified by a file body name (“XXX” matches).

YYY.VOB(「YYY」は可変、拡張子「VOB」は固定)
「AVデータ」の一つであり、VOB(従来例で説明したVOBと同じ)を記録したファイルである。VOB毎に1つのファイルを持っている。
YYY. VOB ("YYY" is variable, extension "VOB" is fixed)
It is one of “AV data” and is a file in which VOB (same as VOB described in the conventional example) is recorded. There is one file for each VOB.

YYY.VOBI(「YYY」は可変、拡張子「VOBI」は固定)
「BD管理情報」の一つであり、AVデータであるVOBに関わる管理情報を記録したファイルである。VOBとの対応はファイルボディ名(「YYY」が一致する)によって識別される。
YYY. VOBI ("YYY" is variable, extension "VOBI" is fixed)
This is one of “BD management information” and is a file in which management information related to VOB as AV data is recorded. The correspondence with the VOB is identified by the file body name (“YYY” matches).

ZZZ.PNG(「ZZZ」は可変、拡張子「PNG」は固定)
「AVデータ」の一つであり、字幕及びメニューを構成するためのイメージデータPNG(W3Cによって標準化された画像フォーマットであり「ピング」と読む)を記録したファイルである。1つのPNGイメージ毎に1つのファイルを持つ。
(プレーヤの構成)
次に、前述したBDディスクを再生するプレーヤの構成について図6及び図7を用いて説明する。
ZZZ. PNG ("ZZZ" is variable, extension "PNG" is fixed)
It is one of “AV data” and is a file in which image data PNG (an image format standardized by W3C and read as “ping”) for composing subtitles and menus is recorded. There is one file for each PNG image.
(Player configuration)
Next, the configuration of the player that plays the above-described BD disc will be described with reference to FIGS. 6 and 7. FIG.

図6は、プレーヤの大まかな機能構成を示すブロック図である。   FIG. 6 is a block diagram showing a rough functional configuration of the player.

BDディスク(201)上のデータは、光ピックアップ(202)を通して読み出される。読み出されたデータは夫々のデータの種類に応じて専用のメモリに記録される。BD再生プログラム(「BD.PROG」または「XXX.PROG」ファイルの中身)はプログラム記録メモリ(203)に、BD管理情報(「BD.INFO」、「XXX.PL」または「YYY.VOBI」)は管理情報記録メモリ(204)に、AVデータ(「YYY.VOB」または「ZZZ.PNG」)はAV記録メモリ(205)に夫々記録される。   Data on the BD disc (201) is read through the optical pickup (202). The read data is recorded in a dedicated memory according to the type of each data. The BD playback program (the contents of the “BD.PROG” or “XXX.PROG” file) is stored in the program recording memory (203) in the BD management information (“BD.INFO”, “XXX.PL” or “YYY.VOBI”). Are recorded in the management information recording memory (204), and AV data ("YYY.VOB" or "ZZZ.PNG") is recorded in the AV recording memory (205).

プログラム記録メモリ(203)に記録されたBD再生プログラムはプログラム処理部(206)によって、管理情報記録メモリ(204)に記録されたBD管理情報は管理情報処理部(207)によって、また、AV記録メモリ(205)に記録されたAVデータはプレゼンテーション処理部(208)によって夫々処理される。   The BD playback program recorded in the program recording memory (203) is recorded by the program processing unit (206), and the BD management information recorded in the management information recording memory (204) is recorded by the management information processing unit (207). The AV data recorded in the memory (205) is processed by the presentation processing unit (208).

プログラム処理部(206)は、管理情報処理部(207)より再生するプレイリストの情報やプログラムの実行タイミングなどのイベント情報を受け取りプログラムの処理を行う。また、プログラムでは再生するプレイリストを動的に変える事が可能であり、この場合は管理情報処理部(207)に対してプレイリストの再生命令を送ることで実現する。プログラム処理部(206)は、ユーザからのイベント、即ちリモコンキーからのリクエストを受け、ユーザイベントに対応するプログラムがある場合は、実行処理する。   The program processing unit (206) receives event information such as playlist information to be played back and program execution timing from the management information processing unit (207), and processes the program. Also, the program can dynamically change the play list to be played back. In this case, the play list play command is sent to the management information processing unit (207). The program processing unit (206) receives an event from the user, that is, a request from the remote control key, and executes an execution process when there is a program corresponding to the user event.

管理情報処理部(207)は、プログラム処理部(206)の指示を受け、対応するプレイリスト及びプレイリストに対応したVOBの管理情報を解析し、プレゼンテーション処理部(208)に対象となるAVデータの再生を指示する。また、管理情報処理部(207)は、プレゼンテーション処理部(208)より基準時刻情報を受け取り、時刻情報に基づいてプレゼンテーション処理部(208)にAVデータ再生の停止指示を行い、また、プログラム処理部(206)に対してプログラム実行タイミングを示すイベントを生成する。   The management information processing unit (207) receives an instruction from the program processing unit (206), analyzes the management information of the VOB corresponding to the corresponding playlist and the playlist, and the AV data to be processed by the presentation processing unit (208). Instruct to play. Also, the management information processing unit (207) receives the reference time information from the presentation processing unit (208), instructs the presentation processing unit (208) to stop AV data reproduction based on the time information, and the program processing unit An event indicating the program execution timing is generated for (206).

プレゼンテーション処理部(208)は、映像、音声、字幕/イメージ夫々に対応するデコーダを持ち、管理情報処理部(207)からの指示に従い、AVデータのデコード及び出力を行う。映像データ及び字幕/イメージの場合は、デコード後に夫々の専用プレーン、ビデオプレーン(210)及びイメージプレーン(209)に描画され、合成処理部(211)によって映像の合成処理が行われTVなどの表示デバイスへ出力される。   The presentation processing unit (208) has a decoder corresponding to each of video, audio, and caption / image, and decodes and outputs AV data in accordance with an instruction from the management information processing unit (207). In the case of video data and subtitles / images, after decoding, the video data and subtitles / images are drawn on the respective dedicated planes, the video plane (210) and the image plane (209), and the video synthesis process is performed by the synthesis processing unit (211). Output to the device.

図6で示すように、BDプレーヤは図4で示したBDディスクに記録されているデータ構成に基づいた構成をとっている。   As shown in FIG. 6, the BD player has a configuration based on the data configuration recorded on the BD disc shown in FIG.

図7は前述したプレーヤ構成を詳細化したブロック図である。図7では、AV記録メモリ(205)はイメージメモリ(308)とトラックバッファ(309)に、プログラム処理部(206)はプログラムプロセッサ(302)とUOPマネージャ(303)に、管理情報処理部(207)はシナリオプロセッサ(305)とプレゼンテーションコントローラ(306)に、プレゼンテーション処理部(208)はクロック(307)、デマルチプレクサ(310)、イメージプロセッサ(311)、ビデオプロセッサ(312)とサウンドプロセッサ(313)に夫々対応/展開している。   FIG. 7 is a detailed block diagram of the player configuration described above. In FIG. 7, the AV recording memory (205) is in the image memory (308) and the track buffer (309), the program processing unit (206) is in the program processor (302) and the UOP manager (303), and the management information processing unit (207). ) Is a scenario processor (305) and a presentation controller (306), and a presentation processing unit (208) is a clock (307), a demultiplexer (310), an image processor (311), a video processor (312) and a sound processor (313). Are corresponding to each.

BDディスク(201)から読み出されたVOBデータ(MPEGストリーム)はトラックバッファ(309)に、イメージデータ(PNG)はイメージメモリ(308)に夫々記録される。デマルチプレクサ(310)がクロック(307)の時刻に基づき、トラックバッファ(309)に記録されたVOBデータを抜き出し、映像データをビデオプロセッサ(312)に音声データをサウンドプロセッサ(313)に夫々送り込む。ビデオプロセッサ(312)及びサウンドプロセッサ(313)は夫々MPEGシステム規格で定める通りに、デコーダバッファとデコーダから夫々構成されている。即ち、デマルチプレクサ(310)から送りこまれる映像、音声夫々のデータは、夫々のデコーダバッファに一時的に記録され、クロック(307)に従い個々のデコーダでデコード処理される。   The VOB data (MPEG stream) read from the BD disc (201) is recorded in the track buffer (309), and the image data (PNG) is recorded in the image memory (308). The demultiplexer (310) extracts the VOB data recorded in the track buffer (309) based on the time of the clock (307), and sends the video data to the video processor (312) and the audio data to the sound processor (313). The video processor (312) and the sound processor (313) are each composed of a decoder buffer and a decoder as defined by the MPEG system standard. That is, the video and audio data sent from the demultiplexer (310) are temporarily recorded in the respective decoder buffers and decoded by the individual decoders according to the clock (307).

イメージメモリ(308)に記録されたPNGは、次の2つの処理方法がある。イメージデータが字幕用の場合は、プレゼンテーションコントローラ(306)によってデコードタイミングが指示される。クロック(307)からの時刻情報をシナリオプロセッサ(305)が一旦受け、適切な字幕表示が行えるように、字幕表示時刻(開始及び終了)になればプレゼンテーションコントローラ(306)に対して字幕の表示、非表示の指示を出す。プレゼンテーションコントローラ(306)からデコード/表示の指示を受けたイメージプロセッサ(311)は対応するPNGデータをイメージメモリ(308)から抜き出し、デコードし、イメージプレーン(314)に描画する。   The PNG recorded in the image memory (308) has the following two processing methods. If the image data is for subtitles, the presentation controller (306) instructs the decoding timing. In order for the scenario processor (305) to receive the time information from the clock (307) once and display the appropriate subtitles, the subtitles are displayed to the presentation controller (306) at the subtitle display time (start and end). Give hidden instructions. The image processor (311) that has received the decode / display instruction from the presentation controller (306) extracts the corresponding PNG data from the image memory (308), decodes it, and draws it on the image plane (314).

次に、イメージデータがメニュー用の場合は、プログラムプロセッサ(302)によってデコードタイミングが指示される。プログラムプロセッサ(302)が何時イメージのデコードを指示するかは、プログラムプロセッサ(302)が処理しているBDプログラムに因るものであって一概には決まらない。   Next, when the image data is for a menu, the program processor (302) instructs the decoding timing. The time when the program processor (302) instructs to decode the image depends on the BD program being processed by the program processor (302), and is not generally determined.

イメージデータ及び映像データは、図6で説明したように夫々デコード後にイメージプレーン(314)、ビデオプレーン(315)に記録され、合成処理部(316)によって合成出力される。   As described with reference to FIG. 6, the image data and the video data are recorded on the image plane (314) and the video plane (315) after being decoded, and are synthesized and output by the synthesis processing unit (316).

BDディスク(201)から読み出された管理情報(シナリオ、AV管理情報)は、管理情報記録メモリ(304)に記録されるが、シナリオ情報(「BD.INFO」及び「XXX.PL」)はシナリオプロセッサ(305)によって読み出され処理される。また、AV管理情報(「YYY.VOBI」)はプレゼンテーションコントローラ(306)によって読み出され処理される。   The management information (scenario, AV management information) read from the BD disc (201) is recorded in the management information recording memory (304), but the scenario information (“BD.INFO” and “XXX.PL”) is stored in the management information recording memory (304). It is read and processed by the scenario processor (305). The AV management information (“YYY.VOBI”) is read and processed by the presentation controller (306).

シナリオプロセッサ(305)は、プレイリストの情報を解析し、プレイリストによって参照されているVOBとその再生位置をプレゼンテーションコントローラ(306)に指示し、プレゼンテーションコントローラ(306)は対象となるVOBの管理情報(「YYY.VOBI」)を解析して、対象となるVOBを読み出すようにドライブコントローラ(317)に指示を出す。   The scenario processor (305) analyzes the information of the playlist, and instructs the presentation controller (306) the VOB referenced by the playlist and the playback position thereof. The presentation controller (306) manages the management information of the target VOB. ("YYY.VOBI") is analyzed, and an instruction is issued to the drive controller (317) to read out the target VOB.

ドライブコントローラ(317)はプレゼンテーションコントローラ(306)の指示に従い、光ピックアップを移動させ、対象となるAVデータの読み出しを行う。読み出されたAVデータは、前述したようにイメージメモリ(308)またはトラックバッファ(309)に記録される。   The drive controller (317) moves the optical pickup according to the instruction of the presentation controller (306), and reads the target AV data. The read AV data is recorded in the image memory (308) or the track buffer (309) as described above.

また、シナリオプロセッサ(305)は、クロック(307)の時刻を監視し、管理情報で設定されているタイミングでイベントをプログラムプロセッサ(302)に投げる。   The scenario processor (305) monitors the time of the clock (307) and throws an event to the program processor (302) at the timing set in the management information.

プログラム記録メモリ(301)に記録されたBDプログラム(「BD.PROG」または「XXX.PROG」)は、プログラムプロセッサ302によって実行処理される。プログラムプロセッサ(302)がBDプログラムを処理するのは、シナリオプロセッサ(305)からイベントが送られてきた場合か、UOPマネージャ(303)からイベントが送られてきた場合である。UOPマネージャ(303)は、ユーザからリモコンキーによってリクエストが送られてきた場合に、プログラムプロセッサ(302)にイベントを生成する。
(アプリケーション空間)
図8は、BD−ROMのアプリケーション空間を示す図である。
The BD program (“BD.PROG” or “XXX.PROG”) recorded in the program recording memory (301) is executed by the program processor 302. The program processor (302) processes the BD program when an event is sent from the scenario processor (305) or when an event is sent from the UOP manager (303). The UOP manager (303) generates an event in the program processor (302) when a request is sent from the user by a remote control key.
(Application space)
FIG. 8 is a diagram showing an application space of the BD-ROM.

BD−ROMのアプリケーション空間では、プレイリスト(PlayList)が一つの再生単位になっている。プレイリストはセル(Cell)の再生シーケンスから構成される静的なシナリオと、プログラムによって記述される動的なシナリオを有している。プログラムによる動的なシナリオが無い限り、プレイリストは個々のセルを順に再生するだけであり、また、全てのセルの再生を終了した時点でプレイリストの再生は終了する。一方で、プログラムは、プレイリストを超えての再生記述や、ユーザ選択またはプレーヤの状態によって再生する対象を動的に変えることが可能である。典型的な例としてはメニューがあげられる。BD−ROMの場合、メニューとはユーザの選択によって再生するシナリオ、即ちプレイリストを動的に選択することである。   In the application space of the BD-ROM, a play list (PlayList) is one reproduction unit. The playlist has a static scenario composed of a playback sequence of a cell (Cell) and a dynamic scenario described by a program. Unless there is a dynamic scenario by the program, the playlist only reproduces the individual cells in order, and the reproduction of the playlist ends when the reproduction of all the cells is completed. On the other hand, the program can dynamically change the playback target depending on the playback description beyond the playlist, the user selection, or the player status. A typical example is a menu. In the case of a BD-ROM, the menu is to dynamically select a scenario to be played by the user's selection, that is, a playlist.

ここで言うプログラムは、時間イベントまたはユーザイベントによって実行されるイベントハンドラの事である。   The program here is an event handler executed by a time event or a user event.

時間イベントは、プレイリスト中に埋め込まれた時刻情報に基づいて生成されるイベントである。図7で説明したシナリオプロセッサ(305)からプログラムプロセッサ(302)に送られるイベントがこれに相当する。時間イベントが発行されると、プログラムプロセッサ(302)はIDによって対応付けられるイベントハンドラを実行処理する。前述した通り、実行されるプログラムが他のプレイリストの再生を指示することが可能であり、この場合には、現在再生されているプレイリストの再生は中止され、指定されたプレイリストの再生へと遷移する。   The time event is an event generated based on time information embedded in the playlist. The event sent from the scenario processor (305) described in FIG. 7 to the program processor (302) corresponds to this. When a time event is issued, the program processor (302) executes an event handler associated with the ID. As described above, the program to be executed can instruct playback of another playlist. In this case, playback of the currently played playlist is stopped and playback of the designated playlist is started. And transition.

ユーザイベントは、ユーザのリモコンキー操作によって生成されるイベントである。ユーザイベントは大きく2つのタイプに分けられる。一つ目は、カーソルキー(「上」「下」「左」「右」キー)または「決定」キーの操作によって生成されるメニュー選択のイベントである。メニュー選択のイベントに対応するイベントハンドラはプレイリスト内の限られた期間でのみ有効であり(プレイリストの情報として、個々のイベントハンドラの有効期間が設定されている)、リモコンの「上」「下」「左」「右」キーまたは「決定」キーが押された時に有効なイベントハンドラを検索して、有効なイベントハンドラがある場合は当該イベントハンドラが実行処理される。他の場合は、メニュー選択のイベントは無視されることになる。   A user event is an event generated by a user's remote control key operation. User events are roughly divided into two types. The first is a menu selection event generated by operating a cursor key ("Up", "Down", "Left", "Right" key) or a "Determination" key. The event handler corresponding to the event selected from the menu is valid only for a limited period in the playlist (the validity period of each event handler is set as playlist information). A valid event handler is searched when the “down”, “left”, “right” key, or “decision” key is pressed. If there is a valid event handler, the event handler is executed. In other cases, menu selection events will be ignored.

二つ目のユーザイベントは、「メニュー」キーの操作によって生成されるメニュー呼び出しのイベントである。メニュー呼び出しのイベントが生成されると、グローバルイベントハンドラが呼ばれる。グローバルイベントハンドラはプレイリストに依存せず、常に有効なイベントハンドラである。この機能を使うことにより、DVDのメニューコール(タイトル再生中に音声、字幕メニューなどを呼び出し、音声または字幕を変更後に中断した地点からのタイトル再生を実行する)を実装することができる。   The second user event is a menu call event generated by operating the “menu” key. When a menu call event is generated, a global event handler is called. A global event handler does not depend on a playlist and is always an effective event handler. By using this function, it is possible to implement a DVD menu call (calling a voice, subtitle menu, etc. during title playback, and executing title playback from the point where it was interrupted after changing the voice or subtitle).

プレイリストで静的シナリオを構成する単位であるセル(Cell)はVOB(MPEGストリーム)の全部または一部の再生区間を参照したものである。セルはVOB内の再生区間を開始、終了時刻の情報として持っている。個々のVOBと一対になっているVOB管理情報(VOBI)は、その内部にタイムマップ(Time MapまたはTM)を有しており、このタイムマップによって前述したVOBの再生、終了時刻をVOB内(即ち対象となるファイル「YYY.VOB」内)での読み出し開始アドレス及び終了アドレスを導き出すことが可能である。なおタイムマップの詳細は後述する。
(VOBの詳細)
図9は、本実施例で使用するMPEGストリーム(VOB)の構成図である。図9に示すように、VOBは複数のVOBU(Video Object Unit)によって構成されている。VOBUは、MPEGビデオストリームで言うGOP(Group Of Pictures)を基準として、音声データも含んだ多重化ストリームとしての一再生単位である。VOBUは0.4秒から1.0秒の時間を持ち、通常は0.5秒の再生時間を持っている。これはMPEGのGOPの構造が通常は15フレーム/秒(NTSCの場合)によって導かれるものである。
A cell (Cell), which is a unit constituting a static scenario in a playlist, refers to all or part of a playback section of a VOB (MPEG stream). The cell has a playback section in the VOB as start and end time information. The VOB management information (VOBI) paired with each VOB has a time map (Time Map or TM) inside, and the playback and end times of the VOB described above are indicated in the VOB ( That is, it is possible to derive the read start address and end address in the target file “YYY.VOB”). Details of the time map will be described later.
(Details of VOB)
FIG. 9 is a configuration diagram of an MPEG stream (VOB) used in this embodiment. As shown in FIG. 9, a VOB is composed of a plurality of VOBUs (Video Object Units). The VOBU is one playback unit as a multiplexed stream including audio data on the basis of GOP (Group Of Pictures) referred to as an MPEG video stream. A VOBU has a duration of 0.4 to 1.0 seconds, and usually has a playback time of 0.5 seconds. This is because the structure of MPEG GOP is usually derived by 15 frames / second (in the case of NTSC).

VOBUは、その内部にビデオパック(V_PCK)とオーディオパック(A_PCK)を有している。各パックは1セクタ、本実施例の場合は2kB単位で構成されている。   The VOBU has a video pack (V_PCK) and an audio pack (A_PCK) therein. Each pack is composed of one sector, in the case of this embodiment, in units of 2 kB.

図10は、パックの構成を示した図である。   FIG. 10 is a diagram showing the configuration of the pack.

図10に示すように、ビデオデータ及びオーディオデータといったエレメンタリデータは、ペイロードと呼ばれるパケットのデータ格納領域に先頭から順次入れられていく。ペイロードにはパケットヘッダが付けられ1つのパケットを構成する。パケットヘッダには、ペイロードに格納してあるデータがどのストリームなのか、ビデオなのかオーディオなのか、また、ビデオまたはオーディオが夫々複数ストリームある場合は、どのストリームのデータなのかを識別するためのID(stream_id)と、当該ペイロードのデコード及び表示時刻情報であるタイムスタンプDTS及びPTSが夫々記録されている。PTS/DTSは必ずしも全てのパケットヘッダに記録されている訳ではなく、MPEGによって記録するルールが規定されている。ルールの詳細についてはMPEGシステム(ISO/IEC13818−1)規格書に記述されているので省略する。   As shown in FIG. 10, elementary data such as video data and audio data are sequentially entered from the head into a data storage area of a packet called a payload. A packet header is attached to the payload to form one packet. In the packet header, an ID for identifying which stream, video, or audio the data stored in the payload is, and if there are multiple streams of video or audio, which stream is the data (Stream_id) and time stamps DTS and PTS which are decoding time and display time information of the payload are recorded. PTS / DTS is not necessarily recorded in all packet headers, but rules for recording in MPEG are defined. Details of the rules are described in the MPEG system (ISO / IEC13818-1) standard, and therefore will be omitted.

パケットには更にヘッダ(パックヘッダ)が付けられ、パックを構成する。パックヘッダには、当該パックがいつデマルチプレクサを通過し、個々のエレメンタリストリームのデコーダバッファに入力されるかを示すタイムスタンプSCR(System Clock Reference)が記録されている。
(VOBのインターリーブ記録)
次に図11及び図12を用いてVOBファイルのインターリーブ記録について説明する。
The packet is further provided with a header (pack header) to form a pack. A time stamp SCR (System Clock Reference) indicating when the pack passes through the demultiplexer and is input to the decoder buffer of each elementary stream is recorded in the pack header.
(VOB interleaved recording)
Next, interleaved recording of a VOB file will be described with reference to FIGS.

図11上段は、前述したプレーヤ構成図の一部である。図の通り、BDディスク上のデータは、光ピックアップを通してVOB即ちMPEGストリームであればトラックバッファへ入力され、PNG即ちイメージデータであればイメージメモリへと入力される。   The upper part of FIG. 11 is a part of the player configuration diagram described above. As shown in the figure, the data on the BD disc is input to the track buffer if it is a VOB or MPEG stream through the optical pickup, and is input to the image memory if it is PNG or image data.

トラックバッファはFIFOであり、入力されたVOBのデータは入力された順にデマルチプレクサへと送られる。この時、前述したSCRに従って個々のパックはトラックバッファから引き抜かれデマルチプレクサを介してビデオプロセッサまたはサウンドプロセッサへとデータが送り届けられる。一方で、イメージデータの場合は、どのイメージを描画するかはプレゼンテーションコントローラによって指示される。また、描画に使ったイメージデータは、字幕用イメージデータの場合は同時にイメージメモリから削除されるが、メニュー用のイメージデータの場合は、イメージメモリ内にそのまま残される。これはメニューの描画はユーザ操作に依存するところがあるため、同一イメージを複数回描画する可能性があるためである。   The track buffer is a FIFO, and the input VOB data is sent to the demultiplexer in the input order. At this time, each pack is extracted from the track buffer in accordance with the SCR described above, and the data is sent to the video processor or sound processor via the demultiplexer. On the other hand, in the case of image data, the presentation controller instructs which image to draw. The image data used for drawing is deleted from the image memory at the same time in the case of image data for subtitles, but remains in the image memory in the case of image data for menus. This is because menu drawing may depend on user operations, and the same image may be drawn multiple times.

図11下段は、BDディスク上でのVOBファイル及びPNGファイルのインターリーブ記録を示す図である。一般的にROM、例えばCD−ROMやDVD−ROMの場合、一連の連続再生単位となるAVデータは連続記録されている。これは、連続記録されている限り、ドライブは順次データを読み出しプレーヤ側に送り届けるだけで良いが、連続データが分断されてディスク上に離散配置されている場合は、個々の連続区間の間でシーク操作が入ることになり、この間データの読み出しが止まることになり、データの供給が止まる可能性があるからである。BD−ROMの場合も同様に、VOBファイルは連続領域に記録することができる方が望ましいが、例えば字幕データのようにVOBに記録されている映像データと同期して再生されるデータがあり、VOBファイルと同様に字幕データも何らかの方法によってBDディスクから読み出す事が必要になる。   The lower part of FIG. 11 is a diagram showing interleaved recording of a VOB file and a PNG file on a BD disc. In general, in the case of a ROM such as a CD-ROM or a DVD-ROM, AV data serving as a series of continuous reproduction units is continuously recorded. As long as continuous recording is performed, the drive only needs to read the data sequentially and send it to the player side. However, if the continuous data is divided and discretely arranged on the disc, seek is performed between individual continuous sections. This is because an operation is entered, and during this time, reading of data is stopped, and supply of data may be stopped. Similarly, in the case of a BD-ROM, it is desirable that the VOB file can be recorded in a continuous area. However, there is data that is reproduced in synchronization with video data recorded in the VOB, such as subtitle data. Similar to the VOB file, it is necessary to read the caption data from the BD disc by some method.

字幕データの読み出し方法の一手段として、VOBの再生開始前に一まとめで字幕用のイメージデータ(PNGファイル)を読み出してしまう方法がある。しかしながら、この場合には一時記録に使用する大量のメモリが必要となり、非現実的である。   As one method of reading subtitle data, there is a method of reading subtitle image data (PNG file) all at once before the start of VOB reproduction. However, in this case, a large amount of memory used for temporary recording is required, which is unrealistic.

そこで、本実施の形態では、VOBファイルを幾つかのブロックに分けて、イメージデータとインターリーブ記録する方式を使用している。図11下段はそのインターリーブ記録を説明した図である。VOBファイルとイメージデータを適切にインターリーブ配置することで、前述したような大量の一時記録メモリ無しに、必要なタイミングでイメージデータをイメージメモリに格納することが可能になる。しかしながらイメージデータを読み出している際には、VOBデータの読み込みは当然のことながら停止することになる。   Therefore, in this embodiment, a method is used in which the VOB file is divided into several blocks and interleaved with image data. The lower part of FIG. 11 illustrates the interleave recording. By appropriately interleaving the VOB file and the image data, it becomes possible to store the image data in the image memory at a necessary timing without the large amount of temporary recording memory as described above. However, when reading the image data, the reading of the VOB data is naturally stopped.

図12は、この問題を解決するトラックバッファを使ったVOBデータ連続供給モデルを説明する図である。   FIG. 12 is a diagram for explaining a VOB data continuous supply model using a track buffer that solves this problem.

既に説明したように、VOBのデータは、一旦トラックバッファに蓄積される。トラックバッファへのデータ入力レートとトラックバッファからのデータ出力レートの間に差を設けると、BDディスクからデータを読み出し続けている限り、トラックバッファのデータ蓄積量は増加をしていくことになる。ここでトラックバッファへの入力レートをVa、トラックバッファからの出力レートをVbとする。図12の上段に記すようにVOBの一連続記録領域が論理アドレスの”a1”から”a2”まで続くとする。”a2”から”a3”の間は、イメージデータが記録されていて、VOBデータの読み出しが行えない区間であるとする。   As described above, VOB data is temporarily stored in the track buffer. If a difference is provided between the data input rate to the track buffer and the data output rate from the track buffer, as long as data is continuously read from the BD disc, the data storage amount of the track buffer increases. Here, the input rate to the track buffer is Va, and the output rate from the track buffer is Vb. As shown in the upper part of FIG. 12, it is assumed that a continuous recording area of VOB continues from “a1” to “a2” of logical addresses. It is assumed that between “a2” and “a3” is an interval in which image data is recorded and VOB data cannot be read.

図12の下段は、トラックバッファの内部を示す図である。横軸が時間、縦軸がトラックバッファ内部に蓄積されているデータ量を示している。時刻”t1”がVOBの一連続記録領域の開始点である”a1”の読み出しを開始した時刻を示している。この時刻以降、トラックバッファにはレートVa−Vbでデータが蓄積されていくことになる。このレートは言うまでもなくトラックバッファの入出力レートの差である。時刻”t2”は一連続記録領域の終了点である”a2”のデータを読み込む時刻である。即ち時刻”t1”から”t2”の間レートVa−Vbでトラックバッファ内はデータ量が増加していき、時刻”t2”でのデータ蓄積量はB(t2)は下式によって求めることができる。   The lower part of FIG. 12 shows the inside of the track buffer. The horizontal axis indicates time, and the vertical axis indicates the amount of data stored in the track buffer. Time “t1” indicates the time when reading of “a1”, which is the starting point of one continuous recording area of the VOB, is started. After this time, data is accumulated in the track buffer at the rate Va-Vb. Needless to say, this rate is the difference between the input and output rates of the track buffer. The time “t2” is the time when the data “a2”, which is the end point of one continuous recording area, is read. That is, the amount of data in the track buffer increases from time “t1” to “t2” at the rate Va−Vb, and the data accumulation amount at time “t2” can be obtained by the following equation. .

B(t2) = (Va−Vb)×(t2−t1) (式1)
この後、BDディスク上のアドレス”a3”まではイメージデータが続くため、トラックバッファへの入力は0となり、出力レートである”−Vb”でトラックバッファ内のデータ量は減少していくことになる。これは読み出し位置”a3”まで、時刻でいう”t3”までになる。
B (t2) = (Va−Vb) × (t2−t1) (Formula 1)
After this, since the image data continues until the address “a3” on the BD disc, the input to the track buffer becomes 0, and the data amount in the track buffer decreases at the output rate “−Vb”. Become. This is up to the read position “a3” and “t3” in time.

ここで大事なことは、時刻”t3”より前にトラックバッファに蓄積されているデータ量が0になると、デコーダへ供給するVOBのデータが無くなってしまい、VOBの再生がストップしてしまう可能性がある。しかしながら、時刻”t3”でトラックバッファにデータが残っている場合には、VOBの再生がストップすることなく連続できることを意味している。   What is important here is that if the amount of data stored in the track buffer before time “t3” becomes zero, there is no VOB data to be supplied to the decoder, and there is a possibility that VOB reproduction stops. There is. However, if data remains in the track buffer at time “t3”, this means that VOB playback can be continued without stopping.

この条件は下式によって示すことができる。   This condition can be expressed by the following equation.

B(t2) ≧ −Vb×(t3−t2) (式2)
即ち、式2を満たすようにイメージデータの配置を決めればよい事になる。
(ナビゲーションデータ構造)
図13から図19を用いて、BD−ROMのナビゲーションデータ(BD管理情報)構造について説明をする。図13は、VOB管理情報ファイル(”YYY.VOBI”)の内部構造を示した図である。
B (t2) ≧ −Vb × (t3−t2) (Formula 2)
That is, it is only necessary to determine the arrangement of the image data so as to satisfy Expression 2.
(Navigation data structure)
The structure of navigation data (BD management information) in the BD-ROM will be described with reference to FIGS. FIG. 13 shows the internal structure of the VOB management information file (“YYY.VOBI”).

VOB管理情報は、当該VOBのストリーム属性情報(Attribute)とタイムマップ(TMAP)を有している。ストリーム属性は、ビデオ属性(Video)、オーディオ属性(Audio#0〜Audio#m)個々に持つ構成となっている。特にオーディオストリームの場合は、VOBが複数本のオーディオストリームを同時に持つことができることから、オーディオストリーム数(Number)によって、データフィールドの有無を示している。   The VOB management information includes stream attribute information (Attribute) and time map (TMAP) of the VOB. Each stream attribute has a video attribute (Video) and an audio attribute (Audio # 0 to Audio # m). Particularly in the case of an audio stream, since a VOB can have a plurality of audio streams at the same time, the presence or absence of a data field is indicated by the number of audio streams (Number).

下記はビデオ属性(Video)の持つフィールドと夫々が持ち得る値である。   The following are the fields that the video attribute (Video) has and the values that each can have.

圧縮方式(Coding):
MPEG1
MPEG2
MPEG4
解像度(Resolution):
1920x1080
1280x720
720x480
720x565
アスペクト比(Aspect)
4:3
16:9
フレームレート(Framerate)
60
59.94
50
30
29.97
25
24
下記はオーディオ属性(Audio)の持つフィールドと夫々が持ち得る値である。
Compression method (Coding):
MPEG1
MPEG2
MPEG4
Resolution:
1920x1080
1280x720
720x480
720x565
Aspect ratio (Aspect)
4: 3
16: 9
Frame rate
60
59.94
50
30
29.97
25
24
The following are the fields that the audio attribute (Audio) has and the values that each can have.

圧縮方式(Coding):
AC3
MPEG1
MPEG2
LPCM
チャンネル数(Ch):
1〜8
言語属性(Language):
タイムマップ(TMAP)はVOBU毎の情報を持つテーブルであって、当該VOBが有するVOBU数(Number)と各VOBU情報(VOBU#1〜VOBU#n)を持つ。個々のVOBU情報は、VOBUの再生時間長(Duration)とVOBUのデータサイズ(Size)を夫々有している。
Compression method (Coding):
AC3
MPEG1
MPEG2
LPCM
Number of channels (Ch):
1-8
Language attribute:
The time map (TMAP) is a table having information for each VOBU, and has the number of VOBUs (Number) possessed by the VOB and each VOBU information (VOBU # 1 to VOBU # n). Each VOBU information has a playback time length (Duration) of the VOBU and a data size (Size) of the VOBU.

図14はVOBU情報の詳細を説明する図である。   FIG. 14 is a diagram for explaining the details of the VOBU information.

広く知られているように、MPEGストリームは時間的側面とデータサイズとしての側面との2つを有している。例えば、音声の圧縮規格であるAC3は固定ビットレートでの圧縮を行っているため、時間とアドレスとの関係は1次式によって求めることができる。しかしながらMPEGビデオデータの場合は、個々のフレームは固定の表示時間、例えばNTSCの場合は1フレームは1/29.97秒の表示時間を持つが、個々のフレームの圧縮後のデータサイズは絵の特性や圧縮に使ったピクチャタイプ、いわゆるI/P/Bピクチャによってデータサイズは大きく変わってくる。従って、MPEGビデオの場合は、時間とアドレスの関係は一般式の形で表現することは不可能である。   As is widely known, an MPEG stream has two aspects, a temporal aspect and a data size aspect. For example, since AC3, which is a voice compression standard, performs compression at a fixed bit rate, the relationship between time and address can be obtained by a linear expression. However, in the case of MPEG video data, each frame has a fixed display time, for example, in the case of NTSC, one frame has a display time of 1 / 29.97 seconds, but the data size after compression of each frame is picture size. The data size varies greatly depending on the characteristics and the picture type used for compression, so-called I / P / B picture. Therefore, in the case of MPEG video, the relationship between time and address cannot be expressed in a general form.

当然の事として、MPEGビデオデータを多重化しているMPEGシステムストリーム、即ちVOBも時間とデータとを一般式の形で表現することは不可能である。これに代わって、VOB内での時間とアドレスとの関係を結びつけるのがタイムマップ(TMAP)である。図14に示すように、各VOBU毎にVOBU内のフレーム数と、VOBU内のパック数を夫々エントリーとして持つテーブルがタイムマップ(TMAP)である。   As a matter of course, an MPEG system stream in which MPEG video data is multiplexed, that is, VOB, cannot express time and data in a general form. Instead, the time map (TMAP) links the relationship between time and address in the VOB. As shown in FIG. 14, a table having a number of frames in a VOBU and the number of packs in a VOBU as entries for each VOBU is a time map (TMAP).

図15を使って、タイムマップ(TMAP)の使い方を説明する。   The usage of the time map (TMAP) will be described with reference to FIG.

図15に示すように時刻情報が与えられた場合、先ずは当該時刻がどのVOBUに属するのかを検索する。これは、タイム亜マップのVOBU毎のフレーム数を加算して行き、フレーム数の和が当該時刻を(フレーム数に換算して)超えるまたは一致するVOBUが当該VOBUになる。次にタイムマップのVOBU毎のサイズを当該VOBUの直前のVOBUまで加算して行き、その値が与えられた時刻を含むフレームを再生するために読み出すべきパックの先頭アドレスになっている。   When time information is given as shown in FIG. 15, first, a search is performed as to which VOBU the time belongs to. This is done by adding the number of frames for each VOBU of the time submap, and the VOBU whose sum of frames exceeds or coincides with the time (converted to the number of frames) becomes the VOBU. Next, the size for each VOBU of the time map is added to the VOBU immediately before the VOBU, and the value is the leading address of the pack to be read in order to reproduce the frame including the given time.

次に図16を使って、プレイリスト情報(”XXX.PL”)の内部構造を説明する。   Next, the internal structure of the playlist information (“XXX.PL”) will be described with reference to FIG.

プレイリスト情報は、セルリスト(CellList)とイベントリスト(EventList)から構成されている。   The playlist information includes a cell list (CellList) and an event list (EventList).

セルリスト(CellList)は、プレイリスト内の再生セルシーケンスであり、本リストの記述順でセルが再生される事になる。セルリスト(CellList)の中身は、セルの数(Number)と各セル情報(Cell#1〜Cell#n)である。   The cell list (CellList) is a reproduction cell sequence in the playlist, and the cells are reproduced in the description order of the list. The contents of the cell list (CellList) are the number of cells (Number) and cell information (Cell # 1 to Cell # n).

セル情報(Cell#)は、VOBファイル名(VOBName)、当該VOB内での有効区間開始時刻(In)及び有効区間終了時刻(Out)と、字幕テーブル(SubtitleTable)を持っている。有効区間開始時刻(In)及び有効区間終了時刻(Out)は、夫々当該VOB内でのフレーム番号で表現され、前述したタイムマップ(TMAP)を使うことによって再生に必要なVOBデータのアドレスを得る事ができる。   The cell information (Cell #) has a VOB file name (VOBName), a valid section start time (In) and a valid section end time (Out) in the VOB, and a caption table (SubtitleTable). The valid section start time (In) and valid section end time (Out) are each expressed by a frame number in the VOB, and the address of VOB data necessary for reproduction is obtained by using the time map (TMAP) described above. I can do things.

字幕テーブル(SubtitleTable)は、当該VOBと同期再生される字幕情報を持つテーブルである。字幕は音声同様に複数の言語を持つことができ、字幕テーブル(SubtitleTable)最初の情報も言語数(Number)とそれに続く個々の言語ごとのテーブル(Language#1〜Language#k)から構成されている。   The caption table (SubtitleTable) is a table having caption information that is reproduced in synchronization with the VOB. Subtitles can have multiple languages as well as audio, and the first information of the subtitle table (SubtitleTable) consists of the number of languages (Number) followed by tables for each language (Language # 1 to Language # k). Yes.

各言語のテーブル(Language#)は、言語情報(Language)と、個々に表示される字幕の字幕情報数(Number)と、個々に表示される字幕の字幕情報(Speech#1〜Speech#j)から構成され、字幕情報(Speech#)は対応するイメージデータファイル名(Name)、字幕表示開始時刻(In)及び字幕表示終了時刻(Out)と、字幕の表示位置(Position)から構成されている。   A table (Language #) for each language includes language information (Language), the number of subtitle information (Number) of subtitles displayed individually, and subtitle information of subtitles (Speech # 1 to Speech # j) displayed individually. The caption information (Speech #) is composed of the corresponding image data file name (Name), caption display start time (In) and caption display end time (Out), and caption display position (Position). .

イベントリスト(EventList)は、当該プレイリスト内であげられるイベントを定義したテーブルである。イベントリストは、イベント数(Number)に続いて個々のイベント(Event#1〜Event#m)から構成され、個々のイベント(Event#)は、イベントの種類(Type)、イベントのID(ID)、イベント生成時刻(Time)と有効期間(Duration)から構成されている。   The event list (EventList) is a table that defines the events listed in the play list. The event list is made up of individual events (Event # 1 to Event # m) following the number of events (Number), and each event (Event #) includes an event type (Type) and an event ID (ID). The event generation time (Time) and the validity period (Duration) are included.

図17は、個々のプレイリスト毎のイベントハンドラ(時間イベントと、メニュー選択用のユーザイベント)を持つイベントハンドラテーブル(”XXX.PROG”)である。   FIG. 17 is an event handler table (“XXX.PROG”) having event handlers (time events and user events for menu selection) for each playlist.

イベントハンドラテーブルは、定義されているイベントハンドラ/プログラム数(Number)と個々のイベントハンドラ/プログラム(Program#1〜Program#n)を有している。各イベントハンドラ/プログラム(Program#)内の記述は、イベントハンドラ開始の定義(<event_handler>タグ)と前述したイベントのIDと対になるイベントハンドラのID(ID)を持ち、その後に当該プログラムもFunctionに続く括弧”{”と”}”の間に記述する。   The event handler table has a defined number of event handlers / programs (Number) and individual event handlers / programs (Program # 1 to Program # n). The description in each event handler / program (Program #) has the event handler ID (ID) paired with the event handler start definition (<event_handler> tag) and the above-mentioned event ID. It is described between parentheses “{” and “}” following the Function.

次に図18を用いてBDディスク全体に関する情報(”BD.INFO”)の内部構造について説明をする。   Next, the internal structure of information relating to the entire BD disc (“BD. INFO”) will be described with reference to FIG.

BDディスク全体情報は、タイトルリスト(TitleList)とグローバルイベント用のイベントテーブル(EventTable)から構成されている。   The entire BD disc information includes a title list (TitleList) and an event table for global events (EventTable).

タイトルリスト(TitleList)は、ディスク内のタイトル数(Number)と、これに続く各タイトル情報(Title#1〜Title#n)から構成されている。個々のタイトル情報(Title)は、タイトルに含まれるプレイリストのテーブル(PLTalble)とタイトル内のチャプタリスト(ChapterList)を含んでいる。プレイリストのテーブル(PLTable)はタイトル内のプレイリストの数(Number)と、プレイリスト名(Name)即ちプレイリストのファイル名を有している。   The title list (TitleList) is composed of the number of titles (Number) in the disc and the following pieces of title information (Title # 1 to Title # n). Each piece of title information (Title) includes a playlist table (PLTable) included in the title and a chapter list (ChapterList) in the title. The playlist table (PLTable) has the number of playlists in the title (Number) and the playlist name (Name), that is, the playlist file name.

チャプタリスト(ChapterList)は、当該タイトルに含まれるチャプタ数(Number)と個々のチャプタ情報(Chapter#1〜Chapter#n)から構成され、チャプタ情報(Chapter#)は当該チャプタが含むセルのテーブル(CellTable)を持ち、セルのテーブル(CellTable)はセル数(Number)と個々のセルのエントリ情報(CellEntry#1〜CellEntry#k)から構成されている。セルのエントリ情報(CellEntry#)は当該セルを含むプレイリスト名と、プレイリスト内でのセル番号によって記述されている。   The chapter list (ChapterList) is composed of the number of chapters (Number) included in the title and individual chapter information (Chapter # 1 to Chapter # n), and the chapter information (Chapter #) is a table of cells included in the chapter (Chapter #). The cell table (CellTable) includes the number of cells (Number) and individual cell entry information (CellEntry # 1 to CellEntry # k). Cell entry information (CellEntry #) is described by the name of the playlist including the cell and the cell number in the playlist.

イベントリスト(EventList)は、グローバルイベントの数(Number)と個々のグローバルイベントの情報を持っている。ここで注意すべきは、最初に定義されるグローバルイベントは、ファーストイベント(FirstEvent)と呼ばれ、BDディスクがプレーヤに挿入された時、最初に呼ばれるイベントである。グローバルイベント用イベント情報はイベントタイプ(Type)とイベントのID(ID)だけを持っている。   The event list (EventList) includes the number of global events (Number) and information on individual global events. It should be noted that the global event defined first is called a first event (FirstEvent), and is the first event called when a BD disc is inserted into a player. The event information for global events has only an event type (Type) and an event ID (ID).

図19は、グローバルイベントハンドラのプログラムのテーブル(”BD.PROG”)である。本テーブルは、図17で説明したイベントハンドラテーブルと同一内容である。
(イベント発生のメカニズム)
図20から図22を使ってイベント発生のメカニズムについて説明する。
FIG. 19 is a global event handler program table (“BD.PROG”). This table has the same contents as the event handler table described in FIG.
(Event generation mechanism)
The event generation mechanism will be described with reference to FIGS.

図20はタイムイベントの例である。   FIG. 20 is an example of a time event.

前述したとおり、タイムイベントはプレイリスト情報(”XXX.PL”)のイベントリスト(EventList)で定義される。タイムイベントとして定義されているイベント、即ちイベントタイプ(Type)が”TimeEvent”の場合、イベント生成時刻(”t1”)になった時点で、ID”Ex1”を持つタイムイベントがシナリオプロセッサからプログラムプロセッサに対してあげられる。プログラムプロセッサは、イベントID”Ex1”を持つイベントハンドラを探し、対象のイベントハンドラを実行処理する。例えば、本実施例の場合では、2つのボタンイメージの描画を行うなどを行うことができる。   As described above, a time event is defined by an event list (EventList) of playlist information (“XXX.PL”). When an event defined as a time event, that is, when the event type (Type) is “TimeEvent”, the time event having ID “Ex1” is transferred from the scenario processor to the program processor when the event generation time (“t1”) is reached. Against. The program processor searches for an event handler having the event ID “Ex1” and executes the target event handler. For example, in this embodiment, two button images can be drawn.

図21はメニュー操作を行うユーザーイベントの例である。   FIG. 21 shows an example of a user event for performing a menu operation.

前述したとおり、メニュー操作を行うユーザイベントもプレイリスト情報(”XXX.PL”)のイベントリスト(EventList)で定義される。ユーザイベントとして定義されるイベント、即ちイベントタイプ(Type)が”UserEvent”の場合、イベント生成時刻(”t1”)になった時点で、当該ユーザイベントがレディとなる。この時、イベント自身は未だ生成されてはいない。当該イベントは、有効規格情報(Duration)で記される期間レディ状態にある。   As described above, the user event for performing the menu operation is also defined in the event list (EventList) of the playlist information (“XXX.PL”). When an event defined as a user event, that is, an event type (Type) is “UserEvent”, the user event becomes ready when the event generation time (“t1”) is reached. At this time, the event itself has not yet been generated. The event is in a ready state for the period described by the valid standard information (Duration).

図21に描くように、ユーザがリモコンキーの「上」「下」「左」「右」キーまたは「決定」キーを押した場合、先ずUOPイベントがUOPマネージャによって生成されプログラムプロセッサに上げられる。プログラムプロセッサは、シナリオプロセッサに対してUOPイベントを流し、シナリオプロセッサはUOPイベントを受け取った時刻に有効なユーザイベントが存在するかを検索し、対象となるユーザイベントがあった場合は、ユーザイベントを生成し、プログラムプロセッサに持ち上げる。プログラムプロセッサでは、イベントID”Ev1”を持つイベントハンドラを探し、対象のイベントハンドラを実行処理する。例えば、本実施例の場合では、プレイリスト#2の再生を開始する。   As shown in FIG. 21, when the user presses the “up”, “down”, “left”, “right” key or “decision” key of the remote control key, a UOP event is first generated by the UOP manager and raised to the program processor. The program processor sends a UOP event to the scenario processor. The scenario processor searches for a valid user event at the time when the UOP event is received. If there is a target user event, the user event is Generate and lift to the program processor. The program processor searches for an event handler having the event ID “Ev1” and executes the target event handler. For example, in the case of the present embodiment, reproduction of playlist # 2 is started.

生成されるユーザイベントには、どのリモコンキーがユーザによって押されたかの情報は含まれていない。選択されたリモコンキーの情報は、UOPイベントによってプログラムプロセッサに伝えられ、仮想プレーヤが持つレジスタSPRM(8)に記録保持される。イベントハンドラのプログラムは、このレジスタの値を調べ分岐処理を実行することが可能である。   The generated user event does not include information on which remote control key is pressed by the user. Information on the selected remote control key is transmitted to the program processor by a UOP event, and is recorded and held in the register SPRM (8) of the virtual player. The event handler program can check the value of this register and execute branch processing.

図22はグローバルイベントの例である。   FIG. 22 shows an example of a global event.

前述したとおり、グローバルイベントはBDディスク全体に関する情報(”BD.INFO”)のイベントリスト(EventList)で定義される。グローバルイベントとして定義されるイベント、即ちイベントタイプ(Type)が”GlobalEvent”の場合、ユーザのリモコンキー操作があった場合にのみイベントが生成される。   As described above, a global event is defined by an event list (EventList) of information (“BD. INFO”) relating to the entire BD disc. When an event defined as a global event, that is, an event type (Type) is “GlobalEvent”, an event is generated only when a user operates a remote control key.

ユーザが”メニュー”を押した場合、先ずUOPイベントがUOPマネージャによって生成されプログラムプロセッサに上げられる。プログラムプロセッサは、シナリオプロセッサに対してUOPイベントを流し、シナリオプロセッサは、該当するグローバルイベントを生成し、プログラムプロセッサに送る。プログラムプロセッサでは、イベントID”menu”を持つイベントハンドラを探し、対象のイベントハンドラを実行処理する。例えば、本実施例の場合ではプレイリスト#3の再生を開始している。   When the user presses “Menu”, a UOP event is first generated by the UOP manager and raised to the program processor. The program processor sends a UOP event to the scenario processor, and the scenario processor generates a corresponding global event and sends it to the program processor. The program processor searches for an event handler having the event ID “menu” and executes the target event handler. For example, in the case of the present embodiment, reproduction of playlist # 3 is started.

本実施例では、単に”メニュー”キーと呼んでいるが、DVDのように複数のメニューキーがあってもよい。各メニューキーに対応するIDを夫々定義することで対応することが可能である。
(仮想プレーヤマシン)
図23を用いてプログラムプロセッサの機能構成を説明する。
In this embodiment, it is simply called a “menu” key, but there may be a plurality of menu keys as in a DVD. It is possible to cope by defining IDs corresponding to the respective menu keys.
(Virtual player machine)
The functional configuration of the program processor will be described with reference to FIG.

プログラムプロセッサは、内部に仮想プレーヤマシンを持つ処理モジュールである。仮想プレーヤマシンはBD−ROMとして定義された機能モデルであって、各BD−ROMプレーヤの実装には依存しないものである。即ち、どのBD−ROMプレーヤにおいても同様の機能を実行するできることを保証している。   The program processor is a processing module having a virtual player machine inside. The virtual player machine is a functional model defined as a BD-ROM and does not depend on the implementation of each BD-ROM player. That is, it is guaranteed that the same function can be executed in any BD-ROM player.

仮想プレーヤマシンは大きく2つの機能を持っている。プログラミング関数とプレーヤ変数(レジスタ)である。プログラミング関数は、Java(登録商標) Scriptをベースとして、以下に記す2つの機能をBD−ROM固有関数として定義している。   The virtual player machine has two functions. Programming functions and player variables (registers). The programming function defines two functions described below as BD-ROM specific functions based on Java (registered trademark) Script.

リンク関数:現在の再生を停止し、指定するプレイリスト、セル、時刻からの再生を開始する
Link(PL#,Cell#,time)
PL# : プレイリスト名
Cell# : セル番号
time : セル内での再生開始時刻
PNG描画関数:指定PNGデータをイメージプレーンに描画する
Draw(File,X,Y)
File : PNGファイル名
X : X座標位置
Y : Y座標位置
イメージプレーンクリア関数:イメージプレーンの指定領域をクリアする
Clear(X,Y,W,H)
X : X座標位置
Y : Y座標位置
W : X方向幅
H : Y方向幅
プレーヤ変数は、プレーヤの状態を示すシステムパラメータ(SPRM)と一般用途として使用可能なゼネラルパラメータ(GPRM)とがある。
Link function: Stops the current playback and starts playback from the specified playlist, cell, and time Link (PL #, Cell #, time)
PL #: Playlist name Cell #: Cell number time: Playback start time in the cell PNG drawing function: Draws specified PNG data on the image plane Draw (File, X, Y)
File: PNG file name X: X coordinate position Y: Y coordinate position Image plane clear function: Clear specified area of image plane Clear (X, Y, W, H)
X: X-coordinate position Y: Y-coordinate position W: X-direction width H: Y-direction width Player variables include a system parameter (SPRM) indicating the state of the player and a general parameter (GPRM) that can be used for general purposes.

図24はシステムパラメータ(SPRM)の一覧である。   FIG. 24 is a list of system parameters (SPRM).

SPRM(0) : 言語コード
SPRM(1) : 音声ストリーム番号
SPRM(2) : 字幕ストリーム番号
SPRM(3) : アングル番号
SPRM(4) : タイトル番号
SPRM(5) : チャプタ番号
SPRM(6) : プログラム番号
SPRM(7) : セル番号
SPRM(8) : 選択キー情報
SPRM(9) : ナビゲーションタイマー
SPRM(10) : 再生時刻情報
SPRM(11) : カラオケ用ミキシングモード
SPRM(12) : パレンタル用国情報
SPRM(13) : パレンタルレベル
SPRM(14) : プレーヤ設定値(ビデオ)
SPRM(15) : プレーヤ設定値(オーディオ)
SPRM(16) : 音声ストリーム用言語コード
SPRM(17) : 音声ストリーム用言語コード(拡張)
SPRM(18) : 字幕ストリーム用言語コード
SPRM(19) : 字幕ストリーム用言語コード(拡張)
SPRM(20) : プレーヤリージョンコード
SPRM(21) : 予備
SPRM(22) : 予備
SPRM(23) : 再生状態
SPRM(24) : 予備
SPRM(25) : 予備
SPRM(26) : 予備
SPRM(27) : 予備
SPRM(28) : 予備
SPRM(29) : 予備
SPRM(30) : 予備
SPRM(31) : 予備
なお、本実施例では、仮想プレーヤのプログラミング関数をJava(登録商標) Scriptベースとしたが、Java(登録商標) Scriptではなく、UNIX(登録商標) OSなどで使われているB−Shellや、Perl Scriptなど他のプログラミング関数であっても構わなく、言い換えれば、本発明はJava(登録商標) Scriptに限定されるものでは無い。
(プログラムの例)
図25及び図26は、イベントハンドラでのプログラムの例である。
SPRM (0): Language code SPRM (1): Audio stream number SPRM (2): Subtitle stream number SPRM (3): Angle number SPRM (4): Title number SPRM (5): Chapter number SPRM (6): Program Number SPRM (7): Cell number SPRM (8): Selection key information SPRM (9): Navigation timer SPRM (10): Playback time information SPRM (11): Karaoke mixing mode SPRM (12): Parental country information SPRM (13): Parental level SPRM (14): Player set value (video)
SPRM (15): Player setting value (audio)
SPRM (16): Audio stream language code SPRM (17): Audio stream language code (extended)
SPRM (18): Language code for subtitle stream SPRM (19): Language code for subtitle stream (extended)
SPRM (20): Player region code SPRM (21): Reserve SPRM (22): Reserve SPRM (23): Playback state SPRM (24): Reserve SPRM (25): Reserve SPRM (26): Reserve SPRM (27): Spare SPRM (28): Spare SPRM (29): Spare SPRM (30): Spare SPRM (31): Spare In this embodiment, the programming function of the virtual player is based on Java (registered trademark) Script. (Registered trademark) Instead of Script, other programming functions such as B-Shell and Perl Script used in UNIX (registered trademark) OS may be used. In other words, the present invention is Java (registered trademark). It is not limited to Script.
(Program example)
25 and 26 are examples of programs in the event handler.

図25は、2つの選択ボタンを持ったメニューの例である。   FIG. 25 shows an example of a menu having two selection buttons.

セル(PlayList#1.Cell#1)先頭でタイムイベントを使って図25左側のプログラムが実行される。ここでは、最初にゼネラルパラメータの一つGPRM(0)に”1”がセットされている。GPRM(0)は、当該プログラムの中で、選択されているボタンを識別するのに使っている。最初の状態では、左側に配置するボタン1が選択されている事を初期値として持たされている。   The program on the left side of FIG. 25 is executed using the time event at the head of the cell (PlayList # 1. Cell # 1). Here, “1” is first set to GPRM (0), one of the general parameters. GPRM (0) is used to identify the selected button in the program. In the initial state, the initial value is that the button 1 arranged on the left side is selected.

次に、PNGの描画を描画関数であるDrawを使ってボタン1、ボタン2夫々について行っている。ボタン1は、座標(10、200)を起点(左端)としてPNGイメージ”1black.png”を描画している。ボタン2は、座標(330,200)を起点(左端)としてPNGイメージ”2white.png”を描画している。   Next, PNG drawing is performed for each of the buttons 1 and 2 by using a drawing function Draw. The button 1 draws the PNG image “1black.png” with the coordinates (10, 200) as the starting point (left end). The button 2 draws a PNG image “2white.png” with the coordinates (330, 200) as a starting point (left end).

また、本セル最後ではタイムイベントを使って図25右側のプログラムが実行される。ここでは、Link関数を使って当該セルの先頭から再度再生するように指定している。   At the end of this cell, the program on the right side of FIG. 25 is executed using a time event. Here, it is specified to play again from the beginning of the cell using the Link function.

図26は、メニュー選択のユーザイベントのイベントハンドラの例である。   FIG. 26 is an example of an event handler for a user event for menu selection.

「左」キー、「右」キー、「決定」キー何れかのリモコンキーが押された場合夫々に対応するプログラムがイベントハンドラに書かれている。ユーザがリモコンキーを押した場合、図21で説明したとおり、ユーザイベントが生成され、図26のイベントハンドラが起動されることになる。本イベントハンドラでは、選択ボタンを識別しているGPRM(0)の値と、選択されたリモコンキーを識別するSPRM(8)を使って分岐処理を行っている。   When the remote control key of “Left” key, “Right” key, or “Determination” key is pressed, a corresponding program is written in the event handler. When the user presses the remote control key, as described in FIG. 21, a user event is generated and the event handler of FIG. 26 is activated. In this event handler, branch processing is performed using the value of GPRM (0) identifying the selection button and SPRM (8) identifying the selected remote control key.

条件1)ボタン1が選択されている、かつ、選択キーが「右」キーの場合
GPRM(0)を2に再設定して、選択状態にあるボタンを右ボタン2に変更する。
Condition 1) When button 1 is selected and the selection key is the “right” key GPRM (0) is reset to 2, and the button in the selected state is changed to right button 2.

ボタン1、ボタン2のイメージを夫々書き換える。     Rewrite the images of Button 1 and Button 2, respectively.

条件2)選択キーが「決定(OK)」の場合で、ボタン1が選択されている場合、プレ
イリスト#2の再生を開始する
条件3)選択キーが「決定(OK)」の場合で、ボタン2が選択されている場合、プレイリスト#3の再生を開始する
上記のようにして実行処理が行われる。
(プレーヤ処理フロー)
次に図27から図30を用いてプレーヤでの処理フローを説明する。
Condition 2) When the selection key is “OK (OK)” and the button 1 is selected, playback of the playlist # 2 is started. Condition 3) When the selection key is “OK (OK)”, When button 2 is selected, playback of playlist # 3 is started. Execution processing is performed as described above.
(Player processing flow)
Next, the processing flow in the player will be described with reference to FIGS.

図27は、AV再生までの基本処理フローである。   FIG. 27 is a basic processing flow up to AV playback.

BDディスクを挿入すると(S101)、BD−ROMプレーヤはBD.INFOファイルの読み込みと解析(S102)、BD.PROGの読み込み(S103)を実行する。BD.INFO及びBD.PROGは共に管理情報記録メモリに一旦格納され、シナリオプロセッサによって解析される。   When the BD disc is inserted (S101), the BD-ROM player is set to BD. Reading and analysis of INFO file (S102), BD. PROG reading (S103) is executed. BD. INFO and BD. Both PROGs are temporarily stored in the management information recording memory and analyzed by the scenario processor.

続いて、シナリオプロセッサは、BD.INFOファイル内のファーストイベント(FirstEvent)情報に従い、最初のイベントを生成する(S104)。生成されたファーストイベントは、プログラムプロセッサで受け取られ、当該イベントに対応するイベントハンドラを実行処理する(S105)。   Subsequently, the scenario processor is BD. The first event is generated according to the first event (FirstEvent) information in the INFO file (S104). The generated first event is received by the program processor, and an event handler corresponding to the event is executed (S105).

ファーストイベントに対応するイベントハンドラには、最初に再生するべきプレイリスト情報が記録されていることが期待される。仮に、プレイリスト再生が指示されていない場合には、プレーヤは何も再生することなく、ユーザイベントを受け付けるのを待ち続けるだけになる。この場合、ユーザイベントを受け付けるのを待ち続けることになる(S201)。BD−ROMプレーヤはがユーザからのリモコン操作を受け付けると、UOPマネージャはプログラムマネージャに対してUOPイベントを立ち上げる(S202)。   It is expected that playlist information to be reproduced first is recorded in the event handler corresponding to the first event. If play list reproduction is not instructed, the player does not reproduce anything and simply waits for acceptance of a user event. In this case, it continues to wait for accepting a user event (S201). When the BD-ROM player receives a remote control operation from the user, the UOP manager raises a UOP event to the program manager (S202).

プログラムマネージャは、UOPイベントがメニューキーによるものであるかを判別し(S203)、メニューキーの場合は、シナリオプロセッサにUOPイベントを流し、シナリオプロセッサがユーザイベントを生成する(S204)。プログラムプロセッサは生成されたユーザイベントに対応するイベントハンドラを実行処理する(S205)。   The program manager determines whether the UOP event is caused by a menu key (S203). If the UOP event is a menu key, the program manager sends a UOP event to the scenario processor, and the scenario processor generates a user event (S204). The program processor executes an event handler corresponding to the generated user event (S205).

図28は、PL再生開始からVOB再生開始までの処理フローである。   FIG. 28 is a processing flow from the start of PL playback to the start of VOB playback.

前述したように、ファーストイベントハンドラまたはグローバルイベントハンドラによってプレイリスト再生が開始される(S301)。シナリオプロセッサは、再生対象のプレイリスト再生に必要な情報として、プレイリスト情報”XXX.PL”の読み込みと解析(S302)、プレイリストに対応するプログラム情報”XXX.PROG”の読み込みを行う(S303)。続いてシナリオプロセッサは、プレイリストに登録されているセル情報に基づいてセルの再生を開始する(S304)。セル再生は、シナリオプロセッサからプレゼンテーションコントローラに対して要求が出さる事を意味し、プレゼンテーションコントローラはAV再生を開始する(S305)。   As described above, play list reproduction is started by the first event handler or the global event handler (S301). The scenario processor reads and analyzes playlist information “XXX.PL” as information necessary for playback of the playlist to be played back (S302), and reads program information “XXX.PROG” corresponding to the playlist (S303). ). Subsequently, the scenario processor starts cell reproduction based on the cell information registered in the playlist (S304). Cell playback means that a request is sent from the scenario processor to the presentation controller, and the presentation controller starts AV playback (S305).

AV再生の開始(S401)を開始すると、プレゼンテーションコントローラは再生するセルに対応するVOBの情報ファイル(XXX.VOBI)を読み込み及び解析をする(S402)。プレゼンテーションコントローラは、タイムマップを使って再生開始するVOBUとそのアドレスを特定し、ドライブコントローラに読み出しアドレスを指示し、ドライブコントローラは対象となるVOBデータを読み出し(S403)、VOBデータがデコーダに送られ再生が開始される(S404)。VOB再生は、当該VOBの再生区間が終了するまで続けられ(S405)、終了すると次のセル再生S304へ移行する。次にセルが無い場合は、再生が停止する(S406)。   When the start of AV playback (S401) is started, the presentation controller reads and analyzes the VOB information file (XXX.VOBI) corresponding to the cell to be played back (S402). The presentation controller uses the time map to specify the VOBU to start playback and its address, and instructs the drive controller to specify the read address. The drive controller reads the target VOB data (S403), and the VOB data is sent to the decoder. Playback is started (S404). The VOB playback is continued until the playback section of the VOB ends (S405), and when it ends, the process proceeds to the next cell playback S304. Next, if there is no cell, playback stops (S406).

図29は、AV再生開始後からのイベント処理フローである。   FIG. 29 is an event processing flow after the start of AV playback.

BD−ROMプレーヤはイベントドリブン型のプレーヤモデルである。プレイリストの再生を開始すると、タイムイベント系、ユーザイベント系、字幕表示系のイベント処理プロセスが夫々起動され、平行してイベント処理を実行するようになる。   The BD-ROM player is an event-driven player model. When playback of a playlist is started, event processing processes of a time event system, a user event system, and a caption display system are started, and event processing is executed in parallel.

S500系の処理は、タイムイベント系の処理フローである。   The S500 system processing is a time event system processing flow.

プレイリスト再生開始後(S501)、プレイリスト再生が終了しているかを確認するステップ(S502)を経て、シナリオプロセッサは、タイムイベント発生時刻になったかを確認する(S503)。タイムイベント発生時刻になっている場合には、シナリオプロセッサはタイムイベントを生成し(S504)、プログラムプロセッサがタイムイベントを受け取りイベントハンドラを実行処理する(S505)。   After the play list reproduction is started (S501), the scenario processor confirms whether the time event occurrence time has come (S503) through a step (S502) for confirming whether the play list reproduction has been completed. If the time event occurrence time is reached, the scenario processor generates a time event (S504), and the program processor receives the time event and executes the event handler (S505).

ステップS503でタイムイベント発生時刻になっていない場合、または、ステップS504でイベントハンドラ実行処理後は再度ステップS502へ戻り、上述した処理を繰り返す。また、ステップS502でプレイリスト再生が終了したことが確認されると、タイムイベント系の処理は強制的に終了する。   If the time event occurrence time is not reached in step S503, or after the event handler execution process in step S504, the process returns to step S502 again, and the above-described process is repeated. Also, when it is confirmed in step S502 that the play list reproduction has been completed, the time event processing is forcibly terminated.

S600系の処理は、ユーザイベント系の処理フローである。   The S600 system processing is a user event system processing flow.

プレイリスト再生開始後(S601)、プレイリスト再生終了確認ステップ(S602)を経て、UOP受付確認ステップの処理に移る(S603)。UOPの受付があった場合、UOPマネージャはUOPイベントを生成し(S604)、UOPイベントを受け取ったプログラムプロセッサはUOPイベントがメニューコールであるかを確認し(S605)、メニューコールであった場合は、プログラムプロセッサはシナリオプロセッサにイベントを生成させ(S607)、プログラムプロセッサはイベントハンドラを実行処理する(S608)。   After the play list reproduction is started (S601), the play list reproduction end confirmation step (S602) is performed, and then the process proceeds to the UOP reception confirmation step (S603). When the UOP is accepted, the UOP manager generates a UOP event (S604), and the program processor that receives the UOP event checks whether the UOP event is a menu call (S605). The program processor causes the scenario processor to generate an event (S607), and the program processor executes the event handler (S608).

ステップS605でUOPイベントがメニューコールで無いと判断された場合、UOPイベントはカーソルキーまたは「決定」キーによるイベントである事を示している。この場合、現在時刻がユーザイベント有効期間内であるかをシナリオプロセッサが判断し(S606)、有効期間内である場合には、シナリオプロセッサがユーザイベントを生成し(S607)、プログラムプロセッサが対象のイベントハンドラを実行処理する(S608)。   If it is determined in step S605 that the UOP event is not a menu call, it indicates that the UOP event is an event by a cursor key or a “decision” key. In this case, the scenario processor determines whether the current time is within the user event valid period (S606), and if it is within the valid period, the scenario processor generates a user event (S607) and the program processor is targeted. The event handler is executed (S608).

ステップS603でUOP受付が無い場合、ステップS606で現在時刻がユーザイベント有効期間に無い場合、または、ステップS608でイベントハンドラ実行処理後は再度ステップS602へ戻り、上述した処理を繰り返す。また、ステップS602でプレイリスト再生が終了したことが確認されると、ユーザイベント系の処理は強制的に終了する。   If no UOP is accepted in step S603, if the current time is not in the user event valid period in step S606, or after the event handler execution process in step S608, the process returns to step S602 again to repeat the above-described process. Further, when it is confirmed in step S602 that the play list reproduction has ended, the user event processing is forcibly ended.

図30は字幕処理のフローである。   FIG. 30 is a flowchart of caption processing.

プレイリスト再生開始後(S701)、プレイリスト再生終了確認ステップ(S702)を経て、字幕描画開始時刻確認ステップに移る(S703)。字幕描画開始時刻の場合、シナリオプロセッサはプレゼンテーションコントローラに字幕描画を指示し、プレゼンテーションコントローラはイメージプロセッサに字幕描画を指示する(S704)。ステップS703で字幕描画開始時刻で無いと判断された場合、字幕表示終了時刻であるかを確認する(S705)。字幕表示終了時刻であると判断された場合は、プレゼンテーションコントローラがイメージプロセッサに字幕消去指示を行い、描画されている字幕をイメージプレーンから消去する(S706)。   After the play list reproduction is started (S701), the play list reproduction end confirmation step (S702) is followed by the subtitle drawing start time confirmation step (S703). In the case of the caption rendering start time, the scenario processor instructs the presentation controller to render captions, and the presentation controller instructs the image processor to render captions (S704). If it is determined in step S703 that it is not the caption drawing start time, it is confirmed whether it is the caption display end time (S705). If it is determined that the subtitle display end time is reached, the presentation controller instructs the image processor to delete the subtitle and deletes the drawn subtitle from the image plane (S706).

字幕描画ステップS704終了後、字幕消去ステップS706終了後、または、字幕表示終了時刻確認ステップS705で当該時刻でないことが判断された場合、ステップS702に戻り、上述した処理を繰り返す。また、ステップS702でプレイリスト再生が終了したことが確認されると、字幕表示系の処理は強制的に終了する。
(実施例2)
次に本発明の第2の実施の形態について説明する。
After the caption drawing step S704 ends, after the caption erasure step S706 ends, or when it is determined that the time is not the same at the caption display end time confirmation step S705, the process returns to step S702 and the above-described processing is repeated. Also, when it is confirmed in step S702 that the playlist reproduction has been completed, the caption display processing is forcibly terminated.
(Example 2)
Next, a second embodiment of the present invention will be described.

第2の実施の形態は、BD-ROMにおいてより豊かなインタラクティブ性を実現するため、XML・XHTMLベースの画面構成環境と、イベントおよびスクリプトを用いたプログラミング環境を導入することに関する内容である。基本的には第1の実施例に基づく内容であり、拡張または異なる部分を中心に説明する。
(XHTMLファイルを利用したコンテンツ制御)
図31は、XHTMLおよびスクリプトを利用したシナリオ制御に関わるモジュール構成、制御の流れ、イベントなどの伝わり方を示している。
The second embodiment relates to introducing an XML / XHTML-based screen configuration environment and a programming environment using events and scripts in order to realize richer interactivity in the BD-ROM. Basically, the contents are based on the first embodiment, and the description will be focused on the expansion or different portions.
(Content control using XHTML file)
FIG. 31 shows how a module configuration, control flow, event, etc. related to scenario control using XHTML and script are transmitted.

ユーザーイベント処理部は、リモコン信号などを受信し、次のモジュールにイベントを割り振るモジュールである。再生制御に関わる、再生/停止/早送り/巻き戻し/スキップ/アングル変更/音声切替/字幕切替などのイベントはAV再生制御部に送られる。ボタンフォーカスの移動(上下左右キー)や決定などのイベントは、XHTML処理部に送られる。タイトル切替に関わる、タイトル選択やメニュー呼び出しのイベントは、タイトル制御部に送られる。なお、Index Tableとは、ディスク中のタイトルを列挙したファイルであり、図18のTitle List部分を切り出して1つにしたものである。  The user event processing unit is a module that receives a remote control signal and assigns an event to the next module. Events related to playback control, such as playback / stop / fast forward / rewind / skip / angle change / audio switching / subtitle switching, are sent to the AV playback control unit. Events such as button focus movement (up / down / left / right keys) and determination are sent to the XHTML processor. Events for title selection and menu call related to title switching are sent to the title control unit. Note that the Index Table is a file listing the titles on the disc, and is obtained by cutting out the Title List portion of FIG. 18 into one.

タイトル制御部は、タイトル切替を要求されるとIndex Tableにしたがってタイトル切替を行うモジュールである。タイトルがXHTMLで定義される場合、XHTML処理部にタイトルに関連付けられたXHTMLファイルを読み込むように制御を行う。   The title control unit is a module that performs title switching according to the Index Table when title switching is requested. When the title is defined in XHTML, control is performed so that the XHTML processing unit reads the XHTML file associated with the title.

XHTML処理部はXHTMLファイルを読み込み、スタイル定義情報などにしたがって、画面を構成し、イベントに応じて関連するスクリプトを実行するモジュールである。スクリプトを実行した結果、AVの再生が必要であればAV再生制御部に対して、再生開始などの制御を行い、タイトル切替が必要であれば、タイトル制御部に対して制御を行う。   The XHTML processing unit is a module that reads an XHTML file, configures a screen according to style definition information, and executes related scripts according to events. As a result of executing the script, if AV playback is necessary, the AV playback control unit is controlled to start playback, and if title switching is necessary, the title control unit is controlled.

AV再生制御部は、イベントや指示に従ってAVストリームの再生を行い、AV再生制御部の状態が変化したときやAVストリームの再生位置が特定の位置に達した際にイベントを生成してXHTML処理部に通知する。  The AV playback control unit plays the AV stream according to the event or instruction, generates an event when the state of the AV playback control unit changes or when the playback position of the AV stream reaches a specific position, and generates an XHTML processing unit. Notify

プレーヤの状態が変化したことを通知するイベントとは、ユーザーから再生指示があり、ユーザーイベント処理部が再生開始要求のイベントをAV再生制御部に通知すると、AV再生制御部は再生を開始する。この時に、AV再生制御部が停止状態から再生状態に変化したことを通知するようなイベントである。   The event notifying that the state of the player has changed is a playback instruction from the user, and when the user event processing unit notifies the playback start request event to the AV playback control unit, the AV playback control unit starts playback. At this time, the event is such that the AV playback control unit notifies the change from the stop state to the playback state.

また、再生位置を通知するイベントとは、AVストリームの終端に達したときや、セルの境界に達したとき、あるいはマークと呼ばれるAVストリームの一時点を示すデータが存在する場合その地点に達したことを通知するイベントである。   The event for notifying the playback position is reached when the end of the AV stream is reached, when the cell boundary is reached, or when there is data indicating a point in time of the AV stream called a mark. It is an event to notify that.

図32はあるタイトルが選択されたときの動作の様子を示している。   FIG. 32 shows the behavior when a certain title is selected.

Index Tableで定義されるあるタイトルを選択した場合、タイトルに関連付けられたXHTMLファイルが呼び出される。XHTMLファイルには、再生制御などを行うスクリプトなども記述されている。 図中の例では、スクリプトファイルを間接的に参照しているが、直接XHTMLファイル内に記述することも可能である。また、説明のため、XHTMLと表記しているが、XML形式にのっとっていれば独自のタグなどを利用した形式でもよい。   When a title defined in the Index Table is selected, the XHTML file associated with the title is called. In the XHTML file, a script for performing playback control is also described. In the example in the figure, the script file is indirectly referenced, but it can also be described directly in the XHTML file. In addition, although it is described as XHTML for the sake of explanation, it may be in a format using a unique tag or the like as long as it follows the XML format.

図中のXHTMLファイル内に記述されている"onLoad"属性において、ファイルが読み込まれたときに実行されるスクリプトを規定している。この例では、XHTMLファイルが読み込まれたときに、"playTitle1"というスクリプトが呼び出され、スクリプト自体はスクリプトファイル内に記述されている。   The “onLoad” attribute described in the XHTML file in the figure defines a script that is executed when the file is read. In this example, when an XHTML file is read, a script “playTitle1” is called, and the script itself is described in the script file.

また、<event>タグを用いることにより、ユーザーイベント処理部やAV再生制御部から通知されたイベントに対応してスクリプトを実行する仕組みも提供する。この例では、"EndOfStream"イベントが発生した際、"jumpTitle2"というスクリプトを呼び出す例である。なお、"EndOfStream"イベントとは、たとえばAV再生がファイルの終端に達した場合にAV再生制御部が生成するイベントである。   In addition, by using an <event> tag, a mechanism for executing a script in response to an event notified from a user event processing unit or an AV playback control unit is also provided. In this example, when the “EndOfStream” event occurs, a script called “jumpTitle2” is called. The “EndOfStream” event is an event generated by the AV playback control unit when AV playback reaches the end of the file, for example.

図33は先ほどの例に、画面生成を加えた例である。たとえば、先ほどと同様にIndex TableからXHTMLが呼び出され、そのXHTMLはメニュー画面などを生成するための情報が書かれていた場合である。画面構成のスタイルなどはCSSなどのスタイルシートを利用してもよい。   FIG. 33 is an example in which screen generation is added to the previous example. For example, XHTML is called from the Index Table as before, and the XHTML is written with information for generating a menu screen or the like. Style sheets such as CSS may be used for the screen configuration style.

この例では、画面上に2つのボタンを配置している。それぞれのボタンが押されると対応スクリプトが実行される。あるボタンを選択すると、"onClick"属性に定義されているスクリプトが実行される。TitleAと書かれたPNGイメージファイルと関連付けられている左側のボタンを選択すると、"playA"スクリプトが実行され、タイトル1にジャンプする。同様に、TitleBボタンを選択すると、あるAVストリームが再生された後に、タイトル2にジャンプする。   In this example, two buttons are placed on the screen. When each button is pressed, the corresponding script is executed. When a certain button is selected, the script defined in the "onClick" attribute is executed. Selecting the button on the left associated with the PNG image file labeled TitleA executes the “playA” script and jumps to title 1. Similarly, when the Title B button is selected, after a certain AV stream is reproduced, the program jumps to title 2.

これまで説明した仕組みを用いることにより、XHTMLファイルを用いて、メニュー画面を表示し、何らかのボタンを選択するとコンテンツの再生を開始するような仕組みを提供することが可能となる。   By using the mechanism described so far, it is possible to provide a mechanism in which a menu screen is displayed using an XHTML file and playback of content is started when a certain button is selected.

また、スクリプト部分と、スクリプトが実行するAPIを追加することにより、より複雑な機能、たとえばインターネット接続やダウンロードサービスといったアプリケーションも実行可能である。
(リソース管理)
XHTMLファイルがメニュー画面のような画面を構成する際には、PNGイメージファイルなどのデータファイルを参照する。メニューが凝ったものになればなるほど、表示するグラフィクスは複雑なものになり、それを表示するためのイメージデータのサイズは大きくなる。
Further, by adding a script part and an API executed by the script, more complicated functions such as an application such as an Internet connection or a download service can be executed.
(Resource management)
When an XHTML file forms a screen such as a menu screen, a data file such as a PNG image file is referred to. The more sophisticated the menu, the more complicated the graphics to display and the larger the image data size for displaying it.

また、XHTMLファイルはユーザー操作によって画面を切り替えるように作ることも可能である。メニュー画面の中である項目を選ぶと、さらにサブメニューが出てくるような場合である。このような場合、メニュー画面が表示された最初の瞬間には表示されていなかったイメージデータが、あとから必要になることがある。   XHTML files can also be created to switch screens by user operation. This is the case when selecting an item in the menu screen causes a submenu to appear. In such a case, image data that was not displayed at the first moment when the menu screen is displayed may be required later.

ところが、さらにそのメニュー画面の背景では動画が表示されている、つまりAVストリームが再生されている場合、必要になってからイメージデータを読み込みに行こうとすると、ディスク上でファイルがある位置にシークを行ってから読み込んで元の位置に戻ってこなければならず、AVストリームの再生が一時的に中断してしまう可能性がある。十分な量のバッファを積んでおり、AVストリームを事前にバッファ一杯に先読みすればこのようなことも回避できるが、画像が高解像度・高画質になり、高ビットレートが必要になってきているので、かなり大容量のバッファを用意しなければならず、コストアップなどにつながり、現実的ではない。   However, if a video is displayed in the background of the menu screen, that is, if an AV stream is being played back, if you try to read the image data after it is necessary, you will seek to the position where the file is on the disc. Must be read and returned to the original position, and there is a possibility that playback of the AV stream is temporarily interrupted. A sufficient amount of buffer is loaded, and this can be avoided if the AV stream is prefetched to the full buffer in advance, but the image has high resolution and high image quality, and a high bit rate is required. Therefore, a considerably large-capacity buffer must be prepared, which leads to an increase in cost and is not realistic.

また、ハードディスクのようにシーク時間が短く、読み取り速度が速いメディアでは、少量のバッファでもその早さを利用して、AVを中断させずに他のデータを読み込むことも可能であるが、光ディスクメディアのドライブでは、シークには時間がかかり、読み込み速度もそれほど速くないため、実現にはさらなる技術の進歩が必要となる。   Also, with media that has a short seek time and a high reading speed, such as a hard disk, even with a small amount of buffer, it is possible to read other data without interrupting AV, but optical disk media With this drive, seeking takes time and reading speed is not so fast, so further technical advancement is required for realization.

そのため、一旦AV再生が開始されるとAV以外のデータを読み込みに行かないモデルにすることが望ましい。   Therefore, it is desirable to use a model in which data other than AV is not read once AV playback is started.

図34はその様な場合のデータのライフサイクルを示している。   FIG. 34 shows the data life cycle in such a case.

AVの再生が開始される前に、画面を表示するために必要なデータである、XHTMLファイルやスクリプトファイル、それらのファイルから参照されるPNGイメージファイルなどのデータファイルをバッファ上にプリロードしておく。   Before AV playback starts, data files such as XHTML files, script files, and PNG image files referenced from these files, which are necessary for displaying the screen, are preloaded on the buffer. .

一旦AVの再生が開始されると、それらのデータをディスクに読みに行くことはない。   Once AV playback is started, the data is never read to the disc.

なお、AVの再生が止まってもよい場合は、これらを考慮する必要はない。   If AV playback may be stopped, there is no need to consider them.

また、コンテンツにより、AVの再生が止まって欲しくない場合と、止まってもよい場合を区別する必要があるならば、管理情報にこの2つのパターンを区別する識別子を用意しておけばよい。   Also, if it is necessary to distinguish between cases where AV playback does not want to stop depending on the content, and cases where it may be stopped, an identifier for distinguishing these two patterns may be prepared in the management information.

XHTML処理部がデータを必要とするときは、バッファからXHTML処理部のワークメモリ上に読み込んでおき、画面の表示などに利用する。その画面が表示されなくなったときには、必要なくなったデータをワークメモリから解放し、次に必要になるデータをバッファから読み込んでくる。   When the XHTML processing unit needs data, it is read from the buffer into the work memory of the XHTML processing unit and used for displaying the screen. When the screen is not displayed, the unnecessary data is released from the work memory, and the next necessary data is read from the buffer.

なお、このワークメモリは、バッファと共有してもよい。   This work memory may be shared with the buffer.

バッファにあるメモリーは、そこに読み込まれているデータが必要なくなるまで保存しておき、必要なくなれば解放する。
(データのライフサイクル)
上で述べたように、バッファにデータを読み込んでくるタイミングと、バッファからデータを解放するタイミングを明確に決めることができれば、データのライフサイクルの管理が明確になり、管理がしやすくなる。
Save the memory in the buffer until you no longer need it, and free it when you no longer need it.
(Data life cycle)
As described above, if the timing for reading data into the buffer and the timing for releasing the data from the buffer can be clearly determined, the management of the data life cycle becomes clear and easy to manage.

データの管理がしやすくなれば、コンテンツ作成者がどのプレーヤでも必ず動作させることができるコンテンツ構成を判定しやすくなり、コンテンツ作成が容易になる。   If data management becomes easier, it becomes easier for the content creator to determine a content configuration that can be operated by any player, and content creation becomes easier.

データのライフサイクルの開始タイミングと終了タイミングは、AVの再生が停止しているタイミング、あるいは一時的に停止する、連続して再生する場合でもシームレスに再生する必要がないタイミングが望ましい。   The data life cycle start timing and end timing are preferably the timing at which the playback of the AV is stopped, or the timing at which the playback is temporarily stopped and does not need to be played back seamlessly even when continuously played back.

このようなタイミングとしては、AVストリームの切替点、XHTMLファイルで構成される画面の切替点や、タイトル切替のタイミングなどがあり、その他上記の条件を満たすのであればその他の点でもよい。   Such timing includes an AV stream switching point, a screen switching point constituted by an XHTML file, a title switching timing, and the like, and may be other points as long as the above-described conditions are satisfied.

これまで説明した構造を用いると、タイトルの切替のタイミングは、Index Tableで明示的に、かつ静的データとして参照することができ、プレーヤから制御しやすい。そのため、データのライフサイクルとは、あるタイトルが開始するときに開始し、あるタイトルが終了するときにライフサイクルも終了する。   When the structure described so far is used, the timing of title switching can be explicitly referred to as static data in the Index Table and can be easily controlled by the player. Therefore, the data life cycle starts when a certain title starts, and ends when a certain title ends.

つまり、あるタイトルが開始するときに、そのタイトルを再生するために必要な全てのデータをバッファにプリロードしておき、そのタイトルが終了するとき、たとえば他のタイトルにジャンプするときに、バッファから解放する。   That is, when a title starts, preload all the data needed to play that title into the buffer and release it from the buffer when the title ends, for example when jumping to another title To do.

図35は各モジュール間の制御の流れとデータの流れ、それに合わせたデータのライフサイクルを示したタイミングチャートである。   FIG. 35 is a timing chart showing the flow of control between each module, the flow of data, and the data life cycle corresponding thereto.

このようなライフサイクルと、バッファのサイズを規定すれば、タイトルを作成するときに、どのくらいのサイズまでイメージデータを使うことができ、どのようなアプリケーションを実行できるか定量的に判断でき、タイトルが非常に作りやすくなる。   By defining such a life cycle and buffer size, you can quantitatively determine how much image data can be used when creating a title, and what application can be executed. It becomes very easy to make.

なお、バッファの解放はタイトル制御部や、より上位のモジュールから強制的に行ってもよいし、XHTML処理部が行ってもよい。   The buffer may be released forcibly from the title control unit or a higher-level module, or may be performed by the XHTML processing unit.

ユーザー操作によりアプリケーション実行中にタイトルを切り替えられた場合、タイトル制御部は、XHTML処理部に現在実行中のスクリプトを中止し、バッファの解放を指示ずる。また、タイトルが切り替わると、次のタイトルに関連するファイルをバッファに読み込むよう指示する。
(データ読み込みの保証)
AVストリームの再生開始より前に、AVストリーム以外のファイルをバッファにプリロードしておく必要は上で述べたとおりである。その際、XHTMLファイルを解析して必要なファイルをリストアップしていては、時間がかかってしまう。
When the title is switched during the application execution by the user operation, the title control unit stops the currently executing script and instructs the XHTML processing unit to release the buffer. Also, when the title is switched, an instruction is given to read a file related to the next title into the buffer.
(Data reading guarantee)
As described above, it is necessary to preload a file other than the AV stream in the buffer before starting the reproduction of the AV stream. At that time, it takes time to analyze the XHTML file and list the necessary files.

そこで、図36(a)のように、各タイトルで必要なファイルをリストアップしたファイルリストをタイトル毎に作成し、タイトルが選択されたときに、そのタイトルリストに列挙されているファイルを全てバッファに読み込めばよい。   Therefore, as shown in Fig. 36 (a), a file list listing the files required for each title is created for each title, and when a title is selected, all the files listed in that title list are buffered. Just load it into

また、ファイル数が多い場合、ファイル毎にシークが発生すると読み込みの時間がかかってしまうため、リストアップされたファイルをディスク上の1カ所にまとめて配置することのより、無駄なシークを発生させることなく必要なファイルを全て読み込むことも可能である。   Also, if there are a large number of files, it will take a long time to read each file, so it will cause unnecessary seeks by placing the listed files in one place on the disk. It is also possible to read all necessary files without any problems.

あるいは、図36(b)のように、ファイルをディレクトリ構造ごとZIPファイルなどで1つにまとめてしまい、バッファに読み込んだあとでバッファ内でファイルを展開し、ディレクトリ構造などを構成してもよい。ファイルを1まとめにでき、ディレクトリ構造を保持できるようなフォーマットであれば、ZIPファイルでなくてもよい。また、圧縮ファイルである必要もない。   Alternatively, as shown in FIG. 36 (b), the files may be combined into a single ZIP file for each directory structure, and the files may be expanded in the buffer after being read into the buffer to configure the directory structure, etc. . If it is a format that can consolidate files and maintain the directory structure, it does not have to be a ZIP file. Also, it does not have to be a compressed file.

このような仕組みを用いることにより、タイトル毎にリソースを分かりやすく管理し、データの読み込みを効率化することにより、オーサリング時にミスが起こりにくく、プレーヤで制御しやすい仕組みを提供することが可能となる。
(メモリサイズの拡張)
これまで述べた方法では、どのメーカーが作ったプレーヤでも必要なデータを全てバッファに読み込むために、バッファのサイズを規定しておく必要がある。ところが、メモリのサイズとコストの関係は、将来どんどんよくなっていき、現在では搭載不可能と思われるサイズでも将来は比較的安価に搭載することができるかもしれない。
By using such a mechanism, it is possible to provide a mechanism that makes it easy for players to control by making it easier to make mistakes during authoring by managing resources easily for each title and making data reading more efficient. .
(Expansion of memory size)
In the method described so far, it is necessary to define the size of the buffer in order to read all necessary data into a buffer by a player made by any manufacturer. However, the relationship between memory size and cost will improve in the future, and it may be possible to install it at a relatively low cost in the future even if it seems that it cannot be installed now.

そのため、バッファのサイズを固定してしまうとプレーヤの性能が上がっても、バッファサイズがネックとなって、より高画質・高解像度のコンテンツの提供を妨げる可能性もある。   Therefore, if the buffer size is fixed, even if the performance of the player is improved, the buffer size may become a bottleneck, which may hinder the provision of content with higher image quality and higher resolution.

そこで、図37で示すように、必ずプレーヤに搭載されていることが保証されているサイズと、実際に搭載しているバッファサイズを分けて制御する方法を示す。この方法を用いると、将来、よりリッチなコンテンツが出た場合、対応するプレーヤではリッチに表示するが、対応していない場合でも、最低限の表示を確保することができるようになる。   Therefore, as shown in FIG. 37, a method of controlling the size that is guaranteed to be installed in the player and the buffer size that is actually installed separately is shown. If this method is used, if richer content appears in the future, it will be displayed richly by the corresponding player, but even if it is not compatible, a minimum display can be ensured.

コンテンツ作成者は2種類のデータを用意する。どちらも同じタイトルで読み込まれるデータであるが、どちらか一方だけ読み込まれる。図中のdata1は、どのプレーヤでも保証されているバッファのサイズ以下に収められている。そのため、どのプレーヤにおいてもdata1を読み込んで再生することが可能である。それに対してdata2は、保証されているバッファサイズよりも大きなサイズのデータである。もし、必要最小限のサイズしか搭載していないプレーヤではデータを読み込むことができない。しかし、より大きなバッファを搭載したプレーヤではこちらのデータを読み込むことができ、data1よりもdata2の方がデータサイズが大きいことを生かして、よりリッチなコンテンツを再生することが可能となる。よりリッチなコンテンツとは、イメージデータのサイズや解像度、色数が大きかったり、よりたくさんのスクリプトが含まれており、様々な追加の制御ができるようになっていてもよい。   Content creators prepare two types of data. Both are data read with the same title, but only one of them is read. In the figure, data1 is stored below the buffer size guaranteed by any player. Therefore, any player can read and play data1. On the other hand, data2 is data having a size larger than the guaranteed buffer size. If a player has only the minimum necessary size, data cannot be read. However, a player equipped with a larger buffer can read this data, and it is possible to reproduce rich content by taking advantage of the fact that data2 has a larger data size than data1. Richer content means that the image data has a larger size, resolution, number of colors, more scripts, and various additional controls.

このdata1のように、必ず保証されるバッファサイズよりも小さいサイズに抑えられたデータは、必ずディスク上に記録されている必須データである。また、保証されているバッファサイズよりは大きいが、よりリッチなコンテンツを提供できるデータは、オーサーの意図により記録しておいてもよいし、しなくてもよい、オプションデータである。   Like this data1, data that is always suppressed to a size smaller than the guaranteed buffer size is indispensable data recorded on the disc. The data that is larger than the guaranteed buffer size but can provide richer content is optional data that may or may not be recorded according to the author's intention.

このように必須データと、動作が保証されていないオプションデータを組み合わせることにより、どのプレーヤでも最低限の動作は保証され、将来においてバッファサイズが大きなプレーヤが広がれば、よりリッチなコンテンツを楽しむことができる仕組みを提供することが可能となる。  By combining essential data and optional data whose operation is not guaranteed in this way, the minimum operation is guaranteed for any player, and if a player with a large buffer size spreads in the future, richer content can be enjoyed. It is possible to provide a mechanism that can do this.

本発明を利用することにより、映像データとXMLおよびスクリプトによるAV再生制御を導入することが可能となる。特に、映像コンテンツの制作に携わる映画産業・民生機器産業において利用される可能性をもつ。   By using the present invention, it is possible to introduce AV playback control using video data, XML, and script. In particular, it has the potential to be used in the movie industry and consumer equipment industry that are involved in the production of video content.

DVDの構成図DVD configuration diagram ハイライトの構成図Highlight configuration diagram DVDでの多重化の例を示す図Diagram showing an example of multiplexing on a DVD BD−ROMのデータ階層図Data hierarchy diagram of BD-ROM BD−ROM上の論理空間の構成図Configuration diagram of logical space on BD-ROM BD−ROMプレーヤの概要ブロック図Outline block diagram of BD-ROM player BD−ROMプレーヤの構成ブロック図Configuration block diagram of BD-ROM player BD−ROMのアプリケーション空間の説明図BD-ROM application space explanatory diagram MPEGストリーム(VOB)の構成図Configuration diagram of MPEG stream (VOB) パックの構成図Pack configuration diagram AVストリームとプレーヤ構成の関係を説明する図The figure explaining the relationship between AV stream and a player structure トラックバッファへのAVデータ連続供給モデル図AV data continuous supply model diagram to track buffer VOB情報ファイル構成図VOB information file configuration diagram タイムマップの説明図Illustration of time map タイムマップを使ったアドレス情報取得方法説明図How to get address information using time map プレイリストファイルの構成図Playlist file structure diagram プレイリストに対応するプログラムファイルの構成図Configuration diagram of program files corresponding to playlists BDディスク全体管理情報ファイルの構成図BD disk overall management information file configuration diagram グローバルイベントハンドラを記録するファイルの構成図Diagram of the file that records global event handlers タイムイベントの例を説明する図Diagram explaining examples of time events ユーザイベントの例を説明する図Diagram explaining examples of user events グローバルイベントハンドラの例を説明する図Diagram explaining an example of a global event handler 仮想マシンの構成図Virtual machine configuration diagram プレーヤ変数テーブルの図Diagram of player variable table イベントハンドラ(タイムイベント)の例を示す図Figure showing an example of event handler (time event) イベントハンドラ(ユーザイベント)の例を示す図Diagram showing an example of event handler (user event) プレーヤの基本処理のフローチャートFlow chart of basic processing of player プレイリスト再生処理のフローチャートFlow chart of playlist playback processing イベント処理のフローチャートEvent processing flowchart 字幕処理のフローチャートSubtitle processing flowchart モジュール構成や制御の流れを説明する図Diagram explaining module configuration and control flow Index TableとXHTMLファイルの関係を説明する図Diagram explaining the relationship between Index Table and XHTML file ボタンが表示されるXHTMLファイルの例Example of an XHTML file that displays buttons データのライフサイクルを説明する説明図Explanatory drawing explaining the life cycle of data データのライフサイクルを説明するタイミングチャートTiming chart explaining the data life cycle データを1つにまとめる方法を説明する図Diagram explaining how to combine data into one メモリサイズの拡張を導入する方法の説明図Illustration of how to introduce memory size expansion

符号の説明Explanation of symbols

201 BDディスク
202 光ピックアップ
203 プログラム記録メモリ
204 管理情報記録メモリ
205 AV記録メモリ
206 プログラム処理部
207 管理情報処理部
208 プレゼンテーション処理部
209 イメージプレーン
210 ビデオプレーン
211 合成処理部
301 プログラム記録メモリ
302 プログラムプロセッサ
303 UOPマネージャ
304 管理情報記録メモリ
305 シナリオプロセッサ
306 プレゼンテーションコントローラ
307 クロック
308 イメージメモリ
309 トラックバッファ
310 デマルチプレクサ
311 イメージプロセッサ
312 ビデオプロセッサ
313 サウンドプロセッサ
314 イメージプレーン
315 ビデオプレーン
316 合成処理部
317 ドライブコントローラ
S101 ディスク挿入ステップ
S102 BD.INFO読み込みステップ
S103 BD.PROG読み込みステップ
S104 ファーストイベント生成ステップ
S105 イベントハンドラ実行ステップ
S201 UOP受付ステップ
S202 UOPイベント生成ステップ
S203 メニューコール判定ステップ
S204 イベント生成ステップ
S205 イベントハンドラ実行ステップ
S301 プレイリスト再生開始ステップ
S302 プレイリスト情報(XXX.PL)読み込みステップ
S303 プレイリストプログラム(XXX.PROG)読み込みステップ
S304 セル再生開始ステップ
S305 AV再生開始ステップ
S401 AV再生開始ステップ
S402 VOB情報(YYY.VOBI)読み込みステップ
S403 VOB(YYY.VOB)読み込みステップ
S404 VOB再生開始ステップ
S405 VOB再生終了ステップ
S406 次セル存在判定ステップ
S501 プレイリスト再生開始ステップ
S502 プレイリスト再生終了判定ステップ
S503 タイムイベント時刻判定ステップ
S504 イベント生成ステップ
S505 イベントハンドラ実行ステップ
S601 プレイリスト再生開始ステップ
S602 プレイリスト再生終了判定ステップ
S603 UOP受付判定ステップ
S604 UOPイベント生成ステップ
S605 メニューコール判定ステップ
S606 ユーザーイベント有効期間判定ステップ
S607 イベント生成ステップ
S608 イベントハンドラ実行ステップ
S701 プレイリスト再生開始ステップ
S702 プレイリスト再生終了判定ステップ
S703 字幕描画開始判定ステップ
S704 字幕描画ステップ
S705 字幕表示終了判定ステップ
S706 字幕消去ステップ
201 BD disc 202 optical pickup 203 program recording memory 204 management information recording memory 205 AV recording memory 206 program processing unit 207 management information processing unit 208 presentation processing unit 209 image plane 210 video plane 211 composition processing unit 301 program recording memory 302 program processor 303 UOP manager 304 Management information recording memory 305 Scenario processor 306 Presentation controller 307 Clock 308 Image memory 309 Track buffer 310 Demultiplexer 311 Image processor 312 Video processor 313 Sound processor 314 Image plane 315 Video plane 316 Composition processing unit 317 Drive controller 101 disc insertion step S102 BD. INFO reading step S103 BD. PROG reading step S104 First event generation step S105 Event handler execution step S201 UOP reception step S202 UOP event generation step S203 Menu call determination step S204 Event generation step S205 Event handler execution step S301 Playlist reproduction start step S302 Playlist information (XXX.PL ) Reading step S303 Playlist program (XXX.PROG) reading step S304 Cell playback start step S305 AV playback start step S401 AV playback start step S402 VOB information (YYY.VOBI) reading step S403 VOB (YYY.VOB) reading step S404 VOB Playback start step S405 VOB Playback end step S406 Next cell presence determination step S501 Playlist playback start step S502 Playlist playback end determination step S503 Time event time determination step S504 Event generation step S505 Event handler execution step S601 Playlist playback start step S602 Playlist playback end determination step S603 UOP reception determination step S604 UOP event generation step S605 Menu call determination step S606 User event valid period determination step S607 Event generation step S608 Event handler execution step S701 Playlist reproduction end determination step S702 Playlist reproduction end determination step S703 Subtitle drawing start determination step S704 Subtitle rendering step S7 05 Subtitle display end determination step S706 Subtitle deletion step

Claims (8)

複数のタイトルと宣言型言語で記述されたアプリケーションとが記録された記録媒体であって、前記アプリケーションがメモリ上に生存できる期間が予め規定されていることを特徴とする情報記録媒体。 An information recording medium in which a plurality of titles and an application described in a declarative language are recorded, and a period in which the application can survive in a memory is defined in advance. 前記期間はタイトル毎に管理されることを特徴とする請求項1記載の情報記録媒体。 2. The information recording medium according to claim 1, wherein the period is managed for each title. 前記記録媒体には、アプリケーションを構成するデータ及びスクリプトを格納したアーカイブファイルが記録されており、前記各タイトルを生存期間とするアプリケーションは、前記アプリケーションを格納したアーカイブファイルとタイトルを一意に示すタイトル番号との組み合わせにより表現されることを特徴とする請求項2記載の情報記録媒体。 In the recording medium, an archive file storing data and scripts constituting the application is recorded, and an application having each title as a lifetime is a title number uniquely indicating the archive file storing the application and the title. 3. The information recording medium according to claim 2, wherein the information recording medium is expressed by a combination thereof. 前記アーカイブファイルとは、1つのタイトルに帰属するアプリケーションを構成するデータ及びスクリプトを1つのファイルにまとめることを特徴とする、請求項3記載の情報記録媒体。 4. The information recording medium according to claim 3, wherein the archive file combines data and scripts constituting an application belonging to one title into one file. デジタルストリームを含むタイトルの再生とアプリケーションの実行とを同時に行う再生装置であって、複数タイトル間の分岐を制御するタイトル制御部と、1つのタイトルに帰属するデジタルストリームを再生する再生制御部と、タイトルの分岐が発生する度に、分岐先タイトルを生存区間としたアプリケーションの起動制御、及び、分岐先タイトルを生存区間としていないアプリケーションの終了制御を行うアプリケーション制御部とを備えることを特徴とする再生装置。 A playback device that simultaneously performs playback of a title including a digital stream and execution of an application, a title control unit that controls branching between a plurality of titles, a playback control unit that plays back a digital stream belonging to one title, A playback characterized by having an application control unit that controls the start of an application that uses a branch destination title as a life cycle and the end control of an application that does not use a branch destination title as a life cycle every time a title branch occurs apparatus. デジタルストリームを含むタイトルの再生とアプリケーションの実行とを同時に行う再生装置であって、複数タイトル間の分岐を制御するタイトル制御部と、1つのタイトルに帰属するデジタルストリームを再生する再生制御部と、タイトルの分岐が発生する度に、分岐先タイトルを生存区間としたアプリケーションをメモリに読み込み、分岐先タイトルを生存区間としていないアプリケーションをメモリから解放するデータ管理部とを備えることを特徴とする再生装置。 A playback device that simultaneously performs playback of a title including a digital stream and execution of an application, a title control unit that controls branching between a plurality of titles, a playback control unit that plays back a digital stream belonging to one title, A playback apparatus comprising: a data management unit that reads an application having a branch destination title as a life cycle into a memory each time a title branch occurs and releases an application that does not have a branch destination title as a life cycle from the memory . デジタルストリームを含むタイトルの再生とアプリケーションの実行とを同時に実行させるプログラムであって、タイトルの分岐が発生する度に分岐先タイトルを生存区間としたアプリケーションをメモリに読み込み、分岐先タイトルを生存区間としていないアプリケーションをメモリから解放する制御をコンピュータに行わせることを特徴とするプログラム。 A program that executes playback of a title including a digital stream and execution of an application at the same time. Whenever a title branch occurs, an application with the branch destination title as the life cycle is read into the memory, and the branch destination title is set as the life cycle. A program for causing a computer to perform control to release an unoccupied application from memory. デジタルストリームを含むタイトルの再生とアプリケーションの実行とを同時に実行させる再生方法であって、タイトルの分岐が発生する度に分岐先タイトルを生存区間としたアプリケーションをメモリに読み込み、分岐先タイトルを生存区間としていないアプリケーションをメモリから解放する制御を行うことを特徴とする再生方法。 A playback method that simultaneously executes playback of a title including a digital stream and execution of an application, and whenever a branch of a title occurs, an application with the branch destination title as the live range is read into the memory, and the branch destination title is set as the live range A reproduction method comprising performing control to release an application that is not defined from the memory.
JP2005042000A 2005-02-18 2005-02-18 Information recording medium considering resource management of reproduction control environment described in declaration language, and device and method for reproducing Pending JP2006228339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005042000A JP2006228339A (en) 2005-02-18 2005-02-18 Information recording medium considering resource management of reproduction control environment described in declaration language, and device and method for reproducing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005042000A JP2006228339A (en) 2005-02-18 2005-02-18 Information recording medium considering resource management of reproduction control environment described in declaration language, and device and method for reproducing

Publications (1)

Publication Number Publication Date
JP2006228339A true JP2006228339A (en) 2006-08-31

Family

ID=36989581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005042000A Pending JP2006228339A (en) 2005-02-18 2005-02-18 Information recording medium considering resource management of reproduction control environment described in declaration language, and device and method for reproducing

Country Status (1)

Country Link
JP (1) JP2006228339A (en)

Similar Documents

Publication Publication Date Title
JP6541853B2 (en) Reproducing apparatus and reproducing method
JP4197725B2 (en) Image encoding apparatus, image encoding method, and recording method on recording medium
JP6272534B2 (en) Reproduction method and reproduction apparatus
JP2007036663A (en) Information recording medium in consideration of compatibility, recording apparatus thereof, recording method, and recording program
JP2006277389A (en) Information recording medium, and reproduction device and reproduction method therefor
JP5295572B2 (en) Information recording medium and information recording medium reproduction system
JP2007133938A (en) Information recording medium with flag showing propriety of audio mixing output, and device and method for reproducing the same
JP2007011899A (en) Information recording medium considering start-up condition of reproduction control environment described by declarative language, reproduction device and reproduction method therefor
JP6445933B2 (en) Recording medium, reproducing apparatus and method thereof
JP2007018623A (en) Information recording medium and reproducing apparatus and reproducing method therefor
JP2007048383A (en) Information recording medium, its recording device, recording method, and recording program
JP2006244654A (en) Printing method from disk player
WO2006090664A1 (en) Information recording medium, reproduction device, and reproduction method
JP2006087081A (en) Picture coding apparatus, and picture decoding apparatus
JP6591202B2 (en) Recording medium, reproducing apparatus and method thereof
JP2006244655A (en) Reproducing apparatus and reproduction method
JP2006228339A (en) Information recording medium considering resource management of reproduction control environment described in declaration language, and device and method for reproducing
JP2007235185A (en) Information recording medium appropriate to random access, and recording/reproducing apparatus and recording/reproducing method thereof
WO2006092996A1 (en) Recording medium, reproducing apparatus and reproducing method
JP2006236453A (en) Information recording medium and playback apparatus therefor, and playback method
WO2016009606A1 (en) Recording medium, reproduction device and method therefor
JP2007012217A (en) Information recording medium, and apparatus and method for reproducing same
JP2019067481A (en) Storage medium
WO2016021118A1 (en) Recording medium, reproduction device, and reproduction method
JP2006013726A (en) Information recording medium, and recording / reproducing apparatus and recording / reproducing method thereof