工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements,...

17
学校编码:10384 分类号 密级 学号:X2011230731 UDC 市政府政务信息管理系统的设计与实现 Design and Implementation of Municipal Government Administrative Information Management System 王用江 指 导 教 师: 专 业 名 称: 论文提交日期: 2013 10 论文答辩日期: 2013 11 学位授予日期: 师: 答辩委员会主席2013 12 厦门大学博硕士论文摘要库

Upload: ngoxuyen

Post on 01-Apr-2018

230 views

Category:

Documents


7 download

TRANSCRIPT

Page 1: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

学校编码:10384 分类号 密级

学号:X2011230731 UDC

工 程 硕 士 学 位 论 文

市政府政务信息管理系统的设计与实现

Design and Implementation of Municipal Government

Administrative Information Management System

王用江

指 导 教 师: 陈 海 山 教 授

专 业 名 称: 软 件 工 程

论文提交日期: 2 0 1 3 年 1 0 月

论文答辩日期: 2 0 1 3 年 1 1 月

学位授予日期: 年 月

指 导 教 师:

答辩委员会主席:

2013 年 12 月

厦门大学博硕士论文摘要库

Page 2: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

厦门大学学位论文原创性声明

本人呈交的学位论文是本人在导师指导下,独立完成的研究成

果。本人在论文写作中参考其他个人或集体已经发表的研究成果,均

在文中以适当方式明确标明,并符合法律规范和《厦门大学研究生学

术活动规范(试行)》。

另外,该学位论文为( )课题(组)

的研究成果,获得( )课题(组)经费或实验室的资助,

在( )实验室完成。(请在以上括号内填写课题或课题

组负责人或实验室名称,未有此项声明内容的,可以不作特别声明。)

声明人(签名):

2013 年 月 日

厦门大学博硕士论文摘要库

Page 3: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

厦门大学学位论文著作权使用声明

本人同意厦门大学根据《中华人民共和国学位条例暂行实施办

法》等规定保留和使用此学位论文,并向主管部门或其指定机构送交

学位论文(包括纸质版和电子版),允许学位论文进入厦门大学图书馆

及其数据库被查阅、借阅。本人同意厦门大学将学位论文加入全国博

士、硕士学位论文共建单位数据库进行检索,将学位论文的标题和摘

要汇编出版,采用影印、缩印或者其它方式合理复制学位论文。

本学位论文属于:

( )1.经厦门大学保密委员会审查核定的保密学位论文,于

年 月 日解密,解密后适用上述授权。

( )2.不保密,适用上述授权。

(请在以上相应括号内打“√”或填上相应内容。保密学位论文

应是已经厦门大学保密委员会审定过的学位论文,未经厦门大学保密

委员会审定的学位论文均为公开学位论文。此声明栏不填写的,默认

为公开学位论文,均适用上述授权。)

声明人(签名):

2013 年 月 日

厦门大学博硕士论文摘要库

Page 4: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

厦门大学博硕士论文摘要库

Page 5: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

摘要

随着网络技术的快速发展,信息基础设施的不断完善,建设成标准统一、功

能完善、安全可靠的电子政务平台,为企业和民众服务,全面打造服务性政府,

将有利于树立各级政府良好形象,提高政府工作透明度,有利于勤政、廉政建设,

丰富网络信息资源,为我国信息产业的发展形成一个良好的“生态环境”。

本文首先阐述了市政府政务信息管理系统研究背景、意义,分析了国内外研

究现状。然后介绍了系统开发相关技术,如 JSP、Hibernate 持久层等技术。接着

针对市政府政务信息系统管理的情况,从业务需求、功能需求、性能需求、安全

需求、可行性研究等方面进行了详细的需求分析。并在此基础上进行了系统总体

设计、系统技术架构设计、系统功能设计以及数据库设计。 后在系统实现方面

采用 Struts+Hibernate 框架结构。整个系统的界面设计美观友好,操作简单方便,

使用安全可靠,实现了市政府办公室的信息化管理。

本文设计与实现的市政府信息管理系统,包括政务内网和外网两部分。政务

内网主要包括用户角色与权限管理、公文管理、用户桌面管理、人事管理、文档

管理、系统管理;外网主要包括新闻发布、通知公告、提供办事指南等功能。经

过系统测试表明:系统运转良好,初步达到了系统设计目标,能够基本满足市政

府信息化办公的要求。

关键词:电子政务;信息管理系统;持久层技术

厦门大学博硕士论文摘要库

Page 6: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

厦门大学博硕士论文摘要库

Page 7: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

Abstract

The information infrastructure is improving constantly with the rapid

development of network technology, building into a government platform which is

unified standard, functional, secure and reliable for enterprises and the public service,

and creating a service-government comprehensively that will help all levels

governments establish a good image to improve the transparency of government work,

and is advanced for diligent and clean conducive, and will rich network of

information resources and form a good "ecological environment" for China's

information industry.

Firstly, it describes the research background and significance of the Municipal

Government Administrative Information Management System, and analyzes the

research status. Secondly, it introduces the system development related technologies,

such as JSP, Struts, and Hibernate Persistence Layer. Then, it makes a detailed need

analysis for the management situations of the Municipal Government Administrative

Information Systems from all kinds of aspects, such as business requirements,

functional requirements, performance requirements, security requirements, feasibility

studies. It also makes system design, system technology architecture design, system

function design and database design on the overall basis. Finally, it implements the

system using Struts and Hibernate framework. The interface of the system designed is

beautiful and friendly, and its operation is simple, safe and reliable, which realize the

information management of the Municipal Government.

It designs and implements the Municipal Government Administrative Information

Management System, including the in-network and out-networks. The main

achievements of the internal network are user roles, permissions management,

office-documents management, user desktop management, personnel management,

documents management and system management. The outside network is mainly

including news release, announcement, providing guidance and other work functions.

After the system test, it works well, realizes the goal of the system design which meets the needs of the Municipal Government information office.

Key words: E-government; Information Management System; Persistence Layer

technology

厦门大学博硕士论文摘要库

Page 8: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

厦门大学博硕士论文摘要库

Page 9: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

目录

第一章 绪论 ..............................................................................................1

1.1 课题研究背景及意义 ...................................................................................... 1

1.1.1 研究背景 ............................................... 1

1.1.2 研究意义 ............................................... 1

1.2 国内外研究现状 .............................................................................................. 3

1.2.1 国外研究现状 ........................................... 3

1.2.2 国内研究现状 ........................................... 3

1.3 本文工作 .......................................................................................................... 4

第二章 相关技术介绍 ..............................................................................6

2.1 JSP 技术 ............................................................................................................ 6

2.2 Struts 技术 ........................................................................................................ 7

2.2.1 MVC 设计模式 ............................................ 7

2.2.2 Struts 框架概述 ......................................... 8

2.2.3 Hibernate 持久层技术 ................................... 10

2.3 Acegi 安全技术 ............................................................................................ 12

2.4 本章小结 ........................................................................................................ 13

第三章 系统分析 ....................................................................................14

3.1 现行系统调查 ................................................................................................ 14

3.2 可行性研究 .................................................................................................... 15

3.3 业务需求 ........................................................................................................ 16

3.4 功能需求 ........................................................................................................ 17

3.5 性能需求 ........................................................................................................ 25

3.6 本章小结 ........................................................................................................ 26

第四章 系统设计 ....................................................................................27

4.1 系统设计概述 ................................................................................................ 27

4.1.1 系统设计原则 .......................................... 27

厦门大学博硕士论文摘要库

Page 10: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

4.1.2 系统设计目标 .......................................... 28

4.2 系统总体结构设计 ........................................................................................ 29

4.3 系统技术架构设计 ........................................................................................ 31

4.3.1 系统数据架构 .......................................... 31

4.3.2 系统网络架构 .......................................... 31

4.3.3 系统部署架构 .......................................... 32

4.4 系统功能设计 ................................................................................................ 33

4.5 系统运行环境 ................................................................................................ 39

4.6 数据库设计 .................................................................................................... 40

4.6.1 设计准则 .............................................. 40

4.6.2 数据库逻辑结构设计 ................................... 40

4.6.3 数据库设计 ............................................ 41

4.7 本章小结 ........................................................................................................ 49

第五章 系统实现 ....................................................................................50

5.1 系统技术架构实现 ........................................................................................ 50

5.2 政务外网模块实现 ........................................................................................ 51

5.3 内部办公业务模块实现 ................................................................................ 52

5.3.1 角色与权限管理 ........................................ 53

5.3.2 公文管理 .............................................. 53

5.3.3 用户桌面管理 .......................................... 55

5.3.4 人事管理 .............................................. 56

5.3.5 文档管理 .............................................. 56

5.4 系统安全实现 ................................................................................................ 57

5.5 系统测试 ........................................................................................................ 59

5.5.1 测试原则及目标 ....................................... 60

5.5.2 测试过程 ............................................. 60

5.5.3 测试内容 ............................................. 61

5.5.4 测试结果 ............................................. 62

5.6 本章小结 ........................................................................................................ 63

第六章 总结与展望 ................................................................................64

厦门大学博硕士论文摘要库

Page 11: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

6.1 总结 ................................................................................................................ 64

6.2 展望 ................................................................................................................ 64

参考文献 ...................................................................................................66

致谢 ...........................................................................................................68

厦门大学博硕士论文摘要库

Page 12: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

厦门大学博硕士论文摘要库

Page 13: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

Contents

Chapter 1 Introduction .............................................................................1

1.1 Research Background and Significances ....................................................... 1

1.1.1 Research Background ............................................................................... 1

1.1.2 Significances ............................................................................................. 1

1.2 Research Status at Home and Abroad ........................................................... 3

1.2.1 Research Status at Home .......................................................................... 3

1.2.2 Research Status Abroad ............................................................................ 3

1.3 Research Contentsand Outline of the Dissertation ....................................... 4

Chapter 2 Introduction of Related Technologies ...................................6

2.1 JSP Technology ................................................................................................ 6

2.2 Struts Technology ............................................................................................ 7

2.2.1 MVC Design Pattern ................................................................................. 7

2.2.2 Struts Framework Overview ..................................................................... 8

2.2.3 Hibernate Persistence Layer Technology ............................................... 10

2.3 Acegi Security Technology ............................................................................ 12

2.4 Summary ......................................................................................................... 13

Chapter 3 System Analysis .....................................................................14

3.1 Current Systematic Investigation ................................................................. 14

3.2 Feasibility Study ............................................................................................. 15

3.3 Business Requirements .................................................................................. 16

3.4 Functional Requirements .............................................................................. 16

3.5 Performance Requirements .......................................................................... 24

3.6 Summary ......................................................................................................... 25

Chapter 4 System Design........................................................................26

4.1 System Design Overview ............................................................................... 26

4.1.1 System Design Principles ....................................................................... 26

4.1.2 System Design Goals .............................................................................. 27

4.2 System Architecture Design .......................................................................... 28

4.3 System Technical Architecture Design ........................................................ 30

4.3.1 System Data Architecture ....................................................................... 30

厦门大学博硕士论文摘要库

Page 14: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

4.3.2 Systems Network Architecture ............................................................... 30

4.3.3 System Deployment Architecture ........................................................... 31

4.4 System Function Design ................................................................................ 31

4.5 System Operating Environment ................................................................... 38

4.6 System Database Design ................................................................................ 39

4.6.1 System Database Design Criteria ........................................................... 39

4.6.2 Logical Database Design ........................................................................ 39

4.6.3 Database Design ..................................................................................... 40

4.7 Summary ......................................................................................................... 48

Chapter 5 System Implementation ........................................................49

5.1 System Technology Architecture Implementation ..................................... 49

5.2 Government Extranet Module ...................................................................... 50

5.3 Internal Office Operations Module .............................................................. 51

5.3.1 Roles and Rights Management ............................................................... 52

5.3.2 Official Document Management ............................................................ 52

5.3.3 User Desktop Management ..................................................................... 54

5.3.4 Personnel Management ........................................................................... 55

5.3.5 Document Management .......................................................................... 55

5.4 System Security Implementation .................................................................. 56

5.5 System Test ..................................................................................................... 58

5.5.1 Test Principles and Targets ..................................................................... 59

5.5.2 Test Process ............................................................................................ 59

5.5.3 Test Contents .......................................................................................... 60

5.5.4 Test Results ............................................................................................. 62

5.6 Summary ......................................................................................................... 63

Chapter 6 Summary and Outlook .........................................................64

6.1 Summary ......................................................................................................... 64

6.2 Outlook ........................................................................................................... 64

References ................................................................................................66

Acknowledgements .................................................................................68

厦门大学博硕士论文摘要库

Page 15: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

第一章 绪论

1

第一章 绪论

本章阐述了市政府政务信息管理系统的研究背景和意义,分析国内外研究现

状,并介绍了本文的工作内容。

1.1 课题研究背景及意义

20 世纪末,网络技术快速发展,信息基础设施不断完善,我国政府提出了

政府上网的构想,并将 1999 年定为“政府上网年”,从而揭开了我国电子政务建

设发展的序幕,电子政务也开始成为人们关注的焦点[1]。

1.1.1 研究背景

在信息化的今天,计算机技术、通信技术以及互联网技术都有了长足的发展,

信息化、数字化与人们的生活也越来越近。然而,以计算机技术为主的社会变革

对政府的公共管理和服务提出了更高的要求,这势必要引发一场技术管理的革

命。近十几年来,政府运行机制和工作方式都以信息化为中心发生转变,其主要

表现是政府管理职能的信息化。因此,世界各国政府都将电子政务作为提高政府

管理能力与服务质量,增加国家核心竞争力的重要途径。于是,许多国家和地区

都对电子化政府建设作了不同程度的探索和实践。

进入 20 世纪 90 年代以来,我国政府就一直致力于国家电子政务的建设,利

用信息化技术努力提高政府工作效率。近几年,我国各级政府都建立了比较完善

的电子政务管理、服务系统,但是随着各级政府电子政务系统的建设,其中也存

在着一些技术和细节问题,制约着我国电子政务的进一步发展。因此,如何运用

先进信息技术实现政府办公的信息化,以电子化、信息化手段提高政府办事效率、

行政管理水平和决策的准确性,从而更科学、有效地为社会稳定、经济发展和公

众服务,已成为我国政府一项紧迫任务。

1.1.2 研究意义

目前,我国电子政务的基础建设已经有了新的发展,关键是如何使它们得到

更好的利用和服务工作。我们的目标是建设成标准统一、功能完善、安全可靠的

电子政务平台,为企业和民众服务,全面打造服务性政府。电子政务的健康发展

将有利于树立各级政府良好形象,提高政府工作透明度,有利于勤政、廉政建设,

丰富网络信息资源,并带来巨大的商机,为我国信息产业的发展形成一个良好的

厦门大学博硕士论文摘要库

Page 16: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

市政府政务信息管理系统的设计与实现

2

“生态环境”。这些对推进我国全面建设小康社会具有十分重大和深远的意义[2]。

1.规范了工作流程,节约经济,提高了办公效率

在科技化的信息时代, 缩减政府机构部门、提高工作效率和服务质量是必

然要求。传统的政府管理机构复杂,办公程序环节多,程序繁杂,浪费了大量的

人力物力。而电子政务重新设计了政府的办公流程,采用电脑办公、电子邮件交

换、网络视频会议,简化了政令的执行过程,从而节约了大量的人力财力。同时,

电子政务打破了传统分割的部门、优化了政府结构,使各级政府的各部门拥有了

统一的办公平台,大大缩短了办公周期,提高了办公的效率。

2.提高了政府监管能力

20 世纪 90 年代中期,我国开始建设的金关工程、金税工程等[1],大大加强

了政府部门对经济信息利用的透明度,使社会公众对政府的监督更加容易,更加

全面。我国经济和社会进入新的发展阶段,市场机制的基础性作用不断增强,经

济成分进一步多元化,对政府组织的压力也在不断增大,传统的管理手段已经很

难适应加快经济、社会发展和全面建设小康社会的需要,这就要求政府工作与时

俱进,率先应用和推广先进的信息技术,创造新的管理方式和方法,适应新形势

的需要[2]。

3.有利于政府的廉政建设

电子政务可以提高政府工作的透明度,一定程度上使权力得到正确使用。电

子政务规范办事流程,公开办事规则,加强与公众的交互。目前,电子政务已被

视为国家反腐败的有力工具,它不仅可以方便公众,提高政府办事效率,还可以

防止权利的滥用。现已流行的“一网式”或“一站式”政务审批,深受公民的欢

迎。

4.联系公民,提高了公共服务水平

政府是传统的政府工作模式的中心。这种模式容易疏远政府与群众的关系。

然而,电子政务可以使公众在任意时间和地点获得政府服务,另一方面,政府也

能够及时处理群众的要求,更加方便地服务于大众。同时,通过网络等电子化手

段获得信息和服务,使得政府与公众之间形成平等的关系,政府与公众之间将建

立起一种新型的协同关系。

5.电子政务的示范作用,推动了国家信息化建设

在我国国家信息化建设中,电子政务的建设已是一个转折点。在我国经济发

厦门大学博硕士论文摘要库

Page 17: 工 程 市政府政务信息管理系统的设计与实现 厦门大学 … requirements, performance requirements, security requirements, feasibility studies. It also makes system

Degree papers are in the “Xiamen University Electronic Theses and Dissertations Database”. Fulltexts are available in the following ways: 1. If your library is a CALIS member libraries, please log on http://etd.calis.edu.cn/ and submitrequests online, or consult the interlibrary loan department in your library. 2. For users of non-CALIS member libraries, please mail to [email protected] for delivery details.

厦门大学博硕士论文摘要库