CN105183468A - Open plugin processing apparatus and distributed system - Google Patents

Open plugin processing apparatus and distributed system Download PDF

Info

Publication number
CN105183468A
CN105183468A CN201510546730.6A CN201510546730A CN105183468A CN 105183468 A CN105183468 A CN 105183468A CN 201510546730 A CN201510546730 A CN 201510546730A CN 105183468 A CN105183468 A CN 105183468A
Authority
CN
China
Prior art keywords
unit
plug
distributed system
open
interface
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201510546730.6A
Other languages
Chinese (zh)
Inventor
钮艳
杜翠兰
刘洋
易立
李扬曦
付戈
翟羽佳
项菲
刘晓辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
National Computer Network and Information Security Management Center
Original Assignee
National Computer Network and Information Security Management Center
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
Application filed by National Computer Network and Information Security Management Center filed Critical National Computer Network and Information Security Management Center
Priority to CN201510546730.6A priority Critical patent/CN105183468A/en
Publication of CN105183468A publication Critical patent/CN105183468A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides an open plugin processing apparatus and a distributed system. The open plugin processing apparatus comprises: a plugin interface specification module, used to provide a unified plugin interface specification; a plugin instance module, used to develop a plugin by a user; and a plugin management module, which realizes management for the plugin in the plugin instance module by using the plugin interface specification module. The open plugin processing apparatus and the distributed system are suitable for the whole life cycle of distributed plugin development, and improve the development, deployment and operation efficiency of the plugin.

Description

A kind of open plug-in unit treating apparatus and distributed system
Technical field
The present invention relates to Development of Distributed System technical field, particularly relate to a kind of open plug-in unit treating apparatus and distributed system.
Background technology
Along with the fast development of large data and cloud computing technology, distributed system has become the effective means improving application service concurrency, reliability.Simultaneously the typical feature of distributed system disposes multiple application on a large amount of server nodes, the application run according to load or each server node of other factor coordinated allocation by resource scheduling system during operation.The application that through part is deployed on a large amount of distributed server node is often of a great variety, separate, sometimes there is the problem of function overlap between each application, for the application and development of distributed system, deployment, operation maintenance, upgrading upgrade and bring very large challenge.Therefore, need a kind of open plug-in unit treating apparatus and distributed system, to solve the above-mentioned technical matters existed in prior art.
Summary of the invention
The invention provides a kind of open plug-in unit treating apparatus and distributed system, be applicable to the life complete period of distributed developing plug, improve the efficiency of developing plug, deployment and operation.
The technical solution used in the present invention is:
A kind of open plug-in unit treating apparatus, it comprises: card i/f specification module, for providing unified card i/f specification; Plug-in unit example module, for supplying User Exploitation plug-in unit; Described plug-in management module realizes the management to plug-in unit in described insert embodiment module by described card i/f specification module.
Preferably, described plug-in management module comprises plug-in registration administrative unit, accordingly, described card i/f specification module comprises plug-in unit and describes interface, described plug-in unit describes interface, for describing the function that described plug-in unit possesses, described plug-in unit is to the requirement of execution environment and the attribute defining described plug-in unit; Described plug-in registration administrative unit describes by described plug-in unit the relevant information that interface obtains described plug-in unit, and by described plug-in registration on the Servers-all node of described distributed system.
Preferably, described plug-in management module comprises plug-in unit and disposes updating block, accordingly, described card i/f specification module comprises disposes more new interface, described deployment more new interface disposes updating block by described plug-in unit, is automatically distributed on the Servers-all node of described distributed system by described plug-in unit.
Preferably, described plug-in management module comprises plug-in unit and performs administrative unit, accordingly, described card i/f specification module comprises execution management interface, described execution management interface performs task start that administrative unit issues, time-out according to user by described plug-in unit and stops the operation of described plug-in unit, and after task completes, returns execution result perform administrative unit to described plug-in unit.
Preferably, described plug-in management module comprises board state monitoring unit, accordingly, described card i/f specification module comprises condition monitoring interface, described condition monitoring interface, for the resources occupation rate of the running status and described distributed system that monitor described plug-in unit, and the resources occupation rate of the running status of described plug-in unit and described distributed system is sent to described board state monitoring unit.
Preferably, described condition monitoring interface, also for: if the running status of described plug-in unit occurs abnormal, then restart described plug-in unit.
Present invention also offers a kind of distributed system, it comprises: comprise according to open plug-in unit treating apparatus mentioned above.
Adopt technique scheme, the present invention at least has following effect:
Open plug-in unit treating apparatus provided by the invention is a general open developing plug framework, is applicable to the life complete period of distributed developing plug.Open plug-in unit treating apparatus of the present invention by abstract for independent utility be plug-in unit, and the function of plug-in unit to be coupled with the public function solution of distributed system itself, to realize the easily extensible of distributed plug-in unit.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of the open plug-in unit treating apparatus for distributed system of the present invention.
Embodiment
For further setting forth the present invention for the technological means reaching predetermined object and take and effect, below in conjunction with accompanying drawing and preferred embodiment, the present invention is described in detail as after.
Open plug-in unit treating apparatus for distributed system provided by the invention comprises card i/f specification module, plug-in unit example module and plug-in management module, and open plug-in unit treating apparatus and the various piece thereof of distributed system of the present invention will be described in detail belows.
As shown in Figure 1, the open plug-in unit treating apparatus for distributed system of the present invention comprises: card i/f specification module 20, for providing unified card i/f specification.Plug-in unit example module 30, for supplying User Exploitation plug-in unit.Plug-in management module 10 realizes the management to plug-in unit in insert embodiment module by card i/f specification module.The exploitation of the plug-in unit of distributed system is realized thus by this open plug-in unit treating apparatus.Here plug-in unit refers to software application, can can realize that plug-in unit is quick must add distributed system thus in the developing plug stage, and in the developing plug stage, each plug-in unit example follows unified card i/f specification, distributed system can be incorporated fast after having developed, expand the ability of distributed system thus in time.At plug-in unit deployment phase, plug-in unit automatic distributing can be disposed on the Servers-all node of distributed system by the automatic deployment function that this open plug-in unit treating apparatus provides.In the plug-in component operation stage, the task that plug-in management module is submitted to according to user, calls plug-in unit to execute the task by card i/f specification module.
As preferably, plug-in management module comprises plug-in registration administrative unit, accordingly, card i/f specification module comprises plug-in unit and describes interface, plug-in unit describes interface, and for describing the function that plug-in unit possesses, plug-in unit is to the requirement of execution environment and the attribute defining plug-in unit.Plug-in registration administrative unit describes by plug-in unit the relevant information that interface obtains plug-in unit, and by plug-in registration on the Servers-all node of distributed system.Thus in the developing plug stage, open plug-in unit, by plug-in unit, interface is described and plug-in registration administrative unit is registered in distributed system.
Further, plug-in management module comprises plug-in unit and disposes updating block, and accordingly, card i/f specification module comprises disposes more new interface, dispose more new interface and dispose updating block by plug-in unit, plug-in unit is automatically distributed on the Servers-all node of distributed system.Thus, at plug-in unit deployment phase, plug-in unit is disposed updating block and is disposed more new interface being automatically distributed on the Servers-all node of distributed system by plug-in unit.
In addition, plug-in management module comprises plug-in unit and performs administrative unit, accordingly, card i/f specification module comprises execution management interface, perform management interface perform by plug-in unit task start, time-out that administrative unit issues according to user and stop the operation of plug-in unit, and after task completes, return execution result perform administrative unit to plug-in unit.Thus in the plug-in component operation stage, the task that distributed system is submitted to according to user, performs administrative unit by plug-in unit and calls the plug-in unit being deployed in distributed system.
In addition, plug-in management module comprises board state monitoring unit, accordingly, card i/f specification module comprises condition monitoring interface, condition monitoring interface, for the resources occupation rate of the running status and distributed system that monitor plug-in unit, and the running status of plug-in unit and the resources occupation rate of distributed system are sent to board state monitoring unit.Further, condition monitoring interface, also for: if the running status of plug-in unit occurs abnormal, then restart plug-in unit.
Present invention also offers a kind of distributed system, it comprises: comprise according to open plug-in unit treating apparatus mentioned above.
The open card cage that the present invention adopts improves software development efficiency, solve the important technology of software reuse, extensibility and maintainability, each plug-in unit is by following unified predefine card i/f specification, distributed system is called plug-in unit by this card i/f specification, can dynamically add when system cloud gray model or remove plug-in unit thus, realize the flexible expansion of distributed system function.
Specifically, in the developing plug stage, add-in developer only need pay close attention to the application-specific logic of the core of plug-in unit, by following the card i/f specification that distributed system provides, plug-in unit simply, rapidly can be added distributed system, the development efficiency of plug-in unit can be improved significantly, reduce the cost of development that distributed system produces due to what's new.At plug-in unit deployment phase, plug-in unit automatic distributing newly developed or to be updated can be disposed server nodes all to distributed system by the automatic deployment upgrade function that open plug-in unit treating apparatus of the present invention provides.In the plug-in component operation stage, the task that distributed system can be submitted to according to user, calls plug-in unit to perform this task, and constantly monitors the running status of plug-in unit, ensures that plug-in unit runs sustainedly and stably.
Below by a concrete distributed reptile example, open plug-in unit treating apparatus provided by the invention is described further:
Step one: in the development phase, reptile add-in developer only need pay close attention to the core logic of reptile plug-in unit, by following the reptile card i/f specification that distributed system provides, this reptile plug-in unit can be added system rapidly.
Step 2: at deployment phase, disposes the Servers-all node to distributed system by reptile plug-in unit automatic distributing.
Step 3: in the operation phase, the task that distributed system is submitted to according to user, calls reptile plug-in unit and crawls, and constantly monitors the running status of reptile plug-in unit, ensures that reptile plug-in unit runs sustainedly and stably.
Step 4: in more new stage, developer on the basis of amendment reptile pin function logic, upgrading reptile pin function.
Step 5: in the upgrading stage, disposes reptile plug-in unit automatic distributing to be upgraded on the Servers-all node of distributed system.
This opening card cage is applicable to distributed reptile plug-in unit, is also applicable to distributed testing plug-in unit, and visible exploitation, deployment, operation and the upgrading adopting open plug-in unit treating apparatus of the present invention can realize distributed plug-in unit rapidly upgrades.
By the explanation of embodiment, should to the present invention for the technological means reaching predetermined object and take and effect be able to more deeply and concrete understanding, but appended diagram be only to provide with reference to and the use of explanation, be not used for being limited the present invention.

Claims (7)

1. an open plug-in unit treating apparatus, is characterized in that, comprising:
Card i/f specification module, for providing unified card i/f specification;
Plug-in unit example module, for supplying User Exploitation plug-in unit;
Described plug-in management module realizes the management to plug-in unit in described insert embodiment module by described card i/f specification module.
2. open plug-in unit treating apparatus according to claim 1, is characterized in that, described plug-in management module comprises plug-in registration administrative unit, and accordingly, described card i/f specification module comprises plug-in unit and describes interface,
Described plug-in unit describes interface, and for describing the function that described plug-in unit possesses, described plug-in unit is to the requirement of execution environment and the attribute defining described plug-in unit;
Described plug-in registration administrative unit describes by described plug-in unit the relevant information that interface obtains described plug-in unit, and by described plug-in registration on the Servers-all node of described distributed system.
3. open plug-in unit treating apparatus according to claim 2, is characterized in that, described plug-in management module comprises plug-in unit and disposes updating block, and accordingly, described card i/f specification module comprises disposes more new interface,
Described deployment more new interface disposes updating block by described plug-in unit, is automatically distributed on the Servers-all node of described distributed system by described plug-in unit.
4. open plug-in unit treating apparatus according to claim 3, is characterized in that, described plug-in management module comprises plug-in unit and performs administrative unit, and accordingly, described card i/f specification module comprises execution management interface,
Described execution management interface performs task start that administrative unit issues, time-out according to user by described plug-in unit and stops the operation of described plug-in unit, and after task completes, returns execution result perform administrative unit to described plug-in unit.
5. open plug-in unit treating apparatus according to claim 3, is characterized in that, described plug-in management module comprises board state monitoring unit, and accordingly, described card i/f specification module comprises condition monitoring interface,
Described condition monitoring interface, for the resources occupation rate of the running status and described distributed system that monitor described plug-in unit, and is sent to described board state monitoring unit by the resources occupation rate of the running status of described plug-in unit and described distributed system.
6. open plug-in unit treating apparatus according to claim 5, is characterized in that, described condition monitoring interface, also for:
If the running status of described plug-in unit occurs abnormal, then restart described plug-in unit.
7. a distributed system, is characterized in that, comprising: comprise open plug-in unit treating apparatus according to any one of claim 1 to 6.
CN201510546730.6A 2015-08-31 2015-08-31 Open plugin processing apparatus and distributed system Pending CN105183468A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510546730.6A CN105183468A (en) 2015-08-31 2015-08-31 Open plugin processing apparatus and distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510546730.6A CN105183468A (en) 2015-08-31 2015-08-31 Open plugin processing apparatus and distributed system

Publications (1)

Publication Number Publication Date
CN105183468A true CN105183468A (en) 2015-12-23

Family

ID=54905567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510546730.6A Pending CN105183468A (en) 2015-08-31 2015-08-31 Open plugin processing apparatus and distributed system

Country Status (1)

Country Link
CN (1) CN105183468A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108153595A (en) * 2018-01-18 2018-06-12 成都无糖信息技术有限公司 A kind of big data distributed task scheduling processing unit based on python
CN109284141A (en) * 2017-07-21 2019-01-29 杭州海康威视数字技术股份有限公司 A kind of insert management system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710535A (en) * 2005-05-10 2005-12-21 上海宝信软件股份有限公司 GIS application system and development method thereof
CN101833465A (en) * 2010-04-23 2010-09-15 中国科学院声学研究所 Embedded system supporting dynamic loading operation of application programs
CN102682014A (en) * 2011-03-14 2012-09-19 腾讯科技(深圳)有限公司 Open-type plug-in module management platform implemented on browser and open-type plug-in module management method
CN103810008A (en) * 2014-02-19 2014-05-21 迈普通信技术股份有限公司 Plug-in loading method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1710535A (en) * 2005-05-10 2005-12-21 上海宝信软件股份有限公司 GIS application system and development method thereof
CN101833465A (en) * 2010-04-23 2010-09-15 中国科学院声学研究所 Embedded system supporting dynamic loading operation of application programs
CN102682014A (en) * 2011-03-14 2012-09-19 腾讯科技(深圳)有限公司 Open-type plug-in module management platform implemented on browser and open-type plug-in module management method
CN103810008A (en) * 2014-02-19 2014-05-21 迈普通信技术股份有限公司 Plug-in loading method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109284141A (en) * 2017-07-21 2019-01-29 杭州海康威视数字技术股份有限公司 A kind of insert management system and method
CN108153595A (en) * 2018-01-18 2018-06-12 成都无糖信息技术有限公司 A kind of big data distributed task scheduling processing unit based on python

Similar Documents

Publication Publication Date Title
US10404551B2 (en) Automated event management
CN102831043B (en) Monitoring method and device for application program
US9311161B2 (en) Automatically configured management service payloads for cloud IT services delivery
WO2019062304A1 (en) Method, device and system for managing computing resources of block chain node
US20150163288A1 (en) Cloud application deployment
CN108141378B (en) Dormant VDU in VNFD
CN104123151A (en) Plug-in management method and device for application program in mobile terminal and mobile terminal
US9507748B2 (en) Platform runtime abstraction
CN104834555A (en) Method for invoking functional module, related device and device repairing method
CN109753300B (en) Algorithm upgrading method, calculation task sending method and related device
CN103795740A (en) Downloading method of plug-in installation packages and downloading terminal
CN105204880A (en) Computer system and setting method of basic input and output system
CN108737499A (en) server configuration method and device
EP3477470A1 (en) Control device, container starting method, and program
CN103885802A (en) Driver installation method and device and client
CN105183528A (en) Server bios upgrading method and system
CN111679888A (en) Deployment method and device of agent container
CN105183468A (en) Open plugin processing apparatus and distributed system
CN112529711B (en) Transaction processing method and device based on block chain virtual machine multiplexing
CN109739868B (en) Data processing method and related equipment thereof
CN111459510A (en) Cross-network operating system installation method and device, electronic equipment and medium
CN103685405A (en) Network service system and firmware updating method
US20150212834A1 (en) Interoperation method of newtork device performed by computing device including cloud operating system in could environment
CN107885574B (en) Deployment method of virtual machine, service node, control device and control node
CN103399786B (en) A kind of based on run time context go out standing posture service implementing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151223

WD01 Invention patent application deemed withdrawn after publication