CN102387195A - Directional web server-based resource accelerated downloading system and method - Google Patents

Directional web server-based resource accelerated downloading system and method Download PDF

Info

Publication number
CN102387195A
CN102387195A CN2011102982805A CN201110298280A CN102387195A CN 102387195 A CN102387195 A CN 102387195A CN 2011102982805 A CN2011102982805 A CN 2011102982805A CN 201110298280 A CN201110298280 A CN 201110298280A CN 102387195 A CN102387195 A CN 102387195A
Authority
CN
China
Prior art keywords
server
web server
resource
resource request
browser
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN2011102982805A
Other languages
Chinese (zh)
Other versions
CN102387195B (en
Inventor
黄海峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHANJET INFORMATION TECHNOLOGY Co Ltd
Original Assignee
CHANJET INFORMATION TECHNOLOGY Co Ltd
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 CHANJET INFORMATION TECHNOLOGY Co Ltd filed Critical CHANJET INFORMATION TECHNOLOGY Co Ltd
Priority to CN201110298280.5A priority Critical patent/CN102387195B/en
Publication of CN102387195A publication Critical patent/CN102387195A/en
Application granted granted Critical
Publication of CN102387195B publication Critical patent/CN102387195B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a directional web server-based resource accelerated downloading system, which comprises a browser, an accelerated server and a directional web server, wherein the browser is used for sending a resource request to the accelerated server and receiving response content from the accelerated server; the accelerated server is connected to the browser; the accelerated server comprises a first transceiving unit, a storage unit and a lookup unit; the first transceiving unit is used for receiving the resource request from the browser, receiving the response content from the directional web server and sending the response content which corresponds to the resource request to the browser; the storage unit is used for storing the response content from the directional web server; the lookup unit is used for looking up the corresponding response content from the storage unit according to the type of the resource request; and the directional web server is used for sending the response content which corresponds to the resource request to the accelerated server for storage. For the Internet applications under low-speed broadband, the technical scheme is capable of obviously increasing the transmission efficiency. The invention also provides a resource accelerated downloading method.

Description

Resource based on directed web server is quickened download system and method
Technical field
The present invention relates to Internet technical field, quicken download system and method in particular to resource based on directed web server.
Background technology
The web that a large amount of medium-sized and small enterprises all will be disposed based on the Internet uses, to carry out the cross-region cooperation.If department server is deployed in data center or uses the private line access server, then cost is very high, is not suitable for medium-sized and small enterprises.Therefore, the WEB server and client side of the medium-sized and small enterprises of the overwhelming majority networks through ADSL.This network application mode bandwidth is very little, and (64KB and do not change with downlink bandwidth) done strict restriction simultaneously because the upstream bandwidth of the ADSL of operator, makes that the page and the data the when user operates are very slow in transmission over networks speed.
Therefore, need a kind of resource that goes under the low speed broadband to quicken download technology, improve based on directed web data in server efficiency of transmission.
Summary of the invention
Technical problem to be solved by this invention is, provides a kind of resource based on directed web server to quicken download technology, improves based on directed web data in server efficiency of transmission.
According to an aspect of the present invention, provide a kind of resource to quicken download system, having comprised based on directed web server: browser, send resource request and receive the response contents from said acceleration server to quickening server; Quicken server; Be connected to said browser; Said acceleration server comprises first Transmit-Receive Unit, memory cell and searches the unit; Said first Transmit-Receive Unit receives said resource request from said browser, receive from the response contents of directed web server and will be sent to said browser with said resource request corresponding response content; Said cell stores is from the response contents of said directed web server, and the said unit of searching finds out said corresponding response content according to the type of said resource request from said memory cell; Said directed web server will be sent to said acceleration server with said resource request corresponding response content and store.
In technique scheme; Preferably; Dynamic resource and the said static resource of regular update that said cell stores is returned from the static resource in the said directed web server and said directed web server, with said web server in static resource synchronous.
In technique scheme; Preferably; When said acceleration server is the static resource request in the type of said resource request; The corresponding static resource of said static resource request is searched in the said unit of searching from said memory cell; The static resource of the said correspondence that said first Transmit-Receive Unit will find out is back to said browser, if there is not the static resource of said correspondence in the said memory cell, then said first Transmit-Receive Unit is sent to said directed web server with said resource request; Said directed web server is stored the said memory cell that said resource request corresponding response content is back in the said acceleration server, and by said first Transmit-Receive Unit of said acceleration server said corresponding response content is sent said browser.
In technique scheme; Preferably; Said acceleration server also comprises: first computing unit, when the type of said resource request is the dynamic resource request, according to the request header of said resource request; Calculate first sign that is used for confirming said resource request; Find first value with corresponding second sign of said first sign from said memory cell, said second is designated the sign with a described request corresponding response content, said second first value that identify is attached to the described request hair delivers to accelerating module; Said resource based on directed web server is quickened download system and is also comprised: said accelerating module; Said accelerating module comprises second computing unit, comparing unit and second Transmit-Receive Unit; When said second computing unit responds said resource request at said directed web server; Calculate second value of the second corresponding sign according to the required response contents of said directed web server; Said comparing unit compares said second value and said first value; Said second Transmit-Receive Unit is sent to said directed web server with comparative result, when said directed web server is identical at comparative result, and need be to said browser output and said resource request corresponding response content; Return first response to said acceleration server; Said acceleration server obtains the corresponding response content and is sent to said browser according to said first response from said memory cell, said directed web server for not simultaneously, needs output and said resource request corresponding response content at said comparative result; Said second Transmit-Receive Unit returns second response to said acceleration server, and second value of said second sign is attached to said second head response that respond and sends to said acceleration server; The said cell stores of said acceleration server is from the response contents of said directed web server; And said first computing unit of the said acceleration server resource request corresponding according to said head response; Confirm said first sign of the resource request of said correspondence; Said first sign is carried out association store with second value of said second sign, and said first Transmit-Receive Unit will be sent to said browser from the response contents of said directed web server.
In technique scheme, preferably, said acceleration server is arranged in the terminal at place of said browser or is arranged in the local area network (LAN) at said browser place, and said accelerating module is arranged at said web server end.
Through technique scheme, can realize a kind of resource acceleration download system based on directed web server, the internet, applications under (surfing the Net with ADSL like server) situation of smaller bandwidth can significantly promote efficiency of transmission, makes the product operation smooth more.
According to another aspect of the invention, also provide a kind of resource to quicken method for down loading, having comprised based on directed web server: step 302, browser sends resource request to quickening server; Step 304, said acceleration server finds out the response contents from directed web server according to the type of said resource request from said acceleration server, and said response contents is sent to said browser.
In technique scheme; Preferably; In the buffer memory of said acceleration server stores synchronized static resource and the said directed web server in the said directed web server dynamic resource and the said static resource of regular update that return, with said web server in static resource synchronous.
In technique scheme; Preferably; When the type of said resource request is the static resource request, from the buffer memory of said acceleration server, search the corresponding static resource of said static resource request, the static resource of the said correspondence that finds out is back to said browser; If there is not the static resource of said correspondence in the buffer memory of said acceleration server; Then said resource request is sent to said directed web server, said directed web server is back to said acceleration server with said resource request corresponding response content and carries out buffer memory, and by said acceleration server said corresponding response content is sent said browser.
In technique scheme; Preferably; When the type of said resource request is the dynamic resource request; The concrete grammar that obtains the said response contents that is sent to said browser comprises: said acceleration server calculates first sign that is used for confirming said resource request according to the request header of said resource request, from the buffer memory of said acceleration server, finds first value of second sign corresponding with said first sign; Said second is designated the sign with a described request corresponding response content, first value of said second sign is attached to the described request hair delivers to accelerating module; When said directed web server responds said resource request; Said accelerating module calculates second value of the second corresponding sign according to the response contents of said directed web server; Said second value and said first value are compared; When being identical, said directed web server need not return first response to said acceleration server to said browser output and said resource request corresponding response content at comparative result; Said acceleration server obtains the corresponding response content and is sent to said browser according to said first response from the buffer memory of said acceleration server; For not simultaneously, said accelerating module returns second response to said acceleration server at said comparative result, obtain said directed web server output with said resource request corresponding response content; Said corresponding response content is sent to said acceleration server; And second value of said second sign is attached to the head response of said second response and sends to said acceleration server, said acceleration server stores is from the response contents of said directed web server, and confirms that according to the corresponding resource request of said head response corresponding said first identifies; Said first sign is carried out association store with second value of said second sign, and will be sent to said browser from the response contents of said directed web server.
In technique scheme; Preferably; Said acceleration server is arranged in the terminal at place of said browser or is arranged in the local area network (LAN) at said browser place; Said accelerating module is arranged at said web server end (accelerating module can be integrated in the web server, and is very near with the web server, can not waste the transmission time).
Through technique scheme, can realize a kind of resource acceleration method for down loading based on directed web server, the internet, applications under (surfing the Net with ADSL like server) situation of smaller bandwidth can significantly promote efficiency of transmission, makes the product operation smooth more.
Description of drawings
Fig. 1 shows the block diagram that quickens download system according to an embodiment of the invention based on the resource of directed web server;
Fig. 2 shows the sketch map that narrow according to an embodiment of the invention net is used;
Fig. 3 shows the sketch map that quickens download system according to an embodiment of the invention based on the resource of directed web server; And
Fig. 4 shows the flow chart that quickens method for down loading according to an embodiment of the invention based on the resource of directed web server.
Embodiment
In order more to be expressly understood above-mentioned purpose of the present invention, feature and advantage, the present invention is further described in detail below in conjunction with accompanying drawing and embodiment.
Set forth a lot of details in the following description so that make much of the present invention, still, the present invention can also adopt other to be different from other modes described here and implement, and therefore, the present invention is not limited to the restriction of following disclosed specific embodiment.
Fig. 1 shows the block diagram that quickens download system according to an embodiment of the invention based on the resource of directed web server.
As shown in Figure 1, quicken download system 100 based on the resource of directed web server according to an embodiment of the invention and comprise: browser 102, send resource request and receive the response contents from said acceleration server 106 to quickening server 106; Quicken server 106; Be connected to said browser 102; Said acceleration server 106 comprises first Transmit-Receive Unit 1062, memory cell 1064 and searches unit 1066; Said first Transmit-Receive Unit 1062 receives said resource request from said browser 102, receive from the response contents of directed web server 104 and will be sent to said browser 102 with said resource request corresponding response content; 1064 storages of said memory cell are from the response contents of said directed web server 104, and the said unit 1066 of searching finds out said corresponding response content according to the type of said resource request from said memory cell 1064; Said directed web server 104 will be sent to said acceleration server 106 with said resource request corresponding response content and store.
In technique scheme; Preferably; Dynamic resource and the said static resource of regular update that 1064 storages of said memory cell are returned from the static resource in the said directed web server 104 and said directed web server 104, with said web server in static resource synchronous.
In technique scheme; Preferably; When said acceleration server 106 is the static resource request in the type of said resource request; The corresponding static resource of said static resource request is searched in the said unit 1066 of searching from said memory cell 1064; The static resource of the said correspondence that said first Transmit-Receive Unit 1062 will find out is back to said browser 102; If there is not the static resource of said correspondence in the said memory cell 1064; Then said first Transmit-Receive Unit 1062 is sent to said directed web server 104 with said resource request, and said directed web server 104 is stored the said memory cell 1064 that said resource request corresponding response content is back in the said acceleration server 106, and by said first Transmit-Receive Unit 1062 of said acceleration server 106 said corresponding response content is sent said browser 102.
In technique scheme; Preferably; Said acceleration server 106 can also comprise: first computing unit 1068, when the type of said resource request is the dynamic resource request, according to the request header of said resource request; Calculate first sign that is used for confirming said resource request; Find first value with corresponding second sign of said first sign from said memory cell 1064, said second is designated the sign with a described request corresponding response content, said second first value that identify is attached to the described request hair delivers to accelerating module 108; Said resource based on directed web server is quickened download system 100 and is also comprised: said accelerating module 108; Said accelerating module 108 comprises second computing unit 1082, comparing unit 1084 and second Transmit-Receive Unit 1086; Said second computing unit 1082 is when the said resource request of said directed web server 104 responses; Calculate second value of the second corresponding sign according to the required response contents of said directed web server 104; Said comparing unit 1084 compares said second value and said first value; Said second Transmit-Receive Unit 1086 is sent to said directed web server 104 with comparative result, when said directed web server 104 is identical at comparative result, and need be to said browser 102 outputs and said resource request corresponding response content; Return first response to said acceleration server 106; Said acceleration server 106 obtains the corresponding response content and is sent to said browser 102 according to said first response from said memory cell 1064, said directed web server 104 for not simultaneously, needs output and said resource request corresponding response content at said comparative result; Said second Transmit-Receive Unit 1086 returns second response to said acceleration server 106, and second value of said second sign is attached to said second head response that respond and sends to said acceleration server 106; Said memory cell 1064 storages of said acceleration server 106 are from the response contents of said directed web server 104; And said first computing unit 1068 of said acceleration server 106 resource request corresponding according to said head response; Confirm said first sign of the resource request of said correspondence; Said first sign is carried out association store with second value of said second sign, and said first Transmit-Receive Unit 1062 will be sent to said browser 102 from the response contents of said directed web server 104.
In technique scheme; Preferably; Said acceleration server 106 is arranged in the terminal at place of said browser 102 or is arranged in the local area network (LAN) at said browser 102 places; Said accelerating module 108 is arranged at said web server end (accelerating module can be integrated in the web server, and is very near with the web server, can not waste the transmission time).
Pass through technique scheme; Can realize a kind of resource acceleration download system based on directed web server; Internet, applications under (for example the server and client side is through the ADSL networking) situation of smaller bandwidth can significantly promote efficiency of transmission, makes the product operation smooth more.
Further specify according to the resource acceleration download system based on directed web server according to the present invention below in conjunction with Fig. 2 and Fig. 3.
Fig. 3 has increased acceleration server and accelerating module on the basis of Fig. 2, in this embodiment, directed server is meant that to the server in the narrow net application, for example, the server and client side is through the ADSL networking.
In resource request is under the situation of static resource request:
Static resource is meant indeclinable basically file content, and for example, files such as js, html, jpg all belong to static resource.
1, browser 202 is initiated the static resource request, and this resource request arrives to be quickened in the server 206.
2, quicken server 206 and judge that this resource request whether in the buffer memory that quickens server 206, directly returns to browser 202 if just found, no longer carry out alternately with Web server 204.
If there is not the resource of hit requests in the buffer memory of 3 acceleration servers 206; Then can resource request be transmitted and deliver to Web server 204; Web server 204 send back to response contents and quickens server 206, quickens this response contents of server buffer, and response contents is sent to browser 202.
In resource request is under the situation of dynamic resource request:
Dynamic resource is meant dynamic page and the dynamic content that 204 computings are exported through the web server, and for example, aspx, php, jsp etc. belong to dynamic resource.
1, browser 202 is initiated the dynamic resource request, and this resource request arrives quickens server 206.
2, quicken the request header (URL, parameter etc.) of server 206 according to this resource request; Calculate a DKey (sign of representing this resource request is made as first sign) who is used for buffer memory, and from buffer memory, search a corresponding value (sign of expression response contents of being " DETag " of this Dkey; Be made as second sign); Here " DETag " is not the ETag in the Http agreement, and whether identical foundation identifies but expansion is used for more same dynamic resource, if find DETag in the buffer memory; Then this DETag value (first value of second sign) is attached to the Http request header, and request header is sent to Web server 204.
3, Web server 204 receives resource request; Before response is sent to network, be accelerated module 208 and handle, the content of 208 pairs of responses of accelerating module is carried out the MD5 computing, calculates the value (second value of second sign) of DETag; The DETag value (first value of second sign) of this DETag value (second value of second sign) with the Http request header compared; If both are identical, expression quickens in the server 206 that buffer memory has the corresponding dynamic resource of resource request, will directly send 304 requests; No longer to network output response contents, this is the key that dynamic content quickens to Web server 204.If both are inequality, then DETag value (second value of second sign) is attached to the Http head response, proceed 200 responses.
4, quicken the response that server 206 receives Web server 204, response judged two kinds of situations are arranged here:
1) if 200 responses and head response have carried the DETag value; Then calculate DKey (value of response request) according to the corresponding request of this response; And with this DKey and DETag value (second value of second sign) to carrying out corresponding buffer memory, and response contents carried out buffer memory (acceleration server 206 judges that according to the threshold value of response contents size leaving internal memory in still is on the disk).Then response contents is sent to browser 202.
2) if 304 responses then show this response identical content that has been accelerated server buffer, directly from the buffer memory that quickens server 206, obtain response contents, send to browser 202.
Therefore, in narrow net is used, no matter be static resource request or dynamic resource request; Can quicken to handle; Static resource is directly downloaded from local (this machine or local area network (LAN)), and 100% saves the outer net bandwidth, and 100% minimizing Web server is mutual; More outstanding characteristics are can static content directly be cached in browser nearest this machine or local area network (LAN), and acceleration effect is more obvious.Common static resource directly is bundled in the installation kit that quickens server the effect that makes browser when visiting product for the first time, just can obtain quickening.
And (average 200ms) is very obvious in the time-delay that connects on the internet, and Web of the present invention acceleration resource downloading system has reduced the be connected number of times of browser with the Web server wide area network, has directly reduced this connection time-delay.
According to existing rule, all dynamic pages (for example, aspx, php, jsp etc.) are not by browser rs cache, but during most of website or Web used, the content of dynamic page was not change in fact.The present invention utilizes these characteristics to carry out dynamic content just and quickens; Dynamic page is not in case change; Can be accelerated server buffer and directly download from quickening server, like this, the Http head that quickens only to produce about 300 bytes between server and the Web server is mutual.According to the statistical probability under the situation commonly used, it is mutual to make the dynamic page of original single 300K download the Http head that becomes 300 bytes, saves the outer net bandwidth and reaches 1000 times.
Quicken method for down loading below in conjunction with Fig. 4 explanation resource based on directed web server according to the present invention.
As shown in Figure 4, quicken method for down loading based on the resource of directed web server according to an embodiment of the invention, comprising: step 302, browser sends resource request to quickening server; Step 304, said acceleration server finds out the response contents from directed web server according to the type of said resource request from said acceleration server, and said response contents is sent to said browser.
In technique scheme; Preferably; In the buffer memory of said acceleration server stores synchronized static resource and the said directed web server in the said directed web server dynamic resource and the said static resource of regular update that return, with said web server in static resource synchronous.
In technique scheme; Preferably; When the type of said resource request is the static resource request, from the buffer memory of said acceleration server, search the corresponding static resource of said static resource request, the static resource of the said correspondence that finds out is back to said browser; If there is not the static resource of said correspondence in the buffer memory of said acceleration server; Then said resource request is sent to said directed web server, said directed web server is back to said acceleration server with said resource request corresponding response content and carries out buffer memory, and by said acceleration server said corresponding response content is sent said browser.
In technique scheme; Preferably; When the type of said resource request is the dynamic resource request; The concrete grammar that obtains the said response contents that is sent to said browser comprises: said acceleration server calculates first sign that is used for confirming said resource request according to the request header of said resource request, from the buffer memory of said acceleration server, finds first value of second sign corresponding with said first sign; Said second is designated the sign with a described request corresponding response content, first value of said second sign is attached to the described request hair delivers to accelerating module; When said directed web server responds said resource request; Said accelerating module calculates second value of the second corresponding sign according to the response contents of said directed web server; Said second value and said first value are compared; When being identical, said directed web server need not return first response to said acceleration server to said browser output and said resource request corresponding response content at comparative result; Said acceleration server obtains the corresponding response content and is sent to said browser according to said first response from the buffer memory of said acceleration server; For not simultaneously, said accelerating module returns second response to said acceleration server at said comparative result, obtain said directed web server output with said resource request corresponding response content; Said corresponding response content is sent to said acceleration server; And second value of said second sign is attached to the head response of said second response and sends to said acceleration server, said acceleration server stores is from the response contents of said directed web server, and confirms that according to the corresponding resource request of said head response corresponding said first identifies; Said first sign is carried out association store with second value of said second sign, and will be sent to said browser from the response contents of said directed web server.
In technique scheme; Preferably; Said acceleration server is arranged in the terminal at place of said browser or is arranged in the local area network (LAN) at said browser place; Said accelerating module is arranged at said web server end (accelerating module can be integrated in the web server, and is very near with the web server, can not waste the transmission time).
Through technique scheme, can realize a kind of resource acceleration method for down loading based on directed web server, the internet, applications under (surfing the Net with ADSL like server) situation of smaller bandwidth can significantly promote efficiency of transmission, makes the product operation smooth more.
Through technique scheme, can also solve following technical problem:
Time-delay when 1, browser is connected with the network of acceleration server can not cause the bottleneck of transfer of data.
For the time-delay that wide area network connects, it all is the same quickening with the effect of not quickening, but because the present invention has reduced the connection number of times, has therefore reduced this time-delay.In this machine or local area network (LAN), the transmission speed of data establishment of connection and data is very fast, with transmission time of wide area network than ignoring basically.In order to guarantee two sections transport overheads, the first accelerator server has adopted the asynchronous serial transmission means, further reduces the expense of network.
2, quickening server is not to move with the acting server mode, is the server that quickens the website to directed, therefore need not revise the setting of acting server for browser end, can not influence the efficient of other website of browser access except that orientation is quickened the website.
Quickening download mechanism based on the resource of directed web server is at the narrow online directed single website that quickens, and mainly is to the too big transmission problem of content of pages size in the Web product.Except that directed the acceleration visited other internet content and do not had too big influence the website.
3, be used for the operation time of the MD5 method of DETag value calculating in the accelerating module, can not cause decrease in efficiency.
The time of MD5 method computing, very little for consumption reaches second server side logic of level, can not become bottleneck, following table 1 is a test data:
Figure BDA0000096270700000111
Table 1
The condition of test is: CPU:Intel (R) Core (TM) 2 Duo CPU E7500 2.93G internal memory: 3G, can know that from last table 1 required response time of computing is very short, can not influence efficiency of transmission.
4, about quickening the spatial cache of server: no matter static resource or dynamic resource; Quicken server the buffer memory threshold value control is all arranged; Such as only just being cached in the internal memory less than 64K; And the clauses and subclauses of memory cache are also controlled through the LRU cache way, and default entry is 10000 now, 10000 resources that a buffer memory the most often uses recently.For the dynamic resource of disk buffering, quicken server at every turn and restart the dynamic resource that all can clean out disk buffering.In quickening server, increase simultaneously and regularly safeguard control, the dynamic content cleaning of a disk buffering is carried out in (as 6 hours) at set intervals.Therefore, can not cause the not enough problem of buffer memory of quickening server.
5, the static resource of acceleration server and Web server is synchronous.
Quickening server has fresh-keeping mechanism, during with operation, every at a distance from 10 minutes when restarting at every turn, will send undersized HEAD request to Web server, if the discovery static file has had renewal, will delete the local disk file, the newly downloaded static resource of laying equal stress on.Therefore, it is synchronous quickening the static resource of server and the static resource of Web server.
Therefore,, not only can quicken to download the static resource and the dynamic resource of specified sites, also can guarantee resource and data consistency, improve the efficient of resource transmission according to technical scheme of the present invention.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the resource based on directed web server is quickened download system, it is characterized in that, comprising:
Browser sends resource request and receives the response contents from said acceleration server to quickening server;
Quicken server; Be connected to said browser; Said acceleration server comprises first Transmit-Receive Unit, memory cell and searches the unit; Said first Transmit-Receive Unit receives said resource request from said browser, receive from the response contents of directed web server and will be sent to said browser with said resource request corresponding response content; Said cell stores is from the response contents of said directed web server, and the said unit of searching finds out said corresponding response content according to the type of said resource request from said memory cell;
Said directed web server will be sent to said acceleration server with said resource request corresponding response content and store.
2. the resource based on directed web server according to claim 1 is quickened download system; It is characterized in that; Dynamic resource and the said static resource of regular update that said cell stores is returned from the static resource in the said directed web server and said directed web server, with said web server in static resource synchronous.
3. the resource based on directed web server according to claim 2 is quickened download system; It is characterized in that; When said acceleration server is the static resource request in the type of said resource request; The corresponding static resource of said static resource request is searched in the said unit of searching from said memory cell; The static resource of the said correspondence that said first Transmit-Receive Unit will find out is back to said browser; If there is not the static resource of said correspondence in the said memory cell; Then said first Transmit-Receive Unit is sent to said directed web server with said resource request, and said directed web server is stored the said memory cell that said resource request corresponding response content is back in the said acceleration server, and by said first Transmit-Receive Unit of said acceleration server said corresponding response content is sent said browser.
4. the resource based on directed web server according to claim 2 is quickened download system; It is characterized in that; Said acceleration server also comprises: first computing unit, when the type of said resource request is the dynamic resource request, according to the request header of said resource request; Calculate first sign that is used for confirming said resource request; Find first value with corresponding second sign of said first sign from said memory cell, said second is designated the sign with a described request corresponding response content, said second first value that identify is attached to the described request hair delivers to accelerating module;
Said resource based on directed web server is quickened download system and is also comprised: said accelerating module; Said accelerating module comprises second computing unit, comparing unit and second Transmit-Receive Unit; When said second computing unit responds said resource request at said directed web server; Calculate second value of the second corresponding sign according to the required response contents of said directed web server; Said comparing unit compares said second value and said first value; Said second Transmit-Receive Unit is sent to said directed web server with comparative result, when said directed web server is identical at comparative result, and need be to said browser output and said resource request corresponding response content; Return first response to said acceleration server; Said acceleration server obtains the corresponding response content and is sent to said browser according to said first response from said memory cell, said directed web server for not simultaneously, needs output and said resource request corresponding response content at said comparative result; Said second Transmit-Receive Unit returns second response to said acceleration server, and second value of said second sign is attached to said second head response that respond and sends to said acceleration server;
The said cell stores of said acceleration server is from the response contents of said directed web server; And said first computing unit of the said acceleration server resource request corresponding according to said head response; Confirm said first sign of the resource request of said correspondence; Said first sign is carried out association store with second value of said second sign, and said first Transmit-Receive Unit will be sent to said browser from the response contents of said directed web server.
5. quicken download system according to each described resource in the claim 1 to 4 based on directed web server; It is characterized in that; Said acceleration server is arranged in the terminal at place of said browser or is arranged in the local area network (LAN) at said browser place, and said accelerating module is arranged at said web server end.
6. the resource based on directed web server is quickened method for down loading, it is characterized in that, comprising:
Step 302, browser sends resource request to quickening server;
Step 304, said acceleration server finds out the response contents from directed web server according to the type of said resource request from said acceleration server, and said response contents is sent to said browser.
7. the resource based on directed web server according to claim 6 is quickened method for down loading; It is characterized in that; In the buffer memory of said acceleration server stores synchronized static resource and the said directed web server in the said directed web server dynamic resource and the said static resource of regular update that return, with said web server in static resource synchronous.
8. the resource based on directed web server according to claim 7 is quickened method for down loading; It is characterized in that; When the type of said resource request is the static resource request; From the buffer memory of said acceleration server, search the corresponding static resource of said static resource request; The static resource of the said correspondence that finds out is back to said browser,, then said resource request is sent to said directed web server if there is not the static resource of said correspondence in the buffer memory of said acceleration server; Said directed web server is back to said acceleration server with said resource request corresponding response content and carries out buffer memory, and by said acceleration server said corresponding response content is sent said browser.
9. the resource based on directed web server according to claim 7 is quickened method for down loading, it is characterized in that when the type of said resource request was the dynamic resource request, the concrete grammar that obtains the said response contents that is sent to said browser comprised:
Said acceleration server is according to the request header of said resource request; Calculate first sign that is used for confirming said resource request; From the buffer memory of said acceleration server, find first value of second sign corresponding with said first sign; Said second is designated the sign with a described request corresponding response content, first value of said second sign is attached to the described request hair delivers to accelerating module;
When said directed web server responds said resource request; Said accelerating module calculates second value of the second corresponding sign according to the response contents of said directed web server; Said second value and said first value are compared; When being identical, said directed web server need not return first response to said acceleration server to said browser output and said resource request corresponding response content at comparative result; Said acceleration server obtains the corresponding response content and is sent to said browser according to said first response from the buffer memory of said acceleration server
At said comparative result for not simultaneously; Said accelerating module returns second response to said acceleration server; Obtain said directed web server output with said resource request corresponding response content; Said corresponding response content is sent to said acceleration server; And second value of said second sign is attached to the head response of said second response and sends to said acceleration server, said acceleration server stores is from the response contents of said directed web server, and confirms that according to the corresponding resource request of said head response corresponding said first identifies; Said first sign is carried out association store with second value of said second sign, and will be sent to said browser from the response contents of said directed web server.
10. quicken method for down loading according to each described resource in the claim 6 to 9 based on directed web server; It is characterized in that; Said acceleration server is arranged in the terminal at place of said browser or is arranged in the local area network (LAN) at said browser place, and said accelerating module is arranged at said web server end.
CN201110298280.5A 2011-09-29 2011-09-29 Directional web server-based resource accelerated downloading system and method Active CN102387195B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110298280.5A CN102387195B (en) 2011-09-29 2011-09-29 Directional web server-based resource accelerated downloading system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110298280.5A CN102387195B (en) 2011-09-29 2011-09-29 Directional web server-based resource accelerated downloading system and method

Publications (2)

Publication Number Publication Date
CN102387195A true CN102387195A (en) 2012-03-21
CN102387195B CN102387195B (en) 2015-03-04

Family

ID=45826155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110298280.5A Active CN102387195B (en) 2011-09-29 2011-09-29 Directional web server-based resource accelerated downloading system and method

Country Status (1)

Country Link
CN (1) CN102387195B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347089A (en) * 2013-07-16 2013-10-09 星云融创(北京)信息技术有限公司 Method and device for separating and accelerating dynamic resources and static resources of website
CN103458029A (en) * 2013-09-02 2013-12-18 百度在线网络技术(北京)有限公司 Method, system and device for accelerating downloading through browser
CN103561068A (en) * 2013-10-25 2014-02-05 星云融创(北京)信息技术有限公司 Method and device for improving speed of web page browsing
CN103647837A (en) * 2013-12-18 2014-03-19 北京博雅立方科技有限公司 Multithread report downloading method and device
CN106326213A (en) * 2015-06-19 2017-01-11 北京京东尚科信息技术有限公司 Method and device for translating WEB site
CN107025234A (en) * 2016-02-01 2017-08-08 中国移动通信集团公司 A kind of information-pushing method and caching server
CN108920703A (en) * 2018-07-18 2018-11-30 郑州云海信息技术有限公司 A kind of HTTP cache optimization method and device
CN110531982A (en) * 2018-05-23 2019-12-03 福建天晴数码有限公司 A kind of adaptive packaging method and system
US11831735B2 (en) 2020-06-28 2023-11-28 Baidu Online Network Technology (Beijing) Co., Ltd. Method and device for processing mini program data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193113A (en) * 2006-11-29 2008-06-04 国际商业机器公司 Content response and content request method and content responder and content requester
CN102111685A (en) * 2011-02-24 2011-06-29 深信服网络科技(深圳)有限公司 Acceleration method, equipment and system for network video loading
CN102195979A (en) * 2011-04-28 2011-09-21 深信服网络科技(深圳)有限公司 Method for performing network acceleration based on acceleration KEY, and acceleration KEY

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193113A (en) * 2006-11-29 2008-06-04 国际商业机器公司 Content response and content request method and content responder and content requester
CN102111685A (en) * 2011-02-24 2011-06-29 深信服网络科技(深圳)有限公司 Acceleration method, equipment and system for network video loading
CN102195979A (en) * 2011-04-28 2011-09-21 深信服网络科技(深圳)有限公司 Method for performing network acceleration based on acceleration KEY, and acceleration KEY

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347089A (en) * 2013-07-16 2013-10-09 星云融创(北京)信息技术有限公司 Method and device for separating and accelerating dynamic resources and static resources of website
CN103458029A (en) * 2013-09-02 2013-12-18 百度在线网络技术(北京)有限公司 Method, system and device for accelerating downloading through browser
CN103561068B (en) * 2013-10-25 2016-09-28 星云融创(北京)科技有限公司 A kind of method and device improving web page browsing speed
CN103561068A (en) * 2013-10-25 2014-02-05 星云融创(北京)信息技术有限公司 Method and device for improving speed of web page browsing
CN103647837B (en) * 2013-12-18 2017-04-05 北京博雅立方科技有限公司 Multithread report method for down loading and device
CN103647837A (en) * 2013-12-18 2014-03-19 北京博雅立方科技有限公司 Multithread report downloading method and device
CN106326213A (en) * 2015-06-19 2017-01-11 北京京东尚科信息技术有限公司 Method and device for translating WEB site
CN107025234A (en) * 2016-02-01 2017-08-08 中国移动通信集团公司 A kind of information-pushing method and caching server
CN107025234B (en) * 2016-02-01 2020-11-06 中国移动通信集团公司 Information pushing method and cache server
CN110531982A (en) * 2018-05-23 2019-12-03 福建天晴数码有限公司 A kind of adaptive packaging method and system
CN110531982B (en) * 2018-05-23 2022-12-13 福建天晴数码有限公司 Self-adaptive packing method and system
CN108920703A (en) * 2018-07-18 2018-11-30 郑州云海信息技术有限公司 A kind of HTTP cache optimization method and device
CN108920703B (en) * 2018-07-18 2021-11-26 郑州云海信息技术有限公司 HTTP cache optimization method and device
US11831735B2 (en) 2020-06-28 2023-11-28 Baidu Online Network Technology (Beijing) Co., Ltd. Method and device for processing mini program data

Also Published As

Publication number Publication date
CN102387195B (en) 2015-03-04

Similar Documents

Publication Publication Date Title
CN102387195A (en) Directional web server-based resource accelerated downloading system and method
US10491657B2 (en) Network acceleration method, apparatus and device based on router device
US10425474B2 (en) Selective access of multi-rate data from a server and/or peer
JP5697675B2 (en) System and method for increasing data communication speed and efficiency
JP3595470B2 (en) How to find the requested object
US20140280606A1 (en) Method and Apparatus for Content Management
WO2017080459A1 (en) Method, device and system for caching and providing service contents and storage medium
CN101662503A (en) Information transmission method, proxy server and service system in network
CN105812351A (en) Method and system for sharing session
CN105653473B (en) Cache data access method and device based on binary mark
WO2012142844A1 (en) P2p-based file distribution system and slicing method
CN104239509B (en) Multi version GIS section service systems
CN103001964B (en) Buffer memory accelerated method under a kind of LAN environment
CN105512053A (en) Mirror caching method for mobile transparent computing system server terminal multi-user access
CN102045403A (en) Method, device and system for processing data of distributed network
Ling et al. CDN cloud: A novel scheme for combining CDN and cloud computing
CN104768079A (en) Method, device and system for distributing multimedia resources
CN107251529B (en) Method and apparatus for transmitting and receiving information between servers in content transmission network system
CN106790552A (en) A kind of content providing system based on content distributing network
Petz et al. Madserver: A server architecture for mobile advanced delivery
CN103825916A (en) Resource downloading method and resource downloading system
KR20130087810A (en) Method and apparatus for cooperative caching in mobile communication system
US20180302489A1 (en) Architecture for proactively providing bundled content items to client devices
CN101895550B (en) Cache accelerating method for compatibility of dynamic and static contents of internet website
WO2019052299A1 (en) Sdn switch, and application and management method for sdn switch

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant