摘要
随着互联网的迅猛发展,网络设备的需求量不断增长,电信运营商通常选择多个厂商不同品牌的网络设备。但是各个厂商的网络设备配置系统不尽相同,运营商需要花费大量的人力、物力和财力,培养面向不同厂商的网络管理员。为了节省费用,提高生产效率,开发适用性广泛的网络配置管理系统已成为当务之急。
国内外学者对网络配置管理系统进行了大量的研究,相应企业也推出了多个软件平台,但这些系统要么过于复杂,要么通用性不强,在实际应用中有一定得局限性。针对上述问题,本文设计开发了网络配置管理系统。该系统功能设计具有针对性,操作简单容易掌握,并通过插件的方式进行扩展,理论上只要遵守编写规范,将支持所有的网络设备。
本文从软件工程的角度出发,对网络配置管理系统的需求分析、概要设计、详细设计、系统实现与测试进行了描述。系统基于微软.NET平台,采用了代码生成、动态编译、反射机制和插件式开发等技术和设计理念,在剔除不同厂商网络配置管理系统差异的基础上,摆脱了基于命令行的配置方式,取而代之采用统一的图形界面。系统分为核心功能模块和辅助功能模块,核心功能模块通过配置引擎获取网络配置信息,转换后由命令引擎解析为配置命令,最终由通讯模块对网络设备进行连接,完成命令传输。而辅助功能模块主要用于用户的图形化编辑,实现网络设备信息和网络拓扑结构的描述,并利用XML技术对描述信息进行存储输出。此外,系统提供了高级PING和子网划分器两款实用工具,它们具有高内聚、低偶合的特性,与系统核心交互不紧密。
With the rapid development of Internet, the demand for network equipment is growing continuously, telecom operators generally choose multiple manufacturers' network equipment of different brands. But each vendor's network device configuration system varies from each other, operators need to spend a lot of manpower, material and financial resources to train the network administrator who will face different vendors. To save costs, improve production efficiency and develop a network configuration management system which can be widely used has become an urgency.
Domestic and foreign scholars have done a large number of studies on the network configuration management system, the related enterprises have also introduced many software platforms, but these systems are either too complex or hard to be widely use, there is some limitation in the practical application. To address the above issues, this paper design and develop a network configuration management system. The system has a specific function design, is easy to operate and control, and can be extended through plug-in approach, in theory, as long as to comply with the specifications, the system will support all the network devices.
This paper is based on software engineering, describe the network configuration management system's requirements analysis, outline design, detailed design, system implementation and testing. This system is based on Microsoft's.NET platform, use the code generation, dynamic compilation, reflection mechanism and the plug-in development and other new technologies and ideas, on the base of disregarding the diffrences of different manufacturers's network configuration management system, get rid of the command line-based configuration, replace them with an unified graphical interface. The system is divided into core modules and auxiliary function modules, the core function obtains network configuration information by the configuration engine, after the conversion, resolved to configuration commands by the command engine, finally the communication module connects the network devices, and command transmission is completed. The accessibility module is mainly used on the user's graphical edit, realize the description of network device information and network topology, and using the XML technology to store and output the description information. In addition, the system provides two utility facilities, which are high-PING and subnetting, they have high cohesion, low coupling characteristics, the interact with the core system is not close.
引文
1.倪春胜,王继龙.基于Web的大规模网络配置管理系统[J].计算机工程.2005(9):124-126.
2.李云春,尹殷,刘兴昊.网络设备配置管理软件设计与实现[J].大连海事大学学报.2010(36):129-131.
3.黄凯瑄.网络管理与发展[J].甘肃水利水电技术.2004(2):154-155.
4.王聪,王伟平,郑磊.基于NETCONF的网络配置管理系统的设计与实现[J].计算机与现代化.2009(10):70-74.
5.章勋等.基于XML技术的网络配置管理系统[J].计算机工程.2008.(3):127-129.
6.吴小琼,肖德宝,常亚楠.基于NETCONF的SNMP MIB数据转换[J].计算机工程.2010(36):64-66.
7.陈本辉.网络管理技术应用探讨[J].大理学院学报.2004(3):101-102.
8. Jeffrey Richter.框架设计(第2版):CLR ViaC#[M].清华大学出版社.2006:104-237
9.王焕民.基于MVC模式的.NET系统架构的研究[J].科技咨询导报.2007(17):20-28
10. Giovanni Organtini. Learning Regular Expressions[J]. Linux Journal. 2003(109):102-108
11.弗里德尔.精通正则表达式[M].O'Reilly.2005:229-357
12.张志远.在C#中利用正则表达式实现字符串搜索功能[J].电脑编程技巧与维护.2005(10):29
13.于淑香.基于C#的正则表达式研究及应用[J].沙洲职业工学院学报.2010(3):13
14. Marjan Hericko, Matjaz B. Juric, Ivan Rozman. Object serialization analysis and comparison in Java and.NET[J]. ACM SIGPLAN Notices.2003 (8):11-12
15. Martin Fowler.重构——改善既有代码的设计[M].中国电力出版社.2003:10-17
16.任松涛.NC代码解释器的开发[J].中国制造业信息化.2007(5):8-9
17. Matt Pietrek. A Crash Course on the Depths of Win32~(TM) Structured Exception Handling[J]. Microsoft Systems Journal.1997(1):37-38
18.相东飞.基于OSGi插件化的应用框架[J].科技信息(学术研究).2007(8):48-51
19.郭庆华,朱战立.利用C#.Net反射技术实现软件界面动态存储[J].电脑知识与技术.2010(6):634-635
20. Lin, C. H., King. C. T. Sensor-Deployment Strategies for Indoor Robot Navigation[J]. Ieee Transactions on Systems Man and Cybernetics Part a-Systems and Humans.2010(40):388-398
21. Herrmann.K. Self-Organized Service Placement in Ambient Intelligence Environments[J]. Acm Transactions on Autonomous and Adaptive Systems. 2010(5):33-37
22. Duman. H., Hagras, H., Callaghan, V. A. Multi-Society-Based Intelligent Association Discovery and Selection for Ambient Intelligence Environments [J]. Acm Transactions on Autonomous and Adaptive Systems.2010(5):23-35
23.吴志良,江弋,唐余亮.基于CORBA的LTESON自配置管理的设计与实现[J].中国新通信.2009(11):14-17
24.王聪,王伟平,郑磊.基于NETCONF的网络配置管理系统的设计与实现[J].计算机与现代化.2009(170):70-74
25.胡琼江.网络管理系统的设计与实现[J].电脑学习.2009(142):47-49
26. Zhou.J, Yu.W.W, Li.X.M. Small, M.&Lu, J.A. Identifying the Topology of a Coupled FitzHugh-Nagumo Neurobiological Network via a Pinning Mechanism[J]. Ieee Transactions on Neural Networks 20.2009:1679-1684
27. Turkcu.O.& Subramaniam.S. Performance of Optical Networks With Limited Reconfigurability[J]. Ieee-Acm Transactions on Networking 17. 2009:2002-2013
28. Sourour, M.Adel.B.& Tarek A. Ensuring security in depth based on heterogeneous network security technologies[J]. International Journal of Information Security.2009(8):233-246
29.陈本辉.网络管理技术应用探讨[J].大理学院学报.2004:101-102
30.陈冬松,潘成胜,俞承志,王光兴.一种基于策略的配置管理思想[J].火力与指挥控制.2003:74-76
31. Shen. Y., Wang.J. Almost Sure Exponential Stability of Recurrent Neural Networks With Markovian Switching[J]. Ieee Transactions on Neural Networks. 2009(20):840-855
32. Shao.S.Y., Jones, A. K., Melhem,R. Compiler Techniques for Efficient Communications in Circuit Switched Networks for Multiprocessor Systems[J]. Ieee Transactions on Parallel and Distributed Systems.2009(20):331-345
33.白华暖.网络拓扑自动发现算法的研究与实现[J].河南教育学院学报(自然科学版).2003:66-68
34.瞿宏阳.层次式网络拓扑显示方法的设计与Web实现[J].微电子学与计算机.2002:60-62
35.温榕,刘云.网络配置管理的研究及设计.铁路计算机应用[J].2001:34-36
36. Ross.K., Bambos, N. Projective Cone. Scheduling (PCS) Algorithms for Packet Switches of Maximal Throughput[J]. Ieee-Acm Transactions on Networking 17.2009:976-989
37. Pustina.L., Schwarzer, S.Gerharz, M.Martini, P., Deichmann.V. A practical approach for performance-driven UML modelling of handheld devices-A case study[J]. Journal of Systems and Software.2009(82):75-88
38俞斌,熊齐邦.基于XML的网络配置管理的研究与实现方案[J].计算机技术与发展.2007(118):168-171
39. Palmieri. F. Network-aware scheduling for real-time execution support in data-intensive optical Grids[J]. Future Generation Computer Systems-the International Journal of Grid Computing-Theory Methods and Applications. 2009(25):794-803
40. Macia-Fernandez, G., Diaz-Verdejo, J., Garcia-Teodoro, P. Mathematical Model for Low-Rate DoS Attacks Against Application Servers[J]. Ieee Transactions on Information Forensics and Security.2009(4):519-529
41郑红英,陆新.基于移动Agent构建分布式网管系统的设计与实现[J].现代计算机.2005:56-59
42. Lee.C., Suzuki.J. An Immunologically-Inspired Autonomic Framework for Self-Organizing and Evolvable Network Applications[J]. Acm Transactions on Autonomous and Adaptive Systems.2009 (4):132-137
43. Le.F, Lee.S., Wong.T., Kim, H. S., Newcomb, D. Detecting Network-wide and Router-Specific Misconfigurations Through Data Mining[J]. Ieee-Acm Transactions on Networking.2009(17):66-79
44.章勋,杨家海,王继龙,张辉.基于XML技术的网络配置管理系统[J].计算机工程.2008(296):127-129
45.杨家海,王继龙,章勋.基于角色的一体化配置管理模型与实现[J].清华大学学报(自然科学版).2008:1671-1674