CN102111309B - Method and system for detecting content delivery network (CDN) node - Google Patents

Method and system for detecting content delivery network (CDN) node Download PDF

Info

Publication number
CN102111309B
CN102111309B CN 201010615974 CN201010615974A CN102111309B CN 102111309 B CN102111309 B CN 102111309B CN 201010615974 CN201010615974 CN 201010615974 CN 201010615974 A CN201010615974 A CN 201010615974A CN 102111309 B CN102111309 B CN 102111309B
Authority
CN
China
Prior art keywords
cdn node
detection
detected object
unit
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN 201010615974
Other languages
Chinese (zh)
Other versions
CN102111309A (en
Inventor
姚福源
于洪方
井卫军
蒋建平
梁建民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Century Broadband Internet Data Center Co., Ltd.
Original Assignee
BEIJING CENTURY BROADBAND INTERNET DATA CENTER Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING CENTURY BROADBAND INTERNET DATA CENTER Co Ltd filed Critical BEIJING CENTURY BROADBAND INTERNET DATA CENTER Co Ltd
Priority to CN 201010615974 priority Critical patent/CN102111309B/en
Publication of CN102111309A publication Critical patent/CN102111309A/en
Application granted granted Critical
Publication of CN102111309B publication Critical patent/CN102111309B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method for detecting a content delivery network (CDN) node, comprising the following steps: acquiring a detection object and a detection threshold from a configuration end; detecting the detection object to acquire detection data; carrying out analysis and statistics on the detection data to acquire an analytic statistics result; and comparing the analytic statistics result with the detection threshold to determine the survival state of the detection threshold, and converting the state of the CDN node corresponding to the survival state of the detection threshold in accordance with the survival state of the detection threshold. The method for detecting a CDN node is used to effectively and exactly detect the survival state of the CDN node and effectively provide a required CDN node detection function for an intelligent domain name server (DNS) library.

Description

A kind of detection method of CDN node and system
Technical field
The application relates to the WEB application, particularly relates to a kind of detection method and system of CDN node.
Background technology
CDN (Content Delivery Network) content distributing network, its objective is by increase the new network architecture of one deck in existing Internet, the content of website is published to network " edge " near the user, make the user can obtain required content nearby, solve the situation of Internet network congestion, improve the response speed of user's access websites.Solve technically the slow-footed problem of user's access websites little due to the network bandwidth, that user's visit capacity is large, the unequal reason of network point distribution causes comprehensively.
In the system of intelligent DNS storehouse, need in the domain name logical operation process of internal system intelligent DNS data are synchronized on each intelligent DNS node, need in synchronizing process to guarantee that CDN node dead in system can not be added to intelligent DNS data, so that the timely visit data node of user.
The inventor finds through research, and the method for not yet effectively surveying the CDN node at present is applied in the system of intelligent DNS storehouse, and the survival condition of CDN node is determined.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present application provides a kind of detection method and system of CDN node, existing state that can accurate detection CDN node.
Technical scheme is as follows:
A kind of detection method of CDN node comprises:
Obtain detected object and detection threshold from described configuration end;
Described detected object is carried out exploration operation, obtain detection data;
Analyze and add up described detection data and obtain the analytic statistics result;
Described analytic statistics result and described detection threshold are compared, determine the existing state of described detection threshold, and the state of the existing state pair CDN node corresponding with it of the described detection threshold of foundation is changed.
Above-mentioned detection method, preferred, comprising:
During for dead state not, the CDN node that it is corresponding is in not dead state when the existing state of determining described detection threshold, and according to the weight of the load threshold adjustment CDN node of described CDN node.
Above-mentioned detection method, preferred, the detection mode that described detected object is carried out the described CDN node report of exploration operation foundation carries out.
Above-mentioned detection method, preferred, described detected object is IP and the port of CDN node.
A kind of detection system of CDN node comprises:
Acquiring unit, probe unit, analytic unit and comparing unit;
Wherein: described acquiring unit is used for obtaining detected object and detection threshold from described configuration end;
Described probe unit is used for the detected object that described acquiring unit obtains is carried out exploration operation, and obtains detection data;
Described analytic unit is used for analyzing and adding up described detection data and obtains the analytic statistics result;
Described comparing unit compares for the detection threshold that analytic statistics result and described acquiring unit with described analytic unit acquisition obtain, determine the existing state of described detection threshold, and the state of the existing state pair CDN node corresponding with it of the described detection threshold of foundation is changed.
Above-mentioned system, preferred, described comparing unit comprises adjustment unit;
When described adjustment unit is used for when described comparing unit the existing state by relatively determining described detection threshold and is in not dead state for not dead state and the CDN node that it is corresponding, according to the weight of the described CDN node of load threshold adjustment of described CDN node.
Above-mentioned system, preferred, the detection mode that the detected object that described probe unit obtains described acquiring unit is carried out the described CDN node report of exploration operation foundation carries out.
Above-mentioned system, preferred, the detected object that described acquiring unit obtains is IP and the port numbers of described CDN node.
The technical scheme that is provided by above the embodiment of the present application as seen, the detection method of CDN node provided by the invention and system, the exploration operation that the detected object of obtaining from the configuration end is carried out various ways obtains detection data, obtain the analytic statistics result by the analytic statistics to detection data, the analytic statistics result that obtains and the detection threshold that obtains from the configuration end are compared, threshold value is judged, if threshold value is dead state, the CDN node state that threshold value is corresponding is set to death; If threshold value is dead state, the CDN node that threshold value is corresponding is set to non-dead state, and the weight of CDN node is regulated.The detection method of CDN node provided by the invention can be surveyed the existing state of CDN node effectively accurately, and the CND node detecting function of demand can effectively be provided for intelligent DNS storehouse.
Description of drawings
In order to be illustrated more clearly in the embodiment of the present application or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or description of the Prior Art, apparently, the accompanying drawing that the following describes is only some embodiment that put down in writing in the application, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The method flow diagram of the CDN node detecting method that Fig. 1 provides for the embodiment of the present application;
A method detailed flow chart in the CDN node detection process that Fig. 2 provides for the embodiment of the present application;
The detection schematic diagram of the detection process that Fig. 3 provides for the embodiment of the present application;
The CDN node that Fig. 4 provides for the embodiment of the present application is initiatively reported the process schematic diagram of detection mode;
The probe node that Fig. 5 provides for the embodiment of the present application is initiated the process schematic diagram of detection mode;
One instance graph of the detection process that Fig. 6 provides for the embodiment of the present application;
The structural representation of the detection system that Fig. 7 provides for the embodiment of the present application;
One detailed construction schematic diagram of the detection system that Fig. 8 provides for the embodiment of the present application.
Embodiment
In order to make those skilled in the art person understand better the application's scheme.Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is clearly and completely described, obviously, described embodiment is only the application's part embodiment, rather than whole embodiment.Based on the embodiment in the application, those of ordinary skills are not making the every other embodiment that obtains under the creative work prerequisite, all should belong to the scope of the application's protection.
The method flow diagram of the CDN node detecting method that the embodiment of the present application provides comprises as shown in Figure 1:
Step S101: obtain detected object and detection threshold from described configuration end;
Step S102: described detected object is carried out exploration operation, obtain detection data;
Step S103: analyze and add up described detection data and obtain the analytic statistics result;
Step S104: described analytic statistics result and described detection threshold are compared, determine the existing state of described detection threshold, and the state of the existing state pair CDN node corresponding with it of the described detection threshold of foundation is changed.
On the basis of Fig. 1, the embodiment of the present application provides a method detailed flow chart of CDN node detecting method, as shown in Figure 2, comprising:
Step S105: whether the state that judges the CDN node is dead, if, execution in step S107; Otherwise, execution in step S106;
Step S106: whether the load that judges the CDN node is light; If, execution in step S109; Otherwise, execution in step S108;
Step S107: be dead with the status modifier of CDN node;
Step S108: revise the state of CDN node for living; Carry out subsequent step S110;
Step S109: revise the state of CDN node for living; Carry out subsequent step S111;
Step S110: the weight that reduces the CDN node;
Step S111: the weight that improves the CDN node.
In the embodiment of the present application implementation, when current CDN node was the state of living, if it is dead to detect this node, its state of living was set to dead state; When current C DN node was dead state, if detect the operating state that this node still is in survival, its dead state was set to state alive.
For Fig. 1 and the described method of Fig. 2 that the embodiment of the present application is provided are described more clearly, the detection schematic diagram of the detection process that the embodiment of the present application provides as shown in Figure 3, read IP and the port of CDN node in the DNS configuration-system of detection system from the system of intelligent DNS storehouse, obtain detected object, then utilize various detection modes that detected object is surveyed, after obtaining detection data, then get detection threshold from the DNS configuration-system.After detection data is analyzed and is added up, compare with described detection threshold, if detection threshold is the threshold value of dead state, the state of this CDN node is set to death, if it is dead that detection threshold does not reach, judge the weight of load, adjust the weight of CDN node according to load threshold, to adjust the flow of CND node.
In the method that the embodiment of the present application provides, the detection mode that described detected object is carried out the described CDN node report of exploration operation foundation carries out, the CDN node is initiatively reported shown in Figure 4 that the activity diagram of detection mode such as the embodiment of the present application provide, the loading condition of the active collection dns server in the Preset Time section of the locator(-ter) in the CDN node feeds back to result of detection in detection in the heart.
The activity chart of the probe node initiation detection mode that the embodiment of the present application provides as shown in Figure 5, can arrange a plurality of probe nodes in each different geographical, each probe node gets IP and port and the detection mode of detection from the detection center, initiate probe requests thereby to the CDN node, if the CDN node is replied, recording responses time, if status of fail is recorded in nonreply, structural exploration message sends to the detection center to deposit database in.
One instance graph of the detection process that the embodiment of the present application provides as shown in Figure 6, if arrange when the cost of probe node is higher, can survey detected object by the service of monitoring the website, other detection system is returned to result of detection to the detection center, and the detection center is therefrom taken out the data relevant with detected object and put in storage.
For aforesaid embodiment of the method, for simple description, therefore it all is expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not subjected to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and related action and module might not be that the present invention is necessary.
A kind of detection system of CDN node also is provided for above embodiment of the method the embodiment of the present application, has comprised:
Acquiring unit 201, probe unit 202, analytic unit 203 and comparing unit 204;
Wherein: acquiring unit 201 is used for obtaining detected object and detection threshold from described configuration end;
Probe unit 202 is used for the detected object that described acquiring unit 201 obtains is carried out exploration operation, and obtains detection data;
Analytic unit 203 is used for analyzing and adding up described detection data and obtains the analytic statistics result;
Comparing unit 204 compares for the detection threshold that analytic statistics result and described acquiring unit 201 with described analytic unit 203 acquisitions obtain, determine the existing state of described detection threshold, and the state of the existing state pair CDN node corresponding with it of the described detection threshold of foundation is changed.
In the system that the embodiment of the present application provides, comparing unit 204 comprises adjustment unit 205;
When adjustment unit 205 is used for when described comparing unit 204 existing state by relatively determining described detection threshold and is in not dead state for not dead state and the CDN node that it is corresponding, according to the weight of the described CDN node of load threshold adjustment of described CDN node.
Need to prove for above system:
The detection mode that the detected object that 202 pairs of described acquiring units 201 of probe unit obtain is carried out the described CDN node report of exploration operation foundation carries out.
The detected object that acquiring unit 201 obtains is IP and the port numbers of described CDN node.
For system embodiment, substantially corresponding to embodiment of the method, so description is fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method due to it.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and between each embodiment, identical similar part is mutually referring to getting final product, and each embodiment stresses is difference with other embodiment.The above is only the application's embodiment; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the application's principle; can also make some improvements and modifications, these improvements and modifications also should be considered as the application's protection range.

Claims (8)

1. the detection method of a CDN node, is characterized in that, comprising:
Obtain detected object and detection threshold from described configuration end; Describedly obtain detected object from configuration end and comprise: read IP and the port of CDN node in the DNS configuration-system from the system of intelligent DNS storehouse, obtain detected object;
Described detected object is carried out exploration operation, obtain detection data;
Analyze and add up described detection data and obtain the analytic statistics result;
Described analytic statistics result and described detection threshold are compared, determine the existing state of described detection threshold, and the state of the existing state pair CDN node corresponding with it of the described detection threshold of foundation is changed.
2. detection method according to claim 1, is characterized in that, comprising:
During for dead state not, the CDN node that it is corresponding is in not dead state when the existing state of determining described detection threshold, and according to the weight of the load threshold adjustment CDN node of described CDN node.
3. detection method according to claim 1, is characterized in that, the detection mode that described detected object is carried out the described CDN node report of exploration operation foundation carries out.
4. detection method according to claim 1, is characterized in that, described detected object is IP and the port of CDN node.
5. the detection system of a CDN node, is characterized in that, comprising:
Acquiring unit, probe unit, analytic unit and comparing unit;
Wherein: described acquiring unit is used for obtaining detected object and detection threshold from described configuration end; Describedly obtain detected object from configuration end and comprise: read IP and the port of CDN node in the DNS configuration-system from the system of intelligent DNS storehouse, obtain detected object;
Described probe unit is used for the detected object that described acquiring unit obtains is carried out exploration operation, and obtains detection data;
Described analytic unit is used for analyzing and adding up described detection data and obtains the analytic statistics result;
Described comparing unit compares for the detection threshold that analytic statistics result and described acquiring unit with described analytic unit acquisition obtain, determine the existing state of described detection threshold, and the state of the existing state pair CDN node corresponding with it of the described detection threshold of foundation is changed.
6. system according to claim 5, is characterized in that, described comparing unit comprises adjustment unit;
When described adjustment unit is used for when described comparing unit the existing state by relatively determining described detection threshold and is in not dead state for not dead state and the CDN node that it is corresponding, according to the weight of the described CDN node of load threshold adjustment of described CDN node.
7. system according to claim 5, is characterized in that, the detection mode that the detected object that described probe unit obtains described acquiring unit is carried out the described CDN node report of exploration operation foundation carries out.
8. system according to claim 5, is characterized in that, the detected object that described acquiring unit obtains is IP and the port numbers of described CDN node.
CN 201010615974 2010-12-30 2010-12-30 Method and system for detecting content delivery network (CDN) node Active CN102111309B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010615974 CN102111309B (en) 2010-12-30 2010-12-30 Method and system for detecting content delivery network (CDN) node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010615974 CN102111309B (en) 2010-12-30 2010-12-30 Method and system for detecting content delivery network (CDN) node

Publications (2)

Publication Number Publication Date
CN102111309A CN102111309A (en) 2011-06-29
CN102111309B true CN102111309B (en) 2013-06-26

Family

ID=44175343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010615974 Active CN102111309B (en) 2010-12-30 2010-12-30 Method and system for detecting content delivery network (CDN) node

Country Status (1)

Country Link
CN (1) CN102111309B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103746968A (en) * 2013-12-24 2014-04-23 乐视网信息技术(北京)股份有限公司 CDN server removal method, CDN control center and system thereof
CN103716398B (en) * 2013-12-30 2017-11-24 北京奇虎科技有限公司 The monitoring method and monitoring system of CDN server
CN103825778B (en) * 2014-02-19 2018-02-27 互联网域名系统北京市工程研究中心有限公司 DNS based on cloud detection delays machine testing switching method and system
CN107342913B (en) * 2017-05-24 2020-02-07 恒安嘉新(北京)科技股份公司 Detection method and device for CDN node
US10812352B2 (en) 2019-02-17 2020-10-20 International Business Machines Corporation System and method for associating network domain names with a content distribution network
CN109688031B (en) * 2019-03-04 2020-11-03 腾讯科技(深圳)有限公司 Network monitoring method and related equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101741643A (en) * 2009-12-24 2010-06-16 北京世纪互联宽带数据中心有限公司 Content delivery network node detecting method and system
CN101771579A (en) * 2009-01-06 2010-07-07 鲁逸峰 Distributed node failure detection method in P2P streaming media system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101771579A (en) * 2009-01-06 2010-07-07 鲁逸峰 Distributed node failure detection method in P2P streaming media system
CN101741643A (en) * 2009-12-24 2010-06-16 北京世纪互联宽带数据中心有限公司 Content delivery network node detecting method and system

Also Published As

Publication number Publication date
CN102111309A (en) 2011-06-29

Similar Documents

Publication Publication Date Title
CN102111309B (en) Method and system for detecting content delivery network (CDN) node
WO2018209734A1 (en) Dynamic scheduling and allocation method and system for network traffic
CN108306756B (en) Holographic evaluation system based on power data network and fault positioning method thereof
CN104967629B (en) Network attack detecting method and device
Chen et al. Tomography-based overlay network monitoring
US20230176106A1 (en) Electrical power cable monitoring device including partial discharge sensor
Padmanabhan et al. Residential links under the weather
Handte et al. Crowd Density Estimation for Public Transport Vehicles.
CN102055815B (en) System for acquiring local domain name analyses server of caller
CN106294075A (en) A kind of SQL is monitored method, Apparatus and system
CN102761449A (en) System, device and method for web service performance analysis
Krishna et al. Habitat factors affecting site occupancy and relative abundance of four‐horned antelope
CN109428857B (en) Detection method and device for malicious detection behaviors
CN104597495A (en) Earthquake data recording and analyzing system based on mobile phone earthquake monitoring network
CN108566620A (en) A kind of indoor orientation method based on WIFI
CN109726340A (en) The querying method and device of uniform resource locator classification
CN106791639A (en) Video frequency monitoring method and system under large-scale data concurrent environment
CN104268665A (en) User behavior analysis method of management system
CN102035905B (en) Method for obtaining visitor Local DNS (Local Domain-Name Server)
CN108537204A (en) Mankind's activity monitoring method, device and server
CN110891071A (en) Network traffic information acquisition method, device and related equipment
CN110519266A (en) A method of the cc attack detecting based on statistical method
CN108966169A (en) For the Analysis on heavy metal pollution early warning system of agricultural land soil
CN113901441A (en) User abnormal request detection method, device, equipment and storage medium
CN107613462A (en) Data analysing method, device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: BEIJING CENTURY BROADBAND INTERNET DATA CENTER CO.

Free format text: FORMER OWNER: BEIJING BANYANO DATA CENTER SOLUTIONS LTD.

Effective date: 20120920

Free format text: FORMER OWNER: BEIJING CLOUDEX SOFTWARE SERVICES CO., LTD.

Effective date: 20120920

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20120920

Address after: 100015, No. 5, building 1, 3 East Road, Jiuxianqiao Road, Beijing, Chaoyang District

Applicant after: Beijing Century Broadband Internet Data Center Co., Ltd.

Address before: 100015 No. 3, building 5, building 1, Jiuxianqiao East Road, Chaoyang District, Beijing

Applicant before: Beijing BANYANO Data Center Solutions Ltd.

Applicant before: Beijing CloudEx Software Service Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant