Information credential reconstruction method, device and equipment

By replacing and deploying domestically produced middleware in the trading system and migrating the database to a domestic database for parallel operation, the problems of long cycles and concentrated risks in the transformation of information technology innovation were solved, achieving a smooth transition with high efficiency and low risk, and ensuring the business continuity and stability of the fund trading system.

CN121807800APending Publication Date: 2026-04-07PICC INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-27
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

Existing IT innovation transformation solutions suffer from problems such as long transformation cycles, huge workloads, delayed verification and concentrated risks, strong generality but insufficient specificity, and an unsmooth transition process, especially in fund trading systems where it is difficult to achieve efficient, low-risk, and smooth transition.

Method used

First, the non-functional middleware of the trading system is replaced and deployed with domestic alternatives to obtain the first trading system. Then, the database is migrated to a domestic database and the SQL statements and stored procedures are converted into compatible code. The trading system and the second trading system are run in parallel, and real-time verification is performed through intelligent gateway services and data dual-write mechanisms. Finally, the system is switched to the second trading system under preset stability conditions.

Benefits of technology

This shortened the transformation cycle, enabled early and continuous verification of transformation effects, ensured business continuity and stability, and maximized the smooth and lossless system switchover.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121807800A_ABST
    Figure CN121807800A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a credential reconstruction method, device and equipment. In the embodiment of the invention, the non-functional middleware of the transaction system can be subjected to localized replacement and deployment to obtain a first transaction system, and the non-functional middleware comprises an application server container, a cache cluster, a load balancer and a service monitoring component; migrating a database corresponding to the first transaction system from a non-domestic database to a domestic database, and converting SQL statements and storage processes, related to the non-domestic database, of the first transaction system into codes compatible with the domestic database to obtain a second transaction system; and distributing a service request to the transaction system and the second transaction system at the same time to enable the transaction system and the second transaction system to run in parallel, and switching the service request to the second transaction system when the transaction system and the second transaction system run in parallel to a preset stability switching condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and in particular to a novel modification method, apparatus and device. Background Technology

[0002] With the deepening of information technology application innovation (hereinafter referred to as "IT innovation"), the localization of financial industry application systems has become a key link in ensuring national information security and technological self-reliance. As a core business system in the financial field, the IT innovation transformation of fund trading systems typically involves multiple levels, including basic hardware, middleware, databases, and application architecture.

[0003] Currently, typical IT innovation transformation solutions in the industry generally cover the following aspects: First, basic hardware transformation, which involves replacing servers, chips, and operating systems with domestically produced products, such as replacing the Linux system with the Kylin V10 operating system. Second, middleware transformation, replacing existing application servers such as Tomcat with domestic middleware such as TongWeb and Baolande, and replacing databases from Oracle and MySQL with domestic databases such as DM and Gauss. Third, architectural transformation, aiming to improve the system's high availability and scalability, such as introducing Nginx for load balancing, deploying multi-node services, building a master-slave replication architecture, and integrating a service monitoring system. Finally, application service transformation, involving code-level adaptation, including replacing international encryption algorithms (such as AES and DES) with Chinese cryptographic algorithms (such as SM2), and adjusting the characteristics of the code that depend on specific middleware or databases.

[0004] However, the existing transformation solutions mentioned above have drawbacks such as long transformation cycles, huge workloads, delayed verification and concentrated risks, strong generality but insufficient specificity, and an uneven transition process. Therefore, there is an urgent need in this field for a domestic IT innovation transformation method that can effectively solve the above problems and achieve efficient, low-risk, and smooth transition, tailored to the characteristics of fund trading systems. Summary of the Invention

[0005] This application provides a novel method, apparatus, and equipment for achieving efficient, low-risk, and smooth transition of information technology innovation transformation.

[0006] This application provides a method for information technology innovation transformation, including: The non-functional middleware of the transaction system is replaced and deployed with domestically produced components to obtain the first transaction system. The non-functional middleware includes application server containers, cache clusters, load balancers, and service monitoring components. The database corresponding to the first transaction system is migrated from a non-domestic database to a domestic database, and the SQL statements and stored procedures related to the first transaction system and the non-domestic database are converted into code compatible with the domestic database to obtain the second transaction system; The business request is simultaneously distributed to the transaction system and the second transaction system, so that the transaction system and the second transaction system can run in parallel, and when the transaction system and the second transaction system are running in parallel to a preset stability switching condition, the business request is switched to the second transaction system.

[0007] This application also provides a device for upgrading information technology applications, including: The replacement module is used to replace and deploy the non-functional middleware of the trading system with domestically produced components to obtain the first trading system. The non-functional middleware includes application server containers, cache clusters, load balancers, and service monitoring components. The conversion module is used to migrate the database corresponding to the first transaction system from a non-domestic database to a domestic database, and to convert the SQL statements and stored procedures of the first transaction system related to the non-domestic database into code compatible with the domestic database, so as to obtain the second transaction system. The switching module is used to simultaneously distribute business requests to the transaction system and the second transaction system, so that the transaction system and the second transaction system can run in parallel, and to switch the business requests to the second transaction system when the transaction system and the second transaction system are running in parallel to a preset stability switching condition.

[0008] This application also provides an electronic device, including: a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. The processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, they perform the steps in the information technology innovation transformation method provided in this application.

[0009] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to implement the steps in the information technology innovation transformation method provided in this application.

[0010] This application also provides a computer program product, which stores instructions that, when executed by a computer, cause the computer to perform the steps in the information technology innovation transformation method provided in this application.

[0011] The information technology innovation transformation method provided in this application first replaces and deploys the non-functional middleware of the transaction system with domestic alternatives, resulting in a first transaction system. This separates the transformation of middleware that is not involved in business logic, is relatively independent, and has controllable risks, allowing it to be deployed as an independent and rapidly deployable stage, thus shortening the overall transformation project cycle and solving the problems of long cycles and concentrated risks. Next, the database corresponding to the first transaction system is migrated from a non-domestic database to a domestic database. The SQL statements and stored procedures related to the non-domestic database in the first transaction system are converted into code compatible with the domestic database, resulting in a second transaction system. Business requests are simultaneously distributed to both the first and second transaction systems, enabling them to run in parallel. This allows the second transaction system to continuously compare results with the mature and stable original system without interrupting business operations, enabling real-time and accurate detection and location of any functional or data flaws in the new transaction system, achieving early and continuous verification of the transformation effect. Finally, when the first and second transaction systems run in parallel to a preset stability switching condition, business requests are switched to the second transaction system, achieving a smooth and lossless switch from the old transaction system to the new one, maximizing business continuity and stability. Attached Figure Description

[0012] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings: Figure 1 A flowchart illustrating the information technology innovation transformation method provided as an exemplary embodiment of this application; Figure 2 A schematic diagram illustrating the localization replacement and deployment of non-functional middleware in a transaction system in an exemplary embodiment of this application. Figure 3 A schematic diagram illustrating the transformation process of the second transaction system in the information technology innovation transformation method provided as an exemplary embodiment of this application; Figure 4 A schematic diagram of the structure of an information technology innovation transformation device provided as an exemplary embodiment of this application; Figure 5 This is a schematic diagram of the structure of an electronic device provided as an exemplary embodiment of this application. Detailed Implementation

[0013] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0014] The following is a description of the terms used in this application: Information technology innovation transformation refers to the comprehensive or partial replacement of information technology application systems in key national industries and fields (such as finance, telecommunications, government affairs, energy, etc.) with domestically produced components, from the underlying hardware to the upper-level software, in order to build an independent and controllable information technology system.

[0015] As described in the background section, existing transformation solutions suffer from drawbacks such as long transformation cycles, massive workloads, delayed verification and concentrated risks, strong generality but insufficient specificity, and an unsmooth transition process. These drawbacks are as follows: Delayed verification and concentrated risks: The verification of the transformation effect depends entirely on the actual operation after the final launch. It is impossible to use real production traffic for verification in stages and early stages during the transformation process, which causes potential problems to be exposed in the later stage of the project, resulting in high switching risks.

[0016] The solutions are generally applicable but lack specificity: Systems in different business domains differ in architecture and business logic, especially fund trading systems which are characterized by high concurrency, high real-time performance, and strong data consistency. General-purpose transformation solutions struggle to perfectly adapt to their C-end trading characteristics, particularly in details such as database SQL syntax compatibility and stored procedure conversion, lacking efficient and precise automated adaptation methods. Currently, common SQL adaptation methods often rely on manual intervention or scripts based on fixed rules, which are inefficient, error-prone, and unable to intelligently handle the restructuring of complex query logic.

[0017] The switching process is not smooth enough: When switching systems, there is a lack of effective data consistency guarantees and traffic canary switching mechanisms, which can easily lead to service interruptions due to data inconsistencies or unknown compatibility issues, affecting the continuity and stability of business.

[0018] To address this, this application provides a method, apparatus, and equipment for domestic IT innovation transformation. First, the non-functional middleware of the transaction system is replaced and deployed with domestic alternatives to obtain a first transaction system. This allows for the separation of middleware transformation—which is relatively independent and has controllable risks, and does not involve business logic—as an independent, rapidly deployable stage, shortening the overall transformation project cycle and solving the problems of long cycles and concentrated risks. Next, the database corresponding to the first transaction system is migrated from a non-domestic database to a domestic database. The SQL statements and stored procedures related to the non-domestic database in the first transaction system are converted into code compatible with the domestic database, resulting in a second transaction system. Business requests are simultaneously distributed to both the first and second transaction systems, enabling them to run in parallel. This allows the second transaction system to continuously compare results with the mature and stable original system without interrupting business operations. This enables real-time and accurate detection and location of any functional or data flaws in the new transaction system, achieving early and continuous verification of the transformation effect. Finally, when the transaction system and the second transaction system are running in parallel until the preset stability switching conditions are met, the business requests are switched to the second transaction system. This achieves a smooth and lossless switch from the old transaction system to the new transaction system, which can maximize the protection of business continuity and stability.

[0019] The technical solutions provided by the various embodiments of this application are described in detail below with reference to the accompanying drawings.

[0020] Figure 1 This is a flowchart illustrating a sensing and localization method provided as an exemplary embodiment of this application. Figure 1 As shown, the method includes: Step 110: Replace and deploy the non-functional middleware of the trading system with domestically produced components to obtain the first trading system. The non-functional middleware includes application server containers, cache clusters, load balancers, and service monitoring components.

[0021] Among them, the non-functional middleware of the transaction system can be understood as the lowest-risk and most basic part in the process of information technology innovation transformation of the transaction system. This step aims to separate the lowest-risk and most basic part in the transformation, replace it first and go online for verification, so as to clear obstacles and lay the foundation for the most complex database transformation in the future.

[0022] Non-functional middleware refers to components that do not directly implement specific business logic (such as subscription, redemption, or net asset value calculation), but rather provide support and safeguards for the entire system. They determine the system's performance, stability, scalability, and maintainability. Domestic replacement and deployment involves replacing these components, which might have previously used foreign open-source or commercial products, with domestically produced products listed in the domestic IT innovation ecosystem. Specific operations may include software installation, configuration, cluster setup, and redeploying the existing fund trading system application to these new domestic middleware components.

[0023] The first trading system is not a completely new trading system, but rather a transitional version of the original trading system after the underlying "foundation" has been upgraded. Its core business logic and database (such as Oracle) remain unchanged, but it runs on a domestically developed middleware environment.

[0024] Step 110 primarily addresses the issue that traditional solutions involve waiting until all modifications (hardware, middleware, database, and applications) are completed before conducting overall backtesting and switching in an independent IT innovation environment. This results in a long cycle and concentrated risks. By replacing the relatively simple and technically risk-controllable middleware, the steps are separated from the complex and error-prone database and application code modifications. Since this step does not modify business logic or the database, the impact of this step on system behavior is minimal, the probability of serious bugs is low, and even if problems occur, it is easy to roll back.

[0025] Furthermore, after replacing and deploying the non-functional middleware of the trading system with domestic alternatives to obtain the first trading system, the first trading system can be directly launched to handle real online fund trading traffic. This allows for a thorough "stress test" and verification of the stability, performance, and compatibility with the existing trading system of the domestic middleware in the most realistic and comprehensive testing environment.

[0026] In some exemplary embodiments, the localization replacement and deployment of non-functional middleware in the trading system includes: Replace the caching middleware from Redis with a domestically developed caching cluster; Replace the application server container from Tomcat with TongWeb; Introduce Nginx as a load balancer; And integrate Prometheus for service monitoring.

[0027] Specifically Figure 2This diagram illustrates the domestic replacement and deployment of non-functional middleware in a transaction system within the domestic IT innovation transformation method provided as an exemplary embodiment of this application. The original Redis instance, which might have been in standalone or master-slave mode, is transformed into a highly available domestic caching cluster. This could be a domestically distributed version of the open-source Redis or a completely self-developed, compatible protocol cluster used to cache temporarily stored hot data (such as user sessions and fund product catalogs) to improve access speed and reduce database pressure. This transformation step verifies the stability, data synchronization efficiency, and performance of the domestic caching cluster under real production traffic, preparing for the potential increase in query pressure after subsequent database transformation.

[0028] The runtime container for deploying Java web applications (such as a Spring Boot-based fund trading system) will be replaced from Apache Tomcat with the domestically developed TongWeb. The application server container is the application's "runtime environment," and as long as both containers conform to the Java EE / Jakarta EE standards, the application's business logic code itself can run without modification. This replacement verifies the compatibility and stability of the fund trading system's core business on mainstream domestic application servers, which forms the basis for all subsequent modifications.

[0029] At the front-end access layer of the system architecture, Nginx software is deployed and a load balancing strategy is configured. Simultaneously, the fund trading system is deployed across multiple server nodes, with Nginx distributing user requests to these nodes. Since load balancing and multi-node deployment do not change the business processing result of a single request, their purpose is to improve system throughput and high availability. If a service node fails, Nginx can switch traffic to other healthy nodes, ensuring uninterrupted business operations. This transformation achieves high service availability, providing architectural support for the parallel operation of the legacy and secondary trading systems.

[0030] Deploying the Prometheus monitoring service in the system and configuring data collection points (Exporters) in applications and middleware allows for the continuous collection of system metrics such as CPU, memory, JVM status, request latency, and QPS. Since the monitoring system itself does not handle any business logic, it acts like a "dashboard and alarm" to observe the system's operational status and issue alerts when anomalies occur. This transformation step provides observability for the entire transformation process. Especially after the first transformation step goes live, monitoring data is needed to objectively evaluate the performance of the domestic middleware. Furthermore, during subsequent parallel operation of the two systems, monitoring data is crucial for determining whether the new system is stable and meets the switching conditions (preset stability switching conditions).

[0031] Step 120: Migrate the database corresponding to the first trading system from a non-domestic database to a domestic database, and convert the SQL statements and stored procedures related to the first trading system and the non-domestic database into code compatible with the domestic database to obtain the second trading system.

[0032] Among them, the database corresponding to the first transaction system will be migrated from a non-domestic database to a domestic database. Specifically, the data storage of the system will be migrated from a non-domestic database (such as Oracle) to a domestic database (DM database). Since different databases (such as Oracle and DM) have differences in SQL syntax, data types, built-in functions, and even the way stored procedures are written, the code originally written for Oracle cannot be run directly on DM. Therefore, the part of the code that performs database interaction must be modified, that is, the conversion of SQL statements and stored procedures. Specifically, this may include: (1) Uploading the code to the intelligent conversion platform, scanning the code, and dynamically identifying SQL fragments scattered in multiple files, such as the association between MyBatis' XML and Mapper interface, and directly compiled SQL statements. (2) Converting the identified SQL into SQL with DM-compatible syntax and outputting it. (3) Testing the modified SQL in the DM database and business scenarios.

[0033] To improve conversion efficiency, this application embodiment can migrate the database corresponding to the first transaction system from a non-domestic database to a domestic database based on an intelligent conversion platform using a large language model.

[0034] In some exemplary embodiments, converting SQL statements and stored procedures related to non-domestic databases into code compatible with the domestic database is achieved through an intelligent conversion platform based on a large language model; the intelligent conversion platform is used to automatically identify and convert SQL statements and stored procedures.

[0035] The intelligent conversion platform is used to automatically identify SQL statements and stored procedures. Specifically, it scans the code and automatically identifies SQL fragments scattered across multiple files, such as the association between MyBatis' XML and Mapper interfaces, and directly compiled SQL statements. This step can establish a logical connection between the Mapper Java interface and the XML mapping file, ensuring the integrity of the conversion. It can identify SQL regardless of whether it is written in XML, annotations, or strings concatenated in Java code, thus avoiding omissions.

[0036] The intelligent conversion platform's automatic conversion is based on the LLM model, which understands the semantics and programming intent of the original SQL statements and finds the best functionally equivalent implementation in the target database accordingly. Specifically, the intelligent conversion platform not only performs keyword replacement but also understands the intent of the SQL, reconstructs complex statements such as pagination queries and rewrites recursive queries, and automatically handles data type mapping. Furthermore, it can dynamically rewrite ROWNUM pagination into OFFSET-FETCH syntax and maintain the conversion of PL / SQL procedural code using block-structure semantics. For example, in pagination queries, it understands that ROWNUM<= 100 means "retriev the first 100 records" and reconstructs it into the standard FETCH FIRST 100 ROWS ONLY; in recursive queries, it understands that CONNECT BY PRIOR is used for tree-structure queries and rewrites it into the standard SQL WITHRECURSIVE syntax; and in stored procedures, it understands that Oracle's %TYPE variable declaration is used to bind field types and maps it to DM's CREATE TYPE or its corresponding implementation. This solves the pain point that traditional methods cannot handle complex SQL logic refactoring, significantly improves the accuracy and efficiency of conversion, and reduces the cost of subsequent testing and debugging.

[0037] Based on this, this application's embodiments creatively apply the cutting-edge AI technology of large language models to the most challenging database adaptation stage of the domestic IT innovation transformation. By constructing an intelligent conversion platform capable of understanding code intent, a paradigm shift is achieved from low-level, error-prone "human machine translation" to high-level, reliable "AI intelligent reconstruction." This not only greatly liberates development manpower and shortens the transformation cycle, but more importantly, through its comprehensive recognition and deep understanding capabilities, it significantly improves the quality of code conversion and the subsequent stability of the system, laying a solid technical foundation for the success of the entire domestic IT innovation transformation.

[0038] In some exemplary embodiments, the large language model is built on the CodeLlama model and enhanced by importing financial business table structure data for training.

[0039] Specifically, the large language model is not a general-purpose code model, but a specialized model optimized with vertical domain knowledge. By injecting financial business table structures, relationships, and business logic, it can better understand the specific meaning of SQL in fund trading scenarios, thereby making more accurate conversions.

[0040] Step 130: Distribute business requests to both the transaction system and the second transaction system simultaneously, so that the transaction system and the second transaction system can run in parallel. When the transaction system and the second transaction system are running in parallel to the preset stability switching condition, switch the business requests to the second transaction system.

[0041] The transaction system refers to the original production system (running on non-domestic databases such as Oracle) that has not undergone domestic IT innovation transformation, and it is the main body currently providing stable services. The second transaction system refers to the new system that has completed full-stack domestic IT innovation transformation (running on domestic databases such as DM), and it is a candidate for deployment. Parallel operation means that within a certain period of time, the two systems (the transaction system and the second transaction system) simultaneously process the same production traffic, i.e., the same business requests.

[0042] In some exemplary embodiments, a dual-write mechanism is established to maintain data consistency between the two systems during the parallel operation of the trading system and the second trading system. The dual-write mechanism is implemented through a message middleware, which sends a message after the transaction system performs a data write operation. The second transaction system then consumes the message and performs the same write operation.

[0043] Because the dual-write mechanism, specifically the asynchronous message queue (MQ), ensures data consistency between the two databases during parallel processing, guaranteeing near-synchronous data states, the switching operation based on this mechanism is seamless for users, uninterrupted service, and without data loss. Furthermore, even if a problem is discovered immediately after the switch, the system can be immediately switched back to the old system by reverting the gateway configuration, resulting in extremely low rollback costs and minimizing switching risks.

[0044] In some exemplary embodiments, during parallel operation, business requests are distributed through the smart gateway service, and the return results of the transaction system and the second transaction system for the same request are recorded to perform data consistency verification.

[0045] In this process, the intelligent gateway service is responsible for simultaneously distributing requests to both the old and new systems. It also records and compares the outputs of the two systems to monitor the correctness of the new system (the second transaction system). The intelligent gateway serves as the sole entry point for all business traffic (typically deployed behind Nginx or replacing some of its functions). When it receives a request, it synchronously and in parallel sends it to both the old system (the transaction system) and the new system (the second transaction system). This ensures that the new system experiences 100% real, random production traffic during parallel processing, providing test coverage far exceeding any manually designed test cases. Furthermore, although requests are distributed to both systems, the final response returned to the user is usually based on the stable and reliable old system (or configured via a strategy), making the entire verification process transparent and unaffected to the user.

[0046] Moreover, the smart gateway not only forwards requests but also captures the responses from both systems. It structures and stores key information, such as the requested URL, the representation of the old and new systems, and the interface return results, in a database. This builds a complete dataset for comparison. Every request and the behavior of both systems is fully recorded, forming a massive comparison database. When inconsistencies arise, the specific request and response can be quickly located, providing invaluable data support for subsequent troubleshooting and remediation.

[0047] For example, data consistency verification can be performed through a scheduled task. This task scans the logs stored in the database and compares the returned field attribute values ​​of the same interface between the old and new systems to see if they are consistent. Once an inconsistency is found, the system will issue an alert. Developers can immediately check the cause of the data inconsistency between the old and new systems through manual verification based on the alert information and fix the bug. This forms a rapid feedback loop of "monitoring-discovery-alerting-fixing," ensuring that problems are resolved one by one before the final switchover.

[0048] For example, a smart gateway service can be used to send requests to both the old and new systems, while simultaneously establishing a dual-write mechanism. An asynchronous process is added to the data written to Oracle, sending an MQ message to asynchronously write the data to the DM database, thus ensuring data consistency between the two databases. Simultaneously, a data consistency verification function is added to the gateway service. When forwarding requests, for each interface, the result returned by the request is written to the database. This includes the request URL, the representation of the old and new systems, and the interface return result. A scheduled task compares the returned field attribute values ​​of the same interface between the old and new systems to see if they are consistent. For inconsistent data, an alarm is triggered, and manual verification is used to investigate the cause of the data inconsistency and fix the bug. Once the new system has been running for a sufficient period and is confirmed to be stable, the data write source is switched instantly at the gateway level, and the dual-write mechanism is disabled. Because the data remains consistent throughout, this switch can be performed smoothly without service interruption.

[0049] Figure 3 A schematic diagram illustrating the transformation process of the second transaction system in the information technology innovation transformation method provided as an exemplary embodiment of this application. Figure 3 The transformation process includes: Step 1: LLM-SQL Transformation and Smart Gateway Service Development; LLM-SQL transformation involves uploading the system source code to an intelligent platform based on the Large Language Model (LLM). This platform automatically scans and extracts all SQL statements, stored procedures, and functions related to the Oracle database, and intelligently converts them into syntax compatible with the domestic DM database based on its understanding of SQL semantics.

[0050] The development of the intelligent gateway service is based on Ribbon. This gateway is a key component in this phase, and its core design goal is to subsequently implement dual request sending, dual data writing, and consistency verification.

[0051] Step 2: SQL transformation and gateway service launch; SQL transformation deployment involves deploying code that has been transformed and tested by the LLM platform (i.e., code compatible with DM database) to a pre-release or sandbox environment to complete initial integration verification.

[0052] Deploying the gateway service involves bringing the developed smart gateway service into the production environment's infrastructure, preparing it for subsequent traffic scheduling and dual data writing. At this point, the gateway may not yet be executing traffic distribution functions.

[0053] Step 3: Full online data migration; Specifically, you can use the migration tools provided by DM Database or a self-developed script to migrate all historical data from the production environment's Oracle database to the new DM Database. This operation should be performed during off-peak business hours, and the integrity and accuracy of the data must be ensured.

[0054] Step 4: Comprehensive online backtesting; Comprehensive regression testing was conducted in the domestic IT innovation environment (i.e., the second transaction system) after code deployment and data migration were completed. This testing aimed to verify whether all business functions of the system were normal under real data, and to ensure that the transformation did not introduce any functional defects.

[0055] Step 5: Configure Nginx and enable dual-write functionality with the smart gateway; Modifying Nginx configuration involves first performing "service shutdown configuration," which may involve temporarily stopping some services or redirecting traffic to the maintenance page to complete critical configuration changes. Then, "gateway configuration" is performed, changing the entry traffic of services from directly accessing application services to first passing through the intelligent gateway service.

[0056] Smart gateway dual-write is the mechanism that enables dual-write functionality on the gateway. Afterward, all data written to the old system (Oracle) will have an asynchronous message queue (MQ) added, which will be consumed by the new system (DM) and the same write will be performed, thus ensuring real-time data consistency between the two databases.

[0057] Step 6: Dual systems running in parallel, new services developing alongside; The smart gateway begins to distribute each business request simultaneously to both the old system (transaction system) and the new system (second transaction system).

[0058] The new system enters a "support" mode, meaning that its processing results will not affect real users for the time being. However, the system will record and compare the return results of the new and old systems, monitor the success rate and data consistency of the new system, and continuously fix bugs and optimize the system.

[0059] Step 7: Switch traffic to the Ribbon gateway.

[0060] After a period of parallel operation (e.g., 1 month) and confirmation that the new system meets the preset stability switching conditions (e.g., success rate, data consistency), all business traffic is instantly and completely switched to the new system (second transaction system) by modifying the Ribbon gateway configuration.

[0061] Since the dual-write mechanism guarantees data consistency, this switchover can be performed smoothly, without loss, and without service interruption. After the switchover is complete, the dual-write mechanism can be gradually shut down, and the domestic IT innovation transformation will be fully completed.

[0062] In some exemplary embodiments, to reduce decision-making risk and achieve smooth switching, the preset stability switching conditions include at least one of the following: Within the preset continuous observation period, the success rate of the second transaction system in processing business requests is higher than the first preset threshold. Within a preset continuous observation period, the inconsistency rate of the specified business fields in the results returned by the transaction system and the second transaction system is lower than the second preset threshold. The pass rate for testing the core business functions of the second system reached 100%.

[0063] Among them, the success rate indicator refers to the success rate of the second transaction system in processing business requests being higher than the first preset threshold within a preset continuous observation period, which can directly reflect the service availability of the new system.

[0064] The data consistency index refers to the rate of inconsistency between key business fields in the results returned by the trading system and the second trading system (i.e., the old and new systems) being lower than a second preset threshold within a preset continuous observation period. This directly reflects the correctness of the business logic of the new system.

[0065] The functional completeness indicator refers to the fact that the core business function points of the second system have a 100% pass rate in testing, which ensures that all key functions have been verified.

[0066] The novel transformation method provided in this application first replaces and deploys the non-functional middleware of the transaction system with domestic alternatives, resulting in a first transaction system. This method isolates the middleware transformation, which is relatively independent and has controllable risks, from the business logic, allowing it to be deployed as an independent and rapidly deployable stage. This shortens the overall transformation project cycle and solves the problems of long cycles and concentrated risks. Next, the database corresponding to the first transaction system is migrated from a non-domestic database to a domestic database. The SQL statements and stored procedures related to the non-domestic database in the first transaction system are converted into code compatible with the domestic database, resulting in a second transaction system. Business requests are simultaneously distributed to both the first and second transaction systems, enabling them to run in parallel. This allows the second transaction system to continuously compare results with the mature and stable original system without interrupting business operations. It enables real-time and accurate detection and location of any functional or data flaws in the new transaction system, achieving early and continuous verification of the transformation effect. Finally, when the first and second transaction systems run in parallel to a preset stability switching condition, business requests are switched to the second transaction system. This achieves a smooth and lossless switch from the old transaction system to the new one, maximizing business continuity and stability.

[0067] Figure 4 This is a structural schematic diagram of a domestic information technology innovation (IT) modification device 400 provided for an exemplary embodiment of this application. (See diagram below.) Figure 4 As shown, the device 400 includes: a replacement module 410, a conversion module 420, and a switching module 430, wherein: Replacement module 410 is used to replace and deploy the non-functional middleware of the trading system with domestically produced components to obtain the first trading system. The non-functional middleware includes an application server container, a cache cluster, a load balancer, and a service monitoring component. The conversion module 420 is used to migrate the database corresponding to the first transaction system from a non-domestic database to a domestic database, and convert the SQL statements and stored procedures of the first transaction system related to the non-domestic database into code compatible with the domestic database to obtain the second transaction system; The switching module 430 is used to simultaneously distribute business requests to the transaction system and the second transaction system, so that the transaction system and the second transaction system can run in parallel, and to switch the business requests to the second transaction system when the transaction system and the second transaction system are running in parallel to a preset stability switching condition.

[0068] The domestic IT innovation transformation device 1000 provided in this application first replaces and deploys the non-functional middleware of the transaction system with domestic alternatives, resulting in a first transaction system. This separates the transformation of middleware that is not involved in business logic, is relatively independent, and has controllable risks, allowing it to be deployed as an independent and rapidly deployable stage, thus shortening the overall transformation project cycle and solving the problems of long cycles and concentrated risks. Next, the database corresponding to the first transaction system is migrated from a non-domestic database to a domestic database. The SQL statements and stored procedures related to the non-domestic database in the first transaction system are converted into code compatible with the domestic database, resulting in a second transaction system. Business requests are simultaneously distributed to both the first and second transaction systems, enabling them to run in parallel. This allows the second transaction system to continuously compare results with the mature and stable original system without interrupting business operations, enabling real-time and accurate detection and location of any functional or data flaws in the new transaction system, achieving early and continuous verification of the transformation effect. Finally, when the first and second transaction systems run in parallel to a preset stability switching condition, business requests are switched to the second transaction system, achieving a smooth and lossless switch from the old to the new system, maximizing business continuity and stability.

[0069] Optionally, the preset stability switching condition includes at least one of the following: Within a preset continuous observation period, the success rate of the second transaction system in processing business requests is higher than a first preset threshold. Within a preset continuous observation period, the inconsistency rate of the specified business fields in the results returned by the transaction system and the second transaction system is lower than a second preset threshold. The pass rate for the core business functions of the second system reached 100%.

[0070] Optionally, when the replacement module 410 performs domestic replacement and deployment of non-functional middleware of the transaction system, it is specifically used for: Replace the caching middleware from Redis with a domestically developed caching cluster; Replace the application server container from Tomcat with TongWeb; Introduce Nginx as a load balancer; And integrate Prometheus for service monitoring.

[0071] Optionally, when the conversion module 420 converts SQL statements and stored procedures related to non-domestic databases into code compatible with the domestic database, it does so through an intelligent conversion platform based on a large language model; the intelligent conversion platform is used to automatically identify and convert the SQL statements and stored procedures.

[0072] Optionally, the large language model is built on the CodeLlama model and enhanced by importing financial business table structure data for training.

[0073] Optionally, during the parallel operation of the trading system and the second trading system, a dual-write mechanism is established to maintain data consistency between the two systems; The dual-write mechanism is implemented through a message middleware, which sends a message after the transaction system performs a data write operation. The second transaction system then consumes the message and performs the same write operation.

[0074] Optionally, during parallel operation, the business request is distributed through the smart gateway service, and the return results of the transaction system and the second transaction system for the same request are recorded to perform data consistency verification.

[0075] The 400-meter-long information technology innovation transformation device can achieve... Figures 1-3 For details of the method implementation examples, please refer to [link / reference]. Figures 1-3 The method for information technology innovation transformation shown in the embodiment will not be described in detail again.

[0076] Figure 5 This is a schematic diagram of the structure of an electronic device provided as an exemplary embodiment of this application. For example... Figure 5 As shown, the device includes a memory 51 and a processor 52.

[0077] Memory 51 is used to store computer programs and can be configured to store various other data to support operation on the computing device. Examples of this data include instructions for any application or method operating on the computing device, contact data, phone book data, messages, images, videos, etc.

[0078] The processor 52, coupled to the memory 51, is used to execute the computer program in the memory 51 for: replacing and deploying the non-functional middleware of the transaction system with domestically produced components to obtain a first transaction system, wherein the non-functional middleware includes an application server container, a cache cluster, a load balancer, and a service monitoring component; migrating the database corresponding to the first transaction system from a non-domestic database to a domestic database, and converting the SQL statements and stored procedures related to the non-domestic database in the first transaction system into code compatible with the domestic database to obtain a second transaction system; simultaneously distributing business requests to the first transaction system and the second transaction system, enabling the first transaction system and the second transaction system to run in parallel, and switching the business requests to the second transaction system when the first transaction system and the second transaction system are running in parallel to a preset stability switching condition.

[0079] The electronic device provided in this application first replaces and deploys the non-functional middleware of the transaction system with domestically produced components, resulting in a first transaction system. This allows for the separation of middleware modifications that do not involve business logic, are relatively independent, and have controllable risks, as an independent, rapidly deployable stage, shortening the overall project cycle and solving the problems of long cycles and concentrated risks. Next, the database corresponding to the first transaction system is migrated from a non-domestic database to a domestic database. The SQL statements and stored procedures related to the non-domestic database in the first transaction system are converted into code compatible with the domestic database, resulting in a second transaction system. Business requests are simultaneously distributed to both the first and second transaction systems, enabling them to run in parallel. This allows the second transaction system to continuously compare results with the mature and stable original system without interrupting business operations. It can then detect and locate any functional or data flaws in the new transaction system in real time and accurately, achieving early and continuous verification of the modification effect. Finally, when the first and second transaction systems run in parallel to a preset stability switching condition, business requests are switched to the second transaction system, achieving a smooth and lossless transition from the old to the new system, maximizing business continuity and stability.

[0080] Furthermore, such as Figure 5 As shown, the electronic device also includes other components such as a communication component 53, a display 54, a power supply component 55, and an audio component 56. Figure 5 The diagram only shows some components and does not mean that the electronic device includes only these components. Figure 5 The components shown. Additionally, depending on the implementation of the traffic playback device, Figure 5 The components within the dashed box are optional, not mandatory. For example, when an electronic device is implemented as a terminal device such as a smartphone, tablet, or desktop computer, it may include... Figure 5 The components within the dashed box; when the electronic device is implemented as a server-side device such as a conventional server, cloud server, data center, or server array, it may be excluded. Figure 5 The component within the dashed box.

[0081] Accordingly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, enables the processor to implement the steps in the above-described embodiments of the information technology innovation transformation method.

[0082] Accordingly, this application also provides a computer program product, which stores instructions that, when executed by a computer, cause the computer to perform the steps in the information technology innovation transformation method provided in this application.

[0083] The above Figure 5 The communication component is configured to facilitate wired or wireless communication between the device containing the communication component and other devices. The device containing the communication component can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, the communication component receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component may further include a Near Field Communication (NFC) module, Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, etc.

[0084] The above Figure 5 The memory in the memory can be implemented by any class of volatile or non-volatile storage devices or combinations thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.

[0085] The above Figure 5The display includes a screen, which may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of the touch or swipe action, but also the duration and pressure associated with the touch or swipe operation.

[0086] The above Figure 5 The power supply component provides power to the various components of the device in which it resides. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device in which it resides.

[0087] The above Figure 5 The audio component can be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC) configured to receive external audio signals when the device containing the audio component is in an operating mode, such as call mode, recording mode, or voice recognition mode. The received audio signals can be further stored in memory or transmitted via a communication component. In some embodiments, the audio component also includes a speaker for outputting audio signals.

[0088] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application 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.

[0089] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. 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... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0090] 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.

[0091] 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.

[0092] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0093] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0094] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other classes of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0095] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0096] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A method for information technology innovation transformation, characterized in that, include: The non-functional middleware of the transaction system is replaced and deployed with domestically produced components to obtain the first transaction system. The non-functional middleware includes application server containers, cache clusters, load balancers, and service monitoring components. The database corresponding to the first transaction system is migrated from a non-domestic database to a domestic database, and the SQL statements and stored procedures related to the first transaction system and the non-domestic database are converted into code compatible with the domestic database to obtain the second transaction system; The business request is simultaneously distributed to the transaction system and the second transaction system, so that the transaction system and the second transaction system can run in parallel, and when the transaction system and the second transaction system are running in parallel to a preset stability switching condition, the business request is switched to the second transaction system.

2. The method as described in claim 1, characterized in that, The preset stability switching conditions include at least one of the following: Within a preset continuous observation period, the success rate of the second transaction system in processing business requests is higher than a first preset threshold. Within a preset continuous observation period, the inconsistency rate of the specified business fields in the results returned by the transaction system and the second transaction system is lower than a second preset threshold. The pass rate for the core business functions of the second system reached 100%.

3. The method as described in claim 1, characterized in that, The aforementioned replacement and deployment of domestically produced non-functional middleware of the trading system includes: Replace the caching middleware from Redis with a domestically developed caching cluster; Replace the application server container from Tomcat with TongWeb; Introduce Nginx as a load balancer; And integrate Prometheus for service monitoring.

4. The method as described in claim 1, characterized in that, The conversion of SQL statements and stored procedures related to non-domestic databases into code compatible with domestic databases is achieved through an intelligent conversion platform based on a large language model; the intelligent conversion platform is used to automatically identify and convert the SQL statements and stored procedures.

5. The method as described in claim 1, characterized in that, The large language model is built on the CodeLlama model and enhanced by importing business table structure data from the financial field for training.

6. The method as described in claim 1, characterized in that, During the parallel operation of the trading system and the second trading system, a dual-write mechanism is established to maintain data consistency between the two systems; The dual-write mechanism is implemented through a message middleware, which sends a message after the transaction system performs a data write operation. The second transaction system then consumes the message and performs the same write operation.

7. The method as described in claim 1 or 6, characterized in that, During parallel operation, the business requests are distributed through the smart gateway service, and the return results of the transaction system and the second transaction system for the same request are recorded to perform data consistency verification.

8. A device for upgrading information technology applications, characterized in that, include: The replacement module is used to replace and deploy the non-functional middleware of the trading system with domestically produced components to obtain the first trading system. The non-functional middleware includes application server containers, cache clusters, load balancers, and service monitoring components. The conversion module is used to migrate the database corresponding to the first transaction system from a non-domestic database to a domestic database, and to convert the SQL statements and stored procedures of the first transaction system related to the non-domestic database into code compatible with the domestic database, so as to obtain the second transaction system. The switching module is used to simultaneously distribute business requests to the transaction system and the second transaction system, so that the transaction system and the second transaction system can run in parallel, and to switch the business requests to the second transaction system when the transaction system and the second transaction system are running in parallel to a preset stability switching condition.

9. An electronic device, characterized in that, include: The system includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. The processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, they perform the steps in the information technology innovation transformation method as described in any one of claims 1 to 6.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it causes the processor to implement the steps in the information technology innovation transformation method as described in any one of claims 1 to 6.