基于协议分析的HEMS能源收集系统客户端服务端设计 毕业论文+项目源码

目 录

简单的能源收集协议

第1章 题目描述

1.1 问题描述

1.2 完成的任务

第2章  开发环境相关介绍

2.1 Microsoft Visual Studio介绍

2.1.1  Microsoft Visual Studio简介

2.1.2 Microsoft Visual Studio的特点及功能

2.2 C#介绍

2.3 Java介绍

2.4 Matlab介绍

第3章 基本分析

3.1 协议功能结构

3.2 协议设计目标

第4章 详细设计

4.1服务端

4.1.1 服务端的设计

4.1.2服务端和老师给的客户端之间调试

4.2 数据库

4.2.1 数据库的设计

4.2.2 数据库的连接

4.2.4 数据库中改进的问题

4.3服务端和客户端的双向通信

4.3.1服务端发送简单反馈信息

4.4利用JAVA和MySQL实现数据的动态实时监控

4.4.1设计DBUtil工具类模块。

4.4.2设计Entity模块,

4.4.3设计DAO模块

4.4.4设计Charts模块

4.4.5遇到的问题

4.5 瞬时电功率可视化实时动态监控

4.5.1 可视化实时动态监控平台的选取

4.5.2 Matlab连接MySQL数据库

4.5.3 Matlab实现动态可视化监控

4.5.4 C#调用Matlab,实现Matlab图形Figure嵌入Winform窗体

4.6客户端及其对应控制机制实现

4.6.1 客户端

4.6.2 控制机制

4.6.3 运行实例

4.6.4 控制机制中改进的问题

第5章 软件测试

5.1数据库连接测试

5.1.1 client端与server端发送数据

5.1.2 数据库存储数据

5.2 Java连接测试

5.2.1测试Java连接提取数据库

5.2.2 测试每秒动态更新折线图

参考文献:

附 录:

简单的能源收集协议

摘 要:今天,能源已成为人类社会不可或缺的基本要素。在这个星球上, 随着能源日益紧张和环境恶化, 获得经济方便环保的能源变成一个关系人类生存与可持续发展的急迫问题, 寻找提高能源利用效率的解决之道成为小到社会家庭,大到企业与政府等全社会的共同责任。因此,家庭能源管理系统(HEMS)正在成为一种潮流,其已经是物联网中的一个典型应用。

一个HEMS系统中通常包含能源数据传感器、自定义的默认网关和服务器。本次简单的能源收集协议设计主要是通过C#、Matlab、Java、数据库等技术,实现简单的能量收集服务,并将其实现在局域网中。可以将通信协议设计为分析传入的能量数据的格式,并将其存储在预定义的数据库中。

本文开始介绍了本课程论文所要求的题目与本组完成的基本贡献,然后介绍开发简单的能源收集协议所使用的一些工具软件及基本知识,就整个系统的各模块做了简单介绍并做了图示分析。最后对整个系统进行了需求分析,对代码的各个模块功能做了基本的说明,对功能模块的实现做了代码解释说明。在测试报告中对系统测试情况做了介绍,重点说明了测试过程中发现并解决的问题。

A Simple Energy Collection Protocol

Abstract: Today, energy has become an essential element of human society. On this planet, with increasing energy tension and environmental degradation, access to economically convenient and environmentally friendly energy has become an urgent issue related to human survival and sustainable development. Finding solutions to improve energy efficiency has become from social families to the joint responsibility of the whole society, such as enterprises and governments. Therefore, the home energy management system (HEMS) is becoming a trend, which is already a typical application in the Internet of Things.

A HEMS system usually contains energy data sensors, custom default gateways, and servers. The design of this simple energy collection protocol is mainly to implement simple energy collection services through C #, Matlab, Java, database and other technologies, and it will be in the local area network. The communication protocol (server) can be designed to analyze the incoming energy data in a format and store it in a predefined database.

This article begins by introducing the topics required for the course thesis and the basic contributions completed by this group, and then introduces some of the tool software and basic knowledge used to develop a simple energy collection protocol and graphical analysis. Finally, the requirements analysis of the entire system was performed, the basic functions of each module of the code were explained, and the implementation of the functional modules was explained. In the test report, the system test situation is introduced, and the problems found and solved during the test are highlighted.

猜你喜欢

转载自blog.csdn.net/qq_43368615/article/details/135301737