节点文献

内网监控系统中监控中心服务器的设计与实现

【作者】 张磊

【导师】 任立勇;

【作者基本信息】 电子科技大学 , 计算机系统结构, 2010, 硕士

【摘要】 随着计算机技术的飞速发展以及网络规模的日益扩大,网络逐渐深入到各行业领域和人们的生活中。如今,信息社会已经离不开网络,这就使得网络自身运行的稳定性和可靠性成为不容忽视的重要因素。为了提高对网络的管理性,网络监控成为一种必要的手段。通过使用网络监控系统,人们可以及时获取到网络中各类被监测实体对象的性能数据,从而分析它们的运行状况,及时发现相关问题。这给网络管理员提供了一种方便,高效的管理方式。本文将内网监控系统中的监控中心服务器作为研究对象。内网监控系统作为全文的项目背景,综合了集中式监控和分布式监控的特点。它围绕集中管理,分布监控的设计思想,通过在网络中部署多台监控代理实现全网范围的监控。而监控中心服务器作为控制中心,它是系统的重要组成部分。在具体实现过程中,我们采用模块化设计方法将监控中心服务器划分为六个不同的功能模块,其中,前三个模块体现了中心服务器的核心功能。概括来讲,全文主要工作内容包括:(一)分析了监控中心服务器实现时所用到的一些关键技术,并对服务器的总体框架和模块结构进行设计及主要功能实现。(二)依据监控中心服务器自身的通信特点,通过采用TCP协议和统一的报文头,设计出一套完整的系统通信机制,用来实现监控中心服务器与代理端之间的信息交互。(三)针对监控中心服务器的并发性通信问题,设计一种线程池与队列相结合的处理方法。通过利用多线程去主动处理和接受同时来自多个代理端的采集数据,从而提高系统整体并发性能。(四)设计一种带缓冲区的存储处理方法,目的是优化数据存储效率。首先,通过工作线程把所有接受到的采集数据集中存入缓冲区内,然后由单独的线程定期去从中取数据来完成整个存储操作。最后,我们对监控中心服务器进行多方面测试,结果表明,系统在满足功能需求的前提下,能够在整体上表现出较好的运行性能。

【Abstract】 With the rapid development of computer technology, as well as the growing size of the network, the network has spread into various industries and people’s lives. Today, information society becomes inseparable from the network. And the stability of network and reliability of its operation has become important factors that can not be neglected. In order to improve network management, network monitoring can be a necessary means. With the help of network monitoring system, we can acquire a variety of performance data and analyze the operating conditions, so the problems could be detected timely. This provides network administrators with a convenient and efficient way of management.We mainly study the center server of the inner-network monitoring system in this thesis. As the project background, the inner-network monitoring system integrates the merits of centralized monitoring and distributed monitoring. And it focuses on the idea of centralized management and distributed monitoring. So network monitoring can be achieved by deploying multiple monitoring agents. Since the monitoring center server takes the role of control center, it is an important part of the whole system. In the process of realization, we divide the structure of server into six modules based on the principle of modular design. And the first three modules reflect the core function of server. Generally speaking, we mainly do the following work in the thesis:1. We analyze some key technologies in implementing the monitoring center server, and then design the structure of monitoring center server and its function modules.2. According to the communication features, we work out a set of communications rules by adopting TCP protocol and a regular head of message. It is used to achieve interaction between the server and agent.3. For the concurrency issues in communication, we design a special method. The feature of it is that we could handle collected data from multiple agents by introducing multi-threads at the same time. So it can increase overall system capacity of parallel processing.4. A storing approach with a buffer is designed for the purpose of optimizing the efficiency in storing data. Firstly, all collected data are received into a buffer by worker threads. Then, a special thread would regularly get data from the buffer to achieve the storage.Finally, we test the server in many aspects. And the results show that the system can effectively run under the premise of realizing function.

节点文献中: 

本文链接的文献网络图示:

本文的引文网络