As the rapid development of the IP network business, IP network business is becoming more and more important in the data network and even the whole telecommunication network. The Hunan province will accelerate the construction of the IP Network Management, choosing the professional telecommunications network software. The transfer company was commissioned to develop the new Hunan province’s city area network manage system, which focuses to enhance and extend the network management function, and form an effective set of network management tools, to make sure the entire IP network work steadily.
To solve the problem of the old IP address management system, such as low understand to IP address’s management and design, access range is not clear, IP addresses’ recovery is not timely, the lack of statistics, considering there is a process as the group company provide the planning IP address sets, then assign the address sets to each city, then to each user, take a serious analysis to the process during the project development, then provide an effective IP address scheme and manage solution.
Based on the status quo of relevant business system and the development of technology in future, the article expatiates the advantage of using Struts framework in this system, and gives a detail analysis to the Struts framework itself and the status and prospects of the struts. The design of struts framework based on MVC model has implemented a system which has integrated function, friendly user interface and scalability. Finally, a discuss of the innovation in this dissertation has been given, the development and prospects of the IP address management system has been predicted as well.
Key words:Struts,MVC,the planing IP addresses
目录
1 绪 论 1
1.1 IP地址管理系统简介 1
1.2 本课题的目的和意义 1
2 技术背景 3
2.1 Java web应用概述 3
2.1.1 Servlet 组件 3
2.1.2 JSP组件 4
2.1.3 Javabean组件 4
2.1.4 客户化JSP标签 5
2.1.5 XML语言 5
2.1.6 Web服务器和应用服务器 5
2.1.7 Web 组件的三种关联关系 6
2.2 MVC设计模式与STRUTS架构 7
2.2.1 MVC设计模式概述 7
2.2.2 Struts实现MVC设计模式 7
2.2.3 改写Struts中的ActionServlet 8
3 系统设计与实现 11
3.1 系统功能设计 11
3.1.1 地址规划 11
3.1.2 地址池管理 11
3.1.2.1 录入IP地址段 11
3.1.2.2 删除地址段信息 11
3.1.2.3 修改地址段资源信息 12
3.1.2.4 规划地址段 12
3.1.2.5 IP地址段信息查询 12
3.1.2.6 职能单位管理 13
3.1.2.7 统计地址段的使用情况 13
3.1.3 地址分配 13
3.1.3.1 IP地址段的分配 13
3.1.3.2 IP地址段信息查询 14
3.2 系统平台选择 15
3.3 子模块的流程图及输入与输出设计 15
3.3.1 地址规划 15
3.4 数据库设计 24
3.4.1 系统要求 24
3.4.2 系统表的结构说明 24
3.4.3 数据库逻辑结构图 26
3.4.4 数据库表设计 27
3.5 系统界面设计 33
3.6 系统实现 37
3.6.1 页面实现 37
3.6.2 业务逻辑的实现 38
3.6.3 配置文件的配置 39
3.7 系统特点 40
4 结论 42
4.1 本文总结 42
4.2 系统的前景展望 43
4.3 下一步工作 43
致 谢 44
参考文献 45
附录 46