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

Data migration method and apparatus and storage device

A storage device and data storage technology, applied in the field of communications, can solve problems such as low data management efficiency, and achieve the effects of reducing the number of modifications, improving management efficiency, and reducing load

Inactive Publication Date: 2019-02-12
HUAWEI TECH CO LTD
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a data migration method, device and storage device to solve the problem of low data management efficiency in the prior art

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
  • Data migration method and apparatus and storage device
  • Data migration method and apparatus and storage device
  • Data migration method and apparatus and storage device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] A storage device may organize files through a file system, and the file system may be regarded as a method and a data structure used by an operating system of the storage device to specify files on the storage device. In a file system, data can be divided into data files and metadata, where a data file is a file saved on a storage device. Metadata can be regarded as data describing data, and metadata can store information such as the owner, size, permission, time stamp, link, and storage address of the data on the disk of the storage device. The file system can be managed in a tree structure.

[0044] Suppose a file BB.doc is saved in the file system, and the storage location of the file BB.doc is " / AA / BB.doc", then figure 1 For the storage structure of the file BB.doc in the tree structure of the file system, such as figure 1As shown, the first layer of the tree structure, namely the root, is the storage address of the root directory " / ". Furthermore, the second lev...

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 present invention provides a data migration method and apparatus and a storage device. The first data is stored at a first storage address, a first virtual address is recorded in metadata of the first data, and a first mapping relationship is provided between the first storage address and the first virtual address. The method includes: the storage device migrates the first data from the firststorage address to a second storage address; the storage device adjusts the first mapping relationship to a second mapping relationship, the second mapping relationship being a correspondence relationship between the second storage address and the first virtual address. After the first data migration, the method does not need to modify the storage address in the metadata of the first data, therebygreatly improving the management efficiency of the metadata.

Description

technical field [0001] The embodiments of the present application relate to the field of communication technologies, and in particular, to a data migration method, device, and storage device. Background technique [0002] Some electronic devices include storage media that need to be erased first before writing, and these storage media include multiple storage areas. Data is written in the storage area by appending. When the storage addresses in the storage area are filled in order, it may be necessary to perform a garbage collection (garbage collection, GC) process on the storage area. The GC process refers to: when the storage addresses in the storage area are filled in order, if a part of the data in the storage area is deleted, the storage space after the part of the data is deleted due to the remaining data occupying the storage space Unavailable, therefore, the data in the storage area needs to be migrated and the storage area needs to be reset. [0003] In the prior...

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
IPC IPC(8): G06F3/06
CPCG06F3/0604G06F3/0647G06F3/0662
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