The present invention relates in general to computer systems, and in particular to electronic messaging systems. Still more particularly, the present invention relates to a system for prefetching content from incoming messages.
Computer users often receive email, instant messages, and other message types which links to remotely stored content. The referenced content may include large files to download, new articles, and multimedia content, for example. In one instance, senders may transmit large files by storing the files on a network server and sending a resource link in an email or instant message to bypass size constraints on email and instant message sizes.
After eventually clicking a resource links, users may be required to wait for a considerable amount of time while the actual content downloads. This is especially true if the user is mobile and connecting via a wireless connection with limited bandwidth and/or a slower connection speed. Additionally, a same resource link may be sent to multiple users with each user selecting to download a same content. This wastes bandwidth as several computers are simultaneously downloading the same content from a remote location. Furthermore, if the user is processing electronic mail while in a disconnected mode, the referenced content may not be available at all.
Disclosed is a method and system for managing caching at a computer. A computer receives a file from a storage device on a network in response to a request by a first user. The computer may then determine if other users of the computer are likely to request the file, based upon a type of the file and a type of the network. If other users are likely to request the file, the computer may then cache the file at the computer. If not, the computer may not cache the file at the computer.
In accordance with another aspect of the disclosure, a computer receives a file from a storage device on a network in response to a request by a first user. The computer may then determine whether to cache the tile based upon access permissions to the file.
The above as well as additional objectives, features, and advantages of the present invention will become apparent in the following detailed written description.
The novel features believed characteristic of the invention are set forth in the appended claims. The invention itself, however, will best be understood by reference to the following detailed descriptions of an illustrative embodiment when read in conjunction with the accompanying drawings, wherein:
The illustrative embodiments provide a method, system, and computer program product for prefetching content linked in an incoming message.
In the following detailed description of exemplary embodiments of the invention, specific exemplary embodiments in which the invention may be practiced are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that other embodiments may be utilized and that logical, architectural, programmatic, mechanical, electrical and other changes may be made without departing from the spirit or scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the appended claims.
It is understood that the use of specific component, device and/or parameter names are for example only and not meant to imply any limitations on the invention. The invention may thus be implemented with different nomenclature/terminology utilized to describe the components/devices/parameters herein, without limitation. Each term utilized herein is to be given its broadest interpretation given the context in which that term is utilized.
With reference now to
Computer 102 also comprises system storage 124, which is connected to system bus 106. System Storage 124 comprises prefetch cache data 126 and preferences 128. Preferences 128 may contain prefetch history information and user defined preferences for prefetching content linked in an incoming message.
Computer 102 also comprises system memory 118, which is connected to system bus 106. As shown, system memory 118 also comprises prefetch logic 120, web browser 150, email client 151, instant messaging client 153, prefetch plug-ins 154a-n, and operating system 155. Prefetch logic 120 includes code for implementing the processes described in
As illustrated and described herein, Computer 102 may be any computing device having the required hardware components and programmed with prefetch logic 120, executing on the processor to provide the functionality of the invention. The hardware elements depicted in Computer 102 are not intended to be exhaustive, but rather are representative to highlight essential components required by and/or utilized to implement the present invention. For instance, Computer 102 may include alternate memory storage devices such as magnetic cassettes, Digital Versatile Disks (DVDs), Bernoulli cartridges, and the like. These alternate configurations of components and other variations are intended to be within the spirit and scope of the present invention.
With reference now to
When resource links are detected, the prefetch logic 120 determines if the resource links are likely to be accessed by a user of Computer 102, by referencing locally stored preferences (e.g., preferences 128,
After determining that a target of a received resource link is likely to be accessed by a user of Computer 102, prefetch logic 120 checks a prefetch cache data (e.g., prefetch cache data 126) to determine if the target of the resource link has been previously cached. Additionally when existing prefetch cache data of the target of the resource link has been detected, prefetch logic 120 may compare the stored prefetch cache data with the target of the resource link to determine if the stored prefetch cache data is current. In one embodiment, prefetch logic may compare characteristics (e.g. file size, checksum, date stamp) of the target of a resource link with the stored cache data to determine if the cache data is current. When the prefetch cache data is not current or prefetch cache data is not detected for the target, the target of the resource link may be prefetched by prefect logic 120 into system storage (e.g., system storage 124). Prefetched cache data may be stored locally on Computer 102, or, in an alternate embodiment, on a proxy server with local access or a network drive, and may include, files, multimedia content. in the main embodiment, prefetched data may be immediately downloaded to Computer 102 when a suitable network connection is available. In this manner, the prefetch data may then be accessed when the computer is not connected to the network from which the data is downloaded (e.g., network 142). Upon detecting that a user has requested access to the target of the resource link, prefetch logic 120 provides the cached content to the user.
In an alternate embodiment prefetched content stored on a local storage may be provided when a computer is functioning in an offline mode (without a network connection). In this manner prefetched content in available for access on Computer 102 when the user is offline. In on example, this may facilitate a user accessing an attachment file of an email that was previously received by Computer 102 but was not accessed until after Computer 102 was already in an offline mode.
With reference now to
With reference now to
Upon determining that one or more resource links of the incoming message are likely to be accessed, the computer determines if the target of each of the resource links determined likely to be accessed has already been cached (block 430). In the event that the target of a resource link has not previously been cached, the target of the resource link is downloaded and locally cached on the computer (block 434).
When the computer determines that the target of a resource link has been cached, the computer determines if the cached data is current by comparing the cached data with the target data of the resource link (block 432). When the cached data is not current, Computer 102 locally downloads the target of the resource link to a local storage (block 434).
Upon receiving a request from a user to access the target of the resource link (block 450), the computer serves the cached content to the user (block 452). The process then ends at terminator block 460.
In the flow charts above, one or more of the methods are embodied such that a series of steps are performed when the computer readable code is executed on a computing device. In some implementations, certain steps of the methods are combined, performed simultaneously or in a different order, or perhaps omitted, without deviating from the spirit and scope of the invention. Thus, while the method steps are described and illustrated in a particular sequence, use of a specific sequence of steps is not meant to imply any limitations on the invention. Changes may be made with regards to the sequence of steps without departing from the spirit or scope of the present invention. Use of a particular sequence is therefore, not to be taken in a limiting sense, and the scope of the present invention is defined only by the appended claims.
Although aspects of the present invention have been described with respect to a computer processor and program application/logic, it should be understood that at least some aspects of the present invention may alternatively be implemented as a program product for use with a data storage system or computer system. Programs defining functions of the present invention can be delivered to a data storage system or computer system via a variety of signal-bearing media, which include, without limitation, non-writable storage media (e.g. CD-ROM), writable storage media (e.g. network attached storages, hard disk drive, read/write CD-ROM, optical media), and communication media, such as computer and telephone networks including Ethernet. It should be understood, therefore, that such signal-bearing media, when carrying or encoding computer readable instructions that direct method functions of the present invention, represent alternative embodiments of the present invention. Further, it is understood that the present invention may be implemented by a system having means in the form of hardware, software, or a combination of software and hardware as described herein or their equivalent.
Having thus described the invention of the present application in detail and by reference to illustrative embodiments thereof, it will be apparent that modifications and variations are possible without departing from the scope of the invention defined in the appended claims. In addition, many modifications may be made to adapt a particular system, device or component thereof to the teachings of the invention without departing from the essential scope thereof For example, the user or users described herein may be application programs. Therefore, it is intended that the invention not be limited to the particular embodiments disclosed for carrying out this invention, but that the invention will include all embodiments falling within the scope of the appended claims. Moreover, the use of the terms first, second, etc. do not denote any order or importance, but rather the terms first, second, etc. are used to distinguish one element from another.
This application is a continuation application claiming priority to Ser. No. 13/686,554, filed Nov. 27, 2012, which is a continuation of Ser. No. 12/434,100, filed May 1, 2009, now Abandoned.
Number | Date | Country | |
---|---|---|---|
Parent | 13686554 | Nov 2012 | US |
Child | 15241483 | US | |
Parent | 12434100 | May 2009 | US |
Child | 13686554 | US |