CN102571860A - Method, device and system for managing plug-in module - Google Patents

Method, device and system for managing plug-in module Download PDF

Info

Publication number
CN102571860A
CN102571860A CN 201010611893 CN201010611893A CN102571860A CN 102571860 A CN102571860 A CN 102571860A CN 201010611893 CN201010611893 CN 201010611893 CN 201010611893 A CN201010611893 A CN 201010611893A CN 102571860 A CN102571860 A CN 102571860A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
plug
module
system
software
managing
Prior art date
Application number
CN 201010611893
Other languages
Chinese (zh)
Inventor
郭先东
Original Assignee
北京新媒传信科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date

Links

Abstract

The invention discloses a method, device and system for managing a plug-in module, relating to the technical field of computer software, wherein the embodiment of the invention provides a method for managing the plug-in module, which comprises the steps of: obtaining a user command, wherein the user command carries an attribute of the plug-in module; judging whether the plug-in module is needed to be acquired according to the attribute of the plug-in module in the user command; if the plug-in module is needed to be acquired, downloading the plug-in module from a server; and if the plug-in module is not needed to be acquired, operating the plug-in module. By adopting the embodiment of the invention, a large quantity of repeated functional codes among software programs can be greatly reduced, and coupling property of software is reduced, thus occupying quantity of system memory resources is reduced, and operation efficiency of a system is increased.

Description

一种管理插件的方法、装置及系统 A method of managing plug-ins, apparatus and system for

技术领域 FIELD

[0001] 本发明涉及计算机软件技术领域,尤其涉及一种管理插件的方法、装置及系统。 [0001] The present invention relates to computer software technology, and in particular relates to a management plug-in method, apparatus and system. 背景技术 Background technique

[0002] 随着计算机软件技术的不断发展,Symbian (塞班)系统也不断的被应用到各种各样的技术领域中,例如:浏览器,IManstantMessaging,即时通讯),咨询,各种商业软件等寸。 [0002] With the development of computer software technology, Symbian (Symbian) system is also constantly being applied to a wide variety of technical fields, such as: browser, IManstantMessaging, instant messaging), counseling, a variety of commercial software etc. inch.

[0003] 目前,基于上述Symbian系统的软件程序,通常采用Web服务器和单一手机客户端的模式进行软件程序下载或者更新,具体Web服务器与基于Symbian系统的客户端信号流向图,参见附图1所示。 [0003] At present, based on the Symbian OS software program described above, commonly used Web servers and a single mode mobile client software program download or update, the specific Web server and the client based on the signal flow diagram Symbian system, see Fig. 1 . 采用Web服务器和单一手机客户端的模式进行软件程序下载或者更新的过程中,手机客户端需要从Web服务器中下载其需要的软件程序代码。 Process using a single Web server and mobile client mode software program to download or update, you need to download the mobile client software program code required from the Web server. 虽然,该服务器可以为客户端提供大量的服务软件,为用户提供很大的方便,但是,各种软件程序代码都面临一个棘手的问题,那就是软件程序代码的安装包越来越多,越来越大,从而使得软件的开发维护越来越困难。 Although the server can provide a lot of services for the client software to provide users with great convenience, however, various software program code are facing a difficult problem, that is, the software program code installation package more and more, more to the larger, so that the development of software maintenance more difficult. 例如:当所述手机客户端需要更新其已经下载的软件程序代码时,通常仍然需要将服务器更新后的软件程序代码全部下载到手机客户端。 For example: When the mobile client needs to update its software has been downloaded program code, usually still need to update the server software program code to download all the mobile client. 这样,即使所述更新后的软件程序代码仅仅修改了一条指令,也仍需要将其他重复的代码重新一起下载。 Thus, even after the program code of software update only a modified instruction, there remains a need to re-download other repeating code together.

[0004] 在实现上述软件程序代码下载以及更新的过程中,发明人发现现有技术中存在如下问题: [0004] In achieving the above Codes software programs and update process, the inventors found the following problems in the prior art:

[0005] 现有技术中,客户端所需的软件程序代码不能与其更新后的软件程序代码相耦合,扩展性较差,从而使得软件程序代码需要占用的系统内存资源较大,大大降低了系统运行效率。 After [0005] the prior art, software program code required for the client can not update its software program code coupled, poor scalability, so that the system memory resources occupied by the software program code requires a large, greatly reduces system operating efficiency.

发明内容 SUMMARY

[0006] 本发明实施例提供一种管理插件的方法、装置及系统,为达到上述目的,本发明的实施例采用如下技术方案: [0006] The method, apparatus and system according to the present invention provides a management plug, to achieve the above object, embodiments of the present invention adopts the following technical solutions:

[0007] 一种管理插件的方法,包括: [0007] A method of managing plug-ins, comprising:

[0008] 获取用户指令;所述用户指令携带有插件属性; [0008] obtaining a user instruction; the user command carries a plug-in properties;

[0009] 根据所述用户指令中插件属性,判断是否需要获取所述插件; [0009] The plug-in properties of the user instruction, determines whether to obtain the insert;

[0010] 如果需要获取所述插件,则从服务器下载所述插件; [0010] If you need to obtain the insert, the insert downloading from the server;

[0011] 如果不需要获取所述插件,则运行所述插件。 [0011] If not acquiring the insert, the insert run.

[0012] 一种客户端,包括: [0012] A client, comprising:

[0013] 指令获取单元,用于获取用户指令;所述用户指令携带有插件属性; [0013] The instruction fetch unit, configured to obtain a user instruction; the user command carries a plug-in properties;

[0014] 判断单元,用于根据所述用户指令中插件属性,判断是否需要获取所述插件; [0014] determination means according to the user instruction for plug-in properties, determines whether to obtain the insert;

[0015] 下载单元,用于如果需要获取所述插件,则从服务器下载所述插件; [0015] The download unit, if necessary for obtaining the insert, the insert downloading from the server;

[0016] 运行单元,用于如果不需要获取所述插件,则运行所述插件。 [0016] The operation unit for obtaining the insert if not, the operation of the plug.

[0017] 一种服务器,包括:[0018] 请求获取单元,用于获取客户端发送的插件下载请求;所述插件下载请求中携带有插件属性; [0017] A server, comprising: [0018] request acquisition unit for acquiring widget download request sent by a client; the plug-in download request carries a plug-in properties;

[0019] 下发单元,用于根据插件属性,下发所述客户端请求的插件。 [0019] delivering unit, for the plug according to plug-in properties, issued the client request.

[0020] 一种管理插件的系统,该系统包括:如上所述的客户端和服务器。 [0020] A plug-in management system, the system comprising: a client and a server as described above.

[0021] 本发明实施例提供的管理插件的方法、装置以及系统,通过获取用户指令;所述用户指令携带有插件属性;根据所述用户指令中插件属性,判断是否需要获取所述插件;如果需要获取所述插件,则从服务器下载所述插件;如果不需要获取所述插件,则运行所述插件。 [0021] A method for managing widget according to an embodiment of the present invention, apparatus and a system, by obtaining a user instruction; the user command carries a widget attributes; plug according to the user instruction attribute, determines whether to obtain the insert; if need to get the plug-in from the server to download the plug-in; if you do not get the plug-in, then run the plug-in. 由于本发明实施例是通过管理功能独立插件来完成各种软件程序中需要实现的各种功能,所以,使得插件之间的耦合性较松,扩展性较强。 Since the embodiment of the present invention is to perform various functions required in various software programs realized by an independent plug-in management functions, so that the coupling between the loose plug, strong expansibility. 也就是说,不同软件中完成相同的功能,仅需判断本地是否下载有实现该功能的插件即可,无需重复的下载不同的软件。 In other words, different software do the same thing, only to determine whether there is a local download plug-ins can achieve this function, no need to repeat the download different software. 这样, 就大大减少了各种软件程序之间大量重复的功能代码,降低了软件的耦合性,与此同时,也大大降低了系统内存资源的占用量,提高了系统的运行效率。 Thus, greatly reducing the amount of duplication between various software programs function code, reducing the coupling of the software, while also greatly reducing the footprint of the system's memory resources and improve the efficiency of the system.

附图说明 BRIEF DESCRIPTION

[0022] 图1为现有技术中一种服务器与客户端信号传输图; [0022] FIG. 1 is a prior art, a server-client signal transmission diagram;

[0023] 图2为本发明实施例提供的一种管理插件的方法流程图; Method [0023] FIG. 2 for managing widget according to an embodiment of the present invention, a flow chart;

[0024] 图3为本发明实施例提供的另一种管理插件的方法流程图; [0024] FIG 3 a flow chart of another method for managing widget according to an embodiment of the present invention;

[0025] 图4为本发明实施例提供的再一种管理插件的方法流程图; [0025] FIG 4 yet another flowchart of a method of managing plug according to an embodiment of the present invention;

[0026] 图5为本发明实施例提供的一种基于Symbian系统客户端与Web服务器之间管理插件的方法流程图; [0026] The flowchart of FIG. 5 one kind of method for managing widget Symbian system between the client and the Web server based on the present invention, according to an embodiment;

[0027] 图6为本发明实施例提供的一种客户端结构示意图; [0027] Fig 6 a schematic view of a client-side configuration according to an embodiment of the present invention;

[0028] 图7为本发明实施例提供的一种服务器结构示意图; [0028] Figure 7 a schematic view of one kind of structure of the server according to an embodiment of the present invention;

[0029] 图8为本发明实施例提供的一种管理插件的系统结构示意图。 [0029] Figure 8 a schematic view of a system configuration for managing widget according to an embodiment of the present invention.

具体实施方式 detailed description

[0030] 下面结合附图对本发明实施例提供的一种管理插件的方法、装置以及系统进行详细描述。 [0030] The following detailed description in conjunction with the accompanying drawings A method for managing widget according to an embodiment of the present invention, apparatus and system.

[0031] 如图2所述,为本发明实施例提供的一种管理插件的方法;该方法包括: [0031] As shown in FIG. 2, the present method of managing plug according to an embodiment of the invention; the method comprising:

[0032] 201 :客户端获取用户指令;所述用户指令携带有插件属性;所述插件属性包括: 插件唯一标识,插件名称、插件版本号、下载统一资源定位符、插件大小、插件简介、插件发布时间、开发者姓名、开发公司。 [0032] 201: the client obtains a user instruction; the user command carries a widget attributes; the widget attributes comprising: uniquely identifies the widget, widget name, plugin version number, a uniform resource locator download, the size of the plug, plug profile, plug published, the developer name, the development company.

[0033] 202 :根据所述用户指令中插件属性,客户端判断是否需要获取所述插件; [0033] 202: according to the user instruction widget attributes, the client determines whether to acquire the insert;

[0034] 203 :如果需要获取所述插件,则客户端从服务器下载所述插件; [0034] 203: If you need to acquire the widget, the widget download the client from the server;

[0035] 204 :如果不需要获取所述插件,则客户端运行所述插件。 [0035] 204: If not acquiring the insert, the insert operation of the client.

[0036] 如图3所述,为本发明实施例提供的另一种管理插件的方法;该方法包括: [0036] As shown in FIG. 3, another oriented widget management method provided by the embodiment of the invention; the method comprising:

[0037] 301 :客户端获取用户指令;所述用户指令携带有插件属性;所述插件属性包括: 插件唯一标识,插件名称、插件版本号、下载统一资源定位符、插件大小、插件简介、插件发布时间、开发者姓名、开发公司。 [0037] 301: the client obtains a user instruction; the user command carries a widget attributes; the widget attributes comprising: uniquely identifies the widget, widget name, plugin version number, a uniform resource locator download, the size of the plug, plug profile, plug published, the developer name, the development company.

[0038] 302 :客户端获取用户指令中的插件属性;[0039] 303 :根据所述用户指令中的插件属性,客户端判断所述插件是否已存储在本地; [0038] 302: The client obtains the user attribute Plug-in instruction; [0039] 303: according to the user instruction widget attributes, the client determines whether the widget has been stored locally;

[0040] 304 :如果所述插件未存储在本地,则客户端从服务器下载所述插件; [0040] 304: If the insert is not stored locally, the client downloading the widget from a server;

[0041] 305 :如果所述插件已存储在本地,则客户端运行所述插件。 [0041] 305: If the plug-stored locally, the client running the insert.

[0042] 需要注意的是,该方法还包括: [0042] It should be noted that the method further comprises:

[0043] 客户端获取当前服务器插件的属性。 [0043] client to obtain properties of the current server plug-ins.

[0044] 如果所述插件已存储在本地,则客户端运行所述插件的步骤,还可以包括: Step [0044] If the plug-stored locally, the client running the insert may further comprise:

[0045] 根据已经存储在本地的插件属性以及与其对应的当前服务器中存储的该插件的属性,客户端判断所述已存储在本地的插件的属性是否需要更新; [0045] The properties of the plug-in is already stored in the local server's plug-in properties and the current corresponding thereto is stored, the client determines whether the locally stored attributes widget needs to be updated;

[0046] 如果所述已存储在本地的插件不需要更新,则客户端运行所述插件; [0046] If you need to update the stored locally plug, the client running the insert;

[0047] 如果所述已存储在本地的插件需要更新,则客户端从服务器下载更新后插件; [0047] If the stored locally plug needs to be updated, the client from the server to download the updated widget;

[0048] 客户端下载完成更新后的插件,运行更新后的插件。 [0048] The client download is complete plug-in updated, run the updated plug-ins.

[0049] 如图4所述,为本发明实施例提供的再一种管理插件的方法,该方法包括: [0049] The FIG. 4, the present method of managing still another embodiment of the plug according to the invention provided, the method comprising:

[0050] 401 :服务器获取客户端发送的插件下载请求;所述插件下载请求中携带有插件属性;所述插件属性包括:插件唯一标识,插件名称、插件版本号、下载统一资源定位符、插件大小、插件简介、插件发布时间、开发者姓名、开发公司。 [0050] 401: widget server obtains the download request sent by a client; the plug-in download request carries a widget attributes; the widget attributes comprising: uniquely identifies the widget, widget name, plugin version number, a uniform resource locator download, plug size, plug-profile, plug-in release time, the name of the developer, development company.

[0051] 402 :根据插件属性,服务器下发所述客户端请求的插件。 [0051] 402: The widget attributes, the widget client requests sent by the server.

[0052] 需要注意的是,该方法还包括: [0052] It should be noted that the method further comprises:

[0053] 服务器下发当前服务器插件的属性给所述客户端。 [0053] The server sends the current attributes widget server to the client.

[0054] 如图5所示,为本发明实施例提供的一种基于Symbian系统客户端与Web服务器之间管理插件的方法;设图中插件1为依托于Symbian系统客户端可运行的exe等类型的程序;Web服务器提供Symbian系统客户端运行的插件下载,插件升级等工作。 [0054] As shown in FIG 5, a method provided by the widget management system between a client and Symbian based Web server embodiment of the present invention; FIG plug 1 is provided based on the Symbian system exe client can run like type of program; Web server provides Symbian operating system client plug-in download, plug-in upgrade work. 其中,所述Symbian系统客户端可以用于专门调用并执行各个插件,以及检查插件是否需要更新,如果需要更新,则联网到指定的web服务器更新插件的版本,下载并提示用户安装该插件。 Wherein the Symbian system can be used for special client called and executed whether each plug-in, and check-ins need to be updated, if necessary update, the networked version of the web server to update the plugin specified, the user is prompted to download and install the plugin. 下面以Symbian系统客户端管理用户A运行的插件1的具体流程为例,对本发明实施例提供的管理插件的方法进行详细说明,其具体流程如下: The following specific procedure widget Symbian client management system 1 of the user A's operation as an example, a method of managing plug according to an embodiment of the present invention in detail, the specific process is as follows:

[0055] 步骤500,客户端获取当前服务器插件的属性。 [0055] Step 500, the client obtains properties of the current server plug-ins.

[0056] 步骤501,客户端获取到用户A运行插件1的指令;具体的讲,就是客户端可以通过Symbian插件管理应用界面,获取用户点击插件1的指令;其中,所述插件属性包括:插件唯一标识,插件名称、插件版本号、下载统一资源定位符、插件大小、插件简介、插件发布时间、开发公司。 [0056] Step 501, the client obtains the user A runs the instruction insert 1; Specifically speaking, Symbian client can interface widget management application, the user clicks on Get command plug 1; and wherein the insert comprises attributes: widget unique identification, the name of plug-ins, plug-in version number, download a uniform resource locator, the size of the plug, the plug-profile, plug-in release time, the development of the company.

[0057] 需要说明的是,当时是客户端接收到用户A运行插件1的指令后,根据所述插件1 的插件唯一标识,客户端会将所述插件唯一标识加载至内存中,并从当前服务器中获取最新的插件属性;具体的讲,就是获取当前服务器各个插件的最新的属性配置列表。 [0057] Incidentally, when a client receives a user instruction A running insert 1, the insert plug 1 according to the unique identifier, the client sends a unique identification widget loaded into memory, and the current get the latest server plug-in properties; specifically speaking, it is to get the most current list of each plug-property configuration server.

[0058] 步骤502,客户端根据所述用户指令中插件1属性,客户端判断是否需要获取所述插件1 ;具体的讲,就是客户端需要检查插件1是否安装,即已经存在与本地。 [0058] Step 502, the client according to the user instruction attribute plug 1, the client determines whether to obtain the insert 1; Specifically speaking, the client needs to check whether the installed plug 1, i.e. already exists locally. 如果插件1 已安装或并无升级提示,则客户端可以直接加载并运行插件1,流程结束。 If the plug 1 is installed or not upgrade prompt, the client can directly load and run plug 1, the process ends. 如果插件1已安装,则根据已经存储在本地的插件1属性以及与其对应的当前服务器中存储的该插件1的属性,客户端还可以判断所述已存储在本地的插件1的属性是否需要更新;如果所述已存储在本地的插件1不需要更新,则客户端运行所述插件;如果所述已存储在本地的插件1需要更新,则客户端提示用户并连接网络服务器,从服务器下载更新后插件1 ;客户端下载完成更新后的插件1,运行更新后的插件1。 If the plug 1 is already installed, the plug according to the current server is already stored locally in the plug 1 and the corresponding attribute stored in the attribute 1, the client also determines whether the stored locally to update the properties of a plugin ; if the locally stored insert 1 need not be updated, the client running the insert; if the locally stored in a plug needs to be updated, the client prompts the user to connect to the network and the server, to download the update from the server after the plug 1; client download is complete plug-in updated 1, run the updated plug-ins 1. 如果客户端检查插件1并未安装,则提示用户并连接网络服务器,下载插件1。 If the client is not installed 1 check-ins, and then prompts the user to connect to the network server, download the plug 1.

[0059] 步骤503,如果需要获取所述插件1,则客户端从服务器下载所述插件1 ; [0059] Step 503, if the need to obtain 1, the client downloading the widget from the widget server 1;

[0060] 步骤504,客户端运行所述插件1,流程结束。 [0060] Step 504, the operation of a plug-in client, the process ends.

[0061] 需要说明的是,以上所述步骤的次序没有固定的限制,可以根据实际情况调整步骤的顺序。 [0061] Incidentally, the order of the above steps is no fixed limit, the order of the steps may be adjusted according to the actual situation.

[0062] 如图6所示,为本发明实施例提供的一种客户端;该客户端包括: [0062] As shown in FIG 6 A client according to an embodiment of the present invention; the client comprises:

[0063] 指令获取单元601,用于获取用户指令;所述用户指令携带有插件属性; [0063] The instruction fetch unit 601, configured to obtain a user instruction; the user command carries a plug-in properties;

[0064] 判断单元602,用于根据所述用户指令中插件属性,判断是否需要获取所述插件; [0064] determination unit 602, according to the user instruction for plug-in properties, determines whether to obtain the insert;

[0065] 下载单元603,用于如果需要获取所述插件,则从服务器下载所述插件; [0065] The download unit 603, if necessary to obtain the insert, the insert downloading from the server;

[0066] 运行单元604,用于如果不需要获取所述插件,则运行所述插件。 [0066] execution unit 604, if not required for acquiring the widget, the widget run.

[0067] 其中,所述判断单元602,包括: [0067] wherein, the determination unit 602, comprising:

[0068] 属性获取子单元6021,用于获取用户指令中的插件属性; [0068] The attribute acquisition sub-unit 6021, configured to obtain user attributes widget instruction;

[0069] 判断子单元6022,用于根据所述用户指令中的插件属性,判断所述插件是否已存储在本地; [0069] determination sub-unit 6022, according to the user instruction for plug-in attribute, determines whether the widget has been stored locally;

[0070] 所述下载单元603,用于如果所述插件未存储在本地,则从服务器下载所述插件; [0070] The download unit 603 for, if the insert is not stored locally, downloading the widget from a server;

[0071] 所述运行单元604,用于如果所述插件已存储在本地,则运行所述插件。 [0071] The operation unit 604 is used if the insert has been stored locally, then the insert operation.

[0072] 需要注意的是,该客户端还包括: [0072] Note that the client further comprises:

[0073] 属性信息获取单元605,用于获取当前服务器插件的属性。 [0073] The attribute information obtaining unit 605, configured to obtain the current server plugin properties.

[0074] 还需要注意的是,所述运行单元604,包括: [0074] It is also noted that the operation unit 604, comprising:

[0075] 判断子单元6041,用于根据已经存储在本地的插件属性以及与其对应的当前服务器中存储的该插件的属性,判断所述已存储在本地的插件的属性是否需要更新; [0075] determination sub-unit 6041, according to the properties of the plug-in is already stored in the local server's plug-in properties and the current corresponding thereto is stored, it is determined whether or not the stored in the local property widget needs to be updated;

[0076] 运行子单元6042,用于如果所述已存储在本地的插件不需要更新,则运行所述插件; [0076] The execution sub-unit 6042, if a need to update the locally stored plug, the plug is run;

[0077] 所述下载单元603,用于如果所述已存储在本地的插件需要更新,则从服务器下载更新后插件; [0077] The download unit 603 configured to update the locally stored if the plug, the plug from the server to download the update;

[0078] 所述运行子单元6042,还用于下载完成更新后的插件,运行更新后的插件。 [0078] The execution sub-unit 6042 is further configured to update the widget download is complete, run the updated plug.

[0079] 如图7所述,为本发明实施例提供的一种服务器;该服务器包括: [0079] FIG 7, A server-based embodiment of the invention is provided; the server comprising:

[0080] 请求获取单元701,用于获取客户端发送的插件下载请求;所述插件下载请求中携带有插件属性; [0080] The request acquisition unit 701, a plug-in acquiring a download request sent by a client; the plug-in download request carries a plug-in properties;

[0081] 下发单元702,用于根据插件属性,下发所述客户端请求的插件。 [0081] issuing unit 702, a widget according to widget attributes, the client issued requests.

[0082] 需要注意的是,所述下发单元702,还用于下发当前服务器插件的属性给所述客户端。 [0082] Note that, the issuing unit 702 is further configured to attribute the current widget server delivers to the client.

[0083] 如图8所述,为本发明实施例提供的一种管理插件的系统;该系统包括:如上所述任意一项的客户端和与其对应的服务器。 [0083] As shown in FIG 8, the present system for managing widget to an embodiment of the invention; the system comprising: any one of a client and a server corresponding thereto as described above. 设所述客户端为基于Symbian系统的客户端,所述服务器为Web服务器。 The client is provided based on the Symbian client system, the server is a Web server. 其中,所述基于Symbian系统的客户端用于管理如图所示的插件1、插件2、……、插件N。 Wherein, based on the Symbian client terminal system for managing plug shown in FIG. 1, the insert 2, ......, plug N. 所述Symbian系统的客户端管理所述插件的过程具体可以参见上述如图5所示的具体流程。 The insert client management process of the Symbian system may specifically refer to the specific procedure shown in FIG. 5. [0084] 本发明实施例提供的管理插件的方法、装置以及系统,通过获取用户指令;所述用户指令携带有插件属性;根据所述用户指令中插件属性,判断是否需要获取所述插件;如果需要获取所述插件,则从服务器下载所述插件;如果不需要获取所述插件,则运行所述插件。 [0084] A method for managing widget according to an embodiment of the present invention, apparatus and a system, by obtaining a user instruction; the user command carries a widget attributes; plug according to the user instruction attribute, determines whether to obtain the insert; if need to get the plug-in from the server to download the plug-in; if you do not get the plug-in, then run the plug-in. 由于本发明实施例是通过管理功能独立插件来完成各种软件程序中需要实现的各种功能,所以,使得插件之间的耦合性较松,扩展性较强。 Since the embodiment of the present invention is to perform various functions required in various software programs realized by an independent plug-in management functions, so that the coupling between the loose plug, strong expansibility. 也就是说,不同软件中完成相同的功能,仅需判断本地是否下载有实现该功能的插件即可,无需重复的下载不同的软件。 In other words, different software do the same thing, only to determine whether there is a local download plug-ins can achieve this function, no need to repeat the download different software. 这样, 就大大减少了各种软件程序之间大量重复的功能代码,降低了软件的耦合性,与此同时,也大大降低了系统内存资源的占用量,提高了系统的运行效率。 Thus, greatly reducing the amount of duplication between various software programs function code, reducing the coupling of the software, while also greatly reducing the footprint of the system's memory resources and improve the efficiency of the system.

[0085] 通过以上的实施方式的描述,本领域普通技术人员可以理解:实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,包括如上述方法实施例的步骤,所述的存储介质,如:ROM/RAM、磁碟、光盘等。 [0085] By the above described embodiments, those of ordinary skill in the art will be understood: the foregoing embodiments all or part of the method steps may be hardware instructed by a program, the program may be stored in a the computer readable storage medium, when the program is executed, the method comprising the steps as described in the embodiment, the storage medium, such as: ROM / RAM, magnetic disk, optical disk.

[0086] 以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。 [0086] The above are only specific embodiments of the present invention, but the scope of the present invention is not limited thereto, any skilled in the art in the art within the technical scope of the present invention is disclosed, variations may readily occur or Alternatively, it shall fall within the protection scope of the present invention. 因此,本发明的保护范围应以权利要求的保护范围为准。 Accordingly, the scope of the present invention should be defined by the scope of the claims.

Claims (10)

  1. 1. 一种管理插件的方法,其特征在于,包括: 获取用户指令;所述用户指令携带有插件属性;根据所述用户指令中插件属性,判断是否需要获取所述插件; 如果需要获取所述插件,则从服务器下载所述插件; 如果不需要获取所述插件,则运行所述插件。 A method of managing a plug, wherein, comprising: obtaining a user instruction; the user command carries a widget attributes; plug according to the user instruction attribute, determines whether to obtain the insert; if the need to obtain plug-in, from the server to download the plug-in; if you do not get the plug-in, then run the plug-in.
  2. 2.根据权利要求1所述的管理插件的方法,其特征在于,所述插件属性包括:插件唯一标识,插件名称、插件版本号、下载统一资源定位符、插件大小、插件简介、插件发布时间、开发者姓名、开发公司。 2. The method according to claim 1 management plug, wherein the insert comprises attributes: unique identification plug, plug-in name, plugin version number, a uniform resource locator download, the size of the plug, plug profile, plug-in Published , the developer name, the development company.
  3. 3.根据权利要求2中所述的管理插件的方法,其特征在于,所述根据所述用户指令中插件属性,判断是否需要获取所述插件的步骤,包括:获取用户指令中的插件属性;根据所述用户指令中的插件属性,判断所述插件是否已存储在本地; 所述如果需要获取所述插件,则从服务器下载所述插件的步骤为: 如果所述插件未存储在本地,则从服务器下载所述插件; 所述如果不需要获取所述插件,则运行所述插件的步骤为: 如果所述插件已存储在本地,则运行所述插件。 The widget management method according to claim 2, characterized in that, the plug according to the user instruction attribute, determines whether to insert said acquisition step, comprising: obtaining a user instruction widget attributes; according to the user instruction widget attributes, determining whether the insert has been stored locally; if the need to obtain the insert, the insert from the server to download the steps of: if the plug is not stored locally, downloading the widget from a server; if not need to obtain the said plug, the plug is run step: if the insert has been stored locally, then the insert operation.
  4. 4.根据权利要求3所述的管理插件的方法,其特征在于,该方法还包括: 获取当前服务器插件的属性。 4. The method of claim 3 according to claim widget management, wherein the method further comprises: obtaining the current server plugin properties.
  5. 5.根据权利要求4中所述的管理插件的方法,其特征在于,所述插件已存储在本地,则运行所述插件的步骤,还包括:根据已经存储在本地的插件属性以及与其对应的当前服务器中存储的该插件的属性, 判断所述已存储在本地的插件的属性是否需要更新;如果所述已存储在本地的插件不需要更新,则运行所述插件; 如果所述已存储在本地的插件需要更新,则从服务器下载更新后插件; 下载完成更新后的插件,运行更新后的插件。 The widget management method according to claim 4, wherein said step of locally widget, the widget run stored, further comprising: the widget is already stored in the local property and the corresponding current attributes stored in the widget server determines whether the stored local attribute widget needs to be updated; if the locally stored plug need not be updated, the widget run; if already stored in the local plug-in needs to be updated from the server to download updated plug-in; the download is complete plug the updated plug-ins to run after the update.
  6. 6. 一种客户端,其特征在于,包括:指令获取单元,用于获取用户指令;所述用户指令携带有插件属性; 判断单元,用于根据所述用户指令中插件属性,判断是否需要获取所述插件; 下载单元,用于如果需要获取所述插件,则从服务器下载所述插件; 运行单元,用于如果不需要获取所述插件,则运行所述插件。 A client, characterized by comprising: an instruction fetch unit, configured to obtain a user instruction; the user command carries a widget attributes; determining means, according to the user instruction for plug-in properties, determines whether to obtain the insert; download unit, if necessary for acquiring the widget, the widget downloaded from the server; running unit configured to acquire the widget if not, the operation of the plug.
  7. 7.根据权利要求6中所述的客户端,其特征在于,所述判断单元,包括: 属性获取子单元,用于获取用户指令中的插件属性;判断子单元,用于根据所述用户指令中的插件属性,判断所述插件是否已存储在本地;所述下载单元,用于如果所述插件未存储在本地,则从服务器下载所述插件; 所述运行单元,用于如果所述插件已存储在本地,则运行所述插件。 7. A client according to claim 6, wherein the determination unit comprises: attribute acquisition sub-unit, configured to obtain user attributes widget instruction; determining subunit, according to the user instructions for the plug-in attribute, determines whether the insert has been stored locally; the downloading unit for downloading the widget from a server if the plug is not stored locally; the operating unit, for if the insert stored locally, then the insert operation.
  8. 8.根据权利要求7所述的客户端,其特征在于,该客户端还包括: 属性信息获取单元,用于获取当前服务器插件的属性。 The client according to claim 7, wherein the client further comprises: an attribute information acquisition unit for acquiring the current server plugin properties.
  9. 9.根据权利要求8中所述的客户端,其特征在于,所述运行单元,包括:判断子单元,用于根据已经存储在本地的插件属性以及与其对应的当前服务器中存储的该插件的属性,判断所述已存储在本地的插件的属性是否需要更新;运行子单元,用于如果所述已存储在本地的插件不需要更新,则运行所述插件; 所述下载单元,用于如果所述已存储在本地的插件需要更新,则从服务器下载更新后插件;所述运行子单元,还用于下载完成更新后的插件,运行更新后的插件。 9. The client of claim 8, wherein said execution unit, comprising: a determining subunit, for the plug according to the already stored in the local storage of the server plug-in properties and the current corresponding thereto in attribute, determines whether the stored local attribute widget needs to be updated; run subunit, for locally stored if the plug need not be updated, the widget run; the downloading means for, if the stored locally plug needs to be updated from the server to download updated widget; the sub-operating unit is further configured to download the plug after completion of the update, the update operation of the plug.
  10. 10. 一种服务器,其特征在于,该服务器包括:请求获取单元,用于获取客户端发送的插件下载请求;所述插件下载请求中携带有插件属性;下发单元,用于根据插件属性,下发所述客户端请求的插件以及下发当前服务器插件的属性给所述客户端。 10. A server, wherein the server comprising: request obtaining means for obtaining plug-in download request sent by a client; the plug-in download request carries a widget attributes; issuing unit, according to plug-in properties, issued the client request is issued and the current widget attributes widget server to the client.
CN 201010611893 2010-12-29 2010-12-29 Method, device and system for managing plug-in module CN102571860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010611893 CN102571860A (en) 2010-12-29 2010-12-29 Method, device and system for managing plug-in module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010611893 CN102571860A (en) 2010-12-29 2010-12-29 Method, device and system for managing plug-in module

Publications (1)

Publication Number Publication Date
CN102571860A true true CN102571860A (en) 2012-07-11

Family

ID=46416332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010611893 CN102571860A (en) 2010-12-29 2010-12-29 Method, device and system for managing plug-in module

Country Status (1)

Country Link
CN (1) CN102571860A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968321A (en) * 2012-11-22 2013-03-13 用友软件股份有限公司 Application program installation device and application program installation method
CN103795740A (en) * 2012-10-29 2014-05-14 腾讯科技(深圳)有限公司 Downloading method of plug-in installation packages and downloading terminal
CN104516750A (en) * 2013-09-29 2015-04-15 中国石油天然气股份有限公司 Method and device for achieving plug-in integration and management in SCADA (supervisory control and data acquisition) system
CN105407130A (en) * 2015-09-25 2016-03-16 成都趣点科技有限公司 Mobile client plug-in system and mobile client plug-in processing method
CN106095458A (en) * 2016-06-20 2016-11-09 腾讯科技(深圳)有限公司 Method and device for managing plug-ins in application

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184618A1 (en) * 2001-06-04 2002-12-05 Vasanth Bala Networked client-server architecture for transparently transforming and executing applications
CN101561915A (en) * 2009-06-05 2009-10-21 阿里巴巴集团控股有限公司 Plug-in unit acquiring method, system and device thereof
CN101571809A (en) * 2009-05-14 2009-11-04 阿里巴巴集团控股有限公司 Implementation method of plug-in registration and device thereof
CN101770366A (en) * 2009-11-27 2010-07-07 山东中创软件商用中间件股份有限公司 Storing and managing method for eclipse inserter based on Web service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184618A1 (en) * 2001-06-04 2002-12-05 Vasanth Bala Networked client-server architecture for transparently transforming and executing applications
CN101571809A (en) * 2009-05-14 2009-11-04 阿里巴巴集团控股有限公司 Implementation method of plug-in registration and device thereof
CN101561915A (en) * 2009-06-05 2009-10-21 阿里巴巴集团控股有限公司 Plug-in unit acquiring method, system and device thereof
CN101770366A (en) * 2009-11-27 2010-07-07 山东中创软件商用中间件股份有限公司 Storing and managing method for eclipse inserter based on Web service

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103795740A (en) * 2012-10-29 2014-05-14 腾讯科技(深圳)有限公司 Downloading method of plug-in installation packages and downloading terminal
CN102968321A (en) * 2012-11-22 2013-03-13 用友软件股份有限公司 Application program installation device and application program installation method
CN102968321B (en) * 2012-11-22 2016-05-25 用友优普信息技术有限公司 Application installation apparatus and method for application installation
CN104516750A (en) * 2013-09-29 2015-04-15 中国石油天然气股份有限公司 Method and device for achieving plug-in integration and management in SCADA (supervisory control and data acquisition) system
CN105407130A (en) * 2015-09-25 2016-03-16 成都趣点科技有限公司 Mobile client plug-in system and mobile client plug-in processing method
CN106095458A (en) * 2016-06-20 2016-11-09 腾讯科技(深圳)有限公司 Method and device for managing plug-ins in application

Similar Documents

Publication Publication Date Title
US6272677B1 (en) Method and system for automatic detection and distribution of code version updates
US6742028B1 (en) Content management and sharing
US20080141244A1 (en) Apparatus and methods for client-driven server-side installation
US5919247A (en) Method for the distribution of code and data updates
US20040003390A1 (en) System and method for installing a software application in a non-impactfull manner
US20070150478A1 (en) Downloading data packages from information services based on attributes
US7062765B1 (en) System and method for updating information via a network
US20030204843A1 (en) Automated installation of an application
US20030233483A1 (en) Executing software in a network environment
US7290258B2 (en) Managing multiple devices on which operating systems can be automatically deployed
US20020078222A1 (en) Updating information in network devices
US20060073820A1 (en) Method and apparatus for remote control and updating of wireless mobile devices
US20030097433A1 (en) Platform-independent apparatus and method for automatically searching, distributing and installing software
US20040188511A1 (en) System to automatically process components on a device
US20040010786A1 (en) System and method for automatically upgrading a software application
US6918113B2 (en) Client installation and execution system for streamed applications
US7219140B2 (en) Configuration and management systems for mobile and embedded devices
US7062567B2 (en) Intelligent network streaming and execution system for conventionally coded applications
US7043524B2 (en) Network caching system for streamed applications
US6959320B2 (en) Client-side performance optimization system for streamed applications
US20040267716A1 (en) Using task sequences to manage devices
US20080301672A1 (en) Installation of a Software Product on a Device with Minimal User Interaction
US20030004882A1 (en) Optimized server for streamed applications
US20020083183A1 (en) Conventionally coded application conversion system for streamed delivery and execution
US20020087883A1 (en) Anti-piracy system for remotely served computer applications

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C12 Rejection of a patent application after its publication