摘要 |
The invention relates to a file management method that comprises a first step of organising the data file base that comprises creating a tree structure of directories with M levels of N directories each, M being an integer higher than 1, and the steps of storing data files including: applying a hash function on the identifier of a data file Fi to be stored, determining the path of the directory Rdi at several destination level in the tree structure based on the result of the preceding step, storing the data file is said Rdi directory determined by the hashing function at a location depending on the identifier of the data file; and data file reading steps comprising: applying the same hashing function on the identifier of the data file Fj to be read, determining the path of the target directory Rcj in the tree structure based on the result of the preceding step, reading the data file in said directory Rcj determined by the hashing function at a location depending on the identifier of the data file.
|