Application migration method and device, equipment and storage medium

By determining the migration template and real-time monitoring of execution results in application migration in the financial field, the nodes in the migration path are updated to optimize the migration process, solving the problems of low migration efficiency and resource waste, and achieving efficient and accurate migration and optimized resource utilization.

CN119884077APending Publication Date: 2025-04-25WEBANK (CHINA)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411966736.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

Application migration in the financial field requires high service continuity and data consistency, but the migration efficiency of existing technologies is low and the lack of effective path planning and real-time adjustment mechanisms lead to waste of resources and poor user experience.

Method used

By determining the migration template, including a migration path composed of multiple migration nodes, each node corresponds to a specific migration task, and the execution effect of each node is monitored in real time. If the threshold is not met, the subsequent nodes in the migration path will be updated as migration optimization nodes until the migration is completed.

Benefits of technology

Improve migration efficiency and accuracy, ensure that it is in the optimal path throughout the migration process, improve user experience and rational use of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119884077A_ABST
    Figure CN119884077A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an application migration method and device, equipment and a storage medium, and relates to the technical field of artificial intelligence, the method comprises the steps that a migration template of a to-be-migrated application is determined, the migration template comprises a migration path composed of a plurality of migration nodes, each migration node corresponds to a respective migration task, and each migration task corresponds to a corresponding migration path; the migration template is stored in a migration template library; based on a migration execution instruction triggered by a user, application migration is carried out according to the migration path in the migration template; in the application migration process, the execution effect of the migration task corresponding to each migration node is monitored, and if the execution effect does not meet the migration threshold value, similar migration cases are obtained from the migration template library; and on the basis of the similar migration cases, updating subsequent migration nodes in the migration path as migration optimization nodes until migration of the to-be-migrated application is completed. In the embodiment of the invention, the execution effect of each migration node in the migration process is monitored in real time, so that the optimal migration path is ensured, and the execution effect of migration is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a method, device, equipment and storage medium for application migration. Background Art

[0002] With the continuous progress of domestic independent innovation, more and more products and technologies are favored by overseas companies. Therefore, the demand for product and technology migration is growing. With the development of computer technology, more and more technologies are applied in the financial field. The traditional financial industry is gradually transforming to financial technology (Fintech). However, due to the security and real-time requirements of the financial industry, higher requirements are also placed on technology.

[0003] When migrating applications in the financial sector, high service continuity and data consistency are required to ensure the interests and security of users. At present, application migration generally adopts manual migration and manually configures complex parameters. Although it can improve the security of the migration process, the migration efficiency is low and cannot meet the needs of massive migration tasks. In addition, manual migration has no effective path planning and real-time adjustment mechanism, and cannot reasonably utilize resources, which brings a bad user experience and wastes resources. Summary of the invention

[0004] The embodiments of the present application provide a method, apparatus, device and storage medium for application migration, which are used to improve the efficiency of application migration and reasonably utilize resources.

[0005] In a first aspect, an embodiment of the present application provides a method for application migration, including:

[0006] Determine a migration template of the application to be migrated, the migration template includes a migration path composed of multiple migration nodes, each migration node corresponds to a respective migration task, and the migration template is stored in a migration template library;

[0007] Based on the migration execution instruction triggered by the user, the application is migrated according to the migration path in the migration template;

[0008] During the application migration process, monitor the execution effect of the migration task corresponding to each migration node. If the execution effect does not meet the migration threshold, obtain similar migration cases from the migration template library.

[0009] Based on the similar migration cases, subsequent migration nodes in the migration path are updated to migration optimization nodes until the migration of the application to be migrated is completed.

[0010] In the embodiment of the present application, by migrating the application to be migrated according to the migration template, there is no need to manually configure the migration parameters of the application to be migrated, thereby improving the efficiency and accuracy of the migration; by real-time monitoring of the execution effect of each migration node during the migration process, if any execution effect does not meet the migration threshold, the subsequent migration node is updated to a migration optimization node, ensuring that the optimal migration path is always maintained throughout the entire migration process, thereby improving the execution effect of the migration and providing users with a better user experience.

[0011] Optionally, updating the subsequent migration node in the migration path to a migration optimization node based on the similar migration case includes:

[0012] Inputting the similar migration cases and the historical migration data of the user into a large model, and obtaining the migration optimization node through the large model;

[0013] A migration path update indication is sent to the user, and based on a user response, it is determined whether to update a subsequent migration node in the migration path to be the migration optimization node.

[0014] In the embodiment of the present application, similar migration cases and the user's historical migration data are input into the large model to obtain a migration optimization node. Since the large model has a strong language recognition ability, it can obtain relatively accurate similar migration cases. By using the migration optimization node to update the subsequent migration nodes in the migration path, the migration process is always in an efficient state, thereby improving the efficiency of the migration.

[0015] Optionally, obtaining the migration optimization node through the large model includes:

[0016] Obtaining the migration optimization node and the migration optimization prediction effect of any migration optimization node through the large model;

[0017] After the updating of the subsequent migration nodes in the migration path to the migration optimization nodes, the method further includes:

[0018] For any migration optimization node, monitor the execution effect of the migration task corresponding to the migration optimization node, and determine the actual effect of the migration optimization based on the execution effect;

[0019] The large model is updated based on the similar migration cases, the predicted effect of the migration optimization and the actual effect of the migration optimization.

[0020] In an embodiment of the present application, during the migration process, the actual effect of the migration optimization is determined by monitoring the execution effect of the migration optimization nodes, and the large model is updated based on similar migration cases, migration optimization prediction effects, and migration optimization execution effects, so that the large model can continuously learn and increasingly meet migration needs.

[0021] Optionally, the method comprises:

[0022] Any migration template also includes a list of migration applications, a description of the original migration environment, a description of the target migration environment, migration dependency information, the execution effect of the migration template, and migration optimization nodes based on user responses;

[0023] Any case in the migration template library includes migration path change information and optimization effect information corresponding to the migration path change.

[0024] In an embodiment of the present application, by setting multiple contents in the migration template, it is ensured that the user has more possibilities when making a choice, thereby meeting the user's migration needs; the migration template library also includes migration path change information and corresponding optimization effect information, so that a suitable and better migration template can be determined based on the migration template library.

[0025] Optionally, determining a migration template of the application to be migrated includes:

[0026] Based on the user's historical migration behavior, at least one migration template is recommended, and based on the user, a migration template for the application to be migrated is determined from the at least one migration template; or the user's migration requirements for the application to be migrated are obtained, keywords of the migration requirements are extracted, and a migration template matching the keywords is determined from each migration template as the migration template for the application to be migrated.

[0027] In the embodiment of the present application, by determining the migration template according to the user's historical migration behavior, the efficiency of determining the migration template is improved; by determining the migration template according to the keywords in the migration requirements, the migration template that meets the user's requirements can be accurately determined. Determining the migration template by two methods, namely, the user's historical migration behavior or the migration requirements, provides the user with multiple choices for determining the migration template, thereby improving the user's experience.

[0028] Optionally, monitoring the execution effect of the migration task corresponding to each migration node includes:

[0029] After the migration task corresponding to each migration node is completed, the migration cost, migration accuracy and quality improvement of the migration template of the migration task are determined;

[0030] An execution effect is determined based on the migration cost, the migration accuracy, and the quality improvement of the migration template.

[0031] In the embodiment of the present application, when determining the migration execution effect, it is determined based on the migration cost of each migration node, the migration accuracy rate, and the quality improvement of the migration template, thereby making the determination of the migration execution effect more accurate.

[0032] In a second aspect, an embodiment of the present application provides a device for application migration, including:

[0033] A determination module, used to determine a migration template of the application to be migrated, wherein the migration template includes a migration path composed of a plurality of migration nodes, each migration node corresponds to a respective migration task, and the migration template is stored in a migration template library;

[0034] A migration module, configured to perform application migration according to a migration path in the migration template based on a migration execution instruction triggered by a user;

[0035] The monitoring module is used to monitor the execution effect of the migration task corresponding to each migration node during the application migration process. If the execution effect does not meet the migration threshold, similar migration cases are obtained from the migration template library.

[0036] An updating module is used to update subsequent migration nodes in the migration path to migration optimization nodes based on the similar migration cases until the migration of the application to be migrated is completed.

[0037] Optionally, the update module is specifically used to:

[0038] Inputting the similar migration cases and the historical migration data of the user into a large model, and obtaining the migration optimization node through the large model;

[0039] A migration path update indication is sent to the user, and based on a user response, it is determined whether to update a subsequent migration node in the migration path to be the migration optimization node.

[0040] Optionally, the update module is specifically used to:

[0041] Obtaining the migration optimization node and the migration optimization prediction effect of any migration optimization node through the large model;

[0042] After the updating of the subsequent migration nodes in the migration path to the migration optimization nodes, the method further includes:

[0043] For any migration optimization node, monitor the execution effect of the migration task corresponding to the migration optimization node, and determine the actual effect of the migration optimization based on the execution effect;

[0044] The large model is updated based on the similar migration cases, the predicted effect of the migration optimization and the actual effect of the migration optimization.

[0045] Optionally, the migration module is specifically used to:

[0046] Any migration template also includes a list of migration applications, a description of the original migration environment, a description of the target migration environment, migration dependency information, the execution effect of the migration template, and migration optimization nodes based on user responses;

[0047] Any case in the case library includes migration path change information and optimization effect information corresponding to the migration path change.

[0048] Optionally, the determining module is specifically used to:

[0049] Based on the user's historical migration behavior, at least one migration template is recommended, and based on the user, a migration template for the application to be migrated is determined from the at least one migration template; or the user's migration requirements for the application to be migrated are obtained, keywords of the migration requirements are extracted, and a migration template matching the keywords is determined from each migration template as the migration template for the application to be migrated.

[0050] Optionally, the monitoring module is specifically used for:

[0051] After the migration task corresponding to each migration node is completed, the migration cost, migration accuracy and quality improvement of the migration template of the migration task are determined;

[0052] An execution effect is determined based on the migration cost, the migration accuracy, and the quality improvement of the migration template.

[0053] In a third aspect, an embodiment of the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned method for abnormal recovery of the master and standby machines when executing the program.

[0054] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program executable by a computer device, which, when the program is run on the computer device, enables the computer device to execute the steps of the above-mentioned method for abnormal recovery of the primary and standby machines.

[0055] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer device, the computer device executes the steps of the above-mentioned master-slave machine abnormal recovery method. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0057] Figure 1 A system architecture diagram provided for an embodiment of the present invention;

[0058] Figure 2 A flowchart of a method for application migration provided in an embodiment of the present application (I);

[0059] Figure 3 A schematic diagram of a process for determining a migration optimization node provided in an embodiment of the present application;

[0060] Figure 4 A schematic diagram of a process for determining an execution effect provided in an embodiment of the present application;

[0061] Figure 5 A flowchart of a method for application migration provided in an embodiment of the present application (II);

[0062] Figure 6 An application migration device provided in an embodiment of the present application;

[0063] Figure 7 A computer device is provided in an embodiment of the present application. DETAILED DESCRIPTION

[0064] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0065] In order to facilitate the understanding of the present application, some terms in the present application are generally explained below to facilitate understanding by those skilled in the art, and the terms in the present application are not limited.

[0066] Xinchuang IT: The full name is Information Technology Application Innovation, which refers to achieving independent control in the field of information technology and ensuring national information security through independent research and development of core technology products in the IT industry chain such as hardware and cloud infrastructure, basic software, application software, network security, etc.

[0067] At present, with the rapid growth of domestic credible IT technology strength, the overseas model of credible IT systems has begun to emerge. Domestic credible IT systems have won the favor of many emerging overseas technology companies by virtue of their strong IT technology strength, complete R&D team, and flourishing brands. The root cause is that they are aiming at the core needs of pursuing low cost, high growth rate, and high open source. Technology companies in overseas IT-backward areas are seeking a set of low-cost IT solutions that can be used out of the box to replace the original expensive, closed black box IT supplier outsourcing solutions. At the same time, domestic mature credible IT systems are seeking a broader international market, and a storm of "credible IT going overseas" has been set off.

[0068] Under the general background of “IT going overseas with trusted innovation”, the demand for remote IT system application migration is growing. Traditional migration methods require users to manually configure complex parameters, lack of user-friendly interactive design, and unable to understand the migration progress and status in real time, which increases the difficulty of application migration. And due to the lack of effective path planning and real-time adjustment mechanism, application migration often takes a long time, affecting business continuity and user experience. At the same time, traditional methods also have insufficient resource allocation and cannot dynamically adjust resources according to actual needs, which may lead to resource bottlenecks or surplus problems during the migration process. In response to the above problems, this application proposes a method for application migration, and the specific steps are as follows:

[0069] First, the embodiment of the present application creates a migration template library based on historical data. The migration template library stores multiple migration templates and multiple historical migration cases. The migration template includes a list of migration applications, a description of the original migration environment, a migration target environment, migration dependency information, the execution effect of the migration template, a migration optimization node based on the user's corresponding migration, and various historical migration cases, as well as a comparison of the execution effects before and after the migration corresponding to each historical migration case, migration path details, and user evaluation. When the user initiates a migration execution instruction, a migration template can be recommended to the user based on the user's historical migration behavior, or keywords can be extracted from the migration requirements based on the user's migration needs, such as the application system to be migrated, the original migration environment, the migration target environment, migration dependency information, migration time, etc., to determine the matching migration template. Then, the application to be migrated is migrated. During the migration process, the execution effect of each migration node is continuously calculated. If the execution effect of a migration node does not meet the migration threshold, similar migration cases are obtained from the migration template library based on the key indicators in the migration template of the application to be migrated (such as the original migration environment, the target migration environment, migration dependency information, etc.), and similar migration cases and the user's historical migration data are input into the big model. The big model outputs the subsequent migration optimization nodes and informs the user whether to use the migration optimization node for migration. If the user agrees, the updated migration path is sent to the user, and the subsequent migration nodes of the updated migration path are migration optimization nodes. Finally, the migration template library is updated, and the migration optimization node of this user, the updated migration path, the user's personalized selection, and the real-time monitoring of the execution effect and fit are marked on the migration template to provide assistance for subsequent application migration.

[0070] In some embodiments, see Figure 1 , the system applicable to the embodiment of the present application includes a terminal device 101 and a server 102, the terminal device 101 can be a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto. The server 102 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.

[0071] based on Figure 1 The system architecture diagram shown in the figure, the embodiment of the present application provides a process of an application migration method, such as Figure 2 As shown, the process of the method is executed by a computer device, which may be Figure 1 The server 102 shown includes the following steps:

[0072] Step 201: Determine a migration template of an application to be migrated. The migration template includes a migration path composed of multiple migration nodes. Each migration node corresponds to a respective migration task. The migration template is stored in a migration template library.

[0073] Specifically, there are migration nodes in the migration template, and the migration path is composed according to the migration nodes. Different migration nodes correspond to different migration tasks. After the migration template is determined, the migration template is used to migrate the application to be migrated, which can improve the efficiency of migration.

[0074] For example, the application to be migrated is sys1, and it is migrated using migration template A, where migration template A includes 10 nodes, node 1 to node 10, and the migration path is: node 1-node 2-node 3-node 4-node 5-node 6-node 7-node 8-node 9-node 10. Each migration node corresponds to a different migration task. For example, the migration task of node 1 is initialization, which initializes the data in the application to be migrated sys1 to meet the migration requirements, such as converting the data format in the application to be migrated sys1 into Json format; the migration task of node 10 is data verification, such as comparing the data in the application to be migrated sys1 in the target environment and in the original environment to determine whether they are consistent.

[0075] In some embodiments, any migration template also includes a migration application list, a migration original environment description, a migration target environment description, migration dependency information, execution effect of the migration template, and a migration optimization node based on user response.

[0076] Specifically, the migration template is as follows, including:

[0077] 1. Migrate application list;

[0078] 2. Description of the original migration environment (network environment, resource conditions);

[0079] 3. Description of the migration target environment (network environment, resource conditions);

[0080] 4. Migration dependency information (analyze dependency data based on the migration (original and target) environment description and migration application list);

[0081] 5. Migration path (including automation tasks of multiple migration nodes, migration node data configuration, and connection methods between migration nodes).

[0082] 6. ROI of the execution effect of the migration template;

[0083] 7. Migration optimization node OD based on user response.

[0084] The migration application list includes multiple migration application names; the migration original environment is described as the environment in which the application to be migrated was located before, such as the network environment and resource conditions in which the application to be migrated sys1 was located before, such as bandwidth, speed, etc.; the migration target environment is described as the environment in which the application to be migrated will be located after, such as the network environment and resource conditions in which the application to be migrated sys1 will be located after; the migration dependency information is obtained based on the migration target environment description and the migration application list analysis, such as system design diagram, system deployment diagram, system dependency resource list, etc.; the return on investment (ROI) refers to the ratio between the income obtained by using the IT management system product and the investment cost. The embodiment of the present application uses ROI as the execution effect of the migration template to characterize the relationship between the cost of application migration and the accuracy of application migration and the quality of the migration template. The calculation formula is shown in formula (1):

[0085] ROI = migration cost / (migration accuracy + migration precipitation template quality) × 100% ... Formula (1)

[0086] The calculation of ROI is divided into two states: during application migration and after application migration is completed. The migration sedimentation template is a historical migration template.

[0087] When application migration is in progress (executed to a migration node):

[0088] a) Migration cost: including the time consumed, resource purchase cost and potential failure recovery cost;

[0089] b) Migration accuracy: represents the product of the accuracy probability of the currently executed migration node steps (for example, two migration nodes have been executed: host initial success and application deployment, current migration accuracy = host initial success rate * deployment success rate);

[0090] c) Migration and precipitation template quality: indicates the improvement of template quality of precipitation templates in the case library during the current migration process.

[0091] After the application migration is completed (the entire migration path is executed):

[0092] a) Migration cost: including the time spent on the entire migration, the cost of purchasing resources, and potential failure recovery costs;

[0093] b) Migration accuracy: indicates the accuracy probability of the entire migration (for example, if the migration success mark is the system operation success, then the accuracy rate is the system operation success ratio);

[0094] c) Migration and precipitation template quality: indicates that the template quality of the precipitation template in the case library is improved after the migration is completed.

[0095] The migration optimization node based on user response is a migration task including multiple migration nodes, migration node data configuration, connection mode between migration nodes, etc.

[0096] In an embodiment of the present application, by setting multiple contents in the migration template, it is ensured that the user has more possibilities when making a choice, thereby meeting the user's migration needs; the migration template library also includes migration path change information and corresponding optimization effect information, so that a suitable and better migration template can be determined based on the migration template library.

[0097] Step 202: Based on the migration execution instruction triggered by the user, application migration is performed according to the migration path in the migration template.

[0098] Specifically, when the user triggers the migration execution instruction, the application to be migrated is migrated according to the migration path in the migration template. One migration template corresponds to one migration path.

[0099] Step 203: During the application migration process, the execution effect of the migration task corresponding to each migration node is monitored. If the execution effect does not meet the migration threshold, a similar migration case is obtained from the migration template library.

[0100] Specifically, during the migration process, the ROI of each migration node is monitored in real time. If the ROI of the current migration node meets the migration threshold, the application to be migrated will continue to be migrated according to the migration path; if the ROI of the current migration node does not meet the migration threshold, similar migration cases are obtained from the migration template. The migration template library stores multiple historical migration cases, and similar migration cases are obtained from the historical migration cases. Similar migration cases are migration templates that are similar to the current application to be migrated. The CBR algorithm is used to compare the migration (original, target) scenarios with the historical migration cases in the migration template library. The comparison dimensions include the key indicators of the migration template to find the most similar cases.

[0101] For example, the ROI of nodes 1 to 5 in the migration path of the application sys1 to be migrated all meet the migration threshold, but the ROI of node 6 does not meet the migration threshold. At this time, a migration case similar to the application to be migrated is searched from the migration template library. For example, according to the description of the original migration environment of the application sys1 to be migrated, the bandwidth is 500bps and the network speed is 500M / s, the migration target environment description is 1000bps and the network speed is 1000M / s, the migration dependency information is the minimum downtime of 50ms, and the ROI is 60%. The case #8765 is found in the migration template library as the closest to the original migration environment description, migration dependency information, and ROI of the application sys1 to be migrated, so the case #8765 is used as a similar migration case.

[0102] Step 204: based on similar migration cases, update subsequent migration nodes in the migration path to migration optimization nodes until the migration of the application to be migrated is completed.

[0103] Specifically, based on similar migration cases, the migration path is updated, and the updated migration path is used to continue migrating the application to be migrated until the migration is completed.

[0104] For example, the original migration path of the application sys1 to be migrated is: Node 1-Node 2-Node 3-Node 4-Node 5-Node 6-Node 7-Node 8-Node 9-Node 10. Because the ROI of node 6 does not meet the migration threshold at this time, the migration path of the application sys1 to be migrated is updated to: Node 1-Node 2-Node 3-Node 4-Node 5-Node 9-Node 11-Node 12-Node 13-Node 10 according to the similar migration case #8765. Use the updated migration path to migrate the application sys1 to be migrated. Among them, node 9, node 11, node 12, and node 13 are migration optimization nodes.

[0105] In the embodiment of the present application, by migrating the application to be migrated according to the migration template, there is no need to manually configure the migration parameters of the application to be migrated, thereby improving the efficiency and accuracy of the migration; by real-time monitoring of the execution effect of each migration node during the migration process, if any execution effect does not meet the migration threshold, the subsequent migration node is updated to a migration optimization node, ensuring that the optimal migration path is always maintained throughout the entire migration process, thereby improving the execution effect of the migration and providing users with a better user experience.

[0106] In some embodiments, based on similar migration cases, subsequent migration nodes in the migration path are updated to migration optimization nodes, such as Figure 3 As shown, the following steps are included:

[0107] Step 301: input similar migration cases and historical migration data of users into the big model, and obtain the migration optimization node through the big model.

[0108] Specifically, when determining the migration optimization node, similar migration cases and the user's historical migration data are first input into the big model. The big model uses its own natural language processing capabilities, speech recognition capabilities, etc. to analyze similar migration cases and the user's historical migration data to obtain the migration optimization node.

[0109] For example, the migration template, ROI, and minimized downtime of a similar migration case #8765, as well as the user's historical migration data, such as using the most commonly used migration template A, are input into the large model, and the migration optimization nodes obtained are node 9, node 11, node 12, and node 13.

[0110] Step 302: Send a migration path update indication to the user, and determine whether to update subsequent migration nodes in the migration path to migration optimization nodes based on the user response.

[0111] Specifically, after obtaining the migration optimization node, the optimized migration node is sent to the user. If the user agrees to use the optimized migration node, the migration optimization node is used in the migration path; if the user disagrees to use the optimized migration node, the original migration path is used in the migration path, or similar cases are re-searched and the migration optimization node is calculated. Among them, the subsequent migration nodes in the updated migration path are migration optimization nodes. According to the migration paths and ROIs of similar migration cases, the optimal path is recommended to the user, including converting the migration optimization nodes calculated by the large model into decision branch options that are easy for the user to understand through natural language processing technology, and presenting them to the user for decision-making. According to the new branch selected by the user, the subsequent migration nodes are updated to form a new migration path.

[0112] For example, when the migration optimization nodes are node 9 and node 11, the updated migration path node 1-node 2-node 3-node 4-node 5-node 9-node 11-node 10 is sent to the user. If the user agrees to use the migration path, node 9, node 11, node 12, and node 13 are used to continue migrating the application sys1 to be migrated; if the user disagrees, the original migration path is used: node 1-node 2-node 3-node 4-node 5-node 6-node 7-node 8-node 9-node 10 migration, or the user's historical migration data and / or similar migration cases are changed, and similar cases are recalculated to determine a new migration optimization node.

[0113] In the embodiment of the present application, similar migration cases and the user's historical migration data are input into the large model to obtain a migration optimization node. Since the large model has a strong language recognition ability, it can obtain relatively accurate similar migration cases. By using the migration optimization node to update the subsequent migration nodes in the migration path, the migration process is always in an efficient state, thereby improving the efficiency of the migration.

[0114] In some embodiments, obtaining a migration optimized node through a large model includes:

[0115] The migration optimization node and the migration optimization prediction effect of any migration optimization node are obtained through the large model.

[0116] Specifically, the large model will calculate the migration optimization node based on similar cases and the user's historical migration data, and calculate the migration prediction effect ΔROI_predicted corresponding to the migration optimization node. ΔROI_predicted is determined by the ROI of the predicted migration optimization node and the original migration node. If ΔROI_predicted meets the migration threshold, the predicted migration optimization node will be used as the optimized migration node; if ΔROI_predicted does not meet the migration threshold, the predicted migration optimization node will continue to be searched until the predicted migration optimization node meets the migration threshold, and it will be used as the migration optimization node.

[0117] In some embodiments, after updating the subsequent migration nodes in the migration path to the migration optimization nodes, the method further includes: for any migration optimization node, monitoring the execution effect of the migration task corresponding to the migration optimization node, and determining the actual effect of the migration optimization based on the execution effect. Based on similar migration cases, the predicted effect of migration optimization, and the actual effect of migration optimization, the large model is updated.

[0118] Specifically, the actual effect of migration optimization is the actual ROI_actual. The large model fitting degree is determined according to the predicted effect of migration optimization and the actual effect of migration optimization, as shown in formula (3):

[0119] OD=(ΔROI_predicted / ΔROI_actual)*100%...Formula (3)

[0120] Among them, OD is the fitting degree of the large model. ΔROI_predicted represents the change value of the predicted effect of the large model migration optimization, and ΔROI_actual represents the change value of the actual effect of the migration optimization. The closer the OD value is to 1, the more accurate the prediction ability of the large model is.

[0121] Through these detailed technical solutions, the system can dynamically adjust the migration path, optimize the migration process, improve migration efficiency and quality, while reducing costs and achieving higher ROI.

[0122] a) Large model training and optimization:

[0123] Regularly retrain the large model with new migration data and user feedback to improve its accuracy and adaptability.

[0124] b) Visualization of migration paths:

[0125] Develop a visualization tool to display the migration path and ROI changes to users in a graphical way to help users better understand the migration process and optimization effects.

[0126] c) Automated testing and verification:

[0127] Before the migration path is executed, a series of test cases are automatically executed to verify the feasibility and correctness of the migration path.

[0128] d) Security and compliance checks:

[0129] During the migration process, data security and compliance are automatically checked to ensure that the migration complies with relevant laws and regulations.

[0130] e)Exception handling mechanism:

[0131] i. Design an exception handling mechanism to enable quick response and take remedial measures when unexpected situations occur during the migration process.

[0132] For example, when the system is offline, the self-learning of the migration path is strengthened, sample data is extracted from the migration template library, features are extracted, and the large model is trained to obtain a large model with higher fitting degree.

[0133] Enhanced model input:

[0134] a) Current migration optimization large model v1.0

[0135] b) Training case #8765, v1.0 OD=1.17

[0136] c) Target OD = 1

[0137] Enhanced model output:

[0138] a) The latest migration optimization large model v1.1

[0139] d) Training case #8765, v1.1 OD=1.13

[0140] b) A / B Testing:

[0141] We implemented an A / B testing strategy to evaluate the performance of the new and old versions of the big model v1.1 and v1.0. We found that the actual OD of the big model v1.1 was 1.14, and the actual OD of the big model v1.0 was 1.18. We selected the v1.1 model with a more accurate OD of 1.18 as the current running model to complete the self-update of the big model.

[0142] Through actual implementation examples, we can see how to optimize the migration process, improve ROI, and achieve seamless migration from the original environment to the target environment through intelligent steps, starting from the moment the user submits the migration execution instruction.

[0143] In an embodiment of the present application, during the migration process, the actual effect of the migration optimization is determined by monitoring the execution effect of the migration optimization nodes, and the large model is updated based on similar migration cases, migration optimization prediction effects, and migration optimization execution effects, so that the large model can continuously learn and increasingly meet migration needs.

[0144] In some embodiments, the execution effect of the migration task corresponding to each migration node is monitored, such as Figure 4 As shown, the following steps are included:

[0145] Step 401: After the migration task corresponding to each migration node is executed, the migration cost, migration accuracy and quality change of the migration template of the migration task are determined.

[0146] Specifically, after optimization, the value of the migration optimization node is used, and before optimization, the value of the original migration node is used.

[0147] Migration accuracy (hereinafter referred to as accuracy) improvement formula:

[0148] a) ΔAccuracy Improvement = Accuracy after Optimization - Accuracy before Optimization

[0149] b) Note: The accuracy rate is the current migration effect indicator of the migration result. According to the migration requirements, the migration success rate of the application to be migrated, the running success rate of the application to be migrated in the migration target environment after successful migration, the service availability rate or other factors should be selected as the migration accuracy rate.

[0150] 2. Migration template quality (hereinafter referred to as template quality) improvement formula:

[0151] a)Δ Template quality improvement = Template quality after optimization - Template quality before optimization

[0152] b) Description: Template quality is an indicator of the compound interest effect of migration results. Different from accuracy, it describes the improvement in ROI of migration templates in the case library after using the migration optimization node in this migration.

[0153] 3. Migration cost (hereinafter referred to as cost) reduction formula:

[0154] a) ΔCost Improvement = Cost after Optimization - Cost before Optimization

[0155] b) Note: Migration cost is the cost indicator of migration investment, including the time consumed by the entire migration, the cost of purchasing resources and potential fault recovery costs.

[0156] Step 402: Determine the execution effect based on the migration cost, the migration accuracy, and the quality improvement of the migration template.

[0157] ROI improvement formula: The smaller the ΔROI, the better the migration optimization effect, as shown in formula (2):

[0158] ΔROI=(Δmigration cost / (Δmigration template quality+Δmigration accuracy))……Formula (2)

[0159] For example, compare the migration optimization nodes: node 9, node 11, node 12, node 13 with the original migration nodes node 6, node 7, node 8, node 9:

[0160] 1. Δ prediction accuracy improvement = accuracy after optimization - accuracy before optimization = 76.5% - 74% = 2.5%

[0161] 2.ΔPrediction template quality improvement = template quality after optimization - template quality before optimization = 76% - 74% = 2%

[0162] 3. Δ Predicted cost improvement = Cost after optimization - Cost before optimization = 64% - 65.5% = -1.2%

[0163] 4. ΔROI_predicted = (Δ prediction cost improvement / (Δ prediction template quality improvement + Δ prediction accuracy improvement)) = -33.3%

[0164] In the embodiment of the present application, when determining the migration execution effect, it is determined based on the migration cost of each migration node, the migration accuracy rate, and the quality improvement of the migration template, thereby making the determination of the migration execution effect more accurate.

[0165] In some embodiments, determining a migration template of an application to be migrated includes:

[0166] Based on the user's historical migration behavior, at least one migration template is recommended, and based on the user, a migration template for the application to be migrated is determined from the at least one migration template; or the user's migration requirements for the application to be migrated are obtained, keywords of the migration requirements are extracted, and a migration template matching the keywords is determined from each migration template as the migration template for the application to be migrated.

[0167] Specifically, the user migration interface is designed and developed, requiring the user to select the application to be migrated and the migration template, and initiate the migration execution instruction. The migration template recommendation module analyzes the migration templates commonly used by users according to the user's historical behavior. If the user directly selects a migration template, the application to be migrated will be directly migrated through the migration template selected by the user; if no selection is made, it will wait for user input.

[0168] After the user does not select a migration template, the user enters a text description of the specific migration requirements of the application to be migrated, such as the description of the original migration environment, the description of the target migration environment, the migration product, the time window, the resource priority, and other information. Advanced natural language processing (NLP) technology is used to parse the text information entered by the user and obtain the keywords in the migration requirements to achieve automatic extraction of keywords. The migration template with the highest similarity is obtained based on the keyword similarity and returned to the user. This process involves the following key steps:

[0169] a) Migration requirements: text preprocessing and entity recognition:

[0170] i. The input text data is first preprocessed, including but not limited to word segmentation, stop word removal, stemming, etc., in preparation for subsequent keyword extraction.

[0171] ii. Use named entity recognition (NER) technology to identify keywords related to application migration from the preprocessed text, such as application components to be migrated, version numbers, configuration parameters, etc.

[0172] b) Keyword extraction:

[0173] i. Extract keywords from the identified entities through customized machine learning models or rule engines, which are critical to the application migration process.

[0174] c) Migration template matching and recommendation:

[0175] i. The extracted keywords will be used as input to the template recommendation system. The template recommendation system calculates the similarity between keywords and matches the migration template that best matches the current keywords.

[0176] ii. Use cosine similarity, Jaccard similarity or other similarity measurement methods to evaluate the similarity between the user input keywords and the existing migration templates.

[0177] d) Template recommendation:

[0178] i. Based on the similarity calculation results, the template recommendation system will select the most matching migration template and push it to the user as the recommendation output.

[0179] Through this process, an intelligent migration template recommendation service can be provided to users, greatly improving the efficiency and accuracy of application migration. It not only reduces the workload of manually configuring migration templates, but also enhances the user experience through the intelligent recommendation mechanism. Users can provide feedback on the recommended migration templates, and by collecting these feedback data, the template recommendation algorithm can be further trained and optimized. If the user is satisfied with the recommendation results, the user selects the migration template to start migration. If the user is not satisfied with the recommendation results, the user can create a new migration template with one click. At this time, the extracted keywords will generate a new migration case, and migration will be performed according to the new migration case. Figure 5 A schematic diagram of the overall process of an application migration method provided in an embodiment of the present application.

[0180] In the embodiment of the present application, by determining the migration template according to the user's historical migration behavior, the efficiency of determining the migration template is improved; by determining the migration template according to the keywords in the migration requirements, the migration template that meets the user's requirements can be accurately determined. Determining the migration template by two methods, namely, the user's historical migration behavior or the migration requirements, provides the user with multiple choices for determining the migration template, thereby improving the user's experience.

[0181] Based on the same technical concept, the present application embodiment provides a structural diagram of an application migration device, such as Figure 6 As shown, the device 600 includes:

[0182] A determination module 601 is used to determine a migration template of an application to be migrated, wherein the migration template includes a migration path composed of a plurality of migration nodes, each migration node corresponds to a respective migration task, and the migration template is stored in a migration template library;

[0183] A migration module 602, configured to perform application migration according to a migration path in the migration template based on a migration execution instruction triggered by a user;

[0184] The monitoring module 603 is used to monitor the execution effect of the migration task corresponding to each migration node during the application migration process. If the execution effect does not meet the migration threshold, a similar migration case is obtained from the migration template library.

[0185] The updating module 604 is used to update the subsequent migration nodes in the migration path to migration optimization nodes based on the similar migration cases until the migration of the application to be migrated is completed.

[0186] Optionally, the updating module 604 is specifically used for:

[0187] Inputting the similar migration cases and the historical migration data of the user into a large model, and obtaining the migration optimization node through the large model;

[0188] A migration path update indication is sent to the user, and based on a user response, it is determined whether to update a subsequent migration node in the migration path to be the migration optimization node.

[0189] Optionally, the updating module 604 is specifically used for:

[0190] Obtaining the migration optimization node and the migration optimization prediction effect of any migration optimization node through the large model;

[0191] After the updating of the subsequent migration nodes in the migration path to the migration optimization nodes, the method further includes:

[0192] For any migration optimization node, monitor the execution effect of the migration task corresponding to the migration optimization node, and determine the actual effect of the migration optimization based on the execution effect;

[0193] The large model is updated based on the similar migration cases, the predicted effect of the migration optimization and the actual effect of the migration optimization.

[0194] Optionally, the migration module 602 is specifically configured to:

[0195] Any migration template also includes a list of migration applications, a description of the original migration environment, a description of the target migration environment, migration dependency information, the execution effect of the migration template, and migration optimization nodes based on user responses;

[0196] Any case in the case library includes migration path change information and optimization effect information corresponding to the migration path change.

[0197] Optionally, the determining module 601 is specifically configured to:

[0198] Based on the user's historical migration behavior, at least one migration template is recommended, and based on the user, a migration template for the application to be migrated is determined from the at least one migration template; or the user's migration requirements for the application to be migrated are obtained, keywords of the migration requirements are extracted, and a migration template matching the keywords is determined from each migration template as the migration template for the application to be migrated.

[0199] Optionally, the monitoring module 603 is specifically used for:

[0200] After the migration task corresponding to each migration node is completed, the migration cost, migration accuracy and quality improvement of the migration template of the migration task are determined;

[0201] An execution effect is determined based on the migration cost, the migration accuracy, and the quality improvement of the migration template.

[0202] Based on the same technical concept, the embodiment of the present application provides a computer device, which may be a terminal or a server, such as Figure 7 As shown, it includes at least one processor 701 and a memory 702 connected to the at least one processor. The specific connection medium between the processor 701 and the memory 702 is not limited in the embodiment of the present application. Figure 7 For example, the processor 701 and the memory 702 are connected via a bus. The bus can be divided into an address bus, a data bus, a control bus, and the like.

[0203] In the embodiment of the present application, the memory 702 stores instructions that can be executed by at least one processor 701. The at least one processor 701 can execute the steps included in the above-mentioned method for abnormal recovery of the primary and standby machines by executing the instructions stored in the memory 702.

[0204] Among them, the processor 701 is the control center of the computer device, and can use various interfaces and lines to connect various parts of the computer device, and perform master-slave abnormal recovery by running or executing instructions stored in the memory 702 and calling data stored in the memory 702. Optionally, the processor 701 may include one or more processing units, and the processor 701 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 701. In some embodiments, the processor 701 and the memory 702 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on independent chips.

[0205] Processor 701 can be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware processor for execution, or can be executed by a combination of hardware and software modules in the processor.

[0206] The memory 702 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 702 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 702 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 702 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.

[0207] Based on the same inventive concept, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program executable by a computer device. When the program runs on the computer device, the computer device executes the steps of the above-mentioned primary and standby machine abnormal recovery method.

[0208] Based on the same inventive concept, an embodiment of the present application provides a computer program product, characterized in that the computer program product includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer device, the computer device executes the steps of the above-mentioned master-slave machine abnormal recovery method.

[0209] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0210] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0211] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0212] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0213] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for application migration, characterized in that: include: Determine a migration template of the application to be migrated, the migration template includes a migration path composed of multiple migration nodes, each migration node corresponds to a respective migration task, and the migration template is stored in a migration template library; Based on the migration execution instruction triggered by the user, the application is migrated according to the migration path in the migration template; During the application migration process, monitor the execution effect of the migration task corresponding to each migration node. If the execution effect does not meet the migration threshold, obtain similar migration cases from the migration template library. Based on the similar migration cases, subsequent migration nodes in the migration path are updated to migration optimization nodes until the migration of the application to be migrated is completed.

2. The method according to claim 1, characterized in that The updating of subsequent migration nodes in the migration path as migration optimization nodes based on the similar migration cases includes: Inputting the similar migration cases and the historical migration data of the user into a large model, and obtaining the migration optimization node through the large model; A migration path update indication is sent to the user, and based on a user response, it is determined whether to update a subsequent migration node in the migration path to be the migration optimization node.

3. The method according to claim 2, characterized in that The step of obtaining the migration optimization node through the large model includes: Obtaining the migration optimization node and the migration optimization prediction effect of any migration optimization node through the large model; After the updating of the subsequent migration nodes in the migration path to the migration optimization nodes, the method further includes: For any migration optimization node, monitor the execution effect of the migration task corresponding to the migration optimization node, and determine the actual effect of the migration optimization based on the execution effect; The large model is updated based on the similar migration cases, the predicted effect of the migration optimization and the actual effect of the migration optimization.

4. The method according to claim 1, characterized in that include: Any migration template also includes a list of migration applications, a description of the original migration environment, a description of the target migration environment, migration dependency information, the execution effect of the migration template, and migration optimization nodes based on user responses; Any case in the migration template library includes migration path change information and optimization effect information corresponding to the migration path change.

5. The method according to any one of claims 1 to 4, characterized in that: The step of determining a migration template of an application to be migrated includes: Based on the user's historical migration behavior, at least one migration template is recommended, and based on the user, a migration template for the application to be migrated is determined from the at least one migration template; or the user's migration requirements for the application to be migrated are obtained, keywords of the migration requirements are extracted, and a migration template matching the keywords is determined from each migration template as the migration template for the application to be migrated.

6. The method according to any one of claims 1 to 4, characterized in that: The monitoring of the execution effect of the migration task corresponding to each migration node includes: After the migration task corresponding to each migration node is completed, the migration cost, migration accuracy and quality improvement changes of the migration template are determined; An execution effect is determined based on the migration cost, the migration accuracy, and the quality improvement of the migration template.

7. A device for application migration, characterized in that: include: A determination module, used to determine a migration template of the application to be migrated, wherein the migration template includes a migration path composed of a plurality of migration nodes, each migration node corresponds to a respective migration task, and the migration template is stored in a migration template library; A migration module, configured to perform application migration according to a migration path in the migration template based on a migration execution instruction triggered by a user; The monitoring module is used to monitor the execution effect of the migration task corresponding to each migration node during the application migration process. If the execution effect does not meet the migration threshold, similar migration cases are obtained from the migration template library. An updating module is used to update subsequent migration nodes in the migration path to migration optimization nodes based on the similar migration cases until the migration of the application to be migrated is completed.

8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium, characterized in that: It stores a computer program executable by a computer device, and when the program is run on the computer device, the computer device executes the steps of any method described in claims 1 to 6.

10. A computer program product, characterized in that The computer program product comprises a computer program stored on a computer-readable storage medium, wherein the computer program comprises program instructions, and when the program instructions are executed by a computer device, the computer device is caused to execute the steps of the method according to any one of claims 1 to 6.