A cloud adapting method and system for Xinxin, a storage medium and an electronic device
By adopting cloud migration methods and systems adapted to domestic IT innovation, the compatibility issues of domestic IT innovation cloud architecture have been resolved, enabling a smooth transition between standardized and heterogeneous migration in domestic IT innovation. It supports dual-track parallel migration, reducing the complexity of technology implementation and the risk of data migration.
Patent Information
- Application Number
- CN202211721303.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2042-12-30
AI Technical Summary
The existing technology for domestic IT innovation cloud architecture is complex, making adaptation difficult and data migration risky. In particular, it lacks standardized migration support from x86 to c86, resulting in compatibility issues and making it impossible to simultaneously support standardized migration and heterogeneous migration for domestic IT innovation.
This paper provides a cloud migration method and system adapted to the domestic IT innovation model. By judging the machine architecture of the source and target ends, it adopts the domestic IT innovation standardized or heterogeneous cloud migration adaptation method, including steps such as minimum image extraction, self-developed program redirection, kernel module compatibility replacement and image site construction, and generates an adaptation database to support dual-track parallel migration.
It achieves a smooth transition between standardization and heterogeneous migration in the domestic IT innovation industry, solves the compatibility issues of domestically produced chips, reduces the complexity of technology implementation and data migration risks, supports dual-track parallel migration, and reduces the need for secondary development.
Smart Images

Figure CN115827604B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of computer technology, specifically relating to a cloud migration method, system, storage medium, and electronic device adapted to domestic IT innovation. Background Technology
[0002] With the continuous development of cloud computing technology, cloud migration has gradually become a key requirement for cloud service providers. Specifically, cloud migration refers to the complete migration of users' local systems or applications to the cloud, enabling business systems that originally relied on local hardware to run seamlessly on a cloud virtualization platform without manual reinstallation. Currently, the architecture of domestically developed cloud systems is complex, involving various CPU architectures, numerous types of basic software, and inconsistent standards. Current cloud migration technologies face several challenges, including high difficulty in adaptation, high data migration risks, and unclear feasibility of implementation. They cannot simultaneously support both standardized and heterogeneous migrations within the domestically developed cloud environment. In particular, current migration solutions based on domestically developed environments lack standardized migration support from x86 to c86, and existing domestic CPU instruction sets have compatibility issues with older system kernels, making them unusable directly. Summary of the Invention
[0003] To address the aforementioned problems in existing technologies, this invention provides a cloud migration method, system, storage medium, and electronic device adapted to domestic IT innovation, supporting both standardized migration and heterogeneous migration of domestic IT innovation.
[0004] The present invention adopts the following technical solution:
[0005] The first aspect of this invention provides a cloud migration method adapted to domestic IT innovation, comprising the following steps:
[0006] S1. Collect information from the source and target machines;
[0007] S2. Determine whether the source and target machines have the same architecture based on their machine information.
[0008] S3. If so, adopt the standardized cloud adaptation method of the information technology innovation for cloud migration; otherwise, adopt the heterogeneous cloud adaptation method of the information technology innovation for cloud migration to achieve a smooth transition of services.
[0009] The standardized cloud adaptation method for information technology innovation includes the following steps:
[0010] A. Complete the extraction of the minimum image;
[0011] B. Modify the startup item WinpeshI.exe of the self-developed RE system to redirect the startup item to the self-developed program;
[0012] C. Modify the BCD boot entry to set the self-developed RE system as the first boot option. After restarting, the system will be restored using the self-developed program.
[0013] D. Complete the compatible replacement of kernel modules;
[0014] E. Complete the smooth transition of services.
[0015] As a preferred option, in step B, step A specifically involves using Windows ADK to extract the minimum image boot.wim.
[0016] As a preferred embodiment, in step B, the self-developed program includes system recovery function, file copy function, registry key modification function, and driver adaptation function.
[0017] As a preferred option, step E specifically involves using an event-based real-time synchronization method and a traffic replication method to achieve a smooth service transition.
[0018] As a preferred solution, the method for adapting heterogeneous cloud environments for domestic IT innovation includes the following steps:
[0019] a. Obtain component libraries, dependency libraries, and driver libraries, and build a mirror site;
[0020] b. Analyze and parse each database on the mirror site to generate an adapted database;
[0021] c. Perform a structured breakdown of the source application to be migrated, conduct compatibility scans on the source code, software packages, and databases respectively, and complete the incompatible data reconstruction operation by adapting the database.
[0022] d. Complete the smooth transition of services.
[0023] As a preferred option, step a specifically involves using one or more of the following methods: RSYNC, FTP, and web crawling, to obtain the component library, dependency library, and driver library.
[0024] As a preferred option, in step b, RPM, DPKG, and TAR are used to analyze and parse the databases of the mirror site to generate an adapted database.
[0025] As a preferred option, step d specifically involves using an event-based real-time synchronization method and a traffic replication method to achieve a smooth service transition.
[0026] The second aspect of this invention provides a cloud-based system adapted for domestic IT innovation, comprising an information collection module, a judgment module, and a cloud-based module connected in sequence. The information collection module is also connected to a source machine and a target machine respectively. The cloud-based module includes a standardized cloud-based unit and a heterogeneous cloud-based unit, both of which are connected to the source machine and the target machine respectively.
[0027] The information collection module is used to collect information from both the source and target machines.
[0028] The judgment module is used to determine whether the source and target machines have the same architecture based on the source and target machine information.
[0029] The standardized cloud migration unit is used to migrate services to the cloud using the standardized cloud migration adaptation method when the source and target ends have the same architecture, so as to achieve a smooth transition of services.
[0030] The heterogeneous cloud migration unit is used to migrate services to the cloud using the domestic IT innovation heterogeneous cloud migration adaptation method when the source and target ends have different architectures, so as to achieve a smooth transition of services.
[0031] The standardized cloud deployment unit includes an image extraction subunit, a redirection subunit, a system recovery subunit, a compatibility replacement subunit, and a first smooth transition subunit;
[0032] The image extraction subunit is used to extract the minimum image.
[0033] The redirection subunit is used to modify the startup item WinpeshI.exe of the self-developed RE system and redirect the startup item to the self-developed program;
[0034] The system recovery subunit is used to modify the BCD boot entry, set the self-developed RE system as the first boot option, and complete the system recovery through the self-developed program after restarting.
[0035] The compatibility replacement subunit is used to complete the compatibility replacement of kernel modules;
[0036] The first smooth transition subunit is used to complete the smooth transition of services.
[0037] As a preferred option, the image extraction subunit uses Windows ADK to extract the minimum image boot.wim.
[0038] As a preferred embodiment, the self-developed program includes system recovery function, file copy function, registry key modification function, and driver adaptation function.
[0039] As a preferred solution, the first smooth transition subunit uses a real-time event synchronization method and a traffic replication method to complete the smooth transition of services.
[0040] As a preferred solution, the heterogeneous cloud migration unit includes a mirror site construction subunit, an adaptation database generation subunit, a migration adaptation subunit, and a second smooth transition subunit.
[0041] The mirror site construction subunit is used to obtain component libraries, dependency libraries, and driver libraries to build the mirror site;
[0042] The database adaptation generation sub-unit is used to parse and analyze the various databases of the mirror site and generate an adaptation database.
[0043] The migration adaptation subunit is used to structurally decompose the source application to be migrated, perform compatibility scans on the source code, software packages, and databases respectively, and complete the reconstruction of incompatible data by adapting the database.
[0044] The second smooth transition subunit is used to complete the smooth transition of services.
[0045] As a preferred option, the mirror site construction sub-unit adopts one or more of the following methods: RSYNC, FTP, and web crawling, to obtain component libraries, dependency libraries, and driver libraries.
[0046] As a preferred solution, the adaptation database generation subunit uses RPM, DPKG, and TAR to analyze and parse each database of the mirror site to generate an adaptation database.
[0047] As a preferred option, the second smooth transition subunit uses a real-time event synchronization method and a traffic replication method to complete the smooth transition of services.
[0048] A third aspect of the present invention provides a computer-readable storage medium storing computer instructions for causing the computer to execute a cloud migration method adapted to domestic technology innovation as described in the first aspect and any one of the first aspects of the present invention.
[0049] A fourth aspect of the present invention provides an electronic device, including: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform a cloud migration method adapted to domestic IT innovation as described in the first aspect and any one of the first aspects of the present invention.
[0050] The beneficial effects of this invention are:
[0051] It supports a dual-track approach, supporting both standardized migration and heterogeneous migration of domestic IT innovation.
[0052] For the standardization migration of domestic IT innovation, a self-made preparatory system was developed, which enables the migration of x86 to c86 systems to the cloud via hard disk booting. No relay server or third-party media is required, which can solve the compatibility problem of domestically produced chips.
[0053] For the migration of applications to heterogeneous systems, a comprehensive analysis is conducted on the relationships and dependencies between the application and its source code, dependent libraries, software packages, and databases, rather than the migration and replacement of single components or application architecture differences. For example, for the migration of applications involving domestic databases, SQL statements are analyzed and modified for source code files, pom, xml, properties, hibernate, mybatis and other configuration files. The technology is highly feasible and requires no secondary development.
[0054] We build our own mirror repository, including component libraries, dependency libraries, and driver libraries, and form an adaptation database that can quickly decompose the dependencies between applications and various libraries and components. Attached Figure Description
[0055] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0056] Figure 1 This is a flowchart of a cloud migration method adapted to domestic IT innovation according to an embodiment of the present invention;
[0057] Figure 2 This is a structural block diagram of a cloud-based system adapted for domestic IT innovation according to an embodiment of the present invention;
[0058] Figure 3 This is a schematic diagram of the structure of a computer-readable storage medium provided according to an embodiment of the present invention;
[0059] Figure 4 This is a schematic diagram of the structure of an electronic device provided according to an embodiment of the present invention. Detailed Implementation
[0060] The following specific embodiments illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, unless otherwise specified, the following embodiments and features described therein can be combined with each other.
[0061] Example 1:
[0062] Reference Figure 1 As shown, this embodiment provides a cloud migration method adapted to domestic IT innovation, including the following steps:
[0063] S1. Collect information from the source and target machines;
[0064] Information collection refers to collecting source and target machine information through remote login (SSH for Linux, WINRM for Windows), including but not limited to architecture, kernel version, distribution, system information, MySQL version information, programming tool version information (gcc, go, java, Python, lxd, docker, apache, nginx, tomcat, etc.).
[0065] S2. Determine whether the source and target machines have the same architecture based on their machine information.
[0066] S3. If yes, then adopt the standardized cloud adaptation method of the domestic IT innovation for cloud migration; otherwise, adopt the heterogeneous cloud adaptation method of the domestic IT innovation for cloud migration to achieve a smooth transition of services.
[0067] Step S3 also includes a scenario adaptation analysis step. Scenario adaptation analysis refers to the analysis of specific modifications based on different cloud migration scenarios. For example, for standardized cloud migration methods (x86->c86, Windows), compatibility analysis and adaptation of the source kernel startup files ntoskrnl.exe, securekernel.exe, winload.exe, hal.dll, and fltmgr.sys are required.
[0068] After selecting the cloud migration method, the system can perform selection analysis and calculations using algorithms such as linear or decision trees, providing users with multiple selection combinations and related detailed reports from the perspectives of optimality, cost, performance, and compatibility.
[0069] The aforementioned standardized cloud adaptation method for domestic IT innovation is mainly designed for x86 to c86 scenarios and includes the following steps:
[0070] A. Use Windows ADK to extract the minimum image boot.wim.
[0071] B. Modify the startup item WinpeshI.exe of the self-developed RE system to redirect the startup item to the self-developed program;
[0072] C. Modify the BCD boot entry to set the self-developed RE system as the first boot option. After restarting, the system will be restored using the self-developed program.
[0073] D. Complete the compatibility replacement of kernel modules, including files such as ntoskrnl.exe, securekernel.exe, winload.exe, hal.dll, fltmgr.sys, etc.
[0074] E. Utilize event-based real-time synchronization, traffic replication and other technologies to achieve a smooth service transition.
[0075] The aforementioned heterogeneous cloud adaptation method for domestic IT innovation is mainly designed for x86 to ARM scenarios, primarily addressing architectural differences. Its key aspects lie in the construction of image libraries and application adaptation, including the following steps:
[0076] a. Use technologies such as RSYNC, FTP, and web crawling to obtain component libraries, dependency libraries, and driver libraries, and build a mirror site.
[0077] b. Use RPM, DPKG, and TAR to analyze and parse the databases of the mirror site and generate an adapted database.
[0078] Domestic mirror sites primarily consist of integrated component libraries, integrated dependency libraries, and integrated driver libraries. The content of each library is periodically retrieved using technologies such as RSYNC, FTP, and web crawling. These libraries encompass full-stack system packages from various open-source and closed-source domestic and international mirror sites, including but not limited to Ubuntu, Red Hat, Archlinux, CentOS, Fedora, and OpenSuSE. Simultaneously, the dependencies between binary files and library files in the RPM, DEB, and TAR packages of each library need to be analyzed to create an adaptation database.
[0079] c. Perform a structured breakdown of the source application to be migrated, conduct compatibility scans on the source code, software packages, and databases respectively, and complete the incompatible data reconstruction operation by adapting the database.
[0080] The database compatibility scanning and reconstruction operations include SQL analysis and conversion. SQL analysis and conversion refers to analyzing and converting SQL statements in the source code to suit the characteristics of domestic databases. For example, converting SQL statements in Java files from MySQL to DM or Kingbase, and converting configuration files such as pom, xml, properties, and hibernate. SQL analysis and conversion includes, but is not limited to, the localization adaptation of SQL statements in source code files and configuration files such as pom, xml, properties, and hibernate.
[0081] It should be noted that if the source application does not have a database, then there is no need to perform compatibility scanning, incompatible data reconstruction, or data migration operations on the database, nor is it necessary to perform SQL analysis and conversion.
[0082] Compatibility scanning refers to scanning for data compatibility. For example, source code scanning uses regular expression matching to scan header files, macro definitions, and conditional compilation statements by keywords, lines, and blocks to identify code segments that are incompatible with the domestic IT innovation architecture. Software package scanning uses an adaptation database to scan and analyze the software packages of an application system to identify code libraries or configurations that are incompatible with the domestic IT innovation architecture.
[0083] Incompatible data reconstruction refers to reconstructing incompatible data into data that is compatible with the target platform.
[0084] Data migration refers to the transfer of plain text files using file transfer tools.
[0085] Step c can also generate an evaluation report, which is a suggested report that can guide users to make modifications. This evaluation report mainly includes modification strategies, migration strategies, migration workload, and feasibility solutions.
[0086] d. Utilize event-based real-time synchronization, traffic replication and other technologies to achieve a smooth service transition.
[0087] This invention supports dual-track parallelism, supporting both standardized migration and heterogeneous migration of information technology innovation.
[0088] For the standardization migration of domestic IT innovation, a self-made preparatory system was developed, which enables the migration of x86 to c86 systems to the cloud via hard disk booting. No relay server or third-party media is required, which can solve the compatibility problem of domestically produced chips.
[0089] For the migration of applications to heterogeneous systems, a comprehensive analysis is conducted on the relationships and dependencies between the application and its source code, dependent libraries, software packages, and databases, rather than the migration and replacement of single components or application architecture differences. For example, for the migration of applications involving domestic databases, SQL statements are analyzed and modified for source code files, pom, xml, properties, hibernate, mybatis and other configuration files. The technology is highly feasible and requires no secondary development.
[0090] We build our own mirror repository, including component libraries, dependency libraries, and driver libraries, and form an adaptation database that can quickly decompose the dependencies between applications and various libraries and components.
[0091] The following section will further explain the specific implementation process of two cloud migration methods:
[0092] The standardized cloud migration instance implementation plan is as follows:
[0093] (1) The control platform automatically distributes and installs the Agent and the self-made preparatory system and collects relevant information (Note: Windows 2016 Server or above is required as the basic prototype of the preparatory system. Domestic CPUs are not compatible with low-version systems and cannot start).
[0094] (2) The source system temporarily freezes the I / O write requests of each component through volume shadow snapshot technology, and generates and transmits snapshots using encryption and compression methods;
[0095] (3) No third-party media is required. The self-made pre-built system can be booted via hard disk to assist in the recovery of the source system and kernel replacement (ntoskrnl.exe securekernel.exe,winload.exe,hal.dll,fltmgr.sys).
[0096] (4) Use the self-developed transfer tool Fsync to transfer non-system file data;
[0097] (5) An event-driven file monitoring scheme is adopted, which only monitors the difference data blocks in inconsistent file transfers;
[0098] (6) After the file synchronization is completed, traffic caching technology is used to copy and cache the incoming traffic from the source network;
[0099] (7) Release the network traffic cached at the source end to the destination end, and make corresponding modifications to the IP, port, and checksum in the header. After completing the service verification of the destination system, if the service is normal, stop the source production system and switch all external user requests to the destination system; otherwise, return to the file increment stage.
[0100] The specific implementation plan for heterogeneous cloud migration instances is as follows:
[0101] (1) The console issues the Agent to install and report the collected source and target hardware and software information;
[0102] (2) Combining the information from the mirror site with the collected information, scan the software package, source code, and database to find incompatible code, class library, and database configuration, and generate a suggestion report that can guide users to make modifications;
[0103] (3) Based on the guidance and suggestions, and in conjunction with mirror sites, file transfer tools, and domestic database migration tools, download, transfer, and reconstruct the software packages, source code, and databases respectively;
[0104] (4) Use the file transfer tool Fsync to transfer plain text data;
[0105] (5) For database applications, perform SQL statement analysis and conversion on source code files, pom, xml, properties, hibernate, and mybatis configuration files respectively;
[0106] (6) Release the network traffic cached at the source end to the destination end, and make corresponding modifications to the IP, port, and verification parts in the packet header. After completing the verification of the destination application service, if the service is normal, stop the source production system and switch all external user requests to the destination system.
[0107] Example 2:
[0108] Reference Figure 2 As shown, this embodiment provides a cloud-based system adapted for domestic IT innovation, including an information collection module, a judgment module, and a cloud-based module connected in sequence. The information collection module is also connected to the source and target machines respectively. The cloud-based module includes a standardized cloud-based unit and a heterogeneous cloud-based unit, both of which are connected to the source and target machines respectively.
[0109] The information collection module is used to collect information from both the source and target machines.
[0110] The judgment module is used to determine whether the source and target machines have the same architecture based on the source and target machine information.
[0111] The standardized cloud migration unit is used to migrate services to the cloud using the standardized cloud migration adaptation method when the source and target ends have the same architecture, so as to achieve a smooth transition of services.
[0112] The heterogeneous cloud migration unit is used to migrate services to the cloud using the domestic IT innovation heterogeneous cloud migration adaptation method when the source and target ends have different architectures, so as to achieve a smooth transition of services.
[0113] The standardized cloud deployment unit includes an image extraction subunit, a redirection subunit, a system recovery subunit, a compatibility replacement subunit, and a first smooth transition subunit;
[0114] The image extraction subunit is used to extract the minimum image boot.wim using the Windows ADK;
[0115] The redirection subunit is used to modify the startup item WinpeshI.exe of the self-developed RE system and redirect the startup item to the self-developed program;
[0116] The system recovery subunit is used to modify the BCD boot entry, set the self-developed RE system as the first boot option, and complete the system recovery through the self-developed program after restarting.
[0117] The compatibility replacement subunit is used to complete the compatibility replacement of kernel modules;
[0118] The first smooth transition subunit uses event-based real-time synchronization and traffic replication methods to achieve a smooth service transition.
[0119] Specifically:
[0120] The heterogeneous cloud deployment unit includes a mirror site construction subunit, an adaptation database generation subunit, a migration adaptation subunit, and a second smooth transition subunit;
[0121] The mirror site construction subunit is used to acquire component libraries, dependency libraries, and driver libraries by using one or more of the RSYNC method, FTP method, and crawler method to build the mirror site.
[0122] The adaptation database generation sub-unit is used to analyze and parse the databases of the mirror site using RPM, DPKG, and TAR to generate an adaptation database.
[0123] The migration adaptation subunit is used to structurally decompose the source application to be migrated, perform compatibility scans on the source code, software packages, and databases respectively, and complete the reconstruction of incompatible data by adapting the database.
[0124] The second smooth transition subunit uses event-based real-time synchronization and traffic replication methods to achieve a smooth service transition.
[0125] The system may also include the following modules:
[0126] Security Management Module: Manages and maintains the user's own code versions, dependency libraries, components and other files, and provides functions such as code scanning, review, historical version rollback, viewing and restoration.
[0127] Operation monitoring module: Driven by resource monitoring, it establishes a two-dimensional management system of information and technology to achieve centralized management across regions and heterogeneous networks, enabling rapid fault location and improving operation and maintenance efficiency.
[0128] Test and Verification Subsystem: Utilizing a real environment that closely resembles the production-ready cloud platform, this subsystem verifies business application systems, thereby more accurately measuring whether the business application systems in the cloud platform environment meet the requirements of the real environment and preparing for application system cutover.
[0129] Performance optimization subsystem: Collects performance data at various levels of the server, including processor hardware, operating system, processes / threads, and functions, analyzes system performance indicators, locates system bottlenecks and hot functions, and thus achieves performance tuning.
[0130] It should be noted that the cloud system adapted for domestic IT innovation provided in this embodiment is similar to that in Embodiment 1, and will not be described in detail here.
[0131] Example 3:
[0132] Reference Figure 3As shown, this embodiment of the invention also provides a storage medium storing a computer program 601. When executed by a processor, this program implements the steps of a cloud migration method for information technology innovation adaptation described in the above embodiments. Those skilled in the art will understand that all or part of the processes in the methods described in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes described in Embodiment 1 above.
[0133] The storage medium may be a magnetic disk, optical disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk drive (HDD), or solid-state drive (SSD), etc.; the storage medium may also include combinations of the above types of memory.
[0134] Example 4:
[0135] Reference Figure 4 As shown, this embodiment of the invention also provides an electronic device, which may include a processor 51 and a memory 52, wherein the processor 51 and the memory 52 can be connected via a bus or other means. Figure 4 Taking the example of a connection between China and Israel via a bus.
[0136] Processor 51 can be a central processing unit (CPU). Processor 51 can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or combinations of the above types of chips.
[0137] The memory 52, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as the corresponding program instructions / modules in the embodiments of the present invention. The processor 51 executes various functional applications and data processing by running the non-transitory software programs, instructions, and modules stored in the memory 52, thereby realizing a cloud-based method for adapting to domestic IT innovation as described in Embodiment 1 above.
[0138] The memory 52 may include a program storage area and a data storage area. The program storage area may store applications required for operating the device and at least one function; the data storage area may store data created by the processor 51, etc. Furthermore, the memory 52 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 52 may optionally include memory remotely located relative to the processor 51, and these remote memories may be connected to the processor 51 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0139] The one or more modules are stored in the memory 52. When executed by the processor 51, they perform a cloud migration method adapted to domestic IT innovation as described in Embodiment 1.
[0140] The specific details of the above-mentioned electronic device can be understood by referring to the relevant descriptions and effects in Embodiment 1, and will not be repeated here.
[0141] The embodiments described above are merely preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Various modifications and improvements made to the technical solutions of the present invention by those skilled in the art without departing from the spirit of the present invention should fall within the protection scope of the present invention.
Claims
1. A cloud migration method adapted to domestic IT innovation, characterized in that, Including the following steps: S1. Collect information from the source and target machines; S2. Determine whether the source and target machines have the same architecture based on their machine information. S3. If so, adopt the standardized cloud adaptation method of the information technology innovation for cloud migration; otherwise, adopt the heterogeneous cloud adaptation method of the information technology innovation for cloud migration to achieve a smooth transition of services. The standardized cloud adaptation method for information technology innovation includes the following steps: A. Complete the extraction of the minimum image; B. Modify the startup item WinpeshI.exe of the self-developed RE system to redirect the startup item to the self-developed program; C. Modify the BCD boot entry to set the self-developed RE system as the first boot option. After restarting, the system will be restored using the self-developed program. D. Complete the compatible replacement of kernel modules; E. Ensure a smooth transition for the service; The method for adapting heterogeneous cloud environments for domestic IT innovation includes the following steps: a. Obtain component libraries, dependency libraries, and driver libraries, and build a mirror site; b. Analyze and parse each database on the mirror site to generate an adapted database; c. Perform a structured breakdown of the source application to be migrated, conduct compatibility scans on the source code, software packages, and databases respectively, and complete the incompatible data reconstruction operation by adapting the database. d. Complete the smooth transition of services.
2. The cloud migration method adapted to domestic IT innovation as described in claim 1, characterized in that, In step B, step A specifically involves using Windows ADK to extract the minimum image boot.wim.
3. The cloud migration method for adapting to domestic IT innovation as described in claim 1, characterized in that, In step B, the self-developed program includes system recovery function, file copy function, registry key modification function, and driver adaptation function.
4. The cloud migration method adapted to domestic IT innovation as described in claim 1, characterized in that, Step E specifically involves using event-based real-time synchronization and traffic replication methods to achieve a smooth service transition.
5. The cloud migration method for adapting to domestic IT innovation as described in claim 1, characterized in that, Step a specifically involves using one or more of the following methods: RSYNC, FTP, and web scraping, to obtain the component library, dependency library, and driver library.
6. The cloud migration method for adapting to domestic IT innovation as described in claim 1, characterized in that, In step b, RPM, DPKG, and TAR are used to analyze and parse the databases of the mirror site to generate an adapted database.
7. The cloud migration method for adapting to domestic IT innovation as described in claim 1, characterized in that, Step d specifically involves using event-based real-time synchronization and traffic replication methods to achieve a smooth service transition.
8. A cloud-based system adapted for domestic IT innovation, characterized in that, It includes an information collection module, a judgment module, and a cloud upload module connected in sequence. The information collection module is also connected to the source and target machines respectively. The cloud upload module includes a standardized cloud upload unit and a heterogeneous cloud upload unit. Both the standardized cloud upload unit and the heterogeneous cloud upload unit are connected to the source and target machines respectively. The information collection module is used to collect information from both the source and target machines. The judgment module is used to determine whether the source and target machines have the same architecture based on the source and target machine information. The standardized cloud migration unit is used to migrate services to the cloud using the standardized cloud migration adaptation method when the source and target ends have the same architecture, so as to achieve a smooth transition of services. The heterogeneous cloud migration unit is used to migrate services to the cloud using the domestic IT innovation heterogeneous cloud migration adaptation method when the source and target ends have different architectures, so as to achieve a smooth transition of services. The standardized cloud deployment unit includes an image extraction subunit, a redirection subunit, a system recovery subunit, a compatibility replacement subunit, and a first smooth transition subunit; The image extraction subunit is used to extract the minimum image. The redirection subunit is used to modify the startup item WinpeshI.exe of the self-developed RE system and redirect the startup item to the self-developed program; The system recovery subunit is used to modify the BCD boot entry, set the self-developed RE system as the first boot option, and complete the system recovery through the self-developed program after restarting. The compatibility replacement subunit is used to complete the compatibility replacement of kernel modules; The first smooth transition subunit is used to complete the smooth transition of the service. The heterogeneous cloud deployment unit includes a mirror site construction subunit, an adaptation database generation subunit, a migration adaptation subunit, and a second smooth transition subunit; The mirror site construction subunit is used to obtain component libraries, dependency libraries, and driver libraries to build the mirror site; The database adaptation generation sub-unit is used to parse and analyze the various databases of the mirror site and generate an adaptation database. The migration adaptation subunit is used to structurally decompose the source application to be migrated, perform compatibility scans on the source code, software packages, and databases respectively, and complete the reconstruction of incompatible data by adapting the database. The second smooth transition subunit is used to complete the smooth transition of services.
9. A cloud-based system adapted for domestic IT innovation as described in claim 8, characterized in that, The image extraction subunit uses Windows ADK to extract the minimum image boot.wim.
10. A cloud-based system adapted for domestic IT innovation according to claim 8, characterized in that, The self-developed program includes system recovery function, file copy function, registry key modification function, and driver adaptation function.
11. A cloud-based system adapted for domestic IT innovation as described in claim 8, characterized in that, The first smooth transition subunit uses real-time event synchronization and traffic replication methods to achieve a smooth service transition.
12. A cloud-based system adapted for domestic IT innovation as described in claim 8, characterized in that, The mirror site construction sub-unit uses one or more of the following methods: RSYNC, FTP, and web crawling, to obtain component libraries, dependency libraries, and driver libraries.
13. A cloud-based system adapted for domestic IT innovation according to claim 8, characterized in that, The adaptation database generation sub-unit uses RPM, DPKG, and TAR to parse and analyze each database of the mirror site to generate an adaptation database.
14. A cloud-based system adapted for domestic IT innovation as described in claim 8, characterized in that, The second smooth transition subunit uses real-time event synchronization and traffic replication methods to achieve a smooth service transition.
15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to execute a cloud migration method adapted to domestic IT innovation as described in any one of claims 1-7.
16. An electronic device, characterized in that, include: The system includes a memory and a processor, which are interconnected. The memory stores computer instructions, and the processor executes the computer instructions to perform a cloud migration method for domestically developed cloud computing as described in any one of claims 1-7.
Citation Information
Patent Citations
Method and system for automatically correcting network configuration in cloud migration scene and computer medium
CN113448688A
Micro-service architecture intelligent database analysis adaptation method
CN114153869A