Computer and file processing method used in same

A file processing and computer technology, applied in the field of communications, can solve problems such as low efficiency, increased fragmentation, and the need for regular execution, so as to increase disk life, reduce fragmentation problems, and improve system performance.

Inactive Publication Date: 2009-10-07
LENOVO (BEIJING) CO LTD
View PDF0 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantages of this solution are: it can only target the entire logical disk; it needs to be executed regularly; it is inefficient, and each time it will traverse the entire disk to judge; and frequent execution will affect the life of the hard disk
The disadvantages of this solution are: it will increase the fragmentation of other disks; it will affect the read and write speed of files on other disks; users rarely use it; leading to a decrease in read and write performance

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
  • Computer and file processing method used in same
  • Computer and file processing method used in same

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] The embodiment of the present invention solves the problem of system performance degradation caused by disk fragments. Specifically, in an embodiment of the present invention, a new hard disk is added to the computer (preferably a hard disk with a smaller capacity and faster speed, such as a solid-state disk); the directory that is prone to fragmentation after the system is stabilized is taken over at the driver layer; Map these taken over directories to faster hard disks for file operations; and defragment higher-speed hard disks according to a certain strategy or not (for example, solid-state drives do not need to be defragmented).

[0024] figure 1 is a flowchart of a file processing method according to an embodiment of the present invention. Such as figure 1 As shown, the method includes the following steps: S102, when a new file is created, judge whether the created new file belongs to a file type that should be in a specific file directory; and S104, if yes, sto...

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 computer and a file processing method used in the same, wherein the computer comprises a first hard disk and a second hard disk, both of which are mutually independent based on physics; the computer also comprises a type judging unit and a memory executing unit; if a new file is created, the type judging unit is used for judging whether the file style of the new file belongs to the preset file style under a preset file directory or not and generating a first judging result; and the memory executing unit is used for saving the new file to the first hard disk under the condition that the first judging result is yes and saving the new file to the second hard disk under the condition that the first judging result is no. The computer saves all files which are easy to produce fragments to the new hard disk of a system hard disk different from a computer system, thereby reducing the fragment problem of the system hard disk and improving the system performance.

Description

technical field [0001] The present invention relates to the communication field, and more specifically relates to a computer and a file processing method used in the computer system. Background technique [0002] In a computer system, when the system or users add, delete, or modify files, disk fragments will slowly occur on the disk. If the fragments cannot be cleaned up in time, there will be more and more fragments, which will lead to slower and slower disk read and write speeds, and ultimately affect system performance and disk life. Analyzing the generation of disk fragments, it is not difficult to see that frequent creation, deletion, and modification of disk files are the main reasons for disk fragmentation. If the operating system is further analyzed, it can be seen that after the software installation of a system is stable, the frequent creation, deletion, and modification of disk files are regular, that is, they are mainly concentrated in user-related file director...

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): G06F17/30
Inventor 罗应文张驰李震海吴登峰
Owner LENOVO (BEIJING) 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