Browse Prior Art Database

Smart Refresh Manager

IP.com Disclosure Number: IPCOM000212665D
Publication Date: 2011-Nov-22
Document File: 6 page(s) / 166K

Publishing Venue

The IP.com Prior Art Database

Abstract

Disclosed is a self-adaptive solution in Web 2.0 System HTTP communication. Two refresh agents is introduced into browser side and server side. They centrally manage all polling/auto-refreshing HTTP requests, combine those requests with the same frequency into one, to reduce network traffic. And they also detect critical conditions(e.g. user leave/server data remain unchanged) and then reduce the refreshing/polling frequency on demand, which will significantly improve performance in both network and server.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 36% of the total text.

Page 01 of 6

Smart Refresh Manager

FILED OF THE INVENTION
This invention is to improve the performance of AJAX polling in Web 2.0 systems, and try reduce energy cost.

BACKGROUND OF THE INVENTION
Currently, along with the wider spread of web 2.0 applications, the Ajax auto-refresh is widely used to make the page 'up-to-date' with the server without reloading the entire page. It greatly improves user experience of those web applications. However, as the page being more and more complicated, many widgets need to refresh data from the server. Most of them set a default refresh frequency (e.g. 30s). In this case, many HTTP polling requests will be raised at the same time(like a pulse),[FIG.1], which makes the browser and server very busy. And the refresh frequency is often higher than the frequency of the actual data-change in the server.

This invention introduce two smart refresh agents(in browser & server) to optimize the application performance and reduce the energy cost, by reducing both count of HTTP requests and refresh frequency, without changing the application's refreshing logic.

FIG.1
Prior Art:
There is a similar patent:
Optimized Polling in Low Resource Devicesby Du Li et al

link:

1



Page 02 of 6

http://www.google.com/patents?id=he_NAAAAEBAJ&pg=PA10&dq=ajax+polling&hl=en&ei=FlrYTeauFoq2vQP2xpS5Bw&sa=X&oi=book_result&ct=result&resnum=1 &ved=0CCgQ6AEwAA#v=onepage&q=ajax%20polling&f=false
which also do some optimization in HTTP communication.

Since it only combine multiple requests, it cannot reduce refresh frequency, even there is no server side data update or client side user attendance.

And it also introduce a 3rd party web server, which may result in some security issues.

SUMMARY OF THE INVENTION


This solution define two refresh agent in browser side and server side, as a Software Development Kit. So that they can combine HTTP polling requests of several refresh request, and reduce the refresh frequency base on conditions such as: user action time-out in browser and data change frequency in server. And it also provide an approach to recover the frequency, when the those conditions are no longer available.

DENTATED DESCRIPTION OF THE INVENTION


This invention can be implemented as a Web Software Development Toolkit, which contains to components in browser side and server side.

Browser side: providing an agent (named Smart Refresh Manager) that developers can register their refresh requests (including URL, method, content, callback and frequency). This agent will ,[1 FIG.2]serialize some information(URL,method,content) of multiple refresh requests in the same frequency put it the content of one HTTP request, and start an interval in predefined frequency, sending the request out. While get the response,[4 FIG.2]the agent will split the responses for each refresh requests, and call their own callback functions to notify the widgets.

The Smart Refresh Manager can also detect user leave info, so that it can increase the refresh interval(e.g. doubl...