The present disclosure relates to software and internet technologies and to a method, apparatus and computer storage medium for plug-in management and control.
This section provides background information related to the present disclosure which is not necessarily prior art.
In much software operating on personal computers or mobile intelligent terminals, plug-in technology is used. A plug-in is a program designed to follow a certain standard application program interface. Each plug-in usually performs a specific function. For example, common plug-ins in a browser include a Flash plug-in, a RealPlayer plug-in, an ActiveX, etc. After a related plug-in is installed in the browser, a web browser can directly call the plug-in program to complete a certain specific function.
In software development for mobile Internet, many plug-ins are usually integrated in the application software of a mobile user terminal or a mobile terminal. However, there is not an effective and unified management control method in the related art to manage these plug-ins. Usually, each plug-in provides its own interface settings to control the interface displaying, message prompt (such as sound, vibration, mark), loading (such as whether to automatically load), system data utilization (such as whether geographic information provided by a system can be used), etc. of the individual plug-in. Such an independent fragmented management control method has a lower efficiency, and does not enable effective control for a plug-in with no management interface or an undesirable management interface. For example, the above method can only control selected functions of one plug-in, and cannot control features such as opening, closing, or hiding the plug-in.
This section provides a general summary of the disclosure, and is not a comprehensive disclosure of its full scope or all of its features.
According to various embodiments, the present disclosure discloses a method, apparatus, and computer storage medium for plug-in management and control. The disclosure may be applied, for example, the plug-ins may be integrated in a system or in applications managed and controlled independently and the management process is complicated and inefficient, and it is unable to manage and control general attributes of the plug-ins uniformly.
Various embodiments of the present disclosure provide a method for plug-in management and control, which includes the following:
retrieving registered plug-ins and organizing and managing the registered plug-ins in a centralized way by utilizing a plug-in list module;
providing a corresponding plug-in function controlling sub-module for each of the plug-ins, calling the plug-in function controlling sub-module corresponding to each of the plug-ins by the plug-in list module, managing and controlling functions of each of the plug-ins through the plug-in function controlling sub-module corresponding to each of the plug-ins;
extracting general attributes of multiple plug-ins and managing and controlling the general attributes uniformly through a general attribute controlling sub-module.
Various embodiments of the present disclosure also provide an apparatus for plug-in management and control, which includes the following:
a plug-in list module configured to retrieve registered plug-ins and organize and manage the registered plug-ins in a centralized way;
a plug-in function controlling module configured to provide a container for a general attribute controlling sub-module and a plug-in function controlling sub-module of each of the plug-ins;
the plug-in function controlling sub-module configured to manage and control functions of each of the plug-ins;
the general attribute controlling sub-module configured to manage and control general attributes of multiple plug-ins uniformly.
Various embodiments of the present disclosure also provide a computer storage medium storing computer-executable instructions for implementing the method for plug-in management and control of various embodiments of the present disclosure.
Various embodiments of the present disclosure control plug-ins in a system or in application software by utilizing a plug-in list module and a plug-in function controlling module. The control includes on and off of the plug-ins, methods for reminding, various types of receivable messages, and so on. In various embodiments of the present disclosure, continuously increasing plug-ins can be managed in a uniform and standardized way through a program. Thus, the efficiency of the control and management of plug-ins can be improved and the simplicity and manipulation of software can be enhanced.
Further areas of applicability will become apparent from the description provided herein. The description and specific examples in this summary are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure.
The drawings described herein are for illustrative purposes only of selected embodiments and not all possible implementations, and are not intended to limit the scope of the present disclosure.
Corresponding reference numerals indicate corresponding parts throughout the several views of the drawings.
Example embodiments will now be described more fully with reference to the accompanying drawings.
In order to make the objectives, technical solutions, and advantages of the present disclosure more clear, various embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
At 101: retrieving registered plug-ins, and organizing and managing the registered plug-ins in a centralized way by utilizing a plug-in list module.
For system or application software, the present disclosure provides an entry module, i.e., the plug-in list module, for managing and controlling the registered plug-ins of the system or application software in a centralized way. The plug-in list module organizes and manages the registered plug-ins by utilizing a data structure such as queue, linked list, object array, etc., and displays basic information of the registered plug-ins in the form of a list, an icon or other display form. An example where the plug-in list module displays the basic information of the plug-ins is shown in
A user can call a plug-in function controlling sub-module corresponding to each of the plug-ins through the plug-in list module. For example, each list item in a plug-in list can include a corresponding plug-in function controlling sub-module handle; when the user clicks on a corresponding item, a corresponding plug-in function controlling sub-module is called by an event response function.
The plug-in list module can also provide functions of opening a plug-in or closing the plug-in. For example, opening or closing functions can be provided for a corresponding plug-in in manner of a menu or a switch button, without the need for calling a plug-in function controlling sub-module.
In various embodiments of the present disclosure, in order to provide the user with an opportunity to choose whether to install a corresponding plug-in according to the user's request, an issued plug-in can first be displayed in a group which is not installed or enabled in the plug-in list module, and the user can choose to enable or not enable a plug-in according to the user's wish. Where a corresponding plug-in is not installed, when enabling the plug-in, the system can prompt the user whether to install; if the user agrees, the corresponding plug-in is downloaded and installed in the local, and then the plug-in is enabled.
In various embodiments, registration refers to registering in an operating system or a plug-in publishing platform. Only registered plug-ins can be displayed and managed in the plug-in list module.
The plug-in list module can also provide functions of installing or uninstalling plug-ins. For example, the functions of adding and deleting plug-ins can be provided in the manner of a menu.
At 102: providing a corresponding plug-in function controlling sub-module for each of the plug-ins, calling the plug-in function controlling sub-module corresponding to each of the plug-ins by the plug-in list module, managing and controlling functions of the plug-ins through the plug-in function controlling sub-module corresponding to each of the plug-ins.
In various embodiments, a plug-in function controlling module functions as a container to provide a load space for a general attribute controlling sub-module and a plug-in function controlling sub-module of each plug-in. Installing or uninstalling each sub-module is performed by the plug-in function controlling module, and the plug-in function controlling module maintains and manages each plug-in function controlling sub-module.
In various embodiments, a corresponding plug-in function controlling sub-module is provided for each plug-in. The plug-in function controlling sub-module of each plug-in can perform deep and complete management and control on functions of each plug-in, for example, providing one or more of following functions of management and control:
(1) Opening or closing a plug-in: here, the opening or closing functions are provided by a plug-in function controlling sub-module for an individual plug-in, and are different from the centralized management control mode provided by the plug-in list module. Closing one plug-in is equivalent to setting a state of the plug-in to be an inactive state in the plug-in function controlling module; when the system or software is started up, the plug-in which is in the inactive state will not be loaded in a memory. When enabling one plug-in, the corresponding plug-in is accordingly activated in the plug-in function controlling module.
(2) Managing displaying positions and modes of plug-ins: for example, whether to display a plug-in in a main interface or an address book can be controlled; font size, color, etc. of plug-in displaying can be controlled.
(3) Capable of controlling a plug-in to send a message to a server or receive a message sent from the server: for example, for an email reminder plug-in, as shown in
(4) Capable of viewing and managing specific information related to a plug-in through the plug-in function controlling module: for example, for the microblogging private message plug-in, as shown in
At 103: extracting general attributes of multiple plug-ins and storing them into a general attribute controlling module to manage and control the general attributes uniformly.
In various embodiments, the general attributes of multiple plug-ins are extracted, and these general attributes are managed and controlled uniformly so as to avoid separate control of same functions of each plug-in, reduce redundant complicated operations, and improve efficiency of management and control. The general attributes include, but are not limited to, scene mode, message prompt manner, etc. For example, many plug-ins need to receive a message pushed by the server or some prompt messages generated by themselves. In various embodiments of the present disclosure, the general attribute controlling module provides a scene mode and/or message prompt manner setting function to control the way to remind a user when a plug-in receives a message pushed by the server or when the plug-in itself generates a prompt message. For example, the prompt manner can include any one or more of the following: sound, vibration, and displaying prompt mark. Setting functions such as choosing alert tone can also be provided.
Implementation of the management of the general attributes can include the following: assigning different priorities to settings made for different modules, assigning higher priorities to general attribute control parameters set by the general attribute controlling module, assigning lower priorities to general attribute control parameters set by the plug-in function controlling sub-module, and giving priority to a high-priority setting.
The present disclosure is further explained with reference to a social application as an example. The social application is mobile communication software which can integrate a plurality of plug-ins, support sending a voice message, video, images, and text, realize multi-user group chat, and is used in a mobile intelligent terminal such as a mobile phone, iPad, etc. Plug-ins registered or integrated in the social application include, but are not limited to: an email reminder plug-in, a microblogging private message plug-in, an offline message plug-in of an instant messaging system, a microblogging sending picture assistant plug-in, a find friend plug-in based on geographical positions, a friend recommend plug-in, a voice note, etc.
a plug-in list module 610 configured to retrieve registered plug-ins, and organize and manage the registered plug-ins in a centralized way;
a plug-in function controlling module 620 configured to provide a container for a general attribute controlling sub-module and a plug-in function controlling sub-module of each plug-in;
at least one plug-in function controlling sub-module 1˜n, configured to manage and control functions of each plug-in; the lug-in function controlling sub-modules being corresponding to the plug-ins in a one-to-one manner;
the general attribute controlling sub-module configured to manage and control general attributes of multiple plug-ins uniformly.
The organization and management of the registered plug-ins in a centralized way performed by the plug-in list module 610 include one or more of following: opening plug-in, closing plug-in, adding plug-in, deleting plug-in.
The management and control of functions of the plug-ins performed by the plug-in function controlling sub-modules include one or more of the following:
Each plug-in function controlling sub-module can provide different management control functions according to different functions of each plug-in. The above functions are only examples, and specific situations can be determined according to requirements.
The plug-ins can contain one or more of an email reminder plug-in, a microblogging private message plug-in, an offline message plug-in of an instant messaging system, a microblogging sending picture assistant plug-in, a find friend plug-in based on geographical positions, a friend recommend plug-in, etc.
If the modules described in the various embodiments are implemented in the form of software function modules and sold or used as an independent product, they can also be stored in a computer-readable storage medium.
The various embodiments can be implemented, at least in part, in software. The computer software is stored in a storage medium and includes a plurality of instructions to make a computer apparatus (such as a personal computer, a server, a network equipment, etc.) execute all or parts of the method described in each of the embodiments of the present disclosure. The aforementioned storage medium includes U disk, mobile hard disk, Read-Only Memory (ROM), Random Access Memory (RAM), Disk or CD or other medium which can store program codes. Thus, the various embodiments are not limited to any specific combination of hardware and software.
Accordingly, various embodiments also provide a computer storage medium which stores computer programs for implementing the method for adding friends in the above embodiments of the present disclosure.
The foregoing various embodiments should not limit the present disclosure.
The foregoing description of the embodiments has been provided for purposes of illustration and description. It is not intended to be exhaustive or to limit the disclosure. Individual elements or features of a particular embodiment are generally not limited to that particular embodiment, but, where applicable, are interchangeable and can be used in a selected embodiment, even if not specifically shown or described. The same may also be varied in many ways. Such variations are not to be regarded as a departure from the disclosure, and all such modifications are intended to be included within the scope of the disclosure.
Reference throughout this specification to “one embodiment,” “an embodiment,” “specific embodiment,” or the like in the singular or plural means that one or more particular features, structures, or characteristics described in connection with an embodiment is included in at least one embodiment of the present disclosure. Thus, the appearances of the phrases “in one embodiment” or “in an embodiment,” “in a specific embodiment,” or the like in the singular or plural in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Number | Date | Country | Kind |
---|---|---|---|
201210071067.5 | Mar 2012 | CN | national |
This application is a continuation of International Application No. PCT/CN2013/071850, filed on Feb. 25, 2013. This application claims the benefit and priority of Chinese Application No. 201210071067.5, filed on Mar. 16, 2012. The entire disclosures of each of the above applications are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2013/071850 | Feb 2013 | US |
Child | 14487138 | US |