This application claims priority under 35 U.S.C. §119(a)-(d) to European Patent Application No. 09382197.3, filed Oct. 6, 2009, the content of which is incorporated herein by reference in its entirety.
1. Field of the Invention
The present invention has its application within the telecommunications sector and, especially, in the industrial area engaged in providing data storage.
2. Related Art
A USB (Universal Serial Bus) flash drive is a small storage device based on a flash memory which is used to store information. This sort of memories has become a popular way of carrying personal data, overshadowing in this particular usage, traditional diskettes, CD and DVD. They can be easily found in the market in a wide variety of capacities.
Nowadays, operating systems are capable of reading and writing from/to USB flash drives, just by plugging them in to a USB port which supplies power to the device without the need of an external power source or battery.
Nevertheless, traditional USB flash drives present the disadvantages of having limited storage capacity, as well as having the risk of data loss in case the USB flash drive is lost or deteriorated, which typically occurs even due to normal usage.
Additionally, regarding remote storage, Storage Area Networks (SAN) are architectures to attach remote storage devices to computers in such a way that the devices appear as locally attached to the Operating System (OS). That is, the fact that the device is actually running in a remote device is transparent to the OS. A handful of methods for storage virtualization in SAN have recently been proposed, like in U.S. Pat. No. 6,898,670 B1.
Network attached storage (NAS), in contrast to SAN, uses file-based protocols such as NFS (Network File System) or SMB (Server Message Block)/Common Internet File System (CIFS) where it is known by the OS that the storage is remote, and computers request a portion of an abstract file rather than a disk block. The transparency is still kept at the application level, which keeps using the same APIs to access data. Intercepting selected system calls at the user level, to build a global file system, which allows users to treat remote files exactly as if they were local through the FTP and HTTP protocols, is known in the state-of-the-art. These were, however, inflexible monolithic solutions.
Cloud technology solves this disadvantage by providing dynamic access to a set of heterogeneous resources in a seamless manner. From all the very different types of Cloud services, Software as a Service (SaaS) brings Internet-enabled access to storage, middleware, collaboration, and database capabilities. Storage as a Service (StaaS) detaches the user from the storage services: a common interface is provided for several storage services of diverse nature that dwell “in the Cloud”. StaaS promises unlimited on demand access to these storage services that are billed on a pay-per-use basis. The advantage for users is that they do not need to take care of the storage infrastructure. The StaaS provider is responsible of managing the physical device, creation of backups, and replication of data for failure tolerance. Typical StaaS systems sit on top of pools of storage hardware units (such as arrays of disks, possibly distributed in several datacenters). Storage capacity is created on demand and billed on a pay-per-use basis.
Some StaaS services are limited to providing storage space for plain data objects (files). Users make calls to the StaaS system to store new objects. The StaaS system assigns an id to each object for future operations (retrieve, update, delete). Newer StaaS systems provide different, more intuitive interfaces to users. These new StaaS systems present to each user the illusion of having a unique, isolated storage device. That is, a StaaS system creates virtual storage devices from the storage pool that can be accessed just like local storage devices. Also, rich interfaces can be provided for configuration and access to the virtual storage space through Internet.
In a StaaS system, a connected computer, after being properly configured, connects over a communication means (e.g. a WAN or WWAN link) to a middleware layer which relies on a storage virtualization layer to access the physical storage pool. The Storage Pool is formed by a cluster of disk arrays. A Storage Virtualization layer can be set on top of it to create virtual disks. This eases the Middleware Layer tasks, as there is no need to worry about mapping physical capacity to logical disks. The Storage Virtualization also takes care of tasks such as data replication for failure tolerance, freeing the upper layers from those issues.
The Middleware Layer only requires being accessible through the wireless link. This can be done in different ways. Then, the communication between the Middleware Layer and the device uses any well-known standard protocol such as the NFS or CIFS protocols. The Middleware Layer should be aware of presenting the proper Virtual File System to the corresponding device. This layer would also take care of tasks such as billing.
Nevertheless, on-the-cloud storage services present several drawbacks: users are not familiar with the specific implementation of the product, but almost everybody knows how to work with a USB flash drive; manual intervention of the users is required in order to identify themselves and transfer the content from their PC to the servers; and they need to be aware of the time the transfer takes to complete.
StaaS Cloud solutions provide virtually unlimited automatic storage capabilities online, overcoming the problems found in previous monolithic solutions. Very often, however, access to StaaS is not done in a transparent way for the end user who still has to rely on web browser interfaces, making an undesirable distinction between local and remote files that impacts the solution usability. Even when StaaS infrastructures are accessible through an interface similar to the one offered by local disks (so they can be accessed in a seamless way), they require some special software to be installed in the user computer, which prevents a ubiquitous access to the storage resources and breaks the requirement of transparency. And, in any case, the user has to configure the storage access in every individual device he/she wants his/her data available. Finally, the computer needs to have a separate network connection so it can access the remote infrastructure. If, whatever the reason, there is no connectivity available, the user cannot access his/her data.
For instance, USB modems rely on a series of Operating System (OS)-provided functions that make it unable to autonomously function without any OS support from the host. USB drives are not plug&play devices; they depend on the host, on the drivers, and a manual connection configuration. Moreover, the exchange of data with the Cloud is often done in an unsecured manner, exposing the users' data to a wireless medium which is deemed as highly vulnerable.
Finally, the USB interface has also universally been spread to many other sorts of devices. Among the most common are the USB Wi-Fi/mobile broadband dongles. These portable dongles provide Wi-Fi or mobile broadband to any USB-enabled PC-like device by simply plugging them in to the USB port.
In fact, it is possible to use these devices (typically USB enabled) to offer connectivity to the Internet, provided by different mobile telecommunication operators through a high speed wireless radio connection such as the offered by CDMA2000, TD SCDMA, WiMAX, and 3G/4G standards. These devices currently have the capacity to store files locally in a non-volatile flash store, which is managed by a Local Storage Controller Module. Given the need for identification in order to achieve ubiquitous access from any place, the dongles are equipped with a SIM (Subscriber Identity Module) module and the subsequent SIM Controller Module.
Nevertheless, even though there are USB dongles which allow both storing data in a local memory and wirelessly connecting to an external storage system, thus being able to reach remote storage service, devices known up to date which such features also present some problems, such as a high latency when retrieving data due to the high number of accesses over the wireless connection and its bandwidth limitations, along with a lack of transparency of the storage system that makes its usage more complicated to users and prevents ubiquitous access regardless of the type of device to which the USB dongle is connected to.
The current invention solves the aforementioned problems by disclosing a data storage device which is capable of storing information both in an local memory and in a remote server, reducing the latency when writing and reading data by storing in the local memory the most useful information as detailed in the present document.
In a first aspect of the invention, a data storage device is disclosed. The data storage device comprises a local memory, preferably non volatile, and two different connecting means:
The data storage device is, thus, capable of storing and retrieving information from both the local memory and the remote server to which the data storage device is configured to be connected through said second connection means (being neither the remote server nor the electronic device part of the scope of the present invention). To manage reading and writing requests (that is, requests to store or retrieve information) from the electronic device to which the data storage device is configured to be connected through said first connection means, the data storage devices comprises memory managing means. When receiving a reading request for a piece of information (such as a file), if the requested information is stored both in the local memory and in the remote server, the memory managing means retrieves the requested information from the local memory, thus reducing the latency of the reading operation.
To take advantage of this functionality, the memory managing means are, preferably, also configured to optimize the usefulness of the information stored in the local memory. In order to do so, the memory managing means can use different criteria to determine the usefulness of information, such as the last time it was accessed, the number of times it has been accessed (in a period of time or since it was stored in the local memory), etc.
Preferably, the data storage device also comprises a virtual filesystem manager, which is configured to create a single virtual memory in the electronic device for both the local memory and the remote storage server. This means that the storage structure is transparent to the user, who will see both the local memory and the remote server as a single drive, being the memory managing means responsible for managing the traffic information between the different elements (electronic device, local memory and remote server).
Two preferred options for the memory managing means are also hereby presented:
In another aspect of the present invention, a method for reading/writing data is disclosed. The method comprises the steps of:
Preferably, the method also comprises, if any information stored in the local memory is not stored in said remote server, storing in said remote server said information stored in the local memory, that is, saving a copy of the information in the remote server, which has less or none memory limitations.
Also preferably, if a piece of information is to be stored in the local memory (for example as a consequence of a writing request from the electronic device), and there is not enough free space in the local memory, part of the information already stored in the local memory is removed, being this information chosen according to a criterion which takes into account requests from the electronic device regarding said information. The most useful (likely to be accessed) information is thus stored in the local memory.
The criterion is preferably to erase information with a least recent date in which the information was requested for the last time or to erase information which has been requested a fewest number of times.
Preferably, whenever information is read from the remote server, it is stored in the local memory.
Also preferably, the method is transparent to a user of the electronic device, by comprising a step of presenting the local memory and the remote server to said electronic device as a single virtual memory.
Preferably, the method also comprises sending to the electronic device a driver compatible with an operative system of the electronic device. The driver, when installed, can manage any other step of the method from the electronic device. Even more preferably, the driver is fetched from the remote server, which due to its memory capabilities can store different drivers for different operative systems.
In yet another aspect of the present invention, computer program means configured to perform the described method are disclosed.
The data storage device presented is thus capable of storing data in a remote server, thus overcoming any local memory capacity limitation, while reducing the latency associated to traditional remote servers by keeping the most useful information in a local memory, which provides faster access. The described data storage device additionally provides this capabilities in a transparent manner, which improves user experience. The use of mobile broadband also improves bandwidth and ubiquitous access. These and other advantages will be apparent in the light of the detailed description of the invention
For the purpose of aiding the understanding of the characteristics of the invention, according to a preferred practical embodiment thereof and in order to complement this description, the following figures are attached as an integral part thereof, having an illustrative and non-limiting character:
The matters defined in this detailed description are provided to assist in a comprehensive understanding of the invention. Accordingly, those of ordinary skill in the art will recognize that variation changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, description of well-known functions and elements are omitted for clarity and conciseness.
Note that in this text, the term “comprises” and its derivations (such as “comprising”, etc.) should not be understood in an excluding sense, that is, these terms should not be interpreted as excluding the possibility that what is described and defined may include further elements, steps, etc.
The data storage device 1 also comprises two key control elements:
To optimize the latency of accesses to stored information (that is, the time needed to perform reading requests), the memory manager 8 is configured to receive requests for information (for example a file), and if said information is stored both in the local memory 5 and in the remote server 4, the memory manager 8 reads the information from the local memory 5, which has the lower latency and sends it to the electronic device. Thus, the process can be regarded as the electronic device 2 accesses the information from the local memory 5, being said decision transparent to the user of the electronic device 2.
Obviously, if the requested information is only stored in the local memory 5, the memory manager retrieves it from the local memory 5, and if it is only stored in the remote server 4, the memory manager 8 retrieves it from said remote server 4.
Different implementations are possible within the scope of the present invention regarding traffic of information between the different elements involved, as further described in the present document.
According to a preferred embodiment, whenever a write request from the electronic device 2 is received, the memory manager 8 preferably stores the information in the local memory 5. The information from the local memory 5 is then sent to the remote server 4. This sending can be performed in different manners:
Other possible embodiments may comprise memory managers 8 configured to directly store the information in the remote server 4, or simultaneously in both the remote server 4 and the local memory 5.
Also, whenever information is read from the remote server 4 according to a request, if said information is not stored in the local memory, there are two possible embodiments:
To determine which information is more likely to be requested by the user, and thus, should be stored in the local memory 5, a criterion regarding requests for that information is used, removing from the local memory 5 the least useful information according to said criterion when new information is to be stored and there is not enough free space. Different criteria can be used, for example, the following two rules, although other criteria or combinations of such, can be chosen within the scope of the invention:
There are also two additional options for the managing of the data storage device 1 intelligence:
In both cases, the structure and logic of the storage is transparent to the user.
As for the plugging procedure, whenever the data storage device 1 is connected to the electronic device 2, the electronic device 2 identifies the data storage device 1 and installs any software if necessary. The connectivity of the communication network 3 is automatically checked. If the network 3 is functional, and a connection can be established with the remote server 4, the data storage device logs in the remote server 4 and authenticates if necessary (for which the memory storage device 1 may comprise the subsequent SIM modules). The file and folder structure is then synchronised between the remote server 4 and the local memory 5.
If the connection with the remote server 4 is not available at a given time, the data storage device 1 is capable of working in an “off-line” mode, acting as a standard memory using only the local memory 5. When the connection is re-established, the content of the local memory may be stored in the remote server.
Number | Date | Country | Kind |
---|---|---|---|
09382197.3 | Oct 2009 | EP | regional |