IP Library Granted Patent US 10,503,490
Granted Patent B2
US 10,503,490 · App. 16/174,630 · Granted Dec 10, 2019

Mobile application processing

Inventors: Chao Xi (Beijing, CN); Yue Zhang (Beijing, CN); Huan Zeng (Beijing, CN)
Assignee: Alibaba Group Holding Limited
G06F8/65G06F8/61G06F9/44526
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,503,490
App. No.
16/174,630
Granted
Dec 10, 2019
Kind
B2
Abstract

Embodiments of the present application relate to a method, apparatus, and system for processing an app. The method includes obtaining a plugin identifier, obtaining an app plugin installation package from a server, wherein the app plugin installation package is associated with the plugin identifier, installing the app plugin installation package, obtaining an app plugin lookup instruction associated with an app plugin, and determining the app plugin according to the app plugin lookup instruction, wherein the app plugin implements a specific function of a corresponding app in response to the app plugin being invoked.

Claims (53)

1. A method, comprising:

obtaining, by one or more processors, a plugin identifier, wherein the plugin identifier is associated with one or more functions of an application (app); and

configuring, by the one or more processors, the app based at least in part on at least one function that is to be performed, the at least one function being comprised in the one or more functions of the app, the app being configured using at least an app plugin, and the configuring the app comprising:

determining, by the one or more processors, that the app plugin is to be used in connection with performing the at least one function, the determining that the app plugin is to be used in connection with performing the at least one function based at least in part on the plugin identifier corresponding to the app plugin, and the at least one function; and

in response to determining the app plugin is to be used in connection with performing the at least one function, loading, by the one or more processors, the app plugin into an app configuration file before the app plugin is invoked, wherein loading the app plugin into the app configuration file comprises determining an app identifier corresponding to the app, and determining the app plugin based at least in part on the app identifier and a mapping of plugin identifiers to app identifiers, and the app plugin implements the at least one function of the app.

2. The method of claim 1 , wherein the one or more functions of the app implemented by the app plugin correspond to a subset of all functions of the app.

3. The method of claim 1 , further comprising:

obtaining, by the one or more processors, the app plugin installation package from a server, wherein the app plugin installation package is associated with the plugin identifier and the app plugin; and

installing, by the one or more processors, the app plugin installation package.

4. The method of claim 3 , wherein the installing of the app plugin installation package comprises determining whether the app plugin installation package is compatible with a local operating system.

5. The method of claim 4 , wherein the app plugin installation is determined to be compatible with the local operating system based at least in part on an interface identifier associated with the app plugin installation package, the interface identifier indicating a compatibility of the app plugin installation package with a compatible operating system.

6. The method of claim 1 , further comprising,

in response to a determination that at least one function of the one or more functions is to be performed, generating, by the one or more processors, the app plugin lookup instruction based at least in part on the at least one function to be performed,

wherein the determining that the app plugin is to be used in connection with performing the at least one function is based at least in part on the app plugin lookup instruction.

7. The method of claim 6 , wherein the determining of the app plugin comprises:

determining an app identifier based at least in part on the app plugin lookup instruction, and using the app identifier to locate, from among locally installed app plugins, the app plugin associated with the plugin identifier that matches the app identifier.

8. The method of claim 7 , wherein, in response to a determination that two or more app plugins are determined, executing the app plugin, comprising:

allocating an identical process identifier to at least two of the determined app plugins; and

running at least two of the determined app plugins, wherein one of the app plugins which has been allocated the identical process identifier has access to a resource of one or more other app plugins which have been allocated the identical process identifier.

9. The method of claim 1 , further comprising: determining that the at least one function is to be performed in response to a request to execute the app.

10. The method of claim 1 , wherein the app plugin implements a subset of functions of the app.

11. The method of claim 1 , further comprising one or more of:

executing the app plugin;

updating the app plugin; or

deleting the app plugin.

12. The method of claim 1 , wherein the app configuration file is associated with the app.

13. The method of claim 1 , wherein the installing of the app plugin installation package further comprises:

in response to a determination that the app plugin installation package is compatible with a local operating system, running the app plugin installation package.

14. The method of claim 1 , wherein the obtaining of the plugin identifier comprises:

displaying at least one plugin identifier sent by the server;

receiving a plugin identifier selection instruction;

selecting the plugin identifier in accordance with the plugin identifier selection instruction; and

sending the selected plugin identifier to the server.

15. The method of claim 1 , wherein the obtaining the plugin identifier comprises:

displaying plugin descriptive information corresponding to at least one app plugin sent by the server;

receiving a plugin selection instruction; and

sending the plugin identifier to the server.

16. The method of claim 1 , further comprising:

sending a function call request to the app plugin; and

receiving a function call result sent back by the app plugin.

17. The method of claim 16 , wherein the function call request is sent via a first interface to the app plugin and the function call result sent back from the app plugin is received via a second interface.

18. A device, comprising:

at least one processor configured to:

obtain a plugin identifier, wherein the plugin identifier is associated with one or more functions of an application (app); and

configure the app based at least in part on at least one function that is to be performed, the at least one function being comprised in the one or more functions of the app, the app being configured using at least an app plugin, and to configure the app comprising:

determine that the app plugin is to be used in connection with performing the at least one function, the determining that the app plugin is to be used in connection with performing the at least one function based at least in part on the plugin identifier corresponding to the app plugin, and the at least one function; and

in response to determining that the app plugin is to be used in connection with performing the at least one function, load the app plugin into an app configuration file before the app plugin is invoked, wherein loading the app plugin into the app configuration file comprises determine an app identifier corresponding to the app, and determining the app plugin based at least in part on the app identifier and a mapping of plugin identifiers to app identifiers, and the app plugin implements the at least one function of the app; and

a memory coupled to the at least one processor and configured to provide the at least one processor with instructions.

19. A computer program product, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:

obtaining, by one or more processors, a plugin identifier, wherein the plugin identifier is associated with one or more functions of an application (app); and

configuring, by the one or more processors, the app based at least in part on at least one function that is to be performed, the at least one function being comprised in the one or more functions of the app, the app being configured using at least an app plugin, and the configuring the app comprising:

determining, by the one or more processors, that the app plugin is to be used in connection with performing the at least one function, the determining that the app plugin is to be used in connection with performing the at least one function based at least in part on the plugin identifier corresponding to the app plugin, and the at least one function; and

in response to determining the app plugin is to be used in connection with performing the at least one function, loading, by the one or more processors, the app plugin into an app configuration file before the app plugin is invoked, wherein loading the app plugin into the app configuration file comprises determining an app identifier corresponding to the app, and determining the app plugin based at least in part on the app identifier and a mapping of plugin identifiers to app identifiers, and the app plugin implements the at least one function of the app.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 11, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: BANMA ZHIXING NETWORK (HONGKONG) CO., LIMITED
Reel/Frame 054384/0014 →
Priority Claims (1)
CN 2014 1 0399979 · Aug 14, 2014 · national
Continuity (3)
Continuation 15385703 · Dec 20, 2016
Continuation 14823160 · Aug 11, 2015
Related Publication 20190065173A1 · Feb 28, 2019