Storage space management method and device and server

A storage space and space management technology, applied in the field of communication, can solve the problems of time-out retry, application failure, inability to apply for the local file system, etc., to improve read and write performance and avoid disk fragmentation.

Pending Publication Date: 2021-08-24
XINHUASAN INFORMATION TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When users need to write continuous large blocks of data to the disk (such as voice call records, etc.), a large number of disk fragments make it impossible for the local file system to apply for a complete disk space to store large blocks of data, res

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
  • Storage space management method and device and server
  • Storage space management method and device and server
  • Storage space management method and device and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. Embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this specification.

[0038] This application provides a storage space management method, such as figure 1 shown, including:

[0039] S100. According to the first configuration file and the second configuration file respectively, divide the metadata area and the data area in the storage space of the disk.

[0040] A server (also called a storage device) in a data center may be provided with a processor, a memory, and a machine-readable storage medium. Generally speaking, the machine-readable storage medium may be a disk, and the server may store data on the dis...

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 provides a storage space management method and device and a server, and relates to the technical field of communication. The storage space management method comprises the following steps: dividing a metadata area and a data area in a storage space of a disk according to a first configuration file and a second configuration file respectively; organizing the storage space in the metadata area into a plurality of first data blocks according to the first configuration file, and generating a first space management tree; organizing the storage space in the data area into a plurality of second data blocks according to the second configuration file, and generating a second space management tree; and when information is written into the disk, selecting an idle data block from the metadata area or the data area according to a tree identifier carried in the data block application, and writing the information to be written into the selected data block. Through the method, the read-write performance and reliability of a local file system of the server can be improved.

Description

technical field [0001] This specification relates to the technical field of communications, and in particular to a storage space management method, device, and server. Background technique [0002] With the development of high-definition video, image processing, video surveillance and other technologies, the capacity of data stored by users is becoming larger and larger, and the requirements of users for the read and write performance of data in the file system are also increasing simultaneously. Therefore, low read and write performance will increase the delay for users to write data or read data, reduce the friendliness of the file system, and affect the advancement of dataization. [0003] The local file system, as a component of the distributed storage file system, directly manages the storage space of the local disk. When managing the disk, the storage space will be divided into data blocks of the same size. When a data block is written into information, the occupied d...

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
IPC IPC(8): G06F3/06
CPCG06F3/0644G06F3/0629G06F3/064G06F3/0614G06F3/061
Inventor 刘浩
Owner XINHUASAN INFORMATION 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