File processing method, device and equipment and storage medium

A file processing and file technology, applied in the storage field, can solve the problem of low data reading efficiency, achieve the effects of reducing index operations, improving efficiency and processing files, and ensuring robustness and stability

Inactive Publication Date: 2019-12-20
HANGZHOU HIKVISION SYST TECH
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Embodiments of the present invention provide a file processing method, device, equipment, and storage medium, which can solve the problem of low data reading efficiency in related technologies. The technical solution is as follows:

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
  • File processing method, device and equipment and storage medium
  • File processing method, device and equipment and storage medium
  • File processing method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0077] The technical solutions in the embodiments of the present invention will be clearly and completely described below 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 the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0078] figure 1 is a flowchart of a file processing method provided by an embodiment of the present invention, see figure 1 , the method includes:

[0079] 101. When the file system is initialized, generate an index file, where the index file is used to record the storage location of at least one file in the file system.

[0080] 102. Receive a file reading instruction, where the file reading instruction is used to instruct to read the dat...

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 file processing method, device and equipment and a storage medium, and belongs to the technical field of storage. According to the invention, the index file is introduced; the storage position of each file is recorded, and the storage position of the file can be directly obtained from the index file every time the file is read, so that the data of the file is read from the storage space, a series of index operations in a file system are bypassed, and the data reading efficiency and the file processing efficiency are greatly improved. Moreover, by reducing the index operation, the bottleneck problem caused by the index operation is avoided, and the storage performance and stability of the file system are improved. Furthermore, when the file is damaged or lost, thestorage position of the damaged or lost file can be obtained from the index file, so that the data of the lost or lost file is read, the data loss is avoided, and the robustness and stability of the file system are ensured.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a file processing method, device, equipment and storage medium. Background technique [0002] A file system refers to a system that manages, organizes, and stores a large number of files. After a computer device stores files in the file system, it can process the files in the file system by running the file system, such as reading, writing, and deleting files. documents etc. [0003] Each file in the file system is stored through an index partition and a data partition. The index partition is used to store the metadata of the corresponding file, and the data partition is used to store the data of the corresponding file. In addition, the file system also includes a directory file to record the file name And the mapping relationship between index partition numbers. At present, when various processes are performed on files in the file system, a series of indexing operations need ...

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): G06F16/13
CPCG06F16/13
Inventor 叶敏林鹏林起芊汪渭春
Owner HANGZHOU HIKVISION SYST TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products