| Method of managing data of file system using database management -> Monitor Keywords |
|
Method of managing data of file system using database managementMethod of managing data of file system using database management description/claimsThe Patent Description & Claims data below is from USPTO Patent Application 20070226219, Method of managing data of file system using database management. Brief Patent Description - Full Patent Description - Patent Application Claims CROSS-REFERENCE TO RELATED PATENT APPLICATIONS [0001]This application claims priority from Korean Patent Application No. 10-2006-0053116 filed on Jun. 13, 2006, in the Korean Intellectual Property Office and U.S. Provisional Application No. 60/784,481 filed on Mar. 22, 2006, in the United States Patent and Trademark Office, the disclosures of which are incorporated herein in their entirety by reference. BACKGROUND OF THE INVENTION [0002]1. Field of the Invention [0003]The present invention relates to a file system, and more particularly, to a method of managing data of a file system using a database management system. [0004]2. Description of the Related Art [0005]Unlike in the past, the recent development of multimedia technologies has enabled many consumer electronics products, such as personal video recorders, camcorders, and mobile phones, to be offered with embedded hard disks, and thus research projects on a technology for efficiently managing data using disks are being actively carried out. [0006]In a file system determining a variety of policies related to input and output of data to and from a disk, consistency is a very important issue. Consistency of a file system can be divided into consistency of metadata and consistency of data. The metadata of a file system includes information about an inode, a directory, a free space of a disk, and a free inode. If operations related to these metadata items are performed as a transaction, the consistency of the metadata can be maintained. [0007]Likewise, the consistency of data can be maintained through a data transaction, and if a data transaction for updating part of a file is aborted in the middle of the update operation, the data transaction is completed or discarded as if the transaction had never been performed to begin with. [0008]Meanwhile, a database management system (DBMS) reliably stores data by using a fast and effective data structure and guarantees transactions. In the past, there have been attempts to secure consistency of a file system by applying this DBMS solution to an operating system (OS). [0009]FIG. 1 is a block diagram illustrating a structure of a related art file system employing a database. [0010]In the file system illustrated in FIG. 1, the metadata and file data of a file system are managed by using a kernel Berkeley database (KBDB), and the database is stored in a traditional file system (e.g., Ext2). In this structure, all operations of the file system are performed through a DBMS. [0011]For example, when a predetermined file is read, the DBMS is accessed, and file data stored in block.db is copied into a buffer cache, and when data is written in a file, data stored in the buffer cache is stored in a record corresponding to the data in block.db. Operations other than file input and/or output operations are also performed by using the DBMS, and thus the consistency of the file system can be guaranteed. [0012]However, due to its dependency on the traditional file system (Ext2) storing the databases, this KBDB file system (KBDBFS) cannot be optimized with respect to a variety of environments. That is, the DBMS (KBDB) provides only transactional operations, and the size of a file system, disk allocation, and the like are determined by a file system storing databases. For example, when data is stored on a disk in this file system, the file system (KBDBFS) inputs data into the DBMS (KBDB) and the DBMS (KBDB) stores the data on the disk by using the traditional file system Ext2 and thus the file system (KBDBFS) cannot participate in the layout of the actual disk. Accordingly, according to this file system, even though an algorithm optimized for an environment is designed, it is impossible to apply the optimized algorithm to the allocation of blocks on a disk. Also, in a multimedia environment where the file size is generally large, the size of a log generated by the DBMS increases and thus the performance of the file system is deteriorated. SUMMARY OF THE INVENTION [0013]The present invention provides a method by which metadata of a file system is managed using a database management system (DBMS) while file data is directly input to or output from a disk without involvement of the DBMS. [0014]According to an aspect of the present invention, there is provided a method of managing data in a file system including: searching for a free disk space by using a predetermined database management system (DBMS) managing metadata of the file system, when a data write request is received from an application; writing the data in the free disk space without involvement of the DBMS, by referring to the search result; and updating a part of the metadata changing with the data being written, by using the DBMS. [0015]All operations from the searching operation to the updating operation may be managed by the DBMS as one transaction. [0016]The file system may operate at a user level. [0017]A disk on which the data is stored may be different from a disk on which the metadata is stored. [0018]The updating of the part of the metadata may include requesting the DBMS to update at least one of a database table containing information about a free space, a database table containing information about a non-free space, and a database table containing information about an inode. [0019]According to another aspect of the present invention, there is provided a computer readable recording medium storing a computer program for performing the methods. BRIEF DESCRIPTION OF THE DRAWINGS [0020]The above and other aspects of the present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which: Continue reading about Method of managing data of file system using database management... Full patent description for Method of managing data of file system using database management Brief Patent Description - Full Patent Description - Patent Application Claims Click on the above for other options relating to this Method of managing data of file system using database management patent application. Patent Applications in related categories: 20090292706 - Apparatus and method for data management - A data management method includes a reference activation step, after generating a first time-series data for causing chronological relationship to be identifiable in a memory device at activation of a reference operation to a first record in a database, of referring to the first record; an update step, in response ... 20090292705 - Efficient support of consistent cyclic search with read-copy update and parallel updates - A method, system and computer program product for supporting concurrent updates to a shared data element group while preserving group integrity on behalf of one or more readers that are concurrently referencing group data elements without using locks or atomic instructions. Two or more updaters may be invoked to generate ... ### 1. Sign up (takes 30 seconds). 2. Fill in the keywords to be monitored. 3. Each week you receive an email with patent applications related to your keywords. Start now! - Receive info on patent apps like Method of managing data of file system using database management or other areas of interest. ### Previous Patent Application: Apparatus, method and system for tabulation processing, and recording medium Next Patent Application: Automated medical safety monitoring systems and methods Industry Class: Data processing: database and file management or data structures ### FreshPatents.com Support Thank you for viewing the Method of managing data of file system using database management patent info. IP-related news and info Results in 0.16372 seconds Other interesting Feshpatents.com categories: Electronics: Semiconductor , Audio , Illumination , Connectors , Crypto , 174 |
* Protect your Inventions * US Patent Office filing
PATENT INFO |
|