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

A file creation method and file management device

A file creation and file management technology, applied in the field of file creation methods and file management devices, can solve the problems of reducing the file system creation speed and the like

Active Publication Date: 2022-05-13
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the speed at which the file system creates files will be greatly reduced

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
  • A file creation method and file management device
  • A file creation method and file management device
  • A file creation method and file management device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The technical solutions in the embodiments of the present invention will be described in detail below with reference to the drawings in the embodiments of the present invention.

[0049] The file system is a system responsible for managing files in the operating system of the server, including creating files, deleting files, and managing file information. In the file system, metadata (Meta Data) is data related to the real data of the file, such as: data used to describe the attributes of the real data of the file, data indicating the storage location of the real data, and the like. Usually, a certain storage area (which can be called metadata storage space) is reserved in the hard disk to store metadata of files. At the same time, each file can be marked by an object number, and an object number can be uniquely indexed to one of the above storage areas. storage area. Therefore, during the file allocation process, the object number of the file needs to be considered. ...

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

Embodiments of the present invention provide a file creation method and a file management device, which relate to the field of computer storage, can quickly complete the allocation of object numbers when creating files, and improve the speed of file creation in a file system. Including: the server receives a file creation instruction, and the file creation instruction is used to instruct the server to create a target file; obtain the object number to be allocated and the maximum object number that can be allocated from the memory of the server; when the object number to be allocated When it is less than the maximum assignable object number, allocate a target object number for the target file, the target object number is equal to the object number to be allocated, and the target object number is used to identify the storage of the metadata of the target file area: writing the metadata of the target file into the storage area identified by the target object number.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer storage, and in particular, to a file creation method and a file management device. Background technique [0002] In a file system, a file is usually identified by an object number, and at the same time, the object number can identify a storage area of ​​metadata of the file. Therefore, the file system can find the metadata of the file through the object number, and then can find the real data of the file according to the metadata of the file. When creating a file, it is necessary to assign an object number to the file, and then store the metadata of the file in the storage area identified by the object number. When deleting a file, the object number of the file needs to be released, and the metadata stored in the storage area identified by the file object number needs to be deleted. [0003] In the prior art, a bitmap is stored in the hard disk to record whether the object numb...

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): G06F16/16G06F16/172
CPCG06F16/164G06F16/162G06F16/172
Inventor 翁宇佳
Owner HUAWEI TECH CO LTD