WO2015043428A1 - Method, system, browser and proxy server for loading webpage - Google Patents

Method, system, browser and proxy server for loading webpage Download PDF

Info

Publication number
WO2015043428A1
WO2015043428A1 PCT/CN2014/087058 CN2014087058W WO2015043428A1 WO 2015043428 A1 WO2015043428 A1 WO 2015043428A1 CN 2014087058 W CN2014087058 W CN 2014087058W WO 2015043428 A1 WO2015043428 A1 WO 2015043428A1
Authority
WO
WIPO (PCT)
Prior art keywords
webpage
webpage resource
index
resource
local
Prior art date
Application number
PCT/CN2014/087058
Other languages
French (fr)
Inventor
Xiaohai WEI
Original Assignee
Tencent Technology (Shenzhen) Company Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology (Shenzhen) Company Limited filed Critical Tencent Technology (Shenzhen) Company Limited
Publication of WO2015043428A1 publication Critical patent/WO2015043428A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking

Definitions

  • the present disclosure relates to network and communication technologies, especially to a method, a system, a browser, a proxy server for loading a webpage.
  • Cache If a web server indicates some of the resources may be stored in the cache, then, when a browser receives this sort of resources, it will store them in the local cache, so next time when these resources are required, the browser can read them directly from the cache instead of downloading them from the web server, so as to reduce the data traffic and increase the loading speed.
  • Webpage compression An ordinary webpage is a text file, so a web server or an intermediate proxy server can compress and zip the webpage before sending it to a browser. When the browser receives the webpage, the browser unzips and recovers the webpage. In this way, it can reduce the data traffic and increase the loading speed.
  • a browser and a proxy server can make an agreement in advance on using a default header. Then, when sending a request to the server, the browser can omit part of the header which will be added later by the proxy server. In this way, it can reduce the data traffic and increase the loading speed as well.
  • the methods described above can reduce the data traffic and increase the loading speed in some cases, however, if the webpage changes, even just a little bit, the browser needs to download the entire webpage from the web server again. With regard to the resources that are not indicated to be stored in the cache, even if the new webpage is the same with the previous one, the browser needs to download the webpage from the server again. In this situation, it not only increases the data traffic but also wastes time.
  • the examples of the present disclosure provide a method, a system, a browser and a proxy server for loading a webpage, which can reduce the data traffic and increase the webpage loading speed.
  • the examples of the present disclosure provide a method for loading a webpage, which comprises the following steps:
  • the examples of the present disclosure also provide a system for loading a webpage which comprises a browser and a proxy server, wherein the browser comprises a first sending-receiving module, a local retrieving module, and a webpage generating module, and the proxy server comprises a webpage downloading module, a webpage searching module, a comparing module, and a second sending-receiving module; wherein
  • the first sending-receiving module having one or more processors coupled with memory is used for sending a request for a webpage to the proxy server after accessing a local database;
  • the webpage downloading module having one or more processors coupled with memory is used for retrieving a new webpage resource corresponding to the request from a web server;
  • the webpage searching module having one or more processors coupled with memory is used for searching a webpage database on the proxy server for an old webpage resource corresponding to the request;
  • the comparing module having one or more processors coupled with memory is used for comparing the new webpage resource with the old webpage resource to obtain differences between the new webpage resource and the old webpage resource;
  • the second sending-receiving module having one or more processors coupled with memory is used for sending the differences to the browser;
  • the local retrieving module having one or more processors coupled with memory is used for retrieving a local webpage resource corresponding to the request from the local database;
  • the webpage generating module having one or more processors coupled with memory is used for generating the new webpage resource based on the local
  • the examples of the present disclosure also provide a proxy server for loading a webpage which comprises a webpage downloading module, a webpage searching module, a comparing module and a second sending-receiving module;
  • the second sending-receiving module having one or more processors coupled with memory is used for receiving a request for a webpage from a browser; the webpage downloading module having one or more processors coupled with memory is used for retrieving a new webpage resource corresponding to the request from a web server; the webpage searching module having one or more processors coupled with memory is used for searching a webpage database on the proxy server for an old webpage resource corresponding to the request; the comparing module having one or more processors coupled with memory is used for comparing the new webpage resource with the old webpage resource to obtain differences between the new webpage resource and the old webpage resource; andthe second sending-receiving module having one or more processors coupled with memory is used for sending the differences to the browser.
  • the proxy server after receiving the request for a webpage from the browser, compares the new webpage resource with the old webpage resource, and only sends the differences to the server, so as to reduce the data traffic; moreover, after receiving the differences, the browser generates the new webpage resource by combiningthe local webpage resource with the difference, so as to increase the loading speed.
  • Fig. 1 is a flow chart of a first example of the method for loading a webpage of the present disclosure.
  • Fig. 2 is a flow chart of a second example of the method for loading a webpage of the present disclosure.
  • Fig. 3 is a flow chart of a third example of the method for loading a webpage of the present disclosure.
  • Fig. 4 is a flow chart of a fourth example of the method for loading a webpage of the present disclosure.
  • Fig. 5 is a flow chart of a fifth example of the method for loading a webpage of the present disclosure.
  • Fig. 6 is a flow chart of a first example of the browser-side method for loading a webpage of the present disclosure.
  • Fig. 7 is a flow chart of a second example of the browser-side method for loading a webpage of the present disclosure.
  • Fig. 8 is a flow chart of a third example of the browser-side method for loading a webpage of the present disclosure.
  • Fig. 9 is a flow chart of a first example of the proxy-server-side method for loading a webpage of the present disclosure.
  • Fig. 10 is a flow chart of a second example of the proxy-server-side method for loading a webpage of the present disclosure.
  • Fig. 11 is a flow chart of a third example of the proxy-server-side method for loading a webpage of the present disclosure.
  • Fig. 12 is a flow chart of a fourth example of the proxy-server-side method for loading a webpage of the present disclosure.
  • Fig. 13 is a schematic structural diagram of a first example of the system for loading a webpage of the present disclosure.
  • Fig. 14 is a schematic structural diagram of a second example of the system for loading a webpage of the present disclosure.
  • Fig. 15 is a schematic structural diagram of a third example of the system for loading a webpage of the present disclosure.
  • Fig. 16 is a schematic structural diagram of a fourth example of the system for loading a webpage of the present disclosure.
  • Fig. 17 is a schematic structural diagram of a first example of the browser of the present disclosure.
  • Fig. 18 is a schematic structural diagram of a second example of the browser of the present disclosure.
  • Fig. 19 is a schematic structural diagram of a third example of the browser of the present disclosure.
  • Fig. 20 is a schematic structural diagram of a first example of the proxy server of the present disclosure.
  • Fig. 21 is a schematic structural diagram of a second example of the proxy server of the present disclosure.
  • Fig. 22 is a schematic structural diagram of a third example of the proxy server of the present disclosure.
  • module may refer to, be part of, or include an Application Specific Integrated Circuit (ASIC) ; an electronic circuit; a combinational logic circuit; a field programmable gate array (FPGA) ; a processor (shared, dedicated, or group) that executes code; other suitable hardware components that provide the described functionality; or a combination of some or all of the above, such as in a system-on-chip.
  • ASIC Application Specific Integrated Circuit
  • FPGA field programmable gate array
  • the term module may include memory (shared, dedicated, or group) that stores code executed by the processor.
  • the exemplary environment may include a server, a client, and a communication network.
  • the server and the client may be coupled through the communication network for information exchange, such as sending/receiving identification information, sending/receiving data files such as splash screen images, etc.
  • information exchange such as sending/receiving identification information, sending/receiving data files such as splash screen images, etc.
  • client and one server are shown in the environment, any number of terminals or servers may be included, and other devices may also be included.
  • the communication network may include any appropriate type of communication network for providing network connections to the server and client or among multiple servers or clients.
  • communication network may include the Internet or other types of computer networks or telecommunication networks, either wired or wireless.
  • the disclosed methods and apparatus may be implemented, for example, in a wireless network that includes at least one client.
  • the client may refer to any appropriate user terminal with certain computing capabilities, such as a personal computer (PC) , a work station computer, a server computer, a hand-held computing device (tablet) , a smart phone or mobile phone, or any other user-side computing device.
  • the client may include a network access device.
  • the client may be stationary or mobile.
  • a server may refer to one or more server computers configured to provide certain server functionalities, such as database management and search engines.
  • a server may also include one or more processors to execute computer programs in parallel.
  • Fig. 1 is a flow chart of a first example of the method for loading a webpage of the present disclosure. All steps shown in Fig. 1 may be performed by processor 1-10 to execute instructions stored in memory 1-12. As shown in Fig. 1, in this example, the method for loading a webpage comprises:
  • Step 110 sending, by a browser, a request for a webpage to a proxy server after accessing a local database.
  • the browser can check whether the corresponding webpage resource is already cached first including accessing a local database. If the corresponding webpage resource isn’t cached, the browser sends the request to the proxy server, if the corresponding webpage resource is cached, the browser loads the webpage resource directly from the cache rather than send the request, so as to reduce the data traffic and increase the loading speed.
  • Step 120 retrieving, by the proxy server, a new webpage resource corresponding to the request from a web server.
  • the proxy server can respond to the request from the browser, send the processed request to the corresponding web server, process the data from the web server, then send the processed data back to the user’s browser.
  • Step 130 searching a webpage database on the proxy server for an old webpage resource corresponding to the request.
  • the proxy server After receiving the request for a webpage, the proxy server searches the browsing history, that is to say, search the webpage database to see if there is the old webpage resource corresponding to the webpage the user intends to browse. If there isn’t, the proxy server sends the retrieved new webpage resource to the browser.
  • Step 140 comparing, by the proxy server, the new webpage resource with the old webpage resource to obtain differences between the new webpage resource and the old webpage resource, and sending the differences to the browser.
  • the proxy server compares the new webpage resource with the old webpage resource to obtain the differences therebetween, i. e. the parts of the new webpage resource which are different from the corresponding parts of old webpage resource.
  • the proxy server only sends the differences to the browser rather than the entire webpage, so as to reduce the data traffic.
  • Step 150 retrieving, by the browser, a local webpage resource corresponding to the request from a local database, and generating the new webpage resource based on the local webpage resource and the differences.
  • the browser After receiving the data from the proxy server, the browser determines whether it’s an entire webpage resource or it’s just the differences. If it is an entire webpage resource, the browser loads the webpage resource directly. If what the browser received is the differences, then the browser retrieves the old webpage resource from the local database, generates the new webpage based on the differences, and loads the generated new webpage. As most of the contents are already on the old webpage, the browser only needs to replace a small part of the original contents with the differences, thus, the method can increase the loading speed.
  • the proxy server after receiving the request for a webpage from the browser, compares the new webpage resource with the old webpage resource, and only sends the differences to the browser, so as to reduce the data traffic; in addition, after receiving the differences, the browser can generate the new webpage resource based on the differences, so as to effectively increase the loading speed.
  • Fig. 2 is a flow chart of a second example of the method for loading a webpage of the present disclosure. All steps shown in Fig. 2 may be performed by processor 2-10 to execute instructions stored in memory 2-12. The example shown in Fig. 2 is on the basis of the example shown in Fig. 1. As shown in Fig. 2, the example describes in details how the browser process the request for a webpage, wherein, Step 110 comprises:
  • Step 111 extracting, by the browser, a URL from the request.
  • the request contains the URL (Uniform Resource Locator) of the webpage the user intends to browse.
  • the browser saves the browsed webpage into the local database on user’s terminal when necessary, in the meantime, the browser creates an index table in the local database according to the index of the URL, wherein, the index table contains the entire webpage resource and the index of the webpage resource, the index may be a hash value corresponding to the URL.
  • Step 112 determining, by the browser, a URL index based on the URL.
  • Step 113 checking, by the browser, whether the local webpage resource and a local webpage resource index corresponding to the URL index exist in the local database.
  • the browser searches the local database on the user’s terminal to see if a webpage having the same URL has been saved on the device, i. e. the local old webpage resource.
  • Step 114 if the local webpage resource and the local webpage resource index corresponding to the URL index exist in the local database, adding, by the browser, the local webpage resource index to the request.
  • Step 115 sending, by the browser, the request added with the local webpage resource index to the proxy server.
  • the browser sends the request to the proxy server with adding the index of the webpage source to the header of the request. If the old webpage resource corresponding to the index of the URL doesn’t exist in the local database, the browser sends the request to the proxy server without adding information to it.
  • the proxy server is able to search the database on the proxy server for the browsed webpage resource. In this way, the method reduces the data traffic between the browser and the proxy server.
  • Fig. 3 is a flow chart of a third example of the method for loading a webpage of the present disclosure. All steps shown in Fig. 3 may be performed by processor 3-10 to execute instructions stored in memory 3-12. The example shown in Fig. 3 is on the basis of the example shown in Fig. 1. As shown in Fig. 3, the example describes in details how the proxy server downloads the new webpage and searches for the old webpage, wherein:
  • Step 121 extracting, by the proxy server, the URL from the request.
  • Step 122 retrieving, by the proxy server, the new webpage resource corresponding to the URL from the web server.
  • the proxy server sends the request to the web server, and retrieves the webpage resource corresponding to the URL from the web server.
  • Step 130 comprises:
  • Step 131 extracting, by the proxy server, the local webpage resource index from the request.
  • Step 132 searching, by the proxy server, the webpage database on the proxy server for the old webpage resource corresponding to the local webpage resource index.
  • the proxy server checks whether the request from the browser contains the index of the webpage source. If yes, based on the index, the proxy server searches the webpage database for the corresponding webpage resource. If not, the proxy server sends directly the new webpage resource to the browser.
  • the proxy server stores the browsed webpage resources. During retrieving, the proxy server downloads the new webpage based on the URL contained in the request, and searches for the old webpage based on the index of the webpage resource contained in the request. In this way, useful information may beobtained easily and quickly, so as to increase the loading speed.
  • Fig. 4 is a flow chart of a fourth example of the method for loading a webpage of the present disclosure. All steps shown in Fig. 4 may be performed by processor 4-10 to execute instructions stored in memory 4-12. The example shown in Fig. 4 is on the basis of the example shown in Fig. 1. As shown in Fig. 4, thisexample describes in details how the proxy server compares the new webpage resource with the old webpage resource, wherein, Step 140comprises:
  • Step 141 comparing, by the proxy server, the new webpage resource with the old webpage resource to obtain the differences between the new webpage resource and the old webpage resource.
  • Step 142 determining, by the proxy server, whether a data volume of the differences exceeds a pre-specified threshold; if yes, go to Step 143; if not, go to Step 144.
  • Step 143 sending, by the proxy server, the new webpage resource to the browser.
  • Step 144 sending, by the proxy server, the differences to the browser.
  • the proxy server can compare the new webpage with the old webpage to obtain the differences therebetween.
  • the proxy server can send directly the new webpage to the browser. If the data volume of the differences is relatively small, the proxy server can send the differences to the browser with indicating what the proxy server sends is the differences not the entire webpage.
  • the proxy server can send a set of instructions to the browser instead of sending the differences.
  • the set of instructions is used for indicating how to generate the new webpage based on the old webpage, and the data volume of the set is smaller than the data volume of the entire webpage resource. Based on these instructions and the old webpage resource stored in local database on the user’s terminal, the browser can then generate the new webpage resource. This way can also reduce the data traffic and increase the loading speed.
  • Fig. 5 is a flow chart of a fifth example of the method for loading a webpage of the present disclosure. All steps shown in Fig. 5 may be performed by processor 5-10 to execute instructions stored in memory 5-12. The example shown in Fig. 5 is on the basis of the example shown in Fig. 1. As shown in Fig. 5, this example describes in details how to save the new webpage resource, wherein:
  • Step 120 the method comprises:
  • Step 161 determining, by the proxy server, an index for the new webpage resource based on the new webpage resource.
  • Step 162 checking, by the proxy server, whether a webpage index table corresponding to the index of the new webpage resource exists in the webpage database; if yes, go to Step 163; if not, go to Step 164.
  • Step 163 replacing, by the proxy server, the old webpage resource saved in the webpage index table with the new webpage resource.
  • Step 164 creating, by the proxy server, a webpage index table corresponding to the index of the new webpage resource in the webpage database, and saves the new webpage resource into the webpage index table.
  • the proxy server stores all the browsed webpage resources, and creates the webpage index tables according to the indexes of the webpage resources. Every webpage resource is stored in its corresponding webpage index table, so next time when a webpage is required, the webpage index table can help the proxy server retrieve the old webpage recourse.
  • Step 150 the method further comprises:
  • Step 171 determining, by the browser, the index of the URL based on the URL of the new webpage resource, and determines the index of the new webpage resource based on the new webpage resource.
  • Step 172 checking, by the browser, whether a local index table corresponding to the index of the URL exists in the local database; if yes, go to Step 173; if not, go to Step 174.
  • Step 173 replacing, by the browser, respectively the old webpage resource and an index of the old webpage resource saved in the local index table with the new webpage resource and the index of the new webpage resource.
  • Step 174 creating, by the browser, a local index table corresponding to the index of the URL in the local database, and saves the new webpage resource and the index of the new webpage resource into the local index table.
  • the browser creates the local index tables in the local database according to the indexes of the URLs of browsed webpages, the index table contains the browsed webpage resource and the index of the webpage resource, so next time when a webpage is required, the index table can help the browser retrieve the old webpage recourse and the index of the webpage resource.
  • the index of the webpage resource is used for searching the webpage index table on the proxy server for the webpage resource.
  • This example employs a hash algorithm to create the index table, the webpage resource and its related information are stored in the index table. In this way, useful information may be retrieved easily and quickly, so as to increase the loading speed.
  • Fig. 6 is a flow chart of a first example of the browser-side method for loading a webpage of the present disclosure. All steps shown in Fig. 6 may be performed by processor 6-10 to execute instructions stored in memory 6-12. As shown in Fig. 6, in this example, the browser-side method for loading a webpage comprises:
  • Step 210 sending a request for a webpage to a proxy server.
  • the browser can check whether the corresponding webpage resource is already cached first. If the corresponding webpage resource isn’t cached, the browser sends the request to the proxy server, if the corresponding webpage resource is cached, the browser loads the webpage resource directly from the cache rather than send the request, so as to reduce the data traffic and increase the loading speed.
  • Step 220 receiving the differences between a new webpage resource and an old webpage resource corresponding to the request from the proxy server.
  • the proxy server sends back the data, if the old webpage resource is not stored on the proxy server, the proxy server sends the entire new webpage resource to the browser; if the old webpage resource is stored on the proxy server, the browser only receives the differences rather than the entire webpage resource, so as to reduce the data traffic.
  • Step 230 retrieving a local webpage resource corresponding to the request from a local database.
  • Step 240 generating the new webpage resource based on the local webpage resource and the differences.
  • the browser After receiving the data from the proxy server, the browser determines whether it’s an entire webpage resource or it’s just the differences. If it is an entire webpage resource, the browser loads the webpage resource directly. If what the browser received is the differences, then the browser retrieves the old webpage resource from the local database, generates the new webpage based on the differences, and loads the generated new webpage. As most of the contents are already on the old webpage, the browser only needs to replace a small part of the original contents with the differences, thus, the method can increase the loading speed.
  • the proxy server after receiving the request for a webpage from the browser, compares the new webpage resource with the old webpage resource, and only sends the differences to the browser, so as to reduce the data traffic; in addition, after receiving the differences, the browser can generate the new webpage resource based on the differences, so as to effectively increase the loading speed.
  • Fig. 7 is a flow chart of a second example of the browser-side method for loading a webpage of the present disclosure. All steps shown in Fig. 7 may be performed by processor 7-10 to execute instructions stored in memory 7-12. The example shown in Fig. 7 is on the basis of the example shown in Fig. 6, as shown in Fig. 7, this example describes in details how the browser process the request for a webpage, wherein, Step 210 comprises:
  • Step 211 extracting a URL from the request.
  • the request contains the URL of the webpage the user intends to browse.
  • the browser saves the browsed webpage into the local database of user’s terminal when necessary, in the meantime, the browser creates an index table in the local database according to the index of the URL, wherein, the index table contains the entire webpage resource and the index of the webpage resource, the index may be a hash value corresponding to the URL.
  • Step 212 determining an index for the URL based on the URL.
  • Step 213 checking whether the local webpage resource and an index of the local webpage resource corresponding to the index of the URL exist in the local database.
  • the browser searches the local database on the user’s terminal to see if a webpage having the same URL has been saved on the device, i. e. the local old webpage resource.
  • Step 214 if the local webpage resource and the index of the local webpage resource corresponding to the index of the URL exist in the local database, adding the index of the local webpage resource to the request.
  • Step 215 sending the request added with the index of the local webpage resource to the proxy server.
  • the browser sends the request to the proxy server with adding the index of the webpage source to the header of the request. If the old webpage resource corresponding to the index of the URL doesn’t exist in the local database, the browser sends the request to the proxy server without adding information to it.
  • the proxy server is able to search the database on the proxy server for the browsed webpage resource. In this way, the method reduces the data traffic between the browser and the proxy server.
  • Fig. 8 is a flow chart of a third example of the browser-side method for loading a webpage of the present disclosure. All steps shown in Fig. 8 may be performed by processor 8-10 to execute instructions stored in memory 8-12. The example shown in Fig. 8 is on the basis of the example shown in Fig. 6. As shown in Fig. 8, this example describes in details how the browser saves the new webpage resource, wherein, after Step 240 comprises, the method further comprises:
  • Step 251 determining the index of the URL based on the URL of the new webpage resource, and determining an index for the new webpage resource based on the new webpage resource.
  • Step 252 checking whether a local index table corresponding to the index of the URL exists in the local database; if yes, go to Step 253; if not, go to Step 254;
  • Step 253 replacing respectively the old webpage resource and an index of the old webpage resource saved in the local index table with the new webpage resource and the index of the new webpage resource.
  • Step 254 creating a local index table corresponding to the index of the URL in the local database, and saving the new webpage resource and the index of the new webpage resource into the local index table.
  • the browser creates the local index tables in the local database according to the indexes of the URLs of browsed webpages, and the index table contains the browsed webpage resource and the index of the webpage resource, so next time when a webpage is required, the index table can help the browser retrieve the old webpage recourse and the index of the webpage resource.
  • the index of the webpage resource is used for searching the webpage index table on the proxy server for the webpage resource.
  • This example employs a hash algorithm to create the index table, the webpage resources and its related information are stored in the index table. In this way, useful information may be retrieved easily and quickly, so as to increase the loading speed.
  • Fig. 9 is a flow chart of a first example of the proxy-server-side method for loading a webpage of the present disclosure. All steps shown in Fig. 9 may be performed by processor 9-10 to execute instructions stored in memory 9-12. As shown in Fig. 9, in this example, the proxy-server-side method for loading a webpage comprises:
  • Step 310 receiving a request for a webpage from a browser.
  • Step 320 retrieving a new webpage resource corresponding to the request from a web server.
  • the proxy server can respond to the request from the browser, send the processed request to the corresponding web server, process the data from the web server, then send the processed data back to the user’s browser.
  • Step 330 searching a webpage database on the proxy server for an old webpage resource corresponding to the request.
  • the proxy server After receiving the request for a webpage, the proxy server searches the browsing history, that is to say, search the webpage database to see if there is the old webpage resource corresponding to the webpage the user intends to browse. If there isn’t, the proxy server sends the retrieved new webpage resource to the browser.
  • Step 340 comparing the new webpage resource with the old webpage resource to obtain the differences therebetween and sending the differences to the browser.
  • the proxy server compares the new webpage resource with the old webpage resource to obtain the differences therebetween, i. e. the parts of the new webpage resource which are different from the corresponding parts of old webpage resource.
  • the proxy server only sends the differences to the browser rather than the entire webpage, so as to reduce the data traffic.
  • the proxy server after receiving the request for a webpage from the browser, compares the new webpage resource with the old webpage resource to obtain the differences therebetween, and only sends the differences to the browser, so as to reduce the data traffic.
  • Fig. 10 is a flow chart of a second example of the proxy-server-side method for loading a webpage of the present disclosure. All steps shown in Fig. 10 may be performed by processor 10-10 to execute instructions stored in memory 10-12. The example shown in Fig. 10 is on the basis of the example shown in Fig. 9. As shown in Fig. 10, this example describes in details how the proxy server downloads the new webpage and searches for the old webpage, wherein, the request contains a URL, the request also contains an index of a local webpage resource stored in a local database;
  • Step 320 comprises:
  • Step 321 extracting the URL from the request.
  • Step 322 retrieving the new webpage resource corresponding to the URL from the web server.
  • the proxy server sends the request to the web server, and retrieves the webpage resource corresponding to the URL from the web server.
  • Step 330 comprises:
  • Step 331 extracting the index of the local webpage resource from the request.
  • Step 332 searching the webpage database on the proxy server for the old webpage resource corresponding to the index of the local webpage resource.
  • the proxy server checks whether the request from the browser contains the index of the webpage source. If yes, based on the index, the proxy server searches the webpage database for the corresponding webpage resource. If not, the proxy server sends directly the new webpage resource to the browser.
  • the proxy server stores the browsed webpage resources. During retrieving, the proxy server downloads the new webpage based on the URL contained in the request, and searches for the old webpage based on the index of the webpage resource contained in the request. In this way, useful information may beobtained easily and quickly, so as to increase the loading speed.
  • Fig. 11 is a flow chart of a third example of the proxy-server-side method for loading a webpage of the present disclosure. All steps shown in Fig. 11 may be performed by processor 11-10 to execute instructions stored in memory 11-12. The example shown in Fig. 11 is on the basis of the example shown in Fig. 9. As shown in Fig. 11, this example describes in details how the proxy server compares the new webpage resource with the old webpage resource, wherein, Step 340 comprises:
  • Step 341 comparing the new webpage resource with the old webpage resource to obtain the differences therebetween.
  • Step 342 determining whether the data volume of the differences exceeds a pre-specified threshold; if yes, go to Step 343; if not, go to Step 344.
  • Step 343 sending the new webpage resource to the browser.
  • Step 344 sending the differences to the browser.
  • the proxy server can compare the new webpage with the old webpage to obtain the differences therebetween.
  • the proxy server can send directly the new webpage to the browser. If the data volume of the differences is relatively small, the proxy server can send the differences to the browser with indicating what the proxy server sends is the differences not the entire webpage.
  • the proxy server can send a set of instructions to the browser instead of sending the differences.
  • the set of instructions is used for indicating how to generate the new webpage based on the old webpage, and the data volume of the set is smaller than the data volume of the entire webpage resource. Based on these instructions and the old webpage resource stored in local database on the user’s terminal, the browser can then generate the new webpage resource. This way can also reduce the data traffic and increase the loading speed.
  • Fig. 12 is a flow chart of a fourth example of the proxy-server-side method for loading a webpage of the present disclosure. All steps shown in Fig. 12 may be performed by processor 12-10 to execute instructions stored in memory 12-12. The example shown in Fig. 12 is on the basis of the example shown in Fig. 9. As shown in Fig. 12, this example describes in details how the proxy server saves the new webpage resource, wherein, after Step 320, the method further comprises:
  • Step 351 determining an index for the new webpage resource based on the new webpage resource.
  • Step 352 checking whether a webpage index table corresponding to the index of the new webpage resource exists in the webpage database; if yes, go to Step353; if not, go to step 354.
  • Step 353 replacing the old webpage resource saved in the webpage index table with the new webpage resource.
  • Step 354 creating a webpage index table corresponding to the index of the new webpage resource in the webpage database, and saving the new webpage resource into the webpage index table.
  • the proxy server stores all the browsed webpage resources, and creates the webpage index tables according to the indexes of the webpage resources. Every webpage resource is stored in its corresponding webpage index table, so next time when a webpage is required, the webpage index table can help the proxy server retrieve the old webpage recourse.
  • This example employs a hash algorithm to create the index table, the webpage resource and its related information are stored in the index table. In this way, useful information may be retrieved easily and quickly, so as to increase the loading speed.
  • Fig. 13 is a schematic structural diagram of a first example of the system for loading a webpage of the present disclosure. All modules or units in Figs. 13-22 may be performed by processor to execute instructions stored in memory.
  • the memory may be any type of computer readable medium and may be either transitory or non-transitory.
  • the system for loading a webpage comprises a browser 100 and a proxy server 200, wherein the browser 100 comprises a first sending-receiving module 101, a local retrieving module 102, and a webpage generating module 103, the proxy server 200 comprises a webpage downloading module 201, a webpage searching module 202, a comparing module 203, and a second sending-receiving module 204; wherein
  • the first sending-receiving module 101 is used for sending a request for a webpage to the proxy server 200 after accessing a local database;
  • the webpage downloading module 201 is used for retrieving a new webpage resource corresponding to the request from a web server 300;
  • the webpage searching module 202 is used for searching a webpage database on the proxy server 200 for an old webpage resource corresponding to the request;
  • the comparing module 203 is used for comparing the new webpage resource with the old webpage resource to obtain differences between the new webpage resource and the old webpage resource;
  • the second sending-receiving module 204 is used for sending the differences to the browser 100;
  • the local retrieving module 102 is used for retrieving a local webpage resource corresponding to the request from the local database ;
  • a webpage generating module 103 is used for generating the new webpage resource based on the local webpage resource and the differences.
  • the browser 100 can check whether the corresponding webpage resource is already cached first. If the corresponding webpage resource isn’t cached, the browser 100 sends the request to the proxy server 200, if the corresponding webpage resource is cached, the browser 100 loads the webpage resource directly from the cache rather than send the request, so as to reduce the data traffic and increase the loading speed.
  • the proxy server 200 can respond to the request from the browser 100, send the processed request to the corresponding web server 300, process the data from the web server 300, then send the processed data back to the user’s browser 100.
  • the proxy server 200 After receiving the request for a webpage, the proxy server 200 searches the browsing history, that is to say, search the webpage database to see if there is the old webpage resource corresponding to the webpage the user intends to browse. If there isn’t, the proxy server 200 sends the retrieved new webpage resource to the browser 100. If the old webpage resource exists in the webpage database, the proxy server 200 then compares the new webpage resource with the old webpage resource to obtain the differences therebetween, i. e. the parts of the new webpage resource which are different from the corresponding parts of old webpage resource. Here, the proxy server 200 only sends the differences to the browser 100 rather than the entire webpage, so as to reduce the data traffic.
  • the browser 100 After receiving the data from the proxy server 200, the browser 100 determines whether it’s an entire webpage resource or it’s just the differences. If it is an entire webpage resource, the browser 100 loads the webpage resource directly. If what the browser 100 received is the differences, then the browser 100 retrieves the old webpage resource from the local database, generates the new webpage based on the differences, and loads the generated new webpage. As most of the contents are already on the old webpage, the browser 100 only needs to replace a small part of the original contents with the differences. Therefore, the system can increase the loading speed.
  • the proxy server 200 compares the new webpage resource with the old webpage resource, and only sends the differences to the browser 100, so as to reduce the data traffic; in addition, after receiving the differences, the browser 100 can generate the new webpage resource based on the differences, so as to effectively increase the loading speed.
  • Fig. 14 is a schematic structural diagram of a second example of the system for loading a webpage of the present disclosure.
  • the example shown in Fig. 14 is on the basis of the example shown in Fig. 13.
  • the browser 100 also comprises a first extracting module 104, a first determining module 105 and an adding module 106; wherein
  • the first extracting module 104 is used for extracting a URL from the request
  • the first determining module 105 is used for determining an index for the URL based on the URL;
  • the local retrieving module 102 is also used for checking whether the local webpage resource and an index of the local webpage resource corresponding to the index of the URL exist in the local database;
  • the adding module 106 is used for adding the index of the local webpage resource to the request if the local webpage resource and the index of the local webpage resource corresponding to the index of the URL exist in the local database;
  • the first sending-receiving module 101 is used for sending the request added with the index of the local webpage resource to the proxy server 200.
  • the request contains the URL of the webpage the user intends to browse.
  • the browser 100 saves the browsed webpage into the local database of user’s terminal when necessary, in the meantime, the browser 100 creates an index table in the local database according to the index of the URL, wherein, the index table contains the entire webpage resource and the index of the webpage resource, and the index may be a hash value corresponding to the URL.
  • the browser 100 searches the local database on the user’s terminal to see if a webpage having the same URL has been saved on the device, i. e. the local old webpage resource. If the old webpage resource exists in the local database, the browser 100 sends the request to the proxy server 200 with adding the index of the webpage source to the header of the request to the proxy server 200. If the old webpage resource corresponding to the index of the URL doesn’t exist in the local database, the browser 100 sends the request to the proxy server 200 without adding information to it.
  • the proxy server 200 is able to search the database on the proxy server 200 for the browsed webpage resource. In this way, the system reduces the data traffic between the browser 100 and the proxy server 200.
  • Fig. 15 is a schematic structural diagram of a third example of the system for loading a webpage of the present disclosure.
  • the example shown in Fig. 15 is on the basis of the example shown in Fig. 13.
  • the proxy server 200 also comprises a second extracting module 205; wherein
  • the second extracting module 205 is used for extracting the URL from the request
  • the webpage downloading module 201 is used for retrieving the new webpage resource corresponding to the URL from the web server 300;
  • the second extracting module 205 is also used for extracting the index of the local webpage resource from the request;
  • the webpage searching module 202 is used for searching the webpage database on the proxy server 200 for the old webpage resource corresponding to the index of the local webpage resource.
  • the proxy server 200 sends the request to the web server 300, and retrieves the webpage resource corresponding to the URL from the web server 300.
  • the proxy server 200 checks whether the request from the browser 100 contains the index of the webpage source. If yes, based on the index, the proxy server 200 searches the webpage database for the corresponding webpage resource. If not, the proxy server 200 sends directly the new webpage resource to the browser 100.
  • the proxy server 200 stores the browsed webpage resources. During retrieving, the proxy server 200 downloads the new webpage based on the URL contained in the request, and searches for the old webpage based on the index of webpage resource contained in the request. In this way, useful information may beobtainedeasily and quickly, so as to increase the loading speed.
  • the following modules are used for comparing the new webpage resource with the old webpage resource.
  • the comparing module 203 is used for comparing the new webpage resource with the old webpage resource to obtain the differences therebetween; determining whether the data volume of the differences exceeds a pre-specified threshold.
  • the second sending-receiving module 204 is used for sending the new webpage resource to the browser 100 if the data volume of the differences exceeds the pre-specified threshold; sending the differences to the browser 100 if the data volume of the differences is less than or equal to the pre-specified threshold.
  • the proxy server 200 can compare the new webpage with the old webpage to obtain the differences therebetween.
  • the proxy server 200 can send directly the new webpage to the browser 100.
  • the proxy server 200 can send the differences to the browser 100 with indicating what the proxy server 200 sends is the differences not the entire webpage. As the data volume of the differences is much smaller than the data volume for downloading the entire webpage, sending the differences to the browser 100 can reduce the data traffic.
  • the browser 100 only needs to replace the different parts, so as to increase the loading speed.
  • the proxy server 200 can send a set of instructions to the browser 100 instead of sending the differences.
  • the set of instructions is used for indicating how to generate the new webpage based on the old webpage, and the data volume of the set is smaller than the data volume of the entire webpage resource. Based on these instructions and the old webpage resource stored in local database on the user’s terminal, the browser 100 can then generate the new webpage resource. This way can also reduce the data traffic and increase the loading speed.
  • Fig. 16 is a schematic structural diagram of a fourth example of the system for loading a webpage of the present disclosure.
  • the example shown in Fig. 16 is on the basis of the example shown in Fig. 14.
  • the proxy server 200 also comprises a second determining module 206 and a second saving module 207, and the browser also comprises a first saving module 107; wherein
  • the second determining module 206 is used for determining an index for the new webpage resource based on the new webpage resource
  • the webpage searching module 202 is also used for checking whether a webpage index table corresponding to the index of the new webpage resource exists in the webpage database;
  • the second saving module 207 is used for replacing the old webpage resource saved in the webpage index table with the new webpage resource if the webpage index table corresponding to the index of the new webpage resource exists in the webpage database; creating a webpage index table corresponding to the index of the new webpage resource in the webpage database and saving the new webpage resource into the webpage index table if the index table corresponding to the index of the new webpage resource doesn’t exist in the webpage database.
  • the first determining module 105 is also used for determining the index of the URL based on the URL of the new webpage resource, and determining the index of the new webpage resource based on the new webpage resource;
  • the local retrieving module 102 is also used for checking whether a local index table corresponding to the index of the URL exists in the local database;
  • the first saving module 107 is used for replacing respectively the old webpage resource and an index of the old webpage resource saved in the local index table with the new webpage resource and the index of the new webpage resource if the local index table corresponding to the index of the URL exists in the local database; creating a local index table corresponding to the index of the URL in the local database and saving the new webpage resource and the index of the new webpage resource into the index table if the index table corresponding to the index of the URL doesn’t exist in the local database.
  • the proxy server 200 stores all the browsed webpage resources, and creates the webpage index tables according to the indexes of the webpage resources. Every webpage resource is stored in its corresponding webpage index table, so next time when a webpage is required, the webpage index table can help the proxy server 200 retrieve the old webpage recourse.
  • the browser 100 creates the local index tables in the local database according to the indexes of the URLs of browsed webpages, the index table contains the browsed webpage resource and the index of the webpage resource, so next time when a webpage is required, the index table can help the browser 100 retrieve the old webpage resource and the index of the old webpage resource.
  • the index of the webpage resource is used for searching the webpage index table on the proxy server 200 for the webpage resource.
  • This example employs a hash algorithm to create the index table, the webpage resource and its related information are stored in the index table. In this way, useful information may be retrieved easily and quickly, so as to increase the loading speed.
  • Fig. 17 is a schematic structural diagram of a first example of the browser 100 of the present disclosure.
  • the browser 100 comprises a first sending-receiving module 101, a local retrieving module 102 and a webpage generating module 103; wherein
  • the first sending-receiving module 101 is used for sending a request for a webpage to a proxy server 200; receiving the differences between a new webpage resource and an old webpage resource corresponding to the request from the proxy server 200;
  • the local retrieving module 102 is used for retrieving a local webpage resource corresponding to the request from the local database;
  • the webpage generating module 103 is used for generating the new webpage resource based on the local webpage resource and the differences.
  • the browser 100 can check whether the corresponding webpage resource is already cached first. If the corresponding webpage resource isn’t cached, the browser 100 sends the request to the proxy server 200, if the corresponding webpage resource is cached, the browser 100 loads the webpage resource directly from the cache rather than send the request, so as to reduce the data traffic and increase the loading speed.
  • the proxy server 200 sends back the data, if the old webpage resource is not stored on the proxy server 200, the proxy server 200 sends the entire new webpage resource to the browser 100; if the old webpage resource is stored on the proxy server 200, the browser 100 only receives the differences rather than the entire webpage resource, so as to reduce the data traffic.
  • the browser 100 After receiving the data from the proxy server 200, the browser 100 determines whether it’s an entire webpage resource or it’s just the differences. If it is an entire webpage resource, the browser 100 loads the webpage resource directly. If what the browser 100 received is the differences, then the browser 100 retrieves the old webpage resource from the local database, generates the new webpage based on the differences, and loads the generated new webpage. As most of the contents are already on the old webpage, the browser only needs to replace a small part of the original contents with the differences, thus, the browsercan increase the loading speed.
  • the proxy server 200 compares the new webpage resource with the old webpage resource, and only sends the differences to the browser 100, so as to reduce the data traffic; in addition, after receiving the differences, the browser 100 can generate the new webpage resource based on the differences, so as to effectively increase the loading speed.
  • Fig. 18 is a schematic structural diagram of a second example of the browser 100 of the present disclosure.
  • the example shown in Fig. 18 is on the basis of the example shown in Fig. 17.
  • this example further comprises a first extracting module 104, a first determining module 105 and an adding module 106; wherein
  • the first extracting module 104 is used for extracting a URL from the request
  • the first determining module 105 is used for determining an index for the URL based on the URL;
  • the local retrieving module 102 is also used for checking whether the local webpage resource and an index of the local webpage resource corresponding to the index of the URL exist in the local database;
  • the adding module 106 is used for adding the index of the local webpage resource to the request if the local webpage resource and the index of the local webpage resource corresponding to the index of the URL exist in the local database;
  • the first sending-receiving module 101 is used for sending the request added with the index of the local webpage resource to the proxy server 200.
  • the request contains the URL of the webpage the user intends to browse.
  • the browser 100 saves the browsed webpage into the local database of user’s terminal when necessary, in the meantime, the browser 100 creates an index table in the local database according to the index of the URL, wherein, the index table contains the entire webpage resource and the index of the webpage resource, the index may be a hash value corresponding to the URL.
  • the browser 100 searches the local database on the user’s terminal to see if a webpage having the same URL has been saved on the device, i. e. the local old webpage resource. If the old webpage resource exists in the local database, the browser 100 sends the request to the proxy server 200 with adding the index of the webpage source to the header of the request proxy server 200. If the old webpage resource corresponding to the index of the URL doesn’t exist in the local database, the browser 100 sends the request to the proxy server 200 without adding information to it.
  • the browser 100 if the browser 100 has browsed the required webpage before, then the old webpage resource may be found in the local database on the user’s terminal meanwhile the browsing history may be found on the proxy server 200, so the browser 100 only needs to send the index of the local webpage resource along with the request to the proxy server 200 rather than send the entire local webpage resource to the proxy server 200.
  • the proxy server 200 Based on the index of the local webpage resource, the proxy server 200 is able to search the database on the proxy server 200 for the browsed webpage resource. In this way, the browser reduces the data traffic between the browser 100 and the proxy server 200.
  • Fig. 19 is a schematic structural diagram of a third example of the browser 100 of the present disclosure.
  • the example shown in Fig. 19 is on the basis of the example shown in Fig. 17.
  • the example further comprises a first saving module 107; wherein
  • the first determining module 105 is also used for determining the index of the URL based on the URL of the new webpage resource, and determining an index for the new webpage resource based on the new webpage resource;
  • the local retrieving module 102 is also used for checking whether a local index table corresponding to the index of the URL exists in the local database;
  • the first saving module 107 is used for replacing respectively the old webpage resource and an index of the old webpage resource saved in the local index table with the new webpage resource and the index of the new webpage resource if the local index table corresponding to the index of the URL exists in the local database; creating a local index table corresponding to the index of the URL in the local database and saving the new webpage resource and the index of the new webpage resource into the local index table if the local index table corresponding to the index of the URL doesn’t exist in the local database.
  • the browser 100 creates the local index tables in the local database according to the indexes of the URLs of browsed webpages, the index table contains the browsed webpage resource and the index of the webpage resource, so next time when a webpage is required, the index table can help the browser 100 retrieve the old webpage recourse and the index of the webpage resource.
  • the index of the webpage resource is used for searching the webpage index table on the proxy server 200 for the webpage resource.
  • This example employs a hash algorithm to create the index table, the webpage resource and its related information are stored in the index table. In this way, useful information may be retrieved easily and quickly, so as to increase the loading speed.
  • Fig. 20 is a schematic structural diagram of a first example of the proxy server 200 of the present disclosure.
  • the proxy server 200 comprises a webpage downloading module 201, a webpage searching module 202, a comparing module 203 and a second sending-receiving module 204; wherein
  • the second sending-receiving module 204 is used for receiving a request for a webpage from a browser 100;
  • the webpage downloading module 201 is used for retrieving a new webpage resource corresponding to the request from a web server 300;
  • the webpage searching module 202 is used for searching a webpage database on the proxy server 200 for an old webpage resource corresponding to the request;
  • the comparing module 203 is used for comparing the new webpage resource with the old webpage resource to obtain differences between the new webpage resource and the old webpage resource;
  • the second sending-receiving module 204 is used for sending the differences to the browser 100.
  • the proxy server 200 can respond to the request from the browser 100, send the processed request to the corresponding web server 300, process the data from the web server 300, then send the processed data back to the user’s browser 100.
  • the proxy server 200 After receiving the request, the proxy server 200 searches the browsing history, that is to say, search the webpage database to see if there is the old webpage resource corresponding to the webpage the user intends to browse. If there isn’t, the proxy server 200 sends the retrieved new webpage resource to the browser 100. If the old webpage resource exists in the webpage database, the proxy server 200 then compares the new webpage resource with the old webpage resource to obtain the differences therebetween, i. e. the parts of the new webpage resource which are different from the corresponding parts of old webpage resource. Here, the proxy server 200 only sends the differences to the browser 100 rather than the entire webpage, so as to reduce the data traffic.
  • the proxy server 200 compares the new webpage resource with the old webpage resource to obtain the differences therebetween, and only sends the differences to the browser 100, so as to reduce the data traffic.
  • Fig. 21 is a schematic structural diagram of a second example of the proxy server 200 of the present disclosure.
  • the example shown in Fig. 21 is on the basis of the example shown in Fig. 20.
  • this example further comprises a second extracting module 205; wherein, the request contains a URL, the request also contains an index of a local webpage resource stored in a local database;
  • the second extracting module 205 is used for extracting the URL from the request
  • the webpage downloading module 201 is used for retrieving the new webpage resource corresponding to the URL from the web server 300.
  • the second extracting module 205 is also used for extracting the index of the local webpage resource from the request;
  • the webpage searching module 202 is used for searching the webpage database on the proxy server 200 for the old webpage resource corresponding to the index of the local webpage resource.
  • the proxy server 200 sends the request to the web server 300, and retrieves the webpage resource corresponding to the URL from the web server 300.
  • the proxy server 200 checks whether the request from the browser 100 contains the index of the webpage source. If yes, based on the index, the proxy server 200 searches the webpage database for the corresponding webpage resource. If not, the proxy server 200 sends directly the new webpage resource to the browser 100.
  • the proxy server 200 stores the browsed webpage resources. During retrieving, the proxy server 200 downloads the new webpage based on the URL contained in the request, and searches for the old webpage based on the index of the webpage resource contained in the request. In this way, useful information may be retrieved easily and quickly, so as to increase the loading speed.
  • the following modules are used for comparing the new webpage recourse with the old webpage resource.
  • the comparing module 203 is used for comparing the new webpage resource with the old webpage resource to obtain the differences therebetween and determining whether the data volume of the differences exceeds a pre-specified threshold.
  • the second sending-receiving module 204 is used for sending the new webpage resource to the browser 100 if the data volume of the differences exceeds the pre-specified threshold; sending the differences to the browser 100 if the data volume of the differences is less than or equal to the pre-specified threshold.
  • the proxy server 200 can compare the new webpage with the old webpage to obtain the differences therebetween.
  • the proxy server 200 can send directly the new webpage to the browser 100.
  • the proxy server 200 can send the differences to the browser 100 with indicating what the proxy server 200 sends is the differences not the entire webpage. As the data volume of the differences is much smaller than the data volume for downloading the entire webpage, sending the differences to the browser 100 can reduce the data traffic.
  • the browser 100 only needs to replace the different parts, so as to increase the loading speed.
  • the proxy server 200 can send a set of instructions to the browser 100 instead of sending the differences.
  • the set of instructions is used for indicating how to generate the new webpage based on the old webpage, and the data volume of the set is smaller than the data volume of the entire webpage resource. Based on these instructions and the old webpage resource stored in local database on the user’s terminal, the browser 100 can then generate the new webpage resource. This way can also reduce the data traffic and increase the loading speed.
  • Fig. 22 is a schematic structural diagram of a third example of the proxy server 200 of the present disclosure.
  • the example shown in Fig. 22 is on the basis of the example shown in Fig. 20.
  • this example further comprises a second determining module 206 and a second saving module 207, wherein
  • the second determining module 206 is used for determining an index for the new webpage resource based on the new webpage resource
  • the web searching module is also used for checking whether a webpage index table corresponding to the index of the new webpage resource exists in the webpage database;
  • the second saving module 207 is used for replacing the old webpage resource saved in the webpage index table with the new webpage resource if the webpage index table corresponding to the index of the new webpage resource exists in the webpage database; creating a webpage index table corresponding to the index of the new webpage resource in the webpage database and saving the new webpage resource into the webpage index table if the index table corresponding to the index of the new webpage resource doesn’t exist in the webpage database.
  • the proxy server 200 stores all the browsed webpage resources, and creates the webpage index tables according to the indexes of the webpage resources. Every webpage resource is stored in its corresponding webpage index table, so next time when a webpage is required, the webpage index table can help the proxy server 200 retrieve the old webpage recourse.
  • This example employs a hash algorithm to create the index table, the webpage resource and its related information are stored in the index table. In this way, useful information may be retrieved easily and quickly, so as to increase the loading speed.
  • 13-Fig. 16 may be stored in a readable storage medium in a mobile phone, a pad, or other intelligent terminals, and may be executed by at least one processor to perform the method for loading a webpage shown in Fig. 1-Fig. 5.
  • the program instructions corresponding to the browser 100 shown in Fig. 17-Fig. 19 may be stored in a readable storage medium in a mobile phone, a pad, or other intelligent terminals, and may be executed by at least one processor to perform the browser-side method for loading a webpage shown in Fig. 6-Fig. 8.
  • the program instructions corresponding to the proxy server 200 shown in Fig. 20-Fig. 22 may be stored in a readable storage medium in a mobile phone, a pad, or other intelligent terminals, and may be executed by at least one processor to perform the proxy-server-side method for loading a webpage shown in Fig. 9-Fig. 12.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A method, a system, a browser, and a proxy server for loading a webpage are disclosed. The method for loading a webpage comprises: sending, by a browser, a quest for a webpage to a proxy server; retrieving, by the proxy server, a new webpage resource corresponding to the request from a web server, and searching a webpage database on the proxy server for an old webpage resource corresponding to the request; comparing, by the proxy server, the new webpage resource with the old webpage resource to obtain differences between the new webpage resource and the old webpage resource, and sending the differences to the browser; and retrieving, by the browser, a local webpage resource corresponding to the request from a local database, and generating the new webpage resource based on the local webpage resource and the differences.

Description

METHOD, SYSTEM, BROWSER AND PROXY SERVER FOR LOADING WEBPAGE
CROSS-REFERENCE TO RELATED APPLICATIONS
The application claims priority to Chinese Patent Application No.201310452410.5, filed on September 27, 2013, which is incorporated by reference in its entirety.
FIELD OF THE TECHNOLOGY
The present disclosure relates to network and communication technologies, especially to a method, a system, a browser, a proxy server for loading a webpage.
BACKGROUND
Existing browsers often use a cache, webpage compression, or header omission to increase loading speed and reduce data traffic.
Cache: If a web server indicates some of the resources may be stored in the cache, then, when a browser receives this sort of resources, it will store them in the local cache, so next time when these resources are required, the browser can read them directly from the cache instead of downloading them from the web server, so as to reduce the data traffic and increase the loading speed.
Webpage compression: An ordinary webpage is a text file, so a web server or an intermediate proxy server can compress and zip the webpage before sending it to a browser. When the browser receives the webpage, the browser unzips and recovers the webpage. In this way, it can reduce the data traffic and  increase the loading speed.
Header omission: A browser and a proxy server can make an agreement in advance on using a default header. Then, when sending a request to the server, the browser can omit part of the header which will be added later by the proxy server. In this way, it can reduce the data traffic and increase the loading speed as well.
The methods described above can reduce the data traffic and increase the loading speed in some cases, however, if the webpage changes, even just a little bit, the browser needs to download the entire webpage from the web server again. With regard to the resources that are not indicated to be stored in the cache, even if the new webpage is the same with the previous one, the browser needs to download the webpage from the server again. In this situation, it not only increases the data traffic but also wastes time.
SUMMARY
The examples of the present disclosure provide a method, a system, a browser and a proxy server for loading a webpage, which can reduce the data traffic and increase the webpage loading speed.
The examples of the present disclosure provide a method for loading a webpage, which comprises the following steps:
Sending, by a browser, a request for a webpage to a proxy server after accessing a local database; retrieving, by the proxy server, a new webpage resource corresponding to the request from a web server, and searching a webpage  database on the proxy server for an old webpage resource corresponding to the request; comparing, by the proxy server, the new webpage resource with the old webpage resource to obtain differences between the new webpage resource and the old webpage resource, and sending the differences to the browser; andretrieving, by the browser, a local webpage resource corresponding to the request from the local database, and generating the new webpage resource based on the local webpage resource and the differences.
The examples of the present disclosure also provide a system for loading a webpage which comprises a browser and a proxy server, wherein the browser comprises a first sending-receiving module, a local retrieving module, and a webpage generating module, and the proxy server comprises a webpage downloading module, a webpage searching module, a comparing module, and a second sending-receiving module; wherein
The first sending-receiving module having one or more processors coupled with memory is used for sending a request for a webpage to the proxy server after accessing a local database; the webpage downloading module having one or more processors coupled with memory is used for retrieving a new webpage resource corresponding to the request from a web server; the webpage searching module having one or more processors coupled with memory is used for searching a webpage database on the proxy server for an old webpage resource corresponding to the request; the comparing module having one or more processors coupled with memory is used for comparing the new webpage resource with the old webpage resource to obtain differences between the new  webpage resource and the old webpage resource; the second sending-receiving module having one or more processors coupled with memory is used for sending the differences to the browser; the local retrieving module having one or more processors coupled with memory is used for retrieving a local webpage resource corresponding to the request from the local database; the webpage generating module having one or more processors coupled with memory is used for generating the new webpage resource based on the local webpage resource and the differences.
The examples of the present disclosure also provide a proxy server for loading a webpage which comprises a webpage downloading module, a webpage searching module, a comparing module and a second sending-receiving module; wherein
The second sending-receiving module having one or more processors coupled with memory is used for receiving a request for a webpage from a browser; the webpage downloading module having one or more processors coupled with memory is used for retrieving a new webpage resource corresponding to the request from a web server; the webpage searching module having one or more processors coupled with memory is used for searching a webpage database on the proxy server for an old webpage resource corresponding to the request; the comparing module having one or more processors coupled with memory is used for comparing the new webpage resource with the old webpage resource to obtain differences between the new webpage resource and the old webpage resource; andthe second sending-receiving module having one or more  processors coupled with memory is used for sending the differences to the browser.
In the examples of the present disclosure, after receiving the request for a webpage from the browser, the proxy server compares the new webpage resource with the old webpage resource, and only sends the differences to the server, so as to reduce the data traffic; moreover, after receiving the differences, the browser generates the new webpage resource by combiningthe local webpage resource with the difference, so as to increase the loading speed.
BRIEF DESCRIPTION OF THE DRAWINGS
To explain the technical solutions of the examples of the present disclosure, accompanying drawings used in the examples are followed. Apparently, the following drawings merely illustrate some examples of the disclosure, but for persons skilled in the art, other drawings may be obtained without creative works according to these drawings.
The system and/or method may be better understood with reference to the following drawings and description. Non-limiting and non-exhaustive descriptions are described with reference to the following drawings. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating principles. In the figures, like referenced numerals may refer to like parts throughout the different figures unless otherwise specified.
Fig. 1 is a flow chart of a first example of the method for loading a  webpage of the present disclosure.
Fig. 2 is a flow chart of a second example of the method for loading a webpage of the present disclosure.
Fig. 3 is a flow chart of a third example of the method for loading a webpage of the present disclosure.
Fig. 4 is a flow chart of a fourth example of the method for loading a webpage of the present disclosure.
Fig. 5 is a flow chart of a fifth example of the method for loading a webpage of the present disclosure.
Fig. 6 is a flow chart of a first example of the browser-side method for loading a webpage of the present disclosure.
Fig. 7 is a flow chart of a second example of the browser-side method for loading a webpage of the present disclosure.
Fig. 8 is a flow chart of a third example of the browser-side method for loading a webpage of the present disclosure.
Fig. 9 is a flow chart of a first example of the proxy-server-side method for loading a webpage of the present disclosure.
Fig. 10 is a flow chart of a second example of the proxy-server-side method for loading a webpage of the present disclosure.
Fig. 11 is a flow chart of a third example of the proxy-server-side method for loading a webpage of the present disclosure.
Fig. 12 is a flow chart of a fourth example of the proxy-server-side method for loading a webpage of the present disclosure.
Fig. 13 is a schematic structural diagram of a first example of the system for loading a webpage of the present disclosure.
Fig. 14 is a schematic structural diagram of a second example of the system for loading a webpage of the present disclosure.
Fig. 15 is a schematic structural diagram of a third example of the system for loading a webpage of the present disclosure.
Fig. 16 is a schematic structural diagram of a fourth example of the system for loading a webpage of the present disclosure.
Fig. 17 is a schematic structural diagram of a first example of the browser of the present disclosure.
Fig. 18 is a schematic structural diagram of a second example of the browser of the present disclosure.
Fig. 19 is a schematic structural diagram of a third example of the browser of the present disclosure.
Fig. 20 is a schematic structural diagram of a first example of the proxy server of the present disclosure.
Fig. 21 is a schematic structural diagram of a second example of the proxy server of the present disclosure.
Fig. 22 is a schematic structural diagram of a third example of the proxy server of the present disclosure.
To introduce the implementation, functions, characteristics and beneficial effects of the present disclosure more clearly, examples of the present disclosure are described in the following with reference to the accompanying  drawings in the examples of the present disclosure.
DETAILED DESCRIPTION OF ILLUSTRATED EXAMPLES
The principles described herein may be embodied in many different forms. Not all of the depicted components may be required, however, and some implementations may include additional components. Variations in the arrangement and type of the components may be made without departing from the spirit or scope of the claims as set forth herein. Additional, different or fewer components may be provided.
Reference throughout this specification to “one example, ” “an example, ” “examples, ” “one embodiment, ” “an embodiment, ” “example embodiment, ” or the like in the singular or plural means that one or more particular features, structures, or characteristics described in connection with an embodiment or an example is included in at least one embodiment or one example of the present disclosure. Thus, the appearances of the phrases “in one embodiment, ” “in an embodiment, ” “in an example embodiment, ” “in one example, ” “in an example, ” or the like in the singular or plural in various places throughout this specification are not necessarily all referring to the same embodiment or the same example. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments or examples.
The terminology used in the description of the invention herein is for  the purpose of describing particular examples only and is not intended to be limiting of the invention. As used in the description of the invention and the appended claims, the singular forms “a, ” “an, ” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. Also, as used in the description herein and throughout the claims that follow, the meaning of “in” includes “in” and “on” unless the context clearly dictates otherwise. It will also be understood that the term “and/or” as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items. It will be further understood that the terms “may include, ” “including, ” “comprises, ” and/or “comprising, ” when used in this specification, specify the presence of stated features, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, operations, elements, components, and/or groups thereof.
As used herein, the terms “module, ” “unit” may refer to, be part of, or include an Application Specific Integrated Circuit (ASIC) ; an electronic circuit; a combinational logic circuit; a field programmable gate array (FPGA) ; a processor (shared, dedicated, or group) that executes code; other suitable hardware components that provide the described functionality; or a combination of some or all of the above, such as in a system-on-chip. The term module may include memory (shared, dedicated, or group) that stores code executed by the processor.
The exemplary environment may include a server, a client, and a communication network. The server and the client may be coupled through the  communication network for information exchange, such as sending/receiving identification information, sending/receiving data files such as splash screen images, etc. Although only one client and one server are shown in the environment, any number of terminals or servers may be included, and other devices may also be included.
The communication network may include any appropriate type of communication network for providing network connections to the server and client or among multiple servers or clients. For example, communication network may include the Internet or other types of computer networks or telecommunication networks, either wired or wireless. In a certain embodiment, the disclosed methods and apparatus may be implemented, for example, in a wireless network that includes at least one client.
In some cases, the client may refer to any appropriate user terminal with certain computing capabilities, such as a personal computer (PC) , a work station computer, a server computer, a hand-held computing device (tablet) , a smart phone or mobile phone, or any other user-side computing device. In various embodiments, the client may include a network access device. The client may be stationary or mobile.
A server, as used herein, may refer to one or more server computers configured to provide certain server functionalities, such as database management and search engines. A server may also include one or more processors to execute computer programs in parallel.
It should be noticed that, the embodiments/examples and the features in the embodiments/examples may be combined with each other in a no conflict condition. This invention will become apparent from the following detailed description when taken in conjunction with the accompanying drawings.
It should be noticed that, the steps illustrated in the flowchart of the drawings may be performed in a set of computer device with executable program codes. And the order of the steps may be different from that in the drawings under some status, although a logic order is shown in the flowchart.
Other aspects, features, and advantages of this invention will become apparent from the following detailed description when taken in conjunction with the accompanying drawings. Apparently, the examples described thereinafter merely a part of examples of the present invention, but not all examples. Persons skilled in the art may obtain all other examples without creative works, based on these examples, which pertains to the protection scope of the present disclosure.
It should be understood that the particular examples described herein are only used to illustrate the present disclosure but not to limit the present disclosure.
Fig. 1 is a flow chart of a first example of the method for loading a webpage of the present disclosure. All steps shown in Fig. 1 may be performed by processor 1-10 to execute instructions stored in memory 1-12. As shown in Fig. 1, in this example, the method for loading a webpage comprises:
Step 110, sending, by a browser, a request for a webpage to a proxy  server after accessing a local database.
After receiving the request for a webpage from a user, the browser can check whether the corresponding webpage resource is already cached first including accessing a local database. If the corresponding webpage resource isn’t cached, the browser sends the request to the proxy server, if the corresponding webpage resource is cached, the browser loads the webpage resource directly from the cache rather than send the request, so as to reduce the data traffic and increase the loading speed.
Step 120, retrieving, by the proxy server, a new webpage resource corresponding to the request from a web server.
In this example, as an intermediate server between the browser and the web server, the proxy server can respond to the request from the browser, send the processed request to the corresponding web server, process the data from the web server, then send the processed data back to the user’s browser.
Step 130, searching a webpage database on the proxy server for an old webpage resource corresponding to the request.
After receiving the request for a webpage, the proxy server searches the browsing history, that is to say, search the webpage database to see if there is the old webpage resource corresponding to the webpage the user intends to browse. If there isn’t, the proxy server sends the retrieved new webpage resource to the browser.
Step 140, comparing, by the proxy server, the new webpage resource with the old webpage resource to obtain differences between the new webpage  resource and the old webpage resource, and sending the differences to the browser.
If the old webpage resource exists in the webpage database, the proxy server then compares the new webpage resource with the old webpage resource to obtain the differences therebetween, i. e. the parts of the new webpage resource which are different from the corresponding parts of old webpage resource. Here, the proxy server only sends the differences to the browser rather than the entire webpage, so as to reduce the data traffic.
Step 150, retrieving, by the browser, a local webpage resource corresponding to the request from a local database, and generating the new webpage resource based on the local webpage resource and the differences.
After receiving the data from the proxy server, the browser determines whether it’s an entire webpage resource or it’s just the differences. If it is an entire webpage resource, the browser loads the webpage resource directly. If what the browser received is the differences, then the browser retrieves the old webpage resource from the local database, generates the new webpage based on the differences, and loads the generated new webpage. As most of the contents are already on the old webpage, the browser only needs to replace a small part of the original contents with the differences, thus, the method can increase the loading speed.
In this example, after receiving the request for a webpage from the browser, the proxy server compares the new webpage resource with the old webpage resource, and only sends the differences to the browser, so as to reduce  the data traffic; in addition, after receiving the differences, the browser can generate the new webpage resource based on the differences, so as to effectively increase the loading speed.
Fig. 2 is a flow chart of a second example of the method for loading a webpage of the present disclosure. All steps shown in Fig. 2 may be performed by processor 2-10 to execute instructions stored in memory 2-12. The example shown in Fig. 2 is on the basis of the example shown in Fig. 1. As shown in Fig. 2, the example describes in details how the browser process the request for a webpage, wherein, Step 110 comprises:
Step 111, extracting, by the browser, a URL from the request.
In this example, the request contains the URL (Uniform Resource Locator) of the webpage the user intends to browse. The browser saves the browsed webpage into the local database on user’s terminal when necessary, in the meantime, the browser creates an index table in the local database according to the index of the URL, wherein, the index table contains the entire webpage resource and the index of the webpage resource, the index may be a hash value corresponding to the URL.
Step 112, determining, by the browser, a URL index based on the URL.
Step 113, checking, by the browser, whether the local webpage resource and a local webpage resource index corresponding to the URL index exist in the local database.
Based on the index of the URL, the browser searches the local  database on the user’s terminal to see if a webpage having the same URL has been saved on the device, i. e. the local old webpage resource.
Step 114, if the local webpage resource and the local webpage resource index corresponding to the URL index exist in the local database, adding, by the browser, the local webpage resource index to the request.
Step 115, sending, by the browser, the request added with the local webpage resource index to the proxy server.
If the old webpage resource exists in the local database, the browser sends the request to the proxy server with adding the index of the webpage source to the header of the request. If the old webpage resource corresponding to the index of the URL doesn’t exist in the local database, the browser sends the request to the proxy server without adding information to it.
In this example, if the browser has browsed the required webpage before, then the old webpage resource may be found in the local database on the user’s terminal meanwhile the browsing history may be found on the proxy server, so the browser only need to send the index of the local webpage resource along with the request to the proxy server rather than send the entire local webpage resource to the proxy server. Based on the index of the local webpage resource, the proxy server is able to search the database on the proxy server for the browsed webpage resource. In this way, the method reduces the data traffic between the browser and the proxy server.
Fig. 3 is a flow chart of a third example of the method for loading a webpage of the present disclosure. All steps shown in Fig. 3 may be performed by  processor 3-10 to execute instructions stored in memory 3-12. The example shown in Fig. 3 is on the basis of the example shown in Fig. 1. As shown in Fig. 3, the example describes in details how the proxy server downloads the new webpage and searches for the old webpage, wherein:
Step 120comprises:
Step 121, extracting, by the proxy server, the URL from the request.
Step 122, retrieving, by the proxy server, the new webpage resource corresponding to the URL from the web server.
In this example, the proxy server sends the request to the web server, and retrieves the webpage resource corresponding to the URL from the web server.
Step 130 comprises:
Step 131, extracting, by the proxy server, the local webpage resource index from the request.
Step 132, searching, by the proxy server, the webpage database on the proxy server for the old webpage resource corresponding to the local webpage resource index.
The proxy server checks whether the request from the browser contains the index of the webpage source. If yes, based on the index, the proxy server searches the webpage database for the corresponding webpage resource. If not, the proxy server sends directly the new webpage resource to the browser.
In this example, the proxy server stores the browsed webpage resources. During retrieving, the proxy server downloads the new webpage based  on the URL contained in the request, and searches for the old webpage based on the index of the webpage resource contained in the request. In this way, useful information may beobtained easily and quickly, so as to increase the loading speed.
Fig. 4 is a flow chart of a fourth example of the method for loading a webpage of the present disclosure. All steps shown in Fig. 4 may be performed by processor 4-10 to execute instructions stored in memory 4-12. The example shown in Fig. 4 is on the basis of the example shown in Fig. 1. As shown in Fig. 4, thisexample describes in details how the proxy server compares the new webpage resource with the old webpage resource, wherein, Step 140comprises:
Step 141, comparing, by the proxy server, the new webpage resource with the old webpage resource to obtain the differences between the new webpage resource and the old webpage resource.
Step 142, determining, by the proxy server, whether a data volume of the differences exceeds a pre-specified threshold; if yes, go to Step 143; if not, go to Step 144.
Step 143, sending, by the proxy server, the new webpage resource to the browser.
Step 144, sending, by the proxy server, the differences to the browser.
In this example, if the proxy server stores the old webpage corresponding to the new webpage, then the proxy server can compare the new webpage with the old webpage to obtain the differences therebetween. However if the data volume of the differences is bigger than the entire webpage, sending the  differences to the browser will not increase the loading speed because of the big data traffic and the complicated process to generate the new webpage. In this situation, to reduce the data traffic and improve the loading speed, the proxy server can send directly the new webpage to the browser. If the data volume of the differences is relatively small, the proxy server can send the differences to the browser with indicating what the proxy server sends is the differences not the entire webpage.
As the data volume of the differences is much smaller than the data volume for downloading the entire webpage, sending the differences to the browser can reduce the data traffic. Moreover, to generate the new webpage resources, the browser only needs to replace the different parts, so as to increase the loading speed. Besides, the proxy server can send a set of instructions to the browser instead of sending the differences. The set of instructions is used for indicating how to generate the new webpage based on the old webpage, and the data volume of the set is smaller than the data volume of the entire webpage resource. Based on these instructions and the old webpage resource stored in local database on the user’s terminal, the browser can then generate the new webpage resource. This way can also reduce the data traffic and increase the loading speed.
Fig. 5 is a flow chart of a fifth example of the method for loading a webpage of the present disclosure. All steps shown in Fig. 5 may be performed by processor 5-10 to execute instructions stored in memory 5-12. The example shown in Fig. 5 is on the basis of the example shown in Fig. 1. As shown in Fig. 5, this example describes in details how to save the new webpage resource,  wherein:
After Step 120, the method comprises:
Step 161, determining, by the proxy server, an index for the new webpage resource based on the new webpage resource.
Step 162, checking, by the proxy server, whether a webpage index table corresponding to the index of the new webpage resource exists in the webpage database; if yes, go to Step 163; if not, go to Step 164.
Step 163, replacing, by the proxy server, the old webpage resource saved in the webpage index table with the new webpage resource.
Step 164, creating, by the proxy server, a webpage index table corresponding to the index of the new webpage resource in the webpage database, and saves the new webpage resource into the webpage index table.
In this example, the proxy server stores all the browsed webpage resources, and creates the webpage index tables according to the indexes of the webpage resources. Every webpage resource is stored in its corresponding webpage index table, so next time when a webpage is required, the webpage index table can help the proxy server retrieve the old webpage recourse.
After Step 150, the method further comprises:
Step 171, determining, by the browser, the index of the URL based on the URL of the new webpage resource, and determines the index of the new webpage resource based on the new webpage resource.
Step 172, checking, by the browser, whether a local index table corresponding to the index of the URL exists in the local database; if yes, go to  Step 173; if not, go to Step 174.
Step 173, replacing, by the browser, respectively the old webpage resource and an index of the old webpage resource saved in the local index table with the new webpage resource and the index of the new webpage resource.
Step 174, creating, by the browser, a local index table corresponding to the index of the URL in the local database, and saves the new webpage resource and the index of the new webpage resource into the local index table.
In this example, the browser creates the local index tables in the local database according to the indexes of the URLs of browsed webpages, the index table contains the browsed webpage resource and the index of the webpage resource, so next time when a webpage is required, the index table can help the browser retrieve the old webpage recourse and the index of the webpage resource. Wherein, the index of the webpage resource is used for searching the webpage index table on the proxy server for the webpage resource.
This example employs a hash algorithm to create the index table, the webpage resource and its related information are stored in the index table. In this way, useful information may be retrieved easily and quickly, so as to increase the loading speed.
Fig. 6 is a flow chart of a first example of the browser-side method for loading a webpage of the present disclosure. All steps shown in Fig. 6 may be performed by processor 6-10 to execute instructions stored in memory 6-12. As shown in Fig. 6, in this example, the browser-side method for loading a webpage comprises:
Step 210, sending a request for a webpage to a proxy server.
After receiving the request for a webpage from a user, the browser can check whether the corresponding webpage resource is already cached first. If the corresponding webpage resource isn’t cached, the browser sends the request to the proxy server, if the corresponding webpage resource is cached, the browser loads the webpage resource directly from the cache rather than send the request, so as to reduce the data traffic and increase the loading speed.
Step 220, receiving the differences between a new webpage resource and an old webpage resource corresponding to the request from the proxy server.
When the proxy server sends back the data, if the old webpage resource is not stored on the proxy server, the proxy server sends the entire new webpage resource to the browser; if the old webpage resource is stored on the proxy server, the browser only receives the differences rather than the entire webpage resource, so as to reduce the data traffic.
Step 230, retrieving a local webpage resource corresponding to the request from a local database.
Step 240, generating the new webpage resource based on the local webpage resource and the differences.
After receiving the data from the proxy server, the browser determines whether it’s an entire webpage resource or it’s just the differences. If it is an entire webpage resource, the browser loads the webpage resource directly. If what the browser received is the differences, then the browser retrieves the old webpage resource from the local database, generates the new webpage based on the  differences, and loads the generated new webpage. As most of the contents are already on the old webpage, the browser only needs to replace a small part of the original contents with the differences, thus, the method can increase the loading speed.
In this example, after receiving the request for a webpage from the browser, the proxy server compares the new webpage resource with the old webpage resource, and only sends the differences to the browser, so as to reduce the data traffic; in addition, after receiving the differences, the browser can generate the new webpage resource based on the differences, so as to effectively increase the loading speed.
Fig. 7 is a flow chart of a second example of the browser-side method for loading a webpage of the present disclosure. All steps shown in Fig. 7 may be performed by processor 7-10 to execute instructions stored in memory 7-12. The example shown in Fig. 7 is on the basis of the example shown in Fig. 6, as shown in Fig. 7, this example describes in details how the browser process the request for a webpage, wherein, Step 210 comprises:
Step 211, extracting a URL from the request.
In this example, the request contains the URL of the webpage the user intends to browse. The browser saves the browsed webpage into the local database of user’s terminal when necessary, in the meantime, the browser creates an index table in the local database according to the index of the URL, wherein, the index table contains the entire webpage resource and the index of the webpage resource, the index may be a hash value corresponding to the URL.
Step 212, determining an index for the URL based on the URL.
Step 213, checking whether the local webpage resource and an index of the local webpage resource corresponding to the index of the URL exist in the local database.
Based on the index of the URL, the browser searches the local database on the user’s terminal to see if a webpage having the same URL has been saved on the device, i. e. the local old webpage resource.
Step 214, if the local webpage resource and the index of the local webpage resource corresponding to the index of the URL exist in the local database, adding the index of the local webpage resource to the request.
Step 215, sending the request added with the index of the local webpage resource to the proxy server.
If the old webpage resource exists in the local database, the browser sends the request to the proxy server with adding the index of the webpage source to the header of the request. If the old webpage resource corresponding to the index of the URL doesn’t exist in the local database, the browser sends the request to the proxy server without adding information to it.
In this example, if the browser has browsed the required webpage before, then the old webpage resource may be found in the local database on the user’s terminal meanwhile the browsing history may be found on the proxy server, so the browser only need to send the index of the local webpage resource along with the request to the proxy server rather than send the entire local webpage resource to the proxy server. Based on the index of the local webpage resource,  the proxy server is able to search the database on the proxy server for the browsed webpage resource. In this way, the method reduces the data traffic between the browser and the proxy server.
Fig. 8 is a flow chart of a third example of the browser-side method for loading a webpage of the present disclosure. All steps shown in Fig. 8 may be performed by processor 8-10 to execute instructions stored in memory 8-12. The example shown in Fig. 8 is on the basis of the example shown in Fig. 6. As shown in Fig. 8, this example describes in details how the browser saves the new webpage resource, wherein, after Step 240 comprises, the method further comprises:
Step 251, determining the index of the URL based on the URL of the new webpage resource, and determining an index for the new webpage resource based on the new webpage resource.
Step 252, checking whether a local index table corresponding to the index of the URL exists in the local database; if yes, go to Step 253; if not, go to Step 254;
Step 253, replacing respectively the old webpage resource and an index of the old webpage resource saved in the local index table with the new webpage resource and the index of the new webpage resource.
Step 254, creating a local index table corresponding to the index of the URL in the local database, and saving the new webpage resource and the index of the new webpage resource into the local index table.
In this example, the browser creates the local index tables in the local  database according to the indexes of the URLs of browsed webpages, and the index table contains the browsed webpage resource and the index of the webpage resource, so next time when a webpage is required, the index table can help the browser retrieve the old webpage recourse and the index of the webpage resource. Wherein, the index of the webpage resource is used for searching the webpage index table on the proxy server for the webpage resource. This example employs a hash algorithm to create the index table, the webpage resources and its related information are stored in the index table. In this way, useful information may be retrieved easily and quickly, so as to increase the loading speed.
Fig. 9 is a flow chart of a first example of the proxy-server-side method for loading a webpage of the present disclosure. All steps shown in Fig. 9 may be performed by processor 9-10 to execute instructions stored in memory 9-12. As shown in Fig. 9, in this example, the proxy-server-side method for loading a webpage comprises:
Step 310, receiving a request for a webpage from a browser.
Step 320, retrieving a new webpage resource corresponding to the request from a web server.
In this example, as an intermediate server between the browser and the web server, the proxy server can respond to the request from the browser, send the processed request to the corresponding web server, process the data from the web server, then send the processed data back to the user’s browser.
Step 330, searching a webpage database on the proxy server for an old webpage resource corresponding to the request.
After receiving the request for a webpage, the proxy server searches the browsing history, that is to say, search the webpage database to see if there is the old webpage resource corresponding to the webpage the user intends to browse. If there isn’t, the proxy server sends the retrieved new webpage resource to the browser.
Step 340, comparing the new webpage resource with the old webpage resource to obtain the differences therebetween and sending the differences to the browser.
If the old webpage resource exists in the webpage database, the proxy server then compares the new webpage resource with the old webpage resource to obtain the differences therebetween, i. e. the parts of the new webpage resource which are different from the corresponding parts of old webpage resource. Here, the proxy server only sends the differences to the browser rather than the entire webpage, so as to reduce the data traffic.
In this example, after receiving the request for a webpage from the browser, the proxy server compares the new webpage resource with the old webpage resource to obtain the differences therebetween, and only sends the differences to the browser, so as to reduce the data traffic.
Fig. 10 is a flow chart of a second example of the proxy-server-side method for loading a webpage of the present disclosure. All steps shown in Fig. 10 may be performed by processor 10-10 to execute instructions stored in memory 10-12. The example shown in Fig. 10 is on the basis of the example shown in Fig. 9. As shown in Fig. 10, this example describes in details how the  proxy server downloads the new webpage and searches for the old webpage, wherein, the request contains a URL, the request also contains an index of a local webpage resource stored in a local database;
Step 320 comprises:
Step 321, extracting the URL from the request.
Step 322, retrieving the new webpage resource corresponding to the URL from the web server.
In this example, the proxy server sends the request to the web server, and retrieves the webpage resource corresponding to the URL from the web server.
Step 330 comprises:
Step 331, extracting the index of the local webpage resource from the request.
Step 332, searching the webpage database on the proxy server for the old webpage resource corresponding to the index of the local webpage resource.
The proxy server checks whether the request from the browser contains the index of the webpage source. If yes, based on the index, the proxy server searches the webpage database for the corresponding webpage resource. If not, the proxy server sends directly the new webpage resource to the browser.
In this example, the proxy server stores the browsed webpage resources. During retrieving, the proxy server downloads the new webpage based on the URL contained in the request, and searches for the old webpage based on the index of the webpage resource contained in the request. In this way, useful  information may beobtained easily and quickly, so as to increase the loading speed.
Fig. 11 is a flow chart of a third example of the proxy-server-side method for loading a webpage of the present disclosure. All steps shown in Fig. 11 may be performed by processor 11-10 to execute instructions stored in memory 11-12. The example shown in Fig. 11 is on the basis of the example shown in Fig. 9. As shown in Fig. 11, this example describes in details how the proxy server compares the new webpage resource with the old webpage resource, wherein, Step 340 comprises:
Step 341, comparing the new webpage resource with the old webpage resource to obtain the differences therebetween.
Step 342, determining whether the data volume of the differences exceeds a pre-specified threshold; if yes, go to Step 343; if not, go to Step 344.
Step 343, sending the new webpage resource to the browser.
Step 344, sending the differences to the browser.
In this example, if the proxy server stores the old webpage corresponding to the new webpage, then the proxy server can compare the new webpage with the old webpage to obtain the differences therebetween. However if the data volume of the differences is bigger than the entire webpage, sending the differences to the browser will not increase the loading speed because of the big data traffic and the complicated process to generate the new webpage. In this situation, to reduce the data traffic and improve the loading speed, the proxy server can send directly the new webpage to the browser. If the data volume of the  differences is relatively small, the proxy server can send the differences to the browser with indicating what the proxy server sends is the differences not the entire webpage.
As the data volume of the differences is much smaller than the data volume for downloading the entire webpage, sending the differences to the browser can reduce the data traffic. Moreover, to generate the new webpage resources, the browser only needs to replace the different parts, so as to increase the loading speed. Besides, the proxy server can send a set of instructions to the browser instead of sending the differences. The set of instructions is used for indicating how to generate the new webpage based on the old webpage, and the data volume of the set is smaller than the data volume of the entire webpage resource. Based on these instructions and the old webpage resource stored in local database on the user’s terminal, the browser can then generate the new webpage resource. This way can also reduce the data traffic and increase the loading speed.
Fig. 12 is a flow chart of a fourth example of the proxy-server-side method for loading a webpage of the present disclosure. All steps shown in Fig. 12 may be performed by processor 12-10 to execute instructions stored in memory 12-12. The example shown in Fig. 12 is on the basis of the example shown in Fig. 9. As shown in Fig. 12, this example describes in details how the proxy server saves the new webpage resource, wherein, after Step 320, the method further comprises:
Step 351, determining an index for the new webpage resource based on the new webpage resource.
Step 352, checking whether a webpage index table corresponding to the index of the new webpage resource exists in the webpage database; if yes, go to Step353; if not, go to step 354.
Step 353, replacing the old webpage resource saved in the webpage index table with the new webpage resource.
Step 354, creating a webpage index table corresponding to the index of the new webpage resource in the webpage database, and saving the new webpage resource into the webpage index table.
In this example, the proxy server stores all the browsed webpage resources, and creates the webpage index tables according to the indexes of the webpage resources. Every webpage resource is stored in its corresponding webpage index table, so next time when a webpage is required, the webpage index table can help the proxy server retrieve the old webpage recourse. This example employs a hash algorithm to create the index table, the webpage resource and its related information are stored in the index table. In this way, useful information may be retrieved easily and quickly, so as to increase the loading speed.
Fig. 13 is a schematic structural diagram of a first example of the system for loading a webpage of the present disclosure. All modules or units in Figs. 13-22 may be performed by processor to execute instructions stored in memory. The memory may be any type of computer readable medium and may be either transitory or non-transitory.
As shown in Fig. 13, in this example, the system for loading a  webpage comprises a browser 100 and a proxy server 200, wherein the browser 100 comprises a first sending-receiving module 101, a local retrieving module 102, and a webpage generating module 103, the proxy server 200 comprises a webpage downloading module 201, a webpage searching module 202, a comparing module 203, and a second sending-receiving module 204; wherein
the first sending-receiving module 101 is used for sending a request for a webpage to the proxy server 200 after accessing a local database;
the webpage downloading module 201 is used for retrieving a new webpage resource corresponding to the request from a web server 300;
the webpage searching module 202 is used for searching a webpage database on the proxy server 200 for an old webpage resource corresponding to the request;
the comparing module 203 is used for comparing the new webpage resource with the old webpage resource to obtain differences between the new webpage resource and the old webpage resource;
the second sending-receiving module 204 is used for sending the differences to the browser 100;
the local retrieving module 102 is used for retrieving a local webpage resource corresponding to the request from the local database ;
webpage generating module 103 is used for generating the new webpage resource based on the local webpage resource and the differences.
In this example, after receiving the request for a webpage from a user, the browser 100 can check whether the corresponding webpage resource is  already cached first. If the corresponding webpage resource isn’t cached, the browser 100 sends the request to the proxy server 200, if the corresponding webpage resource is cached, the browser 100 loads the webpage resource directly from the cache rather than send the request, so as to reduce the data traffic and increase the loading speed.
As an intermediate server between the browser 100 and the web server 300, the proxy server 200 can respond to the request from the browser 100, send the processed request to the corresponding web server 300, process the data from the web server 300, then send the processed data back to the user’s browser 100.
After receiving the request for a webpage, the proxy server 200 searches the browsing history, that is to say, search the webpage database to see if there is the old webpage resource corresponding to the webpage the user intends to browse. If there isn’t, the proxy server 200 sends the retrieved new webpage resource to the browser 100. If the old webpage resource exists in the webpage database, the proxy server 200 then compares the new webpage resource with the old webpage resource to obtain the differences therebetween, i. e. the parts of the new webpage resource which are different from the corresponding parts of old webpage resource. Here, the proxy server 200 only sends the differences to the browser 100 rather than the entire webpage, so as to reduce the data traffic.
After receiving the data from the proxy server 200, the browser 100 determines whether it’s an entire webpage resource or it’s just the differences. If it is an entire webpage resource, the browser 100 loads the webpage resource directly. If what the browser 100 received is the differences, then the browser 100  retrieves the old webpage resource from the local database, generates the new webpage based on the differences, and loads the generated new webpage. As most of the contents are already on the old webpage, the browser 100 only needs to replace a small part of the original contents with the differences. Therefore, the system can increase the loading speed.
In this example, after receiving the request from the browser 100 for a webpage, the proxy server 200 compares the new webpage resource with the old webpage resource, and only sends the differences to the browser 100, so as to reduce the data traffic; in addition, after receiving the differences, the browser 100 can generate the new webpage resource based on the differences, so as to effectively increase the loading speed.
Fig. 14 is a schematic structural diagram of a second example of the system for loading a webpage of the present disclosure. The example shown in Fig. 14 is on the basis of the example shown in Fig. 13. As shown in Fig. 14, the browser 100 also comprises a first extracting module 104, a first determining module 105 and an adding module 106; wherein
the first extracting module 104 is used for extracting a URL from the request;
the first determining module 105 is used for determining an index for the URL based on the URL;
the local retrieving module 102 is also used for checking whether the local webpage resource and an index of the local webpage resource corresponding to the index of the URL exist in the local database;
the adding module 106 is used for adding the index of the local webpage resource to the request if the local webpage resource and the index of the local webpage resource corresponding to the index of the URL exist in the local database;
the first sending-receiving module 101 is used for sending the request added with the index of the local webpage resource to the proxy server 200.
In this example, the request contains the URL of the webpage the user intends to browse. The browser 100 saves the browsed webpage into the local database of user’s terminal when necessary, in the meantime, the browser 100 creates an index table in the local database according to the index of the URL, wherein, the index table contains the entire webpage resource and the index of the webpage resource, and the index may be a hash value corresponding to the URL.
Based on the index of the URL, the browser 100 searches the local database on the user’s terminal to see if a webpage having the same URL has been saved on the device, i. e. the local old webpage resource. If the old webpage resource exists in the local database, the browser 100 sends the request to the proxy server 200 with adding the index of the webpage source to the header of the request to the proxy server 200. If the old webpage resource corresponding to the index of the URL doesn’t exist in the local database, the browser 100 sends the request to the proxy server 200 without adding information to it.
In this example, if the browser 100 has browsed the required webpage before, then the old webpage resource may be found in the local database on the user’s terminal meanwhile the browsing history may be found on  the proxy server 200, so the browser 100 only needs to send the index of the local webpage resource along with the request to the proxy server 200 rather than send the entire local webpage resource to the proxy server 200. Based on the index of the local webpage resource, the proxy server 200 is able to search the database on the proxy server 200 for the browsed webpage resource. In this way, the system reduces the data traffic between the browser 100 and the proxy server 200.
Fig. 15 is a schematic structural diagram of a third example of the system for loading a webpage of the present disclosure. The example shown in Fig. 15 is on the basis of the example shown in Fig. 13. As shown in Fig. 15, the proxy server 200 also comprises a second extracting module 205; wherein
the second extracting module 205 is used for extracting the URL from the request;
the webpage downloading module 201 is used for retrieving the new webpage resource corresponding to the URL from the web server 300;
the second extracting module 205 is also used for extracting the index of the local webpage resource from the request;
the webpage searching module 202 is used for searching the webpage database on the proxy server 200 for the old webpage resource corresponding to the index of the local webpage resource.
In this example, the proxy server 200 sends the request to the web server 300, and retrieves the webpage resource corresponding to the URL from the web server 300. The proxy server 200 checks whether the request from the browser 100 contains the index of the webpage source. If yes, based on the index,  the proxy server 200 searches the webpage database for the corresponding webpage resource. If not, the proxy server 200 sends directly the new webpage resource to the browser 100.
In this example, the proxy server 200 stores the browsed webpage resources. During retrieving, the proxy server 200 downloads the new webpage based on the URL contained in the request, and searches for the old webpage based on the index of webpage resource contained in the request. In this way, useful information may beobtainedeasily and quickly, so as to increase the loading speed.
In the examples of the present disclosure, the following modules are used for comparing the new webpage resource with the old webpage resource.
The comparing module 203 is used for comparing the new webpage resource with the old webpage resource to obtain the differences therebetween; determining whether the data volume of the differences exceeds a pre-specified threshold.
The second sending-receiving module 204 is used for sending the new webpage resource to the browser 100 if the data volume of the differences exceeds the pre-specified threshold; sending the differences to the browser 100 if the data volume of the differences is less than or equal to the pre-specified threshold.
In this example, if the proxy server 200 stores the old webpage corresponding to the new webpage, then the proxy server 200 can compare the new webpage with the old webpage to obtain the differences therebetween.  However if the data volume of the differences is bigger than the entire webpage, sending the differences to the browser 100 will not increase the loading speed because of the big data traffic and the complicated process to generate the new webpage. In this situation, to reduce the data traffic and improve the loading speed, the proxy server 200 can send directly the new webpage to the browser 100. If the data volume of the differences is relatively small, the proxy server 200 can send the differences to the browser 100 with indicating what the proxy server 200 sends is the differences not the entire webpage. As the data volume of the differences is much smaller than the data volume for downloading the entire webpage, sending the differences to the browser 100 can reduce the data traffic. Moreover, togenerate the new webpage resources, the browser 100 only needs to replace the different parts, so as to increase the loading speed. Besides, the proxy server 200 can send a set of instructions to the browser 100 instead of sending the differences. The set of instructions is used for indicating how to generate the new webpage based on the old webpage, and the data volume of the set is smaller than the data volume of the entire webpage resource. Based on these instructions and the old webpage resource stored in local database on the user’s terminal, the browser 100 can then generate the new webpage resource. This way can also reduce the data traffic and increase the loading speed.
Fig. 16 is a schematic structural diagram of a fourth example of the system for loading a webpage of the present disclosure. The example shown in Fig. 16 is on the basis of the example shown in Fig. 14. As shown in Fig. 16, the proxy server 200 also comprises a second determining module 206 and a second  saving module 207, and the browser also comprises a first saving module 107; wherein
the second determining module 206 is used for determining an index for the new webpage resource based on the new webpage resource;
the webpage searching module 202 is also used for checking whether a webpage index table corresponding to the index of the new webpage resource exists in the webpage database;
the second saving module 207 is used for replacing the old webpage resource saved in the webpage index table with the new webpage resource if the webpage index table corresponding to the index of the new webpage resource exists in the webpage database; creating a webpage index table corresponding to the index of the new webpage resource in the webpage database and saving the new webpage resource into the webpage index table if the index table corresponding to the index of the new webpage resource doesn’t exist in the webpage database.
the first determining module 105 is also used for determining the index of the URL based on the URL of the new webpage resource, and determining the index of the new webpage resource based on the new webpage resource;
the local retrieving module 102 is also used for checking whether a local index table corresponding to the index of the URL exists in the local database; and
the first saving module 107 is used for replacing respectively the old webpage resource and an index of the old webpage resource saved in the local  index table with the new webpage resource and the index of the new webpage resource if the local index table corresponding to the index of the URL exists in the local database; creating a local index table corresponding to the index of the URL in the local database and saving the new webpage resource and the index of the new webpage resource into the index table if the index table corresponding to the index of the URL doesn’t exist in the local database.
In this example, the proxy server 200 stores all the browsed webpage resources, and creates the webpage index tables according to the indexes of the webpage resources. Every webpage resource is stored in its corresponding webpage index table, so next time when a webpage is required, the webpage index table can help the proxy server 200 retrieve the old webpage recourse. The browser 100 creates the local index tables in the local database according to the indexes of the URLs of browsed webpages, the index table contains the browsed webpage resource and the index of the webpage resource, so next time when a webpage is required, the index table can help the browser 100 retrieve the old webpage resource and the index of the old webpage resource. Wherein, the index of the webpage resource is used for searching the webpage index table on the proxy server 200 for the webpage resource.
This example employs a hash algorithm to create the index table, the webpage resource and its related information are stored in the index table. In this way, useful information may be retrieved easily and quickly, so as to increase the loading speed.
Fig. 17 is a schematic structural diagram of a first example of the  browser 100 of the present disclosure. As shown in Fig. 17, in this example, the browser 100 comprises a first sending-receiving module 101, a local retrieving module 102 and a webpage generating module 103; wherein
the first sending-receiving module 101 is used for sending a request for a webpage to a proxy server 200; receiving the differences between a new webpage resource and an old webpage resource corresponding to the request from the proxy server 200;
the local retrieving module 102 is used for retrieving a local webpage resource corresponding to the request from the local database;
the webpage generating module 103 is used for generating the new webpage resource based on the local webpage resource and the differences.
In this example, after receiving the request for a webpage from a user, the browser 100 can check whether the corresponding webpage resource is already cached first. If the corresponding webpage resource isn’t cached, the browser 100 sends the request to the proxy server 200, if the corresponding webpage resource is cached, the browser 100 loads the webpage resource directly from the cache rather than send the request, so as to reduce the data traffic and increase the loading speed. When the proxy server 200 sends back the data, if the old webpage resource is not stored on the proxy server 200, the proxy server 200 sends the entire new webpage resource to the browser 100; if the old webpage resource is stored on the proxy server 200, the browser 100 only receives the differences rather than the entire webpage resource, so as to reduce the data traffic.
After receiving the data from the proxy server 200, the browser 100 determines whether it’s an entire webpage resource or it’s just the differences. If it is an entire webpage resource, the browser 100 loads the webpage resource directly. If what the browser 100 received is the differences, then the browser 100 retrieves the old webpage resource from the local database, generates the new webpage based on the differences, and loads the generated new webpage. As most of the contents are already on the old webpage, the browser only needs to replace a small part of the original contents with the differences, thus, the browsercan increase the loading speed.
In this example, after receiving the request for a webpage from the browser 100, the proxy server 200 compares the new webpage resource with the old webpage resource, and only sends the differences to the browser 100, so as to reduce the data traffic; in addition, after receiving the differences, the browser 100 can generate the new webpage resource based on the differences, so as to effectively increase the loading speed.
Fig. 18 is a schematic structural diagram of a second example of the browser 100 of the present disclosure. The example shown in Fig. 18 is on the basis of the example shown in Fig. 17. As shown in Fig. 18, this example further comprises a first extracting module 104, a first determining module 105 and an adding module 106; wherein
the first extracting module 104 is used for extracting a URL from the request;
the first determining module 105 is used for determining an index for  the URL based on the URL;
the local retrieving module 102 is also used for checking whether the local webpage resource and an index of the local webpage resource corresponding to the index of the URL exist in the local database;
the adding module 106 is used for adding the index of the local webpage resource to the request if the local webpage resource and the index of the local webpage resource corresponding to the index of the URL exist in the local database; and
the first sending-receiving module 101 is used for sending the request added with the index of the local webpage resource to the proxy server 200.
In this example, the request contains the URL of the webpage the user intends to browse. The browser 100 saves the browsed webpage into the local database of user’s terminal when necessary, in the meantime, the browser 100 creates an index table in the local database according to the index of the URL, wherein, the index table contains the entire webpage resource and the index of the webpage resource, the index may be a hash value corresponding to the URL. Based on the index of the URL, the browser 100 searches the local database on the user’s terminal to see if a webpage having the same URL has been saved on the device, i. e. the local old webpage resource. If the old webpage resource exists in the local database, the browser 100 sends the request to the proxy server 200 with adding the index of the webpage source to the header of the request proxy server 200. If the old webpage resource corresponding to the index of the URL doesn’t exist in the local database, the browser 100 sends the request to the proxy  server 200 without adding information to it.
In this example, if the browser 100 has browsed the required webpage before, then the old webpage resource may be found in the local database on the user’s terminal meanwhile the browsing history may be found on the proxy server 200, so the browser 100 only needs to send the index of the local webpage resource along with the request to the proxy server 200 rather than send the entire local webpage resource to the proxy server 200. Based on the index of the local webpage resource, the proxy server 200 is able to search the database on the proxy server 200 for the browsed webpage resource. In this way, the browser reduces the data traffic between the browser 100 and the proxy server 200.
Fig. 19 is a schematic structural diagram of a third example of the browser 100 of the present disclosure. The example shown in Fig. 19 is on the basis of the example shown in Fig. 17. As shown in Fig. 19, the example further comprises a first saving module 107; wherein
the first determining module 105 is also used for determining the index of the URL based on the URL of the new webpage resource, and determining an index for the new webpage resource based on the new webpage resource;
the local retrieving module 102 is also used for checking whether a local index table corresponding to the index of the URL exists in the local database;
the first saving module 107 is used for replacing respectively the old webpage resource and an index of the old webpage resource saved in the local index table with the new webpage resource and the index of the new webpage  resource if the local index table corresponding to the index of the URL exists in the local database; creating a local index table corresponding to the index of the URL in the local database and saving the new webpage resource and the index of the new webpage resource into the local index table if the local index table corresponding to the index of the URL doesn’t exist in the local database.
In this example, the browser 100 creates the local index tables in the local database according to the indexes of the URLs of browsed webpages, the index table contains the browsed webpage resource and the index of the webpage resource, so next time when a webpage is required, the index table can help the browser 100 retrieve the old webpage recourse and the index of the webpage resource. Wherein, the index of the webpage resource is used for searching the webpage index table on the proxy server 200 for the webpage resource. This example employs a hash algorithm to create the index table, the webpage resource and its related information are stored in the index table. In this way, useful information may be retrieved easily and quickly, so as to increase the loading speed.
Fig. 20 is a schematic structural diagram of a first example of the proxy server 200 of the present disclosure. As shown in Fig. 20, in this example, the proxy server 200 comprises a webpage downloading module 201, a webpage searching module 202, a comparing module 203 and a second sending-receiving module 204; wherein
the second sending-receiving module 204 is used for receiving a request for a webpage from a browser 100;
the webpage downloading module 201 is used for retrieving a new webpage resource corresponding to the request from a web server 300;
the webpage searching module 202 is used for searching a webpage database on the proxy server 200 for an old webpage resource corresponding to the request;
the comparing module 203 is used for comparing the new webpage resource with the old webpage resource to obtain differences between the new webpage resource and the old webpage resource; and
the second sending-receiving module 204 is used for sending the differences to the browser 100.
In this example, as an intermediate server between the browser 100 and the web server 300, the proxy server 200 can respond to the request from the browser 100, send the processed request to the corresponding web server 300, process the data from the web server 300, then send the processed data back to the user’s browser 100.
After receiving the request, the proxy server 200 searches the browsing history, that is to say, search the webpage database to see if there is the old webpage resource corresponding to the webpage the user intends to browse. If there isn’t, the proxy server 200 sends the retrieved new webpage resource to the browser 100. If the old webpage resource exists in the webpage database, the proxy server 200 then compares the new webpage resource with the old webpage resource to obtain the differences therebetween, i. e. the parts of the new webpage resource which are different from the corresponding parts of old webpage  resource. Here, the proxy server 200 only sends the differences to the browser 100 rather than the entire webpage, so as to reduce the data traffic.
In this example, after receiving the request for a webpage from the browser 100, the proxy server 200 compares the new webpage resource with the old webpage resource to obtain the differences therebetween, and only sends the differences to the browser 100, so as to reduce the data traffic.
Fig. 21 is a schematic structural diagram of a second example of the proxy server 200 of the present disclosure. The example shown in Fig. 21 is on the basis of the example shown in Fig. 20. As shown in Fig. 21, this example further comprises a second extracting module 205; wherein, the request contains a URL, the request also contains an index of a local webpage resource stored in a local database;
the second extracting module 205 is used for extracting the URL from the request;
the webpage downloading module 201 is used for retrieving the new webpage resource corresponding to the URL from the web server 300.
the second extracting module 205 is also used for extracting the index of the local webpage resource from the request;
the webpage searching module 202 is used for searching the webpage database on the proxy server 200 for the old webpage resource corresponding to the index of the local webpage resource.
In this example, the proxy server 200 sends the request to the web server 300, and retrieves the webpage resource corresponding to the URL from  the web server 300. The proxy server 200 checks whether the request from the browser 100 contains the index of the webpage source. If yes, based on the index, the proxy server 200 searches the webpage database for the corresponding webpage resource. If not, the proxy server 200 sends directly the new webpage resource to the browser 100.
In this example, the proxy server 200 stores the browsed webpage resources. During retrieving, the proxy server 200 downloads the new webpage based on the URL contained in the request, and searches for the old webpage based on the index of the webpage resource contained in the request. In this way, useful information may be retrieved easily and quickly, so as to increase the loading speed.
In the examples of the present disclosure, the following modules are used for comparing the new webpage recourse with the old webpage resource.
The comparing module 203 is used for comparing the new webpage resource with the old webpage resource to obtain the differences therebetween and determining whether the data volume of the differences exceeds a pre-specified threshold.
The second sending-receiving module 204 is used for sending the new webpage resource to the browser 100 if the data volume of the differences exceeds the pre-specified threshold; sending the differences to the browser 100 if the data volume of the differences is less than or equal to the pre-specified threshold.
In this example, if the proxy server 200 stores the old webpage  corresponding to the new webpage, then the proxy server 200 can compare the new webpage with the old webpage to obtain the differences therebetween. However, if the data volume of the differences is bigger than the entire webpage, sending the differences to the browser 100 will not increase the loading speed because of the big data traffic and the complicated process to generate the new webpage. In this situation, to reduce the data traffic and improve the loading speed, the proxy server 200 can send directly the new webpage to the browser 100.
If the data volume of the differences is relatively small, the proxy server 200 can send the differences to the browser 100 with indicating what the proxy server 200 sends is the differences not the entire webpage. As the data volume of the differences is much smaller than the data volume for downloading the entire webpage, sending the differences to the browser 100 can reduce the data traffic.
Moreover, to generate the new webpage resources, the browser 100 only needs to replace the different parts, so as to increase the loading speed. Besides, the proxy server 200 can send a set of instructions to the browser 100 instead of sending the differences. The set of instructions is used for indicating how to generate the new webpage based on the old webpage, and the data volume of the set is smaller than the data volume of the entire webpage resource. Based on these instructions and the old webpage resource stored in local database on the user’s terminal, the browser 100 can then generate the new webpage resource. This way can also reduce the data traffic and increase the loading speed. 
Fig. 22 is a schematic structural diagram of a third example of the proxy server 200 of the present disclosure. The example shown in Fig. 22 is on the basis of the example shown in Fig. 20. As shown in Fig. 22, this example further comprises a second determining module 206 and a second saving module 207, wherein
the second determining module 206 is used for determining an index for the new webpage resource based on the new webpage resource;
the web searching module is also used for checking whether a webpage index table corresponding to the index of the new webpage resource exists in the webpage database;
the second saving module 207 is used for replacing the old webpage resource saved in the webpage index table with the new webpage resource if the webpage index table corresponding to the index of the new webpage resource exists in the webpage database; creating a webpage index table corresponding to the index of the new webpage resource in the webpage database and saving the new webpage resource into the webpage index table if the index table corresponding to the index of the new webpage resource doesn’t exist in the webpage database.
In this example, the proxy server 200 stores all the browsed webpage resources, and creates the webpage index tables according to the indexes of the webpage resources. Every webpage resource is stored in its corresponding webpage index table, so next time when a webpage is required, the webpage index table can help the proxy server 200 retrieve the old webpage recourse. This  example employs a hash algorithm to create the index table, the webpage resource and its related information are stored in the index table. In this way, useful information may be retrieved easily and quickly, so as to increase the loading speed.
It should be noted that, the terms “comprise” , “include” or any variations thereof as used herein are intended to cover a non-exclusive inclusion, so that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element defined by “comprises a …” , without more constraints, does not preclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.
Sequence number in above examples of the present disclosure is only used for descriptions, which doesn't demonstrate good or better example.
As may be seen from the foregoing descriptions of the examples, those skilled in the art can understand clearly that the invention may be implemented in a manner of software plus an essential general-purpose hardware platform. Based upon such understanding, the technical solutions of the invention or a part thereof contributing to the prior art can essentially be embodied in the form of a software product, which may be stored in a storage medium, e. g. , an ROM/RAM, a magnetic disk, an optical disk, etc. , and which includes several instructions to cause a computer device (which may be a personal computer, a server, a network device, etc. ) to perform the methods based on the respective examples of the  invention or some parts of the examples. Specifically, the program instructions corresponding to the system for loading a webpage shown in Fig. 13-Fig. 16 may be stored in a readable storage medium in a mobile phone, a pad, or other intelligent terminals, and may be executed by at least one processor to perform the method for loading a webpage shown in Fig. 1-Fig. 5. The program instructions corresponding to the browser 100 shown in Fig. 17-Fig. 19 may be stored in a readable storage medium in a mobile phone, a pad, or other intelligent terminals, and may be executed by at least one processor to perform the browser-side method for loading a webpage shown in Fig. 6-Fig. 8. The program instructions corresponding to the proxy server 200 shown in Fig. 20-Fig. 22 may be stored in a readable storage medium in a mobile phone, a pad, or other intelligent terminals, and may be executed by at least one processor to perform the proxy-server-side method for loading a webpage shown in Fig. 9-Fig. 12.
All the above are the preferred examples of the present disclosure. It is to be understood that, for one skilled in the art, the invention is intended to cover various modifications and equivalent arrangements included within the principle of the invention.

Claims (20)

  1. A method for loading a webpage on a terminal device, comprising:
    sending, by a browser, a request for a webpage to a proxy server after accessing a local database;
    retrieving, by the proxy server, a new webpage resource corresponding to the request from a web server, and searching a webpage database on the proxy server for an old webpage resource corresponding to the request;
    comparing, by the proxy server, the new webpage resource with the old webpage resource to obtain differences between the new webpage resource and the old webpage resource, and sending the differences to the browser; and
    retrieving, by the browser, a local webpage resource corresponding to the request from the local database, and generating the new webpage resource based on the local webpage resource and the differences.
  2. The method of claim 1, wherein the sending the request for the webpage to the proxy server comprises:
    extracting, by the browser, a URL from the request;
    determining, by the browser, a URL index based on the URL;
    checking, by the browser, whether the local webpage resource and alocal webpage resource index corresponding to the URL index exist in the local database;
    if the local webpage resource and the local webpage resource index corresponding to the URL index exist in the local database, adding, by the browser, the local webpage resource index to the request; and
    sending, by the browser, the request added with the local webpage resourceindex to the proxy server.
  3. The method of claim 2, wherein the retrievingthe new webpage resource corresponding to the request from the web server comprises:
    extracting, by the proxy server, the URL from the request;
    retrieving, by the proxy server, the new webpage resource corresponding to the URL from the web server.
  4. The method of claim 2, wherein the searchingthe webpage database on the proxy server for the old webpage resource corresponding to the request comprises:
    extracting, by the proxy server, the local webpage resource index from the request;
    searching, by the proxy server, the webpage database on the proxy server for the old webpage resource corresponding to the local webpage resource index.
  5. The method of claim 1, wherein the comparing the new webpage resource with the old webpage resource to obtain the differences between the new webpage resource and the old webpage resource, and the sending the differences to the browser comprises:
    determining, by the proxy server, whether a data volume of the differences exceeds a pre-specified threshold;
    if the data volume of the differences exceeds the pre-specified threshold, sending, by the proxy server, the new webpage resource to the browser;
    if the data volume of the differences is less than or equal to the pre-specified threshold, sending, by the proxy server , the differences to the browser.
  6. The method of any one of claims 1-5, after the retrievingthe new webpage  resource corresponding to the request from the web server, further comprising:
    determining, by the proxy server, anew webpage resource index based on the new webpage resource;
    checking, by the proxy server, whether a webpage index table corresponding to the new webpage resource index exists in the webpage database;
    if the webpage index table corresponding to the new webpage resource index exists in the webpage database, replacing, by the proxy server, the old webpage resource saved in the webpage index table with the new webpage resource;
    if the webpage index table corresponding to the new webpage resource index doesn’t exist in the webpage database, creating, by the proxy server, the webpage index table corresponding to the new webpage resource index in the webpage database, and saving the new webpage resource into the webpage index table.
  7. The method of claim 6, after generating the new webpage resource, further comprising:
    determining, by the browser, theURL index based on the URL of the new webpage resource, and determining the new webpage resource index based on the new webpage resource;
    checking, by the browser, whether a local index table corresponding to theURL index exists in the local database;
    if the local index table corresponding to the URL index exists in the local database, replacing, by the browser, respectively the old webpage resource and anold webpage resource index saved in the local index table with the new webpage resource and the new webpage resource index;
    if the local index table corresponding to the URL index doesn’t exist in the local database, creating, by the browser, the local index table corresponding to theURL index in the local database, and saving the new webpage resource and the new webpage resource index into the local index table.
  8. The method of claim 1, further comprising:
    receiving, by the proxy server, the request for the webpage from the browser.
  9. A system for loading a webpage, comprising:
    a browser and a proxy server, wherein the browser comprises a first sending-receiving module, a local retrieving module, and a webpage generating module, and the proxy server comprises a webpage downloading module, a webpage searching module, a comparing module, and a second sending-receiving module;
    wherein
    the first sending-receiving module having one or more processors coupled with memory is used for sending a request for a webpage to the proxy server after accessing a local database;
    the webpage downloading module having one or more processors coupled with memory is used for retrieving a new webpage resource corresponding to the request from a web server;
    the webpage searching module having one or more processors coupled with memory is used for searching a webpage database on the proxy server for an old webpage resource corresponding to the request;
    the comparing module having one or more processors coupled with memory is used for comparing the new webpage resource with the old webpage resource to obtain differences between the new webpage resource and the old webpage resource;
    the second sending-receiving module having one or more processors coupled with memory is used for sending the differences to the browser;
    the local retrieving module having one or more processors coupled with memory is used for retrieving a local webpage resource corresponding to the request from the local database; and
    the webpage generating module having one or more processors coupled with  memoryis used for generating the new webpage resource based on the local webpage resource and the differences.
  10. The system of claim 9, wherein the browser further comprises a first extracting module, a first determining module and an adding module; wherein
    the first extracting module having one or more processors coupled with memory is used for extracting a URL from the request;
    the first determining module having one or more processors coupled with memory is used for determining a URL index based on the URL;
    the local retrieving module is also used for checking whether the local webpage resource and a local webpage resource index corresponding to the URL index exist in the local database;
    the adding module having one or more processors coupled with memory is used for adding the local webpage resource index to the request if the local webpage resource and the local webpage resource index corresponding to the URL index exist in the local database;
    the first sending-receiving module is used for sending the request added with the local webpage resource index to the proxy server.
  11. The system of claim 10, wherein the proxy server further comprises a second extracting module; wherein
    the second extracting module having one or more processors coupled with memory is used for extracting the URL from the request;
    the webpage downloading module is used for retrieving the new webpage resource corresponding to the URL from the web server.
  12. The system of claim 11, wherein
    the second extracting module is also used for extracting the local webpage resource index from the request;
    the webpage searching module is used for searching the webpage database on the proxy server for the old webpage resource corresponding to the local webpage resource index.
  13. The system of claim 9, wherein,
    the comparing module is used for determining whether a data volume of the differences exceeds a pre-specified threshold;
    the second sending-receiving module is used for sending the new webpage resource to the browser if the data volume of the differences exceeds a pre-specified threshold; sending the differences to the browser if the data volume of the differences is less than or equal to the pre-specified threshold.
  14. The system of any one of claims 10-12, wherein the proxy server further comprises a second determining module and a second saving module; wherein
    the second determining module having one or more processors coupled with memory is used for determining a new webpage resource index based on the new webpage resource;
    the webpage searching module is also used for checking whether a webpage index table corresponding to the new webpage resource index exists in the webpage database;
    the second saving module having one or more processors coupled with memory is used for replacing the old webpage resource saved in the webpage index table with the new webpage resource if the webpage index table corresponding to the new webpage resource index exists in the webpage database; creating the webpage index table corresponding to the new webpage resource index in the webpage database and saving the new webpage resource into the webpage index table if the webpage index table corresponding to the new webpage resource index doesn’t exist in the webpage database.
  15. The system of claim 14, wherein the browser further comprises a first saving module; wherein
    the first determining module is also used for determining the URL index based on the URL of the new webpage resource, and determining the new webpage resource index based on the new webpage resource;
    the local retrieving module is also used for checking whether a local index table corresponding to the URL index exists in the local database; and
    the first saving module having one or more processors coupled with memory is used for replacing respectively the old webpage resource and an old webpage resource index saved in the local index table with the new webpage resource and the new webpage resource index if the local index table corresponding to the URL index exists in the local database; creating the local index table corresponding to the URL index in the local database and saving the new webpage resource and the new webpage resource index into the index table if the local index table corresponding to the URL index doesn’t exist in the local database.
  16. A proxy server comprising a webpage downloading module, a webpage searching module, a comparing module and a second sending-receiving module; wherein
    the second sending-receiving module having one or more processors coupled with memory is used for receiving a request for a webpage from a browser;
    the webpage downloading module having one or more processors coupled with memory is used for retrieving a new webpage resource corresponding to the request from a web server;
    the webpage searching module having one or more processors coupled with memory is used for searching a webpage database on the proxy server for an old webpage resource corresponding to the request;
    the comparing module having one or more processors coupled with memory is used for comparing the new webpage resource with the old webpage resource  to obtain differences between the new webpage resource and the old webpage resource; and
    the second sending-receiving module having one or more processors coupled with memory is used for sending the differences to the browser.
  17. The proxy server of claim 16, wherein the request contains a URL, the proxy server further comprises a second extracting module; wherein
    the second extracting module having one or more processors coupled with memory is used for extracting the URL from the request;
    the webpage downloading module is used for retrieving the new webpage resource corresponding to the URL from the web server.
  18. The proxy server of claim 17, wherein the request contains a local webpage resource index saved in a local database on the browser;
    the second extracting module is also used for extracting the local webpage resource index from the request;
    the webpage searching module is used for searching the webpage database on the proxy server for the old webpage resource corresponding to the local webpage resource index.
  19. The proxy server of claim 16, wherein
    the comparing module is used for determining whether a data volume of the differences exceeds a pre-specified threshold;
    the second sending-receiving module is used for sending the new webpage resource to the browser if the data volume of the differences exceeds the pre-specified threshold; sending the differences to the browser if the data volume of the differences is less than or equal to the pre-specified threshold.
  20. The proxy server of claim 16, further comprising a second determining  module and a second saving module, wherein
    the second determining module having one or more processors coupled with memory is used for determining a new webpage resource index based on the new webpage resource;
    the web searching module is also used for checking whether a webpage index table corresponding to the new webpage resource index exists in the webpage database;
    the second saving module having one or more processors coupled with memory is used for replacing the old webpage resource saved in the webpage index table with the new webpage resource if the webpage index table corresponding to the new webpage resource index exists in the webpage database; creating the webpage index table corresponding to the new webpage resource index in the webpage database and saving the new webpage resource into the webpage index table if the webpage index table corresponding to the new webpage resource index doesn’t exist in the webpage database.
PCT/CN2014/087058 2013-09-27 2014-09-22 Method, system, browser and proxy server for loading webpage WO2015043428A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310452410.5 2013-09-27
CN201310452410.5A CN104516889B (en) 2013-09-27 2013-09-27 Method, system and the browser and proxy server of webpage load

Publications (1)

Publication Number Publication Date
WO2015043428A1 true WO2015043428A1 (en) 2015-04-02

Family

ID=52742047

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/087058 WO2015043428A1 (en) 2013-09-27 2014-09-22 Method, system, browser and proxy server for loading webpage

Country Status (3)

Country Link
CN (1) CN104516889B (en)
TW (1) TW201512866A (en)
WO (1) WO2015043428A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9292701B1 (en) 2015-04-24 2016-03-22 AO Kaspersky Lab System and method for launching a browser in a safe mode
US20160259800A1 (en) * 2013-11-26 2016-09-08 Uc Mobile Co., Ltd. Webpage loading method, client and server
CN106874434A (en) * 2017-01-24 2017-06-20 青岛海信电器股份有限公司 A kind of web data treatment, webpage loading method and relevant apparatus
CN114338121A (en) * 2021-12-23 2022-04-12 奇安信科技集团股份有限公司 Firewall security prevention and control method, device, system, computing equipment and storage medium

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965656A (en) * 2015-06-19 2015-10-07 努比亚技术有限公司 Page displaying method and apparatus
CN104991916B (en) * 2015-06-24 2019-03-01 小米科技有限责任公司 The loading method and device of webpage
CN105095493A (en) * 2015-08-21 2015-11-25 成都秋雷科技有限责任公司 Web page access processing method
CN105630948B (en) * 2015-12-23 2021-07-23 小米科技有限责任公司 Network page display method and device
CN105930528B (en) * 2016-06-03 2020-09-08 腾讯科技(深圳)有限公司 Webpage caching method and server
CN107544986A (en) * 2016-06-23 2018-01-05 珠海金山办公软件有限公司 A kind of web page display method and device
CN106294844A (en) * 2016-08-19 2017-01-04 乐视控股(北京)有限公司 Browsing device net page loading processing method and device
CN107798023A (en) * 2016-09-07 2018-03-13 广州市动景计算机科技有限公司 Web page resources loading method and web page resources loading device
CN108287839B (en) * 2017-01-09 2022-01-28 阿里巴巴集团控股有限公司 Page loading method and equipment
CN107105336B (en) * 2017-04-19 2021-01-08 腾讯科技(深圳)有限公司 Data processing method and data processing device
CN110955856B (en) * 2019-10-14 2023-01-10 北京奇艺世纪科技有限公司 Webpage loading method and device, server and storage medium
US11258872B1 (en) * 2020-12-10 2022-02-22 Amazon Technologie, Inc. Techniques for accelerating page rendering

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060075088A1 (en) * 2004-09-24 2006-04-06 Ming Guo Method and System for Building a Client-Side Stateful Web Application
US20070288328A1 (en) * 2006-03-31 2007-12-13 Digital River, Inc. Web-Based Product Ordering Method
US20090019133A1 (en) * 2007-07-13 2009-01-15 Stephen Brimley System, method and computer program for updating a web page in a web browser
US20130103757A1 (en) * 2011-10-19 2013-04-25 Justin Mitchell Generation of Activity Stream from Server-Side and Client-Side Data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096712A (en) * 2011-01-28 2011-06-15 深圳市五巨科技有限公司 Method and device for cache-control of mobile terminal
CN102298617A (en) * 2011-08-02 2011-12-28 百度在线网络技术(北京)有限公司 Method for obtaining target page and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060075088A1 (en) * 2004-09-24 2006-04-06 Ming Guo Method and System for Building a Client-Side Stateful Web Application
US20070288328A1 (en) * 2006-03-31 2007-12-13 Digital River, Inc. Web-Based Product Ordering Method
US20090019133A1 (en) * 2007-07-13 2009-01-15 Stephen Brimley System, method and computer program for updating a web page in a web browser
US20130103757A1 (en) * 2011-10-19 2013-04-25 Justin Mitchell Generation of Activity Stream from Server-Side and Client-Side Data

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160259800A1 (en) * 2013-11-26 2016-09-08 Uc Mobile Co., Ltd. Webpage loading method, client and server
US11086962B2 (en) * 2013-11-26 2021-08-10 Uc Mobile Co., Ltd. Webpage loading method, client and server
US9292701B1 (en) 2015-04-24 2016-03-22 AO Kaspersky Lab System and method for launching a browser in a safe mode
EP3086526A1 (en) * 2015-04-24 2016-10-26 AO Kaspersky Lab Launching a browser in a safe mode if needed
CN106874434A (en) * 2017-01-24 2017-06-20 青岛海信电器股份有限公司 A kind of web data treatment, webpage loading method and relevant apparatus
CN114338121A (en) * 2021-12-23 2022-04-12 奇安信科技集团股份有限公司 Firewall security prevention and control method, device, system, computing equipment and storage medium

Also Published As

Publication number Publication date
CN104516889A (en) 2015-04-15
TW201512866A (en) 2015-04-01
CN104516889B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
WO2015043428A1 (en) Method, system, browser and proxy server for loading webpage
US6785769B1 (en) Multi-version data caching
US8819819B1 (en) Method and system for automatically obtaining webpage content in the presence of javascript
CN105930528B (en) Webpage caching method and server
US8935798B1 (en) Automatically enabling private browsing of a web page, and applications thereof
US8527862B2 (en) Methods for making ajax web applications bookmarkable and crawlable and devices thereof
CN104572843B (en) The loading method and device of a kind of page
EP2985705A2 (en) Webpage access method and apparatus, and router
WO2018001124A1 (en) Webpage file sending method, webpage rendering method and apparatus, and webpage rendering system
US20170249378A1 (en) System and method for indexing mobile applications
Pande et al. Enhanced web application and browsing performance through service-worker infusion framework
US20160373545A1 (en) Method and apparatus for webpage resource acquisition
CN106534268B (en) Data sharing method and device
CN105721538A (en) Data access method and apparatus
CN104077310A (en) Method, equipment and system for loading resource file
CN104572777A (en) Webpage loading method and device based on UIWebView component
CN103237088A (en) Corresponding relation library-based browsing method and system and cloud server
CN102663049A (en) Method and device for updating search engine web address library
US20150120861A1 (en) Method and device for obtaining contents of page, application apparatus and mobile terminal
US10095791B2 (en) Information search method and apparatus
US9973597B1 (en) Differential dictionary compression of network-accessible content
US9940364B2 (en) Obtaining desired web content from a mobile device
CN110633432A (en) Method, device, terminal equipment and medium for acquiring data
WO2022135410A1 (en) Method and apparatus for loading source file
EP2719141B1 (en) Method and device for security configuration

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14849462

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC , EPO FORM 1205A DATED 14-09-16

122 Ep: pct application non-entry in european phase

Ref document number: 14849462

Country of ref document: EP

Kind code of ref document: A1