校园宽带上网计费系统开发
摘 要
本论文阐述了校园宽带上网计费系统的分析与实现。主要包括帐户管理,资费配置和帐务管理三个部分。帐户管理实现用户注册功能(包括预注册和正式注册),资费配置实现收费策略,帐务管理实现帐户的余额管理功能。
本文重点介绍了利用J2EE开发环境,结合校园网络的特点和用户实际需求,进行上网计费管理系统的设计与开发过程。在设计和开发过程中贯彻面向对象的编程设计思想,采用的核心工作流程为:业务建模、分析和设计、软件实现、软件测试。在实际编码前重点进行数据库表结构设计,对表的结构关系进行关联,在此基础上设计需要的类。
本系统采用Microsoft的Visio作为设计工具。在系统开发的不同阶段,分别以UML中的用例视图、序列图、E-R图和系统功能图来描述系统。
关键字:计费系统 webwork2 ibatis visio UMLThe Design and Implementation of Broadband Billing System
Abstract
This thesis mostly describe the design and implementation of boardband billing system. There are three part of the billing system:account management,usage config,balance management.Account management implements user register which contains advance and formal register.Usage config implements charge policy and balance management manages the balance of accounts.
This thesis emphasis the IDE of J2EE.Contact the characteristic of the Campus Network and the actual needs of our client to design and develop the billing system.put the object-oriented method into practice, the core of the flow of work has the follow four section: Business Modeling, Analysis and Design, Software Implementation, Software Test.Database design and structure of the table is the primary thing before the coding, and finally design the necessary class.
This system take the Visio as the design tool.at the various stages of develop, using Use Case Diagram, Sequence diagrams, E-R Diagram, system function diagram to describe the system.
Keywords:billing system; webwork2; ibatis; visio; UML
目 录
中文摘要 I
英文摘要 II
目 录 III
第一章 绪论 1
1.1 课题的研究背景和现状 1
1.2 课题设计内容 2
1.3 设计原则 2
第二章 技术分析 4
2.1 MVC模式和webwork2+spring+ibatis框架 4
2.1.1 设计模式和框架 4
2.1.2 MVC模式 4
2.1.3 webwork2+spring+ibatis框架 5
第三章 系统分析 7
3.1 系统目标 7
3.2 系统可行性分析研究 7
3.2.1 经济可行性 7
3.2.2 技术可行性 7
3.3 需求分析 8
3.3.1 术语解释 8
3.4 系统运行要求 10
第四章 总体设计 11
4.1 系统总功能模块图 11
4.2 系统设计 11
4.2.1 系统开发工具选择 11
4.2.2 系统方案的选择 12
4.3 数据库表设计 12
4.4 数据表设计 14
4.5 时序图分析 21
第五章 系统实现 22
5. 1 配置文件 22
5.2 cardtype模块流程 25
5.3 用户注册 30
5.3.1 用户预注册 30
5.3.2 用户预注册查询及正式注册 31
5.4 资费配置 33
5.4.1 资费配置(USAGE TYPE) 34
5.4.2 计价单位配置(USAGE UNIT) 34
5.4.3 基础资费配置(USAGE RATE) 35
5.4.4 时段配置(PERIOD RATE) 37
5.4.5 优惠配置(DISCOUNT) 39
5.4.6 资费策略配置(RATE POLICY) 39
5.5 账务管理 41
第六章 总结 43
参考文献 44
致谢 45