目 录
中原铁道旅行社信息管理系统 I
第1章 引言 1
1.1 项目开发的背景 1
1.2 项目开发的目的 2
第2章 可行性分析及总体设计原则 3
2.1 可行性分析 3
2.1.1 技术可行性 3
2.1.2 经济可行性 4
2.1.3 操作可行性 4
2.2 总体设计原则 5
第3章 系统分析 6
3.1 业务流程分析 6
3.2 数据流图 8
3.3 数据字典 10
第4章 系统设计 14
4.1 系统功能设计 14
4.2 系统数据库设计 15
4.2.1 概念结构设计 15
4.2.2 数据库表设计 19
4.3 系统开发工具与开发模式的选择 25
4.3.1 系统开发工具 25
4.3.2 系统设计模式 28
第5章 系统实现 30
5.1 登录模块 30
5.2 网站前台首页 31
5.3 旅游资讯界面 32
5.4 在线留言界面 32
5.5票务信息界面 33
5.6 酒店推荐界面 33
5.7 后台首界面 34
第6章 性能测试与分析 35
6.1 系统测试的定义 35
6.2 系统测试的目的及意义 35
6.3 系统测试的重要性 36
6.4 测试测试常用的方法 36
6.5 系统运行情况 37
6.6 系统测试结果 38
结 论 39
参 考 文 献 40
致 谢 41
第3章 系统分析
3.1 业务流程分析
在进行业务流程分析时,需要按照原有信息流动过程,逐个地调查分析所有环节的处理业务、处理内容、处理顺序和对处理时间的要求,弄清各个环节需要的信息、信息来源、流经去向、处理方法、计算方法、提供信息的时间和信息形态(报告、报单、屏幕显示)等[4]。
业务流程分析可以帮助开发者了解该业务处理过程,发现和处理系统调查工作中的错误和疏漏。业务流程分析是通过业务流程图来进行,即用一些规定的符号及连线来表示某个具体业务处理过程[5]。
具体业务流程如图3.1所示。

图3.1业务流程图
3.2 数据流图
数据流程是指数据在系统中产生、传输、加工处理、使用、存储的过程[6]。数据流程分析是把数据在现行系统内部的流动抽象的独立起来,舍去了具体组织机构、信息载体、处理工具、物质、材料等,单从数据流动过程来考查实际业务的数据处理模式。
数据流程与数据流程分析是今后建立数据库系统和设计功能模块处理过程的基础。描述数据流程的工具是数据流程图以及其附带的数据字典、处理逻辑等图表。其中数据流程图是描述系统逻辑模型的主要工具,它以少数几种符号综合地反映出信息在系统中的流动、存储和传递[7]。
第4章 系统设计
4.1 系统功能设计
系统设计是一个把软件需求转换成用软件系统表示的过程[9]。通过对目标系统的分析和研究,做出了对中原铁道旅行社信息管理系统的总体规划,这是全面开发系统的重要基础。在对中原铁道旅行社信息管理系统全面分析调查的基础上,制定出中原铁道旅行社信息管理系统的总体规划。系统设计包括系统总体设计、系统详细设计、系统数据库设计、系统开发工具、开发技术和开发模式等。
从数据流图出发,对数据流图进行分析,得出的层次化的模块结构图.
中原铁道旅行社信息管理系统功能模块图如图4.1所示:

图4.1 中原铁道旅行社信息管理系统功能模块图
4.2 系统数据库设计
数据库是本系统的核心和基础[10]。它设计的好坏直接影响着整个系统的质量。数据是一切系统设计的基础,通俗地说,数据库设计就像高楼大厦的根基一样,如果设计的不合理、不完善,将在系统开发过程中,甚至到后期的系统维护、功能变更和功能扩充时,引起较多问题,本文转载自http://www.biyezuopin.vip/onews.asp?id=12937严重时甚至要重新设计,重做大量已完成工作。
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Src="qtleft.ascx" TagName="qtleft" TagPrefix="uc3" %>
<%@ Register Src="qtdown.ascx" TagName="qtdown" TagPrefix="uc2" %>
<%@ Register Src="qttop.ascx" TagName="qttop" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>中原铁道旅行社信息管理系统</title><LINK href="qtimages/style.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
.STYLE1 {color: #FFFFFF}
.STYLE5 {color: #CCFFCC;
font-size: 26pt;
}
.STYLE6 {color: #288848}
-->
</style>
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form id="form1" runat="server">
<div>
<table width="1018" height="1251" border="0" align="center" cellpadding="0" cellspacing="0" id="__01">
<tr>
<td>
<uc1:qttop ID="Qttop1" runat="server" />
</td>
</tr>
<tr>
<td><table id="Table2" width="1018" height="855" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
<uc3:qtleft id="Qtleft1" runat="server">
</uc3:qtleft></td>
<td valign="top"><table id="Table12" width="799" height="855" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><table id="Table13" width="799" height="281" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="274" height="281" align="center" valign="middle"><SCRIPT type=text/javascript>
var focus_width=264;
var focus_height=251;
var text_height=20;
var swf_height = focus_height+text_height;
var pics="";
var links="";
var texts="";
pics="<%=npics %>";
links="<%=nlinks %>";
texts="<%=ntexts %>";
document.write('<embed src="qtimages/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="Best" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
</SCRIPT></td>
<td><table id="Table14" width="525" height="281" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="525" height="32" background="qtimages/1_02_02_01_02_01.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="18%" height="26" align="center" class="STYLE1"><strong>站内新闻</strong></td>
<td width="70%" align="center"> </td>
<td width="12%"><a href="news.aspx?lb=站内新闻"><strong class="STYLE6">更多>></strong></a></td>
</tr>
</table></td>
</tr>
<tr>
<td><table id="Table15" width="525" height="242" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="qtimages/1_02_02_01_02_02_01.gif" width="8" height="242" alt=""></td>
<td width="505" height="242" valign="top" class=newsline>
<asp:DataGrid ID="DataGrid1" runat="server" AutoGenerateColumns="False" BorderWidth="0"
ItemStyle-Height="25" ShowHeader="False" Width="100%">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<img src="qtimages/9.gif">
</ItemTemplate>
<HeaderStyle Width="30px" />
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="标题">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Left" />
<ItemTemplate>
[<%#DataBinder.Eval(Container.DataItem, "leibie")%>] <a href='ggdetail.aspx?id=<%#DataBinder.Eval(Container.DataItem, "id") %>'>
<%# CutStr(DataBinder.Eval(Container.DataItem, "title "))%>
</a>
</ItemTemplate>
</asp:TemplateColumn>
<asp:BoundColumn DataField="addtime" HeaderText="发布时间">
<HeaderStyle Width="100px" />
</asp:BoundColumn>
</Columns>
</asp:DataGrid></td>
<td><img src="qtimages/1_02_02_01_02_02_03.gif" width="12" height="242" alt=""></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="qtimages/1_02_02_01_02_03.gif" width="525" height="7" alt=""></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><table id="Table16" width="799" height="277" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="799" height="45" background="qtimages/1_02_02_02_01.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="18%" height="26" align="center" class="STYLE1"><strong>推荐酒店</strong></td>
<td width="73%" align="center"> </td>
<td width="9%"><a href="jiudianxinxilist.aspx"><strong class="STYLE6">更多>></strong></a></td>
</tr>
</table></td>
</tr>
<tr>
<td><table id="Table17" width="799" height="220" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="11" background="qtimages/1_02_02_02_02_01.gif"> </td>
<td width="772" height="220">
<asp:DataList ID="DataList1" runat="server" Height="100%" RepeatColumns="5" Width="100%">
<ItemTemplate>
<table align="center" border="0" bordercolor="#00FFFF" cellpadding="3" cellspacing="1"
style="border-collapse: collapse" width="120">
<tr>
<td align="center" height="140">
<a href='jiudianxinxidetail.aspx?id=<%# Eval("id") %>'>
<asp:Image ID="Image1" runat="server" Height="100%" ImageUrl='<%# Eval("zhaopian") %>'
Width="116" /></a></td>
</tr>
<tr>
<td align="center">
<asp:Label ID="Label1" runat="server" Text='<%# Eval("jiudianmingcheng") %>'></asp:Label></td>
</tr>
</table>
</ItemTemplate>
</asp:DataList></td>
<td width="16" background="qtimages/1_02_02_02_02_03.gif"> </td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="qtimages/1_02_02_02_03.gif" width="799" height="12" alt=""></td>
</tr>
</table></td>
</tr>
<tr>
<td><table id="Table18" width="799" height="297" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top"><table id="Table19" width="399" height="297" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="399" height="45" background="qtimages/1_02_02_03_01_01.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="34%" height="26" align="center" ><a href="news.aspx?lb=公告通知"><strong class="STYLE1">公告通知</strong></a></td>
<td width="66%" align="center"> </td>
</tr>
</table></td>
</tr>
<tr>
<td><table id="Table20" width="399" height="219" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10" background="qtimages/1_02_02_03_01_02_01.gif"> </td>
<td width="376" height="219" valign="top" class=newsline><asp:DataGrid id="DataGrid2" runat="server" AutoGenerateColumns="False" BorderWidth="0" ItemStyle-Height="25" ShowHeader="False" Width="100%">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<img src="qtimages/9.gif">
</ItemTemplate>
<HeaderStyle Width="30px" />
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="标题">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Left" />
<ItemTemplate>
[<%#DataBinder.Eval(Container.DataItem, "leibie")%>] <a href='ggdetail.aspx?id=<%#DataBinder.Eval(Container.DataItem, "id") %>'>
<%# CutStr(DataBinder.Eval(Container.DataItem, "title "))%>
</a>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid></td>
<td width="13" background="qtimages/1_02_02_03_01_02_03.gif"> </td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="qtimages/1_02_02_03_01_03.gif" width="399" height="33" alt=""></td>
</tr>
</table></td>
<td valign="top"><table id="Table21" width="399" height="297" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="399" height="45" background="qtimages/1_02_02_03_01_01.gif"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="34%" height="26" align="center" ><a href="news.aspx?lb=旅游资讯"><strong class="STYLE1">旅游资讯</strong></a></td>
<td width="66%" align="center"> </td>
</tr>
</table></td>
</tr>
<tr>
<td><table id="Table22" width="399" height="219" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="10" background="qtimages/1_02_02_03_01_02_01.gif"> </td>
<td width="376" height="219" valign="top" class=newsline><asp:DataGrid id="DataGrid3" runat="server" AutoGenerateColumns="False" BorderWidth="0" ItemStyle-Height="25" ShowHeader="False" Width="100%">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<img src="qtimages/9.gif">
</ItemTemplate>
<HeaderStyle Width="30px" />
</asp:TemplateColumn>
<asp:TemplateColumn HeaderText="标题">
<ItemStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
Font-Underline="False" HorizontalAlign="Left" />
<ItemTemplate>
[<%#DataBinder.Eval(Container.DataItem, "leibie")%>] <a href='ggdetail.aspx?id=<%#DataBinder.Eval(Container.DataItem, "id") %>'>
<%# CutStr(DataBinder.Eval(Container.DataItem, "title "))%>
</a>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:DataGrid></td>
<td width="13" background="qtimages/1_02_02_03_01_02_03.gif"> </td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="qtimages/1_02_02_03_01_03.gif" width="399" height="33" alt=""></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td>
<uc2:qtdown ID="Qtdown1" runat="server" />
</td>
</tr>
</table>
</div></form>
</body>
</html>
















