CN104702617A - Data distribution method and device based on CDN (content distribution network) - Google Patents

Data distribution method and device based on CDN (content distribution network) Download PDF

Info

Publication number
CN104702617A
CN104702617A CN201510125043.7A CN201510125043A CN104702617A CN 104702617 A CN104702617 A CN 104702617A CN 201510125043 A CN201510125043 A CN 201510125043A CN 104702617 A CN104702617 A CN 104702617A
Authority
CN
China
Prior art keywords
address
node
cdn node
cdn
client
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
CN201510125043.7A
Other languages
Chinese (zh)
Other versions
CN104702617B (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.)
Guangdong Efly Network Co Ltd
Original Assignee
Guangdong Efly Network 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 Guangdong Efly Network Co Ltd filed Critical Guangdong Efly Network Co Ltd
Priority to CN201510125043.7A priority Critical patent/CN104702617B/en
Publication of CN104702617A publication Critical patent/CN104702617A/en
Application granted granted Critical
Publication of CN104702617B publication Critical patent/CN104702617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4535Network directories; Name-to-address mapping using an address exchange platform which sets up a session between two nodes, e.g. rendezvous servers, session initiation protocols [SIP] registrars or H.323 gatekeepers

Abstract

The invention discloses a data distribution method and a data distribution device based on a CDN (content distribution network). The data distribution method based on the CDN includes: using a network node to receive a domain name resolution request sent by a client side, using preset IP (internet protocol) addresses in the network node as a resolution result of the domain name resolution request, and returning the resolution result to the client side; receiving a data requirement of using target addresses as the IP addresses of at least two CDN nodes, sent by the client side, confirming the CDN node in the two CDN nodes, closest to the client side, as a target CDN node, and distributing data in the target CDN node, corresponding to the data requirement, to the client side. The data distribution method based on the CDN can simplify the process of using a DNS (domain name server) to resolve and select the IP addresses of the CDN nodes in the network node, and enhances identification accuracy for users.

Description

A kind of data distributing method of content-based distributing network and device
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of data distributing method and device of content-based distributing network.
Background technology
Along with the development of Internet technology, how one has been become just to need nearer for content being pushed in face of user, so content distributing network (Content Delivery Network, CDN) technology creates, its basic ideas avoid the Internet likely affects bottleneck and the link of data transmission bauds and stability as far as possible, make content delivery sooner, more stable.By placing one deck intelligent virtual network on existing Internet basic that node server is formed everywhere at network, CDN system can in real time according to the connection of network traffics and each node, load state and the request of user again to be led from the nearest service node of user to the integrated information such as Distance geometry response time of user.Its objective is and make user can obtain required content nearby, solve the situation that Internet is crowded, improve the response speed of user's access websites.
At present, when user accesses certain website, intelligent domain name resolution server (DomainName Serve in general networking node, DNS) by resolving the IP address of the CDN node server providing the distance users of service nearest, by Internet protocol (the Internet Protocol of CDN node, IP) address returns to user, thus make user, according to IP address, request of data be sent to network node, in the CDN node server that network node is corresponding with IP address by Data dissemination to user.
Because the IP address of the different CDN node of major part is different, the process that the intelligent DNS in network node resolves the IP address selecting CDN node server is complicated; The iteration of DNS and recursive principle, that make access intelligent DNS is not often final user yet, but user configured dns caching server, the judgement of intelligent DNS to customer location is so often easily caused to make mistakes, namely intelligent DNS is not high to the accuracy of identification of user, greatly will affect the effect of CDN.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of data distributing method and device of content-based distributing network, makes dns resolution in network node select the process of the IP address of CDN node to simplify, strengthens the accuracy of identification to user.
First aspect, embodiments provides a kind of data distributing method of content-based distributing network, it is characterized in that, comprising:
Network node receives the domain name mapping request that client sends, and the IP address of presetting in described network node is returned to described client as the analysis result of domain name analysis request, and wherein, described IP address is the IP address of at least two CDN node;
Receive destination address that client sends for described in the request of data of IP address of at least two CDN node, target CDN node is defined as from the CDN node that client is nearest by described at least two CDN node, and by Data dissemination corresponding with described request of data in described target CDN node to described client, comprising:
Second aspect, the embodiment of the present invention additionally provides a kind of data delivery device of content-based distributing network, it is characterized in that, comprising:
Request reception unit, receives the domain name mapping request of client transmission for network node;
Result returns unit, for and the IP address of presetting in described network node is returned to described client as the analysis result of domain name analysis request, wherein, described IP address is the IP address of at least two CDN node;
Request of data unit, for receive destination address that client sends for described in the request of data of IP address of at least two CDN node;
Target determination unit, for being defined as target CDN node by described at least two CDN node from the CDN node that client is nearest;
File distributing unit, for by Data dissemination corresponding with described request of data in described target CDN node to described client.
The data distributing method of a kind of content-based distributing network that the embodiment of the present invention provides and device, the method resolves the domain name mapping request of client by network node, the IP address of at least two CDN node preset is returned client, and the destination address receiving client transmission is the request of data of at least two CDN node, and by Data dissemination corresponding with request of data in CDN node nearest at least two node middle distance clients to client, dns resolution in network node is made to select the process of the IP address of CDN node to simplify, strengthen the accuracy of identification to user.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
Fig. 1 is the data distributing method flow chart of a kind of content-based distributing network that the embodiment of the present invention one provides;
Fig. 2 is the data distributing method flow chart of a kind of content-based distributing network that the embodiment of the present invention two provides;
Fig. 3 is the structured flowchart of the data delivery device of a kind of content-based distributing network that the embodiment of the present invention three provides.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, illustrate only part related to the present invention in accompanying drawing but not full content.
Embodiment one
The data distributing method of a kind of content-based distributing network that Fig. 1 provides for the embodiment of the present invention one, as shown in Figure 1, the method comprises:
Step 101: network node receives the domain name mapping request that client sends, and the IP address of presetting in described network node is returned to described client as the analysis result of domain name analysis request, wherein, described IP address is the IP address of at least two CDN node.
Concrete, the IP address of presetting in network node is a fixing IP address, and in CDN, the number of CDN node has two at least, if there is plural CDN node, then the IP address of all CDN node is all identical.
Concrete, network node is metropolitan area network router or backbone routers.Domain name resolution server DNS is provided with in described metropolitan area network router or backbone routers.
Wherein, the IP address of presetting in described network node is returned to described client as the analysis result of domain name analysis request, comprising:
Obtain the domain name of carrying in domain name analysis request;
When finding domain name in the CDN domain name list of described network node, the IP address of presetting in described network node is returned to described client as the analysis result of domain name.
For example, if there are 3 CDN node, called after a, b, c respectively; The IP address of 3 CDN node is 192.168.1.199, and the IP address of so presetting in network node is: 192.168.1.199.If user wants to check that domain name is: the content of the news under www.sohu.com, the address of its webpage is: http://news.sohu.com/, client sends the domain name mapping request of carrying www.sohu.com to network node, network node receives the domain name mapping request that client sends, obtain the domain name www.sohu.com carried in domain name mapping request, the domain name of www.sohu.com is searched in the CDN domain name list of network node, using the fixing IP address 192.168.1.199 that presets in network node as analysis result (in the CDN domain name list of network node, the IP address that all corresponding of presetting of all domain names is fixing) return to client.
Step 102: receive destination address that client sends for described in the request of data of IP address of at least two CDN node, target CDN node is defined as from the CDN node that client is nearest by described at least two CDN node, and by Data dissemination corresponding with described request of data in described target CDN node to described client.
Concrete, describedly be defined as target CDN node by described at least two CDN node from the CDN node that client is nearest, comprise: described in determining according to the value of Routing Protocol tolerance at least two CDN node from the CDN node that client is nearest, and the CDN node nearest from client is defined as target CDN node.
The example of the step 101 in the present embodiment of continuing, client receives the IP address (192.168.1.199) that network node sends, client according to IP address to network node request data, as the content of the news under www.sohu.com, network node receives the request of data that client sends, value according to Routing Protocol tolerance determines CDN node nearest from client in 3 CDN node, if name is called that the CDN node distance client of a is nearest, then name is called the CDN node of a, is defined as target CDN node; Network node name is called that Data dissemination corresponding with request of data (content of the news under www.sohu.com) in the CDN node of a is to client.
On the basis of above-described embodiment, the IP address of presetting in network node can also be several for what fix, one of them IP address of presetting is the IP address of at least two CDN node, when in such network node, the IP address of CDN node is selected in dns resolution, because the IP number of addresses preset is few, process is also fairly simple.
The data distributing method of a kind of content-based distributing network that the present embodiment provides, the method resolves the domain name mapping request of client by network node, the IP address of at least two CDN node preset is returned client, and the destination address receiving client transmission is the request of data of at least two CDN node, and by Data dissemination corresponding with request of data in CDN node nearest at least two node middle distance clients to client, make dns resolution in network node select the process of the IP address of CDN node to simplify, enhance the accuracy of identification to user.
Embodiment two
Fig. 2 is the data distributing method flow chart of a kind of content-based distributing network that the embodiment of the present invention two provides, the method adds the step of the IP address that broadcast one is fixing at least two CDN node on the basis of embodiment one, as shown in Figure 2, the method comprises:
Step 201: the IP address that broadcast one is fixing at least two CDN node, to be set to described fixing IP address by the IP address of described at least two CDN node.
Concrete, all CDN node are all broadcasted a fixing IP address, e.g., in Tianjin, all there is CDN node in Beijing, Shanghai, Guangdong, and these CDN node all broadcast an IP address.
Step 202: network node receives the domain name mapping request that client sends, and the IP address of presetting in described network node is returned to described client as the analysis result of domain name analysis request, wherein, described IP address is the IP address of at least two CDN node.
Be preset with the list of CDN domain name in described network node, the list of described CDN domain name comprises: each domain name, corresponding with each domain name fixing IP address, and the IP address in the list of CDN domain name is the fixing IP address of broadcasting in all CDN node.
Step 203: receive destination address that client sends for described in the request of data of IP address of at least two CDN node, target CDN node is defined as from the CDN node that client is nearest by described at least two CDN node, and by Data dissemination corresponding with described request of data in described target CDN node to described client.
On the basis of above-described embodiment, all CDN node can be broadcasted several fixing IP address, wherein, two CDN node are at least comprised in an IP address, as all there is CDN node in Tianjin, Beijing, Shanghai, Guangdong, an IP address can be broadcasted in Tianjin and Pekinese's CDN node, the CDN node in Shanghai and Guangdong is broadcasted another IP address, make dns resolution in network node select the process of CDN node to simplify like this.
The data distributing method of a kind of content-based distributing network that the embodiment of the present invention two provides, this method increase the step of the IP address that broadcast one is fixing at least two CDN node, make dns resolution in network node select the process of the IP address of CDN node to simplify, enhance the accuracy of identification to user.
Embodiment three
Fig. 3 is the structured flowchart of the data delivery device of a kind of content-based distributing network that the embodiment of the present invention three provides, this device is used for the data distributing method of the content-based distributing network that above-described embodiment provides to realize the distribution of data, and the data delivery device 30 of described content-based distributing network can comprise:
Request reception unit 301, receives the domain name mapping request of client transmission for network node;
Result returns unit 302, for and the IP address of presetting in described network node is returned to described client as the analysis result of domain name analysis request, wherein, described IP address is the IP address of at least two CDN node;
Request of data unit 303, for receive destination address that client sends for described in the request of data of IP address of at least two CDN node;
Target determination unit 304, for being defined as target CDN node by described at least two CDN node from the CDN node that client is nearest;
File distributing unit 305, for by Data dissemination corresponding with described request of data in described target CDN node to described client.
Further, described device 30 can also comprise: IP address broadcast unit, receive the domain name mapping request of client transmission for described network node before, the IP address that broadcast one is fixing at least two CDN node, to be set to described fixing IP address by the IP address of described at least two CDN node.
Further, described result returns unit 302 and specifically may be used for:
Obtain the domain name of carrying in domain name analysis request;
When finding domain name in the CDN domain name list of described network node, the IP address of presetting in described network node is returned to described client as the analysis result of domain name.
Further, described network node is metropolitan area network router or backbone routers.
Further, described target determination unit 304 specifically for: described in determining according to the value of Routing Protocol tolerance at least two CDN node from the CDN node that client is nearest, and the CDN node nearest from client is defined as target CDN node.
The data delivery device of a kind of content-based distributing network that the embodiment of the present invention three provides, this device can resolve the domain name mapping request of client by network node, the IP address of at least two CDN node preset is returned client, and the destination address receiving client transmission is the request of data of at least two CDN node, and by Data dissemination corresponding with request of data in CDN node nearest at least two node middle distance clients to client, dns resolution in network node is made to select the process of the IP address of CDN node to simplify, enhance the accuracy of identification to user.
Note, above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, various obvious change can be carried out for a person skilled in the art, readjust and substitute and can not protection scope of the present invention be departed from.Therefore, although be described in further detail invention has been by above embodiment, the present invention is not limited only to above embodiment, when not departing from the present invention's design, can also comprise other Equivalent embodiments more, and scope of the present invention is determined by appended right.

Claims (10)

1. a data distributing method of content-based distributing network CDN, is characterized in that, comprising:
Network node receives the domain name mapping request that client sends, and the IP address of presetting in described network node is returned to described client as the analysis result of domain name analysis request, and wherein, described IP address is the IP address of at least two CDN node;
Receive destination address that client sends for described in the request of data of IP address of at least two CDN node, target CDN node is defined as from the CDN node that client is nearest by described at least two CDN node, and by Data dissemination corresponding with described request of data in described target CDN node to described client.
2. method according to claim 1, is characterized in that, described network node also comprises before receiving the domain name mapping request of client transmission:
The IP address that broadcast one is fixing at least two CDN node, to be set to described fixing IP address by the IP address of described at least two CDN node.
3. method according to claim 1, is characterized in that, the IP address of presetting in described network node is returned to described client as the analysis result of domain name analysis request, comprising:
Obtain the domain name of carrying in domain name analysis request;
When finding domain name in the CDN domain name list of described network node, the IP address of presetting in described network node is returned to described client as the analysis result of domain name.
4. method according to claim 1, is characterized in that, described network node is metropolitan area network router or backbone routers.
5. method according to claim 1, is characterized in that, is describedly defined as target CDN node by described at least two CDN node from the CDN node that client is nearest, comprising:
Described in determining according to the value of Routing Protocol tolerance at least two CDN node from the CDN node that client is nearest, and the CDN node nearest from client is defined as target CDN node.
6. a data delivery device for content-based distributing network, is characterized in that, comprising:
Request reception unit, receives the domain name mapping request of client transmission for network node;
Result returns unit, and the IP address of presetting in described network node is returned to described client as the analysis result of domain name analysis request, and wherein, described IP address is the IP address of at least two CDN node;
Request of data unit, for receive destination address that client sends for described in the request of data of IP address of at least two CDN node;
Target determination unit, for being defined as target CDN node by described at least two CDN node from the CDN node that client is nearest;
File distributing unit, for by Data dissemination corresponding with described request of data in described target CDN node to described client.
7. device according to claim 6, is characterized in that, also comprises:
IP address broadcast unit, receive the domain name mapping request of client transmission for described network node before, the IP address that broadcast one is fixing at least two CDN node, to be set to described fixing IP address by the IP address of described at least two CDN node.
8. device according to claim 6, is characterized in that, described result return unit specifically for:
Obtain the domain name of carrying in domain name analysis request;
When finding domain name in the CDN domain name list of described network node, the IP address of presetting in described network node is returned to described client as the analysis result of domain name.
9. device according to claim 6, is characterized in that, described network node is metropolitan area network router or backbone routers.
10. device according to claim 6, is characterized in that, described target determination unit specifically for:
Described in determining according to the value of Routing Protocol tolerance at least two CDN node from the CDN node that client is nearest, and the CDN node nearest from client is defined as target CDN node.
CN201510125043.7A 2015-03-20 2015-03-20 A kind of data distributing method and device based on content distributing network Active CN104702617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510125043.7A CN104702617B (en) 2015-03-20 2015-03-20 A kind of data distributing method and device based on content distributing network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510125043.7A CN104702617B (en) 2015-03-20 2015-03-20 A kind of data distributing method and device based on content distributing network

Publications (2)

Publication Number Publication Date
CN104702617A true CN104702617A (en) 2015-06-10
CN104702617B CN104702617B (en) 2018-04-27

Family

ID=53349386

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510125043.7A Active CN104702617B (en) 2015-03-20 2015-03-20 A kind of data distributing method and device based on content distributing network

Country Status (1)

Country Link
CN (1) CN104702617B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554125A (en) * 2015-04-24 2016-05-04 美通云动(北京)科技有限公司 Method for realizing webpage adaptation through CDN (content delivery network) and system thereof
CN106357539A (en) * 2015-07-17 2017-01-25 阿里巴巴集团控股有限公司 Data acquisition method and equipment
CN107124621A (en) * 2017-05-05 2017-09-01 北京奇艺世纪科技有限公司 A kind of business scheduling method and device based on cellular network
CN110912762A (en) * 2018-09-14 2020-03-24 北京微播视界科技有限公司 Information acquisition method and device and information generation method and device
CN112468604A (en) * 2019-09-06 2021-03-09 华为技术有限公司 Method for determining domain name system server, method, device and system for processing request
CN112788154A (en) * 2021-01-29 2021-05-11 北京奇艺世纪科技有限公司 Data transmission system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101202684A (en) * 2006-12-15 2008-06-18 中国电信股份有限公司 Method for close judgment of user in content distributing network
US20080235400A1 (en) * 2001-10-18 2008-09-25 Level 3 Communications, Llc Content request routing and load balancing for content distribution networks
CN103841150A (en) * 2012-11-26 2014-06-04 华为技术有限公司 Data delivery method and device based on content delivery network CDN
CN104301454A (en) * 2014-11-13 2015-01-21 国家电网公司 Method and device for resolving and redirecting domain names, and intelligent domain name system
CN104427005A (en) * 2013-08-20 2015-03-18 阿里巴巴集团控股有限公司 Method and system for realizing accurate request scheduling on content delivery network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080235400A1 (en) * 2001-10-18 2008-09-25 Level 3 Communications, Llc Content request routing and load balancing for content distribution networks
CN101202684A (en) * 2006-12-15 2008-06-18 中国电信股份有限公司 Method for close judgment of user in content distributing network
CN103841150A (en) * 2012-11-26 2014-06-04 华为技术有限公司 Data delivery method and device based on content delivery network CDN
CN104427005A (en) * 2013-08-20 2015-03-18 阿里巴巴集团控股有限公司 Method and system for realizing accurate request scheduling on content delivery network
CN104301454A (en) * 2014-11-13 2015-01-21 国家电网公司 Method and device for resolving and redirecting domain names, and intelligent domain name system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105554125A (en) * 2015-04-24 2016-05-04 美通云动(北京)科技有限公司 Method for realizing webpage adaptation through CDN (content delivery network) and system thereof
CN105554125B (en) * 2015-04-24 2018-12-18 美通云动(北京)科技有限公司 A kind of method and its system for realizing webpage fit using CDN
CN106357539A (en) * 2015-07-17 2017-01-25 阿里巴巴集团控股有限公司 Data acquisition method and equipment
WO2017012475A1 (en) * 2015-07-17 2017-01-26 阿里巴巴集团控股有限公司 Data acquisition method and device
CN106357539B (en) * 2015-07-17 2019-06-21 阿里巴巴集团控股有限公司 A kind of data capture method and equipment
CN107124621A (en) * 2017-05-05 2017-09-01 北京奇艺世纪科技有限公司 A kind of business scheduling method and device based on cellular network
CN110912762A (en) * 2018-09-14 2020-03-24 北京微播视界科技有限公司 Information acquisition method and device and information generation method and device
CN112468604A (en) * 2019-09-06 2021-03-09 华为技术有限公司 Method for determining domain name system server, method, device and system for processing request
CN112468604B (en) * 2019-09-06 2022-03-25 华为技术有限公司 Method for determining domain name system server, method, device and system for processing request
US11916869B2 (en) 2019-09-06 2024-02-27 Huawei Technologies Co., Ltd. Domain name system server determining method, and request processing method, apparatus, and system
CN112788154A (en) * 2021-01-29 2021-05-11 北京奇艺世纪科技有限公司 Data transmission system and method

Also Published As

Publication number Publication date
CN104702617B (en) 2018-04-27

Similar Documents

Publication Publication Date Title
US11283715B2 (en) Updating routing information based on client location
US10523783B2 (en) Request routing utilizing client location information
JP5893034B2 (en) Request routing in network environments
EP3567881B1 (en) Request routing and updating routing information utilizing client location information
US9160703B2 (en) Request routing management based on network components
CN104702617A (en) Data distribution method and device based on CDN (content distribution network)
JP5404766B2 (en) Method and system for requesting routing
EP2695358B1 (en) Selection of service nodes for provision of services
US8577992B1 (en) Request routing management based on network components
US8667176B2 (en) Network service access method and access gateway equipment
US10069792B2 (en) Geolocation via internet protocol
US20140304386A1 (en) Routing client requests
CN104092785A (en) Method for domain name registration and resolution, and resource access method and resource access device based on domain name

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 705-708, room two, No. 121, north south of the Five Ridges Avenue, Chancheng District, Guangdong, Foshan, 528000

Applicant after: GUANGDONG RUIJIANG CLOUD COMPUTING CO., LTD.

Address before: Chancheng District of Guangdong city of Foshan province south of the Five Ridges 528000 Avenue North 121 East International A District Office 7-8

Applicant before: Guangdong Efly Network Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant