Reconstruction system upgrade switching method and device

By controlling the switching of routes at the routing layer and implementing the conversion between old and new interfaces at the message conversion layer, the problem of data migration risk and business impact in existing system reconstruction methods is solved, and the smooth migration of system functions is achieved.

CN113722290BActive Publication Date: 2025-11-11CHINA CONSTRUCTION BANK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110982740.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-25
Publication Date
2025-11-11
Estimated Expiration
2041-08-25

AI Technical Summary

Technical Problem

Existing system refactoring methods, without affecting the current system operation and production, pose risks of data migration, involve a large amount of development work, have a wide range of business impacts, and lack comprehensive system requirements considerations, making it impossible to achieve a smooth transition.

Method used

By controlling route switching through the routing layer, targeted forwarding of transactions with different functions is achieved, shielding the interface changes of the target system. The conversion between old and new interfaces is achieved through the message conversion layer, and the internal data sharing layer shares the data to be migrated, reducing the impact on the access system.

Benefits of technology

Without affecting the current system operation and production, the system functions can be migrated to reduce or avoid risks such as application shutdown and business failure, thereby reducing the development workload and the scope of impact.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113722290B_ABST
    Figure CN113722290B_ABST
Patent Text Reader

Abstract

This application provides a method and apparatus for reconstructing a system upgrade and switching. The method includes: receiving a system call instruction sent by an access system; masking the newly added interface of the target system according to the existing inter-system interaction interface; and determining the existing system or target system of the corresponding route of the system call instruction according to a preset static routing decision rule; matching communication protocols and message interfaces according to the corresponding route; and performing data source sharing processing on the data to be migrated corresponding to the system call instruction according to the data category after the matching is completed. This application can perform system function migration without affecting the operation and maintenance of the existing system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing, specifically to a method and apparatus for reconstructing system upgrades and switching. Background Technology

[0002] As the system evolves, business complexity increases, and dependencies between components become more complex. This inevitably leads to a problem: when one system is upgraded, it can impact related systems, especially when the service provider's system changes its interface or even undergoes a system rebuild. In such cases, the impact on the channel system is comparable to redeveloping the entire transaction process.

[0003] Specifically, suppose online service system A calls online system B, and online system B in turn calls online system C. If the service interface between online system A and online system C is not changed, and the system framework of online system B is heterogeneously restructured and replaced with online system B1, it will cause various problems affecting the stable operation of the entire system, such as service interruption, data migration, and changes in inter-system identifiers.

[0004] The inventors discovered that existing methods for data migration involving system downtime require static data mirroring migration of parameters, historical details, and other data to maintain system functionality during system reconstruction. Furthermore, since some real-time data requires static mirroring, system application services need to be paused to ensure data integrity and consistency during the migration. Therefore, existing system reconstruction necessitates downtime and data migration, failing to meet the requirements for 24 / 7 uninterrupted high availability. Data migration itself also carries inherent risks and increases the workload for developers. Moreover, the system will be unable to support business operations during downtime and data migration, resulting in significant disruption.

[0005] Furthermore, existing technologies employing peripheral system interface-level change switching methods require modifications to the existing channel system's interface calls during service system changes. This necessitates adapting the existing channel system's interaction interfaces to the newly restructured system to facilitate the switchover of channel system services. Business operations depend on the deployment of both the channel system and the backend restructured system, and this carries inherent risks, significantly impacting business operations. Therefore, the existing system restructuring and migration requires external systems to coordinate routing changes and interface modifications, essentially amounting to a complete redevelopment of the transaction process. This involves a large workload, a wide impact, uncontrollable risks, and lacks a smooth transition.

[0006] Therefore, existing system migration strategies, such as downtime data migration and external system routing switching, are all designed for single-problem risk. They only provide targeted solutions within their respective management scopes, lacking comprehensive system requirements and failing to avoid risks such as system downtime and changes in external systems. Summary of the Invention

[0007] To address the problems in the existing technology, this application provides a method and apparatus for reconfiguring and upgrading a system, which can migrate system functions without affecting the current system operation and maintenance.

[0008] To solve at least one of the above problems, this application provides the following technical solution:

[0009] Firstly, this application provides a method for reconstructing a system upgrade and switching, including:

[0010] Receive system call instructions sent by the access party system, mask the newly added interface of the target system according to the existing system interaction interface, and determine the existing system or target system of the sink corresponding to the system call instruction according to the preset static routing decision rules;

[0011] The communication protocol and message interface are matched according to the corresponding channel, and after the matching is completed, the data to be migrated corresponding to the system call instruction is processed for data source sharing according to the data category.

[0012] Further, determining the current system or target system of the sink corresponding to the system call instruction according to preset static routing decision rules includes:

[0013] Service routes can be marked for single or multiple routing parameters using a preset static configuration file;

[0014] The current system or target system of the sink corresponding to the system call instruction is determined based on the service routing tag.

[0015] Further, the step of matching communication protocols and message interfaces according to the corresponding channel includes:

[0016] If the communication protocol and message interface of the corresponding channel are successfully matched, the message information of the system call instruction will be directly transmitted to the corresponding existing system or target system.

[0017] If the communication protocol and message interface of the corresponding channel do not match, the system call instruction will be converted in terms of communication protocol and the message will be disassembled and reassembled before being sent to the corresponding existing system or target system.

[0018] Furthermore, the step of performing data source sharing processing on the data to be migrated corresponding to the system call instruction according to data category includes:

[0019] Perform at least one of the following data processing operations on the static data to be migrated: one-time import, mirroring, or matching with the existing system and data source;

[0020] For the unrelated periodic data in the data to be migrated, perform a new storage operation according to the data structure;

[0021] The system performs data processing operations to store routing information within the effective data period and trace the current status of related services for the relevant periodic data in the data to be migrated;

[0022] Historical data is obtained from the data to be migrated by accessing historical data sources.

[0023] Secondly, this application provides a reconfiguration system upgrade and switching device, comprising:

[0024] The routing decision module is used to receive system call instructions sent by the access system, mask the newly added interface of the target system according to the existing system interaction interface, and determine the existing system or target system of the sink corresponding to the system call instruction according to the preset static routing decision rules.

[0025] The interface conversion and data sharing module is used to perform communication protocol and message interface matching according to the corresponding gateway, and after the matching is completed, to perform data source sharing processing on the data to be migrated corresponding to the system call instruction according to the data category.

[0026] Furthermore, the routing decision module includes:

[0027] The routing tagging unit is used to tag service routes for one or more routing input parameters using a preset static configuration file.

[0028] The route determination unit is used to determine the current system or target system of the route corresponding to the system call instruction based on the service route tag.

[0029] Furthermore, the interface conversion and data sharing module includes:

[0030] The message direct transmission unit is used to directly transmit the message information of the system call instruction to the corresponding existing system or target system if the communication protocol and message interface of the corresponding channel are successfully matched.

[0031] The information conversion unit is used to convert the communication protocol and disassemble and reassemble the system call instruction and send it to the corresponding existing system or target system if the communication protocol and message interface of the corresponding channel do not match successfully.

[0032] Furthermore, the interface conversion and data sharing module includes:

[0033] The static data sharing unit is used to perform at least one data processing operation on the static data to be migrated, including one-time import, mirroring, and sharing with the existing system and data source.

[0034] An unrelated periodic data sharing unit is used to perform new storage operations on unrelated periodic data in the data to be migrated according to the data structure;

[0035] A related periodic data sharing unit is used to store routing information within the effective data period and perform related service backtracking system data processing operations on the related periodic data in the data to be migrated;

[0036] The historical data sharing unit is used to obtain historical data from the data to be migrated by accessing historical data sources.

[0037] Thirdly, this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the reconfiguration system upgrade and switching method.

[0038] Fourthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the reconfigured system upgrade and switching method.

[0039] As can be seen from the above technical solutions, this application provides a method and apparatus for reconstructing system upgrades and switching. By controlling the switching of routes through the routing layer, it can realize the targeted forwarding function of different functional transactions. It can also shield the target system and shield the interface changes of the target system from the access system. The conversion of old and new interfaces is realized through the message conversion layer, and the internal data sharing layer shares the data to be migrated. This reduces or avoids the impact on the access system and the risks of application shutdown and business failure caused by internal data migration. It can perform system function migration without affecting the current system operation and production. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 This is one of the flowcharts illustrating the system upgrade and switching method in the embodiments of this application;

[0042] Figure 2This is the second flowchart illustrating the system upgrade and switching method in the embodiments of this application;

[0043] Figure 3 This is the third flowchart illustrating the system upgrade and switching method in the embodiments of this application;

[0044] Figure 4 This is the fourth flowchart illustrating the system upgrade and switching method in the embodiments of this application;

[0045] Figure 5 This is one of the structural diagrams of the reconfiguration system upgrade switching device in the embodiments of this application;

[0046] Figure 6 This is the second structural diagram of the reconfiguration system upgrade switching device in the embodiments of this application;

[0047] Figure 7 This is the third structural diagram of the reconfiguration system upgrade switching device in the embodiments of this application;

[0048] Figure 8 This is the fourth structural diagram of the reconfiguration system upgrade switching device in the embodiments of this application;

[0049] Figure 9 This is a schematic diagram of the structure of the electronic device in the embodiments of this application. Detailed Implementation

[0050] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0051] Considering that existing technologies employing downtime data migration methods require the continuation of existing system functionality during system reconstruction, data such as parameters and historical details stored in the current system need to undergo static data aspect mirroring migration. Furthermore, since some real-time data requires static aspects, system application services need to be paused to ensure data integrity and consistency during the migration. Therefore, existing system reconstruction requires downtime and data migration, failing to meet the requirements for 24 / 7 uninterrupted high availability system application services. Data migration itself also carries certain risks and increases the workload for developers. Moreover, the system will be unable to support task operations during downtime and data migration, resulting in significant impact. Additionally, existing technologies using peripheral system interface-level change switching methods require modifications to the existing channel system's call system interfaces when changing service systems. Therefore, the existing channel system needs to adapt and modify its relevant interaction interfaces to cooperate with the newly reconstructed system to complete the service function switchover for the channel system. The operation of the business depends on the deployment of both the channel system and the back-end reconstruction system, which is accompanied by certain risks and can have a significant adverse impact on business operations. Therefore, the existing system reconstruction and migration requires the cooperation of external related systems to switch routes and the development and testing of interface modifications, which is tantamount to developing the transaction from scratch. The workload is large, the impact is wide, the risks and variables are uncontrollable, and there is no smooth transition. This application provides a reconstruction system upgrade and switching method and device. By controlling the switching of routes through the routing layer, it can realize the targeted forwarding function of transactions with different functions. It can also shield the target system and shield the interface changes of the target system from the access system. The conversion of old and new interfaces is realized through the message conversion layer, and the internal data sharing layer shares the data to be migrated. This reduces or avoids the impact on the access system and the risks of application downtime and business failure caused by internal data migration. It can perform system function migration without affecting the operation and production of the existing system.

[0052] To enable system function migration without impacting existing system operation and maintenance, this application provides an embodiment of a system upgrade and switching method, see [link to embodiment]. Figure 1 The system upgrade and switching method specifically includes the following:

[0053] Step S101: Receive the system call instruction sent by the access system, mask the newly added interface of the target system according to the existing system interaction interface, and determine the existing system or target system of the sink corresponding to the system call instruction according to the preset static routing decision rules.

[0054] It is understood that the access system in this application is an upstream system of the existing system, such as a system on the access side or acceptance side of the existing system. Specifically, it can be an external channel system. This application does not specifically limit the specific type of the access system, as long as it is upstream of the existing system.

[0055] It is understood that the existing system described in this application, i.e. the current system, can also be understood as a data "middle platform", which is mainly responsible for system reconstruction.

[0056] It is understood that the target system in this application is a downstream system of the existing system, that is, the downstream system that the target state of the existing system after system reconstruction is connected to. Specifically, it can be a service provider system. This application does not specifically limit the specific type of the target system, as long as it is downstream of the existing system.

[0057] Optionally, this application can add a routing decision layer between the target system and the access system, and shield newly generated interfaces of the target system by using the existing system interaction interface to shield the interface changes between internal and external systems. At the same time, static routing decision can be added to complete the switching between the current system and the target system as needed according to different transaction functions.

[0058] For example, suppose the current system service is A1 and the target system service is A2. The current system service A is replaced by a routing shield layer. A and A1 are consistent in terms of communication protocol and message interface. After service A is accessed through a channel, it is marked with service routes by single or multiple routing parameters (account, channel number, merchant number, transaction number, channel type, etc.) through static configuration files (whitelist, proportional modulo, etc.). Finally, the service routing decision is made based on the routing marks to either the current system service A1 or the target system service A2.

[0059] Specifically, this can include: Service A uses a whitelist to distribute traffic; routes within the whitelist are marked and redirected to the target system Service A2; routes outside the whitelist are marked and redirected to the existing system Service A1; the routing function can combine other filtering and classification parameters as needed to classify and mark routes.

[0060] Step S102: Perform communication protocol and message interface matching according to the corresponding channel, and after the matching is completed, perform data source sharing processing on the data to be migrated corresponding to the system call instruction according to the data category.

[0061] Optionally, during system reconstruction, due to technological innovation and new business requirements, the externally released transaction interfaces may change, and even the communication protocols may differ. To minimize the impact on the channel calling system and achieve a smooth transition, it is necessary to convert between the old and new messages between the channel calling system and the reconstructed system to ensure compatibility with the old message interface used by the channels, without requiring any modifications to the channels.

[0062] For example, suppose the current system service is A1 and the target system service is A2. The current system service A is replaced by the routing shield layer. A and A1 are consistent in terms of communication protocol and message interface. After the service enters the routing layer and is marked, the communication protocol and message interface are matched according to the selected route. If they are the same, the original message information can be directly transmitted. If they are different, the protocol is converted and the message is disassembled and reassembled according to the conversion needs.

[0063] Specifically, this may include: A1 service uses XML format; A2 service uses JSON format; A generally uses XML format with A1 service; if the communication rules between A and A1 meet, direct message transmission can be considered; if not, message interface conversion, XML decomposition, reassembly, and XML forwarding are performed; message interface conversion, XML decomposition, reassembly, and XML forwarding are performed between A and A2.

[0064] Optionally, this application may also classify the data based on the system analysis of the data to be migrated, mainly dividing it into the following categories for independent processing:

[0065] 1. Static data: Parameters and other static aspect data are imported into the new system in one go according to usage requirements (parameters are exported from the current system and then converted and initialized to the target system in one go), mirrored (parameters are exported from the current system and then directly imported into the target system - parameter isomorphism), or processed using the same data source as the current system (the target system is processed using the same parameter data source as the current system).

[0066] 2. Unrelated periodic data: The new system creates new storage based on the new data structure, which is independent of the existing system.

[0067] 3. Related periodic data:

[0068] The target system interface shielding layer stores routing information within the valid data period of the existing system through interfaces and the same data source.

[0069] Within the effective period: Related service retrospective status system data, specifically including:

[0070] (1) The application management data sharing module queries and processes related service data in the existing system through interface calls to support the consistency of related services.

[0071] (2) The application management data sharing module performs related service data query and processing through the direct access method of the current target system data source to support the consistency of related services.

[0072] Expiration of the effective period: All switched data is processed by the target system.

[0073] 4. Historical data: The newly constructed system accesses historical data through interfaces and the same data source scheme according to the existing system rules (accessing historical data sources for processing, without migration).

[0074] Therefore, based on data classification and corresponding solutions, corresponding data source sharing processing is carried out to mitigate the impact of data migration on the current system application shutdown.

[0075] As can be seen from the above description, the system upgrade and switching method provided in this application can control the switching of routes through the routing layer to realize the targeted forwarding function of different functional transactions. It can also shield the target system and shield the interface change of the target system from the access system. The conversion of the old and new interfaces is realized through the message conversion layer, and the internal data sharing layer shares the data to be migrated. This reduces or avoids the impact on the access system and the risks of application shutdown and business failure caused by internal data migration. It can perform system function migration without affecting the current system operation and maintenance.

[0076] In order to accurately determine the current system or target system of the bank corresponding to the system call instruction, in one embodiment of the system upgrade and switching method of this application, see [link to relevant documentation]. Figure 2 The above step S101 may also specifically include the following:

[0077] Step S201: Mark service routes for one or more routing input parameters using a preset static configuration file.

[0078] Step S202: Determine the current system or target system of the sink corresponding to the system call instruction based on the service routing tag.

[0079] For example, suppose the current system service is A1 and the target system service is A2. The current system service A is replaced by a routing shield layer. A and A1 are consistent in terms of communication protocol and message interface. After service A is accessed through a channel, it is marked with service routes by single or multiple routing parameters (account, channel number, merchant number, transaction number, channel type, etc.) through static configuration files (whitelist, proportional modulo, etc.). Finally, the service routing decision is made based on the routing marks to either the current system service A1 or the target system service A2.

[0080] Specifically, this can include: Service A uses a whitelist to distribute traffic; routes within the whitelist are marked and redirected to the target system Service A2; routes outside the whitelist are marked and redirected to the existing system Service A1; the routing function can combine other filtering and classification parameters as needed to classify and mark routes.

[0081] In order to accurately match communication protocols and message interfaces, in one embodiment of the reconfiguration system upgrade and switching method of this application, see [reference needed]. Figure 3The above step S102 may also specifically include the following:

[0082] Step S301: If the communication protocol and message interface of the corresponding channel are successfully matched, the message information of the system call instruction is directly transmitted to the corresponding existing system or target system.

[0083] Step S302: If the communication protocol and message interface of the corresponding channel do not match successfully, the system call instruction is converted in terms of communication protocol and the message is disassembled and reassembled before being sent to the corresponding existing system or target system.

[0084] For example, suppose the current system service is A1 and the target system service is A2. The current system service A is replaced by the routing shield layer. A and A1 are consistent in terms of communication protocol and message interface. After the service enters the routing layer and is marked, the communication protocol and message interface are matched according to the selected route. If they are the same, the original message information can be directly transmitted. If they are different, the protocol is converted and the message is disassembled and reassembled according to the conversion needs.

[0085] Specifically, this may include: A1 service uses XML format; A2 service uses JSON format; A generally uses XML format with A1 service; if the communication rules between A and A1 meet, direct message transmission can be considered; if not, message interface conversion, XML decomposition, reassembly, and XML forwarding are performed; message interface conversion, XML decomposition, reassembly, and XML forwarding are performed between A and A2.

[0086] To ensure accurate data source sharing processing, in one embodiment of the system upgrade and switching method of this application, see [reference needed]. Figure 4 The above step S102 may also specifically include the following:

[0087] Step S401: Perform at least one data processing operation on the static data to be migrated, including one-time import, mirroring, and matching the current system with the same data source.

[0088] Step S402: Perform a new storage operation on the unrelated periodic data in the data to be migrated according to the data structure.

[0089] Step S403: Perform routing information storage and related service backtracking system data processing operations on the relevant periodic data in the data to be migrated within the data validity period.

[0090] Step S404: Obtain historical data from the data to be migrated by accessing the historical data source.

[0091] Optionally, this application may also classify the data based on the system analysis of the data to be migrated, mainly dividing it into the following categories for independent processing:

[0092] 1. Static data: Parameters and other static aspect data are imported into the new system in one go according to usage requirements (parameters are exported from the current system and then converted and initialized to the target system in one go), mirrored (parameters are exported from the current system and then directly imported into the target system - parameter isomorphism), or processed using the same data source as the current system (the target system is processed using the same parameter data source as the current system).

[0093] 2. Unrelated periodic data: The new system creates new storage based on the new data structure, which is independent of the existing system.

[0094] 3. Related periodic data:

[0095] The target system interface shielding layer stores routing information within the valid data period of the existing system through interfaces and the same data source.

[0096] Within the effective period: Related service retrospective status system data, specifically including:

[0097] (1) The application management data sharing module queries and processes related service data in the existing system through interface calls to support the consistency of related services.

[0098] (2) The application management data sharing module performs related service data query and processing through the direct access method of the current target system data source to support the consistency of related services.

[0099] Expiration of the effective period: All switched data is processed by the target system.

[0100] 4. Historical data: The newly constructed system accesses historical data through interfaces and the same data source scheme according to the existing system rules (accessing historical data sources for processing, without migration).

[0101] Therefore, based on data classification and corresponding solutions, corresponding data source sharing processing is carried out to mitigate the impact of data migration on the current system application shutdown.

[0102] To enable system function migration without impacting existing system operation and maintenance, this application provides an embodiment of a system upgrade and switching device for implementing all or part of the aforementioned system upgrade and switching method. See [link to embodiment]. Figure 5 The reconfiguration system upgrade and switching device specifically includes the following components:

[0103] The routing decision module 10 is used to receive system call instructions sent by the access system, mask the newly added interface of the target system according to the existing system interaction interface, and determine the existing system or target system of the sink corresponding to the system call instruction according to the preset static routing decision rules.

[0104] The interface conversion and data sharing module 20 is used to perform communication protocol and message interface matching according to the corresponding channel, and after the matching is completed, to perform data source sharing processing on the data to be migrated corresponding to the system call instruction according to the data category.

[0105] As can be seen from the above description, the reconfiguration system upgrade and switching device provided in this application embodiment can control the switching of routes through the routing layer to realize the targeted forwarding function of different functional transactions. It can also shield the target system and shield the interface change of the target system from the access system. The conversion of the old and new interfaces is realized through the message conversion layer, and the internal data sharing layer shares the data to be migrated. This reduces or avoids the impact on the access system and the risks of application shutdown and business failure caused by internal data migration. It can perform system function migration without affecting the current system operation and maintenance.

[0106] In order to accurately determine the current system or target system of the bank corresponding to the system call instruction, in one embodiment of the reconfiguration system upgrade and switching device of this application, see [reference needed]. Figure 6 The routing decision module 10 includes:

[0107] The routing labeling unit 11 is used to label one or more routing input parameters as service routes using a preset static configuration file.

[0108] The route determination unit 12 is used to determine the current system or target system of the route corresponding to the system call instruction based on the service route tag.

[0109] In order to accurately match communication protocols and message interfaces, in one embodiment of the reconfiguration system upgrade and switching device of this application, see [reference needed]. Figure 7 The interface conversion and data sharing module 20 includes:

[0110] The message direct transmission unit 21 is used to directly transmit the message information of the system call instruction to the corresponding existing system or target system if the communication protocol and message interface of the corresponding channel are successfully matched.

[0111] The information conversion unit 22 is used to convert the communication protocol and disassemble and reassemble the system call instruction and send it to the corresponding existing system or target system if the communication protocol and message interface of the corresponding channel do not match successfully.

[0112] In order to accurately perform data source sharing processing, in one embodiment of the reconfiguration system upgrade and switching device of this application, see [reference needed]. Figure 8 The interface conversion and data sharing module 20 includes:

[0113] The static data sharing unit 23 is used to perform at least one data processing operation on the static data to be migrated, including one-time import, mirroring, and sharing with the existing system and data source.

[0114] The unrelated periodic data sharing unit 24 is used to perform new storage operations on the unrelated periodic data in the data to be migrated according to the data structure.

[0115] The related periodic data sharing unit 25 is used to store routing information within the effective period of the data and perform related service backtracking system data processing operations on the related periodic data in the data to be migrated.

[0116] The historical data sharing unit 26 is used to obtain historical data from the data to be migrated by accessing historical data sources.

[0117] From a hardware perspective, in order to migrate system functions without affecting the current system operation and maintenance, this application provides an embodiment of an electronic device for implementing all or part of the aforementioned reconstructed system upgrade and switching method. The electronic device specifically includes the following components:

[0118] The system includes a processor, memory, a communications interface, and a bus. The processor, memory, and communications interface communicate with each other via the bus. The communications interface is used to transmit information between the system upgrade and switching device and core business systems, user terminals, and related databases. The logic controller can be a desktop computer, tablet computer, or mobile terminal, but this embodiment is not limited to these. In this embodiment, the logic controller can be implemented with reference to the embodiments of the system upgrade and switching method and the system upgrade and switching device described in the previous embodiments; their contents are incorporated herein, and repeated details are not described again.

[0119] It is understood that the user terminal may include smartphones, tablet computers, network set-top boxes, portable computers, desktop computers, personal digital assistants (PDAs), in-vehicle devices, smart wearable devices, etc. Among these, the smart wearable devices may include smart glasses, smartwatches, smart bracelets, etc.

[0120] In practical applications, the refactoring of the system upgrade and switching method can be performed on the electronic device side as described above, or all operations can be completed on the client device. The choice can be made based on the processing power of the client device and the limitations of the user's usage scenario. This application does not impose any limitations on this. If all operations are completed on the client device, the client device may further include a processor.

[0121] The aforementioned client device may have a communication module (i.e., a communication unit) that can communicate with a remote server to achieve data transmission. The server may include a server on the task scheduling center side; in other implementation scenarios, it may also include a server on an intermediate platform, such as a server on a third-party server platform that has a communication link with the task scheduling center server. The server may include a single computer device, a server cluster consisting of multiple servers, or a distributed server structure.

[0122] Figure 9 This is a schematic block diagram illustrating the system configuration of the electronic device 9600 according to an embodiment of this application. Figure 9 As shown, the electronic device 9600 may include a central processing unit 9100 and a memory 9140; the memory 9140 is coupled to the central processing unit 9100. It is worth noting that... Figure 9 This is an example; other types of structures can also be used to supplement or replace this structure to achieve telecommunications functions or other functions.

[0123] In one embodiment, the reconfiguration system upgrade switching method function can be integrated into the central processing unit 9100.

[0124] The central processing unit 9100 can be configured to perform the following controls:

[0125] Step S101: Receive the system call instruction sent by the access system, mask the newly added interface of the target system according to the existing system interaction interface, and determine the existing system or target system of the sink corresponding to the system call instruction according to the preset static routing decision rules.

[0126] Step S102: Perform communication protocol and message interface matching according to the corresponding channel, and after the matching is completed, perform data source sharing processing on the data to be migrated corresponding to the system call instruction according to the data category.

[0127] As can be seen from the above description, the electronic device provided in this application embodiment can switch routes through the routing layer to realize the targeted forwarding function of different functional transactions. It can also shield the target system and shield the interface change of the target system from the access system. The conversion of the old and new interfaces is realized through the message conversion layer, and the internal data sharing layer shares the data to be migrated. This reduces or avoids the impact on the access system and the risks of application shutdown and business failure caused by internal data migration. It can perform system function migration without affecting the current system operation and maintenance.

[0128] In another embodiment, the reconfiguration system upgrade switching device can be configured separately from the central processing unit 9100. For example, the reconfiguration system upgrade switching device can be configured as a chip connected to the central processing unit 9100, and the reconfiguration system upgrade switching method function can be implemented through the control of the central processing unit.

[0129] like Figure 9 As shown, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is worth noting that the electronic device 9600 does not necessarily need to include these components. Figure 9 All components shown; in addition, the electronic device 9600 may also include Figure 9 For components not shown, please refer to existing technologies.

[0130] like Figure 9 As shown, the central processing unit 9100, sometimes also referred to as a controller or operating control, may include a microprocessor or other processor device and / or logic device, which receives inputs and controls the operation of various components of the electronic device 9600.

[0131] The memory 9140 may be, for example, one or more of a cache, flash memory, hard drive, removable media, volatile memory, non-volatile memory, or other suitable devices. It may store the aforementioned failure-related information, and also store a program for executing that information. The central processing unit 9100 may execute the program stored in the memory 9140 to perform information storage or processing, etc.

[0132] Input unit 9120 provides input to central processing unit 9100. Input unit 9120 may be, for example, a keypad or touch input device. Power supply 9170 provides power to electronic device 9600. Display 9160 displays images and text. Display may be, for example, an LCD display, but is not limited thereto.

[0133] The memory 9140 can be a solid-state memory, such as a read-only memory (ROM), random access memory (RAM), a SIM card, etc. It can also be a memory that retains information even when power is off, can be selectively erased, and contains more data; examples of this type of memory are sometimes referred to as EPROMs. The memory 9140 can also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application / function storage unit 9142 for storing application programs and function programs or processes for executing the operation of the electronic device 9600 via the central processing unit 9100.

[0134] The memory 9140 may also include a data storage unit 9143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 9144 of the memory 9140 may include various drivers for the electronic device's communication functions and / or for performing other functions of the electronic device (such as messaging applications, address book applications, etc.).

[0135] The communication module 9110 is a transmitter / receiver 9110 that transmits and receives signals via the antenna 9111. The communication module (transmitter / receiver) 9110 is coupled to the central processing unit 9100 to provide input signals and receive output signals, which can be the same as in a conventional mobile communication terminal.

[0136] Embodiments of this application also provide a computer-readable storage medium capable of implementing all steps of the refactoring system upgrade and switching method with the execution subject being a server or client in the above embodiments. The computer-readable storage medium stores a computer program that, when executed by a processor, implements all steps of the refactoring system upgrade and switching method with the execution subject being a server or client in the above embodiments. For example, when the processor executes the computer program, it implements the following steps:

[0137] Step S101: Receive the system call instruction sent by the access system, mask the newly added interface of the target system according to the existing system interaction interface, and determine the existing system or target system of the sink corresponding to the system call instruction according to the preset static routing decision rules.

[0138] Step S102: Perform communication protocol and message interface matching according to the corresponding channel, and after the matching is completed, perform data source sharing processing on the data to be migrated corresponding to the system call instruction according to the data category.

[0139] As can be seen from the above description, the computer-readable storage medium provided in this application embodiment can switch routes through the routing layer to realize the targeted forwarding function of different functional transactions. It can also shield the target system and shield the interface change of the target system from the access system. The conversion of the old and new interfaces is realized through the message conversion layer, and the internal data sharing layer shares the data to be migrated. This reduces or avoids the impact on the access system and the risks of application shutdown and business failure caused by internal data migration. It can perform system function migration without affecting the current system operation and maintenance.

[0140] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0141] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0142] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0143] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0144] Specific embodiments have been used to illustrate the principles and implementation methods of this invention. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this invention. Therefore, the content of this specification should not be construed as a limitation of this invention.

Claims

1. A method for reconfiguring, upgrading, and switching systems, characterized in that: The method includes: The system receives system call instructions from the access system, performs interface masking on the newly added interfaces of the target system based on the existing system interaction interfaces, and determines the existing system or target system of the sink corresponding to the system call instructions according to the preset static routing decision rules. The interface masking aims to shield the access system from the interface changes of the target system. The communication protocol and message interface are matched according to the corresponding channel, and after the matching is completed, the data to be migrated corresponding to the system call instruction is processed for data source sharing according to the data category. The step of matching communication protocols and message interfaces according to the corresponding channel includes: If the communication protocol and message interface of the corresponding channel are successfully matched, the message information of the system call instruction will be directly transmitted to the corresponding existing system or target system. If the communication protocol and message interface of the corresponding channel do not match, the system call instruction will be converted in terms of communication protocol and the message will be disassembled and reassembled before being sent to the corresponding existing system or target system. The process of sharing data sources for the data to be migrated corresponding to the system call instruction according to data category includes: Perform at least one of the following data processing operations on the static data to be migrated: one-time import, mirroring, or matching with the existing system and data source; For the unrelated periodic data in the data to be migrated, perform a new storage operation according to the data structure; The system performs data processing operations to store routing information within the effective data period and trace the current status of related services for the relevant periodic data in the data to be migrated; Historical data is obtained from the data to be migrated by accessing historical data sources.

2. The system upgrade and switching method according to claim 1, characterized in that, The step of determining the current system or target system of the sink corresponding to the system call instruction according to the preset static routing decision rules includes: Service routes can be marked for single or multiple routing parameters using a preset static configuration file; The current system or target system of the sink corresponding to the system call instruction is determined based on the service routing tag.

3. A reconfigurable system upgrade and switching device, characterized in that, include: The routing decision module is used to receive system call instructions sent by the access system, mask the newly added interfaces of the target system according to the existing system interaction interfaces, and determine the existing system or target system of the sink corresponding to the system call instruction according to the preset static routing decision rules. The interface masking is intended to shield the access system from the interface changes of the target system. The interface conversion and data sharing module is used to match the communication protocol and message interface according to the corresponding channel, and after the matching is completed, to perform data source sharing processing on the data to be migrated corresponding to the system call instruction according to the data category. The interface conversion and data sharing module includes: The message direct transmission unit is used to directly transmit the message information of the system call instruction to the corresponding existing system or target system if the communication protocol and message interface of the corresponding channel are successfully matched. The information conversion unit is used to convert the communication protocol and disassemble and reassemble the system call instruction and send it to the corresponding existing system or target system if the communication protocol and message interface of the corresponding channel do not match successfully. The interface conversion and data sharing module includes: The static data sharing unit is used to perform at least one data processing operation on the static data to be migrated, including one-time import, mirroring, and sharing with the existing system and data source. An unrelated periodic data sharing unit is used to perform new storage operations on unrelated periodic data in the data to be migrated according to the data structure; A related periodic data sharing unit is used to store routing information within the effective data period and perform related service backtracking system data processing operations on the related periodic data in the data to be migrated; The historical data sharing unit is used to obtain historical data from the data to be migrated by accessing historical data sources.

4. The reconfiguration system upgrade and switching device according to claim 3, characterized in that, The routing decision module includes: The routing tagging unit is used to tag service routes for one or more routing input parameters using a preset static configuration file. The route determination unit is used to determine the current system or target system of the route corresponding to the system call instruction based on the service route tag.

5. An electronic 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 program, it implements the steps of the reconfiguration system upgrade and switching method according to any one of claims 1 to 2.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the reconfiguration system upgrade switching method according to any one of claims 1 to 2.

Citation Information

Patent Citations

  • System reconstruction method and device and electronic equipment

    CN112015469A

  • Heterogeneous object storage cluster access method, device and equipment and storage medium

    CN112052222A