CN106101231A - Implementation method and device, server, the client of resource is downloaded by CDN - Google Patents
Implementation method and device, server, the client of resource is downloaded by CDN Download PDFInfo
- Publication number
- CN106101231A CN106101231A CN201610431293.8A CN201610431293A CN106101231A CN 106101231 A CN106101231 A CN 106101231A CN 201610431293 A CN201610431293 A CN 201610431293A CN 106101231 A CN106101231 A CN 106101231A
- Authority
- CN
- China
- Prior art keywords
- static resource
- server
- address
- source server
- address information
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/63—Routing a service request depending on the request content or context
Abstract
The invention provides a kind of implementation method and device, server, client being downloaded resource by CDN, the method includes: intercept the raw page data that source server sends to client;Raw page data includes the address information of source server and the static resource address information at source server;Static resource in the raw page data of interception is adjusted to point in the address information of source server the chained address of the CDN server of correspondence, is sent to client afterwards, so that client downloads corresponding static resource from corresponding CDN server.So client can jump to corresponding CDN server request static resource, if corresponding static resource is not cached to CDN server, it is possible to trigger CDN server and actively ask corresponding static resource to source server according to the address of the source server indicated by chained address and the address in source server of static resource.Thus achieve the CDN server active synchronization to source server.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of implementation method and device, clothes being downloaded resource by CDN
Business device, client.
Background technology
CDN (Content Distribution Network, content distributing network) is a kind of new network content service
System, it builds based on internet, carries with efficiency requirements, prescription and the content order of application based on access to content
Distribution and service for content.CDN can avoid likely affecting on the Internet data transmission bauds and stability as far as possible
Bottleneck and link, make that content transmits faster, more stable.Specifically, CDN can be in real time according to network traffics and each node
Connection, load state and to integrated informations such as the distance of user and response times, by user guiding to nearest node clothes
On business device, make user can obtain desired data (mainly static resource) nearby, solve the situation of network congestion, improve under user
Carry the speed of data.
In order to allow users to have correctly received the data content of source server, need timely for the data in source server
It is synchronized to CDN server.In prior art, when being updated at source server every time, by renewal by the way of artificial
Synchronization of data content is to CDN server, and workload is big, and easily makes mistakes.
Summary of the invention
It is an object of the invention to provide a kind of be capable of data autosynchronous by CDN download resource realization side
Method and device, server, client.
First aspect, the invention provides a kind of by CDN download resource realize device, including:
Blocking module, for intercepting the raw page data that source server sends to client;Described raw page data
Include the address information of described source server and the static resource address information at described source server;
Modified module, in the raw page data that will intercept, static resource is adjusted in the address information of described source server
The whole chained address for pointing to corresponding CDN server, obtains amended web data;Wherein, described chained address is taken
With the address information of described source server and static resource in the address information of described source server;
Sending module, for being sent to client by amended web data, so that described client is from corresponding CDN
Server is downloaded corresponding static resource.
Optionally, during described modified module is used for the raw page data that will intercept, static resource is at described source server
Address information is modified to point to the chained address of the CDN server of correspondence and adjusts the content-length in web data, obtains
Amended web data.
Optionally, described chained address also carries the reference address information of static resource, quoting of described static resource
Address information obtains from described web data.
Second aspect, the invention provides a kind of client, including:
First receiver module, is used for receiving web data;In described web data, the address of static resource is for pointing to CDN clothes
The chained address of business device, described chained address carries address information and the static resource of the source server at static resource place
Address information in source server;
Download request module, download corresponding static resource for the address according to static resource to corresponding CDN request;
Second receiver module, for receiving the static resource that CDN server returns.
Optionally, the static resource that CDN server returns is that described CDN server is carried according in described chained address
The address information of the source server at static resource place, and the address information that static resource is in source server is to source server
Download.
Optionally, described chained address also carries the reference address information of static resource.
The third aspect, the invention provides a kind of server, and described server includes:
Receiver module, the static resource initiated according to the address of static resource in web data for receiving client is downloaded
Request;In described web data, the address of static resource is the chained address pointing to CDN server, and described chained address carries
The address information of the source server at static resource place and the static resource address information in source server;
Judge module, is asked download for judging that the static resource that described first receiver module receives is downloaded
Static resource caches the most;
Sending module, for when described judge module judges that corresponding static resource caches, corresponding by cache
Static resource sends to described client;When described judge module judges that corresponding static resource is uncached, according to accordingly
Address information and the static resource of the source server at the static resource place carried in the chained address that static resource is corresponding exist
Address information in source server asks corresponding static resource to corresponding source server, is receiving corresponding static resource
Rear caching is also sent to described client.
Optionally, described chained address also carries the reference address information of static resource;
Described server also includes:
Addressed module, is used for after described judge module judges that corresponding static resource is uncached, described sending module root
According to the original address of corresponding static resource before the corresponding corresponding static resource of source server Address requests, from corresponding
Chained address is extracted the address of corresponding source server, when extracting the address failure of corresponding source server, according to correspondence
Chained address in reference address Referer determine the address of corresponding source server.
5th aspect, the invention provides a kind of by CDN download resource implementation method, wherein, including:
Intercept the raw page data that source server sends to client;Described raw page data includes described source clothes
The business address information of device and static resource are in the address information of described source server;
Static resource in the raw page data of interception is adjusted to point to correspondence in the address information of described source server
The chained address of CDN server, obtain amended web data;Wherein, described chained address carries described source clothes
The business address information of device and static resource are in the address information of described source server;
Amended web data is sent to client, so that described client is downloaded from corresponding CDN server
Corresponding static resource.
Preferably, in the described raw page data that will intercept, static resource is revised in the address information of described source server
For pointing to the chained address of corresponding CDN server, obtain amended web data and include:
Static resource in the raw page data of interception is modified to point to correspondence in the address information of described source server
The chained address of CDN server and adjust the content-length in web data, obtain amended web data.
Preferably, described chained address also carries the reference address information of static resource, quoting of described static resource
Address information obtains from described web data.
5th aspect, the invention provides a kind of implementation method being downloaded resource by CDN, including:
Receive web data;In described web data, the address of static resource is the chained address pointing to CDN server, institute
State chained address and carry the address information of source server and the static resource ground in source server at static resource place
Location information;
Corresponding static resource is downloaded to corresponding CDN server request in address according to static resource;
Receive the static resource that CDN server returns.
Optionally, the static resource that CDN server returns is that described CDN server is carried according in described chained address
The address information of the source server at static resource place and the static resource address information in source server is to source server
Download.
Optionally, described chained address also carries the reference address information of static resource.
6th aspect, the invention provides a kind of implementation method being downloaded resource by CDN, including:
Receive the static resource download request that client is initiated according to the address of static resource in web data;Described webpage
In data, the address of static resource is the chained address pointing to CDN server, and described chained address carries static resource place
The address information of source server and static resource address information in source server;
Judge that the static resource being asked to download caches the most;
If cached, the corresponding static resource of caching is sent to described client;
If uncached, take according to the source at the static resource place carried in the chained address that corresponding static resource is corresponding
Address information and the static resource address information in source server of business device are the most quiet to the request of corresponding source server
State resource, caches and is sent to described client after receiving the corresponding static resource that corresponding source server returns.
Optionally, described chained address also carries the reference address information of static resource;
Being asked, the static resource downloaded is uncached, according to carry in the chained address that corresponding static resource is corresponding
The address information of the source server at static resource place and the static resource address information in source server is to corresponding source
Before the corresponding static resource of server request, described method also includes: extract corresponding source clothes from corresponding chained address
The address information of business device, when extracting the address information failure of corresponding source server, according to drawing in corresponding chained address
The address of corresponding source server is determined by address information.
In the present invention, intercept the raw page data that source server sends to client;Described raw page data includes
There is the address information of described source server and the static resource address information at described source server;The original web page number that will intercept
It is adjusted to point to the chained address of the CDN server of correspondence according to middle static resource in the address information of described source server, obtains
Amended web data;Wherein, described chained address carries address information and the static resource of described source server
Address information at described source server;Amended web data is sent to client, so that described client is from correspondence
CDN server in download corresponding static resource.So client can jump to corresponding CDN server request static state money
Source, if corresponding static resource is not cached to CDN server, it is possible to trigger CDN server according to indicated by chained address
The address of source server and the address in source server of static resource actively corresponding static to source server request
Resource.Thus achieve the CDN server active synchronization to source server.
Accompanying drawing explanation
The schematic flow sheet of a kind of implementation method being downloaded resource by CDN that Fig. 1 provides for one embodiment of the invention;
The schematic flow sheet of a kind of implementation method being downloaded resource by CDN that Fig. 2 provides for one embodiment of the invention;
The schematic flow sheet of a kind of implementation method being downloaded resource by CDN that Fig. 3 provides for one embodiment of the invention;
The schematic diagram of the application scenarios of a kind of implementation method being downloaded resource by CDN that Fig. 4 provides for the present invention;
The schematic flow sheet of a kind of implementation method being downloaded resource by CDN that Fig. 5 provides for one embodiment of the invention;
Fig. 6 is that in the most possible response process, source server sends the part web data to client;
Fig. 7 is to the web data obtained after the part web data amendment shown in Fig. 6;
A kind of structural representation realizing device being downloaded resource by CDN that Fig. 8 provides for one embodiment of the invention;
The Structure and Process schematic diagram of a kind of client that Fig. 9 provides for one embodiment of the invention;
The structural representation of a kind of server that Figure 10 provides for one embodiment of the invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings and embodiment, the detailed description of the invention of the present invention is described in further detail.Hereinafter implement
Example is used for illustrating the present invention, but is not limited to the scope of the present invention.
As it is shown in figure 1, the flow process of a kind of implementation method being downloaded resource by CDN provided for one embodiment of the invention
Schematic diagram, the method can be performed by the functional module being positioned at source server side or the device comprising this functional module, the party
Method may include that
Step 101, intercepts the raw page data that source server sends to client;This raw page data includes this
The address information of source server and static resource are in the address information of this source server.
Step 102, is adjusted to finger by static resource in the raw page data of interception in the address information of this source server
To the chained address of corresponding CDN server, obtain amended web data;Wherein, described chained address is carried
State the address information of source server and the static resource address information at described source server;
Step 103, is sent to client by amended web data, so that client is from corresponding CDN server
Download corresponding static resource.
In the embodiment of the present invention, client can jump to corresponding CDN server after receiving corresponding web data
Request static resource, if corresponding static resource is not cached to CDN server, it is possible to trigger CDN server according to link
Phase is actively asked to source server in the address of the source server indicated by address and the static resource address in source server
The static resource answered.Thus achieve the CDN server active synchronization to source server.
Each above-mentioned step all can be accomplished in several ways, such as step 101, and can be according to web data
Form source server be sent to the data of client be identified, intercept after recognizing web data;Or can also
In source server, registration needs the data intercepted, and makes source server add in web data when sending web data corresponding
Interception mark, and intercept with after intercepting the data of mark monitoring, or realized by other existing modes
Interception to raw page data, will not enumerate at this.
It can be appreciated that in the embodiment of the present invention, the raw page data of indication is actual refers to that source server is sent to client
Web data, " original " two word here is to make a distinction with amended web data.Here original web page number
The web data that the webpage asked to source server according to the domain name that can be client input according to user is corresponding, it is also possible to for source
Server is actively to the web data of client push.
In the specific implementation, the address information of source server may be the domain-name information of source server, or IP information, quiet
State resource address information in source server may be this static resource routing information in source server or label letter
Breath.Certainly address information and/or the static resource address information in source server of source server can also show as other
Form, its concrete form does not interferes with the enforcement of the present invention, and corresponding technical scheme also should fall into protection scope of the present invention.
In the embodiment of the present invention, the static resource of indication can be specially the picture of js, css form.
For step 102, in the specific implementation, directly can add before the address information of source server at static resource
Add the domain name of the CDN server of correspondence, add static resource to static resource in source in the address information of source server afterwards
Address information and the static resource ground in source server carrying source server is formed after the address information of server
Location information and the chained address of sensing CDN server.So after amended web data is sent to client, client
When holding the Address requests according to static resource to download static resource, its download request can jump in the CDN server of correspondence.No
Indigestible, in the embodiment of the present invention, the corresponding CDN server of indication is for purpose client, typically comes
Say, refer to that client falls into the CDN server of its coverage, so can realize downloading nearby.
When specifically applying, in above-mentioned steps 102 except comprise will intercept raw page data in static resource in source
Outside the chained address of the CDN server that the address information of server is modified to point to correspondence, it is also possible to include adjusting webpage number
According to heading in the process of content-length (Content length).So, client is receiving corresponding webpage number
According to rear, whether mistake can be there is according to the web data that the checking of this content-length sends.
When specifically applying, raw page data may also contain reference address (Referer) information of static resource,
The most in a step 102, it is also possible to the reference address information of static resource is carried the link in web data after the modification
In address.Advantage of this is that, when client asks this chained address, corresponding CDN server can obtain according to being somebody's turn to do
Chained address determines the reference address information of corresponding static resource, if so corresponding CDN server can not correctly obtain
The address information of source server in chained address, can determine the address information of source server by this reference address information.?
When specifically applying, this reference address information may be located at the end of whole chained address.
When specifically applying, in step 102, in the raw page data that will intercept, static resource is in the address of source server
The chained address of the CDN server that information is adjusted to point to correspondence may refer to exist static resources all in raw page data
The address information of source server is modified to point to the chained address of the CDN server of correspondence, it is also possible to simply mean to part static
Resource address information in source server is modified to point to the chained address of the CDN server of correspondence.Address is not repaiied
The static resource changed, client, after receiving this web data, directly can download this part static state money to source server request
Source.
On the other hand, one embodiment of the present of invention additionally provides the another kind of implementation method being downloaded resource by CDN, should
Method can be by client executing, as in figure 2 it is shown, be the schematic flow sheet of the method, including:
Step 201, receives web data;In described web data, the address of static resource is the chain pointing to CDN server
Ground connection location, described chained address carries the address information of the source server at static resource place and static resource and services in source
Address information in device;
Step 202, downloads corresponding static resource according to the address of static resource to corresponding CDN server request;
Step 203, receives the static resource that CDN server returns.
In the method that the embodiment of the present invention provides, when client according to the address of static resource to corresponding CDN server
When corresponding static resource is downloaded in request, when i.e. asking the chained address accessing this sensing CDN server, its access request can quilt
Jumping in CDN server, CDN server can be according to the ground of the source server at the static resource place carried in chained address
Location information and the static resource address information in source server is downloaded corresponding static resource from server and is cached to
CDN server, so on the one hand, can realize downloading nearby by CDN server, on the other hand can make CDN server root
Address information and static resource address information in source server according to source server are actively uncached to source server request
Static resource, it is possible to make CDN server be automatically obtained synchronization with source server.
Here the web data received can be the web data that the step 102 in Fig. 1 obtains.Accordingly, this
In web data in chained address can also carry the reference address information of static resource.In step 201-step 203
Each step the process that realizes can process corresponding with prior art consistent, do not repeat them here.
Another further aspect, one embodiment of the present of invention additionally provides another implementation method downloaded by CDN, the method
Can be performed by CDN server, as it is shown on figure 3, be the schematic flow sheet of the method, including:
Step 301, receives the static resource download request that client is initiated according to the address of static resource in web data;
This web data can be in the step 202 in Fig. 2 client according to the address of static resource under corresponding CDN server request
The static resource oestrused when carrying corresponding static resource downloads request, accordingly, the now address of static resource in web data
For point to CDN server chained address, and chained address carry static resource place source server address information with
And the address information that static resource is in source server;
Step 302, it is judged that asked the static resource downloaded the most to cache;If it is not, turn to step 303, if it is not, turn to
Step 305;
Step 303, services according to the source at the static resource place carried in the chained address that corresponding static resource is corresponding
The address information of device and the static resource address information in source server is corresponding static to the request of corresponding source server
Resource, rear steering step 304;
Step 304, receive corresponding source server return corresponding static resource after cache, rear steering step 305.
Step 305, sends the corresponding static resource of caching to client;
In the embodiment of the present invention, receiving the static resource that client is initiated according to the address of static resource in web data
After downloading request, it is judged that whether the static resource asked caches, the most corresponding resource of caching is sent to client
End, if it is not, then the source server to corresponding static resource place asks corresponding static resource, the most quiet receiving
Cache after state resource.So, for there is the static resource updated, CDN server can be according to first for this static resource
Download request to source server ask corresponding static resource, be automatically obtained synchronization with source server.For not occurring more
New static resource, CDN server is owing to downloading the most according to the flow process of above-mentioned steps 303 and step 304 and caching
Corresponding static resource, it is possible to directly return corresponding static resource to client.Just thus achieve static resource
Nearly download.
Although it is pointed out that shown in Fig. 3, after the step 304, turn to the step of step 305, but
In actual application, after requesting corresponding static resource first, it is also possible to first static resource is sent to client, afterwards
Caching, the precedence relationship to client transmission static resource with caching static resource has no effect on the enforcement of the present invention again.
When specifically applying, for the static resource received from source server, when caching, can be by this static state
Resource address information in source server is as this static resource label information in local cache, or according to this static state
Static resource is cached in CDN server corresponding address by resource address information in source server.So CDN server
When receiving the download request for this static resource next time, it is possible to find out this static resource easily and send to client
End.Certainly, in actual applications, it is also possible to store static resource in other ways, such as this static resource is taken in source
Address in business device carries out conversion map according to default rule and obtains, in local storage address, being cached to this locality afterwards, or
Person, after static resource is stored to this locality, records the address that static resource is stored in source server and the ground being stored in this locality
The corresponding relation of location, CDN server is follow-up also can find this static state when receiving the download for this static resource and asking
Resource concurrence delivers to client, and the mode that the embodiment of the present invention provides should not be construed as the restriction to protection scope of the present invention.
When specifically applying, in step 303, the source server ground obtaining corresponding static resource place should also be included
Location information and obtain the process of static resource address information in source server, afterwards according to the address information of source server with
And the address information that static resource is in source server sends request to source server and downloads corresponding static resource, this request bag
Containing static resource address information in source server, to ask corresponding static resource to source server.Further, step
In rapid 303, when the domain name that address information is source server of source server, static resource address information in source server is
During path in source server, after the path in servicing in source can be placed on the domain name of source server, generate a finger
To the link of source server, and initiate, for this link, the request of downloading, to download corresponding static resource to source server request.
Below in conjunction with concrete application scenarios, the complete embodiment of the present invention is described in detail.As shown in Figure 4,
In this application scenarios, including source server, intercept server, client and CDN server, wherein, intercept server is disposed
Near the side of source server in route between source server and client, by network respectively with source server and client
End is connected, and CDN server is connected with source server and client respectively by network.Wherein, intercept server here in order to
Performing the method described in Fig. 1, client is in order to perform the method in Fig. 2, and CDN server is in order to perform the method in Fig. 3, false
If the domain name of its binding is www.cdn1XXX1.com;Assume that the domain name that source server is bound is www.1XXX1.com simultaneously.Separately
Outer hypothesis intercept server is the most registered in advance needs to intercept the event of response, and source server needs to intercept in transmission
During the web data corresponding to event of response, add in the heading of this web data and intercept label accordingly.
The idiographic flow of the method can be as it is shown in figure 5, include:
Step 501, client receives domain name www.1XXX1.com of user's input, sends access request to source server.
Rear steering step 502.
Step 502, source server receives the access request that client sends, and sends web data to client.Turn afterwards
To step 503.
Assume Partial Fragment that source server is sent in the web data of client in source file part as shown in Figure 6,
Wherein comprise the static resource of the picture of a css form, this static resource path link href=in source server "/
Bootstrap/css/bootstrap.min.css ", the reference address of this static resource is rel=" stylesheet ", quotes
After address is positioned at this static file path in source server.It addition, carry in the label information of this web data
Domain name www.1XXX1.com of source server.And assume the label information in this web data to carry for representing this net
Page data needs the interception mark intercepted.
Step 503, intercept server intercepts this web data, by the path link corresponding to static resource therein
Href="/bootstrap/css/bootstrap.min.css " replaces with one and points to described CDN server, and comprises source
The domain name of server and a chained address in this static resource path in source server, and revise the interior of this web data
Hold length.Rear steering step 505.
Owing to carrying interception mark in this web data, intercept server can determine this webpage number according to intercepting mark
It is intercepted according to needs.
The concrete form of this chained address can bewww.cdn1XXX1.com/bootstrap/css/
bootstrap.min.css?Web_real_domain=www.1XXX1.com" rel=" stylesheet ", wherein CDN clothes
The domain name of business device comprises www.cdn1XXX1.com, this static resource path/bootstrap/css/ in source server
Bootstrap.min.css, domain name (web_real_domain) www.1XXX1.com of source server, drawing of this static information
With address rel=" stylesheet ".Web data content modification in Fig. 6 can be such as Fig. 7 institute after the amendment of step 504
Show.
Step 504, amended web data is sent to client by intercept server.
Step 505, client receives the amended web data that intercept server sends.Rear steering step 506.
Step 506, the address www.cdn1XXX1.com/ of client static resource in this web data
bootstrap/css/bootstrap.min.css?Web_real_domain=www.1XXX1.com " rel="
Stylesheet " initiates the request of downloading.Rear steering step 507.In actual applications, client is likely to need to access webpage
Other resources in data, such as dynamic resource etc., these are not the contents of institute of the present invention major concern, are not carrying out at this
Detailed description.Owing to this download request is directed to the link address of CDN server, then this download request can be diverted this CDN
Server.
Step 507, whether CDN server receives the download request that client sends, it is judged that cache in local server
Corresponding static resource, if it is not, then turn to step 508, the most then turns to step 512.
Concrete, CDN server extracts this static resource at source server from the chained address asking this static resource
In path/bootstrap/css/bootstrap.min.css, it is judged that self whether cached this path correspondence static state money
Source.
Step 508, CDN server is the chained address of extraction source server from the chained address asking this static resource
Www.1XXX1.com, and path/bootstrap/css/ that this static resource is in source server
bootstrap.min.css.Rear steering step 509.
If if could not successful " from the chained address asking this static resource extraction source server in step 508
Chained address ", then can extract reference address rel=" stylesheet " of this static resource, afterwards according to this reference address
Obtain the chained address of source server.
Step 509, CDN server generates one for the link asking this static resource to source server
Www.1XXX1.com/bootstrap/css/bootstrap.min.css, concurrently plays the download for this link and asks.Afterwards
Turn to step 510.
Step 510, source server receives the download request that CDN sends, extracts the static resource asked at source server
In path bootstrap/css/bootstrap.min.css, by under this path storage static resource send to CDN service
Device.Rear steering step 511.
Step 511, CDN server receives the static resource that source server sends, is stored in by this static resource
Under the path of bootstrap/css/bootstrap.min.css.Rear steering step 512.
Step 512, the static resource of caching is sent to client by CDN server.
So far, complete the process that static resource is downloaded by CDN server, if this static resource is to occur to update
Static resource, then the judged result in step 507 is no, and CDN server asks this static resource to source server voluntarily is logical
Cross this mode, it is achieved that the automatic synchronization of the static resource of renewal.In subsequent process, if still other client is sent out
Having played the download for this static resource to ask, according to above-mentioned flow process, the judged result in step 507 can be yes, directly jumps
Go to step 512, the static resource of caching is sent to client.Thus achieve static resource by CDN server
Download nearby.
A kind of structural representation realizing device being downloaded resource by CDN that Fig. 8 provides for one embodiment of the invention,
What this embodiment provided downloads realizing device and can being applied to the method shown in Fig. 5 as intercept server of resource by CDN
In, this device may include that blocking module 801, modified module 802 and sending module 803, wherein,
Blocking module 801, for intercepting the raw page data that source server sends to client;Described original web page number
According to including the address information of described source server and the static resource address information at described source server;
Modified module 802, in the raw page data that will intercept, static resource is believed in the address of described source server
Breath is adjusted to point to the chained address of the CDN server of correspondence, obtains amended web data;Wherein, described chained address
In carry the address information of described source server and the static resource address information at described source server;
Sending module 803, for being sent to client by amended web data, so that described client is from correspondence
CDN server is downloaded corresponding static resource.
What the present embodiment provided realizes device by what CDN downloaded resource, intercept source server to client send former
Beginning web data;Described raw page data includes the address information of described source server and static resource services in described source
The address information of device;Static resource in the raw page data of interception is adjusted to point in the address information of described source server
The chained address of corresponding CDN server, obtains amended web data;Wherein, described in described chained address carries
The address information of source server and static resource are in the address information of described source server;Amended web data is sent
To client, so that described client downloads corresponding static resource from corresponding CDN server.So client can redirect
Static resource is asked, if corresponding static resource is not cached to CDN server, it is possible to trigger to corresponding CDN server
The CDN server address according to the source server indicated by chained address and the address master in source server of static resource
Trend source server asks corresponding static resource.Thus achieve the CDN server active synchronization to source server.
It is pointed out that the embodiment of the present invention provided downloads realizing device itself and can being of resource by CDN
One functional module or be that there is the device of corresponding function.The most in actual applications, this device itself can be source service
Device or a functional module of CDN server.
When specifically applying, modified module 802 may be used for will intercept raw page data in static resource in described source
The address information of server is modified to point to the chained address of the CDN server of correspondence and to adjust the content in web data long
Degree, obtains amended web data.
When specifically applying, above-mentioned chained address also carries the reference address information of static resource, described static resource
Reference address information obtain from described web data.
One embodiment of the present of invention additionally provides a kind of client, as it is shown in figure 9, this client includes the first reception mould
Block 901, download request module 902 and the second receiver module 903, wherein,
First receiver module 901, is used for receiving web data;In described web data, the address of static resource is for pointing to
The chained address of CDN server, described chained address carries the address information of the source server at static resource place and quiet
State resource address information in source server;
Download request module 902, download corresponding static money for the address according to static resource to corresponding CDN request
Source;
Second receiver module 903, for receiving the static resource that CDN server returns.
The client that the embodiment of the present invention provides downloads phase according to the address of static resource to corresponding CDN server request
During the static resource answered, when i.e. asking the chained address accessing this sensing CDN server, its access request can be jumped to CDN
On server, CDN server can according to the address information of the source server at the static resource place carried in chained address with
And the address information that static resource is in source server downloads corresponding static resource from server and is cached to CDN service
Device, so on the one hand, can realize downloading nearby by CDN server, and CDN server on the other hand can be made to service according to source
The address information of device and the static resource address information in source server is actively to the static money that source server request is uncached
Source, it is possible to make CDN server be automatically obtained synchronization with source server.
In some instances, the static resource that CDN server returns is that described CDN server is according in described chained address
The address information of the source server at the static resource place carried and static resource address information in source server are to source
Server is downloaded.
When specifically applying, chained address here also carries the reference address information of static resource.
One embodiment of the present of invention additionally provides a kind of CDN server, and as shown in Figure 10, server includes receiver module
1001, judge module 1002 and sending module 1003, wherein,
Receiver module 1001, for receiving the static resource that client is initiated according to the address of static resource in web data
Download request;In described web data, the address of static resource is the chained address pointing to CDN server, and described chained address is taken
The address information of source server and static resource address information in source server with static resource place;
Judge module 1002, for judging that the static resource request of downloading that the first receiver module 1001 receives is asked down
The static resource carried caches the most;
Sending module 1003, for when judge module 1002 judges that corresponding static resource caches, by the phase of caching
The static resource answered sends to described client;When judge module 1002 judges that corresponding static resource is uncached, according to phase
The address information of the source server at the static resource place carried in the chained address that the static resource answered is corresponding and static money
Source address information in source server asks corresponding static resource to corresponding source server, is receiving corresponding static state
Cache after resource and be sent to described client.
The CDN server that the embodiment of the present invention provides, is receiving client according to the address of static resource in web data
After the static resource initiated downloads request, it is judged that whether the static resource asked caches, the most then by the corresponding money of caching
Source sends to client, if it is not, then the source server to corresponding static resource place asks corresponding static resource, is connecing
Cache after receiving corresponding static resource.So, for there is the static resource updated, CDN server can be according to pin first
Download to this static resource asks to ask corresponding static resource to source server, is automatically obtained synchronization with source server.
Optionally, above-mentioned chained address also carries the reference address information of static resource;
This CDN server also includes:
Addressed module 1004, is used for after judge module 1002 judges that corresponding static resource is uncached, sending module
1003 according to the original address of corresponding static resource before the corresponding corresponding static resource of source server Address requests, from
Corresponding chained address is extracted the address of corresponding source server, when extracting the address failure of corresponding source server, root
The address of corresponding source server is determined according to reference address Referer in corresponding chained address.
Embodiment of the invention discloses that:
A1, a kind of by CDN download resource realize device, it is characterised in that including:
Blocking module, for intercepting the raw page data that source server sends to client;Described raw page data
Include the address information of described source server and the static resource address information at described source server;
Modified module, in the raw page data that will intercept, static resource is adjusted in the address information of described source server
The whole chained address for pointing to corresponding CDN server, obtains amended web data;Wherein, described chained address is taken
With the address information of described source server and static resource in the address information of described source server;
Sending module, for being sent to client by amended web data, so that described client is from corresponding CDN
Server is downloaded corresponding static resource.
A2, device as described in claim A1, it is characterised in that described modified module, specifically for former by intercept
In beginning web data, static resource is modified to point to the chain ground connection of the CDN server of correspondence in the address information of described source server
Content-length in location and adjustment web data, obtains amended web data.
A3, device as described in claim A1, it is characterised in that described chained address also carries drawing of static resource
By address information, the reference address information of described static resource obtains from described web data.
B4, a kind of client, it is characterised in that including:
First receiver module, is used for receiving web data;In described web data, the address of static resource is for pointing to CDN clothes
The chained address of business device, described chained address carries address information and the static resource of the source server at static resource place
Address information in source server;
Download request module, download corresponding static resource for the address according to static resource to corresponding CDN request;
Second receiver module, for receiving the static resource that CDN server returns.
B5, client as described in claim B4, it is characterised in that the static resource that CDN server returns is described
CDN server is according to the address information of the source server at the static resource place carried in described chained address, and static money
Source address information in source server is downloaded to source server.
B6, client as described in claim B4, it is characterised in that described chained address also carries static resource
Reference address information.
C7, a kind of server, it is characterised in that described server includes:
Receiver module, the static resource initiated according to the address of static resource in web data for receiving client is downloaded
Request;In described web data, the address of static resource is the chained address pointing to CDN server, and described chained address carries
The address information of the source server at static resource place and the static resource address information in source server;
Judge module, is asked download for judging that the static resource that described first receiver module receives is downloaded
Static resource caches the most;
Sending module, for when described judge module judges that corresponding static resource caches, corresponding by cache
Static resource sends to described client;When described judge module judges that corresponding static resource is uncached, according to accordingly
Address information and the static resource of the source server at the static resource place carried in the chained address that static resource is corresponding exist
Address information in source server asks corresponding static resource to corresponding source server, is receiving corresponding static resource
Rear caching is also sent to described client.
C8, server as described in claim C7, it is characterised in that described chained address also carries static resource
Reference address information;
Described server also includes:
Addressed module, is used for after described judge module judges that corresponding static resource is uncached, described sending module root
According to the original address of corresponding static resource before the corresponding corresponding static resource of source server Address requests, from corresponding
Chained address is extracted the address of corresponding source server, when extracting the address failure of corresponding source server, according to correspondence
Chained address in reference address Referer determine the address of corresponding source server.
D9, a kind of implementation method being downloaded resource by CDN, it is characterised in that including:
Intercept the raw page data that source server sends to client;Described raw page data includes described source clothes
The business address information of device and static resource are in the address information of described source server;
Static resource in the raw page data of interception is adjusted to point to correspondence in the address information of described source server
The chained address of CDN server, obtain amended web data;Wherein, described chained address carries described source clothes
The business address information of device and static resource are in the address information of described source server;
Amended web data is sent to client, so that described client is downloaded from corresponding CDN server
Corresponding static resource.
D10, method as described in claim D9, it is characterised in that static in the described raw page data that will intercept
Resource is modified to point to the chained address of the CDN server of correspondence in the address information of described source server, obtains amended
Web data includes:
Static resource in the raw page data of interception is modified to point to correspondence in the address information of described source server
The chained address of CDN server and adjust the content-length in web data, obtain amended web data.
D11, method as described in claim D9, it is characterised in that described chained address also carries static resource
Reference address information, the reference address information of described static resource obtains from described web data.
E12, a kind of implementation method being downloaded resource by CDN, it is characterised in that including:
Receive web data;In described web data, the address of static resource is the chained address pointing to CDN server, institute
State chained address and carry the address information of source server and the static resource ground in source server at static resource place
Location information;
Corresponding static resource is downloaded to corresponding CDN server request in address according to static resource;
Receive the static resource that CDN server returns.
E13, required the method as described in E12, it is characterised in that
The static resource that CDN server returns is that described CDN server is according to the static money carried in described chained address
The address information of the source server at place, source and the static resource address information in source server is downloaded to source server.
E14, as described in claim E12 method, it is characterised in that described chained address also carries drawing of static resource
Use address information.
F15, a kind of implementation method being downloaded resource by CDN, it is characterised in that including:
Receive the static resource download request that client is initiated according to the address of static resource in web data;Described webpage
In data, the address of static resource is the chained address pointing to CDN server, and described chained address carries static resource place
The address information of source server and static resource address information in source server;
Judge that the static resource being asked to download caches the most;
If cached, the corresponding static resource of caching is sent to described client;
If uncached, take according to the source at the static resource place carried in the chained address that corresponding static resource is corresponding
Address information and the static resource address information in source server of business device are the most quiet to the request of corresponding source server
State resource, caches and is sent to described client after receiving the corresponding static resource that corresponding source server returns.
F16, method as described in claim F15, it is characterised in that described chained address also carries static resource
Reference address information;
Being asked, the static resource downloaded is uncached, according to carry in the chained address that corresponding static resource is corresponding
The address information of the source server at static resource place and the static resource address information in source server is to corresponding source
Before the corresponding static resource of server request, described method also includes: extract corresponding source clothes from corresponding chained address
The address information of business device, when extracting the address information failure of corresponding source server, according to drawing in corresponding chained address
The address of corresponding source server is determined by address information.
In the description of the present invention, illustrate a large amount of detail.It is to be appreciated, however, that embodiments of the invention are permissible
Put into practice in the case of there is no these details.In some instances, it is not shown specifically known method, structure and skill
Art, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that disclose to simplify the present invention and help understand in each inventive aspect one or many
Individual, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single sometimes
In embodiment, figure or descriptions thereof.But, the method for the disclosure should not explained and i.e. be wanted in reflecting an intention that
Seek the application claims feature more more than the feature being expressly recited in each claim of protection.More precisely, such as
As claims below is reflected, inventive aspect is all features less than single embodiment disclosed above.
Therefore, it then follows claims of detailed description of the invention are thus expressly incorporated in this detailed description of the invention, the most each right is wanted
Ask itself all as the independent embodiment of the present invention.
It will be understood by those skilled in the art that and the module in the equipment in embodiment adaptively can be changed
And they are provided in one or more equipment that this embodiment is different.Can the module in embodiment or unit or
Assembly is combined into a module or unit or assembly, and can put them into multiple submodule or subelement or subgroup in addition
Part.Except at least some in such feature and/or process or unit is mutually exclusive part, any combination can be used
To all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and the disclosedest any side
Method or all processes of equipment or unit are combined.Unless expressly stated otherwise, this specification (includes that adjoint right is wanted
Ask, make a summary and accompanying drawing) disclosed in each feature can by provide identical, equivalent or similar purpose alternative features replace.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include other embodiments
Some feature included by rather than further feature, but the combination of the feature of different embodiment means to be in the present invention's
Within the scope of and form different embodiments.Such as, in the following claims, embodiment required for protection appoint
One of meaning can mode use in any combination.
The all parts embodiment of the present invention can realize with hardware, or to run on one or more processor
Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that and can use in practice
Microprocessor or digital signal processor (DSP) realize in the equipment of a kind of browser terminal according to embodiments of the present invention
The some or all functions of some or all parts.The present invention is also implemented as performing side as described herein
Part or all equipment of method or device program (such as, computer program and computer program).Such
The program realizing the present invention can store on a computer-readable medium, or can have the shape of one or more signal
Formula.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or with any other shape
Formula provides.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of not
Arrange element in the claims or step.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such
Element.The present invention and can come real by means of including the hardware of some different elements by means of properly programmed computer
Existing.If in the unit claim listing equipment for drying, several in these devices can be by same hardware branch
Specifically embody.Word first, second and third use do not indicate that any order.These word explanations can be run after fame
Claim.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;To the greatest extent
The present invention has been described in detail by pipe with reference to foregoing embodiments, it will be understood by those within the art that: it depends on
So the technical scheme described in foregoing embodiments can be modified, or the most some or all of technical characteristic is entered
Row equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology
The scope of scheme, it all should be contained in the middle of the claim of the present invention and the scope of description.
Claims (10)
1. one kind by CDN download resource realize device, it is characterised in that including:
Blocking module, for intercepting the raw page data that source server sends to client;Described raw page data includes
There is the address information of described source server and the static resource address information at described source server;
Modified module, for being adjusted to static resource in the raw page data of interception in the address information of described source server
Point to the chained address of corresponding CDN server, obtain amended web data;Wherein, described chained address carries
The address information of described source server and static resource are in the address information of described source server;
Sending module, for being sent to client by amended web data, so that described client is from corresponding CDN service
Device is downloaded corresponding static resource.
2. device as claimed in claim 1, it is characterised in that described modified module, specifically for the original web page that will intercept
In data static resource be modified to point in the address information of described source server the CDN server of correspondence chained address and
Adjust the content-length in web data, obtain amended web data.
3. device as claimed in claim 1, it is characterised in that described chained address also carries the reference address of static resource
Information, the reference address information of described static resource obtains from described web data.
4. a client, it is characterised in that including:
First receiver module, is used for receiving web data;In described web data, the address of static resource is for pointing to CDN server
Chained address, described chained address carries the address information of the source server at static resource place and static resource in source
Address information in server;
Download request module, download corresponding static resource for the address according to static resource to corresponding CDN request;
Second receiver module, for receiving the static resource that CDN server returns.
5. client as claimed in claim 4, it is characterised in that the static resource that CDN server returns is described CDN service
Device is according to the address information of the source server at the static resource place carried in described chained address, and static resource takes in source
Address information in business device is downloaded to source server.
6. client as claimed in claim 4, it is characterised in that what described chained address also carried static resource quotes ground
Location information.
7. a server, it is characterised in that described server includes:
Receiver module, please according to the static resource download that the address of static resource in web data is initiated for receiving client
Ask;In described web data, the address of static resource is the chained address pointing to CDN server, and described chained address carries quiet
The address information of the source server at state resource place and static resource address information in source server;
Judge module, for judging that the static resource that described first receiver module receives downloads the static state being asked to download
Resource caches the most;
Sending module, for when described judge module judges that corresponding static resource caches, by the corresponding static state of caching
Resource sends to described client;When described judge module judges that corresponding static resource is uncached, according to corresponding static
Address information and the static resource of the source server at the static resource place carried in the chained address that resource is corresponding take in source
Address information in business device asks corresponding static resource to corresponding source server, slow after receiving corresponding static resource
Deposit and be sent to described client.
8. the implementation method being downloaded resource by CDN, it is characterised in that including:
Intercept the raw page data that source server sends to client;Described raw page data includes described source server
Address information and static resource in the address information of described source server;
Static resource in the raw page data of interception is adjusted to point to corresponding CDN in the address information of described source server
The chained address of server, obtains amended web data;Wherein, described chained address carries described source server
Address information and static resource are in the address information of described source server;
Amended web data is sent to client, so that described client is downloaded corresponding from corresponding CDN server
Static resource.
9. the implementation method being downloaded resource by CDN, it is characterised in that including:
Receive web data;In described web data, the address of static resource is the chained address pointing to CDN server, described chain
Ground connection location carries address information and the static resource address letter in source server of the source server at static resource place
Breath;
Corresponding static resource is downloaded to corresponding CDN server request in address according to static resource;
Receive the static resource that CDN server returns.
10. the implementation method being downloaded resource by CDN, it is characterised in that including:
Receive the static resource download request that client is initiated according to the address of static resource in web data;Described web data
The address of middle static resource is the chained address pointing to CDN server, and described chained address carries the source at static resource place
The address information of server and the static resource address information in source server;
Judge that the static resource being asked to download caches the most;
If cached, the corresponding static resource of caching is sent to described client;
If it is uncached, according to the source server at the static resource place carried in the chained address that corresponding static resource is corresponding
Address information and static resource address information in source server to the corresponding static money of corresponding source server request
Source, caches and is sent to described client after receiving the corresponding static resource that corresponding source server returns.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610431293.8A CN106101231B (en) | 2014-12-22 | 2014-12-22 | Method and device for realizing resource downloading through CDN (content delivery network), server and client |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610431293.8A CN106101231B (en) | 2014-12-22 | 2014-12-22 | Method and device for realizing resource downloading through CDN (content delivery network), server and client |
CN201410806357.9A CN104468817B (en) | 2014-12-22 | 2014-12-22 | Implementation method and device, server, the client of resource is downloaded by CDN |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410806357.9A Division CN104468817B (en) | 2014-12-22 | 2014-12-22 | Implementation method and device, server, the client of resource is downloaded by CDN |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106101231A true CN106101231A (en) | 2016-11-09 |
CN106101231B CN106101231B (en) | 2020-02-21 |
Family
ID=52914168
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410806357.9A Active CN104468817B (en) | 2014-12-22 | 2014-12-22 | Implementation method and device, server, the client of resource is downloaded by CDN |
CN201610431293.8A Active CN106101231B (en) | 2014-12-22 | 2014-12-22 | Method and device for realizing resource downloading through CDN (content delivery network), server and client |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410806357.9A Active CN104468817B (en) | 2014-12-22 | 2014-12-22 | Implementation method and device, server, the client of resource is downloaded by CDN |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN104468817B (en) |
WO (1) | WO2016101763A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106790687A (en) * | 2017-02-17 | 2017-05-31 | 和创(北京)科技股份有限公司 | Webpage display method, web data processing method and server |
CN109254804A (en) * | 2018-09-10 | 2019-01-22 | 郑州云海信息技术有限公司 | A kind of static resource loading method, device, equipment and readable storage medium storing program for executing |
CN112015485A (en) * | 2020-08-14 | 2020-12-01 | 北京达佳互联信息技术有限公司 | Page display method and device, electronic equipment and storage medium |
Families Citing this family (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104468817B (en) * | 2014-12-22 | 2016-08-24 | 北京奇虎科技有限公司 | Implementation method and device, server, the client of resource is downloaded by CDN |
US11070608B2 (en) * | 2015-06-17 | 2021-07-20 | Fastly, Inc. | Expedited sub-resource loading |
CN106612311A (en) * | 2015-10-23 | 2017-05-03 | 中兴通讯股份有限公司 | Data push method and device |
CN105897852A (en) * | 2015-12-29 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Advertisement downloading method, client and server |
CN106130951B (en) * | 2016-05-31 | 2020-05-01 | 努比亚技术有限公司 | Application store service management method and device |
CN107135266B (en) * | 2017-05-19 | 2020-11-13 | 北京网高科技股份有限公司 | HTTP proxy framework security data transmission method |
CN109714406B (en) * | 2018-12-18 | 2021-04-02 | 网宿科技股份有限公司 | Method and equipment for processing resource description file and acquiring page resource |
CN109948025B (en) * | 2019-03-20 | 2023-10-20 | 上海古鳌电子科技股份有限公司 | Data reference recording method |
CN110336848B (en) * | 2019-04-23 | 2022-12-20 | 网宿科技股份有限公司 | Scheduling method, scheduling system and scheduling equipment for access request |
CN110209949B (en) * | 2019-06-11 | 2021-10-15 | 湖南快乐阳光互动娱乐传媒有限公司 | Resource pushing method and device |
CN112688825B (en) * | 2019-10-18 | 2022-04-05 | 上海哔哩哔哩科技有限公司 | CDN node test method and device and computer equipment |
CN112866325B (en) * | 2019-11-28 | 2023-05-16 | 北京金山云网络技术有限公司 | Resource file transmission method and device, upper layer and edge node in CDN |
CN110955851B (en) * | 2019-11-29 | 2023-05-26 | 海南车智易通信息技术有限公司 | Network request processing method, system and computing device |
CN111355612A (en) * | 2020-02-28 | 2020-06-30 | 中国工商银行股份有限公司 | CDN node emergency processing method and system for source station fault |
CN112468570A (en) * | 2020-11-24 | 2021-03-09 | 福建天泉教育科技有限公司 | Data request processing method and CDN server side |
CN112632440B (en) * | 2020-12-18 | 2023-01-24 | 西安博达软件股份有限公司 | Static resource generation method for teacher personal homepage based on watermark characteristic rule string |
CN114979146A (en) * | 2022-05-25 | 2022-08-30 | 中移(杭州)信息技术有限公司 | Source returning method, CDN device, storage medium and device |
CN117176553A (en) * | 2022-05-27 | 2023-12-05 | 华为技术有限公司 | Service disaster recovery method, terminal equipment, software development kit server and communication system |
CN116996579B (en) * | 2023-09-27 | 2024-02-27 | 联通在线信息科技有限公司 | Method and system for improving downloading speed of fragmentation request based on multiplexing 302 address |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102710765A (en) * | 2012-05-28 | 2012-10-03 | 蓝汛网络科技(北京)有限公司 | Method, device and system for realizing transparent proxy through CDN server |
JP5404855B2 (en) * | 2012-06-12 | 2014-02-05 | 日本電信電話株式会社 | CDN introduction status determination apparatus, CDN introduction status determination method, and program |
CN103747112A (en) * | 2013-12-24 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | CDN back-to-source method, first server and system thereof |
CN104468817B (en) * | 2014-12-22 | 2016-08-24 | 北京奇虎科技有限公司 | Implementation method and device, server, the client of resource is downloaded by CDN |
-
2014
- 2014-12-22 CN CN201410806357.9A patent/CN104468817B/en active Active
- 2014-12-22 CN CN201610431293.8A patent/CN106101231B/en active Active
-
2015
- 2015-11-27 WO PCT/CN2015/095805 patent/WO2016101763A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102710765A (en) * | 2012-05-28 | 2012-10-03 | 蓝汛网络科技(北京)有限公司 | Method, device and system for realizing transparent proxy through CDN server |
JP5404855B2 (en) * | 2012-06-12 | 2014-02-05 | 日本電信電話株式会社 | CDN introduction status determination apparatus, CDN introduction status determination method, and program |
CN103747112A (en) * | 2013-12-24 | 2014-04-23 | 乐视网信息技术(北京)股份有限公司 | CDN back-to-source method, first server and system thereof |
CN104468817B (en) * | 2014-12-22 | 2016-08-24 | 北京奇虎科技有限公司 | Implementation method and device, server, the client of resource is downloaded by CDN |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106790687A (en) * | 2017-02-17 | 2017-05-31 | 和创(北京)科技股份有限公司 | Webpage display method, web data processing method and server |
CN109254804A (en) * | 2018-09-10 | 2019-01-22 | 郑州云海信息技术有限公司 | A kind of static resource loading method, device, equipment and readable storage medium storing program for executing |
CN112015485A (en) * | 2020-08-14 | 2020-12-01 | 北京达佳互联信息技术有限公司 | Page display method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104468817A (en) | 2015-03-25 |
CN106101231B (en) | 2020-02-21 |
WO2016101763A1 (en) | 2016-06-30 |
CN104468817B (en) | 2016-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106101231A (en) | Implementation method and device, server, the client of resource is downloaded by CDN | |
US10958634B2 (en) | System and method for providing a content delivery network via a motor vehicle | |
CN102375882B (en) | Method, device and browser for rapidly accessing webpage | |
US8688837B1 (en) | Dynamically translating resource identifiers for request routing using popularity information | |
US9191458B2 (en) | Request routing using a popularity identifier at a DNS nameserver | |
CN102067094B (en) | cache optimization | |
US8966121B2 (en) | Client-side management of domain name information | |
CN104111944B (en) | Page processing method and device and page generation method and device | |
EP3022708B1 (en) | Content source discovery | |
CN103024044B (en) | Webpage download method and device | |
CN102394880B (en) | Method and device for processing jump response in content delivery network | |
CN102855334B (en) | A kind of browser and the method obtaining dns resolution data thereof | |
JP2006502465A (en) | Java application framework for use in content distribution network (CDN) | |
CN108804514A (en) | A kind of webpage loading method, server and webpage loading system | |
CN102902802B (en) | A kind of webpage code-transferring method and device | |
CN103902696A (en) | Method and device for loading resource files | |
CN110213331B (en) | Service request processing method, terminal device, electronic device and storage medium | |
CN104714965A (en) | Static resource weight removing method, and static resource management method and device | |
CN113452780A (en) | Access request processing method, device, equipment and medium for client | |
CN109302437A (en) | A kind of method and apparatus redirecting website | |
CN106856456B (en) | Processing method and system for cache cluster service | |
CN103731396B (en) | Resource access method, system and cache resources information push-delivery apparatus | |
CN102497422A (en) | Live web casting method and live web casting system | |
CN101325499A (en) | Method, system and equipment for distributing static data | |
CN104320483B (en) | The system and method for HELPER APPLICATIONS upgrading |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220321 Address after: 100020 1773, 15 / F, 17 / F, building 3, No.10, Jiuxianqiao Road, Chaoyang District, Beijing Patentee after: Sanliu0 Digital Security Technology Group Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co., Ltd |