×

HTTP performance enhancement based on delta transfer

  • US 9,058,400 B2
  • Filed: 08/15/2012
  • Issued: 06/16/2015
  • Est. Priority Date: 08/15/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method implemented by a computer system for client-server communication based on delta transfer, the method comprising:

  • receiving, from a first client and by a server, a first HTTP request for transferring a current image page;

    determining, by the server, that the first client does not have a client ID saved in a table on the server;

    allocating, by the server, a new client ID to the first client and building server relationship entries in the table for the first client, in response to determining that the first client does not have a client ID saved in the table on the server, wherein the server relationship entries include the new client ID, a URL, an image page path, and a time stamp;

    in response to determining that the new client ID is allocated, saving a new image page on a repository of the server, and sending the new image page as first delta contents in a HTTP response to the first client;

    writing the new client ID into a cookie;

    receiving, from a second client and by the server, a second HTTP request for transferring the current image page;

    determining, by the server, that the second client has a client ID saved in the table on the server;

    determining, by the server, that a saved image page for the client ID of the second client exists on the repository of the server, in response to determining that the second client has the client ID saved in the table;

    retrieving, by the server, the saved image page from the repository, in response to determining that the saved image page for the client ID of the second client exists on the repository;

    comparing, by the server, the current image page and the saved image page;

    constructing, by the server, second delta contents between the current image page and the saved image page, wherein the second delta contents comprises at least one of an add operation and a modify operation, in addition to a location of an update defined by an ancestor and a sub path, and a content of an updated node;

    updating, on the server, the saved image page with the current image page; and

    sending, from the server to the second client, a HTTP response comprising the second delta contents.

View all claims
  • 5 Assignments
Timeline View
Assignment View
    ×
    ×