PROCESSING INCOMING MESSAGES

Abstract
A method and system for processing incoming messages. An incoming message is scanned, wherein the incoming message is an email message sent by a sender. One or more resource links in the scanned incoming message are detected, wherein the one or more resource links are in the sender's email signature in the email message. In response to detecting the one or more resource links in the scanned incoming message, it is determined that users of the computer are likely to request a content of the detected one or more resource links, based at least on: a type of the one or more detected resource links, a type of network to which the computer is connected, and a determination that the detected one or more resource links are pointing to one or more files and are not pointing to a corporate website.
Description
BACKGROUND OF THE INVENTION

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.


SUMMARY

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.





BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWINGS

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:



FIG. 1 is a block diagram of a computing device in which the present invention may be implemented.



FIG. 2 is a block diagram of an exemplary system for prefetching content from incoming messages on a computer.



FIG. 3 is a diagram of an exemplary system for prefetching content from incoming messages on a proxy server.



FIG. 4 is a high-level logical flowchart of an exemplary method for prefetching content from incoming messages.





DETAILED DESCRIPTION

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 FIG. 1, there is depicted a block diagram of a computing device in which the present invention may be implemented. Computer 102 includes a processor 104 that is coupled to a system bus 106. A transceiver 110, connected to system bus 106, enables Computer 102 to connect to network 142, an internet 144, and client terminals 302a-n via wired or wireless mechanisms. System bus 106 also affords communication with a hardware-based readable storage medium 112 (e.g., Compact Disk-Read Only Memory (CD-ROM), flash drive memory, etc). Input/Output (I/O) Interface 114, also connected to system bus 106, permits user interaction with Computer 102, such as data entry via keyboard 116 or Mouse 117. Display 118 enables the viewing of content and a general user interface (including text and graphics) for use by a user of Computer 102.


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 FIGS. 2-5. In one embodiment, Prefetch logic 120 may directly integrate with email client 151 and instant messaging client 153 by an installed prefetch plug-in 154a-n. In an alternate embodiment, prefetch logic 120 may be integrated at an operating system level. In one embodiment, Computer 102 is able to utilize prefetch logic 120 to prefetch resource link content of an incoming message, as described in greater detail below in FIGS. 2-4.


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 FIG. 2, there is illustrated an exemplary system for prefetching resource link content of an incoming message, in accordance with one embodiment of the invention. The illustrative embodiment is described from the perspective of Computer 102 receiving an incoming message and subsequently prefetching content 206 linked in the incoming message. An incoming message may be any message, such as an email, instant message, system notification, etc. A resource link may be any link to content, such as a Uniform Resource Locator (URL). Upon receiving an incoming message, prefetch logic 120 scans the incoming message for resource links.


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, FIG. 1) and by determining relevance of each resource link target. For example, prefetch logic 120 may determine if a destination of a resource link points to relevant files, or if the resource link is merely pointing to a corporate website (e.g., a resource link in a sender's email signature). Prefetch logic 120 may also consider other factors (autonomously, or by accessing stored preferences or data), such as historical access data, time of day, connectivity to a preferred network, system resources, user resources, access permissions, and the linked content of a specific resource link to determine the probability of access of that specific resource link. Additionally, the locally stored preferences may indicate only to prefetch a resource link target pointing to a specific file type. In an alternate embodiment, prefetch logic 120 may reference past prefetch history to determine if a resource link has been clicked before.


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 FIG. 3, there is illustrated an exemplary system for prefetching content from incoming messages from a proxy server. In this embodiment, Computer 102 is functioning as a proxy server connected to one or more client terminals 302a-n. Incoming messages are scanned by prefetch logic 120 of Computer 102 for resource links before delivering the incoming messages to an intended Client Terminal 302a-n. In this embodiment the target data of a resource link is stored as cached content 306 on Computer 102 and may be served to Client Terminals 302a-n upon request. This method facilitates more efficient use of a network connection by only downloading a target data of a resource link once instead of once each time a link is clicked by a user. For example, an email sent to a department of 10 persons contained a link to a spreadsheet file stored on a corporate website that each member of the department requires to complete a daily task. Rather than individually allow each department member to download the content 206 from the corporate website upon each click. Computer 102 pre-caches the file initially, and serves the cached content 306 each client terminal 302a-n upon request instead of allowing each client terminal 302a-n to download the cached content from a content provider (not pictured).


With reference now to FIG. 4, there is provided a high-level flow chart of an exemplary method for prefetching content from incoming messages. At block 402, the computer receives an incoming message. At block 404 the prefetch logic (of the computer) scans the incoming message for resource links. In response to detecting resource links in the incoming message (block 410), the computer then determines the likelihood that each detected resource link is accessed (block 420). When the computer determines that the resource links are not likely to be accessed, or that the incoming message does not contain resource links, the process terminates (block 460).


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.

Claims
  • 1. A method for processing incoming messages, said method comprising: scanning, by a processor of the computer, an incoming message, wherein the incoming message is an email message sent by a sender;detecting, by the processor, one or more resource links in the scanned incoming message, wherein the one or more resource links are in the sender's email signature in the email message; andin response to said detecting the one or more resource links in the scanned incoming message, determining, by the processor, that users of the computer are likely to request a content of the detected one or more resource links, said determining, that the users are likely to request the content of the detected one or more resource links, being based at least on: a type of the one or more detected resource links, a type of network to which the computer is connected, and a determination that the detected one or more resource links are pointing to one or more files and are not pointing to a corporate website.
  • 2. The method of claim 1, said method further comprising: in response to said determining that users of the computer are likely to request a content of the detected one or more resource links, ascertaining, by the processor, whether or not the content of the one or more resource links has been previously cached at the computer as a previously cached content of the one or more resource links;if said ascertaining ascertains that the content of the one or more resource links has not been previously cached at the computer, then in response to said ascertaining, caching, at the computer by the processor, the content of the detected one or more resource links; andif said ascertaining ascertains that the content of the one or more resource links has been previously cached at the computer, then in response to said ascertaining, said processor making a determination of whether or not the previously cached content of the one or more resource links is current relative to the content of the detected one or more resource links.
  • 3. The method of claim 2, wherein said making a determination of whether the previously cached content of the one or more resource links is current relative to the content of the detected one or more resource links comprises determining a characteristic of the detected one or more resource links, said characteristic being selected from the group consisting of file size, checksum, and date stamp.
  • 4. The method of claim 1, said method further comprising: if said determination is that the previously cached content of the one or more resource links is not current relative to the content of the detected one or more resource links, then in response to said determination, caching, at the computer by the processor, the content of the detected one or more resource links; andif said determination is that the previously cached content of the one or more resource links is current relative to the content of the detected one or more resource links, then in response to said determination, not caching, at the computer by the processor, the content of the detected one or more resource links.
  • 5. The method of claim 1, wherein said determining that users of the computer are likely to request the content of the one of more resource links is further based on access permissions to the one or more resource links at a source of the one of more resource links.
  • 6. The method of claim 1, wherein said determining that users of the computer are likely to request the content of the detected one or more resource links is further based on a preference, stored at the computer, that one resource link of the detected one or more resource links was clicked on before said scanning.
  • 7. The method of claim 1, said method further comprising: receiving a specification of a preferred network, wherein said determining that users of the computer are likely to request the content of the detected one or more resource links is further based on connectivity to the specified preferred network.
  • 8. The method of claim 1, wherein the one or more resource links comprise a specific resource link, and wherein said determining that users of the computer are likely to request the content of the detected one or more resource links is further based on determining, from the content of the specific resource link, a probability of access of the specific resource link.
  • 9. A computer system, comprising a processor, a memory coupled to the processor, and a computer readable storage device coupled to the processor, said storage device storing program code executable by the processor via the memory to implement a method for, said method comprising: scanning, by the processor, an incoming message, wherein the incoming message is an email message sent by a sender;detecting, by the processor, one or more resource links in the scanned incoming message, wherein the one or more resource links are in the sender's email signature in the email message; andin response to said detecting the one or more resource links in the scanned incoming message, determining, by the processor, that users of the computer are likely to request a content of the detected one or more resource links, said determining, that the users are likely to request the content of the detected one or more resource links, being based at least on: a type of the one or more detected resource links, a type of network to which the computer is connected, and a determination that the detected one or more resource links are pointing to one or more files and are not pointing to a corporate website.
  • 10. The computer system of claim 9, said method further comprising: in response to said determining that users of the computer are likely to request a content of the detected one or more resource links, ascertaining, by the processor, whether or not the content of the one or more resource links has been previously cached at the computer as a previously cached content of the one or more resource links;if said ascertaining ascertains that the content of the one or more resource links has not been previously cached at the computer, then in response to said ascertaining, caching, at the computer by the processor, the content of the detected one or more resource links; andif said ascertaining ascertains that the content of the one or more resource links has been previously cached at the computer, then in response to said ascertaining, said processor making a determination of whether or not the previously cached content of the one or more resource links is current relative to the content of the detected one or more resource links.
  • 11. The computer system of claim 10, wherein said making a determination of whether the previously cached content of the one or more resource links is current relative to the content of the detected one or more resource links comprises determining a characteristic of the detected one or more resource links, said characteristic being selected from the group consisting of file size, checksum, and date stamp.
  • 12. The computer system of claim 9, said method further comprising: if said determination is that the previously cached content of the one or more resource links is not current relative to the content of the detected one or more resource links, then in response to said determination, caching, at the computer by the processor, the content of the detected one or more resource links; andif said determination is that the previously cached content of the one or more resource links is current relative to the content of the detected one or more resource links, then in response to said determination, not caching, at the computer by the processor, the content of the detected one or more resource links.
  • 13. The computer system of claim 9, wherein said determining that users of the computer are likely to request the content of the one of more resource links is further based on access permissions to the one or more resource links at a source of the one of more resource links.
  • 14. The computer system of claim 9, wherein said determining that users of the computer are likely to request the content of the detected one or more resource links is further based on a preference, stored at the computer, that one resource link of the detected one or more resource links was clicked on before said scanning.
  • 15. A computer program product, comprising a computer readable hardware storage device having computer readable program code stored therein, said program code executable by a processor of a computer system to implement a method for processing incoming messages, said method comprising: scanning, by the processor, an incoming message, wherein the incoming message is an email message sent by a sender;detecting, by the processor, one or more resource links in the scanned incoming message, wherein the one or more resource links are in the sender's email signature in the email message; andin response to said detecting the one or more resource links in the scanned incoming message, determining, by the processor, that users of the computer are likely to request a content of the detected one or more resource links, said determining, that the users are likely to request the content of the detected one or more resource links, being based at least on: a type of the one or more detected resource links, a type of network to which the computer is connected, and a determination that the detected one or more resource links are pointing to one or more files and are not pointing to a corporate website.
  • 16. The computer program product of claim 15, said method further comprising: in response to said determining that users of the computer are likely to request a content of the detected one or more resource links, ascertaining, by the processor, whether or not the content of the one or more resource links has been previously cached at the computer as a previously cached content of the one or more resource links;if said ascertaining ascertains that the content of the one or more resource links has not been previously cached at the computer, then in response to said ascertaining, caching, at the computer by the processor, the content of the detected one or more resource links; andif said ascertaining ascertains that the content of the one or more resource links has been previously cached at the computer, then in response to said ascertaining, said processor making a determination of whether or not the previously cached content of the one or more resource links is current relative to the content of the detected one or more resource links.
  • 17. The computer program product of claim 16, wherein said making a determination of whether the previously cached content of the one or more resource links is current relative to the content of the detected one or more resource links comprises determining a characteristic of the detected one or more resource links, said characteristic being selected from the group consisting of file size, checksum, and date stamp.
  • 18. The computer program product of claim 15, said method further comprising: if said determination is that the previously cached content of the one or more resource links is not current relative to the content of the detected one or more resource links, then in response to said determination, caching, at the computer by the processor, the content of the detected one or more resource links; andif said determination is that the previously cached content of the one or more resource links is current relative to the content of the detected one or more resource links, then in response to said determination, not caching, at the computer by the processor, the content of the detected one or more resource links.
  • 19. The computer program product of claim 15, wherein said determining that users of the computer are likely to request the content of the one of more resource links is further based on access permissions to the one or more resource links at a source of the one of more resource links.
  • 20. The computer program product of claim 15, wherein said determining that users of the computer are likely to request the content of the detected one or more resource links is further based on a preference, stored at the computer, that one resource link of the detected one or more resource links was clicked on before said scanning.
CROSS REFERENCE TO RELATED APPLICATIONS

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.

Continuations (2)
Number Date Country
Parent 13686554 Nov 2012 US
Child 15241483 US
Parent 12434100 May 2009 US
Child 13686554 US