[go: up one dir, main page]

CN100545931C - Method and apparatus for reproducing data from data storage medium having information for controlling buffer status of markup document - Google Patents

Method and apparatus for reproducing data from data storage medium having information for controlling buffer status of markup document Download PDF

Info

Publication number
CN100545931C
CN100545931C CNB2003801014603A CN200380101460A CN100545931C CN 100545931 C CN100545931 C CN 100545931C CN B2003801014603 A CNB2003801014603 A CN B2003801014603A CN 200380101460 A CN200380101460 A CN 200380101460A CN 100545931 C CN100545931 C CN 100545931C
Authority
CN
China
Prior art keywords
markup
markup document
document
buffer
signal
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.)
Expired - Fee Related
Application number
CNB2003801014603A
Other languages
Chinese (zh)
Other versions
CN1705993A (en
Inventor
郑铉权
许丁权
高祯完
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.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics 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 Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Publication of CN1705993A publication Critical patent/CN1705993A/en
Application granted granted Critical
Publication of CN100545931C publication Critical patent/CN100545931C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

An apparatus for reproducing AV data using a markup document in an interactive mode, comprising: a buffer for buffering the markup document; and a buffer manager for managing the preloading of the markup document and providing buffer status information of the buffer in response to the report signal. The markup document can be provided via a network or from a data storage medium that controls information of a buffer state of the markup document.

Description

用于从具有用于控制标记文档的缓冲状态的信息的数据存储介质再现数据的方法和设备 Method and apparatus for reproducing data from a data storage medium having information for controlling the buffering status of a markup document

技术领域 technical field

本发明涉及一种具有用于控制标记文档的缓冲状态的信息的数据存储介质,尤其涉及一种用于从该数据存储介质中再现数据的方法和设备。The present invention relates to a data storage medium with information for controlling the buffering status of a markup document, and more particularly to a method and device for reproducing data from the data storage medium.

背景技术 Background technique

具有标记文档来以交互模式再现其内容的交互DVD已在市场中商业化。通常,交互DVD上记录的内容被以两种模式再现。两种模式之一是视频模式,其中内容被以与数据记录在一般DVD上相同的方式而被显示。另一模式是交互模式,其中,内容通过由交互DVD的标记文档定义的显示窗口而被显示。Interactive DVDs with tagged files to reproduce their contents in an interactive mode have been commercialized in the market. Generally, content recorded on an interactive DVD is reproduced in two modes. One of the two modes is a video mode in which content is displayed in the same manner as data is recorded on a general DVD. Another mode is the interactive mode, in which the content is displayed through a display window defined by the interactive DVD's markup document.

在用户选择交互模式的情况下,安装在DVD播放器中的网络浏览器显示记录在交互DVD上的标记文档。通过由标记文档定义的显示窗口显示用户选择的内容。例如,在内容是电影字幕的情况下,电影被显示在屏幕上的显示窗口中,并且各种其它信息,例如情节、大纲、和男演员与女演员的照片可被显示在屏幕的剩余部分。这种其它信息包括图像文件和文本文件。In case the user selects the interactive mode, the web browser installed in the DVD player displays the markup document recorded on the interactive DVD. Displays user-selected content through a display window defined by a markup document. For example, in the case where the content is a movie subtitle, the movie is displayed in a display window on the screen, and various other information such as plot, outline, and photos of actors and actresses may be displayed on the remaining part of the screen. Such other information includes image files and text files.

图1显示其上记录有音视频(AV)数据的交互DVD。AV数据和多个标记文档被以MPGE比特流的形式记录在交互DVD的轨道上。在此,标记文档可包括包括将被插入到标记文档中的各种图像文件或图形文件的标记资源。FIG. 1 shows an interactive DVD on which audio-visual (AV) data is recorded. AV data and a plurality of markup files are recorded on the tracks of the interactive DVD in the form of MPGE bit streams. Here, the markup document may include markup resources including various image files or graphic files to be inserted into the markup document.

图2示出从图1的交互DVD数据不连续的再现。即,图2显示用于缓冲AV数据的缓冲存储器的占用、和用于高速缓冲网络资源的高速缓中存储器的占用。FIG. 2 shows discontinuous reproduction of interactive DVD data from FIG. 1. FIG. That is, FIG. 2 shows the occupancy of the buffer memory for buffering AV data and the occupancy of the cache memory for caching network resources.

参照图1和2,将描述将AV数据装载到存储器中并且显示AV数据的方法。拾取器装置搜索标记文档STARTUP.HTM并且将搜索到的标记文档STARTUP.HTM装载到高速缓冲存储器中。此后,STARTUP.HTM被激活。此刻,用户选择的AV数据①被装载到缓冲存储器中,并且其后被显示。此后,AV数据②被装载到缓冲存储器中并且其后被显示。在AV数据②的缓冲被完成的情况下,拾取器装置跳到记录有AV数据③的交互DVD上的位置并且开始缓冲AV数据③。此刻,用户可请求标记文档④A.HTM。在此情况下,拾取器装置停止缓冲AV数据③,搜索标记文档④A.HTM,并且将标记文档④A.HTM装载到高速缓冲存储器中。在搜索标记文档④A.HTM并且将其装载到高速缓冲存储器中时,AV数据③被禁止显示。因此,在缓冲存储器中可被缓冲的数据量被急剧减小如同AV数据③仍然占用缓冲存储器中的空间。在标记文档④A.HTM被激活并且AV数据③的缓冲被完成的情况下,AV数据⑤被缓冲。因此,拾取器装置跳到记录有AV数据⑥的位置。在上述方法中,目前已被缓冲的全部数据可能消失。换句话说,在与标记文档同步的从传统交互DVD的DVD-视频图像的再现被请求的情况下,例如,在每当屏幕上出现特定男演员或女演员时他的或她的个人历史的显示被请求的情况下,拾取器装置停止缓冲AV数据并且开始搜索并且高速缓冲相关标记文档,并且因此图像可被不连续地再现。Referring to FIGS. 1 and 2, a method of loading AV data into a memory and displaying the AV data will be described. The picker device searches the markup document STARTUP.HTM and loads the searched markup document STARTUP.HTM into the cache memory. Thereafter, STARTUP.HTM is activated. At this point, the AV data ① selected by the user is loaded into the buffer memory, and thereafter displayed. Thereafter, AV data ② is loaded into the buffer memory and displayed thereafter. In the case where the buffering of the AV data ② is completed, the pickup device jumps to the position on the interactive DVD where the AV data ③ is recorded and starts buffering the AV data ③. At this point, the user may request a markup document ④A.HTM. In this case, the pickup device stops buffering the AV data ③, searches for the markup file ④A.HTM, and loads the markup file ④A.HTM into the cache memory. When the markup file ④A.HTM is searched for and loaded into the cache memory, the AV data ③ is prohibited from being displayed. Therefore, the amount of data that can be buffered in the buffer memory is drastically reduced as AV data ③ still occupies space in the buffer memory. In the case where the markup file ④A.HTM is activated and the buffering of the AV data ③ is completed, the AV data ⑤ is buffered. Therefore, the pickup device jumps to the position where the AV data ⑥ is recorded. In the above method, all data that has been buffered so far may disappear. In other words, where reproduction of a DVD-Video image from a conventional interactive DVD in synchronization with a markup file is requested, for example, in the context of his or her personal history whenever a particular actor or actress appears on the screen In case display is requested, the pickup device stops buffering AV data and starts searching and caching relevant markup files, and thus images can be reproduced discontinuously.

发明内容 Contents of the invention

因此,本发明的一方面在于提供一种包括控制信息以控制用于以交互模式再现AV数据的标记文档的缓冲状态的数据存储介质、和一种从该数据存储介质再现AV数据的设备和方法。Accordingly, an aspect of the present invention is to provide a data storage medium including control information to control a buffering state of a markup file for reproducing AV data in an interactive mode, and an apparatus and method for reproducing AV data from the data storage medium .

本发明的其它方面和/或优点将在下面部分地阐述,并且将从该描述中部分地变得清楚,或可通过本发明的实践而被了解。Other aspects and/or advantages of the invention will be set forth in part below and, in part, will be apparent from the description, or may be learned by practice of the invention.

为了实现本发明的上述和/或其它方面,提供一种用于以交互模式利用标记文档再现AV数据的设备,包括:缓冲器,用于缓冲标记文档;以及缓冲器管理器,用于管理缓冲器以预装载标记文档,并且响应于报告信号输出缓冲器的缓冲状态信息。In order to achieve the above and/or other aspects of the present invention, there is provided an apparatus for reproducing AV data using a markup file in an interactive mode, including: a buffer for buffering a markup file; and a buffer manager for managing buffering The buffer marks the document with preload, and outputs buffer status information of the buffer in response to the report signal.

该设备还可包括内容解码器,用于解释标记文档并且输出报告信号,其中,缓冲器管理器响应于报告信号将缓冲器的缓冲状态信息通知内容解码器。内容解码器可使用应用程序接口(API)来产生报告信号。The apparatus may further include a content decoder for interpreting the markup document and outputting a report signal, wherein the buffer manager notifies the content decoder of buffering state information of the buffer in response to the report signal. The content decoder can use an application programming interface (API) to generate the reporting signal.

API可用于通知内容解码器标记文档的预装载成功或失败、或者标记文档是否仍然正在被装载。API在标记文档的预装载成功的情况下可返回值0,在标记文档的预装载失败的情况下返回值1,并且标记文档仍然正在被装载的情况下返回值2。缓冲器管理器可利用API通知内容解码器标记文档的缓冲状态。The API may be used to notify the Content Decoder that the preloading of the markup document has succeeded or failed, or whether the markup document is still being loaded. The API may return a value of 0 if the preload of the markup document was successful, a value of 1 if the preload of the markup document failed, and a value of 2 if the markup document is still being loaded. The buffer manager can use the API to inform the content decoder of the buffering status of the marked document.

内容解码器可利用包括标记文档的文件路径和属性的至少一个作为参数的API产生报告信号。该API可为[obj].isCached(URL,resType)API,其中,URL是表示标记文档的文件路径的参数,并且resType是表示标记文档的属性的参数。The content decoder may generate the report signal using an API including at least one of a file path and an attribute of the markup document as parameters. The API may be an [obj].isCached(URL, resType) API, where URL is a parameter representing the file path of the markup document, and resType is a parameter representing an attribute of the markup document.

缓冲器管理器可响应于取信号而将标记文档预装载到缓冲器中。内容解码器可输出取信号,并且缓冲器管理器可将包括在取信号中的预装载标记文档的命令是否已被成功接收通知内容解码器。内容解码器可使用API来产生取信号。The buffer manager may preload the markup document into the buffer in response to the fetch signal. The content decoder may output a fetch signal, and the buffer manager may notify the content decoder whether the command to preload the markup document included in the fetch signal has been successfully received. Content decoders can use APIs to generate fetch signals.

内容解码器可利用API检查是否完成了标记文档的预装载。API可为[obj].allDone API。[obj].allDone API可在标记文档的预装载被完成的情况下将值真返回到内容解码器,并且在未完成标记文档的预装载的情况下将值假返回到内容解码器。The content decoder can use the API to check whether the preloading of the markup document is complete. API can be [obj].allDone API. The [obj].allDone API may return a value TRUE to the content decoder if preloading of the markup document is complete, and return a value FALSE to the content decoder if preloading of the markup document is not complete.

缓冲器管理器可响应于再现信号将标记文档从缓冲器传输到内容解码器。The buffer manager may transmit the markup document from the buffer to the content decoder in response to the rendering signal.

内容解码器可将释放信号输出到缓冲器管理器,表示响应于再现信号的从缓冲器中取出的标记文档未被使用。The content decoder may output a release signal to the buffer manager indicating that the marked document fetched from the buffer in response to the rendering signal is not used.

缓冲器管理器可响应于从内容解码器中输出的丢弃信号(discard signal)从缓冲器中删除标记文档。内容解码器可使用丢弃API产生丢弃信号。The buffer manager may delete the marked document from the buffer in response to a discard signal output from the content decoder. A content decoder may generate a discard signal using the discard API.

内容解码器可使用progressNameOfFile API来产生报告信号以确定当前正被预装载的标记文档的文件名。内容解码器可使用progressLengthOfFileAPI来产生报告信号以确定多少当前被预装载的标记文档已被预装载。内容解码器可使用remainLengthOfFile API来产生报告信号以确定仍有多少当前被预装载的标记文档将被预装载。内容解码器可使用totalLoadingSize API来产生报告信号以确定将被预装载的标记文档的总量。内容解码器可使用remainLoadingSize API来产生报告信号以确定标记文档的总量中的多少仍然将被预装载。A content decoder may use the progressNameOfFile API to generate a report signal to determine the filename of the markup document currently being preloaded. A content decoder may use the progressLengthOfFile API to generate report signals to determine how many currently preloaded markup files have been preloaded. Content decoders can use the remainLengthOfFile API to generate report signals to determine how many currently preloaded markup files are still to be preloaded. A content decoder may use the totalLoadingSize API to generate a report signal to determine the total amount of markup documents to be preloaded. A content decoder may use the remainLoadingSize API to generate a report signal to determine how much of the total amount of marked up documents will still be preloaded.

为了实现本发明的上述和/或另一方面,提供另一种用于控制缓冲标记文档的缓冲器来以交互模式再现AV数据的设备,包括:缓冲器管理器,用于管理缓冲器以预装载标记文档,并且输出包括标记文档的缓冲信息的缓冲器的信息,其中,缓冲信息包括表示标记文档的预装载成功的信息、表示标记文档的预装载失败的信息、和表示标记文档的预装载仍然在进行的信息。In order to achieve the above and/or another aspect of the present invention, there is provided another device for controlling a buffer for buffering a markup file to reproduce AV data in an interactive mode, including: a buffer manager for managing the buffer to load the markup document, and output buffer information including buffer information of the markup document, wherein the buffer information includes information indicating that the preloading of the markup document was successful, information indicating that the preloading of the markup document failed, and information indicating that the markup document The preloading information is still in progress.

缓冲器的信息还可包括表示预装载标记文档的命令是否已被成功接收的信息。缓冲器的信息还可包括表示标记文档的预装载是否完成的信息。The information of the buffer may also include information indicating whether the command to preload the markup document has been successfully received. The information of the buffer may also include information indicating whether the preloading of the markup document is completed.

为了实现本发明的上述和/或其它方面,提供另一种用于以交互模式使用标记文档记录和/或再现AV数据的设备,包括:AV缓冲器,用于缓冲AV数据;AV再现引擎,用于解码AV数据;增强音视频(ENAV)缓冲器,用于预装载标记文档来以交互模式再现AV数据;ENAV引擎,用于识别标记文档的缓冲状态信息并且解码该标记文档;以及用于获得标记文档的装置。In order to achieve the above and/or other aspects of the present invention, there is provided another device for recording and/or reproducing AV data using a markup file in an interactive mode, comprising: an AV buffer for buffering AV data; an AV reproduction engine, for decoding AV data; an Enhanced Audio Video (ENAV) buffer for preloading a markup document to reproduce AV data in interactive mode; an ENAV engine for recognizing the buffer status information of a markup document and decoding the markup document; and A device for obtaining marked-up documents.

该设备响应于从数据存储介质获得标记文档可使用分块的I/O方法、和响应于从网络获得标记文档可使用非分块的I/O方法。The device may use a chunked I/O method in response to obtaining the markup document from the data storage medium and may use a non-blocked I/O method in response to obtaining the markup document from the network.

为了实现本发明的上述和/或其它方面,提供一种使用标记文档以交互模式再现AV数据的方法,该方法包括:缓冲标记文档以预装载标记文档,以及响应于报告信号输出标记文档的缓冲状态信息。该方法还可包括使用预装载的标记文档以交互模式再现AV数据。In order to achieve the above and/or other aspects of the present invention, there is provided a method of reproducing AV data in an interactive mode using a markup file, the method including: buffering the markup file to preload the markup file, and outputting a message of the markup file in response to a report signal Buffer status information. The method may further include reproducing the AV data in an interactive mode using the preloaded markup file.

缓冲状态信息的输出可包括:响应于标记文档被成功预装载返回值0,响应于标记文档未被成功预装载返回值1,以及响应于标记文档仍然在被预装载返回值2。The output of the buffer status information may include: returning a value of 0 in response to the markup document being preloaded successfully, returning a value of 1 in response to the markup document not being preloaded successfully, and returning a value of 2 in response to the markup document being still being preloaded.

为了实现本发明的上述和/或其它方面,提供另一种使用标记文档以交互模式再现AV数据的方法,该方法包括:使用取信号发出预装载标记文档的命令,以及接收表示是否已使用取信号来成功发送预装载标记文档的命令的响应。该方法还可包括使用预装载的标记文档以交互模式再现AV数据。In order to achieve the above and/or other aspects of the present invention, there is provided another method for reproducing AV data in interactive mode using a markup file, the method comprising: issuing a command to preload a markup file using a fetch signal, and receiving an indication indicating whether the Fetches a signal to successfully send the response to the command to preload the markup document. The method may further include reproducing the AV data in an interactive mode using the preloaded markup file.

为了实现本发明的上述和/或其它方面,提供另一种使用标记文档以交互模式再现AV数据的方法,该方法包括:使用应用程序接口(API)查询是否完成标记文档的预装载;以及接收响应于标记文档的预装载被完成的返回值真、和响应于标记文档的预装载未被完成的返回值假。该方法还可包括使用预装载的标记文档以交互模式再现AV数据。In order to achieve the above and/or other aspects of the present invention, there is provided another method for reproducing AV data in an interactive mode using a markup file, the method comprising: using an application program interface (API) to inquire whether preloading of the markup file is completed; and A return value of TRUE is received in response to preloading of the markup document being completed, and a return value of FALSE in response to preloading of the markup document not being completed. The method may further include reproducing the AV data in an interactive mode using the preloaded markup file.

为了实现本发明的上述和/或其它方面,提供一种管理在以交互模式再现AV数据中使用的标记文档的方法,该方法包括:响应于取信号缓冲标记文档以预装载标记文档;响应于报告信号输出标记文档的缓冲状态;响应于检索信号对标记文档分级(staging)以解码;以及响应于丢弃信号删除标记文档。In order to achieve the above and/or other aspects of the present invention, there is provided a method of managing a markup file used in reproducing AV data in an interactive mode, the method comprising: buffering the markup file in response to a fetch signal to preload the markup file; outputting a buffering status of the marked document in response to the report signal; staging the marked document for decoding in response to the retrieval signal; and deleting the marked document in response to the discard signal.

该方法还可包括响应于释放信号将标记文档标记为不再使用的文档。该方法还可包括发出表示包括在取信号中的预装载标记文档的命令是否已被成功发送的响应。The method may also include marking the marked document as a document that is no longer in use in response to the release signal. The method may further include issuing a response indicating whether the command to preload the markup document included in the fetch signal was successfully sent.

缓冲状态的输出可包括返回表示标记文档的预装载是否已被完成的信号。缓冲状态的输出可包括返回表示标记文档的预装载是成功还是失败、或标记文档的预装载是否仍在进行的信号。The output of the buffer status may include returning a signal indicating whether preloading of the markup document has been completed. The output of the buffer status may include returning a signal indicating whether the preloading of the marked-up document succeeded or failed, or whether the preloading of the marked-up document is still in progress.

为了实现本发明的上述和/或其它方面,提供另一种管理在以交互模式再现AV数据中使用的标记文档的方法,该方法包括:产生用于预装载标记文档的取信号;产生用于确定标记文档的缓冲状态的报告信号;产生用于对标记文档分级以解码的检索信号;以及产生用于删除标记文档的丢弃信号。In order to achieve the above and/or other aspects of the present invention, there is provided another method of managing a markup file used in reproducing AV data in an interactive mode, the method comprising: generating a fetch signal for preloading a markup file; A report signal for determining the buffer status of the marked document; a retrieve signal for ranking the marked document for decoding; and a discard signal for deleting the marked document.

该方法还可包括产生响应于标记文档不再被放映的释放信号。报告信号的产生可包括使用应用程序接口(API)产生报告信号来确定标记文档的预装载是否成功、标记文档是否仍在预装载、和标记文档的预装载是否已被完成中的一个或多个。The method may also include generating a release signal responsive to marking that the document is no longer to be shown. The generating of the report signal may include generating the report signal using an Application Programming Interface (API) to determine one of whether the preloading of the markup document was successful, whether the markup document is still preloading, and whether the preloading of the markup document has been completed or more.

为了实现本发明的上述和/或其它方面,提供另一种计算机可读介质,其以由计算机执行的用于实现上述的一个或多个方法的操作指令编码。In order to realize the above and/or other aspects of the present invention, another computer-readable medium is provided, which is encoded with operation instructions executed by a computer for implementing one or more methods above.

为了实现本发明的上述和/或其它方面,提供一种使用标记文档以交互模式处理AV数据的计算机系统中的方法,该方法包括:控制内容解码器以产生用于确定标记文档的缓冲状态信息的报告信号;以及,响应于报告信号,控制缓冲器管理器发出表示标记文档的预装载是成功还是失败、或标记文档的预装载是否仍在进行的响应。In order to achieve the above and/or other aspects of the present invention, there is provided a method in a computer system for processing AV data in an interactive mode using a markup document, the method comprising: controlling a content decoder to generate buffer status information for determining the markup document and, in response to the report signal, controlling the buffer manager to issue a response indicating whether the preloading of the markup document succeeded or failed, or whether the preloading of the markup document is still in progress.

为了实现本发明的上述和/或其它方面,提供另一种使用标记文档以交互模式处理AV数据的计算机系统中的方法,该方法包括:控制内容解码器以产生用于预装载标记文档的取信号;以及响应于取信号,控制缓冲器管理器发出表示预装载标记文档的命令是否已被成功接收的响应。In order to achieve the above and/or other aspects of the present invention, there is provided another method in a computer system for processing AV data in an interactive mode using a markup document, the method comprising: controlling a content decoder to generate a preloaded markup document fetching a signal; and in response to the fetching, controlling the buffer manager to issue a response indicating whether the command to preload the marked-up document was successfully received.

为了实现本发明的上述和/或其它方面,提供另一种使用标记文档以交互模式处理AV数据的计算机系统中的方法,该方法包括:控制内容解码器以产生用于确定标记文档的预装载是否完成的查询;以及响应于查询,控制缓冲器管理器发出表示标记文档的预装载是否完成的响应。In order to achieve the above and/or other aspects of the present invention, there is provided another method in a computer system for processing AV data in an interactive mode using a markup document, the method comprising: controlling a content decoder to generate a preloaded and in response to the query, the control buffer manager sends a response indicating whether the preloading of the marked document is complete.

为了实现本发明的上述和/或其它方面,提供一种数据存储介质,包括:AV数据;标记文档,其被提供来以交互模式再现AV数据;以及控制信息,其被提供以识别将被预装载的标记文档的缓冲状态信息。In order to achieve the above and/or other aspects of the present invention, there is provided a data storage medium including: AV data; a markup file provided to reproduce the AV data in an interactive mode; and control information provided to identify the Buffering status information for loaded markup documents.

控制信息可包括产生用于识别标记文档的缓冲状态的报告信号的应用程序接口(API)。API可为产生报告信号的[obj].isCached(URL,resType)API,其中,URL为表示标记文档的文件路径的参数,并且resType为表示标记文档的属性的参数。The control information may include an application programming interface (API) that generates a reporting signal identifying the buffering status of the markup document. The API may be an [obj].isCached(URL, resType) API that generates a report signal, where URL is a parameter representing the file path of the markup document, and resType is a parameter representing an attribute of the markup document.

控制信息可包括响应于标记文档的预装载成功返回值0、响应于标记文档的预装载失败返回值1、响应于标记文档的预装载仍在进行的值2返回API。The control information may include returning a value of 0 in response to successful preloading of the marked-up document, returning a value of 1 in response to a failed preloading of the marked-up document, and returning a value of 2 in response to the pre-loading of the marked-up document still in progress.

控制信息可包括产生用于发出预装载标记文档的命令的取信号的API。API可返回表示是否已使用取信号成功地发送预装载标记文档的命令的响应。The control information may include APIs that generate signals for issuing commands to preload markup documents. The API may return a response indicating whether the command to preload the markup document was successfully sent using signaling.

控制信息可包括用于确定标记文档的预装载是否被完成的API。The control information may include an API for determining whether preloading of markup documents is completed.

为了实现本发明的上述和/或其它方面,提供一种数据存储介质,其以由计算机执行的用于实现使用标记文档以交互模式再现AV数据的方法的程序代码编码,该数据存储介质包括:第一程序代码,用于执行标记文档的缓冲以预装载标记文档;以及第二程序代码,用于输出表示标记文档的缓冲是否被完成的信息。In order to achieve the above and/or other aspects of the present invention, there is provided a data storage medium encoded with program codes executed by a computer for realizing a method for reproducing AV data in an interactive mode using a markup document, the data storage medium comprising: A first program code for performing buffering of the markup document to preload the markup document; and a second program code for outputting information indicating whether the buffering of the markup document is completed.

为了实现本发明的上述和/或其它方面,提供另一种数据存储介质,其以由计算机执行的用于实现使用标记文档以交互模式再现AV数据的方法的程序代码编码,该数据存储介质包括:第一程序代码,其使用取信号发出预装载标记文档的命令;以及第二程序代码,其通知是否使用取信号成功发出预装载标记文档的命令。In order to achieve the above and/or other aspects of the present invention, there is provided another data storage medium encoded with a program code executed by a computer for implementing a method for reproducing AV data in an interactive mode using a markup document, the data storage medium comprising : first program code that issues a command to preload a markup document using a fetch signal; and second program code that notifies whether the command to preload a markup document was successfully issued using a fetch signal.

为了实现本发明的上述和/或其它方面,提供另一种数据存储介质,其以由计算机执行的用于实现使用标记文档以交互模式再现AV数据的方法的程序代码编码,该数据存储介质包括:第一程序代码,其被用于内容解码器以通过使用应用程序接口(API)来检查缓冲器管理器是否已经完成标记文档的预装载;以及第二程序代码,其通过使用API响应于标记文档的预装载由缓冲器管理器成功完成来将值真返回到内容解码器,否则,将值假返回到内容解码器。In order to achieve the above and/or other aspects of the present invention, there is provided another data storage medium encoded with a program code executed by a computer for implementing a method for reproducing AV data in an interactive mode using a markup document, the data storage medium comprising : the first program code, which is used for the content decoder to check whether the buffer manager has completed the preloading of the markup document by using the application program interface (API); and the second program code, which responds to A value TRUE is returned to the Content Decoder on success by the Buffer Manager for preloading of the Markup Document, otherwise a value FALSE is returned to the Content Decoder.

附图说明 Description of drawings

通过下面结合附图进行的对本发明的描述,本发明的上述和/或其他方面和优点将会变得更加清楚,其中:The above and/or other aspects and advantages of the present invention will become more clear through the following description of the present invention in conjunction with the accompanying drawings, wherein:

图1是示出其上记录有AV数据的交互DVD的示图;FIG. 1 is a diagram showing an interactive DVD on which AV data is recorded;

图2是示出从图1中示出的交互DVD中的不连续的数据再现的示图;FIG. 2 is a diagram showing discontinuous data reproduction from the interactive DVD shown in FIG. 1;

图3是用于从执行关于标记文档的预装载或删除操作的数据存储介质中再现数据的设备的方框图;3 is a block diagram of an apparatus for reproducing data from a data storage medium performing a preload or delete operation on a marked document;

图4是示出支持关于标记文档的预装载或删除的DVD 300的目录结构的示图;FIG. 4 is a diagram illustrating a directory structure of a DVD 300 supporting preloading or deletion of marked files;

图5是示出支持关于标记文档的预装载或删除的DVD 300的卷空间的示图;FIG. 5 is a diagram illustrating a volume space of a DVD 300 supporting preloading or deletion of marked files;

图6是示出预装载或删除标记文档的方法的流程图;Figure 6 is a flowchart illustrating a method of preloading or deleting a marked document;

图7是示出解释预装载信息的方法,即,图6中的操作602,的流程图;FIG. 7 is a flowchart illustrating a method of interpreting preloaded information, ie, operation 602 in FIG. 6;

图8是示出预装载目标文件的方法,即,图6中的操作603,的流程图;FIG. 8 is a flowchart illustrating a method of preloading an object file, that is, operation 603 in FIG. 6;

图9A是示出预装载目标文件的另一方法,即,图6中的操作603,的流程图;FIG. 9A is a flow chart illustrating another method of preloading an object file, that is, operation 603 in FIG. 6;

图9B是示出预装载目标文件的另一方法,即,图6中的操作603,的流程图;FIG. 9B is a flowchart illustrating another method of preloading an object file, that is, operation 603 in FIG. 6;

图10是示出删除至少一个预装载并存储在存储器中的目标文件的方法的流程图;FIG. 10 is a flowchart illustrating a method of deleting at least one object file preloaded and stored in a memory;

图11是示出从高速缓冲存储器中删除文件的方法的流程图,即,图10中的操作1002;FIG. 11 is a flowchart illustrating a method of deleting a file from a cache memory, namely, operation 1002 in FIG. 10;

图12是示出关于图3至11所描述的预装载技术的影响的示图,其中AV数据和HTML文档被以与图1中的相同的方式记录到交互DVD上;FIG. 12 is a diagram showing the impact of the preloading technique described with respect to FIGS. 3 to 11, wherein AV data and HTML documents are recorded onto the interactive DVD in the same manner as in FIG. 1;

图13和14是根据本发明实施例的用于从数据存储介质中再现数据的设备的方框图;13 and 14 are block diagrams of an apparatus for reproducing data from a data storage medium according to an embodiment of the present invention;

图15是示出根据本发明实施例的使用高速缓存管理器管理高速缓冲存储器中的标记文档的缓冲状态的方法的示图;FIG. 15 is a diagram illustrating a method of managing a cache state of a marked document in a cache memory using a cache manager according to an embodiment of the present invention;

图16是示出根据本发明实施例的使用内容解码器和高速缓存管理器控制标记文档的缓冲状态的方法的流程图;16 is a flowchart illustrating a method of controlling the buffering state of a markup document using a content decoder and a cache manager according to an embodiment of the present invention;

图17是示出根据本发明实施例的其上记录有AV数据和标记文档的交互DVD的示图;17 is a diagram showing an interactive DVD on which AV data and markup files are recorded according to an embodiment of the present invention;

图18是示出在图17中示出的交互DVD的目录结构的示图;FIG. 18 is a diagram showing a directory structure of the interactive DVD shown in FIG. 17;

图19是示出在图17中示出的交互DVD的卷结构和文件结构的示图;FIG. 19 is a diagram showing a volume structure and a file structure of the interactive DVD shown in FIG. 17;

以及as well as

图20是示出根据本发明实施例的从图17中示出的交互DVD中再现标记文档和AV数据的方法的示图。FIG. 20 is a diagram illustrating a method of reproducing a markup document and AV data from the interactive DVD illustrated in FIG. 17 according to an embodiment of the present invention.

具体实施方式 Detailed ways

现在,参照附图来详细说明本发明的实施例,其例子显示在附图中,其中,不同的标号始终指的是相同的元素。实施例在下面被描述以参照附图解释本发明。Embodiments of the present invention will now be described in detail with reference to the accompanying drawings, examples of which are shown, in which different reference numerals refer to the same elements throughout. The embodiments are described below in order to explain the present invention by referring to the figures.

预装载数据并且删除预装载的数据的设备和方法被本申请人在2002年9月19日提交的韩国专利申请No.2002-57393中公开。随着在此其公开已被引用以资参考,下面对该公开的描述被提出以阐述本发明。An apparatus and method for preloading data and deleting the preloaded data are disclosed by the present applicant in Korean Patent Application No. 2002-57393 filed on September 19, 2002. With the disclosure of that publication being incorporated herein by reference, the following description of that publication is presented to illustrate the present invention.

图3是用于从执行关于标记文档的预装载或删除操作的数据存储介质中再现数据的设备。该设备支持交互模式,其中,通过解码记录在DVD 300上的AV数据并且其后将解码的数据显示在由标记文档定义的显示窗口中来从例如DVD 300的数据存储介质再现AV数据流。该设备包括读取器1、第一存储器2、第二存储器3、AV解码器4、和放映引擎5。在交互模式期间,AV屏幕在被嵌入到标记屏幕的时被显示。标记文档被显示在标记屏幕中,并且通过再现AV数据获得AV屏幕。FIG. 3 is an apparatus for reproducing data from a data storage medium performing a preload or delete operation on a marked document. The device supports an interactive mode in which an AV data stream is reproduced from a data storage medium such as DVD 300 by decoding AV data recorded on DVD 300 and then displaying the decoded data in a display window defined by a markup file. The device includes a reader 1 , a first memory 2 , a second memory 3 , an AV decoder 4 , and a projection engine 5 . During interactive mode, the AV screen is displayed while being embedded in the markup screen. The markup document is displayed in the markup screen, and the AV screen is obtained by reproducing AV data.

放映引擎5支持扩展到链接标志、JavaScript、或Java Applet,从而解释并执行使用链接标志、JavaScript应用程序接口(API)、或Java Applet API写的预装载信息和使用JavaScript API或Java Applet API写的删除信息。Presentation Engine 5 supports extensions to linkmarks, JavaScript, or Java Applets, thereby interpreting and executing preloaded information written using linkmarks, JavaScript application programming interfaces (APIs), or Java Applet APIs and delete information.

读取器1从DVD 300读取标记文档或AV数据。例如,第一存储器2为缓冲存储器,并且缓冲由读取器1读取的AV数据。例如,第二存储器3为高速缓冲存储器,并且高速缓冲接收的预装载文件。AV解码器4解码在第一存储器2中存储的AV数据,并且输出AV数据流。放映引擎5解释包括在由读取器1读取的标记文档中的预装载信息,并且基于解释的预装载信息发送请求到读取器1或互联网服务器(未示出)以便文件被预装载到第二存储器3。为了同步文件和AV数据的显示,预装载的文件被从第二存储器3中读取,并且被与从AV解码器4中输出的AV数据流一起被显示。通过解释删除信息,该文件被从第二存储器3中删除。Reader 1 reads tag files or AV data from DVD 300. For example, the first memory 2 is a buffer memory, and buffers AV data read by the reader 1 . For example, the second memory 3 is a cache memory, and caches received preloaded files. The AV decoder 4 decodes the AV data stored in the first memory 2, and outputs an AV data stream. The presentation engine 5 interprets the preload information included in the markup document read by the reader 1, and sends a request to the reader 1 or an Internet server (not shown) based on the interpreted preload information so that the file is preloaded. Loaded into the second memory 3. In order to synchronize the display of the file and AV data, the preloaded file is read from the second memory 3 and displayed together with the AV data stream output from the AV decoder 4 . By interpreting the deletion information, the file is deleted from the second memory 3 .

DVD 300包括音频数据或AV数据、和具有预装载信息和/或删除信息的标记文档。另外,预装载列表文件和/或删除列表文件可被记录在DVD 300上。The DVD 300 includes audio data or AV data, and a tag file with preload information and/or deletion information. Additionally, a preload list file and/or a delete list file may be recorded on the DVD 300.

预装载列表文件包括将被预装载的文件的列表和将被预装载的每一文件的大小。将被预装载的文件代表与相应的AV数据同步再现的标记文档。将被预装载的文件可被记录在DVD 300上。然而,将被预装载的文件还可被存储到可通过互联网访问的互联网服务器中。The preload list file includes a list of files to be preloaded and the size of each file to be preloaded. The files to be preloaded represent markup files reproduced in synchronization with corresponding AV data. Files to be preloaded can be recorded on DVD 300. However, the files to be preloaded can also be stored in an Internet server accessible through the Internet.

预装载信息包括从例如DVD 300中读取将被预装载的文件、并且其后将该文件存储到高速缓冲存储器3中的命令。通过使用包括预装载列表文件的路径和属性并且被插入到头部标志中的链接标志,预装载信息可被指定。另一方面,使用具有作为功能参数的预装载列表文件的路径和/或属性的并允许预装载列表文件的再现的JavaScript应用程序接口(API)或Java Applet API,预装载信息可被指定。在预装载列表文件为非必要的情况下,使用具有作为功能参数的每一将被预装载的文件的路径和/或属性的并允许文件的再现的JavaScript API或Java Applet API,预装载信息也可被指定。The preload information includes commands to read a file to be preloaded from DVD 300, for example, and store the file in cache memory 3 thereafter. Preload information can be specified by using a link tag including a path and an attribute of a preload list file and inserted into a header tag. On the other hand, using the JavaScript application program interface (API) or the Java Applet API that has the path and/or attribute of the preload list file as the function parameter and allows the reproduction of the preload list file, the preload information can be specified. In the case where the preload list file is not necessary, use the JavaScript API or Java Applet API which has as a function parameter the path and/or properties of each file to be preloaded and allows the reproduction of the file, preload Load information can also be specified.

删除列表文件包括将被删除的文件的列表,其具有将被删除的每一文件的位置信息、即,将被删除的每一文件的文件名和路径。该删除信息代表从第二存储器3删除文件的命令。使用具有作为功能参数的删除列表文件的位置信息的并允许在删除列表文件上列出的文件的删除的JavaScript API或JavaApplet API,删除信息可被指定。另一方面,在删除列表文件为非必要的情况下,使用具有作为功能参数的将被删除的每一文件的位置信息的并允许文件的删除的JavaScript API或Java Applet API,删除信息可被指定。The deletion list file includes a list of files to be deleted, which has location information of each file to be deleted, that is, a file name and a path of each file to be deleted. This delete information represents a command to delete a file from the second storage 3 . Deletion information can be designated using JavaScript API or JavaApplet API having location information of a delete list file as a function parameter and allowing deletion of files listed on the delete list file. On the other hand, in the case where deletion list files are not necessary, deletion information can be specified using JavaScript API or Java Applet API which has position information of each file to be deleted as a function parameter and allows deletion of files .

图4是示出DVD 300的目录结构。参照图4,根目录包括具有AV数据的DVD视频目录VIDEO_TS和具有支持交互功能的数据的DVD交互目录DVD_ENAV。FIG. 4 is a diagram showing the directory structure of DVD 300. Referring to FIG. 4, the root directory includes a DVD video directory VIDEO_TS having AV data and a DVD interactive directory DVD_ENAV having data supporting an interactive function.

关于记录在DVD 300上的全部视频标题的头部信息VIDEO_TS.IFO、用于第一视频标题的导航信息VTS_01_0.IFO、和构成第一视频标题的AV数据VTS_01_0.VOB、VTS_01_1.VOB、...被记录在DVD视频目录VIDEO_TS中。DVD视频目录VIDEO_TS的结构的详细描述在DVD-视频标准(用于只读存储器盘1.0的DVD-视频)中被公开。About header information VIDEO_TS.IFO of all video titles recorded on the DVD 300, navigation information VTS_01_0.IFO for the first video title, and AV data VTS_01_0.VOB, VTS_01_1.VOB, .. . is recorded in the DVD-Video directory VIDEO_TS. A detailed description of the structure of the DVD-Video directory VIDEO_TS is disclosed in the DVD-Video standard (DVD-Video for ROM Disc 1.0).

关于整个交互信息的导航信息DVD_ENAV.IFO和起始文档STARTUP.HTM被记录在DVD交互目录DVD_ENAV中。另外,预装载列表文件STARTUP.PLD、将被预装载的文件A.HTM和被插入到A.HTM中的图形文件A.PNG也被提供在DVD交互目录DVD_ENAV中。将被预装载的其它文件或插入到其中的图形文件也可被记录在DVD交互目录DVD_ENAV中。Navigation information DVD_ENAV.IFO and a start file STARTUP.HTM about the entire interactive information are recorded in the DVD interactive directory DVD_ENAV. In addition, a preload list file STARTUP.PLD, a file A.HTM to be preloaded, and a graphic file A.PNG inserted into A.HTM are also provided in the DVD interactive directory DVD_ENAV. Other files to be preloaded or graphic files inserted thereinto may also be recorded in the DVD interactive directory DVD_ENAV.

图5示出DVD 300的卷空间。参照图5,卷空间包含包括用于DVD 300的卷空间和记录在DVD 300上的文件的控制信息的控制信息区域、记录有视频标题数据的DVD-视频数据区域、和在交互模式期间被提供以再现AV数据的DVD-交互数据区域。Figure 5 shows the volume space of DVD 300. Referring to FIG. 5, the volume space includes a control information area including control information for the volume space of the DVD 300 and files recorded on the DVD 300, a DVD-Video data area recorded with video title data, and provided during the interactive mode. to reproduce the DVD-interactive data area of AV data.

在图4的DVD视频目录VIDEO_TS中存储的文件,即,VIDEO_TS.IFO、VTS_01_0.IFO、VTS_01_0.VOB、VTS_01_1.VOB、...、被记录在DVD-视频数据区域中。存储在DVD交互目录DVD_ENAV中的文件,即,STARTUP.HTM、STARTUP.PLD、A.HTM、和A.PNG被记录在DVD-交互数据区域中。Files stored in the DVD-Video directory VIDEO_TS of FIG. 4, ie, VIDEO_TS.IFO, VTS_01_0.IFO, VTS_01_0.VOB, VTS_01_1.VOB, . . . , are recorded in the DVD-Video data area. Files stored in the DVD-interactive directory DVD_ENAV, namely, STARTUP.HTM, STARTUP.PLD, A.HTM, and A.PNG are recorded in the DVD-interactive data area.

图6示出从数据存储介质中再现数据的方法。在操作601中,读取器1从其中选择交互模式的DVD 300中读取作为记录在DVD 300上的标记文档的HTML文档。在操作602中,放映引擎5解释包括在HTML文档中的预装载信息,并且请求读取器1或互联网服务器预装载文件。在步骤603中,响应该请求,将被预装载的文件被存储在第二存储器3中。FIG. 6 illustrates a method of reproducing data from a data storage medium. In operation 601, the reader 1 reads an HTML document as a markup document recorded on the DVD 300 from the DVD 300 in which the interactive mode is selected. In operation 602, the presentation engine 5 interprets the preload information included in the HTML document, and requests the reader 1 or the Internet server to preload the file. In step 603, the file to be preloaded is stored in the second memory 3 in response to the request.

在操作604中,读取器1从DVD 300中读取与在操作601中读取的HTML文档相应的AV数据,并且将读取的AV数据存储在作为缓冲存储器的第一存储器2中。在操作605中,AV解码器4将存储在第一存储器2中的AV数据解码为AV数据流。在操作606中,放映引擎5从第二存储器3中读取预装载文件,并且在被在操作601中由读取器1读取的HTML文档定义的显示窗口中显示解码的AV数据流。In operation 604, the reader 1 reads AV data corresponding to the HTML document read in operation 601 from the DVD 300, and stores the read AV data in the first memory 2 as a buffer memory. In operation 605, the AV decoder 4 decodes the AV data stored in the first memory 2 into an AV data stream. In operation 606 , the show engine 5 reads the preloaded file from the second storage 3 , and displays the decoded AV stream in the display window defined by the HTML document read by the reader 1 in operation 601 .

图7示出解释预装载信息的方法,即,与图6中的操作602相应的方法。在操作701中,放映引擎5识别包括在HTML文档中的预装载列表文件的路径,并且在操作702中通过跟随识别的路径来读取预装载列表文件。在操作703中,放映引擎5识别在预装载列表文件中列出的将被预装载的文件。在此,将被预装载的文件的识别表示将被预装载的文件的路径和属性的识别。FIG. 7 illustrates a method of interpreting preloaded information, ie, a method corresponding to operation 602 in FIG. 6 . In operation 701, the show engine 5 identifies a path of a preload list file included in an HTML document, and in operation 702 reads the preload list file by following the identified path. In operation 703, the show engine 5 identifies the files to be preloaded listed in the preload list file. Here, the identification of the file to be preloaded means identification of the path and attribute of the file to be preloaded.

图8示出预装载文件的方法,即,与图6中的操作603相应的方法。在操作801中,放映引擎5识别在预装载列表文件的链接标志中记录的路径,并且提取预装载列表文件。在操作802中,放映引擎5解释包括具有将被预装载的文件的路径和属性作为参数的预装载标志的预装载列表文件,并且执行文件的预装载。FIG. 8 illustrates a method of preloading files, that is, a method corresponding to operation 603 in FIG. 6 . In operation 801, the show engine 5 identifies the path recorded in the link flag of the preload list file, and extracts the preload list file. In operation 802, the show engine 5 interprets the preload list file including the preload flag having the path and attribute of the file to be preloaded as parameters, and performs preloading of the file.

图9A示出另一种预装载文件的方法,即,与图6中的操作603相应的方法。在操作901a中,放映引擎5解释使用指定将被预装载的文件的路径的参数的插入到主体标志中的API,并且使用该API来读取将被预装载的文件。在操作901b中,放映引擎5通过解释包括将被预装载的文件的路径和属性的预装载列表文件来执行预装载。由于放映引擎5确定将被预装载的文件的属性,所以其可基于它们的属性来处理将被预装载的文件,并且将处理的文件存储到存储器中。FIG. 9A shows another method for preloading files, that is, a method corresponding to operation 603 in FIG. 6 . In operation 901a, the show engine 5 interprets the API inserted into the body tag using the parameter designating the path of the file to be preloaded, and reads the file to be preloaded using the API. In operation 901b, the show engine 5 performs preloading by interpreting a preloading list file including paths and attributes of files to be preloaded. Since the presentation engine 5 determines the attributes of the files to be preloaded, it can process the files to be preloaded based on their attributes and store the processed files into memory.

图9B示出另一种预装载文件的方法,即,与图6中的操作603相应的方法。在操作901b中,放映引擎5通过使用插入到主体标志中并且具有将被预装载的文件的路径和属性作为参数的API来将将被预装载的文件预装载到存储器中。由于将被预装载的文件的属性被识别,所以放映引擎5可考虑到其属性来处理将被预装载的文件,并且其后将将被预装载的文件存储到存储器中。FIG. 9B shows another method for preloading files, that is, a method corresponding to operation 603 in FIG. 6 . In operation 901b, the show engine 5 preloads the file to be preloaded into the memory by using the API inserted into the body flag and having the path and attributes of the file to be preloaded as parameters. Since the attribute of the file to be preloaded is recognized, the presentation engine 5 can process the file to be preloaded in consideration of the attribute thereof, and thereafter store the file to be preloaded in the memory.

图10示出删除存储在存储器中的预装载文件的一个或多个的方法。在操作1001中,放映引擎5解释包括在HTML文档中的删除信息,基于删除列表文件识别将被删除的文件,并且在操作1002中从第二存储器3中删除识别的文件。尽管预装载列表文件和删除列表文件被集成到单一文件,即STARTUP.PLD中,但是,应该理解将被预装载的文件的列表和将被删除的文件的列表可被实现为两个单独的文件而不是被集成到单一文件中。Figure 10 illustrates a method of deleting one or more preloaded files stored in memory. In operation 1001, the show engine 5 interprets deletion information included in the HTML document, identifies a file to be deleted based on the deletion list file, and deletes the identified file from the second storage 3 in operation 1002. Although the preload list file and delete list file are integrated into a single file, namely STARTUP.PLD, it should be understood that the list of files to be preloaded and the list of files to be deleted could be implemented as two separate files instead of being integrated into a single file.

图11示出从高速缓冲存储器中删除一个或多个文件的方法,即与图10中的操作1002相应的方法。将被删除的文件的列表可被记录在删除列表文件中。在操作1101中,使用具有删除列表文件的路径作为参数的API来从第二存储器3中删除文件。在此,文件的删除可为从第二存储器3中物理移除文件的处理,将表示文件可从第二存储器3中被删除、或文件可被其它数据覆写而不是从第二存储器3中物理移除文件的标志包括在文件中的处理。FIG. 11 illustrates a method of deleting one or more files from the cache memory, ie a method corresponding to operation 1002 in FIG. 10 . A list of files to be deleted may be recorded in a delete list file. In operation 1101, a file is deleted from the second storage 3 using an API having a path of a delete list file as a parameter. Here, the deletion of the file can be the process of physically removing the file from the second storage 3, which will mean that the file can be deleted from the second storage 3, or the file can be overwritten by other data instead of being removed from the second storage 3 A flag to physically remove a file includes a process in the file.

图12示出在交互DVD上的预装载处理的影响,其中AV数据和HTML文档被以与图1中的相同的方式记录。即,图12示出其中MPEG编码的AV数据被缓冲的第一存储器2的占用和其中网络资源被高速缓中的第二存储器3的占用。参照图1和12,读取器1搜索并读取STARTUP.HTM,并且放映引擎5解释包括在STARTUP.HTM中的预装载信息从而④A.THM被预装载到第二存储器3中。在被装载到第二存储器3的STARTUP.HTM被激活的情况下,①AV数据被装载到第一存储器2中并且其后被显示。此后,②AV数据被装载到第一存储器2中并且其后被显示。在②AV数据的缓冲被完成的情况下,读取器1跳到其中③AV数据被记录的位置并且开始缓冲③AV数据。此刻,在用户请求④A.HTM的情况下,放映引擎5从第二存储器3读取④A.THM并且显示④A.THM。在此情况下,读取器1不需要停止③AV数据的缓冲,搜索用于④A.THM的DVD 300,并且其后将文档④A.THM装载到第二存储器3中。因此,读取器1可继续缓冲③AV数据。在读取器1完成⑤AV数据的缓冲并且跳到其中记录有⑥AV数据的位置的情况下,在第一存储器2中缓冲的数据量被减少。然而,已在第一存储器2中缓冲的数据量是足够的,从而缓冲的数据的缺乏是不会发生的。换言之,即使在需要语HTML文档同步显示在交互模式期间从交互DVD中再现的DVD-视频图像的情况下,读取器1不必须停止AV数据的缓冲,并且其后不被搜索并高速缓冲HTML文档。这是因为HTML文档已被预装载到第二存储器3中。例如,在当特定男演员或女演员出现在屏幕上而需要显示他或她的个人历史的情况下,同步显示可被使用。FIG. 12 shows the effect of preloading processing on an interactive DVD in which AV data and HTML documents are recorded in the same manner as in FIG. 1 . That is, FIG. 12 shows the occupancy of the first memory 2 in which MPEG-encoded AV data is buffered and the occupancy of the second memory 3 in which network resources are cached. Referring to FIGS. 1 and 12 , the reader 1 searches and reads STARTUP.HTM, and the show engine 5 interprets the preload information included in STARTUP.HTM so that ④ A.THM is preloaded into the second memory 3 . In the case where STARTUP.HTM loaded into the second memory 3 is activated, ① AV data is loaded into the first memory 2 and thereafter displayed. Thereafter, ② AV data is loaded into the first memory 2 and thereafter displayed. In the case where ② the buffering of AV data is completed, the reader 1 jumps to the position where ③ AV data is recorded and starts buffering ③ AV data. At this moment, in case the user requests ④A.HTM, the presentation engine 5 reads ④A.THM from the second memory 3 and displays ④A.THM. In this case, the reader 1 does not need to stop ③ buffering of AV data, search for the DVD 300 for ④ A.THM, and thereafter load the file ④ A.THM into the second memory 3. Therefore, the reader 1 can continue buffering ③ AV data. In the case where the reader 1 completes buffering of ⑤ AV data and jumps to a position in which ⑥ AV data is recorded, the amount of data buffered in the first memory 2 is reduced. However, the amount of data already buffered in the first memory 2 is sufficient so that lack of buffered data does not occur. In other words, even in the case where an HTML document needs to be displayed synchronously with a DVD-Video image reproduced from an interactive DVD during the interactive mode, the reader 1 does not have to stop buffering of AV data, and the HTML document is not searched and cached thereafter. document. This is because the HTML document has been preloaded into the second memory 3 . For example, simultaneous display may be used where a particular actor or actress' personal history needs to be displayed when he or she appears on screen.

此外,预装载数据和删除预装载的数据的上述设备、存储介质和处理由本申请人在2002年9月19日提交的韩国专利申请No.02-57393中教导。下面,将描述根据本发明的数据存储介质和用于从数据存储介质再现数据的方法和设备。In addition, the above-mentioned apparatus, storage medium and process of preloading data and deleting preloaded data are taught by the present applicant in Korean Patent Application No. 02-57393 filed on September 19, 2002. In the following, a data storage medium and a method and apparatus for reproducing data from the data storage medium according to the present invention will be described.

图13示出根据本发明实施例的用于从数据存储介质中再现数据的设备的方框图。类似于图3中的设备的图13中的设备从数据存储介质再现数据。另外,图13的设备支持交互模式,执行预装载,并且包括AV缓冲器20、AV再现引擎40、增强音视频(ENAV)缓冲器30、和ENAV引擎50。FIG. 13 shows a block diagram of an apparatus for reproducing data from a data storage medium according to an embodiment of the present invention. The device in Figure 13, similar to the device in Figure 3, reproduces data from a data storage medium. In addition, the device of FIG. 13 supports an interactive mode, performs preloading, and includes an AV buffer 20 , an AV reproduction engine 40 , an enhanced audio video (ENAV) buffer 30 , and an ENAV engine 50 .

与图3的第一存储器2相应的AV缓冲器20缓冲从存储介质例如盘100、或从网络例如互联网读取的AV数据。AV再现引擎40解码缓冲的AV数据,从而输出AV流。例如,ENAV缓冲器30为与图3的第二存储器3相应的高速缓冲存储器。EVAN缓冲器30缓冲从盘100或网络读取的标记文档。与图3的放映引擎5相应的ENAV引擎50执行预装载,并且控制存储在ENAV缓冲器30中的标记文档的缓冲状态。另外,ENAV引擎50解释或解码存储在ENAV缓冲器30中的标记文档。ENAV引擎50允许从AV再现引擎40输出的AV流以交互模式再现。The AV buffer 20 corresponding to the first memory 2 of FIG. 3 buffers AV data read from a storage medium such as the disc 100, or from a network such as the Internet. The AV playback engine 40 decodes the buffered AV data to output an AV stream. For example, the ENAV buffer 30 is a cache memory corresponding to the second memory 3 of FIG. 3 . The EVAN buffer 30 buffers markup documents read from the disk 100 or the network. The ENAV engine 50 corresponding to the show engine 5 of FIG. 3 performs preloading, and controls the buffering status of markup documents stored in the ENAV buffer 30 . In addition, the ENAV engine 50 interprets or decodes markup documents stored in the ENAV buffer 30 . The ENAV engine 50 allows the AV stream output from the AV reproduction engine 40 to be reproduced in interactive mode.

图14示出根据本发明实施例的图13的EVAV引擎50的详细方框图。ENAV引擎50包括控制ENAV缓冲器30的缓冲器管理器51和解释标记文档的内容解码器52。FIG. 14 shows a detailed block diagram of the EVAV engine 50 of FIG. 13 according to an embodiment of the present invention. The ENAV engine 50 includes a buffer manager 51 that controls the ENAV buffer 30 and a content decoder 52 that interprets markup documents.

内容解码器52可包括解析并解释标记文档的解释引擎、和从解释引擎和/或网络中取出标记文档的浏览器。在此,标记文档与范围从以HTML、CSS、或JAVASCRIPT所写的标记文本数据到二进制数据的各种标记资源诸如图像数据、音频数据、或标记文档所引用的Java程序相应。标记文档被ENAV引擎50中的缓冲器管理器51从盘100或网络取出。Content decoder 52 may include an interpretation engine that parses and interprets the markup document, and a browser that retrieves the markup document from the interpretation engine and/or the network. Here, the markup document corresponds to Java programs referred to by various markup resources such as image data, audio data, or markup documents ranging from markup text data written in HTML, CSS, or JAVASCRIPT to binary data. Markup files are fetched from disk 100 or the network by buffer manager 51 in ENAV engine 50 .

关于标记文档的预装载或删除,缓冲器管理器51根据本发明以预定方式管理标记文档的缓冲状态。根据本发明实施例,缓冲器管理器51响应从内容解码器52输出的信号。例如,缓冲器管理器51可响应于从内容解码器52输出的不同信号来不同地操作。例如,信号可包括取信号、再现信号、释放信号、丢弃信号、和报告信号。Regarding preloading or deletion of markup documents, the buffer manager 51 manages the buffering status of markup documents in a predetermined manner according to the present invention. According to an embodiment of the present invention, the buffer manager 51 responds to a signal output from the content decoder 52 . For example, buffer manager 51 may operate differently in response to different signals output from content decoder 52 . For example, signaling may include a fetch signal, a reproduce signal, a release signal, a drop signal, and a report signal.

图15示出根据本发明实施例的管理由ENAV缓冲器30处理的标记文档的缓冲状态的缓冲器管理器51。例如,5个不同信号,即取信号、再现信号、释放信号、丢弃信号、和报告信号可被从内容解码器52输入到缓冲器管理器51中。FIG. 15 shows the buffer manager 51 that manages the buffering status of markup documents processed by the ENAV buffer 30 according to an embodiment of the present invention. For example, 5 different signals, namely fetch signal, reproduce signal, release signal, discard signal, and report signal, may be input from content decoder 52 into buffer manager 51 .

取信号被用于将标记文档预装载到ENAV缓冲器30中。在标记文档已经被预装载到ENAV缓冲器30的情况下,I/O管理器可防止相应的标记文档被从盘或网络中读取。I/O管理器代表从盘读取数据的读取器(未示出)、或从网络接收数据的网络数据接收器/发送器(未示出)。读取器从盘读取文件,并且网络数据接收器/发送器使用例如HTTP协议从网络接收预定的数据和/或向网络发送预定的数据。The fetch signal is used to preload the markup document into the ENAV buffer 30. In case a markup file has been preloaded into ENAV buffer 30, the I/O manager may prevent the corresponding markup file from being read from disk or network. The I/O manager represents a reader (not shown) that reads data from a disk, or a network data receiver/transmitter (not shown) that receives data from a network. The reader reads files from the disk, and the network data receiver/sender receives predetermined data from and/or transmits predetermined data to the network using, for example, HTTP protocol.

参照图15,I/O管理器可被设置来以以下方式操作。在HTTP请求被发出的情况下,I/O管理器使用非分块的I/O。在对盘上的文件的请求被发出的情况下,I/O管理器使用分块的I/O。为了从网络再现标记文档,I/O管理器采用非分块的方法,以便在给定的时间接收多个标记文档。然而,在多个标记文档在给定时间被从盘中读取的情况下,读取器中的拾取器装置(未示出)被请求以在记录有标记文档的位置之间移动。因此,读取相应的标记文档的速度可被多次降低。因此,在多个标记文档将被从盘中读取的情况下,顺序的分块I/O处理被采用,其中多个标记文档被从盘中顺序地读取。Referring to FIG. 15, the I/O manager may be configured to operate in the following manner. In cases where HTTP requests are issued, the I/O manager uses non-blocked I/O. Where requests are issued for files on disk, the I/O manager uses block I/O. To render markup documents from the network, the I/O manager takes a non-chunked approach to receive multiple markup documents at a given time. However, where multiple marked documents are read from the disc at a given time, a picker device (not shown) in the reader is required to move between positions where marked documents are recorded. Therefore, the speed of reading the corresponding markup document can be reduced several times. Therefore, sequential block I/O processing is employed where multiple markup files are to be read from disk, wherein multiple markup files are read sequentially from disk.

再现信号被用于发出将数据从ENAV缓冲器30传输到内容解码器52的请求。在预定数据被从盘读取或从网络下载的情况下,内容解码器52可被阻止而不能操作直到预定数据的读取或下载被完成。The reproduction signal is used to issue a request to transfer data from the ENAV buffer 30 to the content decoder 52 . In a case where predetermined data is read from a disc or downloaded from a network, the content decoder 52 may be blocked from operating until the reading or downloading of predetermined data is completed.

释放信号表示不再需要响应于上述再现信号的从ENAV缓冲器30传输到内容解码器52的预定数据。例如,在响应于再现信号预定标记文档被引用5次的情况下,释放信号被产生5次。计数值在再现信号被产生时增加,并且在释放信号被产生时降低。在与预定标记文档相应的计数值达到0的情况下,即在全部再现的标记文档被释放的情况下,响应于下面描述的丢弃信号,释放的标记文档被从ENAV缓冲器30中删除。The release signal indicates that the predetermined data transferred from the ENAV buffer 30 to the content decoder 52 in response to the above-mentioned reproduction signal is no longer necessary. For example, in the case where the markup document is scheduled to be referenced 5 times in response to the reproduction signal, the release signal is generated 5 times. The count value is increased when the reproduction signal is generated, and is decreased when the release signal is generated. In the case where the count value corresponding to the predetermined markup document reaches 0, that is, in the case where all reproduced markup documents are released, the released markup document is deleted from the ENAV buffer 30 in response to a discard signal described below.

丢弃信号表示存储在ENAV缓冲器30中的预定标记文档可被从ENAV缓冲器30中删除,例如,因为它们将不再被使用。因此,响应于丢弃信号,预定标记文档被从ENAV缓冲器30中删除。The discard signal indicates that predetermined markup documents stored in the ENAV buffer 30 may be deleted from the ENAV buffer 30, for example, because they will no longer be used. Accordingly, the predetermined markup document is deleted from the ENAV buffer 30 in response to the drop signal.

根据本发明的一方面,在标记文档与另一应用程序关联并且再现信号已被产生、但是释放信号未被产生的情况下,即使在丢弃信号已由预定应用程序产生的情况下,标记文档也不能被从ENAV缓冲器30中删除。According to an aspect of the present invention, in a case where a markup document is associated with another application and a reproduction signal has been generated but a release signal has not been generated, even in a case where a discard signal has been generated by a predetermined application, the markup document is cannot be deleted from the ENAV buffer 30.

例如,报告信号被用于检验响应于取信号而被读取的标记文档是否被成功装载到ENAV缓冲器30中,是否由于错误而导致相应的标记文档中的至少一些不能被读取,和/或相应的标记文档是否正被读取。For example, the report signal is used to check whether the markup files read in response to the fetch signal were successfully loaded into the ENAV buffer 30, whether at least some of the corresponding markup files could not be read due to an error, and/or or whether the corresponding markup document is being read.

根据本发明实施例,使用例如与以标记文档写的脚本相应的API来提供本发明的以上和/或其它信号。以下,而不限于此,为用于产生在本发明中利用的各种信号的API的例子。According to an embodiment of the present invention, the above and/or other signals of the present invention are provided using, for example, APIs corresponding to scripts written in markup documents. The following, without limitation, are examples of APIs for generating various signals utilized in the present invention.

<[obj].preload(URL,resType)><[obj].preload(URL, resType)>

描述:describe:

此API被用于预装载文件,或读取文件并且将文件存储在ENAV缓冲器30中。API的参数包括预装载列表文件的位置信息或将被预装载的文件的位置信息、和将被预装载的文件的属性。此API产生取信号并且可应用于可从盘(disc://)或网络(http://)读取的全部文件。应该理解API可被用于预装载文件。This API is used to preload a file, or to read a file and store it in the ENAV buffer 30 . The parameters of the API include the location information of the preload list file or the location information of the file to be preloaded, and the attributes of the file to be preloaded. This API generates fetches and is applicable to all files readable from disc (disc://) or network (http://). It should be understood that the API can be used to preload files.

参数:parameter:

URL=:预装载列表文件的路径或将被预装载的文件的路径URL=: the path of the preload list file or the path of the file to be preloaded

ResType=:将被预装载的文件的属性ResType=: attribute of the file to be preloaded

返回值:return value:

在预装载命令被成功执行的情况下,值0被返回。否则,值-1被返回。例如,在预装载命令未被成功执行的情况下,值-1被返回。In case the preload command was executed successfully, a value of 0 is returned. Otherwise, the value -1 is returned. For example, in case the preload command was not successfully executed, a value of -1 is returned.

例子:example:

Navigator.preload(“disc://dvd_enav/a.htm”,”text/xml”)请求指的是从“disc://dvd_enav/a.htm”装载文件的请求。将被预装载的文件为以XML写的文本文件。The Navigator.preload("disc://dvd_enav/a.htm", "text/xml") request refers to a request to load a file from "disc://dvd_enav/a.htm". The files to be preloaded are text files written in XML.

Navigator.preload(“disc://dvd_enav/a.pld”,”xml/preload”)请求指的是从“disc://dvd_enav/a.pld”装载在预装载列表文件中列出的文件的请求。在预装载列表文件中列出的文件为以XML写的预装载文件。Navigator.preload("disc://dvd_enav/a.pld", "xml/preload") request refers to loading the files listed in the preload list file from "disc://dvd_enav/a.pld" request. The files listed in the preload list file are preload files written in XML.

<[obj].discard(URL,resType)><[obj].discard(URL, resType)>

描述:describe:

此API被用于从ENAV缓冲器30中删除文件。API的参数包括删除列表文件的位置信息或将被删除的文件的位置信息、和将被删除的文件的属性。此API产生丢弃信号。应该理解API可被用于删除文件。This API is used to delete files from the ENAV buffer 30 . The parameters of the API include the location information of the deletion list file or the location information of the file to be deleted, and the attributes of the file to be deleted. This API generates a discard signal. It should be understood that the API can be used to delete files.

参数:parameter:

URL=:删除列表文件的路径或将被删除的文件的路径URL=: the path of the delete list file or the path of the file to be deleted

ResType=:将被删除的文件的属性ResType=: attribute of the file to be deleted

返回值:return value:

在删除命令被成功执行的情况下,值0被返回。否则,值-1被返回。例如,在删除命令未被成功执行的情况下,值-1被返回。In case the delete command was executed successfully, a value of 0 is returned. Otherwise, the value -1 is returned. For example, in case the delete command was not successfully executed, a value of -1 is returned.

例子:example:

Navigator.discard(“disc//dvd_enav/a.htm”,“text/xml”)请求指的是从“disc//dvd_enav/a.htm”删除文件的请求。该文件是以XML写的文本文件。The Navigator.discard("disc//dvd_enav/a.htm", "text/xml") request refers to a request to delete a file from "disc//dvd_enav/a.htm". The file is a text file written in XML.

Navigator.discard(“disc//dvd_enav/a.pld”,“xml/preload”)请求指的是从高速缓冲存储器中删除在删除列表文件“disc//dvd_enav/a.pld”中列出的文件的请求。该文件是以XML写的列表文件。The Navigator.discard("disc//dvd_enav/a.pld", "xml/preload") request refers to deleting from the cache the files listed in the delete list file "disc//dvd_enav/a.pld" request. This file is a list file written in XML.

<[obj].isCached(URL,resType)><[obj].isCached(URL, resType)>

描述:describe:

此API被用于检查例如文件是否已被成功装载到ENAV缓冲器30中。API的参数包括列表文件的位置信息或将被搜索/检查的文件的位置信息、和将被检查的文件的属性。此API产生报告信号并且可被应用于从盘(disc://)或网络(http://)读取的全部文件。应该理解API可被用于检查文件的状态。This API is used to check, for example, whether the file has been loaded into the ENAV buffer 30 successfully. The parameters of the API include location information of a list file or location information of a file to be searched/checked, and attributes of a file to be checked. This API generates report signals and can be applied to all files read from disc (disc://) or network (http://). It should be understood that the API can be used to check the status of a file.

参数:parameter:

URL=:列表文件的路径或将被检查的文件的路径URL=: path to the list file or the path to the file that will be checked

ResType=:将被检查的文件的属性ResType=: attribute of the file to be checked

返回值:return value:

在列表文件中列出的文件或将被检查的文件被成功存储/装载到ENAV缓冲器30的情况下,值0被返回。在检查的文件未被成功装载的情况下,即,文件的预装载失败的情况下,值1被返回。在文件仍然在被读取/装载的情况下,或在在文件的预装载期间每一发生失败并且至少一个文件仍然在被读取/装载的情况下,值2被返回。In case the file listed in the list file or the file to be checked was successfully stored/loaded into the ENAV buffer 30, a value of 0 is returned. In the case where the checked file was not successfully loaded, ie, the preloading of the file failed, a value of 1 is returned. A value of 2 is returned in case files are still being read/loaded, or in case every failure occurs during preloading of files and at least one file is still being read/loaded.

例子:example:

Navigator.isCached(“disc//dvd_enav/a.htm”,“text/xml”)请求指的是检验“disc//dvd_enav/a.htm”文件是否已被存储的请求。该文件是以XML写的文本文件。The Navigator.isCached("disc//dvd_enav/a.htm", "text/xml") request refers to a request to check whether the "disc//dvd_enav/a.htm" file has been stored. The file is a text file written in XML.

Navigator.isCached(“disc//dvd_enav/a.pld”,“xml/preload”)请求指的是检验由列表文件“disc//dvd_enav/a.pld”所指的文件是否已被存储的请求。该文件是以XML写的列表文件。The Navigator.isCached("disc//dvd_enav/a.pld", "xml/preload") request refers to a request to check whether the file indicated by the list file "disc//dvd_enav/a.pld" has been stored. This file is a list file written in XML.

<[obj].progressNameOfFile><[obj].progressNameOfFile>

描述:describe:

此API被用于返回例如当前正被预装载的文件的通用资源标识符(URI)。This API is used to return, for example, the Universal Resource Identifier (URI) of the file currently being preloaded.

返回值:文件路径或URI。Return value: file path or URI.

<[obj].progressLengthOfFile><[obj].progressLengthOfFile>

描述:describe:

此API表示多少当前正被预装载的文件已被预装载。This API indicates how many files currently being preloaded have been preloaded.

返回值:以字节为单位表示的值。Return value: the value expressed in bytes.

<[obj].remainLengthOfFile><[obj].remainLengthOfFile>

描述:describe:

此API表示多少当前正被预装载的文件将被预装载。This API indicates how many files currently being preloaded will be preloaded.

返回值:以字节为单位表示的值。Return value: the value expressed in bytes.

<[obj].totalLoadingSize><[obj]. totalLoadingSize>

描述:此API表示例如将被预装载的文件的总量。Description: This API indicates eg the total amount of files to be preloaded.

返回值:以字节为单位表示的值。Return value: the value expressed in bytes.

<[obj].remainLoadingSize><[obj].remainLoadingSize>

描述:describe:

此API表示例如将被预装载的文件的总量中的多少仍然将被处理。This API indicates eg how much of the total amount of files to be preloaded is still to be processed.

返回值:以字节为单位表示的值。Return value: the value expressed in bytes.

<[obj].allDone><[obj].allDone>

描述:describe:

此API表示例如用于从数据存储介质再现数据的设备是否已经完成预装载。This API indicates, for example, whether a device for reproducing data from a data storage medium has completed preloading.

返回值:在该设备已经成功完成预装载的情况下,API返回值TRUE(真)。否则,返回值FALSE(假)。例如,在预装载未被完成的情况下,即,在预装载已经失败或正在处理的情况下,值FALSE被返回。Return value: In the case that the device has successfully completed preloading, the API returns a value of TRUE (true). Otherwise, the return value is FALSE (false). For example, in case preloading has not been completed, ie, in case preloading has failed or is in progress, the value FALSE is returned.

如上所述,根据本发明的一方面,当相应的标记文档被使用时,再现信号和释放信号被产生。例如,内容解码器52通过解释<imgsrc=“disc://dvd_enav/a.png”/>和产生再现信号,从而使缓冲器管理器51从ENAV缓冲器30再现相应的图像来使用显示装置(未示出)显示图像“disc//dvd_enav/a.png”。同样的,在相应的图像的放映被完成的情况下,内容解码器52产生释放信号。As described above, according to an aspect of the present invention, a reproduction signal and a release signal are generated when a corresponding markup document is used. For example, the content decoder 52 uses the display device ( not shown) displays the image "disc//dvd_enav/a.png". Also, in the case where the presentation of the corresponding image is completed, the content decoder 52 generates a release signal.

图16示出根据本发明实施例的控制由内容解码器52和缓冲器管理器51执行的缓冲器状态的方法。在操作1601中,内容解码器52响应于预装载命令产生取信号。在操作1602,缓冲器管理器51响应于取信号开始读取指定的标记文档。在操作1603,内容解码器52确定例如全部标记文档是否已被读取,和/或产生报告信号以确定例如标记文档的缓冲状态。在操作1604,在出现错误的情况下,错误被处理。在操作1605,缓冲器管理器51响应于报告信号返回表示标记文档的缓冲状态的信号。在操作1606,内容解码器52产生检索信号以使用标记文档。在操作1607,缓冲器管理器51响应于检索信号将指定的标记文档发送到内容解码器52。在操作1608,内容解码器52给出指定的标记文档。在操作1609,在指定的标记文档不再被使用的情况下,内容解码器52产生释放信号。在操作1610,缓冲器管理器51将当前计数值减少1以表示例如指定的标记文档中的相应的一个/多个的使用。在操作1611,内容解码器52产生丢弃信号以删除指定的标记文档。在操作1612,缓冲器管理器51响应于丢弃信号从ENAV缓冲器30中删除指定的标记文档。FIG. 16 illustrates a method of controlling a buffer state performed by the content decoder 52 and the buffer manager 51 according to an embodiment of the present invention. In operation 1601, the content decoder 52 generates a fetch signal in response to a preload command. In operation 1602, the buffer manager 51 starts reading the specified markup document in response to the fetch signal. At operation 1603, the content decoder 52 determines, for example, whether all of the markup document has been read, and/or generates a report signal to determine, for example, the buffering status of the markup document. In operation 1604, in the event of an error, the error is handled. In operation 1605, the buffer manager 51 returns a signal representing the buffering status of the markup document in response to the report signal. In operation 1606, the content decoder 52 generates a retrieval signal to use the markup document. In operation 1607, the buffer manager 51 transmits the designated markup document to the content decoder 52 in response to the retrieval signal. In operation 1608, the content decoder 52 presents the designated markup document. In operation 1609, the content decoder 52 generates a release signal in case the specified markup document is no longer used. In operation 1610, the buffer manager 51 decrements the current count value by 1 to represent, for example, usage of a corresponding one/more of the specified markup documents. In operation 1611, the content decoder 52 generates a discard signal to delete the specified markup document. In operation 1612, the buffer manager 51 deletes the specified markup document from the ENAV buffer 30 in response to the drop signal.

图17示出根据本发明实施例的其上记录有AV数据和标记文档的例如盘的数据存储介质。数据存储介质还包括用于识别将被预装载的标记文档的缓冲状态信息的控制信息。例如,起始文档STARTUP.HTM包括预装载列表文件STARTUP.PLD以无缝地再现范围从A.HTM到D.HTM的文件。FIG. 17 shows a data storage medium such as a disc on which AV data and markup files are recorded according to an embodiment of the present invention. The data storage medium also includes control information for identifying buffer status information for markup documents to be preloaded. For example, the start file STARTUP.HTM includes a preload list file STARTUP.PLD to seamlessly reproduce files ranging from A.HTM to D.HTM.

控制信息可包括响应于标记文档的预装载成功返回值0、响应于标记文档的预装载失败返回值1、和响应于标记文档的预装载仍在进行返回值2的API。控制信息还可包括产生取信号以发出预装载标记文档的命令的API。此API可返回表示预装载标记文档的命令是否已被成功发送的响应。该控制信息还可包括被用于确定标记文档的预装载是否完成的API。此API响应于标记文档的预装载被完成可返回值TRUE和响应于标记文档的预装载未被完成可返回值FALSE。The control information may include APIs that return a value of 0 in response to successful preloading of the markup document, return a value of 1 in response to preloading failure of the markup document, and return a value of 2 in response to preloading of the markup document still in progress. The control information may also include APIs that generate signals to issue commands to preload markup documents. This API may return a response indicating whether the command to preload the markup document was successfully sent. The control information may also include an API used to determine whether the preloading of the markup document is complete. This API may return a value TRUE in response to the preloading of the markup document being completed and a value of FALSE in response to the preloading of the markup document not being complete.

图18示出根据本发明实施例的图17中的盘的目录结构。参照图18,起始文档STARTUP.PLD的参考文档被包括在目录DVD_ENAV中。FIG. 18 shows a directory structure of the disc in FIG. 17 according to an embodiment of the present invention. Referring to FIG. 18, reference files of the start file STARTUP.PLD are included in the directory DVD_ENAV.

图19示出根据本发明实施例的在图17中的盘的卷结构和文件结构。参照图19,STARTUP.PLD的参考文档被记录在DVD交互数据区中。FIG. 19 shows a volume structure and a file structure of the disc in FIG. 17 according to an embodiment of the present invention. Referring to FIG. 19, a reference file of STARTUP.PLD is recorded in the DVD interactive data area.

图20示出记录在图17中盘上的标记文档和AV数据被再现的预定顺序。例如,在每一场景开始的情况下,使用IsCashed API检查与该场景相应的预装载列表文件的参考文件是否已被读取。在参考文件的读取已成功完成的情况下,HTM文档被读取并再现。此后,使用Discard API来删除已被再现的标记文档。FIG. 20 shows a predetermined order in which markup files and AV data recorded on the disc in FIG. 17 are reproduced. For example, at the beginning of each scene, use the IsCashed API to check whether the reference file to the preload list file corresponding to that scene has been read. In a case where the reading of the reference file has been successfully completed, the HTM document is read and reproduced. Thereafter, use the Discard API to delete marked documents that have been reproduced.

例如,为了从STARTUP.HTM、A.HTM和D.HTM无缝地再现数据,STARTUP.PLD被规定如下。For example, in order to seamlessly reproduce data from STARTUP.HTM, A.HTM, and D.HTM, STARTUP.PLD is defined as follows.

  <?xml version=″1.0″encoding=″UTF-8″?><!DOCTYPE PRELOAD PUBLIC″-//DVD//DTD DVD Preload List 1.0//EN″″http://www.dvdforum.org/enav/dvd-preload-list.dtd″--><filedef type=″text/xml″src=″disc://dvd_enav//a.htm″/><filedef type=″text/xml″src=″disc://dvd_enav//a.pld″/><filedef type=″image/png″src=″dvd://dvd_enav//a1.png″/><filedef type=″image/png″src=″dvd://dvd_enav//a2.png″/><filedef type=″image/png″src=″dvd://dvd_enav//a3.png″/><filedef type=″text/xml″src=″disc://dvd_enav//b.htm″/><filedef type=″text/xml″src=″disc://dvd_enav//b.pld″/><filedef type=″audio/au″src=″dvd://dvd_enav//b1.au″/><filedef type=″image/png″src=″dvd://dvd_enav//b2.png″/><filedef type=″image/png″src=″dvd://dvd_enav//b3.jpg″/><filedef type=″text/xml″src=″disc://dvd_enav//c.htm″/><filedef type=″text/xml″src=″disc://dvd_enav//c.pld″/><filedef type=″image/png″src=″dvd://dvd enav//c1.png″/><filedef type=″image/png″src=″dvd://dvd_enav//c2.png″/><filedef type=″image/png″src=″dvd://dvd_enav//c3.png″/><filedef type=″text/xml″src=″disc://dvd_enav//d.htm″/><filedef type=″text/xml″src=″disc://dvd_enav//d.pld″/><filedef type=″image/png″src=″dvd://dvd_enav//d1.png″/><filedef type=″image/png″src=″dvd://dvd_enav//d2.png″/></preload> <? xml version="1.0" encoding="UTF-8"? ><! DOCTYPE PRELOAD PUBLIC″-//DVD//DTD DVD Preload List 1.0//EN″″http://www.dvdforum.org/enav/dvd-preload-list.dtd″--><filedef type=″text/ xml″src="disc://dvd_enav//a.htm"/><filedef type="text/xml" src="disc://dvd_enav//a.pld"/><filedef type="image/ png″src="dvd://dvd_enav//a1.png"/><filedef type="image/png" src="dvd://dvd_enav//a2.png"/><filedef type="image/ png″src="dvd://dvd_enav//a3.png"/><filedef type="text/xml" src="disc://dvd_enav//b.htm"/><filedef type="text/ xml″src="disc://dvd_enav//b.pld"/><filedef type="audio/au" src="dvd://dvd_enav//b1.au"/><filedef type="image/ png″src="dvd://dvd_enav//b2.png"/><filedef type="image/png" src="dvd://dvd_enav//b3.jpg"/><filedef type="text/ xml″src="disc://dvd_enav//c.htm"/><filedef type="text/xml" src="disc://dvd_enav//c.pld"/><filedef type="image/ png″src="dvd://dvd enav//c1.png"/><filedef type="image/png" src="dvd://dvd_enav//c2.png"/><filedef type="image /png″src="dvd://dvd_enav//c3.png"/><filedef type="text/xml" src="disc://dvd_enav//d.htm"/><filedef type=" text/xml″src="disc://dvd_enav//d.pld"/><filedef type="image/png" src="dvd://dvd_enav//d1.png"/><filedef type=" image/png″src=″dvd://dvd_enav//d2.png″/></preload>

通过使用上述STARTUP.PLD,STARTUP.HTM被显示在屏幕上,表示交互放映的开始。由图15中的设备处理的STARTUP.HTM的例子如下。By using the above STARTUP.PLD, STARTUP.HTM is displayed on the screen, indicating the start of the interactive show. An example of STARTUP.HTM processed by the device in Fig. 15 is as follows.

  <?xml version=″1.0″encoding=″UTF-8″?><!DOCTYPE html PUBLIC-//DVD/DTD XHTML DVD-HTML1.0//EN″″http://www.dvdforum.org/enav/dvdhtml-1-0.dtd″><html><head><title>WAR II STARTUP PAGE</title><script language=″ecmascript″><![CDATA[function onload_handler(){navigator.preload(″disc://dvd_enav/startup.pld″.″xml/preload″);idplayer.subscribeToEvent(10)idplayer.setTrigger(1,″00:30:35:00″,1);idplayer.play();docbody.addEventListener(″dvdevent″,idplayer_handler,true);}function idplayer_handler(e){switch(e.parm1){case 10://trigger eventif(e.parm2==1)//begin to die{while(navigator.isCached(″disc://dvd_enav/a.pld″,″xml/preload″)==2||navigator.isCached(″disc://dvd_enav/b.pld″,″xml/preload″)==2||navigator.isCached(″disc://dvd_enav/c.pld″,″xml/preload″)==2||navigator.isCached(″disc://dvd_enav/d.pld″,″xml/preload″)==2);//during//reading;-if(navigator.isCached(″disc://dvd_enav/a.pld″,″xml/preload″)==1)//failed{idplayer.stop();location.href=″disc://dvd_enav/discerr.htm″;}//to read c.pld is OK.location.href=″disc://dvd_enav/a.htm″;//jump to c.htm }break;} }]]></script></head><body id=″docbody″onload=″onload_handler()″><object style=″position:absolute;left:150px;top:100px;width:370px;height:250px″data=″dvd:video_ts″id=″idplayer″/><img style=″position:absolute;left:167px;top:375px;width:170px;height:60px″src=″disc://dvd_enav/s1.png″type=″image/png″/><img style=″position:absolute;left:370px;top:375px;width:170px;height:60px″src=″disc://dvd_enav/s2.png″type=″image/png″/></body></html> <? xml version="1.0" encoding="UTF-8"? ><! DOCTYPE html PUBLIC-//DVD/DTD XHTML DVD-HTML1.0//EN″″http://www.dvdforum.org/enav/dvdhtml-1-0.dtd″><html><head><title> WAR II STARTUP PAGE</title><script language=″ecmascript″><![CDATA[function onload_handler(){navigator.preload(″disc://dvd_enav/startup.pld″.″xml/preload″); idplayer .subscribeToEvent(10) idplayer.setTrigger(1, "00:30:35:00", 1); idplayer.play(); docbody.addEventListener("dvdevent", idplayer_handler, true); } function idplayer_handler(e){ switch(e.parm1){case 10://trigger eventif(e.parm2==1)//begin to die{while(navigator.isCached("disc://dvd_enav/a.pld", "xml/preload ")==2||navigator.isCached("disc://dvd_enav/b.pld", "xml/preload")==2||navigator.isCached("disc://dvd_enav/c.pld", "xml/preload")==2||navigator.isCached("disc://dvd_enav/d.pld", "xml/preload")==2); //during//reading; -if(navigator. isCached("disc://dvd_enav/a.pld", "xml/preload")==1)//failed{idplayer.stop(); location.href="disc://dvd_enav/discerr.htm"; }//to read c.pld is OK.location.href="disc://dvd_enav/a.htm"; //jump to c.htm }br eak;} }]]></script></head><body id="docbody" style="position:absolute;left:150px;top:100px;width:370px ;height:250px"data="dvd:video_ts"id="idplayer"/><img style="position:absolute;left:167px;top:375px;width:170px;height:60px"src="disc:/ /dvd_enav/s1.png″type=″image/png″/><img style=″position:absolute;left:370px;top:375px;width:170px;height:60px″src=″disc://dvd_enav/ s2.png″type="image/png"/></body></html>

根据本发明的一方面,标记文档A.HTM和B.HTM可包括图像。根据本发明的一方面,参照图18和20,放映所需的标记文档,例如A.HTM,即A.PLD中的并称为将被预装载的文件的标记文档在放映之后被从ENAV缓冲器30中删除。According to an aspect of the invention, the markup documents A.HTM and B.HTM may include images. According to an aspect of the present invention, with reference to Figures 18 and 20, a markup file required for a show, such as A.HTM, that is, a markup file in A.PLD and called a file to be preloaded, is downloaded from ENAV after the show. Buffer 30 is deleted.

  <?xml version=″1.0″encoding=″UTF-8″?><!DOCTYPE html PUBLIC-//DVD/DTD XHTML DVD-HTML1.0//EN″″http://www.dvdforum.org/enav/dvdhtml-1-0.dtd″><html><head><title>WAR II B.HTM PAGE</title><script language=″ecmascript″><![CDATA[function onload_handler(){navigator.discard(″disc://dvd_enav/a.pld″,″xml/preload″);//any longer to use A.HTMidplayer.subscribeToEvent(10)idplayer.setTrigger(1,″50:35:00″,1);docbody.addEventListener(″dvdevent″,idplayer_handler,true),}function idplayer_handler(e) {switch(e.parm1) {case 10://trigger eventif(e.parm2==1)//begin combat{while(navigator.isCached(″disc://dvd_enav/c.pld″,″xml/preload″)==2);//during//readng;if(navigator.isCached(″disc://dvd_enav/c.pld″,″xml/preload″)==1)//failed{idplayer.stop();location.href=″disc://dvd_enav/discerr.htm″;}//to read a.pld is OK.location.href=″disc://dvd_enav/c.htm″;//jump to c.htm }break;} }]]></script></head><body id=″docbody″onload=″onload_handler()″><object style=″left:110px;top:80px;width:500px;height:200px″data=″dvd:video_ts″id=″idplayer″/><img style=″position:absolute;left:539px;top:38px;width:140px;height:70px″src=″disc://dvd_enav/b1.png″type=″image/png″/><img style=″position:absolute;left:560px;top:200px;width:120px;height:50px″src=″disc://dvd_enav/b2.png″type=″image/png″/><img style=″position:absolute;left:610px;top:280px;width:100px;height:50px″src=″disc://dvd_enav/b3.png″type=″image/png″/></body></html> <? xml version="1.0" encoding="UTF-8"? ><! DOCTYPE html PUBLIC-//DVD/DTD XHTML DVD-HTML1.0//EN″″http://www.dvdforum.org/enav/dvdhtml-1-0.dtd″><html><head><title> WAR II B.HTM PAGE</title><script language=″ecmascript″><![CDATA[function onload_handler(){navigator.discard(″disc://dvd_enav/a.pld″,″xml/preload″) ;//any longer to use A.HTMidplayer.subscribeToEvent(10) idplayer.setTrigger(1, "50:35:00", 1); docbody.addEventListener("dvdevent", idplayer_handler, true), } function idplayer_handler(e ) {switch(e.parm1) {case 10://trigger eventif(e.parm2==1)//begin combat{while(navigator.isCached(″disc://dvd_enav/c.pld″,”xml/ preload")==2); //during//readng; if(navigator.isCached("disc://dvd_enav/c.pld", "xml/preload")==1)//failed{idplayer.stop (); location.href = "disc://dvd_enav/discerr.htm"; } //to read a.pld is OK.location.href = "disc://dvd_enav/c.htm"; //jump to c.htm }break; } }]]></script></head><body id="docbody" style="left:110px;top:80px;width:500px ;height:200px"data="dvd:video_ts"id="idplayer"/><img style="position:abs olute; left:539px; top:38px; width:140px; height:70px "src = "disc://dvd_enav/b1.png" type = "image/png"/><img style = "position:absolute; left :560px; top:200px; width:120px; height:50px″src="disc://dvd_enav/b2.png"type="image/png"/><img style="position:absolute; left:610px; top:280px; width:100px; height:50px "src = "disc://dvd_enav/b3.png" type = "image/png"/></body></html>

应该理解使用本发明的系统还包括本发明的过程和数据结构可被存储并分布在其上的永久的或可移动的存储器,诸如磁盘和光盘、RAM、ROM、载波介质等。还可经例如通过诸如互联网的网络下载来发布操作。It should be understood that systems using the present invention also include permanent or removable storage, such as magnetic and optical disks, RAM, ROM, carrier media, etc., on which the processes and data structures of the present invention can be stored and distributed. Operations may also be distributed via, for example, downloading over a network such as the Internet.

尽管本发明的一些实施例已被示出并被描述,但是,本领域技术人员应该理解,在不脱离本发明的原理和精神的情况下可对这些实施例进行改变,本发明的范围由所附权利要求及其等同物所限定。While certain embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that changes may be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined herein. as defined in the appended claims and their equivalents.

产业上的可利用性Industrial availability

例如,根据本发明,即使在盘的物理缺陷或连接中断导致不成功或未完成将文件预装载到缓冲器的情况下,当使用实现预装载的内容状态的确定的方法来处理内容时,还是可仅使用预装载的文件来放映图像。因此,再现内容的可靠性被改善。即,根据本发明的一方面,即使在标记文档的预装载期间标记文档未被完全预装载或出现错误,也可以在交互模式下以适当的方式放映AV数据。For example, according to the present invention, when content is processed using a method that enables determination of the preloaded content state, even in cases where a physical defect of the disk or a connection interruption results in an unsuccessful or incomplete preloading of the file into the buffer , or you can project images using only preloaded files. Therefore, the reliability of reproduced content is improved. That is, according to an aspect of the present invention, even if a markup document is not completely preloaded or an error occurs during preloading of the markup document, AV data can be projected in an appropriate manner in an interactive mode.

Claims (57)

1、一种用于以交互模式利用标记文档再现AV数据的设备,包括:1. An apparatus for reproducing AV data using a markup file in an interactive mode, comprising: 缓冲器,用于缓冲标记文档;以及Buffer, for buffering markup documents; and 缓冲器管理器,用于管理缓冲器以预装载标记文档,并且响应于报告信号输出缓冲器的缓冲状态信息。The buffer manager manages the buffer to preload the markup document, and outputs buffer status information of the buffer in response to the report signal. 2、如权利要求1所述的设备还包括内容解码器,其用于解释标记文档并且输出报告信号,其中,缓冲器管理器响应于报告信号将缓冲器的缓冲状态信息通知内容解码器。2. The apparatus of claim 1, further comprising a content decoder for interpreting the markup document and outputting a report signal, wherein the buffer manager notifies the content decoder of buffering status information of the buffer in response to the report signal. 3、如权利要求2所述的设备,其中,内容解码器使用应用程序接口API来产生报告信号。3. The apparatus of claim 2, wherein the content decoder generates the report signal using an Application Programming Interface (API). 4、如权利要求3所述的设备,其中,API用于通知内容解码器标记文档的预装载成功或失败、或者标记文档是否仍然正在被装载。4. The apparatus of claim 3, wherein the API is for notifying the content decoder that the preloading of the markup document has succeeded or failed, or whether the markup document is still being loaded. 5、如权利要求4所述的设备,其中,API在标记文档的预装载成功的情况下返回值0,在标记文档的预装载失败的情况下返回值1,并且在标记文档仍然在被装载的情况下返回值2。5. The device of claim 4, wherein the API returns a value of 0 if the preloading of the markup document is successful, a value of 1 if the preloading of the markup document fails, and a value of 1 if the markup document is still in the Returns a value of 2 if loaded. 6、如权利要求2所述的设备,其中,内容解码器使用包括标记文档的文件路径和属性中的至少一个作为参数的API来产生报告信号。6. The apparatus of claim 2, wherein the content decoder generates the report signal using an API including at least one of a file path and an attribute of the markup document as a parameter. 7、如权利要求2所述的设备,其中,内容解码器使用[obj].isCached(URL,resType)API来产生报告信号,其中,URL是表示标记文档的文件路径的参数,并且resType是表示标记文档的属性的参数。7. The apparatus of claim 2, wherein the content decoder generates the report signal using [obj].isCached(URL, resType) API, wherein URL is a parameter representing the file path of the markup document, and resType is a parameter representing Parameters for the properties of the markup document. 8、如权利要求2所述的设备,其中,缓冲器管理器利用API通知内容解码器标记文档的缓冲状态。8. The apparatus of claim 2, wherein the buffer manager notifies the content decoder of the buffering status of the markup document using the API. 9、如权利要求1所述的设备,其中,缓冲器管理器响应于取信号而将标记文档预装载到缓冲器中。9. The apparatus of claim 1, wherein the buffer manager preloads the markup document into the buffer in response to the fetch signal. 10、如权利要求9所述的设备,还包括解释标记文档并且输出取信号的内容解码器,其中,缓冲器管理器将包括在取信号中的预装载标记文档的命令是否已被成功地接收通知内容解码器。10. The apparatus of claim 9, further comprising a content decoder that interprets the markup document and outputs a fetch signal, wherein the buffer manager includes in the fetch signal whether a command to preload the markup document has been successfully executed Receive notification content decoder. 11、如权利要求10所述的设备,其中,内容解码器使用API来产生取信号。11. The apparatus of claim 10, wherein the content decoder generates the fetch signal using the API. 12、如权利要求11所述的设备,其中,缓冲器管理器利用API通知内容解码器命令是否已被成功接收。12. The apparatus of claim 11, wherein the buffer manager notifies the content decoder whether the command has been successfully received using the API. 13、如权利要求1所述的设备,还包括解释标记文档的内容解码器,其中,内容解码器利用API检查是否完成了标记文档的预装载。13. The apparatus of claim 1, further comprising a content decoder interpreting the markup document, wherein the content decoder checks whether preloading of the markup document is completed using an API. 14、如权利要求13所述的设备,其中,API为[obj].allDone API。14. The device of claim 13, wherein the API is the [obj].allDone API. 15、如权利要求14所述的设备,其中,[obj].allDone API在标记文档的预装载被完成的情况下将值真返回到内容解码器,并且在标记文档的预装载未完成的情况下将值假返回到内容解码器。15. The device of claim 14, wherein the [obj].allDone API returns a value true to the content decoder if preloading of the markup document is complete, and if preloading of the markup document is not complete In case return value false to content decoder. 16、如权利要求1所述的设备,还包括解释标记文档的内容解码器,其中,缓冲器管理器响应于再现信号将标记文档从缓冲器传输到内容解码器。16. The apparatus of claim 1, further comprising a content decoder that interprets the markup document, wherein the buffer manager transmits the markup document from the buffer to the content decoder in response to the reproduction signal. 17、如权利要求1所述的设备,还包括解释标记文档的内容解码器,其中,内容解码器将释放信号输出到缓冲器管理器,表示响应于再现信号的从缓冲器中取出的标记文档未被使用。17. The apparatus of claim 1, further comprising a content decoder for interpreting the markup document, wherein the content decoder outputs a release signal to the buffer manager representing the markup document fetched from the buffer in response to the reproduction signal Not used. 18、如权利要求17所述的设备,其中,内容解码器响应于标记文档不再被显示在显示装置的屏幕中来将释放信号输出到缓冲器管理器。18. The apparatus of claim 17, wherein the content decoder outputs the release signal to the buffer manager in response to the markup document being no longer displayed in the screen of the display device. 19、如权利要求1所述的设备,还包括解释标记文档的内容解码器,其中,缓冲器管理器响应于从内容解码器中输出的丢弃信号从缓冲器中删除标记文档。19. The apparatus of claim 1, further comprising a content decoder that interprets the markup document, wherein the buffer manager deletes the markup document from the buffer in response to a drop signal output from the content decoder. 20、如权利要求19所述的设备,其中,内容解码器使用丢弃API产生丢弃信号。20. The apparatus of claim 19, wherein the content decoder generates the drop signal using a drop API. 21、如权利要求2所述的设备,其中,内容解码器使用progressNameOfFileAPI来产生报告信号以确定当前正被预装载的标记文档的文件名。21. The apparatus of claim 2, wherein the content decoder uses the progressNameOfFile API to generate the report signal to determine the filename of the markup document currently being preloaded. 22、如权利要求2所述的设备,其中,内容解码器使用progressLengthOfFile API来产生报告信号以确定多少当前正被预装载的标记文档已被预装载。22. The device of claim 2, wherein the content decoder uses the progressLengthOfFile API to generate a report signal to determine how many markup files currently being preloaded have been preloaded. 23、如权利要求2所述的设备,其中,内容解码器使用remainLengthOfFileAPI来产生报告信号以确定仍有多少当前正被预装载的标记文档将被预装载。23. The device of claim 2, wherein the content decoder uses the remainLengthOfFile API to generate a report signal to determine how many markup files currently being preloaded are still to be preloaded. 24、如权利要求2所述的设备,其中,内容解码器使用totalLoadingSizeAPI来产生报告信号以确定将被预装载的标记文档的总量。24. The apparatus of claim 2, wherein the content decoder uses the totalLoadingSize API to generate a report signal to determine the total amount of markup documents to be preloaded. 25、如权利要求2所述的设备,其中,内容解码器使用remainLoadingSizeAPI来产生报告信号以确定标记文档的总量中的多少仍然将被预装载。25. The device of claim 2, wherein the content decoder uses the remainingLoadingSize API to generate a report signal to determine how much of the total amount of marked up documents is still to be preloaded. 26、一种用于控制缓冲标记文档的缓冲器来以交互模式再现AV数据的设备,包括:缓冲器管理器,用于管理缓冲器以预装载标记文档,并且输出包括标记文档的缓冲信息的缓冲器的信息,其中,缓冲信息包括:26. An apparatus for controlling a buffer for buffering a markup file to reproduce AV data in an interactive mode, comprising: a buffer manager for managing a buffer to preload a markup file, and outputting buffer information including the markup file The buffer information, where the buffer information includes: 表示标记文档的预装载成功的信息;A message indicating that the preloading of the markup document was successful; 表示标记文档的预装载失败的信息;以及a message indicating that preloading of the markup document failed; and 表示标记文档的预装载仍然在进行的信息。Indicates that preloading of markup documents is still in progress. 27、如权利要求26所述的设备,其中,缓冲器管理器使用应用程序接口输出缓冲器的信息。27. The apparatus of claim 26, wherein the buffer manager outputs the information of the buffer using an API. 28、如权利要求26所述的设备,其中,缓冲器的信息还包括表示预装载标记文档的命令是否已被成功接收的信息。28. The apparatus of claim 26, wherein the information of the buffer further includes information indicating whether the command to preload the markup document has been successfully received. 29、如权利要求26所述的设备,其中,缓冲器的信息还包括表示标记文档的预装载是否完成的信息。29. The apparatus of claim 26, wherein the information of the buffer further includes information indicating whether the preloading of the markup document is completed. 30、一种用于以交互模式使用标记文档记录和/或再现AV数据的设备,包括:30. An apparatus for recording and/or reproducing AV data using a markup file in an interactive mode, comprising: AV缓冲器,用于缓冲AV数据;AV buffer for buffering AV data; AV再现引擎,用于解码AV数据;AV reproduction engine for decoding AV data; 增强音视频ENAV缓冲器,用于预装载标记文档来以交互模式再现AV数据;Enhanced Audio Video ENAV buffer for preloading markup files to reproduce AV data in interactive mode; ENAV引擎,用于识别标记文档的缓冲状态信息并且解码该标记文档;以及an ENAV engine for identifying buffer state information for a markup document and decoding the markup document; and 用于获得标记文档的装置。Means for obtaining marked up documents. 31、如权利要求30所述的设备,其中,该设备响应于从数据存储介质获得标记文档使用分块的I/O方法,并响应于从网络获得标记文档使用非分块的I/O方法。31. The device of claim 30, wherein the device uses a chunked I/O method in response to obtaining the markup document from the data storage medium and uses a non-blocked I/O method in response to obtaining the markup document from the network . 32、一种使用标记文档以交互模式再现AV数据的方法,该方法包括:32. A method of reproducing AV data in an interactive mode using a markup document, the method comprising: 缓冲标记文档以预装载标记文档,以及buffer markup documents to preload markup documents, and 响应于报告信号输出标记文档的缓冲状态信息。Buffering status information of the marked document is output in response to the report signal. 33、如权利要求32所述的方法,还包括产生报告信号以确定标记文档的缓冲状态信息。33. The method of claim 32, further comprising generating a report signal to determine buffer status information for the markup document. 34、如权利要求33所述的方法,其中,报告信号的产生包括使用应用程序接口API来产生报告信号。34. The method of claim 33, wherein the generating of the report signal comprises generating the report signal using an Application Programming Interface (API). 35、如权利要求34所述的方法,其中,API包括标记文档的文件路径和属性中的至少一个作为参数。35. The method of claim 34, wherein the API includes at least one of a file path and an attribute of the markup document as a parameter. 36、如权利要求34所述的方法,其中,API用于确定用于预装载标记文档的标记文档的缓冲是成功还是失败、或标记文档是否仍在被缓冲。36. The method of claim 34, wherein the API is used to determine whether buffering of the markup document for preloading the markup document succeeded or failed, or whether the markup document is still being buffered. 37、如权利要求33所述的方法,其中,报告信号的产生包括使用[obj].isCached(URL,resType)API来产生报告信号,其中,URL是表示标记文档的文件路径的参数,并且resType是表示标记文档的属性的参数。37. The method of claim 33, wherein generating the report signal includes generating the report signal using the [obj].isCached(URL, resType) API, where URL is a parameter representing the file path of the markup document, and resType is a parameter representing an attribute of the markup document. 38、如权利要求32所述的方法,其中,缓冲状态信息的输出包括:响应于标记文档被成功预装载返回值0,响应于标记文档未被成功预装载返回值1,以及响应于标记文档仍然在被预装载返回值2。38. The method of claim 32, wherein outputting buffer status information includes returning a value of 0 in response to the markup document being successfully preloaded, returning a value of 1 in response to the markup document being unsuccessfully preloaded, and returning a value of 1 in response to The markup document is still being preloaded and returns a value of 2. 39、如权利要求32所述的方法,还包括使用预装载的标记文档以交互模式再现AV数据。39. The method of claim 32, further comprising reproducing the AV data in an interactive mode using a preloaded markup file. 40、一种使用标记文档以交互模式再现AV数据的方法,该方法包括:40. A method of reproducing AV data in an interactive mode using a markup document, the method comprising: 使用取信号发出预装载标记文档的命令;以及Use signal fetch to issue a command to preload the markup document; and 接收表示是否已使用取信号来成功发送预装载标记文档的命令的响应。Receives a response indicating whether the command to preload the markup document was successfully sent using the signal fetch. 41、如权利要求40所述的方法,其中,预装载标记文档的命令的发出包括使用应用程序接口API来产生取信号。41. The method of claim 40, wherein issuing the command to preload the markup document includes using an application programming interface (API) to generate a fetch signal. 42、如权利要求40所述的方法,其中,响应的接收包括使用API接收表示是否已经成功接收包括在取信号中的命令的响应。42. The method of claim 40, wherein the receiving of the response comprises receiving, using the API, a response indicating whether the command included in the signal fetch has been successfully received. 43、如权利要求40所述的方法,还包括使用预装载的标记文档以交互模式再现AV数据。43. The method of claim 40, further comprising reproducing the AV data in an interactive mode using a preloaded markup file. 44、一种使用标记文档以交互模式再现AV数据的方法,该方法包括:44. A method of reproducing AV data in an interactive mode using a markup document, the method comprising: 使用应用程序接口API查询是否完成标记文档的预装载;以及Querying whether the preloading of the markup document is complete using the Application Programming Interface API; and 接收响应于标记文档的预装载完成的返回值真、和响应于标记文档的预装载的未完成的返回值假。A return value of TRUE is received in response to completion of preloading of the markup document, and a return value of FALSE in response to incomplete preloading of the markup document. 45、如权利要求44所述的方法,其中,API为[obj].allDone API。45. The method of claim 44, wherein the API is [obj].allDone API. 46、如权利要求44所述的方法,还包括使用预装载的标记文档以交互模式再现AV数据。46. The method of claim 44, further comprising reproducing the AV data in an interactive mode using a preloaded markup file. 47、一种管理在以交互模式再现AV数据中使用的标记文档的方法,该方法包括:47. A method of managing a markup file used in reproducing AV data in an interactive mode, the method comprising: 响应于取信号缓冲标记文档以预装载标记文档;buffering the markup document to preload the markup document in response to fetching the signal; 响应于报告信号输出标记文档的缓冲状态;outputting a buffering status of the marked-up document in response to the report signal; 响应于检索信号对标记文档分级以解码;以及rating the marked document for decoding in response to the retrieval signal; and 响应于丢弃信号删除标记文档。The marked document is deleted in response to the drop signal. 48、如权利要求47所述的方法,还包括响应于释放信号将标记文档标记为不再使用的文档。48. The method of claim 47, further comprising marking the marked document as a document no longer in use in response to the release signal. 49、如权利要求47所述的方法,还包括发出表示包括在取信号中的预装载标记文档的命令是否已被成功发送的响应。49. The method of claim 47, further comprising issuing a response indicating whether the command to preload the markup document included in the signal fetch has been successfully sent. 50、如权利要求47所述的方法,其中,缓冲状态的输出包括返回表示标记文档的预装载是否已被完成的信号。50. The method of claim 47, wherein outputting the buffer status includes returning a signal indicating whether preloading of the markup document has been completed. 51、如权利要求47所述的方法,其中,缓冲状态的输出包括返回表示标记文档的预装载是成功还是失败、或标记文档的预装载是否仍在进行的信号。51. The method of claim 47, wherein outputting the buffer status includes returning a signal indicating whether the preloading of the markup document succeeded or failed, or whether the preloading of the markup document is still in progress. 52、一种管理在以交互模式再现AV数据中使用的标记文档的方法,该方法包括:52. A method of managing a markup file used in reproducing AV data in an interactive mode, the method comprising: 产生用于预装载标记文档的取信号;generate fetch signals for preloading marked-up documents; 产生用于确定标记文档的缓冲状态的报告信号;generating a reporting signal for determining the buffering status of the marked-up document; 产生用于对标记文档分级以解码的检索信号;以及generating a retrieval signal for grading the marked document for decoding; and 产生用于删除标记文档的丢弃信号。Produces a discard signal for deleting marked documents. 53、如权利要求52所述的方法,还包括产生响应于标记文档不再被放映的释放信号。53. The method of claim 52, further comprising generating a release signal responsive to marking that the document is no longer to be projected. 54、如权利要求52所述的方法,其中,报告信号的产生包括使用应用程序接口API产生报告信号来确定标记文档的预装载是否成功、标记文档是否仍在被预装载、和标记文档的预装载已被完成中的一个或多个。54. The method of claim 52, wherein generating the report signal comprises generating a report signal using an application programming interface API to determine whether the preloading of the markup document was successful, whether the markup document is still being preloaded, and whether the markup document One or more of the preloads have already been completed. 55、一种使用标记文档以交互模式处理AV数据的计算机系统中的方法,该方法包括:55. A method in a computer system for processing AV data in an interactive mode using a markup document, the method comprising: 控制内容解码器以产生用于确定标记文档的缓冲状态信息的报告信号;以及controlling the content decoder to generate a report signal for determining buffer status information for the marked-up document; and 响应于报告信号,控制缓冲器管理器发出表示标记文档的预装载是成功还是失败、或标记文档的预装载是否仍在进行的响应。In response to the report signal, the control buffer manager issues a response indicating whether the preloading of the marked-up document succeeded or failed, or whether the preloading of the marked-up document is still in progress. 56、一种使用标记文档以交互模式处理AV数据的计算机系统中的方法,该方法包括:56. A method in a computer system for processing AV data in an interactive mode using a markup document, the method comprising: 控制内容解码器以产生用于预装载标记文档的取信号;以及controlling the content decoder to generate a fetch signal for preloading the marked-up document; and 响应于取信号,控制缓冲器管理器发出表示预装载标记文档的命令是否已被成功接收的响应。In response to the signal, the control buffer manager issues a response indicating whether the command to preload the marked-up document was successfully received. 57、一种使用标记文档以交互模式处理AV数据的计算机系统中的方法,该方法包括:57. A method in a computer system for processing AV data in an interactive mode using a markup document, the method comprising: 控制内容解码器以产生用于确定标记文档的预装载是否完成的查询;以及controlling the content decoder to generate a query for determining whether preloading of the marked-up document is complete; and 响应于查询,控制缓冲器管理器发出表示标记文档的预装载是否完成的响应。In response to the query, the control buffer manager issues a response indicating whether preloading of the marked document is complete.
CNB2003801014603A 2002-10-17 2003-10-16 Method and apparatus for reproducing data from data storage medium having information for controlling buffer status of markup document Expired - Fee Related CN100545931C (en)

Applications Claiming Priority (9)

Application Number Priority Date Filing Date Title
KR20020063631 2002-10-17
KR1020020063631 2002-10-17
KR1020030027073 2003-04-29
KR1020030058890 2003-08-25
KR1020030058891 2003-08-25
KR1020030058892 2003-08-25
KR1020030058893 2003-08-25
KR1020030058695 2003-08-25
KR1020030060760 2003-09-01

Publications (2)

Publication Number Publication Date
CN1705993A CN1705993A (en) 2005-12-07
CN100545931C true CN100545931C (en) 2009-09-30

Family

ID=35578621

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003801014603A Expired - Fee Related CN100545931C (en) 2002-10-17 2003-10-16 Method and apparatus for reproducing data from data storage medium having information for controlling buffer status of markup document

Country Status (1)

Country Link
CN (1) CN100545931C (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1112334A (en) * 1994-04-28 1995-11-22 汤姆森消费电子有限公司 Method and apparatus for processing an audio video interactive signal
CN1143439A (en) * 1994-12-02 1997-02-19 菲利浦电子有限公司 Video Editing buffer management
CN1156304A (en) * 1996-02-01 1997-08-06 国际商业机器公司 Video optimized media streamer data flow architecture
WO2001095153A2 (en) * 2000-06-02 2001-12-13 Sun Microsystems, Inc. A javatm virtual machine configurable to perform as a web server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1112334A (en) * 1994-04-28 1995-11-22 汤姆森消费电子有限公司 Method and apparatus for processing an audio video interactive signal
CN1143439A (en) * 1994-12-02 1997-02-19 菲利浦电子有限公司 Video Editing buffer management
CN1156304A (en) * 1996-02-01 1997-08-06 国际商业机器公司 Video optimized media streamer data flow architecture
WO2001095153A2 (en) * 2000-06-02 2001-12-13 Sun Microsystems, Inc. A javatm virtual machine configurable to perform as a web server

Also Published As

Publication number Publication date
CN1705993A (en) 2005-12-07

Similar Documents

Publication Publication Date Title
JP2006523418A (en) Interactive content synchronization apparatus and method
US20040139395A1 (en) Data storage medium having information for controlling buffered state of markup document, and method and apparatus for reproducing data from the data storage medium
TWI312150B (en) Method and apparatus for reproducing av data in interactive mode, and information storage medium thereof
US20050120148A1 (en) Storage medium storing preloading data, and apparatus and method for reproducing information from storage medium
CN100545931C (en) Method and apparatus for reproducing data from data storage medium having information for controlling buffer status of markup document
US20040148627A1 (en) Data storage medium having information for controlling buffered state of markup document, and method and apparatus for reproducing data from the data storage medium
RU2298845C2 (en) Data storage carrier, having information for controlling buffered state of markup document, and also method and device for reproducing data from data storage carrier
KR101014665B1 (en) An information storage medium having preload information recorded thereon, a reproducing apparatus, and a reproducing method
CN100407320C (en) Recording and reproducing method and reproducing device of information storage medium
KR100584568B1 (en) Apparatus for reproducing Audio-Visual data in interactive mode using markup document
TWI236002B (en) Data storage medium having information for controlling buffered state of markup document, and method and apparatus for reproducing data from the data storage medium
KR100644606B1 (en) Apparatus for reproducing content in interactive mode
KR100584576B1 (en) Information storage medium for playing ABB data in ENA mode
KR20050018311A (en) Method and apparatus for reproducing AV data in interactive mode and information storage medium thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1082115

Country of ref document: HK

C14 Grant of patent or utility model
GR01 Patent grant
REG Reference to a national code

Ref country code: HK

Ref legal event code: WD

Ref document number: 1082115

Country of ref document: HK

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090930

Termination date: 20141016

EXPY Termination of patent right or utility model