发明名称 BROWSER BASED APPLICATION PROGRAM EXTENSION METHOD AND DEVICE
摘要 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.
申请公布号 US2014317537(A1) 申请公布日期 2014.10.23
申请号 US201214129880 申请日期 2012.12.20
申请人 Tencent Technology (Shenzhen) Company Limited 发明人 Dong Hang;Tan Zhihui;Cai Kaijie;Xie Xinqiu;Wang Peng;Huang Kui;Yang Wenze;Li Bin
分类号 G06F3/0484 主分类号 G06F3/0484
代理机构 代理人
主权项 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.
地址 Guangdong CN