CN105978936A - CDN server and data caching method thereof - Google Patents

CDN server and data caching method thereof Download PDF

Info

Publication number
CN105978936A
CN105978936A CN201610262876.2A CN201610262876A CN105978936A CN 105978936 A CN105978936 A CN 105978936A CN 201610262876 A CN201610262876 A CN 201610262876A CN 105978936 A CN105978936 A CN 105978936A
Authority
CN
China
Prior art keywords
data
cdn server
subrange
request message
http request
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.)
Pending
Application number
CN201610262876.2A
Other languages
Chinese (zh)
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.)
LeCloud Computing Co Ltd
LeTV Holding Beijing Co Ltd
LeTV Cloud Computing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Cloud Computing 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 LeTV Holding Beijing Co Ltd, LeTV Cloud Computing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610262876.2A priority Critical patent/CN105978936A/en
Publication of CN105978936A publication Critical patent/CN105978936A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Abstract

Embodiments of the invention provide a CDN server and a data caching method thereof. The method comprises the following steps: a CDN server receives a first hypertext transfer protocol HTTP request message, wherein the first HTTP request message is used to access the data in a target range in a first file; dividing the target range into at least two sub ranges, and determining target sub ranges in which the data is not cached in the CDN server among the at least two sub ranges; for each target sub range, generating an HTTP request message used to request data in the target sub range; sending the generated HTTP request messages to a CDN source station; and receiving an HTTP response message including the data in the target sub ranges sent by the CDN source station, and caching the data in the target sub ranges. The CDN server can cache data in fragments.

Description

CDN server and data cached method thereof
Technical field
The present embodiments relate to network communication field, particularly relate to a kind of CDN server and caching number thereof According to method.
Background technology
Content distributing network (Content Delivery Network, CDN) relies on the edge being deployed in various places Server, by functional modules such as the load balancing of central platform, content distribution, scheduling, makes user nearby Obtain required content, reduce network congestion, improve user's access response speed and hit rate.The pass of CDN Key technology mainly has content storage and distribution technology.
A node in CDN is a CDN server, and these CDN server are distributed to User accesses in area or the network of Relatively centralized.When user accesses website, utilization overall situation load technology will Accessing of user is pointed in closest CDN server working properly, is cached with in CDN server During the data that user accesses, this CDN server can be asked directly in response to user, in CDN server not When being cached with the data that user accesses, this CDN server, just to CDN source station request data, reduces The load of CDN source station, described CDN source station refers to issue the original site of content.
In prior art, client can send HTML (Hypertext Markup Language) (HyperText Transfer Protocol, HTTP) request message is to CDN server, for request data, if this CDN server Be cached with the data of this client demand, then these data of caching are sent to this client by this CDN server End, if the uncached data having this client demand of this CDN server, then this CDN server can be by This HTTP request message sends to CDN source station, obtains the number of this client demand from this CDN source station According to row cache of going forward side by side.
But, owing to the HTTP request message of client transmission to CDN server may only demand file In part data, rather than the partial data of file, in this case, if multiple HTTP request message But request is different in identical file the data that mutual is overlapping, and these overlapping part data will be by CDN Server repeats caching, and such as, first HTTP request message requires to obtain 0 to 100MB in file (Mbytes) data, second HTTP request message requires to obtain 4 to 100MB in identical file Data, now, 4 to the 100MB data in this document can be repeated caching, waste by CDN server The cache resources of CDN server.
Summary of the invention
The embodiment of the present invention provides a kind of CDN server and data cached method thereof, to solve existing skill The cache resources of CDN server is wasted bigger defect by art, it is achieved data are carried out fragment cache memory.
The embodiment of the present invention provides a kind of method that CDN server is data cached, including:
CDN server receives the first HTTP request message, a described HTTP Request message is for the data accessed in the first file in target zone;
Described target zone is divided at least two subrange by described CDN server, and described at least Two subranges determine the target subrange that data do not cache in described CDN server;
Described CDN server generates one for each described target subrange and is used for asking described target In the range of the HTTP request message of data;
The described HTTP request message generated is sent to CDN source station by described CDN server;
Described CDN server receives the data including in described target subrange that described CDN source station sends Http response message, and the data in described target subrange are cached.
The embodiment of the present invention provides a kind of CDN server, including:
First receives unit, for receiving the first HTTP request message, and described first HTTP request message is for the data accessed in the first file in target zone;
Division unit, for described target zone being divided at least two subrange, and described at least Two subranges determine the target subrange that data do not cache in described CDN server;
Signal generating unit, is used for asking described target for generating one for each described target subrange In the range of the HTTP request message of data;
Transmitting element, sends to CDN source station for the described HTTP request message that will generate;
Second receive unit, for receive described CDN source station send include described target subrange in The http response message of data;
Buffer unit, for caching the data in described target subrange.
A kind of CDN server of embodiment of the present invention offer and data cached method thereof, described CDN takes The target zone of request, after receiving described first HTTP request message, is divided at least two by business device Subrange, and determine, in described at least two subrange, the mesh that data do not cache in described CDN server Mark subrange;Described CDN server generates one for each described target subrange and is used for asking described The HTTP request message of the data in target subrange;The described HTTP that described CDN server will generate Request message sends to CDN source station;Described CDN server receives including of described CDN source station transmission The http response message of the data in described target subrange, and the data in described target subrange are entered Row cache.It is to say, the target data that HTTP request message is asked is divided into less by CDN server The data fragmentation of granularity stores, and so, described CDN server receives in multiple request identical file But during the different HTTP request message of the data that mutual is overlapping, described CDN server is for overlapping Part data carry out the data of fragment cache memory, it is not necessary to obtain from described CDN source station again, Avoid and these part data are repeated caching, and, data granularity is the least, can in two data fragmentations The repetition data that can exist are the fewest, reduce the waste to CDN processor cache resource.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below The accompanying drawing used is needed to briefly introduce, it should be apparent that, the accompanying drawing in describing below is only the present invention's Some embodiments, from the point of view of those of ordinary skill in the art, in the premise not paying creative work Under, it is also possible to other accompanying drawing is obtained according to these accompanying drawings.
The flow process signal of the method that a kind of CDN server that Fig. 1 provides for the embodiment of the present invention is data cached Figure;
The flow process of the method that another kind of CDN server that Fig. 2 provides for the embodiment of the present invention is data cached is shown It is intended to;
The structural representation of a kind of CDN server that Fig. 3 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, it is fully described by, it is clear that described embodiment is only a part of embodiment of the present invention, is not Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
In order to make those skilled in the art be easier to understand the technical scheme that the embodiment of the present invention provides, below First the correlation technique that the present embodiments relate to simply is introduced.
HTTP is the rule that a set of computer is communicated by network, uses HTTP client by sending out Sending the HTTP request message can be to http server solicited message and service, described HTTP client can Thinking Web browser, described http server can be Web server.
HTTP request message is made up of three parts: request row (Request Line), message header (Message Headers) and message body (Entity Body), wherein, divided by null between message header and message body Every.
Specifically, request row is made up of three labellings: requesting method, Uniform Resource Identifier (Uniform Resource Identifier, URI) and HTTP version, such as: GET/news.asp HTTP/1.1.With In upper code, " GET " represents requesting method, and "/news.asp " represents URI, and " HTTP/1.1 " represents agreement version This.What deserves to be explained is, URI intactly specifies the Internet resources in http server to be accessed, As long as generally providing the relative directory of the root relative to server.
Message header allows HTTP client to http server transmission about request or about client Additional information.Message header includes the fields such as Host header field, Referer header field, and wherein, Host header field represents The main frame of request resource and port numbers, Referer header field allows client to specify the resource ground, source of request URI Location.What deserves to be explained is, Range is a header field newly-increased in HTTP/1.1, and range header field allows One or more subrange of client request entity.So, if HTTP request message includes unified Resource identifier and range information, then the target zone of the data asked is should unified resource mark Know the scope of this range information instruction in the file of symbol, if this HTTP request message includes unified resource Identifier does not include range information, then the target zone of the data asked is should uniform resource identifier The scope of the partial data in the file of symbol.
Message body for carrying and asking the data that are associated, the parameter etc. that such as some requests need.By disappearing Content-length Content-Type and content type Content-Length in breath head indicate.
In prior art, CDN server is for the data that still mutual is overlapping different in request identical file The process of multiple HTTP request message, cause CDN server to repeat these part data that caching is overlapping, Waste cache resources.
The embodiment of the present invention provides a kind of method that CDN server is data cached, as it is shown in figure 1, the party Method includes:
Step 100, CDN server receive the first HTTP request message, and described One HTTP request message is for the data accessed in the first file in target zone.
Wherein, described first HTTP request message includes the Uniform Resource Identifier of described first file.Institute State the position that the first HTTP request message can also include indicating data to be read in described first file Range information, in this case, described target zone this range information i.e. instruction scope, institute Stating the first HTTP request message and can not also include range information, now, described target zone is institute State the scope of partial data in the first file.
Described target zone is divided at least two subrange by step 101, described CDN server, and The target subrange that data do not cache is determined in described CDN server in described at least two subrange.
Alternatively, described CDN server can be described target zone to be divided according to default burst rule For at least two subrange.In the specific implementation, can according to the actual requirements described burst rule be set Fixed, such as, preset the size of each burst, or, preset the quantity of each burst.
What deserves to be explained is, described CDN server before receiving described first HTTP request message, May there is the partial data of described first file by fragment cache memory, it is also possible to fragment cache memory has had described Part data in first file, therefore, described target zone is divided at least by described CDN server After two subranges, the caching of described CDN server there may be the data in some subrange.Right Subrange in data have been buffered in described CDN server, described CDN server is right without generating The HTTP request message answered, it is to avoid again obtain from CDN source station, and then avoid and again cache, Reduce cache resources waste.
Step 102, described CDN server generate one for each described target subrange and are used for asking The HTTP request message of the data in described target subrange.
Specifically, the uniform resource identifier in each HTTP request message that described CDN server generates Symbol is first file Uniform Resource Identifier in CDN source station, with described first HTTP request message In Uniform Resource Identifier identical, and, described CDN server generate each HTTP request disappear Breath also includes the range information for indicating described subrange.
The described HTTP request message generated is sent to CDN source by step 103, described CDN server Stand.
What step 104, the described CDN server described CDN source station of reception sent includes the sub-model of described target Enclose the http response message of interior data, and the data in described target subrange are cached.
What deserves to be explained is, existing CDN source station includes the HTTP request of range information receiving During message, the http response message that this CDN source station returns is except carrying the model of this range information instruction Enclosing interior data, the answer code also carried is 206.
In embodiments of the present invention, described CDN server can include described http response receiving After message, the answer code 206 included according to described http response message is to the number in described target subrange According to caching.
Using said method, described CDN server receives different still mutuals in multiple request identical file During the HTTP request message of overlapping data, described CDN server is in overlapping part data The data of fragment cache memory are carried out, it is not necessary to obtain from described CDN source station again, it is to avoid to this portion Divided data repeat caching, and, data granularity is the least, repeat number that may be present in two data fragmentations According to the fewest, reduce the waste to CDN processor cache resource.
In order to enable those skilled in the art to be more clearly understood that the technical scheme that the embodiment of the present invention provides, Below by specific embodiment, a kind of CDN server providing the embodiment of the present invention is data cached Method is described in detail, as in figure 2 it is shown, the method includes:
The first HTTP request message that step 200, CDN server reception client sends, described first HTTP request message target zone in request the first file is the data of 0 to 99MB.
Illustratively, described first HTTP request message includes the Uniform Resource Identifier of this first file, also Range information including as follows: Range:bytes=0-99MB.
It is equal that the target zone of described 0 to 99MB is divided into size by step 201, described CDN server 10 subranges for 10MB.
It is to say, target zone 0 to 100MB is divided into 0 to 9MB, 10 to 19MB, 20 to 29MB, 30 to 39MB, 40 to 49MB, 50 to 59MB, 60 to 69MB, 70 to 79MB, 80 to 89MB, 90 to 99MB totally 10 subranges.
Step 202, described CDN server determine uncached described 10 the sub-models of described CDN server Data in enclosing.
Step 203, described CDN server generate one for each subrange in described 10 subranges The HTTP request message of individual correspondence.
Illustratively, for subrange 0 to 9MB, the range information in the HTTP request message of generation is: Range:bytes=0-9MB;For subrange 10 to 19MB, the range in the HTTP request message of generation Information is: Range:bytes=10-19MB;For subrange 20 to 29MB, the HTTP request of generation Range information in message is: Range:bytes=20-29MB;For subrange 30 to 39MB, raw Range information in the HTTP request message become is: Range:bytes=30-39MB;For subrange 40 to 49MB, the range information in the HTTP request message of generation is: Range:bytes=40-49MB; For subrange 50 to 59MB, the range information in the HTTP request message of generation is: Range:bytes=50-59MB;For subrange 60 to 69MB, in the HTTP request message of generation Range information is: Range:bytes=60-69MB;For subrange 70 to 79MB, the HTTP of generation Range information in request message is: Range:bytes=70-79MB;For subrange 80 to 89MB, Range information in the HTTP request message generated is: Range:bytes=80-89MB;For subrange 90 to 99MB, the range information in the HTTP request message of generation is: Range:bytes=90-99MB.
Further, the HTTP request message that above-mentioned all CDN server generate all includes described first file Uniform Resource Identifier.
The above-mentioned dividing mode to target zone is only a kind of possible implementation of the embodiment of the present invention, When being embodied as, user can pre-set dividing mode according to the actual requirements, including for each subrange The setting of size, or, the setting of antithetical phrase number of ranges, this is not limited by the present invention.
The described HTTP request message generated is sent to CDN source by step 204, described CDN server Stand.
What deserves to be explained is, multiple HTTP request that the embodiment of the present invention generates for CDN server disappear The transmission order of breath does not limits, and can also asynchronous transmission with synchronized transmission.
Step 205, described CDN source station obtain described 10 according to the described HTTP request message received Data in individual subrange.
Each http response of data that step 206, described CDN source station will include in each subrange Message is respectively sent to described CDN server.
Specifically, 10 HTTP request message sent for above-mentioned CDN server, described CDN Source station will send 10 corresponding http response message to described CDN server, each http response Message includes the data in the subrange of correspondence.
Step 207, described CDN server receive the described http response of described CDN source station transmission and disappear Breath, and cache the data in the range of described 10 sons respectively.
Illustratively, each http response message except include correspondence subrange in data, also include ring After answering code 206, described CDN server often to receive a http response message, according to described HTTP Answer code 206 in response message caches the data in the range of a son, it is achieved that the mesh to 0 to 99MB The burst storage of the data in mark scope.
The data that step 208, described CDN server merge in the range of described 10 sons obtain target zone Data in 0 to 100MB, and described data are sent to described client.
Step 209, described CDN server receive the second HTTP request message that described client sends, Described second HTTP request message target zone in request the first file is the data of 0 to 96MB.
The scope of described 0 to 89MB is divided into size and is 10MB by step 210, described CDN server 9 subranges, remaining 90 to 96MB is the 10th subrange.
Specifically, described size be scope 0 that 9 subranges of 10MB are specially in the first file to 9MB, 10 to 19MB, 20 to 29MB, 30 to 39MB, 40 to 49MB, 50 to 59MB, 60 to 69MB, 70 to 79MB, 80 to 89MB.
Step 211, described CDN server determine that being cached with described size in described CDN server is Data in data in 9 subranges of 10MB, and uncached described 10th subrange.
Step 212, described CDN server generate for asking data in described 10th subrange HTTP request message.
From above-mentioned steps 200 to step 207, described CDN server has been cached with the first file 0 to 9MB, 10 to 19MB, 20 to 29MB, 30 to 39MB, 40 to 49MB, 50 to 59MB, Data in 60 to 69MB, 70 to 79MB, 80 to 89MB totally 9 subranges, the most individually cache Data in the range of 90 to 96MB.Therefore, described CDN server is without for above-mentioned 9 subranges Generate corresponding HTTP request message, it is to avoid again obtain from CDN source station, and then avoid again Caching, reduces cache resources waste.
The described HTTP request message generated is sent to described CDN by step 213, described CDN server Source station.
What step 214, the described CDN server described CDN source station of reception sent includes described 10th The http response message of the data in subrange, and cache the data in described 10th subrange.
What deserves to be explained is, in step 207, in the range of described CDN server is cached with 90 to 99MB Data, in step 214, described CDN server caching 90 to 96MB in the range of data, twice In caching, the data in the range of 90 to 96MB are repeated caching, but, owing to data fragmentation is less, weight Multiple data volume is less, the most respectively caching 0 to 99MB in the range of data and 0 to Data in the range of 96MB, the embodiment of the present invention reduces the waste of cache resources.
Step 215, described CDN server merge data in described 9 subranges with described 10th Data in subrange, obtain the data in described target zone 0 to 96MB, and described data are sent To described client.
Using said method, the target data that HTTP request message is asked is divided into by described CDN server The data fragmentation of smaller particle size stores, and reduces the waste of CDN cache resources, and, more granule Degree data buffer storage be conducive to improving buffer efficiency, and, each data fragmentation of the data of identical file it Between asynchronous buffer, it is to avoid after only the partial data at described file all caches, client just can carry out The defect accessed, improves the response speed to client.
What deserves to be explained is, for said method embodiment, in order to be briefly described, therefore it is all expressed as one The combination of actions of series, but those skilled in the art should know, and the present invention is not by described action The restriction of order.Secondly, those skilled in the art also should know, embodiment described in this description is equal Belong to preferred embodiment, necessary to the involved action not necessarily present invention.
The embodiment of the present invention also provides for a kind of CDN server 30, and being used for implementing said method embodiment provides A kind of method data cached for CDN, as it is shown on figure 3, described CDN server 30 includes:
First receives unit 31, for receiving the first HTTP request message, and described the One HTTP request message is for the data accessed in the first file in target zone;
Division unit 32, for described target zone being divided at least two subrange, and described at least Two subranges determine the target subrange that data do not cache in described CDN server;
Signal generating unit 33, is used for asking described target for generating one for each described target subrange In the range of the HTTP request message of data;
Transmitting element 34, sends to CDN source station for the described HTTP request message that will generate;
Second receive unit 35, for receive described CDN source station send include described target subrange in The http response message of data;
Buffer unit 36, for caching the data in described target subrange.
Wherein, described first HTTP request message can include range information, in this case, institute State the data to be read scope in described first file that target zone is the instruction of described range information.
Described first HTTP request message can not also include range information, in this case, described Target zone is the scope of the partial data of described first file.
Alternatively, described division unit 32 specifically for: according to default burst rule by described target zone It is divided at least two subrange.In the specific implementation, can according to the actual requirements described burst rule be entered Row sets, and such as, presets the size of each burst, or, preset the quantity of each burst.
Alternatively, the described HTTP request message that described signal generating unit 33 generates includes for indicating described The range information of target subrange.With reference to above-mentioned retouching the step 203 in embodiment of the method shown in Fig. 2 Stating, here is omitted.
Alternatively, described http response message also includes answer code 206;Described buffer unit 36 is specifically used In: according to described answer code 206, the data in described target subrange are cached.
What deserves to be explained is, existing CDN server is after receiving http response message, if this HTTP The answer code carried in response message is 206, and the data do not carried this http response message are delayed Deposit, and the CDN server that the embodiment of the present invention provides can the answer code in http response message be When 206, also data are cached.
Use above-mentioned CDN server, the number of targets that HTTP request message is asked by described CDN server Storing according to the data fragmentation being divided into smaller particle size, so, described CDN server receives multiple requests In identical file during the different but HTTP request message of the data that mutual is overlapping, described CDN server For overlapping part data have carried out the data of fragment cache memory, it is not necessary to again from described CDN source station Obtain, it is to avoid these part data are repeated caching, and, data granularity is the least, two data In burst, repetition data that may be present are the fewest, reduce the waste to CDN processor cache resource.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, only with above-mentioned The division of each functional module is illustrated, and in actual application, can above-mentioned functions be divided as desired Join and completed by different functional modules, the internal structure of device will be divided into different functional modules, with complete Become all or part of function described above.The specific works process of each unit of foregoing description, Ke Yican State the corresponding process in embodiment of the method before examination, do not repeat them here.
Device embodiment described above is only schematically, wherein said illustrates as separating component Unit can be or may not be physically separate, and the parts shown as unit can be or also Can not be physical location, i.e. may be located at a place, or can also be distributed on multiple NE. Some or all of module therein can be selected according to the actual needs to realize the mesh of the present embodiment scheme 's.Those of ordinary skill in the art, in the case of not paying performing creative labour, are i.e. appreciated that and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each enforcement Mode can add the mode of required general hardware platform by software and realize, naturally it is also possible to pass through hardware. Based on such understanding, the part that prior art is contributed by technique scheme the most in other words is permissible Embodying with the form of software product, this computer software product can be stored in computer-readable storage medium In matter, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) performs each embodiment or embodiment The method described in some part.
Last it is noted that above example is only in order to illustrate technical scheme, rather than it is limited System;Although the present invention being described in detail with reference to previous embodiment, those of ordinary skill in the art It is understood that the technical scheme described in foregoing embodiments still can be modified by it, or to it Middle part technical characteristic carries out equivalent;And these amendments or replacement, do not make appropriate technical solution Essence departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. the method that a CDN server is data cached, it is characterised in that including:
CDN server receives the first HTTP request message, a described HTTP Request message is for the data accessed in the first file in target zone;
Described target zone is divided at least two subrange by described CDN server, and described at least Two subranges determine the target subrange that data do not cache in described CDN server;
Described CDN server generates one for each described target subrange and is used for asking described target In the range of the HTTP request message of data;
The described HTTP request message generated is sent to CDN source station by described CDN server;
Described CDN server receives the data including in described target subrange that described CDN source station sends Http response message, and the data in described target subrange are cached.
Method the most according to claim 1, it is characterised in that described first HTTP request message Including read range range information, described target zone is the data to be read of described range information instruction Scope in described first file.
Method the most according to claim 1, it is characterised in that described first HTTP request message Not including read range range information, described target zone is the scope of the partial data of described first file.
4. according to the method described in any one of claims 1 to 3, it is characterised in that described CDN service Described target zone is divided at least two subrange by device, including:
Described target zone is divided into the sub-model of at least two according to default burst rule by described CDN server Enclose.
5. according to the method described in any one of claims 1 to 3, it is characterised in that described CDN service The described HTTP request message that device generates includes the range information for indicating described target subrange.
6. a CDN server, it is characterised in that including:
First receives unit, for receiving the first HTTP request message, and described first HTTP request message is for the data accessed in the first file in target zone;
Division unit, for being divided at least two subrange, and described at least two by described target zone Individual subrange determines the target subrange that data do not cache in described CDN server;
Signal generating unit, is used for asking the sub-model of described target for generating one for each described target subrange Enclose the HTTP request message of interior data;
Transmitting element, sends to CDN source station for the described HTTP request message that will generate;
Second receive unit, for receive described CDN source station send include described target subrange in The http response message of data;
Buffer unit, for caching the data in described target subrange.
CDN server the most according to claim 6, it is characterised in that a described HTTP please Asking message to include read range range information, described target zone is continuing of described range information instruction Fetch data the scope in described first file.
CDN server the most according to claim 6, it is characterised in that a described HTTP please Asking message not include read range range information, described target zone is the partial data of described first file Scope.
9. according to the arbitrary described CDN server of claim 6 to 8, it is characterised in that described division Unit specifically for: according to default burst rule described target zone is divided at least two subrange.
10. according to the arbitrary described CDN server of claim 6 to 8, it is characterised in that described life The described HTTP request message becoming unit to generate includes the range information for indicating described target subrange.
CN201610262876.2A 2016-04-25 2016-04-25 CDN server and data caching method thereof Pending CN105978936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610262876.2A CN105978936A (en) 2016-04-25 2016-04-25 CDN server and data caching method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610262876.2A CN105978936A (en) 2016-04-25 2016-04-25 CDN server and data caching method thereof

Publications (1)

Publication Number Publication Date
CN105978936A true CN105978936A (en) 2016-09-28

Family

ID=56993922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610262876.2A Pending CN105978936A (en) 2016-04-25 2016-04-25 CDN server and data caching method thereof

Country Status (1)

Country Link
CN (1) CN105978936A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483546A (en) * 2017-07-21 2017-12-15 北京供销科技有限公司 A kind of file memory method and file storage device
CN109167845A (en) * 2018-11-27 2019-01-08 云之端网络(江苏)股份有限公司 A kind of fragment cache memory and recombination method towards big file distributing scene
CN110431804A (en) * 2017-04-14 2019-11-08 华为技术有限公司 Content disposition method and distribution controller
CN111726387A (en) * 2019-03-22 2020-09-29 华为技术有限公司 Resource acquisition method and device
CN112738150A (en) * 2019-10-29 2021-04-30 厦门白山耘科技有限公司 File processing method and device, transmission equipment and computer readable storage medium
CN112954013A (en) * 2021-01-27 2021-06-11 政采云有限公司 Network file information acquisition method, device, equipment and storage medium
CN113301081A (en) * 2020-06-11 2021-08-24 阿里巴巴集团控股有限公司 Data processing method, device and electronic equipment for content distribution network
CN113301081B (en) * 2020-06-11 2024-05-03 阿里巴巴集团控股有限公司 Data processing method and device for content distribution network and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055312A1 (en) * 2009-08-28 2011-03-03 Apple Inc. Chunked downloads over a content delivery network
CN102282825A (en) * 2010-12-14 2011-12-14 华为技术有限公司 Method and device for streaming media to request address mapping and cache nodes in content delivery network
CN102780712A (en) * 2011-05-09 2012-11-14 华为技术有限公司 Conversation switching method and device
CN103209222A (en) * 2013-04-24 2013-07-17 网宿科技股份有限公司 Method and device for processing requests with overlapped and unordered ranges in content delivery network
CN104935648A (en) * 2015-06-03 2015-09-23 北京快网科技有限公司 High-cost-performance CDN system, and file pre-push and fragment buffer memory methods

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110055312A1 (en) * 2009-08-28 2011-03-03 Apple Inc. Chunked downloads over a content delivery network
CN102282825A (en) * 2010-12-14 2011-12-14 华为技术有限公司 Method and device for streaming media to request address mapping and cache nodes in content delivery network
CN102780712A (en) * 2011-05-09 2012-11-14 华为技术有限公司 Conversation switching method and device
CN103209222A (en) * 2013-04-24 2013-07-17 网宿科技股份有限公司 Method and device for processing requests with overlapped and unordered ranges in content delivery network
CN104935648A (en) * 2015-06-03 2015-09-23 北京快网科技有限公司 High-cost-performance CDN system, and file pre-push and fragment buffer memory methods

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110431804A (en) * 2017-04-14 2019-11-08 华为技术有限公司 Content disposition method and distribution controller
US11057489B2 (en) 2017-04-14 2021-07-06 Huawei Technologies Co., Ltd. Content deployment method and delivery controller
CN110431804B (en) * 2017-04-14 2021-07-09 华为技术有限公司 Content deployment method and distribution controller
CN107483546A (en) * 2017-07-21 2017-12-15 北京供销科技有限公司 A kind of file memory method and file storage device
CN109167845A (en) * 2018-11-27 2019-01-08 云之端网络(江苏)股份有限公司 A kind of fragment cache memory and recombination method towards big file distributing scene
CN111726387A (en) * 2019-03-22 2020-09-29 华为技术有限公司 Resource acquisition method and device
CN112738150A (en) * 2019-10-29 2021-04-30 厦门白山耘科技有限公司 File processing method and device, transmission equipment and computer readable storage medium
CN113301081A (en) * 2020-06-11 2021-08-24 阿里巴巴集团控股有限公司 Data processing method, device and electronic equipment for content distribution network
CN113301081B (en) * 2020-06-11 2024-05-03 阿里巴巴集团控股有限公司 Data processing method and device for content distribution network and electronic equipment
CN112954013A (en) * 2021-01-27 2021-06-11 政采云有限公司 Network file information acquisition method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105978936A (en) CDN server and data caching method thereof
CN110430274A (en) A kind of document down loading method and system based on cloud storage
CN107948324B (en) Request Transmission system, method, apparatus and storage medium
CN106031130B (en) Content distribution network framework with edge proxies
CN102263828B (en) Load balanced sharing method and equipment
EP2263163B1 (en) Content management
EP2266043B1 (en) Cache optimzation
US9026616B2 (en) Content delivery reconciliation
CN108200165B (en) Request Transmission system, method, apparatus and storage medium
CN104836821B (en) A kind of network accelerating method based on router device, device and equipment
CN104348647B (en) Multi-source bandwidth scheduling method, apparatus and system
CN103036969B (en) For providing the management equipment and method of file download address
CN110134896B (en) Monitoring process and intelligent caching method of proxy server
CN109542613A (en) Distribution method, device and the storage medium of service dispatch in a kind of CDN node
CN105450780A (en) CDN system and source tracing method thereof
WO2013090699A1 (en) Content delivery network
RU2012118601A (en) SYSTEM AND METHOD FOR PROVIDING MORE FAST AND MORE EFFECTIVE DATA TRANSFER
CN102394880B (en) Method and device for processing jump response in content delivery network
CN111464661B (en) Load balancing method and device, proxy equipment, cache equipment and service node
KR20130070500A (en) Method and apparatus for processing server load balancing with the result of hash function
CN103227826A (en) Method and device for transferring file
CN112583895B (en) TCP communication method, system and device
CN106789956B (en) A kind of P2P order method and system based on HLS
CN105872856A (en) Method and system for distributing stream media files
CN110213349A (en) A kind of HTTP dispatching method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160928

WD01 Invention patent application deemed withdrawn after publication