Storage space arrangement method and device

A storage space and sorting device technology, applied in the computer field, can solve the problem that empty blocks cannot be used by other programs, and achieve the effect of carrying out defragmentation work and expanding available storage space

Inactive Publication Date: 2019-06-14
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this empty block cannot be used by other programs, so this empty block forms a "fragment"

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0098] 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. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0099] File system defragmentation belongs to the work in the field of disk input / output (Input / Output, referred to as: I / O) performance optimization. From the early third-generation extended file system (Ext3 for short) using indirect block addressing to the current fourth-generation extended file system (Ext4 for short) using the segment tree (English: extents tree) addressing, but ...

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 relates to a storage space arrangement method and device. The method comprises the steps of acquiring a to-be-arranged area in a disk, wherein the to-be-arranged area comprises a use area and an idle area adjacent to the use area, the use area is composed of at least one use section, the idle area is composed of at least one idle section, and each of the use section and the idle section comprises at least one block; determining target moving data in the use area; and moving the target moving data to any idle area to increase the number of blocks included in the idle area where the data is not carried in. The method is applied to a scene with low disk storage and serious fragmentation, and a continuous storage space cannot be found to carry out fragmentation work, and according to the method and the device, the to-be-arranged area consisting of the use area and the two idle areas adjacent to the use area is found, and the target moving data in the use area is moved to theidle areas, so that the continuous available storage space is enlarged, and the fragment arrangement work can be effectively carried out.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a storage space organizing method and device. Background technique [0002] The storage space of the disk is divided into multiple data blocks, and the data area of ​​each data block can store data. When data in a certain data block is deleted, the data block forms an empty block. But this empty block cannot be utilized by other programs, so this empty block has just formed " debris ". Contents of the invention [0003] In order to overcome the problems existing in the related technologies, embodiments of the present disclosure provide a storage space organizing method and device. Described technical scheme is as follows: [0004] According to the first aspect of the embodiments of the present disclosure, there is provided a method for organizing storage space, including: [0005] Obtaining an area to be organized in the disk, the area to be organized include...

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): G06F3/06
Inventor 李晓辉
Owner BEIJING XIAOMI MOBILE SOFTWARE 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