DocumentCode :
2842622
Title :
A Method to Store and Access a Folder in a Database
Author :
Li Changgui ; Lv Zhiping
Author_Institution :
Inst. of Surveying & Mapping, Inf. Eng. Univ., Zhengzhou, China
Volume :
1
fYear :
2010
fDate :
13-14 Oct. 2010
Firstpage :
70
Lastpage :
73
Abstract :
In some situation, it´s necessary to store a whole folder into a database and provide random access to any file in it. This paper puts forward a new method to store a folder as a whole and access its file randomly in a database based on the integration of BLOB, Stream and Serialization technology. First, the folder is packed up, resulting in a file stream and a directory structure object. Then, the directory structure object is serialized to a directory structure stream. Finally, the file stream and directory structure stream are saved as BLOB data in a database respectively. When reading from the database, we first read the directory structure BLOB data as a stream, and deserialize it to the directory structure object. Then, with the information in the directory structure object, we can choose which file to access and ascertain its location and size in the folder´s file BLOB data. Finally, we read the corresponding data section out of the database and realize the random access of a file.
Keywords :
file organisation; BLOB technology; Serialization technology; Stream technology; database; directory structure object; directory structure stream; file stream; folder access; folder storage; Data structures; Image restoration; Presses; Servers; Streaming media; Visual databases; BLOB; Database; Folder; Random Access; Whole Storage;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Intelligent System Design and Engineering Application (ISDEA), 2010 International Conference on
Conference_Location :
Changsha
Print_ISBN :
978-1-4244-8333-4
Type :
conf
DOI :
10.1109/ISDEA.2010.232
Filename :
5743132
Link To Document :
بازگشت