KR100647193B1 - Method for managing file system and apparatus using the same - Google Patents

Method for managing file system and apparatus using the same Download PDF

Info

Publication number
KR100647193B1
KR100647193B1 KR1020050085902A KR20050085902A KR100647193B1 KR 100647193 B1 KR100647193 B1 KR 100647193B1 KR 1020050085902 A KR1020050085902 A KR 1020050085902A KR 20050085902 A KR20050085902 A KR 20050085902A KR 100647193 B1 KR100647193 B1 KR 100647193B1
Authority
KR
South Korea
Prior art keywords
metadata
file
physical storage
storage device
file system
Prior art date
Application number
KR1020050085902A
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 KR1020050085902A priority Critical patent/KR100647193B1/en
Application granted granted Critical
Publication of KR100647193B1 publication Critical patent/KR100647193B1/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/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/164File meta data generation

Abstract

A method for managing a file system and a device using the same are provided to make the different file systems or OSs(Operating System) compatible with each other, and realize a dynamic partition capable of efficiently using a physical storage device. The device includes the physical storage device(14), a metadata database(15), and the first and second unit. The first unit stores content data(11) to the physical storage device, and records i-node metadata to the metadata database. The i-node data is the data recording information corresponding to an i-node of the content data by using a generation language independent on the OS or the file system. The second unit records multimedia metadata recording the information related to multimedia contents by using the generation language to the metadata database. The i-node metadata includes the information for a physical address in a physical storage device, and a file type, size, and generation time.

Description

파일 시스템 관리 방법 및 이를 사용하는 장치{method for managing file system and apparatus using the same}Method for managing file system and apparatus using the same

도 1은 본 발명의 실시예에 의한 파일 시스템 관리 방법을 사용하는 장치를 설명하기 위한 개념도를 나타내는 도면이다. 1 is a diagram illustrating a conceptual diagram for describing an apparatus using a file system management method according to an exemplary embodiment of the present invention.

도 2는 본 발명의 실시예에 의한 파일 시스템 관리 방법의 일례를 나타내는 도면으로서, 쓰기 동작이 수행될 경우의 관리 방법을 나타내는 도면이다. 2 is a view showing an example of a file system management method according to an embodiment of the present invention, which shows a management method when a write operation is performed.

도 3은 본 발명의 실시예에 의한 파일 시스템 관리 방법의 일례를 나타내는 도면으로서, 읽기 동작이 수행될 경우의 관리 방법을 나타내는 도면이다. 3 is a view showing an example of a file system management method according to an embodiment of the present invention, which shows a management method when a read operation is performed.

본 발명은 파일 시스템에 관한 발명으로서, 보다 구체적으로 서로 다른 운영 체제(operating system, 이하 OS라 함) 또는 서로 다른 파일 시스템을 가진 경우에도 융합하여 관리할 수 있는 파일 시스템 관리 방법 및 이를 사용하는 장치에 관한 발명이다. The present invention relates to a file system, and more particularly, a file system management method and apparatus using the same, which can be managed by converging even when having different operating systems (hereinafter referred to as OSs) or different file systems. The invention relates to.

일반적으로 파일 시스템은 마이크로소프트(Microsoft)사의 윈도우즈, 오픈 소스 운영 체제인 리눅스, 유닉스 등과 같은 컴퓨터 OS의 핵심 기술 중 일부분으로서 존재하며, 사용자의 데이터를 파일 형태로 저장할 수 있게 해주는 서브 시스템으로서, 대표적으로, EXT2(extended file system 2), EXT3, GFS(global file system), FAT(file allocation table) 및 NTFS(new technology file system) 등이 있다. 파일 시스템에서 다루어지는 파일 또는 디렉토리 등에 관한 정보는 구조체에 저장되며, 이 구조체를 아이노드(inode)라 한다. 아이노드에는 파일 내용이 들어 있는 물리적 저장장치 내의 물리적 주소, 파일의 형태, 파일의 크기 및 파일의 생성 시간 등에 관한 정보를 포함하고 있으며, 파일 소유권에 대한 정보도 포함할 수 있다. In general, the file system exists as a part of the core technologies of the computer OS such as Microsoft's Windows, open source operating system Linux, Unix, etc., and is a subsystem that stores user data in the form of a file. For example, extended file system 2 (EXT2), EXT3, global file system (GFS), file allocation table (FAT), and new technology file system (NTFS). Information about files or directories handled in the file system is stored in a structure, which is called an inode. The inode includes information about a physical address in a physical storage device containing file contents, a file type, a file size, a file creation time, and the like, and may also include information about file ownership.

종래의 소정의 OS에 의한 파일 시스템을 이용하는 장치의 경우, OS에서 제공되는 독자적 파일 시스템에 따라 물리적 저장장치를 포맷(format)하여 사용하였다. 또한, 일반 콘텐츠(contents) 및 멀티미디어 콘텐츠 저장시, 소정 OS에서 사용하는 파일 시스템에 따라, 물리적 저장 장치에 대하여 콘텐츠들의 쓰기/읽기/검색 등의 동작을 수행하였다. 그러나, 이러한 종래의 장치의 경우, 서로 다른 파일 시스템 간에 있어서, 아이노드의 형태가 서로 다르므로, 소정의 파일 시스템에서 형성된 아이노드는 타 파일 시스템에서 인식되지 아니하므로, 파일 시스템간에 호환성이 보장되지 아니하는 문제점이 있다. 또한, 한 장치 내에 여러 OS가 사용되는 경우에, 각 OS에 따른 물리적 저장장치의 영역을 정하는 파티션(partition)을 수행함에 있어서, 종래에는 파일 시스템간의 호환성이 보장되지 않으므로 인하여 고정(static) 파티션(partition)을 사용할 수밖에 없다는 문제점 있다. 즉, 필요에 따라서, 소정의 OS가 사용하는 물리적 저장장치의 영역이 많아질 필요가 있는 경우에도, 종래에는 고정 파티션이므로, 이에 맞추어 해당 OS의 물리적 저장장치의 영역을 넓힐 수 없었다. 따라서, 효율적으로 물리적 저장장치를 활용할 수 없었다는 문제점이 있다.In the case of a device using a file system of a conventional OS, the physical storage device is formatted according to an independent file system provided by the OS. In addition, when storing general contents and multimedia contents, operations such as writing / reading / searching contents are performed on a physical storage device according to a file system used in a predetermined OS. However, in the case of such a conventional device, since inodes are different between different file systems, inodes formed in a given file system are not recognized in other file systems, and thus compatibility between file systems is not guaranteed. There is no problem. In addition, when a plurality of OSs are used in one device, in performing partitions for defining physical storage areas according to respective OSs, the compatibility between file systems is not guaranteed in the related art. The problem is that you have to use partitions. In other words, even if it is necessary to increase the area of the physical storage device used by a given OS as necessary, it is conventionally a fixed partition, and thus the physical storage device of the OS cannot be expanded accordingly. Therefore, there is a problem in that the physical storage device cannot be utilized efficiently.

따라서, 본 발명이 이루고자 하는 기술적 과제는 상기한 문제점들을 해결하기 위한 것으로서, 서로 다른 파일 시스템 또는 서로 다른 OS 간에 호환이 될 수 있는 파일 시스템 관리 방법 및 이를 사용하는 장치를 제공하는 것이다. Accordingly, an object of the present invention is to solve the above problems, and to provide a file system management method and apparatus using the same that can be compatible between different file systems or different OS.

또한, 본 발명이 이루고자 하는 기술적 과제는 물리적 저장장치를 효율적으로 사용할 수 있는 동적(dynamic) 파티션이 가능한 파일 시스템 관리 방법 및 이를 사용하는 장치를 제공하는 것이다. Another object of the present invention is to provide a file system management method capable of using a dynamic partition that can efficiently use a physical storage device, and an apparatus using the same.

상술한 목적을 달성하기 위한 기술적 수단으로서, 본 발명의 제 1 측면은 물리적 저장 장치; 메타데이터 DB; 및 콘텐츠 데이터를 상기 물리적 저장 장치에 저장하며, 상기 콘텐츠 데이터의 아이노드에 대응하는 정보를 OS나 파일 시스템에 의존적이지 않은 생성 언어를 이용하여 기록한 데이터인 아이노드 메타데이터를 상기 메타데이터 DB에 기록하는 제 1 수단을 포함하는 장치를 제공한다. 바람직하게 상기 장치는 멀티미디어 콘텐츠에 관련된 정보를 상기 생성 언어를 이용하여 기록한 데이터인 멀티미디어 메타데이터를 상기 메타데이터 DB에 기록하는 제 2 수단을 더 포함할 수 있다. As a technical means for achieving the above object, the first aspect of the present invention is a physical storage device; Metadata DB; And storing in-node metadata, which is data in which content data is stored in the physical storage device, and information corresponding to the inode of the content data is recorded using a generation language that is not dependent on an OS or a file system in the metadata DB. It provides an apparatus comprising a first means to. Preferably, the apparatus may further include second means for recording multimedia metadata, which is data obtained by recording information related to the multimedia content using the generation language, in the metadata DB.

본 발명의 제 2 측면은 (a) 콘텐츠 데이터의 아이노드에 대응하는 정보를 OS나 파일 시스템에 의존적이지 않은 언어를 이용하여 기록한 데이터인 아이노드 메타데이터를 형성하여 메타데이터 DB에 기록하는 단계; 및 (b) 상기 콘텐츠 데이터를 물리적 저장 장치에 저장하는 단계를 포함하는 관리 방법을 제공한다. 바람직하게, 상기 관리 방법은 상기 현재 사용되는 OS를 대신하여 새로운 OS를 사용하여야 하는 경우에, (c) 상기 아이노드 메타데이터에 기록된 정보 중에서 상기 OS의 종류에 대한 정보 및/또는 상기 파일 시스템의 종류에 대한 정보를 OS의 변경에 따라 수정하는 단계; 및 (d) 상기 새로운 OS를 사용하여 물리적 저장 장치에 상기 콘텐츠 데이터를 저장하는 단계를 더 포함할 수 있다. 또한 바람직하게, 상기 관리 방법은 (e) OS나 파일 시스템에 의존적이지 않은 질의문을 이용하여 상기 메타데이터 DB에 기록된 아이노드 메타데이터를 검색하는 단계를 더 포함할 수 있다. The second aspect of the present invention includes the steps of (a) forming inode metadata, which is data recorded using a language that is not dependent on an OS or a file system, and recording information corresponding to an inode of content data in a metadata DB; And (b) storing the content data in a physical storage device. Preferably, the management method is to use a new OS in place of the currently used OS, (c) information on the type of the OS and / or the file system of the information recorded in the inode metadata Modifying information on the type of the OS according to the change of the OS; And (d) storing the content data in a physical storage device using the new OS. Also preferably, the management method may further include (e) retrieving inode metadata recorded in the metadata DB using a query statement that is not dependent on an OS or a file system.

이하, 첨부한 도면들을 참조하여 본 발명의 바람직한 실시예를 상세히 설명한다. 그러나, 본 발명의 실시예들은 여러가지 형태로 변형될 수 있으며, 본 발명의 범위가 아래에서 상술하는 실시예들로 인하여 한정되는 식으로 해석되어 져서는 안된다. 본 발명의 실시예들은 당업계에서 평균적 지식을 가진 자에게 본 발명을 보다 완전하게 설명하기 위해 제공되는 것이다. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, embodiments of the present invention may be modified in various forms, and the scope of the present invention should not be construed as being limited by the embodiments described below. Embodiments of the present invention are provided to more fully explain the present invention to those skilled in the art.

도 1은 본 발명의 실시예에 의한 파일 시스템 관리 방법을 사용하는 장치를 설명하기 위한 개념도를 나타내는 도면이다. 도 1을 참조하면 본 발명의 실시예에 의한 장치는 콘텐츠 데이터(11), 중간 계층 모듈(12), 복수의 운영 체제 모듈(13), 물리적 저장 장치(14) 및 메타데이터 DB(database)(15)를 포함한다. 또한, 멀티미디어 메타데이터를 위한 멀티미디어 메타데이터 구축 모듈(16)을 더 포함할 수도 있다.1 is a diagram illustrating a conceptual diagram for describing an apparatus using a file system management method according to an exemplary embodiment of the present invention. Referring to FIG. 1, an apparatus according to an embodiment of the present invention may include content data 11, a middle layer module 12, a plurality of operating system modules 13, a physical storage device 14, and a metadata database (DB) ( 15). In addition, it may further include a multimedia metadata building module 16 for multimedia metadata.

콘텐츠 데이터(11)는 물리적인 즉 하드웨어적인 구성 요소가 아니고, 물리적 저장장치에 저장될 또는 물리적 저장장치로부터 읽을 데이터를 의미한다. 콘텐츠 데이터로서는 문서 등을 포함하는 일반적인 데이터, 동영상 등을 포함하는 멀티미디어 데이터 및 디렉토리를 포함할 수 있다. 콘텐츠 데이터(11)는 휘발성 메모리(미도시)에 저장되어 작업된 상태에서 물리적 저장 장치(14)로 쓰기 동작에 의하여 기록된다.The content data 11 is not a physical or hardware component but refers to data to be stored in or read from a physical storage device. The content data may include general data including documents and the like, multimedia data and directories including moving pictures, and the like. The content data 11 is stored in a volatile memory (not shown) and is written to the physical storage device 14 by a write operation in a working state.

중간 계층 모듈(12)은 각 운영 체제 모듈(13)의 파일 시스템(FS1, FS2, FSN)에 따라 물리적 저장 장치(14)에 콘텐츠 데이터(11)을 저장하고, 저장된 콘텐츠 데이터에 대응하는 아이노드 정보를 아이노드 메타데이터(meta-data)로 구성하여 메타데이터 DB(15)에 저장하는 기능을 수행한다. 여기에서 아이노드 메타데이터라 함은 표준 범용 문서 생성 언어(standard generalized mark-up language, 이하 SGML이라 함) 및 확장성 생성 언어(extensible markup language, 이하 XML이라 함)와 같은 생성 언어(mark-up language)를 이용하여 아이노드에 대응하는 정보를 기록한 데이터를 의미한다. 따라서, 아이노드 메타데이터에는 파일 내용이 들어 있는 물리적 저장장치 내의 물리적 주소, 파일의 형태, 파일의 크기 및 파일의 생성 시간 등에 관한 정보가 생성 언어를 사용하여 기록될 수 있으며, 파일 소유권에 대한 정보도 기록될 수 있다. 또한, 아이노드 메타데이터에는 OS의 종류에 대한 정보 및/또는 파일 시스템의 종류에 대한 정보 또한 기록될 수 있다.The middle layer module 12 stores the content data 11 in the physical storage device 14 according to the file systems FS1, FS2, and FSN of each operating system module 13, and an inode corresponding to the stored content data. The information is configured as inode metadata and stored in the metadata DB 15. In this case, inode metadata refers to markups such as standard generalized mark-up language (hereinafter referred to as SGML) and extensible markup language (hereinafter referred to as XML). language) to indicate data in which information corresponding to an inode is recorded. Therefore, in the inode metadata, information about a physical address in a physical storage device containing a file content, a file type, a file size, and a file creation time may be recorded using a generation language. Can also be recorded. In addition, information on the type of the OS and / or the type of the file system may also be recorded in the inode metadata.

또한, 중간 계층 모듈(12)은 콘텐츠 데이터(11)를 물리적 저장장치(14)에 저장하기 전에, 물리적 저장장치(14)를 동적으로 파티션할 수도 있다. 즉, 물리적 저장장치(14) 중에서 소정의 파일 시스템을 사용하는 영역을 넓힌 후에, 해당 영역에 상기 소정의 파일 시스템에 따라 콘텐츠 데이터(11)를 저장할 수 있다.In addition, the middle tier module 12 may dynamically partition the physical storage 14 before storing the content data 11 in the physical storage 14. That is, after the area of the physical storage device 14 using the predetermined file system is enlarged, the content data 11 may be stored in the corresponding area according to the predetermined file system.

또한, 중간 계층 모듈(12)은 메타데이터를 이용함으로써, OS나 파일 시스템에 무관한 표준화된 질의문과 이에 상응하는 결과를 사용자에 제공하는 기능을 수행할 수 있다. 따라서, 중간 계층 모듈(12)은 데이터 베이스 관리 시스템(database management system, 이하 DBMS라 함)의 "select, insert, delete, condition search 및 union search" 등과 같은 구조화 조회 언어(structured query language, 이하 SQL이라 함)를 이용하여 메타데이터 DB(15)를 읽거나 메타데이터 DB(15)에 기록함으로써, 파일 또는 디렉토리를 검색 및 조작할 수 있다.In addition, by using the metadata, the middle layer module 12 may perform a function of providing a user with a standardized query statement and a corresponding result irrespective of an OS or a file system. Accordingly, the middle tier module 12 may be referred to as a structured query language (SQL), such as "select, insert, delete, condition search and union search" of a database management system (hereinafter referred to as DBMS). File or directory can be searched and manipulated by reading or writing the metadata DB 15 to the metadata DB 15.

중간 계층 모듈(12)은 소프트웨어적으로 또는 하드웨어적으로 구현 가능하다. 중간 계층 모듈(12)이 하드웨어적으로 구현되는 경우에는 중간 계층 모듈은 운영 체제 모듈(13)이 수행되는 CPU(미도시)와 다른 별개의 장치(일례로 마이크로 프 로세서)에 의하여 수행될 수 있다. 중간 계층 모듈(12)이 소프트웨어적으로 수행되는 경우에는 중간 계층 모듈(12)은 운영 체제 모듈(13)이 수행되는 CPU와 동일한 CPU에서 프로그램에 의하여 수행될 수 있다. The middle layer module 12 may be implemented in software or hardware. When the middle layer module 12 is implemented in hardware, the middle layer module may be performed by a separate device (for example, a microprocessor) from the CPU (not shown) on which the operating system module 13 is executed. . When the middle layer module 12 is performed in software, the middle layer module 12 may be performed by a program on the same CPU as the CPU on which the operating system module 13 is executed.

운영 체제 모듈(13)은 운영 체제가 수행되는 소프트웨어를 의미하며, 운영 체제로는 일례로 윈도우즈(Windows), 리눅스(Linux) 유닉스(Unix) 등의 있다. 운영 체제 모듈(13)는 CPU에 의하여 수행된다. 운영 체제 모듈(13)은 각 운영 체제에 대응하는 파일 시스템(FS1, FS2, FSN)을 포함하고 있다.The operating system module 13 refers to software on which the operating system is executed. Examples of the operating system include Windows, Linux, and Unix. The operating system module 13 is performed by the CPU. The operating system module 13 includes file systems FS1, FS2, and FSN corresponding to each operating system.

물리적 저장 장치(14)는 콘텐츠 데이터(11)가 실질적으로 저장되는 장치로서, 일례로 하드 디스크, 플로피 디스크, 콤팩트 디스크 및 플래시 메모리 등일 수 있다. 물리적 저장 장치(14)는 어떤 파일 시스템의 사용에 한정되지 아니하도록, 러-포맷(raw-format)된 상태에서 사용될 수 있다. The physical storage device 14 is a device in which the content data 11 is substantially stored, and may be, for example, a hard disk, a floppy disk, a compact disk, a flash memory, or the like. Physical storage device 14 may be used in a raw-formatted state, so as not to be limited to the use of any file system.

메타데이터 DB(15)는 중간 계층 모듈(12)에 의하여 형성된 아이노드 메타데이터가 저장되는 DB로서, 물리적 저장 장치(14)와 동일한 하드웨어 일례로 동일한 하드 디스크에 구현될 수도 있으며, 또한, 물리적 저장 장치(14)와 별개의 하드웨어에 구현될 수도 있다. 또한, 메타데이터 DB(15)는 멀티미디어 메타데이터 구축 모듈(16)에서 형성된 멀티미디어 메타데이터를 저장할 수도 있다. The metadata DB 15 is a DB in which inode metadata formed by the middle layer module 12 is stored. The metadata DB 15 may be implemented on the same hard disk by using the same hardware as the physical storage device 14, and may also be physically stored. It may be implemented in hardware separate from the device 14. In addition, the metadata DB 15 may store multimedia metadata formed by the multimedia metadata building module 16.

멀티미디어 메타데이터 구축 모듈(16)은 멀티미디어 콘텐츠에 관련된 정보를 생성 언어를 이용하여 기록한 데이터인 멀티미디어 메타데이터를 메타데이터 DB(15)에 저장하는 기능을 수행한다. 멀티미디어 메타데이터에 기록되는 정보는 일례로 비디오 색인(video indexing)일 수 있다. 멀티미디어 메타데이터 구축 모듈 (16)은 중간 계층 모듈(12)과 마찬가지로 소프트웨어적으로 또는 하드웨어적으로 구현 가능하다. 따라서, 청구항에서 멀티미디어 메타데이터 구축 모듈(16)에 대응하여 "~하는 수단"이라고 표현하고, 중간 계층 모듈(12)에 대응하여 "~하는 수단"이라고 표현하는 경우에, 상기 2개의 수단은 동일한 하드웨어인 CPU에서 수행될 수도 있으며, 서로 다른 하드웨어에 의하여 수행될 수도 있다.The multimedia metadata building module 16 stores the multimedia metadata, which is data recorded by using a language for generating information related to the multimedia content, in the metadata DB 15. The information recorded in the multimedia metadata may be video indexing, for example. The multimedia metadata building module 16 may be implemented in software or hardware like the middle layer module 12. Therefore, in the claims, when the expression means "means" corresponding to the multimedia metadata construction module 16 and the expression "means" corresponding to the middle layer module 12, the two means are the same. It may be performed by the CPU which is hardware, or may be performed by different hardware.

도 2는 본 발명의 실시예에 의한 파일 시스템 관리 방법의 일례를 나타내는 도면으로서, 쓰기 동작이 수행될 경우의 관리 방법을 나타내는 도면이다. 2 is a view showing an example of a file system management method according to an embodiment of the present invention, which shows a management method when a write operation is performed.

도 1 및 2를 참조하면, 관리 방법은 중간 계층 모듈(12)이 소정의 콘텐츠 데이터(11)에 대한 아이노드 메타데이터를 형성하여 메이데이터 DB(15)에 기록하는 단계(S11) 및 상기 소정의 콘텐츠 데이터(11)를 물리적 저장 장치(14)에 저장하는 단계(S12)를 포함한다. 도면 부호 S11에 해당하는 단계에서, 아이노드 메타데이터는 아이노드에 대응하는 정보뿐만 아니라, 콘텐츠 데이터(11)의 저장에 사용되는 OS 및 파일 시스템의 종류에 대한 정보를 포함한다. 도면 부호 S12에 해당하는 단계에서, 물리적 저장 장치(14)에 콘텐츠 데이터(11)를 저장함에 있어서, 물리적 저장 장치(14)에 해당 OS의 파일 시스템에 적합한 포맷으로 블록을 구성하여 콘텐츠 데이터를 저장한다. 또한, 해당 OS의 파일 시스템에 적합한 포맷으로 블록이 구성된 부분의 용량이 부족한 경우에는 동적 파티션을 수행하여 해당 OS의 파일 시스템에 적합한 포맷으로 블록이 구성된 부분의 용량을 크게 할 수 있다.1 and 2, in the management method, an intermediate layer module 12 forms inode metadata for predetermined content data 11 and writes the metadata in the may data DB 15 (S11) and the predetermined data. Storing the content data 11 of the data in the physical storage device 14 (S12). In a step corresponding to reference numeral S11, the inode metadata includes not only information corresponding to the inode, but also information on the type of OS and file system used for storing the content data 11. In the step corresponding to the reference numeral S12, in storing the content data 11 in the physical storage device 14, the block is configured in the format suitable for the file system of the corresponding OS in the physical storage device 14 to store the content data. do. In addition, when the capacity of the portion of the block is configured in a format suitable for the file system of the OS is insufficient, the dynamic partition can be performed to increase the capacity of the portion of the block in a format suitable for the file system of the OS.

만일 물리적 저장장치를 분리하여 새로운 OS를 사용하는 시스템에 부착하거 나, 이전 OS를 삭제하고 새로운 OS를 탑재하는 경우에는, 관리 방법은 중간 계층 모듈(12)이 아이노드 메타데이터에 기록된 정보 중에서 OS에 대한 정보 또는/및 파일 시스템에 대한 정보를 OS와 파일 시스템의 변경에 맞추어 수정하는 단계(S13) 및 새로운 OS을 사용하는 파일 시스템 블록을 구성하여 해당 콘텐츠 데이터를 저장하는 단계(S14)를 더 포함할 수 있다. If the physical storage device is detached and attached to the system using the new OS, or the old OS is deleted and the new OS is loaded, the management method is based on the information recorded by the middle layer module 12 in the inode metadata. Modifying the information about the OS and / or the information about the file system according to the change of the OS and the file system (S13), and storing the corresponding content data by constructing a file system block using the new OS (S14). It may further include.

도 3은 본 발명의 실시예에 의한 파일 시스템 관리 방법의 일례를 나타내는 도면으로서, 읽기 동작이 수행될 경우의 관리 방법을 나타내는 도면이다. 3 is a view showing an example of a file system management method according to an embodiment of the present invention, which shows a management method when a read operation is performed.

도 1 및 3을 참조하면, 관리 방법은 중간 계층 모듈(12)이 표준화된 질의문을 메타데이터 DB(15)에 제공하는 단계(S21) 및 메타데이터 DB(15)가 상기 질의문에 대한 결과의 파일 기술자(file descriptor)를 중간 계층 모듈(12)에 반환하는 단계(S22)를 포함할 수 있다. 표준화된 질의문의 일례로 "Select * From Meta_Data_DB Where OS = 'DOS'"이 있다. 이 질의문은 도스 운영체제에서 사용한 파일을 검색하는 경우의 예이다. 또한, 표준화된 질의문의 다른 예로 "Select * From Meta_Data_DB Where OS = *"이 있다. 이 질의문은 모든 운영체제에서 사용한 파일을 검색하는 경우의 예이다. 또한, 표준화된 질의문의 또 다른 예로 "Select * From Meta_Data_DB Where OS = 'DOS' AND FileType = 'mp3'"이 있다. 이 질의문은 도스 운영체제에서 사용한 mp3 파일을 검색하는 경우의 예이다.1 and 3, in the management method, the middle layer module 12 provides a standardized query statement to the metadata DB 15 (S21) and the metadata DB 15 outputs a result of the query statement. The method may include returning a file descriptor of the file descriptor to the middle layer module 12 (S22). An example of a standardized query is "Select * From Meta_Data_DB Where OS = 'DOS'". This query is an example of searching for a file used by the DOS operating system. Another example of a standardized query is "Select * From Meta_Data_DB Where OS = *". This query is an example of searching for a file used by all operating systems. Another example of a standardized query is "Select * From Meta_Data_DB Where OS = 'DOS' AND FileType = 'mp3'". This query is an example of searching for mp3 files used by the DOS operating system.

본 발명에 의한 파일 시스템 관리 방법 및 이를 사용하는 장치는 서로 다른 파일 시스템 또는 서로 다른 OS 간에 파일 시스템이 호환될 수 있다는 장점이 있다. File system management method and apparatus using the same according to the present invention has the advantage that the file system can be compatible between different file systems or different OS.

또한, 본 발명에 의한 파일 시스템 관리 방법 및 이를 사용하는 장치는 물리적 저장 장치의 동적 파티션을 가능하게 하므로, 물리적 저장장치를 효율적으로 사용할 수 있다는 장점이 있다. In addition, the file system management method and the apparatus using the same according to the present invention enable dynamic partitioning of the physical storage device, and thus, there is an advantage in that the physical storage device can be efficiently used.

Claims (16)

물리적 저장 장치;Physical storage devices; 메타데이터 DB; 및Metadata DB; And 콘텐츠 데이터를 상기 물리적 저장 장치에 저장하며, 상기 콘텐츠 데이터의 아이노드에 대응하는 정보를 OS나 파일 시스템에 의존적이지 않은 생성 언어를 이용하여 기록한 데이터인 아이노드 메타데이터를 상기 메타데이터 DB에 기록하는 제 1 수단을 포함하는 장치.Storing content data in the physical storage device, and writing inode metadata, which is data recorded using a generation language that is not dependent on an OS or a file system, to the metadata DB. An apparatus comprising first means. 제 1 항에 있어서, The method of claim 1, 멀티미디어 콘텐츠에 관련된 정보를 상기 생성 언어를 이용하여 기록한 데이터인 멀티미디어 메타데이터를 상기 메타데이터 DB에 기록하는 제 2 수단을 더 포함하는 장치. And second means for recording, in the metadata DB, multimedia metadata which is data obtained by recording the information related to the multimedia content using the generating language. 제 1 또는 2 항에 있어서, The method of claim 1 or 2, 상기 아이노드 메타데이터는 파일 내용이 들어 있는 물리적 저장장치 내의 물리적 주소, 파일의 형태, 파일의 크기 및 파일의 생성 시간에 관한 정보를 포함하는 장치.The inode metadata includes information about a physical address in a physical storage device containing file content, a file type, a file size, and a file creation time. 제 3 항에 있어서, The method of claim 3, wherein 상기 아이노드 메타데이터는 파일 소유권에 대한 정보를 더 포함하는 장치.The inode metadata further includes information about file ownership. 제 1 또는 2 항에 있어서, The method of claim 1 or 2, 상기 아이노드 메타데이터는 OS의 종류에 대한 정보 및 파일 시스템의 종류에 대한 정보 중 적어도 어느 하나를 포함하는 장치.The inode metadata includes at least one of information about a type of OS and information about a type of a file system. 제 1 또는 2 항에 있어서, The method of claim 1 or 2, 상기 제 1 수단이 상기 콘텐츠 데이터를 상기 물리적 저장 장치에 저장함에 있어서, 소정 OS의 소정 파일 시스템에 따라 상기 콘텐츠 데이터를 상기 물리적 저장 장치에 저장하는 장치.And the first means stores the content data in the physical storage device, wherein the content data is stored in the physical storage device according to a predetermined file system of a predetermined OS. 제 1 또는 2 항에 있어서, The method of claim 1 or 2, 상기 제 1 수단은 상기 콘텐츠 데이터를 상기 물리적 저장 장치에 저장하기 이전에 상기 물리적 저장 장치를 동적으로 파티션하는 장치.The first means for dynamically partitioning the physical storage device prior to storing the content data on the physical storage device. 제 1 또는 2 항에 있어서, The method of claim 1 or 2, 상기 제 1 수단은 OS나 파일 시스템에 의존적이지 않은 질의문을 이용하여 상기 메타데이터 DB에 저장된 아이노드 메타데이터를 검색하는 장치. And the first means retrieves inode metadata stored in the metadata DB using a query statement that is not OS or file system dependent. (a) 콘텐츠 데이터의 아이노드에 대응하는 정보를 OS나 파일 시스템에 의존적이지 않은 언어를 이용하여 기록한 데이터인 아이노드 메타데이터를 형성하여 메타데이터 DB에 기록하는 단계; 및 (a) forming inode metadata, which is data recorded using a language that is not dependent on an OS or a file system, and recording information corresponding to the inode of the content data in a metadata DB; And (b) 상기 콘텐츠 데이터를 물리적 저장 장치에 저장하는 단계를 포함하는 관리 방법.(b) storing the content data on a physical storage device. 제 9 항에 있어서, The method of claim 9, 상기 (b) 단계를 수행함에 있어서, 상기 물리적 저장 장치에 소정 OS의 파일 시스템에 적합한 포맷으로 블록을 구성하여 상기 콘텐츠 데이터를 저장하는 관리 방법.In performing the step (b), the physical storage device is configured to store the content data by forming a block in a format suitable for a file system of a predetermined OS. 제 10 항에 있어서, The method of claim 10, 상기 (b) 단계를 수행함에 있어서, 상기 소정 OS의 파일 시스템에 적합한 포맷으로 구성된 블록의 용량이 부족한 경우에는 동적 파티션을 수행하여 상기 소정 OS의 파일 시스템에 적합한 포맷으로 구성된 블록의 용량을 증가시키는 관리 방법.In the step (b), if the capacity of the block configured in the format suitable for the file system of the predetermined OS is insufficient, dynamic partitioning is performed to increase the capacity of the block configured in the format suitable for the file system of the predetermined OS. How to manage. 제 9 항에 있어서, The method of claim 9, 상기 아이노드 메타데이터는 파일 내용이 들어 있는 물리적 저장장치 내의 물리적 주소, 파일의 형태, 파일의 크기 및 파일의 생성 시간에 관한 정보를 포함하는 관리 방법.The inode metadata includes information about a physical address in a physical storage device containing file content, a file type, a file size, and a file creation time. 제 12 항에 있어서, The method of claim 12, 상기 아이노드 메타데이터는 파일 소유권에 대한 정보를 더 포함하는 관리 방법.The inode metadata further includes information about file ownership. 제 9 항에 있어서, The method of claim 9, 상기 아이노드 메타데이터는 현재 사용되는 OS의 종류에 대한 정보 및 파일 시스템의 종류에 대한 정보 중 적어도 어느 하나를 포함하는 관리 방법.The inode metadata may include at least one of information on a type of OS currently used and information on a type of a file system. 제 14 항에 있어서, The method of claim 14, 상기 현재 사용되는 OS를 대신하여 새로운 OS를 사용하여야 하는 경우에,In case of using a new OS instead of the currently used OS, (c) 상기 아이노드 메타데이터에 기록된 정보 중에서 상기 OS의 종류에 대한 정보 및/또는 상기 파일 시스템의 종류에 대한 정보를 OS의 변경에 따라 수정하는 단계; 및(c) modifying information on the type of the OS and / or the type of the file system among the information recorded in the inode metadata according to the change of the OS; And (d) 상기 새로운 OS를 사용하여 물리적 저장 장치에 상기 콘텐츠 데이터를 저장하는 단계를 더 포함하는 관리 방법.(d) storing the content data on a physical storage device using the new OS. 제 9 항에 있어서, The method of claim 9, (e) OS나 파일 시스템에 의존적이지 않은 질의문을 이용하여 상기 메타데이터 DB에 기록된 아이노드 메타데이터를 검색하는 단계를 더 포함하는 관리 방법.(e) retrieving inode metadata recorded in the metadata DB using a query statement that is not dependent on an OS or a file system.
KR1020050085902A 2005-09-14 2005-09-14 Method for managing file system and apparatus using the same KR100647193B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050085902A KR100647193B1 (en) 2005-09-14 2005-09-14 Method for managing file system and apparatus using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050085902A KR100647193B1 (en) 2005-09-14 2005-09-14 Method for managing file system and apparatus using the same

Publications (1)

Publication Number Publication Date
KR100647193B1 true KR100647193B1 (en) 2006-11-23

Family

ID=37712800

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050085902A KR100647193B1 (en) 2005-09-14 2005-09-14 Method for managing file system and apparatus using the same

Country Status (1)

Country Link
KR (1) KR100647193B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6098128A (en) 1995-09-18 2000-08-01 Cyberstorage Systems Corporation Universal storage management system
KR20030044906A (en) * 2000-04-12 2003-06-09 인텔 코오퍼레이션 Accessing File Data Stored In Non-Volatile Re-Programmable Semiconductor Memories
US6606742B1 (en) 1993-07-19 2003-08-12 Taligent, Inc. Object-oriented interface for portability to diverse operating systems or hardware platforms

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6606742B1 (en) 1993-07-19 2003-08-12 Taligent, Inc. Object-oriented interface for portability to diverse operating systems or hardware platforms
US6098128A (en) 1995-09-18 2000-08-01 Cyberstorage Systems Corporation Universal storage management system
KR20030044906A (en) * 2000-04-12 2003-06-09 인텔 코오퍼레이션 Accessing File Data Stored In Non-Volatile Re-Programmable Semiconductor Memories

Similar Documents

Publication Publication Date Title
CN109906433B (en) Storage isolation for containers
JP4157858B2 (en) Parallel high-speed backup of storage area network (SAN) file systems
KR100622801B1 (en) Rapid restoration of file system usage in very large file systems
US7363540B2 (en) Transaction-safe FAT file system improvements
EP1535198B1 (en) Multiple concurrent active file systems
US7809779B2 (en) Method of creating symbolic link capable of being compatible with file system, and method and apparatus for accessing file or directory by using symbolic link
US7979478B2 (en) Data management method
US7836105B2 (en) Converting file-systems that organize and store data for computing systems
US7353242B2 (en) File server for long term data archive
US8433863B1 (en) Hybrid method for incremental backup of structured and unstructured files
US8200719B2 (en) System and method for performing a file system operation on a specified storage tier
US20080201366A1 (en) Changed files list with time buckets for efficient storage management
US20160283501A1 (en) Posix-compatible file system, method of creating a file list and storage device
KR100790991B1 (en) Method for managing metadata of file system using DBMS
US20090240750A1 (en) Memory system and data access method
KR20060115235A (en) Apparatus and method for saving and managing additional data of file system
US9430492B1 (en) Efficient scavenging of data and metadata file system blocks
JP5241298B2 (en) System and method for supporting file search and file operations by indexing historical file names and locations
Ames et al. LiFS: An attribute-rich file system for storage class memories
WO2007099636A1 (en) File system migration method, program and apparatus
Paliy et al. The logical structure of the software file archive formation as a part of industrial management
KR100647193B1 (en) Method for managing file system and apparatus using the same
KR101769778B1 (en) Method for managing data of file system and computing system using the same
CN113377721B (en) File table design method for storing files in database
Cabrera et al. Advances in Windows NT storage management

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121108

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20131022

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20141106

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20151028

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20160928

Year of fee payment: 11

LAPS Lapse due to unpaid annual fee