Unlock instant, AI-driven research and patent intelligence for your innovation.

Hard disk data management method and hard disk control device

A technology for hard disk control and data management, applied in the field of data processing, can solve problems such as a large number of hard disk fragments, and achieve the effect of improving management efficiency and avoiding or reducing the generation of hard disk fragments.

Active Publication Date: 2019-10-25
HUAWEI TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This will release a large amount of data, resulting in a large amount of fragmentation on the hard 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
  • Hard disk data management method and hard disk control device
  • Hard disk data management method and hard disk control device
  • Hard disk data management method and hard disk control device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

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

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

[0060] Before the hard disk data management system writes data to the hard disk, write the data to the memory that is used as a cache device first. If the hard disk data management system judges that the data is hot data, the hot data is stored on the hard disk and then preset After the number of modificat...

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 hard disk data management method and a hard disk control device. Background technique [0002] For ordinary mechanical hard disks, because they rely on mechanically rotating the hard disk and moving the magnetic head to position the reading and writing position, sequential reading and writing of the hard disk is the most ideal reading and writing model. If the hard disk space is fragmented, continuous space cannot be allocated when writing data, resulting in severe head vibration. 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 hard disk file systems are trying their best to avoid creating a large amount of fragmented space, but fragmentation is still unavoidable. [0004] For e...

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/0604G06F3/064G06F3/0643G06F3/0674
Inventor 丁敬文
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More