CN103873604B - Network access method based on analysis of CDN data - Google Patents
Network access method based on analysis of CDN data Download PDFInfo
- Publication number
- CN103873604B CN103873604B CN201410109142.1A CN201410109142A CN103873604B CN 103873604 B CN103873604 B CN 103873604B CN 201410109142 A CN201410109142 A CN 201410109142A CN 103873604 B CN103873604 B CN 103873604B
- Authority
- CN
- China
- Prior art keywords
- domain name
- cdn
- resolver
- domain
- dns
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000004891 communication Methods 0.000 claims abstract description 19
- 238000010276 construction Methods 0.000 claims description 2
- 238000013507 mapping Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 239000004744 fabric Substances 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a network access method based on analysis of CDN data. A domain name list of a plurality of websites is acquired; DNS records of domain names in the domain name list are acquired; according to data required by a user, resources published through the domain names of a CDN in the DNS records are acquired; a public domain name analyzer and a local domain name analyzer are respectively used to have access to the resources published through the domain names of the CDN, and load balance information of the CDN, content distribution quality information and cross-domain communication traffic information are acquired; the difference between the load balance information of the CDN, the content distribution quality information and the cross-domain communication traffic information which are acquired through the access of the public domain name analyzer and the load balance information of the CDN, the content distribution quality information and the cross-domain communication traffic information which are acquired through the access of the local domain name analyzer is analyzed; the property of the public domain name analyzer and the property of the local domain name analyzer are evaluated, and the proper domain name analyzer is selected to have network access.
Description
Technical field
The present invention relates to Internet technical field, and in particular to a kind of network access side based on analysis CDN data
Method.
Background technology
Domain name system(Domain Name System, abbreviation DNS)Can by be easy to user's identification domain name change for ease of
The IP address of machine recognition.CDN then directs the user to specific content server using DNS redirecting techniques, to carry
The viewing experience of high user.
In recent years, the company such as Google, OpenDNS is proposed common domain name analysis service, and fast-developing and portion one after another
Administration.As the IP address that DNS Protocol typically translates domain names into device is supplied to name server(Rather than the IP address of user),
Therefore the DNS redirecting techniques that CDN is used also are mainly the IP address according to Domain Name Resolver(Rather than the IP ground of user
Location), direct the user to a specific content server.The server is to Domain Name Resolver(Rather than arrive user)There is optimum
Network connection conditions, including performances such as delay, bandwidth.For ordinary circumstance, the spacing of traditional Domain Name Resolver and user
Close to often, therefore, if using traditional Domain Name Resolver, the content server to user can also have good network connection
Condition.When user is switched to common domain name analysis service from traditional domain name resolution service, between user and Domain Name Resolver
Matching relationship on reason position will be broken, and will necessarily impact the DNS redirecting techniques that CDN is used, and then have influence on
The performance of CDN.
Relative to traditional domain name resolution service, common domain name analysis service can provide faster domain name mapping, carry
The web browsing experience of high user.If but user its geographic vicinity does not have the content server of main flow CDN, using public affairs
When domain name resolution service accesses CDN altogether, its web browsing experience will be adversely affected.
The content of the invention
For above-mentioned deficiency of the prior art, the network access side based on analysis CDN data that the present invention is provided
Method can pass through the analysis of the data message of common domain name resolver and home domain name resolver acquisition CDN, select to fit
When Domain Name Resolver carry out network access.
The technical side that present invention analysis common domain name resolver service is adopted on method one embodiment that CDN affects
Case is:
Obtain the domain name list of some websites;
Obtain the DNS records of domain name in domain name list;
Receive user request data, to cross the resource that the domain name of CDN is issued used in obtaining the DNS records;
Common domain name resolver is respectively adopted and home domain name resolver accesses the domain name for using CDN and issues
Resource, obtain the load-balancing information of CDN, content and issue quality information and cross-domain communication amount information;
Analysis common domain name resolver access obtain the load-balancing information of CDN, content issue quality information and across
Field communication amount information and home domain name resolver access obtain the load-balancing information of CDN, content issue quality information and
The difference of cross-domain communication amount information;And
The performance of assessment common domain name resolver and home domain name resolver, selects appropriate Domain Name Resolver to carry out network
Access.
The Network Access Method based on analysis CDN data that the present invention is provided respectively using common domain name resolver and
Under home domain name resolver both of these case, identical resource information is obtained from CDN to be measured, and compares both
In the case of the load balancing of the CDN, content issue quality and cross-domain communication amount, assess common domain name in terms of these three
The impact that analysis service is caused to CDN, user can be by selecting appropriate domain name mapping to above-mentioned result of the comparison
Device carries out network access.
Description of the drawings
Fig. 1 is flow chart of the present invention based on Network Access Method one embodiment of analysis CDN data;
Fig. 2 is the flow chart of the DNS records for obtaining domain name in domain name list;
When Fig. 3 is by asking the DNS of domain name to record without DNS request message in Domain Name Resolver, Domain Name Resolver is successively
Access the instantiation flow chart of name servers at different levels.
Specific embodiment
Below the specific embodiment of the present invention is described, the technical staff in order to this technology neck understands this
It is bright, it should be apparent that the invention is not restricted to the scope of specific embodiment, for those skilled in the art,
As long as in appended claim restriction and the spirit and scope of the present invention for determining, these changes are aobvious and easy to various change
See, all are using the innovation and creation of present inventive concept in the row of protection.
With reference to Fig. 1, Fig. 1 show Network Access Method one embodiment based on analysis CDN data of the present invention
Flow chart, the method comprising the steps of 101 to 106.
In a step 101, obtain the domain name list of some websites.
Domain name list described here, can be current most popular 1 downloaded from network, 000,000 website
Domain name list.
In a step 102, the DNS records of domain name in domain name list are obtained.
With reference to Fig. 2, the flow chart that Fig. 2 show the DNS records for obtaining domain name in domain name list of the present invention is obtained
Process includes step 201 to 205.
In step 201, construct DNS request message.Construction DNS request message described herein means that user can basis
The requirements for access of oneself keys in a domain name.
In step 202., DNS request message is sent to Domain Name Resolver.
In step 203, if being cached with the DNS notes of the asked domain name of above-mentioned DNS request message in above-mentioned Domain Name Resolver
Record;In step 205, return the DNS to server to record.
In step 204, if the DNS without the asked domain name of DNS request message is recorded in above-mentioned Domain Name Resolver, the domain
Name resolver accesses name servers at different levels successively, until obtaining the DNS records of the asked domain name of DNS request message.
In one embodiment of the invention, with reference to Fig. 3, Fig. 3 show in Domain Name Resolver without DNS request message institute
When the DNS of request domain name is recorded, Domain Name Resolver accesses the instantiation flow chart of name servers at different levels successively, and example is concrete
It is as follows:
During Domain Name Resolver accesses name servers at different levels successively, name server then can be returned according to the IP address
Corresponding DNS records are returned, the CDN content server of its geographic vicinity is directed the user to.
Its IP address is supplied to Domain Name Resolver the name server of domain name xxxx.pcworld.com, and request analysis should
Domain name.The name server of the domain name returns a CNAME(Canonical NAME)The DNS records of type.The CNAME types
DNS record indicate institute's request analysis domain name xxxx.pcworld.com another name a1506.g.akamai.net.Its work
With being name server that domain name mapping request is redirected to CDN.Then, its IP address is provided by Domain Name Resolver
Give root CDN name server, request analysis domain name a1506.g.akamai.net;Root CDN name server then root
According to the IP address, translate domain names into request and be redirected to one-level CDN name server za.akamaitech.net.
Same method, domain name mapping request are redirected to two grades of CDN name servers again
nog.akamai.net.Finally, IP address of the two grades of CDN name servers according to Domain Name Resolver, by a CDN net
The IP address of network content server returns to Domain Name Resolver(User is returned to by which again), direct the user to a domain name solution
CDN content server near parser.
In step 103, receive user request data, is sent out with the domain name for crossing CDN used in obtaining above-mentioned DNS records
The resource of cloth.
In one embodiment of the invention, can after the main frame in some regions is chosen as sensing point, then
According to user's request data, the resource that the domain name of CDN is issued used in obtaining DNS records, is crossed.
In one embodiment of the invention, accessed using common domain name resolver and home domain name resolver respectively and used
The step of crossing the resource that the domain name of CDN is issued, the load-balancing information for obtaining CDN further includes:Parsing DNS notes
The resource that the domain name of CDN is issued is crossed used in record;Record Domain Name Resolver returns to the CDN content server of main frame
IP address;Statistics has the quantity of the CDN content server of different IP addresses respectively.
In one embodiment of the invention, the load-balancing information for obtaining CDN is carried out in detail using instantiation
Describe in detail bright:
For Akamai CDNs, if measuring from 150 sensing points, as shown by data:Parsed using home domain name
Device, the quantity of the CDN content server with different IP addresses for counting about 200;Parsed using common domain name
Device, the quantity of the CDN content server with different IP addresses for counting about 35.
In one embodiment of the invention, content issues the resource that quality information is that main frame is issued to acquisition domain name
The round-trip delay of CDN content server.
In one embodiment of the invention, issue quality information using instantiation to the content for obtaining CDN to enter
Row is described in detail:
For Akamai CDNs, if measuring from 150 sensing points, as shown by data:Parsed using home domain name
Device, about 8 milliseconds of the median of the CDN content server RTT that each main frame is directed to which;Parsed using common domain name
Device, about 30 milliseconds of the median of the CDN content server RTT that each main frame is directed to which.
In one embodiment of the invention, accessed using common domain name resolver and home domain name resolver respectively and used
The step of crossing the resource that the domain name of CDN is issued, the cross-domain communication amount information for obtaining CDN further includes:Using spy
The domain name of CDN is crossed used in measuring point parsing DNS records, and the domain name is directed to into a CDN content server;If
The IP address of the main frame belongs to same Autonomous Domain with the IP address of the edge node server, then belong to intra-area communication;If should
The IP address of main frame is not belonging to same Autonomous Domain with the IP address of the edge node server, then belong to cross-domain communication.
In one embodiment of the invention, the cross-domain communication amount information for obtaining CDN is carried out using instantiation
Describe in detail:
For Akamai CDNs, if measuring from 150 sensing points, as shown by data:Parsed using home domain name
Device, nearly 75% traffic belong to intra-area communication;Using common domain name resolver, the access of user nearly 95% is needed through at least 3
Individual Autonomous Domain gets to the content server of CDN.
At step 104, accessed using common domain name resolver and home domain name resolver respectively and described used CDN nets
The resource that the domain name of network is issued, obtains the load-balancing information of CDN, content and issues quality information and cross-domain communication amount letter
Breath.
In step 105, analyze common domain name resolver and access load-balancing information, the content issue for obtaining CDN
Quality information and cross-domain communication amount information access load-balancing information, the content for obtaining CDN with home domain name resolver
The difference of cloth quality information and cross-domain communication amount information.
In step 106, the performance of common domain name resolver and home domain name resolver is assessed, appropriate domain name solution is selected
Parser carries out network access.The performance of common domain name resolver and home domain name resolver is assessed, specific way can be
The load-balancing information of the CDN that above-mentioned common domain name resolver and home domain name resolver are obtained, content issue quality
Information and cross-domain communication amount information are contrasted respectively, and choosing the best mode of relative user's access carries out network access.
Therefore, after being analyzed using the method, user can choose the excellent parsing of network quality according to comparing result
Device conducts interviews.
Claims (6)
1. a kind of Network Access Method based on analysis CDN data, is characterized in that, including:
Obtain the domain name list of some websites;
Obtain the DNS records of domain name in domain name list;
Receive user request data, to cross the resource that the domain name of CDN is issued used in obtaining the DNS records;
Common domain name resolver is respectively adopted and home domain name resolver accesses the money that the domain name for using CDN is issued
Source, obtains the load-balancing information of CDN, content and issues quality information and cross-domain communication amount information;
Analysis common domain name resolver accesses and obtains the load-balancing information of CDN, content and issue quality information and cross-domain logical
Traffic information and home domain name resolver access and obtain the load-balancing information of CDN, content and issue quality information and cross-domain
The difference of traffic information;And
The performance of assessment common domain name resolver and home domain name resolver, selects appropriate Domain Name Resolver to carry out network visit
Ask.
2. method according to claim 1, is characterized in that, the DNS records for obtaining domain name in domain name list
Step is further included:
Construction DNS request message;
DNS request message is sent to Domain Name Resolver;
If being cached with the DNS records of the asked domain name of the DNS request message in domain name resolver, returning to server should
DNS is recorded;
If the records of the DNS without the asked domain name of the DNS request message in domain name resolver, domain name resolver is successively
Name servers at different levels are accessed, until obtaining the DNS records of the asked domain name of DNS request message.
3. method according to claim 2, is characterized in that, the receive user request data, to obtain the DNS records
Used in cross the resources step that the domain name of CDN issues and use common domain name resolver and home domain name to parse respectively with described
Device is accessed and is further included between the resource that the domain name for using CDN is issued:
The main frame in some regions is chosen as sensing point.
4. method according to claim 3, is characterized in that, respectively using common domain name resolver and home domain name resolver
The step of accessing the resource that the domain name for using CDN is issued, the load-balancing information of acquisition CDN is further wrapped
Include:
The resource that the domain name of CDN is issued is crossed used in parsing the DNS records;
Record Domain Name Resolver returns to the IP address of the CDN content server of the main frame;
The quantity of CDN content server of the statistics with different IP addresses.
5. method according to claim 3, is characterized in that, the content issue quality information is the main frame to acquisition institute
State the round-trip delay of the CDN content server of the resource of domain name issue.
6. method according to claim 3, is characterized in that, respectively using common domain name resolver and home domain name resolver
The step of accessing the resource that the domain name for using CDN is issued, the cross-domain communication amount information of acquisition CDN is further
Including:
The domain name of CDN is crossed used in the DNS records are parsed using sensing point, and the domain name is directed to into a CDN net
Network content server;
If the IP address of the main frame belongs to same Autonomous Domain with the IP address of edge node server, belong to intra-area communication;
If the IP address of the main frame is not belonging to same Autonomous Domain with the IP address of edge node server, belong to cross-domain logical
Letter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410109142.1A CN103873604B (en) | 2014-03-24 | 2014-03-24 | Network access method based on analysis of CDN data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410109142.1A CN103873604B (en) | 2014-03-24 | 2014-03-24 | Network access method based on analysis of CDN data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103873604A CN103873604A (en) | 2014-06-18 |
CN103873604B true CN103873604B (en) | 2017-03-22 |
Family
ID=50911717
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410109142.1A Expired - Fee Related CN103873604B (en) | 2014-03-24 | 2014-03-24 | Network access method based on analysis of CDN data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103873604B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104092791B (en) * | 2014-07-11 | 2017-07-28 | 中国科学院声学研究所 | The Internet content sources dispatching method and system of a kind of comprehensive quality and cost |
CN104954507B (en) * | 2015-06-23 | 2018-09-18 | 中国互联网络信息中心 | The preferred domain name analytic method of data and system |
CN105227691B (en) * | 2015-09-16 | 2018-09-14 | 互联网域名系统北京市工程研究中心有限公司 | A kind of method and system based on designated recorder type configuration alias |
CN106372125A (en) * | 2016-08-24 | 2017-02-01 | 安阳师范学院 | Method for building case study model of educational technology microblog group under SNA perspective |
CN110543364A (en) * | 2019-07-21 | 2019-12-06 | 聊城市光明医院 | Medical image rapid loading method and system |
CN111970262B (en) * | 2020-08-07 | 2023-02-28 | 杭州安恒信息技术股份有限公司 | Method and device for detecting third-party service enabling state of website and electronic device |
CN112491639B (en) * | 2020-09-29 | 2022-10-18 | 南京大学 | Anycast region division measuring method based on domain name resolution |
CN114448990B (en) * | 2021-12-23 | 2023-06-23 | 天翼云科技有限公司 | Fusion CDN-based resource scheduling method, device and equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011160113A3 (en) * | 2010-06-18 | 2012-04-05 | Akamai Technologies, Inc. | Extending a content delivery network (cdn) into a mobile or wireline network |
CN102638483A (en) * | 2011-02-15 | 2012-08-15 | 中国移动通信集团公司 | Method, device and system for determining content distribution nodes |
-
2014
- 2014-03-24 CN CN201410109142.1A patent/CN103873604B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011160113A3 (en) * | 2010-06-18 | 2012-04-05 | Akamai Technologies, Inc. | Extending a content delivery network (cdn) into a mobile or wireline network |
CN102638483A (en) * | 2011-02-15 | 2012-08-15 | 中国移动通信集团公司 | Method, device and system for determining content distribution nodes |
Also Published As
Publication number | Publication date |
---|---|
CN103873604A (en) | 2014-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103873604B (en) | Network access method based on analysis of CDN data | |
Li et al. | Internet anycast: performance, problems, & potential | |
CN106412063B (en) | CDN node detection and resource scheduling system and method in education network | |
US11025553B2 (en) | Methods and apparatus for real-time traffic steering using real-time user monitoring data | |
CN101340327B (en) | Method and system for implementing load balance of network server | |
Ager et al. | Comparing DNS resolvers in the wild | |
CN103731481B (en) | Request route and using Customer Location information come more new routing information | |
US8489724B2 (en) | CNAME-based round-trip time measurement in a content delivery network | |
US10361931B2 (en) | Methods and apparatus to identify an internet domain to which an encrypted network communication is targeted | |
US11233768B1 (en) | CDN configuration tuning based on domain scan analysis | |
Huang et al. | Public DNS system and global traffic management | |
CN106067890B (en) | A kind of domain name analytic method, apparatus and system | |
WO2019028683A1 (en) | Method and system for acquiring and collecting client local dns server | |
CN108737515A (en) | Route Selection is asked in networked environment | |
Ahmed et al. | Peering vs. transit: Performance comparison of peering and transit interconnections | |
CN111447304B (en) | Anycast node IP address enumeration method and system for anycast recursive domain name system | |
CN104702617B (en) | A kind of data distributing method and device based on content distributing network | |
Hao et al. | On the DNS deployment of modern web services | |
Doan et al. | Evaluating public DNS services in the wake of increasing centralization of DNS | |
Hohlfeld et al. | Characterizing a meta-CDN | |
US10834222B1 (en) | Server utilizing multiple object retrieval candidates | |
Cicalese et al. | A first look at anycast CDN traffic | |
Pujol et al. | Understanding the share of IPv6 traffic in a dual-stack ISP | |
Deri et al. | A distributed dns traffic monitoring system | |
Bangera et al. | Ads versus regular contents: Dissecting the web hosting ecosystem |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170322 |