Methods and apparatuses for opening a webpage, invoking a client, and creating a light application
First Claim
1. A computer-implemented method for opening a webpage, comprising:
- receiving, by a processor, a webpage opening request containing a link;
according to the link, searching, by the processor, a preset application list for a client application or a light application corresponding to the link; and
when the client application or the light application exists in the application list, opening, by the processor, the client application or invoking the light application to open a webpage corresponding to the link;
wherein the application list comprises a client application list and a light application list;
wherein the client application list is pre-established by the processor based on;
acquiring a client application configuration file;
parsing the client application configuration file to acquire a client application domain name and a corresponding client application data object; and
storing the acquired client application domain name and corresponding client application data object in the client application list; and
wherein the light application list is pre-established by the processor based on;
acquiring a light application configuration file;
parsing the light application configuration file to acquire a light application access link and a corresponding light application data object; and
storing the acquired light application access link and corresponding light application data object in the light application list.
1 Assignment
0 Petitions
Accused Products
Abstract
The invention provides methods and apparatuses for opening a webpage, invoking a client, and creating a light application. The method for opening a webpage comprises: receiving a webpage opening request containing a link; according to the link, searching a preset application list for a client application and/or a light application corresponding to the link; and when the client application and/or the light application exists in the application list, opening the client application and/or invoking the light application to open a webpage corresponding to the link. Thereby, a webpage corresponding to a link can be opened in a more friendly manner, the use of a user is facilitated, the efficiency of acquiring information by the user is improved, and the user experience is enhanced.
10 Citations
15 Claims
-
1. A computer-implemented method for opening a webpage, comprising:
-
receiving, by a processor, a webpage opening request containing a link; according to the link, searching, by the processor, a preset application list for a client application or a light application corresponding to the link; and when the client application or the light application exists in the application list, opening, by the processor, the client application or invoking the light application to open a webpage corresponding to the link; wherein the application list comprises a client application list and a light application list; wherein the client application list is pre-established by the processor based on; acquiring a client application configuration file; parsing the client application configuration file to acquire a client application domain name and a corresponding client application data object; and storing the acquired client application domain name and corresponding client application data object in the client application list; and wherein the light application list is pre-established by the processor based on; acquiring a light application configuration file; parsing the light application configuration file to acquire a light application access link and a corresponding light application data object; and storing the acquired light application access link and corresponding light application data object in the light application list. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An apparatus for opening a webpage, comprising:
-
a memory having instructions stored thereon; a processor configured to execute the instructions to perform following operations; receiving a webpage opening request containing a link; according to the link, searching a preset application list for a client application or a light application corresponding to the link; and when the client application or the light application exists in the application list, opening the client application or invoking the light application to open a webpage corresponding to the link; wherein the application list comprises a client application list and a light application list; wherein the client application list is pre-established by the following steps; acquiring a client application configuration file; parsing the client application configuration file to acquire a client application domain name and a corresponding client application data object; and storing the acquired client application domain name and corresponding client application data object in the client application list; and wherein the light application list is pre-established by the following steps of; acquiring a light application configuration file; parsing the light application configuration file to acquire a light application access link and a corresponding light application data object; and storing the acquired light application access link and corresponding light application data object in the light application list. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer readable medium having instructions stored thereon that, when executed by at least one processor, cause the at least one processor to perform following operations:
-
receiving a webpage opening request containing a link; according to the link, searching a preset application list for a client application or a light application corresponding to the link; and when the client application or the light application exists in the application list, opening the client application or invoking the light application to open a webpage corresponding to the link; wherein the application list comprises a client application list and a light application list; wherein the client application list is pre-established by the following steps; acquiring a client application configuration file; parsing the client application configuration file to acquire a client application domain name and a corresponding client application data object; and storing the acquired client application domain name and corresponding client application data object in the client application list; and wherein the light application list is pre-established by the following steps of; acquiring a light application configuration file; parsing the light application configuration file to acquire a light application access link and a corresponding light application data object; and storing the acquired light application access link and corresponding light application data object in the light application list.
-
Specification