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

Disk volume clustering method and device and electronic equipment

A disk volume and target cluster technology, applied in the direction of electrical digital data processing, input/output process of data processing, instruments, etc., can solve the problem of low efficiency of changing clusters

Active Publication Date: 2021-08-13
CHENGDU YIWO TECH DEV CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present application provides a method, device and electronic equipment for changing clusters of disk volumes, so as to solve the technical problem of low clustering efficiency in the prior art, as follows:

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 volume clustering method and device and electronic equipment
  • Disk volume clustering method and device and electronic equipment
  • Disk volume clustering method and device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] The inventor of the present application found when studying the cluster change scheme of the disk volume: in the implementation of the cluster change, the method of copying is usually used to copy the content of the disk volume to the free space of the disk volume in the format of the cluster change, and then Rebuild meta information, that is, manage data information, to achieve the effect of changing clusters. But this method has the following defects:

[0067] First of all, there are requirements for disk space usage: if the free space of the disk volume is not enough to move data, the operation cannot be performed, and this judgment is sometimes only discovered during the operation, resulting in data loss.

[0068] The most important thing is that the efficiency of changing clusters is low: since all content needs to be copied, and copying cannot be performed in continuous space, the entire operation is inefficient.

[0069] In view of this, the inventor of the pres...

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 volume clustering method and device and electronic equipment. The method comprises the steps of obtaining a data operation set of each file in a disk volume, wherein the data operation set of the file comprises at least one piece of data operation information, and the data operation information corresponds to a physical sector count, a virtual sector count and a sector length, and the disk volume takes the number of sectors of the first numerical value as a current cluster; at least marking the data operation information in the data operation set as a first set or a second set at least according to the number of sectors of a second numerical value in the target cluster, wherein the physical sector count and the virtual sector count of the data operation information corresponding to the first set are exactly divided by a second numerical value, and the physical sector count or the virtual sector count of the data operation information corresponding to the second set cannot be exactly divided by the second numerical value; and moving the sector corresponding to the data operation information corresponding to the second set, so that the moved file is stored in the disk volume according to the target cluster.

Description

technical field [0001] The present application relates to the technical field of disk storage, in particular to a method, device and electronic equipment for changing disk volumes into clusters. Background technique [0002] In disk space, files are stored in clusters as the basic unit, and the size of a cluster is related to the specifications of the disk. For example, each cluster of a floppy disk usually has one sector, and the number of sectors per cluster of a hard disk is related to the total capacity of the hard disk, which may be 4 sectors or 64 sectors, and so on. Users who need to optimize the use of disk space will want to: adjust the clusters in the specified volume to the optimal size without data loss, that is, change clusters. [0003] In the current cluster change scheme, the copy method is usually used to copy the files in the specified volume to the free space of the current volume in the format of cluster change, and then rebuild the meta information of t...

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/061G06F3/0644
Inventor 谢蜀岷
Owner CHENGDU YIWO TECH DEV CO LTD