Flow scheduling method based on DNS analysis, apparatus and server thereof
A traffic scheduling and content server technology, which is applied in the field of traffic scheduling based on DNS resolution, can solve the problems of disparity, low server utilization, low content server utilization, etc., to improve bandwidth utilization, improve service quality, and reduce usage Quantity effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] Embodiment 1 is to use a uniform distribution function so that the number of selections between content servers basically meets the set ratio; Embodiment 2 and Embodiment 3 are illustrated by taking a random function and a hash function as examples; Embodiment 4 uses a linear The method makes the number of selections between content servers basically meet the set ratio.
[0041] Embodiment one
[0042] Embodiment 1 uses a uniform distribution function to select content servers, so that the selection times between content servers basically show a proportional relationship, that is, domain name resolution can be provided according to a set ratio.
[0043] see figure 2 , the specific method for selecting a content server according to a set ratio provided in Embodiment 1 includes:
[0044] S201. Preselect a uniform distribution function;
[0045] Among them, the function value of the uniform distribution function is evenly distributed, assuming that the function value i...
Embodiment 2
[0053] In the second embodiment, a random method is used to select a content server. The purpose of this method is to provide domain name resolution according to a set ratio in the authoritative domain name server, and at the same time ensure that the IP address of the content server selected each time is not predictable.
[0054] For example: there are n content servers for the domain name xxx, and their IP addresses are: IP 1 , IP 2 ,...IP n , the set domain name resolution distribution ratio is k 1 :k 2 :k 3 :...k n (that is, set the IP 1 , IP 2 , IP 3 、...IP n The flow scheduling ratio of k 1 :k 2 :k 3 :...k n ); that is, in the domain name resolution process, it is necessary to satisfy the IP 1 , IP 2 ,...IP n The distribution ratio is k 1 :k 2 :k 3 :...k n .
[0055] see image 3 , the specific method for selecting a content server according to a set ratio provided in Embodiment 2 includes:
[0056] S301. Preselect a random function, wherein the se...
Embodiment 3
[0076] The third embodiment adopts the hash method to select the content server. The gist of this embodiment is to use the hash function to provide domain name resolution according to the set ratio in the authoritative domain name server, while ensuring that the IP addresses obtained by each resolution requester are stable.
[0077] There are generally two traffic scheduling methods that use the hash method to resolve domain names: the hash method based on the source address, and the hash method based on the domain name.
[0078] Method 1. Hashing method based on source address
[0079] see Figure 4 , the first specific method for selecting a content server using a hash method provided in Embodiment 3, including:
[0080] S401. Preselect a hash function, wherein the hash function outputs a hash value according to the input source address, and the hash value of the hash function corresponds to each content server in a preset ratio;
[0081] Correspond all the hash values o...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com