IP Library Granted Patent US 10,678,532
Granted Patent B2
US 10,678,532 · App. 16/395,990 · Granted Jun 9, 2020

Method and apparatus for upgrading application

Inventors: Wenqi Ma (Hangzhou, CN); Lei Cheng (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
G06F8/65G06F8/656G06F9/45504G06F9/485
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,678,532
App. No.
16/395,990
Granted
Jun 9, 2020
Kind
B2
Abstract

A name of a submitted application is obtained. A determination is made that the name of the submitted application is same as a name of an existing application. In response to determining that the name of the submitted application is same as the name of the existing application: a predetermined disable command is triggered, where the predetermined disable command invokes an end function for each node in the existing application; for each particular node in the existing application, a particular process occupied by the particular node in the existing application is recycled when receiving execution completion information from the existing application; and a predetermined start command is triggered when the recycling is completed, where the predetermined start command starts a process for each node in the submitted application.

Claims (39)

1. A computer-implemented method, comprising:

obtaining a name of a submitted application;

determining that the name of the submitted application is same as a name of an existing application;

in response to determining that the name of the submitted application is same as the name of the existing application, determining that a user submitted upgrade command for the existing application is received; and

in response to determining that the user submitted upgrade command for the existing application is received:

triggering a predetermined disable command, wherein the predetermined disable command invokes an end function for each node in the existing application;

for each particular node in the existing application, recycling a particular process occupied by the particular node in the existing application when receiving execution completion information from the existing application, wherein the execution completion information indicates that unprocessed data in the existing application has been processed;

triggering a predetermined start command when the recycling is completed, wherein the predetermined start command starts a process for each node in the submitted application, and wherein the existing application is disabled when the recycling is completed; and

wherein the obtaining, determining, triggering the predetermined disable command, recycling, and triggering the predetermined start command are automatically performed by a topology manager (TM) of a device.

2. The computer-implemented method of claim 1 , wherein the submitted application is an application to be upgraded, and the existing application is an application that is currently running.

3. The computer-implemented method of claim 1 , wherein the process for each node in the submitted application includes a JAVA Virtual Machine (JVM) process.

4. The computer-implemented method of claim 1 , wherein the particular process occupied by the particular node in the existing application includes a JVM process.

5. The computer-implemented method of claim 1 , wherein the TM allows a user of the device to submit an application for upgrade, and the application for upgrade has a same name as an application currently running on the device.

6. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:

obtaining a name of a submitted application;

determining that the name of the submitted application is same as a name of an existing application;

in response to determining that the name of the submitted application is same as the name of the existing application, determining that a user submitted upgrade command for the existing application is received; and

in response to determining that the user submitted upgrade command for the existing application is received:

triggering a predetermined disable command, wherein the predetermined disable command invokes an end function for each node in the existing application;

for each particular node in the existing application, recycling a particular process occupied by the particular node in the existing application when receiving execution completion information from the existing application, wherein the execution completion information indicates that unprocessed data in the existing application has been processed;

triggering a predetermined start command when the recycling is completed, wherein the predetermined start command starts a process for each node in the submitted application, and wherein the existing application is disabled when the recycling is completed, and

wherein the obtaining, determining, triggering the predetermined disable command, recycling, and triggering the predetermined start command are automatically performed by a topology manager (TM) of a device.

7. The non-transitory, computer-readable medium of claim 6 , wherein the submitted application is an application to be upgraded, and the existing application is an application that is currently running.

8. The non-transitory, computer-readable medium of claim 6 , wherein the process for each node in the submitted application includes a JAVA Virtual Machine (JVM) process.

9. The non-transitory, computer-readable medium of claim 6 , wherein the particular process occupied by the particular node in the existing application includes a JVM process.

10. The non-transitory, computer-readable medium of claim 6 , wherein the TM allows a user of the device to submit an application for upgrade, and the application for upgrade has a same name as an application currently running on the device.

11. A computer-implemented system, comprising: one or more computers; and one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations comprising:

obtaining a name of a submitted application;

determining that the name of the submitted application is same as a name of an existing application;

in response to determining that the name of the submitted application is same as the name of the existing application, determining that a user submitted upgrade command for the existing application is received; and

in response to determining that the user submitted upgrade command for the existing application is received:

triggering a predetermined disable command, wherein the predetermined disable command invokes an end function for each node in the existing application;

for each particular node in the existing application, recycling a particular process occupied by the particular node in the existing application when receiving execution completion information from the existing application, wherein the execution completion information indicates that unprocessed data in the existing application has been processed;

triggering a predetermined start command when the recycling is completed, wherein the predetermined start command starts a process for each node in the submitted application, and wherein the existing application is disabled when the recycling is completed; and

wherein the obtaining, determining, triggering the predetermined disable command, recycling, and triggering the predetermined start command are automatically performed by a topology manager (TM) of a device.

12. The computer-implemented system of claim 11 , wherein the submitted application is an application to be upgraded, and the existing application is an application that is currently running.

13. The computer-implemented system of claim 11 , wherein the process for each node in the submitted application includes a JAVA Virtual Machine (JVM) process.

14. The computer-implemented system of claim 11 , wherein the particular process occupied by the particular node in the existing application includes a JVM process.

15. The computer-implemented system of claim 11 , wherein: the TM allows a user of the device to submit an application for upgrade, and the application for upgrade has a same name as an application currently running on the device.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 10, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053754/0625 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053743/0464 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 11, 2019
From: MA, WENQI; CHENG, LEI
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 050969/0446 →
Priority Claims (1)
CN 2016 1 0974024 · Oct 28, 2016 · national
Continuity (2)
Continuation PCTCN2017106672 · Oct 18, 2017
Related Publication 20190250904A1 · Aug 15, 2019