节点文献

.NET平台下多指标报警系统的设计与实现

Design and Implementation of Multi-indicators Alert System under.NET Platform

【作者】 孙毅

【导师】 李唐军;

【作者基本信息】 北京交通大学 , 电子与通信工程(专业学位), 2014, 硕士

【摘要】 当今时代的数据量正在呈爆发式的增长,已经被人们誉为“大数据时代”。在各行各业中人们每时每刻的行为都在产生数据,这些数据是未经加工的,通过各种各样的聚合、算法手段,这些基础数据被计算成一系列的关键绩效指标,继而产生了针对这些指标的报警需求。在新媒体领域,在线视频播放也产生了大量的数据。用户在点播一个视频时,会表现出各种各样的行为,比如中途跳出,在某处暂停,反复观看其中的某一段等,这些行为产生的数据能够被计算成跳出率,播放数等视频指标。针对这些指标,本文设计开发了.NET平台下的多指标报警系统,这个多指标报警系统能够24小时不间断监控,并能够在短时间内响应用户对报警配置的添加,编辑,删除等行为,做到实时监控,实时报警。本文在设计报警系统的过程中,首先根据需求方的需求确定了报警系统的功能,即配置功能,监测功能,报警功能,日志功能共四大功能。然后根据这些功能特点,本文对报警系统的整体架构进行了设计,设计出了主线程模块,指标获取模块,指标监测模块,指标报警模块,报警行为模块共五大模块,并初步设计了每个模块的大致结构。最后本文进行了开发技术的选型工作,选定在.NET平台下开发,采用Web Service技术完成指标的获取工作,选取的开发环境是Visual Studio2013,开发的主力语言采用C#,并选用Perl脚本语言辅助开发,选用开源数据库MySQL作为后台数据,采用常规的SQL语言搭建具体的数据库表。本文在开发报警系统的过程中,首先利用Visual Studio2013集成的WebService开发环境,开发出指标获取的Web Service,利用Perl脚本实现指标的自动插入,搭建出一个融合了指标数据插入数据源,数据源获取指标数据以及产生报警行为的开发测试环境。然后利用SQL语言在MySQL数据库中搭建报警系统的后台数据库,创建了SDAlertConfig, CurrentSDAlert, HistorySDAlert等系统表。接着利用.NET平台下的C#语言以及观察者设计模式展开了报警系统各个模块的开发工作,成功的开发出了一个多指标报警系统。最后,本文进行了报警系统功能点的测试工作和部署工作,确保其能够满足生产环境的要求。

【Abstract】 Nowadays data amount is increasing explosively, and it is being called "Big Data Times" by people. Every action of people in various fields are generating the data. However, these data is primary and raw. These data can be calculated into a series of key performance indicators through different kinds of aggregation and algorism, and alert requirement corresponding to these indicators arises with times.In the new media field, online video has produced huge amount of data. Customers’ behavior can be various when view the video, such as jump out during play, pause at somewhere or view some clip repeatedly. And data produced by these behaviors can be calculated to many indicators, such as jump out rate, video play and etc. As with indicators coming out from video play, this paper designs and develops a multi-indicators alert system based on.NET platform. This multi-indicator alert system is able to monitor the whole24hours and respond to the insert, delete, edit alert configuration of users within a short time. It’s a real-time monitor and real-time alert system.For the alert system design work, this paper determine the function according to the demand side, namely, configuration, monitor, alert and log altogether four function. Then according to these functions, this paper designs the whole modules of alert system, namely, main module, indicators-get module, indicators-monitor module, indicators-alert module and alert-behavior altogether five modules and designs the prototype of each module. Finally, this paper choose the techniques, alert system is selected to develop under.NET, adopting Web Service to fulfill the indicators-get work, adopting Visual Studio2013as IDE, adopting C#as main development language and adopting Perl script as auxiliary development language, adopting open source MySQL as background database, adopting common SQL language to create the database table.For the alert system development work, constructing a development and test environment fitting for indicators data pool insert, indicators fetch and indicators alert behavior with Web Service development integrated in.NET. Then constructing the background database tables with SQL script in MySQL, like SDAlertConfig, CurrentSDAlert, HistorySDAlert system table. In the following, this paper proceeds with the modules development work and successfully develops a multi-indicators alert system using C#language and observer design pattern. Finally, this paper does the test work and deployment work corresponding to the alert system function to make it meet the requirement of production environment.

【关键词】 .NETWeb ServiceC#语言报警系统
【Key words】 .NETWeb ServiceC#LanguageAlert System
节点文献中: 

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

本文的引文网络