采集终端数据库管理平台

 2022-02-07 04:02

论文总字数:30994字

摘 要

我国中小河流、水库众多,气候变化莫测,各地频遭暴雨袭击,给人民群众带来了严重的经济损失。因此,建立现代化的水雨情遥测系统尤为显得迫切和需要。

本文基于串口通信开发了水雨情遥测系统平台软件,用于实现对水雨情数据的采集、发送和处理。该软件基于SQL Server 2008,可以实现数据存储、处理、信息共享发布等功能;对接受的原始报文进行校验、解析、等处理工作,把雨量水位等数据存入对应的数据表中;根据天气变化情况,修改遥测终端参数配置;设置权限管理等。软件调试表明,软件报文处理及时、通信实时性好、数据库反应快,可以满足水雨情遥测系统需求。

关键词:水雨情;SQL Server 2008数据库;串口通讯;权限。

Abstract

Our country has many rivers and reservoirs. The vagaries of the weather lead to frequent rain. This brings serious economic loss to local people. So, it’s necessary to build the modern water and rainfall telemetry system.

The paper introduces a water and rainfall information system based on serial communication to achieve the functions of data collection, transmission and manipulation.The software uses SQL Server 2008 as database platform. It can realize functions like data management, data storage and data processing, information sharing and publishing. The system can complete data validation, translation, debugging, and processing intelligently, and classify the water and rainfall information into database according to the standard. It can set permissions and change the telemetry station settings according to the weather condition. In the actual test, the system has a serial of features as high quality of data management, high quality of communication, quick response of database and so on. It can meet the requirements of the water and rainfall telemetry system.

Keywords: Water and rainfall, SQL Server 2008 Database, Serial Communication, jurisdiction.

目 录

摘要 I

Abstract II

第1章绪论 7

1.1 课题研究的背景及意义 7

1.1.1 课题研究的背景 7

1.1.2 课题研究的意义 7

1.2 国内外水雨情遥测系统的发展 7

1.2.1 国外水雨情遥测系统的发展 7

1.2.2 国内水雨情遥测系统的发展 8

1.3 水雨情遥测系统发展趋势 8

1.4 论文主要工作与内容 9

1.5 本章总结 9

第2章水雨情遥测系统理论基础 10

2.1 信息传递相关基础理论 10

2.2 水雨情遥测终端工作类型及相关标准 10

2.2.1 终端工作类型 10

2.2.2 水雨情遥测系统相关标准 11

2.2.3 降雨量等级划分 11

2.3 数据库系统知识简介 12

2.3.1 数据库 12

2.3.2 数据库系统 12

2.3.3 数据库管理系统 13

2.4 开发平台介绍 13

2.5 本章总结 13

第3章水雨情遥测系统的总体设计 14

3.1 水雨情遥测系统总体结构 14

3.2 中心站实现方案 15

3.2.1 中心站软件报文生成部分的实现思路 15

3.2.2 中心站报文解析并输出部分的实现思路 17

3.3 本章小结 18

第4章中心站软件设计 20

4.1 水雨情遥测系统工作流程 20

4.2 软件总体设计 22

4.3 数据库设计 23

4.3.1 SQL Server 2008系统配置 23

4.3.2 水雨情数据库概念模型 24

4.3.3 水雨情数据表定义 25

4.4 功能界面实现 25

4.4.1 水雨情采集终端数据库管理平台登录界面 26

4.4.2 召测指令界面 27

4.4.3 实时数据表界面 27

4.4.4 当前数据表界面 28

4.4.5 通信配置界面 28

4.5.4程度代码举例 29

4.5 软件使用 29

4.5.1 登录 29

4.5.2 主显示界面 29

4.5.3 串口配置和初始设置 36

4.5.4 实时数据表 36

4.5.5 当前数据表 36

4.6 本章小结 37

第5章水雨情遥测系统的软件实现 38

5.1 网页 38

5.2 手机客户端 40

第6章总结与展望 41

6.1 总结 41

6.2 展望 42

参考文献 43

致谢 44

附录A 软件加载实时数据表代码 45

图目录

图 2‑1 数据库系统的主要组成部分 12

图 3‑1 系统组网图 15

图 4‑1水雨情信息采集系统数据传输流程图 20

图 4‑2 遥测终端基本工作流程图 21

图 4‑3 中心站基本工作流程 22

图 4‑4 SQL服务基本配置 23

图 4‑5 SQL网络配置 24

图 4‑6 SQL客户端配置 24

图 4‑7 SQL数据库环境 24

图 4‑8 数据流向分配图 25

图 4‑9 Qt主界面 26

图 4‑10 软件登陆界面 26

图 4‑11 召测指令界面 27

剩余内容已隐藏,请支付后下载全文,论文总字数:30994字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;