文档介绍:中南民族大学
硕士学位论文
基于GPRS自动抄表系统主站设计与研究
姓名:安中印
申请学位级别:硕士
专业:计算机应用技术
指导教师:宋中山
20080520
中南民族大学硕士学位论文
摘要
采用计算机技术和通信技术自动读取和处理表数据,是提高能耗管理部门自动化水
平的需要,也是计算机技术和通信技术迅速发展的必然。它不仅可以降低人工抄表的劳
动强度,节省人力资源,降低人为因素造成的抄表误差,而且具有抄表速度快,抄表实
时性好,数据资源共享等优点。
为了降低成本、提高通讯质量,本文提出了基于 GPRS 自动抄表的管理软件系统(主
站)。研究了基于 GPR 自动抄表中的 4 种关键技术:GPRS 技术,管理软件涉及到的
ORACLE 数据库技术,SOCKET 通信技术以及线程池和数据库连接池技术;给出了基
于 GPRS 自动抄表系统的总体结构图,通过总体结构图说明基于 GPRS 自动抄表系统运
作方式、各个部件的功能。根据 GPRS 自动抄表系统中各部件物理分布特点,提出了计
算机主站与集中器之间采用 GPRS 网络进行远程通讯、集中器和采集器之间采用 485 总
线或者载波进行通讯、采集器和电表之间采用 485 总线进行通讯的方案;最后给出主站
软件网络结构图,通过网络结构图介绍各个模块之间的关系以及在整个软件中所起的作
用。在此基础上给出 2 个重要模块(数据库服务器和通讯服务器)的设计方案。在通讯服
务器设计方案中根据实际环境有大量的集中器同时上报数据这个特点提出了“请求—服
务”模型和“等待—唤醒”模型用来避免数据库访问瓶颈。结合数据库连接池技术和线
程池技术进一步提高系统的性能。
关键字:自动抄表;GPRS;主站;集中器;采集器;电表
I
中南民族大学硕士学位论文
ABSTRACT
puter technology munication technology to read and process data
sheet automatically is to improve the level of automation of the management of energy
consumption, and the needs for rapid development puter technology and
communication technology. It not only can reduce the labor intensity of meter reading, save
human resources and reduce the meter-reading error causing by human factors, but also have
the advantages of high speed of meter reading, real-time of meter reading, data sharing and so
on.
In order to reduce costs and improve the quality munication, the software
management system based on GPRS automatic meter reading is proposed in this paper. Then,
Four key technology of the automatic meter reading based on GPRS are also studied. These
four key technologies are GPRS technology, ORACLE database technology which is related
with management software, munication technology and the technology of thread
pool and database connection pool. What’s more, the structure block of the automatic meter
reading system based on GPRS is given in this paper. And by this structure block, the
operating mode of the automatic meter reading sys