发明名称 Method and System for Implementing Function Extension of Open Platform
摘要 Described are a method and a system for implementing function extension of an open platform. In the system, services that can be provided by an open platform are encapsulated and an operation interface is provided, so that plug-ins uniformly inherit the operation interface and transmit control parameters through the interface into a service entry to obtain the services. Therefore, the open platform has a simple framework and low coupling degree. Since the plug-ins are uniformly managed by a plug-in manager, the manageability and dynamic extensibility of the open platform are enhanced.
申请公布号 US2014317639(A1) 申请公布日期 2014.10.23
申请号 US201214126749 申请日期 2012.11.23
申请人 Tencent Technology (Shenzhen) Company Limited 发明人 You Jing;Peng Yong
分类号 G06F9/445;G06F9/54 主分类号 G06F9/445
代理机构 代理人
主权项 1. A method for implementing function extension of an open platform, comprising: defining a plug-in according to function requirements of a user, and enabling the plug-in to inherit an operation interface provided by an open platform which is pre established, and the plug-in is used for transmitting a control parameter input by the user to a service entry provided by the open platform for obtaining a service provided by the open platform through the service entry; registering the plug-in to a plug-in manager which is pre-established; wherein the plug-in manager records information on locations of all registered plug-ins, and the plug-in manager enables the plug-in according to the information on a location which the plug-in corresponds to upon the condition that the plug-in manager is commanded to enable the plug-in; before the step of defining a plug-in according to function requirements of a user, the method comprising: defining the service provided by the open platform as a screen management, a title bar control, and a tray control, encapsulating the service provided by the open platform to form a corresponding category, and providing the service entry in public for the plug-in to obtain the service provided by the open platform through the service entry; before the step of registering the plug-in to a plug-in manager, the method further comprising: defining a loading mechanism of the plug-in; the loading mechanism of the plug-in comprising a local loading and a remote loading.
地址 Shenzhen City CN