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

Method and device for extracting metadata of file system based on selective scanning

A file system and metadata technology, which is applied in the direction of electronic digital data processing, special data processing applications, instruments, etc., can solve the problems of not being able to obtain source codes and being unable to be applied, so as to improve the efficiency of metadata extraction, save time, and reduce The effect of the number of directories

Active Publication Date: 2011-06-29
TSINGHUA UNIV
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Even some commercial file systems cannot obtain the corresponding source code due to license restrictions, so this solution cannot be applied at all

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
  • Method and device for extracting metadata of file system based on selective scanning
  • Method and device for extracting metadata of file system based on selective scanning
  • Method and device for extracting metadata of file system based on selective scanning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] All embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0048] In addition, the terms "first" and "second" are used for descriptive purposes only, and should not be understood as indicating or implying relative importance.

[0049] In the description of the present invention, it should be noted that unless otherwise specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a mechanical connection or an electrical connection, or it can be two The internal communication of each element may be directly connect...

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 provides a method and device for extracting metadata of a file system based on selective scanning. The method comprises the following steps: A, defining a directory grouping mode; B, loading a directory group according to a scanning strategy; C, sorting and scanning directories; D, judging whether the scanning is completed, if not, selecting the directory to be scanned and initializing a subobject metadata list of the directories; E, judging whether the scanning is completed, if the scanning is not completed, reading the next subobject metadata and adding the metadata into the subobject metadata list, and updating a temporal locality directory group; F, if the scanning is completed, updating a time stamp variance directory group; and G, judging whether the current scanning is basic scanning, if the current scanning is the basic scanning, updating a subdirectory array of the current directory and executing the step D, and directly executing the step D if the current scanning is not the basic scanning. By applying the metadata extraction method in the embodiment of the invention, the extraction efficiency is greatly improved; besides, the method and device provided by the invention are simple in design and are easy to realize.

Description

technical field [0001] The invention relates to the field of plug-in metadata search technology, in particular to a method and device for extracting metadata from a file system based on selective scanning. Background technique [0002] The metadata of the file system includes the attributes of directories and ordinary files, as well as the directory structure and so on. The properties of a file include file name, permissions, time, file size, and index of data blocks. The attributes of a directory include directory name, authority, time, and directory content such as files and subdirectories contained in the above directory. [0003] With the increasing scale of modern file systems, file system metadata search plays an increasingly important role in storage management, and has gradually become one of the indispensable tools for administrators. Unlike desktop search systems, which are well known for data location and discovery, metadata search is primarily used by system ad...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
Inventor 杨广文刘立坤武永卫黄小猛
Owner TSINGHUA UNIV
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