Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

CDN node stand-alone scheduling method and system based on eBPF technology

A stand-alone scheduling and node technology, applied in the transmission system, electrical components, etc., can solve the problem of high efficiency of client access lines and achieve the effect of reducing link efficiency

Active Publication Date: 2021-06-25
北京网聚云联科技有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Therefore, in the prior art, there are multiple 302 redirects and the technical problem that the efficiency of the client access line is too large

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
  • CDN node stand-alone scheduling method and system based on eBPF technology
  • CDN node stand-alone scheduling method and system based on eBPF technology
  • CDN node stand-alone scheduling method and system based on eBPF technology

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] For a clearer illustration of the implementation of existing local load scheduling see figure 1 , for dynamic IP resource nodes, virtualize multiple virtual network cards in the node stand-alone, and request networking through network card dial-up. The overall steps are as follows:

[0039] 1. The user terminal requests the URL;

[0040] 2. The user terminal is guided to the HTTP dispatch center of the CDN through the CNAME record;

[0041] 3. The HTTP dispatch center returns a status code of 302 and a Location header, which contains the IP node address after global dispatch;

[0042] 4. The user terminal receives the 302 status code and redirects to the node IP to request access to the URL in the Location header;

[0043] 5. The request arrives at the node, assuming that the request is to the virtual network card 1, and flows to the network card driver XDP;

[0044] 6. The access request flows through the TC layer of the kernel to the Cache layer; if there is cached...

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

The invention discloses a CDN node stand-alone scheduling method and system based on an eBPF technology. The method comprises the following steps: a 301 / 302 state code and a Locat i on header returned by an HTTP coding scheduling center are acquired; according to the 301 / 302 state code, an access request for redirecting the URL of the Locat i on head is sent, and the Locat i on head comprises an IP node address after global scheduling; the access request flows through a TC layer of the kernel to reach a Cache layer, and when the Cache layer has cache data, data returned by a virtual network card with redundant bandwidth selected by an eBPF module of the TC layer is acquired. according to the CDN node stand-alone scheduling method based on the eBPF technology, a network filter eBPF is embedded in a TC layer of a system kernel module of a stand-alone, namely, a module running on a virtual machine based on a register is used for controlling data return. Therefore, under the condition that the line load is relatively high, 302 redirection times are reduced, and the link efficiency consumption of access is reduced.

Description

technical field [0001] The present invention relates to the field of CDN node scheduling, in particular to a single-machine scheduling method and system for CDN nodes based on eBPF technology. Background technique [0002] In the field of CDN distribution, the HTTP 302 scheduling mechanism (redirection mechanism) is usually used to achieve better scheduling effects. The principle of the HTTP 302 scheduling mechanism is as follows: Assume that domain name A is connected to the CDN network and an HTTP dispatch center is configured. When a user terminal initiates a request for domain name A, the request for domain name A will be guided by the CNAME to the HTTP dispatch center of the CDN. Based on the node health status, load status and other information in the preset DNS resolution table, the center comprehensively judges and gives the scheduling result, returns a 302 status code, and returns the redirected IP address in the Location response header, and the user terminal recei...

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 Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/02H04L67/63
Inventor 武志鹏
Owner 北京网聚云联科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products