Domain name resolution scheduling method, device, network equipment and readable storage medium

By obtaining and analyzing the quality, health and cost indicators of DNS resolution resources, intelligent scheduling of DNS resolution resources is achieved, solving the problem that existing DNS scheduling methods rely on manual management, and meeting the needs of dynamic adjustment.

CN117478636BActive Publication Date: 2025-03-04CHINA MOBILE (SUZHOU) SOFTWARE TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311832068.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2025-03-04
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

The existing DNS scheduling methods rely on manual management and cannot meet the needs of dynamic adjustment.

Method used

By obtaining resource management data for each analytical resource, including quality indicators, health indicators and cost indicators, the domain name resolution processing is performed according to the preset conditions to avoid resources that do not meet the conditions.

Benefits of technology

It realizes flexible scheduling of domain name resolution resources, solves the problem that DNS scheduling methods rely on manual management, and meets the needs of dynamic adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117478636B_ABST
    Figure CN117478636B_ABST
Patent Text Reader

Abstract

The present application provides a scheduling method, device, network equipment and readable storage medium for domain name resolution, which relates to the field of communication technology. The method includes: determining a resolution resource set according to a first domain name accessed; wherein the resolution resource set includes at least one resolution resource that can resolve the first domain name; obtaining resource management data corresponding to each resolution resource; wherein the resource management data is used to characterize the availability of the resolution resource; according to the resource management data, scheduling the first resolution resource in the resolution resource set to perform resolution processing of the first domain name, and not scheduling the second resolution resource in the resolution resource set to perform resolution processing of the first domain name; wherein the first resolution resource is a resolution resource whose resource management data meets preset conditions, and the second resolution resource is a resolution resource whose resource management data does not meet preset conditions. The present application can solve the problem that the current DNS scheduling method relies on manual management and cannot meet dynamic adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, device, network equipment and readable storage medium for scheduling domain name resolution. Background Art

[0002] With the rise of cloud computing and content delivery network (CDN) technology, Domain Name System (DNS) intelligent resolution has become the key to improving the quality of Internet applications. The most basic function of DNS policy resolution is to intelligently determine the users who visit the website, and then resolve the website domain name into different Internet Protocol (IP) addresses according to different visitors. If the visitor is a mobile user, the DNS policy resolution server will resolve the mobile IP address corresponding to the website domain name to the access terminal. If the visitor is a telecom user, the DNS policy resolution server will resolve the telecom IP address corresponding to the website domain name to the access terminal. Such an allocation strategy allows different users to access matching IP addresses, reducing the delay problem caused by cross-network and cross-region, so as to improve the user access experience. However, the current DNS scheduling process relies on the terminal customer's accurate grouping of its source station address pool, which can often only be managed and set based on the experience of operation and maintenance personnel, and cannot meet the dynamic adjustment of the network. Summary of the invention

[0003] The purpose of this application is to provide a scheduling method, device, network equipment and readable storage medium for domain name resolution to solve the problem that the current DNS scheduling method relies on manual management and cannot meet dynamic adjustment.

[0004] To achieve the above object, an embodiment of the present application provides a method for scheduling domain name resolution, including:

[0005] Determine a resolution resource set according to the accessed first domain name; wherein the resolution resource set includes at least one resolution resource that can resolve the first domain name;

[0006] Obtain resource management data corresponding to each of the resolution resources; wherein the resource management data is used to characterize the availability of the resolution resources;

[0007] According to the resource management data, scheduling a first resolution resource in the resolution resource set to perform resolution processing of the first domain name, and not scheduling a second resolution resource in the resolution resource set to perform resolution processing of the first domain name;

[0008] The first parsed resource is a parsed resource whose resource management data meets a preset condition, and the second parsed resource is a parsed resource whose resource management data does not meet the preset condition.

[0009] Optionally, the resource management data includes at least one of the following:

[0010] A quality indicator, used to indicate the link quality of the resolution resource;

[0011] Health indicators, used to indicate the occupancy of the parsing resources;

[0012] The cost indicator is used to indicate the usage cost of the parsing resource.

[0013] Optionally, the acquiring resource management data corresponding to each of the resolved resources includes:

[0014] Generating a monitoring task for each of the parsed resources respectively;

[0015] Obtaining the link quality of the corresponding resolution resource through the monitoring task;

[0016] The quality indicator is determined according to the link quality.

[0017] Optionally, the acquiring resource management data corresponding to each of the resolved resources includes:

[0018] For each of the resolution resources, respectively obtain at least one parameter value of the occupancy of the resolution resource;

[0019] A weighted sum of the at least one parameter value is determined as the health indicator.

[0020] Optionally, the acquiring resource management data corresponding to each of the resolved resources includes:

[0021] For each of the parsing resources, respectively obtain a cost value of the parsing resource;

[0022] The ratio between the cost value of each of the parsed resources and the maximum cost value of all the parsed resources is determined as the cost index.

[0023] Optionally, the resolution resource that meets the preset condition includes at least one of the following:

[0024] The resolution resource having a quality indicator greater than or equal to a first threshold;

[0025] The resolution resource whose health indicator is greater than or equal to a second threshold;

[0026] The resolution resource for which the cost indicator is less than or equal to a third threshold;

[0027] and / or,

[0028] The parsed resources that do not meet the preset condition include at least one of the following:

[0029] The resolution resource whose quality index is less than the first threshold;

[0030] The resolution resource whose health indicator is less than the second threshold;

[0031] The cost indicator is greater than the third threshold value of the parsing resources.

[0032] Optionally, the method for scheduling domain name resolution further includes:

[0033] For each parsing resource, determining a scoring indicator corresponding to the parsing resource according to the resource management data;

[0034] When the scoring indicator of the first resolution resource is within the tolerance range of resource scheduling, the scheduling status of the first resolution resource is maintained; wherein the scheduling status includes that the first resolution resource is scheduled for domain name resolution processing, or the first resolution resource is not scheduled for domain name resolution processing.

[0035] Optionally, the tolerance range is determined by a scoring standard value and a tolerance coefficient;

[0036] The maximum value in the tolerance range is the sum of the product of the scoring standard value and the tolerance coefficient and the scoring standard value; the minimum value in the tolerance range is the difference between the scoring standard value and the product.

[0037] The embodiment of the present application also provides a scheduling device for domain name resolution, including:

[0038] A resource configuration module, configured to determine a resolution resource set according to a first domain name accessed; wherein the resolution resource set includes at least one resolution resource capable of resolving the first domain name;

[0039] An acquisition module, used to acquire resource management data corresponding to each of the resolution resources; wherein the resource management data is used to characterize the availability of the resolution resources;

[0040] a scheduling processing module, configured to schedule a first resolution resource in the resolution resource set to perform resolution processing of the first domain name according to the resource management data, and not schedule a second resolution resource in the resolution resource set to perform resolution processing of the first domain name;

[0041] The first parsed resource is a parsed resource whose resource management data meets a preset condition, and the second parsed resource is a parsed resource whose resource management data does not meet the preset condition.

[0042] An embodiment of the present application also provides a network device, including: a transceiver, a processor, a memory, and a program or instruction stored in the memory and executable on the processor; when the processor executes the program or instruction, the steps of the scheduling method for domain name resolution as described above are implemented.

[0043] An embodiment of the present application also provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the scheduling method for domain name resolution as described above are implemented.

[0044] The beneficial effects of the above technical solution of the present application are as follows:

[0045] In an embodiment of the present application, at least one resolvable resolution resource is configured for the first domain name that is accessed, and by obtaining resource management data of each resolution resource, and based on the availability of the resolution resource represented by the resource management data, a first resolution resource that meets a preset condition in at least one resolution resource is flexibly scheduled to perform resolution processing of the first domain name, and a second resolution resource that does not meet the preset condition in the resolution resource set is not scheduled to perform resolution processing of the first domain name, thereby achieving flexible scheduling of resolution resources for domain name resolution and solving the problem that the current DNS scheduling method relies on manual management and cannot meet dynamic adjustment. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 This is a schematic diagram of the DNS resolution process;

[0047] Figure 2 A schematic diagram of the GTM scheduling parsing process;

[0048] Figure 3 This is an architecture diagram of a scheduling system for domain name resolution according to an embodiment of the present application;

[0049] Figure 4 A flowchart of a method for scheduling domain name resolution according to an embodiment of the present application;

[0050] Figure 5 This is a process flow chart of the core business of the embodiment of the present application;

[0051] Figure 6 A scheduling flow chart of a scheduling adapter according to an embodiment of the present application;

[0052] Figure 7 A block diagram of a scheduling device for domain name resolution according to an embodiment of the present application;

[0053] Figure 8 A block diagram of a network device according to an embodiment of the present application. DETAILED DESCRIPTION

[0054] In order to make the technical problems, technical solutions and advantages to be solved by the present application clearer, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0055] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present application. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0056] In the various embodiments of the present application, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0057] Additionally, the terms "system" and "network" are often used interchangeably herein.

[0058] In the embodiments provided in this application, it should be understood that "B corresponding to A" means that B is associated with A and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, but B can also be determined according to A and / or other information.

[0059] (1) Access process: Figure 1 As shown, a schematic diagram of a DNS resolution process is given, which specifically includes the following steps:

[0060] Step 1: A user terminal of the first operator inputs a Uniform Resource Locator (URL), for example, www.exam1.com, into a browser. The user terminal sends a domain name resolution request to the DNS server of the local operator for resolution.

[0061] Step 2: If the local operator's DNS server already has a resolution cache and the Time To Live (TTL) has not expired, the cached resolution IP address will be directly returned to the user terminal; if it is the first resolution or the TTL has expired, the DNS resolution system will be requested for resolution through the third step.

[0062] Step 3: The local operator DNS server queries through various levels of iteration until it obtains the final addressing target IP address through the authorized DNS server. For example, the first operator user obtains the first operator IP address, and the second operator user obtains the second operator IP address.

[0063] Step 4: The local operator's DNS server obtains the domain name resolution IP address provided by the authoritative authority and caches it locally.

[0064] Step 5: The user terminal obtains the website IP address and sends an access request to the website.

[0065] In order to ensure that the source site of the DNS domain name resolution result is available, Global Traffic Manager (GTM) can be used. Specifically, the GTM traffic management solution usually operates according to the following logic: first, group IP addresses with the same operator or regional attributes, and manage them according to different regional operations by presetting multiple address pool resources; secondly, configure the application service availability monitoring method for each source IP address, such as: Internet Packet Explorer (Packet Internet Grope, PING) monitoring, Transmission Control Protocol (Transmission Control Protocol, TCP) monitoring, Secure Hypertext Transfer Protocol (Secure Hypertext Transfer Protocol, HTTPS) monitoring, etc.; finally, set the traffic scheduling strategy, such as master-slave or load balancing scheduling, and detect and alarm in time when the application service address fails, and temporarily delete the abnormal address from the service address list returned to the user through the DNS module, otherwise add it to the service list if the detection is normal.

[0066] (2) Analysis process: Figure 2 As shown, a schematic diagram of the GTM scheduling parsing process is given, which specifically includes the following steps:

[0067] Step 1: The user terminal browser enters the URL, such as www.exam2.com, and the browser sends a domain name resolution request to the local DNS server for resolution;

[0068] Step 2: The local DNS server sends a domain name resolution request to the authorized GTM server;

[0069] Step 3: The GTM system analyzes the request IP address according to the predetermined strategy and returns the best resolution result (same operator, same region, etc.);

[0070] Step 4: The local DNS server obtains the optimal IP address and returns it to the user terminal;

[0071] Step 5: The user terminal obtains the website IP address and sends a website access request to the source station;

[0072] Step 6: The source site returns the content to the user terminal based on the website access request of the user terminal;

[0073] Step 7: The GTM system monitors the status of the origin station resources in real time, and makes adjustments when a system failure occurs to ensure service availability.

[0074] like Figure 3 As shown, the embodiment of the present application provides a scheduling system for domain name resolution, which can be based on the dynamic network of the entire network, real-time link quality detection, integrated service source station resource health, combined with big data artificial intelligence log analysis, so that resources can dynamically adjust the load ratio during the service process and improve the stability of the application system. The system mainly includes but is not limited to at least one of the following modules: resource configuration module, network monitoring module, resource health value module, cost management module, resource scoring module, tolerance strategy module, log collection module, scheduling decision module and resolution deployment module. The following will provide a scheduling method for domain name resolution in combination with the embodiment of the present application, and introduce the functions of the above modules.

[0075] like Figure 4 As shown, the embodiment of the present application provides a scheduling method for domain name resolution, including the following steps:

[0076] Step 41: Determine a resolution resource set according to the accessed first domain name; wherein the resolution resource set includes at least one resolution resource that can resolve the first domain name.

[0077] Optionally, the resolution resource includes but is not limited to at least one of the following information: DNS server, resource IP address, geographical location of the DNS server, operator to which the DNS server belongs, resource group (primary and standby), monitoring detection method, alarm method, scheduling frequency, switching frequency, etc. For example: the above-mentioned resource configuration module can manage the resolution resources of the accessed domain name, and the corresponding resolution resource management includes but is not limited to at least one of the following: DNS server management, resource IP address management, geographical location of the DNS server management, operator to which the DNS server belongs, resource group (primary and standby) management, monitoring detection method management, alarm method management, scheduling frequency management, switching frequency management, etc. For example: the content of the resolution resource management can be configured through the user interaction console, such as configuring the policy type (such as configuring the policy type to load balancing and primary and standby, or configuring the policy type to load balancing, etc.), configuring the resource line, configuring the source station, etc.

[0078] Optionally, a resolution resource that can resolve the first domain name can also be understood as a group of resolution resources composed of at least one information in the above-mentioned resolution resources. For example: for the first domain name accessed, the configuration can use resolution resource 1 (such as including DNS server 1 at position 1 for resolution, and correspondingly using alarm method 1, scheduling frequency 1, etc.), resolution resource 2 (such as including DNS server 2 at position 2 and operator 2 for resolution, and correspondingly using monitoring detection method 2, scheduling frequency 2, etc.), and resolution resource 3 (such as including DNS server 3 at position 3 and operator 3 for resolution, and correspondingly using switching frequency 3, etc.) for resolution processing.

[0079] Step 42: Obtain resource management data corresponding to each of the resolution resources; wherein the resource management data is used to characterize the availability of the resolution resources.

[0080] Optionally, based on at least one resolution resource that can be used in the above configuration, resource management data corresponding to each resolution resource is obtained respectively. The resource management data can be obtained by real-time monitoring or parameter calculation, etc., and the embodiments of the present application are not limited thereto.

[0081] Step 43: According to the resource management data, the first resolution resource in the resolution resource set is scheduled to perform resolution processing on the first domain name, and the second resolution resource in the resolution resource set is not scheduled to perform resolution processing on the first domain name.

[0082] The first parsed resource is a parsed resource whose resource management data meets a preset condition, and the second parsed resource is a parsed resource whose resource management data does not meet the preset condition.

[0083] Specifically, it is determined according to the resource management data which resolution resource or resources (such as DNS servers) are to be scheduled from at least one resolution resource configured for resolution processing, and which resolution resource or resources (such as DNS servers) are not to be scheduled for resolution processing. For example, resolution resources with low scheduling cost, high resource utilization, high efficiency, good status, and the same operator can be selected from at least one resolution resource configured for processing, while resolution resources with high scheduling cost, high resource utilization, low efficiency, poor status, and different operators can be not scheduled, thereby ensuring the best scheduling resolution resources for domain name resolution processing.

[0084] In this embodiment, at least one resolvable resolution resource is configured for the first domain name accessed, and by obtaining resource management data of each resolution resource and based on the availability of the resolution resource represented by the resource management data, a first resolution resource that meets a preset condition in at least one resolution resource is flexibly scheduled to perform resolution processing of the first domain name, and a second resolution resource that does not meet the preset condition in the resolution resource set is not scheduled to perform resolution processing of the first domain name, thereby achieving flexible scheduling of resolution resources for domain name resolution and solving the problem that the current DNS scheduling method relies on manual management and cannot meet dynamic adjustment.

[0085] Optionally, the resource management data includes at least one of the following:

[0086] A quality indicator, used to indicate the link quality of the resolution resource;

[0087] Health indicators, used to indicate the occupancy of the parsing resources;

[0088] The cost indicator is used to indicate the usage cost of the parsing resource.

[0089] For example: the link quality of the parsed resource includes but is not limited to at least one of the following parameters: IP packet loss rate, response time, response time of the TCP port specified by the detection service IP, HTTP(s) response time of the detection URL, return code information, etc. Among them, the quality indicator can be at least one of the above parameters, or it can also be the value of at least one of the above parameters after calculation, etc., and the embodiments of the present application are not limited thereto. Optionally, the link quality can be obtained by monitoring using the above-mentioned network monitoring module.

[0090] For example, the occupancy of the resolution resource includes but is not limited to at least one of the following information: the memory, CPU usage, disk capacity, etc. of the DNS server. The health indicator may be at least one of the above information, or may be a numerical value after calculation of at least one of the above information, etc., and the embodiment of the present application is not limited thereto. Optionally, the health indicator may be obtained by evaluating the above resource health value module.

[0091] For example, the cost of using the parsing resource includes but is not limited to at least one of the following information: the cost of the parsing resource itself, the cost of using the parsing resource, etc. The cost indicator may be at least one of the above information, or may be a numerical value after calculation of at least one of the above information, etc., and the embodiment of the present application is not limited thereto. Optionally, the cost indicator may be configured by the above cost management module.

[0092] Optionally, the acquiring resource management data corresponding to each of the resolved resources includes:

[0093] Generating a monitoring task for each of the parsed resources respectively;

[0094] Obtaining the link quality of the corresponding resolution resource through the monitoring task;

[0095] The quality indicator is determined according to the link quality.

[0096] For example, when the resource management data includes quality indicators, the above-mentioned network monitoring module can be used to obtain the quality indicators. Optionally, distributed multi-operator detection monitoring can be used. For example: the network monitoring module can generate corresponding monitoring tasks according to the parsing resources configured by the resource configuration module, and save the operation monitoring log of each IP address. Among them, the monitoring data (that is, the link quality related information of the parsing resources) includes but is not limited to the following methods: using PING monitoring to obtain the size of the IP address's packet loss rate, the length of the response time, etc.; using TCP monitoring to obtain the response time of the TCP port specified by the detection service IP, etc.; using HTTP(s) monitoring to obtain the HTTP(s) response time, return code information, etc. of the detection URL.

[0097] Optionally, when different monitoring methods are used to obtain monitoring data, different monitoring tasks and abnormality judgment conditions are generated. Taking PING monitoring as an example, one or more monitoring nodes can be configured (for example, a monitoring node is used to monitor a certain area, a certain operator's server, etc.), and the abnormality judgment conditions configured include but are not limited to at least one of the following: a first threshold (for example, a percentage value can be used), which is used to indicate that the packet loss rate is greater than or equal to the first threshold and is judged to be abnormal; a second threshold (for example, ms can be used as the unit), which is used to indicate that the delay exceeds the second threshold and is judged to be abnormal; a third threshold (for example, a percentage value can be used), which is used to indicate that the proportion of monitoring points that meet any of the above conditions is greater than or equal to the third threshold and is judged to be abnormal.

[0098] Optionally, the acquiring resource management data corresponding to each of the resolved resources includes:

[0099] For each of the resolution resources, respectively obtain at least one parameter value of the occupancy of the resolution resource;

[0100] A weighted sum of the at least one parameter value is determined as the health indicator.

[0101] For example, at least one parameter value of the occupancy of the parsed resource includes, but is not limited to, memory, CPU usage, disk capacity, etc. of the server resource. For example, when the resource management data includes health indicators, the above-mentioned resource health value module can be used to comprehensively evaluate the overall health of the resource based on at least one parameter value of the occupancy of the parsed resource (such as memory, CPU usage, disk capacity, etc. of the server resource) to obtain the corresponding health value (i.e., health indicator).

[0102] For example, the overall health of resources can be evaluated by using the weighted sum of at least one parameter value that affects the occupancy of the parsing resources. For example, at least one parameter value that affects the occupancy of the parsing resources is K1, K2, ..., Kn, and the corresponding weights of each parameter value are W1, W2, ..., Wn. The health index H can be calculated by the formula: H=K1*W1+K2*W2+...+Kn*Wn. Where W1+W2+...+Wn=1.

[0103] Optionally, the acquiring resource management data corresponding to each of the resolved resources includes:

[0104] For each of the parsing resources, respectively obtain a cost value of the parsing resource;

[0105] The ratio between the cost value of each of the parsed resources and the maximum cost value of all the parsed resources is determined as the cost index.

[0106] For example, when the resource management data includes cost indicators, the above-mentioned cost management module can be used to determine the cost indicators of each analytical resource (for example, setting cost weights according to certain rules and performing cost comparisons on different analytical resources). For example: at least one analytical resource is R1, R2, ..., Rn, and its costs are P1, P2, ..., Pn, respectively, where Pmax is the maximum cost value among P1, P2, ..., Pn, then the cost management coefficient Xi (i.e., cost indicator) can be calculated by the formula: Xi=Pi / Pmax, where Pi is any cost among P1, P2, ..., Pn.

[0107] Optionally, the resolution resource that meets the preset condition includes at least one of the following:

[0108] The resolution resource having a quality indicator greater than or equal to a first threshold;

[0109] The resolution resource whose health indicator is greater than or equal to a second threshold;

[0110] The resolution resource for which the cost indicator is less than or equal to a third threshold;

[0111] and / or,

[0112] The parsed resources that do not meet the preset condition include at least one of the following:

[0113] The resolution resource whose quality index is less than the first threshold;

[0114] The resolution resource whose health indicator is less than the second threshold;

[0115] The cost indicator is greater than the third threshold value of the parsing resources.

[0116] For example, the preset condition may include at least one of the following: whether the quality index is less than the first threshold, whether the health index is less than the second threshold, whether the cost index is greater than the third threshold, etc. For example: if the preset condition includes any one of the above items, the resolution resource whose quality index is greater than or equal to the first threshold can be determined as the resolution resource that meets the preset condition; correspondingly, the resolution resource whose quality index is less than the first threshold can be determined as the resolution resource that does not meet the preset condition. Alternatively, the resolution resource whose health index is greater than or equal to the second threshold can be determined as the resolution resource that meets the preset condition; correspondingly, the resolution resource whose health index is less than the second threshold can be determined as the resolution resource that does not meet the preset condition. Alternatively, the resolution resource whose cost index is less than or equal to the third threshold can be determined as the resolution resource that meets the preset condition; correspondingly, the resolution resource whose cost index is greater than the third threshold can be determined as the resolution resource that does not meet the preset condition, etc.

[0117] For example: the preset condition includes any two of the above, and taking the preset condition including whether the health index is less than the second threshold value and whether the cost index is greater than the third threshold value as an example, the parsing resource whose health index is greater than or equal to the second threshold value and whose cost index is less than or equal to the third threshold value can be determined as the parsing resource that meets the preset condition; correspondingly, the parsing resource whose health index is less than the second threshold value or the parsing resource whose cost index is greater than the third threshold value can be determined as the parsing resource that does not meet the preset condition. For example, at least one parsing resource is R1, R2, ..., Rn, and its corresponding health index is H1, H2, ..., Hn, respectively, and its corresponding cost index is X1, X2, ..., Xn, respectively, then the resource Ri in H1, H2, ..., Hn that is greater than or equal to the second threshold value H and X1, X2, ..., Xn that is less than or equal to the third threshold value X can be determined as the parsing resource that meets the preset condition, that is, it can be used for scheduling parsing and providing services; otherwise, it is determined as the parsing resource that does not meet the preset condition and is not scheduled.

[0118] Optionally, the scheduling method for domain name resolution further includes:

[0119] For each parsing resource, determining a scoring indicator corresponding to the parsing resource according to the resource management data;

[0120] When the scoring indicator of the first resolution resource is within the tolerance range of resource scheduling, the scheduling status of the first resolution resource is maintained; wherein the scheduling status includes that the first resolution resource is scheduled for domain name resolution processing, or the first resolution resource is not scheduled for domain name resolution processing.

[0121] For example, the above-mentioned resource scoring module is used to determine the scoring index as an example to illustrate the process of determining the scoring index of the embodiment of the present application. For example: the monitoring data of each resolution resource is obtained through the network monitoring module, the health index of each resolution resource is obtained through the resource health value module, and the cost value of each resolution resource is obtained through the cost management module. Based on the monitoring data, health index, and cost value of each resolution resource, the scoring index corresponding to each resolution resource is determined.

[0122] For example: based on different regional operators, the resolution resources of domain name-related IP addresses are scored. For example, the scoring rules can be based on the formula: scoring index = basic score + recent performance score. Among them, the basic score is the historical performance data (such as the data of the most recent first time period, such as the most recent hours, the most recent day, the most recent week, etc.), and the most recent performance score is the data performance score of the most recent second time period (such as the most recent 10 minutes, the most recent hour, etc.). The scoring index is calculated based on the basic score and the most recent performance score to form a scoring table.

[0123] For example, taking the first time period as the most recent day, the scoring index Si of the i-th analysis resource can be calculated by the formula: Si=Score(avg)+Mi*Hi*Pi, where Score(avg) is the basic score of the historical performance data of the most recent day, and Mi*Hi*Pi is the most recent performance score.

[0124] Specifically, the quality indicators of each parsing resource monitored in the most recent day are M1, M2, ..., Mn, the health indicators of each parsing resource are H1, H2, ..., Hn, and the cost values ​​of each parsing resource are P1, P2, ..., Pn. Then the recent performance score Score (i) corresponding to the parsing resource can be calculated by the formula: Score (i) = Mi*Hi*Pi, where Mi is the quality indicator of the i-th parsing resource in M1, M2, ..., Mn, Hi is the health indicator of the i-th parsing resource in H1, H2, ..., Hn, and Pi is the cost value of the i-th parsing resource in P1, P2, ..., Pn. Among them, the basic score can be determined by calculating the average score Score (avg) according to the historical performance data of the most recent day. For example, the basic score of each parsing resource is calculated by the formula: Score (avg) = (M1*H1*P1+...+Mn*Hn*Pn) / n.

[0125] Optionally, the tolerance range is determined by a scoring standard value and a tolerance coefficient;

[0126] The maximum value in the tolerance range is the sum of the product of the scoring standard value and the tolerance coefficient and the scoring standard value; the minimum value in the tolerance range is the difference between the scoring standard value and the product.

[0127] For example, the tolerance strategy module is used to determine the tolerance range to illustrate the process of determining and adjusting the tolerance range. For example, after the parameter values ​​in the resource management data are determined by the module, the scheduling tolerance design is performed to analyze the impact of the fluctuation of various factors in the system on the output fluctuation, and the contribution rate is used as a quantitative evaluation indicator of the factor effect, allowing different analytical resources to not be scheduled within a certain fluctuation range.

[0128] Among them, the tolerance range is mainly used to adjust the fluctuation range and increase the tolerance coefficient T (the value of T can be between 0 and 1). If the scoring requirement is to meet the scoring benchmark value S, and the tolerance coefficient T is set, the tolerance range of the actual score is [Smin, Smax], where Smin=SS*T, Smax=S+S*T.

[0129] For example: the Mth configured resolution resources are R1, R2, ..., Rn, the corresponding scoring indicators are SRM1, SRM2, ..., SRMn, the scoring reference value is S, T is 0.01, then when SRM1, SRM2, ..., SRMn are between [0.99S, 1.01S], the corresponding resolution resources can be judged as valid, and the original scheduling status is maintained.

[0130] Optionally, the scoring benchmark value can be set through the platform and can be adjusted according to the actual operation of the resolution resource. When setting the scoring benchmark value, the value can be in the range of 0~100, where the tolerance coefficient can be determined according to the scoring benchmark value. For example, when the scoring benchmark value is set to 10, the corresponding tolerance coefficient value is T=10 / 100, and the system can default to a recommended value of 10. Furthermore, the scoring benchmark value can also be set for different domain names, the number of response records can be set, and dynamic selection rules (such as minimum delay, polling scheduling, random allocation), etc.

[0131] Optionally, the log collection module is used to collect logs from various network devices, hosts, and business systems in real time and continuously for the resolution resources configured to resolve the first domain name. The embodiment of the present application mainly collects and saves logs with problems. For example, distributed computing (Hadoop) technology can be used for processing. Of course, the embodiment of the present application can also be processed in other ways, and the embodiment of the present application is not limited to this.

[0132] Optionally, the above-mentioned scheduling decision module serves as a core processing engine and can perform scheduling logic processing in combination with the resource configuration module based on the data of the resource scoring module and the tolerance strategy module, generate a scheduling decision task, and issue the DNS scheduling change to the resolution deployment module. For example, the scheduling decision module can execute the step of scheduling the first resolution resource in the resolution resource set to perform resolution processing of the first domain name according to the resource management data, and not scheduling the second resolution resource in the resolution resource set to perform resolution processing of the first domain name, and / or maintaining the scheduling status of the first resolution resource when the scoring index of the first resolution resource is within the tolerance range of resource scheduling.

[0133] Optionally, the above-mentioned resolution deployment module is used to push the resolution configuration to each authoritative DNS service node. When a DNS query request is received, the server IP address after the latest scheduling decision is returned to the client based on the requested IP address and the domain name in the request packet.

[0134] For example, the main business logic of resolution scheduling includes: global wide area network (web) user console, monitoring data collection and / or aggregation platform, scheduling adapter, scheduling task processor and DNS resolution deployer, such as Figure 5 As shown. Among them,

[0135] Web user console: used to provide the global traffic management user access service entrance and configure the main operation interface Portal.

[0136] Monitoring data collection and / or aggregation: used to receive and analyze various task data reported by the monitoring center, and to collect statistics regularly.

[0137] Scheduling adapter: used to provide interfaces related to all business configuration data of global traffic scheduling; generation and distribution of scheduling tasks, task merging, and task priority queues.

[0138] Scheduling task processor: used for the execution and processing of various scheduling tasks, taking over the adapter and connecting to the DNS resolution deployer.

[0139] DNS resolution deployer: used to convert and assemble resolution configuration data into a data format supported by DMS resolution, supporting full and / or differential deployment of multiple NS service nodes.

[0140] Continue to see Figure 5 , a processing flow chart of a core business, specifically including:

[0141] 1. User console construction

[0142] By building a user-oriented global traffic management product service console, a dispatch name (CName) will be given after the domain name is added. For example, if the newly added domain name is www.example.com and the CName suffix cmegtm.com is selected, the CName will be www.example.com.cmegtm.com. Dispatching access only requires adding a DNS resolution record in the domain name resolution system for the service to take effect.

[0143] 2. Monitoring data collection and / or aggregation

[0144] The web user console sends the GTM collection task to the monitoring data collection and / or aggregation platform, which collects data and reports metadata to the cache for processing. The monitoring data collection and / or aggregation platform includes: a network monitoring module and a resource health value module.

[0145] Among them, the network monitoring module is used to collect data, including the distance value between the service resources and the real user and the local DNS (LocalDNS) server and the actual detection task data value. The distance value is a preset table, which can be matched according to the operator and geographical location where the user accesses and server resources are located. For example, the distance value of user A of operator A in area A accessing the source station of operator A in area A is 10. A certain value is added for cross-operator and cross-region, and the default value is 20. For example, the distance value of user B of operator B in area B accessing the source station of operator A in area A is 50. The actual detection value is the result data detected by the monitoring machine. Taking PING monitoring as an example, 3 detection packets are sent continuously, specifically:

[0146] Probe 1: Reply from 117.24.11.18: Bytes=32 Time=20ms TTL=53;

[0147] Probe 2: Reply from 117.24.11.18: Bytes=32 Time=7ms TTL=53;

[0148] Probe 3: Reply from 117.24.11.18: Bytes=32 Time=6ms TTL=53;

[0149] The statistics of PING monitoring for 117.24.11.18 are as follows:

[0150] Data packets: sent = 3, received = 3, lost = 0 (i.e. 0% loss),

[0151] Round trip time (in milliseconds): shortest = 6ms, longest = 20ms, average = 11ms;

[0152] The corresponding data storage format is shown in Table 1:

[0153] vip id client1 ip rtt value ping value TCP value http value https value … vip id client2 ip rtt value ping value TCP value http value https value … vip id clientN ip rtt value ping value TCP value http value https value …

[0154] Table 1

[0155] In the above Table 1, vip id represents the client identifier, client1 ip, client2 ip, clientN ip represent the IP addresses of clients 1, 2...N respectively, rtt value represents the round-trip time value, ping value represents the PING monitoring value, tcpvalue represents the TCP monitoring value, and http value and https value represent the HTTP monitoring value.

[0156] Among them, the resource health value module is used to determine the resource health value data, which is used to reflect the status information of the machine at a certain moment (such as CPU utilization, load, memory utilization, etc.). The storage format of the health value data is shown in Table 2:

[0157] Vip1 id CPU value load value Memory value … Vip2 id CPU value load value Memory value … Vip3 id CPU value load value Memory value …

[0158] Table 2

[0159] In the above Table 2, Vip1 id, Vip2 id, and Vip3 id represent the identifiers of clients 1, 2, and 3 respectively, cpu value represents cpu utilization, load value represents load, and Memory value represents memory utilization.

[0160] Specifically, the decision module can rely on the unhealthy duration to update the flag. For example, it can determine whether it is a healthy duration based on whether the uploaded health value exceeds the set threshold. If it exceeds, it is considered to be an unhealthy duration, otherwise it is considered to be a healthy duration. The logical determination update of the unhealthy duration and the healthy duration is shown in Table 3:

[0161] T is for health T stands for unhealthy TNo collection information T+1 for health Not updating Update to 0 Update to 0 T+1 is unhealthy Update time Not updating Update time

[0162] Table 3

[0163] In the above Table 3, T is the last collection result, and T+1 is the current collection result.

[0164] 3. Scheduling Adapter

[0165] The web user console submits the GTM configuration to the scheduling adapter. Figure 6 As shown in the figure, a scheduling flow chart of a scheduling adapter is given. The scheduling adapter integrates all relevant interfaces of all business configuration data of global traffic scheduling, saves the configuration data of scheduling scenarios and scheduling strategies, and is also responsible for the generation of scheduling tasks, task merging, task priority queues, task distribution, etc. For example, the resources to be scheduled, the type of scheduling, the range of tolerance, the impact coefficient, and the monitoring method are pre-defined in the console, and the monitoring collection platform and scheduling decision logic are connected to the channel for the front-end of the product to call the back-end data. The scheduling adapter can distribute scheduling tasks to the scheduling task processor, and can also schedule the DNS resolution deployer to perform scheduling tasks.

[0166] 4. Scheduling Task Processor

[0167] The scheduling task processor can schedule the DNS resolution deployer to execute the scheduling task according to the scheduling task distributed by the scheduling adapter. The scheduling task processor is mainly responsible for the specific scheduling task processing, and implements periodic scheduling execution according to the monitoring method, the health value of the source station, and the dynamic selection rules. It can use scheduled task execution. For example, it can be set by default to 1 calculation cycle per minute, and output the user client access request within this cycle to the optimal resolution service IP address.

[0168] Optionally, the scheduling task processor can be configured for different domain names, such as configuring the number of response records, the default TTL (in seconds), dynamic selection rules (such as minimum delay, polling scheduling, random allocation, etc.), and health check mode, etc. The embodiments of the present application are not limited to this.

[0169] Among them, the minimum delay refers to the real-time feedback of the request time size based on the detection request sent by the monitoring module to each IP server, scoring, and analysis based on the response record requirements. This algorithm can better reflect the current operating status of the server.

[0170] Polling scheduling refers to assigning different weight values ​​to each server according to the different processing capabilities of the server, so that it can accept service requests with corresponding weight values. For example, if the weight values ​​of servers A, B, C, and D are designed to be 1, 2, 3, and 4 respectively, then servers A, B, C, and D will receive 10%, 20%, 30%, and 40% of service requests respectively. This algorithm can ensure that high-performance servers get more utilization and avoid overloading low-performance servers.

[0171] Random allocation means randomly allocating requests from users to multiple servers in the group. This algorithm is suitable for situations where all servers in the server group have the same hardware and software configurations and the average service requests are relatively balanced.

[0172] 5. DNS resolution deployer

[0173] The DNS resolution deployer can issue DNS resolution according to the global traffic management scheduling results to publish scheduling tasks, implement authoritative DNS server push, support users to perform real-time scheduling of access resolution, and achieve high-availability scheduling of traffic performance load.

[0174] The process code of the DNS resolution deployer is as follows:

[0175] ;<<>>DiG 9.10-P2<<>>vpn.hi thum.com.cmegtm.com

[0176] ; ; global options;cmd

[0177] ; ; Got answer:

[0178] ; ; ->>HEADER<<- opcode : QUERY , status : NOERROR , id: 62906

[0179] ; ; flags : qr rd ra ; QUERY : 1 , ANSWER : 1 , AUTHORITY : 2 ,ADDITIONAL : 11

[0180] ; ; OPT PSEUDOSECTION :

[0181] ; ENDS : version : 0 , flags : ; udp : 4096

[0182] ; ; QUESTION SECTION :

[0183] ; vpn.hi thium.com. cmegtm.com. IN A

[0184] ; ; ANSWER SECTION :

[0185] ; vpn.hi thium.com. cmegtm.com. 120 IN A 59.61.86.11

[0186] ; ; AUTHORITY SECTION :

[0187] cmegtm.com. 120 IN NS ns6.cmedns.com.

[0188] cmegtm.com. 120 IN NS ns5.cmedns.com.

[0189] In the existing domain name scheduling process, monitoring machines are more often used to regularly initiate dialing task detection on the resolution source station, and match the detection results with the preset scheduling rules. The threshold for operation and maintenance personnel is relatively high, and resources must be reasonably grouped, load distributed, and line planned. Compared with the existing domain name scheduling process, the above-mentioned scheme of the present application simplifies the overall configuration requirements. When the service capacity of a resource decreases, the load weight can be flexibly adjusted or allocated, which has higher flexibility. At the same time, the resolution scheduling method of the present application can be associated with the actual service situation of the source station, avoiding the need to wait for the source station resources to be completely unavailable for scheduling, reducing the pressure on other service resources, avoiding the decline in the service capacity of other resources, and ensuring that the scheduling switch can be smoother.

[0190] like Figure 7 As shown, the embodiment of the present application provides a scheduling device 700 for domain name resolution, including:

[0191] The resource configuration module 710 is used to determine a resolution resource set according to the accessed first domain name; wherein the resolution resource set includes at least one resolution resource that can resolve the first domain name;

[0192] The acquisition module 720 is used to acquire resource management data corresponding to each of the resolution resources; wherein the resource management data is used to characterize the availability of the resolution resources;

[0193] A scheduling processing module 730, configured to schedule a first resolution resource in the resolution resource set to perform resolution processing of the first domain name according to the resource management data, and not schedule a second resolution resource in the resolution resource set to perform resolution processing of the first domain name;

[0194] The first parsed resource is a parsed resource whose resource management data meets a preset condition, and the second parsed resource is a parsed resource whose resource management data does not meet the preset condition.

[0195] Optionally, the resource management data includes at least one of the following:

[0196] A quality indicator, used to indicate the link quality of the resolution resource;

[0197] Health indicators, used to indicate the occupancy of the parsing resources;

[0198] The cost indicator is used to indicate the usage cost of the parsing resource.

[0199] Optionally, the acquisition module 720 includes:

[0200] A generating unit, used for generating a monitoring task for each of the parsed resources;

[0201] A first acquisition unit, configured to acquire the link quality of the corresponding resolution resource through the monitoring task;

[0202] The first determining unit is configured to determine the quality indicator according to the link quality.

[0203] Optionally, the acquisition module 720 includes:

[0204] A second acquisition unit, configured to acquire, for each of the resolution resources, at least one parameter value of the occupancy of the resolution resource;

[0205] The second determining unit is used to determine the weighted sum of the at least one parameter value as the health indicator.

[0206] Optionally, the acquisition module 720 includes:

[0207] A third acquisition unit, configured to respectively acquire a cost value of the resolution resource for each resolution resource;

[0208] The third determining unit is used to determine the ratio between the cost value of each of the resolution resources and the maximum cost value of all the resolution resources as the cost indicator.

[0209] Optionally, the resolution resource that meets the preset condition includes at least one of the following:

[0210] The resolution resource having a quality indicator greater than or equal to a first threshold;

[0211] The resolution resource whose health indicator is greater than or equal to a second threshold;

[0212] The resolution resource for which the cost indicator is less than or equal to a third threshold;

[0213] and / or,

[0214] The parsed resources that do not meet the preset condition include at least one of the following:

[0215] The resolution resource whose quality index is less than the first threshold;

[0216] The resolution resource whose health indicator is less than the second threshold;

[0217] The cost indicator is greater than the third threshold value of the parsing resources.

[0218] Optionally, the scheduling device for domain name resolution further includes:

[0219] A determination module, configured to determine, for each parsing resource, a scoring indicator corresponding to the parsing resource according to the resource management data;

[0220] A processing module is used to maintain the scheduling status of the first resolution resource when the scoring indicator of the first resolution resource is within the tolerance range of resource scheduling; wherein the scheduling status includes that the first resolution resource is scheduled for domain name resolution processing, or the first resolution resource is not scheduled for domain name resolution processing.

[0221] Optionally, the tolerance range is determined by a scoring standard value and a tolerance coefficient; wherein the maximum value in the tolerance range is: the sum of the product of the scoring standard value and the tolerance coefficient and the scoring standard value; and the minimum value in the tolerance range is: the difference between the scoring standard value and the product.

[0222] It should be noted that the above-mentioned domain name resolution scheduling device of the embodiment of the present application can implement each process of the above-mentioned domain name resolution scheduling and can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.

[0223] The present application embodiment provides a network device, such as Figure 8 As shown, it includes a transceiver 810, a processor 800, a memory 820, and a program or instruction stored in the memory 820 and executable on the processor 800; when the processor 800 executes the program or instruction, the steps of the scheduling method applied to domain name resolution are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0224] The transceiver 810 is used to receive and send data under the control of the processor 800 .

[0225] Among them, Figure 8In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 800 and memory represented by memory 820. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 810 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 800 is responsible for managing the bus architecture and general processing, and the memory 820 may store data used by the processor 800 when performing operations.

[0226] A readable storage medium of an embodiment of the present application stores a program or instruction thereon. When the program or instruction is executed by a processor, the steps in the scheduling method for domain name resolution as described above are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0227] The processor is a processor in the network device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0228] It should be further explained that the terminals described in this specification include but are not limited to smart phones, tablet computers, etc., and many of the functional components described are called modules in order to more particularly emphasize the independence of their implementation methods.

[0229] In the embodiment of the present application, module can be implemented with software so that it can be executed by various types of processors. For example, an executable code module of an identification can include one or more physical or logical blocks of computer instructions, for example, it can be constructed as an object, process or function. Nevertheless, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different positions, and when these instructions are logically combined together, it constitutes a module and realizes the specified purpose of the module.

[0230] In fact, executable code module can be a single instruction or many instructions, and can even be distributed on a plurality of different code segments, distributed among different programs, and distributed across a plurality of memory devices.Similarly, operation data can be identified in the module, and can be implemented and organized in the data structure of any appropriate type according to any appropriate form.Described operation data can be collected as a single data set, or can be distributed in different locations (including on different storage devices), and can only be present on a system or network as an electronic signal at least in part.

[0231] When a module can be implemented by software, considering the level of existing hardware technology, a person skilled in the art can build a corresponding hardware circuit to implement the corresponding function of the module that can be implemented by software without considering the cost. The hardware circuit includes a conventional very large scale integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, or other discrete components. The module can also be implemented by a programmable hardware device, such as a field programmable gate array, a programmable array logic, a programmable logic device, etc.

[0232] The above exemplary embodiments are described with reference to the accompanying drawings, and many different forms and embodiments are feasible without departing from the spirit and teachings of the present application. Therefore, the present application should not be constructed as a limitation of the exemplary embodiments proposed herein. More specifically, these exemplary embodiments are provided so that the present application will be perfect and complete, and the scope of the present application will be conveyed to those who are familiar with the technology. In these figures, the component sizes and relative sizes may be exaggerated for clarity. The terms used here are only based on the purpose of describing specific exemplary embodiments and are not intended to be limiting. As used herein, unless the text clearly indicates otherwise, the singular forms "one", "an" and "the" are intended to include these multiple forms. It will be further understood that the terms "comprising" and / or "including" when used in this specification indicate the presence of the features, integers, steps, operations, components and / or components, but do not exclude the presence or increase of one or more other features, integers, steps, operations, components, components and / or their groups. Unless otherwise indicated, when stated, a range of values ​​includes the upper and lower limits of that range and any subranges therebetween.

[0233] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles described in the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for scheduling domain name resolution, characterized in that: include: Determine a resolution resource set according to the accessed first domain name; wherein the resolution resource set includes at least one resolution resource that can resolve the first domain name; Obtain resource management data corresponding to each of the resolution resources; wherein the resource management data is used to characterize the availability of the resolution resources; According to the resource management data, scheduling a first resolution resource in the resolution resource set to perform resolution processing of the first domain name, and not scheduling a second resolution resource in the resolution resource set to perform resolution processing of the first domain name; The first parsed resource is a parsed resource whose resource management data meets a preset condition, and the second parsed resource is a parsed resource whose resource management data does not meet the preset condition; The scheduling method for domain name resolution also includes: For each parsing resource, determining a scoring indicator corresponding to the parsing resource according to the resource management data; When the scoring indicator of the first resolution resource is within the tolerance range of resource scheduling, the scheduling status of the first resolution resource is maintained; wherein the scheduling status includes that the first resolution resource is scheduled for domain name resolution processing, or the first resolution resource is not scheduled for domain name resolution processing.

2. The method for scheduling domain name resolution according to claim 1, characterized in that: The resource management data includes at least one of the following: A quality indicator, used to indicate the link quality of the resolution resource; Health indicators, used to indicate the occupancy of the parsing resources; The cost indicator is used to indicate the usage cost of the parsing resource.

3. The method for scheduling domain name resolution according to claim 2, characterized in that: The obtaining of resource management data corresponding to each of the parsed resources includes: Generating a monitoring task for each of the parsed resources respectively; Obtaining the link quality of the corresponding resolution resource through the monitoring task; The quality indicator is determined according to the link quality.

4. The method for scheduling domain name resolution according to claim 2, characterized in that: The obtaining of resource management data corresponding to each of the parsed resources includes: For each of the resolution resources, respectively obtain at least one parameter value of the occupancy of the resolution resource; A weighted sum of the at least one parameter value is determined as the health indicator.

5. The method for scheduling domain name resolution according to claim 2, characterized in that: The obtaining of resource management data corresponding to each of the parsed resources includes: For each of the parsing resources, respectively obtain a cost value of the parsing resource; The ratio between the cost value of each of the parsed resources and the maximum cost value of all the parsed resources is determined as the cost index.

6. The method for scheduling domain name resolution according to any one of claims 2 to 5, characterized in that: The parsed resources that meet the preset conditions include at least one of the following: The resolution resource having a quality indicator greater than or equal to a first threshold; The resolution resource whose health indicator is greater than or equal to a second threshold; The resolution resource for which the cost indicator is less than or equal to a third threshold; and / or, The parsed resources that do not meet the preset condition include at least one of the following: The resolution resource whose quality index is less than the first threshold; The resolution resource whose health indicator is less than the second threshold; The cost indicator is greater than the third threshold value of the parsing resources.

7. The method for scheduling domain name resolution according to claim 1, characterized in that: The tolerance range is determined by the scoring standard value and the tolerance coefficient; The maximum value in the tolerance range is the sum of the product of the scoring standard value and the tolerance coefficient and the scoring standard value; the minimum value in the tolerance range is the difference between the scoring standard value and the product.

8. A scheduling device for domain name resolution, characterized in that: include: A resource configuration module, configured to determine a resolution resource set according to a first domain name accessed; wherein the resolution resource set includes at least one resolution resource capable of resolving the first domain name; An acquisition module, used to acquire resource management data corresponding to each of the resolution resources; wherein the resource management data is used to characterize the availability of the resolution resources; a scheduling processing module, configured to schedule a first resolution resource in the resolution resource set to perform resolution processing of the first domain name according to the resource management data, and not schedule a second resolution resource in the resolution resource set to perform resolution processing of the first domain name; The first parsed resource is a parsed resource whose resource management data meets a preset condition, and the second parsed resource is a parsed resource whose resource management data does not meet the preset condition; The scheduling device for domain name resolution also includes: A determination module, configured to determine, for each parsing resource, a scoring indicator corresponding to the parsing resource according to the resource management data; A processing module is used to maintain the scheduling status of the first resolution resource when the scoring indicator of the first resolution resource is within the tolerance range of resource scheduling; wherein the scheduling status includes that the first resolution resource is scheduled for domain name resolution processing, or the first resolution resource is not scheduled for domain name resolution processing.

9. A network device comprising: A transceiver, a processor, a memory, and a program or instruction stored in the memory and executable on the processor; characterized in that when the processor executes the program or instruction, the steps of the scheduling method for domain name resolution described in any one of claims 1 to 7 are implemented.

10. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by a processor, the steps of the method for scheduling domain name resolution according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • DNS server management method and device, electronic equipment and storage medium

    CN114422396A