Method, device and system of CDN (content delivery network) flow distribution
一种流量分配、分配策略的技术,应用在通信领域,能够解决CDN流量分配不灵活、业务扩展伸缩能力不足等问题,达到节约运营成本、提高利用效率的效果
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] The weight of each CDN server is preset on the DNS server, and the TTL (Time To Live, time to live) for caching DNS records is preset. The DNS server divides the TTL into time slices equivalent to the number of CDN servers in advance. One A time slice corresponds to a CDN server, and the CDN servers corresponding to each time slice are different from each other, and the length of each time slice is proportional to the weight of each CDN server. Among them, TTL indicates the time when the DNS record is cached on the DNS server,
[0041] Such as image 3 As shown, the CDN traffic distribution method provided by Embodiment 1 of the present invention includes the following steps:
[0042] Step 31, the DNS server receives the service access request.
[0043] In step 32, the DNS server determines the current time slot within the TTL, and selects the CDN server corresponding to the time slot.
[0044] Step 33, the DNS server dispatches the service access request to the sele...
Embodiment 2
[0052] The weight of each CDN server is preset on the DNS server, and the ratio of the number of service requests allocated to each CDN server in advance, wherein, the number of times each CDN server processes service requests is proportional to the weight of each CDN server.
[0053] Such as Figure 4 As shown, the CDN traffic allocation method provided by Embodiment 2 of the present invention includes the following steps:
[0054] Step 41, the DNS server receives the service access request.
[0055] In step 42, the DNS server selects a CDN server to process the service access request, so that the ratio of the number of times each CDN server processes the service request tends to or equals the pre-allocated ratio.
[0056] For example, in advance, CDN service provider A, CDN service provider B, and CDN service provider C are weighted according to the weight of 60% for A, 20% for B, and 20% for C. When the domain name server (GSLB), that is, the DNS server, receives When a r...
Embodiment 3
[0064] Such as Figure 5 As shown, it is a schematic diagram of the CDN traffic allocation method provided by Embodiment 3 of the present invention. As shown in the figure, the method includes:
[0065] Step 51, the DNS server receives the service access request.
[0066] Step 52, the DNS server selects the CDN server corresponding to the region from the CDN servers according to the source region of the service access request.
[0067] Specifically, the DNS server determines the source region of the service access request according to the IP address of the service access request.
[0068] Step 53, the DNS server dispatches the service access request to the selected CDN server for processing.
[0069] For example, the allocation strategy for access requests to various regions is agreed in advance, such as CDN service provider A (CDN A) for users from Guangdong; CDN service provider B (CDN B) for users from Zhejiang; and CDN service provider B (CDN B) for users from Beijing; ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


