Apparatus combining once-writeable and rewriteable information storate to support data processing
An information storage arrangement that combines rewriteable storage with one-time programmable (OTP) storage is managed in a manner that makes judicious use of the OTP storage. It is therefore possible to exploit the economic advantage associated with OTP storage, while also avoiding storage capacity losses that would otherwise be associated with OTP storage.
The invention relates generally to data processing and, more particularly, to information storage in data processing systems.
BACKGROUND OF THE INVENTIONData processing systems are ubiquitous in modern society. Information storage is of course a critical feature in a data processing system. Factors such as the capacity, cost, and physical size of the information storage facilities of a data processing system impose limitations on its functional capabilities. Considerations such as these are especially critical in the case data processing systems that are implemented in mobile devices. Some well-known examples of the myriad mobile devices that utilize data processing systems include cellular telephones, digital cameras, and other mobile personal computing devices, such as, for example, personal digital assistants, palm pilots, audio players, video players, and game playing devices.
It is desirable in view of the foregoing to provide for improvements in data processing systems with respect to limiting factors such as those mentioned above.
In some embodiments, the memory controller 12 and the information storage arrangement 16 are provided together as a unit that is configured for removable connection to the host apparatus 10. In some embodiments, the removably connectable unit is a “memory stick”. In some embodiments, the removably connectable unit is a printed circuit card. In some embodiments, the memory controller 12 and the information storage arrangement 16 are provided on a printed circuit card together with at least the data processor 11. In various embodiments, the data processing system of
According to exemplary embodiments of the invention, the memory controller 12 manages the information storage arrangement 16 in a manner that makes judicious use of the OTP information storage apparatus 14. The OTP storage at 14 has a lower financial cost than the RW storage at 13, but the OTP storage loses available capacity whenever information already stored therein must be modified. This is because the OTP storage capacity occupied by the already-stored information cannot be re-used to store the modified information (or any other information). The judicious use of OTP storage makes it possible to exploit the economic advantage associated with OTP storage, while also avoiding storage capacity losses that would otherwise be associated with OTP storage.
In some embodiments, if the amount of available storage capacity in the RW information storage apparatus 13 reaches a predetermined lower limit threshold, then the controller 12 performs an information archive operation to increase the available storage capacity in the RW information storage apparatus 13. In this information archive operation, the controller 12 retrieves information that is currently stored in the RW information storage apparatus 13, and writes the retrieved information to the OTP information storage apparatus 14, thereby increasing the available storage capacity in the RW information storage apparatus 13. In some embodiments, the controller 12 selects the information that is archived from the RW information storage apparatus 13 to the OTP information storage apparatus 14 based on a predetermined selection condition or criterion.
In some embodiments, the controller 12 implements a conditional OTP write operation with respect to information that the controller 12 receives from the host 10 for storage. According to this conditional OTP write operation, if the received information satisfies a predetermined condition or criterion, then the controller 12 writes that information to the OTP information storage apparatus 14. On the other hand, if the received information does not satisfy the condition, then the controller 12 writes the information to the RW information storage apparatus 13.
Considering the aforementioned information archive operation in more detail, the controller 12 can use conventional techniques to monitor the available storage capacity in the RW information storage apparatus 13. As indicated above, the controller 12 can, in some embodiments, initiate the aforementioned information archive operation upon detecting a condition wherein the available storage capacity in the RW information storage apparatus 13 is undesirably low (i.e., the RW information storage apparatus 13 is considered to be too full). For example, the controller 12 can initiate the information archive operation if the controller detects that the available storage capacity in the RW information storage apparatus 13 has fallen below a lower limit threshold capacity.
As mentioned above, in the information archive operation, the controller 12 retrieves from the RW information storage apparatus 13 information which is already stored in the RW information storage apparatus 13, and which satisfies a selection condition. The controller 12 writes the retrieved information to the OTP information storage apparatus 14, thereby making available the space that the archived information previously occupied in the RW information storage apparatus 13. According to exemplary embodiments of the invention, the selection condition used in the information archive operation is designed to select information that can be characterized as relatively unlikely to be changed (or deleted).
In some embodiments, information in the RW information storage apparatus 13 is selected for archiving based on the access history of the information. Such access history is available according to conventional data processing and memory controller operations. Some embodiments use write access history. Some embodiments use read access history. Various embodiments use various combinations of write access history and read access history. Some embodiments select the least frequently accessed information for archiving. Some embodiments select the least recently accessed information for archiving.
Various embodiments select information for archiving based on various combinations of the aforementioned most-frequently-accessed criterion and the aforementioned least-recently-accessed criterion. As an example, first information, having an associated first access frequency that is higher than a second access frequency associated with second information, might nevertheless be selected for archiving instead of the second information if, for example, the most recent access of the second information occurred more recently than the most recent access of the first information.
Turning now to a more detailed consideration of the aforementioned conditional OTP operation, this operation, as mentioned above, writes received information to the OTP information storage apparatus 14 (referencing
According to exemplary embodiments of the invention, information that can be characterized as relatively unlikely to be changed (or deleted), or not expected to be changed (or deleted), can be stored in the OTP information storage apparatus 14, while information that can be characterized as relatively likely to be changed (or deleted), or expected to be changed (or deleted), can be stored in the RW information storage apparatus 13. For example, information files such as image files, music files and book files can be stored in the OTP information storage apparatus 14, while metadata associated with such files (e.g., file names, MP3 tag information, play lists, bookmarks, addendum, free media, short term media and regularly updated media) can be stored in the RW information storage apparatus 13. The information formats associated with conventional data processing techniques enable the controller 12 to distinguish between files and their associated metadata. As a further example, a game program can be stored in the OTP information storage apparatus 14, while game saves associated with execution of the game program can be stored in the RW information storage apparatus 13.
As another example, the logical block address (LBA) that the host 10 has assigned to the information is a characteristic that can serve as an indicator of where to store the information. If it is expected that information with a relatively high LBA (or an LBA above a certain value) will be changed relatively infrequently (if at all), and that information with a relatively low LBA (or an LBA below a certain value) will be changed relatively frequently, then the former information can be written to the OTP information storage apparatus 14, and the latter information can be written to the RW information storage apparatus 13. For example, in some conventional systems, information that changes frequently, such as a file allocation table (FAT file), is typically assigned to the relatively low LBA area. In that case, the relatively low LBA of the frequently changed information would trigger storage of that information in the RW information storage apparatus 13.
As a further example, a conventional file setting provided by the data processor 11 can be defined as a “read-only” setting to indicate that the associated file is to be stored in the OTP information storage apparatus 14.
In various embodiments, the controller 12 utilizes various sets of the above-described exemplary characteristics to determine whether an OTP write operation will be performed. In a given embodiment, if the information to be stored has any one of the characteristics within the set of characteristics that is being used in that embodiment, then the information is written to the OTP information storage apparatus 14.
In some embodiments, all information received from the data processor 11 is stored in the OTP information storage apparatus 14, while memory control structures used internally by the memory controller 12 are stored in the RW information storage apparatus 13.
In some embodiments, the user can direct that certain information is to be stored in the OTP information storage apparatus 14. For instance, the user of a digital camera may decide that a particular image is to be saved. This user decision indicates to the controller 12 that the image is to be stored in the OTP information storage apparatus 14. Images that the user does not select for saving can be stored in the RW information storage apparatus 13. In some embodiments, the host 10 includes a user-assistance application (e.g., running on the data processor 11) that assists the user in deciding where to store information. Some embodiments facilitate the use of such a user-assistance application by implementing, within the data processor 11, logical partitioning that is aligned with the physical partitioning defined by the RW information storage apparatus 13 and the OTP information storage apparatus 14. In such embodiments, the OTP information storage apparatus 14 is managed as a write-once, read-many partition.
It should also be noted with respect to
In embodiments wherein the information storage arrangement 16 is provided as a unit for removable connection to the host 10, and wherein a user-assistance application is used, the host 10 and the removable unit 16 cooperate (according to any suitable conventional technique) to enable the host 10 to recognize that the removable unit includes both the RW information storage apparatus 13 and the OTP information storage apparatus 14. This recognition can be used by the host 10 to trigger execution of the user-assistance application.
The broken lines in
Referencing
Although exemplary embodiments of the invention have been described above in detail, this does not limit the scope of the invention, which can be practiced in a variety of embodiments.
Claims
1-24. (canceled)
25. An apparatus for archiving information from a rewritable memory to a one-time-programmable memory, the apparatus comprising:
- a rewritable memory;
- a one-time-programmable memory; and
- a controller operative to: (a) determine if available storage capacity in the rewritable memory is at a threshold amount; (b) if the available storage capacity in the rewritable memory is at the threshold amount: (b1) retrieve information stored in the rewritable memory; and (b2) write the information in the one-time-programmable memory.
26. The apparatus of claim 25, wherein the controller is further operative to make available locations in the rewritable memory that store the information.
27. The apparatus of claim 25, wherein the controller is further operative to select the information to retrieve from the rewritable memory.
28. The apparatus of claim 27, wherein the controller is further operative to select the information to retrieve from the rewritable memory based on a selection condition.
29. The apparatus of claim 28, wherein the selection condition comprises likelihood to change.
30. The apparatus of claim 28, wherein the selection condition comprises likelihood to be deleted.
31. The apparatus of claim 28, wherein the selection condition comprises access history of the information.
32. The apparatus of claim 31, wherein the access history comprises write access history.
33. The apparatus of claim 31, wherein the access history comprises read access history.
34. The apparatus of claim 31, wherein the access history comprises a combination of write access history and read access history.
35. The apparatus of claim 28, wherein the selection condition comprises a least-frequently-accessed criterion.
36. The apparatus of claim 28, wherein the selection condition comprises a least-recently-accessed criterion.
37. The apparatus of claim 28, wherein the selection condition comprises a combination of a most-frequently-accessed criterion and a least-recently-accessed criterion.
38. The apparatus of claim 25, wherein the controller is further operative to repeat (a) and (b).
39. The apparatus of claim 25, wherein the controller is further operative to, before (a), determine that the information should be stored in the rewritable memory instead of the one-time-programmable memory.
40. The apparatus of claim 25, wherein the apparatus is configured for removable connection to a host apparatus.
41. The apparatus of claim 25, wherein the rewritable memory and the one-time-programmable memory are physical partitions of a memory.
42. An apparatus for archiving information from a rewritable memory to a one-time-programmable memory, the apparatus comprising:
- a rewritable memory;
- a one-time-programmable memory; and
- a controller operative to: (a) determine if the rewritable memory is too full; (b) if the rewritable memory is too full: (b1) select information to retrieve from the rewritable memory; (b2) retrieve the information from the rewritable memory; (b3) write the information in the one-time-programmable memory; and (b4) make available locations in the rewritable memory that store the information.
43. The apparatus of claim 42, wherein the information is selected based on one or more of the following: likelihood to change, likelihood to be deleted, access history, write access history, read access history, a combination of write access history and read access history, a least-frequently-accessed criterion, a least-recently-accessed criterion, and a combination of a most-frequently-accessed criterion and a least-recently-accessed criterion.
44. The apparatus of claim 42, wherein the controller is further operative to repeat (a) and (b).
45. The apparatus of claim 42, wherein the controller is further operative to, before (a), determine that the information should be stored in the rewritable memory instead of the one-time-programmable memory.
46. The apparatus of claim 42, wherein the apparatus is configured for removable connection to a host apparatus.
47. The apparatus of claim 42, wherein the rewritable memory and the one-time-programmable memory are physical partitions of a memory.
Type: Application
Filed: Sep 29, 2006
Publication Date: Apr 3, 2008
Patent Grant number: 7630225
Inventors: Neil A. Dunlop (Linlithgow), Kevin P. Kealy (Edinburgh)
Application Number: 11/529,555
International Classification: G06F 12/00 (20060101); G06F 13/00 (20060101); G06F 13/28 (20060101);