CN108763419A - A kind of method, apparatus and computer storage media of migration process - Google Patents
A kind of method, apparatus and computer storage media of migration process Download PDFInfo
- Publication number
- CN108763419A CN108763419A CN201810505922.6A CN201810505922A CN108763419A CN 108763419 A CN108763419 A CN 108763419A CN 201810505922 A CN201810505922 A CN 201810505922A CN 108763419 A CN108763419 A CN 108763419A
- Authority
- CN
- China
- Prior art keywords
- information
- database
- operating system
- migration
- application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/76—Adapting program code to run in a different environment; Porting
Abstract
A kind of method, apparatus and computer storage media of migration process, including:Obtain the second application environment information of current the first application environment information and move target ground of application to be migrated;The the first application environment information and the second application environment information obtained is compared, one or one or more environmental difference information are obtained;According to pre-stored adjustment reference information and the environmental difference information of acquisition, the reference information carried out using migration is obtained;Wherein, the first application environment information includes:Using the first parameter information of the first running environment information and the first database for being set to the first operating system of the first operating system before migration;The second application environment information includes:Using the second parameter information of the second database in the second operating system of the second running environment information and setting for the second operating system for needing to move to.The embodiment of the present invention realizes the environmental information analysis using migration, reduces the complexity using migration.
Description
Technical field
Present document relates to but be not limited to that treatment technology, the method, apparatus and computer of espespecially a kind of migration process is applied to store
Medium.
Background technology
Currently, the operation system of many industries needs the adjustment of progress information technology (IT) framework due to application and business,
Including being adjusted to former operation system;When the database of adjusted design to operation system, if adjustment is front and back using identical
The database of type, then database migration work is less during the adjustment;But if adjustment is front and back to use different types of number
When according to library, then database migration work is more during the adjustment.Since type of database is different, the difference of operating system, number
Become more sophisticated and cumbersome according to the migration process in library.
Invention content
It is the general introduction of the theme to being described in detail herein below.This general introduction is not to limit the protection model of claim
It encloses.
The embodiment of the present invention provides a kind of method, apparatus and computer storage media of migration process, can reduce application
The complexity of migration.
An embodiment of the present invention provides a kind of methods of migration process, including:
Obtain the second application environment information of current the first application environment information and move target ground of application to be migrated;
The the first application environment information and the second application environment information obtained is compared, one is obtained or one or more environment is poor
Different information;
According to pre-stored adjustment reference information and the environmental difference information of acquisition, the reference carried out using migration is obtained
Information;
Wherein, the first application environment information includes:Using the first running environment of the first operating system before migration
First parameter information of information and the first database for being set to the first operating system;The second application environment information includes:
Using the second data in the second operating system of the second running environment information and setting for the second operating system for needing to move to
Second parameter information in library.
Optionally, described obtain includes with the relevant first application environment information of application migration:
Communication connection with first operating system and the first database is established using predetermined manner;
By the communication connection of foundation, the first running environment information and first parameter information are obtained.
Optionally, the communication link established using predetermined manner with first operating system and the first database
Connect including:
It is established by remote terminal protocol Telnet and/or safety shell protocol SSH logical with first operating system
Letter connection;
It is established by Java database connection JDBC and/or open CNC ODBC logical with the first database
Letter connection.
Optionally, described obtain includes with the relevant second application environment information of application migration:
The second running environment information and second parameter information are received by preset interactive interface.
Optionally, the first running environment information includes following part or all of information:First operating system
The library information of author language used in version information, database, the version information of shell shell scripts;
First parameter information includes following part or all of information:The initialization information of the first database, fortune
Row parameter information;
The second running environment information includes following part or all of information:The version of second operating system is believed
The version information of the library information of author language, shell script used in breath, database;
Second parameter information includes following part or all of information:The initialization information of second database, fortune
Row parameter information.
Optionally, the adjustment reference information includes:Corresponding to one or the processing letter of one or more environmental difference information
Breath;The acquisition carries out:
Determine the processing of environmental difference information described in each for corresponding to and obtaining respectively from the adjustment reference information
Information;
Using determining all processing information as the reference information carried out using migration.
Optionally, the method further includes:
For one of acquisition or one or more described environmental difference information, do not determined from the adjustment reference information
When corresponding processing information, migration analysis information is fed back;
The migration analysis information includes:In the environmental difference information obtained, not from the adjustment reference information
Determine the environmental difference information of the corresponding processing information;And/or it can not carry out using the prompt message migrated.
Optionally, the method is based on browser/server (B/S) framework and Java (JAVA) editor realizes.
On the other hand, the embodiment of the present invention also provides a kind of device of migration process, including:Acquiring unit, comparing unit,
Reference unit;Wherein,
Acquiring unit is used for:Obtain application to be migrated current the first application environment information and move target ground second answers
Use environmental information;
Comparing unit is used for:Compare obtain the first application environment information and the second application environment information, obtain one or
One or more environmental difference information;
Reference unit is used for:According to pre-stored adjustment reference information and the environmental difference information of acquisition, carried out
Using the reference information of migration;
Wherein, the first application environment information includes:Using the first running environment of the first operating system before migration
First parameter information of information and the first database for being set to the first operating system;The second application environment information includes:
Using the second data in the second operating system of the second running environment information and setting for the second operating system for needing to move to
Second parameter information in library.
Optionally, the acquiring unit includes the first acquisition module and the second acquisition module;Wherein,
First acquisition module is used for:It is established and first operating system and first data using predetermined manner
The communication connection in library;By the communication connection of foundation, the first running environment information and first parameter information are obtained;
Second acquisition module is used for:The second running environment information and described is received by preset interactive interface
Second parameter information.
Optionally, first acquisition module is specifically used for:
It is established by remote terminal protocol Telnet and/or safety shell protocol SSH logical with first operating system
Letter connection;It is established by Java database connection JDBC and/or open CNC ODBC logical with the first database
Letter connection;
By the communication connection of foundation, the first running environment information and first parameter information are obtained.
Optionally, the first running environment information includes following part or all of information:First operating system
The library information of author language used in version information, database, the version information of shell shell scripts;
First parameter information includes following part or all of information:The initialization information of the first database, fortune
Row parameter information;
The second running environment information includes following part or all of information:The version of second operating system is believed
The version information of the library information of author language, shell script used in breath, database;
Second parameter information includes following part or all of information:The initialization information of second database, fortune
Row parameter information.
Optionally, the reference unit is specifically used for:
Determine the processing of environmental difference information described in each for corresponding to and obtaining respectively from the adjustment reference information
Information;
Using determining all processing information as the reference information carried out using migration;
Wherein, the adjustment reference information includes:Corresponding to one or the processing information of one or more environmental difference information.
Optionally, described device further includes feedback unit, is used for:
For one of acquisition or one or more described environmental difference information, do not determined from the adjustment reference information
When corresponding processing information, migration analysis information is fed back;
The migration analysis information includes:In the environmental difference information obtained, not from the adjustment reference information
Determine the environmental difference information of the corresponding processing information;And/or it can not carry out using the prompt message migrated.
In another aspect, the embodiment of the present invention also provides a kind of computer storage media, deposited in the computer storage media
Contain computer executable instructions, the method that the computer executable instructions are used to execute above-mentioned migration process.
Compared with the relevant technologies, technical scheme includes:Obtain current the first application environment letter of application to be migrated
Second application environment information of breath and move target ground;Compare the first application environment information obtained and the second application environment letter
Breath obtains one or one or more environmental difference information;According to pre-stored adjustment reference information and the environmental difference of acquisition
Information obtains the reference information carried out using migration;Wherein, the first application environment information includes:Using the first behaviour before migration
Make the first running environment information of system and is set to the first parameter information of the first database of the first operating system;Described
Two application environment information include:Using the second behaviour of the second running environment information and setting for the second operating system for needing to move to
Make the second parameter information of the second database in system.The embodiment of the present invention realizes the environmental information analysis using migration,
Reduce the complexity using migration.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
It obtains it is clear that understand through the implementation of the invention.The purpose of the present invention and other advantages can be by specification, rights
Specifically noted structure is realized and is obtained in claim and attached drawing.
Description of the drawings
Attached drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this
The embodiment of application technical solution for explaining the present invention together, does not constitute the limitation to technical solution of the present invention.
Fig. 1 is the flow chart of the method for migration process of the embodiment of the present invention;
Fig. 2 is the structure diagram of the device of migration process of the embodiment of the present invention;
Fig. 3 is software architecture schematic diagram of the present invention using the device of example migration process;
Fig. 4 is schematic diagram of the present invention using illustrative data base migration.
Specific implementation mode
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention
Embodiment be described in detail.It should be noted that in the absence of conflict, in the embodiment and embodiment in the application
Feature mutually can arbitrarily combine.
Step shown in the flowchart of the accompanying drawings can be in the computer system of such as a group of computer-executable instructions
It executes.Also, although logical order is shown in flow charts, and it in some cases, can be with suitable different from herein
Sequence executes shown or described step.
In order to make the embodiment of the present invention understand completely, the relevant technologies being related to are illustrated below:
Java database connection (JDBC, Java DataBase Connectivity) is that one kind is looked into for executing structuring
The java application programming interface (API) for asking language (SQL) sentence can provide unified access for a variety of relational databases,
The class and interface that it is write by one group with Java language form.JDBC provides a kind of benchmark, can build accordingly more advanced
Tool and interface enable database development personnel to write database application.
Open CNC (ODBC, Open Database Connectivity) is between solution heterogeneous database
Data sharing and generate, it has also become Windows open system architecture (OSA)s (WOSA, The Windows Open System
Architecture major part) and a kind of database access interface standard based on Windows environment;ODBC is isomery number
It is accessed according to library and unified interface is provided, allow application program using SQL as data access standard, access different data library management system
(DBMS) data managed;Application program is set directly to manipulate the data in database (DB), release changes with the change of DB.With
ODBC can access the DB files on all kinds of computers, or even access such as Excel tables and ASCII
(ASCII) the non-databases object such as data file.
Browser/server (B/S) framework is a kind of network structure pattern after WWW (WEB) rises, WEB browsings
Device is the most important application software of client.This pattern has unified client, and the core that system function is realized is concentrated
Onto server, the exploitation, maintenance and use of system are simplified.As long as installing a browser (Browse) in client computer, such as
Netscape Navigator (Netscape Navigator) or internet browser (Internet Explorer), server install SQL
Server (Server), Oracle (a relational database management system of Oracle), MYSQL (Sweden MySQL AB
Company exploitation Relational DBMS) etc. databases.Browser carries out data by Web Server with database
Interaction.
Remote terminal protocol (Telnet) is one in transmission control protocol/Internet Protocol (TCP/IP) protocol suite
Member, is the standard agreement and major way of Internet telnet services.It has provided to the user complete on the local computer
The ability to work at distance host.Telnet programs are used on the computer of terminal user, and server is connected to it.Terminal
User can input order in telnet programs, these orders can be run on the server, just as directly in server
It is inputted on console the same.Server can be controlled in local.Start a telnet session, it is necessary to input user name
Carry out login service device with password.Telnet is the method for common remote control Web server.
Safety shell protocol (SSH, Secure Shell) is built upon the security protocol on the basis of application layer.SSH is aimed at
Telnet session and other network services provide the agreement of safety.It can effectively prevent remote management mistake using SSH agreements
Information leakage in journey.Ssh client is suitable for kinds of platform, and SSH can make up the loophole in network when proper use of.
Fig. 1 is the flow chart of the method for migration process of the embodiment of the present invention, as shown in Figure 1, including:
Step 101 obtains the second of application to be migrated current the first application environment information and move target ground and applies ring
Border information;
Wherein, the first application environment information includes:Using the first running environment information of the first operating system before migration
With the first parameter information of the first database for being set to the first operating system;Second application environment information includes:Using needs
Second running environment information of the second operating system moved to and second of the second database in the second operating system of setting
Parameter information.
Optionally, the embodiment of the present invention is obtained includes with the relevant first application environment information of application migration:
Communication connection with first operating system and the first database is established using predetermined manner;
By the communication connection of foundation, the first running environment information and first parameter information are obtained.
Optionally, the embodiment of the present invention is established and first operating system and the first database using predetermined manner
Communication connection include:
It is established and first operating system by remote terminal protocol (Telnet) and/or safety shell protocol (SSH)
Communication connection;
It is established and the first database by Java database connection (JDBC) and/or open CNC (ODBC)
Communication connection.
Optionally, the embodiment of the present invention is obtained includes with the relevant second application environment information of application migration:
The second running environment information and second parameter information are received by preset interactive interface.
Optionally, the first running environment information includes following part or all of information:The version of first operating system
The library information of author language used in information, database, the version information of shell (shell) script;
First parameter information includes following part or all of information:The initialization information of the first database, fortune
Row parameter information;Wherein, initialization information may include:Page-size, library name, index space size, data space size,
The information such as data page size, data list inventory and database table structure;Trip information may include database account
The information such as information password, user right;
The second running environment information includes following part or all of information:The version of second operating system is believed
The version information of the library information of author language, shell script used in breath, database;
Second parameter information includes following part or all of information:The initialization information of second database, fortune
Row parameter information;Here, the second parameter information is determined after being carried out analysis and regulation based on the first parameter information.
Step 102, compare obtain the first application environment information and the second application environment information, obtain one or one with
Upper environmental difference information;
Here, environmental difference information refers to the first application environment information and each same alike result information of the second application environment information
After being compared, if it is different, then this is organized different attribute informations as an environmental difference information;For example, the first operation
When the version information difference of the version information of system and the second operating system, then it can will believe comprising the version of the first operating system
The information of breath and the version information of the second operating system similarly, can use database as an environmental difference information
The library information of author language, the version information etc. of shell (shell) script compared respectively, determine environmental difference information.
Step 103, according to the environmental difference information of pre-stored adjustment reference information and acquisition, acquisition is carried out using moving
The reference information of shifting;
Optionally, adjustment of embodiment of the present invention reference information includes:Corresponding to one or one or more environmental difference information
Processing information;The acquisition carries out:
Determine the processing of environmental difference information described in each for corresponding to and obtaining respectively from the adjustment reference information
Information;
Using determining all processing information as the reference information carried out using migration.
It should be noted that adjustment reference information of the embodiment of the present invention is to be applied before those skilled in the art are incorporated in
The processing procedure of migration, the processing information that varying environment different information is arranged respectively of analysis and arrangement.Adjustment is with reference to letter
Ceasing the adjustment such as can be increased, deleted and be changed according to the processing procedure of application migration.
Optionally, present invention method further includes:
For one of acquisition or one or more described environmental difference information, do not determined from the adjustment reference information
When corresponding processing information, migration analysis information is fed back;
The migration analysis information includes:In the environmental difference information obtained, not from the adjustment reference information
Determine the environmental difference information of the corresponding processing information;And/or it can not carry out using the prompt message migrated.
Adjustment reference information, reference information and migration analysis information are illustrated below;Assuming that adjustment is with reference to letter
Breath includes:Environmental difference information 1 and the processing information 1 corresponding to environmental difference information 1, environmental difference information 2 and correspond to ring
Processing information 2, the environmental difference information of border different information 2,3 and poor corresponding to the processing information 3 of environmental difference information 3, environment
Different information 4 and corresponding to environmental difference information 4 processing information 4 and environmental difference information 5 and correspond to environmental difference information 5
Processing information 5;It is assumed that after the first application environment information and the comparison of the second application environment information, acquisition environmental difference information 1,
Environmental difference information 2 and environmental difference information 5 can obtain the reference letter carried out using migration then by adjusting reference information
Breath includes:Handle information 1, processing information 2 and processing information 5;If the first application environment information and the second application environment information
After comparison, obtain environmental difference information 1, environmental difference information 2 and environmental difference information 6, then environmental difference information 6 will be unable to from
Corresponding processing information is obtained in adjustment reference information, then the migration analysis information fed back may include environmental difference information 6, use
After family can analyze environmental difference information 6, corresponding processing information is determined;Based on this, the embodiment of the present invention can root
Reference information is adjusted according to the processing information update that the later stage determines, and then obtains corresponding reference information.
Optionally, present invention method is based on browser/server (B/S) framework and Java (JAVA) is edited
It realizes.
Compared with the relevant technologies, technical scheme includes:Obtain current the first application environment letter of application to be migrated
Second application environment information of breath and move target ground;Compare the first application environment information obtained and the second application environment letter
Breath obtains one or one or more environmental difference information;According to pre-stored adjustment reference information and the environmental difference of acquisition
Information obtains the reference information carried out using migration;Wherein, the first application environment information includes:Using the first behaviour before migration
Make the first running environment information of system and is set to the first parameter information of the first database of the first operating system;Described
Two application environment information include:Using the second behaviour of the second running environment information and setting for the second operating system for needing to move to
Make the second parameter information of the second database in system.The embodiment of the present invention realizes the environmental information analysis using migration,
Reduce the complexity using migration;Specifically, the embodiment of the present invention passes through to including that database divides in interior environmental parameter
Analysis, reduces the complexity of database migration, therefore, simplifies the difficulty using migration.
Fig. 2 is the structure diagram of the device of migration process of the embodiment of the present invention, as shown in Fig. 2, including:Acquiring unit, ratio
To unit, reference unit;Wherein,
Acquiring unit is used for:Obtain application to be migrated current the first application environment information and move target ground second answers
Use environmental information;
Wherein, the first application environment information includes:Using the first running environment of the first operating system before migration
First parameter information of information and the first database for being set to the first operating system;The second application environment information includes:
Using the second data in the second operating system of the second running environment information and setting for the second operating system for needing to move to
Second parameter information in library.
Optionally, acquiring unit of the embodiment of the present invention includes the first acquisition module and the second acquisition module;Wherein,
First acquisition module is used for:It is established and first operating system and first data using predetermined manner
The communication connection in library;By the communication connection of foundation, the first running environment information and first parameter information are obtained;
Second acquisition module is used for:The second running environment information and described is received by preset interactive interface
Second parameter information.
Optionally, the first acquisition module of the embodiment of the present invention is specifically used for:
It is established and first operating system by remote terminal protocol (Telnet) and/or safety shell protocol (SSH)
Communication connection;It is established by Java database connection (JDBC) and/or open CNC (ODBC) and is counted with described first
According to the communication connection in library;
By the communication connection of foundation, the first running environment information and first parameter information are obtained.
Optionally, the first running environment of embodiment of the present invention information includes following part or all of information:First behaviour
Make the version information of the library information of author language, shell shell scripts used in the version information of system, database;
First parameter information includes following part or all of information:The initialization information of the first database, fortune
Row parameter information;
The second running environment information includes following part or all of information:The version of second operating system is believed
The version information of the library information of author language, shell script used in breath, database;
Second parameter information includes following part or all of information:The initialization information of second database, fortune
Row parameter information.
Comparing unit is used for:Compare obtain the first application environment information and the second application environment information, obtain one or
One or more environmental difference information;
Reference unit is used for:According to pre-stored adjustment reference information and the environmental difference information of acquisition, carried out
Using the reference information of migration;
Optionally, reference unit of the embodiment of the present invention is specifically used for:
Determine the processing of environmental difference information described in each for corresponding to and obtaining respectively from the adjustment reference information
Information;
Using determining all processing information as the reference information carried out using migration;
Wherein, the adjustment reference information includes:Corresponding to one or the processing information of one or more environmental difference information.
Optionally, described device further includes feedback unit, is used for:
For one of acquisition or one or more described environmental difference information, do not determined from the adjustment reference information
When corresponding processing information, migration analysis information is fed back;
The migration analysis information includes:In the environmental difference information obtained, not from the adjustment reference information
Determine the environmental difference information of the corresponding processing information;And/or it can not carry out using the prompt message migrated.
The embodiment of the present invention also provides a kind of computer storage media, and computer is stored in the computer storage media
Executable instruction, the method that the computer executable instructions are used to execute above-mentioned migration process.
Present invention method is carried out to understand detailed description below by way of using example, is only used for using example old
The present invention is stated, is not intended to limit the scope of protection of the present invention.
Using example
Present invention application example proposes a kind of tool carried out using migration, using JAVA developing instrument combination databases
Fastening means JDBC connects the database in a variety of application environments with ODBC realizations;Using including but not limited to Telnet and
Connection type including SSH can collect the basic information of target application environment in the bottom bind command of different operating system
(including operating system, hardware information etc.) is collected, while (can be adjustment using the pre-stored information for comparing migratory system
Reference information), the front and back diversity ratio pair of application migration is generated, the migration analysis of application is realized, reduces the resource of application migration
Input and cost;Migration analysis is carried out before application migrates, the user to execute application migration provides migrates work using for what
Have the foundation migrated, improves the efficiency using migration.
Present invention application example can be based on B/S frameworks and realize, based on the application software of B/S mechanical developments, client without
Application software need to be installed, it is maintainable strong.For present invention application example using JAVA as developing instrument, system interface uses JAVA skills
The 5th version (Html5) technology of art and application hypertext markup language combines, and user can be by browser in local progress
It accesses, tool can also be put and be accessed on the server by far call, pass through browser in this way from the angle of application
Access can bring conveniently application experience.
This application tool is developed using JAVA, using the cross-platform property of JAVA tool is run in multiple platforms, this
Sample is especially being capable of trouble-free operation this tool in the application migration of cross operating system.And database as JDBC and ODBC connects
Connection interface can be adapted to most frequently-used data libraries, and most of operating system can be connected using Telnet and SSH, the present invention
It can be specifically chosen according to specific operating system for specific connection mode using example.
Fig. 3 is software topologies schematic diagram of the present invention using the device of example migration process, as shown in figure 3, including:
User interface layer:User interface layer supports browser model, and the whole of Data Migration can be completed by browser
Operation;
Displaying interface and control layer:Unified management and the interaction process of user terminal, data check, page circulation control,
Data filtering and permission control etc., dock with Business Logic and application layer, are packaged, improve the reuse of service logic
Property
Business Logic is mainly used for carrying out logic analysis to the relational structure of various data, formulates best migration plan
Slightly;
Infrastructure service layer encapsulation of data object provides basic methods for service logic and calls;
Middleware server uses lightweight web embedded servers, consumes smaller resource, can be in local runtime;
File access interface can generate Excel etc. report mainly in report generation according to customization;
JDBC drives as data access, is directly connected to database;
Remote deployment is supported in the exemplary processing of above application of the present invention, also supports local disposition.
It is those skilled in the art according to migration it should be noted that Fig. 3 further includes other composed structures of migration process
Processing procedure can analyze determining composition, and this will not be repeated here.
Fig. 4 is schematic diagram of the present invention using illustrative data base migration, as shown in Figure 4, wherein Oracle shown in Fig. 4
Deng the application example for being only the present invention, present invention application example can be applied to the migration process of other kinds of database;
It (can be above-mentioned first operation that the device of present invention application example migration process, which can be applied in source operating system,
System) be capable of providing shutdown migration in the case of, and migrate be the migration based on platform rank, the database for the application being related to
Table object is the migration based on isomorphism, i.e. database table structure does not do and changes, and is based on operation system using done variation is migrated
Variation caused by system is different with database software.Source system is connected based on too development software interface, collects goal systems number behaviour
Make system and data information to realize, assesses and have whether Migration tools support the requirement for meeting migration work, wanted if any special
It asks, assesses whether to realize conversion function.
Present invention application example implementation is embodied in tool independence in source operating system and destination OS, is supported remote
Journey connection operation, user can be connected by tools such as similar notebooks.Due to independently of source operating system and object run system
System, actual tool are can to do spanning gateway connection under more network interface card network connections license.
Present invention application example can ensure cross-platform use using JAVA exploitations, and be subject to the information of collection
Assessment auxiliary transition process, can effectively shorten and migrate performance period, and have good applicability, can ensure again most of
In the case of source operation system information is collected and is analyzed.
To sum up, present invention application example provides a kind of tool of migration process, is developed based on JAVA, using JDBC and
ODBC linking objective system databases, using Telnet and SS and linking objective operating system, the correlation for collecting goal systems is soft
Hardware information and database information form the assessment report of migration process.It not only can be in cross-platform running tool, simultaneously
Advance information analysis can be done to complicated goal systems environment, auxiliary migrates goal systems investigation and the migration point of early period
Analysis;Specifically:
One, it cross-platform can be run using JAVA exploitations, application program facilitated to run under various circumstances;
Two, database is connected with ODBC using JDBC, database connection is done under standard interface, as long as target database is full
Sufficient standard, can successful connection;
Three, it is the mode of industrywide standard attended operation system using Telnet and SS and linking objective operating system, supports
The operating system command of remote operation target environment facilitates the operation for executing and collecting information;
The related software and hardware information and database information of destination OS are collected, migration assessment report is formed, it is main to wrap
It includes:
One, the related software and hardware information and database information for collecting destination OS are ordered by the prefabricated operation in backstage
Order or program, specified collection is carried out to the software and hardware information and database information of destination OS;
Two, migration assessment report is formed:By being pre-established from the background for correlation to operating system and database information
The feedback made of fixed options, if meet can not compare the case where if information in display target system can not be in the present invention
It is analyzed in tool using example migration process.
One of ordinary skill in the art will appreciate that all or part of step in the above method can be instructed by program
Related hardware (such as processor) is completed, and described program can be stored in computer readable storage medium, as read-only memory,
Disk or CD etc..Optionally, all or part of step of above-described embodiment can also be come using one or more integrated circuits
It realizes.Correspondingly, the form realization of hardware may be used in each module/unit in above-described embodiment, such as passes through integrated electricity
Its corresponding function is realized on road, can also be realized in the form of software function module, such as is stored in by processor execution
Program/instruction in memory realizes its corresponding function.The present invention is not limited to the hardware and softwares of any particular form
In conjunction with.
Although disclosed herein embodiment it is as above, the content only for ease of understanding the present invention and use
Embodiment is not limited to the present invention.Technical staff in any fields of the present invention is taken off not departing from the present invention
Under the premise of the spirit and scope of dew, any modification and variation, but the present invention can be carried out in the form and details of implementation
Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.
Claims (15)
1. a kind of method of migration process, which is characterized in that including:
Obtain the second application environment information of current the first application environment information and move target ground of application to be migrated;
The the first application environment information and the second application environment information obtained is compared, one or one or more environmental difference letter are obtained
Breath;
According to pre-stored adjustment reference information and the environmental difference information of acquisition, the reference letter carried out using migration is obtained
Breath;
Wherein, the first application environment information includes:Using the first running environment information of the first operating system before migration
With the first parameter information of the first database for being set to the first operating system;The second application environment information includes:Using
Need the second database in the second operating system of the second running environment information and setting of the second operating system moved to
Second parameter information.
2. according to the method described in claim 1, it is characterized in that, the acquisition migrates relevant first application environment with application
Information includes:
Communication connection with first operating system and the first database is established using predetermined manner;
By the communication connection of foundation, the first running environment information and first parameter information are obtained.
3. according to the method described in claim 2, it is characterized in that, described established using predetermined manner is with first operation
System and the communication connection of the first database include:
The communication link with first operating system is established by remote terminal protocol Telnet and/or safety shell protocol SSH
It connects;
The communication link of JDBC and/or open CNC ODBC foundation and the first database is connected by Java database
It connects.
4. according to the method described in claim 1, it is characterized in that, the acquisition migrates relevant second application environment with application
Information includes:
The second running environment information and second parameter information are received by preset interactive interface.
5. according to Claims 1 to 4 any one of them method, which is characterized in that
The first running environment information includes following part or all of information:Version information, the number of first operating system
According to the library information of author language used in library, the version information of shell shell scripts;
First parameter information includes following part or all of information:The initialization information of the first database, operation ginseng
Number information;
The second running environment information includes following part or all of information:Version information, the number of second operating system
According to the library information of author language used in library, the version information of shell script;
Second parameter information includes following part or all of information:The initialization information of second database, operation ginseng
Number information.
6. according to the method described in claim 5, it is characterized in that, the adjustment reference information includes:Corresponding to one or one
The processing information of environment above different information;The acquisition carries out:
Determine the processing information of environmental difference information described in each for corresponding to and obtaining respectively from the adjustment reference information;
Using determining all processing information as the reference information carried out using migration.
7. according to the method described in claim 6, it is characterized in that, the method further includes:
For one of acquisition or one or more described environmental difference information, do not determine to correspond to from the adjustment reference information
Processing information when, feed back migration analysis information;
The migration analysis information includes:In the environmental difference information obtained, determined not from the adjustment reference information
Go out the environmental difference information of the corresponding processing information;And/or it can not carry out using the prompt message migrated.
8. according to Claims 1 to 4 any one of them moving method, which is characterized in that the method is based on browser/service
Device B/S frameworks and Java JAVA edit realization.
9. a kind of device of migration process, which is characterized in that including:Acquiring unit, comparing unit, reference unit;Wherein,
Acquiring unit is used for:Obtain application to be migrated current the first application environment information and move target ground second applies ring
Border information;
Comparing unit is used for:The the first application environment information and the second application environment information obtained is compared, obtains one or one
Environment above different information;
Reference unit is used for:It is applied according to pre-stored adjustment reference information and the environmental difference information of acquisition, acquisition
The reference information of migration;
Wherein, the first application environment information includes:Using the first running environment information of the first operating system before migration
With the first parameter information of the first database for being set to the first operating system;The second application environment information includes:Using
Need the second database in the second operating system of the second running environment information and setting of the second operating system moved to
Second parameter information.
10. device according to claim 9, which is characterized in that the acquiring unit includes the first acquisition module and second
Acquisition module;Wherein,
First acquisition module is used for:It is established and first operating system and the first database using predetermined manner
Communication connection;By the communication connection of foundation, the first running environment information and first parameter information are obtained;
Second acquisition module is used for:The second running environment information and described second are received by preset interactive interface
Parameter information.
11. device according to claim 10, which is characterized in that first acquisition module is specifically used for:
The communication link with first operating system is established by remote terminal protocol Telnet and/or safety shell protocol SSH
It connects;The communication link of JDBC and/or open CNC ODBC foundation and the first database is connected by Java database
It connects;
By the communication connection of foundation, the first running environment information and first parameter information are obtained.
12. according to claim 9~11 any one of them device, which is characterized in that
The first running environment information includes following part or all of information:Version information, the number of first operating system
According to the library information of author language used in library, the version information of shell shell scripts;
First parameter information includes following part or all of information:The initialization information of the first database, operation ginseng
Number information;
The second running environment information includes following part or all of information:Version information, the number of second operating system
According to the library information of author language used in library, the version information of shell script;
Second parameter information includes following part or all of information:The initialization information of second database, operation ginseng
Number information.
13. device according to claim 12, which is characterized in that the reference unit is specifically used for:
Determine the processing information of environmental difference information described in each for corresponding to and obtaining respectively from the adjustment reference information;
Using determining all processing information as the reference information carried out using migration;
Wherein, the adjustment reference information includes:Corresponding to one or the processing information of one or more environmental difference information.
14. device according to claim 13, which is characterized in that described device further includes feedback unit, is used for:
For one of acquisition or one or more described environmental difference information, do not determine to correspond to from the adjustment reference information
Processing information when, feed back migration analysis information;
The migration analysis information includes:In the environmental difference information obtained, determined not from the adjustment reference information
Go out the environmental difference information of the corresponding processing information;And/or it can not carry out using the prompt message migrated.
15. a kind of computer storage media, computer executable instructions, the calculating are stored in the computer storage media
The method that machine executable instruction requires the migration process described in any one of 1~8 for perform claim.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810505922.6A CN108763419A (en) | 2018-05-24 | 2018-05-24 | A kind of method, apparatus and computer storage media of migration process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810505922.6A CN108763419A (en) | 2018-05-24 | 2018-05-24 | A kind of method, apparatus and computer storage media of migration process |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108763419A true CN108763419A (en) | 2018-11-06 |
Family
ID=64005172
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810505922.6A Pending CN108763419A (en) | 2018-05-24 | 2018-05-24 | A kind of method, apparatus and computer storage media of migration process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108763419A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110502303A (en) * | 2019-08-20 | 2019-11-26 | 银康(中山)科技有限公司 | Method, apparatus, electronic device and storage medium for evaluating ability of elderly person |
CN111435919A (en) * | 2019-01-15 | 2020-07-21 | 菜鸟智能物流控股有限公司 | Method, device and system for managing configuration parameters |
CN112463417A (en) * | 2020-12-17 | 2021-03-09 | 中通服建设有限公司 | Migration adaptation method, device and equipment based on domestic trusted software and hardware platform |
CN112463344B (en) * | 2020-12-17 | 2023-12-08 | 中国农业银行股份有限公司 | Data analysis method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7246111B1 (en) * | 2000-06-30 | 2007-07-17 | Ncr Corporation | Capturing database system information |
CN103729169A (en) * | 2012-10-10 | 2014-04-16 | 国际商业机器公司 | Method and device for determining scope of file to be migrated |
CN104573122A (en) * | 2015-02-09 | 2015-04-29 | 浪潮电子信息产业股份有限公司 | Oracle database migration tool migrating from AIX platform to K-UX platform |
US9069607B1 (en) * | 2012-01-31 | 2015-06-30 | Vmware, Inc. | Selective migration of virtualized applications and configuration settings thereof |
CN104899333A (en) * | 2015-06-24 | 2015-09-09 | 浪潮(北京)电子信息产业有限公司 | Cross-platform migrating method and system for Oracle database |
CN106325951A (en) * | 2016-08-30 | 2017-01-11 | 广西电网有限责任公司 | Automatic deployment method for application system supporting multiple databases and multiple middleware types |
-
2018
- 2018-05-24 CN CN201810505922.6A patent/CN108763419A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7246111B1 (en) * | 2000-06-30 | 2007-07-17 | Ncr Corporation | Capturing database system information |
US9069607B1 (en) * | 2012-01-31 | 2015-06-30 | Vmware, Inc. | Selective migration of virtualized applications and configuration settings thereof |
CN103729169A (en) * | 2012-10-10 | 2014-04-16 | 国际商业机器公司 | Method and device for determining scope of file to be migrated |
CN104573122A (en) * | 2015-02-09 | 2015-04-29 | 浪潮电子信息产业股份有限公司 | Oracle database migration tool migrating from AIX platform to K-UX platform |
CN104899333A (en) * | 2015-06-24 | 2015-09-09 | 浪潮(北京)电子信息产业有限公司 | Cross-platform migrating method and system for Oracle database |
CN106325951A (en) * | 2016-08-30 | 2017-01-11 | 广西电网有限责任公司 | Automatic deployment method for application system supporting multiple databases and multiple middleware types |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111435919A (en) * | 2019-01-15 | 2020-07-21 | 菜鸟智能物流控股有限公司 | Method, device and system for managing configuration parameters |
CN110502303A (en) * | 2019-08-20 | 2019-11-26 | 银康(中山)科技有限公司 | Method, apparatus, electronic device and storage medium for evaluating ability of elderly person |
CN110502303B (en) * | 2019-08-20 | 2023-07-11 | 银康(中山)科技有限公司 | Method, device, electronic equipment and storage medium for evaluating ability of old people |
CN112463417A (en) * | 2020-12-17 | 2021-03-09 | 中通服建设有限公司 | Migration adaptation method, device and equipment based on domestic trusted software and hardware platform |
CN112463344B (en) * | 2020-12-17 | 2023-12-08 | 中国农业银行股份有限公司 | Data analysis method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102656557B (en) | Automate enterprise-software-development | |
CN108763419A (en) | A kind of method, apparatus and computer storage media of migration process | |
CN106484393B (en) | Visual view design method | |
US10545756B1 (en) | Systems and methods for infrastructure and middleware provisioning | |
US20050198618A1 (en) | Distributed software fabrication system and process for fabricating business applications | |
EP2228726B1 (en) | A method and system for task modeling of mobile phone applications | |
US20050160104A1 (en) | System and method for generating and deploying a software application | |
CN104639653A (en) | Self-adaptive method and system based on cloud architecture | |
US20060015839A1 (en) | Development of software systems | |
CN103412745A (en) | Development and application platform | |
CN107894918A (en) | A kind of WAS object integrations operating method and device based on order line script | |
Steffen et al. | Full life-cycle support for end-to-end processes | |
Khaliluzzaman et al. | Pre and post controller based MVC architecture for web application | |
Fiore et al. | Towards an open (data) science analytics-hub for reproducible multi-model climate analysis at scale | |
CN111240808B (en) | Nuclear power station simulator operation data development and management system | |
CN115113850A (en) | Cross-platform application construction and operation method, server, terminal and system | |
Meglio et al. | ETICS: the international software engineering service for the grid | |
Cavalli et al. | From UML models to automatic generated tests for the dotLRN e-learning platform | |
Das et al. | Best practices for web applications to improve performance of QoS | |
Dittrich | Extraction of user behavior profiles for software modernization | |
Tabango-Castillo et al. | Firmware Generator for IoT Devices | |
Sivasubramanian | Architecture quality attributes for knowledge management systems | |
Kapadia | On the design of a demand-based network-computing system: The Purdue University network-computing hubs | |
Stehling | Pro ASP. NET for SQL Server: High Performance Data Access for Web Developers | |
Chang | The 64-bit. NET e-portal applications for e-Learning and e-Science |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181106 |