发明名称 |
Method and Device for Loading a Plug-In |
摘要 |
A method for loading a plug-in is disclosed. The method includes: capturing , at a terminal, a plug-in calling event; obtaining, at a terminal, a plug-in identification corresponding to the plug-in calling event; searching, at a terminal, for runtime files corresponding to the plug-in identification locally; obtaining, at a terminal, a preset plug-in download address when the runtime files are not found, and downloading, at a terminal, the runtime files corresponding to the plug-in identification according to the plug-in download address; loading, at a terminal, the runtime files, and calling, at a terminal, corresponding event handlers to handle the plug-in calling event. In addition, a device for loading plug-in is also disclosed. The method and device for loading a plug-in can improve browsing speed. |
申请公布号 |
US2015012924(A1) |
申请公布日期 |
2015.01.08 |
申请号 |
US201414468548 |
申请日期 |
2014.08.26 |
申请人 |
Tencent Technology (Shenzhen) Company Limited |
发明人 |
Liu Renfang;Hu Bo;Wang Zhipei;Zhou Ruiyi;Wang Xi;Xie Zhengkai;Huang Ying;Li Wei;Feng Cheng;Zhang Kai;Yang Huijiao |
分类号 |
G06F9/445;G06F9/54 |
主分类号 |
G06F9/445 |
代理机构 |
|
代理人 |
|
主权项 |
1. A method for loading a plug-in, wherein the method comprises:
capturing, at a terminal, a plug-in calling event; obtaining, at a terminal, a plug-in identification corresponding to the plug-in calling event; searching, at a terminal, for runtime files corresponding to the plug-in identification locally; obtaining, at a terminal, a preset plug-in download address when the runtime files are not found, and downloading, at a terminal, the runtime files corresponding to the plug-in identification according to the plug-in download address; loading, at a terminal, the runtime files, and calling, at a terminal, corresponding event handlers to handle the plug-in calling event. |
地址 |
Guangdong CN |