Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Tree-structure file system and its managerial approach

A file system and tree-like structure technology, applied in the direction of digital data processing, special data processing applications, data processing input/output process, etc., can solve the problem of the difficulty of predicting the linear search time of the FirstHit linear algorithm, the increase of search time and rotation time, etc. , file reading and writing efficiency decline and other issues, to achieve the effect of improving access performance, avoiding maintenance difficulties, and reducing time complexity

Inactive Publication Date: 2008-04-30
SUNPLUS TECH CO LTD
View PDF0 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In a storage medium with a read-write head (for example: hard disk drive, optical drive), the disconnection of the file will cause a large increase in the seek time (Seek Time) and rotation time (Rotating Time) of the read-write head, making the file read Write efficiency drops sharply
In a real-time system, since the linear search time of the First Hit linear algorithm is difficult to predict, the file system using the First Hit linear algorithm is difficult to use in a real-time system
It can be seen that there is still room for improvement in known file systems and their management methods

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Tree-structure file system and its managerial approach
  • Tree-structure file system and its managerial approach
  • Tree-structure file system and its managerial approach

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] FIG. 1 is a schematic diagram of a tree structure file system of the present invention, which is used in a disk drive or a flash memory to provide a file operation method (File Operation) in the disk drive or flash memory.

[0015] The tree structure file system includes n clusters (Cluster) and (K+1) binary search trees (BinarySearch Tree). The n clusters are used to store data, where n is a positive integer greater than 2. Each node of the above-mentioned binary search tree records its corresponding cluster, and K is a positive integer. Wherein, each node (Node) of the binary search tree is arranged according to the size of the logical block address (Logical Block Address, LBA).

[0016] The (K+1) binary search trees are related to the cluster number n. That is, the value of K is Ceiling[log 2 (n)], where n is the number of clusters in the tree-structured file system, and Ceiling is the ceiling function.

[0017] Fig. 2 is a schematic diagram of the binary search ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a tree structure file system and a management method thereof. The file system has (K+1) binary search trees, wherein the node of each binary search tree contains a logical block address field and a size field. The management method comprises firstly inputting a memory space demand including a demanded logic block address and a demanded cluster number; computing a binary search tree with the code m according to the number of the demanded cluster; and determining whether the binary tree with the code m has unused node, if the binary tree with the code m has the unused node, searching the node nearest to the demanded logic block address in the binary search tree with the code m, and removing the node nearest to the demanded logic block address from the binary search tree with the code m.

Description

technical field [0001] The invention relates to the technical field of file systems, in particular to a tree structure file system and a management method thereof. Background technique [0002] In the management of the remaining space, the best management efficiency can be obtained by using the linear algorithm of the first hit (First Hit) according to the theory. Therefore, in the actual file system, well-known file systems such as FAT, Ext2, and Ext3 all use the linear algorithm of First Hit to search for the remaining space on the storage medium. The file system first divides the space on the storage medium into several clusters or blocks, and adopts linear management for the clusters or blocks. For example, the Ext2 and Ext3 file systems use bit vectors (Bit Vector) to record whether clusters have been used, and the FAT file system uses a file allocation table (File Allocation Table) to record cluster usage. [0003] However, the disadvantage of using the linear algori...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F3/048G06F17/30
Inventor 乔梦麟
Owner SUNPLUS TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products