KR100216027B1 - File system suitable for processing mass data - Google Patents

File system suitable for processing mass data Download PDF

Info

Publication number
KR100216027B1
KR100216027B1 KR1019960032461A KR19960032461A KR100216027B1 KR 100216027 B1 KR100216027 B1 KR 100216027B1 KR 1019960032461 A KR1019960032461 A KR 1019960032461A KR 19960032461 A KR19960032461 A KR 19960032461A KR 100216027 B1 KR100216027 B1 KR 100216027B1
Authority
KR
South Korea
Prior art keywords
block
data
file system
index
file
Prior art date
Application number
KR1019960032461A
Other languages
Korean (ko)
Other versions
KR19980013818A (en
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 KR1019960032461A priority Critical patent/KR100216027B1/en
Publication of KR19980013818A publication Critical patent/KR19980013818A/en
Application granted granted Critical
Publication of KR100216027B1 publication Critical patent/KR100216027B1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers

Abstract

대용량 데이타 처리에 적합한 연속매체용 화일 구성방법은 연속매체용 디스크 영역을 부트블럭, 슈퍼블럭, 아이노드블럭, 인덱스블럭, 및 데이타블럭순으로 포맷하되, 상기 인덱스블럭 및 데이타블럭의 크기를 대용량에 적합하게 확장하여 상기 데이타블럭으로의 접근이 상기 인덱스블럭을 통하여 단일간접 지정으로 수행 되도록 한 것에 의해, 시스템이 가입자에게 압축된 멀티미디어 데이타 스트림의 실시간 전송요구를 만족시키는 최대 스트림수를 지원하고 대용량 데이타의 저장 및 검색을 효율적으로 수행할 수 있게 한다.A method for constructing a continuous medium file suitable for processing a large amount of data may be performed by formatting the disk area of the continuous medium in the order of a boot block, a super block, an inode block, an index block, and a data block, and the size of the index block and the data block in a large capacity. By appropriately extending the access to the data block to be performed in a single indirect designation through the index block, the system supports a maximum number of streams to satisfy the real-time transmission requirements of the compressed multimedia data stream to the subscriber and a large amount of data. Allows efficient storage and retrieval of.

Description

대용량 데이타 처리에 적합한 연속매체용 화일 시스템 및 화일 구성방법File system and file construction method for continuous media suitable for large data processing

제1도는 종레 기술에 따른 화일 시스템의 화일 포맷 배치도.Figure 1 is a file format layout of the file system according to the Jongle technique.

제2도는 제1도중 데이타 블럭 8을 설치하기 위한 아이노드 리스트 6내의 블럭들의 탐색경로를 보여주는 도면.FIG. 2 shows a search path of blocks in inode list 6 for installing data block 8 in FIG.

제3도는 종래 기술에 따른 화일 시스템에서의 데이타 입출력 구조를 보여주는 도면.3 is a diagram showing a data input / output structure in a file system according to the prior art.

제4도는 본 발명에 따른 화일 시스템의 화일 포맷 배치도.4 is a file format layout diagram of a file system according to the present invention.

제5도는 제4도중 인덱스블럭을 통하여 데이타 블럭 530을 설치하는 아이노드 블럭 510의 탐색경로를 보여주는 도면.5 is a diagram illustrating a search path of an inode block 510 for installing a data block 530 through an index block in FIG.

제6도는 본 발명에 따른 연속매체 화일 시스템의 전체 구조도.6 is an overall structural diagram of a continuous medium file system according to the present invention.

본 발명은 주문형 비디오 시스템등과 같은 연속매체용 화일 시스템에 관한 것으로, 특히 가입자에게 압축된 멀티미디어 데이타 스트림의 실시간 전송요구를 만족시키는 최대 스트림수를 지원하고 대용량 데이타의 저장 및 검색을 효율적으로 수행할 수 있는 연속매체용 화일 시스템 및 그 화일 구성방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to file systems for continuous media, such as video-on-demand systems, and more particularly, to support the maximum number of streams that satisfy the real-time transmission requirements of compressed multimedia data streams to subscribers and to efficiently store and retrieve large amounts of data. The present invention relates to a file system for continuous media, and a method for constructing the file.

통상적으로, 주문형 비디오 시스템등과 같은 연속매체용 화일 시스템은 기록매체로서 디스크를 사용하고 있으며 가입자에게 원하는 비디오 정보를 디스크를 통해 탐색 및 리드하여 네트워크를 통해 전송하는 장치로서 알려져 있는데, 가입자의 다양한 서비스 요구에 적극 부응하고 데이타 탐색의 속도를 고속으로 하여 보다 많은 가입자에게 실시간 전송을 수행할 수 있는 대용량의 연속매체용 화일 시스템의 개발이 절실히 필요한 실정이다.In general, file systems for continuous media such as video-on-demand systems use a disk as a recording medium and are known as a device for searching and reading a desired video information through a disk and transmitting it through a network. There is an urgent need to develop a file system for a large-capacity continuous media capable of meeting the demands and speeding up data search to perform real-time transmission to more subscribers.

종래의 연속매체용 화일 시스템은 제1도와 같은 화일 포맷을 가짐에 의해 제2도에 도시된 바와 같은 탐색경로를 수행하여야 하는 바, 가입자가 요구한 데이타의 탐색시간 및 전송과정이 복잡하여 가입자의 서비스 요구에 제대로 부응하지 못함은 물론 대용량의 데이타를 효율적으로 처리할 수 없는 시스템의 구성적 문제가 있었다. 종래의 시스템에서 발생하는 상기한 이유를 설명하기 위해 첨부된 제1, 2 및 3도를 참조한다. 종래 기술에 따른 화일 시스템의 화일 포맷 배치도를 보여주는 제1도를 참조하면, 부트블럭 2는 화일의 시작부분에 위치하며 통상적으로 디스크의 첫번째 섹터를 차지한다. 화일 시스템의 운영체제를 부팅 또는 초기화하기 위한 부트스트랩 코드는 상기 부트블럭 2내에 일반적으로 위치된다. 상기 부트블럭 2 다음에 위치하는 수퍼블럭 4는 화일 시스템의 화일이 얼마나 큰지 얼마나 많은 화일을 저장할 수 있는지 또는 화일내의 어떤 위치에서 자유공간을 찾을 것인지를 알게 해주는 상태 정보를 나타내어 주는 블럭이다. 아이노드 리스트 6는 화일 포맷내에서 상기 수퍼블럭 4다음에 위치하며 직접 및 간접 블럭등으로 이루어진 아이노드들의 리스트를 나타낸다. 상기 아이노드 리스트 6의 다음에 위치하는 데이타 블럭 8은 실제의 화일 데이타와 관리용 데이타를 가지고 있는 부분이다. 제1도와 같은 화일 포맷을 가진 종래의 시스템은 설치시 제2도와 같은 탐색경로를 가진다. 제2도에는 제1도중 데이타 블럭 8을 설치하기 위한 아이노드 리스트 6내의 블럭들의 탐색경로가 나타난다. 제2도에서 아이노드 리스트 6내의 직접 0-9블럭들은 실제로 데이타가 들어있는 디스크 블럭을 가리키는 정보를 가지고 있다. 또한, 단일간접 블럭은 상기 직접블럭들의 번호의 리스트를 가지는 블럭을 가리키는 간접정보를 가진다. 이 단일간접 블럭을 통하여 데이타 블럭내의 데이타를 찾기 위해서는 간접 블럭 20의 내용을 디스크로부터 리드하여 직접블럭의 디스크 블럭번호를 찾은 후 직접블럭을 억세싱하여 원하는 데이타를 찾는다. 이중간접 블럭은 상기 간접 블럭번호의 리스트에 대한 포인터를 가지고 있으며, 삼중간접 블럭은 상기 이중간접 블럭번호의 리스트에 대한 포인터를 가지고 있다. 이와 같이, 직접 블럭을 통해 대응되는 데이타 블럭의 데이타를 찾기 위해서는 경로 L1을 한번만 거치면 되나, 단일간접 블럭을 통해서는 경로 L1 및 L2를 거쳐야 되고, 이중간접 블럭을 통해서는 경로 L1, L2, 및 L3를 차례로 거쳐야만 해당 데이타를 찾을 수 있다. 따라서, 종래 시스템에서는 실제로 데이타가 들어있는 디스크내의 데이타 블럭을 찾기 위해서는 여러번의 억세싱을 수행하여야 한다. 그러므로 데이타의 탐색시간이 오래 걸리는 단점으로 인하여 화일 시스템의 성능이 저하되는 문제점이 발생한다. 이러한 문제는 제3도를 참조함에 의해 더욱 분명히 확인된다. 제3도는 종래 기술에 따른 화일 시스템에서의 데이타 입출력 구조를 보여주는 도면으로서, 사용자 모드부 310 및 케넬 모드부 320으로 구성되어 있다. 상기 사용자 모드부 310는 응용부 A1 및 버퍼B1를 가지는 사용자 프로세스 30 및 시스템 콜부 31로 이루어지며, 상기 케넬모드부 320은 프로토콜 33, 기능콜부 34, 디바이스 드라이버 35 및 버퍼들 B2, B3로 구성되어 있다. 네트워크 인터베이스 330는 라인 L1, L2, L3를 통해 상기 케넬모드부 320과 연결 되는데, 라인 L1, L2, L3는 차례로 인터럽트, 레지스터 억세스, 및 직접메모리 억세스 라인들이다. 제3도의 구성에서, 상기 사용자 프로세스 30가 네트워크 인터 페이스 330로 가입자가 요구하는 비디오 데이타를 전송하기 위해서는 2번이상의 메모리 복사작업을 수행하여야 함을 도시된 메모리 착사라인을 통해 알 수 있게 된다. 결국 이러한 작업은 네트워크의 효율 및 나아가서는 시스템의 성능을 저하시키는 요인이 된다. 또한 종래에는 기존의 운영체제의 화일 시스템을 그대로 주문형 비디오 시스템등과 같은 연속매체 서비스 시스템에 사용하고 있는데, 이 경우에 화일 시스템은 비교적 작은 크기, 예를들면 1-8킬로바이트의 용량을 가지는 블럭을 단위블럭으로 하여 디스크 화일들을 관리하였다. 그 이 유는 종래의 화일 시스템이 비교적 소용량의 화일관리에 적합하게 설계되어졌기 때문이다. 따라서, 이러한 시스템을 수십 메가바이트에서 수 기가바이트 단위의 화일 용량을 가지는 대용량 연속매체 화일 서비스 시스템에 그대로 적용 할 경우에 디스크의 접근횟수가 과다하여 화일 설치의 시간이 증가된다. 이러한 것은 결국 시스템의 성능을 저하시키는 문제와 직결되는 것이다.A conventional file system for continuous media has to perform a search path as shown in FIG. 2 by having a file format as shown in FIG. 1, which is complicated by a search time and transmission process of data requested by the subscriber. Not only did it not meet service requirements, but there was a configuration problem of the system that could not process a large amount of data efficiently. Reference is made to the attached first, second and third views to explain the above reason occurring in a conventional system. Referring to FIG. 1, which shows a file format layout of a file system according to the prior art, boot block 2 is located at the beginning of a file and typically occupies the first sector of the disk. Bootstrap code for booting or initializing the operating system of the file system is generally located in Bootblock 2. The super block 4 located after the boot block 2 is a block indicating the state information which shows how big a file of the file system is, how many files can be stored, or where to find free space in the file. Inode list 6 shows a list of inodes located in the file format after the superblock 4 and consists of direct and indirect blocks. The data block 8 located after the inode list 6 is a part containing actual file data and management data. The conventional system having the file format as shown in FIG. 1 has a search path as shown in FIG. 2 when installed. 2 shows a search path of blocks in inode list 6 for installing data block 8 in FIG. In Figure 2, the direct 0-9 blocks in inode list 6 actually contain information that points to the disk block containing the data. In addition, a single indirect block has indirect information indicating a block having a list of numbers of the direct blocks. To find the data in the data block through this single indirect block, the contents of the indirect block 20 are read from the disk to find the disk block number of the direct block, and then the direct block is accessed to find the desired data. The double indirect block has a pointer to the list of indirect block numbers, and the triple indirect block has a pointer to the list of double indirect block numbers. As such, in order to find the data of the corresponding data block through the direct block, the path L1 needs to go through the path only once, but through the path L1 and L2 through the single indirect block, the path L1, L2, and L3 through the double indirect block. You must find the data in order. Therefore, in the conventional system, multiple accesses must be performed to find a data block in a disk that actually contains data. Therefore, there is a problem in that the performance of the file system is deteriorated due to the long search time of the data. This problem is more clearly identified by referring to FIG. 3 is a diagram illustrating a data input / output structure in a file system according to the related art, and includes a user mode unit 310 and a kennel mode unit 320. The user mode unit 310 is composed of a user process 30 and a system call unit 31 having an application unit A1 and a buffer B1, and the kennel mode unit 320 includes a protocol 33, a function call unit 34, a device driver 35 and buffers B2 and B3. have. The network interbase 330 is connected to the kennel mode unit 320 through lines L1, L2, and L3. Lines L1, L2, and L3 are interrupts, register accesses, and direct memory access lines, in turn. In the configuration of FIG. 3, it can be seen through the memory illuminating line that the user process 30 needs to perform two or more memory copy operations in order to transmit the video data requested by the subscriber to the network interface 330. This, in turn, is a factor in the efficiency of the network and, in turn, the performance of the system. In addition, the conventional file system of the existing operating system is used as it is for continuous media service systems such as video-on-demand systems, in which case the file system is a unit of a block having a relatively small size, for example 1-8 kilobytes of capacity The disk files were managed in blocks. This is because the conventional file system is designed for relatively small file management. Therefore, when such a system is applied to a large-capacity continuous media file service system having a file capacity of several tens of megabytes to several gigabytes as it is, the number of disk accesses is excessive and the file installation time is increased. This, in turn, is directly related to the problem of degrading system performance.

상기한 바와 같이 종래에는 데이타의 탐색시간이 오래 걸리는 단점으로 인하여 화일 시스템의 성능이 저하되는 문제점 및 전송시 데이타 복사작업이 수반되어 실시간 전송이 어려운 문제점이 있었다.As described above, there is a problem in that the performance of the file system is deteriorated due to the disadvantage that the search time of the data takes a long time and the real time transmission is difficult due to the data copying operation.

따라서, 본 발명의 목적은 상기한 종래의 문제점을 해소하기 위해 화일설치에 걸리는 시간을 단축할 수 있는 연속매체용 화일 시스템 및 그 화일 구성 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a file system for a continuous medium and a method for constructing the file, which can shorten the time required for file installation in order to solve the above problems.

본 발명의 다른 목적은 대용량 데이타 처리에 적합한 연속매체용 화일 시스템 및 그 화일 구성방법을 제공함에 있다.Another object of the present invention is to provide a file system for a continuous medium suitable for processing large amounts of data and a method of constructing the file.

본 발명의 또 다른 목적은 가입자에 대하여 압축된 멀티 미디어 데이타 스트립의 실시간 전송요구를 만족하면서도 최대 스트림수를 지원할 수 있는 연속매체용 화일 시스템을 제공함에 있다.It is still another object of the present invention to provide a file system for a continuous medium capable of supporting a maximum number of streams while satisfying a real-time transmission requirement of a compressed multimedia data strip for a subscriber.

본 발명의 또 다른 목적은 데이타의 탐색시간을 단축하여 화일 시스템의 성능을 향상시키고 전송시 실시간 전송을 행할 수 있는 주문형 비디오 시스템 및 화일 구성방법을 제공함에 있다.It is still another object of the present invention to provide a video system on demand and a file construction method capable of improving the performance of a file system by shortening data search time and performing real-time transmission during transmission.

상기의 목적을 달성하기 위한 본 발명 대용량 데이타 처리에 적합한 연속매체용 화일 구성방법에 따르면, 디스크 영역을 부트블럭, 슈퍼블럭, 아이노드블럭, 인덱스블럭, 및 데이타블럭순으로 포맷하되, 상기 인덱스블럭 및 데 이타블럭의 크기를 대용량에 적합하게 확장하여 상기 데이타블럭의 접근이 상기 인덱스블럭을 통하여 단일간접 지정으로 수행되도록 한 것을 특징으로 한다. 또한, 대용량 데이타 처리에 적합한 연속매체용 화일 시스템에 따르면, 다수의 가입자와 접속된 네트워크와 연결되어 채널할당 및 부하를 관리하며 가입자가 원하는 연속매체 데이타를 수신하여 상기 네트워크로 전송하는 네트워크 매니저부와, 상기 네트워크 매니저부와는 설정된 인터페이스를 통해 연결되며 상기 가입자의 서비스 요구에 응답한 대응신호를 상기 가입자에게 전달시키고 상기 가입자가 원하는 연속매채 데이타가 제공되도록 하는 제어신호를 상기 인터페이스에 인가하는 응용프로그램부와, 상기 인터페이스를 통해 인가되는 상기 제어신호에 따라 연속매체용 디스크내의 대응되는 데이타블럭을 인덱스블럭에 의한 단일간접 지정방식으로 억세스하여 상기 가입자가 원하는 연속매체 데이타를 상기 네트워크 매니저부에 제공하는 연속매체 화일 시스템부를 적어도 포함하는 구성을 가진다. 상기한 방법 및 시스템에 따르면, 화일설치에 걸리는 시간이 단축되어 실시간 전송을 수행할 수 있게 된다. 또한, 대용량 데이타 처리에 적합한 연속매체용 화일 시스템을 제공하게 된다.According to the method for constructing a continuous medium file suitable for processing large data according to the present invention for achieving the above object, the disk area is formatted in the order of a boot block, a super block, an inode block, an index block, and a data block. And expanding the size of the data block to a large capacity so that the access of the data block is performed by a single indirect designation through the index block. In addition, according to the file system for continuous media suitable for large-capacity data processing, it is connected to a network connected to a plurality of subscribers to manage channel allocation and load, and the network manager unit for receiving and transmitting the desired continuous media data to the network; The application program is connected to the network manager via an established interface, and transmits a corresponding signal in response to the service request of the subscriber to the subscriber, and applies a control signal to the interface so that the subscriber can provide continuous data. And accessing the corresponding data block in the disk for continuous media in a single indirect designation method by the index block in accordance with the control signal applied through the interface, and providing the continuous media data desired by the subscriber to the network manager. year It has a configuration including at least a medium file system unit. According to the method and system described above, the time required for file installation is shortened, thereby enabling real-time transmission. In addition, to provide a file system for continuous media suitable for large data processing.

이하에서는 본 발명의 바람직한 실시예에 따른 연속매체용 화일 시스템 및 화일 구성방법이 첨부된 도면과 함께 설명될 것이다. 첨부된 도면들내에서 서로 동일한 구성요소는 이해의 편의를 위해 동일 내지 유사한 참조부호 또는 명칭으로 라벨링된다. 다음의 설명에서는 본 발명의 보다 철저한 이해를 제공하기 위해 특정한 상세들이 예를들어 한정되고 자세하게 설명된다. 그러나, 당해 기술분야에 통상의 지식을 가진 자들에게 있어서는 본 발명이 이러한 상세한 항목들이 없이도 상기한 설명에 의해서도 실시될 수 있을 것이다. 또한, 본 분야에 잘 알려진 통상의 연속매체용 화일 시스템의 기본적 구조 및 구성소자들의 구조 및 동작은 본 발명의 요지를 모호하지 않게 하기 위해 상세히 설명되지 않는다.Hereinafter, a file system and a file construction method for a continuous medium according to a preferred embodiment of the present invention will be described with the accompanying drawings. Like elements in the accompanying drawings are labeled with the same or similar reference numerals or names for ease of understanding. In the following description, specific details are set forth by way of example and in detail in order to provide a more thorough understanding of the present invention. However, for those skilled in the art, the present invention may be practiced by the above description without these details. In addition, the structure and operation of the basic structure and components of conventional file systems for continuous media well known in the art are not described in detail in order not to obscure the subject matter of the present invention.

이하의 설명에서는 본 발명의 바람직한 일 실시예가 예를들어 한정되고 첨부된 도면을 위주로 예를들어 설명될 것이다. 먼저, 제4도는 본 발명에 따른 화일 시스템의 화일 포맷 배치도이다. 제5도에 제4도중 데이타 블럭 530을 설치하기 위해 아이노드 블럭 510이 인덱스 블럭을 통하여 데이타를 탐색하는 경로가 나타나 있다. 또한, 제6도는 본 발명에 따른 연속매체 화일 시스템의 전체 구조도이다. 도면을 설명하기 전에 전체적인 기술적 요지를 설명하면, 본 발명에서는 연속매체의 데이타를 디스크에 연속하여 저장하고, 디스크로의 접근(억세스)횟수를 줄여 탐색에 걸리는 시간을 최소화하기 위해, 제4도와 같이 디스크 내의 데이타 블럭의 크기를 256킬로 바이트로 확장하였으며, 사용자 모드에서 메모리 복사에 걸리는 시간을 줄이기 위해 데이타 블럭으로의 접근을 제4도의 인덱스 블럭을 통하여 단일 간접지정 방식으로 이루어지게 한다. 또한, 인덱스 블럭은 화일의 오픈시 에스램등의 메인 메모리에 프리 페치되도록 함에 의해 직접지정의 성능향상을 도모하였다.In the following description, a preferred embodiment of the present invention will be described by way of example only and with reference to the accompanying drawings. First, Figure 4 is a file format layout of the file system according to the present invention. FIG. 5 shows a path through which the inode block 510 searches for data through the index block to install the data block 530 in FIG. 6 is an overall structural diagram of a continuous medium file system according to the present invention. Before describing the overall technical gist, in the present invention, to continuously store the data of the continuous medium on the disk, and to reduce the number of times (access) to the disk to minimize the time required for searching, as shown in FIG. The size of the data block in the disk has been extended to 256 kilobytes, and access to the data block is made in a single indirect way through the index block of FIG. 4 in order to reduce the time taken for memory copying in the user mode. In addition, the index block can be prefetched into main memory such as SRAM when the file is opened, thereby improving the performance of direct designation.

제4도를 참조하면, 연속매체용 디스크 영역은 부트블럭 2, 슈퍼블럭 4, 아이노드블럭 510, 인덱스블럭 520, 및 데이타블럭 530순으로 포맷하되, 상기 인덱스블럭 520 및 데이타블럭 530의 크기를 대용량에 적합하게 256킬로 바이트로 확장하고 상기 데이타블럭 530으로의 접근이 상기 인덱스블럭 520을 통하여 단일간접 지정으로 수행되도록 한다. 따라서, 디스크 접근횟수는 줄어들며, 디스크 접근시간의 예측가능성은 256킬로 바이트의 확장에 의해 증가된다. 또한, 상기 인덱스 블럭의 인덱스 데이타는 화일 오픈시에 프리페치되게 함으로써 직접지정의 성능과 동일한 효과를 얻을 수 있게 한다.Referring to FIG. 4, the disk area for the continuous medium is formatted in the following order: boot block 2, super block 4, inode block 510, index block 520, and data block 530, and the size of the index block 520 and data block 530 is determined. It expands to 256 kilobytes to accommodate large capacities and allows access to the data block 530 to be performed with a single indirect designation through the index block 520. Thus, the number of disk accesses is reduced, and the predictability of disk access time is increased by the expansion of 256 kilobytes. In addition, the index data of the index block is prefetched when the file is opened, thereby achieving the same effect as that of the direct specification.

제5도를 참조하면, 상기 데이타블럭 530으로의 접근이 상기 인덱스블럭 520을 통하여 단일간접으로 수행되어짐을 알 수 있다. 제5도와 같은 아이노드 및 인덱스구조에 의하면 인덱스 블럭과 데이타 블럭의 크기를 256킬로 바이트로서 사용하는 경우 각 인덱스 블럭당 64K개의 블럭 인덱스를 가지므로 16기가 바이트의 데이타 블럭 영역을 커버하게 된다. 따라서, 하나의 아이노드 510는 13개의 인덱스를 통하여 최대 208기가 바이트의 화일크기를 가진다. 통상적으로, 2시간용 MPEG-2영화 화일의 크기가 5기가 바이트 정도임을 감안하면 이는 충분한 크기이다. 대부분의 연속매체용 화일 시스템의 화일은 한개의 인덱스 블럭만을 가지며, 각 화일의 인덱스 블럭의 내용을 해당 화일의 오픈시에 주기억장치로 캐싱하여 성능을 높이는 구조인데, 이에 비하면 본 발명에서는 대용량의 연속매체용 화일 구조임을 쉽게 알 수 있게 될 것이다.Referring to FIG. 5, it can be seen that access to the data block 530 is performed in a single indirect manner through the index block 520. According to the inode and index structure shown in FIG. 5, when the size of the index block and the data block is used as 256 kilobytes, 64K block indexes are included for each index block, thereby covering a data block area of 16 gigabytes. Thus, one inode 510 has a file size of up to 208 gigabytes through 13 indexes. Typically, this is sufficient, given that the two-hour MPEG-2 movie file is about 5 gigabytes in size. Most files in a continuous media file system have only one index block, and the contents of the index block of each file are cached by the main memory when the file is opened, thereby improving performance. It will be easy to see the file structure for the media.

기존의 디스크 운영체제의 문제점인 디스크 접근횟수의 과다와 메모리에서 메모리로의 데이타 복사에 걸리는 시간을 해결하고, 연속매체인 주문형 비디오 요구자의 요구사항인 멀티미디어 데이타의 실시간 전송을 만족시키며, 다수의 가입자에게 동시에 서비스를 해주기 위한 연속매체용 화일 시스템의 구조는 제6도에 나타나 있다. 제6도에서, 멀터미디어 서비스 가입자로부터 서비스에 대한 요구를 접수하고 그 응답을 가입자에게 알려주는 응용 프로그램부 610와, 사용자 모드와 케넬모드응용 프로그램의 인터페이스를 담당하는 스트림 에이피 아이(API)부 620와, 사용자모드에서 케넬 모드를 제어하기 위헤 케넬에 제공된 스트림 콘트를 인터페이스부 630와, 스트림 콘트를 인터페이스부의 리퀘스트에 따라 디스크의 연속매체 데이타를 읽어서 일시 저장하고 네트워크 매니저부 670로 데이타를 전송하고 연속매체를 다루는데 적합한 화일 시스템으로 구성된 연속매체 화일 시스템부 640와, 상기 연속매체 화일 시스템부 640내에 위치하며 스트림 데이타를 일시저장하는 스트림 버퍼 650, 651와, 연속매체의 스트림데이타를 저장하는 연속매체 디스크 660와, 네트워크의 채널을 할당하고 망의 부하를 분배 및 관리하며 연속매체 데이타를 망으로 전송하는 기능을 수행하는 네트워크 매니저부 670와, 여러가지의 장치들이 접속된 네트워크부 680로 구성된다. 상기 제6도의 시스템에서는 시스템의 성능을 극대화하기 위해 디스크의 연속매체 데이타를 케넬모드에서 처리하여 디스크에서 버퍼로 읽어와서 바로망으로 전송한다. 즉, 사용자모드에서 프로그램하는 경우는 최소한 2번이상의 반복적인 복사가 이루어져야 하는데 이를 본 발명에서는 라인 L13을 통해 바로 전송하여 해결하고 있다. 화일 시스템이, 많은 가입자들에게 동시에 영화를 지원해 주기 위해서는 탐색시간도 최소화 하여야 하는데 본 발명에서는 연속매체 데이타들을 연속하여 저장하고 또한 디스크의 접근횟수를 줄이기 위해 디스크 데이타 블럭을 256 킬로 바이트로 확장하였으며, 모든 데이타 블럭들에 대한 접근이 인덱스 블럭을 통한 단일 간접지정에 의하여 이루어지게 한 것이다.It solves the problems of the existing disk operating system, the excessive number of disk accesses and the time required to copy data from memory to memory, satisfy the real-time transmission of multimedia data, which is a requirement of on-demand video requester, which is a continuous medium, The structure of a file system for continuous media for simultaneous service is shown in FIG. In FIG. 6, an application unit 610 for receiving a request for a service from a multimedia service subscriber and notifying the subscriber of the service, and a stream API eye interface 620 for interfacing user mode and Kennel mode applications. In addition, the stream control provided to the kernel to control the channel mode in the user mode is stored in the interface unit 630 and the stream control is read and temporarily stored in the disk medium data according to the interface unit's request, and the data is transferred to the network manager unit 670. A continuous medium file system 640 comprising a file system suitable for handling media, stream buffers 650 and 651 located in the continuous medium file system 640 for temporarily storing stream data, and a continuous medium disk for storing stream data of the continuous medium. 660, assign the channel of the network and network A load distribution and management and consists of continuous media data to the network manager unit for performing a function of transmitting to the network 670 and to a network connection unit 680 of the various devices. In the system of FIG. 6, in order to maximize the performance of the system, the continuous medium data of the disk is processed in the kernel mode, read from the disk into the buffer, and transmitted directly to the network. That is, in the case of programming in the user mode, at least two repetitive copies must be made. In the present invention, this is solved by directly transmitting the line through the line L13. In order to support a movie to many subscribers at the same time, the file system needs to minimize search time. In the present invention, the disk data block is extended to 256 kilobytes in order to continuously store the continuous media data and to reduce the number of disk accesses. All data blocks are accessed by a single indirection through the index block.

상기한 바와 같은 연속매체용 화일 구성방법 및 연속매체용 화일 시스템에 따르면, 멀티 미디어 데이타 스트림의 실시간 전송요구를 만족하면서도 최대 스트림수를 지원할 수 있고, 데이타의 탐색시간을 단축하여 화일 시스템의 성능을 향상시키는 효과가 있다.According to the file configuration method for continuous media and the file system for continuous media as described above, the maximum number of streams can be supported while satisfying the real-time transmission requirements of multimedia data streams, and the performance of the file system can be improved by shortening the data searching time. It is effective to improve.

상기한 본 발명은 도면을 중심으로 예를들어 설명되고 한정되었지만, 그 동일한 것은 본 발명의 기술적 사상을 벗어나지 않는 범위내에서 여러가지 변화와 변형이 가능함이 본 분야의 숙련된 자에게 있어 명백할 것이다. 예를들어, 상기 인덱스블럭 및 데이타블럭의 크기를 사안에 따라 대용량에 적합하게 더 확장하거나 변경할 수 있음은 물론이다.Although the above-described invention has been described and limited by way of example with reference to the drawings, the same will be apparent to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. For example, the size of the index block and the data block can be further expanded or changed to suit a large capacity according to a case.

Claims (12)

대용량 데이타 처리에 적합한 연속매체용 화일 구성 방법에 있어서, 연속매체용 디스크 영역을 부트블럭, 슈퍼블럭, 아이노드블럭, 인덱스블럭, 및 테이타블럭순으로 포맷하되, 상기 인덱스블럭 및 데이타블럭의 크기를 대용량에 적합하게 확장하여 상기 데이타블럭으로의 접근이 상기 인덱스블럭을 통하여 단일간접 지정으로 수행되도록 한 것을 특징으로 하는 연속매체용 화일 구성 방법.In the method for constructing a continuous medium file suitable for processing a large amount of data, the disk area for the continuous medium is formatted in the order of a boot block, a super block, an inode block, an index block, and a data block, and the size of the index block and the data block is changed. And expanding to a large capacity so that access to the data block is performed by a single indirect designation through the index block. 제1항에 있어서, 상기 확장한 데이타블럭의 크기단위는 약 256킬로 바이트임을 특징으로 하는 연속매체용 화일 구성방법.The method of claim 1, wherein the size unit of the extended data block is about 256 kilobytes. 제2항에 있어서, 상기 인덱스블럭내의 인덱스 데이타는 직접지정의 성능을 보장하기 위해 화일 오픈시에 주메모리의 영역에 프리 페치됨을 특징으로 하는 연속매 체용 화일 구성방법.3. The method of claim 2, wherein the index data in the index block is prefetched into an area of main memory at the time of file opening to ensure the performance of direct specification. 제3항에 있어서, 상기 인덱스블럭의 크기단위는 상기 데이타블럭의 크기와 동일함을 특징으로 하는 연속매체용 화일 구성방법.The method of claim 3, wherein the size unit of the index block is the same as the size of the data block. 대용량 데이타 처리에 적합한 연속매체용 화일 시스템에 있어서, 다수의 가입자와 접속된 네트워크와 연결되어 채널할당 및 부하를 관리하며 가입자가 원하는 연속매체 데이타를 수신하여 상기 네트워크로 전송하는 네트워크 매니저부와, 상기 네트워크 매니저부와는 설정된 인터페이스를 통해 연결되며 상기 가입자의 서비스 요구에 응답한 대응신호를 상기 가입자에게 전달시키고 상기 가입자가 원하는 연속매체 데이타가 제공되도록 하는 제어신호를 상기 인터페이스에 인가하는 응용프로그램부와, 상기 인터페이스를 통해 인가되는 상기 제어신호에 따라 연속매체용 디스크내의 대응되는 데이타블럭을 인덱스블럭에 의한 단일간접 지정방식으로 억세스하여 상기 가입자가 원하는 연속매체 데이타를 상기 네트워크 매니저부에 제공하는 연속매체 화일 시스템부를 구비함을 특징으로 하는 연속 매체용 화일 시스템.A file system for continuous media suitable for processing large data, comprising: a network manager connected to a network connected to a plurality of subscribers to manage channel allocation and load, and receive and transmit the desired continuous media data to the network; An application program unit which is connected to the network manager via an established interface and transmits a corresponding signal in response to the service request of the subscriber to the subscriber and applies a control signal to the interface to provide the continuous media data desired by the subscriber; And a continuous medium for providing the continuous medium data desired by the subscriber to the network manager by accessing a corresponding data block in the continuous medium disk by a single indirect designation method according to the control signal applied through the interface. Continuous media file system that is characterized by having a file system section. 제5항에 있어서, 상기 연속매체용 디스크의 영역은 부트블럭, 슈퍼블럭, 아이노드블럭, 인덱스블럭, 및 테이타블럭순으로 포맷됨을 특징으로 하는 연속매체용 화일 시스템 .6. The file system of claim 5, wherein the area of the disk for the continuous medium is formatted in the order of a boot block, a super block, an inode block, an index block, and a data block. 상기 확장한 데이타블럭의 크기단위는 약 256킬로 바이트임을 특징으로 하는 연속매체용 화일 시스템.And the size unit of the extended data block is about 256 kilobytes. 제7항에 있어서, 상기 인덱스블럭내의 인덱스 데이타는 직접지정의 성능을 보장하기 위해 화일 오픈시에 스태틱 메모리에 프리 페치됨을 특징으로 하는 연속매체용 화일 시스템.8. The file system of claim 7, wherein the index data in the index block is prefetched into the static memory at the time of file opening to ensure the performance of direct specification. 제8항에 있어서, 상기 인덱스블럭의 크기단위는 상기 데이타블럭의 크기와 동일하게 하여 하나의 인덱스 블럭당 64k개의 블럭 인덱스를 가지게 함을 특징으로 하는 연속매체용 화일 시스템9. The file system for continuous media according to claim 8, wherein the size unit of the index block is equal to the size of the data block to have 64k block indexes per index block. 제5항에 있어서, 상기 연속매체 화일 시스템부는 내부에 데이타 일시저장용 스트핌 버퍼를 가짐을 특징으로 하는 연속매체용 화일 시스템.The file system for a continuous medium according to claim 5, wherein the continuous file system unit has a strip buffer for temporarily storing data therein. 제5항에 있어서, 상기 설정된 인터페이스는 사용자모드에서 케넬 모드를 제어하기 위한 기능을 수행하는 스트림 콘트롤 인터폐이스를 포함하는 것을 특징으로 하는 연속매체용 화일 시스템.6. The file system of claim 5, wherein the set interface includes a stream control interface that performs a function for controlling the kennel mode in the user mode. 제5항에 있어서, 상기 응용프로그램부는 사용자 모드와 케넬모드 응용 프로그램의 인터 페이싱을 수행하는 스트림 에이피아이를 더 포함하는 것을 특징으로 하는 연속체용 화일 시스템.6. The file system for a continuum of claim 5, wherein the application program unit further comprises a stream api for interfacing a user mode and a kennel mode application.
KR1019960032461A 1996-08-03 1996-08-03 File system suitable for processing mass data KR100216027B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960032461A KR100216027B1 (en) 1996-08-03 1996-08-03 File system suitable for processing mass data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960032461A KR100216027B1 (en) 1996-08-03 1996-08-03 File system suitable for processing mass data

Publications (2)

Publication Number Publication Date
KR19980013818A KR19980013818A (en) 1998-05-15
KR100216027B1 true KR100216027B1 (en) 1999-08-16

Family

ID=19468731

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960032461A KR100216027B1 (en) 1996-08-03 1996-08-03 File system suitable for processing mass data

Country Status (1)

Country Link
KR (1) KR100216027B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100484942B1 (en) * 2002-03-14 2005-04-25 한국전자통신연구원 Method for managing directories of large-scale file system
KR100679653B1 (en) * 2005-09-02 2007-02-08 엘지전자 주식회사 Opening/closing device for a storeroom of door
KR100882470B1 (en) * 2007-11-12 2009-02-09 경북대학교 산학협력단 Method of editing media file

Also Published As

Publication number Publication date
KR19980013818A (en) 1998-05-15

Similar Documents

Publication Publication Date Title
US6748500B2 (en) Storage device and method for data sharing
US6094707A (en) Method for memory allocation in a disk drive employing a chunk array and identifying a smallest available element for write caching
US6609187B1 (en) Method and apparatus for supporting resizing of file system partitions
US6467021B1 (en) Data storage system storing data of varying block size
US5915129A (en) Method and system for storing uncompressed data in a memory cache that is destined for a compressed file system
US5884093A (en) Hard disk cache for CD-ROM and other slow access time devices
US6353837B1 (en) Method and apparatus providing mass storage access from systems using different meta-data formats
US4476526A (en) Cache buffered memory subsystem
KR101422557B1 (en) Predictive data-loader
US5875454A (en) Compressed data cache storage system
US5887151A (en) Method and apparatus for performing a modified prefetch which sends a list identifying a plurality of data blocks
US5491807A (en) System and method for worm volume management of new and updated data files using variable threshold block addresses
US6549995B1 (en) Compressor system memory organization and method for low latency access to uncompressed memory regions
US7860896B2 (en) Method for automatically managing disk fragmentation
US7966351B2 (en) Fast and efficient method for deleting very large files from a filesystem
US7624230B2 (en) Information processing apparatus, information processing method and storage system using cache to reduce dynamic switching of mapping between logical units and logical devices
JP2009503746A (en) Data integration and garbage collection in direct data file storage memory
KR100216027B1 (en) File system suitable for processing mass data
CN115617259A (en) File memory
JP2003296156A (en) Information recording management device, data recording and regenerating device, information recording management method and file management method
US5845330A (en) Using an intermediate storage medium in a database management system
KR100648065B1 (en) File system for the hardward using the i/o acceleration technique and method for processing data in the same
US20030018874A1 (en) Method of utilisation of a data storage array, and array controller therefor
JP3925246B2 (en) Computer system
JPH026094B2 (en)

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: 20080319

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee