METHOD AND OPTICAL DISC PLAYER APPARATUS
Field of the Invention The present invention relates to optical disk reproduction techniques, in particular, to the method and apparatus reproducing these optical discs, the contents of which are enhanced by a network or in other forms. BACKGROUND OF THE INVENTION With the development of optical storage techniques, an optical disk can not only store a large amount of information, but can also be a way and window to get more information, for example, optical discs with an eDVD format (Enhanced Digital Versatile Disc, eDVD) and Rayo-Blue optical disc format, etcetera. These formats of optical disc can break the limit that the previous formats of optical disc only supported the reproduction of the contents stored in the optical discs, and in addition they can support the contents that are related to the optical discs although they are not stored in the same (for example, in networks), that is, improved contents. For example, when an optical disc player is reproducing it, in addition to the contents that are reproduced on the optical disc, information related to optical disc contents or in certain scenarios can be acquired from
REF.174849 the networks through the network link information provided in the optical disc and in addition, the contents stored in other local storage media (for example, U disk, hard disk, storage card, etc.) can be reproduced. ) which are related to the contents of the optical disc that can also be reproduced based on the link information provided on the optical disc. These optical disc formats with the enhanced content functionality can take users to an unprecedented audio-visual experience. In these optical disc formats with improved optical disc contents, the reproduction engine of an optical disc player is required not only to process the contents stored on the optical disc, but also to access and reproduce, respectively, the contents of other information sources (in particular, networks) related to optical disc contents. The
Figure 1 shows a block diagram of an optical disk reproduction apparatus 100 in the prior art. The reproduction apparatus 100 can not only process the contents stored on optical discs and other local storage media, but also has access to network servers to obtain the content related to the contents of the optical disc for its reproduction. When the reproduction apparatus 100 is processing an optical disc, the contents stored on the optical disc can be processed directly by the playback engine 110 in accordance with the corresponding application program interfaces (APIs). As regards the content related to the optical disk contents that are stored in the network servers or other local means of storage, the playback engine 110 sends, based on these different contents, the storage address and the storage modes , which correspond to the instructions and API commands (for example, with the basic receptacle commands based on TCP / IP) to access the relevant addresses so that they can reproduce these contents. A temporary storage handler 130 can control the buffer 120 to reproduce the improved contents. The traditional optical disk reproduction apparatus and optical disk reproduction methods need to access and reproduce with different commands and in different modes the contents of various storage media. The playback engine 110 has to identify the storage information of these contents, and meanwhile you need to select different management methods according to various content formats. It should be noted that the contents stored in the optical disks and the improved contents that are stored in other storage media that are related to the contents of the optical disc can only be processed individually by the optical disc playback apparatus, it is very difficult to be used as a whole, which causes a particular complexity of design / manufacture of the reproduction engine. If the improved contents, in particular the improved contents in the networks, were constituted of a new media format or were related to a new network protocol, the playback engine 110 would also have to add a new application program interface or it would have than to update the existing technical version, then, the contents of the corresponding formats can be reproduced. Therefore, it is necessary to provide an optical disk reproduction method and apparatus for simplifying the reproduction of the optical disc contents and the improved contents. SUMMARY OF THE INVENTION The objective of the invention is to provide an optical disk reproduction method and apparatus that overcomes the disadvantages of prior art techniques. The method of optical disc reproduction provided by the present invention comprises the steps of: recovering the description information of the contents that will be reproduced; generate a reproduction file system based on the description information, the reproduction file system is generated based on a directory file system in storage media of the contents that will be reproduced; then, reproduce the contents that will be processed according to the reproduction file system. Out of which, the contents that will be reproduced comprise the contents stored in optical disks, and the improved contents of optical disc stored in other storage media (for example, in networks). Out of which, the description information comprises the storage information of the contents that will be reproduced. The method further comprises the steps of retrieving the information from the reproduction software resources that process the contents to be reproduced, and the generation of the reproduction file system based on the information of the reproduction software resources and the information of description of the resources that will be reproduced. The contents that will be reproduced are accessed and reproduced by a single application program interface according to the reproduction file system. The optical disc reproducing apparatus provided by the present invention comprises: a recovery device that recovers the description information of the contents to be reproduced, wherein the description information comprises the storage information of. the contents that will be reproduced. The optical disc reproducing apparatus further comprises a generating device that creates a reproduction file system based on the description information, the reproduction file system corresponds to the directory file system in content storage means that will be reproduced. The optical disc reproducing apparatus further comprises a reproduction engine that processes the contents that will be reproduced according to the reproduction file system. The recovery device is also used to recover the information of the reproduction software resources that are required for the processing of the contents that will be reproduced, including the storage information, for example, the temporary storage information. The generation device is also used for the creation of the reproduction file system based on the description information and the information of the reproduction software resources. The playback engine accesses and processes the contents that will be reproduced with a unique application program interface according to the playback file system. According to the present optical disc reproduction method and apparatus, the process of reproducing the contents to be processed that is effected by the optical disc engine is simplified, the contents in various storage media can be accessed and reproduced with a unique interface of application program. When the contents of a new optical disc format need to be reproduced or other new storage media appear, there is no need to update the optical disc playback engine, it is only necessary to simply extend some functional modules of the playback engine according to the present invention, too, the update of the optical disc reproduction apparatus as a whole can be achieved, therefore, the complexity of the design and the implementation of the reproduction engine are significantly simplified. Other purposes and achievements of the present invention will be apparent from the following description and claims, with reference to the accompanying drawings, and a greater understanding of the present invention can be achieved. Brief Description of the Figures The present invention will be illustrated in details with reference to the accompanying figures. Figure 1 is a block diagram of an optical disk reproduction apparatus 100 in the prior art;
Figure 2 is a block diagram of an optical disk reproduction apparatus 200 according to an embodiment of the present invention; Figure 3 is a flowchart of an optical disk reproduction method according to an embodiment of the present invention; Figure 4 is a directory structure configuration diagram of a reproduction file system according to an embodiment of the present invention; and Figure 5 is a schematic diagram of the links of a reproduction file system according to an embodiment of the present invention. The same signs represent the identical, similar or corresponding characteristics and functions in all the accompanying drawings. Detailed Description of the Invention Figure 2 is a block diagram of an optical disk reproduction apparatus 200 according to an embodiment of the present invention. The apparatus 200 comprises a recovery device 210, a generating device
220 and a playback engine 230. The recovery device 210 is used to recover the description information of the contents that will be reproduced. The contents that will be reproduced include contents that will be reproduced that are stored in optical discs and the improved contents related to the contents that will be reproduced in optical discs. The improved contents comprise the contents stored in networks for which link addresses are provided in the optical discs, they may also comprise contents stored in other local storage media (eg, hard disk, U disk, etc.) for which they are provided links on optical discs, such as some texts, still images, moving images, audio and video segments, and so on. The description information retrieved by the recovery device 210 comprises the storage information of the previous contents that will be reproduced, for example, the storage address of the contents that will be reproduced on optical disks or other local storage means, or the address of temporary storage of the contents that will be reproduced in a buffer, which are dowded from the networks. As for the improved network contents, first, these must be dowded to the buffer of the optical disc playing apparatus for performing continuous playback, the network contents get a temporary storage address in the buffer. If the contents to be reproduced were constituted of network contents, some application program resources that support the reproduction of the network contents would be required to be dowded into the buffer storage of the optical disc reproducing apparatus and which corresponded with temporary storage addresses to ensure smooth reproduction of network contents. Therefore, in these cases the recovery device 210 is also used to recover the information of the reproduction software resources that support the reproduction of the contents that will be processed, for example, the storage information of the application program, including the storage address in the networks or the buffer address in the buffer memory of the optical disc reproducing apparatus. The generation device 220 is used for the creation of a reproduction file system with the description information of the contents that will be processed, which are recovered by the recovery device 210. Because the directory file system in a storage medium comprises the description information of the contents that will be reproduced, the generation device 220 can create, based on the directory file system on a storage medium of the contents to be reproduced, for example, the directory file system on an optical disc of the optical disc contents. In common form, an initial system of reproduction file is established through a method of mapping or conversion based on the directory file system of the contents that will be reproduced that are stored in an optical disc, then the information of the description of the improved contents or the corresponding directory file system are added to the established reproduction file system, and in this way, a unified file system for reproducing the contents that will be reproduced in the reproduction apparatus of optical disk, the file system comprises the description information (for example, storage information, etc.) of the contents that will be reproduced in various storage media. If the contents to be reproduced were constituted of the contents of the network link, the generation device 220 would also add the information of reproduction resources (for example, the application programs, etc.) required for the processing of the corresponding contents of the network. network that will be reproduced in the playback file system, that is, to "map the storage information of the application programs to the playback file system, so that the relevant directories of the playback file system also comprise the temporary storage / storage address links of these application programs By establishing this playback file system, it allows the contents to be played on optical discs and that the improved contents and resources that are required for playback are accessed and processed. in a unique way. the contents that have to be stored temporarily by the buffer, if the contents were available in the buffer memory and had to temporarily store the storage addresses, the generation device 220 will add this information to the established file system of reproduction. If the contents only have an intermediate storage address when they are downloaded during playback, the generation device 220 will update, continuously, the set playback file system during optical disk processing. Therefore, the apparatus 200 may also comprise a buffer (not shown in the figures) for the temporary storage of the contents that do not need to be stored and the corresponding reproduction application programs. The playback engine 230 is used to process the contents that will be reproduced from an optical disc according to the playback file system discussed above, and does not need to have access to the directory file system on the optical disc. The playback engine 230, with only a single application program interface program, can smoothly access and reproduce the playback contents of an optical disc and the improved contents of the optical disc based on the information provided by the optical file system. reproduction. Figure 3 is a flowchart of the optical disk reproduction method according to an embodiment of the present invention. Once an optical disk is inserted into a reproduction apparatus, the optical disk reproduction apparatus performs reading, first of all, of the directory file stored on the optical disk, the directory file comprises some description information of the contents that will be reproduced, and the information of the corresponding reproduction software resources such as storage information, etc.(Step S305). The purpose of step S305 is to recover the description information of the contents that will be reproduced, because the directory file system in a storage medium of the contents that will be reproduced comprises the description information of the contents that will be reproduced , the present modality can obtain, in an expedited manner, the description information of the contents that will be reproduced according to the directory file system in a storage medium of the contents that will be reproduced. Obviously, other traditional methods for retrieving information describing the content that will be reproduced are also feasible. Next, an initial reproduction file system based on the directory file system for reproducing the contents in the inserted optical disc is generated (step S310). Based on the optical disk directory file, an initial playback file system is generated by mapping. For the detailed description of the process of generating the reproduction file system, the following explanation is given in Figure 4. The initial reproduction file system comprises a directory file system generated by mapping, which has a structure of directory file that corresponds to the contents that will be reproduced that are stored on the optical disc. For example, the directory file system of an optical disc comprises a "video transfer subdirectory (VIDE0_TS)" and a "subdirectory of enhanced contents of the optical disc (DVD_ENAV)" correspondingly, the reproduction file system also It comprises these two subdirectories. The link information of the improved content that will be reproduced, which is the storage path that indicates the improved contents that will be reproduced, is also included in the subdirectories of the initial reproduction file system. If the processing of the improved contents to be reproduced will require the support of the application programs stored on the optical disc, the storage information of these application programs will also be mapped to relevant directories of the reproduction file system. Next, the description information of the improved contents in other local storage media is retrieved and added to the reproduction file system (step S320). Because some description information, such as subtitling, the subject, some key words, etc., of the contents stored in the optical disc has been defined and stored in the optical disc during the manufacturing thereof, the corresponding contents that They will be reproduced and can easily be found in other local storage media only based on this information. The description information (for example, the storage address) of the improved contents in other local storage media is mapped to the set-up of the playback file, so that the reproduction file system comprises the link information that leads to improved playback contents in other local storage media (for example, storage addresses in other local storage media). Next, the reproduction file system is updated based on the description information of the improved contents in the networks (step S330). Commonly, the improved contents in the networks and the corresponding reproduction resources (for example, the reproduction application programs for audio and video and other application programs required for the reproduction of the network) must be downloaded in advance in the storage of the buffer of the optical disc reproducing apparatus and subsequently, are reproduced to ensure seamless or continuous reproduction for a certain scenario, for example, the optical disc provides the addresses of the network server through which some improved contents can be achieved in the form of a URL link (for example, www.dvd_2.com.cn/video.exe); the improved network contents and the corresponding reproduction resources can be accessed and downloaded for temporary storage according to the URL link information, in this way, the improved network contents and the reproduction resources have, in addition to the information of storage address of the network, the corresponding storage addresses after being downloaded. The update of the reproduction file system based on the description information of the downloaded network enhanced contents and the reproduction resources is the addition of this corresponding information, which includes the temporary storage information, in the established file system of reproduction according to the directory structure. The reproduction file system comprises the link information leading to the temporary storage address in the temporary storage device of the downloaded contents, for example, file: // buffer: / Offset = offset &Length = length, where buffer buffer ') indicates that the contents are present in the buffer device, the start address is' offset' and the length is' length '. Similarly, the reproduction file system may also comprise the description information that leads directly to the application program resources on the temporary storage device. Step S330 can also be executed during playback. Finally, the optical disc is reproduced according to the set reproduction file system (step S340). According to the reproduction file system, the contents that will be reproduced are processed with a unique interface of the application program. By accessing a link address in the playback file system dvd: // dvdrom: / VIDEO_TS / VIDEO_TS. IFO, for example, the playback device can get the file path
VIDEO_TS.IFO (stored in the directory VIDEO_TS of a DVD optical disc), the player can access and play the file according to this path. The establishment of the reproduction file system separates the reproduction engine from the specific means of storage, the reproduction engine does not simply need to use different forms of access for the reproduction of contents in various storage media, the operation of the reproduction system is simplified It needs to be explained that the improved network contents that are stored in the network servers can not only be downloaded before playback, but can also be downloaded into a buffer or other local storage media during playback. Once the download is complete, the player maps the buffer addresses of these downloaded network playback contents into the playback file system, so that the player can access these enhanced contents with the memory address links intermediate provided in the playback file system. Once playback of the optical disc is complete, the player can discard the playback file system. Because the playback file system is generated dynamically while an optical disc is inserted, the player can automatically discard the playback file system based on the termination of the playback. Whereas the same optical disc can be reproduced again and again, however, the reproduction file system can be saved in other local storage media during playback or based on the termination of reproduction, and thus not You will need to set up a playback file system while playing the same optical disc the next time, the optical disc can be played only to call the existing playback file system. Figure 4 is a configuration diagram of the directory structure of the reproduction file system according to an embodiment of the present invention. The player establishes an initial reproduction file system based on the directory file system of the contents on the optical disc. It is assumed that the directory structure of the playback contents on an optical disc comprises a root directory, according to which there are two subdirectories, the "subdirectory of improved optical disc contents" and the "subdirectory of video transfer" , the "subdirectory of improved contents of optical disc" also has second level subdirectories, namely, a "front subdirectory" and a "subdirectory of page number", all files are stored in the respective directories. For example, there are boot files in the "subdirectory of enhanced optical disc contents" of the optical disc, and transfer files in the "subdirectory of video transfer". Because the directory structure of the playback file system corresponds to that of the optical disk, mapping the entire directory structure of an optical disk into a playback file system can cause the directory structure of the reproduction system is identical to the optical disc. From Figure 4, it can be seen that the directory structure of the reproduction file system also comprises a root directory, according to which there is a "subdirectory of improved optical disk contents" and a "subdirectory of transfer of data". video ", according to the" subdirectory of enhanced optical disc contents "there is also a" front subdirectory "and a" subdirectory of page number ". The description information of the optical disk is stored in these relevant subdirectories, for example, the boot file description information, i.e., the storage information of this boot file, is stored in the "enhanced optical disc contents subdirectory" of the playback file system. The reproduction file system comprises, in addition to the directories that correspond to the directory structure of the optical disk, the directories that correspond to the directory structure of other local storage media. When the relevant contents of the optical disc are searched in other local storage media by the player, it is necessary to map the directory structures of other local storage media in the reproduction file system. It can be seen from Figure 4 that the directories that are not in the directory structure of the initial file system, for example, the "audio subdirectory", need to be added to the directory structure of the file system of reproduction, the description information of the audio files is stored in the "audio subdirectory". For existing directories such as the "subdirectory of enhanced optical disc contents", the "front subdirectory" and the "page number subdirectory" it is only necessary to map the tracks of these files (for example, the Chinese front file, the index file, segment file, page number file, etc.) according to those directories in other local storage media in relevant directories of the playback file system. The storage paths of these files are stored in the relevant subdirectories of the playback file system. If there is a same file in the same subdirectory, for example, that the "Chinese front file" description information already exists according to the "front subdirectory", the original information should be replaced with the description information of the new "file" Chinese front "file in other local storage media. Therefore, the system file files of the playback file system have been completely established. Figure 5 is a schematic diagram of the links of a reproduction file system according to an embodiment of the present invention, further explaining the link forms stored in the reproduction file system that can be reproduced by the links. The reproduction file system can be linked based on a URI configuration, for example, a "file: //" configuration. URI indicates that this content found in some files can be extracted from the local storage space; an "http: //" URI indicates that this content is located on a network server, and therefore, these contents can be extracted with an HTTP protocol; A "DVD: //" indicates that this content is located on an optical disc, therefore, the specific interfaces of the optical disc application program can be used to extract these contents. For device identifiers (for example, buffer: / buffer, hd: / hard disk, flash: / flash memory) of a "file: //" URI, you can physically identify in what type of storage medium they are stored the contents of reproduction. As shown in Figure 5, it is not necessary to first download the contents of an optical disc into a buffer, you just need to map them according to a "video transfer subdirectory" and a "subdirectory of improved disc contents". optical "on the basis of a URI configuration (specifying the representation method and the location of the information) For example, the description information of the video transfer file is stored in the form of" dvd: // dvdrom: / VIDEO_TS / IFO VIDEO_TS, ", indicating that the video file of the optical disc is stored according to the dvdrom optical disc video transfer subdirectory and the file name is VIDEO_TS.IFO.On another example, the file description information of boot is stored in the "compact subdirectory of improved contents" in the form of "dvd: // dvdrom: /VIDEO_TS/STARUP.MLS," indicating that the boot file is stored according to the dvdrom optical disc video transfer subdirectory and the file name is STARUP.MLS. Although it is not necessary to download the playback contents of an optical disc, the playback contents on some optical discs can be downloaded in advance in the buffer memory. This part of the contents could be some images, texts or segments of audio and video, etc., this is to avoid frequent jumps of the player when he is processing these contents. This part of the downloaded contents needs to be mapped according to the "subdirectory of improved optical disk contents", which could be represented in the following way: file // buffer: / Offset = offset &Length = length, indicating that this file is stored in the buffer, the start address is' offset 'and the length is? length'. The reproduction contents of other local storage media do not need to be downloaded, the description information of the reproduction contents can be mapped directly according to the "subdirectory of improved contents of optical disk" in accordance with the file form of the URI configuration. There is an image file related to the optical disc contents that are stored in other local storage media, for example, this image exists in a form of file: // hd: / disc_a / file. jpg in the playback file system. This indicates that this image is stored according to the disc_a directory of the hard disk, the file name is "file. Jpg". For the contents that come from a network server, the playback contents or the application program resources first need to be downloaded into the buffer, the description information of the downloaded contents can be mapped according to the "content subdirectory" Enhanced optical disk "in accordance with the file form of the URI configuration, for example, the description information of the downloaded text file is stored in the form of file // buffer: / Offset = 0x3000 &Length = 0xl200. This indicates that this text file is stored in the buffer, the start address is 0x3000, and the length is 0x1200. Another example, the description information of a Chinese front-loaded file is according to the "front subdirectory" and is stored in the form of file // buffer: / Offset = 0x0000 & Length = 0xl000. This indicates that this Chinese front file is stored in the buffer, the start address is 0x0000, and the length is 0x1000. The Chinese front file can also be represented not in the file form of the URI configuration, it can directly indicate the temporary storage address and the content length of the downloaded contents in the buffer in the form of indicators. The present invention maps, in an integral manner, the contents inside and outside of an optical disc in a reproduction file system in the form of links, the reproduction engine can operate in the reproduction file system and does not need to handle various resources of content directly. In this way, it is not necessary to make too many changes in the structure of the reproduction engine, and the complexity of the design and manufacture of the reproduction engine are reduced significantly. More importantly, when new protocols and media formats are introduced, it is not necessary to change the optical disk playback engine, it will be sufficient to update and extend the corresponding software resources of the recovery device and the generation device to handle the new ones protocols and means, which in turn improves the generality and the degree of expansion of the entire reproduction apparatus. The apparatus and method indicated by the present embodiment are suitable for various optical disc formats, such as the eDVD format and the optical disc format of Rayo-Blue, and so on. Although the present invention has been described with particular modalities, the different alternatives, modification and changes made in accordance with the above description will be apparent to those skilled in the art. Therefore, these alternatives, modifications and changes that fall within the concept and scope of the appended claims should be encompassed by the present invention. It is noted that in relation to this date the best method known by the applicant to carry out the aforementioned invention, is that which is clear from the present description of the invention.