IP Library Granted Patent US 10,866,815
Granted Patent B2
US 10,866,815 · App. 16/913,863 · Granted Dec 15, 2020

Method and system for starting application

Inventors: Tian Wang (Hangzhou, CN); Mingbo Shao (Hangzhou, CN)
Assignee: Advanced New Technologies Co., Ltd.
G06F9/445G06F8/61G06F16/955H04L29/06H04L29/08H04L67/02H04L67/34H04L67/42H04L69/329
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,866,815
App. No.
16/913,863
Granted
Dec 15, 2020
Kind
B2
Abstract

A first local application starts a websocket and attempts to connect, with the websocket, to a local socket started by a second local application. If the first local application connects to the local socket, stopping a jump to a boot page for downloading the second local application.

Claims (46)

1. A computer-implemented method, comprising:

starting, by a first local application, a websocket;

attempting, by the first local application, to connect, with the websocket, to a local socket started by a second local application, and wherein the attempting comprising, during a predetermined time period:

iteratively using a set of ports in a predetermined port group to attempt to connect to the local socket;

determining whether the first local application connects, with the websocket, to the local socket during the predetermined time period;

in response to a negative determination, initiating a jump to a boot page for downloading the second local application; and

in response to a positive determination, stopping the jump to the boot page for downloading the second local application.

2. The computer-implemented method of claim 1 , wherein the first local application comprises a browser application or a local application integrated with a Web View component.

3. The computer-implemented method of claim 1 , wherein, when a link to a web page is triggered and opened:

assembling, by the first local application, parameters comprising a web page address as a uniform resource indicator (URI), and

invoking, by the first local application, the second local application corresponding to the URI.

4. The computer-implemented method of claim 1 , wherein the start of the websocket by the first local application and the attempt to connect, with the websocket, to the local socket by the first local application occurs after a predetermined duration of time since the web page is opened.

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

if the first local application fails to connect, with the websocket, to the local socket, jumping to the boot page for downloading the second local application; or

if the first local application receives an error prompt when connecting, with the websocket, to the local socket, jumping to the boot page for downloading the second local application.

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

starting, by a first local application, a websocket;

attempting, by the first local application, to connect, with the websocket, to a local socket started by a second local application, and wherein the attempting comprising, during a predetermined time period:

iteratively using a set of ports in a predetermined port group to attempt to connect to the local socket;

determining whether the first local application connects, with the websocket, to the local socket during the predetermined time period;

in response to a negative determination, initiating a jump to a boot page for downloading the second local application; and

in response to a positive determination, stopping the jump to the boot page for downloading the second local application.

7. The non-transitory, computer-readable medium of claim 6 , wherein the first local application comprises a browser application or a local application integrated with a Web View component.

8. The non-transitory, computer-readable medium of claim 6 , wherein, when a link to a web page is triggered and opened:

assembling, by the first local application, parameters comprising a web page address as a uniform resource indicator (URI), and

invoking, by the first local application, the second local application corresponding to the URI.

9. The non-transitory, computer-readable medium of claim 6 , wherein the start of the websocket by the first local application and the attempt to connect, with the websocket, to the local socket by the first local application occurs after a predetermined duration of time since the web page is opened.

10. The non-transitory, computer-readable medium of claim 6 , wherein the operations further comprise:

if the first local application fails to connect, with the websocket, to the local socket, jumping to the boot page for downloading the second local application; or

if the first local application receives an error prompt when connecting, with the websocket, to the local socket, jumping to the boot page for downloading the second local application.

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:

starting, by a first local application, a websocket;

attempting, by the first local application, to connect, with the websocket, to a local socket started by a second local application, and wherein the attempting comprising, during a predetermined time period:

iteratively using a set of ports in a predetermined port group to attempt to connect to the local socket;

determining whether the first local application connects, with the websocket, to the local socket during the predetermined time period;

in response to a negative determination, initiating a jump to a boot page for downloading the second local application; and

in response to a positive determination, stopping the jump to the boot page for downloading the second local application.

12. The computer-implemented system of claim 11 , wherein the first local application comprises a browser application or a local application integrated with a Web View component.

13. The computer-implemented system of claim 11 , wherein, when a link to a web page is triggered and opened:

assembling, by the first local application, parameters comprising a web page address as a uniform resource indicator (URI), and

invoking, by the first local application, the second local application corresponding to the URI.

14. The computer-implemented system of claim 11 , wherein the start of the websocket by the first local application and the attempt to connect, with the websocket, to the local socket by the first local application occurs after a predetermined duration of time since the web page is opened.

15. The computer-implemented system of claim 11 , wherein the operations further comprise: if the first local application fails to connect, with the websocket, to the local socket, jumping to the boot page for downloading the second local application; or

if the first local application receives an error prompt when connecting, with the websocket, to the local socket, jumping to the boot page for downloading the second local application.

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 Aug 5, 2020
From: WANG, TIAN; SHAO, MINGBO
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 053411/0622 →