Offline web browser
First Claim
1. A computer-implemented method for managing webpages for display on an offline browser, comprising:
- identifying least recently used webpages from a plurality of webpages stored in a disk storage of a client device that is associated with the offline browser, wherein the plurality of webpages includes a plurality of resources and wherein identifying the least recently used webpages further comprises;
determining a size of each webpage, wherein the size of each webpage is a sum of sizes of resources that are included in each webpage;
determining an access history threshold of the offline browser, wherein the access history threshold is a sequential access of a number of webpages;
determining an access history of each webpage based on the access history threshold;
generating an access score for each webpage, wherein the access score is a function of the determined access history of each webpage;
generating an expected access score for each webpage, wherein the expected access score is a function of the access score of each webpage; and
determining a webpage removal threshold based on the expected access score of each webpage and the size of each webpage; and
removing the least recently used webpages from the disk storage to maximize the display of remaining webpages on the offline browser, wherein the remaining webpages share a subset of resources that are included in the least recently used webpages, and wherein the removing further comprises;
identifying a resource count of the resource included in the least recently used webpages;
decrementing the resource count of a resource; and
removing the resource when the resource count is below the webpage removal threshold.
2 Assignments
0 Petitions
Accused Products
Abstract
According to an embodiment, a system, a method and a computer-program product for managing resources on an offline browser. A client device receives a resource from a web server. The resource is included in a webpage. A hash is generated from a uniform resource identifier (URI) associated with the resource. The generated hash is mapped to a local file path of the resource. The local file path indicates the location of the resource in a disk storage. The resource is stored in the disk storage such that the resource is accessible by a hash when the client device subsequently cannot connect to the web server to download the resource associated with the URI.
6 Citations
25 Claims
-
1. A computer-implemented method for managing webpages for display on an offline browser, comprising:
-
identifying least recently used webpages from a plurality of webpages stored in a disk storage of a client device that is associated with the offline browser, wherein the plurality of webpages includes a plurality of resources and wherein identifying the least recently used webpages further comprises; determining a size of each webpage, wherein the size of each webpage is a sum of sizes of resources that are included in each webpage; determining an access history threshold of the offline browser, wherein the access history threshold is a sequential access of a number of webpages; determining an access history of each webpage based on the access history threshold; generating an access score for each webpage, wherein the access score is a function of the determined access history of each webpage; generating an expected access score for each webpage, wherein the expected access score is a function of the access score of each webpage; and determining a webpage removal threshold based on the expected access score of each webpage and the size of each webpage; and removing the least recently used webpages from the disk storage to maximize the display of remaining webpages on the offline browser, wherein the remaining webpages share a subset of resources that are included in the least recently used webpages, and wherein the removing further comprises; identifying a resource count of the resource included in the least recently used webpages; decrementing the resource count of a resource; and removing the resource when the resource count is below the webpage removal threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for managing webpages with an offline browser, comprising:
-
A processor; A memory; and the offline browser stored in the memory and executed by the processor configured to; identify least recently used webpages from a plurality of webpages stored in a disk storage of a client device that is associated with the offline browser, wherein the plurality of webpages includes a plurality of resources, wherein to identify the least recently used webpages the offline browser is further configured to; determine a size of each webpage, wherein the size of each webpage is a sum of sizes of resources that are included in each webpage; determine an access history threshold of the offline browser, wherein the access history threshold is a sequential access of a number of webpages; determine an access history of each webpage based on the access history threshold; generate an access score for each webpage, wherein the access score is a function of the determined access history of each webpage; generate an expected access score for each webpage, wherein the expected access score is a function of the access score of each webpage; and determine a webpage removal threshold based on the expected access score of each webpage and the size of each webpage; and remove the least recently used webpages from the disk storage to maximize the display of remaining webpages on the offline browser, wherein the remaining webpages share a subset of resources that are included in the least recently used webpages, and wherein to remove the least recently used webpage the offline browser is further configured to; identify a resource count of the resource included in the least recently used webpages; decrement the resource count of the resource; and remove the resource when the resource count is below the webpage removal threshold. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. An article of manufacture including a non-transitory computer-readable storage medium having instructions stored thereon that, when executed by a computing device, cause the computing device to perform operations for managing webpages with an offline browser, the operations comprising:
-
identifying least recently used webpages from a plurality of webpages stored in a disk storage of a client device that is associated with the offline browser, wherein the plurality of webpages includes a plurality of resources, and wherein the instructions that perform operations for identifying the least recently used webpages within the offline browser further comprise instructions that perform operations comprising; determining a size of each webpage, wherein the size of each webpage is a sum of sizes of resources that are included in each webpage; determining an access history threshold of the offline browser, wherein the access history threshold is a sequential access of a number of webpages; determining an access history of each webpage based on the access history threshold; generating an access score for each webpage, wherein the access score is a function of the determined access history of each webpage; generating an expected access score for each webpage, wherein the expected access score is a function of the access score of each webpage; and determining a webpage removal threshold based on the expected access score of each webpage and the size of each webpage; and removing the least recently used webpages from the disk storage to maximize the display of remaining webpages on the offline browser, wherein the remaining webpages share a subset of resources that are included in the least recently used webpages, and wherein the removing further comprises; identifying a resource count of a resource included in the least recently used webpages; decrementing the resource count of the resource; and removing the resource when the resource count is below a predefined threshold. - View Dependent Claims (20, 21, 22, 23, 24, 25)
-
Specification