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

Disk data management method and disk control device

A disk control and data management technology, applied in the field of data processing, can solve problems such as a large number of disk fragmentation, improve management efficiency, avoid or reduce the effect of disk fragmentation

Active Publication Date: 2017-03-15
HUAWEI TECH CO LTD
View PDF5 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This will release a lot of data, resulting in a lot of fragmentation on the disk

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 data management method and disk control device
  • Disk data management method and disk control device
  • Disk data management method and disk control device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] Embodiments of the present invention provide a disk data management method and a disk control device for efficient management of fragments on a disk.

[0058] 1. The implementation environment involved in the disk data management method of the embodiment of the present invention

[0059] A kind of disk data management system of the embodiment of the present invention, this disk data management system comprises disk, memory, and this memory can be used as cache device, and this disk is divided into data area Date zone and log area Journal zone, wherein this log area uses log way to manage the data on it.

[0060] Before the disk data management system writes data to the disk, write the data to the memory that is used as a cache device first. If the disk data management system determines that the data is hot data, the hot data is stored on the disk and then preset The number of times of modification and release can cause the disk to generate a preset amount of fragmented...

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 embodiment of the invention discloses a disk data management method and a disk control device, which are used for efficiently managing a fragment on a disk. The disk data management method disclosed by the embodiment of the invention is applied to the disk control device that comprises a disk, wherein the disk comprises a data area and a log area. The method comprises the following steps: writing data in a buffer memory; judging whether the data is hot spot data, wherein the hot spot data, after stored in the disk, is the data that can make the disk generate fragments of which the number is preset after the preset number of times is amended and released; if the data is not the hot spot data, then allocating a data area space for the data in the data area, and writing the data into the data area space; if the data is hot spot data, then allocating a log area space for the data in the log area, and writing the data into the log area space. By storing different types of data at different areas in the disk and managing in different ways, the efficiency for managing the fragment on the disk can be improved, and the high-efficiency management for the disk fragment in the log area can reduce the generation of the disk fragment.

Description

technical field [0001] The invention relates to the field of data processing, in particular to a disk data management method and a disk control device. Background technique [0002] For ordinary mechanical hard disks, because they rely on mechanically rotating disks and moving magnetic heads to position the reading and writing positions, sequential reading and writing of hard disks is the most ideal reading and writing model. If the disk space is fragmented, continuous space cannot be allocated when writing data, resulting in severe head jitter. The main time of data transmission is spent on positioning tracks and sectors, leaving little time for data transmission. Because the data of the file is relatively discrete, the efficiency of reading these files is also low. [0003] Therefore, most disk file systems are trying their best to avoid creating a large amount of fragmented space, but fragmentation is still unavoidable. [0004] For example, using the COW mechanism can ...

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
CPCG06F3/0604G06F3/064G06F3/0643G06F3/0674
Inventor 丁敬文
Owner HUAWEI TECH 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