A method and device for switching domain name resolution servers

By configuring multiple DNS resolution servers on the network communication lines of different operators and using the domain name resolution detection program to automatically switch, the problem of rapid response and recovery after a DNS resolution server failure is solved, the high availability of the DNS resolution server is improved, and Internet transactions are ensured. normal processing.

CN114285822BActive Publication Date: 2024-10-22CHINA UNIONPAY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111538951.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-15
Publication Date
2024-10-22
Estimated Expiration
2041-12-15

AI Technical Summary

Technical Problem

The existing technology cannot respond quickly and recover after a DNS resolution server failure, which affects Internet transactions and cannot effectively guarantee the high availability of the DNS resolution server.

Method used

By configuring multiple DNS resolution servers on network communication lines of different operators, and using domain name resolution detection programs to detect server status, automatically switching to backup servers to ensure high availability and avoid the unavailability of multiple servers caused by line failures of the same operator .

Benefits of technology

It realizes rapid and autonomous switching of DNS resolution servers, ensures normal processing of Internet transactions, improves the high availability of DNS resolution servers, and reduces user losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114285822B_ABST
    Figure CN114285822B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a method and device for switching a domain name resolution server, the method comprising the following steps: the transaction backend detects the first primary domain name resolution server through a domain name resolution detection program to determine whether the first primary domain name resolution server is in a normal working state, and if it is determined that the first primary domain name resolution server is in an abnormal working state, the first primary domain name resolution server is automatically switched to the second primary domain name resolution server, and a domain name resolution request is sent to the second primary domain name resolution server, and the IP address obtained by resolving the domain name resolution request through the second primary domain name resolution server is established with the corresponding transaction front end. In this way, the scheme automatically switches the first primary domain name resolution server in an abnormal working state to the second primary domain name resolution server through the domain name resolution detection program, so that the domain name resolution request is processed by the second primary domain name resolution server, thereby effectively improving the high availability of the domain name resolution server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of DNS resolution technology, and in particular to a method and device for switching a domain name resolution server. Background Art

[0002] With the popularization of mobile payments, the volume of Internet transactions has increased dramatically. As an Internet infrastructure, DNS (Domain Name System) has become increasingly important in Internet services. Therefore, ensuring the efficient and secure operation of DNS is of great significance for maintaining Internet security and improving user experience.

[0003] DNS is the most important starting point and entrance of the Internet and the foundation of global Internet communication. Various Web services, E-mail services, routing services, etc. based on the Internet directly or indirectly rely on DNS. The role of DNS is equivalent to the central nervous system of the Internet. It is used for the conversion between network domain names and network IP addresses. If the DNS resolution server fails, the Internet will be paralyzed. Therefore, it is particularly important to improve the high availability of DNS resolution servers.

[0004] At present, there are two main methods for high availability of DNS resolution servers. One method is high availability of DNS resolution servers at the system level, which configures multiple DNS resolution servers and tries DNS resolution in sequence; the other method is high availability of network layer lines, which uses multiple communication lines of multiple operators and load balances DNS resolution requirements according to certain rules. However, both methods have the problem of being unable to respond quickly and recover after a DNS resolution server failure and unable to ensure that Internet transactions are not affected by abnormal DNS resolution servers.

[0005] In summary, there is an urgent need for a domain name resolution server switching method to effectively improve the high availability of the domain name resolution server. Summary of the invention

[0006] The embodiment of the present invention provides a domain name resolution server switching method and device, which are used to effectively improve the high availability of the domain name resolution server.

[0007] In a first aspect, an embodiment of the present invention provides a method for switching a domain name resolution server, comprising:

[0008] The transaction backend detects the first primary domain name resolution server through a domain name resolution detection program to determine whether the first primary domain name resolution server is in a normal working state;

[0009] If the transaction backend determines that the first primary domain name resolution server is in an abnormal working state, the domain name resolution server used for domain name resolution is switched from the first primary domain name resolution server to the second primary domain name resolution server, and the domain name resolution request generated by the transaction backend is sent to the second primary domain name resolution server; the first primary domain name resolution server is located on a primary network communication line belonging to a first operator; the second primary domain name resolution server is located on a backup network communication line belonging to a second operator; the first operator and the second operator are two different operators;

[0010] The transaction backend establishes a communication connection with the transaction front end corresponding to the IP address of the network protocol corresponding to the domain name resolution request obtained by resolving the domain name resolution request through the second primary domain name resolution server; the transaction front end is used to receive a transaction request sent by any client; the transaction backend is used to process a transaction request of any client forwarded by any transaction front end.

[0011] In the above technical scheme, since in the existing scheme, if multiple DNS resolution servers configured at the system layer are all configured on the same operator's communication line, multiple DNS resolution servers will be unavailable after a failure occurs in the operator's communication line. In addition, when the quality of the network layer communication line is poor, there will be a certain bit error rate but it has not reached the alarm threshold, so the network layer communication line will not automatically switch. At this time, the network layer does not know that the DNS resolution server's resolution of the domain name resolution request has been affected. Therefore, these two existing processing methods cannot achieve rapid response and recovery after a DNS failure, which will affect Internet transactions and cause certain losses to users. Based on this, the technical solution in the present invention configures multiple domain name resolution servers on network communication lines of different operators respectively, and when a domain name resolution detection program detects that a domain name resolution server on a network communication line belonging to a certain operator is in an abnormal working state, the domain name resolution server used for domain name resolution is promptly switched from the domain name resolution server to a domain name resolution server on a network communication line belonging to another operator. In this way, it can be avoided that multiple domain name resolution servers are configured on the network communication line of the same operator, and a failure occurs in the network communication line of the same operator, resulting in multiple domain name resolution servers being unavailable, thereby effectively ensuring that Internet transactions can be processed in a timely and normal manner, and can effectively improve the high availability of domain name resolution servers. Specifically, the transaction backend detects the first primary domain name resolution server located on the main network communication line belonging to the first operator (i.e., the primary operator) through a domain name resolution detection program to determine whether the first primary domain name resolution server is in a normal working state. If it is determined that the first primary domain name resolution server is in an abnormal working state, the domain name resolution server used for domain name resolution can be switched from the first primary domain name resolution server to the second primary domain name resolution server located on the backup network communication line belonging to the second operator (i.e., the backup operator), so that the domain name resolution request generated by the transaction backend is sent to the second primary domain name resolution server, thereby realizing the autonomous switching of the domain name resolution server, thereby effectively ensuring that Internet transactions are not affected by the abnormality of the domain name resolution server. Then, the IP address corresponding to the domain name resolution request generated by the transaction backend obtained by the resolution of the second primary domain name resolution server can establish a communication connection with the transaction front end corresponding to the IP address in a timely manner.In this way, the solution can automatically switch the first primary domain name resolution server to the second primary domain name resolution server when the domain name resolution detection program detects that the first primary domain name resolution server currently used for domain name resolution is in an abnormal working state, so that the transaction backend can promptly process the domain name resolution request generated by the transaction backend through the second primary domain name resolution server, thereby effectively ensuring that Internet transactions can be processed in a timely and normal manner without being affected by the abnormality of the domain name resolution server used for domain name resolution, and can effectively improve the high availability of the domain name resolution server.

[0012] Optionally, the primary network communication line is further configured with a first standby domain name resolution server;

[0013] The method further comprises:

[0014] The transaction backend uses the domain name resolution detection program to switch the domain name resolution server used for domain name resolution from the first primary domain name resolution server to the first backup domain name resolution server if it is determined that the first primary domain name resolution server is in an abnormal working state and the first backup domain name resolution server is in a normal working state.

[0015] In the above technical scheme, in addition to directly switching the network communication line to ensure that Internet transactions are not affected by the abnormality of the domain name resolution server used for domain name resolution when it is detected through the domain name resolution detection program that the first primary domain name resolution server used for domain name resolution is in an abnormal working state, there can also be another processing method, that is, when it is determined that the first primary domain name resolution server used for domain name resolution is in an abnormal working state, and it is determined that the first backup domain name resolution server that belongs to the same operator as the first primary domain name resolution server and is located on the same main network communication line is in a normal working state, the domain name resolution server used for domain name resolution can be switched from the first primary domain name resolution server to the first backup domain name resolution server, so as to ensure that the transaction backend can promptly process the domain name resolution request generated by the transaction backend through the first backup domain name resolution server, thereby effectively ensuring that Internet transactions can be processed in a timely and normal manner.

[0016] Optionally, the determining whether the first primary domain name resolution server is in a normal working state includes:

[0017] The transaction backend generates m different domain name resolution requests through the domain name resolution detection program;

[0018] The transaction backend sends the m different domain name resolution requests to the first primary domain name resolution server through the primary network communication line;

[0019] The transaction backend determines whether the first primary domain name resolution server is in a normal working state according to the response status of the first primary domain name resolution server to the m different domain name resolution requests.

[0020] In the above technical solution, due to the consideration of the false alarm situation that may be caused by the failure of the same domain name, that is, if multiple domain name resolution requests are generated for the same domain name, then if the host corresponding to the domain name is abnormal (such as downtime or network interruption, etc.), then it is impossible to accurately determine what the actual working state of the first primary domain name resolution server is. Therefore, the actual working state of the first primary domain name resolution server is determined by generating domain name resolution requests for multiple different domain names. For example, if the response status of the first primary domain name resolution server to the domain name resolution requests for the multiple different domain names meets certain conditions (for example, there are a majority of normal responses in the multiple responses to the domain name resolution requests for the multiple different domain names), it is determined that the first primary domain name resolution server is in a normal working state, otherwise it is determined that the first primary domain name resolution server is in an abnormal working state.

[0021] Optionally, the transaction backend determines whether the first primary domain name resolution server is in a normal working state according to the response status of the first primary domain name resolution server to the m different domain name resolution requests, including:

[0022] The transaction backend determines, through the domain name resolution detection program, that the response status is that the number of received domain name resolution responses is greater than or equal to a set number threshold, that the first primary domain name resolution server is in a normal working state;

[0023] The transaction backend determines that the first primary domain name resolution server is in an abnormal working state when determining through the domain name resolution detection program that the response status is that the number of received domain name resolution responses is less than the set number threshold.

[0024] In the above technical solution, by comparing the number of received domain name resolution responses with the set number threshold through the domain name resolution detection program, it is possible to timely and accurately determine whether the first primary domain name resolution server is in normal working condition, thereby providing support for the subsequent timely determination of whether it is necessary to automatically switch the first primary domain name resolution server.

[0025] Optionally, the transaction backend generates m different domain name resolution requests through a domain name resolution detection program, including:

[0026] The transaction backend calls the parameter configuration file through the domain name resolution detection program to generate the m different domain name resolution requests; the parameter configuration file is used to set the m different domain names with the largest transaction volume and the most frequent access.

[0027] In the above technical solution, by setting a parameter configuration file independent of the domain name resolution detection program, it can be helpful to promptly follow up and update the domain name or other parameter information in the parameter configuration file when the business flow and business rules change. This will also facilitate the domain name resolution program to promptly call the updated parameter configuration file, thereby realizing periodic real-time detection of the domain name resolution server used for domain name resolution.

[0028] Optionally, the response time set for the domain name resolution request is less than the transaction processing time of the transaction request.

[0029] In the above technical solution, by setting the response time for the domain name resolution request to be shorter than the transaction processing time of the transaction request, when the domain name resolution server used for domain name resolution fails, the domain name resolution detection program can detect the failure of the domain name resolution server before the transaction application, and can automatically switch the domain name resolution server before the transaction application perceives the failure of the domain name resolution server, thereby effectively avoiding affecting the transaction application in processing Internet transactions.

[0030] Optionally, sending the domain name resolution request generated by the transaction backend to the second primary domain name resolution server includes:

[0031] The transaction backend determines a domain name resolution request that has been sent to the first primary domain name resolution server and has not yet received a domain name resolution result;

[0032] The transaction backend sends the domain name resolution request to the second primary domain name resolution server.

[0033] In the above technical solution, after automatically switching the first primary domain name resolution server to the second primary domain name resolution server, the domain name resolution request that has been previously sent to the first primary domain name resolution server and has not yet received a domain name resolution result can be resent to the second primary domain name resolution server for resolution processing to obtain the IP address corresponding to the domain name resolution request, and the domain name resolution request newly generated by the transaction backend can be sent to the second primary domain name resolution server for resolution processing to obtain the IP address corresponding to the new domain name resolution request.

[0034] In a second aspect, an embodiment of the present invention further provides a domain name resolution server switching device, comprising:

[0035] A detection unit, configured to detect the first primary domain name resolution server through a domain name resolution detection program to determine whether the first primary domain name resolution server is in a normal working state;

[0036] A processing unit, configured to switch the domain name resolution server used for domain name resolution from the first primary domain name resolution server to the second primary domain name resolution server if it is determined that the first primary domain name resolution server is in an abnormal working state, and send the domain name resolution request generated by the transaction backend to the second primary domain name resolution server; the first primary domain name resolution server is located on a primary network communication line belonging to a first operator; the second primary domain name resolution server is located on a backup network communication line belonging to a second operator; the first operator and the second operator are two different operators; a network protocol IP address corresponding to the domain name resolution request obtained by resolving the second primary domain name resolution server is used to establish a communication connection with a transaction front end corresponding to the IP address; the transaction front end is used to receive a transaction request sent by any client; the transaction back end is used to process a transaction request of any client forwarded by any transaction front end.

[0037] Optionally, the primary network communication line is further configured with a first standby domain name resolution server;

[0038] The processing unit is also used for:

[0039] Through the domain name resolution detection program, if it is determined that the first primary domain name resolution server is in an abnormal working state and the first backup domain name resolution server is in a normal working state, the domain name resolution server used for domain name resolution is switched from the first primary domain name resolution server to the first backup domain name resolution server.

[0040] Optionally, the detection unit is specifically used for:

[0041] Generate m different domain name resolution requests through the domain name resolution detection program;

[0042] Sending the m different domain name resolution requests to the first primary domain name resolution server through the primary network communication line;

[0043] According to the response status of the first primary domain name resolution server to the m different domain name resolution requests, it is determined whether the first primary domain name resolution server is in a normal working state.

[0044] Optionally, the detection unit is specifically used for:

[0045] When it is determined by the domain name resolution detection program that the response status is that the number of received domain name resolution responses is greater than or equal to a set number threshold, determining that the first primary domain name resolution server is in a normal working state;

[0046] When the domain name resolution detection program determines that the response status is that the number of received domain name resolution responses is less than the set number threshold, it is determined that the first primary domain name resolution server is in an abnormal working state.

[0047] Optionally, the detection unit is specifically used for:

[0048] The domain name resolution detection program is used to call a parameter configuration file to generate the m different domain name resolution requests; the parameter configuration file is used to set the m different domain names with the largest transaction volume and the most frequent access.

[0049] Optionally, the response time set for the domain name resolution request is less than the transaction processing time of the transaction request.

[0050] The processing unit is also used for:

[0051] Determining a domain name resolution request that has been sent to the first primary domain name resolution server and for which a domain name resolution result has not yet been received;

[0052] The domain name resolution request is sent to the second primary domain name resolution server.

[0053] In a third aspect, an embodiment of the present invention provides a computing device, comprising at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor executes any domain name resolution server switching method described in the first aspect.

[0054] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing a computer program executable by a computing device, wherein when the program runs on the computing device, the computing device executes any of the domain name resolution server switching methods described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0056] Figure 1 A schematic diagram of a possible system architecture provided for an embodiment of the present invention;

[0057] Figure 2 A flowchart of a method for switching a domain name resolution server provided by an embodiment of the present invention;

[0058] Figure 3A schematic diagram of a process for detecting the working status of a DNS resolution server provided by an embodiment of the present invention;

[0059] Figure 4 A schematic diagram of the structure of a domain name resolution server switching device provided by an embodiment of the present invention;

[0060] Figure 5 A schematic diagram of the structure of a computing device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0061] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0062] In order to facilitate understanding of the embodiments of the present invention, first Figure 1A possible system architecture shown in the example is used to illustrate the domain name resolution server switching system architecture applicable to the embodiment of the present invention. The possible system architecture includes a network layer and a system layer. Among them, for the network layer: according to the principle of minimizing the configuration of high availability of the DNS resolution server (i.e., the domain name resolution server), taking two network communication lines and four DNS resolution servers belonging to two operators (such as telecom operators, mobile operators or Unicom operators, etc.) as an example, the two network communication lines and four DNS resolution servers belonging to the two operators are combined, that is, two DNS resolution servers are configured on the network communication line of each operator, for example, the main operator is operator 1 and the DNS resolution server A (i.e., the main DNS resolution server) and DNS resolution server B (i.e., the backup DNS resolution server) on the operator 1; the backup operator is operator 2 and the DNS resolution server C (i.e., the main DNS resolution server) and DNS resolution server D (i.e., the backup DNS resolution server) on the operator 2, so that not only the operator network communication line is highly available, but also the DNS resolution server on each operator network communication line is highly available. For the system layer: use an independently developed DNS resolution detection program (domain name resolution detection program), that is, the transaction backend is configured with the DNS resolution detection program to simulate the DNS resolution process in actual Internet transactions, and continuously detect the DNS resolution server used for DNS resolution. For example, detect the DNS resolution server A on operator 1. If it is found that the DNS resolution of DNS resolution server A has timed out or an abnormality occurs, the DNS resolution detection program will automatically switch the server used for domain name resolution from DNS resolution server A to DNS resolution server C. At this time, the operator network communication line used is also switched from the network communication line of operator 1 to the network communication line of operator 2.

[0063] Among them, load balancing and high availability of network lines are achieved through F5 devices. Among them, there is no strong association between the four DNS resolution servers and the two network communication lines belonging to the two operators. The four DNS resolution servers are divided into two groups, and the primary and backup priorities are set within the group, and the primary and backup priorities are also set between the groups. Then, the two groups of DNS resolution servers are combined with the two network communication lines belonging to the two operators. For example, taking DNS resolution servers A, DNS resolution servers B, DNS resolution servers C and DNS resolution servers D as examples, DNS resolution servers A and DNS resolution servers B are set as a group, namely, group a, in which DNS resolution server A is the primary DNS resolution server and DNS resolution server B is the backup DNS resolution server; DNS resolution servers C and DNS resolution servers D are set as a group, namely, group b, in which DNS resolution server C is the primary DNS resolution server and DNS resolution server D is the backup DNS resolution server. At the same time, group a is set as the primary group and group b is set as the backup group. Group a is combined with the network communication line on operator 1 (i.e., the primary operator), and group b is combined with the network communication line on operator 2 (i.e., the backup operator).

[0064] If the network communication line on operator 1 fails, DNS resolution server A and DNS resolution server B will be unavailable. At this time, the system layer will trigger the server used for domain name resolution to switch from DNS resolution server A located on the network communication line of operator 1 to DNS resolution server C (or DNS resolution server D) located on the network communication line of operator 2. At this time, since the main DNS resolution server C runs on the network communication line of operator 2, it can continue to work effectively after the switch, and there will be no problem that all DNS resolution servers are unavailable due to a failure of one network communication line, thereby ensuring the high availability of the DNS resolution server and minimizing the impact of abnormal conditions on Internet transactions caused by DNS resolution servers. Alternatively, if the network communication line on operator 2 fails, DNS resolution server C and DNS resolution server D will be unavailable. At this time, the system layer will trigger the server used for domain name resolution to switch from DNS resolution server C located on the network communication line of operator 2 to DNS resolution server A located on the network communication line of operator 1. At this time, since the main DNS resolution server A runs on the network communication line of operator 1, it can continue to work effectively after the switch, and there will be no problem of a network communication line failure causing all DNS resolution servers to be unavailable, thereby ensuring the high availability of the DNS resolution server, thereby minimizing the impact of abnormal situations in the DNS resolution server on Internet transactions.

[0065] It should be noted that the above Figure 1 The system architecture shown is only an example and is not limited to this embodiment of the present invention.

[0066] Based on the above description, Figure 2 The process of a domain name resolution server switching method provided by an embodiment of the present invention is exemplarily shown, and the process can be executed by a domain name resolution server switching device.

[0067] like Figure 2 As shown in the figure, the process specifically includes:

[0068] Step 201: The transaction backend detects the first primary domain name resolution server through a domain name resolution detection program to determine whether the first primary domain name resolution server is in a normal working state.

[0069] In the embodiment of the present invention, the transaction backend is used to process the transaction request of any client forwarded by any transaction frontend; the transaction frontend is used to receive the transaction request sent by any client. For example, a user sends a transaction request to a transaction frontend through a client, and the transaction frontend forwards the transaction request sent by the user through the client to the transaction backend for processing. That is, the transaction backend can correspond to multiple transaction frontends, and each transaction frontend can also correspond to multiple clients. The transaction request initiated by any user through the client will be transmitted to the transaction backend for processing. Among them, the domain name resolution detection program is configured in the transaction backend, and the transaction backend can detect the currently used first primary domain name resolution server through the domain name resolution detection program to determine whether the first primary domain name resolution server is in normal working state. In addition, considering the false alarm situation that may be caused by the failure of the same domain name, that is, if multiple domain name resolution requests for the same domain name are generated, then if the host corresponding to the domain name is abnormal (such as downtime or network interruption, etc.), it is impossible to accurately determine what the actual working state of the first primary domain name resolution server is. Therefore, the technical solution in the embodiment of the present invention determines the actual working state of the first primary domain name resolution server by generating domain name resolution requests for multiple different domain names. Specifically, the transaction backend generates m different domain name resolution requests through the domain name resolution detection program, and sends the m different domain name resolution requests to the first primary domain name resolution server through the main network communication line, so as to determine the actual working state of the first primary domain name resolution server through the response status of the first primary domain name resolution server to the m different domain name resolution requests, that is, to determine whether the first primary domain name resolution server is in a normal working state. If the domain name resolution detection program determines that the response status is that the number of domain name resolution responses received is greater than or equal to the set number threshold, then it is determined that the first primary domain name resolution server is in a normal working state; if the domain name resolution detection program determines that the response status is that the number of domain name resolution responses received is less than the set number threshold, then it is determined that the first primary domain name resolution server is in an abnormal working state.

[0070] Among them, when generating m different domain name resolution requests, the transaction backend calls the parameter configuration file through the domain name resolution detection program to generate m different domain name resolution requests. Among them, the parameter configuration file is used to set the m different domain names with the largest transaction volume and the most frequent access. It should be noted that the selection of setting the m different domain names with the largest transaction volume and the most frequent access is because the transaction users most frequently access the transaction requests through the m different domain names, that is, the m different domain names with the highest transaction activity. Then, by generating a domain name resolution request initiated to the DNS resolution server for domain name resolution based on the m different domain names, it is possible to more timely and accurately determine whether the working status of the DNS resolution server for domain name resolution is normal. In this way, by setting a parameter configuration file independent of the domain name resolution detection program, the scheme can help to timely follow up and update the domain name or other parameter information in the parameter configuration file when the business flow and business rules change, so that it is convenient for the domain name resolution program to call the updated parameter configuration file in time, thereby realizing periodic real-time detection of the domain name resolution server for domain name resolution. In addition, the response time set for the domain name resolution request is shorter than the transaction processing time of the transaction request. This is so that when the domain name resolution server used for domain name resolution fails, the domain name resolution detection program can detect the failure of the domain name resolution server before the transaction application, and can automatically switch the domain name resolution server before the transaction application is aware of the failure of the domain name resolution server, thereby effectively avoiding affecting the transaction application's processing of Internet transactions.

[0071] For example, the embodiment of the present invention uses an independently developed DNS resolution detection program to simulate the actual situation of actual Internet transactions and DNS resolution server interactions to the maximum extent, so that when an abnormality is detected in the DNS resolution server used for domain name resolution, the domain name resolution server can be automatically switched. Figure 3 , Figure 3 A flowchart of detecting the working status of a DNS resolution server provided by an embodiment of the present invention. Herein, three different domain names are used as examples for description, and the three different domain names are the domain names with the largest actual transaction volume and the most frequent access. Figure 3 ,The specific implementation process of detecting the working status of the DNS resolution server is:

[0072] Step a: The transaction backend generates domain name resolution requests for three different domain names through a DNS resolution detection program, and simultaneously sends the domain name resolution requests for the three different domain names to the DNS resolution server currently used for domain name resolution.

[0073] Among them, the transaction backend will interact with the DNS resolution server currently used for domain name resolution three times through the network communication line of a certain operator to which the DNS resolution server currently used for domain name resolution belongs. Each interaction sends domain name resolution requests for three different domain names at the same time, which is equivalent to sending the domain name resolution request for each domain name three times.

[0074] Step b: The transaction backend uses a DNS resolution detection program to determine whether responses to at least two of the three domain name resolution requests are received normally.

[0075] Among them, for each interaction, the transaction backend determines whether the domain name resolution requests of the three different domain names sent this time can normally receive responses to at least two domain name resolution requests. If yes, the transaction backend can confirm that the working status of the DNS resolution server currently used for domain name resolution is normal, and clear the counter at the same time. If not, the transaction backend can confirm that the working status of the DNS resolution server currently used for domain name resolution is abnormal, and the counter is increased by 1.

[0076] Step c: The transaction backend uses the DNS resolution detection program to detect that the response is not received normally (that is, only one domain name resolution request response is received normally or no domain name resolution request response is received), then the counter is incremented by 1; if it is determined that at least two of the domain name resolution requests for three different domain names are received normally, then the counter is cleared.

[0077] Step d: The transaction backend determines whether the accumulated value of the counter is greater than or equal to 3 through the DNS resolution detection program. If yes, the transaction backend automatically switches the DNS resolution server through the DNS resolution detection program; if not, the counter is cleared.

[0078] Among them, the product of the timeout time and the counter number is the total detection timeout time, but the total detection timeout time is slightly shorter than the timeout parameter time set by the actual trading application. Among them, the timeout time refers to a time threshold (such as 2 minutes) configured by the server (such as the trading backend or trading application), and the server only processes requests whose time difference with the server is within the configured time range. In this way, if the DNS resolution server used for domain name resolution fails, the DNS resolution detection program will detect the failure of the domain name resolution server before the trading application, and can automatically switch the domain name resolution server before the trading application perceives the failure of the domain name resolution server, thereby effectively avoiding affecting the trading application in processing Internet transactions. In this way, the switching of the DNS resolution server in this solution is completely independent of the high availability of the network layer, and is not affected by the network communication lines and operator failures at the network layer. As long as the detection result meets the switching conditions of the DNS resolution server, the switching of the DNS resolution server can be executed immediately.

[0079] Compared with the existing technical solutions, if the network communication line of a certain operator (such as operator 1) fails, all the DNS resolution servers (such as DNS resolution server A and DNS resolution server B) configured on the network communication line of operator 1 are unavailable, because it is impossible to respond quickly and recover after the DNS failure, so Internet transactions will be immediately affected. However, according to the technical solution in the embodiment of the present invention, if the network communication line of a certain operator (such as operator 1) fails, all the DNS resolution servers (such as DNS resolution server A and DNS resolution server B) configured on the network communication line of operator 1 are unavailable, but the DNS resolution detection program will detect the failure of the domain name resolution server before the transaction application program, so the DNS resolution detection program will immediately switch the current DNS resolution server located on the network communication line of operator 1 to the primary DNS resolution server (such as DNS resolution server C or DNS resolution server D) located on the network communication line of operator 2, so that it can effectively ensure that Internet transactions are not affected. In addition, in the prior art solution, when the DNS resolution is unstable, since only the latency is high, the DNS resolution can still be completed within the timeout period, and the transaction application often has high latency requirements, even if the transaction application reports an error, the DNS resolution server currently in use will not be switched, thereby affecting Internet transactions. However, for the technical solution in the embodiment of the present invention, since the DNS resolution detection program will detect the DNS resolution instability before the transaction application reports an error, the DNS resolution server currently in use will be automatically switched before the transaction application reports an error. For example, taking the above-mentioned operator 1 and operator 2 as an example, the DNS resolution server A located on the network communication line of operator 1 is currently used. When the DNS resolution detection program detects that the resolution of DNS resolution server A is unstable, it will automatically switch the server used for domain name resolution from DNS resolution server A to DNS resolution server C (or DNS resolution server D) located on the network communication line of operator 1, thereby effectively ensuring the high availability of the domain name resolution server, thereby effectively ensuring that Internet transactions are not affected.

[0080] Step 202: If the transaction backend determines that the first primary domain name resolution server is in an abnormal working state, the domain name resolution server used for domain name resolution is switched from the first primary domain name resolution server to the second primary domain name resolution server, and the domain name resolution request generated by the transaction backend is sent to the second primary domain name resolution server.

[0081] Step 203: the transaction backend establishes a communication connection with the transaction frontend corresponding to the network protocol IP address corresponding to the domain name resolution request obtained through resolution by the second primary domain name resolution server.

[0082] In an embodiment of the present invention, the first primary domain name resolution server is located on the main network communication line belonging to the first operator; the second primary domain name resolution server is located on the backup network communication line belonging to the second operator; the first operator and the second operator are two different operators; the main network communication line belonging to the first operator is also equipped with a first backup domain name resolution server; the backup network communication line belonging to the second operator is also equipped with a second backup domain name resolution server. For example, the first operator is a telecommunications operator, and the second operator is a mobile operator. Specifically, if the transaction backend determines that the first primary domain name resolution server is in an abnormal working state, the domain name resolution server used for domain name resolution is switched from the first primary domain name resolution server to the second primary domain name resolution server, and the domain name resolution request generated by the transaction backend is sent to the second primary domain name resolution server, and the second primary domain name resolution server performs corresponding domain name resolution processing on the domain name resolution request, that is, resolves the domain name in the domain name resolution request to obtain the IP address corresponding to the domain name. For example, after automatically switching the first primary domain name resolution server to the second primary domain name resolution server, the transaction backend may resend the domain name resolution request that has been previously sent to the first primary domain name resolution server and has not yet received the domain name resolution result to the second primary domain name resolution server for resolution processing, so as to obtain the IP address corresponding to the domain name in the domain name resolution request, or the domain name resolution request newly generated by the transaction backend may be sent to the second primary domain name resolution server for resolution processing, so as to obtain the IP address corresponding to the domain name in the new domain name resolution request. Then, the transaction backend may establish a communication connection with the transaction frontend corresponding to the IP address through the IP address corresponding to the domain name in the domain name resolution request obtained by the second primary domain name resolution server, that is, the transaction backend establishes the communication link required for data transmission with the transaction frontend corresponding to the IP address through the IP address, thereby realizing data transmission between the transaction backend and the transaction frontend on the communication link.

[0083] In addition, in addition to directly switching the network communication line to ensure that Internet transactions are not affected by the abnormality of the domain name resolution server used for domain name resolution when the domain name resolution detection program detects that the first primary domain name resolution server used for domain name resolution is in an abnormal working state, there can also be another processing method, that is, when the transaction backend determines through the domain name resolution detection program that the first primary domain name resolution server used for domain name resolution is in an abnormal working state, and determines that the first backup domain name resolution server that belongs to the same operator as the first primary domain name resolution server and is located on the same main network communication line is in a normal working state, the domain name resolution server used for domain name resolution can be switched from the first primary domain name resolution server to the first backup domain name resolution server, thereby ensuring that the transaction backend can promptly process the domain name resolution request generated by the transaction backend through the first backup domain name resolution server, thereby effectively ensuring that Internet transactions can be processed in a timely and normal manner. Alternatively, when the transaction backend determines through a domain name resolution detection program that the second primary domain name resolution server used for domain name resolution is in an abnormal working state, and determines that the second backup domain name resolution server that belongs to the same operator as the second primary domain name resolution server and is located on the same backup network communication line is in a normal working state, the domain name resolution server used for domain name resolution can be switched from the second primary domain name resolution server to the second backup domain name resolution server, thereby ensuring that the transaction backend can promptly process the domain name resolution request generated by the transaction backend through the second backup domain name resolution server, thereby effectively ensuring that Internet transactions can be processed in a timely and normal manner.

[0084] The above embodiments show that, since multiple DNS resolution servers configured at the system layer in the existing solution are all configured on the same operator communication line, multiple DNS resolution servers will be unavailable after a failure of the operator communication line. In addition, when the quality of the network layer communication line is poor, there will be a certain bit error rate but it has not reached the alarm threshold, so the network layer communication line will not automatically switch. At this time, the network layer does not know that the DNS resolution server's resolution of the domain name resolution request has been affected. Therefore, these two existing processing methods cannot achieve rapid response and recovery after a DNS failure, which will affect Internet transactions and cause certain losses to users. Based on this, the technical solution in the present invention configures multiple domain name resolution servers on network communication lines of different operators respectively, and when a domain name resolution detection program detects that a domain name resolution server on a network communication line belonging to a certain operator is in an abnormal working state, the domain name resolution server used for domain name resolution is promptly switched from the domain name resolution server to a domain name resolution server on a network communication line belonging to another operator. In this way, it can be avoided that multiple domain name resolution servers are configured on the network communication line of the same operator, and a failure occurs in the network communication line of the same operator, resulting in multiple domain name resolution servers being unavailable, thereby effectively ensuring that Internet transactions can be processed in a timely and normal manner, and can effectively improve the high availability of domain name resolution servers. Specifically, the transaction backend detects the first primary domain name resolution server located on the main network communication line belonging to the first operator (i.e., the primary operator) through a domain name resolution detection program to determine whether the first primary domain name resolution server is in a normal working state. If it is determined that the first primary domain name resolution server is in an abnormal working state, the domain name resolution server used for domain name resolution can be switched from the first primary domain name resolution server to the second primary domain name resolution server located on the backup network communication line belonging to the second operator (i.e., the backup operator), so that the domain name resolution request generated by the transaction backend is sent to the second primary domain name resolution server, thereby realizing the autonomous switching of the domain name resolution server, thereby effectively ensuring that Internet transactions are not affected by the abnormality of the domain name resolution server. Then, the IP address corresponding to the domain name resolution request generated by the transaction backend obtained by the resolution of the second primary domain name resolution server can establish a communication connection with the transaction front end corresponding to the IP address in a timely manner.In this way, the solution can automatically switch the first primary domain name resolution server to the second primary domain name resolution server when the domain name resolution detection program detects that the first primary domain name resolution server currently used for domain name resolution is in an abnormal working state, so that the transaction backend can promptly process the domain name resolution request generated by the transaction backend through the second primary domain name resolution server, thereby effectively ensuring that Internet transactions can be processed in a timely and normal manner without being affected by the abnormality of the domain name resolution server used for domain name resolution, and can effectively improve the high availability of the domain name resolution server.

[0085] Based on the same technical concept, Figure 4 A domain name resolution server switching device provided by an embodiment of the present invention is exemplarily shown, and the device can execute the process of the domain name resolution server switching method.

[0086] like Figure 4 As shown, the device comprises:

[0087] The detection unit 401 is used to detect the first primary domain name resolution server through a domain name resolution detection program to determine whether the first primary domain name resolution server is in a normal working state;

[0088] Processing unit 402 is used to switch the domain name resolution server used for domain name resolution from the first primary domain name resolution server to the second primary domain name resolution server if it is determined that the first primary domain name resolution server is in an abnormal working state, and send the domain name resolution request generated by the transaction backend to the second primary domain name resolution server; the first primary domain name resolution server is located on a main network communication line belonging to a first operator; the second primary domain name resolution server is located on a backup network communication line belonging to a second operator; the first operator and the second operator are two different operators; the network protocol IP address corresponding to the domain name resolution request obtained by resolving the second primary domain name resolution server is connected to a transaction front end corresponding to the IP address; the transaction front end is used to receive a transaction request sent by any client; the transaction back end is used to process a transaction request of any client forwarded by any transaction front end.

[0089] Optionally, the primary network communication line is further configured with a first standby domain name resolution server;

[0090] The processing unit 402 is further configured to:

[0091] Through the domain name resolution detection program, if it is determined that the first primary domain name resolution server is in an abnormal working state and the first backup domain name resolution server is in a normal working state, the domain name resolution server used for domain name resolution is switched from the first primary domain name resolution server to the first backup domain name resolution server.

[0092] Optionally, the detection unit 401 is specifically used for:

[0093] Generate m different domain name resolution requests through the domain name resolution detection program;

[0094] Sending the m different domain name resolution requests to the first primary domain name resolution server through the primary network communication line;

[0095] According to the response status of the first primary domain name resolution server to the m different domain name resolution requests, it is determined whether the first primary domain name resolution server is in a normal working state.

[0096] Optionally, the detection unit 401 is specifically used for:

[0097] When it is determined by the domain name resolution detection program that the response status is that the number of received domain name resolution responses is greater than or equal to a set number threshold, determining that the first primary domain name resolution server is in a normal working state;

[0098] When the domain name resolution detection program determines that the response status is that the number of received domain name resolution responses is less than the set number threshold, it is determined that the first primary domain name resolution server is in an abnormal working state.

[0099] Optionally, the detection unit 401 is specifically used for:

[0100] The domain name resolution detection program is used to call a parameter configuration file to generate the m different domain name resolution requests; the parameter configuration file is used to set the m different domain names with the largest transaction volume and the most frequent access.

[0101] Optionally, the response time set for the domain name resolution request is less than the transaction processing time of the transaction request.

[0102] The processing unit 402 is further configured to:

[0103] Determining a domain name resolution request that has been sent to the first primary domain name resolution server and for which a domain name resolution result has not yet been received;

[0104] The domain name resolution request is sent to the second primary domain name resolution server.

[0105] Based on the same technical concept, the embodiment of the present invention also provides a computing device, such as Figure 5 As shown, it includes at least one processor 501 and a memory 502 connected to the at least one processor. The specific connection medium between the processor 501 and the memory 502 is not limited in the embodiment of the present invention. Figure 5For example, the processor 501 and the memory 502 are connected via a bus. The bus can be divided into an address bus, a data bus, a control bus, etc.

[0106] In the embodiment of the present invention, the memory 502 stores instructions that can be executed by at least one processor 501. The at least one processor 501 can execute the steps included in the aforementioned domain name resolution server switching method by executing the instructions stored in the memory 502.

[0107] Among them, the processor 501 is the control center of the computing device, and can use various interfaces and lines to connect various parts of the computing device, and realize data processing by running or executing instructions stored in the memory 502 and calling data stored in the memory 502. Optionally, the processor 501 may include one or more processing units, and the processor 501 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes the issuance of instructions. It is understandable that the above-mentioned modem processor may not be integrated into the processor 501. In some embodiments, the processor 501 and the memory 502 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on independent chips.

[0108] The processor 501 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the domain name resolution server switching method may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.

[0109] The memory 502 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 502 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 502 is any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 502 in the embodiment of the present invention can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0110] Based on the same technical concept, an embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program executable by a computing device. When the program runs on the computing device, the computing device executes the steps of the above-mentioned domain name resolution server switching method.

[0111] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0112] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0113] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0114] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0115] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0116] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of this application and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for switching a domain name resolution server, characterized in that: include: The transaction backend detects the first primary domain name resolution server through a domain name resolution detection program to determine whether the first primary domain name resolution server is in a normal working state; The transaction backend is configured with the domain name resolution detection program; the domain name resolution detection program determines the actual working status of the first primary domain name resolution server by generating domain name resolution requests for multiple different domain names; If the transaction backend determines that the first primary domain name resolution server is in an abnormal working state, the domain name resolution server used for domain name resolution is switched from the first primary domain name resolution server to the second primary domain name resolution server, and the domain name resolution request generated by the transaction backend is sent to the second primary domain name resolution server; the first primary domain name resolution server is located on the primary network communication line belonging to the first operator; The second primary domain name resolution server is located on a backup network communication line belonging to a second operator; the first operator and the second operator are two different operators; The transaction backend uses the network protocol IP address corresponding to the domain name resolution request obtained by resolving the second primary domain name resolution server to establish a communication connection with the transaction frontend corresponding to the IP address; the transaction frontend is used to receive a transaction request sent by any client; the transaction backend is used to process a transaction request of any client forwarded by any transaction frontend; wherein the response time set for the domain name resolution request is less than the transaction processing time of the transaction request; After determining whether the first primary domain name resolution server is in a normal working state, the method further includes: if it is determined that the first primary domain name resolution server is in a normal working state, clearing the counter of the domain name resolution detection program; if it is determined that the first primary domain name resolution server is not in a normal working state, adding 1 to the counter; If it is determined that the first primary domain name resolution server is in an abnormal working state, the domain name resolution server used for domain name resolution is switched from the first primary domain name resolution server to the second primary domain name resolution server, including: if it is determined that the first primary domain name resolution server is in an abnormal working state, and the accumulated value of the counter within the response time is greater than or equal to a set number of times, the domain name resolution server used for domain name resolution is switched from the first primary domain name resolution server to the second primary domain name resolution server; Wherein, determining whether the first primary domain name resolution server is in a normal working state includes: The transaction backend generates m different domain name resolution requests through the domain name resolution detection program; The transaction backend sends the m different domain name resolution requests to the first primary domain name resolution server through the primary network communication line; The transaction backend determines whether the first primary domain name resolution server is in a normal working state according to the response status of the first primary domain name resolution server to the m different domain name resolution requests; The transaction backend generates m different domain name resolution requests through a domain name resolution detection program, including: The transaction backend calls the parameter configuration file through the domain name resolution detection program to generate the m different domain name resolution requests; the parameter configuration file is used to set the m different domain names with the largest transaction volume and the most frequent access.

2. The method according to claim 1, characterized in that The primary network communication line is also configured with a first standby domain name resolution server; The method further comprises: The transaction backend uses the domain name resolution detection program to switch the domain name resolution server used for domain name resolution from the first primary domain name resolution server to the first backup domain name resolution server if it is determined that the first primary domain name resolution server is in an abnormal working state and the first backup domain name resolution server is in a normal working state.

3. The method according to claim 1, characterized in that The transaction backend determines whether the first primary domain name resolution server is in a normal working state according to the response status of the first primary domain name resolution server to the m different domain name resolution requests, including: The transaction backend determines, through the domain name resolution detection program, that the response status is that the number of received domain name resolution responses is greater than or equal to a set number threshold, that the first primary domain name resolution server is in a normal working state; The transaction backend determines that the first primary domain name resolution server is in an abnormal working state when determining through the domain name resolution detection program that the response status is that the number of received domain name resolution responses is less than the set number threshold.

4. The method according to any one of claims 1 to 3, characterized in that Sending the domain name resolution request generated by the transaction backend to the second primary domain name resolution server includes: The transaction backend determines a domain name resolution request that has been sent to the first primary domain name resolution server and has not yet received a domain name resolution result; The transaction backend sends the domain name resolution request to the second primary domain name resolution server.

5. A domain name resolution server switching device, characterized in that: include: A detection unit, configured to detect the first primary domain name resolution server through a domain name resolution detection program to determine whether the first primary domain name resolution server is in a normal working state; The transaction backend is configured with the domain name resolution detection program; the domain name resolution detection program determines the actual working status of the first primary domain name resolution server by generating domain name resolution requests for multiple different domain names; a processing unit, configured to switch a domain name resolution server used for domain name resolution from the first primary domain name resolution server to a second primary domain name resolution server if it is determined that the first primary domain name resolution server is in an abnormal working state, and send a domain name resolution request generated by the transaction backend to the second primary domain name resolution server; the first primary domain name resolution server is located on a primary network communication line belonging to a first operator; The second primary domain name resolution server is located on a backup network communication line belonging to a second operator; the first operator and the second operator are two different operators; The network protocol IP address corresponding to the domain name resolution request obtained by resolving the second primary domain name resolution server is used to establish a communication connection with the transaction front end corresponding to the IP address; the transaction front end is used to receive a transaction request sent by any client; the transaction back end is used to process a transaction request of any client forwarded by any transaction front end; wherein the response time set for the domain name resolution request is less than the transaction processing time of the transaction request; After determining whether the first primary domain name resolution server is in a normal working state, the method further includes: if it is determined that the first primary domain name resolution server is in a normal working state, clearing the counter of the domain name resolution detection program; if it is determined that the first primary domain name resolution server is not in a normal working state, adding 1 to the counter; If it is determined that the first primary domain name resolution server is in an abnormal working state, the domain name resolution server used for domain name resolution is switched from the first primary domain name resolution server to the second primary domain name resolution server, including: if it is determined that the first primary domain name resolution server is in an abnormal working state, and the accumulated value of the counter within the response time is greater than or equal to a set number of times, the domain name resolution server used for domain name resolution is switched from the first primary domain name resolution server to the second primary domain name resolution server; Wherein, determining whether the first primary domain name resolution server is in a normal working state includes: The transaction backend generates m different domain name resolution requests through the domain name resolution detection program; The transaction backend sends the m different domain name resolution requests to the first primary domain name resolution server through the primary network communication line; The transaction backend determines whether the first primary domain name resolution server is in a normal working state according to the response status of the first primary domain name resolution server to the m different domain name resolution requests; The transaction backend generates m different domain name resolution requests through a domain name resolution detection program, including: The transaction backend calls the parameter configuration file through the domain name resolution detection program to generate the m different domain name resolution requests; the parameter configuration file is used to set the m different domain names with the largest transaction volume and the most frequent access.

6. A computing device, characterized in that The invention comprises at least one processor and at least one memory, wherein the memory stores a computer program, and when the program is executed by the processor, the processor executes the method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: It stores a computer program executable by a computing device, and when the program is run on the computing device, the computing device executes the method according to any one of claims 1 to 4.