Method and device for realizing disaster recovery switching of self-service financial equipment based on DNS (Domain Name Server)
Through DNS server detection and asynchronous two-way synchronization technology, self-service financial equipment can complete the switching without manual intervention during disaster recovery switching, solving the problem of manual modification of backend address changes in the existing technology, and improving the timeliness and efficiency of the switching.
Patent Information
- Application Number
- CN202411318759.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-20
- Publication Date
- 2024-12-20
AI Technical Summary
In the prior art, self-service financial equipment only supports backend service IP addresses, which causes changes in backend address to require manual modification on the device, which consumes a lot of manpower and cannot guarantee timeliness.
Using DNS-based methods, the data center detection information is detected through the DNS server, determine whether to start the disaster recovery switch, and generate the corresponding IP address, and use asynchronous two-way synchronization to synchronize data. Self-service financial equipment can complete the disaster recovery without changing the configuration. Switch.
It realizes the automated processing of self-service financial equipment during disaster recovery switching, reduces manual intervention, and improves the timeliness and efficiency of switching.
Smart Images

Figure CN119166423A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of disaster recovery switching of self-service financial equipment, and in particular to a method, device, computer-readable storage medium and electronic device for implementing disaster recovery switching of self-service financial equipment based on DNS. Background Art
[0002] Disaster recovery switching is to switch the source end business to the backup end data center after a disaster occurs, so as to ensure business continuity. The main problem faced by disaster recovery switching is to minimize RTO while ensuring RPO.
[0003] The existing technology of financial self-service devices with unmanned control programs only supports background service IP addresses. When the background address changes, it can only be modified manually on the device. Since the number of financial self-service devices with unmanned control programs is large and most of them are distributed in remote suburbs, it not only consumes a lot of manpower but also cannot guarantee timeliness. Summary of the invention
[0004] The main purpose of the present application is to provide a method, device, computer-readable storage medium and electronic device for implementing disaster recovery switching of self-service financial equipment based on DNS, so as to at least solve the problem that the existing self-service financial equipment only supports the background service IP address, resulting in changes in the background address can only be modified manually on the device, which requires a lot of manpower and cannot guarantee timeliness.
[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for realizing disaster recovery switching of self-service financial equipment based on DNS is provided. The disaster recovery switching system includes a first data center, a second data center, a first group of self-service financial equipment corresponding to the first data center, and a second group of self-service financial equipment corresponding to the second data center. The first data center includes a first DNS server, and the second data center includes a second DNS server, including: the first DNS server detects detection information of the first data center, and determines whether the first group of self-service financial equipment corresponding to the first data center starts disaster recovery switching according to the detection information; the first DNS server resolves the domain name of the first data center when determining that the first group of self-service financial equipment corresponding to the first data center starts disaster recovery switching, and generates an IP address of the second data center, wherein the first data center and the second data center use an asynchronous two-way synchronization method to synchronize data, and the domain names of the first data center and the second data center are the same; the first DNS server sends the IP address to the DNS service of the first group of self-service financial equipment, so that the first group of self-service financial equipment connects to the second DNS server of the second data center through the DNS service of the first group of self-service financial equipment according to the IP address, so that the first group of self-service financial equipment interacts with the second data center through the reverse proxy service of the first group of self-service financial equipment.
[0006] Optionally, before determining whether the first group of self-service financial devices corresponding to the first data center has started disaster recovery switching based on the detection information, the method also includes: when the first group of self-service financial devices is turned on, the first DNS server receives a domain name access request message sent by the DNS service of the first group of self-service financial devices.
[0007] Optionally, after the first DNS server receives the domain name access request message sent by the DNS service of the first group of self-service financial devices, the method also includes: when the first DNS server successfully receives the domain name access request message sent by the DNS service of the first group of self-service financial devices, according to the pre-set mapping relationship between the addresses of the first group of self-service financial devices and the application service domain name addresses of the first data center, configuring the reverse proxy service of the first group of self-service financial devices to complete the domain name access of the first group of self-service financial devices to the first data center, so that the first group of self-service financial devices can interact with the first data center through the reverse proxy service.
[0008] Optionally, after the first DNS server receives the domain name access request message sent by the DNS service of the first group of self-service financial devices, the method also includes: when the first DNS server fails to receive the domain name access request message sent by the DNS service of the first group of self-service financial devices, according to the pre-set mapping relationship between the addresses of the first group of self-service financial devices and the application service IP addresses of the first data center, configuring the reverse proxy service of the first group of self-service financial devices to complete the IP access of the first group of self-service financial devices to the first data center, so that the first group of self-service financial devices can interact with the first data center through the reverse proxy service.
[0009] Optionally, the first group of self-service financial devices and the second group of self-service financial devices include ATM self-service devices, CRS self-service devices, and STM self-service devices, and the device ports supported by the reverse proxy service include online 8583 port, tuxedo port, monitoring end status upload port, monitoring end parameter download port, and management end restart notification port.
[0010] According to another aspect of the present application, a method for implementing disaster recovery switching of self-service financial equipment based on DNS is provided, wherein the disaster recovery switching system includes a first data center, a second data center, a first group of self-service financial equipment corresponding to the first data center, and a second group of self-service financial equipment corresponding to the second data center, wherein the first data center includes a first DNS server, and the second data center includes a second DNS server, including: the first DNS server detects detection information of the first data center, and determines whether the first group of self-service financial equipment corresponding to the first data center starts disaster recovery switching according to the detection information; the first DNS server resolves the domain name of the first data center when determining that the first group of self-service financial equipment corresponding to the first data center starts disaster recovery switching, and generates an IP address of the second data center, wherein the first data center and the second data center synchronize data using an asynchronous two-way synchronization method, and the domain names of the first data center and the second data center are the same; the first DNS server sends the IP address to the DNS service of the first group of self-service financial equipment; the first group of self-service financial equipment connects to the second DNS server of the second data center through the DNS service of the first group of self-service financial equipment according to the IP address.
[0011] Optionally, after the first group of self-service financial devices connects to the second DNS server of the second data center through the DNS service of the first group of self-service financial devices according to the IP address, the second DNS server configures the network policy of the first group of self-service financial devices and sends the network policy to the load balancer of the second data center.
[0012] According to another aspect of the present application, there is provided an apparatus for implementing disaster recovery switching of self-service financial equipment based on DNS. The disaster recovery switching system includes a first data center, a second data center, a first group of self-service financial equipment corresponding to the first data center, and a second group of self-service financial equipment corresponding to the second data center. The first data center includes a first DNS server, and the second data center includes a second DNS server. The apparatus includes: a detection unit, used by the first DNS server to detect detection information of the first data center, and determine whether the first group of self-service financial equipment corresponding to the first data center starts disaster recovery switching according to the detection information; a resolution unit, used by the first DNS server to resolve the domain name of the first data center and generate an IP address of the second data center when determining that the first group of self-service financial equipment corresponding to the first data center starts disaster recovery switching, wherein the first data center and the second data center use an asynchronous two-way synchronization method to synchronize data, and the domain names of the first data center and the second data center are the same; a connection unit, used by the first DNS server to send the IP address to the DNS service of the first group of self-service financial equipment, so that the first group of self-service financial equipment is connected to the second DNS server of the second data center through the DNS service of the first group of self-service financial equipment according to the IP address, so that the first group of self-service financial equipment interacts with the second data center through the reverse proxy service of the first group of self-service financial equipment.
[0013] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods for implementing disaster recovery switching of self-service financial equipment based on DNS.
[0014] According to another aspect of the present application, an electronic device is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the methods for implementing self-service financial equipment disaster recovery switching based on DNS.
[0015] According to the technical solution of the present application, the first DNS server detects the detection information of the first data center, and determines whether the first group of self-service financial devices corresponding to the first data center starts the disaster recovery switch according to the detection information; when the first DNS server determines that the first group of self-service financial devices corresponding to the first data center starts the disaster recovery switch, the domain name of the first data center is resolved to generate the IP address of the second data center, wherein the first data center and the second data center use an asynchronous two-way synchronization method to synchronize data, and the domain names of the first data center and the second data center are the same; the first DNS server sends the IP address to the DNS service of the first group of self-service financial devices, so that the first group of self-service financial devices connect to the second DNS server of the second data center through the DNS service of the first group of self-service financial devices according to the IP address, so that the first group of self-service financial devices interact with the second data center through the reverse proxy service of the first group of self-service financial devices. By using DNS and reverse proxy technology, the network is detected in real time, and when disaster recovery switching is required, the financial self-service device can directly complete the switching through the background processing without changing the configuration, which solves the problem that the existing self-service financial device only supports the background service IP address, resulting in the background address change can only be manually modified on the device, which requires a lot of manpower and cannot guarantee timeliness. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0017] Figure 1 A hardware structure block diagram of a mobile terminal for executing a method for implementing disaster recovery switching of a self-service financial device based on DNS provided in an embodiment of the present application is shown;
[0018] Figure 2 A flowchart of a method for implementing disaster recovery switching of self-service financial equipment based on DNS according to an embodiment of the present application is shown;
[0019] Figure 3 A structural diagram of a method for implementing disaster recovery switching of self-service financial equipment based on DNS according to an embodiment of the present application is shown;
[0020] Figure 4 A structural block diagram of a device for implementing disaster recovery switching of self-service financial equipment based on DNS is shown according to an embodiment of the present application. DETAILED DESCRIPTION
[0021] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0022] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:
[0025] ATMC (ATM Control): An application system running on self-service devices to control the program flow, user interface and hardware module actions of self-service devices. It includes self-service terminal software, cash cross-platform software, etc.
[0026] DNS: The English abbreviation of Domain Name System, Chinese: Domain Name System; it is a service of the Internet; as a distributed database that maps domain names and IP addresses to each other, it enables people to access the Internet more conveniently.
[0027] Disaster recovery switching: After a disaster occurs, the source end business is switched to the backup end data center to ensure business continuity. The main problem faced by disaster recovery switching is to minimize RTO while ensuring RPO. Yingfang's disaster recovery software can achieve automatic switching of post-disaster business in seconds and achieve high availability of business.
[0028] As introduced in the background technology, the prior art self-service financial equipment only supports backend service IP addresses, resulting in changes in the backend address only through manual modification on the equipment, which requires a lot of manpower and cannot guarantee timeliness. In order to solve the problem that the prior art self-service financial equipment only supports backend service IP addresses, resulting in changes in the backend address only through manual modification on the equipment, which requires a lot of manpower and cannot guarantee timeliness, the embodiments of the present application provide a method, device, computer-readable storage medium and electronic device for implementing disaster recovery switching of self-service financial equipment based on DNS.
[0029] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0030] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 1 is a hardware structure block diagram of a mobile terminal of a method for implementing disaster recovery switching of self-service financial equipment based on DNS in an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0031] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the method for realizing disaster recovery switching of self-service financial equipment based on DNS in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of the above network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0032] In this embodiment, a method for implementing self-service financial equipment disaster recovery switching based on DNS and running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0033] Figure 2 The present invention is a flowchart of a method for implementing disaster recovery switching of self-service financial devices based on DNS according to an embodiment of the present application. The disaster recovery switching system includes a first data center, a second data center, a first group of self-service financial devices corresponding to the first data center, and a second group of self-service financial devices corresponding to the second data center. The first data center includes a first DNS server, and the second data center includes a second DNS server. Figure 2 As shown, the method comprises the following steps:
[0034] Step S201, the first DNS server detects detection information of the first data center, and determines whether a first group of self-service financial devices corresponding to the first data center starts disaster recovery switching according to the detection information;
[0035] Specifically, the first DNS server detects the application service of the first data center through a port to determine whether to start disaster recovery switching for the first group of self-service financial devices corresponding to the first data center.
[0036] Step S202: When determining that the first group of self-service financial devices corresponding to the first data center initiates disaster recovery switching, the first DNS server resolves the domain name of the first data center and generates an IP address of the second data center, wherein the first data center and the second data center synchronize data in an asynchronous bidirectional synchronization manner, and the domain names of the first data center and the second data center are the same;
[0037] Among them, asynchronous two-way synchronization is a data synchronization method, in which the data synchronization between two data centers is bidirectional, but the synchronization process is asynchronous, that is, the transmission and update of data do not occur at the same time. This synchronization method can ensure the consistency of data between the two systems, while reducing the dependency and delay between systems. This method can improve the performance and reliability of the system, while reducing the cost and complexity of data synchronization. The domain names of the data centers of the same disaster recovery switching system are the same.
[0038] In step S203, the first DNS server sends the IP address to the DNS service of the first group of self-service financial devices, so that the first group of self-service financial devices connects to the second DNS server of the second data center through the DNS service of the first group of self-service financial devices according to the IP address, so that the first group of self-service financial devices interacts with the second data center through the reverse proxy service of the first group of self-service financial devices.
[0039] Specifically, when it is determined to start disaster recovery switching, the first DNS obtains the IP address of the second data center by resolving the domain name, and sends the IP address of the second data center to the first group of self-service financial devices through the DNS service. The first group of self-service financial devices establishes a connection with the second data center based on the IP address of the second data center, and conducts online transactions, management and monitoring of transactions, and other data interactions with the second data center through the reverse proxy service of the first group of self-service financial devices.
[0040] Through this embodiment, the first DNS server detects the detection information of the first data center, and determines whether the first group of self-service financial devices corresponding to the first data center starts the disaster recovery switch according to the detection information; the first DNS server resolves the domain name of the first data center and generates the IP address of the second data center when determining that the first group of self-service financial devices corresponding to the first data center starts the disaster recovery switch, wherein the first data center and the second data center use an asynchronous two-way synchronization method to synchronize data, and the domain names of the first data center and the second data center are the same; the first DNS server sends the IP address to the DNS service of the first group of self-service financial devices, so that the first group of self-service financial devices connects to the second DNS server of the second data center through the DNS service of the first group of self-service financial devices according to the IP address, so that the first group of self-service financial devices interacts with the second data center through the reverse proxy service of the first group of self-service financial devices. By using DNS and reverse proxy technology, the network is detected in real time, and when disaster recovery switching is required, the financial self-service device can directly complete the switching through the background processing without changing the configuration, which solves the problem that the existing self-service financial device only supports the background service IP address, resulting in the background address change can only be manually modified on the device, which requires a lot of manpower and cannot guarantee timeliness.
[0041] During the specific implementation process, the above-mentioned step S201 can be implemented through the following steps: before determining whether the first group of self-service financial devices corresponding to the first data center has started disaster recovery switching based on the detection information, the method also includes: when the first group of self-service financial devices is turned on, the first DNS server receives the domain name access request message sent by the DNS service of the first group of self-service financial devices.
[0042] This method directly sets the DNS primary and secondary server addresses of the connection when the data center IP is not in the list during the application startup process when the self-service financial device is turned on. The connection is made according to the DNS server address to avoid the situation where there is no DNS server IP in the list, resulting in the problem of being unable to connect.
[0043] Specifically, after the first DNS server receives the domain name access request message sent by the DNS service of the first group of self-service financial devices, the method also includes: when the first DNS server successfully receives the domain name access request message sent by the DNS service of the first group of self-service financial devices, according to the pre-set mapping relationship between the addresses of the first group of self-service financial devices and the application service domain name addresses of the first data center, the reverse proxy service of the first group of self-service financial devices is configured to complete the domain name access of the first group of self-service financial devices to the first data center, so that the first group of self-service financial devices can interact with the first data center through the reverse proxy service.
[0044] When it is determined that the domain name access request message is sent successfully, the method can establish a domain name connection with the first DNS server through the DNS service, and establish the domain name connection according to the mapping relationship between the pre-set addresses of the first group of self-service financial devices and the application service domain name addresses of the first data center.
[0045] More specifically, after the first DNS server receives the domain name access request message sent by the DNS service of the first group of self-service financial devices, the method also includes: when the first DNS server fails to receive the domain name access request message sent by the DNS service of the first group of self-service financial devices, the reverse proxy service of the first group of self-service financial devices is configured according to the pre-set mapping relationship between the addresses of the first group of self-service financial devices and the application service IP addresses of the first data center to complete the IP access of the first group of self-service financial devices to the first data center, so that the first group of self-service financial devices can interact with the first data center through the reverse proxy service.
[0046] When it is determined that the domain name access request message fails to be sent, the first group of self-service financial devices can establish an IP address connection with the first DNS server through the DNS service, and establish an IP address connection based on a pre-set mapping relationship between the addresses of the first group of self-service financial devices and the application service IP address of the first data center.
[0047] Furthermore, the first group of self-service financial devices and the second group of self-service financial devices include ATM self-service devices, CRS self-service devices, and STM self-service devices, and the device ports supported by the reverse proxy service include online port 8583, tuxedo port, monitoring end status upload port, monitoring end parameter download port, and management end restart notification port. The method can configure different domain names according to different ports of the reverse proxy service.
[0048] The embodiment of the present invention provides a method for realizing disaster recovery switching of self-service financial equipment based on DNS. The disaster recovery switching system includes a first data center, a second data center, a first group of self-service financial equipment corresponding to the first data center, and a second group of self-service financial equipment corresponding to the second data center. The first data center includes a first DNS server, and the second data center includes a second DNS server. The method includes: the first DNS server detects detection information of the first data center, and determines whether the first group of self-service financial equipment corresponding to the first data center starts disaster recovery switching according to the detection information; the first DNS server resolves the domain name of the first data center and generates an IP address of the second data center when determining that the first group of self-service financial equipment corresponding to the first data center starts disaster recovery switching, wherein the first data center and the second data center use an asynchronous two-way synchronization method to synchronize data, and the domain names of the first data center and the second data center are the same; the first DNS server sends the IP address to the DNS service of the first group of self-service financial equipment; the first group of self-service financial equipment connects to the second DNS server of the second data center through the DNS service of the first group of self-service financial equipment according to the IP address.
[0049] Through this embodiment, by using DNS and reverse proxy technology, the network is detected in real time. When disaster recovery switching is required, the financial self-service device can directly complete the switching through background processing without changing the configuration, which solves the problem that the existing self-service financial equipment only supports the background service IP address, resulting in changes in the background address can only be modified manually on the device, which requires a lot of manpower and cannot guarantee timeliness.
[0050] Furthermore, after the first group of self-service financial devices connects to the second DNS server of the second data center through the DNS service of the first group of self-service financial devices according to the IP address, the method also includes: the second DNS server configures the network policy of the first group of self-service financial devices and sends the network policy to the load balancer of the second data center.
[0051] When it comes to disaster recovery switching, the self-service financial devices such as ATM, CRS, STM in the province modify the solution and configure the domain name in the background. Through domain name resolution, it is linked to the second DNS server of the second data center, and then the second DNS server configures the corresponding network policy to link to the load balancer of the second data center.
[0052] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the method for realizing self-service financial device disaster recovery switching based on DNS of the present application will be described in detail below in combination with specific embodiments.
[0053] The existing technology of financial self-service devices with unmanned control programs only supports background service IP addresses. When the background address changes, it can only be modified manually on the device. Since the number of financial self-service devices with unmanned control programs is large and most of them are distributed in remote suburbs, it not only consumes a lot of manpower but also cannot guarantee timeliness.
[0054] After adding a reverse proxy service to the device and connecting it to DNS, background address changes will no longer require manual intervention, and the device can continue to provide external services.
[0055] This embodiment relates to a specific method for implementing self-service financial equipment disaster recovery switching based on DNS, such as Figure 3 As shown, the following steps are included:
[0056] This embodiment mainly solves the real-time disaster recovery problem of financial self-service equipment whose control programs are not maintained by anyone in the province. The architecture is to deploy ATM, CRS, STM and other self-service equipment in the province. The national center deploys DNS servers. The national center deploys load balancers and other services.
[0057] When it comes to disaster recovery switching, the province's ATM, CRS, STM and other self-service devices modify the plan and configure the domain name in the background. Through domain name resolution, it is linked to the national central DNS server, and then the domain name server configures the corresponding network strategy to link to the load balancer of the two centers.
[0058] The national central DNS server is configured with corresponding strategies, and different devices are configured to different backend system construction centers according to the strategies.
[0059] During the startup of the self-service financial device application, if the network connection IP is not in the list, the DNS primary and secondary server addresses of this connection are directly set. The DNS setting script that runs automatically and independently at startup sets the DNS primary and secondary server addresses (north and south) according to the set institution code, finds the correct network connection to set the DNS server according to the IP address of the network connection set for internal communication, determines whether to use domain name access through the connection to the front-end machine domain name and port, and automatically sets the reverse proxy service according to whether to use domain name access.
[0060] Among them, the reverse proxy service can support a variety of existing ports of the device, including the online port 8583, the tuxedo port, the monitoring end status upload port, the monitoring end parameter download port, the management end restart notification port, and different domain names can be configured for different ports.
[0061] The external script automatically determines whether to switch to the domain name. If the domain name is switched, the generated reverse proxy configuration is shown in Table 1:
[0062] Table 1
[0063]
[0064] If you switch to IP, the generated reverse proxy configuration is shown in Table 2:
[0065] Table 2
[0066]
[0067] Through this embodiment, the DNS disaster recovery switching solution can be implemented without modifying the control program of the financial self-service device, and the coupling degree between the implementation solution and the original system is extremely low; the DNS and reverse proxy technology are creatively used to detect the network in real time and dynamically configure the reverse proxy to meet the real-time requirements of disaster recovery switching. When it is detected that disaster recovery switching is required, the financial self-service device whose control program is not maintained in production can directly complete the switching through background processing without changing the configuration, which solves the problem that the existing self-service financial equipment only supports the background service IP address, resulting in changes in the background address can only be modified manually on the device, which requires a lot of manpower and cannot guarantee timeliness.
[0068] The embodiment of the present application also provides a device for implementing disaster recovery switching of self-service financial equipment based on DNS. It should be noted that the device for implementing disaster recovery switching of self-service financial equipment based on DNS in the embodiment of the present application can be used to execute the method for implementing disaster recovery switching of self-service financial equipment based on DNS provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0069] The following is an introduction to the device for implementing disaster recovery switching of self-service financial equipment based on DNS provided in an embodiment of the present application.
[0070] Figure 4 1 is a schematic diagram of a device for implementing disaster recovery switching of self-service financial devices based on DNS according to an embodiment of the present application. The disaster recovery switching system includes a first data center, a second data center, a first group of self-service financial devices corresponding to the first data center, and a second group of self-service financial devices corresponding to the second data center. The first data center includes a first DNS server, and the second data center includes a second DNS server. Figure 4 As shown, the device includes: a detection unit 41, an analysis unit 42, and a connection unit 43.
[0071] A detection unit 41 is used for the first DNS server to detect detection information of the first data center, and determine whether the first group of self-service financial devices corresponding to the first data center starts disaster recovery switching according to the detection information;
[0072] Specifically, the first DNS server detects the application service of the first data center through a port to determine whether to start disaster recovery switching for the first group of self-service financial devices corresponding to the first data center.
[0073] The resolution unit 42 is used for the first DNS server to resolve the domain name of the first data center and generate the IP address of the second data center when determining that the first group of self-service financial devices corresponding to the first data center starts disaster recovery switching, wherein the first data center and the second data center use an asynchronous two-way synchronization method to synchronize data, and the domain names of the first data center and the second data center are the same;
[0074] Among them, asynchronous two-way synchronization is a data synchronization method, in which the data synchronization between two data centers is bidirectional, but the synchronization process is asynchronous, that is, the transmission and update of data do not occur at the same time. This synchronization method can ensure the consistency of data between the two systems, while reducing the dependency and delay between systems. This method can improve the performance and reliability of the system, while reducing the cost and complexity of data synchronization. The domain names of the data centers of the same disaster recovery switching system are the same.
[0075] The connection unit 43 is used for the first DNS server to send the IP address to the DNS service of the first group of self-service financial devices, so that the first group of self-service financial devices can connect to the second DNS server of the second data center through the DNS service of the first group of self-service financial devices according to the IP address, so that the first group of self-service financial devices can exchange data with the second data center through the reverse proxy service of the first group of self-service financial devices.
[0076] Specifically, when it is determined to start disaster recovery switching, the first DNS obtains the IP address of the second data center by resolving the domain name, and sends the IP address of the second data center to the first group of self-service financial devices through the DNS service. The first group of self-service financial devices establishes a connection with the second data center based on the IP address of the second data center, and conducts online transactions, management and monitoring of transactions, and other data interactions with the second data center through the reverse proxy service of the first group of self-service financial devices.
[0077] In this embodiment, the detection unit is used for the first DNS server to detect the detection information of the first data center, and determine whether the first group of self-service financial devices corresponding to the first data center starts the disaster recovery switch according to the detection information; the resolution unit is used for the first DNS server to resolve the domain name of the first data center and generate the IP address of the second data center when determining that the first group of self-service financial devices corresponding to the first data center starts the disaster recovery switch, wherein the first data center and the second data center use an asynchronous two-way synchronization method to synchronize data, and the domain names of the first data center and the second data center are the same; the connection unit is used for the first DNS server to send the IP address to the DNS service of the first group of self-service financial devices, so that the first group of self-service financial devices connect to the second DNS server of the second data center through the DNS service of the first group of self-service financial devices according to the IP address, so that the first group of self-service financial devices interact with the second data center through the reverse proxy service of the first group of self-service financial devices. By using DNS and reverse proxy technology, the network is detected in real time, and when disaster recovery switching is required, the financial self-service device can directly complete the switching through the background processing without changing the configuration, which solves the problem that the existing self-service financial device only supports the background service IP address, resulting in the background address change can only be manually modified on the device, which requires a lot of manpower and cannot guarantee timeliness.
[0078] As an optional solution, the device also includes a sending unit, which is used to determine whether the first group of self-service financial devices corresponding to the first data center has started disaster recovery switching based on the detection information, and when the first group of self-service financial devices is turned on, the first DNS server receives a domain name access request message sent by the DNS service of the first group of self-service financial devices.
[0079] Specifically, when the self-service financial device is turned on and the data center IP is not in the network connection in the list during the application startup process, the DNS primary and secondary server addresses of this connection are directly set, and the connection is made according to the DNS server address to avoid the situation where there is no DNS server IP in the list, resulting in the problem of failure to connect.
[0080] In an optional solution, the device also includes a first configuration unit, which is used to configure the reverse proxy service of the first group of self-service financial devices according to a pre-set mapping relationship between the addresses of the first group of self-service financial devices and the application service domain name addresses of the first data center after the first DNS server successfully receives the domain name access request message sent by the DNS service of the first group of self-service financial devices, so as to complete the domain name access of the first group of self-service financial devices to the first data center, so that the first group of self-service financial devices can interact with the first data center through the reverse proxy service.
[0081] Specifically, when it is determined that the domain name access request message is sent successfully, the first group of self-service financial devices can establish a domain name connection with the first DNS server through the DNS service, and establish a domain name connection based on the pre-set mapping relationship between the address of the first group of self-service financial devices and the application service domain name address of the first data center.
[0082] In an optional solution, the device also includes a second configuration unit, which is used to configure the reverse proxy service of the first group of self-service financial devices according to a pre-set mapping relationship between the addresses of the first group of self-service financial devices and the application service IP addresses of the first data center after the first DNS server receives the domain name access request message sent by the DNS service of the first group of self-service financial devices, when the first DNS server fails to receive the domain name access request message sent by the DNS service of the first group of self-service financial devices, so as to complete the IP access of the first group of self-service financial devices to the first data center, so that the first group of self-service financial devices can interact with the first data center through the reverse proxy service.
[0083] Specifically, when it is determined that the domain name access request message fails to be sent, the first group of self-service financial devices can establish an IP address connection with the first DNS server through the DNS service, and establish an IP address connection based on the pre-set mapping relationship between the addresses of the first group of self-service financial devices and the application service IP address of the first data center.
[0084] An optional solution, the first group of self-service financial devices and the second group of self-service financial devices include ATM self-service devices, CRS self-service devices, and STM self-service devices. The device ports supported by the reverse proxy service include online port 8583, tuxedo port, monitoring end status upload port, monitoring end parameter download port, and management end restart notification port.
[0085] The device for implementing disaster recovery switching of self-service financial equipment based on DNS includes a processor and a memory. The detection unit, the resolution unit, the connection unit, etc. are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions. The modules are all located in the same processor; or, the modules are located in different processors in any combination.
[0086] The processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to solve the problem that the existing self-service financial equipment only supports the background service IP address, resulting in changes in the background address can only be manually modified on the device, which requires a lot of manpower and cannot guarantee timeliness.
[0087] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0088] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the method for realizing disaster recovery switching of self-service financial equipment based on DNS.
[0089] Specifically, the method for implementing self-service financial equipment disaster recovery switching based on DNS includes:
[0090] Step S201, the first DNS server detects detection information of the first data center, and determines whether a first group of self-service financial devices corresponding to the first data center starts disaster recovery switching according to the detection information;
[0091] Step S202: When determining that the first group of self-service financial devices corresponding to the first data center initiates disaster recovery switching, the first DNS server resolves the domain name of the first data center and generates an IP address of the second data center, wherein the first data center and the second data center synchronize data in an asynchronous bidirectional synchronization manner, and the domain names of the first data center and the second data center are the same;
[0092] In step S203, the first DNS server sends the IP address to the DNS service of the first group of self-service financial devices, so that the first group of self-service financial devices connects to the second DNS server of the second data center through the DNS service of the first group of self-service financial devices according to the IP address, so that the first group of self-service financial devices interacts with the second data center through the reverse proxy service of the first group of self-service financial devices.
[0093] An embodiment of the present invention provides a processor, which is used to run a program, wherein the method for implementing disaster recovery switching of self-service financial equipment based on DNS is executed when the program is running.
[0094] Specifically, the method for implementing self-service financial equipment disaster recovery switching based on DNS includes:
[0095] Step S201, the first DNS server detects detection information of the first data center, and determines whether a first group of self-service financial devices corresponding to the first data center starts disaster recovery switching according to the detection information;
[0096] Step S202: When determining that the first group of self-service financial devices corresponding to the first data center initiates disaster recovery switching, the first DNS server resolves the domain name of the first data center and generates an IP address of the second data center, wherein the first data center and the second data center synchronize data in an asynchronous bidirectional synchronization manner, and the domain names of the first data center and the second data center are the same;
[0097] In step S203, the first DNS server sends the IP address to the DNS service of the first group of self-service financial devices, so that the first group of self-service financial devices connects to the second DNS server of the second data center through the DNS service of the first group of self-service financial devices according to the IP address, so that the first group of self-service financial devices interacts with the second data center through the reverse proxy service of the first group of self-service financial devices.
[0098] An embodiment of the present invention provides a device, the device including a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:
[0099] Step S201, the first DNS server detects detection information of the first data center, and determines whether a first group of self-service financial devices corresponding to the first data center starts disaster recovery switching according to the detection information;
[0100] Step S202: When determining that the first group of self-service financial devices corresponding to the first data center initiates disaster recovery switching, the first DNS server resolves the domain name of the first data center and generates an IP address of the second data center, wherein the first data center and the second data center synchronize data in an asynchronous bidirectional synchronization manner, and the domain names of the first data center and the second data center are the same;
[0101] In step S203, the first DNS server sends the IP address to the DNS service of the first group of self-service financial devices, so that the first group of self-service financial devices connects to the second DNS server of the second data center through the DNS service of the first group of self-service financial devices according to the IP address, so that the first group of self-service financial devices interacts with the second data center through the reverse proxy service of the first group of self-service financial devices.
[0102] The devices in this article can be servers, PCs, PADs, mobile phones, etc.
[0103] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program for initializing at least the following method steps:
[0104] Step S201, the first DNS server detects detection information of the first data center, and determines whether a first group of self-service financial devices corresponding to the first data center starts disaster recovery switching according to the detection information;
[0105] Step S202: When determining that the first group of self-service financial devices corresponding to the first data center initiates disaster recovery switching, the first DNS server resolves the domain name of the first data center and generates an IP address of the second data center, wherein the first data center and the second data center synchronize data in an asynchronous bidirectional synchronization manner, and the domain names of the first data center and the second data center are the same;
[0106] In step S203, the first DNS server sends the IP address to the DNS service of the first group of self-service financial devices, so that the first group of self-service financial devices connects to the second DNS server of the second data center through the DNS service of the first group of self-service financial devices according to the IP address, so that the first group of self-service financial devices interacts with the second data center through the reverse proxy service of the first group of self-service financial devices.
[0107] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0108] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0109] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 generate 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 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0110] 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.
[0111] 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.
[0112] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0113] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0114] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0115] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0116] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0117] 1) A method for implementing disaster recovery switching of self-service financial equipment based on DNS in the present application, the disaster recovery switching system includes a first data center, a second data center, a first group of self-service financial equipment corresponding to the first data center, and a second group of self-service financial equipment corresponding to the second data center, the first data center includes a first DNS server, and the second data center includes a second DNS server, including: the first DNS server detects detection information of the first data center, and determines whether the first group of self-service financial equipment corresponding to the first data center starts disaster recovery switching according to the detection information; the first DNS server resolves the domain name of the first data center when determining that the first group of self-service financial equipment corresponding to the first data center starts disaster recovery switching, and generates an IP address of the second data center, wherein the first data center and the second data center use an asynchronous two-way synchronization method to synchronize data, and the domain names of the first data center and the second data center are the same; the first DNS server sends the IP address to the DNS service of the first group of self-service financial equipment, so that the first group of self-service financial equipment is connected to the second DNS server of the second data center through the DNS service of the first group of self-service financial equipment according to the IP address, so that the first group of self-service financial equipment interacts with the second data center through the reverse proxy service of the first group of self-service financial equipment. By using DNS and reverse proxy technology, the network is detected in real time. When disaster recovery switching is required, the financial self-service equipment can directly complete the switch through background processing without changing the configuration. This solves the problem that the existing self-service financial equipment only supports the background service IP address, resulting in changes in the background address can only be modified manually on the device, which requires a lot of manpower and cannot guarantee timeliness.
[0118] 2) The present application discloses a device for implementing disaster recovery switching of self-service financial equipment based on DNS. The disaster recovery switching system includes a first data center, a second data center, a first group of self-service financial equipment corresponding to the first data center, and a second group of self-service financial equipment corresponding to the second data center. The first data center includes a first DNS server, and the second data center includes a second DNS server. The system includes: determining whether the first group of self-service financial equipment corresponding to the first data center has started disaster recovery switching according to detection information; a resolution unit, which is used for the first DNS server to resolve the domain name of the first data center and generate an IP address of the second data center when determining that the first group of self-service financial equipment corresponding to the first data center has started disaster recovery switching, wherein the first data center and the second data center use an asynchronous two-way synchronization method to synchronize data, and the domain names of the first data center and the second data center are the same; a connection unit, which is used for the first DNS server to send the IP address to the DNS service of the first group of self-service financial equipment, so that the first group of self-service financial equipment is connected to the second DNS server of the second data center through the DNS service of the first group of self-service financial equipment according to the IP address, so that the first group of self-service financial equipment interacts with the second data center through the reverse proxy service of the first group of self-service financial equipment. By using DNS and reverse proxy technology, the network is detected in real time. When disaster recovery switching is required, the financial self-service equipment can directly complete the switch through background processing without changing the configuration. This solves the problem that the existing self-service financial equipment only supports the background service IP address, resulting in changes in the background address can only be modified manually on the device, which requires a lot of manpower and cannot guarantee timeliness.
[0119] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for implementing disaster recovery switching of self-service financial equipment based on DNS, characterized in that: The disaster recovery switching system includes a first data center, a second data center, a first group of self-service financial devices corresponding to the first data center, and a second group of self-service financial devices corresponding to the second data center, wherein the first data center includes a first DNS server, and the second data center includes a second DNS server, including: The first DNS server detects detection information of the first data center, and determines whether the first group of self-service financial devices corresponding to the first data center starts disaster recovery switching according to the detection information; When determining that the first group of self-service financial devices corresponding to the first data center initiates disaster recovery switching, the first DNS server resolves the domain name of the first data center to generate the IP address of the second data center, wherein the first data center and the second data center synchronize data in an asynchronous bidirectional synchronization manner, and the domain names of the first data center and the second data center are the same; The first DNS server sends the IP address to the DNS service of the first group of self-service financial devices, so that the first group of self-service financial devices connects to the second DNS server of the second data center through the DNS service of the first group of self-service financial devices according to the IP address, so that the first group of self-service financial devices interacts with the second data center through the reverse proxy service of the first group of self-service financial devices.
2. The method according to claim 1, characterized in that Before determining whether the first group of self-service financial devices corresponding to the first data center starts disaster recovery switching according to the detection information, the method further includes: When the first group of self-service financial devices is turned on, the first DNS server receives a domain name access request message sent by the DNS service of the first group of self-service financial devices.
3. The method according to claim 2, characterized in that After the first DNS server receives the domain name access request message sent by the DNS service of the first group of self-service financial devices, the method further includes: When the first DNS server successfully receives the domain name access request message sent by the DNS service of the first group of self-service financial devices, the reverse proxy service of the first group of self-service financial devices is configured according to the pre-set mapping relationship between the addresses of the first group of self-service financial devices and the application service domain name addresses of the first data center to complete the domain name access of the first group of self-service financial devices to the first data center, so that the first group of self-service financial devices can interact with the first data center through the reverse proxy service.
4. The method according to claim 2, characterized in that: After the first DNS server receives the domain name access request message sent by the DNS service of the first group of self-service financial devices, the method further includes: When the first DNS server fails to receive the domain name access request message sent by the DNS service of the first group of self-service financial devices, the reverse proxy service of the first group of self-service financial devices is configured according to the preset mapping relationship between the addresses of the first group of self-service financial devices and the application service IP addresses of the first data center to complete the IP access of the first group of self-service financial devices to the first data center, so that the first group of self-service financial devices can interact with the first data center through the reverse proxy service.
5. The method according to claim 1, characterized in that The first group of self-service financial devices and the second group of self-service financial devices include ATM self-service devices, CRS self-service devices, and STM self-service devices. The device ports supported by the reverse proxy service include online 8583 port, tuxedo port, monitoring end status upload port, monitoring end parameter download port, and management end restart notification port.
6. A method for implementing self-service financial equipment disaster recovery switching based on DNS, characterized in that: The disaster recovery switching system includes a first data center, a second data center, a first group of self-service financial devices corresponding to the first data center, and a second group of self-service financial devices corresponding to the second data center, wherein the first data center includes a first DNS server, and the second data center includes a second DNS server, including: The first DNS server detects detection information of the first data center, and determines whether the first group of self-service financial devices corresponding to the first data center starts disaster recovery switching according to the detection information; When determining that the first group of self-service financial devices corresponding to the first data center initiates disaster recovery switching, the first DNS server resolves the domain name of the first data center to generate the IP address of the second data center, wherein the first data center and the second data center synchronize data in an asynchronous bidirectional synchronization manner, and the domain names of the first data center and the second data center are the same; The first DNS server sends the IP address to the DNS service of the first group of self-service financial devices; The first group of self-service financial devices is connected to the second DNS server of the second data center through the DNS service of the first group of self-service financial devices according to the IP address.
7. The method according to claim 6, characterized in that After the first group of self-service financial devices connects to the second DNS server of the second data center through the DNS service of the first group of self-service financial devices according to the IP address, the method further includes: The second DNS server configures a network policy for the first group of self-service financial devices, and sends the network policy to the load balancer of the second data center.
8. A device for implementing disaster recovery switching of self-service financial equipment based on DNS, characterized in that: The disaster recovery switching system includes a first data center, a second data center, a first group of self-service financial devices corresponding to the first data center, and a second group of self-service financial devices corresponding to the second data center, wherein the first data center includes a first DNS server, and the second data center includes a second DNS server, including: A detection unit, configured for the first DNS server to detect detection information of the first data center, and to determine whether the first group of self-service financial devices corresponding to the first data center has started disaster recovery switching according to the detection information; A resolution unit, configured for the first DNS server to resolve the domain name of the first data center and generate the IP address of the second data center when it is determined that the first group of self-service financial devices corresponding to the first data center initiates disaster recovery switching, wherein the first data center and the second data center synchronize data in an asynchronous two-way synchronization manner, and the domain names of the first data center and the second data center are the same; A connection unit is used for the first DNS server to send the IP address to the DNS service of the first group of self-service financial devices, so that the first group of self-service financial devices can connect to the second DNS server of the second data center through the DNS service of the first group of self-service financial devices according to the IP address, so that the first group of self-service financial devices can exchange data with the second data center through the reverse proxy service of the first group of self-service financial devices.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method for realizing disaster recovery switching of self-service financial equipment based on DNS as described in any one of claims 1 to 5.
10. An electronic device, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include a method for executing the DNS-based method for implementing disaster recovery switching of self-service financial equipment as described in any one of claims 1 to 5.
