Application upgrade method and apparatus
First Claim
1. A system for upgrading a deployed application, comprising:
- a user equipment configured to send an application deployment request to the application deployment server, wherein the application deployment request comprises;
a node template of a to-be-deployed application;
a deployed application identifier of the deployed application to be upgraded by the to-be-deployed application;
a node template identifier of a node template of the deployed application;
a first platform node template identifier of a first platform node template; and
a version requirement of the first platform node template required by the node template of the to-be-deployed application; and
an application deployment server configured to;
receive the application deployment request from the user equipment;
acquire, according to the deployed application identifier, a first platform node identifier of a first platform node corresponding to the first platform node template identifier and acquire a version of the first platform node indicated by the first platform node identifier;
wherein the to-be-deployed application runs based on a capability provided by the first platform node, and wherein the first platform node is deployed according to the first platform node template prior to the to-be-deployed application;
determine that the version of the first platform node is below the version requirement of the first platform node template;
acquire a first platform node upgrade package that meets the version requirement, wherein the first platform node upgrade package is acquired according to the version requirement of the first platform node template required by the node template of the to-be-deployed application;
upgrade the first platform node indicated by the first platform node identifier using the first platform node upgrade package;
determine an identifier of a to-be-upgraded application node; and
upgrade the application node after the first platform node is upgraded, wherein the application node is indicated by the identifier of the to-be-upgraded application node.
0 Assignments
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
12 Claims
-
1. A system for upgrading a deployed application, comprising:
-
a user equipment configured to send an application deployment request to the application deployment server, wherein the application deployment request comprises; a node template of a to-be-deployed application; a deployed application identifier of the deployed application to be upgraded by the to-be-deployed application; a node template identifier of a node template of the deployed application; a first platform node template identifier of a first platform node template; and a version requirement of the first platform node template required by the node template of the to-be-deployed application; and an application deployment server configured to; receive the application deployment request from the user equipment; acquire, according to the deployed application identifier, a first platform node identifier of a first platform node corresponding to the first platform node template identifier and acquire a version of the first platform node indicated by the first platform node identifier;
wherein the to-be-deployed application runs based on a capability provided by the first platform node, and wherein the first platform node is deployed according to the first platform node template prior to the to-be-deployed application;determine that the version of the first platform node is below the version requirement of the first platform node template; acquire a first platform node upgrade package that meets the version requirement, wherein the first platform node upgrade package is acquired according to the version requirement of the first platform node template required by the node template of the to-be-deployed application; upgrade the first platform node indicated by the first platform node identifier using the first platform node upgrade package; determine an identifier of a to-be-upgraded application node; and upgrade the application node after the first platform node is upgraded, wherein the application node is indicated by the identifier of the to-be-upgraded application node. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A non-transitory computer-readable media storing computer instructions for upgrading an application, that when executed by one or more processors, cause the one or more processors to perform the steps of:
-
receiving an application deployment request, with the application deployment request comprising; a node template of the to-be-deployed application; a deployed application identifier of a deployed application to be upgraded by the to-be-deployed application; a node template identifier of a node template of the deployed application; a first platform node template identifier of a first platform node template; and a version requirement of the first platform node template required by the node template of the to-be-deployed application; acquiring, according to the deployed application identifier, a first platform node identifier of a first platform node corresponding to the first platform node template identifier and acquiring a version of the first platform node indicated by the first platform node identifier;
wherein the to-be-deployed application runs based on a capability provided by the first platform node, and wherein the first platform node is deployed according to the first platform node template prior to the to-be-deployed application;determining that the version of the first platform node is below the version requirement of the first platform node template; acquiring a first platform node upgrade package that meets the version requirement, wherein the first platform node upgrade package is acquired according to the version requirement of the first platform node template required by the node template of the to-be-deployed application; upgrading the first platform node indicated by the first platform node identifier using the first platform node upgrade package; determining an identifier of a to-be-upgraded application node; and upgrading the application node after the first platform node is upgraded, wherein the application node is indicated by the identifier of the to-be-upgraded application node, and wherein the application node is upgraded using the deployment package carried in the application deployment request of the to-be-deployed application. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification