Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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.

Active Publication Date: 2021-03-30
NUBIA TECHNOLOGY CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] 1. Use mobile phone housekeeper software to clean up garbage; but this method can only delete some files on the mobile phone
[0006] 2. Uninstall unused applications; this solution can only delete files, and it is easy to delete them incompletely
[0007] 3. Format the mobile phone; this method requires the user to back up data and reinstall the software. The user operation is cumbersome, wasting time and traffic, and after the mobile phone is formatted and used for a period of time, the mobile phone will generally have a large number of disk fragments and freezes again.
[0008] Therefore, in the prior art, terminals such as mobile phones lack an automated disk defragmentation method, which can efficiently complete disk defragmentation, avoid an increase in the degree of disk fragmentation on the terminal, and further avoid stalls caused by disk fragmentation

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
  • Disk defragmentation method, terminal and computer-readable storage medium
  • Disk defragmentation method, terminal and computer-readable storage medium
  • Disk defragmentation method, terminal and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0080] In order to solve the problem that terminals in the prior art have many discontinuous areas on the disk due to frequent, large-scale generation and large-scale deletion of files, and finally generate a large number of disk fragments, which are all stuck in terminals such as mobile phones, this embodiment proposes A disk defragmentation method is proposed, which can reduce the occurrence of disk fragments to a certain extent and reduce the degree of disk fragmentation, so as to avoid the imagination of mobile phones caused by terminal fragmentation and distribution, and improve user experience.

[0081] Such as image 3 As shown, the defragmentation method of the present embodiment includes:

[0082] S301. Obtain the current storage situation of the file to be moved on the disk, and determine the degree of data storage concentration of the file to be moved according to the current storage method according to the storage situation.

[0083] The terminals to which the dis...

no. 2 example

[0138] Combine below Figure 5 A specific method for defragmenting a disk in this embodiment is described in detail with an example.

[0139] Such as Figure 5 As shown, the defragmentation method of the present embodiment includes:

[0140] S501. When the terminal is charging with the screen off, trigger data update to complete the data update.

[0141] In S501, updating of materials and data includes but not limited to updating of file path, updating of user information and so on.

[0142] S502. Determine deletable files according to the management application on the mobile phone.

[0143] In this step, the terminal obtains the data deleted in each management application and the path of each deleted data, and regards the data deleted by the management application as deletable data. For example, if the mobile phone housekeeper deletes the QQ cache, then in S502, it is determined that the QQ cache is deletable data.

[0144] S503. Execute an automatic garbage cleaning fun...

no. 3 example

[0168] Such as Figure 6 As shown, this embodiment proposes a terminal, which includes a processor 61, a memory 62, and a communication bus 63;

[0169] The communication bus 63 is used to realize connection and communication between the processor 61 and the memory 62;

[0170] The processor 61 is used to execute one or more programs stored in the memory 62, so as to realize the steps of the disk defragmentation method in the first embodiment or the second embodiment:

[0171] This embodiment also proposes a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, and one or more programs can be executed by one or more processors, so as to implement the method described in the first embodiment or Steps of the method for defragmenting disks in the second embodiment.

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 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.

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/06
CPCG06F3/061G06F3/064G06F3/0646
Inventor 李军
Owner NUBIA TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products