Nova Patents
EP0875834A2

File system and file management method

Abstract

The present invention relates to a file system using a disc memory storage and a method of managing the file system. Just like the ordinary server, a first block table Tbl with the offset number of the file to be written in matched with the block number Dij of the data block is provided, and the data stored in the memory is read out on the basis of the contents of the first block table Tbl. On that file system, a second block registering means is provided which couples the block number allotted to the file to write and the offset number and, in case of consecutive block numbers, prepares a second block table Tb2 in which the first block number of the consecutive block numbers is paired with the offset number. A second take-out means is also provided. When consecutive data are to be read out, the second block take-out means arithmetically processes, on the basis of the contents of the second block table Tb2, the block numbers Dij to be read out and hands over the results to the data read-out means.That substantially reduces the access and processing time for read-out at the block table and makes the reading out of data highly efficient.

EP0875834A2, drawing sheet 1
Sheet 1 of 7

Term

Term ended

Projected expiry passed 27 April 2018, 8.4 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

9 claims: 2 independent, 7 dependent

  1. 1
    A file system managing method, comprising dividing the memory space in the memory storage into data blocks in a specific unit size, managing the block numbers of data blocks allocated to a file to be written in by matching said block numbers and the offset numbers of said file in a first block table and reading out said file by referring to the contents of said first block table, characterized by the steps of:preparing a second block table by coupling with the offset numbers of the file the block numbers of the data blocks allocated to the file to write and, in case of consecutive block numbers, by pairing the top block number of said consecutive data block numbers with the offset number, and reading out the consecutive data on the basis of the contents in the second block table.
  2. 2
    A file system, comprising dividing the memory space in the memory storage into data blocks in a specific unit size, preparing a first block table coupling, by the first block registering means, the block numbers of data blocks acquired from a data block allocation means with the offset numbers of the file to be written in and storing said first block table in a memory managing means, writing, by a data writing means, data in the data blocks managed in said first block table and reading out data on the basis of the contents in said first block table, characterized in that there are provided:a second block registering means for preparing a second block table by coupling with the offset numbers of the file the block numbers of the data blocks allocated to said file to be written in and, in case of consecutive block numbers, by pairing the top block number of said consecutive data blocks with the offset number and storing said second block table in said memory managing means and a second block take-out means for arithmetically processing the block numbers to read out according to the contents of said second block table and handing over the numbers to said data read-out means when consecutive data are to be read out.
  3. 8
    The file system as defined in any of claims 2 to 7, wherein with the size and/or type of a file inputted in said file as file attribute information, said second block registering means judges whether to start registration according to said file attribute information before registering with said second block table said block number of the top data block of said series of consecutive data blocks, and wherein in continuously reading out file data, said block take-out means acquires a block number by using said first block take-out means if no bock number is registered with said second block table and gets the number from said second block table if the number is registered therein.
  4. 9
    The file system as defined in any of claims 2 to 8, wherein file data are read out according to the contents of said first block table in case said data are to be read out at random.