New and old system switching method and system, computer equipment and storage medium
Through the coordination of the dual -layer load balancing architecture and the new system gateway, the problem of non -sensing switching of the peripheral system during the switching of the new and old systems is solved, and the system is smooth and efficiently retreat.
Patent Information
- Application Number
- CN202411524253.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-01-24
AI Technical Summary
The existing technology cannot realize invisible switching of peripheral systems when switching between new and old systems, resulting in business interruptions and system reconstruction during the process of peripheral systems requiring assistance in rectifying and calling new system domain names.
Adopt a dual -layer load balancing architecture, the first load balancing receiving business access request and the first layer of load balancing processing, the second layer of load balancing the request after the first layer of processing and the second layer of load balancing processing. Finally, the new system is finally passed through the new system. The gateway forwarded to the new or old system server.
The smooth transition of the old and new systems and the inductive switching of peripheral systems, avoiding business interruptions, and improving the system's retreat efficiency.
Smart Images

Figure CN119363833A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of system reconstruction, and in particular to a method, system, computer equipment and storage medium for switching between a new system and an old system. Background Art
[0002] Currently, business systems are generally accessed through "domain names" to provide external services. As the operating cycle of business systems increases and external technologies develop rapidly, in order to ensure that business systems can provide better and more secure services, it is usually necessary to reconstruct business systems and provide external services through updated new systems after reconstruction.
[0003] In the prior art, when a business system needs to be restructured, the old business system (old system) is usually first deactivated to perform data migration, and after the old system is restructured, the new business system (new system) is activated to provide external services. Figure 1 As shown, the system architecture of the financial business system in the prior art is given, such as financial payment system, shopping system, insurance transaction system, etc. Its system architecture includes GSLB (Global Server Load Balancing), which is used to receive business access requests sent by peripheral systems and perform global load balancing on the received business access requests; a hard load or soft load is built under GSLB to receive business access requests after GSLB load balancing, and perform load balancing on the business access requests according to a preset load balancing algorithm; the hard load or soft load is connected to multiple background system servers to receive business access requests issued by the load balancer and process the business access requests. Its system business processing flow is as follows: GSLB receives business access requests from peripheral systems through domain names; when GSLB receives business access requests from peripheral systems, it load balances the business access requests according to the health status of each load, such as response time, availability or performance and other flow control strategies, and sends the business access requests to the corresponding hard load or soft load; when the hard load or soft load receives the business access request, it distributes the business access request to the back-end system server for business processing according to the preset load balancing algorithm.
[0004] Generally, when the peripheral system accesses the business system through the domain name, the business system processes the business access request through the above-mentioned business process; when the system reconstruction is completed, the peripheral system needs to access the reconstructed business system through the new domain name, and also processes the access request through the above-mentioned business process. This method is prone to cause business interruption, and the peripheral system re-uses the domain name of the new system for access. When the system is reconstructed, the peripheral system needs to assist in rectification and call the new system domain name before switching to the new system. Therefore, the existing technical solutions cannot achieve the seamless switching of the peripheral system when switching between the old and new systems, and cannot achieve a smooth transition between the old and new business systems. Summary of the invention
[0005] Based on this, the present invention provides a method, system, computer device and storage medium for switching between old and new systems to achieve a smooth transition between the old and new business systems and to achieve seamless switching of peripheral systems when switching between the old and new systems.
[0006] In one embodiment, the present invention provides a method for switching between a new system and an old system, which is applied to a switching system between a new system and an old system, wherein the switching system between the new system and the old system comprises: a global server load balancing, a plurality of first load balancings connected to the global server load balancing, a second load balancing connected to each of the first load balancings, and a new system gateway connected to the plurality of second load balancings; the switching method comprises:
[0007] Obtaining a service access request sent by the first load balancing, and performing a second load balancing process on the service access request sent by the first load balancing; wherein the service access request sent by the first load balancing is obtained after the first load balancing performs the first load balancing process on the service access request sent by the global server load balancing;
[0008] The service access request after the second load balancing processing is forwarded to the corresponding new system gateway, so that the new system gateway performs switching processing on the service access request after the second load balancing processing.
[0009] Furthermore, when each of the first load balancers receives a service access request sent by the global server load balancer, it performs a first load balancing process on the service access request according to the traffic percentage of the service access request sent by the global server load balancer, and sends the service access request after the first load balancing process to the second load balancer in sequence.
[0010] Furthermore, when each of the second load balancers receives a service access request sent by the first load balancer, it forwards the service access request sent by the first load balancer to the corresponding new system gateway in order, so as to perform second load balancing processing on the service access request sent by the first load balancer.
[0011] Furthermore, when the new system gateway receives the service access request sent by the second load balancing, it switches the service access request after being processed by the second load balancing according to the service configuration information; wherein the service configuration information is used to determine the system server corresponding to the service access request.
[0012] Furthermore, before obtaining the service access request sent by the first load balancing and performing the second load balancing process on the service access request sent by the first load balancing, the switching method further includes:
[0013] Receive the monitoring request sent by the first load balancer, forward the monitoring request to the new system gateway, and when receiving the monitoring result returned by the new system gateway, send the monitoring result to the first load balancer.
[0014] Further, the receiving the monitoring request sent by the first load balancer, forwarding the monitoring request to the new system gateway, and upon receiving the monitoring result returned by the new system gateway, sending the monitoring result to the first load balancer comprises:
[0015] Receive the IP detection message sent by the first load balancing, and perform IP address conversion on the IP detection message to obtain a domain name detection message;
[0016] The domain name detection message is forwarded to the new system gateway, and when a response message returned by the new system gateway is received, the response message is forwarded to the first load balancer, so that the first load balancer sends a service access request to the corresponding second load balancer after receiving the response message.
[0017] Furthermore, if the first load balance receives a response message returned by the second load balance through the new system gateway, the service access request is sent to the second load balance; if not, the second load balance is updated.
[0018] In one embodiment, the present invention further provides a switching system between a new system and an old system, comprising:
[0019] Global server load balancing, used to receive service access requests and perform global load balancing on the service access requests;
[0020] A plurality of first load balancers, connected to the global server load balancer, for receiving a service access request sent by the global server load balancer, and performing a first load balancing process on the received service access request;
[0021] A plurality of second load balancers, connected to the first load balancer correspondingly, configured to receive a service access request sent by the first load balancer, and perform second load balancing processing on the service access request sent by the first load balancer;
[0022] The new system gateway is connected to each of the second load balancers, and is used to receive the service access requests forwarded after being processed by each of the second load balancers, and perform switching processing on the service access requests forwarded by the second load balancers.
[0023] In one embodiment, the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the switching method described above when executing the computer program.
[0024] In one embodiment, the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the switching method described above when executed by a processor.
[0025] The above-mentioned switching method, system, device and storage medium of the new and old systems, through double-layer load balancing, enables when the peripheral system accesses the business system through the old system, the business access request can be automatically forwarded to the new system server or the old system server for processing through the new system gateway installed in the second layer of load balancing, thereby realizing smooth switching of the new and old systems. When all business access requests are sent to the second load balancing, all business access requests can be forwarded to the new system gateway through the second load balancing, and then access the new system server through the new system gateway, so that the peripheral system can access the new system server through the old system domain name, and achieve the purpose of smooth transition from the peripheral system to the new system by accessing the business system through the old system domain name. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0027] Figure 1 It is the system architecture of the business system in the prior art;
[0028] Figure 2 is a schematic diagram of the architecture of a switching system between a new system and an old system provided in an embodiment of the present invention;
[0029] Figure 3 In the embodiment of the present invention, Figure 2 A flowchart of the implemented switching method between the old and new systems;
[0030] Figure 4 It is a schematic diagram of the structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0032] In view of the problem in the prior art that when switching between the old and new business systems, the peripheral system needs to use the new domain name to access the system after the system reconstruction is completed, and it is impossible to achieve a seamless switching of the peripheral system, the technical personnel of the present invention attempt to propose a solution in which the peripheral system still uses the old system domain name to access the business when switching between the old and new systems, and improves the business system background so that a smooth transition and switching between the old and new systems can be achieved by accessing the old system domain name. Figure 1 In the business system architecture shown, a second layer of load balancing is further built under the first layer of load balancing to form a double-layer load balancing. At the same time, each second layer of load balancing is connected to the new system gateway, and the new system gateway is connected to the new system server and the old system server respectively. The double-layer load balancing is equipped with the new system gateway to realize lossless switching between the new and old systems. When the first layer of load balancing receives the business access request sent by GSLB, it performs the first load balancing processing on the business access request in sequence according to the corresponding traffic access strategy, and sends the business access request to the second layer of load balancing. The second layer of load balancing performs the second load balancing processing on the business access request, and then forwards the business access request to the new system gateway. The business access request is sent to the corresponding new system server or old system server for processing through the new system gateway, and the business access request is sent to the new system gateway through the double-layer load balancing, thereby realizing access to the new system through the old system domain name during the switching process between the new and old systems, and achieving the purpose of seamless switching of the peripheral system.
[0033] Therefore, based on the above-mentioned improved concept, the present invention provides a switching system between the old and new systems. The technical solution and beneficial effects of the present invention will be described in detail below in conjunction with the accompanying drawings. Figure 2 , which is a schematic diagram of a switching system between a new system and an old system provided by the present invention; Figure 3 A schematic flow chart of a method for switching between a new system and an old system provided by the present invention.
[0034] The switching system of the new and old systems of the present invention includes a global server load balancing (GSLB), a first load balancing, a second load balancing and a new system gateway, wherein the GSLB is connected to multiple first load balancings, each first load balancing is connected to a corresponding second load balancing; each second load balancing is connected to the new system gateway; the new system gateway is connected to the old system server and the new system server respectively; wherein the global server load balancing, the first load balancing and the second load balancing can all be achieved through hard load or soft load. When through hard load, hard load equipment is used for load balancing; when through soft load, the soft load program is installed in the server for load balancing, and its specific working principle is not repeated here.
[0035] Specifically,
[0036] GSLB, used to execute step S10: receive a service access request sent by a peripheral system, and perform global load balancing on the service access request;
[0037] The switching system and method for the old and new systems provided by the present invention can be applied to system reconstruction and switching in various application scenarios. The peripheral system accesses the business system through the domain name, and its business system front-end system is usually implemented through the client, which can receive various types of business access requests in real time. For example, in the field of bank payments, the peripheral system usually needs to complete the payment request by accessing the payment system; in the field of insurance applications, when the peripheral system processes the claim business access request, it usually needs to query or access the insurance policy business system. The peripheral system can be understood as a system that is interrelated with various businesses of the current business system.
[0038] GSLB (Global Server Load Balancing) distributes received service access requests among multiple data centers or server clusters. When a peripheral system accesses a service system through an old system domain name, GSLB performs global server load balancing on the received service access request when it receives the above service access request. Specifically, GSLB can adopt existing methods, such as a DNS server as a global load balancer. When GSLB receives a service access request sent by a peripheral system through an old system domain name, it resolves the old system domain name into an IP address corresponding to the service system, determines the most appropriate first load balance according to the user's geographic location, server load, and response time of the peripheral system, and sends the service access request to the most appropriate first load balance for subsequent processing. Among them, after determining the most appropriate first load balance, GSLB sends the service access request according to the existing load balancing algorithm, such as polling, weighted polling, minimum connection, etc. to send the service access request to the corresponding first load balance. It can be understood that the service access request can be multiple real-time concurrent service access requests.
[0039] The first load balancing is used to execute step S20: receiving a service access request sent by the GSLB, and performing a first load balancing process on the service access request;
[0040] The first load balancing may be a load balancing implemented by a hardware device, or a soft load balancing implemented on a server. Optionally, the first load balancing may adopt an F5 hard load balancer, or may be implemented by an SLB (Server Load Balancer). It is understandable that the first load balancing may include multiple different load balancers.
[0041] When GSLB receives a service access request from a peripheral system, it determines the first load balancer that is closest to the current service access request and has the best performance through global load balancing, and sends the service access request to the corresponding first load balancer for first load balancing processing according to a preset balancing algorithm; after receiving the service access request, the corresponding first load balancer performs first load balancing processing on the service access request according to a preset flow control strategy. Among them, the preset flow control strategy can be to perform first load balancing processing based on the flow percentage of the service access request. For example, it can be set to process 1% of the service access requests first; and then set to load balance 10%, 30%, 50%, 75%, and 100% of the service access requests in order. Among them, the specific setting ratio can be set based on the access and business situation evaluation of the business system, and is not limited here. For example, in a bank payment system, when multiple payment requests are received from multiple peripheral systems, the first load balancing can perform load balancing on the payment requests according to the traffic percentage of the number of payment requests, first determining 10% of the payment requests to be sent, then determining 20% of the payment requests to be sent, and sending the payment requests in order for subsequent processing.
[0042] By sending the business access requests of different proportions in the above order, load balancing can be performed according to the business volume of the business system, preventing too many business access requests from accessing the backend system server at the same time, thereby improving the stability of the backend system server.
[0043] The second load balancer is used to execute step S30: receive the service access request sent by the first load balancer, perform second load balancing processing on the service access request, and forward the service access request processed by the second load balancing;
[0044] The second load balancing can also be a load balancing implemented by a hardware device, or a soft load balancing implemented on a server. Optionally, the second load balancing can also use an F5 hard load balancer, or implement load balancing through an SLB (Server Load Balancer). In this embodiment, preferably, an F5 hard load is used as the first load balancer, and an SLB soft load is used as the second load balancer. It can be understood that each first load balancer is connected to a second load balancer.
[0045] When each first load balancer receives a corresponding service access request, it sends the corresponding service access request to the corresponding second load balancer in sequence according to the above-mentioned preset traffic control strategy; when the corresponding second load balancer receives the corresponding service access request in sequence according to the above-mentioned traffic control strategy, it further performs a second load balancing process on the service access request according to the sequence, and forwards the service request processed by the second load balancing for subsequent processing.
[0046] The new system gateway is used to execute step S40: receive the service access request sent by the second load balancing, and perform switching processing on the service access request after the second load balancing processing;
[0047] Specifically, when the second load balancing receives the service access request sent by the first load balancing, the second load balancing further performs the second load balancing processing on the service access request according to the order of precedence, and forwards it to the new system gateway after the second load balancing processing. When the new system gateway receives the corresponding service access request, it forwards the service access request to the old system server or the new system server for processing according to the set conditions. The set conditions may be service configuration information, which indicates which services are processed in the new system and which services are processed in the old system. The new system gateway may automatically forward the service access request to the corresponding old system server or the new system server for processing based on the IP address information of the old system server and the new system server according to the service configuration information.
[0048] In this embodiment, the new system gateway is used for the diversion and forwarding of service access requests. It can be understood that when all service access requests are sent to the second load balancing, all service access requests can be forwarded to the new system gateway through the second load balancing, and then access the new system server through the new system gateway. At this time, the peripheral system can access the new system server through the old system domain name, achieving the purpose of smooth transition from the peripheral system to the new system by accessing the service system through the old system domain name. At the same time, the new system gateway is also connected to the old system server, and can forward the service access request to the corresponding old system server or new system server for processing according to the set service configuration information, and also achieves the purpose of seamless switching between the new system and the old system when the peripheral system accesses the service system through the old system domain name.
[0049] Furthermore, in one embodiment, the first load balance is connected to the old system server at the same time; when the first load balance determines to access the old system according to the service configuration information, the service access request information is sent to the corresponding old system server for processing according to the predetermined load balancing algorithm; when the first load balance determines to access the new system according to the service configuration information, the service access request information is sent to the second load balance according to the preset flow control strategy. With the above system design, when it is necessary to roll back to the old system, the second load balance is directly deleted to achieve quick rollback. Therefore, the switching system between the new and old systems provided by the present invention not only realizes the seamless switching access of the peripheral system to the new and old systems, but also further improves the rollback efficiency of the system.
[0050] Furthermore, when the lossless switching of the old and new systems to the peripheral systems is achieved through double-layer load balancing, the first load balancing needs to perform health monitoring on the second load balancing. Therefore, in this embodiment, the first load balancing includes a monitoring module and a processing module.
[0051] The monitoring module is used to execute step S201: when receiving a service access request sent by the GSLB, perform health monitoring on the second load balancing;
[0052] The processing module is used to execute step S202: sending the service access request to the second load balancer according to the health monitoring result returned by the second load balancer.
[0053] Specifically, in one embodiment, when the first load balancer is an F5 hard load balancer and the second load balancer is an SLB soft load balancer, when the F5 hard load balancer performs health monitoring on the SLB soft load balancer, since the SLB is not an application, F5 cannot directly perform a health check on the SLB. Therefore, in this embodiment, the monitoring module includes: a transmission unit and a judgment unit. Among them,
[0054] The transmission unit is used to execute step S2011: when receiving the service access request sent by the GSLB, send an IP detection message to the second load balancing;
[0055] The judging unit is used to execute step S2014: judging whether a response message returned by the second load balancing device through the new system gateway is received, and if so, sending the service access request to the second load balancing device; if not, updating the second load balancing device.
[0056] Specifically, when the first load balance receives a response message returned by the second load balance through the new system gateway, it means that the second load balance is normal, and the first load balance sends the processed service access request to the corresponding second load balance; when the first load balance does not receive a response message returned by the second load balance through the new system gateway, it means that there is an abnormality in the second load balance, and the second load balance is updated.
[0057] Furthermore, in the above embodiment, the second load balancing includes a transmission module and a conversion module.
[0058] The conversion module is used to execute step S2012: receiving the IP detection message sent by the first load balancing, and performing address conversion on the IP detection message to obtain a domain name detection message;
[0059] The transmission module is used to execute step S2013: forward the domain name detection message to the new system gateway, and after receiving the response message returned by the new system gateway, forward the response message to the first load balancing.
[0060] Specifically, when the second load balancing SLB receives the detection message from the first load balancing F5, it performs address conversion on the detection message from the first load balancing F5, and forwards the converted detection message to the new system gateway. The first load balancing F5 determines the health status of the second load balancing through the response message returned by the new system gateway. For example, when the F5 hard load balancer sends an IP detection message to the SLB, the SLB performs IP conversion on the IP detection message, converts it into a domain name format and forwards it to the new system gateway. The new system gateway returns a response message after receiving the detection message. When F5 receives the response message fed back by the new system gateway, it determines that the SLB connected to it is available, and the service access request can be sent to the SLB; if the response message from the new system gateway is not received, it is determined that the SLB is unavailable and the SLB is updated.
[0061] It can be seen that in the above scheme of the present invention, through double-layer load balancing, when the peripheral system accesses the business system through the old system, the business access request can be automatically forwarded to the new system server or the old system server for processing through the new system gateway installed in the second layer of load balancing, so as to realize smooth switching between the new and old systems. At the same time, the first layer of load balancing is connected to the old system server at the same time, and the business configuration information can be used to determine whether the business access request is directly sent to the old system server for processing; when it needs to be forwarded to the new system for processing, the business access request can be sent to the second layer of load balancing, and forwarded to the new system server for processing through the new system gateway; and when it needs to be switched to the old system server for processing, it can be automatically forwarded according to the set conditions to realize smooth switching between the new and old systems. When rollback is required, quick rollback can be achieved by deleting the second layer of load balancing.
[0062] Each component in the switching system between the old and new systems can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the modules.
[0063] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile and / or volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external client via a network connection. When the computer program is executed by the processor, the function or step of the hardware device or server corresponding to the second load balancing in the above-mentioned switching method between the new and old systems is realized.
[0064] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0065] Obtaining a service access request sent by the first load balancing, and performing a second load balancing process on the service access request sent by the first load balancing; wherein the service access request sent by the first load balancing is obtained after the first load balancing performs the first load balancing process on the service access request sent by the global server load balancing;
[0066] The service access request after the second load balancing processing is forwarded to the corresponding new system gateway, so that the new system gateway performs switching processing on the service access request after the second load balancing processing.
[0067] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0068] Obtaining a service access request sent by the first load balancing, and performing a second load balancing process on the service access request sent by the first load balancing; wherein the service access request sent by the first load balancing is obtained after the first load balancing performs the first load balancing process on the service access request sent by the global server load balancing;
[0069] The service access request after the second load balancing processing is forwarded to the corresponding new system gateway, so that the new system gateway performs switching processing on the service access request after the second load balancing processing.
[0070] It should be noted that the above functions or steps that can be implemented by the computer-readable storage medium or computer device can refer to the relevant descriptions on the server side and the client side in the aforementioned method embodiment. To avoid repetition, they will not be described one by one here.
[0071] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0072] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0073] The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; the non-company software tools or components that appear in the embodiments of this application are merely examples and do not represent actual use. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents; and these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for switching between a new system and an old system, applied to a switching system between a new system and an old system, characterized in that: The switching system of the new and old systems includes: a global server load balance, a plurality of first load balances connected to the global server load balance, a second load balance connected to each first load balance, and a new system gateway connected to the plurality of second load balances; the switching method includes: Obtaining a service access request sent by the first load balancing, and performing a second load balancing process on the service access request sent by the first load balancing; wherein the service access request sent by the first load balancing is obtained after the first load balancing performs the first load balancing process on the service access request sent by the global server load balancing; The service access request after the second load balancing processing is forwarded to the corresponding new system gateway, so that the new system gateway performs switching processing on the service access request after the second load balancing processing.
2. The switching method according to claim 1, characterized in that: in, When each of the first load balancers receives a service access request sent by the global server load balancer, it performs a first load balancing process on the service access request according to the traffic percentage of the service access request sent by the global server load balancer, and sends the service access request after the first load balancing process to the second load balancer in sequence.
3. The switching method according to claim 2, characterized in that: in, When receiving the service access request sent by the first load balancer, each of the second load balancers forwards the service access request sent by the first load balancer to the corresponding new system gateway in sequence, so as to perform second load balancing processing on the service access request sent by the first load balancer.
4. The switching method according to claim 3, characterized in that: in, When receiving the service access request sent by the second load balancing, the new system gateway switches the service access request after the second load balancing according to the service configuration information; wherein the service configuration information is used to determine the system server corresponding to the current service access request.
5. The switching method according to any one of claims 1 to 4, characterized in that: Before obtaining the service access request sent by the first load balancing and performing a second load balancing process on the service access request sent by the first load balancing, the switching method further includes: Receive the monitoring request sent by the first load balancer, forward the monitoring request to the new system gateway, and when receiving the monitoring result returned by the new system gateway, send the monitoring result to the first load balancer.
6. The switching method according to claim 5, characterized in that: The receiving the monitoring request sent by the first load balancer, forwarding the monitoring request to the new system gateway, and sending the monitoring result to the first load balancer when receiving the monitoring result returned by the new system gateway includes: Receive the IP detection message sent by the first load balancing, and perform IP address conversion on the IP detection message to obtain a domain name detection message; The domain name detection message is forwarded to the new system gateway, and when a response message returned by the new system gateway is received, the response message is forwarded to the first load balancer, so that the first load balancer sends a service access request to the corresponding second load balancer after receiving the response message.
7. The switching method according to claim 6, characterized in that: in, If the first load balance receives a response message returned by the second load balance through the new system gateway, the service access request is sent to the second load balance; if not, the second load balance is updated.
8. A switching system between a new system and an old system, characterized in that: include, Global server load balancing, used to receive service access requests and perform global load balancing on the service access requests; A plurality of first load balancers, connected to the global server load balancer, for receiving a service access request sent by the global server load balancer, and performing a first load balancing process on the received service access request; A plurality of second load balancers, connected to the first load balancer correspondingly, configured to receive a service access request sent by the first load balancer, and perform second load balancing processing on the service access request sent by the first load balancer; The new system gateway is connected to each of the second load balancers, and is used to receive the service access requests forwarded after being processed by each of the second load balancers, and perform switching processing on the service access requests forwarded by the second load balancers.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the switching method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the switching method according to any one of claims 1 to 7 are implemented.
