# US 2019/0095541 A1 · Method and system for starting application

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0095541 A1
- Document ID: US20190095541A1
- Status: Published application
- Kind: A1
- Application number: 16/186,161
- Filed: 2018-11-09
- Published: 2019-03-28
- Earliest claimed: 2016-05-11
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Mingbo SHAO
- Web page: https://patentgrep.com/patent/US20190095541A1

## CPC

- G06F 16/972: {Access to data in other repository systems, e.g. legacy data or dynamic Web page generation}
- G06F 40/134: Hyperlinking
- G06F 16/00: Information retrieval; Database structures therefor; File system structures therefor
- G06F 16/9566: {URL specific, e.g. using aliases, detecting broken or misspelled links}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## 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

### Claim 1

A computer-implemented method, comprising:
opening, by a first local application (APP), a web page;
waking, by the first local APP, a second local APP;
starting, by the second local APP, a local server;
sending, by the first local APP, a reference request to the local server; and
if a response returned by the local server is received, stopping, by the first local APP, a jump to a directed download page.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein when a link address of the web page is triggered and opened, the first local APP opens the web page, wherein the first local APP comprises a browser APP or a local APP that integrates a WebView component.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein when a link address of the web page is triggered and opened:
combining, by the first local app, parameters comprising an address of the web page into a uniform resource identifier (URI), and
invoking and opening the second local APP corresponding to the URI.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein:
the reference request is a JavaScript (JS) reference request; and
sending, by the first local APP, the reference request to the local server, wherein the sending comprises sending the reference request to the local server through JavaScript Object Notation (JSON) with Padding (JSONP).

### Claim 5 (depends on 1)

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 a JavaScript (JS) reference request.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the reference request sent by the first local APP comprises a port number, wherein the port number is a default value or a port number that is pre-negotiated by the first local APP with the local server that is started by the second local APP.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, 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.

### Claim 8 (depends on 7)

The computer-implemented method of claim 7, further comprising:
starting, by the second local APP, the local server;
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 a predetermined response time period, the response returned by the local server.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein:
the jump to the directed download page is stopped if the response returned by the local server is received in a predetermined response time period.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, further comprising:
jumping, by the first local APP, to the directed download page if the first local APP does not receive the response returned by the local server in the predetermined response time period.

### Claim 11

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), a web page;
waking, by the first local APP, a second local APP;
starting, by the second local APP, a local server;
sending, by the first local APP, a reference request to the local server; and
if a response returned by the local server is received, stopping, by the first local APP, a jump to a directed download page.

### Claim 12 (depends on 11)

The non-transitory, computer-readable medium of claim 11, wherein when a link address of the web page is triggered and opened, the first local APP opens the web page, wherein the first local APP comprises a browser APP or a local APP that integrates a WebView component.

### Claim 13 (depends on 11)

The non-transitory, computer-readable medium of claim 11, wherein when a link address of the web page is triggered and opened:
combining, by the first local app, parameters comprising an address of the web page into a uniform resource identifier (URI), and
invoking and opening the second local APP corresponding to the URI.

### Claim 14 (depends on 11)

The non-transitory, computer-readable medium of claim 11, wherein:
the reference request is a JavaScript (JS) reference request; and
sending, by the first local APP, the reference request to the local server, wherein the sending comprises sending the reference request to the local server through JavaScript Object Notation (JSON) with Padding (JSONP).

### Claim 15 (depends on 11)

The non-transitory, computer-readable medium of claim 11, 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 a JavaScript (JS) reference request, wherein the reference request sent by the first local APP comprises a port number, wherein the port number is a default value or a port number that is pre-negotiated by the first local APP with the local server that is started by the second local APP.

### Claim 16 (depends on 15)

The non-transitory, computer-readable medium of claim 15, 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.

### Claim 17 (depends on 16)

The non-transitory, computer-readable medium of claim 16, further comprising:
starting, by the second local APP, the local server;
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 a predetermined response time period, the response returned by the local server.

### Claim 18 (depends on 11)

The non-transitory, computer-readable medium of claim 11, wherein:
the jump to the directed download page is stopped if the response returned by the local server is received in a predetermined response time period.

### Claim 19 (depends on 18)

The non-transitory, computer-readable medium of claim 18, further comprising:
jumping, by the first local APP, to the directed download page if the first local APP does not receive the response returned by the local server in the predetermined response time period.

### Claim 20

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), a web page;
waking, by the first local APP, a second local APP;
starting, by the second local APP, a local server;
sending, by the first local APP, a reference request to the local server; and
if a response returned by the local server is received, stopping, by the first local APP, a jump to a directed download page.
