KR19980013818A - File system and file configuration method for continuous media suitable for mass data processing - Google Patents

File system and file configuration method for continuous media suitable for mass data processing Download PDF

Info

Publication number
KR19980013818A
KR19980013818A KR1019960032461A KR19960032461A KR19980013818A KR 19980013818 A KR19980013818 A KR 19980013818A KR 1019960032461 A KR1019960032461 A KR 1019960032461A KR 19960032461 A KR19960032461 A KR 19960032461A KR 19980013818 A KR19980013818 A KR 19980013818A
Authority
KR
South Korea
Prior art keywords
block
data
index
file
size
Prior art date
Application number
KR1019960032461A
Other languages
Korean (ko)
Other versions
KR100216027B1 (en
Inventor
정병달
Original Assignee
구자홍
Lg전자 주식회사
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 구자홍, Lg전자 주식회사 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

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

Description

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

제 1 도는 종래 기술에 따른 화일 시스템의 화일 포맷 배치도.FIG. 1 is a file format layout diagram of a file system according to the prior art; FIG.

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

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

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

제 5 도는 제 4 도중 인덱스블럭을 통하여 데이타 블럭 530을 서치하는 아이노드 블럭 510의 탐색경로를 보여주는 도면.FIG. 5 illustrates the search path of the inode block 510 searching the data block 530 through the index block during the fourth time. FIG.

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

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

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

종래의 연속매체용 화일 시스템은 제 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킬로바이트의 용량을 가지는 블럭을 단위블럭으로 하여 디스크 화일들을 관리하였다. 그 이유는 종래의 화일 시스템은 비교적 소용량의 화일관리에 적합하게 설계되어졌기 때문이다. 따라서, 이러한 시스템을 수십 메가바이트에서 수 기가바이트 단위의 화일 용량을 가지는 대용량 연속매체 화일 서비스 시스템에 그대로 적용할 경우에 디스크의 접근 횟수가 과다하여 화일 서치의 시간이 증가된다. 이러한 것은 결국 시스템의 성능을 저하시키는 문제와 직결되는 것이다.The conventional file system for continuous media has a file format as shown in FIG. 1, so that it needs to perform a search path as shown in FIG. 2, so that the search time and transmission process of data requested by the subscriber are complicated, There is a problem in that the system can not efficiently cope with a large amount of data as well as the service demand. Reference is made to the accompanying Figures 1, 2, and 3 to illustrate the above-mentioned reasons occurring in conventional systems. 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 the file and typically occupies the first sector of the disk. The bootstrap code for booting or initializing the operating system of the file system is generally located within the boot block 2. The super block 4 located next to the boot block 2 is a block that shows how much the file system of the file system is, how many files can be stored, or state information that indicates which position in the file the free space is to be searched for. The inode list 6 shows a list of inodes made up of the public super block 4 and direct and indirect blocks in the file format. The data block 8 positioned next to the inode list 6 is a portion having actual file data and management data. The conventional system having the same file format as the first embodiment has the same search path as the second search. FIG. 2 shows the search path of the blocks in the inode list 6 for searching data block 8 in the first stage. In FIG. 2, the direct 0-9 blocks in the inode list 6 contain information indicating the disk block actually containing the data. Also, a single indirect block has indirect information indicating a block having a list of the numbers of the direct blocks. In order to find the data in the data block through the 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 the block is directly accessed to find the desired data. The double indirect block has a pointer to the list of the indirect block numbers, and the triple indirect block has a pointer to the list of the double indirect block numbers. In order to find the data of the corresponding data block through the direct block, the path L1 must be passed through only once, but it must pass through the paths L1 and L2 through the single indirect block, and the paths L1, L2 and L3 The data can only be found in order. Therefore, in the conventional system, it is necessary to perform a number of accesses in order to find a data block in a disk that actually contains data. Therefore, there is a problem that the performance of the file system deteriorates due to the disadvantage that the search time of the data takes a long time. This problem is more clearly confirmed by referring to FIG. 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 kernel mode unit 320. The user mode unit 310 includes a user process 30 having an application unit A1 and a buffer B1, and a system call unit 31. The kernel mode unit 320 includes a protocol 33, a function call unit 34, a device driver 35, and buffers B2 and B3 have. The network interface 330 is connected to the kernel mode unit 320 via lines L1, L2 and L3, which are in turn an interrupt, a register access, and a direct memory access line. In the configuration of FIG. 3, the user process 30 can know through the memory copy line that it should perform two or more memory copy operations in order to transmit the video data requested by the subscriber to the network interface 330. As a result, these tasks are deteriorating the efficiency of the network and hence the performance of the system. Conventionally, a file system of an existing operating system is used in a continuous media service system such as a video-on-demand system. In this case, a file system is a block having a relatively small size, for example, 1-8 kilobytes, And managed the disk files. This is because the conventional file system is designed to be suitable for relatively small-capacity file management. Therefore, when such a system is directly applied to a large capacity continuous file service system having a file capacity of several tens of megabytes to several gigabytes, the time of file search is increased due to an excessive number of disk accesses. This is directly related to the problem of degrading the performance of the system.

상기한 바와 같이 종래에는 데이타의 탐색시간이 오래 걸리는 단점으로 인하여As described above, due to the disadvantage that the search time of data is long,

화일 시스템의 성능이 저하되는 문제점 및 전송시 데이타 복사작업이 수반되어 실시간 전송이 어려운 문제점이 있었다.There is a problem in that the performance of the file system is deteriorated and the data copying operation is accompanied during the transmission, which makes it difficult to transmit in real time.

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

본 발명의 다른 목적은 대용량 데이타 처리에 적합한 연속매체용 화일 시스템 및 그 화일 구성방법을 제공함에 있다.It is another object of the present invention to provide a file system for a continuous medium suitable for large-capacity data processing and a method of configuring 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 request of a compressed multimedia data stream to a subscriber.

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

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

이하에서는 본 발명의 바람직한 실시예에 따른 연속매체용 화일 시스템 및 화일 구성방법이 첨부된 도면과 함께 설명될 것이다. 첨부된 도면들내에서 서로 동일한 구성요소는 이해의 편의를 위해 동일 내지 유사한 참조부호 또는 명칭으로 라벨링된다. 다음의 설명에서는 본 발명의 보다 철저한 이해를 제공하기 위해 특정한 상세들이 예를 들어 한정되고 자세하게 설명된다. 그러나, 당해 기술분야에 통상의 지식을 가진 자들에게 있어서는 본 발명이 이러한 상세한 항목들이 없이도 상기한 설명에 의해서도 실시될 수 있을 것이다. 또한, 본 분야에 잘 알려진 통상의 연속매체용 화일 시스템의 기본적 구조 및 구성소자들의 구조 및 동작은 본 발명의 요지를 모호하지 않게 하기 위해 상세히 설명되지 않는다.Hereinafter, a file system for continuous media and a file configuration method according to a preferred embodiment of the present invention will be described with reference to the accompanying drawings. The same elements in the accompanying drawings are labeled with the same or similar reference numerals or names for the sake of convenience. In the following description, specific details are set forth, by way of example only, to provide a more thorough understanding of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced without these specific details. In addition, the basic structure and operation of the components of a file system for conventional continuous media well known in the art are not described in detail in order to avoid obscuring the gist 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 with reference to the accompanying drawings. FIG. 4 is a file format layout diagram of a file system according to the present invention. FIG. 5 shows a path through which the inode block 510 searches for data through an index block in order to search the data block 530 in the fourth step. FIG. 6 is an overall structure diagram of a continuous media file system according to the present invention. In order to reduce the number of accesses (accesses) to the disk and to minimize the time required for the search, the present invention proposes an apparatus and method as described in the fourth aspect of the present invention. The size of the data block in the disk is extended to 256 kilobytes. In order to reduce the time required for the memory copy in the user mode, the access to the data block is performed by the single indirect designation through the index block of FIG. In addition, the index block is prefetched to the main memory such as the open time slot of the file, thereby directly designating performance improvement.

제 4 도를 참조하면, 연속매체용 디스크 영역은 부트블럭 2, 슈퍼블럭 4, 아이노드블럭 510, 인덱스블럭 520, 및 데이타블럭 530순으로 포맷하되, 상기 인덱스블럭 520 및 데이타블럭 530의 크기를 대용량에 적합하게 256킬로 바이트로 확장하고 상기 데이타블럭 530으로의 접근이 상기 인덱스블럭 520을 통하여 단일간접 지정으로 수행되도록 한다. 따라서, 디스크 접근횟수는 줄어들며, 디스크 접근시간의 예측가능성은 256킬로 바이트의 확장에 의해 증가된다. 또한, 상기 인덱스 블럭의 인덱스 데이타는 화일 오픈시에 프리페치되게 함으로써 직접지정의 성능과 동일한 효과를 얻을 수 있게 한다.Referring to FIG. 4, the disk area for a continuous medium is formatted in order of 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 the data block 530 Expanding to 256 kilobytes for large capacity and allowing access to the data block 530 to be performed through the index block 520 with a single indirect designation. Thus, the number of disk accesses is reduced, and the predictability of disk access time is increased by an extension 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 the direct designation.

제 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 according to the fifth aspect, when the size of the index block and the data block is used as 256 kilobytes, the data block area of 16 gigabytes is covered by 64K block indexes per each index block. Accordingly, one inode 510 has a file size of up to 208 gigabytes through 13 indexes. Normally, this is sufficient considering that the size of the MPEG-2 movie file for 2 hours is about 5 gigabytes. Most of the files of the file system for continuous media have only one index block, and the contents of the index blocks of each file are cached by the main memory when the file is opened. In contrast, according to the present invention, It will be easy to see that it is a file structure for media.

기존의 디스크 운영체제의 문제점인 디스크 접근횟수의 과다와 메모리에서 메모리로의 데이타 복사에 걸리는 시간을 해결하고, 연속매체인 주문형 비디오 요구자의 요구사항인 멀티미디어 데이타의 실시간 전송을 만족시키며, 다수의 가입자에게 동시에 서비스를 해주기 위한 연속매체용 화일 시스템의 구조는 제 6 도에 나타나 있다. 제 6 도에서, 멀티미디어 서비스 가입자로부터 서비스에 대한 요구를 접수하고 그 응답을 가입자에게 알려주는 응용 프로그램부 610와, 사용자 모드와 케넬모드응용 프로그램의 인터페이스를 담당하는 스트림 에이피아이(API) 부 620와, 사용자모드에서 케넬 모드를 제어하기 위해 케넬에 제공된 스트림 콘트롤 인터페이스부 630와, 스트림 콘트롤 인터페이스부의 리퀘스트에 따라 디스크의 연속매체 데이타를 읽어서 일시 저장하고 네트워크 매니저부 670로 데이타를 전송하고 연속매체를 다루는데 적합한 화일 시스템으로 구성된 연속매체 화일 시스템부 640와, 상기 연속매체 화일 시스템부 640내에 위치하며 스트림 데이타를 일시저장하는 스트림 버퍼 650,651와, 연속매체의 스트림데이타를 저장하는 연속매체 디스크 660와, 네트워크의 채널을 할당하고 망의 부하를 분배 및 관리하며 연속매체 데이타를 망으로 전송하는 기능을 수행하는 네트워크 매니저부 670와, 여러가지의 장치들이 접속된 네트워크부 680로 구성된다. 상기 제 6 도의 시스템에서는 시스템의 성능을 극대화하기 위해 디스크의 연속매체 데이타를 케넬모드에서 처리하여 디스크에서 버퍼로 읽어와서 바로 망으로 전송한다. 즉, 사용자모드에서 프로그램하는 경우는 최소한 2번이상의 반복적인 복사가 이루어져야 하는데 이를 본 발명에서는 라인 L13을 통해 바로 전송하여 해결하고 있다. 화일 시스템이, 많은 가입자들에게 동시에 영화를 지원해 주기 위해서는 탐색시간도 최소화 하여야 하는데 본 발명에서는 연속매체 데이타들을 연속하여 저장하고 또한 디스크의 접근횟수를 줄이기 위해 디스크 데이타 블럭을 256 킬로 바이트로 확장하였으며, 모든 데이타 블럭들에 대한 접근이 인덱스 블럭을 통한 단일 간접지정에 의하여 이루어지게 한 것이다.It solves the problem of disk access frequency which is a problem of the existing disk operating system and the time required for copying data from memory to memory and satisfies the real time transmission of multimedia data which is a requirement of the continuous media request video requester, The structure of the file system for continuous media for simultaneous service is shown in FIG. 6, an application program 610 for receiving a request for a service from a multimedia service subscriber and informing the subscriber of the response, a stream API (API) unit 620 for managing an interface between the user mode and the Kellem mode application program, A stream control interface unit 630 provided in the KENNEL to control the KENEL mode in the user mode, and a control unit 630 for reading the continuous media data of the disk according to the request of the stream control interface unit, temporarily storing the data and transmitting the data to the network manager unit 670, A stream buffer 650, 651 for temporarily storing the stream data, a continuous medium disk 660 for storing the stream data of the continuous medium, Allocate channel 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 media data of the disk is processed in the Kernel mode, read from the disk to 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, the program is directly transmitted through the line L13. In order to continuously support a movie to a large number of subscribers, a file system must minimize a seek time. In the present invention, a disk data block is extended to 256 kilobytes in order to continuously store continuous media data and reduce the number of accesses to the disk. So that access to all the data blocks is made by a single indirect designation through the index block.

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

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

Claims (12)

대용량 데이타 처리에 적합한 연속매체용 화일 구성방법에 있어서; 연속매체용 디스크 영역을 부트블럭, 슈퍼블럭, 아이노드블럭, 인덱스블럭, 및 데이타블럭순으로 포맷하되, 상기 인덱스블럭 및 데이타블럭의 크기를 대용량에 적합하게 확장하여 상기 데이타블럭으로의 접근이 상기 인덱스블럭을 통하여 단일간접 지정으로 수행되도록 한 것을 특징으로 하는 연속매체용 화일 구성방법.A method of configuring a file for a continuous medium suitable for large-capacity data processing, the method comprising: A method for formatting a disk area for a continuous medium in the order of a boot block, a super block, an inode block, an index block and a data block in order to expand the size of the index block and the data block to a large capacity, And the index block is performed by a single indirect designation through the index block. 제 1 항에 있어서,The method according to claim 1, 상기 확장한 데이타블럭의 크기단위는 약 256킬로 바이트임을 특징으로 하는 연속매체용 화일 구성방법.Wherein the size 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 pre-fetched in an area of the main memory at the time of file open to guarantee direct designation performance. 제 3 항에 있어서,The method of claim 3, 상기 인덱스블럭의 크기단위는 상기 데이타블럭의 크기와 동일함을 특징으로 하는 연속매체용 화일 구성방법.Wherein a size unit of the index block is equal to a size of the data block. 대용량 데이타 처리에 적합한 연속매체용 화일 시스템에 있어서;1. A file system for a continuous medium suitable for mass data processing; 다수의 가입자와 접속된 네트워크와 연결되어 채널할당 및 부하를 관리하며 가입자가 원하는 연속매체 데이타를 수신하여 상기 네트워크로 전송하는 네트워크 매니저부와,A network manager unit which is connected to a plurality of subscribers and manages channel assignment and load, receives a continuous medium data desired by a subscriber and transmits the data to the network, 상기 네트워크 매니저부와는 설정된 인터페이스를 통해 연결되며 상기 가입자의 서비스 요구에 응답한 대응신호를 상기 가입자에게 전달시키고 상기 가입자가 원하는 연속매체 데이타가 제공되도록 하는 제어신호를 상기 인터페이스에 인가하는 응용프로그램부와,An application program unit connected to the network manager unit through a set interface and transmitting a control signal responsive to the service request of the subscriber to the subscriber and applying a control signal for providing the desired continuous media data to the subscriber; Wow, 상기 인터페이스를 통해 인가되는 상기 제어신호에 따라 연속매체용 디스크내의 대응되는 데이타블럭을 인덱스블럭에 의한 단일간접 지정방식으로 억세스하여 상기 가입자가 원하는 연속매체 데이타를 상기 네트워크 매니저부에 제공하는 연속매체 화일 시스템부를 구비함을 특징으로 하는 연속매체용 화일 시스템.A continuous media file for accessing a corresponding data block in a disc for a continuous medium according to the control signal applied through the interface by a single indirect designation method using an index block and providing the desired continuous media data to the subscriber, And a system unit. 제 5 항에 있어서,6. The method of claim 5, 상기 연속매체용 디스크의 영역은 부트블럭, 슈퍼블럭, 아이노드블럭, 인덱스블럭, 및 데이타블럭순으로 포맷됨을 특징으로 하는 연속매체용 화일 시스템.Wherein the area of the disk for continuous media is formatted in the order of a boot block, a super block, an inode block, an index block, and a data block. 제 6 항에 있어서,The method according to claim 6, 상기 확장한 데이타블럭의 크기단위는 약 256킬로 바이트임을 특징으로 하는 연속매체용 화일 시스템.Wherein the size of the extended data block is about 256 kilobytes. 제 7 항에 있어서,8. The method of claim 7, 상기 인덱스블럭내의 인덱스 데이타는 직접지정의 성능을 보장하기 위해 화일 오픈시에 스태틱 메모리의 영역에 프리 페치됨을 특징으로 하는 연속매체용 화일 시스템.Wherein the index data in the index block is prefetched to the area of the static memory at the time of file open to guarantee performance of direct designation. 제 8 항에 있어서,9. The method of claim 8, 상기 인덱스블럭의 크기단위는 상기 데이타블럭의 크기와 동일하게 하여 하나의 인덱스 블럭당 64k개의 블럭 인덱스를 가지게 함을 특징으로 하는 연속매체용 화일 시스템.Wherein the size unit of the index block is equal to the size of the data block, and has 64k block indexes per one index block. 제 5 항에 있어서,6. The method of claim 5, 상기 연속매체 화일 시스템부는 내부에 데이타 일시저장용 스트림 버퍼를 가짐을 특징으로 하는 연속매체용 화일 시스템.Wherein the continuous media file system unit has a stream buffer for storing data temporarily therein. 제 5 항에 있어서,6. The method of claim 5, 상기 설정된 인터페이스는 사용자모드에서 케넬 모드를 제어하기 위한 기능을 수행하는 스트림 콘트롤 인터페이스를 포함하는 것을 특징으로 하는 연속매체용 화일 시스템.Wherein the set interface comprises a stream control interface for performing a function for controlling the kernel mode in a user mode. 제 5 항에 있어서,6. The method of claim 5, 상기 응용프로그램부는 사용자 모드와 케넬모드 응용 프로그램의 인터페이싱을 수행하는 스트림 에이피아이를 더 포함하는 것을 특징으로 하는 연속매체용 화일 시스템.Wherein the application program unit further comprises a stream API that performs interfacing of a user mode and a kernel mode application program.
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 true KR19980013818A (en) 1998-05-15
KR100216027B1 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)

Cited By (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

Cited By (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
KR100216027B1 (en) 1999-08-16

Similar Documents

Publication Publication Date Title
US6389509B1 (en) Memory cache device
US6598129B2 (en) Storage device and method for data sharing
US6353837B1 (en) Method and apparatus providing mass storage access from systems using different meta-data formats
US5719983A (en) Method and apparatus for placement of video data based on disk zones
US8015352B2 (en) Disk drive storage defragmentation system
US5875454A (en) Compressed data cache storage system
US6609187B1 (en) Method and apparatus for supporting resizing of file system partitions
KR101422557B1 (en) Predictive data-loader
AU627029B2 (en) Method for eliminating file fragmentation and reducing average seek times in a magnetic disk media environment
US6192432B1 (en) Caching uncompressed data on a compressed drive
US5649151A (en) Efficient method and apparatus for access and storage of compressed data
US4476526A (en) Cache buffered memory subsystem
US6425051B1 (en) Method, system, program, and data structures for enabling a controller accessing a storage device to handle requests to data in a first data format when the storage device includes data in a second data format
US5668970A (en) Method and apparatus for generating a file allocation table for a storage medium with no file allocation table using file storage information
EP0660323B1 (en) Method and apparatus for data storage
EP0347881A2 (en) A system for managing a storage medium
US7860896B2 (en) Method for automatically managing disk fragmentation
US20030037019A1 (en) Data storage and retrieval apparatus and method of the same
KR100216027B1 (en) File system suitable for processing mass data
KR100648065B1 (en) File system for the hardward using the i/o acceleration technique and method for processing data in the same
WO1991008536A1 (en) Data record move apparatus for a virtual memory system
WO1991008537A1 (en) Data record copy apparatus for a virtual memory system
JP3925246B2 (en) Computer system
JP3313207B2 (en) Information storage device and information management method
KR100647372B1 (en) File system in video display device for having function of saving

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