The optical disc drive 100 records and reproduces data or information on and from a recording medium or an optical disc 101. The data represents, for example, audio visual contents. The optical disc drive 100 includes an optical pickup 102, a servo circuit 103, a data processing circuit 104, an interface (I/F) 105, and a drive control circuit 106.
During the recording mode of operation of the optical disc drive 100, the data processing circuit 104 receives data from the interface 105 and processes the received data. The data processing circuit 104 feeds the resultant processed data to the optical pickup 102. The optical pickup 102 generates a recording laser beam which carries the processed data. The optical pickup 102 applies the recording laser beam to the optical disc 101. The recording laser beam scans the optical disc 101 while a spindle motor (not shown) rotates the optical disc 101. As a result, the processed data is recorded on the optical disc 101. The position of the optical pickup 102 relative to the optical disc 101 is controlled by the servo circuit 103. The drive control circuit 106 communicates with the servo circuit 103, the data processing circuit 104, and the interface 105.
During the reproducing mode of operation of the optical disc drive 100, the optical pickup 102 generates a reading laser beam. The optical pickup 102 applies the reading laser beam to the optical disc 101. The reading laser beam scans the optical disc 101 while the spindle motor (not shown) rotates the optical disc 101. The reading laser beam is reflected by the optical disc 101 before returning to the optical pickup 102. The return laser beam contains read data equal to data recorded on the optical disc 101. The optical pickup 102 extracts the read data from the return laser beam. The optical pickup 102 feeds the read data to the data processing circuit 104. The data processing circuit 104 processes the read data. The data processing circuit 104 feeds the resultant processed data to the interface 105. The position of the optical pickup 102 relative to the optical disc 101 is controlled by the servo circuit 103. The drive control circuit 106 communicates with the servo circuit 103, the data processing circuit 104, and the interface 105.
The host 110 includes a combination of a CPU 111, an interface 112, and a memory 113. The CPU 111 operates in accordance with a control program (a computer program) stored in an internal memory or an external memory not shown. The control program enables the CPU 111 to function as an additional-information generating means, a recording means, a system-data reading means, a file-management-data generating means, and a file-data reading means. The interface 112 is connected with the interface 105 within the optical disc drive 100. The interfaces 105 and 112 cooperate to transfer data and control signals between the host 110 and the optical disc drive 100. The memory 113 stores the absolute physical address of the first sector among sectors assigned to one file or each file.
The apparatus of
The apparatus of
The file identification information 11 is identification information of a file to which a file data piece recorded in the related sector belongs. The file identification information 11 allows discrimination between file data belonging to one file and file data belonging to another file. The next-sector address information 12 is next-recording-block address information. The next-sector address information 12 denotes the address of a sector following the present sector regarding one file. The first-sector identification information 13 indicates whether or not the related sector is the first sector among sectors assigned to file data belonging to one file. The effective-data identification information 14 indicates whether or not a file data piece recorded on the related sector is effective.
As shown in
There is reserve information (a reserve area) 15 in the rear end of the additional-information recording area 10. In
File data belonging to one file is divided into pieces recorded on respective sectors in the optical disc 101. The file identification information 11 is varied from file to file so that a decision can be made about which of files a file data piece recorded on every sector belongs to. Preferably, the file identification information 11 may include information peculiar to the related file which represents, for example, the time of the start of recording the corresponding file data or the name of the related file. File name information or file attribute information defined by a file system for the management of file recording may be used as the file identification information 11. In this case, file management linked with the file system can easily be implemented.
The next-sector address information 12 includes the absolute physical address of a sector following the present sector which is measured from the head of the optical disc 101. The present sector and the sector following the present sector concern a common file. It should be noted that the next-sector address information 12 may include a relative physical address indicating a distance to a sector following the present sector in terms of sector number.
There is a sector on which the last one of pieces of file data belonging to one file is recorded. It is unnecessary for such an in-file last sector to denote the physical address of a next sector. Accordingly, end information formed by a signal of “0” is recorded on the additional-information recording area 10 in the in-file last sector as the next-sector address information 12. The end information indicates that the related sector contains the last one of pieces of file data belonging to one file.
Serial numbers or numerals in an upper portion of
The first-sector identification information 13 being “1” indicates that the related sector is the first one of sectors assigned to one file. The first-sector identification information 13 being “0” indicates that the related sector differs from the first one of sectors assigned to one file.
The effective-data identification information 14 being “1” indicates that the file data piece in the related sector is effective. The effective-data identification information 14 being “0” indicates that the file data piece in the related sector is ineffective.
As shown in
Without reading file system data from the optical disc 101, the apparatus of
Then, the apparatus decides whether or not the next-sector address information 12 in the read additional information is “0”. When the next-sector address information 12 is not “0”, the apparatus detects the absolute physical address of the second sector, which stores a piece of the file data corresponding to the file identification information 11 being ID1, from the next-sector address information 12. Subsequently, the apparatus accesses the second sector in response to the detected address thereof. Similarly, the apparatus sequentially accesses the third and later sectors, which store pieces of the file data corresponding to the file identification information 11 being ID1, until meeting or finding the sector (the in-file last sector) having the additional information in which the next-sector address information 12 is “0”. The next-sector address information 12 being “0” indicates that the present sector is the last sector among all the sectors storing the file data corresponding to the file identification information 11 being ID1. Accordingly, the apparatus recognizes the structure of the file data corresponding to the file identification information 11 being ID1.
In
In
During the recording of file data belonging to one file on the optical disc 101, the apparatus of
In
The fixed bit length of one sector is divided by the fixed bit length of one packet (one TS packet). A front end of the sector which is equal in size to the remainder in the division is used as the additional-information recording area 10. The rest of the sector is divided into segments assigned to packets respectively. Sectors and packets may be designed so that the fixed bit length of one sector may be exactly divisible by the fixed bit length of one packet. In this case, one sector is divided into segments assigned to packets respectively, and the first one of the segments is used as the additional-information recording area 10.
The apparatus of
The file-data recording mode of operation of the apparatus of
The CPU 111 writes, into the memory 113, the to-be-recorded file data (the to-be-recorded real data), a signal representing the total number of sectors required for the recording of the file data, a signal representing the absolute physical addresses of the to-be-used sectors, and identification information. The absolute physical addresses of the to-be-used sectors will be the recording start positions therein. In addition, the CPU 111 writes, into the memory 113, the file identification information 11, the next-sector address information 12, the first-sector identification information 13, the effective-data identification information 14, and the reserve information 15 for each of the to-be-used sectors. The file identification information 11 enables the file data recorded on the optical disc 102 to be managed as a file, and allows the discrimination between file data belonging to one file and file data belonging to another file.
The CPU 111 controls the memory 113 to serve as a multiplexer for multiplexing the to-be-recorded file data, the file identification information 11, the next-sector address information 12, the first-sector identification information 13, the effective-data identification information 14, and the reserve information 15 into a sequence of sector data blocks (data blocks assigned to on-disc sectors respectively), and for outputting the sequence of sector data blocks to the interface 112. Each of the sector data blocks has the same structure as that in
As previously mentioned, the file identification information 11, the next-sector address information 12, the first-sector identification information 13, the effective-data identification information 14, and the reserve information 15 are recorded on the additional-information recording area 10 of each sector on the optical disc 101. The file identification information 11 is varied from file to file. Therefore, by referring to the file identification information 11 in each sector on the optical disc 101, file data pieces constituting one file and recorded on different sectors can be judged to be in the same file. Preferably, the file identification information 11 may include information peculiar to the related file which represents, for example, the time of the start of recording the corresponding file data or the name of the related file. File name information or file attribute information defined by a file system for the management of file recording may be used as the file identification information 11. In this case, file management linked with the file system can easily be implemented.
The next-sector address information 12 includes the absolute physical address of a sector following the present sector which is measured from the head of the optical disc 101. The present sector and the sector following the present sector concern a common file. It should be noted that the next-sector address information 12 may include a relative physical address indicating a distance to a sector following the present sector in terms of sector number. For example, the next-sector address information 12 in the first sector among sectors concerning one file includes the absolute physical address of the first sector while the next-sector address information 12 in each of the second and later sectors includes a relative physical address indicating a distance to a sector following the present sector. There is a sector on which the last one of pieces of file data belonging to one file is recorded. End information formed by a signal of “0” is recorded on the in-file last sector as the next-sector address information 12.
The first-sector identification information 13 is “1” when the related sector is the first one of sectors assigned to one file. Otherwise, the first-sector identification information 13 is “0”. During file retrieval, the first-sector identification information 13 being “1” is a mark used to find the first sector among sectors assigned to a desired file.
The effective-data identification information 14 is “1” when the file data piece in the related sector is effective. The effective-data identification information 14 is “0” when the file data piece in the related sector is ineffective. The file-data recording area in a sector having the effective-data identification information 14 being “0” is filled with arbitrary data (non-file data) or stuffing data. The effective-data identification information 14 for the first and last sectors among sectors assigned to one file is “0”, and effective file data pieces are not placed in the first and last sectors.
As previously mentioned, the memory 113 outputs a sequence of sector data blocks to the interface 112 while being controlled by the CPU 111. When the memory 113 outputs the sector data block for the last sector among the to-be-used sectors, outputting the sequence of sector data blocks to the interface 112 is completed for the file data to be recorded. The interface 112 sends the sequence of sector data blocks to the interface 105 within the optical disc drive 100. In the presence of other file data to be recorded, a sequence of sector data blocks is generated and is outputted to the interface 112 similarly before being sent from the interface 112 to the interface 105 within the optical disc drive 100.
The host 110 generates file system data defined by a file system and corresponding to the present file data, and outputs the generated file system data to the optical disc drive 100. The generation of the file system data is in a conventional way. Specifically, the CPU 111 controls the memory 113 to compose file system data from identification information, the signal representing the total number of sectors required for the recording of the file data, and the signal representing the recording start positions in the to-be-used sectors (the absolute physical addresses of the to-be-used sectors). The foregoing identification information is similar to the file identification information 11, and represents, for example, the name of the related file. In addition, the CPU 111 controls the memory 113 to send the composed file system data to the interface 112. The file system data is outputted from the interface 112 to the interface 105 within the optical disc drive 100. The optical disc drive 100 records the file system data on a prescribed portion of the recording area 101D of the optical disc 101 in a conventional way. The prescribed portion extends in the vicinity or immediate vicinity of the lead-in area 101B or the lead-out area 101C of the optical disc 101 (see
In the optical disc drive 100, the interface 105 feeds the sequence of sector data blocks to the data processing circuit 104. The data processing circuit 104 subjects the sequence of sector data blocks to encoding for error correction and modulation for recording to get processed data. The data processing circuit 104 feeds the processed data to the optical pickup 102. The optical pickup 102 records the processed data on the to-be-used sectors in the optical disc 101. The recording of the processed data is on a sector-by-sector basis. The file identification information 11, the next-sector address information 12, the first-sector identification information 13, the effective-data identification information 14 which constitute the additional information are recorded on the additional-information recording area 10 of each of the to-be-used sectors. The file data (the real data) is recorded on the to-be-used sectors except the additional-information recording areas 10.
The file-data reproducing mode of operation of the apparatus of
The optical pickup 102 feeds the read data to the data processing circuit 104. The data processing circuit 104 subjects the read data to demodulation for reproduction and decoding for error correction to get processed data. The data processing circuit 104 feeds the processed data to the interface 105. The interface 105 sends the processed data to the interface 112 within the host 110. The interface 112 writes the incoming data into the memory 113. The data traveling from the interface 112 to the memory 113 is in the form of a sequence of sector data blocks. The CPU 111 controls the memory 113 to serve as a demultiplexer for separating the desired file data from the written data (the sequence of sector data blocks) and outputting the desired file data. The CPU 111 or another device receives the desired file data from the memory 113. In this way, the desired filed data is reproduced.
The file-data reproducing mode of operation of the apparatus of
During a former stage in the file-data reproducing mode of operation which uses the additional information, the drive control circuit 106 controls the servo circuit 103 so that the optical pickup 102 will sequentially access sectors on the optical disc 101 in an order starting from the head of the recording area 101D of the optical disc 101. The optical pickup 102 reads data from the sequentially-accessed sectors. The optical pickup 102 feeds the read data to the data processing circuit 104. The data processing circuit 104 subjects the read data to demodulation for reproduction and decoding for error correction to get processed data. The data processing circuit 104 feeds the processed data to the interface 105. The interface 105 sends the processed data to the interface 112 within the host 110. In this way, the optical disc drive 100 transmits the processed data to the host 110. The transmitted data is in the form of a sequence of sector data blocks. The optical disc drive 100 also transmits, to the host 110, the absolute physical addresses of sectors related to the transmitted sector data blocks. In the host 110, the interface 112 writes the incoming data into the memory 113. The data traveling from the interface 112 to the memory 113 is in the form of a sequence of sector data blocks accompanied with the absolute physical addresses of related sectors. The CPU 111 can refer to these sector addresses stored in the memory 113. The CPU 111 accesses additional information in each sector data block stored in the memory 113, and analyzes the accessed additional information. Through this operation step, the CPU 111 detects sector data blocks having additional information in which the first-sector identification information 13 is “1”, that is, sector data blocks coming from in-file first sectors. The CPU 111 transfers the file identification information 11 in the additional information in each of the detected sector data blocks to a table (a map) in the memory 113 while writing the absolute physical addresses of the related sectors into the table. When the additional information in the sector data block corresponding to the last one of the sectors has been analyzed by the CPU 111, file management data 400 is completed in the table in the memory 113.
As shown in
During the former stage in the file-data reproducing mode of operation which uses the additional information, the optical pickup 102 may sequentially access sectors on the optical disc 101 in an order starting from an arbitrary place in the recording area 101D of the optical disc 101. In this case, the optical pickup 102 sequentially access sectors located between that place and the tail of the recording area 101D before sequentially accessing sectors located between the head of the recording area 101D and that place. Alternatively, the optical pickup 102 may sequentially access sectors located between that place and the head of the recording area 101D in the reverse direction before sequentially accessing sectors located between the tail of the recording area 101D and that place in the reverse direction.
In the case where sequential accesses are made with respect to sectors SC0, SC1, SC2, SC3, . . . each of which stores the file identification information 11, the next-sector address information 12, the first-sector identification information 13, and the effective-data identification information 14 in states shown by
During a later stage in the file-data reproducing mode of operation which uses the additional information, the CPU 111 searches the file management data 400 in the memory 113 for the file identification information 11 corresponding to a desired file. The CPU 111 may generate a signal representative of a list of files from the file management data 400. In this case, the CPU 111 feeds the generated signal to a display (not shown) within the host 110 and controls the display to present the list of files to a user on a GUI (Graphical User Interface) basis. The user selects one of the files as a desired file, and inputs information about the desired file into the host 110. The list of the files may be presented to the user in a way different from the above.
It is assumed that the file identification information 11 being ID1 corresponds to the desired file. The CPU 111 detects, among the pairs in the file management data 400, the pair having the file identification information 11 being ID1 (the file identification information 11 corresponding to the desired file). The CPU 111 controls the memory 113 to output the absolute physical address from the detected pair to the interface 112. In this case, the absolute physical address is that of the first one of sectors assigned to the desired file. The interface 112 sends the first absolute physical address to the interface 105 within the optical disc drive 100.
In the optical disc drive 100, the first absolute physical address propagates from the interface 105 to the drive control circuit 106. The drive control circuit 106 controls the servo circuit 103 in response to the first absolute physical address, thereby moving the optical pickup 102 to a position accorded with the first absolute physical address. Then, the optical pickup 102 reads data from the sector on the optical disc 101 at a position equal to the first absolute physical address. Accordingly, data is read from the first one of sectors assigned to the desired file. The optical pickup 102 feeds the read data to the data processing circuit 104. The data processing circuit 104 subjects the read data to demodulation for reproduction and decoding for error correction to get processed data. The data processing circuit 104 feeds the processed data to the interface 105. The interface 105 sends the processed data to the interface 112 within the host 110. The interface 112 writes the incoming data into the memory 113. The written data in the memory 113 is a sector data block coming from the first one of sectors assigned to the desired file. The CPU 111 accesses the memory 113 to check whether or not the next-sector address information 12 in the additional information in the present sector data block is “0”. When the next-sector address information 12 is not “0”, the CPU 111 controls the memory 113 to output the next-sector address information 12 from the present sector data block to the interface 112. In this case, the outputted next-sector address information 12 is the absolute physical address of the second one of sectors assigned to the desired file. The interface 112 sends the second absolute physical address to the interface 105 within the optical disc drive 100.
In the optical disc drive 100, the second absolute physical address propagates from the interface 105 to the drive control circuit 106. The drive control circuit 106 controls the servo circuit 103 in response to the second absolute physical address, thereby moving the optical pickup 102 to a position accorded with the second absolute physical address. Then, the optical pickup 102 reads data from the sector on the optical disc 101 at a position equal to the second absolute physical address. Accordingly, data is read from the second one of sectors assigned to the desired file. The optical pickup 102 feeds the read data to the data processing circuit 104. The data processing circuit 104 subjects the read data to demodulation for reproduction and decoding for error correction to get processed data. The data processing circuit 104 feeds the processed data to the interface 105. The interface 105 sends the processed data to the interface 112 within the host 110. The interface 112 writes the incoming data into the memory 113. The written data in the memory 113 is a sector data block coming from the second one of sectors assigned to the desired file. The CPU 111 accesses the memory 113 to check whether or not the next-sector address information 12 in the present sector data block is “0”. When the next-sector address information 12 is not “0”, the CPU 111 controls the memory 113 to output the next-sector address information 12 from the present sector data block to the interface 112. In this case, the outputted next-sector address information 12 is the absolute physical address of the third one of sectors assigned to the desired file. The interface 112 sends the third absolute physical address to the interface 105 within the optical disc drive 100.
In the optical disc drive 100, the third absolute physical address propagates from the interface 105 to the drive control circuit 106. The drive control circuit 106 controls the servo circuit 103 in response to the third absolute physical address, thereby moving the optical pickup 102 to a position accorded with the third absolute physical address. Then, the optical pickup 102 reads data from the sector on the optical disc 101 at a position equal to the third absolute physical address. Accordingly, data is read from the third one of sectors assigned to the desired file. The optical pickup 102 feeds the read data to the data processing circuit 104. The data processing circuit 104 subjects the read data to demodulation for reproduction and decoding for error correction to get processed data. The data processing circuit 104 feeds the processed data to the interface 105. The interface 105 sends the processed data to the interface 112 within the host 110. The interface 112 writes the incoming data into the memory 113. The written data in the memory 113 is a sector data block coming from the third one of sectors assigned to the desired file.
The above-indicated operation steps are iterated until the CPU 111 detects that the next-sector address information 12 in the sector data block which has just arrived is “0”. Therefore, data is read from the sectors assigned to the desired file on a sector-by-sector basis, and a sequence of sector data blocks coming from the respective desired-file sectors is inputted into the memory 113. The CPU 111 controls the memory 113 to serve as a demultiplexer for separating desired file data from the written data (the sequence of sector data blocks) and outputting the desired file data. The CPU 111 or another device receives the desired file data from the memory 113. In this way, the desired filed data is reproduced. When the next-sector address information 12 in the sector data block which has just arrived is “0”, the CPU 111 terminates the file-data reproducing mode of operation which uses the additional information.
As previously mentioned, in the event of failure in the reading of file system data from the optical disc 101, the apparatus of
The file-data additionally-recording mode of operation of the apparatus of
In the optical disc drive 100, the stuffing data and the related additional information travels from the interface 105 to the optical pickup 102 through the data processing circuit 104. The optical pickup 102 records the stuffing data and the related additional information on the sector SC8 (see
The CPU 111 detects the position of the last sector (the sector SC6) among sectors except the sector SC8, which are assigned to the file corresponding to the file identification information 11 being ID1, in a procedure similar to that in the file-data reproducing mode of operation which uses the file system data or the additional information. For example, the CPU 111 decides whether or not the first-sector identification information 13 and the effective-data identification information 14 in each of the sectors except the sector SC8 are “0”. The CPU 111 concludes the sector, in which the first-sector identification information 13 and the effective-data identification information 14 are “0”, to be the last sector (the sector SC6). In addition, the CPU 111 perceives that ineffective file data is recorded on the last sector since the effective-data identification information 14 therein is “0”. Then, the CPU 111 detects the position of the last sector.
The CPU 111 provides 1-sector-corresponding additional file data in the memory 113. The CPU 111 provides additional information in the memory 113 which is related to the 1-sector-corresponding additional file data. The CPU 111 controls the memory 113 to output the additional file data and the related additional information to the interface 112. The interface 112 sends the additional file data and the related additional information to the interface 106 within the optical disc drive 100. The host 110 (the CPU 111) controls the optical disc drive 100 to address the additional file data and the related additional information to the sector SC6 (the above-indicated detected last sector). Specifically, the additional information is directed to the additional-information recording area 10 in the sector SC6. As shown in
In the optical disc drive 100, the additional file data and the related additional information travels from the interface 105 to the optical pickup 102 through the data processing circuit 104. The optical pickup 102 writes or records the additional file data and the related additional information over the old file data and the old additional information in the sector SC6 (see
As previously mentioned, the last sector (the sector SC6) among sectors assigned to one file is detected when the first-sector identification information 13 and the effective-data identification information 14 therein are “0”. The last sector is recognized as a sector loaded with ineffective file data since the effective-data identification information 14 therein is “0”. Additional file data is recorded over the ineffective file data in the last sector while the new next-sector address information 12 being “108” is recorded over the old next-sector address information 12 therein. The usable sector (the sector SC8) following the last sector is set as a new in-file last sector. In this way, the recording of additional file data on the optical disc 101 is implemented. On the other hand, the recorded information and data in each of the other sectors assigned to the file remain unchanged. Accordingly, it is unnecessary to perform the revision of the recorded information and data in each of the other sectors assigned to the file which would require the recalculation of an error correction code and might result in a decrease in the reliability of the recorded file data.
As previously mentioned, each of sectors assigned to one file is loaded with the effective-data identification information 14. By referring to the effective-data identification information 14, a decision can easily be made as to whether a file data piece recorded on the related sector is effective or ineffective. By referring to the effective-data identification information 14 in each of sectors, a sector loaded with an ineffective file data piece can easily be detected in the case where additional file data is required to be recorded on the optical disc 101. Therefore, it is possible to safely and easily implement the recording of additional file data on the optical disc 101 on a sector-by-sector basis.
As previously mentioned, ineffective file data such as stuffing data is recorded on the first and last sectors among sectors assigned to one file. Therefore, the first and last sectors can easily be discriminated from other sectors (sectors loaded with effective file data). By referring to the file identification information 11, the next-sector address information 12, the first-sector identification information 13, and the effective-data identification information 14 in the additional information in each of sectors, the last sector among sectors assigned to one file can easily be detected in the case where additional file data is required to be recorded on the optical disc 101.
The intermediate-file-data deleting mode of operation of the apparatus of
The CPU 111 provides 1-sector-corresponding stuffing data in the memory 113. The 1-sector-corresponding stuffing data is ineffective file data for one sector. The CPU 111 provides additional information in the memory 113 which is related to the 1-sector-corresponding stuffing data. The CPU 111 controls the memory 113 to output the stuffing data and the related additional information to the interface 112. The interface 112 sends the stuffing data and the related additional information to the interface 106 within the optical disc drive 100. The host 110 (the CPU 111) controls the optical disc drive 100 to address the stuffing data and the related additional information to the sector SC2. Specifically, the additional information is directed to the additional-information recording area 10 in the sector SC2. As shown in
In the optical disc drive 100, the stuffing data and the related additional information travels from the interface 105 to the optical pickup 102 through the data processing circuit 104. The optical pickup 102 writes or records the stuffing data and the related additional information over the old file data and the old additional information in the sector SC2 (see
Preferably, the host 110 controls the optical disc drive 100 so that the file data and the additional information in the sector SC3 will remain unchanged. Since the next-sector address information 12 in the sector SC2 is changed to “106” indicating the absolute physical address of the sector SC6, the sector SC2 is followed by the sector SC6 rather than the sector SC3 in the sequence of sectors assigned to the file corresponding to the file identification information 11 being ID1. As a result, the sector SC3 will not be referred to by the additional information in another sector, and hence can be handled as a usable sector for data recording. Thus, for the apparatus of
As previously mentioned, the additional information in the sector SC2 is updated or revised while the effective file data is erased therefrom. On the other hand, the additional information and data in each of other sectors assigned to the file corresponding to the file identification information 11 being ID1 remain unchanged. Accordingly, it is unnecessary to perform the revision of the additional information in each of the other sectors which would require the recalculation of an error correction code and might result in a decrease in the reliability of recorded file data.
In summary, the apparatus of
When additional file data is required to be recorded on the optical disc 101, the apparatus of
When an intermediate portion is required to be deleted from recorded file data on the optical disc 101, the apparatus of
The effective-data identification information 14 in each sector on the optical disc 101 which is “0” indicates that a file data piece in the sector is ineffective. Accordingly, by referring to the effective-data identification information 14 in each sector, it is possible to easily decide whether or not a file data piece in the sector is ineffective. The ineffective file data piece can be discarded. It is possible to efficiently construct file data recorded on the optical disc 101. The effective-data identification information 14 can be utilized for a random access to recorded file data in the optical disc 101 on a sector-by-sector basis. It is possible to efficiently use the memory 113.
When file data pieces are required to be deleted from successive intermediate sectors among sectors assigned to a file, only the additional information in the first sector in the intermediate sectors is updated and the additional information in the other sectors remains unchanged. Accordingly, it is unnecessary to perform the revision of the additional information in each of the other sectors which would require the recalculation of an error correction code and might result in a decrease in the reliability of recorded file data.
A second embodiment of this invention is similar to the first embodiment thereof except for design changes indicated hereafter. According to the second embodiment of this invention, file management data 700 replaces the file management data 400 (see
As shown in
During a former stage in the file-data reproducing mode of operation which uses the additional information, the drive control circuit 106 controls the servo circuit 103 so that the optical pickup 102 will sequentially access sectors on the optical disc 101 in an order starting from the head of the recording area 101D of the optical disc 101. The optical pickup 102 reads data from the sequentially-accessed sectors. The optical pickup 102 feeds the read data to the data processing circuit 104. The data processing circuit 104 subjects the read data to demodulation for reproduction and decoding for error correction to get processed data. The data processing circuit 104 feeds the processed data to the interface 105. The interface 105 sends the processed data to the interface 112 within the host 110. In this way, the optical disc drive 100 transmits the processed data to the host 110. The transmitted data is in the form of a sequence of sector data blocks. The optical disc drive 100 also transmits, to the host 110, the absolute physical addresses of sectors related to the transmitted sector data blocks. In the host 110, the interface 112 writes the incoming data into the memory 113. The data traveling from the interface 112 to the memory 113 is in the form of a sequence of sector data blocks accompanied with the absolute physical addresses of related sectors. The CPU 111 can refer to these sector addresses stored in the memory 113. The CPU 111 accesses additional information in each sector data block written in the memory 113, and analyzes the accessed additional information. Through this operation step, the CPU 111 detects sector data blocks having additional information in which the first-sector identification information 13 is “1”, that is, sector data blocks coming from in-file first sectors. The CPU 111 gets the absolute physical addresses of the sectors from which the detected sector data blocks come.
Regarding each of the detected sector data blocks coming from the in-file first sectors, the CPU 111 identifies a sector immediately following the in-file first sector in response to the next-sector address information 12 in the detected sector data block. Thus, the CPU 111 detects the in-file second sector and gets the absolute physical address thereof. The CPU 111 decides whether or not the next-sector address information 12 in the sector data block coming from the in-file second sector is “0”, that is, whether or not the in-file second sector is the last one among sectors assigned to the present file. When the next-sector address information 12 is not “0”, the CPU 111 identifies a sector immediately following the in-file second sector in response to the next-sector address information 12 in the sector data block coming from the in-file second sector. The CPU 111 iterates the above operation steps until meeting the next-sector address information 12 being “0”. As a result, the CPU 111 gets the absolute physical addresses of all the sectors assigned to the present file. On the other hand, when the next-sector address information 12 is “0”, the CPU 111 transfers the file identification information 11 in the additional information in the detected sector data block coming from the in-file first sector to a table (a map) in the memory 113 and sequentially places the absolute physical addresses of all the sectors assigned to the present file in the table.
When the additional information in the sector data block coming from the last one of the sectors on the optical disc 101 has been analyzed by the CPU 111, file management data 700 is completed in the table in the memory 113.
As shown in
The file system data is recorded on the optical disc 101. The host 110 can utilize the file management data 700 instead of the file system data to detect sectors assigned to a desired file.
During a later stage in the file-data reproducing mode of operation which uses the additional information, the CPU 111 searches the file management data 700 in the memory 113 for the file identification information 11 corresponding to a desired file. The CPU 111 may generate a signal representative of a list of files from the file management data 700. In this case, the CPU 111 feeds the generated signal to the display (not shown) within the host 110 and controls the display to present the list of files to a user on a GUI (Graphical User Interface) basis. The user selects one of the files as a desired file, and inputs information about the desired file into the host 110. The list of the files may be presented to the user in a way different from the above.
It is assumed that the file identification information 11 being ID1 corresponds to the desired file. The CPU 111 accesses, among the sets in the file management data 700, the set having the file identification information 11 being ID1 (the file identification information 11 corresponding to the desired file) and the absolute physical addresses of sectors assigned to the desired file. The CPU 111 controls the memory 113 to output “100”, that is, the absolute physical address of the first one of the desired-file sectors from the accessed set in the file management data 700 to the interface 112. The interface 112 sends the first absolute physical address to the interface 105 within the optical disc drive 100.
In the optical disc drive 100, the first absolute physical address propagates from the interface 105 to the drive control circuit 106. The drive control circuit 106 controls the servo circuit 103 in response to the first absolute physical address, thereby moving the optical pickup 102 to a position accorded with the first absolute physical address. Then, the optical pickup 102 reads data from the sector on the optical disc 101 at a position equal to the first absolute physical address. Accordingly, data is read from the first one of sectors assigned to the desired file. The optical pickup 102 feeds the read data to the data processing circuit 104. The data processing circuit 104 subjects the read data to demodulation for reproduction and decoding for error correction to get processed data. The data processing circuit 104 feeds the processed data to the interface 105. The interface 105 sends the processed data to the interface 112 within the host 110. The interface 112 writes the incoming data into the memory 113. The written data in the memory 113 is a sector data block coming from the first one of sectors assigned to the desired file.
Similarly, the CPU 111 controls the memory 113 to sequentially output the absolute physical addresses of the second and later ones of the desired-file sectors from the accessed set in the file management data 700 to the interface 112. The interface 112 sequentially sends the second and later absolute physical addresses to the interface 105 within the optical disc drive 100.
In the optical disc drive 100, the second and later absolute physical addresses sequentially propagate from the interface 105 to the drive control circuit 106. The drive control circuit 106 controls the servo circuit 103 in response to each of the second and later absolute physical addresses, thereby moving the optical pickup 102 to a position accorded with the present absolute physical address. Then, the optical pickup 102 reads data from the sector on the optical disc 101 at a position equal to the present absolute physical address. Accordingly, data is read from each of the second and later ones of sectors assigned to the desired file. The optical pickup 102 feeds the read data to the data processing circuit 104. The data processing circuit 104 subjects the read data to demodulation for reproduction and decoding for error correction to get processed data. The data processing circuit 104 feeds the processed data to the interface 105. The interface 105 sends the processed data to the interface 112 within the host 110. The interface 112 writes the incoming data into the memory 113. The written data in the memory 113 is a sequence of sector data blocks coming from the second and later ones of sectors assigned to the desired file. In this way, a sequence of sector data blocks coming from the respective desired-file sectors is inputted and written into the memory 113.
The CPU 111 controls the memory 113 to serve as a demultiplexer for separating desired file data from the written data (the sequence of sector data blocks) and outputting the desired file data. The CPU 111 or another device receives the desired file data from the memory 113. In this way, the desired filed data is reproduced. During that time, the CPU 111 accesses the effective-data identification information 14 in each of the sector data blocks. The CPU 111 decides whether or not the accessed effective-data identification information 14 is “0”. The CPU 111 discards a file data piece (an ineffective file data piece or a stuffing data piece) in each sector data block having the accessed effective-data identification information 14 being “0”. The data discard suppresses an increase in the required capacity of the memory 113.
As understood from the above description, the apparatus of
As previously mentioned, the file management data 700 has the absolute physical addresses of sectors assigned to each file which are sequentially arranged with respect to the structure of the file. Thus, it is possible to directly detect the structure of each file from the file management data 700. Accordingly, the host 110 can control the optical disc drive 100 and access file data in the optical disc 101 at a high speed by referring to the file management data 700. Furthermore, the host 110 can access file data pieces in arbitrarily-selected sectors on a random basis by referring to their absolute physical addresses in the file management data 700.
A third embodiment of this invention is similar to the first or second embodiment thereof except that the additional information is recorded in units each corresponding to a plurality of sectors.
A fourth embodiment of this invention is similar to the first or second embodiment thereof except that the additional information is recorded in units independent of sectors.
According to a fifth embodiment of this invention, the apparatus of
According to a sixth embodiment of this invention, the apparatus of
Number | Date | Country | Kind |
---|---|---|---|
2006-227652 | Aug 2006 | JP | national |