FILE SYSTEM OF HYBRID DISC
TECHNICAL BACKGROUND The present invention relates to a storage medium, a file system stored on the medium and a method of playing the storage medium, and in particular to a hybrid disc, a file system stored on the hybrid disc and a method of playing the hybrid disc. With the development of optical disc and optical disc recording technique, many different kinds of optical discs emerge. Hybrid disc is one of them. A hybrid disc may comprise two parts: an un-updatable part (i.e. read-only or recordable storage part) and an updatable part (i.e. rewritable storage part). Both read-only part and rewritable part of a hybrid disc can store files. This requires a novel file system, which can record the information related to the files, including file name, directory name, and start address of each storage segment for storing files. The file system structure of a read-only optical disc in the prior art is firstly described below. Fig. 2 illustrates a schematic diagram of the logical structure of a read-only optical disc in the prior art. As shown in Fig. 2, a read-only optical disc comprises a storage location pointed by pointer 4, the storage location stores pointer 5. Pointer 4 is specified by the file system standard of readonly optical disc (e.g. UDF file system). Pointer 5 indicates the start address of the storage segment in which file system 2 of read-only optical disc is located. File system 2 of a read-only optical disc comprises header data, for example, PVD (Primary Volume Descriptor), file name, directory name, etc; and the start address of each file storage segment for storing files, for example, address A, address B, address C, etc. Each start address
(address A, address B, address C, etc.) points at the corresponding file storage segment (file A, file B, file C, etc.) respectively. File system 2 described above is a structure referring to UDF (universal disc format) file system. Certainly, there are additional file system structures in the prior art, for example, ISO9660. Here unnecessary details of such file system structures will not be described.
CONTENTS OF THE INVENTION One object of the present invention is to provide a hybrid disc which has a novel efficient file system. According to the first aspect of the present invention, the invention provides a storage medium, comprising: an un-updatable storage part for storing a first file, and an updatable storage part for storing a second file, wherein the updatable storage part further stores a file system comprising information related to said first file and said second file. According to the second aspect of present invention, the present invention further provides a storage medium, comprising: an un-updatable storage part for storing a first file, and an updatable storage part for storing a second file, wherein said un-updatable storage part further stores a first file system comprising information related to said first part of files, said updatable storage part further stores a second file system comprising information related to said first file and said second file. The present invention further provides a method for playing the aforesaid storage medium, including the steps of: selecting playing mode, the playing mode includes the mode of only playing un-updatable storage part and the mode of playing a whole storage medium; reading files from said storage medium through said first pointer and said fourth pointer respectively based on the selected playing mode; decoding the read files, and outputting the decoded files to realize playing.
Other purposes and effects of present invention will become clearer and easier to understand through the following illustration in combination with accompanying drawings and the contents of the claims and with more comprehensive understanding of this invention.
DESCRIPTION OF ACCOMPANYING DRAWINGS With reference to the accompanying drawings, the above and other features of present invention will become apparent through detailed description of preferable embodiments in the invention, wherein the same reference sign in accompanying drawings is correspondingly indicated: Figure 1 illustrates a schematic diagram of the logical structure of a hybrid disc according to preferable embodiments of present invention. Figure 2 illustrates a schematic diagram of the logical structure of a read-only optical disc in the prior art.
EXEMPLARY EMBODIMENTS Figure 1 illustrates a schematic diagram of the structure of a hybrid disc according to preferable embodiments of present invention. The hybrid disc comprises a read-only part and a rewritable part. The read-only part comprises a storage location pointed by pointer 1 , the location stores pointer 2. In which, pointer 1 may be a preset address and is universal to any optical disc. The read-only part further comprises multiple read-only file storage segments for storing read-only files 1A, file 1 B, file 1C, etc. The address 1A, address 1B, address 1C and so on indicate the start addresses of these file storage segments respectively. The rewritable part comprises a storage location pointed by pointer 2, the location stores pointer 3. Pointer 3 points at the start address of file system 1 stored in the rewritable part. The rewritable part further comprises multiple rewritable file storage segments for storing rewritable files 2A, file 2B, file 2C, etc. File system 1 employs a UDF structure, i.e. comprises
header data, for example, PVD, file name, directory name, etc, and start address of each file storage segment, including the start address of readonly file storage segment and the start address of rewritable file storage segment, for example, address 1A, address 1B, address 10... address 2A, address 2B, address 2C...etc. Certainly, file system 1 may employ other structures, as those known in the prior art. The file system of a hybrid disc as shown in Fig.1 is stored in the rewritable part instead of the read-only part, so people can add, delete and update the file system correspondingly at the time of adding, deleting and updating files according to needs. For example, file 1A stored in read-only storage parts updated in the rewritable part to produce, a new file 1A', and the old file 1A is not expected to be played. This requires the address of old file 1A to be replaced with the address of new file 1A' in file system 1. In this way, the old file 1A will be replaced completely by the new file 1 during playing. In the above embodiment, a file system is used to record the related information of all the files stored on a whole hybrid disc. In this way, the integrity of file information is guaranteed and the storage space is also saved. When playing a hybrid disc with the logical structure as illustrated in Fig.1, pointer 2 will be firstly found according to preset pointer 1 , wherein pointer 1 is known and unique to all the players playing a hybrid disc. Then pointer 3 will be found via pointer 2, and file system 1 will be found through pointer 3, and the corresponding files will be read from read-only part and rewritable part respectively based on file system 1. After that, these files are decoded and played. Thus, it can be seen that pointer 2 is a bridge to skip from read-only part to rewritable part since the pointer will always be searched from the read-only part during playing.
Above is the description of the preferable embodiments of present invention, based on the disclosed principles of this invention, it should be understood by those skilled in the art that various modifications and changes to present invention are feasible and fall within the scope of appended claims. For example, the read-only part of a hybrid disc may further store read-only file system(s) for recording the information related to read-only files. The specific structure of the file system is shown in Fig. 2. In this case, the read-only part further needs to comprise a storage location pointed by preset pointer 4 to store pointer 5. Pointer 5 only points at the start address of read-only file system. This is consistent with the prior art referring to Fig. 2. While playing the hybrid disc, the user first selects to play the read-only part only or play the whole disc. If the user selects to play the read-only part, pointer 5 will be firstly found through pointer 4 and then the read-only file system will be found through pointer 5, as it is in prior art. After that, the read-only file(s) will be read based on the read-only file system. If the user selected to play the whole disc, the process of playing is as above description referring to Fig.1. Here details are not repeated any more. Furthermore, pointer 1 and pointer 2 may be omitted, or pointer 3 may be omitted. In the former case, pointer 3 is a preset address. During playing, the player directly finds file system 1 through pointer 3. In the latter case, however, pointer 2 directly points at the start address of file system 1. During playing, the player finds pointer 2 through pointer 1 , and then finds file system 1 through pointer 2. Certainly, these or other modifications should fall within the scope of appended claims.