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

Method and system of file access

A file system and file technology, applied in the computer field, can solve problems such as low access efficiency and high access overhead, and achieve high access efficiency and low access overhead

Active Publication Date: 2014-07-09
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When storing files in the above-mentioned POSIX file system, when there are many files stored in the file system, and the directory depth corresponding to a file to be accessed is relatively deep, when accessing the file, it is necessary to access the metadata layer by layer according to the file storage path. Until the file to be accessed is accessed, the access overhead is large and the access efficiency is low

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 system of file access
  • Method and system of file access
  • Method and system of file access

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0019] Compared with relational databases, the main difference between Key-Value databases is that the data format is not strictly defined. In relational databases, data definitions are constraints on data, including the relationship between data and the integrity of data. There is no strict data definition in the Key-Value database....

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

Provided are a file access method and system. The method includes: a file system drive module receiving a first access request sent by an upper layer application; the file system drive module converting the first access request into a second access request suitable for accessing a key value database according to the correlation between an access interface corresponding to the upper layer application and an access interface of the key value database; the file system drive module sending the second access request to a client of the key value database; the client of the key value database searching for a corresponding file content or directory entry content or file attribute or directory entry attribute from a key value database stored at a server end of the key value database according to the second access request. As compared to the technical solution in the prior art that a POSIX file system accesses metadata layer by layer, the technical solution in the embodiments of the present invention is small in access overhead and high in access efficiency.

Description

Technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a file access method and system. Background technique [0002] In the prior art, a file system similar to Portable Operating System Interface for Unix / Linux (POSIX) includes metadata and data; the metadata part includes file nodes ( inode) information, which composes a specific data structure (such as a multipath search tree, etc.). The data part includes file content. The POSIX file system can provide a POSIX interface to upper-level applications. Each directory and file in the POSIX file system has a corresponding file node (inode). The file node contains information such as the size of the file, creation and modification access time, permission attribution, and the address information of the file content in the data part. For larger files, the distribution of the data part on the file system may be discontinuous, and may be composed of several dif...

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 Patents(China)
IPC IPC(8): G06F17/30
CPCG06F17/30386G06F16/24
Inventor 张敬亮
Owner HUAWEI CLOUD COMPUTING 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