CN103841150A - Data delivery method and device based on content delivery network CDN - Google Patents

Data delivery method and device based on content delivery network CDN Download PDF

Info

Publication number
CN103841150A
CN103841150A CN201210485437.XA CN201210485437A CN103841150A CN 103841150 A CN103841150 A CN 103841150A CN 201210485437 A CN201210485437 A CN 201210485437A CN 103841150 A CN103841150 A CN 103841150A
Authority
CN
China
Prior art keywords
domain name
cdn
data
user terminal
address
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
CN201210485437.XA
Other languages
Chinese (zh)
Other versions
CN103841150B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210485437.XA priority Critical patent/CN103841150B/en
Publication of CN103841150A publication Critical patent/CN103841150A/en
Application granted granted Critical
Publication of CN103841150B publication Critical patent/CN103841150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is suitable for the field of the Internet, and provides a data delivery method and device based on a content delivery network CDN. The method comprises the following steps: a domain name resolution request sent by a user terminal is received by a network node, and the domain name carried in the domain name resolution request is acquired; the domain name is found in a CDN domain name list of the network node; if the domain name is found out, the IP address of a CDN module in the network node is returned to the user terminal as the resolution result of the domain name; and a destination address sent by the user terminal is received as a data request of the IP address of the CDN module, and data corresponding to the data request is delivered to the user terminal. According to the embodiments of the invention, the CDN positional accuracy can be effectively improved, the user access delay can be reduced, the flow that flows out from the network node can be reduced, the backbone network resource occupancy can be reduced, and the investment cost can be reduced.

Description

Method and the device of content-based distributing network CDN distributing data
Technical field
The invention belongs to internet arena, relate in particular to method and the device of a kind of content-based distributing network (English full name is Content Delivery Network, English referred to as CDN) distributing data.
Background technology
(English full name is Content Service Provider to content and service provider, English referred to as CSP) provide data, services such as video, picture, word for Internet user, broadband user will be provided by the data message being provided by the data center server of CSP, (English full name is Internet Service Provider need to pass through successively Internet service business, English referred to as ISP) backbone network, metropolitan area network and Access Network, finally arrive user.Along with increasing of Operational Visit amount, the network traffics pressure of CSP server also increases, and the shared bandwidth resources of backbone network are also increasing.
For reducing the network traffics pressure of CSP server, there is independently CDN service provider.CDN service provider disposes a large amount of Edge preservation servers (English full name is cache sever) at network edge, (English full name is Doma in Name Server to name server based on intelligent, English referred to as DNS) serve the different region that helps CSP concentrated content to be published to the Internet, and by allowing user obtain needed content to close CDN content source.
For example, content business csp.com utilizes the content delivering system of the cdn.com of CDN service provider to carry out distribution of video video.mpg (web page address of described video is: ht tp: //csp.com/video.mpg).CDN service provider need to be by described content map under the CDN server particular category of oneself, and above-mentioned band distribution of video hypothesis is mapped as ht tp: //www.cdn.com/csp.com/video.mpg, and it is as follows that it downloads flow process:
1. user terminal one is first to the IP address of the domain name resolution server DNS1 request analysis www.cdn.com of Internet service business ISP1;
2. domain name resolution server DNS1 is to the IP address of the domain name resolution server DNS-D request analysis www.cdn.com of the cdn.com of CDN service provider;
3. domain name resolution server DNS-D judges according to the source IP address of domain name analysis request (the IP address of DNS1) the CDN server CDN-1 that user is close, returns to the IP address of CDN-1 to DNS1;
4. domain name resolution server DNS1 returns to the IP address (being the IP address of CDN-1) of www.cdn.com to user terminal one, and described analysis result is saved;
5. user terminal one is downloaded video.mpg video content to CDN server CDN-1 request;
6.CDN server CDN-1 finds the local backup that there is no video.mpg, downloads described video to original contents server business csp.com request;
7. original contents server business csp.com sends video.mpg to CDN server CDN-1;
Video.mpg is sent to user terminal one by 8.CDN server CDN-1, and described video is kept to this locality;
9. user terminal two is to the IP address of domain name resolution server DNS1 request analysis www.cdn.com;
10. domain name resolution server DNS1 finds that www.cdn.com has had the preservation of analysis result in this locality, directly return to user terminal two by described analysis result (the IP address of CDN-1);
11. user terminals two are downloaded http://www.cdn.com/csp.com/video.mpg to CDN-1 request;
12.CDN server CDN-1 finds that described video has the backup of preservation in this locality, directly return to described video to user terminal two.
Wherein, the corresponding relation of user to CDN server realized in the IP address of the domain name resolution server of CDN-D based on ISP, the IP address field that specific implementation can be set up the domain name resolution server that ISP provides can static state setting to the mapping table of CDN server, also can dynamically be generated by network tool.
Adopt aforesaid way, the IP address of the domain name resolution server providing based on ISP is determined the close CDN server of user indirectly, but because the domain name resolution server of ISP is often concentrated and disposed, user's the coverage that the domain name resolution server of same ISP is accepted analysis request is larger, cover multiple cities in a region simultaneously, the DNS providing by ISP infers that close CDN server cannot determine user is specifically at which metropolitan area network, cause CDN server selection precision not high, user accesses data distant, is unfavorable for reducing access time delay.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of method and device of content-based distributing network CDN distributing data, thereby reduces visit data time delay, improves data access speed.
The embodiment of the present invention is achieved in that a kind of method of content-based distributing network CDN distributing data, and described method comprises:
Network node receives the domain name mapping request that user terminal sends, and obtains the domain name of carrying in domain name analysis request;
In the list of the CDN of described network node domain name, search domain name;
If find domain name, the IP address of CDN module in described network node is returned to user terminal as the analysis result of domain name;
The destination address that receives user terminal transmission is the request of data of the IP address of described CDN module, and the distribution data extremely described user terminal corresponding with described request of data.
Optionally, described method also comprises: receive the domain name of being served by CDN of being issued by the MP-BGP MP-BGP of expansion by content and service provider CSP, generate the list of described CDN domain name.
Optionally, described method also comprises: if do not find domain name, domain name is resolved to other IP address or send domain name and resolve to upper level domain name resolution server.
Optionally, the destination address that described reception user terminal sends is the request of data of the IP address of described CDN module, and distribution data to the described user terminal corresponding with described request comprises: the destination address that receives user terminal transmission is the request of data of the IP address of described CDN module; Search and in network node, whether preserve or control described data; If had, described data are sent to user terminal; Otherwise CDN module or the CSP of upstream nodes ask described data, receive and preserve the described data that upstream node or CSP send, and described data are sent to user terminal.
Optionally, described network node is metropolitan area network router, Broadband Remote Access Server BRAS or backbone network router.
Another object of the embodiment of the present invention is to provide a kind of device of content-based distributing network CDN distributing data, and described device comprises:
Receiving element: the domain name mapping request sending for receiving user terminal, and obtain the domain name of carrying in domain name analysis request;
Search unit: search domain name for the CDN domain name list at described device;
Return to unit: in the situation that searching unit and finding domain name, the IP address of the CDN module in described device is returned to user terminal as the analysis result of domain name;
Dispatching Unit: be the request of data of the IP address of described CDN module for the destination address that receives user terminal transmission, and the distribution data extremely described user terminal corresponding with request of data.
Optionally, described device also comprises CDN domain name list generation unit: for receiving the domain name of being served by CDN of being issued by the MP-BGP MP-BGP of expansion by content and service provider CSP, generate the list of described CDN domain name.
Optionally, described device also comprises processing unit: in the situation that searching unit and not finding domain name, domain name is resolved to other IP address or send domain name and resolve to upper level domain name resolution server.
Optionally, described Dispatching Unit comprises:
Data receiver subelement: be the request of data of the IP address of described CDN module for the destination address that receives user terminal transmission;
Data search subelement: for searching at network node whether preserve or control described data;
The first data send subelement: in the situation that network node is preserved or controlled described data, described data are sent to user terminal;
The second data send subelement: in the situation that network node is not preserved or controlled described data, CDN module or the CSP of upstream nodes ask described data, receive and preserve the described data that upstream node or CSP send, and described data are sent to user terminal.
Optionally, described network node is metropolitan area network router, Broadband Remote Access Server BRAS or backbone network router.
In embodiments of the present invention, use in the CDN domain name list in network node and search the domain name of carrying in domain name mapping request by the user terminal of hanging under described network node or its subordinate's node, and after the domain name finding, the IP address of CDN module is returned to user terminal, make user terminal send request of data to the CDN module in described network node, rather than to being positioned at middle-level other the higher equipment sending data requests of network, so just, can reduce the access to backbone network, and it is short that the user who hangs under described network node or subordinate's network node accesses the distance of described CDN module, positioning precision is high, access time delay is little, access efficiency is high.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the content-based distributing network CDN distributing data that provides of first embodiment of the invention;
Fig. 2 is the realization flow figure of the content-based distributing network CDN distributing data that provides of second embodiment of the invention;
The implementation structure schematic diagram of the content-based distributing network CDN distributing data that Fig. 3 provides for second embodiment of the invention;
Fig. 4 is the interaction diagrams that user that third embodiment of the invention provides obtains the data that CDN module provides;
Fig. 5 is the device block diagram of the content-based distributing network CDN distributing data that provides of fourth embodiment of the invention;
Fig. 6 is the device block diagram of the content-based distributing network CDN distributing data that provides of fifth embodiment of the invention;
The hardware configuration schematic diagram of the device of the content-based distributing network CDN distributing data that Fig. 7 provides for sixth embodiment of the invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The method of the content-based distributing network CDN distributing data described in the embodiment of the present invention, comprises that network node receives the domain name mapping request that user terminal sends, and obtains the domain name of carrying in domain name analysis request; In the list of the CDN of network node domain name, search domain name; If find domain name, the IP address of the CDN module in described network node is returned to user terminal as the analysis result of domain name; The destination address that receives user terminal transmission is the request of data of the IP address of described CDN module, and the distribution data extremely described user terminal corresponding with described request of data.
The domain name mapping that can be served by CDN according to the CDN domain name list in network node by the user terminal of hanging under described network node subordinate node is the IP address of CDN module in described network node, guarantee that user selects nearest CDN module, make user can pass through the CDN module fast access corresponding contents in the described network node of access, thereby reduce user's access time delay, improve access to netwoks efficiency, and can make flowing of access localization, solve because of the difficulty that after the speed-raising of broadband, backbone network promotes in proportion, reduce the cost of investment of backbone network.
Embodiment mono-:
Fig. 1 shows the realization flow that the present invention is based on content distributing network (CDN) distributing data, and details are as follows:
In step S101, network node receives the domain name mapping request that user terminal sends, and obtains the domain name of carrying in domain name analysis request.
Concrete, such as user terminal will be checked domain name and is: the name under img.csp.com is called the picture of big.jpg, its web page address is: htttp: //img.csp.com/big.j pg, user terminal sends the domain name mapping request of carrying img.csp.com to network node.
Alternatively, network node can pass through DHCP or PPPoE, and in the process of user terminal application IP address, domain name mapping request is sent to network node by informing user terminal.
In step S102, described network node is searched domain name in the list of the CDN of described network node domain name.
Concrete, the list of described CDN domain name is the domain name list of being served by CDN, that is to say, CDN can provide service for the domain name in the list of CDN domain name.Network node receives after domain name, searches in the list of CDN domain name the domain name receiving.If the domain name of obtaining in step S101 is img.csp.com, in the list of CDN domain name, searches and whether have this domain name.
In step S103, if find domain name, the IP address of CDN module in described network node is returned to user terminal as the analysis result of domain name.
Concrete, if find and the domain name receiving in the list of CDN domain name, for example img.csp.com, consistent domain name, represents that client terminal asks the information of checking may be stored in described network node or can be obtained by CDN by described network node.In this case, in described network node, domain name is resolved to the IP address of CDN module in described network node, and described IP address is returned to user terminal.
In step S104, the destination address that receives user terminal transmission is the request of data of the IP address of described CDN module, and the distribution data extremely described user terminal corresponding with request of data.
Concrete, user terminal receives the analysis result that network node sends, and wherein includes the IP address of the CDN module in described network node.User according to HTTP or RTSP/RTP agreement for example, to the CDN module request msg in network node, the big.jpg content under img.csp.com.Network node is checked the local backup that whether has requested data, if had, sends it to user terminal; If no, the CDN module of upstream nodes or CSP request issue data message, receive and preserve the data message that upstream node or CSP send, and send it to user terminal.Like this, user terminal receives the requested date being sent by network node, completes obtaining described data.
In network node in the present embodiment, be provided with CDN module, network node judges whether the domain name in the domain name mapping request being sent by user terminal is present in the list of described CDN domain name, if it is domain name is resolved to the IP address of the CDN module of described network node, user terminal is initiated request of data to the CDN module in described network node again, and requested data are preserved or controlled to described CDN module check network node whether.If had, requested data are sent to user terminal, just can reduce like this access to backbone network transmission, and it is short that the user who hangs under described network node or subordinate's network node accesses the distance of described CDN module, positioning precision is high, and access time delay is little, and access efficiency is high.If do not had, the CDN module request msg of upstream nodes or to CSP request msg, and receive and preserve requested date, send it to user terminal.Can, in the situation that other user terminal is also asked described data, directly send data to user terminal by network node like this, also can reduce the number of times of data in backbone network transmission, improve the access efficiency to requested date.
Embodiment bis-:
Fig. 2 shows the realization flow that the present invention is based on content distributing network (CDN) distributing data, and details are as follows:
In step S201, network node receive by content and service provider (CSP) by expand MP-BGP (English full name is Multiprotocol-Border Gateway Protocol, English referred to as MP-BGP) domain name of being served by CDN issued, generate the list of CDN domain name.
Concrete, for doing human configuration on the domain name avoiding being served by CDN in the CSP domain name resolution server in each network node, set up the mapping relations (words of human configuration between IP address and the domain name of CDN module, can make workload large, layoutprocedure is loaded down with trivial details, and after operator's IP data are upgraded, need to manually safeguard, corresponding maintenance workload is large), expand and support domain name route by MP-BGP, by Routing Protocol, the domain name that needs built-in CDN service is published to ISP network from CSP, this step is only preferably execution mode of one, certainly be not limited to this kind of mode, domain name list also can be stored in the router in network node in advance.
In maintenance work at ordinary times, if discovery data are upgraded variation to some extent, by the MP-BGP agreement of content Routing expansion, data content is upgraded and is published to network.
Domain name introducing can pass through outside MP-BGP(MP-eBGP), if ISP wish by the content under certain domain name of transparent preservation (Transparent Caching, TC), can pass through inner MP-BGP(MP-iBGP) introduce domain name.
CSP is published to the domain name of being served by CDN after ISP network, and the domain name that network node is just served by CDN by corresponding Routing Protocol is synchronized to the CDN module of network node, generates the list of CDN domain name, the list of the domain name of being served by CDN.
In step S202, network node receives the domain name mapping request that user terminal sends, and obtains the domain name of carrying in domain name analysis request.
In step S203, in the list of the CDN of described network node domain name, search whether there is domain name.If so, turn to step S204, otherwise turn to step S205.
In step S204, the IP address of CDN module in described network node is returned to user terminal as the analysis result of domain name.
In step S205, domain name is resolved to other IP address or sends domain name and resolve to upper level domain name resolution server.
Concrete, network node obtains after domain name img.csp.com, and the CDN domain name list in network node searches whether there is domain name.If also there is corresponding domain name img.csp.com in the list of CDN domain name, illustrate that domain name can be served by CDN, the data under domain name can be provided by CDN.Network node domain name resolves to the IP address of the CDN module in network node, and described IP address is returned to user terminal.If there is not identical domain name img.csp.com in the domain name list of the CDN module in network node, domain name is resolved to other IP address or send domain name and resolve to upper level domain name resolution server.
Herein, domain name resolution server in can described network node is set to only support the parsing of CDN domain name list in the CDN module in described network node, give by the parsing of other domain name the domain name resolution server parsing that ISP provides, the benefit of this set is, the realization of domain name resolution server is set in can simplified network node.
In step S206, the destination address that receives user terminal transmission is the request of data of the IP address of described CDN module;
Concrete, the IP address that user resolves according to domain name resolution server in network node, user can initiate the request of the big.jpg under request access domain name img.csp.com by HTTP or RTSP/RTP to the CDN module of the corresponding described network node in described IP address.
In step S207, whether Network Search node is preserved or is controlled described data message, if had, goes to step S308, otherwise goes to step S309.
Whether network node controls described data message can be understood to be in the memory device of network node control, whether to be preserved described data message.If preserve described data message, network node can read or call the data message being saved rapidly.
In step S208, described data are sent to user terminal.
In step S209, CDN module or the CSP of upstream nodes ask described data, receive and preserve the data message that upstream node or CSP send, and described data are sent to user terminal.
Concrete, the CDN module of network node receives after access request, search this locality and whether have big.jpg, if had, the data message of big.jpg is sent to user terminal, if do not had, to the data message of the CDN module request big.jpg of upper level, if there is no described data in higher level's CDN module, to the more CDN module request of higher level's network node, or ask to CSP.Described network node receives the data message of preserving big.jpg, and sends it to user terminal.
In the present embodiment, the domain name of being served by CDN is published to network by MP-BGP by expansion, and be synchronized to the CDN module piece in network node, can automatically complete the maintenance work that the IP address of CDN module and the mapping of domain name are published to the CDN module in network node, remove the manual workload of safeguarding from.
Fig. 3 shows the implementation structure figure of the content-based distributing network CDN of embodiment of the present invention distributing data, is described as follows as an example of above-mentioned access img.jpg example:
In arrow label 1-4 (in Fig. 3, the arrow of arrow label 4 correspondences is omitted), this is preferred embodiments by the MP-BGP MP-BGP of expansion, the domain name img.csp.com being served by CDN to be published to metropolitan area network router R2 and R1(by ISP backbone network, also can be Broadband Remote Access Server BRAS or backbone network router etc.), router R2 and R1 be based on the list of this Information generation CDN domain name, built-in CDN module is set and provides service for img.csp.com domain name.
In arrow 4-5, user terminal will be accessed the content in img.csp.com, first asks router R1 to resolve domain name img.csp.com, in the list of CDN domain name, find after this domain name, and be the IP address of the CDN module in R1 by this domain name mapping.
In arrow 7-10, user asks the big.jpg under img.csp.com with HTTP or RTSP/RTP to R1, and router R1 does not preserve big.jpg in built-in CDN module discovery this locality, to the upstream node router R2 request big.jpg of record.Big.jpg is sent to R1 by R2, and R1 preserves big.jpg, and big.jpg is sent to user terminal.
Similarly, if if upstream node router R2 is local, it's not true provides the S1 of service provider request msg to the content of upstream more, router R2 preserves big.jpg and big.jpg is sent to router R1, and R1 preserves big.jpg and big.jpg is sent to user terminal.As can be seen here, router R1 and R2 are this big.jpg and set up data backup, if described user or other user request access again before described Backup Data is expired, router R1 meets user's requirement by local backup data, reduces the service request amount of upstream node router R2 and the S1 of content service provider.
Embodiment tri-:
Fig. 4 obtains the interaction diagrams of the data that provided by CDN module for user.In embodiments of the present invention, network node is the metropolitan area network router of integrated CDN function, and whole system comprises metropolitan area network router, the CSP server of user terminal, integrated CDN function, and details are as follows for specific implementation:
41, content and service provider CSP is published to metropolitan area network router by the MP-BGP MP-BGP of expansion by the domain name img.csp.com being served by CDN.
Concrete, CSP need to issue the content big.jpg on CSP server by the CDN system of ISP, and described CSP server has been connected to the backbone network of ISP.The calling party terminal of described content is in a metropolitan area network of ISP, and user terminal need to just can reach described ISP backbone network through metropolitan area network router node.By between CSP server and ISP backbone network node, between ISP metropolitan area network router, move the MP-BGP agreement of domain name Routing expansion, the domain name of being served by CDN is published in the CDN module in metropolitan area network router node.
42, metropolitan area network router resolves to img.csp.com the IP address of CDN module in metropolitan area network router.
43, user terminal is initiated the request of the content big.jpg under access domain img.csp.com by name to metropolitan area network router.
44, the domain name resolution server in metropolitan area network router is the IP address of CDN module in metropolitan area network router by domain name mapping.
Concrete, be the IP address that img.csp.com resolves the CDN module in described metropolitan area network router owing to being provided with by metropolitan area network router in 42 by domain name, therefore for domain name, can be by judging in metropolitan area network router that it is the domain name of being served by CDN, and resolved to the IP address of CDN module in described router.
45, the IP address of the CDN module of parsing is sent to user terminal by metropolitan area network router.
46, user terminal according to IP address to the CDN module request msg in metropolitan area network router.
User is according to the IP address receiving, by HTTP or RTSP/RTP agreement to the big.jpg under metropolitan area network router solicitation img.csp.com.
47, the CDN module in metropolitan area network router judges whether this locality has big.jpg, if do not had, upwards the CDN module of level-1 router or CSP request msg, receives the CDN module of upper level router or data that CSP issues and preserve.
Concrete, the CDN module of metropolitan area network router receives access request, search the local backup that whether has big.jpg content, if had, described data message is sent to user terminal, if do not had, data described in the CDN module request of level-1 router upwards, if there is no described data in the CDN module of higher level's router, to the more CDN request of top-ranking's router, or ask described data in CSP, until there are described data or sent data to the CDN module of described metropolitan area network router by CSP in CDN module, the CDN module of described network node receives and save data information.
48, metropolitan area network router sends data to user terminal.
Known according to the present embodiment, by the MP-BGP agreement of expanding routing domain name, the domain name of being served by CDN can be published to automatically in the domain name resolution server and CDN module of metropolitan area network, and make the user under described metropolitan area network router node or its subordinate's node all use the domain name resolution server of described metropolitan area network router to resolve, can effectively reduce the ratio of the flow that goes out of the city, reduce the resource occupation of backbone network, reduce network investment cost, and making user more near CDN, access time delay is less.
Embodiment tetra-:
The device block diagram of the content-based distributing network CDN distributing data that Fig. 5 provides for the embodiment of the present invention.Device as described in Figure 5 can be realized the part or all of function of the network node in the embodiment of the present invention one, embodiment bis-or embodiment tri-.Described device comprises receiving element 501, searches unit 502, returns to unit 503 and Dispatching Unit 504, and details are as follows.
Receiving element 501: the domain name mapping request sending for receiving user terminal, and obtain the domain name of carrying in domain name analysis request.
User, in the time of the content of certain server of access, comprises the fullpath of described content at described server in the Address requests conventionally sending, and the domain name that comprises described content, and system, in the time receiving described Address requests, can obtain its domain name.
Search unit 502: search domain name for the CDN domain name list at described device.
In specific implementation process, defined at consolidated network node herein, refer to the built-in CDN/DNS function of router, and set up close coupling relation between router and CDN, DNS function, specific implementation can be all functions in a machine frame, also can pass through electricity or the interconnected multiple machine frames of optical link.
Domain name resolution server in this network node and CDN module, by the Routing expansion agreement MP-BGP described in embodiment 2 or 3 synchronous the domain name of being issued by CSP, can certainly configure by alternate manner.
Return to unit 503: if for finding domain name, the IP address of CDN module is returned to user terminal as the analysis result of domain name.
In the domain name list of storing in CDN module, search whether there is domain name in network node, if there is domain name, by the domain name resolution server in network node, domain name is resolved to the IP address of CDN in network node.
Dispatching Unit 504: be the request of data of the IP address of described CDN module for the destination address that receives user terminal transmission, and the distribution data extremely described user terminal corresponding with request of data.
User, according to the IP address information receiving, initiates access request by HTTP or RTSP/RTP agreement to the CDN module in network node, and CDN module receives request, and asked data message is sent to user terminal.
Adopt the present embodiment corresponding with embodiment mono-, the device of described content-based distributing network CDN distributing data, can make CDN location efficiency more accurate, reduces user's access time delay.
Embodiment five:
The another device block diagram of the content-based distributing network CDN distributing data that Fig. 6 provides for the embodiment of the present invention.Device as described in Figure 6 can be realized the part or all of function of the network node in embodiment mono-, embodiment bis-or embodiment tri-.Described device comprises receiving element 601, searches unit 602, returns to unit 603, Dispatching Unit 604, receive lock unit 605, and details are as follows.
Receiving element 601: the domain name mapping request sending for receiving user terminal, and obtain the domain name of carrying in domain name analysis request.
Search unit 602: search domain name for the CDN domain name list at described device.
Return to unit 603: if find domain name, for the IP address of CDN module is returned to user terminal as the analysis result of domain name.
Dispatching Unit 604: in the situation that searching unit and finding domain name, by the request of data of the IP address of the CDN module in described device, and distribution data corresponding with request of data are to described user terminal.
In the present embodiment, also comprise CDN domain name list generation unit 605: for receiving the domain name of being served by CDN of being issued by the MP-BGP MP-BGP of expansion by content and service provider CSP, generate the list of described CDN domain name.For doing human configuration on the domain name avoiding being served by CDN in the CSP domain name resolution server in each network node, set up the mapping relations between CDN module I P address and domain name, expand and support domain name route by MP-BGP, by Routing expansion agreement, the domain name that needs built-in CDN service is published to ISP network from CSP.In maintenance work at ordinary times, if discovery data are upgraded variation to some extent, by the MP-BGP agreement of content Routing expansion, data content is upgraded and is published to network.
In addition, the present embodiment also comprises processing unit 606: for searching unit, if do not find in the situation of domain name, domain name is resolved to other IP address or send domain name and resolve to upper level domain name resolution server.
Above-mentioned Dispatching Unit 604 specifically comprises:
Data receiver subelement 6041: be the request of data of the IP address of described CDN module for the destination address that receives user terminal transmission;
Data search subelement 6042: for searching at network node whether preserve or control described data;
The first data send subelement 6043: in the situation that network node is preserved or controlled described data, described data are sent to user terminal;
The second data send subelement 6044: in the situation that network node is not preserved or controlled described data, CDN module or the CSP of upstream nodes ask described data, receive and preserve the described data that upstream node or CSP send, and described data are sent to user terminal.
Corresponding with the method step in enforcement two about the particular content of Dispatching Unit herein, wherein said network node comprises metropolitan area network router, Broadband Remote Access Server BRAS or backbone network router.
The device of content-based distributing network CDN distributing data described in the present embodiment, by Routing expansion agreement, can automatically realize domain name and synchronize with CDN module and domain name resolution server in network node, reduces a staff and carries out workload synchronous and that safeguard.
Should be appreciated that the division of the unit described in above-described embodiment, is only that a kind of logic function is divided, and when actual realization, can have other dividing mode.
Embodiment six:
Details are as follows for the hardware configuration schematic diagram of the device of the content-based distributing network CDN distributing data that Fig. 7 provides for the embodiment of the present invention:
The device of the content-based distributing network CDN distributing data described in the embodiment of the present invention six, comprise processor 71, receiving interface 72, transmission interface 73 and memory 74, the part or all of function that is used for realizing network node in the invention described above embodiment mono-, embodiment bis-, embodiment tri-, is described below it.
Receiving interface 72 receives the domain name mapping request that user terminal sends, processor 71 obtains the domain name of carrying in domain name analysis request, and in the CDN domain name list in memory 74, search domain name by processor 71, in the situation that finding domain name, the analysis result of processor 71 using the IP address of the CDN module of storing in memory as domain name, returned to user terminal by transmission interface 73, receive destination address that user terminal sends while being the request of data of IP address of described CDN module at receiving interface, control transmission interface 73 by processor 71 and distribute the data corresponding with described request of data to described user terminal.
As the preferred mode of one of the present embodiment, receiving interface 72 receives the domain name of being served by CDN of being issued by the MP-BGP MP-BGP of expansion by content and service provider CSP, generates the list of described CDN domain name by controller 71 according to the content of its reception.
In addition, if controller is not in the situation that finding domain name, controller 71 resolves to domain name other IP address or sends domain name by transmission interface 73 and resolves to upper level domain name resolution server.
Further, receiving at above-mentioned receiving interface the destination address that user terminal sends is the request of data of the IP address of described CDN module, controls transmission interface 73 distribute the data corresponding with described request to described user terminal and comprise by processor 71:
The destination address that receiving interface 72 receives user terminal transmission is the request of data of the IP address of described CDN module;
Controller 71 searches in the memory 74 in network node, whether to preserve or control described data;
If preserve or control described data, described data are sent to user terminal by controller 71;
If do not preserve or control described data, controller is asked described data by CDN module or the CSP of transmission interface upstream nodes, receive and preserved by memory 74 the described data of upstream node or CSP transmission by receiving interface 72, and by transmission interface 73, described data are sent to user terminal.
Should be appreciated that hardware unit that persons skilled in the art realize content-based distributing network CDN distributing data of the present invention is including, but not limited to above-mentioned hardware configuration.
In embodiments of the present invention, by integrated CDN in network node and DNS function, be the IP address of described CDN module by the IP address resolution of domain name by domain name resolution server wherein, can effectively make flow localized, solve the broadband Cost Problems that the backbone network that brings promotes in proportion that raises speed, and user can access CDN service nearby, minimizing user access time delay., by the Routing Protocol of expansion, domain name is published in the CDN module and domain name resolution server of network node meanwhile, can reduces maintenance cost.In addition, it is metropolitan area network that the embodiment of the present invention is not limited to network node, can be applied to the backbone network of ISP, or is applied in the middle of the more next stage network of metropolitan area network.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a method for content-based distributing network CDN distributing data, is characterized in that, described method comprises:
Network node receives the domain name mapping request that user terminal sends, and obtains the domain name of carrying in domain name analysis request;
In the list of the CDN of described network node domain name, search domain name;
If find domain name, the IP address of CDN module in described network node is returned to user terminal as the analysis result of domain name;
The destination address that receives user terminal transmission is the request of data of the IP address of described CDN module, and the distribution data extremely described user terminal corresponding with described request of data.
2. method according to claim 1, is characterized in that, described method also comprises:
Receive the domain name of being served by CDN of being issued by the MP-BGP MP-BGP of expansion by content and service provider CSP, generate the list of described CDN domain name.
3. method according to claim 1 and 2, is characterized in that, described method also comprises:
If do not find domain name, domain name is resolved to other IP address or send domain name and resolve to upper level domain name resolution server.
4. according to the method described in any one in claim 13, it is characterized in that, the destination address that described reception user terminal sends is the request of data of the IP address of described CDN module, and distribution data to the described user terminal corresponding with described request comprises:
The destination address that receives user terminal transmission is the request of data of the IP address of described CDN module;
Search and in network node, whether preserve or control described data;
If so, described data are sent to user terminal;
Otherwise CDN module or the CSP of upstream nodes ask described data, receive and preserve the described data that upstream node or CSP send, and described data are sent to user terminal.
5. according to the method described in any one in claim 14, it is characterized in that, described network node is metropolitan area network router, Broadband Remote Access Server BRAS or backbone network router.
6. a device for content-based distributing network CDN distributing data, is characterized in that, described device comprises:
Receiving element: the domain name mapping request sending for receiving user terminal, and obtain the domain name of carrying in domain name analysis request;
Search unit: search domain name for the CDN domain name list at described device;
Return to unit: in the situation that searching unit and finding domain name, the IP address of the CDN module in described device is returned to user terminal as the analysis result of domain name;
Dispatching Unit: be the request of data of the IP address of described CDN module for the destination address that receives user terminal transmission, and the distribution data extremely described user terminal corresponding with request of data.
7. device according to claim 6, is characterized in that, described device also comprises:
CDN domain name list generation unit: for receiving the domain name of being served by CDN of being issued by the MP-BGP MP-BGP of expansion by content and service provider CSP, generate the list of described CDN domain name.
8. according to the device described in claim 6 or 7, it is characterized in that, described device also comprises:
Processing unit: in the situation that searching unit and not finding domain name, domain name is resolved to other IP address or send domain name and resolve to upper level domain name resolution server.
9. according to the device described in any one in claim 6-8, it is characterized in that, described Dispatching Unit comprises:
Data receiver subelement: be the request of data of the IP address of described CDN module for the destination address that receives user terminal transmission;
Data search subelement: for searching at network node whether preserve or control described data;
The first data send subelement: in the situation that network node is preserved or controlled described data, described data are sent to user terminal;
The second data send subelement: in the situation that network node is not preserved or controlled described data, CDN module or the CSP of upstream nodes ask described data, receive and preserve the described data that upstream node or CSP send, and described data are sent to user terminal.
10. device according to claim 6, is characterized in that, described network node is metropolitan area network router, Broadband Remote Access Server BRAS or backbone network router.
CN201210485437.XA 2012-11-26 2012-11-26 Method and device based on content distributing network CDN distribution data Active CN103841150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210485437.XA CN103841150B (en) 2012-11-26 2012-11-26 Method and device based on content distributing network CDN distribution data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210485437.XA CN103841150B (en) 2012-11-26 2012-11-26 Method and device based on content distributing network CDN distribution data

Publications (2)

Publication Number Publication Date
CN103841150A true CN103841150A (en) 2014-06-04
CN103841150B CN103841150B (en) 2017-11-17

Family

ID=50804279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210485437.XA Active CN103841150B (en) 2012-11-26 2012-11-26 Method and device based on content distributing network CDN distribution data

Country Status (1)

Country Link
CN (1) CN103841150B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104702617A (en) * 2015-03-20 2015-06-10 广东睿江科技有限公司 Data distribution method and device based on CDN (content distribution network)
CN104754073A (en) * 2015-03-25 2015-07-01 百度在线网络技术(北京)有限公司 Resource access method and device
CN104967590A (en) * 2014-09-18 2015-10-07 腾讯科技(深圳)有限公司 Method, apparatus and system for transmitting communication message
CN106506722A (en) * 2016-11-17 2017-03-15 中国移动通信集团江苏有限公司 Data forwarding device
CN107920139A (en) * 2017-11-06 2018-04-17 顺丰科技有限公司 A kind of confirmation method of domain name, system, equipment and computer-readable recording medium
CN108989487A (en) * 2018-09-06 2018-12-11 北京泰策科技有限公司 CDN Optimization Scheduling based on local dns
CN109889586A (en) * 2019-02-02 2019-06-14 腾讯科技(深圳)有限公司 Communication processing method, device, computer-readable medium and electronic equipment
CN111191156A (en) * 2019-12-20 2020-05-22 中移(杭州)信息技术有限公司 Network request resource scheduling method and device and computer readable storage medium
CN111224952A (en) * 2019-12-24 2020-06-02 中移(杭州)信息技术有限公司 Network resource acquisition method and device for directional flow and storage medium
CN111625359A (en) * 2020-05-25 2020-09-04 北京金山云网络技术有限公司 Method and device for determining CDN usage of user and terminal equipment
CN112422342A (en) * 2020-11-18 2021-02-26 中国联合网络通信集团有限公司 Method and device for acquiring service data
CN113556411A (en) * 2021-06-28 2021-10-26 深圳市高德信通信股份有限公司 CDN video scheduling device and method

Citations (6)

* 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
CN101242422A (en) * 2007-02-06 2008-08-13 中国电信股份有限公司 Content distribution network system and method applicable to multi-service fusion
CN101729273A (en) * 2008-10-27 2010-06-09 中国移动通信集团公司 Streaming media distribution system, method and device
US20100161760A1 (en) * 2008-12-18 2010-06-24 At&T Corp. Systems and Methods for Determining the Location of a Request on a Content Delivery Network
CN101873358A (en) * 2010-06-11 2010-10-27 杭州华三通信技术有限公司 Method and device for balancing link load on basis of domain name resolution
US8175006B2 (en) * 2009-12-08 2012-05-08 At&T Intellectual Property I, L.P. Multi-path load balancing using route controller

Patent Citations (6)

* 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
CN101242422A (en) * 2007-02-06 2008-08-13 中国电信股份有限公司 Content distribution network system and method applicable to multi-service fusion
CN101729273A (en) * 2008-10-27 2010-06-09 中国移动通信集团公司 Streaming media distribution system, method and device
US20100161760A1 (en) * 2008-12-18 2010-06-24 At&T Corp. Systems and Methods for Determining the Location of a Request on a Content Delivery Network
US8175006B2 (en) * 2009-12-08 2012-05-08 At&T Intellectual Property I, L.P. Multi-path load balancing using route controller
CN101873358A (en) * 2010-06-11 2010-10-27 杭州华三通信技术有限公司 Method and device for balancing link load on basis of domain name resolution

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967590A (en) * 2014-09-18 2015-10-07 腾讯科技(深圳)有限公司 Method, apparatus and system for transmitting communication message
CN104967590B (en) * 2014-09-18 2017-10-27 腾讯科技(深圳)有限公司 A kind of methods, devices and systems for transmitting communication information
CN104702617B (en) * 2015-03-20 2018-04-27 广东睿江云计算股份有限公司 A kind of data distributing method and device based on content distributing network
CN104702617A (en) * 2015-03-20 2015-06-10 广东睿江科技有限公司 Data distribution method and device based on CDN (content distribution network)
CN104754073A (en) * 2015-03-25 2015-07-01 百度在线网络技术(北京)有限公司 Resource access method and device
CN106506722A (en) * 2016-11-17 2017-03-15 中国移动通信集团江苏有限公司 Data forwarding device
CN107920139B (en) * 2017-11-06 2021-04-20 顺丰科技有限公司 Domain name confirmation method, system, equipment and computer readable storage medium
CN107920139A (en) * 2017-11-06 2018-04-17 顺丰科技有限公司 A kind of confirmation method of domain name, system, equipment and computer-readable recording medium
CN108989487A (en) * 2018-09-06 2018-12-11 北京泰策科技有限公司 CDN Optimization Scheduling based on local dns
CN109889586A (en) * 2019-02-02 2019-06-14 腾讯科技(深圳)有限公司 Communication processing method, device, computer-readable medium and electronic equipment
CN109889586B (en) * 2019-02-02 2021-05-11 腾讯科技(深圳)有限公司 Communication processing method and device, computer readable medium and electronic equipment
CN111191156A (en) * 2019-12-20 2020-05-22 中移(杭州)信息技术有限公司 Network request resource scheduling method and device and computer readable storage medium
CN111191156B (en) * 2019-12-20 2023-09-05 中移(杭州)信息技术有限公司 Network request resource scheduling method, device and computer readable storage medium
CN111224952A (en) * 2019-12-24 2020-06-02 中移(杭州)信息技术有限公司 Network resource acquisition method and device for directional flow and storage medium
CN111625359A (en) * 2020-05-25 2020-09-04 北京金山云网络技术有限公司 Method and device for determining CDN usage of user and terminal equipment
CN111625359B (en) * 2020-05-25 2023-04-18 北京金山云网络技术有限公司 Method and device for determining CDN usage of user and terminal equipment
CN112422342A (en) * 2020-11-18 2021-02-26 中国联合网络通信集团有限公司 Method and device for acquiring service data
CN112422342B (en) * 2020-11-18 2023-04-07 中国联合网络通信集团有限公司 Method and device for acquiring service data
CN113556411A (en) * 2021-06-28 2021-10-26 深圳市高德信通信股份有限公司 CDN video scheduling device and method

Also Published As

Publication number Publication date
CN103841150B (en) 2017-11-17

Similar Documents

Publication Publication Date Title
CN103841150A (en) Data delivery method and device based on content delivery network CDN
US10069792B2 (en) Geolocation via internet protocol
US8433793B2 (en) Dispatching method, dispatching apparatus and dispatching system
CN105681476B (en) A kind of method for page jump, device and system
US8918120B2 (en) Systems for faster access and download of digital content in mobile wireless devices using celluar network
EP2356577A1 (en) Request routing and updating routing information utilizing client location information
US9031074B2 (en) Method and apparatus for packet call setup
CN103825975A (en) Cdn node distribution server and system
CN106230942A (en) A kind of method and system of time source access
JP2023523473A (en) User plane function determination method, information provision method, device and medium
CN104092785A (en) Method for domain name registration and resolution, and resource access method and resource access device based on domain name
CN102833361A (en) Terminating connections and selecting target source devices for resource requests
WO2019071995A1 (en) Content distribution method, device and system
CN110225144A (en) Obtain and provide method, user equipment and the management server of service
CN104702617A (en) Data distribution method and device based on CDN (content distribution network)
CN101325499B (en) Method, system and equipment for distributing static data
US20160323365A1 (en) Content delivery method, apparatus, and system
KR101361549B1 (en) System for delivering ip packet based on contents id and method thereof
US9860171B2 (en) Large scale message routing in a distributed network
CN109218360B (en) Method and system for dynamically opening cloud resource block to ICP server by Co machine room
CN111510487A (en) Method for realizing intelligent routing
CN102957668A (en) Method for acquiring location information from identifier-based network and access service router
CN107343014B (en) Service distribution method based on content distribution network and remote gateway
CN115396398B (en) Derived domain name access method, system, device, storage medium and program product
CN114430408B (en) Domain name resolution scheduling method, device, server and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant