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

Method, device and equipment for accessing files

A file access and file technology, applied in the computer field, can solve problems such as reducing file search efficiency and increasing file access time, and achieve the effect of shortening access time and speeding up

Active Publication Date: 2013-08-14
NANTONG HANGDA ELECTRONICS TECH
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The existing technology accesses files by searching the index nodes corresponding to the file path step by step. For the case where there are a large number of subdirectories and files in the directory file, but the actually accessed files are often concentrated in a certain part, each time the system is reloaded. It needs to be retrieved repeatedly on the storage medium, which increases the access time of files and reduces the efficiency of file search

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, device and equipment for accessing files
  • Method, device and equipment for accessing files
  • Method, device and equipment for accessing files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0048] For ease of description, the technical vocabulary involved in the present invention is introduced here:

[0049] (1) The file path name, the file path name is specifically composed of the directory name passed through when accessing the file. For example, the file path name dir1 / dir2 / hotdir31.doc, the file path name is composed of directory names dir1, dir2, hotdir31, and the directory names are separated by " / ". The file path can be divided into absolute path and relative path. The absolute path is the path starting from " / ", such as / home / user1 / abc.txt, and the relative path is the path starting from the current path, such as home / user1 / abc.txt.

[0050](2) Index node (inode), the index node is used to save specific topology...

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 method, a device and equipment for accessing files, and belongs to the field of computers. The method includes searching an extended data segment in a first index node according to a path name of a file; acquiring a second index node according to the extended data segment and the path name of the file; and acquiring the file corresponding to the path name of the file according to the second index node. The extended data segment is used for representing a hotspot item and an address corresponding to the hotspot item. The device comprises a search module, a first acquisition module and a second acquisition module. According to the technical scheme, the method, the device and the equipment have the advantages that the hotspot item and the address corresponding to the hotspot item are added into the extended data segment of the first index node, so that the index node acquisition speed can be increased, and the file access time can be shortened.

Description

technical field [0001] The invention relates to the computer field, in particular to a file access method, device and equipment. Background technique [0002] With the rapid development of computer technology, computers have become an indispensable part of people's work and life. When a user uses a computer to access a file, as long as the file name is found, the computer can find the physical address of the file through the file system according to the logical relationship of the information, and then the computer reads the file according to the physical address and displays the file to the user. As users frequently access files, access speed becomes an important evaluation index of computer performance. [0003] In the prior art, a computer saves specific topology information of a directory or a file through an index node, and permanently stores the index node on a storage medium. When a computer accesses a file, it searches the directory file for a directory entry that ...

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): G06F17/30
Inventor 罗姣林李玲玲
Owner NANTONG HANGDA ELECTRONICS TECH
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