BROWSER BASED APPLICATION PROGRAM EXTENSION METHOD AND DEVICE
First Claim
1. An extension method for a browser-based application, comprising:
- generating, in a first desktop space, a first start item pointing to the browser-based application, the first start item configured to trigger a start request in response to execution of the first start item;
generating, in a second desktop space, a second start item pointing to the browser-based application, the second start item configured to trigger the start request in response to execution of the second start item;
determining a source of the start request in response to receipt of the start request, wherein the source of the start request is one of the first start item or the second start item;
loading a page file, loading a browser core and embedding a script object into the browser core in response to receipt of the start request of the browser-based application, wherein the script object is configured to interact with a service component in a running environment of the browser-based application;
parsing the page file by the browser core, and generating and displaying a corresponding application interface;
receiving a request from the application interface;
calling the service component according to the received request and returning a call result to the application interface, by the script object;
displaying the application interface in the first desktop space if the start request is from the first start item; and
displaying the application interface in the second desktop space if the start request is from the second start item.
2 Assignments
0 Petitions
Accused Products
Abstract
A browser based application program extension method and device are provided. In response to a request to activate an application program, a page file and a browser core may be loaded. A script object may be embedded into the browser core to interact with other serving assemblies in an operation environment of the application program. The browser core may parse the page file and generate and display a corresponding application interface. The script object may receive a request from the application interface and invoke a serving assembly according to the request. The script object may return an invoked result to the application interface. Thus, the application program may be developed by combining web technology with the browser core. This may shorten application program development period and reduce development difficulty. Further, the application program may be used in any operating system without extra development effort.
-
Citations
23 Claims
-
1. An extension method for a browser-based application, comprising:
-
generating, in a first desktop space, a first start item pointing to the browser-based application, the first start item configured to trigger a start request in response to execution of the first start item; generating, in a second desktop space, a second start item pointing to the browser-based application, the second start item configured to trigger the start request in response to execution of the second start item; determining a source of the start request in response to receipt of the start request, wherein the source of the start request is one of the first start item or the second start item; loading a page file, loading a browser core and embedding a script object into the browser core in response to receipt of the start request of the browser-based application, wherein the script object is configured to interact with a service component in a running environment of the browser-based application; parsing the page file by the browser core, and generating and displaying a corresponding application interface; receiving a request from the application interface; calling the service component according to the received request and returning a call result to the application interface, by the script object; displaying the application interface in the first desktop space if the start request is from the first start item; and displaying the application interface in the second desktop space if the start request is from the second start item. - View Dependent Claims (2, 3, 4, 5, 8, 9, 10, 11)
-
-
6-7. -7. (canceled)
-
12. An extension device for a browser-based application, comprising:
-
a main process module, a loading module, a browser core, a script object processing module, an interface processing module, and an installing module, wherein the main process module is configured to call the loading module in response to receipt of a start request of the browser-based application; the loading module is configured to load the browser core and embed the script object processing module into the browser core; the loading module is further configured to load a page file according to the start request and transfer the loaded page file to the browser core; the browser core is configured to parse the loaded page file, generate an application interface and transfer the application interface to the interface processing module; the interface processing module is configured to display the application interface; the script object processing module is configured to receive a request from the application interface, execute a service component according to the received request, and return a result to the application interface; the installing module is configured to generate, in a first desktop space, a first start item pointing to the browser-based application wherein execution of the first start item triggers the start request; the installing module is further configured to generate, in a second desktop space, a second start item pointing to the browser-based application wherein execution of the second start item triggers the start request; the main process module is further configured to determine a source of the start request in response to receipt of the start request; the interface processing module is configured to display the application interface in the first desktop space if the source of the start request is the first start item; and the interface processing module is configured to display the application interface in the second desktop space if the source of the start request is the second start item. - View Dependent Claims (13, 14, 15, 16, 19, 20, 21, 22, 23)
-
-
17-18. -18. (canceled)
Specification