Disk defragmentation method, terminal and computer-readable storage medium

A technology of disk fragmentation and disk, which is applied in the field of terminals and computer-readable storage media, and the field of disk defragmentation method, which can solve the problems of cumbersome user operations, increased degree of computerization, and freezes, etc.
CN107885458BActive Publication Date: 2021-03-30NUBIA TECHNOLOGY CO LTD

Patent Information

Authority / Receiving Office
CN ยท China
Patent Type
Patents(China)
Current Assignee / Owner
NUBIA TECHNOLOGY CO LTD
Publication Date
2021-03-30

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a disk fragment arranging method, a terminal and a computer readable storage medium. The method includes the steps of obtaining the data storage concentration degree of to-be-moved documents on a magnetic disk during current storage; selecting at least one unoccupied block in current unoccupied blocks of the magnetic disk to form at least one area where the documents are going to be stored, wherein the size of the areas where the documents are going to be stored is not smaller than the size of the to-be-moved documents; filling one of the areas where the documents are going to be stored with the to-be-moved documents when the to-be-moved documents are stored in the areas where the documents are going to be stored and the data storage concentration degree is higher than that of the to-be-moved documents stored in the current storage mode, thereby achieving automatic arranging of disk fragments. The disk fragmentation degree can be reduced through migration of theto-be-moved documents, the data storage concentration degree in the magnetic disk is increased, the increase of the disk fragments can be easily reduced, and the probability of getting stuck caused by the disk fragments is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present invention relates to the technical field of terminals, and more specifically, to a disk defragmentation method, a terminal and a computer-readable storage medium. Background technique

[0002] With the development of smart phones, mobile phones have become an indispensable part of people's daily life. In the process of frequent use of mobile phones, people often encounter the problem that the more the mobile phone is used, the more it freezes.

[0003] One of the reasons for mobile phone freezing is that the applications on the mobile phone will frequently generate and delete temporary files in large numbers, resulting in many discontinuous blocks, resulting in more and more frequent access to system files for subsequent large files. There are more and more file fragments, which can easily cause fragmented distribution. However, each cell of a memory such as Flash has a life limit for the number of writes. If redefragmenting the disk every...

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