A content distribution network fault location method and device

A content distribution network and fault location technology, applied in the Internet field, can solve problems such as inability to locate, affecting service experience, parent cache failure service quality, and availability degradation, and achieves the effect of enhancing accuracy and facilitating automatic switching.

Active Publication Date: 2019-01-25
GUIZHOU BAISHANCLOUD TECH CO LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When a sudden increase in the status code is found, it is considered that the back-to-origin is abnormal. This method can detect the abnormality, but it cannot locate whether the faulty link is on the CDN side or the customer's origin site
Website customers often raise complaints and doubts about CDN services due to false reports of source site failures and long-term parent cache failures that have not been resolved, resulting in a decline in service quality and availability.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A content distribution network fault location method and device
  • A content distribution network fault location method and device
  • A content distribution network fault location method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] This embodiment provides a CDN fault location method, such as figure 1 shown, including the following steps:

[0044] S1, obtain the bidirectional detection data between the origin site and the CDN cache server;

[0045] The two-way detection includes: detection from the origin site toward the CDN cache server, and detection from the CDN cache server toward the origin server. in:

[0046] The detection of the source station to the direction of the CDN cache server includes heartbeat detection; the CDN cache server includes: a main parent cache server, a backup parent cache server, a main parent cache detection proxy (agent) server, a backup parent cache detection proxy server;

[0047] The detection of the CDN cache server to the source station includes local back-to-source and proxy detection; where the local back-to-source refers to the back-to-source from the parent cache server to the source station, and the proxy detection includes a backup parent cache server an...

Embodiment 2

[0068] This embodiment provides a CDN fault location device. The device in this embodiment is the device corresponding to the above-mentioned embodiment 1, and the relevant description in embodiment 1 is also applicable to this embodiment. The device can be an independent server in the CDN, or can also be located in the central server of the CDN. Such as figure 2 As shown, it includes a data acquisition module 21, a judgment module 22 and a positioning module 23, wherein:

[0069] The data acquisition module 21 is configured to acquire data of bidirectional detection between the source station and the CDN cache server;

[0070] The judgment module 22 is configured to judge the data of the two-way detection one by one according to the preset abnormality judgment conditions, and mark the judgment result for each piece of data;

[0071] The locating module 23 is used for analyzing and locating faults of all bidirectional detection data and determination results.

[0072] The ...

application example 1

[0088] In this example, the parent cache node detects the origin station and the heartbeat data reported by the origin station, and finally determines the health of the CDN origin station (that is, whether it is abnormal) and the fault link and type by summarizing and calculating the data, so as to improve the accuracy of abnormal judgment and fault location efficiency.

[0089] Step 1. Regularly obtain parent cache and source station two-way detection data and save them locally; including:

[0090] Step 1a, filter and analyze the access log of the parent cache server, obtain the number of 5xx status codes returned by the parent cache server within a specified period, and record them in the two-way detection data file, as shown in Table 1;

[0091] Table 1

[0092] Types of

server equipment

The node where the device is located

Source IP

detection results

parent cache

dev1

node1

IP1

100

Backup parent cache

dev2

node...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

Disclosed in embodiments of the present invention is a content delivery network (CDN) fault locating method, the method comprising: acquiring two-way detection data items between a source site and a CDN cache server; performing, according to a predetermined anomaly determination criteria, determination with respect to the two-way detection data items individually, and labeling a determination result for each of the data items; and performing analysis and fault location with respect to all of the two-way detection data items and determination results. A health evaluation mechanism for parent cache and source site two-way detection is provided in the embodiments of the present invention, thus enabling automated fault location when a CDN parent cache fails to acquire content from a source site.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a content delivery network (Content Delivery Network, referred to as CDN) fault location method and device. Background technique [0002] With the development of the Internet, in order to improve service quality, CDN is widely used in the acceleration link of websites. The core function of CDN is divided into two parts: intelligent scheduling and edge caching. Intelligent scheduling guides Internet users' requests to the optimal edge caching node; edge caching grabs the content of the source site (web server of the website) locally and provides content access. Among them, in order to ensure that the edge cache server can obtain content from the origin server efficiently and with high availability, a multi-level back-to-source method is generally adopted, that is, the edge cache obtains content from the parent cache, and the parent cache obtains content from the orig...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/24
CPCH04L41/0677
Inventor 符立佳苗辉
Owner GUIZHOU BAISHANCLOUD TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products