Business processing method and device, computer device, storage medium and program product
By performing regular heartbeat checks on the financial institution's business processing center, real-time fault monitoring and switching to a backup center, the business continuity problem caused by server-side failures was resolved, achieving high availability and low failure rate business processing.
Patent Information
- Application Number
- CN202310398647.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2043-04-14
AI Technical Summary
Server-side failures at financial institutions have led to low business continuity.
By periodically sending heartbeat detection commands to multiple application servers and statistically analyzing the heartbeat detection results, it is determined whether there is a fault in the business processing center. When a fault is detected, the target application server of the backup business processing center is started according to the routing configuration file to achieve the forwarding of business requests.
It improved business continuity, reduced the failure rate of business processing, and ensured the real-time nature of fault detection and the accuracy of data synchronization.
Smart Images

Figure CN116319479B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a business processing method, apparatus, computer equipment, storage medium, and computer program product. Background Technology
[0002] With the development of internet application technology, financial institutions typically deploy different servers for different businesses to meet users' business needs. For example, when a user submits a payment service request to the server, the financial institution will send the service request to the corresponding server to realize the user's payment business.
[0003] However, when there is a server-side failure, business continuity will be compromised. Summary of the Invention
[0004] Therefore, it is necessary to provide a business processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can improve business continuity in response to the above-mentioned technical problems.
[0005] Firstly, this application provides a business processing method, the method comprising:
[0006] Heartbeat detection commands are periodically sent to multiple application servers deployed in the first business processing center to obtain the heartbeat detection results corresponding to the multiple application servers.
[0007] The heartbeat detection results corresponding to the multiple application servers are statistically analyzed to obtain heartbeat detection statistics.
[0008] Based on the heartbeat detection statistics, it is determined whether the first business processing center is faulty;
[0009] When a service request to the target application server of the first business processing center is detected, and it is determined that the first business processing center is faulty, the target application server of the second business processing center is started according to the routing configuration file; the plurality of application servers include the target application server, the second business processing center deploys the plurality of application servers, and the routing configuration file includes the correspondence between the routing addresses of the same application server in different business processing centers;
[0010] Based on the routing address of the target application server in the second business processing center, the service request is sent to the target application server in the second business processing center so that the service request corresponding to the service request can be processed by the target application server in the second business processing center.
[0011] In one embodiment, the heartbeat detection statistics are stored in a distributed coordination service; determining whether the first business processing center is faulty based on the heartbeat detection statistics includes:
[0012] When the number of application servers that cannot provide services exceeds a preset number, based on the heartbeat detection statistics in the distributed coordination service, it is determined that the first business processing center is faulty; the switching identifier of the first business processing center in the distributed coordination service is a preset identifier.
[0013] In one embodiment, the step of periodically sending heartbeat detection commands to multiple application servers deployed in the first business processing center and obtaining heartbeat detection results corresponding to the multiple application servers includes:
[0014] Set the heartbeat detection duration and the heartbeat detection cycle within the heartbeat detection duration;
[0015] Based on the heartbeat detection period, heartbeat detection instructions are sent to the multiple application servers respectively to obtain the heartbeat detection results of the multiple application servers performing heartbeat detection according to the heartbeat detection period within the heartbeat detection duration; the heartbeat detection results corresponding to the multiple application servers are stored in the distributed coordination service.
[0016] In one embodiment, the method further includes:
[0017] When the number of application servers that cannot provide services exceeds a preset number, based on the heartbeat detection statistics in the distributed coordination service, an alarm message is sent. The alarm message is used to indicate that the first business processing center is abnormal, and the alarm message includes the identifier of the application server that cannot provide services among the multiple application servers deployed in the first business processing center.
[0018] In one embodiment, the heartbeat detection result corresponding to each application server includes whether the service is available or unavailable; the step of periodically sending heartbeat detection instructions to multiple application servers deployed in the first business processing center to obtain the heartbeat detection results corresponding to the multiple application servers includes:
[0019] Send heartbeat detection commands to the service interface of each application server at regular intervals;
[0020] If each of the application servers receives the heartbeat detection instruction, the heartbeat detection result of each application server is determined to be service available;
[0021] If each of the application servers does not receive the heartbeat detection instruction, the heartbeat detection result of each application server is determined to be service unavailable;
[0022] Based on the heartbeat detection result of each application server, obtain the heartbeat detection results corresponding to the plurality of application servers.
[0023] In one embodiment, when a service request for the target application server of the first business processing center is detected, and it is determined that the first business processing center is faulty, starting the target application server of the second business processing center according to the routing configuration file includes:
[0024] When a service request to the target application server of the first business processing center is detected, the switching identifier of the first business processing center in the distributed coordination service is obtained.
[0025] If the switching identifier of the first business processing center is a preset identifier, it is determined that the first business processing center is faulty;
[0026] When the business processing center corresponding to the target application server deployed in the first business processing center is determined to be the second business processing center based on the identifier of the first business processing center, the routing address of the target application server deployed in the first business processing center, and the routing configuration file, the target application server deployed in the second business processing center is started.
[0027] Secondly, this application provides a business processing apparatus, the apparatus comprising:
[0028] The heartbeat detection result acquisition module is used to periodically send heartbeat detection instructions to multiple application servers deployed in the first business processing center, and obtain the heartbeat detection results corresponding to the multiple application servers.
[0029] The heartbeat detection result statistics module is used to count the heartbeat detection results corresponding to the multiple application servers and obtain heartbeat detection statistics results.
[0030] The fault determination module is used to determine whether the first business processing center has a fault based on the heartbeat detection statistics.
[0031] The startup module is used to start the target application server of the second business processing center according to the routing configuration file when a service request to the target application server of the first business processing center is detected and it is determined that the first business processing center is faulty; the plurality of application servers include the target application server, the second business processing center deploys the plurality of application servers, and the routing configuration file includes the correspondence between the routing addresses of the same application server in different business processing centers;
[0032] The service processing module is used to send the service request to the target application server of the second service processing center based on the routing address of the target application server of the second service processing center, so as to process the service request corresponding to the service server based on the target application server of the second service processing center.
[0033] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0034] Heartbeat detection commands are periodically sent to multiple application servers deployed in the first business processing center to obtain the heartbeat detection results corresponding to the multiple application servers.
[0035] The heartbeat detection results corresponding to the multiple application servers are statistically analyzed to obtain heartbeat detection statistics.
[0036] Based on the heartbeat detection statistics, it is determined whether the first business processing center is faulty;
[0037] When a service request to the target application server of the first business processing center is detected, and it is determined that the first business processing center is faulty, the target application server of the second business processing center is started according to the routing configuration file; the plurality of application servers include the target application server, the second business processing center deploys the plurality of application servers, and the routing configuration file includes the correspondence between the routing addresses of the same application server in different business processing centers;
[0038] Based on the routing address of the target application server in the second business processing center, the service request is sent to the target application server in the second business processing center so that the service request corresponding to the service request can be processed by the target application server in the second business processing center.
[0039] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0040] Heartbeat detection commands are periodically sent to multiple application servers deployed in the first business processing center to obtain the heartbeat detection results corresponding to the multiple application servers.
[0041] The heartbeat detection results corresponding to the multiple application servers are statistically analyzed to obtain heartbeat detection statistics.
[0042] Based on the heartbeat detection statistics, it is determined whether the first business processing center is faulty;
[0043] When a service request to the target application server of the first business processing center is detected, and it is determined that the first business processing center is faulty, the target application server of the second business processing center is started according to the routing configuration file; the plurality of application servers include the target application server, the second business processing center deploys the plurality of application servers, and the routing configuration file includes the correspondence between the routing addresses of the same application server in different business processing centers;
[0044] Based on the routing address of the target application server in the second business processing center, the service request is sent to the target application server in the second business processing center so that the service request corresponding to the service request can be processed by the target application server in the second business processing center.
[0045] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0046] Heartbeat detection commands are periodically sent to multiple application servers deployed in the first business processing center to obtain the heartbeat detection results corresponding to the multiple application servers.
[0047] The heartbeat detection results corresponding to the multiple application servers are statistically analyzed to obtain heartbeat detection statistics.
[0048] Based on the heartbeat detection statistics, it is determined whether the first business processing center is faulty;
[0049] When a service request to the target application server of the first business processing center is detected, and it is determined that the first business processing center is faulty, the target application server of the second business processing center is started according to the routing configuration file; the plurality of application servers include the target application server, the second business processing center deploys the plurality of application servers, and the routing configuration file includes the correspondence between the routing addresses of the same application server in different business processing centers;
[0050] Based on the routing address of the target application server in the second business processing center, the service request is sent to the target application server in the second business processing center so that the service request corresponding to the service request can be processed by the target application server in the second business processing center.
[0051] The aforementioned business processing method, apparatus, computer equipment, storage medium, and computer program product, by performing periodic heartbeat detection on the first business processing center, can determine in real time whether the first business processing center is faulty, ensuring the real-time fault detection of the first business processing center. Furthermore, when a service request to the target application server of the first business processing center is detected, since the fault of the first business processing center is confirmed, and since the first and second business processing centers deploy the same application server, the target application server of the second business processing center can be started according to the routing configuration file. This forwards the service request sent to the target application server of the first business processing center to the target application server of the second business processing center through the routing address of the target application server of the second business processing center. This allows the target application server of the second business processing center to process the business corresponding to the service request, improving business continuity. Moreover, by avoiding processing the business through a faulty business processing center, the failure rate of business processing can be reduced. Attached Figure Description
[0052] Figure 1 This is an application environment diagram of a business processing method in one embodiment;
[0053] Figure 2 This is a flowchart illustrating a business processing method in one embodiment;
[0054] Figure 3 This is a flowchart illustrating the process of periodically sending heartbeat detection commands to multiple application servers deployed in the first business processing center in one embodiment, and obtaining the heartbeat detection results corresponding to the multiple application servers.
[0055] Figure 4This is a flowchart illustrating the process of periodically sending heartbeat detection commands to multiple application servers deployed in the first business processing center in another embodiment, and obtaining the heartbeat detection results corresponding to the multiple application servers.
[0056] Figure 5 This is a flowchart illustrating the process of starting the target application server of the second business processing center according to the routing configuration file when a service request to the target application server of the first business processing center is detected and it is determined that the first business processing center is faulty.
[0057] Figure 6 This is a structural block diagram of a service processing device in one embodiment;
[0058] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0059] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0060] The service processing method provided in this application embodiment can be applied to applications such as Netty high-performance communication framework. Figure 1 The application environment shown. Among them, the business processing system 100 includes a server 102 and a heartbeat detection device 104, a first business processing center 106 and a second business processing center 108. The business processing system 100 communicates with the server 102 and the heartbeat detection device 104, the first business processing center 106 and the second business processing center 108 through a network.
[0061] The first business processing center 106 and the second business processing center 108 deploy the same multiple application servers, including application server 1, application server 2, application server 3, a target application server, and application server 4. However, the application servers started in the first business processing center 106 and the second business processing center 108 are different; for example, the application servers started in the first business processing center 106 are application server 1, application server 4, and the target application server; while the application servers started in the second business processing center 108 are application server 2 and application server 3. Application servers that are not started do not provide services. Only when one of the business processing centers fails will the same application servers that are not started in the other business processing center be started; for example, if the first business processing center fails and the target application server deployed in the first business processing center needs to provide services, the target application server deployed in the second business processing center can be started.
[0062] Specifically, server 102 periodically sends heartbeat detection commands to multiple application servers deployed in the first business processing center based on heartbeat detection device 104, thereby obtaining heartbeat detection results for the multiple application servers deployed in the first business processing center. Server 102 obtains heartbeat detection statistics by statistically analyzing the heartbeat detection results for the multiple application servers. Based on the heartbeat detection statistics, server 102 determines whether the first business processing center 106 is faulty. When a service request to the target application server of the first business processing center 106 is detected, and it is determined that the first business processing center 106 is faulty, server 102 starts the target application server deployed in the second business processing center 108 according to the routing configuration file. In this way, by sending service requests to the routing address of the target application server in the second business processing center 108, and processing the business corresponding to the service request based on the target application server in the second business processing center 108, business continuity is improved.
[0063] In one embodiment, such as Figure 2 As shown, a business processing method is provided, which is applied to... Figure 1 Taking server 102 as an example, the explanation includes the following steps:
[0064] S202, periodically send heartbeat detection commands to multiple application servers deployed in the first business processing center, and obtain the heartbeat detection results corresponding to the multiple application servers.
[0065] The first business processing center can refer to a data center. This center can deploy multiple services, each with a corresponding application server. Each application server provides services to fulfill specific business requirements. Specifically, the external network communicates with the application servers, enabling users to fulfill their business needs through the external network. For example, the first business processing center might deploy application servers related to product display, financial transaction scenarios (such as payment and refunds), and logistics scenarios.
[0066] In some embodiments, heartbeat detection commands are periodically sent to multiple application servers deployed in the first business processing center to obtain heartbeat detection results corresponding to the multiple application servers. This includes: sending heartbeat detection commands to multiple application servers deployed in the first business processing center according to a heartbeat detection cycle to obtain heartbeat detection results corresponding to the heartbeat detection performed by the multiple application servers during the heartbeat detection cycle. The heartbeat detection cycle can be 30 seconds, 1 minute, 5 minutes, or other values.
[0067] S204: Statistically analyze the heartbeat detection results of multiple application servers to obtain heartbeat detection statistics.
[0068] In some embodiments, if the heartbeat detection results corresponding to multiple application servers are the heartbeat detection results corresponding to the heartbeat detection performed by multiple application servers in the heartbeat detection period, then based on the multiple heartbeat detection results performed by each application server in the heartbeat detection period, the statistical result of the heartbeat detection performed by each application server in the heartbeat detection period can be obtained; based on the statistical result corresponding to each application server, the heartbeat detection statistical result can be obtained.
[0069] S206. Based on the heartbeat detection statistics, determine whether there is a fault in the first business processing center.
[0070] In some embodiments, the availability of services for multiple application servers can be determined based on heartbeat detection statistics; and the availability of services for multiple application servers can be used to determine whether the first business processing center is faulty.
[0071] S208, when a service request to the target application server of the first business processing center is detected and it is determined that the first business processing center is faulty, the target application server of the second business processing center is started according to the routing configuration file; the multiple application servers include the target application server.
[0072] The second business processing center can be a data center, while the first and second business processing centers can be deployed in the same or different regions. Both the second and first business processing centers deploy the same multiple application servers, but the application servers launched by the first and second business processing centers are different. If one of the business processing centers fails and the application server deployed in the failed business processing center is required to provide services, the same application server deployed in the other business processing center will be launched. By launching different application servers in the first and second business processing centers, multi-active data synchronization scenarios can avoid multi-active data conflicts at the application level under high concurrency.
[0073] For example, two business processing centers both deploy application servers for fund transaction scenarios. A bank card has a balance of A yuan. If B yuan is spent at one business processing center at a certain time in the morning, the corresponding bank card balance will be A + B yuan. Simultaneously, if C yuan is deposited into the other business processing center at the same time in the morning, the corresponding bank card balance will be A + C yuan. This makes it impossible to determine the final balance of the bank card for the same transaction time. Therefore, in this embodiment, by deploying the same application server in both business processing centers, but not starting the same application server in the two business processing centers, the business services provided by the corresponding application server can be implemented in the corresponding business processing center, avoiding multi-active data conflicts.
[0074] Here, a service request refers to a request to complete a business transaction through a service provided by the target application server. For example, a service request could be a request to complete a financial transaction through an application server related to financial transaction scenarios (such as payment or refund). The routing configuration file includes the mapping between the routing addresses of the same application server in different business processing centers. Although the same application server is deployed in different business processing centers, the routing addresses corresponding to this same application server are different. In this way, when a business processing center fails and the application server deployed in the failed business processing center needs to provide services, the routing configuration file can be used to control the business processing in the business processing centers that have the same application server deployed, thus avoiding discontinuity in business processing.
[0075] S210, based on the routing address of the target application server of the second business processing center, a service request is sent to the target application server of the second business processing center, so as to process the business corresponding to the service request based on the target application server of the second business processing center.
[0076] In particular, when a fault is detected in the first business processing center, the service request sent to the target application server of the first business processing center can be forwarded to the target application server of the second business processing center through the routing address of the target application server of the second business processing center, thereby improving business continuity.
[0077] In summary, based on Figure 2 The method described above can determine whether the first business processing center is faulty in real time by performing periodic heartbeat detection on the first business processing center, ensuring the real-time fault detection of the first business processing center. Furthermore, when a service request to the target application server of the first business processing center is detected, since the fault of the first business processing center is confirmed, and the first and second business processing centers deploy the same application server, the target application server of the second business processing center can be started according to the routing configuration file. This forwards the service request sent to the target application server of the first business processing center to the target application server of the second business processing center through the routing address of the target application server of the second business processing center. This allows the target application server of the second business processing center to process the business corresponding to the service request, improving business continuity. Moreover, by avoiding processing the business through a faulty business processing center, the failure rate of business processing can be reduced.
[0078] In one embodiment, the heartbeat detection statistics are stored in a distributed coordination service, which may be ZooKeeper, etc. Specifically, based on the heartbeat detection statistics, determining whether the first business processing center is faulty includes: when the number of application servers that cannot provide services exceeds a preset number, based on the heartbeat detection statistics in the distributed coordination service, determining that the first business processing center is faulty; the switching identifier of the first business processing center in the distributed coordination service is a preset identifier; wherein, the preset number is half of the number of application servers deployed in the first business processing center.
[0079] In some embodiments, when it is determined that the first business processing center is faulty, the switching identifier of the first business processing center can be automatically set to a preset identifier in the distributed coordination service; or, a switching identifier modification prompt can be output so that maintenance personnel can manually change the switching identifier of the first business processing center from an empty identifier to a preset identifier in the distributed coordination service based on the switching identifier modification prompt, so as to indicate that the first business processing center is faulty.
[0080] For example, if the first business processing center has 10 application servers deployed, the default number is 5. If the heartbeat detection statistics determine that more than 5 of the 10 application servers are unable to provide services, then the first business processing center is found to be faulty.
[0081] It should be noted that if the switching identifier of the first business processing center in the distributed coordination service is the preset identifier, that is, the switching identifier of the first business processing center is not empty, it means that the first business processing center is faulty; if the switching identifier of the first business processing center in the distributed coordination service is empty, it means that the first business processing center is not faulty and its deployed application server can provide services.
[0082] In one embodiment, when the number of application servers that cannot provide services exceeds a preset number, based on the heartbeat detection statistics in the distributed coordination service, the application servers that exceed the configured query-per-second (QPS) rate are degraded to ensure the stability of downstream services; if downstream services are unavailable, interface-level circuit breaking can be performed to ensure the throughput of downstream services.
[0083] In one embodiment, such as Figure 3 The diagram illustrates a process for periodically sending heartbeat detection commands to multiple application servers deployed in a first business processing center, and obtaining the heartbeat detection results corresponding to the multiple application servers. This method is applied to... Figure 1 Taking server 102 as an example, the explanation includes the following steps:
[0084] S302, set the heartbeat detection duration and the heartbeat detection cycle within the heartbeat detection duration.
[0085] S304, based on the heartbeat detection period, send heartbeat detection instructions to multiple application servers respectively, and obtain the heartbeat detection results of the multiple application servers performing heartbeat detection according to the heartbeat detection period within the heartbeat detection duration; the heartbeat detection results corresponding to the multiple application servers are stored in the distributed coordination service.
[0086] The heartbeat detection duration can be 6 hours, 12 hours, 24 hours or other values, and the heartbeat detection period can be 30 seconds, 1 minute, 5 minutes or other values. For example, if the heartbeat detection duration is 6 hours and the heartbeat detection period is 1 minute, then a heartbeat detection command will be sent to multiple application servers deployed in the first business processing center every minute within 6 hours, thereby obtaining the heartbeat detection results of multiple application servers performing heartbeat detection every minute within 6 hours.
[0087] In one embodiment, when obtaining the heartbeat detection results of multiple application servers performing heartbeat detection according to the heartbeat detection cycle within the heartbeat detection duration, the heartbeat detection statistics are obtained by statistically analyzing the multiple heartbeat detection results of each application server within the heartbeat detection duration.
[0088] In one embodiment, when the heartbeat detection device in the business processing system fails to send heartbeat detection commands to multiple application servers in the first business processing center according to the set heartbeat detection cycle, an alarm message is output. The alarm message is used to indicate that the heartbeat detection device is abnormal so that the heartbeat detection device can be maintained. The alarm message includes an alarm level, which is a level 3 alarm.
[0089] In summary, based on Figure 3 The method shown improves fault detection accuracy by setting the heartbeat detection duration and the heartbeat detection cycle within the heartbeat detection duration, thereby obtaining the heartbeat detection results of multiple application servers performing heartbeat detection according to the heartbeat detection cycle within the heartbeat detection duration.
[0090] exist Figure 3 Based on the illustrated embodiment, in one embodiment, the method further includes: when the number of application servers that cannot provide services exceeds a preset number, determined according to the heartbeat detection statistics in the distributed coordination service, sending an alarm message; the alarm message is used to indicate an anomaly in the first business processing center, and the alarm message may include the identifiers of the application servers that cannot provide services among the multiple application servers deployed in the first business processing center; the alarm message may also include an alarm level, which is a level 2 alarm. In this way, the alarm message allows for rapid location of the abnormal application server, improving the maintenance efficiency of maintenance personnel for abnormal application servers.
[0091] In one embodiment, when the number of application servers that cannot provide services among multiple application servers is determined to be less than a preset number based on the heartbeat detection statistics in the distributed coordination service, or when the number of application servers that cannot provide services among multiple application servers is determined to be 1 based on the heartbeat detection statistics in the distributed coordination service, an alarm message is output. The alarm message includes an alarm level, and the alarm level is a level 1 alarm.
[0092] In one embodiment, the heartbeat detection result for each application server includes whether the service is available or unavailable; service availability means that the application server can provide services to meet the user's business needs; service unavailable means that the application server cannot provide services. Service availability and unavailability are relative; specifically, such as Figure 4 The diagram illustrates a process for periodically sending heartbeat detection commands to multiple application servers deployed in a first business processing center, and obtaining the heartbeat detection results corresponding to the multiple application servers. This method is applied to... Figure 1 Taking server 102 as an example, the explanation includes the following steps:
[0093] S402 periodically sends heartbeat detection commands to the service interface of each application server.
[0094] When the service interface is Hyper Text Transfer Protocol (HTTP), the heartbeat detection command sent periodically to the service interface of each application server is an HTTP request.
[0095] S404, if each application server receives a heartbeat detection command, determine that the heartbeat detection result of each application server is that the service is available.
[0096] If each application server receives a heartbeat detection command and determines that the heartbeat detection result of each application server is service available, a service availability flag can be set for each application server to distinguish it from application servers that are not service available.
[0097] S406, if each application server does not receive a heartbeat detection instruction, determine that the heartbeat detection result of each application server is that the service is unavailable.
[0098] If each application server is determined to be unavailable based on the fact that it has not received a heartbeat detection command, a service unavailable flag can be set for each application server to distinguish it from application servers that are available; the service available flag and the service unavailable flag are different.
[0099] S408 obtains the heartbeat detection results for multiple application servers based on the heartbeat detection results of each application server.
[0100] In summary, through Figure 4 The method shown determines whether each application server is available by checking whether it receives a heartbeat detection command, thereby obtaining heartbeat detection results for multiple application servers. Furthermore, by statistically analyzing the heartbeat detection results for multiple application servers, the method can determine in real time whether the first business processing center is faulty, ensuring the real-time fault detection of the first business processing center.
[0101] In one embodiment, such as Figure 5 The diagram illustrates a process where, when a service request to the target application server of the first business processing center is detected, and a fault is determined in the first business processing center, the target application server of the second business processing center is started according to the routing configuration file. This method is applied to... Figure 1 Taking server 102 as an example, the explanation includes the following steps:
[0102] S502, when a service request to the target application server of the first business processing center is detected, the switching identifier of the first business processing center in the distributed coordination service is obtained.
[0103] S504, if the switching identifier of the first service processing center is the preset identifier, it is determined that the first service processing center is faulty.
[0104] Specifically, when a fault is determined in the first business processing center, the failover flag in the distributed coordination service (such as ZooKeeper) is a preset flag, meaning the failover flag is not empty. Therefore, by checking whether the failover flag of the first business processing center is the preset flag, i.e., by checking whether the failover flag is empty, it can be determined whether the first business processing center is faulty. For example, if the failover flag of the first business processing center in the distributed coordination service is empty, it is determined that the first business processing center is not faulty and can provide services.
[0105] S506, when the business processing center corresponding to the target application server deployed in the first business processing center is determined to be the second business processing center based on the identifier of the first business processing center, the routing address of the target application server deployed in the first business processing center, and the routing configuration file, the target application server deployed in the second business processing center is started.
[0106] In one embodiment, when the business processing center corresponding to the target application server deployed in the first business processing center is determined to be the second business processing center based on the identifier of the first business processing center, the routing address of the target application server deployed in the first business processing center, and the routing configuration file, a startup command can be sent to the second business processing center. The startup command includes the identifier of the target application server, so that the second business processing center can start the target application server based on the identifier of the target application server in the startup command.
[0107] In summary, through Figure 5 The method shown, based on the routing configuration file, can determine the second business processing center that also deploys the target application server, according to the identifier of the first business processing center and the routing address of the target application server deployed in the first business processing center. Since the target application server deployed in the second business processing center is not started before the first business processing center fails, starting the target application server deployed in the second business processing center enables the processing of business requests that the first business processing center cannot handle, thereby improving business continuity. At the same time, avoiding processing business through a faulty business processing center can reduce the failure rate of business processing.
[0108] In one embodiment, after determining that the first business processing center is faulty, if heartbeat detection commands are periodically sent to multiple application servers deployed at the first business processing center to obtain heartbeat detection results for multiple application servers, and it is determined that the fault of the first business processing center has been resolved based on the heartbeat detection statistics for multiple application servers, the switching identifier of the first business processing center in the distributed coordination service (such as ZooKeeper) is automatically switched from non-empty to empty. Alternatively, the switching identifier of the first business processing center in the distributed coordination service can be manually switched from non-empty to empty to indicate that the first business processing center is not faulty, so that the application servers deployed at the first business processing center can continue to process the corresponding service requests, thereby achieving the purpose of active-active deployment at the application layer.
[0109] In one embodiment, when the first business processing center experiences a fault and the fault is resolved, if the first business processing center performs a data synchronization process with the second business processing center, it outputs an alarm message. The alarm message includes an alarm level of Level 1. It can be understood that since the target application server deployed in the second business processing center processes the business corresponding to the service request, after the fault in the first business processing center is resolved, the second business processing center should be the one to synchronize data with the first business processing center. Therefore, by using a Level 1 alarm, it can be determined that an error has occurred in the execution of the data synchronization, thereby improving the maintenance efficiency of maintenance personnel.
[0110] In one embodiment, when the first business processing center experiences a fault and the fault is resolved, if the second business processing center fails to synchronize the business data corresponding to the service request processed by the target application server to the first business processing center, an alarm message is output. The alarm message includes an alarm level of 2. It can be understood that since the target application server deployed in the second business processing center processes the business corresponding to the service request, the second business processing center should synchronize data with the first business processing center after the fault in the first business processing center is resolved. Therefore, by issuing a level 2 alarm, it can be determined that the party responsible for data synchronization has not performed data synchronization, thereby improving the maintenance efficiency of maintenance personnel.
[0111] In one embodiment, if a fault occurs in the first business processing center and is resolved, and no data synchronization process is detected between the first and second business processing centers, an alarm message is output. The alarm message includes an alarm level of 3. Thus, by issuing an alarm level of 3, it can be determined that the databases of the first and second business processing centers have crashed, thereby improving the maintenance efficiency of maintenance personnel.
[0112] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0113] Based on the same inventive concept, this application also provides a business processing apparatus for implementing the business processing method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more business processing apparatus embodiments provided below can be found in the limitations of the business processing method described above, and will not be repeated here.
[0114] In one embodiment, such as Figure 6 As shown, a service processing device is provided, including: a heartbeat detection result acquisition module 602, a heartbeat detection result statistics module 604, a fault determination module 606, a startup module 608, and a service processing module 610, wherein:
[0115] The heartbeat detection result acquisition module 602 is used to periodically send heartbeat detection commands to multiple application servers deployed in the first business processing center to obtain the heartbeat detection results corresponding to the multiple application servers.
[0116] The heartbeat detection result statistics module 604 is used to count the heartbeat detection results corresponding to multiple application servers and obtain heartbeat detection statistics results.
[0117] The fault determination module 606 is used to determine whether there is a fault in the first business processing center based on the heartbeat detection statistics.
[0118] The startup module 608 is used to start the target application server of the second business processing center according to the routing configuration file when a service request to the target application server of the first business processing center is detected and it is determined that the first business processing center is faulty. The target application server is included in the multiple application servers. The second business processing center has multiple application servers deployed. The routing configuration file includes the correspondence between the routing addresses of the same application server in different business processing centers.
[0119] The business processing module 610 is used to send a service request to the target application server of the second business processing center based on the routing address of the target application server of the second business processing center, so as to process the business corresponding to the service request based on the target application server of the second business processing center.
[0120] In one embodiment, the heartbeat detection statistics are stored in the distributed coordination service; the fault determination module 606 is further configured to: determine that the first business processing center is faulty when the number of application servers that cannot provide services exceeds a preset number, based on the heartbeat detection statistics in the distributed coordination service; the switching identifier of the first business processing center in the distributed coordination service is a preset identifier.
[0121] In one embodiment, the heartbeat detection result acquisition module 602 is further configured to: set the heartbeat detection duration and the heartbeat detection cycle within the heartbeat detection duration; send heartbeat detection instructions to multiple application servers based on the heartbeat detection cycle, and obtain the heartbeat detection results of the multiple application servers performing heartbeat detection according to the heartbeat detection cycle within the heartbeat detection duration; and store the heartbeat detection results corresponding to the multiple application servers in a distributed coordination service.
[0122] In one embodiment, the business processing device further includes an alarm module, which is used to: send an alarm message when the number of application servers that cannot provide services among the multiple application servers is determined to exceed a preset number based on the heartbeat detection statistics in the distributed coordination service; the alarm message is used to indicate that the first business processing center is abnormal, and the alarm message includes the identifier of the application server that cannot provide services among the multiple application servers deployed in the first business processing center.
[0123] In one embodiment, the heartbeat detection result corresponding to each application server includes whether the service is available or unavailable; the heartbeat detection result acquisition module 602 is further configured to: periodically send a heartbeat detection instruction to the service interface of each application server; if each application server receives the heartbeat detection instruction, determine that the heartbeat detection result of each application server is service available; if each application server does not receive the heartbeat detection instruction, determine that the heartbeat detection result of each application server is service unavailable; and obtain the heartbeat detection results corresponding to multiple application servers based on the heartbeat detection result of each application server.
[0124] In one embodiment, the startup module 608 is further configured to: when a service request for the target application server of the first business processing center is detected, obtain the switching identifier of the first business processing center in the distributed coordination service; if the switching identifier of the first business processing center is a preset identifier, determine that the first business processing center is faulty; when the business processing center corresponding to the target application server deployed in the first business processing center is determined to be the second business processing center based on the identifier of the first business processing center, the routing address of the target application server deployed in the first business processing center, and the routing configuration file, start the target application server deployed in the second business processing center.
[0125] Each module in the aforementioned business processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0126] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 7As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores routing configuration files. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements a business processing method.
[0127] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0128] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0129] The system periodically sends heartbeat detection commands to multiple application servers deployed in the first business processing center to obtain heartbeat detection results for each application server. It then statistically analyzes these results to obtain heartbeat detection statistics. Based on these statistics, it determines whether the first business processing center is faulty. When a service request to a target application server in the first business processing center is detected, and a fault is confirmed in the first business processing center, the system starts the target application server in the second business processing center according to the routing configuration file. The second business processing center deploys multiple application servers, and the routing configuration file includes the mapping between routing addresses of the same application server in different business processing centers. Based on the routing address of the target application server in the second business processing center, a service request is sent to that target application server to process the corresponding service request.
[0130] In one embodiment, the heartbeat detection statistics are stored in a distributed coordination service; when the processor executes the computer program, it also implements the following steps: when the number of application servers that cannot provide services exceeds a preset number based on the heartbeat detection statistics in the distributed coordination service, it is determined that the first business processing center is faulty; the switching identifier of the first business processing center in the distributed coordination service is a preset identifier.
[0131] In one embodiment, when the processor executes the computer program, it further implements the following steps: setting a heartbeat detection duration and a heartbeat detection cycle within the heartbeat detection duration; sending heartbeat detection instructions to multiple application servers based on the heartbeat detection cycle, obtaining heartbeat detection results from the multiple application servers performing heartbeat detection according to the heartbeat detection cycle within the heartbeat detection duration; and storing the heartbeat detection results corresponding to the multiple application servers in a distributed coordination service.
[0132] In one embodiment, when the processor executes the computer program, it further implements the following steps: when the number of application servers that cannot provide services exceeds a preset number based on the heartbeat detection statistics in the distributed coordination service, an alarm message is sent; the alarm message is used to indicate that the first business processing center is abnormal, and the alarm message includes the identifier of the application server that cannot provide services among the multiple application servers deployed in the first business processing center.
[0133] In one embodiment, the heartbeat detection result for each application server includes whether the service is available or unavailable; the processor also performs the following steps when executing the computer program:
[0134] A heartbeat detection command is periodically sent to the service interface of each application server. If each application server receives the heartbeat detection command, the heartbeat detection result of each application server is determined to be service available. If each application server does not receive the heartbeat detection command, the heartbeat detection result of each application server is determined to be service unavailable. Based on the heartbeat detection result of each application server, the heartbeat detection results corresponding to multiple application servers are obtained.
[0135] In one embodiment, when the processor executes the computer program, it further implements the following steps: when a service request for the target application server of the first business processing center is detected, the processor obtains the switching identifier of the first business processing center in the distributed coordination service; if the switching identifier of the first business processing center is a preset identifier, the processor determines that the first business processing center is faulty; when the processor determines that the business processing center corresponding to the target application server deployed in the first business processing center is the second business processing center based on the identifier of the first business processing center, the routing address of the target application server deployed in the first business processing center, and the routing configuration file, the processor starts the target application server deployed in the second business processing center.
[0136] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0137] The system periodically sends heartbeat detection commands to multiple application servers deployed in the first business processing center to obtain heartbeat detection results for each application server. It then statistically analyzes these results to obtain heartbeat detection statistics. Based on these statistics, it determines whether the first business processing center is faulty. When a service request to a target application server in the first business processing center is detected, and a fault is confirmed in the first business processing center, the system starts the target application server in the second business processing center according to the routing configuration file. The second business processing center deploys multiple application servers, and the routing configuration file includes the mapping between routing addresses of the same application server in different business processing centers. Based on the routing address of the target application server in the second business processing center, a service request is sent to that target application server to process the corresponding service request.
[0138] In one embodiment, the heartbeat detection statistics are stored in a distributed coordination service; when the computer program is executed by the processor, it also implements the following steps: when the number of application servers that cannot provide services exceeds a preset number based on the heartbeat detection statistics in the distributed coordination service, it is determined that the first business processing center is faulty; the switching identifier of the first business processing center in the distributed coordination service is a preset identifier.
[0139] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: setting a heartbeat detection duration and a heartbeat detection cycle within the heartbeat detection duration; sending heartbeat detection instructions to multiple application servers based on the heartbeat detection cycle, obtaining heartbeat detection results from the multiple application servers performing heartbeat detection according to the heartbeat detection cycle within the heartbeat detection duration; and storing the heartbeat detection results corresponding to the multiple application servers in a distributed coordination service.
[0140] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: when the number of application servers that cannot provide services exceeds a preset number based on the heartbeat detection statistics in the distributed coordination service, an alarm message is sent; the alarm message is used to indicate that the first business processing center is abnormal, and the alarm message includes the identifier of the application server that cannot provide services among the multiple application servers deployed in the first business processing center.
[0141] In one embodiment, the heartbeat detection result corresponding to each application server includes whether the service is available or unavailable. When the computer program is executed by the processor, it further implements the following steps: periodically sending a heartbeat detection instruction to the service interface of each application server; if each application server receives the heartbeat detection instruction, determining that the heartbeat detection result of each application server is that the service is available; if each application server does not receive the heartbeat detection instruction, determining that the heartbeat detection result of each application server is that the service is unavailable; and obtaining heartbeat detection results corresponding to multiple application servers based on the heartbeat detection result of each application server.
[0142] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: when a service request for the target application server of the first business processing center is detected, the switching identifier of the first business processing center in the distributed coordination service is obtained; if the switching identifier of the first business processing center is a preset identifier, it is determined that the first business processing center is faulty; when the business processing center corresponding to the target application server deployed in the first business processing center is determined to be the second business processing center based on the identifier of the first business processing center, the routing address of the target application server deployed in the first business processing center, and the routing configuration file, the target application server deployed in the second business processing center is started.
[0143] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0144] The system periodically sends heartbeat detection commands to multiple application servers deployed in the first business processing center to obtain heartbeat detection results for each application server. It then statistically analyzes these results to obtain heartbeat detection statistics. Based on these statistics, it determines whether the first business processing center is faulty. When a service request to a target application server in the first business processing center is detected, and a fault is confirmed in the first business processing center, the system starts the target application server in the second business processing center according to the routing configuration file. The second business processing center deploys multiple application servers, and the routing configuration file includes the mapping between routing addresses of the same application server in different business processing centers. Based on the routing address of the target application server in the second business processing center, a service request is sent to that target application server to process the corresponding service request.
[0145] In one embodiment, the heartbeat detection statistics are stored in a distributed coordination service; when the computer program is executed by the processor, it also implements the following steps: when the number of application servers that cannot provide services exceeds a preset number based on the heartbeat detection statistics in the distributed coordination service, it is determined that the first business processing center is faulty; the switching identifier of the first business processing center in the distributed coordination service is a preset identifier.
[0146] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: setting a heartbeat detection duration and a heartbeat detection cycle within the heartbeat detection duration; sending heartbeat detection instructions to multiple application servers based on the heartbeat detection cycle, obtaining heartbeat detection results from the multiple application servers performing heartbeat detection according to the heartbeat detection cycle within the heartbeat detection duration; and storing the heartbeat detection results corresponding to the multiple application servers in a distributed coordination service.
[0147] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: when the number of application servers that cannot provide services exceeds a preset number based on the heartbeat detection statistics in the distributed coordination service, an alarm message is sent; the alarm message is used to indicate that the first business processing center is abnormal, and the alarm message includes the identifier of the application server that cannot provide services among the multiple application servers deployed in the first business processing center.
[0148] In one embodiment, the heartbeat detection result corresponding to each application server includes whether the service is available or unavailable. When the computer program is executed by the processor, it further implements the following steps: periodically sending a heartbeat detection instruction to the service interface of each application server; if each application server receives the heartbeat detection instruction, determining that the heartbeat detection result of each application server is that the service is available; if each application server does not receive the heartbeat detection instruction, determining that the heartbeat detection result of each application server is that the service is unavailable; and obtaining heartbeat detection results corresponding to multiple application servers based on the heartbeat detection result of each application server.
[0149] In one embodiment, when the computer program is executed by the processor, it further implements the following steps: when a service request for the target application server of the first business processing center is detected, the switching identifier of the first business processing center in the distributed coordination service is obtained; if the switching identifier of the first business processing center is a preset identifier, it is determined that the first business processing center is faulty; when the business processing center corresponding to the target application server deployed in the first business processing center is determined to be the second business processing center based on the identifier of the first business processing center, the routing address of the target application server deployed in the first business processing center, and the routing configuration file, the target application server deployed in the second business processing center is started.
[0150] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0151] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0152] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0153] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A business processing method, characterized in that, The method includes: Heartbeat detection commands are periodically sent to multiple application servers deployed in the first business processing center to obtain the heartbeat detection results corresponding to the multiple application servers. The heartbeat detection results corresponding to the multiple application servers are statistically analyzed to obtain heartbeat detection statistics. Based on the heartbeat detection statistics, it is determined whether the multiple application servers of the first business processing center can provide services, and based on the service provision status of the multiple application servers, it is determined whether the first business processing center has a fault. When a service request to the target application server of the first business processing center is detected, and it is determined that the first business processing center is faulty, the target application server of the second business processing center is started according to the routing configuration file; the plurality of application servers include the target application server, the second business processing center deploys the plurality of application servers, and the routing configuration file includes the correspondence between the routing addresses of the same application server in different business processing centers; the application servers started by the first business processing center and the second business processing center are different. Based on the routing address of the target application server in the second business processing center, the service request is sent to the target application server in the second business processing center so that the service request corresponding to the service request can be processed by the target application server in the second business processing center.
2. The method according to claim 1, characterized in that, The heartbeat detection statistics are stored in a distributed coordination service; determining whether the first business processing center is faulty based on the heartbeat detection statistics includes: When the number of application servers that cannot provide services exceeds a preset number, based on the heartbeat detection statistics in the distributed coordination service, it is determined that the first business processing center is faulty; the switching identifier of the first business processing center in the distributed coordination service is a preset identifier.
3. The method according to claim 2, characterized in that, The step of periodically sending heartbeat detection commands to multiple application servers deployed in the first business processing center and obtaining heartbeat detection results corresponding to the multiple application servers includes: Set the heartbeat detection duration and the heartbeat detection cycle within the heartbeat detection duration; Based on the heartbeat detection period, heartbeat detection instructions are sent to the multiple application servers respectively to obtain the heartbeat detection results of the multiple application servers performing heartbeat detection according to the heartbeat detection period within the heartbeat detection duration; the heartbeat detection results corresponding to the multiple application servers are stored in the distributed coordination service.
4. The method according to claim 2, characterized in that, The method further includes: When the number of application servers that cannot provide services exceeds a preset number, based on the heartbeat detection statistics in the distributed coordination service, an alarm message is sent. The alarm message is used to indicate that the first business processing center is abnormal, and the alarm message includes the identifier of the application server that cannot provide services among the multiple application servers deployed in the first business processing center.
5. The method according to claim 1, characterized in that, The heartbeat detection result for each application server includes whether the service is available or unavailable; the step of periodically sending heartbeat detection instructions to multiple application servers deployed in the first business processing center to obtain the heartbeat detection results for the multiple application servers includes: Send heartbeat detection commands to the service interface of each application server at regular intervals; If each of the application servers receives the heartbeat detection instruction, the heartbeat detection result of each application server is determined to be service available; If each of the application servers does not receive the heartbeat detection instruction, the heartbeat detection result of each application server is determined to be service unavailable; Based on the heartbeat detection result of each application server, obtain the heartbeat detection results corresponding to the plurality of application servers.
6. The method according to claim 1, characterized in that, When a service request to the target application server of the first business processing center is detected, and it is determined that the first business processing center is faulty, starting the target application server of the second business processing center according to the routing configuration file includes: When a service request to the target application server of the first business processing center is detected, the switching identifier of the first business processing center in the distributed coordination service is obtained. If the switching identifier of the first business processing center is a preset identifier, it is determined that the first business processing center is faulty; When the business processing center corresponding to the target application server deployed in the first business processing center is determined to be the second business processing center based on the identifier of the first business processing center, the routing address of the target application server deployed in the first business processing center, and the routing configuration file, the target application server deployed in the second business processing center is started.
7. A business processing device, characterized in that, The device includes: The heartbeat detection result acquisition module is used to periodically send heartbeat detection instructions to multiple application servers deployed in the first business processing center, and obtain the heartbeat detection results corresponding to the multiple application servers. The heartbeat detection result statistics module is used to count the heartbeat detection results corresponding to the multiple application servers and obtain heartbeat detection statistics results. The fault determination module is used to determine whether multiple application servers of the first business processing center can provide services based on the heartbeat detection statistics, and to determine whether the first business processing center has a fault based on the service provision status of the multiple application servers. The startup module is used to start the target application server of the second business processing center according to the routing configuration file when a service request to the target application server of the first business processing center is detected and it is determined that the first business processing center is faulty; the plurality of application servers include the target application server, the second business processing center deploys the plurality of application servers, and the routing configuration file includes the correspondence between the routing addresses of the same application server in different business processing centers; the application servers started by the first business processing center and the second business processing center are different. The service processing module is used to send the service request to the target application server of the second service processing center based on the routing address of the target application server of the second service processing center, so as to process the service request corresponding to the service server based on the target application server of the second service processing center.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Fault detection and control method and related equipment
CN109308227A
Route detection method, router device and system
WO2016197950A1