The present invention relates generally to the provision of feeds using Session Initiation Protocol (SIP) events. More particularly, the present invention relates to the delivery of rich site summary (RSS) feeds and Atom feeds using a SIP events framework.
RSS is a format used for syndicating news and the content of news-like web sites. RSS is an umbrella term for a format that spans several versions and at least two parallel formats. There are currently about ten different versions of RSS. Most news sites provide RSS feeds, and RSS is also used to distribute wiki and blog changes.
There is currently a desire to define a single standard protocol to phase out different version of RSS. Atompub is a working group in the Internet Engineering Task Force (IETF) that is standardizing Atom format and protocols. Atom is a simple method for reading and writing information on the web, allowing a user to easily keep track of more sites in less time, and to seamlessly share the user's words and ideas by publishing the ideas to the web. Atom defines a feed format for representing feeds and a protocol for editing Web resources. Currently, neither RSS nor Atom specifies a transport protocol for feeds, although hypertext transfer protocol (HTTP) is regularly used.
Session Initiation Protocol (SIP) is a widely used protocol that is used to set up calls and implement presence and messaging services. IP Multimedia Subsystem (IMS) capable mobile devices and networks are developing SIP infrastructure, and SIP services are also offered in the Internet. The SIP events framework defines SIP SUBSCRIBE and NOTIFY methods.
Atom feeds are delivered to clients using HTTP. The client polls a given feed's Uniform Resource Locator (URL) at predetermined intervals to determine if there has been a change to the feed. The feed itself is a structured text document represented in eXtended Markup Language (XML).
For a client terminal to obtain the feed items as quickly as possible, it has to poll the URL in short enough intervals. For example, if a client wants to have the newly-arrived item available within ten minutes of its appearance, it must poll the source in an interval of less than ten minutes. This is referred to as a POLL method.
For a personal computer client having access to a rapid, flat rate Internet connection, this POLL method is usually not a significant issue. For a mobile device that has limited bandwidth and battery capacity, however, frequent polling is suboptimal. Additionally, frequent polling causes additional loads to a server that is providing the feeds. If the feed item needs to be delivered instantly, the HTTP polling method is not suitable at all.
This present invention provides a system and method for applying the SIP events framework in order to deliver RSS/Atom syndication feeds. The invention includes a feed delivery server and a feed consumption client. The feed delivery server is a SIP event server. Clients use the SIP SUBSCRIBE method to subscribe to the feed. Once the client has subscribed to the feed, the server starts delivering new feed items using the SIP NOTIFY method whenever new information becomes available, essentially providing a PUSH mechanism where new materials is provided to the client whenever it becomes available to the server. Alternatively, the feed delivery server can simply notify the client of changes in the feed. The SIP server may generate the feed itself, or it may use any feed that is available on the network. If an existing feed is used, the server polls the feed source, checks for new items and then generates the SIP NOTIFY for each subscribed client. The client may reside on a personal computer, a mobile device or in any other device that supports SIP.
In one embodiment of the invention, the SIP PUBLISH method can be used by external feed sources to publish the feed. With this particular embodiment, the system of the present invention becomes more intelligent, and the feed delivery server does not have to poll the feed source on a continuous basis.
With the present invention, the benefit of a PUSH mechanism can be achieved over the current POLL mechanism used in conventional feeds. Adding the SIP SUBSCRIBE/NOTIFY method also allows for new use cases for the feeds. The present invention can also minimize network traffic and battery consumption on mobile devices, while providing better service to end users. A system operating according to the present invention can utilize existing SIP infrastructure, and may lower the processing requirements on the server side of the system. The present invention functions effectively with already existing SIP-based services, and already-implemented functions for SIP can be utilized with the present invention. The present invention is also easy to integrate to an IMS or other SIP-based system architecture.
These and other objects, advantages and features of the invention, together with the organization and manner of operation thereof, will become apparent from the following detailed description when taken in conjunction with the accompanying drawings, wherein like elements have like numerals throughout the several drawings described below.
For exemplification, the system 10 shown in
The exemplary communication devices of the system 10 may include, but are not limited to, a mobile telephone 12, a combination PDA and mobile telephone 14, a PDA 16, an integrated messaging device (IMD) 18, a desktop computer 20, and a notebook computer 22. The communication devices may be stationary or mobile as when carried by an individual who is moving. The communication devices may also be located in a mode of transportation including, but not limited to, an automobile, a truck, a taxi, a bus, a boat, an airplane, a bicycle, a motorcycle, etc. Some or all of the communication devices may send and receive calls and messages and communicate with service providers through a wireless connection 25 to a base station 24. The base station 24 may be connected to a network server 26 that allows communication between the mobile telephone network 11 and the Internet 28. The system 10 may include additional communication devices and communication devices of different types.
The communication devices may communicate using various transmission technologies including, but not limited to, Code Division Multiple Access (CDMA), Global System for Mobile Communications (GSM), Universal Mobile Telecommunications System (UMTS), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Transmission Control Protocol/Internet Protocol (TCP/IP), Short Messaging Service (SMS), Multimedia Messaging Service (MMS), e-mail, Instant Messaging Service (IMS), Bluetooth, IEEE 802.11, etc. A communication device may communicate using various media including, but not limited to, radio, infrared, laser, cable connection, and the like.
This present invention provides a system and method for applying the SIP SUBSCRIBE/NOTIFY framework in order to deliver RSS/Atom syndication feeds. A system in which the present invention is implemented comprises two primary components: a feed delivery server, represented at 150 in
Once the feed consumption client 100 has subscribed to the feed, the feed delivery server 150 begins delivering new feed items using a SIP NOTIFY method. For example, when new information becomes available, the feed delivery server 150 transmits a SIP NOTIFY message at step 230 to the feed consumption client 100. In one embodiment of the invention, the SIP NOTIFY message transmits current state information and the updated content to the feed consumption client 100. In another embodiment of the invention, the SIP NOTIFY message only transmits the URL of the feed source 175 or a similar notification that the feed has changed, after which the feed consumption client 100 can regularly fetch the new material. The SIP NOTIFY message is acknowledged in a return message by the feed consumption client 100 at step 240. The following is an example of the notification process in computer code:
The feed that is provided to the feed consumption client 100 may be generated by the feed delivery server 150, or it may use any feed that is available on the network. If an existing feed is used, then the feed delivery server 150 needs to poll a feed source 175, check for new items, and then generate the SIP NOTIFY message for each subscribed feed consumption client 100 in one embodiment of the invention.
In another embodiment of the invention, the feed delivery server 150 does not have to continuously poll the feed source 175. In this particular embodiment, the feed source 175 can first transmit a SIP REGISTER message to the feed delivery server 150 in order to register with the feed delivery server 150. If the feed source 175 is updated at a later time, then the feed source 175 transmits a SIP PUBLISH message to the feed delivery server 150, which serves as a presence server. The feed delivery server 150 can then use this information to inform the feed consumption client 100 whenever an update of the feed source 175 has taken place.
The feed consumption client 100 may reside on a personal computer, a mobile device, or in virtually any other device that supports SIP. The feed consumption client 100 needs to implement the defined event package. The feed consumption client 100 needs to have a user interface for displaying the feed items, as well as a user interface to manage the respective subscriptions.
With the present invention, a new event package is standardized for Atom feed delivery. An event package defines (1) the name, parameters, and subscription duration of the package; (2) recommendations for the SIP SUBSCRIBE request body (for example, filters for the feed); (3) the SIP NOTIFY request body (i.e., the MIME type atom+xml); and (4) the SIP SUBSCRIBE and SIP NOTIFY request operation on the user agent client (UAC) and the user agent server (UAS).
As discussed above, the implementation of the present invention requires a feed delivery server 150 and a feed consumption client 100. The feed delivery server 150 may be implemented as a standalone aggregator of feeds, or it may be integrated into a content server. The feed consumption client 100 implementation may vary depending upon the intended usage. The feed consumption client 100 can take the form of a stand-alone application, or it may be integrated into some other application such as a messaging client. The feed consumption client 100 may also be part of the device user interface, such as an “active idle” user interface.
The technical requirements for the present invention are generally as follows in a situation where the feed consumption client 100 comprises a mobile telephone 12. However, the present invention can be used in conjunction with a wide variety of electronic devices. For the SIP stack on the mobile telephone 12, the mobile telephone 12 needs to have the SIP stack active while there is an outstanding subscription. Networks need to allow incoming SIP traffic to the mobile telephone 12. An aggregator can also be used for converting periodic HTTP GET request results into NOTIFY events. One example of an aggregator can be found at the web site http://www.bloglines.com. In one embodiment of the invention, the feed suppliers can provide NOTIFY events directly to the feed consumption client 100.
The system and method of the present invention can be implemented in several use cases. In addition to the basic feed delivery system depicted in
The present invention can also be used in the area of closed user groups. For example, the present invention can be used in conjunction with discussion boards and weblogs so that a reader is provided with an instant notification of any changes and/or additional information being posted. Instances where this can be particularly useful include situations where a message is added to a thread in a discussion group, or when a particular web log has new information added. Additionally, by adding XML configuration access protocol (XCAP) resource list-based group management, each subscription can be authenticated.
The present invention can also constitute an add-on to the SIP conferencing framework. Existing SIP-based conferences can also deliver a subscription-based news feed. In this situation, the benefit is derived from existing addressing and authorization in an ongoing conference.
The present invention is described in the general context of method steps, which may be implemented in one embodiment by a program product including computer-executable instructions, such as program code, executed by computers in networked environments. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Computer-executable instructions, associated data structures, and program modules represent examples of program code for executing steps of the methods disclosed herein. The particular sequence of such executable instructions or associated data structures represents examples of corresponding acts for implementing the functions described in such steps.
Software and web implementations of the present invention could be accomplished with standard programming techniques with rule based logic and other logic to accomplish the various database searching steps, correlation steps, comparison steps and decision steps. It should also be noted that the words “component” and “module,” as used herein and in the claims, is intended to encompass implementations using one or more lines of software code, and/or hardware implementations, and/or equipment for receiving manual inputs.
The foregoing description of embodiments of the present invention have been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the present invention to the precise form disclosed, and modifications and variations are possible in light of the above teachings or may be acquired from practice of the present invention. The embodiments were chosen and described in order to explain the principles of the present invention and its practical application to enable one skilled in the art to utilize the present invention in various embodiments and with various modifications as are suited to the particular use contemplated.