APPLICATION UPGRADE METHOD AND APPARATUS
First Claim
1. An application upgrade method, comprising:
- receiving an application deployment request, wherein the application deployment request comprises a deployment package of a to-be-deployed application, wherein the deployment package of the to-be-deployed application describes a node template of the to-be-deployed application, an identifier of a deployed application, an identifier of a node template of the deployed application, an identifier of a first platform node template, a version requirement of the node template of the to-be-deployed application for the first platform node template, and an upgrade identifier indicating that the node template of the to-be-deployed application is used to upgrade the node template of the deployed application indicated by the identifier of the node template of the deployed application;
determining, according to the upgrade identifier, that the deployment package of the to-be-deployed application is an upgrade package of the deployed application indicated by the identifier of the deployed application;
acquiring, according to the identifier of the deployed application, an identifier that is of a first platform node and corresponding to the identifier of the first platform node template, and acquiring a version of the first platform node indicated by the identifier of the first platform node;
determining, according to the version of the first platform node, that the version of the first platform node is below the version requirement of the node template of the to-be-deployed application for the first platform node template;
acquiring, according to the version requirement of the node template of the to-be-deployed application for the first platform node template, a first platform node upgrade package that meets the version requirement of the node template of the to-be-deployed application for the first platform node template;
upgrading the first platform node indicated by the identifier of the first platform node by using the first platform node upgrade package;
determining an identifier of a to-be-upgraded application node; and
upgrading the application node indicated by the identifier of the to-be-upgraded application node by using the deployment package of the to-be-deployed application.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide an application upgrade method and an apparatus. The application upgrade method includes: receiving an application deployment request; determining a deployment package of a to-be-deployed application; determining that a version of a first platform node is below a version requirement of a node template of the to-be-deployment application for a first platform node template; acquiring a first platform node upgrade package that meets the version requirement of the node template of the to-be-deployed application for the first platform node template; upgrading the first platform node indicated by an identifier of the first platform node by using the first platform node upgrade package; determining an identifier of a to-be-upgraded application node; and upgrading the application node indicated by the identifier of the to-be-upgraded application node by using the deployment package of the to-be-deployed application.
-
Citations
16 Claims
-
1. An application upgrade method, comprising:
-
receiving an application deployment request, wherein the application deployment request comprises a deployment package of a to-be-deployed application, wherein the deployment package of the to-be-deployed application describes a node template of the to-be-deployed application, an identifier of a deployed application, an identifier of a node template of the deployed application, an identifier of a first platform node template, a version requirement of the node template of the to-be-deployed application for the first platform node template, and an upgrade identifier indicating that the node template of the to-be-deployed application is used to upgrade the node template of the deployed application indicated by the identifier of the node template of the deployed application; determining, according to the upgrade identifier, that the deployment package of the to-be-deployed application is an upgrade package of the deployed application indicated by the identifier of the deployed application; acquiring, according to the identifier of the deployed application, an identifier that is of a first platform node and corresponding to the identifier of the first platform node template, and acquiring a version of the first platform node indicated by the identifier of the first platform node; determining, according to the version of the first platform node, that the version of the first platform node is below the version requirement of the node template of the to-be-deployed application for the first platform node template; acquiring, according to the version requirement of the node template of the to-be-deployed application for the first platform node template, a first platform node upgrade package that meets the version requirement of the node template of the to-be-deployed application for the first platform node template; upgrading the first platform node indicated by the identifier of the first platform node by using the first platform node upgrade package; determining an identifier of a to-be-upgraded application node; and upgrading the application node indicated by the identifier of the to-be-upgraded application node by using the deployment package of the to-be-deployed application. - View Dependent Claims (2, 3, 4)
-
-
5. An application upgrade method, comprising:
-
generating a deployment package of a to-be-deployed application, wherein the deployment package of the to-be-deployed application describes a node template of the to-be-deployed application, an identifier of a deployed application, an identifier of a first platform node template, an identifier of a node template of the deployed application, a version requirement of the node template of the to-be-deployed application for the first platform node template, and an upgrade identifier indicating that the node template of the to-be-deployed application is used to upgrade the node template of the deployed application indicated by the identifier of the node template of the deployed application; generating an application deployment request, wherein the application deployment request comprises the deployment package of the to-be-deployed application; and sending the application deployment request to an application deployment server. - View Dependent Claims (6, 7, 8)
-
-
9. An application deployment server, comprising:
-
a receiver, configured to receive an application deployment request, wherein the application deployment request comprises a deployment package of a to-be-deployed application, wherein the deployment package of the to-be-deployed application describes a node template of the to-be-deployed application, an identifier of a deployed application, an identifier of a node template of the deployed application, an identifier of a first platform node template, a version requirement of the node template of the to-be-deployed application for the first platform node template, and an upgrade identifier indicating that the node template of the to-be-deployed application is used to upgrade the node template of the deployed application indicated by the identifier of the node template of the deployed application; and
send the deployment package of the to-be-deployed application to a processor; andthe processor, configured to; receive the deployment package of the to-be-deployed application sent by the receiver, and determine, according to the upgrade identifier, that the deployment package of the to-be-deployed application is an upgrade package of the deployed application indicated by the identifier of the deployed application; acquire, according to the identifier of the deployed application, an identifier that is of a first platform node and corresponding to the identifier of the first platform node template, and acquire a version of the first platform node indicated by the identifier of the first platform node; determine, according to the version of the first platform node, that the version of the first platform node is below the version requirement of the node template of the to-be-deployed application for the first platform node template; acquire, according to the version requirement of the node template of to-be-deployed application for the first platform node template, a first platform node upgrade package that meets the version requirement of the node template of the to-be-deployed application for the first platform node template; upgrade the first platform node indicated by the identifier of the first platform node template by using the first platform node upgrade package; determine an identifier of a to-be-upgraded application node; and upgrade the application node indicated by the identifier of the to-be-upgraded application node by using the deployment package of the to-be-deployed application. - View Dependent Claims (10, 11, 12)
-
-
13. A user equipment, comprising:
-
a processor, configured to;
generate a deployment package of a to-be-deployed application, wherein the deployment package of the to-be-deployed application describes a node template of the to-be-deployed application, an identifier of a deployed application, an identifier of a first platform node template, an identifier of a node template of the deployed application, a version requirement of the node template of the to-be-deployed application for the first platform node template, and an upgrade identifier indicating that the node template of the to-be-deployed application is used to upgrade the node template of the deployed application indicated by the identifier of the node template of the deployed application;generate an application deployment request, wherein the application deployment request comprises the deployment package of the to-be-deployed application; and send the application deployment request to a transmitter; and the transmitter, configured to receive the application deployment request sent by the processor, and send the application deployment request to an application deployment server. - View Dependent Claims (14, 15, 16)
-
Specification