Adaptive migration feasibility evaluation method and device, equipment and storage medium

By performing architectural hierarchical and adaptation information analysis on the software system, the feasibility of adaptation and migration of the software system is automatically evaluated, and the problems of low efficiency and insufficient accuracy of the existing technology CITIC adaptation and migration evaluation are solved, and rapid and accurate adaptation and migration evaluation and strategy formulation are achieved.

CN120407511APending Publication Date: 2025-08-01GUANGDONG ESHORE TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410132962.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-30
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

The prior art cannot fully and effectively perform feasibility assessment in the software system information and innovation adaptation migration, resulting in obstacles in the adaptation migration process, low efficiency and subjective impact, affecting the accuracy of the evaluation.

Method used

By determining the target environment and migration goals of the software system, performing architectural hierarchical processing, obtaining the adaptation information of the adaptation migration object, including adaptation environment information, development language and open source conditions, and combining the target environment for automated feasibility assessment, obtaining accurate feasibility assessment results.

Benefits of technology

A fast and accurate feasibility assessment of adaptation migration is achieved, reducing the dependence of human analysis, improving the efficiency and accuracy of evaluation, helping users to discover adaptation migration problems in advance and formulate strategies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120407511A_ABST
    Figure CN120407511A_ABST
Patent Text Reader

Abstract

The invention provides an adaptive migration feasibility evaluation method and device, equipment and a storage medium, and the adaptive migration feasibility evaluation method comprises the steps: determining a to-be-migrated target environment of a software system, and determining a migration target of the software system, the migration target comprises at least one of a dependency library and a component, the migration target is subjected to architecture layering processing of a software system, adaptive migration objects corresponding to the migration target in a plurality of hierarchies are obtained, adaptive information of the adaptive migration objects is determined, and the adaptive information comprises adaptive environment information, a development language and an open source condition; according to the target environment, the adaptive environment information, the development language and the open source condition, the feasibility evaluation of the adaptive migration is carried out to obtain a feasibility evaluation result, manual analysis is not needed, the feasibility evaluation of the adaptive migration is automatically carried out based on architecture layering of a software system and the adaptive information of the adaptive migration object in combination with the target environment, and the feasibility evaluation result is obtained. And the feasibility evaluation result with higher accuracy can be quickly and effectively determined.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of information technology application innovation, and particularly to a method, device, equipment and storage medium for evaluating the feasibility of adaptation and migration. Background Art

[0002] With the development of information technology application innovation (referred to as Xinchuang for short), the demand for Xinchuang adaptation and migration of software systems has gradually increased. For the feasibility analysis of Xinchuang adaptation of software systems, the current technical methods mainly rely on manual collection of relevant system information for preliminary feasibility analysis and judgment of adaptation. Using this method, it is impossible to effectively evaluate the feasibility of software systems in full quantity, resulting in additional problems that hinder adaptation and migration during the actual adaptation and migration process, leading to the failure to formulate Xinchuang adaptation and migration strategies and plans in a timely or early manner, the production of adaptation and migration work being blocked, and it may not be possible to fully adapt and migrate; at the same time, the manual analysis is inefficient and subject to subjective influence, affecting the evaluation accuracy. Summary of the Invention

[0003] Embodiments of this application provide a method, device, equipment and storage medium for evaluating the feasibility of adaptation and migration to solve at least one problem existing in the related technology. The technical solutions are as follows:

[0004] In a first aspect, embodiments of this application provide a method for evaluating the feasibility of adaptation and migration, including:

[0005] Determine the target environment to which the software system is to be migrated, and determine the migration target of the software system, where the migration target includes at least one of a dependency library and a component;

[0006] Perform architecture layering processing of the software system on the migration target to obtain adaptation and migration objects corresponding to the migration target in several levels;

[0007] Determine the adaptation information of the adaptation and migration object, where the adaptation information includes adaptation environment information, development language, and open source situation;

[0008] Perform a feasibility evaluation of adaptation and migration based on the target environment, the adaptation environment information, the development language, and the open source situation to obtain a feasibility evaluation result.

[0009] In an implementation manner, the performing architecture layering processing of the software system on the migration target to obtain adaptation and migration objects corresponding to the migration target in several levels includes:

[0010] Determine the architecture levels of the software system, where the architecture levels include a user layer, a reverse proxy layer, an application service layer, and a database layer;

[0011] Logically layer the migration target according to the preset rule library and the architecture level, and respectively determine the adaptation migration objects corresponding to the migration target in the user layer, the reverse proxy layer, the application service layer, and the database layer.

[0012] In one implementation, the feasibility assessment of adaptation migration according to the target environment, the adaptation environment information, the development language, and the open source situation, and the obtained feasibility assessment result includes:

[0013] When the adaptation environment information indicates the existence of an adaptation-related environment, match the adaptation-related environment with the target environment to obtain a matching result;

[0014] When the matching result indicates that the adaptation-related environment is adapted to the target environment, determine the adaptation migration feasibility level of each adaptation migration object according to the development language and the open source situation;

[0015] Determine the feasibility assessment result according to the adaptation migration feasibility level.

[0016] In one implementation, the method further includes:

[0017] When the adaptation environment information of the adaptation migration object indicates no adaptation-related environment, determine the adaptation migration feasibility level of the adaptation migration object as level one, and the level one indicates that it can be directly adapted and migrated.

[0018] In one implementation, the determining the adaptation migration feasibility level of each adaptation migration object according to the development language and the open source situation includes:

[0019] When the development language is an interpreted language and the open source situation is open source, determine the adaptation migration feasibility level of the adaptation migration object as level two;

[0020] When the development language is a compiled language and the open source situation is open source, determine the adaptation migration feasibility level of the adaptation migration object as level three;

[0021] When the open source situation is non-open source, determine a solution according to the adaptation migration object and the preset solution library. When there is a solution, determine the adaptation migration feasibility level of the adaptation migration object as level four, otherwise determine the adaptation migration feasibility level of the adaptation migration object as level five.

[0022] In one implementation, the determining the feasibility assessment result according to the adaptation migration feasibility level includes:

[0023] When none of the adaptation migration feasibility levels are level five, determine the feasibility assessment result indicating adaptation migration;

[0024] When there is at least one level five among all the adaptation migration feasibility levels, determine the feasibility assessment result representing non - adaptation migration.

[0025] In one implementation, the method further includes:

[0026] In the case where the feasibility assessment result represents adaptation migration:

[0027] When the adaptation migration feasibility level of the adaptation migration object is level two, perform configuration modification or code modification on the adaptation migration object;

[0028] When the adaptation migration feasibility level of the adaptation migration object is level three, re - compile after performing code modification on the adaptation migration object;

[0029] When the adaptation migration feasibility level of the adaptation migration object is level four, replace the adaptation migration object with the replacement object in the solution.

[0030] In a second aspect, an embodiment of the present application provides a feasibility assessment device for adaptation migration, including:

[0031] A first determination module, configured to determine the target environment to which the software system is to be migrated, and determine the migration target of the software system, where the migration target includes at least one of a dependency library and a component;

[0032] A layering module, configured to perform architecture layering processing of the software system on the migration target to obtain adaptation migration objects corresponding to the migration target in several levels;

[0033] A second determination module, configured to determine the adaptation information of the adaptation migration object, where the adaptation information includes adaptation environment information, development language, and open - source situation;

[0034] An evaluation module, configured to perform a feasibility assessment of adaptation migration according to the target environment, the adaptation environment information, the development language, and the open - source situation, and obtain a feasibility assessment result.

[0035] In one implementation, the evaluation module is further configured to:

[0036] When the adaptation environment information of the adaptation migration object represents no associated adaptation environment, determine the adaptation migration feasibility level of the adaptation migration object as level one, and level one represents direct adaptation migration.

[0037] In one implementation, the evaluation module is further configured to:

[0038] In the case where the feasibility assessment result represents adaptation migration:

[0039] When the adaptation and migration feasibility level of the adaptation and migration object is level two, configuration modification or code modification is performed on the adaptation and migration object;

[0040] When the adaptation and migration feasibility level of the adaptation and migration object is level three, the code of the adaptation and migration object is modified and then recompiled;

[0041] When the adaptation and migration feasibility level of the adaptation and migration object is level four, the adaptation and migration object is replaced with the replacement object in the solution.

[0042] Thirdly, an embodiment of the present application provides an electronic device, including: a processor and a memory, wherein instructions are stored in the memory, and the instructions are loaded and executed by the processor to implement the method in any one of the above aspects.

[0043] Fourthly, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the method in any one of the above aspects is implemented.

[0044] The beneficial effects in the above technical solutions at least include:

[0045] By determining the target environment to which the software system is to be migrated and determining the migration target of the software system, the migration target includes at least one of a dependency library and a component, performing an architecture layering process on the migration target for the software system to obtain adaptation and migration objects corresponding to the migration target in several levels, determining the adaptation information of the adaptation and migration objects, the adaptation information including adaptation environment information, development language, and open source situation, and performing a feasibility evaluation of adaptation and migration based on the target environment, adaptation environment information, development language, and open source situation to obtain a feasibility evaluation result, without manual analysis, automatically performing a feasibility evaluation of adaptation and migration based on the architecture layering of the software system, the adaptation information of the adaptation and migration objects combined with the target environment, which is beneficial to quickly and effectively determining a feasibility evaluation result with higher accuracy.

[0046] The above summary is only for the purpose of the specification and is not intended to be limiting in any way. In addition to the above-described illustrative aspects, embodiments, and features, further aspects, embodiments, and features of the present application will become apparent by reference to the drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In the drawings, unless otherwise specified, the same reference numerals throughout the several views denote the same or similar components or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in accordance with the present application and should not be regarded as limiting the scope of the present application.

[0048] Figure 1 Schematic diagram of the steps of the feasibility evaluation method for adaptation migration according to an embodiment of the present application;

[0049] Figure 2 Block diagram of the structure of the feasibility evaluation device for adaptation migration according to an embodiment of the present application;

[0050] Figure 3 Block diagram of the structure of an electronic device according to an embodiment of the present application. Detailed implementation manners

[0051] In the following, only some exemplary embodiments are briefly described. As those skilled in the art can recognize, the described embodiments can be modified in various different ways without departing from the spirit or scope of the present application. Therefore, the drawings and the description are considered to be exemplary in nature rather than restrictive.

[0052] Glossary of terms:

[0053] IT application innovation: The full name is "Information Technology Application Innovation", which mainly includes fields such as cloud computing, software, hardware, and security (network security) under the new generation of information technology, covering the security, controllability, and independent innovation of the entire industrial chain from the underlying basic software and hardware to the upper-layer application software of IT.

[0054] Adaptation migration object: In the process of system adaptation migration, specific objects involved are adapted and migrated (such as dependent libraries and components, etc.).

[0055] Feasibility of adaptation migration: Evaluate the challenges, risks, and problems that may be faced in the process of software adaptation migration, and determine whether there are corresponding solutions and feasibility.

[0056] Dependent library: Refers to the library files or modules directly used by the system or application program in software or system development. Dependent libraries are usually a collection of codes that provide specific functions or services to implement certain specific functions or add some additional features. System dependent libraries can include various functions, classes, interfaces, etc. Dependent libraries can include standard libraries provided by the operating system, third-party libraries, or custom libraries, etc.

[0057] Component: Refers to a component or module that interacts with the system or application program but is not directly controlled by the system. It can include external middleware, database systems, third-party software, etc., which together with the system dependent libraries constitute the overall functions and services of the system.

[0058] Interpreted language: A type of programming language, whose execution process is to interpret the source code line by line through an interpreter and execute it in real time. The source code of an interpreted language is interpreted and executed line by line at runtime without an explicit compilation step. Common interpreted languages include Java, Python, PHP, etc.

[0059] Compiled language: A programming language whose source code is converted into a machine language executable file by a compiler before it can be run. The compilation process of a compiled language converts the source code into machine code all at once. The resulting executable file can be run directly on the target computer without the need for source code or a compiler. Common compiled languages include C, C++, and Go.

[0060] Reference Figure 1 , showing a flow chart of a feasibility assessment method for adaptive migration according to an embodiment of the present application, the feasibility assessment method for adaptive migration may include at least steps S100-S400:

[0061] S100: Determine the target environment to which the software system is to be migrated, and determine the migration target of the software system.

[0062] Optionally, in an embodiment of the present application, the migration target includes dependent libraries and components, while other embodiments may only include one of the dependent libraries and components, without specific limitation. It should be noted that an embodiment of the present application can also determine the source environment for the adaptation migration of the software system, as shown in Table 1, which is an example of the source environment and target environment for the adaptation migration of a certain software system, for illustration, the content types in the target environment include client chips, client operating systems, client browsers, server chips, server operating systems, server databases, and server middleware. Other embodiments may include one or more of client chips, client operating systems, client browsers, server chips, server operating systems, server databases, and server middleware, without specific limitation.

[0063] Table 1

[0064]

[0065]

[0066] S200 , performing layered processing on the software system architecture of the migration target to obtain adaptive migration objects corresponding to several layers.

[0067] S300: Determine adaptation information of an adapted migration object.

[0068] Optionally, the adaptation information includes but is not limited to adaptation environment information, development language, and open source status.

[0069] S400: Perform a feasibility assessment of the adaptation migration based on the target environment, adaptation environment information, development language, and open source status to obtain a feasibility assessment result.

[0070] The feasibility evaluation method for adaptation migration in the embodiments of the present application can be executed by electronic control units, controllers, processors, etc. of terminals such as computers, mobile phones, tablets, in-vehicle terminals, etc., or can also be executed by a cloud server, such as the system in the cloud server.

[0071] In the technical solution of the embodiments of the present application, by determining the target environment to which the software system is to be migrated, and determining the migration target of the software system, the migration target includes at least one of the dependency library and components, performing an architecture layering process on the migration target for the software system to obtain adaptation migration objects corresponding to the migration target in several levels, determining the adaptation information of the adaptation migration objects, the adaptation information includes adaptation environment information, development language, and open source situation, performing a feasibility evaluation of the adaptation migration according to the target environment, adaptation environment information, development language, and open source situation to obtain a feasibility evaluation result, without manual analysis, automatically performing a feasibility evaluation of the adaptation migration based on the architecture layering of the software system, the adaptation information of the adaptation migration objects combined with the target environment, which is beneficial to quickly and effectively determine a feasibility evaluation result with higher accuracy.

[0072] In one implementation, the system may include:

[0073] 1. Environment formulation module: mainly formulates the technical stacks and component situations of the source environment and target environment of the software system, such as including client operating systems and browsers, server operating systems, databases, and middleware, etc.;

[0074] 2. Dependency library evaluation module: analyzes the open source situation, development language, etc. of jar packages, so libraries, and other types of dependent programs used at each level of the software system;

[0075] 3. System component evaluation module: analyzes the open source situation, development language, etc. of basic components or dependent programs such as externally associated middleware and databases used at each level of the system.

[0076] 4. System adaptation association module: associates the key points of the dependency libraries and components in the system that need to be targeted at the Xinchuang target environment, that is, due to a certain environment switching to the Xinchuang technology route, the dependency libraries or components need to be adapted accordingly. For example, Component A needs to be adapted to the changed environment due to changes in the CPU and operating system of the Xinchuang environment, rather than being adapted to changes in the database middleware environment.

[0077] 5. Adaptation feasibility evaluation module mainly associates the dependency libraries and components used at each level of the software system with the target environment, and performs a feasibility analysis of the adaptation migration. The feasibility level of the adaptation migration is mainly divided into five levels.

[0078] 6. The rule dictionary library includes the dependency library and the attribute information of components, mainly including information such as the development language and the open source situation, which can be manually entered, modified, and deleted for matching with the migration object.

[0079] 7. The solution library mainly includes closed-source dependency libraries and alternative Xinchuang solutions for components, which can be manually entered, modified, and deleted in advance for matching with the migration object.

[0080] In one implementation, in step S100, the user imports the code engineering file of the software system, enters the component name of the software system, and enters the target environment to be migrated for the software system. The system identifies the file names of the dependency libraries in the code engineering file to determine the dependency libraries of the software system, and identifies the component names to determine the components of the software system, thereby determining the migration target of the software system.

[0081] In one implementation, step S200 includes steps S210 - S220:

[0082] S210. Determine the architecture level of the software system.

[0083] Optionally, the architecture level of the software system can be determined based on the code engineering file or the preset rule library. The architecture level includes but is not limited to the user layer, reverse proxy layer, application service layer, database layer, basic software layer, and basic hardware layer. The application service layer includes but is not limited to the presentation layer, application layer, and data layer. It should be noted that in other embodiments, the architecture level can include one or more of the user layer, reverse proxy layer, application service layer, database layer, basic software layer, and basic hardware layer, without specific limitations.

[0084] S220. According to the preset rule library and the architecture level, perform logical layering on the migration target, and respectively determine the adaptation migration objects corresponding to the migration target in the user layer, reverse proxy layer, application service layer, and database layer.

[0085] Optionally, according to the preset rule library and the architecture level, perform logical layering on the migration target, and respectively determine the adaptation migration objects corresponding to the migration target in the user layer, reverse proxy layer, application service layer (including the presentation layer, application layer, and data layer), and database layer. For example, as shown in Table 2, the adaptation migration objects of the dependency library include Html5, css3, script1.8, SpringBoot2, activiti5, commons - io2, kaptcha2, json - lib2, Mybatis3, JDBC12, etc., and the adaptation migration objects of the components include Ukey, ActiveX control, Nginx1.6, Redis6, etc.

[0086] Table 2

[0087]

[0088] In one embodiment, in step S300, the adaptation information of the adaptation migration object of the dependency library is determined through a preset database to obtain a first adaptation migration object information model, and the adaptation information of the adaptation migration object of the component is determined to obtain a second adaptation migration object information model. Optionally, the adaptation information includes, but is not limited to, adaptation environment information, development language, and open source situation. The development language includes, but is not limited to, interpreted languages (such as C, C++, Go, css, html, script, etc.), interpreted languages (such as Java, Python, PHP, etc.). When the open source situation is "yes", it indicates open source, and when the open source situation is "no", it indicates non-open source; the adaptation environment information can be empty, indicating no associated adaptation environment, indicating that the adaptation migration object can adapt to any environment and can be directly migrated. When the adaptation environment information is not empty, there can be an associated adaptation environment, so as to match the associated adaptation environment with the target environment to determine whether the associated adaptation environment is adapted to the target environment. As shown in Table 3, the adaptation environment information of the adaptation migration object SpringBoot2 is empty, and the associated adaptation environment of the adaptation environment information of the adaptation migration object Html5 is: client browser. The associated adaptation environment: the client browser is adapted to the target environment. At this time, the associated adaptation target environment is: UOS browser. Among them, the acquisition of the solution and the adaptation migration feasibility level is described in the following content.

[0089] Table 3

[0090]

[0091]

[0092] In one embodiment, step S400 includes steps S410 - S430:

[0093] S410. When the adaptation environment information indicates the existence of an associated adaptation environment, the associated adaptation environment is matched with the target environment to obtain a matching result.

[0094] S420. When the matching result indicates that the associated adaptation environment is adapted to the target environment, according to the development language and the open source situation, determine the adaptation migration feasibility level of each adaptation migration object.

[0095] Optionally, when the adaptation environment information indicates the existence of an adaptation-related environment, the adaptation-related environment is matched with the target environment to obtain a matching result. For example, the adaptation environment information of Nginx 1.6 has an adaptation-related environment: server chip, server operating system. The server chip and server operating system are respectively matched with the server chip and server operating system of the target system to determine the adaptation-related target environment: Kunpeng 920, Galaxy Kylin Advanced Server Operating System V10, indicating that the matching result represents the adaptation of the adaptation-related environment to the target environment.

[0096] It should be noted that when the adaptation environment information of the adaptation migration object indicates no adaptation-related environment, it means that the adaptation migration object can adapt to all environments. Therefore, the adaptation migration feasibility level of the adaptation migration object is determined to be level one, and level one represents direct adaptation migration. For example, commons-io2, Kaptcha2, etc. in Table 3 have no adaptation-related environment, and the adaptation migration feasibility level is determined to be level one.

[0097] Then, according to the development language and the open source situation, the adaptation migration feasibility level of each adaptation migration object is determined. For example:

[0098] 1. When the development language is an interpreted language and the open source situation is open source, the adaptation migration feasibility level of the adaptation migration object is determined to be level two. For example, Html5, Css3, etc. in Table 3.

[0099] 2. When the development language is a compiled language and the open source situation is open source, the adaptation migration feasibility level of the adaptation migration object is determined to be level three. For example, Redis6, Nginx1.6, etc. in Table 3.

[0100] 3. When the open source situation is non-open source, a solution is determined according to the adaptation migration object and the preset solution library. For example, use the adaptation migration object to search in the preset solution library to determine whether there is a (substitute) solution. If there is a (substitute) solution, the adaptation migration feasibility level of the adaptation migration object is determined to be level four. For example, Ukey, ActiveX control in Table 3. If there is no (substitute) solution, the adaptation migration feasibility level of the adaptation migration object is determined to be level five.

[0101] It should be noted that level one, level two, level three, level four, and level five represent a gradual decrease in adaptation migration feasibility.

[0102] S430. Determine the feasibility evaluation result according to the adaptation migration feasibility level.

[0103] Optionally, step S430 includes steps S4301 - S4302:

[0104] S4301. When there is no level five among all the adaptation migration feasibility levels, determine the feasibility evaluation result representing the adaptation migration.

[0105] Optionally, when there is no level five among all the adaptation migration feasibility levels, that is, when they are all one or more of level one, level two, level three, and level four, determine the feasibility evaluation result representing the adaptation migration, and migration can be performed.

[0106] S4302. When there is at least one level five among all the adaptation migration feasibility levels, determine the feasibility evaluation result representing the inadaptable migration.

[0107] Optionally, when there is at least one level five among all the adaptation migration feasibility levels, at this time, determine the feasibility evaluation result representing the inadaptable migration, and migration cannot be performed.

[0108] In one implementation, for the feasibility evaluation method of the adaptation migration in the embodiments of the present application, when the feasibility evaluation result represents the adaptation migration, it may further include steps S510 - S530:

[0109] S510. When the adaptation migration feasibility level of the adaptation migration object is level two, perform configuration modification or code modification on the adaptation migration object.

[0110] Optionally, when the adaptation migration feasibility level of the adaptation migration object is level two, the user can generate an operation instruction through an input operation, and the system responds to the operation instruction or based on a preset program to perform configuration modification or code modification on the adaptation migration object, and then the adaptation migration object can be migrated.

[0111] S520. When the adaptation migration feasibility level of the adaptation migration object is level three, perform code modification on the adaptation migration object and then recompile.

[0112] Optionally, when the adaptation migration feasibility level of the adaptation migration object is level three, the user can generate an operation instruction through an input operation, and the system responds to the operation instruction or based on a preset program to perform code modification on the adaptation migration object and then recompile, and then the adaptation migration object can be migrated.

[0113] S530. When the adaptation migration feasibility level of the adaptation migration object is level four, replace the adaptation migration object with the replacement object in the solution.

[0114] Optionally, when the adaptation migration feasibility level of the adaptation migration object is level four, the user can generate an operation instruction through an input operation, and the system responds to the operation instruction or based on a preset program to replace the adaptation migration object with the replacement object in the solution, for example, replace the ActiveX control with the CRX control, and then migration can be performed.

[0115] Through the method of the embodiments of the present application, a scientific and reliable feasibility evaluation mechanism and method for Xinchuang adaptation and migration are provided for software systems, the passing criteria for adaptation feasibility are clarified, the key points of adaptation problems are objectively demonstrated, helping users to conduct an overall feasibility evaluation analysis before starting the Xinchuang adaptation and migration of software systems, realizing the quantification of the feasibility evaluation of adaptation and migration, discovering the key problems of adaptation and migration in advance, and formulating adaptation and migration strategies and solutions for the adaptation and migration objects.

[0116] Refer to Figure 2 , which shows the structural block diagram of the feasibility evaluation device for adaptation and migration of an embodiment of the present application. The device may include:

[0117] The first determination module is used to determine the target environment to be migrated for the software system and determine the migration target of the software system. The migration target includes at least one of the dependency library and components;

[0118] The layering module is used to perform architecture layering processing on the migration target for the software system to obtain the adaptation and migration objects corresponding to the migration target in several levels;

[0119] The second determination module is used to determine the adaptation information of the adaptation and migration object. The adaptation information includes adaptation environment information, development language, and open source situation;

[0120] The evaluation module is used to perform a feasibility evaluation of the adaptation and migration according to the target environment, adaptation environment information, development language, and open source situation to obtain a feasibility evaluation result.

[0121] In one implementation manner, the evaluation module is further used for:

[0122] When the adaptation environment information of the adaptation and migration object indicates no associated adaptation environment, the adaptation and migration feasibility level of the adaptation and migration object is determined to be level one, and level one indicates that it can be directly adapted and migrated.

[0123] In one implementation manner, the evaluation module is further used for:

[0124] In the case where the feasibility evaluation result indicates adaptation and migration:

[0125] When the adaptation and migration feasibility level of the adaptation and migration object is level two, configuration modification or code modification is performed on the adaptation and migration object;

[0126] When the adaptation and migration feasibility level of the adaptation and migration object is level three, the code is modified and recompiled;

[0127] When the adaptation and migration feasibility level of the adaptation and migration object is level four, the adaptation and migration object is replaced with the replacement object in the solution.

[0128] For the functions of the modules in each device in the embodiments of the present application, reference may be made to the corresponding descriptions in the above methods, which will not be elaborated herein.

[0129] Referring to Figure 3 , a structural block diagram of an electronic device according to an embodiment of the present application is shown. The electronic device includes: a memory 310 and a processor 320. Instructions that can run on the processor 320 are stored in the memory 310. The processor 320 loads and executes the instructions to implement the feasibility evaluation method for adaptation migration in the above embodiments. Among them, the number of the memory 310 and the processor 320 can be one or more.

[0130] In one implementation, the electronic device further includes a communication interface 330 for communicating with external devices and performing data interaction and transmission. If the memory 310, the processor 320, and the communication interface 330 are implemented independently, the memory 310, the processor 320, and the communication interface 330 can be interconnected through a bus and complete communication with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of simplicity of representation, Figure 3 only a thick line is shown in

[0131] but it does not mean that there is only one bus or one type of bus.

[0132] The embodiments of the present application provide a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the feasibility evaluation method for adaptation migration provided in the above embodiments is implemented.

[0133] The embodiments of the present application further provide a chip, which includes a processor for calling and running instructions stored in a memory from the memory, so that a communication device installed with the chip executes the method provided in the embodiments of the present application.

[0134] An embodiment of the present application further provides a chip, including: an input interface, an output interface, a processor, and a memory. The input interface, the output interface, the processor, and the memory are connected through an internal connection path. The processor is configured to execute the code in the memory. When the code is executed, the processor is configured to execute the method provided by the embodiment of the application. <MASK <MASK

[0135] It should be understood that the above-mentioned processor may be a central processing unit (CPU), or may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture. <MASK <MASK

[0136] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may further include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DR RAM).

[0137] In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.

[0138] In the description of this specification, the descriptions referring to terms such as "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of this application. Moreover, the specific features, structures, materials, or characteristics described may be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0139] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one of these features. In the description of this application, "a plurality of" means two or more unless otherwise specifically defined.

[0140] Any process or method description represented in a flowchart or described in other ways herein may be understood to represent a module, segment, or portion of code including one or more executable instructions for implementing a specific logical function or process. And the scope of the preferred embodiments of this application includes additional implementations, where the functions may be executed in a substantially simultaneous manner or in the reverse order according to the functions involved, rather than in the order shown or discussed.

[0141] The logic and / or steps represented in a flowchart or described in other ways herein, for example, may be considered as a sequenced list of executable instructions for implementing a logical function and may be specifically implemented in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device).

[0142] It should be understood that the various parts of this application can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above-described example methods can be completed by a program instructing relevant hardware, and this program can be stored in a computer-readable storage medium. When this program is executed, it includes one or a combination of the steps of the method embodiment.

[0143] In addition, each functional unit in various embodiments of the present application may be integrated into one processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. The storage medium may be a read-only memory, a magnetic disk, an optical disc, or the like.

[0144] As mentioned above, the above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of various changes or substitutions thereof, and these should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims

1. A feasibility evaluation method for adaptation migration, characterized in that Including: Determine the target environment to which the software system is to be migrated, and determine the migration target of the software system, where the migration target includes at least one of a dependency library and a component; Perform architecture layering processing on the migration target for the software system to obtain an adapted migration object corresponding to the migration target in several levels; Determine the adaptation information of the adapted migration object, where the adaptation information includes adaptation environment information, development language, and open source situation; Conduct a feasibility assessment of the adaptation migration based on the target environment, the adaptation environment information, the development language, and the open source situation to obtain a feasibility assessment result.

2. The feasibility evaluation method for adaptation migration according to claim 1, wherein: The performing architecture layering processing on the migration target for the software system to obtain an adapted migration object corresponding to the migration target in several levels includes: Determine the architecture levels of the software system, where the architecture levels include a user layer, a reverse proxy layer, an application service layer, and a database layer; According to a preset rule library and the architecture levels, perform logical layering on the migration target, and respectively determine the adapted migration objects corresponding to the migration target in the user layer, the reverse proxy layer, the application service layer, and the database layer.

3. The feasibility evaluation method for adaptation migration according to claim 1, characterized in that: The conducting a feasibility assessment of the adaptation migration based on the target environment, the adaptation environment information, the development language, and the open source situation to obtain a feasibility assessment result includes: When the adaptation environment information indicates the existence of an adaptation associated environment, match the adaptation associated environment with the target environment to obtain a matching result; When the matching result indicates that the adaptation associated environment is adapted to the target environment, determine the adaptation migration feasibility level of each adapted migration object according to the development language and the open source situation; Determine the feasibility assessment result according to the adaptation migration feasibility level.

4. The feasibility evaluation method for adaptation migration according to claim 3, wherein: The method further includes: When the adaptation environment information of the adapted migration object indicates no adaptation associated environment, determine the adaptation migration feasibility level of the adapted migration object as level one, where level one indicates that it can be directly adapted and migrated.

5. The feasibility evaluation method for adaptive migration according to claim 3 or 4, characterized in that: The determining the adaptation migration feasibility level of each adapted migration object according to the development language and the open source situation includes: When the development language is an interpreted language and the open source situation is open source, determine the adaptation migration feasibility level of the adapted migration object as level two; When the development language is a compiled language and the open source situation is open source, determine the adaptation migration feasibility level of the adapted migration object as level three; When the open source situation is non-open source, determine a solution according to the adapted migration object and a preset solution library. When there is a solution, determine the adaptation migration feasibility level of the adapted migration object as level four, otherwise determine the adaptation migration feasibility level of the adapted migration object as level five.

6. The feasibility evaluation method for adaptation migration according to claim 5, wherein: The determining the feasibility assessment result according to the adaptation migration feasibility level includes: When none of the adaptation migration feasibility levels is level five, determine the feasibility assessment result indicating adaptation migration; When at least one of the adaptation migration feasibility levels is level five, determine the feasibility assessment result indicating non-adaptation migration.

7. The feasibility evaluation method for adaptation migration according to claim 5, characterized in that: The method further includes: In the case where the feasibility assessment result indicates adaptation migration: When the adaptation migration feasibility level of the adaptation migration object is level two, configuration modification or code modification is performed on the adaptation migration object; When the adaptation migration feasibility level of the adaptation migration object is level three, the code of the adaptation migration object is modified and then recompiled; When the adaptation migration feasibility level of the adaptation migration object is level four, the adaptation migration object is replaced with the replacement object in the solution.

8. A feasibility evaluation device for adaptation migration, characterized in that, Comprising: A first determination module, configured to determine a target environment to which a software system is to be migrated, and determine a migration target of the software system, the migration target including at least one of a dependency library and a component; A layering module, configured to perform architecture layering processing of the software system on the migration target to obtain adaptation migration objects corresponding to the migration target in several levels; A second determination module, configured to determine adaptation information of the adaptation migration object, the adaptation information including adaptation environment information, development language, and open source situation; An evaluation module, configured to perform a feasibility evaluation of adaptation migration according to the target environment, the adaptation environment information, the development language, and the open source situation, to obtain a feasibility evaluation result.

9. An electronic device, characterized in that, Comprising: A processor and a memory, wherein instructions are stored in the memory, and the instructions are loaded and executed by the processor to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the method according to any one of claims 1-7 is implemented.

Citation Information

Patent Citations

  • Resource demand pre-estimate method for cloud computing program smooth transition

    CN102662757A

  • Database migration evaluation method and device, storage medium and computer equipment

    CN111258989A

  • System migration method and device, electronic equipment and storage medium

    CN112685081A

  • System and method for evaluating migration workload of credential and credential adaptive code

    CN112947994A

  • Information and creation database migration verification method for power cloud

    CN117389993A