Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, device and storage system for accessing files

A file and file page technology, applied in the computer field, can solve problems such as running overhead of large software and affecting the speed of accessing files.

Active Publication Date: 2020-04-14
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the traditional technology, the file system can only be accessed in the kernel space. When the process wants to access the target file in the file system, it needs to execute the system call, switch from the user space to the kernel space to perform the access of the target file, this way will affect The speed of accessing files will generate a large software running overhead

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0090] The following will clearly describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of them.

[0091] In order to facilitate the understanding of the embodiments of the present invention, several related concepts are first introduced here;

[0092] 1) File system:

[0093] The software used to store and manage file data in an operating system is called a file system. File systems are used to store, organize data, and define access policies for files. The data in the file system is divided into metadata and data, wherein the data refers to the actual data in the ordinary file, and the metadata refers to the system data used to describe the characteristics of a file. Metadata may include, for example, access rights, file owners, distribution information (inodes)...

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

A method, device and storage system for accessing files, the method comprising: receiving a file access request from a process, the file access request including a file identifier; according to a preset first virtual address space and the first virtual address space and storage The first mapping relationship between the first physical address spaces of the file system, accessing the first physical address space; according to the file identifier of the target file, obtaining the index node of the target file in the first physical address space; according to the index node contained in the information of the file page table of the target file, and obtain the file page table of the target file, and the second physical address space of the data page of the target file stored in the first physical address space is recorded in the file page table; according to the second The physical address space to access the object file. It can effectively reduce the software operation overhead of accessing files, and can increase the file access rate at the same time.

Description

technical field [0001] The embodiments of the present invention relate to the field of computers, and more specifically, to a method, device and storage system for accessing files. Background technique [0002] In traditional technology, the file system can only be accessed in the kernel space. When the process wants to access the target file in the file system, it needs to execute the system call, switch from the user space to the kernel space to perform the access of the target file, this way will affect The speed of accessing files will also generate a large software running overhead. [0003] Therefore, it is necessary to propose a method for directly accessing files in user space. Contents of the invention [0004] Embodiments of the present invention provide a method, device and storage system for accessing files, which can realize file access in user space with relatively small software running overhead. [0005] In the first aspect, a method for accessing files i...

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): G06F12/00
CPCG06F3/0643G06F2212/651G06F2212/656G06F16/13G06F3/061G06F3/0679G06F12/1009G06F12/109G06F2212/1024G06F2212/657G06F12/0292G06F12/00
Inventor 朱冠宇徐君于群
Owner HUAWEI TECH CO LTD