System switching method, storage medium, electronic equipment and program product

By obtaining and comparing the service function information of the old and new systems, and combining the operation information of the client, it decides whether to perform system switching, which solves the problem of low system switching efficiency in the existing technology, and realizes a more efficient and safe system switching process.

CN119806691APending Publication Date: 2025-04-11INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411995309.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

In the prior art, system switching efficiency is low, and there is a risk of resource waste and business interruption, especially in industries with high requirements for data security and business continuity.

Method used

By obtaining service function information of the old and new systems, analyzing the client's operation information, deciding whether to switch the system based on the function information and call service information, and monitoring the service processing status during the switching process, ensuring the security and efficiency of the switching.

Benefits of technology

It improves the efficiency and user experience of system switching, reduces the risks of resource waste and service interruption, and ensures business continuity and data reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119806691A_ABST
    Figure CN119806691A_ABST
Patent Text Reader

Abstract

The invention discloses a system switching method, a storage medium, electronic equipment and a program product. Relates to the field of computer software, can also be applied to the field of financial science and technology, and comprises the following steps: in response to receiving a system switching instruction sent by a client, obtaining first service function information of a first system, second service function information of a second system and operation information of the client for the first system, the system switching instruction is used for switching a first system to a second system, the first service function information is used for representing functions realized by services provided by the first system, and the second service function information is used for representing functions realized by services provided by the second system; analyzing the operation information to obtain calling service information of the client; and determining whether to switch the first system to the second system based on the first service function information, the second service function information and the calling service information. Through the method and the device, the problem of relatively low system switching efficiency in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer software and can also be applied to the field of financial technology. Specifically, it relates to a system switching method, storage medium, electronic device and program product. Background Art

[0002] The traditional system switching process often requires downtime for full data migration and system function verification, which not only consumes a lot of resources, but also may bring the risk of business interruption. Especially in industries with extremely high requirements for data security and business continuity, any mistakes in the switching process may cause huge economic losses and a decline in customer trust.

[0003] The existing technology uses a data double-write mechanism to ensure data consistency by writing data in the new and old systems at the same time. However, in actual applications, this method still has disadvantages such as low efficiency, high cost, and imperfect recovery mechanism when facing failures, resulting in low system switching efficiency in related technologies.

[0004] With regard to the problem of low system switching efficiency in related technologies, no effective solution has been proposed yet. Summary of the invention

[0005] The main purpose of the present application is to provide a system switching method, a storage medium, an electronic device and a program product to solve the problem of low system switching efficiency in the related art.

[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a system switching method is provided. The method comprises: in response to receiving a system switching instruction sent by a client, obtaining first service function information of a first system and second service function information of a second system, as well as operation information of the client for the first system, wherein the system switching instruction is used to switch the first system to the second system, the first service function information is used to indicate the function implemented by the service provided by the first system, and the second service function information is used to indicate the function implemented by the service provided by the second system; parsing the operation information to obtain the calling service information of the client; and determining whether to switch the first system to the second system based on the first service function information, the second service function information and the calling service information.

[0007] Further, based on the first service function information, the second service function information and the calling service information, it is determined whether to switch the first system to the second system, including: in response to the first service function information not matching the calling service information, prohibiting the switching of the first system to the second system; in response to the second service function information matching the calling service information, determining to switch the first system to the second system.

[0008] Furthermore, after determining to switch the first system to the second system, the method further includes: monitoring the service processing state of the second system for calling service information; and switching the second system to the first system in response to the service processing state being in an abnormal state.

[0009] Furthermore, obtaining the first service function information of the first system and the second service function information of the second system includes: obtaining the first system information of the first system and the second system information of the second system; determining the first service information corresponding to the first system based on the first system information, and determining the second service information corresponding to the second system based on the second system information; comparing the first service information and the second service information to determine the difference data items; performing reverse analysis on the difference data items to obtain the first service function information and the second service function information.

[0010] Furthermore, the first service information corresponding to the first system is determined based on the first system information, and the second service information corresponding to the second system is determined based on the second system information, including: determining the first calling parameter information of the first system based on the first system information, and determining the first service information based on the first calling parameter information, wherein the first calling parameter information is used to represent the parameter information of the first calling interface corresponding to the first system; determining the second calling parameter information of the second system based on the second system information, and determining the second service information based on the second calling parameter information, wherein the second calling parameter information is used to represent the parameter information of the second calling interface corresponding to the second system.

[0011] Furthermore, the operation information is parsed to obtain the calling service information of the client, including: determining at least one operation item involved in the operation information; and determining the calling service information according to the calling service corresponding to the at least one operation item.

[0012] Further, determining at least one operation item involved in the operation information includes: acquiring identification information included in the client interface corresponding to the first system according to the operation information; and determining at least one operation item based on the operation information and the identification information.

[0013] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a system switching device is provided. The device includes: an acquisition module, which is used to obtain the first service function information of the first system and the second service function information of the second system in response to receiving the system switching instruction sent by the client, and the operation information of the client for the first system, wherein the system switching instruction is used to switch the first system to the second system, the first service function information is used to indicate the function implemented by the service provided by the first system, and the second service function information is used to indicate the function implemented by the service provided by the second system; a parsing module, which is used to parse the operation information and obtain the calling service information of the client; a determination module, which is used to determine whether to switch the first system to the second system based on the first service function information, the second service function information and the calling service information.

[0014] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a computer-readable storage medium is provided, the computer-readable storage medium including a stored executable program, wherein when the executable program is running, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned system switching method.

[0015] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an electronic device is provided, comprising: a memory storing an executable program; and a processor for running the program, wherein the above-mentioned system switching method is executed when the program is running.

[0016] In order to achieve the above object, according to another aspect of the present application, a computer program product is provided, including a computer program, and the computer program implements the above system switching method when executed by a processor.

[0017] In an embodiment of the present application, after receiving a system switching instruction sent by a client, firstly, the first service function information of the first system and the second service function information of the second system, as well as the operation information of the client on the first system are obtained; then, the operation information is parsed to obtain the calling service information of the client; finally, based on the first service function information, the second service function information and the calling service information, it is determined whether to switch the current first system to the second system. It is easy to notice that after receiving the system switching instruction, the first service function information of the first system and the second service function information of the second system are obtained at the same time, that is, the service function information of the new system and the old system is obtained, and then by comparing the service function information of the old system and the new system, and combining the calling requirements of the client, it is decided whether to switch to the new system, thereby avoiding the waste of resources and possible service interruption caused by unnecessary system switching, improving the efficiency of system switching and user experience, and thus solving the technical problem of low system switching efficiency in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0019] Figure 1 A hardware structure block diagram of a computer terminal for implementing a system switching method is shown;

[0020] Figure 2 is a flow chart of a system switching method according to an embodiment of the present application;

[0021] Figure 3 is a schematic diagram of a system switching device according to an embodiment of the present application;

[0022] Figure 4 It is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] Example 1

[0026] According to an embodiment of the present application, a method embodiment of system switching is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0027] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computer terminal for implementing a system switching method. Figure 1 As shown, the computer terminal 10 (or mobile device) may include one or more (102a, 102b, ..., 102n are used to illustrate) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data, and a transmission device 106 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0028] It should be noted that the one or more processors 102 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10 (or mobile device). As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0029] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the system switching method in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the above-mentioned system switching method is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0030] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 10. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0031] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 (or mobile device).

[0032] Under the above operating environment, this application provides Figure 2 The system switching method shown. Figure 2 1 is a flow chart of a system switching method according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:

[0033] Step S202, in response to receiving a system switching instruction sent by the client, obtaining first service function information of the first system and second service function information of the second system, as well as operation information of the client on the first system, wherein the system switching instruction is used to switch the first system to the second system, the first service function information is used to indicate the functions implemented by the services provided by the first system, and the second service function information is used to indicate the functions implemented by the services provided by the second system.

[0034] The above-mentioned system switching instruction may refer to a command issued by an administrator or an automated operation and maintenance system, which is intended to switch the currently running business system (i.e., the first system) to a new or backup system (i.e., the second system). The system switching instruction may include, but is not limited to, the time point of the switch, the scope of the switch such as full switch or incremental switch, the specific operation steps of the switch, and other information. The specific system switching instruction needs to be determined according to actual needs and system design, and is not limited here. It is the key to triggering the system switching process.

[0035] The above-mentioned first system may refer to a business system that is currently running and providing services. The type of the first system may include but is not limited to a core transaction system, an order processing system of an e-commerce platform, a billing system of a telecom operator, etc. The specific first system needs to be determined based on whether there is a switching requirement, and is not limited here.

[0036] The above-mentioned first service function information may refer to the service functions supported by the first system. The types of the first service function information may include but are not limited to the name, parameters, processing logic, data table structure, etc. of the service. The specific first service function information needs to be determined according to the first system and is not limited here. The first service function information can be used to evaluate the compatibility and functional completeness of the new system, and is an important basis for determining whether the system switch can be performed.

[0037] The above-mentioned second system may refer to a new system or backup system to be switched to. The type of the second system may include but is not limited to a core transaction system, an order processing system of an e-commerce platform, a billing system of a telecom operator, etc. The specific second system needs to be determined based on whether it can replace all the functions of the first system.

[0038] The above-mentioned second service function information may refer to the services and functions provided by the second system. The types of the second service function information may include but are not limited to the name, parameters, processing logic, data table structure, etc. of the service. The specific second service function information needs to be determined according to the second system and is not limited here. The second service function information can be used to compare and verify the service with the first system to ensure that the second system is at least equivalent to the first system in functionality, or even better, which is the key to successful system switching.

[0039] The above operation information may refer to the operation record of the client in the first system. The types of operation information include but are not limited to the user's login information, transaction request, query operation, etc. The specific operation information needs to be determined according to the actual situation and is not limited here. By analyzing the operation information, it can be determined whether the service currently used by the user can be supported in the second system, so as to decide when and how to switch the client system.

[0040] The above-mentioned client may refer to a computer program or device that interacts with the first system or the second system. The type of client may include but is not limited to the user's mobile application, web interface, interface call of a third-party partner, etc. The specific client needs to be determined based on actual usage and is not limited here. The client can be used to dynamically adjust the system it is connected to based on the analysis results of the system switching instructions and operation information, that is, switch from the first system to the second system.

[0041] In an optional embodiment, first, the system automatically captures and analyzes the service function information of the first system and the second system. This information describes in detail the services that the two systems can provide and their functional implementation, and is the key to judging the compatibility and functional completeness of the old and new systems; then, by monitoring the client's operating information on the first system, the system can accurately identify the user's current needs and service usage. Based on the comparison of the first service function information and the second service function information, as well as the in-depth analysis of the operating information, the present application implements on-demand and dynamic system switching, that is, only those users who already have equivalent or optimized services in the second system are smoothly switched from the first system to the second system without affecting other users or services that are still using the first system. This method significantly improves the efficiency and security of the switching process, reduces switching costs, avoids the risk of service interruption that may be caused by full switching, and ensures business continuity and data reliability.

[0042] Step S204, parsing the operation information to obtain the client's calling service information.

[0043] The above-mentioned parsing may refer to converting the original operation data into an understandable and operable format.

[0044] The above-mentioned call service information may refer to the data obtained by the system after extracting and formatting the service call details involved in the request when processing the client request. The call service information contains the client's specific call requirements for the service, such as the service identification, parameters, call frequency, call time, call context and other information, which is the basis for the system to understand the client's needs, evaluate the service status and formulate service response strategies. By parsing the operation information, the system can obtain and analyze the call service information, thereby determining the execution path and optimization direction of the service.

[0045] In an optional embodiment, by accurately parsing the client's operation information, it is possible to intelligently identify and extract the call service information, providing real-time data support for the system switching strategy. This parsing mechanism can not only ensure that when the system is switched, only those client services that are fully supported by the second system are migrated, thereby avoiding unnecessary waste of resources and switching risks, but also dynamically monitor the operating status of the service. Once the second system encounters an abnormality during the service process, it can quickly fall back to the first system to ensure service continuity and data integrity. This strategy greatly improves the efficiency and security of system switching, reduces switching costs, and also enhances user experience, avoiding problems such as service interruption or data loss that may be caused by system updates, and provides a solid technical guarantee for the smooth transition and upgrade of business systems.

[0046] Step S206: Determine whether to switch the first system to the second system based on the first service function information, the second service function information and the calling service information.

[0047] In an optional embodiment, dynamic and safe switching between the old and new systems is achieved through in-depth analysis and intelligent matching of the first service function information, the second service function information, and the calling service information. This method ensures the accuracy and efficiency of system switching, and only switches when the second system can seamlessly take over the service, avoiding service interruption, performance degradation, and resource waste that may be caused by full switching. At the same time, for the client, this strategy ensures the consistency and continuity of the user experience, and users can continue their service activities without noticing even during system upgrades or maintenance.

[0048] In an embodiment of the present application, after receiving a system switching instruction sent by a client, firstly, the first service function information of the first system and the second service function information of the second system, as well as the operation information of the client on the first system are obtained; then, the operation information is parsed to obtain the calling service information of the client; finally, based on the first service function information, the second service function information and the calling service information, it is determined whether to switch the current first system to the second system. It is easy to notice that after receiving the system switching instruction, the first service function information of the first system and the second service function information of the second system are obtained at the same time, that is, the service function information of the new system and the old system is obtained, and then by comparing the service function information of the old system and the new system, and combining the calling requirements of the client, it is decided whether to switch to the new system, thereby avoiding the waste of resources and possible service interruption caused by unnecessary system switching, improving the efficiency of system switching and user experience, and thus solving the technical problem of low system switching efficiency in related technologies.

[0049] Optionally, in the system switching method provided in an embodiment of the present application, whether to switch the first system to the second system is determined based on the first service function information, the second service function information and the calling service information, including: in response to the first service function information not matching the calling service information, prohibiting the first system from being switched to the second system; in response to the second service function information matching the calling service information, determining to switch the first system to the second system.

[0050] In an optional embodiment, the system first checks whether the first service function information is consistent or compatible with the client's current call service information. If a mismatch is found, that is, the first system cannot meet the client's service requirements or the second system has not yet provided the corresponding service, the system will automatically prohibit switching from the first system to the second system, thereby avoiding the risk of service interruption or reduced user experience; on the contrary, if the second service function information matches the client's call service information, it indicates that the second system can fully undertake or optimize the client's current service request. At this time, the system will determine to execute the switch from the first system to the second system to ensure a smooth transition of the service. In the above process, by carefully analyzing the service function information and service call information, the system can automatically identify and match the service, avoiding the service instability and user experience loss that may be caused by blind switching. It not only enhances the security and efficiency of system switching, but also greatly improves the service quality and user experience, providing an innovative technical solution for the smooth transition and continuous optimization of business systems.

[0051] Optionally, in the system switching method provided in an embodiment of the present application, after determining to switch the first system to the second system, the method further includes: monitoring the service processing status of the second system for calling service information; in response to the service processing status being in an abnormal state, switching the second system to the first system.

[0052] The above-mentioned service processing status may refer to the real-time status of the second system processing the service request after receiving the service call information from the client. The service processing status may include but is not limited to the status feedback of each link such as reception, analysis, execution and response of the service request. The type of service processing status may include but is not limited to indicators such as service response time, processing efficiency, resource occupancy, request queue length, error rate, etc. The specific service processing status needs to be determined according to the actual situation and is not limited here. The service processing status can be used for performance monitoring, fault warning, user experience optimization, etc.

[0053] The above-mentioned abnormal state may refer to a situation in which the service performance found in the service processing status monitoring is lower than a preset threshold or the service operation fails. The types of abnormal states may include but are not limited to long service response time, low processing efficiency, excessive resource consumption, frequent errors or service unavailability, etc. The specific abnormal state needs to be determined according to the actual situation and is not limited here. When it is monitored that the service processing state of the second system enters an abnormal state, it indicates that the system may have encountered technical failures, resource bottlenecks or other problems that affect service stability and user experience.

[0054] In an optional embodiment, by real-time monitoring of the service processing status, it is possible to immediately gain insight into the service performance and stability of the system after it switches to the second system. If the service processing status of the second system is detected to be abnormal, the system can respond quickly and automatically roll back the service request to the first system, effectively avoiding business interruptions caused by failures in the second system and ensuring service continuity and data security. In addition, by continuously monitoring and analyzing the service processing status, operation and maintenance personnel can actively optimize system configuration, improve the service quality of the second system, reduce user waiting time, and improve user experience, while reducing system operation and maintenance costs and fault recovery time. From the above, it can be seen that the service processing status monitoring mechanism of the present application not only enhances the security and efficiency of system switching, but also significantly improves service quality and user experience, and is an important technical guarantee for achieving a smooth transition and efficient upgrade of business systems.

[0055] Optionally, in the system switching method provided in the embodiment of the present application, obtaining first service function information of the first system and second service function information of the second system includes: obtaining first system information of the first system and second system information of the second system; determining first service information corresponding to the first system based on the first system information, and determining second service information corresponding to the second system based on the second system information; comparing the first service information and the second service information to determine difference data items; and performing reverse analysis on the difference data items to obtain the first service function information and the second service function information.

[0056] The above-mentioned first system information may refer to the detailed configuration and functional description of the currently running system, namely the first system. The types of the first system information may include but are not limited to system architecture, service interface definition, data processing flow, performance parameters, resource usage, service function list, version information, compatibility information, etc. The specific first system information is determined according to actual conditions and analysis requirements, and is not limited here. The first system information can be used to comprehensively reflect the functional characteristics and operating status of the first system, so as to facilitate subsequent functional comparison with the second system information.

[0057] The above-mentioned second system information may refer to the detailed information of a new system that is about to be deployed or has been deployed but not yet fully enabled, namely, the second system. The types of second system information may include but are not limited to system architecture, service interface definition, data processing flow, performance parameters, resource usage, service function list, version information, compatibility information, etc. The specific second system information is determined according to actual conditions and analysis requirements and is not limited here. The second system information describes the improvements or new functions of the second system compared to the first system, and how to integrate with the existing environment and technology stack.

[0058] The above-mentioned first service information may refer to the detailed information of the service provided in the first system. The first service information may include but is not limited to the name of the service, service function description, service interface, request parameter format, return result format, service processing logic, performance indicators (such as response time, throughput, error rate, etc.), resource consumption and service dependencies, etc. The specific first service needs to be determined according to actual conditions and is not limited here. The first service information can be used to comprehensively reflect the characteristics and operating status of the first system service.

[0059] The above-mentioned second service information may refer to detailed information of the service in the second system. The second service information may include but is not limited to the name of the service, service function description, service interface, request parameter format, return result format, service processing logic, performance indicators (such as response time, throughput, error rate, etc.), resource consumption, and service dependencies, etc. The specific second service needs to be determined according to the actual situation and is not limited here. The second service information can be used to describe the improvement, addition or optimization of the service function of the second system relative to the first system, and how to integrate with the existing environment and technology stack.

[0060] The above-mentioned difference data items may refer to the differences found when comparing the first service information of the first system and the second service information of the second system. The types of difference data items may include but are not limited to service function difference items, parameter configuration difference items, processing logic difference items, performance indicator difference items, etc. The specific difference data items need to be determined according to actual conditions and are not limited here. The determination of the difference data items helps to clearly identify the expansion, optimization or change of the service function of the second system relative to the first system, which is of great significance for guiding system switching, smooth transition of service functions and subsequent system optimization and upgrades.

[0061] The above reverse analysis may refer to an in-depth analysis of the difference data items from the perspectives of service function requirements, user experience, and system stability after determining the difference data items, so as to understand the changes and optimization points in the service functions of the second system relative to the first system. The purpose of the reverse analysis is to guide the formulation of the system switching strategy by deeply understanding the differences in service functions, and to ensure service continuity and user experience during the switching process.

[0062] In an optional embodiment, by acquiring and analyzing the service function information of the first system and the second system, the difference data items are determined, and these difference data items are further reverse analyzed to gain an in-depth understanding of the service function upgrade details of the second system relative to the first system. This analysis method ensures that the second system can reach or exceed the first system in terms of service function coverage and service quality, thereby providing a solid technical foundation for system switching. More importantly, by reverse analyzing the difference data items, the system can formulate a more accurate and secure switching strategy, which not only avoids switching failures caused by service function mismatches, but also ensures the continuity of services and consistency of user experience during the system switching process.

[0063] Optionally, in the system switching method provided in an embodiment of the present application, the first service information corresponding to the first system is determined based on the first system information, and the second service information corresponding to the second system is determined based on the second system information, including: determining the first calling parameter information of the first system based on the first system information, and determining the first service information based on the first calling parameter information, wherein the first calling parameter information is used to represent the parameter information of the first calling interface corresponding to the first system; determining the second calling parameter information of the second system based on the second system information, and determining the second service information based on the second calling parameter information, wherein the second calling parameter information is used to represent the parameter information of the second calling interface corresponding to the second system.

[0064] The above-mentioned first call parameter information may refer to a set of parameters that must be passed when a client calls a specific service interface in the first system. The type of the first call parameter information may include but is not limited to input data required for service execution, such as transaction type, amount, etc., as well as details such as parameter format, type and whether it is a required item. The specific first call parameter information needs to be determined based on the selection of the first call interface, and is not limited here. The role of the first call parameter information may include but is not limited to serving as a bridge for service calls, ensuring the correctness of calls, describing service functions, and fault diagnosis and prevention.

[0065] The above-mentioned first calling interface may refer to the entry point for the first system to communicate with an external client. The first calling interface may be used to define the rules for interaction between the client and the system, including but not limited to the interface's Uniform Resource Locator (URL) path, request header, status code, etc., thereby ensuring that the client can call the service in the correct format and manner.

[0066] The second call parameter information may refer to the parameter information that needs to be passed when the client calls the service interface in the second system. The second call parameter information not only includes the name, type and format of the actual parameter, but also may reflect the improvement or adjustment of the service logic or data processing flow of the new system. The role of the second call parameter information may include but is not limited to serving as a bridge for service calls, ensuring the correctness of calls, describing service functions, fault diagnosis and prevention, etc.

[0067] The above-mentioned second calling interface may refer to the entry point for the second system to communicate with the client. The second calling interface includes but is not limited to the interface's uniform resource locator path, request header, status code, etc. The second calling interface can ensure that the client can effectively communicate with the second system.

[0068] In an optional embodiment, during the process of system upgrade or switching, accurately obtaining and comparing the first call parameter information with the first call interface, and the second call parameter information with the second call interface, is the key to achieving seamless service transition and ensuring client compatibility. Through detailed analysis of this information, it is possible to ensure that the service interface and parameter requirements of the second system are consistent or compatible with the first system, avoiding the need for large-scale adjustment of client code due to interface changes, and reducing the difficulty and cost of system switching. In addition, by comparing the call parameter information, it is possible to identify differences and optimization points in service functions, guide the smooth switching strategy between the old and new systems, and ensure the consistency of service functions and the consistency of user experience. This comparative analysis based on call parameter information and service interfaces significantly improves the efficiency and success rate of system switching, reduces the burden of operation and maintenance, and is an important technical means to achieve smooth transition and efficient upgrade of business systems.

[0069] Optionally, in the system switching method provided in an embodiment of the present application, the operation information is parsed to obtain the client's calling service information, including: determining at least one operation item involved in the operation information; and determining the calling service information according to the calling service corresponding to the at least one operation item.

[0070] The above-mentioned at least one operation item may refer to the business requirements or functional requests expressed by the client through operation information when interacting with the system. The types of operation items may include but are not limited to query operations, update operations, create operations, delete operations, transaction processing, status changes, permission management and other types. The specific operation items need to be determined based on the operation information and are not limited here. The operation items can serve as a bridge for communication between the client and the server. By parsing the operation items in the operation information, the server can understand the client's business needs and perform corresponding service positioning and call preparation.

[0071] The above-mentioned calling service may refer to the service component or module selected and executed by the system according to the parsed operation items. The types of calling services may include but are not limited to atomic services and composite services. Atomic services provide the implementation of a single function, while composite services are based on the combination of multiple atomic services to complete more complex business processes. The calling service is responsible for executing specific operation items, that is, processing user requests according to the functions indicated by the operation items, and completing operations such as querying, updating, creating or deleting data. At the same time, the calling service also includes the definition of the service interface, the setting of parameters, and the formatting of the returned results, etc., to ensure that the data interaction between the system and the client can proceed smoothly.

[0072] In an optional embodiment, by parsing the operation information, the system can quickly identify the business needs of the client, that is, at least one operation item, and then accurately locate the required call service. This not only improves the efficiency of service calls and ensures the accurate match between operation information and call services, but also provides guarantees for the flexibility and scalability of the system. For example, in the process of switching or upgrading between the old and new systems, the system can selectively call services in the new system based on the parsed results of the operation items, or fall back to the services of the old system when necessary, to ensure service continuity and business stability. In addition, this parsing mechanism also enables the system to better respond to the diverse needs of the client, provide more personalized and efficient service responses, and improve user satisfaction and the overall performance level of the system.

[0073] Optionally, in the system switching method provided in an embodiment of the present application, determining at least one operation item involved in the operation information includes: obtaining identification information contained in the client interface corresponding to the first system according to the operation information; and determining at least one operation item based on the operation information and the identification information.

[0074] The above-mentioned identification information may refer to information unique to the client interface. The types of identification information may include but are not limited to page identifiers, operation button identification information, form names and function codes, etc. The specific identification information needs to be determined based on the client interface and is not limited here. The identification information can be used to help the server quickly locate the user's specific operation scenarios in complex business logic, thereby improving the accuracy and efficiency of service calls.

[0075] In an optional embodiment, by parsing the specific parameters in the operation information and combining the identification information to determine at least one operation item, it is possible to ensure that the server accurately understands the user's business needs, and can quickly locate the operation scenario and call the correct service even in complex business processes and changing interface designs. This parsing mechanism based on operation information and identification information not only improves the accuracy and efficiency of service calls, but also reduces the user impact caused by service call errors during system upgrades, ensuring business continuity and consistency of user experience. In addition, by identifying and distinguishing different operation items, the system can better support the implementation of personalized services and complex business logic, and promote the enrichment and optimization of system functions.

[0076] The system switching method provided in the embodiment of the present application, after receiving the system switching instruction, simultaneously obtains the first service function information of the first system and the second service function information of the second system, that is, obtains the service function information of the new system and the old system, and then compares the service function information of the old system and the new system, and at the same time combines the calling requirements of the client to decide whether to switch to the new system, thereby avoiding resource waste and possible service interruption caused by unnecessary system switching, improving the efficiency of system switching and user experience, and thus solving the technical problem of low system switching efficiency in related technologies.

[0077] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0078] Example 2

[0079] The embodiment of the present application also provides a system switching device. It should be noted that the system switching device of the embodiment of the present application can be used to execute the system switching method provided by the embodiment of the present application. The system switching device provided by the embodiment of the present application is introduced below.

[0080] According to an embodiment of the present application, a device for implementing the above system switching method is also provided. Figure 3 is a schematic diagram of a system switching device according to an embodiment of the present application, such as Figure 3As shown, the device includes: an acquisition module 302, which is used to obtain first service function information of the first system and second service function information of the second system, as well as operation information of the client for the first system in response to receiving a system switching instruction sent by the client, wherein the system switching instruction is used to switch the first system to the second system, the first service function information is used to indicate the function implemented by the service provided by the first system, and the second service function information is used to indicate the function implemented by the service provided by the second system; a parsing module 304, which is used to parse the operation information to obtain the calling service information of the client; a determination module 306, which is used to determine whether to switch the first system to the second system based on the first service function information, the second service function information and the calling service information.

[0081] The system switching device provided in the embodiment of the present application, after receiving the system switching instruction, simultaneously obtains the first service function information of the first system and the second service function information of the second system, that is, obtains the service function information of the new system and the old system, and then compares the service function information of the old system and the new system, and at the same time combines the calling requirements of the client to decide whether to switch to the new system, thereby avoiding resource waste and possible service interruption caused by unnecessary system switching, improving the efficiency of system switching and user experience, and thus solving the technical problem of low system switching efficiency in related technologies.

[0082] Optionally, in the system switching device provided in the embodiment of the present application, the determination module includes: a prohibition unit, used to prohibit switching the first system to the second system in response to the first service function information not matching the calling service information; a first determination unit, used to determine to switch the first system to the second system in response to the second service function information matching the calling service information.

[0083] Optionally, in the system switching device provided in the embodiment of the present application, after determining to switch the first system to the second system, the device also includes: a monitoring module for monitoring the service processing status of the second system for calling service information; and a switching module for switching the second system to the first system in response to the service processing status being in an abnormal state.

[0084] Optionally, in the system switching device provided in the embodiment of the present application, the acquisition module includes: an acquisition unit, used to acquire first system information of the first system and second system information of the second system; a second determination unit, used to determine first service information corresponding to the first system based on the first system information, and to determine second service information corresponding to the second system based on the second system information; a third determination unit, used to compare the first service information and the second service information to determine difference data items; and perform reverse analysis on the difference data items to obtain first service function information and second service function information.

[0085] Optionally, in the system switching device provided in the embodiment of the present application, the second determination unit includes: a first determination subunit, used to determine the first call parameter information of the first system based on the first system information, and determine the first service information based on the first call parameter information, wherein the first call parameter information is used to represent the parameter information of the first system corresponding to the first call interface; a second determination subunit, used to determine the second call parameter information of the second system based on the second system information, and determine the second service information based on the second call parameter information, wherein the second call parameter information is used to represent the parameter information of the second system corresponding to the second call interface.

[0086] Optionally, in the system switching device provided in the embodiment of the present application, the parsing module includes: a third determination unit, used to determine at least one operation item involved in the operation information; and a fourth determination unit, used to determine the calling service information according to the calling service corresponding to the at least one operation item.

[0087] Optionally, in the system switching device provided in the embodiment of the present application, the third determination unit includes: an acquisition subunit, used to obtain identification information contained in the client interface corresponding to the first system according to the operation information; and a third determination subunit, used to determine at least one operation item based on the operation information and the identification information.

[0088] It should be noted that the above-mentioned modules or units can be hardware components or software components stored in a memory (e.g., memory 104) and processed by one or more processors (e.g., processors 102a, 102b, ..., 102n), and the above-mentioned modules can also be run as part of the device in the computer terminal 10 provided in Example 1.

[0089] Example 3

[0090] An embodiment of the present application may provide an electronic device, Figure 4 is a structural block diagram of an electronic device according to an embodiment of the present application. Figure 4 As shown, the electronic device may include: one or more ( Figure 4 (only one is shown) processor 402, memory 404, storage controller, and peripheral interface, wherein the peripheral interface is connected to the radio frequency module, audio module and display.

[0091] Among them, the memory can be used to store software programs and modules, such as program instructions / modules corresponding to the methods and devices in the embodiments of the present application, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0092] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: based on the first service function information, the second service function information and the calling service information, determine whether to switch the first system to the second system, including: in response to the first service function information not matching the calling service information, prohibiting the first system from switching to the second system; in response to the second service function information matching the calling service information, determining to switch the first system to the second system.

[0093] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: after determining to switch the first system to the second system, the method also includes: monitoring the service processing status of the second system for calling the service information; in response to the service processing status being in an abnormal state, switching the second system to the first system.

[0094] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: obtain the first service function information of the first system and the second service function information of the second system, including: obtaining the first system information of the first system and the second system information of the second system; determining the first service information corresponding to the first system based on the first system information, and determining the second service information corresponding to the second system based on the second system information; comparing the first service information and the second service information to determine the difference data items; performing reverse analysis on the difference data items to obtain the first service function information and the second service function information.

[0095] The processor can call the information and application programs stored in the memory through the transmission device to perform the following steps: determine the first service information corresponding to the first system based on the first system information, and determine the second service information corresponding to the second system based on the second system information, including: determine the first call parameter information of the first system based on the first system information, and determine the first service information based on the first call parameter information, wherein the first call parameter information is used to represent the parameter information of the first call interface corresponding to the first system; determine the second call parameter information of the second system based on the second system information, and determine the second service information based on the second call parameter information, wherein the second call parameter information is used to represent the parameter information of the second call interface corresponding to the second system.

[0096] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: parse the operation information to obtain the client's calling service information, including: determining at least one operation item involved in the operation information; determining the calling service information based on the calling service corresponding to the at least one operation item.

[0097] The processor can call the information and application stored in the memory through the transmission device to perform the following steps: determine at least one operation item involved in the operation information, including: obtaining identification information contained in the client interface corresponding to the first system according to the operation information; determining at least one operation item based on the operation information and the identification information.

[0098] By adopting the embodiment of the present application, a system switching solution is provided. After receiving the system switching instruction, the first service function information of the first system and the second service function information of the second system are obtained at the same time, that is, the service function information of the new system and the old system are obtained, and then by comparing the service function information of the old system and the new system, and combining the calling requirements of the client, it is decided whether to switch to the new system, thereby avoiding the waste of resources and possible service interruption caused by unnecessary system switching, improving the efficiency of system switching and user experience, and thus solving the technical problem of low system switching efficiency in related technologies.

[0099] It can be understood by those skilled in the art that Figure 4 The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Figure 4 The structure of the electronic device is not limited. Figure 4 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 4 Different configurations are shown.

[0100] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0101] Example 4

[0102] The embodiment of the present application further provides a storage medium. Optionally, in this embodiment, the storage medium can be used to store the program code executed by the system switching method provided in the first embodiment.

[0103] Optionally, in this embodiment, the above storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.

[0104] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing the steps of the system switching method.

[0105] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0106] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0107] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0108] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0109] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0110] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

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

Claims

1. A system switching method, characterized in that: include: In response to receiving a system switching instruction sent by a client, acquiring first service function information of a first system and second service function information of a second system, as well as operation information of the client on the first system, wherein the system switching instruction is used to switch the first system to the second system, the first service function information is used to indicate functions implemented by services provided by the first system, and the second service function information is used to indicate functions implemented by services provided by the second system; Parsing the operation information to obtain the calling service information of the client; Based on the first service function information, the second service function information and the calling service information, it is determined whether to switch the first system to the second system.

2. The method according to claim 1, characterized in that Determining whether to switch the first system to the second system based on the first service function information, the second service function information, and the calling service information includes: In response to the first service function information not matching the calling service information, prohibiting the first system from being switched to the second system; In response to the second service function information matching the calling service information, it is determined to switch the first system to the second system.

3. The method according to claim 2, characterized in that After determining to switch the first system to the second system, the method further includes: Monitoring the service processing status of the second system for the calling service information; In response to the service processing state being in an abnormal state, the second system is switched to the first system.

4. The method according to claim 1, characterized in that Acquiring first service function information of the first system and second service function information of the second system includes: Acquire first system information of the first system and second system information of the second system; Determine first service information corresponding to the first system based on the first system information, and determine second service information corresponding to the second system based on the second system information; comparing the first service information and the second service information to determine difference data items; The difference data items are reversely analyzed to obtain the first service function information and the second service function information.

5. The method according to claim 4, characterized in that Determining first service information corresponding to the first system based on the first system information, and determining second service information corresponding to the second system based on the second system information, includes: Determine first call parameter information of the first system based on the first system information, and determine the first service information based on the first call parameter information, wherein the first call parameter information is used to represent parameter information of the first system corresponding to the first call interface; The second calling parameter information of the second system is determined based on the second system information, and the second service information is determined based on the second calling parameter information, wherein the second calling parameter information is used to represent parameter information of the second system corresponding to the second calling interface.

6. The method according to claim 1, characterized in that Parse the operation information to obtain the client's call service information, including: Determining at least one operation item involved in the operation information; The calling service information is determined according to the calling service corresponding to the at least one operation item.

7. The method according to claim 6, characterized in that Determining at least one operation item involved in the operation information includes: Acquire identification information included in the client interface corresponding to the first system according to the operation information; The at least one operation item is determined based on the operation information and the identification information.

8. A system switching device, characterized in that: include: an acquisition module, configured to acquire, in response to receiving a system switching instruction sent by a client, first service function information of a first system and second service function information of a second system, as well as operation information of the client on the first system, wherein the system switching instruction is used to switch the first system to the second system, the first service function information is used to indicate a function implemented by a service provided by the first system, and the second service function information is used to indicate a function implemented by a service provided by the second system; A parsing module, used to parse the operation information to obtain the calling service information of the client; A determination module is used to determine whether to switch the first system to the second system based on the first service function information, the second service function information and the calling service information.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: include: A memory storing an executable program; A processor, configured to run the program, wherein the program executes the method according to any one of claims 1 to 7 when running.

11. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.