Method of reading and writing files on nonerasable storage media
First Claim
1. A method of transferring information files between a computer memory of a computer system and a write-once storage medium of said computer system comprising,providing a temporary memory in said computer system which is accessible to both said computer memory and said write-once storage medium, said temporary memory having designated memory areas assigned by said computer system which include a system file allocation area with specified record areas corresponding to file allocation and directory record areas for erasable media, a media directory area with specified record areas corresponding to file directory record areas for a write-once storage medium, and a data file area,reading a file directory from said write-once storage medium into said media directory area of said temporary memory,forming a file allocation table and an operating system directory in said record areas of said system file allocation area of said temporary memory by a transfer of corresponding information from specified record areas of said media directory area containing said file directory read from said write-once storage mediumin accord with a computer operating system command, transferring specified data files between said computer memory and said write-once medium, said transfer of data files performed only via said data file area of said temporary memory,updating record areas in said system file allocation area that correspond to the transferred data file in accord with said computer operating system command,writing to corresponding record areas of the media directory area of the temporary memory to include information from said updated record areas in said system file allocation area, andwriting any changes in said media directory area information to said write-once medium at the end of a completed operating system command.
2 Assignments
0 Petitions
Accused Products
Abstract
A method of inputting and outputting information files between a computer memory and a write-once medium in which a cache memory is established as an intermediary between an operating system'"'"'s transfer address and the medium. The cache includes a system file allocation structure in a format corresponding to that for erasable media and a media directory file area. The directory in the write-once medium is read to the cache and the system file allocation structure is constructed from the directory information. When performing an operating system command, such as a read or write, access to the medium is made via the cache memory. For example, when reading a data file, sector locations indicated by the system file allocation structure are first mapped to corresponding sectors in the medium directory file area and the corresponding sectors are read from the medium. When writing a data file, sectors containing new data are identified, old sectors on the medium are marked, and only the new sectors are written to the medium with pointers linking them to the unchanged sectors.
117 Citations
9 Claims
-
1. A method of transferring information files between a computer memory of a computer system and a write-once storage medium of said computer system comprising,
providing a temporary memory in said computer system which is accessible to both said computer memory and said write-once storage medium, said temporary memory having designated memory areas assigned by said computer system which include a system file allocation area with specified record areas corresponding to file allocation and directory record areas for erasable media, a media directory area with specified record areas corresponding to file directory record areas for a write-once storage medium, and a data file area, reading a file directory from said write-once storage medium into said media directory area of said temporary memory, forming a file allocation table and an operating system directory in said record areas of said system file allocation area of said temporary memory by a transfer of corresponding information from specified record areas of said media directory area containing said file directory read from said write-once storage medium in accord with a computer operating system command, transferring specified data files between said computer memory and said write-once medium, said transfer of data files performed only via said data file area of said temporary memory, updating record areas in said system file allocation area that correspond to the transferred data file in accord with said computer operating system command, writing to corresponding record areas of the media directory area of the temporary memory to include information from said updated record areas in said system file allocation area, and writing any changes in said media directory area information to said write-once medium at the end of a completed operating system command.
-
2. A method of inputting an information file stored on a write-once medium of a computer system into computer memory of said computer system, comprising,
providing a temporary memory in said computer system which is accessible to both said computer memory and said write-once storage medium, said temporary memory having designated memory areas assigned by said computer system which include a system file allocation area, a medium directory area and a data file area, said system file allocation area further subdivided into areas forming a file allocation table and an operating system directory, reading a file directory from a write-once medium into said medium directory area of said temporary memory, transferring file directory information to record areas of said system file allocation area of said temporary memory from corresponding record areas in said medium directory area, said file allocation area having record areas corresponding to file allocation and directory record areas for erasable media, and transferring said file directory information from said record areas of said file allocation area in temporary memory to a computer system memory address.
-
6. A method of outputting an information file in a computer memory of a computer system to a write-once medium of said computer system comprising,
providing a temporary memory in said computer system which is accessible to both said computer memory and said write-once storage medium, said temporary memory having designated memory areas assigned by said computer system which include a system file allocation area, a medium directory area and a data file area, transferring in accord with a computer operating system command from computer memory to record areas of said file allocation area a complete file allocation structure having records in a format corresponding to that of file allocation and directory records for erasable media, said file allocation structure including a file allocation table and a system directory, forming in said medium directory area, a file directory having records in a format corresponding to that of file directory records for a writ-one medium from said file allocation structure in said file allocation area, said file directory having a directory entry corresponding to a first data file written on said write-once medium, said directory entry including pointer information capable of linking sectors on said write-once medium, and write said file directory entry corresponding to said first data file to said write-once medium at the end of a completed operating system command.
-
8. A method of transferring a requested information file, which includes one or more data files and is stored on a write-once medium that has a data file directory, into computer memory, the method comprising the steps of:
-
formatting a temporary memory to include a system file allocation area, a medium directory area and a data file area; providing each data file in said data file area with a data file directory entry, said data file directory entry including a first sector that identifies the directory entry for the next data file to be read and including a second sector, said second sector having a predetermined default entry if the next data file to be read has not been changed, and if the next data file to be read has been changed the second sector contains instead an override address for the directory entry for the next data file that overrides the directory entry specified in the first sector; reading a file directory from the write-once medium into the medium directory area of the temporary memory; forming a file allocation table and operating system directory in the system file allocation area of the temporary memory from the file directory in a format that corresponds to the format of a file allocation table and operating system directory for an erasable medium; and if the information file transfer request refers to a file allocation table or an operating system directory, the method comprises the further step of; transferring the requested file allocation table and operating system directory from said system file allocation area to a sequence of computer memory addresses that are specified by an operating system; if the information file transfer request refers to a data file, the method comprises the further steps of; requesting a data file identified by a data file directory entry; mapping sector locations of the identified data file that are specified in the file allocation area to corresponding sector locations in the medium directory area; writing the information contained in each sector location in the medium directory area to a sequence of computer memory addresses specified by the operating system; and repeating steps D1, D2 and D3 for each data file in the information file to be transferred. - View Dependent Claims (9)
-
Specification