主权项 |
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. |