CN101170436B - A method for managing template in network management system - Google Patents

A method for managing template in network management system Download PDF

Info

Publication number
CN101170436B
CN101170436B CN200710124574XA CN200710124574A CN101170436B CN 101170436 B CN101170436 B CN 101170436B CN 200710124574X A CN200710124574X A CN 200710124574XA CN 200710124574 A CN200710124574 A CN 200710124574A CN 101170436 B CN101170436 B CN 101170436B
Authority
CN
China
Prior art keywords
template
manager
module
webmaster
steps
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.)
Expired - Fee Related
Application number
CN200710124574XA
Other languages
Chinese (zh)
Other versions
CN101170436A (en
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200710124574XA priority Critical patent/CN101170436B/en
Publication of CN101170436A publication Critical patent/CN101170436A/en
Application granted granted Critical
Publication of CN101170436B publication Critical patent/CN101170436B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for realizing template management in network management which includes the following steps: step A. a network manager develops a template management function module; step B. a client end uses various types of templates to be fixed according to the versions thereof; step A includes step A1 that the network manager develops template management basic function module which includes a template configuration parameter module and a template function manager module which is used to manage other template management basic function modules. The invention is characterizedin that the template management basic function module further includes a user end template management interface module. Since the invention further installed a user end template management interface module when developing the template management basic function module, the user end has a unified template management interface which is ease for users to learn and command.

Description

The implementation method of Template Manager in a kind of webmaster
Technical field
The present invention relates to network management technology, more specifically say the implementation method that relates to Template Manager in a kind of webmaster.
Background technology
In webmaster, configuration management provides the various configurations of management object, enables according to the expection operate as normal.When the configuration feature more complicated, often need provide, and might also have some operational restriction relations between these parameters than multi-parameter, configuration makes mistakes easily.Introduced template for this reason, can be at certain specific function, preserve one group of relevant parameter, so that use during configuration.
A kind of management method of template data is disclosed among the CN200510033768, this method is by being provided with overall template table in service end and the template reference list is effectively managed the template of whole network equipment, template data is stored in network management data Ku Linei, quote the template of overall template table as required by user side, its main purpose is for fear of the repetition of template data in the network management data storehouse.In the implementation procedure of this Template Manager, need the client and server end to be used, the basic step that it is also following general Template Manager implementation method comprises: the definition of A, template parameter, is published to each user side, C, user side and uses template B.This management method is not owing to make definitions to the user side administration interface, so do not have unified administration interface at user side, but which template is client need use the time, as: use alarm template, just go to quote this this template, when not quoting, just this template can not appear on the interface.Cause administration interface not have consistency, the user is difficult to learning and mastering.
And this method is owing to need the client and server end to be used, the software development complexity.
Summary of the invention
Technical problem to be solved by this invention provides the implementation method of Template Manager in the webmaster that a kind of Template Manager interface is unified, the user is easy to learning and mastering.
Method of the present invention may further comprise the steps:
Steps A, webmaster development template management function module;
Step B, user side use various types of templates, and various types of templates are fixed with version;
Steps A comprises steps A 1, webmaster development template management basic function module, the Template Manager basic function module comprises template configuration parameter module, template function manager module, the template function manager module is used for other Template Manager basic function module is managed
It is characterized in that the Template Manager basic function module also comprises user side Template Manager interface module.
Described template parameter comprises the template configuration file, and the template configuration file has been preserved template type information and the various attributes of template, comprises the data message in the template.By the data message in the mode storage data template of template configuration file, and do not adopt the original mode stored information of passing through database, can make the workload that reduces software programming.
Described template configuration document definition comprises template type document definition, template data document definition, and template type is exactly that template is classified according to different functions, and the data of template are exactly the one group parameter value relevant with template.On behalf of a kind of different function, every kind of template type use, and some templates is arranged, the different application scene of representing same function to use under each template type.The relation of template type and template, similar to the relation of class in the Object-Oriented Design and object as shown in Figure 1, to liking the example of class, in like manner, template is the example of template type.Different template types, its parameter value has the different forms of expression, so the form of template data file is by each template regulation.The template type document definition template type keyword, template type attribute, and the essential information of all templates under this template type.The information such as essential information finger print board name, template keyword, template attribute and template data filename of template herein.
The Template Manager basic function module also comprises the template data reader/writer module, and the template type under template data read write line and the template is one to one.The template data read write line is used for reading and writing, the preservation of the data of certain specific template.The data format of this specific template is by the template data document definition, is based on application-specific, thus the template data read write line be with the application-specific template under template type one to one.
Described template configuration file storage is at user side.So only need just can realize Template Manager at user side, not need server end to be used, such software design is fairly simple.
The main interface that described user side Template Manager interface provides user management, used template, the interface comprises all template resource trees, and corresponding to the substrate interface of choosing template.According to the template type file of definition, structural interface shows all templates and certain template type (or template) interface under all template types, the template type.We are called the template directory page interface of template type correspondence, are similar to the index of template, and the quick link of opening its lower bolster is provided.We are called the template page interface of template correspondence.
The operation commonly used at described user side Template Manager interface comprises increase, deletion, importing, derivation, rename, backup, recovery.This is some function keys that the user often uses.
Described steps A comprises steps A 2, webmaster exploitation new template.Can expand template as required like this.
Described steps A 2 may further comprise the steps:
A21, the new template type of interpolation add a relevant configuration item in the template type file;
A22, realization template type catalog page;
A23, the realization template page;
A24, the supporting use of form therewith of the preservation form of template type definition template file, and realization template data read write line interface for this reason.This is the idiographic flow of exploitation new module.
Described step B comprises the step B1 of the user side indicating template page, and step B1 may further comprise the steps:
B11, read template type information;
B12, initialization template resource tree;
B13, choose the every template node on the template resource tree;
B14, load the template page according to the template attribute information;
B15, read template data;
B16, upgrade the template page according to template data.This is a kind of idiographic flow of the user side indicating template page.
The present invention is owing to when webmaster development template management basic function module, set up user side Template Manager interface module, so at user side unified Template Manager interface is arranged, the user is easy to learning and mastering.
Description of drawings
Fig. 1 is the relational structure schematic diagram of template type and template.
Fig. 2 is an atm traffic Template Manager interface structural representation.
Fig. 3 is an atm traffic Template Manager interface structural representation.
Fig. 4 is an alarm level template directory page structure schematic diagram.
Fig. 5 is the process chart of the indicating template page.
Embodiment
The invention will be further described below in conjunction with accompanying drawing and preferred embodiment.
Method described in the embodiment comprises
Steps A, webmaster development template management function module;
Step B, user side use various types of templates, and various types of templates are fixed with version;
Steps A comprises steps A 1, webmaster development template management basic function module, and the Template Manager basic function module comprises template configuration file module, template function manager module, template data reader/writer module, user side Template Manager interface module.
The realization of four basic modules is described respectively below,
The realization of template configuration file:
In order to handle conveniently, the template configuration file all uses XML (EXtensible MarkupLanguage, extensible markup language) document form.The file storage of template configuration described in the embodiment is at user side.
1. template type document definition.
The template type file is template-structure.xml, and it thes contents are as follows:
<?xml?version=″1.0″encoding=″UTF-8″?>
<structure>
<templateType?key=″alarm″
Name=" alarm severity grade "
catalogUiClassesName=″com.zte.ican.template.alarm.TAlarmSeverityTemplateCatal
ogPanel″
templateUiClassesName=″com.zte.ican.template.alarm.TAlarmSeverityTemplatePane
l″>
<template key=" default " name=" default " attibute=" system " remark=" default template "
dataFileName=″alarm-default.xml″/>
<template key=" alarm1 " name=" alarm template 1 " attibute=" user " remark=" ... "
dataFileName=″alarm-alarm1.xml″/>
</templateType>
<templateType?key=″atm″
Name=" atm traffic "
catalogUiClassesName=″com.zte.ican.template.atm.TAtmFluxTemplateCatalogPanel″
templateUiClassesName=″com.zte.ican.template.atm.TAtmFluxTemplatePanel″>
<template key=" atm1 " name=" template A " attibute=" user " remark=" ... "
dataFileName=″atm_atm1.xml″/>
<template key=" atm2 " name=" template B " attibute=" user " remark=" ... "
dataFileName=″atm_atm2.xml″/>
</templateType>
</structure>
We have defined two kinds of template types in this template type, are respectively alarm severity grade template and atm traffic template.
The attribute and the meaning of template type are as follows:
Key template type keyword
Name template type title is used to be shown to the user
The class title is realized at the interface of catalogUiClassesName template directory page correspondence, is used for reflecting when Java realizes generating the template directory page
The class title is realized at the interface of templateUiClassesName page template face correspondence, is used for reflecting when Java realizes generating the template page
The base attribute and the meaning of template are as follows:
Key template keyword needs to guarantee uniqueness
Name template friendly name is used to be shown to the user
Attibute template read-write properties.Read-only during agreement " system ", readable writing when " user " promptly can be revised title
Remark template remark information is used to point out the user template content information
DataFileName template data file name
2. template data document definition.
Different template types, its parameter value has the different forms of expression, so the form of template data file is by each template regulation.
This sentences atm traffic template A example, and its corresponding template data file is atm_atm1.xml, and it thes contents are as follows:
<?xml?version=″1.0″encoding=″UTF-8″?>
<templateData>
<item?flowType=″1″serviceType=″1″qosLeve1=″1″frameDiscard=″true″/>
</templateData>
Preserve the information of four relevant parameters herein, represented the value of discharge pattern, type of service, QoS grade and frame drop policy respectively.
The main interface that the realization at Template Manager interface, described user side Template Manager interface provide user management, used template, the interface comprises all template resource trees, and corresponding to the substrate interface of choosing template.
1. according to the template type file of first step definition, structural interface is window as shown in Figure 2.
The window left side is the template resource tree, shows all templates under all template types, the template type
The window right side shows the template page when front template (atm traffic template A).Because the atm traffic template is fairly simple, the template directory page is identical with the template page.For alarm grade template, as shown in Figure 3, Figure 4, its template directory page is different with the template page
2. the Template Manager interface also needs to provide the user operation commonly used, as shown in Figure 2 each action button of the bottom of window.
The realization of template data read write line:
With atm traffic template A is example, and we realize reading and writing the read write line of xml file, and the content of xml file is read in internal memory as the content of template A, again the content of template A is preserved back this xml file after the use.
The realization of template function manager:
1. the template function manager assembles up template configuration file, Template Manager interface and template data read write line, realizes template management function jointly.During assembling, manager is known other building block in the system, and adjacent components realizes certain template function in a certain order.To load the template page is example, is illustrated in figure 5 as the handling process of manager.
2. provide applications to use the interface of template function.Providing such as increase template, deletion template, template derives/imports, duplicates a newly-increased template, obtains public services such as template all under certain template type.
Described steps A comprises steps A 2, webmaster exploitation new template.Can expand template as required like this.
Described steps A 2 may further comprise the steps:
A21, the new template type of interpolation add a relevant configuration item in the template type file;
A22, realization template type catalog page;
A23, the realization template page;
A24, the supporting use of form therewith of the preservation form of template type definition template file, and realization template data read write line interface for this reason.This is the idiographic flow of exploitation new module.
Step B, user side use various types of templates, and various types of templates are fixed with version;
Described step B comprises the step B1 of the user side indicating template page, and with reference to figure 5, step B1 may further comprise the steps:
B11, read template type information;
B12, initialization template resource tree;
B13, choose the every template node on the template resource tree;
B14, add according to the template attribute information and to plant the template page;
B15, read template data;
B16, upgrade the template page according to template data.This is a kind of idiographic flow of the user side indicating template page.
From the development process of template applications as can be known, embodiment has well simplified the exploitation of template management function, and unified Template Manager interface is provided, and has improved ease for use.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (9)

1. the implementation method of Template Manager in the webmaster is characterized in that, may further comprise the steps:
Steps A, webmaster development template management function module;
Step B, user side use various types of templates, and various types of templates are fixed with version;
Steps A comprises steps A 1, webmaster development template management basic function module, the Template Manager basic function module comprises template configuration parameter module, template function manager module, user side Template Manager interface module, wherein, described template function manager module is used for other Template Manager basic function module is managed; Described template configuration parameter module disposes template parameter, comprises the template configuration file in the described template parameter, and described template configuration file storage is at user side.
2. the implementation method of Template Manager is characterized in that in the webmaster according to claim 1, and described template configuration file has been preserved template type information and the various attributes of template, comprises the data message in the template.
3. the implementation method of Template Manager in the webmaster according to claim 2, it is characterized in that, described template configuration document definition comprises template type document definition, template data document definition, template type is exactly that template is classified according to different functions, and the data of template are exactly the one group parameter value relevant with template.
4. the implementation method of Template Manager is characterized in that in the webmaster according to claim 3, and the Template Manager basic function module also comprises the template data reader/writer module, and the template type under template data read write line and the template is one to one.
5. the implementation method of Template Manager in the webmaster according to claim 4, it is characterized in that, the main interface that described user side Template Manager interface provides user management, used template, the interface comprises all template resource trees, and corresponding to the substrate interface of choosing template.
6. the implementation method of Template Manager is characterized in that in the webmaster according to claim 5, and the operation commonly used at described user side Template Manager interface comprises increase, deletion, importing, derivation, rename, backup, recovery.
7. the implementation method of Template Manager is characterized in that in the webmaster according to claim 6, and described steps A comprises steps A 2, webmaster exploitation new template.
8. the implementation method of Template Manager is characterized in that in the webmaster according to claim 7, and described steps A 2 may further comprise the steps:
A21, the new template type of interpolation add a relevant configuration item in the template type file;
A22, realization template type catalog page;
A23, the realization template page;
A24, the supporting use of form therewith of the preservation form of template type definition template file, and realization template data read write line interface for this reason.
9. the implementation method of Template Manager is characterized in that in the webmaster according to claim 8, and described step B comprises the step B1 of the user side indicating template page, and step B1 may further comprise the steps:
B11, read template type information;
B12, initialization template resource tree;
B13, choose the every template node on the template resource tree;
B14, load the template page according to the template attribute information;
B15, read template data;
B16, upgrade the template page according to template data.
CN200710124574XA 2007-11-16 2007-11-16 A method for managing template in network management system Expired - Fee Related CN101170436B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710124574XA CN101170436B (en) 2007-11-16 2007-11-16 A method for managing template in network management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710124574XA CN101170436B (en) 2007-11-16 2007-11-16 A method for managing template in network management system

Publications (2)

Publication Number Publication Date
CN101170436A CN101170436A (en) 2008-04-30
CN101170436B true CN101170436B (en) 2011-01-19

Family

ID=39390915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710124574XA Expired - Fee Related CN101170436B (en) 2007-11-16 2007-11-16 A method for managing template in network management system

Country Status (1)

Country Link
CN (1) CN101170436B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103176785A (en) * 2011-12-26 2013-06-26 中国电信股份有限公司 Widget application online implement system and method
CN102801565B (en) * 2012-08-24 2015-04-08 烽火通信科技股份有限公司 Method for carrying out centralized management on service configuration in network management system
CN102882706B (en) * 2012-09-04 2019-02-22 上海寰创通信科技股份有限公司 The flow data processing method of task based access control in a kind of CS network management system
CN104267951B (en) * 2014-09-25 2018-01-12 福建星网视易信息系统有限公司 A kind of method and device for being used to realize self-defined graphic user interface
CN106682014B (en) * 2015-11-09 2020-09-01 腾讯科技(深圳)有限公司 Game display data generation method and device
CN106843881A (en) * 2017-01-23 2017-06-13 上海鹰谷信息科技有限公司 The creation method of the configurable template of compound management information
CN107436764A (en) * 2017-07-07 2017-12-05 福建天泉教育科技有限公司 Code Template management method, storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1835448A (en) * 2005-03-18 2006-09-20 华为技术有限公司 Global management method of template data in network management system
CN1980144A (en) * 2005-12-09 2007-06-13 中兴通讯股份有限公司 Method for quickly configurating large data-quantity network management data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1835448A (en) * 2005-03-18 2006-09-20 华为技术有限公司 Global management method of template data in network management system
CN1980144A (en) * 2005-12-09 2007-06-13 中兴通讯股份有限公司 Method for quickly configurating large data-quantity network management data

Also Published As

Publication number Publication date
CN101170436A (en) 2008-04-30

Similar Documents

Publication Publication Date Title
CN101170436B (en) A method for managing template in network management system
US9164998B2 (en) Archive-system-independent archive-type objects
US6941560B1 (en) XML-based integrated services event system
CN100484039C (en) Network management apparatus and network management method
US7243120B2 (en) Transaction-based enterprise application integration (EAI) and development system
US8626778B2 (en) System and method for conversion of JMS message data into database transactions for application to multiple heterogeneous databases
US8135814B2 (en) Network capacity management system
US20050097566A1 (en) Message translation and parsing of data structures in a distributed component architecture
JP2004164611A (en) Management of attribute data
US20050187912A1 (en) Management of configuration data using extensible markup language
US20080117808A1 (en) Automatic configuration of network elements based on service contract definitions
US20080109540A1 (en) Method and System for Distributing Software Components
US20080276230A1 (en) Processing bundle file using virtual xml document
US20020103890A1 (en) Core object model for network management configuration applications in telecommunication systems
US20130191420A1 (en) Autonomic generation of document structure in a content management system
CN108846002B (en) Label real-time updating method and system
CN115686497A (en) Business development data management method, development engine, electronic device, and storage medium
US20040098294A1 (en) Adaptable resource model
CN113590115A (en) Method and device for automatically generating service system code
US7685314B2 (en) System integration system and method
CN114448495B (en) Equipment batch adding method and device based on TDMA satellite network management
CN117094284B (en) Method for generating capability description file of intelligent equipment of transformer substation
CN104424334A (en) Method and device for constructing nodes of XML (eXtensible Markup Language) documents
US20240007876A1 (en) Restoration of a network slice
CN101989280A (en) Method and system for managing configuration resources

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110119

Termination date: 20171116

CF01 Termination of patent right due to non-payment of annual fee