航空公司售票信息系统认知实习报告.doc

上传人:wux****ua 文档编号:9073826 上传时间:2020-04-03 格式:DOC 页数:32 大小:633KB
返回 下载 相关 举报
航空公司售票信息系统认知实习报告.doc_第1页
第1页 / 共32页
航空公司售票信息系统认知实习报告.doc_第2页
第2页 / 共32页
航空公司售票信息系统认知实习报告.doc_第3页
第3页 / 共32页
点击查看更多>>
资源描述
序号: 学号: 11434204 实 习 报 告实习课程名称: 认知实习 实 习 题 目: 航空公司售票信息系统 学 生 姓 名: 孙金玉 学 院(系): 数理学院 专 业 班 级: 信息112 校内指导教师: 张燕新 专业技术职务: 讲师 实习时间: 2013 年 1 月 7 日 2013 年 1 月 11 日摘要随着经济迅猛发展,人们的工作与生活也越来越与出行联系密切。每个人在选择出行方式时也各不相同网络发达的现代,随着网络技术的快速发展和日益普及,基于网络的订票系统已经被各家航空公司使用,它的开放性、适应性、交互性显示出了良好的发展前景,对传统的订票方式产生了深刻的影响。今天,信息资源已成为各个部门的重要财富,建立一个满足航空售票信息处理要求的行之有效的信息系统也成为一个航空公司发展的重要条件。航空售票信息系统,它是航空部门机票管理系统的一部分,其作用是对所有待售机票和已售机票进行有效的管理。通过本系统不仅可以进行售票工作,而且还可以对和机票相对应的旅客情况和航班情况进行查询,使售票人员能够有效地对机票进行有效的控制和管理。因此,通过航空售票管理系统,使航空售票管理工作系统化,规范化,自动化,从而大大提高了售票管理工作的效率本航空售票信息系统采用UML建模工具来对机票预订进行流程实现,主要包括了管理员(客户)登录、用户注册、机票管理、航线舱位信息管理、查询、订票、退票、用户交流、退出系统等部分。关键字:UML、订票目录摘要2一本次实习的意义4二 需求分析4 1.实现功能4 2.功能模块划分5三概要设计6四,详细设计7五课程有关内容11六实现代码15 1.登录15 2.管理员17 3.客户21 4机票管理245航班信息管理26 6.查询297.订票328.退票369,用户交流平台39七总结42八致谢42九参考文献42一本次实习的意义本次实习,虽然只有短短的几天,但也确实让我受益匪浅,我们用一天的时间来完成之前从未接触过的UML,从认识它到了解它再到利用它来完成课程设计,我觉得我自己学了一样有用的工具。而这其中也有困难,它的运行什么的都与之前一直接触的C语言和C+不一样,以致在运行时遇到出错有些措手不及。不过还好,经过一番检查与百度查阅,出现的问题都被解决!我个人认为,这次课设对于我是非常有意义的。如果有机会,真的很想好好学习一下UML!对我的成长也会有莫大的帮助,也特别感谢老师在我实习期间对我的悉心教导。二需求分析1.实现功能2.功能模块划分 1).用户管理 用户的注册数据库需要存放相应的注册信息。 用户登录时,主要验证用户姓名、密码和身份证号是否正确。分为管理员和客户。管理员实现对客户的增、删、改、查。 2)航线舱位信息管理 管理员对航线和舱位信息进行增、删、改、查。 3)机票管理 管理员对可预订的机票进行查看、添加、修改、删除。4)查询、预订、退票 这三大功能,对管理员与客户同时适用。查询时可根据客户的机票类型、航程类别、出发城市 、到达城市、出发日期等。 5).用户交流平台 管理员可以通过该平台与客户通信。登录三概要设计管理员登录客户登录基本信息管理机票管理用户交流平台订票退票退出系统管理基本信息航班信息管理查询 四详细设计#Title IDFull DescriptionCodePriorityWorkloadRiskStatus1.登录REQ_ 1Undefined0UndefinedDraft1.1管理员登录REQ_ 2UndefinedUndefinedDraft1.2客户登录REQ_ 3UndefinedUndefinedDraft1.3客户注册REQ_ 4UndefinedUndefinedDraft2.退出系统REQ_ 5UndefinedUndefinedDraft3.客户基本信息管理REQ_ 6Undefined0UndefinedDraft3.1更改账户REQ_ 7UndefinedUndefinedDraft3.2修改个人信息REQ_ 56Undefined0UndefinedDraft3.2.1真实姓名REQ_ 66UndefinedUndefinedDraft3.2.2性别、年龄、身份证号REQ_ 67UndefinedUndefinedDraft3.2.3修改密码REQ_ 8UndefinedUndefinedDraft4.管理员管理基本信息REQ_ 9Undefined0UndefinedDraft4.1管理员信息REQ_ 10Undefined0UndefinedDraft4.1.1更改账户REQ_ 12UndefinedUndefinedDraft4.1.2修改个人信息REQ_ 57Undefined0UndefinedDraft4.1.2.1真实姓名REQ_ 68UndefinedUndefinedDraft4.1.2.2性别、年龄、身份证号REQ_ 69UndefinedUndefinedDraft4.1.3修改密码REQ_ 13UndefinedUndefinedDraft4.2客户信息REQ_ 11Undefined0UndefinedDraft4.2.1添加客户信息REQ_ 14UndefinedUndefinedDraft4.2.2修改客户信息REQ_ 15UndefinedUndefinedDraft4.2.3删除客户信息REQ_ 16UndefinedUndefinedDraft5.航班信息管理REQ_ 17Undefined0UndefinedDraft5.1航线信息REQ_ 18Undefined0UndefinedDraft5.1.1查询航线信息REQ_ 36UndefinedUndefinedDraft5.1.2添加航线信息REQ_ 37Undefined0UndefinedDraft5.1.2.1航班编号REQ_ 58UndefinedUndefinedDraft5.1.2.2航空公司REQ_ 59UndefinedUndefinedDraft5.1.2.3起飞城市REQ_ 60UndefinedUndefinedDraft5.1.2.4到达城市REQ_ 61UndefinedUndefinedDraft5.1.2.5起飞时间与到达时间REQ_ 62UndefinedUndefinedDraft5.1.2.6备注REQ_ 63UndefinedUndefinedDraft5.1.3修改航线信息REQ_ 20UndefinedUndefinedDraft5.1.4删除航线信息REQ_ 35UndefinedUndefinedDraft5.2舱位信息REQ_ 21Undefined0UndefinedDraft5.2.1查询舱位信息REQ_ 22UndefinedUndefinedDraft5.2.2添加舱位信息REQ_ 38UndefinedUndefinedDraft5.2.3修改舱位信息REQ_ 23UndefinedUndefinedDraft5.2.4删除舱位信息REQ_ 24UndefinedUndefinedDraft6.查询REQ_ 25Undefined0UndefinedDraft6.1机票类型(国内 国际)REQ_ 34Undefined0UndefinedDraft6.1.1航程类别REQ_ 70Undefined0UndefinedDraft6.1.1.1单程 双程 联成REQ_ 74UndefinedUndefinedDraft6.1.2出发城市REQ_ 71UndefinedUndefinedDraft6.1.3到达城市REQ_ 72UndefinedUndefinedDraft6.1.4出发日期REQ_ 73UndefinedUndefinedDraft7.订票REQ_ 40Undefined0UndefinedDraft7.1查看可预订机票REQ_ 41Undefined0UndefinedDraft7.1.1机票信息REQ_ 49UndefinedUndefinedDraft7.2预订机票REQ_ 42Undefined0UndefinedDraft7.2.1机票信息REQ_ 48UndefinedUndefinedDraft7.3查看预订过机票REQ_ 43Undefined0UndefinedDraft7.3.1预订信息REQ_ 47UndefinedUndefinedDraft8.退票REQ_ 54Undefined0UndefinedDraft8.1机票信息REQ_ 55UndefinedUndefinedDraft9.机票管理REQ_ 44Undefined0UndefinedDraft9.1查看可预订机票REQ_ 45Undefined0UndefinedDraft9.1.1机票信息REQ_ 46UndefinedUndefinedDraft9.2添加可预订机票REQ_ 50Undefined0UndefinedDraft9.2.1机票信息REQ_ 52UndefinedUndefinedDraft9.3删除机票REQ_ 51Undefined0UndefinedDraft9.3.1机票信息REQ_ 53UndefinedUndefinedDraft10.用户交流平台REQ_ 39Undefined0UndefinedDraft10.1联系在线客服REQ_ 65UndefinedUndefinedDraft五课程有关内容用例图#序列图#活动图#类图#数据库六实现代码1.登录if exists(select 1 from sys.sysforeignkey where role=FK_ADMINIST_RELATIONS_登录) then alter table Administrator delete foreign key FK_ADMINIST_RELATIONS_登录end if;if exists(select 1 from sys.sysforeignkey where role=FK_客户_RELATIONS_登录) then alter table 客户 delete foreign key FK_客户_RELATIONS_登录end if;drop table if exists 登录;/*=*/* Table: 登录 */*=*/create table 登录 ( 管理员登录 tinyint null, 客户登录 tinyint null, 客户注册 tinyint null);2.管理员if exists(select 1 from sys.sysforeignkey where role=FK_ADMINIST_RELATIONS_登录) then alter table Administrator delete foreign key FK_ADMINIST_RELATIONS_登录end if;if exists(select 1 from sys.sysforeignkey where role=FK_机票管理_RELATIONS_ADMINIST) then alter table 机票管理 delete foreign key FK_机票管理_RELATIONS_ADMINISTend if;if exists(select 1 from sys.sysforeignkey where role=FK_查询_RELATIONS_ADMINIST) then alter table 查询 delete foreign key FK_查询_RELATIONS_ADMINISTend if;if exists(select 1 from sys.sysforeignkey where role=FK_用户交流平台_RELATIONS_ADMINIST) then alter table 用户交流平台 delete foreign key FK_用户交流平台_RELATIONS_ADMINISTend if;if exists(select 1 from sys.sysforeignkey where role=FK_航班信息管理_RELATIONS_ADMINIST) then alter table 航班信息管理 delete foreign key FK_航班信息管理_RELATIONS_ADMINISTend if;if exists(select 1 from sys.sysforeignkey where role=FK_订票_RELATIONS_ADMINIST) then alter table 订票 delete foreign key FK_订票_RELATIONS_ADMINISTend if;if exists(select 1 from sys.sysforeignkey where role=FK_退票_RELATIONS_ADMINIST) then alter table 退票 delete foreign key FK_退票_RELATIONS_ADMINISTend if;drop index if exists Administrator.Relationship_2_FK;drop index if exists Administrator.Administrator_PK;drop table if exists Administrator;/*=*/* Table: Administrator */*=*/create table Administrator ( 更改账户ID integer not null, bascic information ID tinyint not null, click information tinyint null, hangban tinyint null, find tinyint null, booking tinyint null, return tinyint null, ticket mange tinyint null, constraint PK_ADMINISTRATOR primary key (更改账户ID);/*=*/* Index: Administrator_PK */*=*/create unique index Administrator_PK on Administrator (更改账户ID ASC);/*=*/* Index: Relationship_2_FK */*=*/create index Relationship_2_FK on Administrator ();alter table Administrator add constraint FK_ADMINIST_RELATIONS_登录 foreign key () references 登录 on update restrict on delete restrict;3.客户if exists(select 1 from sys.sysforeignkey where role=FK_客户_RELATIONS_登录) then alter table 客户 delete foreign key FK_客户_RELATIONS_登录end if;if exists(select 1 from sys.sysforeignkey where role=FK_查询_RELATIONS_客户) then alter table 查询 delete foreign key FK_查询_RELATIONS_客户end if;if exists(select 1 from sys.sysforeignkey where role=FK_用户交流平台_RELATIONS_客户) then alter table 用户交流平台 delete foreign key FK_用户交流平台_RELATIONS_客户end if;if exists(select 1 from sys.sysforeignkey where role=FK_订票_RELATIONS_客户) then alter table 订票 delete foreign key FK_订票_RELATIONS_客户end if;if exists(select 1 from sys.sysforeignkey where role=FK_退票_RELATIONS_客户) then alter table 退票 delete foreign key FK_退票_RELATIONS_客户end if;drop index if exists 客户.Relationship_1_FK;drop index if exists 客户.客户_PK;drop table if exists 客户;/*=*/* Table: 客户 */*=*/create table 客户 ( 更改账户 integer not null, 真实姓名 char(20) null, 性别 char(10) null, 年龄 integer null, 身份证号 integer null, 修改密码 char(15) null, constraint PK_客户 primary key (更改账户);/*=*/* Index: 客户_PK */*=*/create unique index 客户_PK on 客户 (更改账户 ASC);/*=*/* Index: Relationship_1_FK */*=*/create index Relationship_1_FK on 客户 ();alter table 客户 add constraint FK_客户_RELATIONS_登录 foreign key () references 登录 on update restrict on delete restrict;4.机票管理if exists(select 1 from sys.sysforeignkey where role=FK_机票管理_RELATIONS_ADMINIST) then alter table 机票管理 delete foreign key FK_机票管理_RELATIONS_ADMINISTend if;drop index if exists 机票管理.Relationship_6_FK;drop table if exists 机票管理;/*=*/* Table: 机票管理 */*=*/create table 机票管理 ( 更改账户ID integer null, 添加可预订机票 tinyint not null, 删除机票 tinyint not null);/*=*/* Index: Relationship_6_FK */*=*/create index Relationship_6_FK on 机票管理 (更改账户ID ASC);alter table 机票管理 add constraint FK_机票管理_RELATIONS_ADMINIST foreign key (更改账户ID) references Administrator (更改账户ID) on update restrict on delete restrict;5.航班信息管理if exists(select 1 from sys.sysforeignkey where role=FK_航班信息管理_RELATIONS_ADMINIST) then alter table 航班信息管理 delete foreign key FK_航班信息管理_RELATIONS_ADMINISTend if;drop index if exists 航班信息管理.Relationship_7_FK;drop table if exists 航班信息管理;/*=*/* Table: 航班信息管理 */*=*/create table 航班信息管理 ( 更改账户ID integer null, 航线信息 tinyint null, 舱位信息 tinyint null);/*=*/* Index: Relationship_7_FK */*=*/create index Relationship_7_FK on 航班信息管理 (更改账户ID ASC);alter table 航班信息管理 add constraint FK_航班信息管理_RELATIONS_ADMINIST foreign key (更改账户ID) references Administrator (更改账户ID) on update restrict on delete restrict;6.查询if exists(select 1 from sys.sysforeignkey where role=FK_查询_RELATIONS_ADMINIST) then alter table 查询 delete foreign key FK_查询_RELATIONS_ADMINISTend if;if exists(select 1 from sys.sysforeignkey where role=FK_查询_RELATIONS_客户) then alter table 查询 delete foreign key FK_查询_RELATIONS_客户end if;drop index if exists 查询.Relationship_10_FK;drop index if exists 查询.Relationship_5_FK;drop table if exists 查询;/*=*/* Table: 查询 */*=*/create table 查询 ( 更改账户 integer null, 更改账户ID integer null, 机票类型 char(15) null, 航程类别 char(15) null, 出发城市 tinyint null, 到达城市 tinyint null, 出发日期 timestamp null);/*=*/* Index: Relationship_5_FK */*=*/create index Relationship_5_FK on 查询 (更改账户 ASC);/*=*/* Index: Relationship_10_FK */*=*/create index Relationship_10_FK on 查询 (更改账户ID ASC);alter table 查询 add constraint FK_查询_RELATIONS_ADMINIST foreign key (更改账户ID) references Administrator (更改账户ID) on update restrict on delete restrict;alter table 查询 add constraint FK_查询_RELATIONS_客户 foreign key (更改账户) references 客户 (更改账户) on update restrict on delete restrict;7.订票if exists(select 1 from sys.sysforeignkey where role=FK_订票_RELATIONS_客户) then alter table 订票 delete foreign key FK_订票_RELATIONS_客户end if;if exists(select 1 from sys.sysforeignkey where role=FK_订票_RELATIONS_ADMINIST) then alter table 订票 delete foreign key FK_订票_RELATIONS_ADMINISTend if;drop index if exists 订票.Relationship_9_FK;drop index if exists 订票.Relationship_4_FK;drop table if exists 订票;/*=*/* Table: 订票 */*=*/create table 订票 ( 更改账户 integer null, 更改账户ID integer null, 查看可预订机票g char(20) null, 预订机票 char(20) null, 查看预订过机票 char(20) null);/*=*/* Index: Relationship_4_FK */*=*/create index Relationship_4_FK on 订票 (更改账户 ASC);/*=*/* Index: Relationship_9_FK */*=*/create index Relationship_9_FK on 订票 (更改账户ID ASC);alter table 订票 add constraint FK_订票_RELATIONS_客户 foreign key (更改账户) references 客户 (更改账户) on update restrict on delete restrict;alter table 订票 add constraint FK_订票_RELATIONS_ADMINIST foreign key (更改账户ID) references Administrator (更改账户ID) on update restrict on delete restrict;8.退票if exists(select 1 from sys.sysforeignkey where role=FK_退票_RELATIONS_客户) then alter table 退票 delete foreign key FK_退票_RELATIONS_客户end if;if exists(select 1 from sys.sysforeignkey where role=FK_退票_RELATIONS_ADMINIST) then alter table 退票 delete foreign key FK_退票_RELATIONS_ADMINISTend if;drop index if exists 退票.Relationship_8_FK;drop index if exists 退票.Relationship_3_FK;drop table if exists 退票;/*=*/* Table: 退票 */*=*/create table 退票 ( 更改账户 integer null, 更改账户ID integer null);/*=*/* Index: Relationship_3_FK */*=*/create index Relationship_3_FK on 退票 (更改账户 ASC);/*=*/* Index: Relationship_8_FK */*=*/create index Relationship_8_FK on 退票 (更改账户ID ASC);alter table 退票 add constraint FK_退票_RELATIONS_客户 foreign key (更改账户) references 客户 (更改账户) on update restrict on delete restrict;alter table 退票 add constraint FK_退票_RELATIONS_ADMINIST foreign key (更改账户ID) references Administrator (更改账户ID) on update restrict on delete restrict;9.用户交流平台if exists(select 1 from sys.sysforeignkey where role=FK_用户交流平台_RELATIONS_ADMINIST) then alter table 用户交流平台 delete foreign key
展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 管理文书 > 工作总结


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!