File allocation method and storage equipment

A file allocation and storage device technology, applied in the direction of file system, file system management, special data processing applications, etc., can solve the problems of storage files and storage device space waste

Pending Publication Date: 2020-05-19
GUIZHOU LANSENT TECH CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the existing technology writes the cluster chain relationship of stored files in FAT, which improves the read and write efficiency of the disk, but after the file system allocates files, the number of remaining clusters in the partition is changed to 0, and the file system cannot be transferred to the partition. Files are stored in the storage device, resulting in a waste of space on the storage device

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 allocation method and storage equipment
  • File allocation method and storage equipment
  • File allocation method and storage equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The following will clearly and completely 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 only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0028] It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used for example, illustration or description. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention shall not be construed as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "such as" is ...

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 embodiment of the invention provides a file allocation method and storage equipment, relates to the field of file systems, and waste of the storage space of the storage equipment can be avoided. The method comprises the steps of obtaining an initial cluster number; wherein the initial cluster number is used for indicating a first cluster for storing the target file in the storage equipment; determining a cluster number occupied by the target file in the storage equipment according to the initial cluster number and the size of the target file; writing the cluster number occupied by the target file into the FAT, and identifying the first cluster as an end cluster of the target file; wherein the first cluster is the last cluster occupied by the target file in the storage equipment. The method is used for distributing files to the storage equipment.

Description

technical field [0001] The invention relates to the field of file systems, in particular to a file distribution method and a storage device. Background technique [0002] In a computer, the software responsible for managing and storing file information in the operating system is called a file management system (or file system). The operating system manages files on the storage device through the file management system, such as writing files, reading files, etc. . A file allocation table (file allocation table, FAT) file system is often used as a file system of a storage device by different operating systems due to its superior compatibility. Due to the development of storage devices, the capacity of storage devices has increased year by year, and the FAT file system gradually takes the 32-bit file allocation table area as the mainstream, referred to as the FAT32 file system. [0003] In the prior art, the file system writes the cluster chain relationship of the stored file...

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/11
CPCG06F16/11
Inventor 令狐克珺
Owner GUIZHOU LANSENT TECH CO LTD
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