CN107256167B - Upgrade control method and upgrade control equipment applied to application system migration - Google Patents

Upgrade control method and upgrade control equipment applied to application system migration Download PDF

Info

Publication number
CN107256167B
CN107256167B CN201710392147.3A CN201710392147A CN107256167B CN 107256167 B CN107256167 B CN 107256167B CN 201710392147 A CN201710392147 A CN 201710392147A CN 107256167 B CN107256167 B CN 107256167B
Authority
CN
China
Prior art keywords
upgrade
template
system information
upgrading
application system
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.)
Active
Application number
CN201710392147.3A
Other languages
Chinese (zh)
Other versions
CN107256167A (en
Inventor
胡希平
程俊
王飞
潘亮亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Institute of Advanced Technology of CAS
Original Assignee
Shenzhen Institute of Advanced Technology of CAS
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Institute of Advanced Technology of CAS filed Critical Shenzhen Institute of Advanced Technology of CAS
Priority to CN201710392147.3A priority Critical patent/CN107256167B/en
Publication of CN107256167A publication Critical patent/CN107256167A/en
Application granted granted Critical
Publication of CN107256167B publication Critical patent/CN107256167B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The scheme discloses an upgrade control method, upgrade control equipment and a computer readable storage medium applied to application system migration. The upgrade control method comprises the following steps: acquiring system information of a current application system to be migrated, wherein the system information comprises: information indicating each program to be upgraded in the application system; based on the acquired system information, searching an upgrading template matched with the system information in a preset template database, wherein more than two upgrading templates are stored in the template database, and each upgrading template comprises: an upgrade scenario associated with one or more programs; and if the upgrading template matched with the system information is found, upgrading the program to be upgraded in the application system according to the upgrading template. According to the scheme, the upgrading efficiency under the application system migration scene can be effectively improved.

Description

Upgrade control method and upgrade control equipment applied to application system migration
Technical Field
The invention belongs to the technical field of computers, and particularly relates to an upgrade control method and an upgrade control device applied to application system migration.
Background
Modern computer technology has been constantly improving in virtualization and mainframe hardware performance, which has also greatly increased the ability of large numbers of applications to run on a small number of centralized servers and cloud computing platforms. Therefore, in many cases, the ability to migrate or rebuild an application system to an emerging computing platform (such as a large data center or a cloud computing platform) is urgently needed by users.
In order to adapt to the change of the application system environment, the application system after migration can achieve the expected effect. During the migration process of the application system, it is usually necessary to upgrade the programs (e.g., the application programs, the system programs, etc.) in the source application system (for convenience of description, the application system before migration is described as the source application system in the following). More complicated, these programs generally have certain interdependencies, which are the basic criteria that must be considered and not violated in migration and upgrade.
In the conventional scheme, each time when the application system is migrated, an engineer needs to upgrade the program in the source application system by depending on own experience, so that the upgrading efficiency is low.
Disclosure of Invention
The invention provides an upgrade control method and an upgrade control device applied to application system migration, which are used for improving the upgrade efficiency in an application system migration scene.
The first aspect of the present invention provides an upgrade control method applied to application system migration, including:
acquiring system information of a current application system to be migrated, wherein the system information comprises: information indicating each program to be upgraded in the application system;
based on the acquired system information, searching an upgrading template matched with the system information in a preset template database, wherein more than two upgrading templates are stored in the template database, and each upgrading template comprises: an upgrade scenario associated with one or more programs;
and if the upgrading template matched with the system information is found, upgrading the program to be upgraded in the application system according to the upgrading template.
Based on the first aspect of the present invention, in a first possible implementation manner, the system information further includes: information indicating dependencies between programs to be upgraded, and the system information is graphically represented, the upgrade template further comprising: graphically representing dependencies of one or more programs;
based on the acquired system information, searching an upgrade template matched with the system information in a preset template database, wherein the upgrade template comprises the following steps:
and searching an upgrading template matched with the system information in a preset template database based on an image similarity algorithm and the acquired system information.
Based on the first possible implementation manner of the first aspect of the present invention, in a second possible implementation manner, the searching, in a preset template database, for an upgrade template matching the system information based on the image similarity algorithm and the acquired system information includes:
dividing the graph representing the system information into more than two subgraphs through a clustering algorithm;
and searching an upgrading template matched with each sub-graph in a preset template database based on an image similarity algorithm aiming at each sub-graph.
Based on the first aspect of the present invention, or the first possible implementation manner of the first aspect of the present invention, or the second possible implementation manner of the first aspect of the present invention, in a third possible implementation manner, each upgrade template further includes: at least one risk index, wherein the risk index is used for quantifying the potential risk of the upgrade scheme included in the corresponding upgrade template being executed in at least one application system, and the risk index is positively correlated with the potential risk;
if the upgrade template matched with the system information is found, upgrading the program to be upgraded in the application system according to the upgrade template, including:
and if more than two upgrading templates which are matched with the system information and related to the same program are found, upgrading the same program in the application system according to the upgrading template with the lowest risk index in the more than two upgrading templates.
Based on the first aspect of the present invention, or the first possible implementation manner of the first aspect of the present invention, or the second possible implementation manner of the first aspect of the present invention, in a fourth possible implementation manner, the searching, based on the obtained system information, for an upgrade template matching the system information in a preset template database includes:
if the upgrade template matched with the system information cannot be searched, determining the dependency relationship among all programs to be upgraded in the application system;
generating an upgrading scheme related to the programs to be upgraded in the application system according to the dependency relationship among the programs to be upgraded in the application system;
and storing the generated upgrading scheme in the form of an upgrading template so as to call the stored upgrading scheme in the following step.
A second aspect of the present invention provides an upgrade control apparatus applied to application system migration, including:
a system information obtaining unit, configured to obtain system information of an application system to be currently migrated, where the system information includes: information indicating each program to be upgraded in the application system;
the searching unit is used for searching an upgrading template matched with the system information in a preset template database based on the system information acquired by the system information acquiring unit, wherein more than two upgrading templates are stored in the template database, and each upgrading template comprises: an upgrade scenario associated with one or more programs;
and the execution unit is used for upgrading the program to be upgraded in the application system according to the upgrading template when the searching unit finds the upgrading template matched with the system information.
Based on the second aspect of the present invention, in a first possible implementation manner, the system information further includes: information indicating dependencies between programs to be upgraded, and the system information is graphically represented, the upgrade template further comprising: graphically representing dependencies of one or more programs;
the search unit is specifically configured to: and searching an upgrading template matched with the system information in a preset template database based on an image similarity algorithm and the system information acquired by the system information acquisition unit.
Based on the first possible implementation manner of the second aspect of the present invention, in a second possible implementation manner, the searching unit includes:
the segmentation unit is used for segmenting the graph representing the system information into more than two subgraphs through a clustering algorithm;
and the sub-searching unit is used for searching the upgrading template matched with each sub-image in a preset template database based on an image similarity algorithm aiming at each sub-image.
A third aspect of the present invention provides another upgrade control device applied to application system migration, where the upgrade control device includes: a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the upgrade control method according to the first aspect of the present invention or any possible implementation manner of the first aspect of the present invention when executing the computer program.
A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program which, when executed by at least one processor, implements an upgrade control method as in the first aspect of the present invention or any possible implementation manner of the first aspect of the present invention.
As can be seen from the above, in the scheme of the present invention, an upgrade scheme related to a program is preset, system information of an application system is obtained for the application system to be migrated, an upgrade template matching the system information is searched in a preset template database based on the system information, and when the upgrade template matching the system information is found, the program to be upgraded in the application system is upgraded according to the searched upgrade template. According to the scheme of the invention, the upgrading template is preset in the template database, so that when the application system needs to be migrated, the matched upgrading template in the template database can be reused, and an engineer does not need to rely on own experience to upgrade the program in the application system every time, and the upgrading efficiency in the application system migration scene can be improved to a certain extent.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic flowchart of an embodiment of an upgrade control method provided in the present invention;
fig. 2 is a schematic diagram of a system architecture of a migration control system to which the upgrade control method shown in fig. 1 is applied according to the present invention;
FIG. 3 is a schematic structural diagram of an embodiment of an upgrade control apparatus provided in the present invention;
fig. 4 is a schematic structural diagram of another embodiment of the upgrade control device provided in the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
An embodiment of the present invention describes an upgrade control method applied to application system migration, please refer to fig. 1, where the upgrade control method includes:
step 101, acquiring system information of a current application system to be migrated;
wherein the system information includes: the information of each program to be upgraded in the application system is indicated. It should be noted that the programs in the embodiment of the present invention include, but are not limited to, system programs and application programs, and the term "upgrade" in the embodiment of the present invention refers to a series of update operations related to the programs, including program upgrade, patching, plug-in update, and the like.
In the embodiment of the invention, the application system consists of a hardware system, a system program and an application program. The hardware system consists of an arithmetic unit, a controller, a memory, a peripheral interface and peripheral equipment. System programs include operating systems, compilers, database management systems, various high-level languages, and the like. The application program is composed of general support software and various application software packages. Optionally, the application system in the embodiment of the present invention may also refer to a cloud system (in some scenarios, the cloud system is also referred to as a cloud computing operating system or a cloud computing center operating system).
In step 101, by performing a global traversal on the application system, the status of the application system (for example, which programs need to be upgraded, the condition of each program on system resources, the dependency relationship between each program, and the like) can be known, and then system information including the information indicating each program to be upgraded in the application system is obtained. Further, the system information may further include any one or more of the following information: occupation conditions of each program to be upgraded on system resources (such as proportion of the system resources occupied by each program to be upgraded) and dependency relationships among the programs to be upgraded. For example, the dependence relationship between Tomcat (which is a Servlet container with free source and has the function of a traditional Web server) and MySQL (MySQL is a relational database management system) determines that Tomcat cannot be upgraded before MySQL is upgraded. Specifically, the dependency relationship between the programs may be standardized in advance in an installation package or a configuration file in each program, and the dependency relationship between the programs may be obtained by analyzing the installation package or the configuration file of each program.
Step 102, searching an upgrading template matched with the system information in a preset template database based on the acquired system information;
wherein, store more than two upgrade templates in the above-mentioned template database, every upgrade template includes: an upgrade scenario associated with one or more programs.
In the embodiment of the invention, various upgrading templates can be generated and stored in the template database in advance based on the historical experience of application system migration and/or the collection and analysis of system information of each application system. Wherein, each upgrade template includes: an upgrade scenario associated with one or more programs. The upgrade scheme may be used to direct the upgrade process (e.g., when upgrades are made, how upgrades are made, etc.) of the respective one or more programs.
In step 102, since the system information includes information of each program to be upgraded, and the upgrade template includes an upgrade scheme related to one or more programs, the system information acquired in step 101 may be used to search the upgrade template matching the system from the template database. For example, according to the information indicating each program to be upgraded included in the system information acquired in step 101, an upgrade template including an upgrade scheme associated with the corresponding program may be searched from the template database.
In an application scenario, the system information further includes: information indicating a dependency relationship between the respective programs to be upgraded, and the system information is graphically represented, and the upgrade template further includes: graphically representing dependencies of one or more programs. Step 102 may be represented as: based on the image similarity algorithm and the obtained system information (i.e., the system information obtained in step 101), an upgrade template matching the system information is searched in a preset template database.
Further, considering that an application system may contain more programs to be upgraded, the programs having a dependency relationship may be clustered by a clustering algorithm in advance. Specifically, the searching for an upgrade template matching the system information in a preset template database based on the image similarity algorithm and the acquired system information includes: dividing the graph representing the system information into more than two subgraphs by a clustering algorithm; and searching an upgrading template matched with each sub-graph in a preset template database based on an image similarity algorithm aiming at each sub-graph. The clustering algorithm may be, for example, a Min-Cut algorithm, an LDA algorithm, or other clustering algorithms, which is not limited herein.
103, if an upgrade template matched with the system information is found, upgrading the program to be upgraded in the application system according to the upgrade template;
since the upgrade template includes an upgrade scheme related to one or more programs, the upgrade scheme may be used to direct the upgrade process (e.g., when to upgrade, how to upgrade, etc.) of the respective one or more programs. Therefore, when the upgrade template matching the system information is found in step 102, the corresponding upgrade processing can be performed on the program to be upgraded in the application system according to the upgrade template.
Further, during the upgrade process in step 103, potential upgrade conflicts may also be automatically discovered and resolved, such that at most one upgrade may be performed for the same program. Specifically, the upgrade control method in the embodiment of the present invention further includes: when the same program has a plurality of upgradable versions, traversing the dependency relationship between the same program and other programs to be upgraded currently, determining a target version from the upgradable versions of the same program by using the minimum upgrading times as a criterion, and upgrading the same program based on the target version. For example, when the libxml of the program has two scalable versions 2.5.0 and 2.6.0, traversing the dependency relationship between the libxml of the version program and other programs to be currently upgraded, if the version of the libxml needs to be upgraded to 2.5.0 or higher before traversing to the Apache of the upgrade program, and the version of the libxml needs to be upgraded to 2.6.0 or higher before upgrading the PHP of the upgrade program, determining the version 2.6.0 as the current target version of the libxml from the multiple scalable versions of the same program according to the criterion of minimizing the upgrade times, so as to consider the upgrading of PHP5.5.8 and Apache software, and then upgrading the libxml based on the version 2.6.0.
Optionally, each upgrade template further includes: the risk index is used for quantifying the potential risk of the upgrade scheme included by the corresponding upgrade template executed in at least one application system, and the risk index is positively correlated with the potential risk, that is, the greater the risk index is, the greater the risk of the upgrade process based on the corresponding upgrade scheme is. Specifically, the risk index may be assigned according to the experience of the engineer, or determined in advance through evaluation after performing an upgrade experiment on the virtual machine, or the risk index may be derived from a known statistical model (e.g., a normal distribution model, etc.), which is not limited herein. Wherein the risk index of the same upgrade template in different application systems may be different. And is not the focus of the discussion of this patent. In step 103, if more than two upgrade templates that are matched with the system information and related to the same program are found, the same program in the application system is upgraded according to the upgrade template with the lowest risk index in the more than two upgrade templates, that is, if more than two upgrade templates that are matched with the system information are found and the programs targeted by the upgrade schemes included in the more than two upgrade templates are the same, the upgrade template with the lowest risk index is selected from the more than two upgrade templates to upgrade the program in the application system.
Optionally, if an upgrade template matching the system information is found, the found upgrade template and a corresponding risk index may also be output, so that relevant personnel may screen the found upgrade template and determine whether to perform upgrade processing based on the found upgrade template, and when a determination upgrade instruction is received, upgrade processing is performed based on the found upgrade template or the selected upgrade template under an instruction of the upgrade instruction.
Further, if the upgrade template matching the system information is not found in step 102, a corresponding upgrade template may be automatically generated and stored in the template database for subsequent reuse. Specifically, the upgrade control method in the embodiment of the present invention may further include: determining the dependency relationship among all programs to be upgraded in the application system; generating an upgrading scheme related to the program to be upgraded in the application system according to the dependency relationship among the programs to be upgraded in the application system; and storing the generated upgrading scheme in the form of an upgrading template so as to call the stored upgrading scheme in the following step.
Of course, in other embodiments, when the upgrade template matching the system information is not found in step 102, a prompt message may be output to prompt the relevant person to intervene.
It should be noted that, the upgrade control method in the embodiment of the present invention may be implemented by an upgrade control device, and the upgrade control device may be a stand-alone device, or may be integrated in, for example, a migration management device (e.g., a migration management server), which is not limited herein.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
As can be seen from the above, in the embodiment of the present invention, an upgrade scheme related to a program is preset, system information of an application system is obtained for the application system to be migrated, an upgrade template matching the system information is searched in a preset template database based on the system information, and when the upgrade template matching the system information is found, an upgrade process is performed on the program to be upgraded in the application system according to the searched upgrade template. According to the scheme of the invention, the upgrading template is preset in the template database, so that when the application system needs to be migrated, the matched upgrading template in the template database can be reused, and an engineer does not need to rely on own experience to upgrade the program in the application system every time, and the upgrading efficiency in the application system migration scene can be improved to a certain extent.
A migration control system applied to the upgrade control method in the embodiment shown in fig. 1 is described below with a specific application scenario. Referring to the system architecture of the migration control system shown in fig. 2, the upgrade system includes:
a cloud data center 21, a data center 22, a migration management server 23, a common data storage unit 24, and a template database 25.
The cloud data center 21 may be a cloud storage device composed of one or more virtual servers. Cloud storage is the best way to store data for users who need to store data in environments outside of enterprise devices and for users who need more mass storage space.
The data center 22 is a centralized data processing device that manages different types of system information from different users, and the data center 22 may be composed of a plurality of servers including a web server, a file server, and a print server.
Migration management server 23 includes, but is not limited to: migration engines, management servers, Web servers, and other devices that may be used to transmit and receive. The migration engine may access the template database 25 to receive or retrieve the required template (e.g., the upgrade template previously described) therefrom, and may implement the upgrade control method of the embodiment shown in fig. 1.
Example two
The invention provides an upgrade control device applied to application system migration. As shown in fig. 3, the upgrade control apparatus includes:
a system information obtaining unit 31, configured to obtain system information of an application system to be currently migrated, where the system information includes: information indicating each program to be upgraded in the application system;
a searching unit 32, configured to search, based on the system information acquired by the system information acquiring unit 31, an upgrade template matched with the system information in a preset template database, where the template database stores more than two upgrade templates, and each upgrade template includes: an upgrade scenario associated with one or more programs;
and the execution unit 33 is configured to, when the search unit 32 finds the upgrade template matching the system information, perform upgrade processing on the program to be upgraded in the application system according to the upgrade template.
Optionally, the system information further includes: information indicating dependencies between programs to be upgraded, and the system information is graphically represented, the upgrade template further comprising: graphically representing dependencies of one or more programs;
the search unit 32 is specifically configured to: and searching an upgrading template matched with the system information in a preset template database based on an image similarity algorithm and the system information acquired by the system information acquisition unit.
Further, the search unit 32 includes: the segmentation unit is used for segmenting the graph representing the system information into more than two subgraphs through a clustering algorithm; and the sub-searching unit is used for searching the upgrading template matched with each sub-image in a preset template database based on an image similarity algorithm aiming at each sub-image.
Optionally, each upgrade template further includes: at least one risk index, wherein the risk index is used to quantify a potential risk of an upgrade scheme included in a corresponding upgrade template being executed in at least one application system, and the risk index is positively correlated with the potential risk. The execution unit 33 is further configured to: when the search unit 32 searches for more than two upgrade templates which are matched with the system information and related to the same program, the same program in the application system is upgraded according to the upgrade template with the lowest risk index in the more than two upgrade templates.
Optionally, the upgrade control device in the embodiment of the present invention further includes: a determining unit, configured to determine, when the searching unit 32 cannot search for the upgrade template that matches the system information, a dependency relationship between programs to be upgraded in the application system; the generating unit is used for generating an upgrading scheme related to the programs to be upgraded in the application system according to the dependency relationship among the programs to be upgraded in the application system; and the storage unit is used for storing the generated upgrading scheme in the form of the upgrading template so as to call the stored upgrading scheme in the following step.
It should be noted that the upgrade control device in the embodiment of the present invention may be a stand-alone device, or may be integrated in, for example, a migration management device (e.g., a migration management server), which is not limited herein.
It should be understood that the upgrade control device in the embodiment of the present invention may be configured to implement all technical solutions in the foregoing method embodiments, and the functions of each functional module may be implemented specifically according to the method in the foregoing method embodiments, and the specific implementation process may refer to the relevant description in the foregoing embodiments, which is not described herein again.
As can be seen from the above, in the embodiment of the present invention, an upgrade scheme related to a program is preset, system information of an application system is obtained for the application system to be migrated, an upgrade template matching the system information is searched in a preset template database based on the system information, and when the upgrade template matching the system information is found, an upgrade process is performed on the program to be upgraded in the application system according to the searched upgrade template. According to the scheme of the invention, the upgrading template is preset in the template database, so that when the application system needs to be migrated, the matched upgrading template in the template database can be reused, and an engineer does not need to rely on own experience to upgrade the program in the application system every time, and the upgrading efficiency in the application system migration scene can be improved to a certain extent.
EXAMPLE III
Fig. 4 is a schematic diagram of an upgrade control device applied to application system migration according to an embodiment of the present invention. As shown in fig. 4, the upgrade control apparatus 4 of this embodiment includes: a processor 40, a memory 41, and a computer program 42, such as an upgrade control program, stored in the memory 41 and operable on the processor 40. The processor 40, when executing the computer program 42, implements the upgrade control method in the above-described method embodiments, such as steps 101-103 shown in fig. 1. Alternatively, the computer program 42 may be divided into one or more modules/units, which are stored in the memory 41 and executed by the processor 40 to accomplish the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 42 in the upgrade control device 4. For example, the computer program 42 may be divided into the system information acquiring unit 31, the searching unit 32 and the executing unit 33 shown in fig. 3, and the functions of the system information acquiring unit 31, the searching unit 32 and the executing unit 33 may refer to the description in the embodiment shown in fig. 3, which is not described herein again.
The upgrade control apparatus 4 may include, but is not limited to, a processor 40, a memory 41. It will be appreciated by those skilled in the art that fig. 4 is merely an example of an upgrade control device 4 and does not constitute a limitation of the upgrade control device 4, and may include more or fewer components than shown, or combine certain components, or different components, e.g., the upgrade control device 4 may also include input output devices, network access devices, buses, etc.
The Processor 40 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The above-mentioned memory 41 may be an internal storage unit of the upgrade control apparatus 4, such as a hard disk or a memory of the upgrade control apparatus 4. The memory 41 may be an external storage device of the upgrade control apparatus 4, such as a plug-in hard disk provided on the upgrade control apparatus 4, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the above-described memory 41 may also include both an internal storage unit of the upgrade control device 4 and an external storage device. The memory 41 is used to store the above-mentioned computer programs and other programs and data required for upgrading the control device 4. The memory 41 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. An upgrade control method applied to application system migration is characterized by comprising the following steps:
acquiring system information of a current application system to be migrated, wherein the system information comprises: information indicating each program to be upgraded in the application system; the system information further includes: information indicating a dependency relationship between the programs to be upgraded;
based on the acquired system information, searching an upgrading template matched with the system information in a preset template database, wherein more than two upgrading templates are stored in the template database, and each upgrading template comprises: an upgrade scenario associated with one or more programs;
and if the upgrading template matched with the system information is found, upgrading the program to be upgraded in the application system according to the upgrading template.
2. The upgrade control method according to claim 1, wherein the system information is graphically represented, and the upgrade template further comprises: graphically representing dependencies of one or more programs;
based on the acquired system information, searching an upgrade template matched with the system information in a preset template database, wherein the upgrade template comprises the following steps:
and searching an upgrading template matched with the system information in a preset template database based on an image similarity algorithm and the acquired system information.
3. The upgrade control method according to claim 2, wherein the searching for an upgrade template matching the system information in a preset template database based on the image similarity algorithm and the acquired system information includes:
dividing the graph representing the system information into more than two subgraphs through a clustering algorithm;
and searching an upgrading template matched with each sub-graph in a preset template database based on an image similarity algorithm aiming at each sub-graph.
4. The upgrade control method according to any one of claims 1 to 3, wherein each upgrade template further comprises: at least one risk index, wherein the risk index is used for quantifying the potential risk of the upgrade scheme included in the corresponding upgrade template being executed in at least one application system, and the risk index is positively correlated with the potential risk;
if the upgrade template matched with the system information is found, upgrading the program to be upgraded in the application system according to the upgrade template, including:
and if more than two upgrading templates which are matched with the system information and related to the same program are found, upgrading the same program in the application system according to the upgrading template with the lowest risk index in the more than two upgrading templates.
5. The upgrade control method according to any one of claims 1 to 3, wherein the searching for an upgrade template matching the system information in a preset template database based on the acquired system information, thereafter includes:
if the upgrade template matched with the system information cannot be searched, determining the dependency relationship among all programs to be upgraded in the application system;
generating an upgrading scheme related to the programs to be upgraded in the application system according to the dependency relationship among the programs to be upgraded in the application system;
and storing the generated upgrading scheme in the form of an upgrading template so as to call the stored upgrading scheme in the following step.
6. An upgrade control device applied to application system migration, comprising:
a system information obtaining unit, configured to obtain system information of an application system to be currently migrated, where the system information includes: information indicating each program to be upgraded in the application system; the system information further includes: information indicating a dependency relationship between the programs to be upgraded;
the searching unit is used for searching an upgrading template matched with the system information in a preset template database based on the system information acquired by the system information acquiring unit, wherein more than two upgrading templates are stored in the template database, and each upgrading template comprises: an upgrade scenario associated with one or more programs;
and the execution unit is used for upgrading the program to be upgraded in the application system according to the upgrading template when the searching unit finds the upgrading template matched with the system information.
7. The upgrade control apparatus according to claim 6, wherein the system information is graphically represented, the upgrade template further comprising: graphically representing dependencies of one or more programs;
the search unit is specifically configured to: and searching an upgrading template matched with the system information in a preset template database based on an image similarity algorithm and the system information acquired by the system information acquisition unit.
8. The upgrade control apparatus according to claim 7, wherein the search unit includes:
the segmentation unit is used for segmenting the graph representing the system information into more than two subgraphs through a clustering algorithm;
and the sub-searching unit is used for searching the upgrading template matched with each sub-image in a preset template database based on an image similarity algorithm aiming at each sub-image.
9. An upgrade control apparatus applied to application system migration, comprising: memory, processor and computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201710392147.3A 2017-05-27 2017-05-27 Upgrade control method and upgrade control equipment applied to application system migration Active CN107256167B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710392147.3A CN107256167B (en) 2017-05-27 2017-05-27 Upgrade control method and upgrade control equipment applied to application system migration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710392147.3A CN107256167B (en) 2017-05-27 2017-05-27 Upgrade control method and upgrade control equipment applied to application system migration

Publications (2)

Publication Number Publication Date
CN107256167A CN107256167A (en) 2017-10-17
CN107256167B true CN107256167B (en) 2020-07-03

Family

ID=60027449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710392147.3A Active CN107256167B (en) 2017-05-27 2017-05-27 Upgrade control method and upgrade control equipment applied to application system migration

Country Status (1)

Country Link
CN (1) CN107256167B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874415A (en) * 2018-04-10 2018-11-23 南京江大搏达信息科技有限公司 Upgrading recommender system in enterprise's cloud system migration
CN110460467A (en) * 2019-08-12 2019-11-15 视联动力信息技术股份有限公司 A kind of upgrade method of server, device, electronic equipment and storage medium
CN111124321B (en) * 2019-11-04 2020-09-08 深圳市金城保密技术有限公司 Debugging method and system of laser printer

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262544A (en) * 2010-05-24 2011-11-30 腾讯科技(深圳)有限公司 Method and device for upgrading software
CN102541592A (en) * 2011-12-16 2012-07-04 大唐移动通信设备有限公司 Communication device and method for updating software thereof
CN103238136A (en) * 2010-12-10 2013-08-07 亚马逊技术股份有限公司 Virtual machine morphing for heterogeneous migration environments
CN103257878A (en) * 2013-05-16 2013-08-21 浪潮通信信息系统有限公司 Cross-platform smooth transfer method of application program based on Cloud calculation
US9361092B1 (en) * 2015-03-09 2016-06-07 International Business Machines Corporation Recommending upgrade actions during migration

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10061611B2 (en) * 2015-08-28 2018-08-28 Vmware, Inc. Virtual machine migration within a hybrid cloud system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262544A (en) * 2010-05-24 2011-11-30 腾讯科技(深圳)有限公司 Method and device for upgrading software
CN103238136A (en) * 2010-12-10 2013-08-07 亚马逊技术股份有限公司 Virtual machine morphing for heterogeneous migration environments
CN102541592A (en) * 2011-12-16 2012-07-04 大唐移动通信设备有限公司 Communication device and method for updating software thereof
CN103257878A (en) * 2013-05-16 2013-08-21 浪潮通信信息系统有限公司 Cross-platform smooth transfer method of application program based on Cloud calculation
US9361092B1 (en) * 2015-03-09 2016-06-07 International Business Machines Corporation Recommending upgrade actions during migration

Also Published As

Publication number Publication date
CN107256167A (en) 2017-10-17

Similar Documents

Publication Publication Date Title
US20200167671A1 (en) Computer system and method for machine learning or inference
CN110795455A (en) Dependency relationship analysis method, electronic device, computer device and readable storage medium
CN107256167B (en) Upgrade control method and upgrade control equipment applied to application system migration
CN111199054B (en) Data desensitization method and device and data desensitization equipment
US9275201B2 (en) Execution-based license discovery and optimization
CN116508019A (en) Learning-based workload resource optimization for database management systems
CN112579621B (en) Data display method and device, electronic equipment and computer storage medium
CN111988429A (en) Algorithm scheduling method and system
CN112346775A (en) General index data processing method, electronic device and storage medium
CN110389817B (en) Scheduling method, device and computer readable medium of multi-cloud system
CN116303320A (en) Real-time task management method, device, equipment and medium based on log file
CN116204428A (en) Test case generation method and device
CN113110804B (en) Duplicate picture deleting method, device, equipment and storage medium
CN111736848B (en) Packet conflict positioning method, device, electronic equipment and readable storage medium
CN114637969A (en) Target object authentication method and device
CN109902067B (en) File processing method and device, storage medium and computer equipment
CN112990466A (en) Redundancy rule detection method and device and server
CN111142965A (en) Language configuration method and device, electronic equipment and storage medium
CN113568630A (en) Method, system and equipment for updating algorithm
CN111444057A (en) Page performance data acquisition method and device and computing equipment
CN114168275B (en) Task scheduling method, system, terminal device and storage medium
WO2018218399A1 (en) Upgrade control method and upgrade control equipment applied to application system migration
CN110764784B (en) Method for identifying three-party SO (SO) file, intelligent terminal and storage medium
CN116069861A (en) Data processing method, system and electronic equipment
CN114416174A (en) Model reconstruction method and device based on metadata, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant