The present invention relates to a storage device, and more particularly to a storage device and an address-corresponding method, a data-accessing method and an identifying and accessing method thereof.
With growing of the human civilization, science, technology and modernization, the development of data storage approaches mature and perfect. A variety of storage devices are developed for storing data. In recent years, solid-state disks (SSDs) play an important role in the industry.
In general, A SSD can be a 2.5 inches disk, a small module or a small chip. The usage of SSD is gradually increased for replacing the conventional hard-disk drive (HDD). Since SSD significantly exceeds HDD in transfer speed, a volatile memory, such as a double data rate synchronous dynamic random access memory (DDR SDRAM), is utilized for increasing the instant transfer speed in the hardware and firmware design of SSD. Therefore, the accessing speed of random data is relatively enhanced.
However, the volatile memory of SSD is usually not completely utilized. A portion of the storage space is often idle that wastes a lot of performance of SSD. Additionally, the limitation of write times of SSD is stricter than the one of HDD. Under this circumstance, when the producer or the user wants to utilize the idle portion of the storage space for data temporary storing, the lifetime of SSD is decreased due to the characteristics of the corresponding relationship between the volatile memory and the flash memory of SSD.
Therefore, there is a need of providing an improved storage device and an improved address-corresponding method, an improved data-accessing method and an improved identifying and accessing method thereof in order to overcome the above drawbacks.
The present invention provides a storage device and an address-corresponding method, a data-accessing method and an identifying and accessing method thereof in order to overcome the above-mentioned drawbacks encountered by the prior arts.
The present invention provides a storage device and an address-corresponding method, a data-accessing method and an identifying and accessing method thereof. By using the second storage region of the first storage module as a data temporary storing region, the storage modules are effectively utilized, and the lifetime decrease of the storage device is avoided.
The present invention provides a storage device and an address-corresponding method, a data-accessing method and an identifying and accessing method thereof. Since the first storage region and the second storage region are respectively corresponding to the first address segment and the second address segment of the logical block address of the host, the first storage region or the second storage region is selectively utilized as the data temporary storing region, or the second storage module or the second storage region is selectively accessed to implement the data accessing.
In accordance with an aspect of the present invention, there is provided a storage device. The storage device includes a control module, a first storage module and a second storage module. The first storage module having a first storage region and a second storage region is connected with the control module. The second storage module is connected with the control module. To-be-accessed data are stored and read in the first storage region or the second storage region of the first storage module by the control module. The to-be-accessed data stored and read in the first storage region are correspondingly stored and read in the second storage module by the control module.
In accordance with another aspect of the present invention, there is provided an address-corresponding method. The address-corresponding method includes steps of providing a storage device, which includes a first storage module having a first storage region and a second storage region and a second storage module, and a host, connecting the storage device and the host, corresponding the first storage region and the second storage region to a first address segment and a second address segment of a logical block address of the host, and corresponding the first address segment of the logical block address to a physical block address of the host.
In accordance with another aspect of the present invention, there is provided a data-accessing method. The data-accessing method includes steps of providing a storage device, which includes a first storage module having a first storage region and a second storage region and a second storage module, and a host, connecting the storage device and the host, determining if to-be-accessed data are required to be accessed in the second storage module, and when the result is true, the first storage region is utilized as a data temporary storing region, and when the result is false, the second storage region is utilized as the data temporary storing region, so that the data accessing is implemented.
In accordance with another aspect of the present invention, there is provided an identifying and accessing method. The identifying and accessing method includes steps of providing a storage device, which includes a first storage module having a first storage region and a second storage region and a second storage module, and a host, connecting the storage device and the host, allowing the host to identify the second storage module and the second storage region of the first storage module as a first storage space and a second storage space, and selectively accessing the first storage space or the second storage space to implement the data accessing.
The above contents of the present invention will become more readily apparent to those ordinarily skilled in the art after reviewing the following detailed description and accompanying drawings, in which:
The present invention will now be described more specifically with reference to the following embodiments. It is to be noted that the following descriptions of preferred embodiments of this invention are presented herein for purpose of illustration and description only. It is not intended to be exhaustive or to be limited to the precise form disclosed.
Please refer to
In this embodiment, the storage device 1 further includes a first transmission module 13, and the host 2 includes a second transmission module 21. The connection between the storage device 1 and the host 2 is implemented through the connection of the first transmission module 13 and the second transmission module 21, but not limited thereto. Moreover, the first transmission module 13 is matched with the second transmission module 21, and the first transmission module 13 is connected with the second transmission module 21 through a peripheral component interconnect express (PCI-E) technology or a serial advanced technology attachment (SATA) technology.
In some embodiments, the first storage module 11 of the storage device 1 further has a firmware code execution region 113 and a flash translation layer 114 for executing a firmware code or updating the firmware, and transforming or translating the flash memory, respectively.
Please refer to
Please refer to
Please refer to
From the above descriptions, the present invention provides a storage device and an address-corresponding method, a data-accessing method and an identifying and accessing method thereof. By using the second storage region of the first storage module as a data temporary storing region, the storage modules are effectively utilized, and the lifetime decrease of the storage device is avoided. Meanwhile, since the first storage region and the second storage region are respectively corresponding to the first address segment and the second address segment of the logical block address of the host, the first storage region or the second storage region is selectively utilized as the data temporary storing region, or the second storage module or the second storage region is selectively accessed to implement the data accessing.
While the invention has been described in terms of what is presently considered to be the most practical and preferred embodiments, it is to be understood that the invention needs not be limited to the disclosed embodiment. On the contrary, it is intended to cover various modifications and similar arrangements included within the spirit and scope of the appended claims which are to be accorded with the broadest interpretation so as to encompass all such modifications and similar structures.
Number | Date | Country | Kind |
---|---|---|---|
103121656 | Jun 2014 | TW | national |