Methods and media for efficiently processing data selected for recording to optical media
Abstract
Methods and media for efficiently processing data to be recorded to optical media are provided. In one example, a method for processing data to be recorded to optical media is disclosed. The method includes receiving a request to record data to optical media, and mapping a source path for the data if the file path has not been previously mapped or associating the data to be written with a source path, which has been previously mapped, wherein the source path includes a complete path from a root directory to a file location of the data. The method further includes saving the source path for the data to a file system database for efficiently processing data selected to be recorded to the optical media, and retrieving the source path from the file system database in a single step without successive tracing to the root directory to record the data to optical media.
Claims
exact text as granted — not AI-modified1 . A method for processing data to be recorded to optical media, comprising:
receiving a request to record data to optical media; mapping a source path for the data if the file path has not been previously mapped or associating the data to be written with a source path, which has been previously mapped, wherein the source path includes a complete path from a root directory to a file location of the data; saving the source path for the data to a file system database for efficiently processing data selected to be recorded to the optical media; and retrieving the source path from the file system database in a single step without successive tracing to the root directory to record the data to optical media.
2 . A method for processing data to be recorded to optical media as recited in claim 1 , wherein saving the source path to the file system database includes identifying a node of the source path, the node being a part of the source path from the root directory to a parent directory of the data to be recorded to optical media.
3 . A method for processing data to be recorded to optical media as recited in claim 2 , wherein a node identifier corresponds to the source path of the node.
4 . A method for processing data to be recorded to optical media as recited in claim 3 , wherein the node identifier is saved to the file system database and the corresponding source path from the root to the parent directory of the node is saved to a path tree.
5 . A computer implemented method for processing data to be written to an optical media, the computer implemented method comprising:
identifying files selected for writing to the optical media; for each identified file, the method includes,
determining whether the identified file has been previously written to the optical media, and if previously written, the method moves to copy a file path, including a complete path from a root directory to a file location of the data, for the previously written file to a file system database to be used for writing the identified file to the optical media; and
if the identified file has not been previously written to the optical media, the method includes,
determining whether a parent directory of the identified file has been previously mapped to a source path, which includes a complete path from a root directory to the parent directory;
using the mapping of the parent directory to generate a file source path for the identified file to be written to the optical media if the parent directory has been previously mapped, otherwise, tracing a file source path for the identified file to a root directory through any intervening parent directories to the identified file and using any previously mapped parent directory if available to generate the file source path for the identified file;
saving the file source path to the file system database to be used for efficiently processing and writing the identified file to the optical media; and
writing the identified files to the optical media using the file system database, wherein the file source path identifies a source location of the identified file and can be retrieved from the file system database in a single step without successive tracing to the root directory at the time of writing to the optical media.
6 . A computer implemented method for processing data to be written to an optical media as recited in claim 5 , wherein saving the file source path to the file system database includes identifying a node of the file source path, the node being a part of the file source path from the root drive to the parent directory of the identified file.
7 . A computer implemented method for processing data to be written to an optical media as recited in claim 6 , wherein a node identifier corresponds to the source path of the node.
8 . A computer implemented method for processing data to be written to an optical media as recited in claim 7 , wherein the node identifier is saved to the file system database and the corresponding source path from the root drive to the parent directory of the node is saved to a path tree.
9 . A computer readable media having program instructions for recording data to optical media, the computer readable media comprising:
program instructions for identifying a list of files to be recorded; program instructions for mapping a source path for each file in the list of files if the source path has not been previously mapped or associating a file to be written with the source path which has been previously mapped, the source path for each file beginning with a root drive and tracing a file path from the root drive to the file including any intermediate directories; program instructions for saving the source path to a file system database for efficiently processing files identified to be recorded to the optical media; and program instructions for retrieving the source path for each file in the list of files includes obtaining a complete source path for each file from the root drive to each file in a single step without successive tracing to the root directory to record the data to optical media.
10 . A computer readable media having program instructions for recording data to optical media as recited in claim 9 , wherein saving the source path to the file system database includes identifying a node of the source path, the node being a part of the source path from the root drive to a parent directory of each file to be recorded to optical media.
11 . A computer readable media having program instructions for recording data to optical media as recited in claim 10 , wherein a node identifier corresponds to the source path of the node.
12 . A computer readable media having program instructions for recording data to optical media as recited in claim 11 , wherein the node identifier is saved to the file system database and the corresponding source path from the root drive to the parent directory of the node is saved to a path tree.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.