IP Library Granted Patent US 11,210,365
Granted Patent B2
US 11,210,365 · App. 16/722,211 · Granted Dec 28, 2021

Method and system for starting application

Inventor: Mingbo Shao (Hangzhou, CN)
Assignee: Advanced New Technologies Co., Ltd.
G06F16/972G06F16/00G06F16/9566
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 11,210,365
App. No.
16/722,211
Granted
Dec 28, 2021
Kind
B2
Abstract

A first local application (APP) opens a web page. The first local APP wakes a second local APP. The second local APP starts a local server. The first local APP sends a reference request to the local server. If a response returned by the local server is received, the first local APP stops a jump to a directed download page.

Claims (82)

1. A computer-implemented method, comprising:

opening, by a first local application (APP) installed on a local device, a web page;

invoking, by the first local APP, a second local APP, wherein the first local APP is configured to jump to a directed download page to download the second local APP if the second local APP is not installed on the local device;

determining, by the first local APP, that the second local APP is installed on the local device, comprising:

sending, by the first local APP executing on the local device, a reference request to a local server executing on the local device, wherein the local server is started by the second local APP if and only if the second local APP has been installed on the local device, wherein the local server is configured to respond to the reference request sent by the first local APP, wherein the reference request sent by the first local APP comprises a port number, wherein the port number is pre-negotiated by the first local APP with the local server;

receiving, by the first local APP, a response sent by the local server;

determining, by the first local APP, whether the response sent by the local server is received within a predetermined response time period; and

in response to determining that the response sent by the local server is received within the predetermined response time period, determining, by the first local APP, that the second local APP is installed on the local device; and

in response, bypassing, by the first local APP, a jump to the directed download page to download the second local APP.

2. The computer-implemented method of claim 1 , wherein opening, by the first local APP, the web page comprises:

determining that a link address of the web page is triggered and opened; and

in response, opening the web page, wherein the first local APP comprises a browser APP or a local APP that integrates a WebView component.

3. The computer-implemented method of claim 1 , wherein opening, by the first local APP, the web page comprises:

determining that a link address of the web page is triggered and opened; and

in response, combining, by the first local APP, parameters comprising an address of the web page into a uniform resource identifier (URI); and

wherein invoking, by the first local APP, the second local APP comprises:

invoking the second local APP corresponding to the URI.

4. The computer-implemented method of claim 1 , wherein:

the reference request is implemented in an interpreted scripting language; and

sending, by the first local APP, the reference request to the local server comprises sending the reference request to the local server through JavaScript Object Notation (JSON) with Padding (JSONP).

5. The computer-implemented method of claim 1 , wherein the sending, by the first local APP, the reference request to the local server comprises:

sending, by the first local APP to the local server, the reference request that is raised by dynamically adding a <script> tag to the web page and that comprises an address of the local server, wherein the reference request is implemented in an interpreted scripting language.

6. The computer-implemented method of claim 1 , further comprising:

setting, by the second local APP, the port number to a first port number in a group of pre-negotiated port numbers, wherein the reference request sent by the first local APP comprises the first port number in the group of pre-negotiated port numbers.

7. The computer-implemented method of claim 6 , further comprising:

setting, by the second local APP, the port number to a second port number in the group of pre-negotiated port numbers if the first port number that is set has been occupied;

sending, by the first local APP, the reference request by using the first port number; and

sending, by the first local APP, the reference request by using the second port number in the group of pre-negotiated port numbers if the first local APP does not receive, in the predetermined response time period, the response returned by the local server.

8. The computer-implemented method of claim 1 , further comprising:

in response to determining that the response sent by the local server is not received in the predetermined response time period, jumping, by the first local APP, to the directed download page.

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

opening, by a first local application (APP) installed on a local device, a web page;

invoking, by the first local APP, a second local APP, wherein the first local APP is configured to jump to a directed download page to download the second local APP if the second local APP is not installed on the local device;

determining, by the first local APP, that the second local APP is installed on the local device, comprising:

sending, by the first local APP executing on the local device, a reference request to a local server executing on the local device, wherein the local server is started by the second local APP if and only if the second local APP has been installed on the local device, wherein the local server is configured to respond to the reference request sent by the first local APP, wherein the reference request sent by the first local APP comprises a port number, wherein the port number is pre-negotiated by the first local APP with the local server;

receiving, by the first local APP, a response sent by the local server;

determining, by the first local APP, whether the response sent by the local server is received within a predetermined response time period; and

in response to determining that the response sent by the local server is received within the predetermined response time period, determining, by the first local APP, that the second local APP is installed on the local device; and

in response, bypassing, by the first local APP, a jump to the directed download page to download the second local APP.

10. The non-transitory, computer-readable medium of claim 9 , wherein opening, by the first local APP, the web page comprises:

determining that a link address of the web page is triggered and opened; and

in response, opening the web page, wherein the first local APP comprises a browser APP or a local APP that integrates a WebView component.

11. The non-transitory, computer-readable medium of claim 9 , wherein opening, by the first local APP, the web page comprises:

determining that a link address of the web page is triggered and opened; and

in response, combining, by the first local APP, parameters comprising an address of the web page into a uniform resource identifier (URI); and

wherein invoking, by the first local APP, the second local APP comprises:

invoking the second local APP corresponding to the URI.

12. The non-transitory, computer-readable medium of claim 9 , wherein:

the reference request is implemented in an interpreted scripting language; and

sending, by the first local APP, the reference request to the local server comprises sending the reference request to the local server through JavaScript Object Notation (JSON) with Padding (JSONP).

13. The non-transitory, computer-readable medium of claim 9 , wherein the sending, by the first local APP, the reference request to the local server comprises:

sending, by the first local APP to the local server, the reference request that is raised by dynamically adding a <script> tag to the web page and that comprises an address of the local server, wherein the reference request is implemented in an interpreted scripting language.

14. The non-transitory, computer-readable medium of claim 9 , the operations further comprise:

setting, by the second local APP, the port number to a first port number in a group of pre-negotiated port numbers, wherein the reference request sent by the first local APP comprises the first port number in the group of pre-negotiated port numbers.

15. The non-transitory, computer-readable medium of claim 14 , the operations further comprise:

setting, by the second local APP, the port number to a second port number in the group of pre-negotiated port numbers if the first port number that is set has been occupied;

sending, by the first local APP, the reference request by using the first port number; and

sending, by the first local APP, the reference request by using the second port number in the group of pre-negotiated port numbers if the first local APP does not receive, in the predetermined response time period, the response returned by the local server.

16. The non-transitory, computer-readable medium of claim 9 , the operations further comprise:

in response to determining that the response sent by the local server is not received in the predetermined response time period, jumping, by the first local APP, to the directed download page.

17. 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:

opening, by a first local application (APP) installed on a local device, a web page;

invoking, by the first local APP, a second local APP, wherein the first local APP is configured to jump to a directed download page to download the second local APP if the second local APP is not installed on the local device;

determining, by the first local APP, that the second local APP is installed on the local device, comprising:

sending, by the first local APP executing on the local device, a reference request to a local server executing on the local device, wherein the local server is started by the second local APP if and only if the second local APP has been installed on the local device, wherein the local server is configured to respond to the reference request sent by the first local APP, wherein the reference request sent by the first local APP comprises a port number, wherein the port number is pre-negotiated by the first local APP with the local server;

receiving, by the first local APP, a response sent by the local server;

determining, by the first local APP, whether the response sent by the local server is received within a predetermined response time period; and

in response to determining that the response sent by the local server is received within the predetermined response time period, determining, by the first local APP, that the second local APP is installed on the local device; and

in response, bypassing, by the first local APP, a jump to the directed download page to download the second local APP.

18. The computer-implemented system of claim 17 , wherein opening, by the first local APP, the web page comprises:

determining that a link address of the web page is triggered and opened; and

in response, opening the web page, wherein the first local APP comprises a browser APP or a local APP that integrates a WebView component.

19. The computer-implemented system of claim 17 , wherein opening, by the first local APP, the web page comprises:

determining that a link address of the web page is triggered and opened; and

in response, combining, by the first local APP, parameters comprising an address of the web page into a uniform resource identifier (URI); and

wherein invoking, by the first local APP, the second local APP comprises:

invoking the second local APP corresponding to the URI.

20. The computer-implemented system of claim 17 , wherein:

the reference request is implemented in an interpreted scripting language; and

sending, by the first local APP, the reference request to the local server comprises sending the reference request to the local server through JavaScript Object Notation (JSON) with Padding (JSONP).

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 Jan 27, 2020
From: SHAO, MINGBO
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 051634/0441 →