CN109688023A - A method of the CDN monitoring availability disposed in a manner of anycast - Google Patents

A method of the CDN monitoring availability disposed in a manner of anycast Download PDF

Info

Publication number
CN109688023A
CN109688023A CN201811475616.9A CN201811475616A CN109688023A CN 109688023 A CN109688023 A CN 109688023A CN 201811475616 A CN201811475616 A CN 201811475616A CN 109688023 A CN109688023 A CN 109688023A
Authority
CN
China
Prior art keywords
cdn
node
detection
cdn node
availability
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
CN201811475616.9A
Other languages
Chinese (zh)
Other versions
CN109688023B (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.)
Chengdu Zhidaochuangyu Information Technology Co Ltd
Original Assignee
Chengdu Zhidaochuangyu Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Zhidaochuangyu Information Technology Co Ltd filed Critical Chengdu Zhidaochuangyu Information Technology Co Ltd
Priority to CN201811475616.9A priority Critical patent/CN109688023B/en
Publication of CN109688023A publication Critical patent/CN109688023A/en
Application granted granted Critical
Publication of CN109688023B publication Critical patent/CN109688023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of methods of CDN monitoring availability disposed in a manner of anycast, the following steps are included: step 1: choosing the availability of probe node detection purpose CDN node, at least there are two the detection datas of sensing point to reach for each purpose CDN node;Step 2: according to detection log in purpose CDN node, obtaining the probe node for reaching this CDN node;Step 3: judging the probe node quantity N that purpose CDN node reaches in certain time, if meet N < 1, if then judging that this purpose CDN is unavailable;If being otherwise transferred to step 4;Step 4: judging whether N meets N >=2, if being then transferred to step 5, if otherwise outputting alarm;Step 5: judging that the probe node that purpose CDN node is reached in certain time judges the purpose CDN node for not available probability n, the availability of purpose CDN node;The present invention improves the accuracy of monitoring by two-way analysis.

Description

A method of the CDN monitoring availability disposed in a manner of anycast
Technical field
The present invention relates to a kind of methods of CDN node monitoring availability, and in particular to a kind of to be disposed in a manner of anycast The method of CDN monitoring availability.
Background technique
The detection method of existing CDN availability is detecting generally by the availability of some sensing point testing goal CDN To when failure, it is believed that purpose CDN is unavailable;It is obtaining the result is that inaccurate for the CDN monitoring disposed in a manner of anycast 's;Because the detection data that multiple sensing points issue not necessarily reaches all purpose CDN;Detection data is caused not reach CDN is practically without to be monitored and arrive.
Summary of the invention
The present invention provides one kind by two-way analysis, improves the CDN prison of monitoring accuracy disposed in a manner of anycast The method for controlling availability.
The technical solution adopted by the present invention is that: a method of the CDN monitoring availability disposed in a manner of anycast, packet Include following steps:
Step 1: choosing the availability of probe node detection purpose CDN node, at least there are two sensing points for each purpose CDN node Detection data can reach, detection result is stored;
Step 2: according to detection log in purpose CDN node, the probe node for reaching this CDN node is obtained, by detection result Storage;
Step 3: the detection data obtained according to step 1 and step 2 judges the detection that purpose CDN node reaches in certain time Number of nodes N, if meet N < 1, if then judging that this purpose CDN is unavailable;If being otherwise transferred to step 4;
Step 4: judging whether N meets N >=2, if being then transferred to step 5, if otherwise outputting alarm;
Step 5: according to step 1 and step 2 obtain as a result, judge in certain time reach purpose CDN node probe node Judge the purpose CDN node for not available probability n.
Step 6: judging that this purpose CDN node is available if n meets given threshold, this purpose CDN is saved if otherwise judging Point is unavailable, completes the monitoring of CDN node.
Further, comprising the following steps: assuming that in the available situation of purpose CDN node, according to step 1 and step 2 Obtained detection data obtains the mapping relations of purpose CDN node and probe node.
Further, the method for probe node detection purpose CDN node availability is as follows in the step 1:
S1: the IP information of purpose CDN node is obtained;
S2: http detection is carried out to IP information, judges whether purpose CDN can be used.
Further, as follows to IP information progress http detection process in the S2:
Time-out time is set, if detection time-out or return report an error, this purpose CDN node is unavailable;By repeatedly detecting, if greatly In 50% probability detection result be it is unavailable, then determine that this purpose CDN node is unavailable.
(1) present invention guarantees that each destination node has sensing point arrival, substantially increases monitoring by two-way analysis Accuracy;
(2) present invention can obtain purpose CDN node and the network of sensing point is hinted obliquely at, and increase to the intuitive of network path Solution.
Detailed description of the invention
Fig. 1 is flow diagram of the present invention.
Specific embodiment
The present invention will be further described in the following with reference to the drawings and specific embodiments.
A kind of method for the CDN monitoring availability disposed in a manner of anycast as shown in Figure 1:, comprising the following steps:
Step 1: choosing the availability of probe node detection purpose CDN node, at least there are two sensing points for each purpose CDN node Detection data can reach, detection result is stored.
According to existing resource, each main cities, different operators deployment locator (are chosen multiple main as far as possible at home City covers multiple operators), every the availability of the purpose CDN node of detection in one minute;Guarantee when selection every A purpose CDN node must have the detection data of at least two sensing points that can reach (by checking that log judges in purpose CDN Whether sensing point arrival is had);The data detected are each single-point detections as a result, detection data is stored in database, for dividing The data united analysis that analysis program summarizes each node.
The process for detecting purpose CDN node availability is as follows:
All IP information of purpose CDN node are obtained, http detection then is carried out to each IP, the side head of http can be used Method is detected, and time-out time is arranged based on experience value, if detection time-out or return report an error, then it is assumed that this time purpose CDN section Point is unavailable;It is generally necessary to repeatedly detected, it is all unavailable if it is greater than 50% probability detection, then it is assumed that this purpose CDN section Point is unavailable.
Step 2: according to detection log in purpose CDN node, obtaining the probe node for reaching this CDN node, will detect As a result it stores.
The program of user access logs analysis is disposed in all purpose CDN nodes, which analysis purpose CDN node has The detection log of sensing point;The probe node for reaching this purpose CDN node is analyzed from log, and detection data is deposited into number According in library.
Step 3: the detection data obtained according to step 1 and step 2 judges purpose CDN node arrival in certain time Probe node quantity N, if meet N < 1, if then judging that this purpose CDN is unavailable;If being otherwise transferred to step 4.
The number for the probe node that each purpose CDN node reaches per minute is analyzed as unit of minute, if detection section It is unavailable that the quantity N of point alerts this purpose CDN less than 1;If being otherwise transferred to step 4.
Step 4: judging whether N meets N >=2, if being then transferred to step 5, if otherwise outputting alarm;
If the quantity N of probe node, less than 2, alarm notification needs to increase the number of probe node, if being otherwise transferred to step 5。
Step 5: according to step 1 and step 2 obtain as a result, judge in certain time reach purpose CDN node detection Node judges the purpose CDN node for not available probability n;This purpose CDN node is judged if n meets given threshold for can With if otherwise judging, this purpose CDN node is unavailable, completes the monitoring of CDN node.
Whether the probe node that analysis reaches each purpose CDN node as unit of minute has 50% or more to judge this purpose CDN node is unavailable;If it exceeds 50% to alert this purpose CDN unavailable;The threshold value of alarm is that the period analyzed can be with It modifies according to the actual situation.
Assuming that in the available situation of purpose CDN node, obtained data are detected according to step 1 and step 2, it is available The network mapping relationship of purpose CDN and probe node;Network path can be got information about by network mapping relationship.
Term mentioned in the present invention is as follows:
CDN: content distributing network improves the response speed that user accesses website.
Anycast: the multiple as numbers of utilization identical one IP sections, i.e. different server phase in different Regional broadcasts Same IP address.
The present invention selects the sensing point of M different location first, guarantees that each purpose CDN node has at least two sensing points Can reach (when preventing only one probe node, if this probe node link goes wrong, causes detection less than purpose CDN node);The data summarization detected is analyzed to central server;Pass through log point in purpose CDN node simultaneously Analysis, the probe node information reached are sent to central server;Central server according to the detection data of probe node and Whether the log analysis data of purpose CDN node, the purpose CDN disposed in a manner of anycast by two-way analytical judgment can be used; According to the real time monitoring that may be implemented to purpose CDN;And the network mapping that can provide probe node and purpose CDN node is closed System.
The present invention is solved since traditional CDN monitor mode may cause the anycast that probe node does not reach The purpose CDN node that mode is disposed leads to the problem of the result inaccuracy of monitoring;By the method for two-way analysis, guarantee each Purpose CDN node has probe node arrival, substantially increases the accuracy of monitoring;And mesh can be obtained according to detection data CDN node and detection reception between network mapping relationship, increase the intuitive understanding to network path.

Claims (4)

1. a kind of method for the CDN monitoring availability disposed in a manner of anycast, which comprises the following steps:
Step 1: choosing the availability of probe node detection purpose CDN node, at least there are two sensing points for each purpose CDN node Detection data can reach, detection result is stored;
Step 2: according to detection log in purpose CDN node, the probe node for reaching this CDN node is obtained, by detection result Storage;
Step 3: the detection data obtained according to step 1 and step 2 judges the detection that purpose CDN node reaches in certain time Number of nodes N, if meet N < 1, if then judging that this purpose CDN is unavailable;If being otherwise transferred to step 4;
Step 4: judging whether N meets N >=2, if being then transferred to step 5, if otherwise outputting alarm;
Step 5: according to step 1 and step 2 obtain as a result, judge in certain time reach purpose CDN node probe node Judge the purpose CDN node for not available probability n;
Step 6: judging that this purpose CDN node is available if n meets given threshold, if otherwise judging this purpose CDN node not It can use, complete the monitoring of CDN node.
2. a kind of method of CDN monitoring availability disposed in a manner of anycast according to claim 1, feature exist In further comprising the steps of:
Assuming that obtaining purpose CDN section according to the detection data that step 1 and step 2 obtain in the available situation of purpose CDN node The mapping relations of point and probe node.
3. a kind of method of CDN monitoring availability disposed in a manner of anycast according to claim 1, feature exist In the method for probe node detection purpose CDN node availability is as follows in the step 1:
S1: the IP information of purpose CDN node is obtained;
S2: http detection is carried out to IP information, judges whether purpose CDN can be used.
4. a kind of method of CDN monitoring availability disposed in a manner of anycast according to claim 3, feature exist In as follows to IP information progress http detection process in the S2:
Time-out time is set, if detection time-out or return report an error, this purpose CDN node is unavailable;By repeatedly detecting, if greatly In 50% probability detection result be it is unavailable, then determine that this purpose CDN node is unavailable.
CN201811475616.9A 2018-12-04 2018-12-04 Method for monitoring availability of CDN (content delivery network) deployed in anycast mode Active CN109688023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811475616.9A CN109688023B (en) 2018-12-04 2018-12-04 Method for monitoring availability of CDN (content delivery network) deployed in anycast mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811475616.9A CN109688023B (en) 2018-12-04 2018-12-04 Method for monitoring availability of CDN (content delivery network) deployed in anycast mode

Publications (2)

Publication Number Publication Date
CN109688023A true CN109688023A (en) 2019-04-26
CN109688023B CN109688023B (en) 2021-10-12

Family

ID=66187041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811475616.9A Active CN109688023B (en) 2018-12-04 2018-12-04 Method for monitoring availability of CDN (content delivery network) deployed in anycast mode

Country Status (1)

Country Link
CN (1) CN109688023B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347864A (en) * 2011-11-02 2012-02-08 网宿科技股份有限公司 System and method for monitoring service quality of content distribution networks
CN103428011A (en) * 2012-05-16 2013-12-04 深圳市腾讯计算机系统有限公司 Node state detection method, system and device used in distributed system
CN105071989A (en) * 2015-07-30 2015-11-18 世纪龙信息网络有限责任公司 Video content distribution quality monitoring system and monitoring method therefor
EP3205054A1 (en) * 2014-10-09 2017-08-16 Telefonaktiebolaget LM Ericsson (publ) Method, traffic monitor (tm), request router (rr) and system for monitoring a content delivery network (cdn)
CN107769963A (en) * 2017-09-29 2018-03-06 贵州白山云科技有限公司 A kind of content distributing network Fault Locating Method and device
CN107911240A (en) * 2017-11-14 2018-04-13 北京知道创宇信息技术有限公司 A kind of fault detection method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347864A (en) * 2011-11-02 2012-02-08 网宿科技股份有限公司 System and method for monitoring service quality of content distribution networks
CN103428011A (en) * 2012-05-16 2013-12-04 深圳市腾讯计算机系统有限公司 Node state detection method, system and device used in distributed system
EP3205054A1 (en) * 2014-10-09 2017-08-16 Telefonaktiebolaget LM Ericsson (publ) Method, traffic monitor (tm), request router (rr) and system for monitoring a content delivery network (cdn)
CN105071989A (en) * 2015-07-30 2015-11-18 世纪龙信息网络有限责任公司 Video content distribution quality monitoring system and monitoring method therefor
CN107769963A (en) * 2017-09-29 2018-03-06 贵州白山云科技有限公司 A kind of content distributing network Fault Locating Method and device
CN107911240A (en) * 2017-11-14 2018-04-13 北京知道创宇信息技术有限公司 A kind of fault detection method and device

Also Published As

Publication number Publication date
CN109688023B (en) 2021-10-12

Similar Documents

Publication Publication Date Title
JP5767617B2 (en) Network failure detection system and network failure detection device
KR102076861B1 (en) Network performance diagnosis method and apparatus, and system
US9509706B2 (en) Service performance monitoring method
US8224942B1 (en) Network failure detection
CN107769963B (en) A kind of content distributing network Fault Locating Method and device
CN104639388B (en) A kind of dns server method for detecting availability perceived based on user
RU2017111477A (en) Methods and systems for determining non-standard user activity
JP2018521611A5 (en)
US20160378583A1 (en) Management computer and method for evaluating performance threshold value
US20160080229A1 (en) Application performance monitoring method and device
KR20180079395A (en) Method and apparatus for processing alarm information, system, and computer storage medium
CN110535684A (en) A kind of method and apparatus that web-browsing service perception assessment is realized based on DPI
CN109428857B (en) Detection method and device for malicious detection behaviors
US20110093954A1 (en) Apparatus and method for remotely diagnosing security vulnerabilities
US10057155B2 (en) Method and apparatus for determining automatic scanning action
CN105743732A (en) Method and system for recording transmission paths and distribution conditions of files in local area network
CN109739527A (en) A kind of method, apparatus, server and the storage medium of the publication of client gray scale
CN107426051B (en) The monitoring method of the working condition of distributed cluster system interior joint, apparatus and system
CN108880838B (en) Service fault monitoring method and device, computer equipment and readable medium
CN104702439B (en) The method and apparatus for monitoring network node
CN113987476A (en) Method and device for determining defect host, electronic equipment and storage medium
CN103731315A (en) Server failure detecting method
CN109688023A (en) A method of the CDN monitoring availability disposed in a manner of anycast
Kučera et al. Fault Detection in Building management system networks
CN105721233B (en) Website survival detection method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP02 Change in the address of a patent holder

Address after: 9/F, Block C, No. 28 Tianfu Avenue North Section, Chengdu High tech Zone, China (Sichuan) Pilot Free Trade Zone, Chengdu City, Sichuan Province, 610000

Patentee after: CHENGDU KNOWNSEC INFORMATION TECHNOLOGY Co.,Ltd.

Address before: 610000, 11th floor, building 2, No. 219, Tianfu Third Street, hi tech Zone, Chengdu, Sichuan Province

Patentee before: CHENGDU KNOWNSEC INFORMATION TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder