CN103731404B - Data access method based on CDN, system and device - Google Patents
Data access method based on CDN, system and device Download PDFInfo
- Publication number
- CN103731404B CN103731404B CN201210387969.XA CN201210387969A CN103731404B CN 103731404 B CN103731404 B CN 103731404B CN 201210387969 A CN201210387969 A CN 201210387969A CN 103731404 B CN103731404 B CN 103731404B
- Authority
- CN
- China
- Prior art keywords
- transmission parameter
- transmission
- cdn node
- data access
- agent
- 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.)
- Active
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention proposes a kind of data access method based on CDN, system and device, and wherein method comprises the following steps: acting on behalf of CDN node and receive the data access message of client, wherein, data access message has the first transmission parameter;And act on behalf of CDN node by data access message first transmission parameter modification be the second transmission parameter, and by data access message send to source station, wherein, use second transmission parameter efficiency of transmission more than use first transmission parameter efficiency of transmission.In an embodiment of the present invention, by acting on behalf of CDN node, the transmission parameter of data access message can be modified, so that amended transmission parameter can be more suitable for acting on behalf of between CDN node and source station preferably network environment, thus improve the access speed of data.
Description
Technical field
Technical field of communication network of the present invention, particularly to one based on CDN (Content Delivery Network,
Content distributing network) data access method of network, system and device.
Background technology
The development of the Internet brings a biggest facility to life, and people can stay indoors, before a computer
Just can inquire various information all over the world, log in the webpage of Ge great portal website, occur in the recent period in the world
Major issue can cover all at one glance.The conceivable information of user oneself, only need to input corresponding keyword in search column, then click on really
Recognize, just have ten hundreds of relevant informations and show in moment, eliminate books and periodicals, paper and road and hurry back and forth the inconvenience brought,
The most i.e. save the time, our life can have been enriched again.
But, it is positioned at source station, Pekinese, the searching request of the user of all parts of the country will be accepted.China is vast in territory, the whole nation
The user of various places accesses Pekinese's search service, and the network environment in different location is the most different, the most necessarily has very
The network delay of multi-user is relatively big, thus causes access speed slack-off.
In sum, under existing network technical conditions, the problem too much brought owing to accessing user has:
1, network delay is relatively big, causes access speed slower so that user can not obtain oneself within the shortest time to be needed
The Search Results wanted;
2, access speed is slower so that it is even less that whole webpage can only open half, is unfavorable for browsing of user;
3, in the case of access user is too much, source station can not send information in time, causes User Page to show and can not find
The phenomenons such as server.
Sum up and show that the basic reason that these problems occur has three:
1, user is different to the network condition between source station.General domestic consumer, user terminal is to local metropolitan area
Net, characteristic is that the network bandwidth is less, tens Kb/s to Mb/s;
2, little due to the network bandwidth, unstable, thus easily packet loss;
3, the backbone network that source station connects to source station, depends on the network quality of source station, it may be possible to big broadband high-quality network, also
It is probably little broadband poor quality network.
Under normal circumstances, user directly accesses source station, then any one bottleneck in the middle of link, all can affect whole link,
Link inferior at such as subscriber's outlet, or the backbone network that connects to source station of source station is little broadband poor quality network, all can
Cause the characteristic that cannot utilize backbone network height broadband high-quality link, thus reduce access speed.
Summary of the invention
It is contemplated that at least solve one of technical problem present in prior art.
To this end, it is an object of the present invention to propose a kind of data access side based on content distributing network CDN
Method.Transmission parameter is optimized by the characteristic that the method makes it possible to according to network, thus improves the access speed of data.
Second object of the present invention is to propose a kind of data access system based on CDN.
Third object of the present invention is that proposing one acts on behalf of CDN node.
Fourth object of the present invention is to propose a kind of data access method based on CDN.
5th purpose of the present invention is to propose a kind of data access system based on CDN.
To achieve these goals, the data access side based on CDN of embodiment according to a first aspect of the present invention
Method comprises the following steps: acting on behalf of CDN node and receive the data access message of client, wherein, described data access message has
First transmission parameter;And described act on behalf of CDN node by described data access message first transmission parameter modification be second
Transmission parameter, and described data access message is sent to source station, wherein, the efficiency of transmission using described second transmission parameter is big
In the efficiency of transmission using described first transmission parameter.
In an embodiment of the present invention, by acting on behalf of CDN node, the transmission parameter of data access message can be modified,
So that amended transmission parameter can be more suitable for acting on behalf of between CDN node and source station preferably network environment, thus
Improve the access speed of data.
To achieve these goals, a kind of number based on CDN of proposition of embodiment according to a second aspect of the present invention
According to the system of access, including client, acting on behalf of CDN node and source station, wherein, described client, for acting on behalf of CDN node to described
Sending data access message, wherein, described data access message has the first transmission parameter;Described act on behalf of CDN node, for will
The first transmission parameter modification in described data access message is the second transmission parameter, and described data access message is sent extremely
Described source station, wherein, uses the efficiency of transmission of described second transmission parameter more than the transmission effect using described first transmission parameter
Rate.
In an embodiment of the present invention, by acting on behalf of CDN node, the transmission parameter of data access message can be modified,
So that amended transmission parameter can be more suitable for acting on behalf of between CDN node and source station preferably network environment, thus
Improve the access speed of data.
To achieve these goals, the proposition one of embodiment according to a third aspect of the present invention is acted on behalf of CDN node and is included:
Receiver module, for receiving the data access message that client sends, wherein, described data access message has the first transmission ginseng
Number;Modified module, for being the second transmission parameter by the first transmission parameter modification in described data access message, wherein, adopts
By the efficiency of transmission of described second transmission parameter more than the efficiency of transmission using described first transmission parameter;Sending module, is used for
Amended for described modified module described data access message is sent to source station.
In an embodiment of the present invention, by acting on behalf of CDN node, the transmission parameter of data access message can be modified,
So that amended transmission parameter can be more suitable for acting on behalf of between CDN node and source station preferably network environment, thus
Improve the access speed of data.
To achieve these goals, a kind of number based on CDN of proposition of embodiment according to a fourth aspect of the present invention
According to access method, comprise the following steps: first agent's CDN node receives the data access message of client, wherein, described data
Access message and there is the first transmission parameter;And described first agent's CDN node is by the first biography in described data access message
Defeated parameter modification is the second transmission parameter, and sends described data access message to second agent's CDN node, wherein, uses
The efficiency of transmission of described second transmission parameter is more than the efficiency of transmission using described first transmission parameter;Described second agent CDN
The second transmission parameter modification in described data access message is the 3rd transmission parameter by node, and by described data access message
Send to source station, wherein, use the efficiency of transmission of described second transmission parameter more than or equal to using described 3rd transmission ginseng
The efficiency of transmission of number.
In an embodiment of the present invention, respectively data can be visited by first agent's CDN node and second agent's CDN node
Ask that the transmission parameter of message is modified, so that amended transmission parameter can be more suitable for first agent's CDN node
And preferably network environment between second agent's CDN node, between second agent's CDN node and between source station, thus improve number
According to access speed.On the other hand, by second agent's CDN node can the configuration of the most more new transport parameters, and without right
Modifying in source station, thus improves the convenience of system update and upgrading.
To achieve these goals, a kind of number based on CDN of proposition of embodiment according to a fifth aspect of the present invention
According to the system of access, including client, first agent's CDN node, second agent's CDN node and source station, wherein, described client,
For sending data access message to described first agent's CDN node, wherein, described data access message has the first transmission ginseng
Number;Described first agent's CDN node, is the second transmission ginseng for first in described data access message is transmitted parameter modification
Number, and described data access message is sent to described second agent's CDN node, wherein, use described second transmission parameter
Efficiency of transmission is more than the efficiency of transmission using described first transmission parameter;Described second agent's CDN node, for by described data
Accessing the in message second transmission parameter modification is the 3rd transmission parameter, and sends described data access message to described source
Stand, wherein, use the efficiency of transmission of described second transmission parameter more than or equal to the transmission using described 3rd transmission parameter
Efficiency.
In an embodiment of the present invention, respectively data can be visited by first agent's CDN node and second agent's CDN node
Ask that the transmission parameter of message is modified, so that amended transmission parameter can be more suitable for first agent's CDN node
And preferably network environment between second agent's CDN node, between second agent's CDN node and between source station, thus improve number
According to access speed.On the other hand, by second agent's CDN node can the configuration of the most more new transport parameters, and without right
Modifying in source station, thus improves the convenience of system update and upgrading.
The additional aspect of the present invention and advantage will part be given in the following description, and part will become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Accompanying drawing explanation
Above-mentioned and/or the additional aspect of the present invention and advantage are from combining the accompanying drawings below description to embodiment and will become
Substantially with easy to understand, wherein:
Fig. 1 is the data access schematic diagram of one embodiment of the invention;
Fig. 2 is the flow chart of based on CDN according to an embodiment of the invention data access method;
Fig. 3 is the structure chart of based on CDN according to an embodiment of the invention data access system;
Fig. 4 is a kind of structured flowchart acting on behalf of CDN node;
Fig. 5 is the flow chart of based on CDN according to an embodiment of the invention data access method;And
Fig. 6 is the structure chart of based on CDN according to an embodiment of the invention data access system.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, the most from start to finish
Same or similar label represents same or similar element or has the element of same or like function.Below with reference to attached
The embodiment that figure describes is exemplary, is only used for explaining the present invention, and is not considered as limiting the invention.On the contrary, originally
Inventive embodiment includes all changes in the range of the spirit falling into attached claims and intension, revises and be equal to
Thing.
In describing the invention, it is to be understood that term " first ", " second " etc. are not only used for describing purpose, and not
It is understood that as instruction or hint relative importance.In describing the invention, it should be noted that unless otherwise clear and definite regulation
And restriction, term " is connected ", " connection " should be interpreted broadly, and connects for example, it may be fixing, it is also possible to be to removably connect,
Or be integrally connected;Can be to be mechanically connected, it is also possible to be electrical connection;Can be to be joined directly together, it is also possible to pass through intermediary
It is indirectly connected to.For the ordinary skill in the art, above-mentioned term tool in the present invention can be understood with concrete condition
Body implication.Additionally, in describing the invention, except as otherwise noted, " multiple " are meant that two or more.
In flow chart or at this, any process described otherwise above or method description are construed as, and expression includes
One or more is for realizing the module of code, fragment or the portion of the executable instruction of the step of specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not by shown or discuss suitable
Sequence, including according to involved function by basic mode simultaneously or in the opposite order, performs function, and this should be by the present invention
Embodiment person of ordinary skill in the field understood.
Owing to China is with a vast territory, user therefore in all parts of the country accesses Pekinese's search service, necessarily has a lot of use
The network delay at family is relatively big, thus causes access speed slack-off.The present invention utilizes the characteristic that user network segmentation is different, Ke Yijia
The access of speed user.
Refering to shown in Fig. 1, for the data access schematic diagram of one embodiment of the invention.User is to the network feelings between source station
Condition is different.General domestic consumer, user terminal is less to the network bandwidth of local Metropolitan Area Network (MAN), tens Kb/s to several Mb/s
?.Little additionally, due to bandwidth, line quality is poor, unstable, thus easily packet loss.And connect to source station from local Metropolitan Area Network (MAN)
Between the backbone network at place, being then provider backbone network, feature is that band is roomy, tens Gb/s to hundreds of Gb/s.Source station is to source station
The backbone network of link, depends on the network quality of source station, it may be possible to big bandwidth high-quality network, it is also possible to little bandwidth poor quality net
Network.
As in figure 2 it is shown, be the flow chart of the data access method based on CDN according to one embodiment of the invention.
As it is shown in figure 1, be the data access schematic diagram of one embodiment of the invention.
As in figure 2 it is shown, data access method based on CDN comprises the steps:
Step S201, acts on behalf of CDN node and receives the data access message of client, and wherein, data access message has the
One transmission parameter.In an embodiment of the present invention, client and to act on behalf of usual network characteristic between CDN node bad, such as join
As shown in Figure 1, it is referred to as network inferior at this, it typically is the network inferior of low bandwidth, low delay.Thus, acting on behalf of CDN
The first transmission parameter that between node and client, optional requirement is higher.Certainly it should be noted that current network with
Transmission Control Protocol is main, is described the most in this application as a example by TCP transmission agreement, and above-mentioned transmission parameter is TCP transmission ginseng
Number.Certain other host-host protocols that the most also may select, the most current existing host-host protocol, or
The host-host protocol of Future Development is used equally in the embodiment of the present invention.
Step S202, acting on behalf of CDN node by the first transmission parameter modification in data access message is the second transmission parameter,
And data access message is sent to source station, wherein, use the efficiency of transmission of the second transmission parameter more than using the first transmission ginseng
The efficiency of transmission of number.In an embodiment of the present invention, act on behalf of the network characteristic between CDN node and source station relatively good, such as, join
As shown in Figure 1, it is referred to as high-quality network at this, its usual high bandwidth, the high-quality network of long delay.Thus, acting on behalf of CDN joint
Optional second transmission parameter between point and source station.Equally, at this certainly it should be noted that current network is with Transmission Control Protocol
Being main, be described the most in this application as a example by TCP transmission agreement, above-mentioned transmission parameter is TCP transmission parameter.Certainly exist
Other embodiments of the present invention also may select other host-host protocols, the most current existing host-host protocol, or Future Development
Host-host protocol be used equally in the embodiment of the present invention.
Therefore, in an embodiment of the present invention, owing to acting on behalf of CDN node by the first transmission parameter in data access message
It is revised as the second transmission parameter, therefore causes this data access message in the transmission speed acting on behalf of between CDN node and source station more
Hurry up, more can adapt to act on behalf of the network of the high-quality between CDN node and source station.Simultaneously as act on behalf of between CDN node and source station
Distant, such as act on behalf of the CDN node that CDN node is Yunnan Province, and source station be in Beijing, therefore acts on behalf of CDN by raising
Transmission speed between node and source station, it is possible to the access speed of user is significantly increased.
In one embodiment of the invention, transmission parameter includes that TCP initially sends congestion window, Retransmission timeout time
RTO, congestion avoidance algorithm etc..The transmission congestion window of such as tcp.For high-quality long distance link, send congestion window and suitably adjust
Greatly, for short distance link inferior, congestion window to be turned down.Set-up mode can be " iproute change
Defaultvia<gateway>deveth 0initcwnd<iw>" kernel code can also be revised, increase the side of proc parameter
Formula.
Step S203, source station obtains corresponding data according to data access message, and according to the data genaration response obtained
Message, and this response message is sent to acting on behalf of CDN node.In one embodiment of the invention, receive due to source station
Data access message there is the second transmission parameter, the most acquiescently, source station feeds back in the response message acting on behalf of CDN node also
There is the second transmission parameter.This can not repeat them here by source station is configured realization.
Step S204, acts on behalf of CDN node and receives the response message of source station feedback, and by the second transmission ginseng in response message
Number is forwarded to client after being revised as the first transmission parameter.
Step S205, client obtains corresponding data according to this response message.
In an embodiment of the present invention, the procotol using customization between CDN node and source station, wherein, customization are acted on behalf of
Procotol efficiency of transmission more than client and act on behalf of between CDN node use common network protocol.
In an embodiment of the present invention, by acting on behalf of CDN node, the transmission parameter of data access message can be modified,
So that amended transmission parameter can be more suitable for acting on behalf of between CDN node and source station preferably network environment, thus
Improve the access speed of data.
As it is shown on figure 3, be the structure for data access system based on CDN according to one embodiment of the invention
Figure.This is used for data access system based on CDN and includes client 100, acts on behalf of CDN node 200 and source station 300.Wherein,
Client 100 is for sending data access message to acting on behalf of CDN node 200, and wherein, data access message has the first transmission ginseng
Number.In an embodiment of the present invention, client 100 and to act on behalf of usual network characteristic between CDN node 200 bad, for example, see
Shown in Fig. 1, it is referred to as network inferior at this, it typically is the network inferior of low bandwidth, low delay.Thus, acting on behalf of CDN joint
The first transmission parameter that between point 200 and client 100, optional requirement is higher.Certainly it should be noted that current net
Network, based on Transmission Control Protocol, is described the most in this application as a example by TCP transmission agreement, and above-mentioned transmission parameter is TCP transmission
Parameter.Certain other host-host protocols that the most also may select, the most current existing host-host protocol, or
The host-host protocol of person's Future Development is used equally in the embodiment of the present invention.
Acting on behalf of CDN node 200 for first in data access message is transmitted parameter modification is the second transmission parameter, and
Data access message is sent to source station 300, wherein, uses the efficiency of transmission of the second transmission parameter more than using the first transmission ginseng
The efficiency of transmission of number.In an embodiment of the present invention, act on behalf of the network characteristic between CDN node 200 and source station 300 relatively good,
For example, see shown in Fig. 1, be referred to as high-quality network at this, its usual high bandwidth, the high-quality network of long delay.Thus, in generation
Optional second transmission parameter between reason CDN node 200 and source station 300.Equally, at this certainly it should be noted that current
Network, based on Transmission Control Protocol, is described the most in this application as a example by TCP transmission agreement, and above-mentioned transmission parameter is that TCP passes
Defeated parameter.Certain other host-host protocols that the most also may select, the most current existing host-host protocol,
Or the host-host protocol of Future Development is used equally in the embodiment of the present invention.
Therefore, in an embodiment of the present invention, owing to acting on behalf of CDN node 200 by the first transmission in data access message
Parameter modification is the second transmission parameter, therefore causes this data access message acting on behalf of between CDN node 200 and source station 300
Transmission speed faster, more can adapt to act on behalf of the network of the high-quality between CDN node 200 and source station 300.Simultaneously as agency
Distant between CDN node 200 and source station 300, such as, act on behalf of the CDN node that CDN node 200 is Yunnan Province, and source station
300 in Beijing, therefore acts on behalf of the transmission speed between CDN node 200 and source station 300 by raising, it is possible to carry significantly
The access speed of high user.
In one embodiment of the invention, transmission parameter includes that TCP initially sends congestion window, Retransmission timeout time
RTO, congestion avoidance algorithm etc..The transmission congestion window of such as tcp.For high-quality long distance link, send congestion window and suitably adjust
Greatly, for short distance link inferior, congestion window to be turned down.Set-up mode can be " iproute change
Defaultvia<gateway>deveth 0initcwnd<iw>" kernel code can also be revised, increase the side of proc parameter
Formula.
Source station 300 is for obtaining corresponding data according to data access message, and disappears according to the data genaration response obtained
Breath, and this response message is sent to acting on behalf of CDN node 200.In one embodiment of the invention, connect due to source station 300
The data access message received has the second transmission parameter, and the most acquiescently, source station 300 feeds back to the sound acting on behalf of CDN node 200
Answer and message also has the second transmission parameter.This can not repeat them here by source station 300 is configured realization.
In one embodiment of the invention, act on behalf of CDN node 200 and receive the response message of source station 300 feedback, and will ring
Answering the in message second transmission parameter modification is to be forwarded to client 100 after the first transmission parameter.Client 100 is according to this response
Message obtains corresponding data.
In an embodiment of the present invention, act on behalf of the procotol using customization between CDN node 200 and source station 300, its
In, the efficiency of transmission of the procotol of customization is more than client 100 and acts on behalf of the common network association used between CDN node 200
View.
In an embodiment of the present invention, by acting on behalf of CDN node, the transmission parameter of data access message can be modified,
So that amended transmission parameter can be more suitable for acting on behalf of between CDN node and source station preferably network environment, thus
Improve the access speed of data.
In an embodiment of the present invention, act on behalf of the procotol using customization between CDN node 200 and source station 300, customization
Procotol efficiency of transmission more than client 100 and act on behalf of between CDN node 200 use common network protocol.
As shown in Figure 4, for being a kind of structured flowchart acting on behalf of CDN node.
CDN node of acting on behalf of as shown in Figure 4 includes following structure.Act on behalf of CDN node and include receiver module 210, revise mould
Block 220 and sending module 230.
Wherein, receiver module 210, for receiving the data access message that client sends, wherein, data access message has
There is the first transmission parameter.
Wherein, modified module 220, is the second transmission ginseng for first in data access message is transmitted parameter modification
Number, wherein, uses the efficiency of transmission of the second transmission parameter more than the efficiency of transmission using the first transmission parameter.Reality in the present invention
Executing in example, the second transmission parameter modification that modified module 220 is additionally operable in the response message fed back the source station of reception is first
Transmission parameter, to be forwarded to client by sending module 230.
Wherein, sending module 230, for sending amended for modified module 220 data access message to source station.Equally
Ground, in an embodiment of the present invention, the sending module also amended response message of modified module 220 sends to client.
In an embodiment of the present invention, by acting on behalf of CDN node, the transmission parameter of data access message can be modified,
So that amended transmission parameter can be more suitable for acting on behalf of between CDN node and source station preferably network environment, thus
Improve the access speed of data.
As it is shown in figure 5, be the flow process of the data access method based on CDN according to another embodiment of the present invention
Figure.The embodiment of the present invention, for above embodiment, adds second agent's CDN node, this second agent's CDN node
CDN node for nearly source station.
As it is shown in figure 5, comprise the steps for data access method based on CDN.
Step S501, first agent's CDN node receives the data access message of client, and wherein, data access message has
There is the first transmission parameter.In an embodiment of the present invention, between client and first agent's CDN node, usual network characteristic is not
Good, for example, see shown in Fig. 1, be referred to as network inferior at this, it typically is the network inferior of low bandwidth, low delay.Thus,
The first transmission parameter that optional requirement is higher between first agent's CDN node and client.Certainly it should be noted that
Current network, based on Transmission Control Protocol, is described the most in this application as a example by TCP transmission agreement, above-mentioned transmission parameter
For TCP transmission parameter.Certainly the most also may select other host-host protocols, the most current existing biography
Transmission protocol, or the host-host protocol of Future Development is used equally in the embodiment of the present invention.
Step S502, the first transmission parameter modification in data access message is the second transmission by first agent's CDN node
Parameter, and data access message is sent to second agent's CDN node, wherein, the efficiency of transmission using the second transmission parameter is big
In the efficiency of transmission using the first transmission parameter.In an embodiment of the present invention, first agent's CDN node and second agent CDN
Network characteristic between node is relatively good, for example, see shown in Fig. 1, be referred to as high-quality network at this, and its usual high bandwidth, length
The high-quality network of time delay.Thus, optional second transmission parameter between first agent's CDN node and second agent's CDN node.
Certainly it should be noted that current network is based on Transmission Control Protocol, carry out as a example by TCP transmission agreement the most in this application
Describing, above-mentioned transmission parameter is TCP transmission parameter.Certainly the most also may select other transmission associations
View, the most current existing host-host protocol, or the host-host protocol of Future Development are used equally in the embodiment of the present invention.
Therefore, in an embodiment of the present invention, owing to first agent's CDN node is by the first transmission in data access message
Parameter modification is the second transmission parameter, therefore causes this data access message to save in first agent's CDN node and second agent CDN
Transmission speed between point faster, more can adapt to the net of high-quality between first agent's CDN node and second agent's CDN node
Network.Simultaneously as distant between first agent's CDN node and second agent's CDN node, such as first agent CDN saves
Point is the CDN node in Yunnan Province, and nearly source station second agent's CDN node is in Beijing, therefore acts on behalf of CDN node and the by raising
Two act on behalf of the transmission speed between CDN node, it is possible to the access speed of user is significantly increased.
In one embodiment of the invention, transmission parameter includes that TCP initially sends congestion window, Retransmission timeout time
RTO, congestion avoidance algorithm etc..The transmission congestion window of such as tcp.For high-quality long distance link, send congestion window and suitably adjust
Greatly, for short distance link inferior, congestion window to be turned down.Set-up mode can be " iproute change
Defaultvia<gateway>deveth 0initcwnd<iw>" kernel code can also be revised, increase the side of proc parameter
Formula.
Step S503, the second transmission parameter modification in data access message is the 3rd transmission by second agent's CDN node
Parameter, and data access message is sent to source station.In an embodiment of the present invention, between second agent's CDN node and source station
Network characteristic relatively good, be referred to as high-quality network at this, its usual high bandwidth, the high-quality network of long delay.Thus,
Two act on behalf of optional 3rd transmission parameter between CDN node and source station.In an embodiment of the present invention, usual second transmission parameter
Efficiency of transmission will equal to or more than the 3rd transmission parameter efficiency of transmission.
Certainly it should be noted that current network is based on Transmission Control Protocol, the most in this application with TCP transmission agreement
As a example by be described, above-mentioned transmission parameter is TCP transmission parameter.Certainly the most also may select other
Host-host protocol, the most current existing host-host protocol, or the host-host protocol of Future Development are used equally in the embodiment of the present invention.
Step S504, source station obtains corresponding data according to data access message, and according to the data genaration response obtained
Message, and this response message is sent to second agent's CDN node.In one embodiment of the invention, connect due to source station
The data access message received has the 3rd transmission parameter, and the most acquiescently, source station feeds back to the response of second agent's CDN node
Message also has the 3rd transmission parameter.This can not repeat them here by source station is configured realization.
Step S505, second agent's CDN node receives the response message of source station feedback, and by the 3rd biography in response message
Defeated parameter modification is to be forwarded to first agent's CDN node after the second transmission parameter.
Step S506, first agent's CDN node receives the response message of second agent's CDN node feedback, and response is disappeared
The second transmission parameter modification in breath is to be forwarded to client after the first transmission parameter.
Step S507, client obtains corresponding data according to this response message.
In an embodiment of the present invention, the network of customization is used between first agent's CDN node and second agent's CDN node
Agreement, wherein, the efficiency of transmission of the procotol of customization is more than the common network used between client and first agent's CDN node
Network agreement.
In an embodiment of the present invention, respectively data can be visited by first agent's CDN node and second agent's CDN node
Ask that the transmission parameter of message is modified, so that amended transmission parameter can be more suitable for first agent's CDN node
And preferably network environment between second agent's CDN node, between second agent's CDN node and between source station, thus improve number
According to access speed.On the other hand, by second agent's CDN node can the configuration of the most more new transport parameters, and without right
Modifying in source station, thus improves the convenience of system update and upgrading.
As shown in Figure 6, for the structure chart of the data access system based on CDN according to one embodiment of the invention.
This is used for data access system based on CDN and includes client 100, first agent's CDN node 200, second
Act on behalf of CDN node 300 and source station 400.
Wherein, client 100 is for sending data access message, wherein, data access to first agent's CDN200 node
Message has the first transmission parameter.In an embodiment of the present invention, between client 100 and first agent's CDN node 200 generally
Network characteristic is bad, for example, see shown in Fig. 1, be referred to as network inferior at this, it typically is the poor quality of low bandwidth, low delay
Network.Thus, the first transmission parameter that optional requirement is higher between first agent's CDN node 100 and client 200.
Certainly it should be noted that current network is based on Transmission Control Protocol, carry out as a example by TCP transmission agreement the most in this application
Describing, above-mentioned transmission parameter is TCP transmission parameter.Certainly the most also may select other transmission associations
View, the most current existing host-host protocol, or the host-host protocol of Future Development are used equally in the embodiment of the present invention.
Wherein, first agent's CDN node 200 is the second biography for first in data access message is transmitted parameter modification
Defeated parameter, and data access message is sent to second agent's CDN node 300, wherein, use the transmission effect of the second transmission parameter
Rate is more than the efficiency of transmission using the first transmission parameter.In an embodiment of the present invention, first agent's CDN node 200 and second
Acting on behalf of the network characteristic between CDN node 300 relatively good, for example, see shown in Fig. 1, be referred to as high-quality network at this, it leads to
Often high bandwidth, the high-quality network of long delay.Thus, optional second biography between second agent's CDN node 300 and source station 400
Defeated parameter.Certainly it should be noted that current network is based on Transmission Control Protocol, with TCP transmission agreement it is the most in this application
Example is described, and above-mentioned transmission parameter is TCP transmission parameter.Certainly the most also may select other to pass
Transmission protocol, the most current existing host-host protocol, or the host-host protocol of Future Development are used equally in the embodiment of the present invention.
Therefore, in an embodiment of the present invention, owing to first agent's CDN node 200 is by first in data access message
Transmission parameter modification is the second transmission parameter, therefore causes this data access message in first agent's CDN node 200 and the second filial generation
Transmission speed between reason CDN node 300 faster, more can adapt to first agent's CDN node 200 and second agent's CDN node
The network of the high-quality between 300.Simultaneously as the distance between first agent's CDN node 200 and second agent's CDN node 300
Farther out, such as first agent's CDN node 200 is the CDN node in Yunnan Province, and nearly source station 400 second agent's CDN node 300 exists
Beijing, therefore by improving the transmission speed between first agent's CDN node 200 and second agent's CDN node 300, it is possible to
The access speed of user is significantly increased.
In one embodiment of the invention, transmission parameter includes that TCP initially sends congestion window, Retransmission timeout time
RTO, congestion avoidance algorithm etc..The transmission congestion window of such as tcp.For high-quality long distance link, send congestion window and suitably adjust
Greatly, for short distance link inferior, congestion window to be turned down.Set-up mode can be " iproute change
Defaultvia<gateway>deveth 0initcwnd<iw>" kernel code can also be revised, increase the side of proc parameter
Formula.
Wherein, second agent's CDN node 300, is the 3rd for second in data access message is transmitted parameter modification
Transmission parameter, and data access message is sent to source station 400.In an embodiment of the present invention, second agent's CDN node 300
With network characteristic between source station 400 is relatively good, is referred to as high-quality network at this, its usual high bandwidth, the high-quality of long delay
Network.Thus, optional 3rd transmission parameter between second agent's CDN node 300 and source station 400.Certainly explanation is needed
Being that current network, based on Transmission Control Protocol, is described the most in this application as a example by TCP transmission agreement, above-mentioned transmission is joined
Number is TCP transmission parameter.Certainly the most also may select other host-host protocols, the most existing
Host-host protocol, or the host-host protocol of Future Development is used equally in the embodiment of the present invention.
Wherein, source station 400 is for obtaining corresponding data according to data access message, and rings according to the data genaration obtained
Answer message, and this response message is sent to second agent's CDN node 300.In one embodiment of the invention, due to source
The 400 data access message received of standing have the 3rd transmission parameter, and the most acquiescently, source station feeds back to second agent CDN joint
The response message of point 300 also has the 3rd transmission parameter.This can be the most superfluous at this by source station 400 is configured realization
State.
In an embodiment of the present invention, second agent's CDN node 300 is additionally operable to receive the response message of source station 400 feedback,
And be to be forwarded to first agent's CDN node 200 after the second transmission parameter by the 3rd transmission parameter modification in response message.
In an embodiment of the present invention, first agent's CDN node 200, it is additionally operable to receive second agent's CDN node 300
The response message sent, and be to be forwarded to client 100 after the first transmission parameter by the second transmission parameter modification in response message.
Client 100 obtains corresponding data according to this response message.
In an embodiment of the present invention, customization is used between first agent's CDN node 100 and second agent's CDN node 200
Procotol, wherein, the efficiency of transmission of the procotol of customization is more than between client 100 and first agent's CDN200 node
The common network protocol used.
In an embodiment of the present invention, respectively data can be visited by first agent's CDN node and second agent's CDN node
Ask that the transmission parameter of message is modified, so that amended transmission parameter can be more suitable for first agent's CDN node
And preferably network environment between second agent's CDN node, between second agent's CDN node and between source station, thus improve number
According to access speed.On the other hand, by second agent's CDN node can the configuration of the most more new transport parameters, and without right
Modifying in source station, thus improves the convenience of system update and upgrading.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, the software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage
Or firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under
Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function
Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), on-the-spot
Programmable gate array (FPGA) etc..
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show
Example " or the description of " some examples " etc. means to combine this embodiment or example describes specific features, structure, material or spy
Point is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any
One or more embodiments or example in combine in an appropriate manner.
Although an embodiment of the present invention has been shown and described, it will be understood by those skilled in the art that: not
These embodiments can be carried out multiple change in the case of departing from the principle of the present invention and objective, revise, replace and modification, this
The scope of invention is limited by claim and equivalent thereof.
Claims (15)
1. a data access method based on content distributing network CDN, it is characterised in that comprise the following steps:
Acting on behalf of CDN node and receive the data access message of client, wherein, described data access message has the first transmission ginseng
Number;And
Described act on behalf of CDN node by described data access message first transmission parameter modification be the second transmission parameter, and will
Described data access message sends to source station, wherein, uses the efficiency of transmission of described second transmission parameter more than using described the
The efficiency of transmission of one transmission parameter, wherein, described first transmission parameter and the second transmission parameter are transmission control protocol TCP transmission
Parameter, described first transmission parameter and the second transmission parameter include that TCP initially sends congestion window, Retransmission timeout time RTO, gather around
Plug control algolithm.
2. data access method as claimed in claim 1, it is characterised in that described act on behalf of between CDN node and described source station
Using the procotol of customization, the efficiency of transmission of the procotol of described customization acts on behalf of CDN joint more than described client with described
The common network protocol used between point.
3. data access method as claimed in claim 1, it is characterised in that also include:
Described CDN node of acting on behalf of receives the response message of described source station feedback;And
Described act on behalf of CDN node by described response message described second transmission parameter modification be described first transmission parameter after
It is forwarded to described client.
4. a data access system based on CDN, it is characterised in that include client, act on behalf of CDN node and source station,
Wherein,
Described client, for sending data access message to described CDN node of acting on behalf of, wherein, described data access message has
There is the first transmission parameter;
Described act on behalf of CDN node, for being the second transmission parameter by the first transmission parameter modification in described data access message,
And described data access message is sent to described source station, wherein, use the efficiency of transmission of described second transmission parameter more than adopting
By the efficiency of transmission of described first transmission parameter, wherein, described first transmission parameter and the second transmission parameter include originating at the beginning of TCP
Send congestion window, Retransmission timeout time RTO, congestion avoidance algorithm.
5. data access system as claimed in claim 4, it is characterised in that described act on behalf of between CDN node and described source station
Using the procotol of customization, the efficiency of transmission of the procotol of described customization acts on behalf of CDN joint more than described client with described
The common network protocol used between point.
6. data access system as claimed in claim 4, it is characterised in that described CDN node of acting on behalf of is additionally operable to described in reception
The response message of source station feedback, and be described first transmission parameter by the described second transmission parameter modification in described response message
After be forwarded to described client.
7. act on behalf of CDN node for one kind, it is characterised in that including:
Receiver module, for receiving the data access message that client sends, wherein, described data access message has the first biography
Defeated parameter;
Modified module, for being the second transmission parameter by the first transmission parameter modification in described data access message, wherein, adopts
By the efficiency of transmission of described second transmission parameter more than the efficiency of transmission using described first transmission parameter;And
Sending module, for amended for described modified module described data access message is sent to source station, wherein, described the
One transmission parameter and the second transmission parameter include that TCP initially sends congestion window, Retransmission timeout time RTO, congestion avoidance algorithm.
Act on behalf of CDN node the most as claimed in claim 7, it is characterised in that described agency is adopted between CDN node and described source station
By the procotol of customization, the efficiency of transmission of the procotol of described customization acts on behalf of CDN node more than described client with described
Between use common network protocol.
Act on behalf of CDN node the most as claimed in claim 7, it is characterised in that described modified module be additionally operable to will receive described in
Described second transmission parameter modification in the response message of source station feedback is described first transmission parameter, with by described transmission mould
Block is forwarded to described client.
10. a data access method based on CDN, it is characterised in that comprise the following steps:
First agent's CDN node receives the data access message of client, and wherein, described data access message has the first transmission
Parameter;And
The first transmission parameter modification in described data access message is the second transmission parameter by described first agent's CDN node,
And described data access message is sent to second agent's CDN node, wherein, use the efficiency of transmission of described second transmission parameter
More than the efficiency of transmission using described first transmission parameter;
The second transmission parameter modification in described data access message is the 3rd transmission parameter by described second agent's CDN node,
And by described data access message send to source station, wherein, use described second transmission parameter efficiency of transmission more than or etc.
In using the described 3rd efficiency of transmission transmitting parameter, wherein, described first transmission parameter, the second transmission parameter and the 3rd transmission
Parameter includes that TCP initially sends congestion window, Retransmission timeout time RTO, congestion avoidance algorithm.
11. data access methods as claimed in claim 10, it is characterised in that described first agent's CDN node and described
Two act on behalf of the procotol using customization between CDN node, and the efficiency of transmission of the procotol of described customization is more than described client
The common network protocol used between end and described first agent's CDN node.
12. data access methods as claimed in claim 10, it is characterised in that also include:
Described second agent's CDN node receives the response message of described source station feedback;
Described 3rd transmission parameter modification in described response message is described second transmission ginseng by described second agent's CDN node
Described first agent's CDN node it is forwarded to after number;
Described first agent's CDN node receives the response message that described second agent's CDN node sends;And
Described second transmission parameter modification in described response message is described first transmission ginseng by described first agent's CDN node
Described client it is forwarded to after number.
13. 1 kinds of data access systems based on CDN, it is characterised in that include client, first agent's CDN node,
Two act on behalf of CDN node and source station, wherein,
Described client, for sending data access message to described first agent's CDN node, wherein, described data access disappears
Breath has the first transmission parameter;
Described first agent's CDN node, is the second transmission for first in described data access message is transmitted parameter modification
Parameter, and described data access message is sent to described second agent's CDN node, wherein, use described second transmission parameter
Efficiency of transmission more than use described first transmission parameter efficiency of transmission;
Described second agent's CDN node, is the 3rd transmission for second in described data access message is transmitted parameter modification
Parameter, and described data access message is sent to described source station, wherein, the efficiency of transmission using described second transmission parameter is big
In or equal to use described 3rd transmission parameter efficiency of transmission, wherein, described first transmission parameter, second transmission parameter and
3rd transmission parameter includes that TCP initially sends congestion window, Retransmission timeout time RTO, congestion avoidance algorithm.
14. data access systems as claimed in claim 13, it is characterised in that described first agent's CDN node and described
Two act on behalf of the procotol using customization between CDN node, and the efficiency of transmission of the procotol of described customization is more than described client
The common network protocol used between end and described first agent's CDN node.
15. data access systems as claimed in claim 13, it is characterised in that
Described second agent's CDN node, is additionally operable to receive the response message of described source station feedback, and by described response message
Described 3rd transmission parameter modification be described second transmission parameter after be forwarded to described first agent's CDN node;
Described first agent's CDN node, is additionally operable to receive the response message that described second agent's CDN node sends, and by described
In response message described second transmission parameter modification be described first transmission parameter after be forwarded to described client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210387969.XA CN103731404B (en) | 2012-10-12 | 2012-10-12 | Data access method based on CDN, system and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210387969.XA CN103731404B (en) | 2012-10-12 | 2012-10-12 | Data access method based on CDN, system and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103731404A CN103731404A (en) | 2014-04-16 |
CN103731404B true CN103731404B (en) | 2016-12-28 |
Family
ID=50455334
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210387969.XA Active CN103731404B (en) | 2012-10-12 | 2012-10-12 | Data access method based on CDN, system and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103731404B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104618237B (en) * | 2015-01-21 | 2017-12-12 | 网宿科技股份有限公司 | A kind of wide area network acceleration system and method based on TCP/UDP |
CN107347100B (en) * | 2017-07-28 | 2020-04-21 | 成都知道创宇信息技术有限公司 | Transparent proxy forwarding method for content distribution network |
CN108737500B (en) * | 2018-04-20 | 2022-02-25 | 青岛海尔科技有限公司 | Target resource obtaining and providing method and device, storage medium and computer equipment |
CN110086880B (en) * | 2019-05-07 | 2020-05-22 | 北京字节跳动网络技术有限公司 | Method and apparatus for creating instances of network requests |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1865684A1 (en) * | 1999-12-20 | 2007-12-12 | Yahoo! Inc. | A content distribution system for operation over an internetwork including content peering arrangement |
CN101404585A (en) * | 2008-11-20 | 2009-04-08 | 中国电信股份有限公司 | Policy system and method for implementing content distribution network content management |
CN102137006A (en) * | 2010-12-31 | 2011-07-27 | 华为技术有限公司 | Data transmission method and equipment in CDN (Content Delivery Network) |
CN102196060A (en) * | 2011-06-15 | 2011-09-21 | 北京蓝汛通信技术有限责任公司 | Method and system for selecting source station by Cache server |
CN102710765A (en) * | 2012-05-28 | 2012-10-03 | 蓝汛网络科技(北京)有限公司 | Method, device and system for realizing transparent proxy through CDN server |
-
2012
- 2012-10-12 CN CN201210387969.XA patent/CN103731404B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1865684A1 (en) * | 1999-12-20 | 2007-12-12 | Yahoo! Inc. | A content distribution system for operation over an internetwork including content peering arrangement |
CN101404585A (en) * | 2008-11-20 | 2009-04-08 | 中国电信股份有限公司 | Policy system and method for implementing content distribution network content management |
CN102137006A (en) * | 2010-12-31 | 2011-07-27 | 华为技术有限公司 | Data transmission method and equipment in CDN (Content Delivery Network) |
CN102196060A (en) * | 2011-06-15 | 2011-09-21 | 北京蓝汛通信技术有限责任公司 | Method and system for selecting source station by Cache server |
CN102710765A (en) * | 2012-05-28 | 2012-10-03 | 蓝汛网络科技(北京)有限公司 | Method, device and system for realizing transparent proxy through CDN server |
Also Published As
Publication number | Publication date |
---|---|
CN103731404A (en) | 2014-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102780711B (en) | A kind of SNS application data access method and device thereof and system | |
CN102790798B (en) | Transparent proxy implementation, equipment and system in a kind of content distributing network | |
RU2630380C2 (en) | System and advertising push method (push) based on home gateway | |
CN102904959B (en) | Network accelerating method and gateway | |
US20120210011A1 (en) | Apparatus and methods for access solutions to wireless and wired networks | |
US20130058262A1 (en) | Methods and systems for access to real-time full-duplex web communications platforms | |
CN103731404B (en) | Data access method based on CDN, system and device | |
CN104137509A (en) | Method and apparatus for internet protocol based content router | |
CN103139137B (en) | Network service provider method and device | |
CN101662464A (en) | System for realizing HTTP request service and method thereof | |
US9065526B2 (en) | Relay device, relay method, and relay device control program | |
CN104009938A (en) | Method and system for long connections based on router level | |
CN104468315A (en) | Method for accelerating VPN based on intelligent gateway | |
CN103731487A (en) | Download method, device, system and router for resource file | |
CN101777068A (en) | Web page pre-reading and integrally browsing system for mobile communication equipment terminals and application method thereof | |
CN106230918A (en) | A kind of method and device setting up connection | |
CN110351288A (en) | An a kind of product contains the data push method of multiple columns | |
CN110380969A (en) | A kind of traffic scheduling method and system based on domain name | |
CN103259771B (en) | The interactive approach and device of a kind of network application | |
CN102404616B (en) | Method and system for pushing data cloud based on digital television network | |
WO2017107795A1 (en) | Method and device for accelerating access to website | |
CN108153803A (en) | A kind of data capture method, device and electronic equipment | |
CN105991793A (en) | Message forwarding method and device | |
CN103207877A (en) | Decoding method and device | |
CN104618805B (en) | A kind of VOD method and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |