KR20080069071A - Enhanced file system and method of managing file using thereof - Google Patents

Enhanced file system and method of managing file using thereof Download PDF

Info

Publication number
KR20080069071A
KR20080069071A KR1020070006697A KR20070006697A KR20080069071A KR 20080069071 A KR20080069071 A KR 20080069071A KR 1020070006697 A KR1020070006697 A KR 1020070006697A KR 20070006697 A KR20070006697 A KR 20070006697A KR 20080069071 A KR20080069071 A KR 20080069071A
Authority
KR
South Korea
Prior art keywords
file
entry information
information
location
area
Prior art date
Application number
KR1020070006697A
Other languages
Korean (ko)
Inventor
유성열
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020070006697A priority Critical patent/KR20080069071A/en
Priority to PCT/KR2007/005702 priority patent/WO2008091054A1/en
Publication of KR20080069071A publication Critical patent/KR20080069071A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units

Abstract

An improved file system and a file management method using the same are provided to remarkably reduce overhead caused by file reading and searching for file search by improving a usual tree type file search scheme. A first sector sequentially records a plurality of entry information including a name and a location of each object stored in a storage medium. A second sector includes the information for a location of the first sector. The first sector is placed in a file data sector(406) of the storage medium. The second sector is placed in a volume sequence sector(404) of the storage medium. The sequential entry information includes the information for the location recording the entry information, which includes the location storing the object. The detailed entry information is recorded in a file system sector(405) of the storage medium. The information for the location recording detail entry information includes the location of a file ID of a corresponding folder when the object is a folder, and includes the location of the file entry information of a corresponding file if the object is the file. The sequential entry information includes the detail entry information including the location storing the corresponding object.

Description

개선된 파일 시스템과 이를 이용한 파일 관리 방법{Enhanced file system and method of managing file using thereof}Improved file system and method of managing file using

도 1은 파일과 폴더의 트리 구조를 예시한 도면,1 is a diagram illustrating a tree structure of files and folders;

도 2는 종래 기술에 따른 파일 시스템에서의 파일 검색 과정을 예시한 도면,2 is a diagram illustrating a file searching process in a file system according to the prior art;

도 3은 본 발명의 일 실시예에 따른 개선된 파일 시스템을 이용한 파일 관리 방법의 흐름도,3 is a flowchart of a file management method using an improved file system according to an embodiment of the present invention;

도 4는 본 발명의 일 실시예에 따른 개선된 파일 시스템을 이용한 파일 검색 과정을 예시한 도면.4 illustrates a file retrieval process using an improved file system in accordance with an embodiment of the present invention.

본 발명은 파일 시스템에 대한 것으로, 더욱 상세하게는 종래의 트리형 파일 엔트리를 이용한 파일 검색 방식을 개선한 파일 시스템과 이를 이용한 파일 관리 방법에 관한 것이다.The present invention relates to a file system. More particularly, the present invention relates to a file system and a file management method using the same.

도 1은 파일과 폴더의 트리 구조를 예시한 도면이다.1 is a diagram illustrating a tree structure of files and folders.

종래의 파일 시스템은 파일 엔트리가 트리형 구조로 기록되어 있어 파일이나 폴더 검색시 트래버스(Traverse)가 발생한다. 도 1을 참조하면, File4(102)를 검 색하기 위해서, 최상위 폴더인 Folder1(101) 아래의 파일 및 폴더 리스트를 읽어 원하는 파일인 File4(102)이 있는지 판단하고 File4(102)가 없으면 각 폴더별로 이 과정을 반복하여 검색해야 한다.In a conventional file system, file entries are recorded in a tree structure, and traverse occurs when searching files or folders. Referring to FIG. 1, in order to search for File4 102, a file and folder list under the top-level folder Folder1 101 is read to determine whether File4 102, which is a desired file, exists, and if there is no File 4 102, each folder. You will have to repeat this process.

도 2는 종래 기술에 따른 파일 시스템에서의 파일 검색 과정을 예시한 것으로, 도 1의 파일 및 폴더 구조에서 File4에 대한 정보가 기록된 섹터를 찾기 위한 과정을 나타낸 것이다.FIG. 2 illustrates a file searching process in a file system according to the prior art, and illustrates a process for finding a sector in which information about File4 is recorded in the file and folder structure of FIG. 1.

도 2를 참조하면, 디스크 제작자인 벤더(Vendor)에 의해 기록되는 볼륨 정보를 포함하는 볼륨 시퀀스 영역(201), 파일 시스템 영역(202) 및 파일 데이터 영역(203)으로 구성된 저장 매체에서, File4를 찾기 위해 먼저 루트 폴더인 Folder1에 대한 파일 ID 정보가 기록된 섹터 k(210)가 탐색된다. 섹터 k(210)에는 Folder1 아래의 Folder2, Folder3, File1 및 File2의 명칭과 위치에 대한 정보가 기록되어 있으며 File4에 대한 정보는 없으므로, 하위 폴더인 Folder2에 대한 파일 ID 정보가 기록된 섹터 k+2(220)가 다음으로 탐색된다. 섹터 k+2(220)에는 Folder2 하위의 Foler4 및 File3의 명칭과 위치 정보가 기록되어 있으며 역시 File4에 대한 정보는 없으므로, 하위 폴더인 Folder4에 대한 파일 ID 정보가 기록된 섹터 k+9(240)가 탐색된다. 섹터 k+9(240)의 탐색 결과 Foler4의 하위에 존재하는 파일이나 폴더가 없음을 알 수 있으므로, Foler1의 두번째 하위 폴더인 Folder3에 대한 파일 ID 정보가 기록된 섹터 k+4(230)가 탐색된다. 섹터 k+4(230)에는 Folder3의 하위 폴더인 Folder5의 명칭 및 위치 정보가 기록되어 있으며 역시 File4에 대한 정보는 없으므로, Folder5에 대한 파일 ID 정보가 기록된 섹터 k+11(250)이 탐색된다. 섹터 k+11(250)에는 File4의 명칭 및 위치 정보(251)가 있으므로 이 위치 정보를 이용하여 File4에 대한 상세 정보가 기록된 섹터 k+13(260)을 찾을 수 있으며, 섹터 k+13(260)에서 File4가 저장되어 있는 파일 데이터 영역에서의 위치, 파일 크기 및 갱신 시간 등의 정보가 기록되어 있는 상세 엔트리 정보(261)를 획득할 수 있다.Referring to FIG. 2, in a storage medium consisting of a volume sequence area 201, a file system area 202, and a file data area 203 including volume information recorded by a disc producer, Vendor, File4 is selected. In order to find it, the sector k 210 in which the file ID information for the root folder Folder1 is recorded is searched first. In sector k 210, information on the names and locations of Folder2, Folder3, File1, and File2 under Folder1 is recorded, and there is no information on File4. Therefore, sector k + 2 in which file ID information for subfolder Folder2 is recorded. 220 is searched next. In sector k + 2 220, the names and location information of Foler4 and File3 under Folder2 are recorded and there is no information about File4. Therefore, sector k + 9 (240) in which file ID information for Folder4, a subfolder, is recorded. Is searched. As a result of the search of sector k + 9 (240), it can be seen that there are no files or folders existing under Foler4. Therefore, sector k + 4 (230) in which file ID information for Folder3, the second subfolder of Foler1, is recorded is searched. do. In sector k + 4 230, name and location information of Folder5, which is a subfolder of Folder3, is recorded and there is no information about File4, so sector k + 11 250 in which file ID information for Folder5 is recorded is searched. . Since sector k + 11 250 has the name and location information 251 of File4, sector k + 13 260 in which detailed information about File4 is recorded can be found using sector location + sector k + 13 ( In step 260, detailed entry information 261 in which information such as a position, a file size, and an update time in the file data area in which File4 is stored is recorded can be obtained.

그러나, 상기와 같은 종래 기술에 따르면 각각의 파일 ID 섹터나 파일 엔트리 섹터를 방문할 때마다 디스크에 대한 독출 동작(Reading Operation) 및 탐색 동작(Seek Operation)을 포함하는 물리적 액세스가 발생하므로 비효율적이다. 도 2의 예에서는 File4의 검색을 위해 총 6번의 독출 동작과 5번의 탐색 동작이 필요하다. 특히 파일의 수가 많은 경우 파일 하나를 찾기 위한 오버헤드가 더욱 커진다.However, according to the prior art as described above, each visit of each file ID sector or file entry sector is inefficient because physical access including a reading operation and a seek operation for the disk occurs. In the example of FIG. 2, a total of six read operations and five search operations are required for searching File4. In particular, if the number of files is large, the overhead for finding a single file is greater.

본 발명은 상기와 같은 문제를 해결하여, 파일 검색에 따른 오버헤드를 획기적으로 줄일 수 있는 개선된 파일 시스템과 이를 이용한 파일 관리 방법을 제공하는 것을 목적으로 한다. Disclosure of Invention It is an object of the present invention to provide an improved file system and a file management method using the same, which can solve the above problems and significantly reduce the overhead of file retrieval.

상기와 같은 과제를 해결하기 위한 본 발명의 하나의 특징은, 저장 매체의 개선된 파일 시스템에 있어서, 상기 저장 매체에 저장된 각 객체의 명칭과 위치에 대한 정보를 포함하는 복수의 엔트리 정보를 순차적으로 기록하기 위한 제1 영역과, 상기 제1 영역의 위치에 대한 정보를 포함하는 제2 영역을 포함하는 것이다.One feature of the present invention for solving the above problems is, in the improved file system of the storage medium, a plurality of entry information including information about the name and location of each object stored in the storage medium sequentially A first area for recording and a second area including information on the position of the first area.

상기 제1 영역은 상기 저장 매체의 파일 데이터 영역에 존재할 수 있으며, 상기 제2 영역은 상기 저장 매체의 볼륨 시퀀스 영역에 존재할 수 있다. The first area may exist in a file data area of the storage medium, and the second area may exist in a volume sequence area of the storage medium.

상기 순차적 엔트리 정보는, 해당 객체가 저장된 위치를 포함하는 상세 엔트리 정보가 기록된 위치에 대한 정보를 포함할 수 있다. 상기 상세 엔트리 정보는, 상기 저장 매체의 파일 시스템 영역에 기록될 수 있다. 상기 상세 엔트리 정보가 기록된 위치에 대한 정보는, 상기 객체가 폴더인 경우는 해당 폴더의 파일 ID 정보의 위치를 포함하고, 상기 객체가 파일인 경우는 해당 파일의 파일 엔트리 정보의 위치를 포함할 수 있다.The sequential entry information may include information about a location where detailed entry information including a location where a corresponding object is stored is recorded. The detailed entry information may be recorded in a file system area of the storage medium. The information on the location where the detailed entry information is recorded may include the location of file ID information of the folder when the object is a folder, and the location of file entry information of the file when the object is a file. Can be.

상기 순차적 엔트리 정보는, 해당 객체가 저장된 위치를 포함하는 상세 엔트리 정보를 포함할 수 있다.The sequential entry information may include detailed entry information including a location where the corresponding object is stored.

상기 순차적 엔트리 정보는, 자신의 식별자와 부모 순차적 엔트리 정보의 식별자를 더 포함할 수 있다.The sequential entry information may further include an identifier of its own and parent sequential entry information.

본 발명의 다른 특징은, 저장 매체의 개선된 파일 시스템을 이용한 파일 관리 방법에 있어서, 상기 저장 매체에 저장된 각 객체의 명칭과 위치에 대한 정보를 포함하는 복수의 엔트리 정보를 순차적으로 기록한 제1 영역의 데이터를 독출하는 단계와, 상기 독출된 데이터를 참조하여 상기 각 객체를 관리하는 단계를 포함하는 것이다.Another aspect of the present invention provides a file management method using an improved file system of a storage medium, comprising: a first area sequentially recording a plurality of entry information including information about a name and a location of each object stored in the storage medium; And reading each of the objects and managing the respective objects with reference to the read data.

상기 각 객체를 관리하는 단계는, 상기 복수의 순차적 엔트리 정보를 검색하여 원하는 객체에 대한 순차적 엔트리 정보를 획득하는 단계를 더 포함할 수 있다.The managing of each object may further include obtaining sequential entry information on a desired object by searching the plurality of sequential entry information.

상기 제1 영역의 데이터를 독출하는 단계는, 상기 저장 매체의 파일 데이터 영역에 존재하는 상기 데이터를 독출하는 단계를 포함할 수 있으며, 상기 제1 영역 의 데이터를 독출하는 단계는, 상기 저장 매체의 볼륨 시퀀스 영역에 기록된 상기 제1 영역의 위치에 대한 정보를 참조하여 상기 데이터의 위치를 판단할 수 있다. The reading of the data of the first area may include reading the data existing in the file data area of the storage medium. The reading of the data of the first area may include: The location of the data may be determined by referring to information about the location of the first area recorded in the volume sequence area of the storage medium.

상기 순차적 엔트리 정보는, 해당 객체가 저장된 위치를 포함하는 상세 엔트리 정보가 기록된 상기 저장 매체의 파일 시스템 영역 상의 위치에 대한 정보를 포함하고, 상기 각 객체를 관리하는 단계는, 상기 상세 엔트리 정보의 위치 정보를 참조하여 상기 객체에 대한 상세 정보를 획득하는 단계를 더 포함할 수 있다. 상기 상세 엔트리 정보는, 상기 객체가 폴더인 경우는 해당 폴더의 파일 ID 정보의 위치를 포함하고, 상기 객체가 파일인 경우는 해당 파일의 파일 엔트리 정보의 위치를 포함할 수 있다.The sequential entry information includes information on a location on a file system area of the storage medium in which detailed entry information including a location where a corresponding object is stored is recorded, and the managing of each object may include: The method may further include obtaining detailed information about the object with reference to the location information. The detailed entry information may include a location of file ID information of a corresponding folder when the object is a folder and a location of file entry information of a corresponding file when the object is a file.

상기 순차적 엔트리 정보는, 해당 객체가 저장된 위치를 포함하는 상세 엔트리 정보를 포함하고, 상기 객체를 관리하는 단계는, 상기 상세 엔트리 정보를 참조하여 상기 객체에 대한 상세 정보를 획득하는 단계를 더 포함할 수 있다.The sequential entry information includes detailed entry information including a location where a corresponding object is stored, and managing the object may further include obtaining detailed information about the object by referring to the detailed entry information. Can be.

상기 순차적 엔트리 정보는, 자신의 식별자와 부모 엔트리 정보의 식별자를 더 포함하고, 상기 객체를 관리하는 단계는, 상기 자신의 식별자 및 부모 엔트리 정보의 식별자를 참조하여 상기 저장매체에 저장된 객체들 간의 관계를 판단하는 단계를 더 포함할 수 있다.The sequential entry information further includes an identifier of its own and parent entry information, and managing the object may include: a relationship between objects stored in the storage medium with reference to the identifier of the own and parent entry information; The method may further include determining.

본 발명의 일 실시예에 따른 저장 매체의 파일 시스템은, 저장 매체에 저장된 각 객체(파일 및 폴더)의 명칭과 위치에 대한 정보를 포함하는 복수의 엔트리 정보를 순차적으로 기록한 제1 영역의 정보를 이용하여 검색 기능을 개선한다. 이 순차적 엔트리 정보는 저장 매체의 파일 데이터 영역에 기록될 수 있으나, 이에 한정되는 것은 아니며 파일 시스템 영역에 기록될 수도 있다. 각 객체의 위치에 대한 정보는 해당 객체가 실제로 저장된 파일 데이터 영역 상의 위치이거나, 해당 객체의 실제 위치를 기록한 다른 부분의 위치 정보일 수 있다. 각각의 순차적 엔트리 정보는 해당 엔트리 정보를 식별할 수 있는 식별자와 부모 엔트리 정보의 식별자를 포함할 수 있다. 이들 식별자 정보를 참조하면 저장 매체에 저장된 객체들 간의 관계를 판단할 수 있으므로 더욱 효율적인 객체 관리가 가능하다. 한편 순차적 엔트리 정보의 기록 위치는 미리 정해진 값 또는 저장 매체의 소정 위치인 제2 영역에 기록된 값에 의해 획득될 수 있다. 예를 들어, 볼륨 시퀀스 영역의 특정 위치에 순차적 엔트리 정보가 기록된 섹터 번호를 기록할 수 있다.A file system of a storage medium according to an embodiment of the present invention includes information on a first area in which a plurality of entry information including information about names and locations of respective objects (files and folders) stored in the storage medium are sequentially recorded. To improve the search function. The sequential entry information may be recorded in the file data area of the storage medium, but is not limited thereto and may be recorded in the file system area. The information about the location of each object may be a location on the file data area where the object is actually stored, or may be location information of another part that records the actual location of the object. Each sequential entry information may include an identifier for identifying corresponding entry information and an identifier for parent entry information. Referring to these identifier information, the relationship between the objects stored in the storage medium can be determined, thereby enabling more efficient object management. Meanwhile, the recording position of the sequential entry information may be obtained by a predetermined value or a value recorded in the second area which is a predetermined position of the storage medium. For example, a sector number in which sequential entry information is recorded can be recorded at a specific position in the volume sequence area.

본 발명의 다른 실시예에 따른 저장 매체의 파일 시스템은, 종래의 파일 시스템 정보에 더하여 순차적 엔트리 정보를 기록한 제1 영역을 포함한다. 이 경우, 순차적으로 기록된 복수의 엔트리 정보는 각각 해당 객체가 저장된 위치, 객체의 크기 및 시간 정보 등을 포함하는 상세 엔트리 정보가 기록된 위치에 대한 정보를 포함한다. 상세 엔트리 정보는 종래의 파일 시스템 정보가 기록된 파일 시스템 영역에 기록된 것일 수 있다.A file system of a storage medium according to another embodiment of the present invention includes a first area in which sequential entry information is recorded in addition to the conventional file system information. In this case, the plurality of entry information sequentially recorded includes information on a location where detailed entry information is recorded, including a location where the corresponding object is stored, size and time information of the object, and the like. The detailed entry information may be recorded in a file system area in which conventional file system information is recorded.

본 발명의 또 다른 실시예에 따른 저장 매체의 파일 시스템은, 트리 형태의 파일 시스템 정보 대신, 순차적 엔트리 정보를 기록한 제1 영역을 포함한다. 이 경우, 순차적으로 기록된 복수의 엔트리 정보는 각각 해당 객체가 저장된 위치, 객체의 크기 및 시간 정보 등을 포함하는 상세 엔트리 정보를 포함한다. 즉, 종래의 파일 시스템 정보에 기록했던 상세 정보를 순차적 엔트리 정보로 기록하는 것이다.A file system of a storage medium according to still another embodiment of the present invention includes a first area in which sequential entry information is recorded instead of file system information in a tree form. In this case, the plurality of entry information sequentially recorded includes detailed entry information including the location where the corresponding object is stored, the size and time information of the object, and the like. That is, the detailed information recorded in the conventional file system information is recorded as sequential entry information.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예를 설명한다.Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings.

도 3은 본 발명의 일 실시예에 따른 개선된 파일 시스템을 이용한 파일 관리 방법의 흐름도이다.3 is a flowchart of a file management method using an improved file system according to an embodiment of the present invention.

도 3을 참조하면, 순차적 엔트리 정보가 기록된 위치를 획득한다(302). 획득된 위치에 저장된 복수의 엔트리 정보를 참조하여 저장 매체에 저장된 각 객체에 대한 상세 정보를 획득하고 원하는 객체를 관리할 수 있다. 객체 검색의 경우, 획득된 위치에 기록되어 있는 복수의 엔트리 정보를 순차적으로 탐색하여 원하는 객체의 순차적 엔트리 정보를 검색하고, 대응하는 상세 엔트리 정보에 대한 위치 정보를 획득한다(304). 그러나 순차적으로 기록되어 있는 엔트리 정보를 순서대로 검색하는 방법 이외에, DB나 인덱스 파일을 이용하는 등의 검색 방법이 사용될 수 있음은 당업자에게 자명하다. 순차적 엔트리 정보에 상세 엔트리 정보가 포함되어 있으면 바로 객체의 실제 위치를 알 수 있으나, 그렇지 않은 경우는 획득된 상세 정보의 위치를 참조하여 실제 위치를 포함하는 상세 정보를 획득한다(306). 획득된 상세 정보에 포함된 객체의 저장 위치를 참조하여 해당 객체에 접근한다(308). Referring to FIG. 3, a position where sequential entry information is recorded is obtained (302). With reference to the plurality of entry information stored in the obtained location, it is possible to obtain detailed information about each object stored in the storage medium and to manage a desired object. In the object search, a plurality of entry information recorded in the obtained position is sequentially searched to search for sequential entry information of a desired object, and position information on corresponding detailed entry information is obtained (304). However, it will be apparent to those skilled in the art that a search method such as using a DB or an index file may be used in addition to a method of sequentially searching for entry information recorded sequentially. If the detailed entry information is included in the sequential entry information, the actual position of the object may be immediately known. Otherwise, the detailed information including the actual position is obtained by referring to the acquired detailed information position (306). The object is accessed by referring to the storage location of the object included in the obtained detailed information (308).

한편, 파일이나 디렉토리의 추가시는 해당 객체의 명칭, 엔트리 정보의 식별자, 부모 엔트리 정보의 식별자, 실제 저장 위치 또는 실제 저장 위치가 기록된 위치에 대한 정보 등을 포함한 엔트리 정보를 생성하여 순차적 엔트리 정보 영역에 추가한다. 파일이나 디렉토리의 삭제시는 해당 엔트리 정보를 순차적 엔트리 정보 영역에서 삭제하거나 삭제 표시를 한다. 또한, 파일이나 디렉토리에 대한 정보가 변경된 경우 즉 갱신시는 객체의 크기 또는 갱신 시간 등의 정보를 수정하면 된다. 또한 파일 시스템 영역에 상세 엔트리 정보가 기록되는 실시예에서는 순차적 엔트리 정보 영역과 파일 시스템 영역의 정보가 일관성을 유지하도록 관리할 필요가 있다.On the other hand, when adding a file or directory, sequential entry information is generated by generating entry information including the name of the object, an identifier of entry information, an identifier of parent entry information, information about an actual storage location or a location where an actual storage location is recorded, and the like. Add to area When deleting a file or directory, the corresponding entry information is deleted or marked for deletion in the sequential entry information area. In addition, when information on a file or directory is changed, that is, when updating, information such as an object size or an update time may be modified. Further, in the embodiment where detailed entry information is recorded in the file system area, it is necessary to manage so that the information of the sequential entry information area and the file system area is consistent.

도 4는 본 발명의 일 실시예에 따른 개선된 파일 시스템을 이용한 파일 검색 과정을 예시한 도면이다.4 is a diagram illustrating a file retrieval process using an improved file system according to an embodiment of the present invention.

도 4를 참조하면, 볼륨 시퀀스 정보가 기록된 볼륨 시퀀스 영역(404), 파일 시스템 영역(405) 및 파일 데이터 영역(406)으로 구성된 저장 매체에서, 벤더 특유의 정보가 기록된 섹터 j(401)의 특정 위치(407)에 순차적 엔트리 정보의 위치가 기록되어 있다. 따라서, 파일 데이터 영역(406)의 섹터 n(403)에 순차적으로 기록된 엔트리 정보를 탐색하여 원하는 파일 또는 폴더에 대한 엔트리 정보를 찾으면 된다. 이 실시예에 따르면 순차적 엔트리 정보의 위치가 섹터 j(401)의 Reserved 영역(407)에 기록되어 있다. 또한, 여기에 순차적 엔트리 정보의 존재 여부, 버전 및/또는 크기 등의 정보가 더 기록될 수 있으며, 파일 액세스가 필요한 경우 먼저 순차적 엔트리 정보의 존재 여부를 판단하고 순차적 엔트리 정보가 있으면 해당 위치에서 해당 크기 만큼의 정보를 읽어 사용한다.Referring to FIG. 4, in a storage medium consisting of a volume sequence area 404, a file system area 405, and a file data area 406 on which volume sequence information is recorded, sector j 401 in which vendor-specific information is recorded. The position of the sequential entry information is recorded in the specific position 407 of. Therefore, the entry information recorded in the sector n 403 of the file data area 406 can be searched sequentially to find the entry information for the desired file or folder. According to this embodiment, the position of the sequential entry information is recorded in the reserved area 407 of the sector j (401). In addition, information such as whether there is sequential entry information, version, and / or size may be further recorded therein. When file access is required, first, whether sequential entry information is present is determined, and if there is sequential entry information, the corresponding position is located at the corresponding position. Read and use information as much as size.

이 실시예에 따른 순차적 엔트리 정보는 엔트리 레코드의 식별자(451), 부모 엔트리 정보의 식별자(452), 객체의 명칭(453) 및 해당 객체에 대한 상세 정보의 획득을 위한 상세 엔트리 정보의 위치(454)를 포함하고 있다. 폴더의 경우 상세 엔트리 정보의 위치는 해당 폴더의 파일 ID 정보가 기록된 섹터 번호이다. 폴더의 경우 파일 엔트리 정보에는 폴더 내에 어떤 서브 객체들이 있는지에 대한 정보는 포함되어 있지 않기 때문에, 이들 정보를 알 수 있는 파일 ID 정보의 위치를 순차적 엔트리 정보로 기록하는 것이다. 한편, 파일의 경우 상세 엔트리 정보의 위치는 파일 엔트리 정보가 기록된 섹터의 번호이다. The sequential entry information according to this embodiment includes the identifier 451 of the entry record, the identifier 452 of the parent entry information, the name 453 of the object, and the location 454 of the detailed entry information for obtaining detailed information about the object. ) Is included. In the case of a folder, the location of detailed entry information is a sector number in which file ID information of the folder is recorded. In the case of a folder, since the file entry information does not include information on what sub-objects are in the folder, the location of the file ID information from which the information is known is recorded as sequential entry information. On the other hand, in the case of a file, the position of the detailed entry information is the number of the sector in which the file entry information is recorded.

예컨대 File4를 검색하는 경우, 식별자 9에 해당하는 레코드(408)에서 File4의 상세 엔트리 정보의 위치가 섹터 k+13임을 알 수 있다. 따라서, 파일 시스템 영역(405)의 섹터 k+13(402)에서 바로 File4에 대한 파일 엔트리 정보를 획득할 수 있다. 즉, 섹터 k+13(402)의 데이터를 읽어 File4에 대한 저장 위치, 파일 크기, 시간 정보 등을 알 수 있으며, File4의 실제 저장 위치인 섹터 m에 접근하여 File4를 읽을 수 있다. 따라서, 트리 구조로 저장된 종래의 파일 시스템을 이용할 때 6번의 독출 동작과 5번의 섹터 탐색 동작이 필요한 것과 달리, 본 발명에 따르면 2번의 독출 동작과 1번의 섹터 탐색 동작만이 필요하므로 매우 효율적이다. 또한, 읽어 들여야 하는 데이터 크기의 측면에서도 종래의 파일 시스템에 따르면 6개의 섹터를 읽어야 하므로 12,288 Byte(=2048×6)를 읽는 반면, 본 발명에 따르면 2 섹터인 2,096 Byte(=2048×2)만 읽으면 된다.For example, when searching for File4, it can be seen that the location of detailed entry information of File4 is sector k + 13 in the record 408 corresponding to the identifier 9. Thus, file entry information for File4 can be obtained directly from sector k + 13 (402) in file system area 405. That is, by reading data of sector k + 13 402, the storage location, file size, time information, and the like for File4 can be known, and File4 can be read by accessing sector m, which is the actual storage location of File4. Therefore, unlike the conventional file system stored in the tree structure, six read operations and five sector search operations are required, and according to the present invention, only two read operations and one sector search operation are required. In addition, in terms of the data size to be read, the conventional file system reads 12,288 bytes (= 2048 × 6) because six sectors must be read, whereas according to the present invention, only 2 sectors, 2,096 bytes (= 2048 × 2), are read. You can read it.

상술한 바와 같은 본 발명에 따른 방법은 컴퓨터로 읽을 수 있는 기록매체에 컴퓨터가 읽을 수 있는 코드로서 구현하는 것이 가능하다. The method according to the present invention as described above can be embodied as computer readable codes on a computer readable recording medium.

이제까지 본 발명에 대하여 그 바람직한 실시예들을 중심으로 살펴보았다. 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자는 본 발명이 본 발명의 본 질적인 특성에서 벗어나지 않는 범위에서 변형된 형태로 구현될 수 있음을 이해할 수 있을 것이다. 그러므로 개시된 실시예들은 한정적인 관점이 아니라 설명적인 관점에서 고려되어야 한다. 본 발명의 범위는 전술한 설명이 아니라 특허청구범위에 나타나 있으며, 그와 동등한 범위 내에 있는 모든 차이점은 본 발명에 포함된 것으로 해석되어야 할 것이다.So far I looked at the center of the preferred embodiment for the present invention. Those skilled in the art will appreciate that the present invention can be implemented in a modified form without departing from the essential features of the present invention. Therefore, the disclosed embodiments should be considered in descriptive sense only and not for purposes of limitation. The scope of the present invention is shown in the claims rather than the foregoing description, and all differences within the scope will be construed as being included in the present invention.

이상에서 설명한 바와 같은 본 발명의 구성에 의하면, 파일 검색시 독출 및 탐색에 따른 오버헤드를 획기적으로 줄일 수 있다. 특히 파일의 개수가 많을수록 그 효과가 크게 나타난다. 예를 들어, 100,000개의 파일이 기록된 디스크에 본 발명이 적용된다고 가정하자. 종래의 트리 구조 파일 시스템의 경우, 파일 검색시 최대 100,000개의 섹터를 읽어야 하며 1회에 독출 가능한 크기가 32 섹터일 때 3,125번(=100,000/32)의 독출 동작이 필요하다. 더욱이, 이들 섹터가 순차적이라고 할 수 없으므로 탐색에 소요되는 오버헤드까지 감안되어야 한다. 반면, 본 발명에 따른 개선된 파일 시스템의 경우, 1개의 순차적 엔트리 정보당 188 Byte가 필요하다면 9,180 섹터(=188×100,000/2,048)를 읽어야 하므로 287번(=9,180/32)의 독출 동작만 필요하며, 순차적으로 기록된 엔트리 정보를 읽기 때문에 섹터 탐색 동작도 필요하지 않다. According to the configuration of the present invention as described above, it is possible to significantly reduce the overhead of reading and searching in the file search. In particular, the greater the number of files, the greater the effect. For example, suppose that the present invention is applied to a disc on which 100,000 files are recorded. In the conventional tree structure file system, a maximum of 100,000 sectors must be read when searching for a file, and 3,125 read operations (= 100,000 / 32) are required when the size that can be read at once is 32 sectors. Moreover, since these sectors are not sequential, the overhead required for searching must be taken into account. On the other hand, in the improved file system according to the present invention, if 188 bytes are required for one sequential entry information, 9,180 sectors (= 188 × 100,000 / 2,048) must be read, so only 287 (= 9,180 / 32) read operations are required. In addition, the sector search operation is not necessary because the information of the sequentially recorded entries is read.

Claims (17)

저장 매체의 개선된 파일 시스템에 있어서,In an improved file system of a storage medium, 상기 저장 매체에 저장된 각 객체의 명칭과 위치에 대한 정보를 포함하는 복수의 엔트리 정보를 순차적으로 기록하기 위한 제1 영역과,A first area for sequentially recording a plurality of entry information including information about a name and a location of each object stored in the storage medium; 상기 제1 영역의 위치에 대한 정보를 포함하는 제2 영역을 포함하는 것을 특징으로 하는 파일 시스템.And a second area including information about the location of the first area. 제1항에 있어서,The method of claim 1, 상기 제1 영역은 상기 저장 매체의 파일 데이터 영역에 존재하는 것을 특징으로 하는 파일 시스템.And the first area is present in a file data area of the storage medium. 제1항에 있어서,The method of claim 1, 상기 제2 영역은 상기 저장 매체의 볼륨 시퀀스 영역에 존재하는 것을 특징으로 하는 파일 시스템.And wherein said second area is in a volume sequence area of said storage medium. 제1항에 있어서,The method of claim 1, 상기 순차적 엔트리 정보는, 해당 객체가 저장된 위치를 포함하는 상세 엔트리 정보가 기록된 위치에 대한 정보를 포함하는 것을 특징으로 하는 파일 시스템.And the sequential entry information includes information on a location where detailed entry information including a location where a corresponding object is stored is recorded. 제4항에 있어서,The method of claim 4, wherein 상기 상세 엔트리 정보는, 상기 저장 매체의 파일 시스템 영역에 기록되는 것을 특징으로 하는 파일 시스템.The detailed entry information is recorded in the file system area of the storage medium. 제5항에 있어서,The method of claim 5, 상기 상세 엔트리 정보가 기록된 위치에 대한 정보는, 상기 객체가 폴더인 경우는 해당 폴더의 파일 ID 정보의 위치를 포함하고, 상기 객체가 파일인 경우는 해당 파일의 파일 엔트리 정보의 위치를 포함하는 것을 특징으로 하는 파일 시스템.The information on the location where the detailed entry information is recorded includes the location of the file ID information of the folder when the object is a folder, and the location of the file entry information of the file when the object is a file. File system. 제1항에 있어서,The method of claim 1, 상기 순차적 엔트리 정보는, 해당 객체가 저장된 위치를 포함하는 상세 엔트리 정보를 포함하는 것을 특징으로 하는 파일 시스템.And the sequential entry information includes detailed entry information including a location where the corresponding object is stored. 제1항에 있어서,The method of claim 1, 상기 순차적 엔트리 정보는, 자신의 식별자와 부모 순차적 엔트리 정보의 식별자를 더 포함하는 것을 특징으로 하는 파일 시스템.The sequential entry information further comprises an identifier of its own and parent sequential entry information. 저장 매체의 개선된 파일 시스템을 이용한 파일 관리 방법에 있어서,In a file management method using an improved file system of a storage medium, 상기 저장 매체에 저장된 각 객체의 명칭과 위치에 대한 정보를 포함하는 복 수의 엔트리 정보를 순차적으로 기록한 제1 영역의 데이터를 독출하는 단계와,Reading data of a first area in which a plurality of pieces of entry information including information about a name and a location of each object stored in the storage medium are sequentially recorded; 상기 독출된 데이터를 참조하여 상기 각 객체를 관리하는 단계를 포함하는 것을 특징으로 하는 파일 관리 방법.And managing each object with reference to the read data. 제9항에 있어서,The method of claim 9, 상기 각 객체를 관리하는 단계는, 상기 복수의 순차적 엔트리 정보를 검색하여 원하는 객체에 대한 순차적 엔트리 정보를 획득하는 단계를 더 포함하는 것을 특징으로 하는 파일 관리 방법.The managing of each object may further include obtaining the sequential entry information for a desired object by searching the plurality of sequential entry information. 제9항에 있어서,The method of claim 9, 상기 제1 영역의 데이터를 독출하는 단계는, 상기 저장 매체의 파일 데이터 영역에 존재하는 상기 데이터를 독출하는 단계를 포함하는 것을 특징으로 하는 파일 관리 방법.The reading of the data of the first area may include reading the data existing in the file data area of the storage medium. 제9항에 있어서,The method of claim 9, 상기 제1 영역의 데이터를 독출하는 단계는, 상기 저장 매체의 볼륨 시퀀스 영역에 기록된 상기 제1 영역의 위치에 대한 정보를 참조하여 상기 데이터의 위치를 판단하는 단계를 더 포함하는 것을 특징으로 하는 파일 관리 방법.The reading of the data of the first area may further include determining the location of the data by referring to information about the location of the first area recorded in the volume sequence area of the storage medium. File management methods. 제9항에 있어서,The method of claim 9, 상기 순차적 엔트리 정보는, 해당 객체가 저장된 위치를 포함하는 상세 엔트리 정보가 기록된 상기 저장 매체의 파일 시스템 영역 상의 위치에 대한 정보를 포함하고,The sequential entry information includes information on a location on a file system area of the storage medium in which detailed entry information including a location where a corresponding object is stored is recorded; 상기 각 객체를 관리하는 단계는, 상기 상세 엔트리 정보의 위치 정보를 참조하여 상기 객체에 대한 상세 정보를 획득하는 단계를 더 포함하는 것을 특징으로 하는 파일 관리 방법.The managing of each object may further include obtaining detailed information about the object by referring to location information of the detailed entry information. 제13항에 있어서,The method of claim 13, 상기 상세 엔트리 정보는, 상기 객체가 폴더인 경우는 해당 폴더의 파일 ID 정보의 위치를 포함하고, 상기 객체가 파일인 경우는 해당 파일의 파일 엔트리 정보의 위치를 포함하는 것을 특징으로 하는 파일 관리 방법.The detailed entry information includes a location of file ID information of a corresponding folder when the object is a folder and a location of file entry information of a corresponding file when the object is a file. . 제9항에 있어서,The method of claim 9, 상기 순차적 엔트리 정보는, 해당 객체가 저장된 위치를 포함하는 상세 엔트리 정보를 포함하고,The sequential entry information includes detailed entry information including a location where the corresponding object is stored. 상기 객체를 관리하는 단계는, 상기 상세 엔트리 정보를 참조하여 상기 객체에 대한 상세 정보를 획득하는 단계를 더 포함하는 것을 특징으로 하는 파일 관리 방법.The managing of the object may further include obtaining detailed information about the object by referring to the detailed entry information. 제9항에 있어서,The method of claim 9, 상기 순차적 엔트리 정보는, 자신의 식별자와 부모 엔트리 정보의 식별자를 더 포함하고,The sequential entry information further includes an identifier of its own and parent entry information, 상기 객체를 관리하는 단계는, 상기 자신의 식별자 및 부모 엔트리 정보의 식별자를 참조하여 상기 저장매체에 저장된 객체들 간의 관계를 판단하는 단계를 더 포함하는 것을 특징으로 하는 파일 관리 방법.The managing of the object may further include determining a relationship between the objects stored in the storage medium by referring to the identifier of the own entry and the parent entry information. 제9항 내지 제16항 중 어느 한 항에 기재된 방법을 수행하는 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체.A computer-readable recording medium having recorded thereon a program for performing the method according to any one of claims 9 to 16.
KR1020070006697A 2007-01-22 2007-01-22 Enhanced file system and method of managing file using thereof KR20080069071A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020070006697A KR20080069071A (en) 2007-01-22 2007-01-22 Enhanced file system and method of managing file using thereof
PCT/KR2007/005702 WO2008091054A1 (en) 2007-01-22 2007-11-14 Enhanced file system and method of managing files using the file system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020070006697A KR20080069071A (en) 2007-01-22 2007-01-22 Enhanced file system and method of managing file using thereof

Publications (1)

Publication Number Publication Date
KR20080069071A true KR20080069071A (en) 2008-07-25

Family

ID=39644614

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020070006697A KR20080069071A (en) 2007-01-22 2007-01-22 Enhanced file system and method of managing file using thereof

Country Status (2)

Country Link
KR (1) KR20080069071A (en)
WO (1) WO2008091054A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763418A (en) * 2009-12-16 2010-06-30 中兴通讯股份有限公司 File resource access method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5740435A (en) * 1994-10-31 1998-04-14 Sony Corporation Data management apparatus and method for managing data of variable lengths recorded on a record medium
JP4452363B2 (en) * 2000-02-23 2010-04-21 富士通株式会社 File system
JP2001243102A (en) * 2000-02-29 2001-09-07 Sony Corp Recorder, recording method, and recording medium
TWI235927B (en) * 2001-04-25 2005-07-11 Koninkl Philips Electronics Nv Methods and devices for recording or reading files on/from a sequential medium and sequential medium

Also Published As

Publication number Publication date
WO2008091054A1 (en) 2008-07-31

Similar Documents

Publication Publication Date Title
JP4157858B2 (en) Parallel high-speed backup of storage area network (SAN) file systems
US5590320A (en) Computer file directory system
JP4388078B2 (en) Method for generating symbolic link maintaining compatibility with file system, method and apparatus for accessing file / directory using symbolic link
KR100714691B1 (en) Apparatus and method for saving and managing additional data of file system
KR100856245B1 (en) File system device and method for saving and seeking file thereof
US7577808B1 (en) Efficient backup data retrieval
JP2000515284A (en) IC card containing files classified in a tree structure
KR100790991B1 (en) Method for managing metadata of file system using DBMS
JP2005267600A5 (en)
KR20050001301A (en) Rapid restoration of file system usage in very large file systems
CN102779180A (en) Operation processing method of data storage system and data storage system
US20050165853A1 (en) Method and apparatus for localized protected imaging of a file system
JP2005302038A (en) Method and system for renaming consecutive key in b-tree
CN110673800B (en) Data operation method, device and equipment of file system and readable storage medium
JP4825719B2 (en) Fast file attribute search
JP6008820B2 (en) File system for realizing WORM (Write OnceReadMany)
TWI397060B (en) Disk layout method for object-based storage device
CN111104377A (en) File management method, electronic device and computer-readable storage medium
EP1160786A2 (en) Information recording medium, information recording method, information recording apparatus, information reproducing method, and information reproducing apparatus
US20050238314A1 (en) Recording system, recording apparatus, recording method, recording program and recording medium
US20060129588A1 (en) System and method for organizing data with a write-once index
KR20080069071A (en) Enhanced file system and method of managing file using thereof
JPH0687229B2 (en) File management method using write-once storage medium
Lin et al. Deleted file recovery in ntfs
US20210011881A1 (en) System and method for insertable and removable file system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application