CN105847026A - Method for extending functions of network management system based on extension points - Google Patents
Method for extending functions of network management system based on extension points Download PDFInfo
- Publication number
- CN105847026A CN105847026A CN201510854366.XA CN201510854366A CN105847026A CN 105847026 A CN105847026 A CN 105847026A CN 201510854366 A CN201510854366 A CN 201510854366A CN 105847026 A CN105847026 A CN 105847026A
- Authority
- CN
- China
- Prior art keywords
- extension
- extension point
- plug
- point
- network management
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The invention relates to the technical field of a network management system, and discloses a method for extending functions of the network management system based on extension points. The method comprises following steps that 1), a universal platform carries out uniform modeling and uniform life cycle monitoring to different forms of extension points, wherein models comprise following attributes: extension point names, extension point types, extension point unique identifiers and plug-ins to which the extension points belong, and the life cycle monitoring contents of the extension points comprise loading, starting, stopping and updating of the extension points; 2), the plug-ins expose the extension point interfaces of the plug-ins based on the semantic rules of the extension points defined by the universal platform; 3), new functions are developed and configured based on an extension point technique; and 4), different extensions are integrated according to different services, thus extending the service functions. The functions of the network management system are extended based on the extension point technique, and the test cost and integration cost are reduced.
Description
Technical field
The present invention relates to network management system technical field, specifically one and realize webmaster based on extension point
The method of expanding of system function.
Background technology
In recent years, OSGI for we provide one pursue modular mode develop, portion
Affixing one's name to, run, manage the mechanism of assembly, its operation characteristic mainly includes modularity, life cycle
Manage, loose coupling is mutual.From the point of view of functional characteristic, OSGI is applicable to that set up module
Change, dynamically management, the componentized system of plug and play, some successful Application of OSGI include
Eclipse, Jboss, Websphere etc..
OSGI component mechanism has been done strong expansion by Eclipse simultaneously, namely our institute
Known to extension point mechanism, in Eclipse, the task of an assembly is roughly divided into two: provide
Extension realizes or statement extension demand, and Eclipse is as the demand of a software product maximum
It is how to allow user to extend easily and these extensions of seamless integration.
Recently decades, software development successively experienced by procedure-oriented, object-oriented, to towards
Component, arriving service-oriented development process again, exploitation based on plug-in unit is that a kind of new software is opened
The pattern of sending out, a plug-in unit is that a concrete business embodies, and plug-in unit is to load based on independent class
Device, can be with isolated operation.
Webmaster, based on plug-in unit, constructs assets, alarm, performance, configuration, system, report
Multiple webmaster such as table business scope platform.The business of webmaster builds based on these domain space.
Each domain space is required for managing multiple professional equipment (EOC/EPON/HFC/ ...), every kind
Professional equipment comprises multiple version, the webmaster demand of each version variantization.According to conventional
Convention, issues a version or a newly-increased little characteristic every time, and webmaster all can over all Integration one
Secondary, waste substantial amounts of integrated cost, old functional stabilization be will also result in the biggest impact,
Test job amount repeatedly is caused to be greatly increased.
Summary of the invention
High, the testing cost for network management system method for developing functions integrated cost of the prior art
High technical problem, the invention discloses one and realizes network management system Function Extension based on extension point
Method.
Technical scheme is as follows:
A kind of method realizing network management system Function Extension based on extension point, it specifically includes following
Step: 1) general-purpose platform carries out unified Modeling and unified Life Cycle to multi-form extension point
Phase monitors, and its model includes with properties: extension point title, extension vertex type, extension point are only
Plug-in unit belonging to one mark and extension point;Extension point life cycle Contents for Monitoring includes: expand
The loading of machine plotting, start, stop and upgrading;2) expansion that plug-in unit defines based on general-purpose platform
The semantic rule of machine plotting, externally exposes the extension point interface of this plug-in unit;3) based on extension point skill
Art exploitation extension;4) according to the integrated different extension of different business, thus business function is realized
Extension.
Further, said method also includes 5) periodically expanded set is recombinated, anti-
Only extension quantity is excessive.
Further, said method also includes: new when expanding to concrete plug-in unit when disposing,
Plug-in unit can listen to self function to be needed to change, and then restarts.
Further, the detailed process of the extension point interface of above-mentioned this plug-in unit of exposure is: first
General-purpose platform starts class, thus starts this plug-in unit, plug-in unit starts when, by general flat
Platform extends some administrative center and loads all of extension point, and obtains the extension point set of this plug-in unit.
Further, above-mentioned based on extension point technological development extension particularly as follows: based on plug-in unit institute
Exposing the requirement exploitation extension of extension point, each expanded set is pertaining only to a plug-in unit, and wraps
Contain multiple extension;Each extension is except title, unique mark, affiliated extension point base attribute
Outward, further comprises simultaneously and need the community set of extension, click in the extension issued based on plug-in unit
The when of row extension, create expanded set, each of extension according to general-purpose platform extension rule
Attribute follows the definition rule of extension.
By using above technical scheme, the invention have the benefit that expansion based on plug-in unit
Machine plotting realizes its extension, thus reaches the purpose of network management system Function Extension, reduces maintenance cost,
And it is not easy to make mistakes.Use the present invention can simplify the development procedure of developer, improve soft
The development efficiency of part;It being in particular in: 1) lightweight is integrated, and each integrated little characteristic only needs
Issue the extension point of correspondence, need not be compiled whole product building;2) to whole product
The function effect of product is smaller, realizes extension by extension point contract mechanism, it is only necessary to extension
Function do less coverage test, will not test on a large scale, save test job
Amount;3) based on extension point exploitation, energy release quickly product attribute, the need in market are timely responded to
Ask;4), in webmaster development process, a trunk version, multiple supporting versions may be there are
Situation, the business in such as company same webmaster product needed district multiple to Chengdu is joined
Set version exploitation, simultaneously need to distinct device type, different editions type are carried out supporting issue,
Based on extension point mechanism, in the case of trunk version is stable, different demands is done extension real
Existing.
The application is with network management system single product and the supporting exploitation of entry as background, in the industry cycle
The Important Thought such as OSGI modularity, extension point are sent out as produced in the case of technical support
Bright, all there is the biggest difference with the patented technology of other companies in multiple dimensions, such as with in
Emerging patent difference on technology realizes: 1) angle is different, in emerging be to solve to obtain ad hoc networks
Network management Object Operations set, it is achieved the flexible deployment of function;This patent mainly solves webmaster system
The problem of system business function extension, is to solve product and the problem of the most supporting exploitation of multiple project.
2) scope is different, in emerging be that configuration webmaster management object environment describes file, this patent is permissible
Create the extension point of the multi-forms such as XML/FILE/JAVA.3) implementation is different, in emerging
Realize the parsing of extension point based on general module, and obtain network management object specific operation set,
Realize the flexible deployment of function;This patent is to dispose based on " general-purpose platform+business plug-in unit "
Under mechanism, it is achieved expanded function, extension is to operate in below plug-in unit separate class loader, permissible
Support hot plug mechanism;4) this patent is to solve a kind of product and multiple project assorted exploitation
Problem, include extension point and regarded as output controlling, integrated, issue, serial of methods of recombinating and stream
Journey, this is not involved with in patent before.
Accompanying drawing explanation
Fig. 1 is the extension point frame schematic diagram of the present invention.
Fig. 2 is that the extension point of the present invention issues sequential chart.
Fig. 3 is the use scene of extension point.
Detailed description of the invention
In order to make the purpose of the present invention, technical scheme and advantage clearer, below in conjunction with
Drawings and Examples, are further elaborated to the present invention.Should be appreciated that this place is retouched
The specific embodiment stated only in order to explain the present invention, is not intended to limit the present invention.
The invention discloses a kind of method realizing network management system Function Extension based on extension point, its
Specifically include below step: 1) general-purpose platform to multi-form extension point carry out unified Modeling
With unified life cycle monitoring, its model includes with properties: extension point title, extension point class
Type, extension point are unique to be identified and extends the plug-in unit belonging to point;Extension point life cycle monitoring
Content includes: extends the loading of point, start, stop and upgrading;2) plug-in unit is based on general
The semantic rule of the extension point of platform definition, externally exposes the extension point interface of this plug-in unit;3)
Based on extension point technological development configuration New function;4) according to the integrated different extension of different business,
Thus realize business function extension;5) periodically expanded set is recombinated, prevent spreading number
Measure excessive.Carry out business scope division by said method network management system according to plug-in unit, extend point
Using plug-in unit as carrier, plug-in unit is by externally exposing the extension point of self, and developer is based on inserting
The extension point of part realizes its extension, thus reaches the purpose of network management system Function Extension, reduces dimension
Protect cost, and be not easy to make mistakes.Use the present invention can simplify the development procedure of developer,
Improve the development efficiency of software.
[step one, general-purpose platform design]
Fig. 1 is extension point frame schematic diagram, as it is shown in figure 1, general-purpose platform responsibility major responsibility bag
Include and extension point is carried out unified standard definition and unified life cycle management.
To expansion type unified definition.In terms of webmaster business realizing mode, webmaster service needed is propped up
Hold the extension point of the multi-forms such as file extent, class extension, data base's extension, from webmaster business
Layering is seen, needs to support front end UI extension point, Batch Processing extension point etc..General-purpose platform needs
Multi-form extension point is carried out unified Modeling.In the present invention, extension point model includes at least
With properties: an extension point title, extension vertex type (file/class), the unique mark of extension point,
The extension point owner (affiliated plug-in unit).
To the extension unified life cycle monitoring management of point.Platform needs the life cycle to extension point
It is monitored management, including extension point is loaded, starts, stopped, upgrading etc..The present invention relates to
And network management system be based on " platform+plug-in " dispose framework, plug-in unit is based on separate class
Loader runs, and can support hot plug mechanism;Dispose new when expanding to concrete plug-in unit, insert
Part can listen to self function to be needed to change, and then restarts.
[step 2, based on plug-in unit expose extension point]
Plug-in unit represents a concrete business module, and plug-in unit can be based on the extension of general-purpose platform definition
Point mechanism, externally exposes extension point, it is achieved the extension of business.Extension point mechanism ensure that exploitation
Personnel have only to based on the corresponding superset of developing plug, according to the semantic rule of extension point definition,
Injection expanded function is to plug-in unit, it is achieved thereby that the extension of business function;Realize based on extension point
The extension of business function, it is not necessary to the business function code that amendment plug-in unit has been carried out, thus drop
Risk that low product is issued and the workload of test.This invention is with network management system field of configuration
Extension realizes as an example, illustrates to expose extension point idiographic flow based on plug-in unit.
Assume that configuring module needs externally to expose three extension points, then realize process as follows:
<plug-in unit=" configuration " belonging to extension point set title=" configuration module extension point set ">
<extension point extension point identification=" mark one " name=" test one " type=" type one "/>
<extension point extension point identification=" mark two " name=" test two " type=" type two "/>
<extension point extension point identification=" mark three " name=" test three " type=" type three "/>
</The extension point set>
When configuration module plug-in needs that different types of extension point is done corresponding dissection process,
The when that plug-in unit starting, first pass through loading configuration module extension point collection object, load configuration
Module all of extension point, idiographic flow is as shown in Figure 2.First general-purpose platform starts class, from
And start plug-in unit, plug-in unit starts when, extend some administrative center by general-purpose platform and load
All of extension point, and obtain the extension point set of this plug-in unit, thus externally expose extension point.
[step 3, exploitation extension]
Field of network management, can be sudden and violent based on plug-in unit institute being extended plug-in unit business function when
The requirement exploitation extension of dew extension point.In the case of realizing Function Extension based on extension, only need
Develop the extension of correspondence, and according to the business function of extension point Rule Extended plug-in unit, thus drop
The risk of low production issue and the workload of test.This invention extends with network management system field of configuration
Realize as an example, exploitation extension idiographic flow is described.
Network management system configuration management part is in supporting new equipment or the new edition of existing device at present
The configuration code coupling of coordinative composition of equipments in this development process and former is high, has and greatly may be used
Property can occur that the code newly write can have the biggest impact to former code or function, cause with
Front function goes wrong.Similar problem is there is also, in order to solve class equally in other modules
As problem, the present invention based on extension point technological development configuration a New function.
<plug-in unit=" configuration " belonging to expanded set title=" configuration module superset ">
<extension point=" extension point identification one " belonging to extension mark=" extension one " name=" test one ">
<The attribute name = "name" id = "logo">extension content one</attribute>
<The attribute name = "name" id = "logo">extension content two</attribute>
<extension/>
<extension point=" extension point identification two " belonging to extension mark=" extension two " name=" test two ">
<The attribute name = "name" id = "logo">extension content three</attribute>
<extension/>
<extension point=" extension point identification three "/belonging to extension mark=" extension three " name=" test three ">
<attribute name="Name four "id =" logo two">extension content four</attribute>
<extension/>
</Expand the collection>
As it appears from the above, each expanded set can only belong to a plug-in unit, and contain multiple expansion
Exhibition;Each extension, except base attributes such as title, unique mark, affiliated extension points, is wrapped simultaneously
Include the community set needing extension.The extension point issued based on plug-in unit is extended when,
Needing to create expanded set according to general-purpose platform extension rule, each attribute of extension must be abided by
Follow the rule realization of the definition of extension.
[step 4, integration release] when developer complete extension exploitation after, project manager
Can pass through one-touch ground Integration of Extended, expansion works and projects should be different catalogues
Deposit, have only to the when of integrated corresponding superset is issued, thus realize corresponding inserting
The extension of part business function.Developer completes the payment of certain function in the way of extension.Logical
After crossing test.Project manager (or being responsible for the role issued) can individually issue this extension.
[step 5, administration extensions], after platform or product accumulate a lot of extension, finds very
The most identical code;Or extension quantity is too many, the when of being not easy to safeguard, system engineer
Or project manager can consider to recombinate extension, so-called restructuring, it is simply that have been carried out
Superset reintegrates corresponding plug-in system, and deletes corresponding extension, and System reorganization is simply
Function Integration Mechanism is carried out below original framework, smaller to the risk of product.
The coefficient gone out given in the above embodiments and parameter, be available to those skilled in the art
Realizing or use invention, invention does not limit and only takes aforementioned disclosed numerical value, without departing from sending out
In the case of bright thought, above-described embodiment can be made all repairing by those skilled in the art
Change or adjust, thus the protection domain of invention is not limited by above-described embodiment, and should be symbol
Close the maximum magnitude of the inventive features that claims are mentioned.
Claims (1)
1. the method realizing network management system Function Extension based on extension point, it specifically includes below step: 1) general-purpose platform carries out unified Modeling and the monitoring of unified life cycle to multi-form extension point, and its model includes with properties: an extension point title, extension vertex type, the unique mark of extension point and the plug-in unit belonging to extension point;Extension point life cycle Contents for Monitoring includes: extends the loading of point, start, stop and upgrading;2) semantic rule of the extension point that plug-in unit defines based on general-purpose platform, externally exposes the extension point interface of this plug-in unit;3) based on extension point technological development extension;4) according to the integrated different extension of different business, thus business function extension is realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510854366.XA CN105847026A (en) | 2015-11-28 | 2015-11-28 | Method for extending functions of network management system based on extension points |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510854366.XA CN105847026A (en) | 2015-11-28 | 2015-11-28 | Method for extending functions of network management system based on extension points |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105847026A true CN105847026A (en) | 2016-08-10 |
Family
ID=56580808
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510854366.XA Pending CN105847026A (en) | 2015-11-28 | 2015-11-28 | Method for extending functions of network management system based on extension points |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105847026A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107579842A (en) * | 2017-07-28 | 2018-01-12 | 江西山水光电科技股份有限公司 | A kind of method of webmaster north orientation product component |
CN110413353A (en) * | 2019-07-25 | 2019-11-05 | 浙江大华技术股份有限公司 | A kind of data processing method, device and storage medium |
CN111427586A (en) * | 2020-03-20 | 2020-07-17 | 杭州有赞科技有限公司 | Management and execution method, system, computer device and computer readable storage medium of extension point and plug-in |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968154A (en) * | 2006-09-15 | 2007-05-23 | 华为技术有限公司 | System and method for service expansion using plug |
CN101150434A (en) * | 2007-10-22 | 2008-03-26 | 中兴通讯股份有限公司 | An object-oriented function deployment method in network management |
CN101499931A (en) * | 2009-03-13 | 2009-08-05 | 中兴通讯股份有限公司 | Function expansion method and system based on distributed environment |
CN102135885A (en) * | 2011-03-22 | 2011-07-27 | 曙光信息产业(北京)有限公司 | Modularized software development architecture |
CN103019763A (en) * | 2012-11-06 | 2013-04-03 | 深圳中兴网信科技有限公司 | Plug-in extension method and plug-in extension method |
CN103927163A (en) * | 2014-03-06 | 2014-07-16 | 中国人民解放军装甲兵工程学院 | Plugin frame processing device and plugin system |
-
2015
- 2015-11-28 CN CN201510854366.XA patent/CN105847026A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1968154A (en) * | 2006-09-15 | 2007-05-23 | 华为技术有限公司 | System and method for service expansion using plug |
CN101150434A (en) * | 2007-10-22 | 2008-03-26 | 中兴通讯股份有限公司 | An object-oriented function deployment method in network management |
CN101499931A (en) * | 2009-03-13 | 2009-08-05 | 中兴通讯股份有限公司 | Function expansion method and system based on distributed environment |
CN102135885A (en) * | 2011-03-22 | 2011-07-27 | 曙光信息产业(北京)有限公司 | Modularized software development architecture |
CN103019763A (en) * | 2012-11-06 | 2013-04-03 | 深圳中兴网信科技有限公司 | Plug-in extension method and plug-in extension method |
CN103927163A (en) * | 2014-03-06 | 2014-07-16 | 中国人民解放军装甲兵工程学院 | Plugin frame processing device and plugin system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107579842A (en) * | 2017-07-28 | 2018-01-12 | 江西山水光电科技股份有限公司 | A kind of method of webmaster north orientation product component |
CN110413353A (en) * | 2019-07-25 | 2019-11-05 | 浙江大华技术股份有限公司 | A kind of data processing method, device and storage medium |
CN111427586A (en) * | 2020-03-20 | 2020-07-17 | 杭州有赞科技有限公司 | Management and execution method, system, computer device and computer readable storage medium of extension point and plug-in |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9792113B2 (en) | Self-describing device module and system and computer-readable medium for the production thereof | |
CN101325509B (en) | Method, system and apparatus for installing software component | |
CN105224466A (en) | A kind of integration test method based on Docker and system | |
CN106371825A (en) | Dynamic form generation method and apparatus for mobile end application interface | |
CN107608706A (en) | A kind of application program automatic heating update method based on functional module | |
CN101114933A (en) | Method, system and terminal for maintaining capability management object, managing capability | |
WO2002035351A1 (en) | A system and method supporting configurable object definitions | |
CN103268226A (en) | Test script file generation method and device | |
CN111857801B (en) | Construction method of mobile application | |
CN105847026A (en) | Method for extending functions of network management system based on extension points | |
CN103338121B (en) | A kind of system management server, method and system thereof | |
CN106569863B (en) | Resource and code modularization-based android app resource updating and repairing method | |
US20130254757A1 (en) | Nesting installations of software products | |
WO2016197953A1 (en) | Method and device for deploying multi-mode base station | |
CN106484452A (en) | A kind of unified configuring management method of software platform and device | |
CN104166546A (en) | Implementation method and system used for data distribution service (DDS) application software and based on model driven architecture (MDA) | |
CN105550116A (en) | Automated test management system | |
CN112000343A (en) | Method and system for deploying multi-version service in Kubernets by using Devops | |
CN108334374A (en) | The method and apparatus of component dynamic load and execution | |
CN101192975B (en) | Access management sub-system of network management system | |
Zúñiga-Prieto et al. | An incremental and model driven approach for the dynamic reconfiguration of cloud application architectures | |
CN102469118B (en) | A kind of method and device realizing information exploitation | |
CN105183468A (en) | Open plugin processing apparatus and distributed system | |
CN104657168A (en) | Client side and method for upgrading client side | |
CN103777956B (en) | A kind of real-time RTI implementation methods |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160810 |
|
RJ01 | Rejection of invention patent application after publication |