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

Automatic correcting method and device for aligning storage device addresses

A storage device and automatic correction technology, applied in the direction of memory address/allocation/relocation, etc., can solve problems such as poor usability and manual execution

Active Publication Date: 2015-03-25
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF4 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the above problems, the present invention proposes an automatic correction method and device for address alignment of storage devices, which can solve the problems existing in existing storage device alignment correction solutions that require reconfiguration of upper-layer applications, need for manual execution, and poor usability. shortcoming

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
  • Automatic correcting method and device for aligning storage device addresses
  • Automatic correcting method and device for aligning storage device addresses
  • Automatic correcting method and device for aligning storage device addresses

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to facilitate the understanding of those skilled in the art, the present invention will be further described below in conjunction with the accompanying drawings, which cannot be used to limit the protection scope of the present invention.

[0049] The present invention proposes an automatic correction method for address alignment of storage devices, such as figure 1 As shown, the method includes:

[0050] The access request received by the storage device is detected through the mapping table. If the logical address of the access request is detected to be an unaligned access address, the unaligned access address is corrected and aligned according to the offset recorded in the mapping table. If not If it is detected that the logical address of the access request is an unaligned access address, the logical address of the access request is stored in the logical address statistics cache.

[0051] When the number of entries in the logical address statistical buffer ...

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 an automatic correcting method and device for aligning storage device addresses. The method includes the steps that the logic address of an access request is detected to be an unaligned access address through a mapping table, correction alignment operation is performed on the unaligned access address according to offset recorded in the mapping table, and if the logic address of the access request is not detected to be the unaligned access address, the logic address is saved in a logic address statistic cache. When the number of items in the cache reaches the upper limit, the migration process is executed; unaligned access address fields not detected by the mapping table are judged, the mapping relation between the logic address and a physical address is established and added in the items of the mapping table, and the unaligned access address fields are aligned; data in the physical address corresponding to the logic address of the aligned access request are read. Due to the scheme, the defects that in an existing alignment scheme, an upper application needs to be reconfigured, execution is performed manually, and usability is poor are overcome.

Description

technical field [0001] The invention relates to the field of computer data storage, in particular to an automatic correction method and device for address alignment of a storage device. Background technique [0002] As the capacity of computer data storage systems continues to increase, the way underlying storage devices manage capacity is also constantly changing. [0003] The physical block size of traditional mechanical hard disk is 512 bytes, while the physical block size of newer storage devices such as mechanical hard disk using advanced formatting technology is 4096 bytes, and the physical block size of solid-state hard disk is generally 4096 bytes-16384 bytes . When the computer system is designed for a traditional mechanical hard disk, the computer system cannot correctly identify the physical block size, and the address of each access request to the storage device may not be aligned with the starting address of the physical block of the storage device. When non-a...

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): G06F12/06
Inventor 徐旸刘友生张延枫张书宁吴庆民
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
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