CN107256167A - The upgrade control method and upgrading control device migrated applied to application system - Google Patents
The upgrade control method and upgrading control device migrated applied to application system Download PDFInfo
- Publication number
- CN107256167A CN107256167A CN201710392147.3A CN201710392147A CN107256167A CN 107256167 A CN107256167 A CN 107256167A CN 201710392147 A CN201710392147 A CN 201710392147A CN 107256167 A CN107256167 A CN 107256167A
- Authority
- CN
- China
- Prior art keywords
- upgrade
- system information
- template
- upgraded
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task 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 solution discloses an upgrade control method applied to application system migration, an upgrade control device and a computer-readable storage medium. Wherein, the above upgrade control method includes: obtaining system information of the application system to be migrated currently, wherein the system information includes: information indicating each program to be upgraded in the application system; based on the obtained system information , searching for an upgrade template matching the system information in a preset template database, wherein more than two upgrade templates are stored in the template database, and each upgrade template includes: an upgrade scheme related to one or more than two programs ; If an upgrade template matching the system information is found, perform upgrade processing on the program to be upgraded in the application system according to the upgrade template. This solution can effectively improve the upgrade efficiency in the application system migration scenario.
Description
技术领域technical field
本发明属于计算机技术领域,尤其涉及一种应用于应用系统迁移的升级控制方法及升级控制设备。The invention belongs to the technical field of computers, and in particular relates to an upgrade control method and upgrade control equipment applied to application system migration.
背景技术Background technique
现代计算机技术在虚拟化和大型机硬件性能上得到了不断地提高,这也很大程度上提升了大量应用程序运行在少量集中式服务器和云计算平台上的能力。因此,在很多情况下,能够将某个应用系统迁移或者重建到新兴的计算平台上(如大型数据中心或者云计算平台等)的能力是用户所迫切需求的。Modern computer technology has been continuously improved in virtualization and mainframe hardware performance, which has greatly improved the ability to run a large number of applications 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, etc.) is urgently needed by users.
为了适应应用系统环境的变化,使得迁移以后的应用系统能够达到预期的效果。在应用系统迁移过程中,通常需要对源应用系统(为便于表述,后续将迁移前的应用系统描述为源应用系统)中的程序(例如应用程序、系统程序等)进行升级。更为复杂的是,这些程序一般都有着一定的相互依赖关系,这是迁移和升级中必须考虑且不能违反的基本准则。In order to adapt to changes in the application system environment, the application system after migration can achieve the expected effect. During the application system migration process, it is usually necessary to upgrade programs (such as application programs, system programs, etc.) in the source application system (for ease of expression, the application system before migration will be described as the source application system later). What's more complicated is that these programs generally have a certain interdependence, which is a basic principle that must be considered and cannot be violated during migration and upgrade.
传统方案中,每次在应用系统迁移时都需要由工程人员依赖自身的经验对源应用系统中的程序进行升级,升级效率低下。In the traditional solution, every time the application system is migrated, engineers need to rely on their own experience to upgrade the programs in the source application system, which is inefficient.
发明内容Contents of the invention
本发明提供一种应用于应用系统迁移的升级控制方法及升级控制设备,用于提高应用系统迁移场景下的升级效率。The present invention provides an upgrade control method and upgrade control equipment applied to application system migration, which are used to improve the upgrade efficiency in the application system migration scenario.
本发明第一方面提供一种应用于应用系统迁移的升级控制方法,包括:The first aspect of the present invention provides an upgrade control method applied to application system migration, including:
获取当前待迁移的应用系统的系统信息,其中,所述系统信息包括:用以指示所述应用系统中待升级的各个程序的信息;Acquiring system information of the application system to be migrated currently, wherein the system information includes: information indicating each program to be upgraded in the application system;
基于获取的所述系统信息,在预设的模板数据库中查找与所述系统信息匹配的升级模板,其中,所述模板数据库中存储两个以上升级模板,每个升级模板包括:与一个或两个以上程序相关的升级方案;Based on the obtained system information, an upgrade template matching the system information is searched in a preset template database, wherein more than two upgrade templates are stored in the template database, and each upgrade template includes: one or two Upgrading plans related to more than one program;
若查找到与所述系统信息匹配的升级模板,则根据所述升级模板对所述应用系统中待升级的程序进行升级处理。If an upgrade template matching the system information is found, the program to be upgraded in the application system is upgraded according to the upgrade 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 represented graphically, The upgrade template also includes: the dependency relationship of one or more than two programs represented graphically;
所述基于获取的所述系统信息,在预设的模板数据库中查找与所述系统信息匹配的升级模板,为:Based on the obtained system information, searching for an upgrade template matching the system information in a preset template database is:
基于图像相似度算法和获取的所述系统信息,在预设的模板数据库中查找与所述系统信息匹配的升级模板。Based on the image similarity algorithm and the acquired system information, an upgrade template matching the system information is searched in a preset template database.
基于本发明第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述基于图像相似度算法和获取的所述系统信息,在预设的模板数据库中查找与所述系统信息匹配的升级模板,包括:Based on the first possible implementation of the first aspect of the present invention, in the second possible implementation, the system information based on the image similarity algorithm and the acquired system information is searched in the preset template database. An upgrade template matching the above system information, including:
将表示所述系统信息的图形通过聚类算法分割为两个以上子图;dividing the graph representing the system information into two or more subgraphs through a clustering algorithm;
针对每个子图,基于图像相似度算法在预设的模板数据库中查找与各个子图匹配的升级模板。For each subgraph, an upgraded template matching each subgraph is searched in the preset template database based on the image similarity algorithm.
基于本发明第一方面,或者本发明第一方面的第一种可能的实现方式,或者本发明第一方面的第二种可能的实现方式,在第三种可能的实现方式中,每个升级模板还包括:至少一个危险指数,其中,所述危险指数用以量化相应升级模板所包括的升级方案在至少一个应用系统中执行的潜在风险,所述危险指数与所述潜在风险成正相关;Based on the first aspect of the present invention, or the first possible implementation of the first aspect of the present invention, or the second possible implementation of the first aspect of the present invention, in the third possible implementation, each upgrade The template further includes: at least one risk index, wherein the risk index is used to quantify the potential risk of the upgrade solution 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 matching the system information is found, then upgrade the program to be upgraded in the application system according to the upgrade template, including:
若查找到与所述系统信息匹配且与相同程序相关的两个以上升级模板,则根据所述两个以上升级模板中危险指数最低的升级模板对所述应用系统中的所述相同程序进行升级处理。If two or more upgrade templates matching the system information and related to the same program are found, upgrade the same program in the application system according to the upgrade template with the lowest risk index among the two or more upgrade templates deal with.
基于本发明第一方面,或者本发明第一方面的第一种可能的实现方式,或者本发明第一方面的第二种可能的实现方式,在第四种可能的实现方式中,所述基于获取的所述系统信息,在预设的模板数据库中查找与所述系统信息匹配的升级模板,之后包括:Based on the first aspect of the present invention, or the first possible implementation of the first aspect of the present invention, or the second possible implementation of the first aspect of the present invention, in a fourth possible implementation, the The obtained system information is searched for an upgrade template matching the system information in a preset template database, and then includes:
若查找不到与所述系统信息匹配的升级模板,则确定所述应用系统中待升级的各个程序之间的依赖关系;If no upgrade template matching the system information can be found, then determine the dependencies among the programs to be upgraded in the application system;
根据所述应用系统中待升级的各个程序之间的依赖关系,生成与所述应用系统中待升级的程序相关的升级方案;Generating an upgrade plan related to the programs to be upgraded in the application system according to the dependencies among the programs to be upgraded in the application system;
以升级模板的形式存储生成的升级方案,以便后续调用存储的升级方案。The generated upgrade plan is stored in the form of an upgrade template, so that the stored upgrade plan can be called later.
本发明第二方面提供一种应用于应用系统迁移的升级控制设备,包括:The second aspect of the present invention provides an upgrade control device applied to application system migration, including:
系统信息获取单元,用于获取当前待迁移的应用系统的系统信息,其中,所述系统信息包括:用以指示所述应用系统中待升级的各个程序的信息;A system information acquiring unit, configured to acquire system information of an application system to be migrated currently, wherein the system information includes: information indicating each program to be upgraded in the application system;
查找单元,用于基于所述系统信息获取单元获取的所述系统信息,在预设的模板数据库中查找与所述系统信息匹配的升级模板,其中,所述模板数据库中存储两个以上升级模板,每个升级模板包括:与一个或两个以上程序相关的升级方案;A search unit, configured to search for an upgrade template matching the system information in a preset template database based on the system information acquired by the system information acquisition unit, wherein more than two upgrade templates are stored in the template database , each upgrade template includes: an upgrade plan related to one or more than two programs;
执行单元,用于当所述查找单元查找到与所述系统信息匹配的升级模板时,根据所述升级模板对所述应用系统中待升级的程序进行升级处理。The execution unit is configured to perform upgrade processing on the program to be upgraded in the application system according to the upgrade template when the search unit finds an upgrade template that matches 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 represented graphically, The upgrade template also includes: the dependency relationship of one or more than two programs represented graphically;
所述查找单元具体用于:基于图像相似度算法和所述系统信息获取单元获取的所述系统信息,在预设的模板数据库中查找与所述系统信息匹配的升级模板。The searching unit is specifically configured to: search for an upgrade template matching the system information in a preset template database based on an image similarity algorithm and the system information obtained by the system information obtaining unit.
基于本发明第二方面的第一种可能的实现方式,在第二种可能的实现方式中,所述查找单元包括:Based on the first possible implementation of the second aspect of the present invention, in a second possible implementation, the search unit includes:
分割单元,用于将表示所述系统信息的图形通过聚类算法分割为两个以上子图;A segmentation unit, configured to divide the graph representing the system information into two or more subgraphs through a clustering algorithm;
子查找单元,用于针对每个子图,基于图像相似度算法在预设的模板数据库中查找与各个子图匹配的升级模板。The sub-search unit is configured to, for each sub-picture, search for an upgraded template matching each sub-picture in a preset template database based on an image similarity algorithm.
本发明第三方面提供另一种应用于应用系统迁移的升级控制设备,上述升级控制设备包括:存储器、处理器及存储在上述存储器上并可在上述处理器上运行的计算机程序,上述处理器执行上述计算机程序时实现如本发明第一方面或者本发明第一方面的任一可能实现方式中的升级控制方法。The third aspect of the present invention provides another upgrade control device applied to application system migration. The upgrade control device includes: a memory, a processor, and a computer program stored in the memory and operable on the processor. The processor The upgrade control method in the first aspect of the present invention or in any possible implementation manner of the first aspect of the present invention is implemented when the above computer program is executed.
本发明第四方面提供一种计算机可读存储介质,上述计算机可读存储介质存储有计算机程序,上述计算机程序被至少一个处理器执行时,实现如本发明第一方面或者本发明第一方面的任一可能实现方式中的升级控制方法。The fourth aspect of the present invention provides a computer-readable storage medium. The above-mentioned computer-readable storage medium stores a computer program. When the above-mentioned computer program is executed by at least one processor, the first aspect of the present invention or the first aspect of the present invention are implemented. An upgrade control method in any possible implementation.
由上可见,本发明方案中预先设定好与程序相关的升级方案,针对待迁移的应用系统,获取该应用系统的系统信息,基于该系统信息在预设的模板数据库中查找与该系统信息匹配的升级模板,当查找到与该系统信息匹配的升级模板时,根据查找到的升级模板对该应用系统中待升级的程序进行升级处理。本发明方案通过在模板数据库中预设升级模板,使得在应用系统需要迁移时,可以复用模板数据库中匹配的升级模板,而无需工程人员每次都依赖自身的经验对应用系统中的程序进行升级,在一定程度上能够提高应用系统迁移场景下的升级效率。It can be seen from the above that in the solution of the present invention, an upgrade plan related to the program is preset, and for the application system to be migrated, the system information of the application system is obtained, and the system information is searched in the preset template database based on the system information. A matched upgrade template. When an upgrade template matching the system information is found, the program to be upgraded in the application system is upgraded according to the found upgrade template. The solution of the present invention presets the upgrade template in the template database, so that when the application system needs to be migrated, the matching upgrade template in the template database can be reused, without the need for engineers to rely on their own experience to update the programs in the application system. Upgrade, to a certain extent, can improve the upgrade efficiency in the application system migration scenario.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1为本发明提供的升级控制方法一个实施例流程示意图;FIG. 1 is a schematic flow chart of an embodiment of an upgrade control method provided by the present invention;
图2为本发明提供的一种应用图1所示的升级控制方法的迁移控制系统的系统架构示意图;FIG. 2 is a schematic diagram of the system architecture of a migration control system applying the upgrade control method shown in FIG. 1 provided by the present invention;
图3为本发明提供的升级控制设备一个实施例结构示意图;FIG. 3 is a schematic structural diagram of an embodiment of an upgrade control device provided by the present invention;
图4为本发明提供的升级控制设备另一个实施例结构示意图。Fig. 4 is a schematic structural diagram of another embodiment of an upgrade control device provided by the present invention.
具体实施方式detailed description
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而非全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, 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 in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
实施例一Embodiment one
本发明实施例对一种应用于应用系统迁移的升级控制方法进行描述,请参阅图1,上述升级控制方法包括:An embodiment of the present invention describes an upgrade control method applied to application system migration. Please refer to FIG. 1. The above upgrade control method includes:
步骤101、获取当前待迁移的应用系统的系统信息;Step 101, obtaining the system information of the application system currently to be migrated;
其中,上述系统信息包括:用以指示上述应用系统中待升级的各个程序的信息。需要说明的是,本发明实施例中的程序包括但不限于系统程序和应用程序,本发明实施例提及的“升级”是指包含程序升级、打补丁、插件更新等一系列与程序相关的更新操作。Wherein, the above-mentioned system information includes: information for indicating each program to be upgraded in the above-mentioned application system. It should be noted that the programs in the embodiments of the present invention include but are not limited to system programs and application programs. The "upgrade" mentioned in the embodiments of the present invention refers to a series of program-related programs including program upgrades, patching, and plug-in updates. update operation.
本发明实施例中,应用系统由硬件系统、系统程序、应用程序组成。其中,硬件系统由运算器和控制器、存储器、外围接口和外围设备组成。系统程序包括操作系统、编译程序、数据库管理系统、各种高级语言等。应用程序由通用支援软件和各种应用软件包组成。可选的,本发明实施例中的应用系统也可以特指云系统(在某些场景下,云系统也被称为云计算操作系统、云计算中心操作系统)。In the embodiment of the present invention, the application system is composed of a hardware system, a system program, and an application program. Among them, the hardware system is composed of arithmetic unit and controller, memory, peripheral interface and peripheral equipment. System programs include operating systems, compilers, database management systems, and various high-level languages. The application program consists of general support software and various application software packages. Optionally, the application system in this embodiment of the present invention may also specifically refer to a cloud system (in some scenarios, a cloud system is also called a cloud computing operating system or a cloud computing center operating system).
在步骤101中,通过对应用系统进行全局遍历,可以获知该应用系统的状况(例如哪些程序需要升级,各个程序对系统资源的情况、各个程序之间的依赖关系等),进而获得包含上述用以指示上述应用系统中待升级的各个程序的信息的系统信息。进一步,上述系统信息还可以包括如下任一项或多项信息:待升级的各个程序对系统资源的占用情况(例如待升级的各个程序占用的系统资源的比例)、待升级的各个程序之间的依赖关系。其中,各个程序之间的依赖关系决定了各个程序之间的升级顺序,例如,Tomcat(Tomcat为免费开源的Servlet容器,且具有传统的Web服务器的功能)与MySQL(MySQL是一个关系型数据库管理系统)之间的依赖关系决定了Tomcat不能在MySQL升级之前被升级。具体地,各个程序之间的依赖关系可预先标准化在各个程序中安装包或配置文件中,通过分析各个程序的安装包或配置文件可获得各个程序之间的依赖关系。In step 101, by traversing the application system globally, the status of the application system (such as which programs need to be upgraded, the situation of each program on system resources, the dependency relationship between each program, etc.) System information indicating the information of each program to be upgraded in the above application system. Further, the above system information may also include any one or more of the following information: the occupancy of system resources by each program to be upgraded (such as the proportion of system resources occupied by each program to be upgraded), the relationship between each program to be upgraded dependencies. Among them, the dependency between each program determines the upgrade sequence between each program, for example, Tomcat (Tomcat is a free and open source Servlet container, and has the function of a traditional Web server) and MySQL (MySQL is a relational database management system). system) determines that Tomcat cannot be upgraded before MySQL is upgraded. Specifically, the dependencies between programs can be pre-standardized in the installation packages or configuration files of the programs, and the dependencies between the programs can be obtained by analyzing the installation packages or configuration files of the programs.
步骤102、基于获取的上述系统信息,在预设的模板数据库中查找与上述系统信息匹配的升级模板;Step 102, based on the obtained above-mentioned system information, search for an upgrade template matching the above-mentioned system information in a preset template database;
其中,上述模板数据库中存储两个以上升级模板,每个升级模板包括:与一个或两个以上程序相关的升级方案。Wherein, the template database stores more than two upgrade templates, and each upgrade template includes: an upgrade scheme related to one or more than two programs.
本发明实施例中,可以预先基于应用系统迁移的历史经验和/或对各个应用系统的系统信息的收集分析,生成各种升级模板并存储于模板数据库中。其中,每个升级模板包括:与一个或两个以上程序相关的升级方案。该升级方案可用以指引相应的一个或两个以上程序的升级过程(例如何时进行升级、如何升级等)。In the embodiment of the present invention, various upgrade templates may be generated and stored in the template database based on historical experience of application system migration and/or collection and analysis of system information of each application system in advance. Wherein, each upgrade template includes: an upgrade scheme related to one or more than two programs. The upgrade scheme can be used to guide the corresponding upgrade process of one or more than two programs (such as when to upgrade, how to upgrade, etc.).
在步骤102中,由于系统信息包括待升级的各个程序的信息,而升级模板包括与一个或两个以上程序相关的升级方案,因此,通过步骤101获取的系统信息,即可从上述模板数据库中查找与上述系统匹配的升级模板。例如,根据步骤101获取的系统信息中包括的指示待升级的各个程序的信息,可从上述模板数据库中查找包括与相应程序相关的升级方案的升级模板。In step 102, since the system information includes the information of each program to be upgraded, and the upgrade template includes an upgrade plan related to one or more than two programs, the system information obtained through step 101 can be obtained from the template database Find upgrade templates that match the above systems. 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 solution related to the corresponding program may be searched from the template database.
在一种应用场景中,上述系统信息还包括:用以指示待升级的各个程序之间的依赖关系的信息,并且,上述系统信息以图形表示,上述升级模板还包括:以图形表示的一个或两个以上程序的依赖关系。步骤102可表现为:基于图像相似度算法和获取的上述系统信息(即步骤101获取的系统信息),在预设的模板数据库中查找与上述系统信息匹配的升级模板。In an application scenario, the above system information further includes: information indicating the dependency relationship among the programs to be upgraded, and the above system information is represented graphically, and the upgrade template further includes: one or Dependencies of more than two programs. Step 102 can be expressed as: based on the image similarity algorithm and the above-mentioned system information obtained (ie, the system information obtained in step 101), search for an upgrade template matching the above-mentioned system information in a preset template database.
进一步,考虑到一个应用系统包含的待升级的程序可能较多,因此,可预先通过聚类算法将存在依赖关系的程序进行聚类。具体地,上述基于图像相似度算法和获取的上述系统信息,在预设的模板数据库中查找与上述系统信息匹配的升级模板包括:将表示上述系统信息的图形通过聚类算法分割为两个以上子图;针对每个子图,基于图像相似度算法在预设的模板数据库中查找与各个子图匹配的升级模板。其中,上述聚类算法例如可以是Min-Cut算法、LDA算法或其它聚类算法,此处不做限定。Further, considering that an application system may contain many programs to be upgraded, the programs with dependencies can be clustered in advance through a clustering algorithm. Specifically, based on the image similarity algorithm and the obtained above-mentioned system information, searching for an upgrade template that matches the above-mentioned system information in the preset template database includes: dividing the graph representing the above-mentioned system information into two or more through a clustering algorithm Subgraphs; for each subgraph, an upgraded template matching each subgraph is searched in a preset template database based on an image similarity algorithm. Wherein, the aforementioned clustering algorithm may be, for example, Min-Cut algorithm, LDA algorithm or other clustering algorithms, which are not limited here.
步骤103、若查找到与上述系统信息匹配的升级模板,则根据上述升级模板对上述应用系统中待升级的程序进行升级处理;Step 103, if an upgrade template matching the above-mentioned system information is found, perform upgrade processing on the program to be upgraded in the above-mentioned application system according to the above-mentioned upgrade template;
由于升级模板包含与一个或两个以上程序相关的升级方案,而该升级方案可用以指引相应的一个或两个以上程序的升级过程(例如何时进行升级、如何升级等)。因此,当步骤102查找到与上述系统信息匹配的升级模板时,便可根据上述升级模板对上述应用系统中待升级的程序进行相应的升级处理。Since the upgrade template includes an upgrade plan related to one or more programs, the upgrade plan can be used to guide the upgrade process of the corresponding one or more programs (for example, when to upgrade, how to upgrade, etc.). Therefore, when an upgrade template matching the above-mentioned system information is found in step 102, the program to be upgraded in the above-mentioned application system can be upgraded accordingly according to the above-mentioned upgrade template.
进一步,在步骤103中的升级处理过程中,还可自动发现并解决潜在的升级冲突,以针对同一程序至多进行一次升级。具体地,本发明实施例中的升级控制方法还包括:当同一程序存在多个可升级的版本时,遍历所述同一程序与当前待升级的其它程序之间的依赖关系,以升级次数最小化为准则从上述同一程序的多个可升级的版本确定一目标版本,基于该目标版本对上述同一程序进行升级。举例说明,当程序libxml存在2.5.0和2.6.0这两个可升级的版本时,遍历版程序libxml与当前待升级的其它程序之间的依赖关系,若遍历到升级程序Apache之前需要将libxml的版本升级到2.5.0或者更高版,而升级程序PHP之前需要将libxml的版本升级到2.6.0或者更高版,则以升级次数最小化为准则从上述同一程序的多个可升级的版本确定版本2.6.0作为libxml当前的目标版本,以兼顾PHP5.5.8和Apache软件的升级,之后基于版本2.6.0升级libxml。Further, during the upgrade process in step 103, potential upgrade conflicts can also be automatically discovered and resolved, so that the same program can be upgraded once at most. Specifically, the upgrade control method in the embodiment of the present invention also includes: when there are multiple upgradeable versions of the same program, traversing the dependencies between the same program and other programs currently to be upgraded, so as to minimize the number of upgrades A target version is determined from a plurality of upgradeable versions of the same program as a criterion, and the same program is upgraded based on the target version. For example, when there are two upgradeable versions of the program libxml, 2.5.0 and 2.6.0, the dependencies between the traversal version of the program libxml and other programs currently to be upgraded, if you traverse to the upgrade program Apache, you need to install libxml version to 2.5.0 or higher, and the version of libxml needs to be upgraded to 2.6.0 or higher before the upgrade program PHP, then use the minimum number of upgrades as a guideline to upgrade from multiple upgradeable versions of the same program above The version determines version 2.6.0 as the current target version of libxml to take into account the upgrade of PHP5.5.8 and Apache software, and then upgrade libxml based on version 2.6.0.
可选的,每个升级模板还包括:至少一个危险指数,其中,上述危险指数用以量化相应升级模板所包括的升级方案在至少一个应用系统中执行的潜在风险,上述危险指数与所述潜在风险成正相关,也即,上述危险指数越大,基于相应升级方案进行升级处理的现在风险越大。具体地,上述危害指数可以依据工程师的经验赋予,或者预先通过在虚拟机上进行升级实验后评估确定,或者上述危险指数也可由已知的统计模型(例如正态分布模型等)导出,此处不作限定。其中,同一升级模板在不同的应用系统中的危险指数可能不同。,不是本专利讨论的重点。在步骤103中,若查找到与上述系统信息匹配且与相同程序相关的两个以上升级模板,则根据上述两个以上升级模板中危险指数最低的升级模板对上述应用系统中的所述相同程序进行升级处理,也即,若查找到与上述系统信息匹配的两个以上升级模板,且这两个以上升级模板所包含的升级方案针对的程序是相同的,那么,从这两个以上升级模板中,选取危险指数最低的升级模板对上述应用系统中的程序进行升级处理。Optionally, each upgrade template further includes: at least one risk index, wherein the risk index is used to quantify the potential risk of the upgrade solution included in the corresponding upgrade template in at least one application system, and the risk index is related to the potential The risks are positively correlated, that is, the greater the above-mentioned risk index, the greater the current risk of upgrading based on the corresponding upgrading scheme. Specifically, the above-mentioned hazard index can be assigned based on the experience of the engineer, or determined in advance through the evaluation after the upgrade experiment on the virtual machine, or the above-mentioned hazard index can also be derived by a known statistical model (such as a normal distribution model, etc.), where Not limited. Wherein, the risk index of the same upgrade template in different application systems may be different. , is not the focus of this patent discussion. In step 103, if two or more upgrade templates matching the above-mentioned system information and related to the same program are found, the same program in the above-mentioned application system will be updated according to the upgrade template with the lowest risk index among the above-mentioned two or more upgrade templates. Perform upgrade processing, that is, if two or more upgrade templates that match the above system information are found, and the upgrade solutions contained in the two or more upgrade templates target the same program, then, from the two or more upgrade templates Among them, the upgrade template with the lowest risk index is selected to upgrade the programs in the above application system.
可选的,若查找到与上述系统信息匹配的升级模板,也可以输出查找到的升级模板和相应的危险指数,以便相关人员对查找到的升级模板进行筛选并确定是否基于查找到的升级模板进行升级处理,在接收到确定升级指令时,在该升级指令的指示下,基于查找到的升级模板或选定的升级模板进行升级处理。Optionally, if an upgrade template matching the above system information is found, the found upgrade template and the corresponding risk index can also be output, so that relevant personnel can filter the found upgrade template and determine whether it is based on the found upgrade template Perform upgrade processing. When receiving a confirmation upgrade instruction, perform upgrade processing based on the found upgrade template or the selected upgrade template under the instruction of the upgrade instruction.
进一步,若在步骤102查找不到与上述系统信息匹配的升级模板,则可以自动生成相应的升级模板并将生成的升级模板存储在上述模板数据库中,以便后续复用。具体地,本发明实施例中的升级控制方法还可以包括:确定上述应用系统中待升级的各个程序之间的依赖关系;根据上述应用系统中待升级的各个程序之间的依赖关系,生成与所述应用系统中待升级的程序相关的升级方案;以升级模板的形式存储生成的升级方案,以便后续调用存储的升级方案。Further, if no upgrade template matching the above system information is 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 dependencies among the programs to be upgraded in the above-mentioned application system; The upgrade plan related to the program to be upgraded in the application system; the generated upgrade plan is stored in the form of an upgrade template, so that the stored upgrade plan can be called later.
当然,在其它实施例中,当在步骤102查找不到与上述系统信息匹配的升级模板时,也可以输出提示信息,以提示相关人员介入处理。Of course, in other embodiments, when no upgrade template matching the above system information is found in step 102, prompt information may also be output to prompt relevant personnel to intervene in processing.
需要说明的是,本发明实施例中的升级控制方法可以由升级控制设备实现,该升级控制设备可以为独立的设备,也可以集成在诸如迁移管理设备(例如迁移管理服务器)中,此处不作限定。It should be noted that the upgrade control method in the embodiment of the present invention can be implemented by an upgrade control device, which can be an independent device, or can be integrated into a migration management device (such as a migration management server), which is not described here. limited.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present invention.
由上可见,本发明实施例中预先设定好与程序相关的升级方案,针对待迁移的应用系统,获取该应用系统的系统信息,基于该系统信息在预设的模板数据库中查找与该系统信息匹配的升级模板,当查找到与该系统信息匹配的升级模板时,根据查找到的升级模板对该应用系统中待升级的程序进行升级处理。本发明方案通过在模板数据库中预设升级模板,使得在应用系统需要迁移时,可以复用模板数据库中匹配的升级模板,而无需工程人员每次都依赖自身的经验对应用系统中的程序进行升级,在一定程度上能够提高应用系统迁移场景下的升级效率。It can be seen from the above that in the embodiment of the present invention, the upgrade plan related to the program is preset, and for the application system to be migrated, the system information of the application system is obtained, and the system information is searched in the preset template database based on the system information. An upgrade template matching the information. When an upgrade template matching the system information is found, the program to be upgraded in the application system is upgraded according to the found upgrade template. The solution of the present invention presets the upgrade template in the template database, so that when the application system needs to be migrated, the matching upgrade template in the template database can be reused, without the need for engineers to rely on their own experience to update the programs in the application system. Upgrade, to a certain extent, can improve the upgrade efficiency in the application system migration scenario.
下面以一具体应用场景,对一种应用于图1所示实施例中的升级控制方法的迁移控制系统进行描述。请参阅图2所示的迁移控制系统的系统架构,该升级系统包括:The following describes a migration control system applied to the upgrade control method in the embodiment shown in FIG. 1 in a specific application scenario. Please refer to the system architecture of the migration control system shown in Figure 2, the upgrade system includes:
云数据中心21、数据中心22、迁移管理服务器23、公用数据存储单元24和模板数据库25。Cloud data center 21 , data center 22 , migration management server 23 , public data storage unit 24 and template database 25 .
其中,云数据中心21可以由一个或多个虚拟服务器组成的云存储设备。对于需要将数据存储在企业设备以外环境的用户和需要更大容量存储空间的用户来说,云存储设备是最佳的存储途径。Wherein, the cloud data center 21 may be a cloud storage device composed of one or more virtual servers. For users who need to store data in an environment other than enterprise equipment and users who need larger storage space, cloud storage devices are the best storage method.
数据中心22为集中式的数据处理设备,对来自不同用户的不同类型的系统信息进行管理,数据中心22可以由多个服务器组成,包括万维网服务器、网络服务器、文件服务器、打印服务器。The data center 22 is a centralized data processing device, which manages different types of system information from different users. The data center 22 can be composed of multiple servers, including a web server, a network server, a file server, and a print server.
迁移管理服务器23包括但不限于:迁移引擎、管理服务器、Web服务器和其它可以用来传送和接受的设备。迁移引擎可以访问模板数据库25,以从中接收或获取所需要的模板(例如前述的升级模版),迁移引擎可实现图1所示实施例的升级控制方法。Migration management server 23 includes but not limited to: migration engine, management server, Web server and other devices that can be used for transmission and reception. The migration engine can access the template database 25 to receive or acquire required templates (such as the aforementioned upgrade templates), and the migration engine can implement the upgrade control method of the embodiment shown in FIG. 1 .
实施例二Embodiment two
本发明提供一种应用于应用系统迁移的升级控制设备。如图3所示,上述升级控制设备包括:The invention provides an upgrade control device applied to application system migration. As shown in Figure 3, the above-mentioned upgrade control equipment includes:
系统信息获取单元31,用于获取当前待迁移的应用系统的系统信息,其中,所述系统信息包括:用以指示所述应用系统中待升级的各个程序的信息;A system information acquiring unit 31, configured to acquire system information of the application system to be migrated currently, wherein the system information includes: information indicating each program to be upgraded in the application system;
查找单元32,用于基于系统信息获取单元31获取的所述系统信息,在预设的模板数据库中查找与所述系统信息匹配的升级模板,其中,所述模板数据库中存储两个以上升级模板,每个升级模板包括:与一个或两个以上程序相关的升级方案;The search unit 32 is configured to search for an upgrade template matching the system information in a preset template database based on the system information acquired by the system information acquisition unit 31, wherein more than two upgrade templates are stored in the template database , each upgrade template includes: an upgrade plan related to one or more than two programs;
执行单元33,用于当查找单元32查找到与所述系统信息匹配的升级模板时,根据所述升级模板对所述应用系统中待升级的程序进行升级处理。The execution unit 33 is configured to, when the search unit 32 finds an 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 the dependencies between programs to be upgraded, and the system information is represented graphically, and the upgrade template further includes: one or Dependencies between two or more programs;
查找单元32具体用于:基于图像相似度算法和所述系统信息获取单元获取的所述系统信息,在预设的模板数据库中查找与所述系统信息匹配的升级模板。The searching unit 32 is specifically configured to: based on the image similarity algorithm and the system information obtained by the system information obtaining unit, search for an upgrade template matching the system information in a preset template database.
进一步,查找单元32包括:分割单元,用于将表示所述系统信息的图形通过聚类算法分割为两个以上子图;子查找单元,用于针对每个子图,基于图像相似度算法在预设的模板数据库中查找与各个子图匹配的升级模板。Further, the search unit 32 includes: a segmentation unit, which is used to divide the graph representing the system information into two or more sub-graphs through a clustering algorithm; a sub-search unit, which is used for each sub-graph based on the image similarity algorithm in the preset Search for an upgrade template that matches each submap in the template database you set.
可选的,每个升级模板还包括:至少一个危险指数,其中,所述危险指数用以量化相应升级模板所包括的升级方案在至少一个应用系统中执行的潜在风险,所述危险指数与所述潜在风险成正相关。执行单元33还用于:当查找单元32查找到与所述系统信息匹配且与相同程序相关的两个以上升级模板时,根据所述两个以上升级模板中危险指数最低的升级模板对所述应用系统中的所述相同程序进行升级处理。Optionally, each upgrade template further includes: at least one risk index, wherein the risk index is used to quantify the potential risk of the upgrade solution included in the corresponding upgrade template being executed in at least one application system, and the risk index is related to the Positively related to the above potential risks. The execution unit 33 is further configured to: when the search unit 32 finds two or more upgrade templates that match the system information and are related to the same program, perform an update on the upgrade template according to the upgrade template with the lowest risk index among the two or more upgrade templates. The same procedure in the application system is used for upgrade processing.
可选的,本发明实施例中的升级控制设备还包括:确定单元,用于当查找单元32查找不到与所述系统信息匹配的升级模板时,确定所述应用系统中待升级的各个程序之间的依赖关系;生成单元,用于根据所述应用系统中待升级的各个程序之间的依赖关系,生成与所述应用系统中待升级的程序相关的升级方案;存储单元,用于以升级模板的形式存储生成的升级方案,以便后续调用存储的升级方案。Optionally, the upgrade control device in the embodiment of the present invention further includes: a determination unit, configured to determine each program to be upgraded in the application system when the search unit 32 cannot find an upgrade template matching the system information Dependencies among them; a generation unit, configured to generate an upgrade scheme related to programs to be upgraded in the application system according to dependencies among programs to be upgraded in the application system; a storage unit, used to The generated upgrade scheme is stored in the form of an upgrade template, so that the stored upgrade scheme can be invoked later.
需要说明的是,本发明实施例中的升级控制设备可以为独立的设备,也可以集成在诸如迁移管理设备(例如迁移管理服务器)中,此处不作限定。It should be noted that the upgrade control device in this embodiment of the present invention may be an independent device, or may be integrated into a migration management device (for example, a migration management server), which is not limited here.
应理解,本发明实施例中的升级控制设备可以用于实现上述方法实施例中的全部技术方案,其各个功能模块的功能可以根据上述方法实施例中的方法具体实现,其具体实现过程可参照上述实施例中的相关描述,此处不再赘述。It should be understood that the upgrade control device in the embodiment of the present invention can be used to implement all the technical solutions in the above method embodiments, and the functions of each functional module can be implemented according to the methods in the above method embodiments, and the specific implementation process can refer to Relevant descriptions in the foregoing embodiments will not be repeated here.
由上可见,本发明实施例中预先设定好与程序相关的升级方案,针对待迁移的应用系统,获取该应用系统的系统信息,基于该系统信息在预设的模板数据库中查找与该系统信息匹配的升级模板,当查找到与该系统信息匹配的升级模板时,根据查找到的升级模板对该应用系统中待升级的程序进行升级处理。本发明方案通过在模板数据库中预设升级模板,使得在应用系统需要迁移时,可以复用模板数据库中匹配的升级模板,而无需工程人员每次都依赖自身的经验对应用系统中的程序进行升级,在一定程度上能够提高应用系统迁移场景下的升级效率。It can be seen from the above that in the embodiment of the present invention, the upgrade plan related to the program is preset, and for the application system to be migrated, the system information of the application system is obtained, and the system information is searched in the preset template database based on the system information. An upgrade template matching the information. When an upgrade template matching the system information is found, the program to be upgraded in the application system is upgraded according to the found upgrade template. The solution of the present invention presets the upgrade template in the template database, so that when the application system needs to be migrated, the matching upgrade template in the template database can be reused, without the need for engineers to rely on their own experience to update the programs in the application system. Upgrade, to a certain extent, can improve the upgrade efficiency in the application system migration scenario.
实施例三Embodiment three
图4是本发明一实施例提供的应用于应用系统迁移的升级控制设备的示意图。如图4所示,该实施例的升级控制设备4包括:处理器40、存储器41以及存储在存储器41中并可在处理器40上运行的计算机程序42,例如升级控制程序。处理器40执行计算机程序42时实现上述各个方法实施例中的升级控制方法,例如图1所示的步骤101~103。或者,计算机程序42可以被分割成一个或多个模块/单元,上述一个或者多个模块/单元被存储在存储器41中,并由处理器40执行,以完成本发明。上述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述计算机程序42在升级控制设备4中的执行过程。例如,计算机程序42可以被分割成如图3所示的系统信息获取单元31、查找单元32和执行单元33,系统信息获取单元31、查找单元32和执行单元33的功能可以参照图3所示实施例中的描述,此处不再赘述。Fig. 4 is a schematic diagram of an upgrade control device applied to application system migration provided by an embodiment of the present invention. As shown in FIG. 4 , the upgrade control device 4 of this embodiment includes: a processor 40 , a memory 41 , and a computer program 42 stored in the memory 41 and operable on the processor 40 , such as an upgrade control program. When the processor 40 executes the computer program 42, the upgrade control method in each of the foregoing method embodiments is realized, for example, 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 implement the present invention. The above one or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 42 in the upgrade control device 4 . For example, the computer program 42 can be divided into a system information acquisition unit 31, a search unit 32, and an execution unit 33 as shown in FIG. The description in the embodiment will not be repeated here.
升级控制设备4可包括,但不仅限于处理器40、存储器41。本领域技术人员可以理解,图4仅仅是升级控制设备4的示例,并不构成对升级控制设备4的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如升级控制设备4还可以包括输入输出设备、网络接入设备、总线等。The upgrade control device 4 may include, but not limited to, a processor 40 and a memory 41 . Those skilled in the art can understand that FIG. 4 is only an example of the upgrade control device 4, and does not constitute a limitation to the upgrade control device 4. It may include more or less components than those shown in the figure, or combine certain components, or be different. The components, for example, the upgrade control device 4 may also include input and output devices, network access devices, buses, and so on.
所称处理器40可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called processor 40 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), Off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, and the like.
上述存储器41可以是升级控制设备4的内部存储单元,例如升级控制设备4的硬盘或内存。上述存储器41也可以是升级控制设备4的外部存储设备,例如升级控制设备4上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,上述存储器41还可以既包括升级控制设备4的内部存储单元也包括外部存储设备。存储器41用于存储上述计算机程序以及升级控制设备4所需的其他程序和数据。存储器41还可以用于暂时地存储已经输出或者将要输出的数据。The aforementioned storage 41 may be an internal storage unit of the upgrade control device 4 , such as a hard disk or memory of the upgrade control device 4 . Above-mentioned memory 41 also can be the external storage device of upgrade control device 4, for example the plug-in hard disk equipped on upgrade control device 4, smart memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash memory Card (Flash Card), etc. Further, the above-mentioned storage 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 can also be used to temporarily store data that has been output or will be output.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述设备的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Module completion means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, or each unit may exist separately physically, or two or more units may be integrated into one unit, and the above-mentioned integrated units may adopt hardware It can also be implemented in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the descriptions of each embodiment have their own emphases, and for parts that are not detailed or recorded in a certain embodiment, refer to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.
在本发明所提供的实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in the present invention, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括是电载波信号和电信信号。If the integrated module/unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention realizes all or part of the processes in the methods of the above embodiments, and can also be completed by instructing related hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer When the program is executed by the processor, the steps in the above-mentioned various method embodiments can be realized. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, computer-readable media Excluding electrical carrier signals and telecommunication signals.
以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still carry out the foregoing embodiments Modifications to the technical solutions recorded in the examples, or equivalent replacement of some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should be included in within the protection scope of the present invention.
Claims (10)
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 true CN107256167A (en) | 2017-10-17 |
| CN107256167B 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) |
Cited By (4)
| 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 |
| CN111124321A (en) * | 2019-11-04 | 2020-05-08 | 深圳市金城保密技术有限公司 | Debugging method and system of laser printer |
| CN119225770A (en) * | 2024-12-03 | 2024-12-31 | 浙江大华技术股份有限公司 | System upgrade method, device and storage medium |
Citations (6)
| 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 Changes 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 |
| US20170060628A1 (en) * | 2015-08-28 | 2017-03-02 | Vmware, Inc. | Virtual machine migration within a hybrid cloud system |
-
2017
- 2017-05-27 CN CN201710392147.3A patent/CN107256167B/en active Active
Patent Citations (6)
| 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 Changes 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 |
| US20170060628A1 (en) * | 2015-08-28 | 2017-03-02 | Vmware, Inc. | Virtual machine migration within a hybrid cloud system |
Cited By (4)
| 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 |
| CN111124321A (en) * | 2019-11-04 | 2020-05-08 | 深圳市金城保密技术有限公司 | Debugging method and system of laser printer |
| CN119225770A (en) * | 2024-12-03 | 2024-12-31 | 浙江大华技术股份有限公司 | System upgrade method, device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN107256167B (en) | 2020-07-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20250021884A1 (en) | Machine learning service | |
| US9886670B2 (en) | Feature processing recipes for machine learning | |
| US9811543B2 (en) | Systems and methods for generating schemas that represent multiple data sources | |
| US20200034742A1 (en) | Consistent filtering of machine learning data | |
| US8429645B2 (en) | Method for optimizing migration of software applications to address needs | |
| US9361092B1 (en) | Recommending upgrade actions during migration | |
| US20150220331A1 (en) | Resolving merge conflicts that prevent blocks of program code from properly being merged | |
| US20190188049A1 (en) | Apparatus and method to select services for executing a user program based on a code pattern included therein | |
| US20170090892A1 (en) | Systems and methods for dynamically replacing code objects for code pushdown | |
| US10025630B2 (en) | Operating programs on a computer cluster | |
| CN107256167B (en) | Upgrade control method and upgrade control equipment applied to application system migration | |
| US10013242B2 (en) | Distributed compilation of statically typed languages | |
| US9851944B2 (en) | Operation search method and operation search apparatus | |
| CN108762898B (en) | Thread interface management method, terminal equipment and computer readable storage medium | |
| US9716625B2 (en) | Identifying compatible system configurations | |
| US20140207754A1 (en) | Gathering Index Statistics Using Sampling | |
| US20180285146A1 (en) | Workflow handling in a multi-tenant cloud environment | |
| CN109165175B (en) | Device identification generation method and device | |
| US11308069B2 (en) | Data configuration, management, and testing | |
| WO2022012327A1 (en) | Code analysis method and system, and computing device | |
| CN111143390A (en) | Method and device for updating metadata | |
| CN106201591A (en) | The configuration file upgrade method of a kind of cloud management platform and device | |
| US11061905B2 (en) | Job management in data processing system | |
| CN110069455B (en) | A file merging method and device | |
| CN118760844A (en) | Automatic optimization method, device, equipment and storage medium of intelligent computing platform based on AutoEdge |
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 |