This application claims priority from European patent application No. 04425643.6, filed Aug. 30, 2004, which is incorporated herein by reference.
The present invention relates to an embedded storage device with integrated data-management functions and to a storage system incorporating it.
As is known, many consumer electronic devices, such as, for example, cellphones, digital photocameras, readers of audio files in MP3 format, etc., are equipped with storage media operating as normal disk drives and storing the data as files.
As illustrated in
The fundamental difference between the embedded storage device 3 and the removable storage device 4 is represented by the fact that, whereas the former is basically constituted by a simple array of addressable memory cells, the latter has a more complex architecture and basically comprises an interface 8, an internal data manager 9, and a memory 10. For both of the storage devices, the memory is generally of a writeable and electrically erasable non-volatile type, in the majority of cases of a flash type. This type of memory, in fact, affords short access times, high storage capacity, low power consumption, and a great versatility of use, combined with contained costs.
The controller 2 is basically made up of a microprocessor 14 which supervises operation of the controller 2; an embedded memory interface 16; a removable memory interface 17; and a data manager 15, operatively connected to the embedded memory interface 16. The controller 2 further comprises a data bus 18, which is connected to the microprocessor 14, to the data manager 15, to the embedded memory interface 16, and to the removable memory interface 17, and enables transfer of data and control signals.
The main task of the data manager 15 is to define a logic map of the embedded storage device 3 and to determine its evolution in time, so as to allow the user to perform the desired functions irrespective of the knowledge of the structure and of the physical characteristics of the embedded storage device 3. In particular, in embedded flash storage devices, the data manager is known by the name of “Flash Translation Layer” (FTL) and supplies a high-level abstraction of the physical organization of the flash storage device, emulating the typical block structure of a disk drive, i.e., causing the flash storage device to appear from the outside as a vector of contiguous memory blocks. The FTL in particular enables rewriting of memory sectors (as occurs, for example, in hard disks), re-addressing the data towards other memory locations and marking as occupied the previously occupied sectors. When necessary, the FTL then frees part of the memory previously marked as invalid to enable writing of new data.
The storage system 1 illustrated in
In particular, when a plurality of different embedded storage devices 3 is envisaged, the controller 2 must be provided with more specific embedded-memory interfaces 16, one for each embedded storage device 3, or else it must be provided with a single interface compatible with the different types of embedded memory 3. In the first case, the storage system 1 has the disadvantage of involving high production costs, because of the plurality of embedded-memory interfaces 16, whereas in the second case the single interface cannot be optimized as to performance for all the embedded storage devices 3, and moreover there always exists the risk that a new embedded storage device 3 will not be compatible with a pre-existing interface.
Furthermore, the storage system 1 comprises two data managers 9, 15, one in the removable storage device 4 and one in the controller 2. This can give rise to different levels of reliability of the data on account of the possible different management of the data in the embedded memory 3 as compared to the data management in the removable memory 4.
In addition, the presence of different memory interfaces in the controller 2 involves an additional workload for the microprocessor 14 of the controller 2, which must manage the accesses to the various storage devices in different ways, according to the type of interface, at the expense of the performance of the storage system 1.
Finally, in a storage system of the type illustrated in
There is a need to provide an embedded storage device and a storage system that overcomes the limits and problems highlighted with reference to the prior art.
A storage system for an electronic device includes an embedded storage device, a controller configured for supervising writing and reading operations in the embedded storage device, and a data manager configured for providing a high-level abstraction of the physical organization of the embedded storage device through the definition of an own logic map. The data manager is external to the controller.
For a better understanding of the present invention, some preferred embodiments are now described, purely by way of non-limiting example, with reference to the attached drawings, wherein:
The following discussion is presented to enable a person skilled in the art to make and use the invention. Various modifications to the embodiments will be readily apparent to those skilled in the art, and the generic principles herein may be applied to other embodiments and applications without departing from the spirit and scope of the present invention. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.
The embedded storage device 23 is connected to the electronic device 27 in a non-removable way. In particular, the embedded storage device 23 and the controller 21 are provided in a same chip 22, represented schematically in
The removable storage device 24, for example a memory card, is instead removable from the electronic device 27, and, in a known way, may be housed in a purposely provided slot 28. The slot 28 has, inside, appropriate electrical contacts designed to interface with corresponding electrical contacts carried by the removable storage device 24. Conductive tracks 29 provided on the printed circuit 26 connect the removable storage device 24, when housed in the slot 28, to the controller 21.
The storage system 20 further comprises connections 30, designed to connect the controller 21 to other parts (not shown) of the electronic device 27.
In greater detail, the controller 21 comprises a microprocessor 31, which supervises operation of the controller 21, and a single interface 33, which communicates with the microprocessor 31 through an internal data bus 32. It should be emphasized that the controller 21 is not equipped with a data-management function, and a single interface 33 operates for the embedded storage device 23 and the removable storage device 24.
According to one embodiment of the invention, the embedded storage device 23 and the removable storage device 24 have a similar architecture, and in particular are both provided with an integrated data-management function.
In detail, the embedded storage device 23 and the removable storage device 24 comprise an interface 35, a data manager 36, and a memory 37, constituted by an addressable array of memory cells, for example of a NAND flash type (in this case the data manager 36 implements the FTL). In particular (
The interface 35, the data manager 36, and the memory 37 of the embedded storage device 23 are integrated in the chip 22; in particular, they are provided within the region of the chip 22 dedicated to the embedded storage device 23.
The storage system 20 further comprises an external data bus 40, which connects the embedded storage device 23 and the removable storage device 24, in particular the respective interfaces 35, to the interface 33 of the controller 21.
Positioning the data manager 36 within the embedded storage device 23 allows the controller 21 not to depend upon the physical structure of the embedded storage device 23 and removable storage device 24. In particular, the controller 21 only needs to know the communication protocol used on the external data bus 40, and it does not have to know the physical structure of the storage devices. Therefore, the interface 33 within the controller 21 is just one, irrespective of the type and number of storage devices to which the controller 21 can be connected. Basically, the external data bus 40 carries only generic input and output signals and control signals so that the controller 21 could be a generic input/output controller instead of a dedicated (or application-specific) controller.
The external data bus 40 connected to the interface 33 of the controller 21 and to the interfaces 35 of the embedded and removable storage devices 23, 24 can use any protocol of a known type, for example an MMC (MultiMediaCard™) interface protocol, or an SPI (Serial Peripheral Interface) interface protocol or a USB (Universal Serial Bus) interface protocol. In particular, any desired number of storage devices, whether embedded or removable, can be connected to the external data bus 40 according to the protocol used.
According to a second embodiment of the present invention, illustrated in
In particular, the division of the controller 21 and of the embedded storage device 23 into two distinct chips enables a greater modularity and flexibility of the storage system 20, since the storage density may be varied more easily. The disadvantage of a solution of this sort may be represented by the higher production costs.
FIGS. 6 to 8 show, respectively, a third, a fourth and a fifth embodiment of the present invention, which differ simply as regards the implementation of the embedded storage device 23.
In detail, in the third embodiment (
According to the fourth embodiment (
According to the fifth embodiment (
According to a further embodiment of the present invention (see
In particular, the additional storage devices 60 are formed by a simple storage element (for example, an addressable array of cells of a NAND flash type) and are not provided with advanced data-management functions. The additional storage devices 60 are connected to the data manager 36 of the embedded storage device 23 and of the removable storage device 24 via a respective connection bus 62. In this case, the embedded storage device 23 and the removable storage device 24 have a master function, because they have an integrated data-management function, while the additional storage devices 60 have a slave function, since they are managed by the data manager 36 of the respective embedded storage device 23 or removable storage device 24. The additional memories (slaves) 60 that are provided for expanding the removable memory 24 must be in the same box as the removable memory 24, in a different chip or in a different package.
Depending on the embodiment of the storage system 20, the additional storage devices 60 connected to the embedded storage device 23 can be integrated within the chip 22 (as illustrated in
Thereby, the storage system 20 is extremely modular and any desired number of additional storage devices 60 can be connected to the embedded and removable storage devices 23, 24 so as to expand the corresponding storage density as desired.
The advantages of the described embodiments of the present invention are evident from the above.
In particular, the described storage system enables a simplification of the controller of the storage system, which does not perform a data management function, thus can be a controller of a general-purpose type, and hence a low-cost one. Moreover, the controller has a single interface for all the different storage devices comprised in the storage system, which are all connected to the same data bus. In particular, in this way there is no need to replace the controller in the case where new types of storage devices are used.
The storage system is moreover optimized since each storage device, whether embedded or removable, has a data manager and an interface optimized for the specific use of the storage device.
Finally, the storage system is extremely modular and enables addition of any desired number of additional storage devices to increase the storage density of the system.
It is clear that modifications and variations may be made to what has been described and illustrated herein, without thereby departing from the scope of the present invention, as defined in the attached claims.
In particular, it is evident that the storage system is not tied to the use of a particular type of memory (flash memories of a NOR type, or any other type of electrically writeable and erasable non-volatile memory, could for example be used instead of flash memories of a NAND type) or of a particular production technique.
Storage systems according to the described embodiments of the present invention in
Number | Date | Country | Kind |
---|---|---|---|
EP04425643.6 | Aug 2004 | EP | regional |