CN103731404A - Data access method, system and device based on CDN - Google Patents

Data access method, system and device based on CDN Download PDF

Info

Publication number
CN103731404A
CN103731404A CN201210387969.XA CN201210387969A CN103731404A CN 103731404 A CN103731404 A CN 103731404A CN 201210387969 A CN201210387969 A CN 201210387969A CN 103731404 A CN103731404 A CN 103731404A
Authority
CN
China
Prior art keywords
transformation parameter
data access
cdn node
agent
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210387969.XA
Other languages
Chinese (zh)
Other versions
CN103731404B (en
Inventor
蒋浩
刘宁
张�诚
刘涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201210387969.XA priority Critical patent/CN103731404B/en
Publication of CN103731404A publication Critical patent/CN103731404A/en
Application granted granted Critical
Publication of CN103731404B publication Critical patent/CN103731404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention proposes a data access method, system and device based on a CDN. The method includes the following steps that an agent CDN node receives a data access message of a client side, wherein the data access message has a first transmission parameter; the agent CDN node modifies the first transmission parameter in the data access message into a second transmission parameter, and the data access message is sent to a source station, the transmission efficiency adopting the second transmission parameter is larger than the transmission efficiency adopting the first transmission parameter. According to the method, system and device, the transmission parameter of the data access message can be modified through the agent CDN node so that the modified transmission parameter can adapt to the optimal network environment between the agent CDN node and the source station better and the data access speed is increased.

Description

Data access method, system and device based on CDN network
Technical field
Communication network technology of the present invention field, particularly a kind of based on CDN(Content DeliveryNetwork, content distributing network) data access method, system and the device of network.
Background technology
The development of the Internet brings a very large facility to life, 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, the major issue occurring in the recent period in the world can cover all at one glance.The conceivable information of user oneself only need be inputted corresponding keyword in search column, then clicks and confirm, just having ten hundreds of relevant informations showed in moment, save the inconvenience bringing of hurrying back and forth of books and periodicals, paper and road, so saved the time, can enrich again our life.
But, be positioned at source station, Pekinese, accept user's in all parts of the country searching request.China is vast in territory, and user in all parts of the country visits Pekinese's search service, and the network environment in different locations is also different, and the network delay that will inevitably have many consumers is like this larger, causes thus access speed slack-off.
In sum, under existing network technical conditions, the problem of too much bringing due to calling party has:
1, network delay is larger, causes access speed slower, make user can not within the shortest time, obtain oneself need Search Results;
2, access speed is slower, makes whole webpage can only open half even still less, is unfavorable for browsing of user;
3, in the situation that calling party 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.
Summary 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 network, and characteristic is that the network bandwidth is less, and tens Kb/s are not to Mb/s etc.;
2, because the network bandwidth is little, unstable, thus easy packet loss;
3, the backbone network that source station connects to source station, depends on the network quality of source station, may be large broadband high-quality network, may be also little broadband network inferior.
Under normal circumstances, user directly accesses source station, any one bottleneck in the middle of link, all can affect whole link, such as the link inferior at subscriber's outlet place, or what the backbone network that source station connects to source station was used is little broadband network inferior, all can cause utilizing the characteristic of key net height broadband high-quality link, thereby reduce access speed.
Summary of the invention
The present invention is intended at least solve one of technical problem existing in prior art.
For this reason, one object of the present invention is to propose a kind of data access method of content-based distributing network CDN network.The method makes it possible to according to the characteristic of network, transformation parameter is optimized, thereby improves the access speed of data.
Second object of the present invention is to propose a kind of data access system based on CDN network.
The 3rd object of the present invention is to propose one and acts on behalf of CDN node.
The 4th object of the present invention is to propose a kind of data access method based on CDN network.
The 5th object of the present invention is to propose a kind of data access system based on CDN network.
To achieve these goals, according to the data access method based on CDN network of the embodiment of first aspect present invention, comprise the following steps: act on behalf of the data access message of CDN node reception client, wherein, described data access message has the first transformation parameter; And the described CDN of agency node is revised as the second transformation parameter by the first transformation parameter in described data access message, and described data access message is sent to source station, wherein, adopt the efficiency of transmission of described the second transformation parameter to be greater than the efficiency of transmission that adopts described the first transformation parameter.
In an embodiment of the present invention, can to the transformation parameter of data access message, modify by acting on behalf of CDN node, thereby make amended transformation parameter can more be applicable to acting on behalf of between CDN node and source station preferably network environment, thereby improve the access speed of data.
To achieve these goals, according to a kind of data access system based on CDN network of the proposition of the embodiment of second aspect present invention, comprise client, act on behalf of CDN node and source station, wherein, described client, for sending data access message to the described CDN node of acting on behalf of, wherein, described data access message has the first transformation parameter; The described CDN node of acting on behalf of, for the first transformation parameter of described data access message is revised as to the second transformation parameter, and described data access message is sent to described source station, wherein, adopt the efficiency of transmission of described the second transformation parameter to be greater than the efficiency of transmission that adopts described the first transformation parameter.
In an embodiment of the present invention, can to the transformation parameter of data access message, modify by acting on behalf of CDN node, thereby make amended transformation parameter can more be applicable to acting on behalf of between CDN node and source station preferably network environment, thereby improve the access speed of data.
To achieve these goals, according to the proposition one of the embodiment of third aspect present invention, act on behalf of CDN node and comprise: receiver module, the data access message sending for receiving client, wherein, described data access message has the first transformation parameter; Modified module, for the first transformation parameter of described data access message is revised as to the second transformation parameter, wherein, adopts the efficiency of transmission of described the second transformation parameter to be greater than the efficiency of transmission that adopts described the first transformation parameter; Sending module, for being sent to source station by amended described modified module described data access message.
In an embodiment of the present invention, can to the transformation parameter of data access message, modify by acting on behalf of CDN node, thereby make amended transformation parameter can more be applicable to acting on behalf of between CDN node and source station preferably network environment, thereby improve the access speed of data.
To achieve these goals, according to a kind of data access method based on CDN network of the proposition of the embodiment of fourth aspect present invention, comprise the following steps: first agent CDN node receives the data access message of client, wherein, described in there is the first transformation parameter; And described first agent CDN node is revised as the second transformation parameter by the first transformation parameter in described data access message, and described data access message is sent to second agent CDN node, wherein, adopt the efficiency of transmission of described the second transformation parameter to be greater than the efficiency of transmission that adopts described the first transformation parameter; Described second agent CDN node is revised as the 3rd transformation parameter by the second transformation parameter in described data access message, and described data access message is sent to source station, wherein, adopt the efficiency of transmission of described the second transformation parameter to be greater than or equal to the efficiency of transmission that adopts described the 3rd transformation parameter.
In an embodiment of the present invention, can to the transformation parameter of data access message, modify respectively by first agent CDN node and second agent CDN node, thereby make amended transformation parameter can more be applicable between first agent CDN node and second agent CDN node, between second agent CDN node and between source station preferably network environment, thereby improve the access speed of data.On the other hand, by the more configuration of new transport parameters at any time of second agent CDN node, and without being modified in source station, thereby improved the convenience of system update and upgrading.
To achieve these goals, according to a kind of data access system based on CDN network of the proposition of the embodiment of fifth aspect present invention, comprise client, first agent CDN node, second agent CDN node and source station, wherein, described client, for sending data access message to described first agent CDN node, wherein, described data access message has the first transformation parameter; Described first agent CDN node, for the first transformation parameter of described data access message is revised as to the second transformation parameter, and described data access message is sent to described second agent CDN node, wherein, adopt the efficiency of transmission of described the second transformation parameter to be greater than the efficiency of transmission that adopts described the first transformation parameter; Described second agent CDN node, for the second transformation parameter of described data access message is revised as to the 3rd transformation parameter, and described data access message is sent to described source station, wherein, adopt the efficiency of transmission of described the second transformation parameter to be greater than or equal to the efficiency of transmission that adopts described the 3rd transformation parameter.
In an embodiment of the present invention, can to the transformation parameter of data access message, modify respectively by first agent CDN node and second agent CDN node, thereby make amended transformation parameter can more be applicable between first agent CDN node and second agent CDN node, between second agent CDN node and between source station preferably network environment, thereby improve the access speed of data.On the other hand, by the more configuration of new transport parameters at any time of second agent CDN node, and without being modified in source station, thereby improved the convenience of system update and upgrading.
Additional aspect of the present invention and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Accompanying drawing explanation
Above-mentioned and/or additional aspect of the present invention and advantage accompanying drawing below combination is understood becoming the description of embodiment obviously and easily, wherein:
Fig. 1 is the data access schematic diagram of one embodiment of the invention;
Fig. 2 is the flow chart of the data access method based on CDN network according to an embodiment of the invention;
Fig. 3 is the structure chart of the data access system based on CDN network according to an embodiment of the invention;
Fig. 4 is a kind of according to an embodiment of the invention structured flowchart of the CDN of agency node;
Fig. 5 is the flow chart of the data access method based on CDN network according to an embodiment of the invention; And
Fig. 6 is the structure chart of the data access system based on CDN network according to an embodiment of the invention.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Below by the embodiment being described with reference to the drawings, be exemplary, only for explaining the present invention, and can not be interpreted as limitation of the present invention.On the contrary, embodiments of the invention comprise all changes, modification and the equivalent within the scope of spirit and the intension that falls into additional claims.
In description of the invention, it will be appreciated that, term " first ", " second " etc. are only for describing object, and can not be interpreted as indication or hint relative importance.In description of the invention, it should be noted that, unless otherwise clearly defined and limited, term " is connected ", " connection " should be interpreted broadly, and for example, can be to be fixedly connected with, and can be also to removably connect, or connects integratedly; Can be mechanical connection, can be also electrical connection; Can be to be directly connected, also can indirectly be connected by intermediary.For the ordinary skill in the art, can concrete condition understand above-mentioned term concrete meaning in the present invention.In addition,, in description of the invention, except as otherwise noted, the implication of " multiple " is two or more.
Any process of otherwise describing in flow chart or at this or method are described and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
Because China is with a vast territory, therefore user in all parts of the country accesses Pekinese's search service, and the network delay that will inevitably have many consumers is larger, causes thus access speed slack-off.The present invention utilizes the different characteristic of user network segmentation, can accelerate user's access.
Consulting shown in Fig. 1, is the data access schematic diagram of one embodiment of the invention.User is different to the network condition between source station.General domestic consumer, user terminal is less to the network bandwidth of local metropolitan area network, and tens Kb/s are not to several Mb/s etc.Because bandwidth is little, line quality is poor in addition, unstable, thus easy packet loss.And backbone network from local metropolitan area network to junction, source station, be provider backbone network, feature is to be with roomyly, tens Gb/s are to hundreds of Gb/s.The backbone network that source station links to source station, depends on the network quality of source station, may be large bandwidth high-quality network, may be also the wide network inferior of small band.
As shown in Figure 2, be the flow chart of the data access method based on CDN network according to an embodiment of the invention.As shown in Figure 1, be the data access schematic diagram of one embodiment of the invention.
As shown in Figure 2, the data access method based on CDN network 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 first transformation parameter.In an embodiment of the present invention, client and act on behalf of between CDN node that network characteristic is bad, for example shown in Figure 1 conventionally, is referred to as network inferior at this, it typically is the network inferior of low bandwidth, low delay.Thereby, between CDN node and client, can select to require the first higher transformation parameter acting on behalf of.Certainly it should be noted that, current network, take Transmission Control Protocol as main, is therefore described as an example of TCP host-host protocol example in this application, and above-mentioned transformation parameter is TCP transformation parameter.Certainly also can select in other embodiments of the invention other host-host protocols, for example current existing host-host protocol, or the host-host protocol of Future Development all can be used in the embodiment of the present invention.
Step S202, acts on behalf of CDN node the first transformation parameter in data access message is revised as to the second transformation parameter, and data access message is sent to source station, wherein, adopts the efficiency of transmission of the second transformation parameter to be greater than the efficiency of transmission that adopts the first transformation parameter.In an embodiment of the present invention, act on behalf of network characteristic between CDN node and source station relatively good, for example shown in Figure 1, at this, be referred to as high-quality network, the high-quality network of its common high bandwidth, long delay.Thereby, can select the second transformation parameter acting on behalf of between CDN node and source station.Equally, at this, certainly it should be noted that, current network, take Transmission Control Protocol as main, is therefore described as an example of TCP host-host protocol example in this application, and above-mentioned transformation parameter is TCP transformation parameter.Certainly also can select in other embodiments of the invention other host-host protocols, for example current existing host-host protocol, or the host-host protocol of Future Development all can be used in the embodiment of the present invention.
Therefore, in an embodiment of the present invention, owing to acting on behalf of CDN node, the first transformation parameter in data access message is revised as to the second transformation parameter, therefore cause this data access message to act on behalf of transmission speed between CDN node and source station faster, more can adapt to act on behalf of the network of the high-quality between CDN node and source station.Simultaneously, owing to acting on behalf of distant between CDN node and source station, for example acting on behalf of CDN node is the CDN node in Yunnan Province, and source station is in Beijing, therefore by raising, act on behalf of the transmission speed between CDN node and source station, just can improve significantly user's access speed.
In one embodiment of the invention, transformation parameter comprises TCP initialization congestion window, overtime re-transmission time RTO, congestion avoidance algorithm etc.Such as the transmission congestion window of tcp.For high-quality long distance link, send that congestion window is suitable tunes up, for short distance link inferior, congestion window will be turned down.Set-up mode can be that " ip route change defaultvia<gateway>dev eth0initcwnd<iw> " also can revise kernel code, increases the mode of proc parameter.
Step S203, source station obtains corresponding data according to data access message, and generates response message according to the data that obtain, and this response message is sent to and acts on behalf of CDN node.In one embodiment of the invention, the data access message receiving due to source station has the second transformation parameter, and therefore acquiescently, source station feeds back to and in the response message of acting on behalf of CDN node, also has the second transformation parameter.This can, by source station is arranged to realization, not repeat them here.
Step S204, acts on behalf of CDN node and receives the response message of source station feedback, and be forwarded to client after the second transformation parameter in response message is revised as to the first transformation parameter.
Step S205, client obtains corresponding data according to this response message.
In an embodiment of the present invention, act on behalf of the procotol that adopts customization between CDN node and source station, wherein, the efficiency of transmission of the procotol of customization is greater than client and acts on behalf of the common network agreement adopting between CDN node.
In an embodiment of the present invention, can to the transformation parameter of data access message, modify by acting on behalf of CDN node, thereby make amended transformation parameter can more be applicable to acting on behalf of between CDN node and source station preferably network environment, thereby improve the access speed of data.
As shown in Figure 3, be the structure chart for the data access system based on CDN network according to an embodiment of the invention.This is used for comprising client 100, acting on behalf of CDN node 200 and source station 300 based on the data access system of CDN network.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 transformation parameter.In an embodiment of the present invention, client 100 and act on behalf of between CDN node 200 that network characteristic is bad, for example shown in Figure 1 conventionally, is referred to as network inferior at this, it typically is the network inferior of low bandwidth, low delay.Thereby, between CDN node 200 and client 100, can select to require the first higher transformation parameter acting on behalf of.Certainly it should be noted that, current network, take Transmission Control Protocol as main, is therefore described as an example of TCP host-host protocol example in this application, and above-mentioned transformation parameter is TCP transformation parameter.Certainly also can select in other embodiments of the invention other host-host protocols, for example current existing host-host protocol, or the host-host protocol of Future Development all can be used in the embodiment of the present invention.
Act on behalf of CDN node 200 for the first transformation parameter of data access message is revised as to the second transformation parameter, and data access message is sent to source station 300, wherein, adopt the efficiency of transmission of the second transformation parameter to be greater than the efficiency of transmission that adopts the first transformation parameter.In an embodiment of the present invention, act on behalf of network characteristic between CDN node 200 and source station 300 relatively good, for example shown in Figure 1, at this, be referred to as high-quality network, the high-quality network of its common high bandwidth, long delay.Thereby, can select the second transformation parameter acting on behalf of between CDN node 200 and source station 300.Equally, at this, certainly it should be noted that, current network, take Transmission Control Protocol as main, is therefore described as an example of TCP host-host protocol example in this application, and above-mentioned transformation parameter is TCP transformation parameter.Certainly also can select in other embodiments of the invention other host-host protocols, for example current existing host-host protocol, or the host-host protocol of Future Development all can be used in the embodiment of the present invention.
Therefore, in an embodiment of the present invention, owing to acting on behalf of CDN node 200, the first transformation parameter in data access message is revised as to the second transformation parameter, therefore cause this data access message to act on behalf of transmission speed between CDN node 200 and source station 300 faster, more can adapt to act on behalf of the network of the high-quality between CDN node 200 and source station 300.Simultaneously, owing to acting on behalf of distant between CDN node 200 and source station 300, for example act on behalf of the CDN node that CDN node 200 is Yunnan Province, and 300 Beijing, source station, therefore by raising, act on behalf of the transmission speed between CDN node 200 and source station 300, just can improve significantly user's access speed.
In one embodiment of the invention, transformation parameter comprises TCP initialization congestion window, overtime re-transmission time RTO, congestion avoidance algorithm etc.Such as the transmission congestion window of tcp.For high-quality long distance link, send that congestion window is suitable tunes up, for short distance link inferior, congestion window will be turned down.Set-up mode can be that " ip route change default via<gateway>dev eth0initcwnd<iw> " also can revise kernel code, increases the mode of proc parameter.
Source station 300 is for obtaining corresponding data according to data access message, and generates response message according to the data that obtain, and this response message is sent to and acts on behalf of CDN node 200.In one embodiment of the invention, the data access message receiving due to source station 300 has the second transformation parameter, and therefore acquiescently, source station 300 feeds back to and in the response message of acting on behalf of CDN node 200, also has the second transformation parameter.This can, by source station 300 is arranged to realization, not repeat them here.
In one embodiment of the invention, act on behalf of CDN node 200 and receive the response message that feed back source station 300, and be forwarded to client 100 after the second transformation parameter in response message is revised as to the first transformation parameter.Client 100 obtains corresponding data according to this response message.
In an embodiment of the present invention, act on behalf of the procotol that adopts customization between CDN node 200 and source station 300, wherein, the efficiency of transmission of the procotol of customization is greater than client 100 and acts on behalf of the common network agreement adopting between CDN node 200.
In an embodiment of the present invention, can to the transformation parameter of data access message, modify by acting on behalf of CDN node, thereby make amended transformation parameter can more be applicable to acting on behalf of between CDN node and source station preferably network environment, thereby improve the access speed of data.
In an embodiment of the present invention, act on behalf of the procotol that adopts customization between CDN node 200 and source station 300, the efficiency of transmission of the procotol of customization is greater than client 100 and acts on behalf of the common network agreement adopting between CDN node 200.
As shown in Figure 4, for being a kind of according to an embodiment of the invention structured flowchart of the CDN of agency node.
The CDN node of acting on behalf of as shown in Figure 4 comprises following structure.Act on behalf of CDN node and comprise receiver module 210, modified module 220 and sending module 230.
Wherein, receiver module 210, the data access message sending for receiving client, wherein, data access message has the first transformation parameter.
Wherein, modified module 220, for the first transformation parameter of data access message is revised as to the second transformation parameter, wherein, adopts the efficiency of transmission of the second transformation parameter to be greater than the efficiency of transmission that adopts the first transformation parameter.In an embodiment of the present invention, modified module 220 is also for the second transformation parameter of the response message of the source station feedback of reception is revised as to the first transformation parameter, to be forwarded to client by sending module 230.
Wherein, sending module 230, for being sent to source station by amended modified module 220 data access message.Similarly, in an embodiment of the present invention, the sending module also amended response message of modified module 220 is sent to client.
In an embodiment of the present invention, can to the transformation parameter of data access message, modify by acting on behalf of CDN node, thereby make amended transformation parameter can more be applicable to acting on behalf of between CDN node and source station preferably network environment, thereby improve the access speed of data.
As shown in Figure 5, be the flow chart of the data access method based on CDN network in accordance with another embodiment of the present invention.The embodiment of the present invention, for above embodiment, has increased second agent CDN node, the CDN node that this second agent CDN node is nearly source station.
As shown in Figure 5, for the data access method based on CDN network, comprise the steps.
Step S501, first agent CDN node receives the data access message of client, and wherein, data access message has the first transformation parameter.In an embodiment of the present invention, between client and first agent CDN node, network characteristic is bad, for example shown in Figure 1 conventionally, at this, is referred to as network inferior, it typically is the network inferior of low bandwidth, low delay.Thereby, between first agent CDN node and client, can select to require the first higher transformation parameter.Certainly it should be noted that, current network, take Transmission Control Protocol as main, is therefore described as an example of TCP host-host protocol example in this application, and above-mentioned transformation parameter is TCP transformation parameter.Certainly also can select in other embodiments of the invention other host-host protocols, for example current existing host-host protocol, or the host-host protocol of Future Development all can be used in the embodiment of the present invention.
Step S502, first agent CDN node is revised as the second transformation parameter by the first transformation parameter in data access message, and data access message is sent to second agent CDN node, wherein, adopt the efficiency of transmission of the second transformation parameter to be greater than the efficiency of transmission that adopts the first transformation parameter.In an embodiment of the present invention, the network characteristic between first agent CDN node and second agent CDN node is relatively good, for example shown in Figure 1, at this, is referred to as high-quality network, the high-quality network of its common high bandwidth, long delay.Thereby, between first agent CDN node and second agent CDN node, can select the second transformation parameter.Certainly it should be noted that, current network, take Transmission Control Protocol as main, is therefore described as an example of TCP host-host protocol example in this application, and above-mentioned transformation parameter is TCP transformation parameter.Certainly also can select in other embodiments of the invention other host-host protocols, for example current existing host-host protocol, or the host-host protocol of Future Development all can be used in the embodiment of the present invention.
Therefore, in an embodiment of the present invention, because first agent CDN node is revised as the second transformation parameter by the first transformation parameter in data access message, therefore cause the transmission speed of this data access message between first agent CDN node and second agent CDN node faster, more can adapt to the network of the high-quality between first agent CDN node and second agent CDN node.Simultaneously, distant due between first agent CDN node and second agent CDN node, the CDN node that for example first agent CDN node is Yunnan Province, and nearly source station second agent CDN node is in Beijing, therefore by raising, act on behalf of the transmission speed between CDN node and second agent CDN node, just can improve significantly user's access speed.
In one embodiment of the invention, transformation parameter comprises TCP initialization congestion window, overtime re-transmission time RTO, congestion avoidance algorithm etc.Such as the transmission congestion window of tcp.For high-quality long distance link, send that congestion window is suitable tunes up, for short distance link inferior, congestion window will be turned down.Set-up mode can be that " ip route change default via<gateway>dev eth0initcwnd<iw> " also can revise kernel code, increases the mode of proc parameter.
Step S503, second agent CDN node is revised as the 3rd transformation parameter by the second transformation parameter in data access message, and data access message is sent to source station.In an embodiment of the present invention, the network characteristic between second agent CDN node and source station is relatively good, at this, is referred to as high-quality network, the high-quality network of its common high bandwidth, long delay.Thereby, between second agent CDN node and source station, can select the 3rd transformation parameter.In an embodiment of the present invention, the efficiency of transmission of common the second transformation parameter will be equal to or greater than the efficiency of transmission of the 3rd transformation parameter.
Certainly it should be noted that, current network, take Transmission Control Protocol as main, is therefore described as an example of TCP host-host protocol example in this application, and above-mentioned transformation parameter is TCP transformation parameter.Certainly also can select in other embodiments of the invention other host-host protocols, for example current existing host-host protocol, or the host-host protocol of Future Development all can be used in the embodiment of the present invention.
Step S504, source station obtains corresponding data according to data access message, and generates response message according to the data that obtain, and this response message is sent to second agent CDN node.In one embodiment of the invention, the data access message receiving due to source station has the 3rd transformation parameter, and therefore acquiescently, source station feeds back in the response message of second agent CDN node and also has the 3rd transformation parameter.This can, by source station is arranged to realization, not repeat them here.
Step S505, second agent CDN node receives the response message of source station feedback, and is forwarded to first agent CDN node after the 3rd transformation parameter in response message is revised as to the second transformation parameter.
Step S506, first agent CDN node receives the response message of second agent CDN node feedback, and is forwarded to client after the second transformation parameter in response message is revised as to the first transformation parameter.
Step S507, client obtains corresponding data according to this response message.
In an embodiment of the present invention, adopt the procotol of customization between first agent CDN node and second agent CDN node, wherein, the efficiency of transmission of the procotol of customization is greater than the common network agreement adopting between client and first agent CDN node.
In an embodiment of the present invention, can to the transformation parameter of data access message, modify respectively by first agent CDN node and second agent CDN node, thereby make amended transformation parameter can more be applicable between first agent CDN node and second agent CDN node, between second agent CDN node and between source station preferably network environment, thereby improve the access speed of data.On the other hand, by the more configuration of new transport parameters at any time of second agent CDN node, and without being modified in source station, thereby improved the convenience of system update and upgrading.
As shown in Figure 6, be the structure chart of the data access system based on CDN network according to an embodiment of the invention.
This is used for comprising client 100, first agent CDN node 200, second agent CDN node 300 and source station 400 based on the data access system of CDN network.
Wherein, client 100 is for sending data access message to first agent CDN200 node, and wherein, data access message has the first transformation parameter.In an embodiment of the present invention, between client 100 and first agent CDN node 200, network characteristic is bad, for example shown in Figure 1 conventionally, at this, is referred to as network inferior, it typically is the network inferior of low bandwidth, low delay.Thereby, between first agent CDN node 100 and client 200, can select to require the first higher transformation parameter.Certainly it should be noted that, current network, take Transmission Control Protocol as main, is therefore described as an example of TCP host-host protocol example in this application, and above-mentioned transformation parameter is TCP transformation parameter.Certainly also can select in other embodiments of the invention other host-host protocols, for example current existing host-host protocol, or the host-host protocol of Future Development all can be used in the embodiment of the present invention.
Wherein, first agent CDN node 200 is for being revised as the second transformation parameter by the first transformation parameter of data access message, and data access message is sent to second agent CDN node 300, wherein, adopt the efficiency of transmission of the second transformation parameter to be greater than the efficiency of transmission that adopts the first transformation parameter.In an embodiment of the present invention, the network characteristic between first agent CDN node 200 and second agent CDN node 300 is relatively good, for example shown in Figure 1, at this, is referred to as high-quality network, the high-quality network of its common high bandwidth, long delay.Thereby, between second agent CDN node 300 and source station 400, can select the second transformation parameter.Certainly it should be noted that, current network, take Transmission Control Protocol as main, is therefore described as an example of TCP host-host protocol example in this application, and above-mentioned transformation parameter is TCP transformation parameter.Certainly also can select in other embodiments of the invention other host-host protocols, for example current existing host-host protocol, or the host-host protocol of Future Development all can be used in the embodiment of the present invention.
Therefore, in an embodiment of the present invention, because first agent CDN node 200 is revised as the second transformation parameter by the first transformation parameter in data access message, therefore cause the transmission speed of this data access message between first agent CDN node 200 and second agent CDN node 300 faster, more can adapt to the network of the high-quality between first agent CDN node 200 and second agent CDN node 300.Simultaneously, distant due between first agent CDN node 200 and second agent CDN node 300, the CDN node that for example first agent CDN node 200 is Yunnan Province, and nearly source station 400 second agent CDN nodes 300 are in Beijing, therefore by improving the transmission speed between first agent's CDN node 200 and second agent CDN node 300, just can improve significantly user's access speed.
In one embodiment of the invention, transformation parameter comprises TCP initialization congestion window, overtime re-transmission time RTO, congestion avoidance algorithm etc.Such as the transmission congestion window of tcp.For high-quality long distance link, send that congestion window is suitable tunes up, for short distance link inferior, congestion window will be turned down.Set-up mode can be that " ip route change defaultvia<gateway>dev eth0initcwnd<iw> " also can revise kernel code, increases the mode of proc parameter.
Wherein, second agent CDN node 300, for the second transformation parameter of data access message is revised as to the 3rd transformation parameter, and is sent to source station 400 by data access message.In an embodiment of the present invention, the network characteristic between second agent CDN node 300 and source station 400 is relatively good, at this, is referred to as high-quality network, the high-quality network of its common high bandwidth, long delay.Thereby, between second agent CDN node 300 and source station 400, can select the 3rd transformation parameter.Certainly it should be noted that, current network, take Transmission Control Protocol as main, is therefore described as an example of TCP host-host protocol example in this application, and above-mentioned transformation parameter is TCP transformation parameter.Certainly also can select in other embodiments of the invention other host-host protocols, for example current existing host-host protocol, or the host-host protocol of Future Development all can be used in the embodiment of the present invention.
Wherein, source station 400 is for obtaining corresponding data according to data access message, and generates response message according to the data that obtain, and this response message is sent to second agent CDN node 300.In one embodiment of the invention, the data access message receiving due to source station 400 has the 3rd transformation parameter, and therefore acquiescently, source station feeds back in the response message of second agent CDN node 300 and also has the 3rd transformation parameter.This can, by source station 400 is arranged to realization, not repeat them here.
In an embodiment of the present invention, the response message that second agent CDN node 300 also feeds back for receiving source station 400, and be forwarded to first agent CDN node 200 after the 3rd transformation parameter in response message is revised as to the second transformation parameter.
In an embodiment of the present invention, first agent CDN node 200, the response message also sending for receiving second agent CDN node 300, and be forwarded to client 100 after the second transformation parameter in response message is revised as to the first transformation parameter.
Client 100 obtains corresponding data according to this response message.
In an embodiment of the present invention, between first agent CDN node 100 and second agent CDN node 200, adopt the procotol of customization, wherein, the efficiency of transmission of the procotol of customization is greater than the common network agreement adopting between client 100 and first agent CDN200 node.
In an embodiment of the present invention, can to the transformation parameter of data access message, modify respectively by first agent CDN node and second agent CDN node, thereby make amended transformation parameter can more be applicable between first agent CDN node and second agent CDN node, between second agent CDN node and between source station preferably network environment, thereby improve the access speed of data.On the other hand, by the more configuration of new transport parameters at any time of second agent CDN node, and without being modified in source station, thereby improved the convenience of system update and upgrading.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple steps or method can realize with being stored in software or the firmware carried out in memory and by suitable instruction execution system.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: there is the discrete logic for data-signal being realized to the logic gates of logic function, there is the application-specific integrated circuit (ASIC) of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And specific features, structure, material or the feature of description can be with suitable mode combination in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, those having ordinary skill in the art will appreciate that: in the situation that not departing from principle of the present invention and aim, can carry out multiple variation, modification, replacement and modification to these embodiment, scope of the present invention is limited by claim and equivalent thereof.

Claims (20)

1. a data access method for content-based distributing network CDN network, is characterized in that, comprises the following steps:
Act on behalf of the data access message that CDN node receives client, wherein, described data access message has the first transformation parameter; And
The described CDN of agency node is revised as the second transformation parameter by the first transformation parameter in described data access message, and described data access message is sent to source station, wherein, adopt the efficiency of transmission of described the second transformation parameter to be greater than the efficiency of transmission that adopts described the first transformation parameter.
2. data access method as claimed in claim 1, it is characterized in that, described the first transformation parameter and the second transformation parameter are transmission control protocol TCP transformation parameter, described the first transformation parameter and the second transformation parameter comprise TCP initialization congestion window, overtime re-transmission time RTO, congestion avoidance algorithm.
3. data access method as claimed in claim 1 or 2, it is characterized in that, the described procotol that adopts customization between CDN node and described source station of acting on behalf of, the efficiency of transmission of the procotol of described customization is greater than the common network agreement adopting between described client and the described CDN of agency node.
4. the data access method as described in claim 1-3 any one, is characterized in that, also comprises:
The described CDN of agency node receives the response message of described source station feedback; And
The described CDN of agency node is forwarded to described client after described the second transformation parameter in described response message is revised as to described the first transformation parameter.
5. the data access system based on CDN network, is characterized in that, comprise client, act on behalf of CDN node and source station, wherein,
Described client, for sending data access message to the described CDN node of acting on behalf of, wherein, described data access message has the first transformation parameter;
The described CDN node of acting on behalf of, for the first transformation parameter of described data access message is revised as to the second transformation parameter, and described data access message is sent to described source station, wherein, adopt the efficiency of transmission of described the second transformation parameter to be greater than the efficiency of transmission that adopts described the first transformation parameter.
6. data access system as claimed in claim 5, is characterized in that, described the first transformation parameter and the second transformation parameter comprise TCP initialization congestion window, overtime re-transmission time RTO, congestion avoidance algorithm.
7. data access system as claimed in claim 5, it is characterized in that, the described procotol that adopts customization between CDN node and described source station of acting on behalf of, the efficiency of transmission of the procotol of described customization is greater than the common network agreement adopting between described client and the described CDN of agency node.
8. data access system as claimed in claim 5, it is characterized in that, the response message that the described CDN of agency node also feeds back for receiving described source station, and be forwarded to described client after described the second transformation parameter in described response message is revised as to described the first transformation parameter.
9. act on behalf of a CDN node, it is characterized in that, comprising:
Receiver module, the data access message sending for receiving client, wherein, described data access message has the first transformation parameter;
Modified module, for the first transformation parameter of described data access message is revised as to the second transformation parameter, wherein, adopts the efficiency of transmission of described the second transformation parameter to be greater than the efficiency of transmission that adopts described the first transformation parameter; And
Sending module, for being sent to source station by amended described modified module described data access message.
10. the CDN node of acting on behalf of as claimed in claim 9, is characterized in that, described the first transformation parameter and the second transformation parameter comprise TCP initialization congestion window, overtime re-transmission time RTO, congestion avoidance algorithm.
The 11. CDN nodes of acting on behalf of as claimed in claim 9, it is characterized in that, the described procotol that adopts customization between CDN node and described source station of acting on behalf of, the efficiency of transmission of the procotol of described customization is greater than the common network agreement adopting between described client and the described CDN of agency node.
12. data access systems as claimed in claim 9, it is characterized in that, described modified module is also for described second transformation parameter of the response message of the described source station feedback receiving is revised as to described the first transformation parameter, to be forwarded to described client by described sending module.
13. 1 kinds of data access methods based on CDN network, is characterized in that, comprise the following steps:
First agent CDN node receives the data access message of client, wherein, described in there is the first transformation parameter; And
Described first agent CDN node is revised as the second transformation parameter by the first transformation parameter in described data access message, and described data access message is sent to second agent CDN node, wherein, adopt the efficiency of transmission of described the second transformation parameter to be greater than the efficiency of transmission that adopts described the first transformation parameter;
Described second agent CDN node is revised as the 3rd transformation parameter by the second transformation parameter in described data access message, and described data access message is sent to source station, wherein, adopt the efficiency of transmission of described the second transformation parameter to be greater than or equal to the efficiency of transmission that adopts described the 3rd transformation parameter.
14. data access methods as claimed in claim 13, is characterized in that, described the first transformation parameter, the second transformation parameter and the 3rd transformation parameter comprise TCP initialization congestion window, overtime re-transmission time RTO, congestion avoidance algorithm.
15. data access methods as claimed in claim 13, it is characterized in that, the procotol that adopts customization between described first agent CDN node and described second agent CDN node, the efficiency of transmission of the procotol of described customization is greater than the common network agreement adopting between described client and described first agent CDN node.
16. data access methods as claimed in claim 13, is characterized in that, also comprise:
Described second agent CDN node receives the response message of described source station feedback;
Described second agent CDN node is forwarded to described first agent CDN node after described the 3rd transformation parameter in described response message is revised as to described the second transformation parameter;
Described first agent CDN node receives the response message that described second agent CDN node sends; And
Described first agent CDN node is forwarded to described client after described the second transformation parameter in described response message is revised as to described the first transformation parameter.
17. 1 kinds of data access systems based on CDN network, is characterized in that, comprise client, first agent CDN node, second agent CDN node and source station, wherein,
Described client, for sending data access message to described first agent CDN node, wherein, described data access message has the first transformation parameter;
Described first agent CDN node, for the first transformation parameter of described data access message is revised as to the second transformation parameter, and described data access message is sent to described second agent CDN node, wherein, adopt the efficiency of transmission of described the second transformation parameter to be greater than the efficiency of transmission that adopts described the first transformation parameter;
Described second agent CDN node, for the second transformation parameter of described data access message is revised as to the 3rd transformation parameter, and described data access message is sent to described source station, wherein, adopt the efficiency of transmission of described the second transformation parameter to be greater than or equal to the efficiency of transmission that adopts described the 3rd transformation parameter.
18. data access systems as claimed in claim 17, is characterized in that, described the first transformation parameter, the second transformation parameter and the 3rd transformation parameter comprise TCP initialization congestion window, overtime re-transmission time RTO, congestion avoidance algorithm.
19. data access systems as claimed in claim 17, it is characterized in that, the procotol that adopts customization between described first agent CDN node and described second agent CDN node, the efficiency of transmission of the procotol of described customization is greater than the common network agreement adopting between described client and described first agent CDN node.
20. data access systems as claimed in claim 17, is characterized in that,
Described second agent CDN node, also for receiving the response message of described source station feedback, and is forwarded to described first agent CDN node after described the 3rd transformation parameter in described response message is revised as to described the second transformation parameter;
Described first agent CDN node, the response message also sending for receiving described second agent CDN node, and be forwarded to described client after described the second transformation parameter in described response message is revised as to described the first transformation parameter.
CN201210387969.XA 2012-10-12 2012-10-12 Data access method based on CDN, system and device Active CN103731404B (en)

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 true CN103731404A (en) 2014-04-16
CN103731404B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618237A (en) * 2015-01-21 2015-05-13 网宿科技股份有限公司 TCP/UDP (Transmission Control Protocol/User Datagram Protocol)-based wide area network acceleration system and method
CN107347100A (en) * 2017-07-28 2017-11-14 成都知道创宇信息技术有限公司 A kind of Transparent Proxy retransmission method of content distributing network
CN108737500A (en) * 2018-04-20 2018-11-02 青岛海尔科技有限公司 Target resource acquisition, providing method, device, storage medium and computer equipment
CN110086880A (en) * 2019-05-07 2019-08-02 北京字节跳动网络技术有限公司 The method and apparatus for creating the example of network request

Citations (5)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618237A (en) * 2015-01-21 2015-05-13 网宿科技股份有限公司 TCP/UDP (Transmission Control Protocol/User Datagram Protocol)-based wide area network acceleration system and method
CN104618237B (en) * 2015-01-21 2017-12-12 网宿科技股份有限公司 A kind of wide area network acceleration system and method based on TCP/UDP
CN107347100A (en) * 2017-07-28 2017-11-14 成都知道创宇信息技术有限公司 A kind of Transparent Proxy retransmission method of content distributing network
CN107347100B (en) * 2017-07-28 2020-04-21 成都知道创宇信息技术有限公司 Transparent proxy forwarding method for content distribution network
CN108737500A (en) * 2018-04-20 2018-11-02 青岛海尔科技有限公司 Target resource acquisition, providing method, device, storage medium and computer equipment
CN108737500B (en) * 2018-04-20 2022-02-25 青岛海尔科技有限公司 Target resource obtaining and providing method and device, storage medium and computer equipment
CN110086880A (en) * 2019-05-07 2019-08-02 北京字节跳动网络技术有限公司 The method and apparatus for creating the example of network request

Also Published As

Publication number Publication date
CN103731404B (en) 2016-12-28

Similar Documents

Publication Publication Date Title
CN103024933B (en) A kind of method of mobile Internet access system and access mobile Internet
CN102780711B (en) A kind of SNS application data access method and device thereof and system
CN103220371B (en) Content adaptation method and system
RU2630380C2 (en) System and advertising push method (push) based on home gateway
CN102790798B (en) Transparent proxy implementation, equipment and system in a kind of content distributing network
CN108932277B (en) Webpage loading method, webpage loading system and server
CN103618800A (en) Method and device for achieving subscription informing
CA2836821A1 (en) Application identification method, and data mining method, apparatus, and system
CN104243506A (en) Browser redirection method and device
CN101895520B (en) Widget system data sharing method, server and data sharing system
CN104009938A (en) Method and system for long connections based on router level
CN102404616B (en) Method and system for pushing data cloud based on digital television network
CN103731404A (en) Data access method, system and device based on CDN
CN102906715B (en) Optimize method and the corresponding intrument of buffer memory management
CN103237088A (en) Corresponding relation library-based browsing method and system and cloud server
CN104023049A (en) Method and system for mapping HTTP service to information center network
CN103780933A (en) Remote control method and control apparatus for multimedia terminal
CN107251529B (en) Method and apparatus for transmitting and receiving information between servers in content transmission network system
CN103347056A (en) Webpage access method, system and server of mobile terminal
CN101325499B (en) Method, system and equipment for distributing static data
CN101895550B (en) Cache accelerating method for compatibility of dynamic and static contents of internet website
CN104618805A (en) Video-on-demand method and video-on-demand equipment
CN101335876B (en) Program ordering system, ordering method and ordering server
EP2719151A2 (en) Methods and systems for access to real-time full-duplex web communications platforms
CN103561068A (en) Method and device for improving speed of web page browsing

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