CN101098248B - Method and system for implementing universal network management based on configuration describing document - Google Patents

Method and system for implementing universal network management based on configuration describing document Download PDF

Info

Publication number
CN101098248B
CN101098248B CN2006100867750A CN200610086775A CN101098248B CN 101098248 B CN101098248 B CN 101098248B CN 2006100867750 A CN2006100867750 A CN 2006100867750A CN 200610086775 A CN200610086775 A CN 200610086775A CN 101098248 B CN101098248 B CN 101098248B
Authority
CN
China
Prior art keywords
configuration
application
database
configuration data
describing document
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.)
Active
Application number
CN2006100867750A
Other languages
Chinese (zh)
Other versions
CN101098248A (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN2006100867750A priority Critical patent/CN101098248B/en
Publication of CN101098248A publication Critical patent/CN101098248A/en
Application granted granted Critical
Publication of CN101098248B publication Critical patent/CN101098248B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method for realizing general network management based on setting description document, wherein user requests the setting data of application object in the operation network, obtains and analyzes the setting description document of the application object, while the setting description document is built according to the setting request of the application, which contains the relation between the setting items and the database list, and the detail description of each setting item, extracts the setting data of the application object, which is built according to the setting description document for storing setting data, and generates a setting interface containing the setting data to be operated by user. The invention discloses a general network management system.

Description

A kind of method and system that realize universal network management based on configuration describing document
Technical field
The present invention relates to the network management technology of the communications field, particularly realize the method and system of universal network management based on configuration describing document.
Background technology
Along with the continuous development of network technology, network size constantly enlarges, and how to realize has become active demand to the unified management of network.Mostly (SimpleNetwork Management Protocol SNMP), can be independent of hardware and finish management and monitoring to equipment the existing network management software substantially based on Simple Network Management Protocol.But because application itself varies, the configuration data of each application has the demand of making amendment at any time, so the general network management software can not be accomplished the unified centralized management to using.
The management object of network management is equipment and application, and its management role is that both are realized monitoring and management.At present, snmp protocol can be realized monitoring and the management to equipment preferably, but powerless for the management of using.Solve the unified management problem to using, key is will resolve how to unify to represent data, how storage and uniform data and these three problems of analytic uniform data how.
Prior art provides a solution, and this scheme allows system at each management object, sets up the mapping relations between this management object and every attribute thereof and the every property value, and all mapping relations tables that will form are stored in the backstage; According to the I of the mapping relations between each management object and self every attribute customizations foreground Unified Form, and write the unified interface of expressing between the AM/BAM according to this I.Though this scheme can reach the variation of supporting management object easily and fast by the unified interface transmission AM/BAM information of expressing, but express specific object and property value that interface need be resolved each management object, it handles complicated, causes load pressure big and influence system running speed; In addition, owing to there are not data to verify, the probability that system is gone wrong in running increases, and causes the later maintenance workload to increase.
Summary of the invention
The invention provides and a kind ofly realize the method and system of universal network management,, cause system loading pressure big and influence the problem of system running speed to solve data parsing complexity in the prior art based on configuration describing document; Further, solve prior art because of data not being verified the break down problem of probability increase of system that makes in running.
The inventive method technical scheme is as follows:
A kind of method based on configuration describing document realization universal network management comprises the steps:
The configuration data of application in user's solicit operation network;
Obtain and resolve the configuration describing document of described application, wherein this configuration describing document is set up according to the configuration requirement of such application, and comprises the configuration item of application and the corresponding relation of database table, the specific descriptions of each configuration item;
Extract the configuration data of described application from the database of creating according to described configuration describing document and be used for preserving configuration data, and generate comprise this configuration data configuration interface for user's operation.
According to said method:
The user is during by the configuration data behind the described configuration interface submit operation, this configuration data can be saved in SQL SQL statement in the database according to the automatic generation of configuration describing document, and carry out this SQL statement to preserve described configuration data.
According to the checking item in the described configuration describing document configuration data of submitting to is verified before generating SQL statement, and generated described SQL statement by the back in checking.
Further generate corresponding configuration messages when preserving the configuration data of submitting to and be handed down to corresponding application.
Preserve that configuration data takes a step forward more former configuration data and the configuration data that needs to preserve between difference, generate dissimilar configuration messages according to difference.
Described application disposes and return results according to the configuration messages change that receives, and presents to the user by described configuration interface.
Described configuration data be a class when using common data to the application broadcast configuration message.
Described configuration describing document adopts the expandable mark language XML form.
A kind of universal network management system comprises:
First storage device is used for preserving the configuration describing document of setting up respectively according to the configuration requirement of network types of applications, and this configuration describing document comprises the configuration item of application and the corresponding relation of database table, the specific descriptions of each configuration item;
Second storage device is used to preserve the database of creating according to described configuration describing document, and this database is used to store the configuration data of application;
Network management platform is used for issuing configuration messages and receiving the message that application sends to each application of network;
Database engine, be used for creating described database and preservation according to described configuration describing document, from database, extract configuration data according to described configuration describing document and generate unified configuration interface, and will be saved in described database and issue configuration messages by the configuration data that this configuration interface is submitted to network management platform;
Operating means is used to present the configuration interface of database engine generation and accepts user's operation, and submits configuration data to database engine.
Described system also comprises:
Demo plant is used for according to the checking item of described configuration describing document the configuration data of submitting to being verified.
The present invention has following beneficial effect:
1, the configuration requirement that the present invention is directed to each class application is set up corresponding configuration file, only need be when data parsing by the format analysis configuration describing document, need not to know its particular configuration data, its processing is simpler, can reduce the load of system significantly and improve the speed of service.
2, owing to resolve and need not understand concrete configuration data, realized separating of data and code, reduced the coupling between the module, strengthened the extensibility of system.
3, the configuration data of using is carried out centralized and unified management, the keeper can directly revise configuration data by the WEB page, thereby has alleviated keeper's operation burden.
Description of drawings
Fig. 1 is the management system structure chart in the embodiment of the invention;
Fig. 2 is a flow chart of creating database table in the embodiment of the invention based on configuration describing document;
Fig. 3 is that configuration data flow process figure is used in the modification that realizes based on configuration describing document in the embodiment of the invention.
Embodiment
In network management system,, cause system loading pressure big and influence problem such as system running speed for data parsing complexity in the prior art of determining; The present invention sets up the configuration describing document of consolidation form according to the configuration requirement of types of applications object, set up the database of application in the storage networking according to this configuration describing document, and come configuration data operation in the operating database with application in the supervising the network by resolving configuration describing document.
Consult shown in Figure 1ly, the network management system in the present embodiment comprises: first storage device 100, second storage device 110, database engine 120, network management platform 130 and operating means 140.First storage device 100 is used for preserving the configuration describing document of setting up respectively according to the configuration requirement of network types of applications; Second storage device 110 is used to preserve the database of creating according to described configuration describing document, and this database is used to store the configuration data of application; Network management platform 130 is used to manage a plurality of applications that move on this platform; Database engine 120 and first storage device 100, second storage device 110 and network management platform 130 have and communicate to connect, create database and be saved in second storage device 110 according to the configuration describing document in first storage device 100, from database, extract configuration data according to described configuration describing document and generate unified configuration interface, and will be saved in described database and issue configuration messages by the configuration data that this configuration interface is submitted to network management platform; Operating means 140 has with database engine 120 and communicates to connect, and presents the configuration interface that database engine generates and accepts user's operation, and submit configuration data to database engine.
Further,, also comprise a demo plant 1200 in the database engine 120, be used for the configuration data of submitting to being verified according to the checking item of described configuration describing document in order to improve the correctness of configuration data.Certainly, this demo plant 1200 also can be independent of database engine 120.
In the present embodiment, concentrated being stored in the relational database of configuration data can be provided convenience and the inconsistency that reduces data as far as possible for the administration configuration data.When application started, database engine 120 can generate configuration messages to all configurations of this application automatically and issue.When having revised the configuration item in the configuration describing document, database engine 120 can compare the content of modification and the content of database, can be only the configuration data of the part that changes be sent to application, application is revised configuration data according to this, can reduce Internet traffic as much as possible like this.When the configuration item of revising is an a certain class when using common data, network management platform 130 is revised message to all these type of application broadcast configuration.Between network management platform and each application, all use unified configuration messages interface between network management platform and cgi script, the WEB client-side program.
In the present embodiment, the configuration describing document of using for a certain class comprises at least:
1, the corresponding relation of the configuration item of application and database
Described corresponding relation shows the needed database table of configuration item that each class is used, the data that comprise in each database table.
As: for the Crawler in the search system (reptile, the program of extracting webpage) application, it has configuration item domain name server (DNS) Server, comprises IP and port numbers two parts of DNS Server.Therefore, definition database table T_DNS is used for storing DNS information, and it has App_ID, IP, and three territories of Port are used for storing application identities respectively, DSN IP and DSN port numbers, wherein APP_ID is used to distinguish different Crawler applications.
2, to the specific descriptions of each configuration item
For each configuration item, a name (Name) all should be arranged, data type (DataType), length (Length), look ﹠ feel (Interface), whether whether concrete constraint (Constrain) allows many records (IsMultiple), be common data contents such as (IsGlobal).
For example, the DNS IP that mentions in the last example is done as giving a definition:<Field Name=" DNS IP " DataType=" string " Length=" 15 " Interface=" text " constrain=" d+. d+. d+. d+ " IsMultiple=" true " IsGobal=" true "/〉.Wherein, what constrain used is canonical formula grammer, and it is used to retrain the user must import correct IP address.
For the ease of resolve configuration describing document and the comparison of being convenient to the configuration data content between dissimilar application, preferable mode is that configuration describing document adopts the expandable mark language XML plain text format.
(Simple Network Management Protocol provides four generic operation Get, Set, Trap and Get-Next to MIB (MIB) in SNMP) in Simple Network Management Protocol.Use for reference this kind mode, in the present embodiment configuration messages being encapsulated as increases configuration item Add, deletion configuration item Delete, revises configuration item Modify and four kinds of operations of query configuration item Get.Database engine 120 is specified contents such as action type, configuration item and value in configuration messages when issuing configuration messages; Accordingly, the application in the network resolves and carries out corresponding operation to it after receiving configuration messages.For example, the Add of DSN Server operation, it is expressed as the Crawler that receives this message increases by two dns servers, and its fragments of messages is as follows:
<Operation?subtype=″add″?group=″DNS?Server″>
<Item?ID=″21″IP=″192.168.1.1″Port=″8080″/>
<Item?ID=″22″IP=″192.168.1.2″Port=″9000″/>
</Operation>
Consult shown in Figure 2ly, the concrete handling process of creating a new configuration describing document is as follows:
Step 200, the configuration needs of extract using are represented method according to the configuration data of unified Definition, for this application is set up the configuration describing document of an XML form and is saved in first storage device 100 through operating means 140.This document comprises the corresponding relation of the configuration item of application and database and to the specific descriptions of each configuration item.
Step 201, configuration describing document is passed to database engine 120 as input.
Step 202, database engine 120 are resolved configuration describing document, create the database table that store configuration data needs in second storage device 110.
Step 203, database engine 120 import the configuration data that defines in the configuration describing document in the corresponding database table.
Step 204, database engine 120 generate configuration messages, and it is handed down to network management platform 130.
Step 205, network management platform 130 issue configuration messages to application.
Step 206, application are configured and return configuration result.
Consult shown in Figure 3ly, the idiographic flow of revising a configuration describing document is as follows:
Step 300, keeper's control operation device 140 are revised the configuration data of application by the request of WEB mode.
Step 301, database engine 120 are derived original configuration data according to the configuration file of resolving application from database.
Step 302, database engine 120 generate unified configuration interface, comprise original configuration data on this interface, and offer operating means 140.
Step 303, operating means 140 present configuration interface, and accept the keeper and revise configuration data.
Step 304: operating means 140 confirms that with the keeper amended configuration data is submitted to database engine 120.
Step 305, database engine 120 are verified configuration data according to the configuration item in the configuration describing document.
After step 306, checking were passed through, database engine 120 generated corresponding SQL statement automatically configuration data is saved in (to verify by being example) in the database.
If authentication failed then abandons these data, further can on operating means 140, point out error message.
Step 307, database engine 120 compare configuration data and the database Central Plains configuration data of revising, and generate corresponding configuration messages according to the configuration data of changing unit and are handed down to network management platform 130.Action type in this configuration messages is a retouching operation.
When the configuration item of revising is an a certain class when using common data, indicating this configuration messages is broadcast.
Step 308, network management platform 130 are handed down to the application corresponding object with configuration messages.If broadcast is then broadcasted to all applications of management.
Step 309, application are resolved configuration messages, and the configuration data of self is made amendment and return results.
Step 310, the result that the display application object returns on operating means 140.
In the present embodiment, configuration describing document uses the plaintext message form of XML form to have the following advantages:
1, is convenient to resolve between the dissimilar application
Adopt JavaScript to write the WEB client-side program, write server program with C++, they can be resolved the message of XML form by means of DOM (DOM Document Object Model) tree of standard.The C++ storehouse TinyXPath that use is increased income, it supports the XPath grammer, can locate fast and computing the element among the XML.
2, be convenient to the comparison of configuration data content
As keeper during at client change configuration data, may do the just unified preservation of a lot of operations, these operations have insertion, deletion and revise, before preserving, need to compare the difference before and after revising, generate dissimilar configuration messages, adopt the Message Processing of XML form to get up easy relatively for these operations.
From the above, the invention provides the method for expressing of configuration data and the configuration management interface of application, unified the definition mode of the form and the configuration management interface of configuration describing document; By database engine configuration file is resolved, generate unified configuration interface for keeper's operation, simplified the modification process of configuration file, and original old configuration file is made contrast in amended configuration file that will receive and the database, only changing unit is handed down to application, can reduces Internet traffic.When the configuration item of revising is an a certain class when using common data, network system can be to all this type of applying broadcasting configuration modification message, and the consistent configuration messages interface that defines is all used in these communications.So just, alleviate keeper's burden, thereby improved consistency, the centrality of network applications management greatly.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1. the method based on configuration describing document realization universal network management is characterized in that, comprises the steps:
The configuration data of application in user's solicit operation network;
Obtain and resolve the configuration describing document of described application, wherein this configuration describing document is set up according to the configuration requirement of such application, and comprises the configuration item of application and the corresponding relation of database table, the specific descriptions of each configuration item;
Extract the configuration data of described application from the database of creating according to described configuration describing document and be used for preserving configuration data, and generate comprise this configuration data configuration interface for user's operation.
2. the method for claim 1, it is characterized in that, the user is during by the configuration data behind the described configuration interface submit operation, this configuration data can be saved in SQL SQL statement in the database according to the automatic generation of configuration describing document, and carry out this SQL statement to preserve described configuration data.
3. method as claimed in claim 2 is characterized in that, according to the checking item in the described configuration describing document configuration data of submitting to is verified before the generation SQL statement, and generated described SQL statement after checking is passed through.
4. method as claimed in claim 2 is characterized in that, further generates corresponding configuration messages when preserving the configuration data of submitting to and is handed down to corresponding application.
5. method as claimed in claim 4 is characterized in that, preserve that configuration data takes a step forward more former configuration data and the configuration data that needs to preserve between difference, generate dissimilar configuration messages according to difference.
6. method as claimed in claim 5 is characterized in that, described application disposes and return results according to the configuration messages change that receives, and presents to the user by described configuration interface.
7. method as claimed in claim 4 is characterized in that, described configuration data is that a class is when using common data, to the application broadcast configuration message.
8. as each described method of claim 1 to 7, it is characterized in that described configuration describing document adopts the expandable mark language XML form.
9. a universal network management system is characterized in that, comprising:
First storage device is used for preserving the configuration describing document of setting up respectively according to the configuration requirement of network types of applications, and this configuration describing document comprises the configuration item of application and the corresponding relation of database table, the specific descriptions of each configuration item;
Second storage device is used to preserve the database of creating according to described configuration describing document, and this database is used to store the configuration data of application;
Network management platform is used for issuing configuration messages and receiving the message that application sends to each application of network;
Database engine, be used for creating described database and preservation according to described configuration describing document, from database, extract configuration data according to described configuration describing document and generate unified configuration interface, and will be saved in described database and issue configuration messages by the configuration data that this configuration interface is submitted to network management platform;
Operating means is used to present the configuration interface of database engine generation and accepts user's operation, and submits configuration data to database engine.
10. system as claimed in claim 9 is characterized in that, also comprises:
Demo plant is used for according to the checking item of described configuration describing document the configuration data of submitting to being verified.
CN2006100867750A 2006-06-26 2006-06-26 Method and system for implementing universal network management based on configuration describing document Active CN101098248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100867750A CN101098248B (en) 2006-06-26 2006-06-26 Method and system for implementing universal network management based on configuration describing document

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100867750A CN101098248B (en) 2006-06-26 2006-06-26 Method and system for implementing universal network management based on configuration describing document

Publications (2)

Publication Number Publication Date
CN101098248A CN101098248A (en) 2008-01-02
CN101098248B true CN101098248B (en) 2010-09-08

Family

ID=39011787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100867750A Active CN101098248B (en) 2006-06-26 2006-06-26 Method and system for implementing universal network management based on configuration describing document

Country Status (1)

Country Link
CN (1) CN101098248B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101646191B (en) * 2009-09-04 2013-09-11 中兴通讯股份有限公司 Data processing method and device
CN102025527B (en) * 2009-09-17 2014-03-19 中兴通讯股份有限公司 Method and network management system for tracing back operation flow information
CN102122245A (en) * 2011-02-21 2011-07-13 北京沃泰丰通信技术有限公司 Method and system for generating configuration item setting interface
CN102323940B (en) * 2011-09-01 2018-03-30 中兴通讯股份有限公司 Configuration platform implementation method based on database, configuration platform and system
CN103186582A (en) * 2011-12-29 2013-07-03 青岛海尔软件有限公司 Device description file-based data analysis method
CN102750098A (en) * 2012-06-19 2012-10-24 深圳中兴网信科技有限公司 System configuration file processing device and system configuration file processing method
CN102981822B (en) * 2012-10-31 2017-04-19 华为技术有限公司 Method and equipment of treatment strategy
US10262267B2 (en) 2012-10-31 2019-04-16 Huawei Technologies Co., Ltd. Method and device for processing policy
CN103809947B (en) * 2012-11-09 2016-04-20 腾讯科技(深圳)有限公司 A kind of method for automatically releasing of development requirement and system
CN103020139B (en) * 2012-11-21 2016-01-20 用友网络科技股份有限公司 Tables of data expanding system and tables of data extended method
CN103186405B (en) * 2013-02-25 2016-05-11 北京网御星云信息技术有限公司 A kind of unified control method and device of realizing equipment
CN104468232B (en) * 2014-12-22 2017-11-07 武汉烽火网络有限责任公司 The method and system of network equipments configuration are completed using xml document and mib
CN105429786B (en) * 2015-10-30 2018-10-12 上海斐讯数据通信技术有限公司 The implementation method and network management configuration module of network management configuration module based on TLV structures
CN106899427B (en) * 2016-09-19 2020-07-07 阿里巴巴集团控股有限公司 Operation and maintenance instruction execution method, device and system
CN111240764B (en) * 2020-01-14 2024-05-17 北京北方华创微电子装备有限公司 Equipment configuration method and system
CN111309394A (en) * 2020-02-05 2020-06-19 联想(北京)有限公司 Configuration issuing method, device, system and storage medium
CN115203176B (en) * 2022-09-15 2023-03-07 太平金融科技服务(上海)有限公司深圳分公司 Database operation method, device, equipment, storage medium and program product

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1437365A (en) * 2002-02-04 2003-08-20 华为技术有限公司 Off-line data configuration method for communication equipment
CN1741462A (en) * 2004-08-23 2006-03-01 华为技术有限公司 Method for controlling and managing telecommunication equipment in network management system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1437365A (en) * 2002-02-04 2003-08-20 华为技术有限公司 Off-line data configuration method for communication equipment
CN1741462A (en) * 2004-08-23 2006-03-01 华为技术有限公司 Method for controlling and managing telecommunication equipment in network management system

Also Published As

Publication number Publication date
CN101098248A (en) 2008-01-02

Similar Documents

Publication Publication Date Title
CN101098248B (en) Method and system for implementing universal network management based on configuration describing document
CN102571420B (en) Method and system for network element data management
US8626778B2 (en) System and method for conversion of JMS message data into database transactions for application to multiple heterogeneous databases
US7818740B2 (en) Techniques to perform gradual upgrades
US7779404B2 (en) Managing network device configuration using versioning and partitioning
CN108984170A (en) The multilingual rendering method of the H5 page and device
US20150317148A1 (en) Apparatus for software product&#39; upgrade and downgrade of electric equipment from web
US7721190B2 (en) Methods and systems for server side form processing
CN106886371B (en) Caching data processing method and device
CN106681891A (en) Method and device for adjusting log levels in Java application system
US20130179791A1 (en) System and method for real-time data in a graphical user interface
CN103761102B (en) A kind of uniform data service platform and its implementation
CN102447585A (en) Method and device for converting network configuration protocol response message into command line
US20130144851A1 (en) Efficient data extraction by a remote application
US20140096237A1 (en) Information processing system, access right management method, information processing apparatus and control method and control program therefor
CN113382282A (en) Page resource access method and device, electronic equipment and storage medium
Ju et al. An embedded Web server architecture for XML-based network management
CN100534084C (en) Long-distance XML data updating method and system
US7509353B2 (en) Methods and systems for exchanging and rendering forms
US20130191356A1 (en) Autonomic generation of document structure in a content management system
US20230308348A1 (en) Server to support client data models from heterogeneous data sources
US8694559B2 (en) Using database content for multiple business data systems connected to one database
CN116974948A (en) Service system testing method, system, equipment and medium
WO2022121492A1 (en) File transmission method and apparatus, computer device, and storage medium
CN112783842B (en) Log collection method and device

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190806

Address after: 518057 Nanshan District science and technology zone, Guangdong, Zhejiang Province, science and technology in the Tencent Building on the 1st floor of the 35 layer

Co-patentee after: Tencent cloud computing (Beijing) limited liability company

Patentee after: Tencent Technology (Shenzhen) Co., Ltd.

Address before: 2, 518044, East 410 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: Tencent Technology (Shenzhen) Co., Ltd.