2011届毕业生 毕业论文
题 目: 电力收费系统 院系名称: 信息科学与工程学院 专业班级: 计算机科学与技术专业 学生姓名: xxx 学 号: xxxx 指导教师: xxx 教师职称: xx
2011 年 6 月 3 日
摘 要
电力行业是国民经济的基础产业,是人们日常生活的基础。保证持续、高效的电力供应是关系到国计民生的大事。对电力系统管理来说,电费的收取以及管理,是整个电力系统规范化管理的核心。 因此,针对这一现实问题,为满足电业部门的需求,开发研制电力收费系统。电力收费系统是专门对电力部门各用户电费管理及相关工作的管理与维护,而精心开发出的一个收费管理软件。利用计算机可以进行快捷和准确的运算,不需要大量的工作就可以完成每月的电表计费工作。而且利用计算机系统的软件处理,生成各种报表,有利于提高管理决策。
根据实际需求,电力收费系统在Windows XP操作系统环境下,以MyEclipse 6.5为开发平台,使用JSP技术设计完成,并使用MySql建设网络数据库。本系统采用JDBC接口连接数据库,整个开发过程是在JSP页面上进行,WEB工具采用Tomcat。通过B/S模式(浏览器/服务器模式)进行前台后台的操作,对用户信息及时地进行添加,删除,查询。
本项目的设计思想是对每个用户的用电信息等进行统一管理与维护,利用本系统电力部门可以实现每月网上收取电费,既方便了广大的用户,同时也方便了对供电工作进行管理的工作人员。使电费之收取方式操作简便、对用户进行统一和整体化的管理。
关键词: 电费;电力收费;jsp技术;MySql;JDBC
I
Title The electric charge system
Abstract
Electric power industry is the foundation of the national economy and the basis of People's Daily life. To ensure sustainable and efficient power supply is a event to the people's livelihood. For the power management system, the electricity charge and management, is the core of the whole power standardization management system. Therefore, according to this problem, to meet the needs of the Power department, we develop the electric charge system .Electricity charge system is a charge management software for the Power department’s management and maintenance. Making use of the calculator can carry on a fast and accurate operation, don't need a great deal of work and then can complete the electricity charging in every month. And using a computer’s software, it can generate reports, and improve management decisions. According to the actual demand, the project of the electrical bill system adopts the JSP technology, in Windows under the XP operating system environment, and use MYSQL to build the network database. This system uses JDBC interface to connect the database, the entire development process is in the JSP page, WEB tools use Tomcat. Through the B/S to operate in the front and the background, and users timely to add, delete, query.
The design thought of this project is to manage and maintain users' information in a unity, and power department could charge online by using this system, it's a great convenience for both users and workers who manage the power supply. This system makes it easier and convenient in charging operations, a unified and integrative management of users is also achieved in this project.
Keyword: Electricity charges; The electric power charges; JSP Technique; MYSQL;JDBC
II
目 次
1 前言...................................................................... 1
1.1 设计背景............................................................ 1 1.2 系统目标............................................................ 1 2 开发环境及相关技术介绍.................................................... 2
2.1 MyEclipse简介 ...................................................... 2 2.2 关系型数据库MySQL简介.............................................. 4 2.3 Tomcat 服务器介绍................................................... 5 2.4 JSP技术介绍 ........................................................ 5
2.5 css和Js技术简介 ................................................... 6
2.5.1 Css层叠样式表简介 ............................................ 6 2.5.2 JS技术简介 ................................................... 7 3 需求分析.................................................................. 9 3.1 用户需求分析........................................................ 9 3.2 功能需求分析........................................................ 9 3.3 系统可行性分析..................................................... 10 4 系统概要设计............................................................. 11
4.1功能实现 ........................................................... 11 4.2.电力收费系统各个模块设计........................................... 12 4.2.1电力收费系统总体功能模块结构图 ............................... 12
4.2.2 前台模块结构图............................................... 13 4.2.3 后台模块结构图............................................... 13 4.3功能实现流程图 ..................................................... 14
4.3.1 添加用户功能流程图........................................... 14 4.3.2 登录模块功能流程图........................................... 15
5 数据库设计............................................................... 16
5.1 数据库需求分析..................................................... 16 5.2 数据库概念结构设计................................................. 16 5.3 数据库逻辑结构设计................................................. 20 5.4 数据库物理结构实现................................................. 23 6 详细设计................................................................. 25
6.1 设计方法与结构的简介............................................... 25
6.1.1 面向对象的优点............................................... 25 6.1.2 B/S模式 ..................................................... 25 6.2 页面设计及代码实现................................................. 26
6.2.1 后台功能模块实现............................................. 26 6.2.2前台模块功能模块实现 ......................................... 37
1
结 论...................................................................... 42 致 谢...................................................... 错误!未定义书签。 参 考 文 献................................................................ 43
2