毕业设计-ERM机房环境监控系统终端能耗监控子系统—Web端,共48页,14038字,附完整C#程序、开题报告等
主要内容
毕业设计内容:
监测计算机系统能耗使用情况,并通过计算机网络和服务器将其汇总、分析。设计和实现对计算机系统的能耗管理模块,能耗上报模块,消息传输模块等
项目拟解决的关键问题:
通过软件或硬件监测方式监测计算机系统的能耗使用情况,通过计算机网络和服务器,将能耗监测情况和报告汇总和分析,为企业提供全面详实的能耗使用状况及节能预期,评分等。
论文主要内容:
概述:介绍研究背景和技术背景总体设计:需求设计、概要设计、详细设计
系统实现及重点难点分析:通信协议、数据库表结构
系统测试
总结与展望:课题特点、课题展望、心得体会、致谢等。
中文摘要
本文主要介绍基于C#语言、RBAC模型和Windows API进行电源管理控制系统,实现了节能的目的。
系统采用客户端服务器(C/S)以及Web端服务器(B/S)的混合方式设计,Web端与服务器之间使用通过网络进行通信。并为此系统设计和描述了Web端与服务器端的通信协议。
系统Web端和客户端为用户提供了可视化窗口,方便用户进行本机参数设置。同时,Web端提供了可以进行远程电源控制的功能以及权限设定,指定分组等功能,并且能读取数据库,直接将数据存储到数据库中。在Web端需要修改客户端参数时则需与客户端程序进行TCP通信,并由客户端程序进行参数更改设置。
通过对系统的功能测试和容错性测试,本系统运行正常,能够顺利的进行数据封装,传输,解析和远程控制的操作。
关键词:节能减排;电源管理;C#;Web
ABSTRACT
This thesis describes the C # language, the RBAC model and the Windows API-based power management control system, and describes how to achieve the purpose of energy saving.
The system uses a client-server (C / S) and Web-end server (B / S) mixed design between the Web client and the server communicates over the network .System designs and describes the Web client and server-side communication protocol.
System’s Web client provides users with a visualization window, the user-friendliness of the machine parameter settings, and provides remote power control functions as well as permission settings, specify grouping function, and can read the database directly to the data stored in the database .Web client need to modify the client parameters required client program for TCP communication by the client program to set and change parameters.
After system functional testing and fault tolerance test, the system is operating normally, data encapsulation, transmission, parsing and remote control operation can be smoothly carried out.
Keywords: energy-saving; power management; C #; Web
目 录
第1章 概述 1
1.1 研究背景 1
1.2 技术背景 1
1.2.1 C#语言 1
1.2.2 HTML语言 2
1.2.3 SQLite数据库 2
1.2.4 电源管理 2
1.2.5 TCP网络通信协议 3
1.2.6 RBAC 3
第2章 总体设计 4
2.1 需求分析 4
2.2 概要设计 5
2.3 详细设计 6
2.3.1 Web端架构设计 6
2.3.2 Web端结构设计 8
第3章 系统实现及重点难点分析 10
3.1 通信协议 10
3.2 服务器端实现 11
3.2.1 网络接收模块 12
3.2.2 数据接收模块 12
3.2.3 数据封装与解析模块 13
3.3 Web端实现 14
3.3.1 能耗监控层 14
3.3.2 能耗切换层 15
3.3.3 设置层 16
3.3.4 添加删除层 16
3.3.5 Web端表结构 18
第4章 系统测试 23
4.1 功能测试 23
4.1.1 用户登录权限测试 23
4.1.2 设置阀值测试 25
4.1.3 修改用户名密码测试 27
4.1.4 查看状态测试 29
4.1.5 修改状态测试 29
4.1.6 添加删除组成员测试 30
4.1.7 权限设定测试 32
4.1.8 用户分组测试 34
4.2 容错性测试 35
4.2.1 Web端容错性测试 35
4.3 问题及解决方法 35
4.3.1 网页局部刷新 35
4.3.2 内联帧与父窗体之间相互传值 35
4.3.3 RBAC模型 36
4.4 总结 36
第5章 总结与展望 37
5.1 课题特点 37
5.2 课题展望 37
5.3 心得体会 37
致谢 39
参考文献 40