Method and system of achieving data copying of solid-state hard disk FTL and solid-state hard disk

A technology of solid-state hard disk and data copy, applied in the input/output process of data processing, memory system, electrical digital data processing, etc., can solve the waste of solid-state hard disk read and write bandwidth and CPU time, reduce the performance of solid-state hard disk, solid-state hard disk Shorten the service life and other issues, to achieve the effect of improving data reliability, prolonging service life, and reducing write operations

CN107391391AActive Publication Date: 2017-11-24SHENZHEN DAPU MICROELECTRONICS CO LTD
14 Cites 12 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2017-11-24

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a method and system of achieving data copying of solid-state hard disk FTL and a solid-state hard disk. The method comprises the steps of maintaining an address mapping list from a logical address LA to a physical address PA; maintaining an array or linked list of the physical address PAdest which becomes a destination of a copy, forming a reverse address mapping list from the mapping of the physical address PAdest to multiple logical address LAi, and maintaining the reverse address mapping list; receiving a copy-free copy command sent by a software to the solid-state hard disk, wherein the copy-free copy command includes a source logical address LAsrc of the copy, a destination logical address LAdest, and the number of data blocks which need to be copied; modifying the address mapping list and the reverse address mapping list based on a copy-free command, directing the destination logical address LAdest to the physical address to which the source logical address LAsrc is mapped, and completing the copy-free copying of the data. According to the method and system of achieving the data copying of solid-state hard disk FTL, unnecessary writing operations in the solid-state hard disk can be greatly reduced, the copying time is reduced, the service life of the solid-state hard disk is prolonged, and data reliability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of solid-state hard disks, in particular to a method, a system and a solid-state hard disk for realizing data copying in the FTL of the solid-state hard disk. Background technique

[0002] The FTL (Flash translation layer) of solid state drives (Solid State Drives, SSD) is the design core of solid state drives. The current FTL in solid state drives does not support the implementation of internal data copy commands, let alone zero data copy. It only directly supports basic commands such as READ, WRITE, and TRIM. Correspondingly, it only implements basic functions such as address mapping, garbage collection, data reading and writing, and wear balance.

[0003] Existing solid-state drives cannot meet the data replication requirements of existing applications and system programs, and require the CPU and memory on the host to participate in the physical copying of data, including the actual reading from and writi...

Examples

Embodiment Construction

[0036] In order to make the technical problems solved by the present invention, the technical solutions adopted and the technical effects achieved clearer, the technical solutions of the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only the technical solutions of the present invention. Some, but not all, embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

[0037] Attached below Figure 1~2 A method for implementing data copy in the FTL of the solid state disk provided by the embodiment of the present invention is further described in detail. Please refer to figure 1 , which is a method flow chart of the first embodiment of a method for implementing data copy in the FTL of the solid-state disk provided ...