分布式订票系统

 2022-02-14 08:02

论文总字数:36436字

摘 要

航空旅程是民众常用的交通方式之一,售票订票是民航业务管理的基本且重要的业务之一。如今互联网的兴起,越来越多的人使用网络购票,日益增加的客户量、航线,还有各个不同的航空公司、票务系统,单一的服务器架构已经无法承载和处理所有的业务。本系统在对航空订票业务进行分析后,使用JAVA C/S结构,基于开源框架和中间件架构了一个分布式的航空订票系统。

功能上,实现了查询航线、订购机票、退订机票等用户业务,还配置了超时删除订单、自动上传机票等管理员业务;架构上,实现了数据结构无关的消息中间件,解耦客户端/服务器连接,实现了平行的分布式服务器,通过中间件可同时使用多个航空公司的服务。

关键词:分布式、中间件、解耦、C/S架构、开源框架

Distributed Airline Reservation System

Abstract

Aircraft is one of the popular means of transport for Today's people. Ticket booking is one of the basic and important services among aviation business management. Nowadays with the rise of the Internet, more and more people use Internet to search or book tickets. Due to the increasing amount of customers, airlines, different airline companies and various ticketing systems , a single server architecture has been unable to carry and deal with all the business. In the thesis, based on the analysis of airline reservation business, a distributed air booking system is built by combining the techniques like JAVA , C/S structure, the open source framework and middle-ware.

The user business (e.g., the route query, ticket ordering and tickets to unsubscribe) and manager business (e.g., order deletion upon timeout and automatical ticket upload) are realized in function. A message oriented middle-ware independent of data-structures and client/server connection’s decoupling are achieved architecturally, in order to obtain parallel distributed computing. Therefore, more than one airline service can be exploited through the middle-ware.

Keywords: Distributed, middle-ware, decouple, C/S, open source framework

目 录

摘 要 I

Abstract II

第一章 绪 论 3

1.1. 课题描述 3

1.2. 背景现状 3

1.3. 研究目的和意义 3

1.4. 设计基础和方案 4

1.5. 设计重点和创新点 4

第二章 相关技术 6

2.1. C/S结构和分布式 6

2.2. 消息中间件 7

2.3. Spring框架 8

2.4. Hibernate框架 10

2.5. 开源工具包 11

第三章 项目描述 12

3.1. 概述 12

3.1.1. SEU-Airport订票系统的描述 12

3.1.2. 预期目标 12

3.1.3. 运行环境 12

3.2. 功能需求 13

3.2.1. 功能点 13

3.2.2. 用例图 15

3.3. 数据需求 16

3.3.1. ER图 16

3.3.2. 数据字典 17

第四章 系统设计 18

4.1. 总体设计 18

4.2. 框架设计 19

4.2.1. 客户端 19

4.2.2. 中间件 22

4.2.3. 服务器 24

4.3. 功能设计 26

4.3.1. 登录 26

4.3.2. 查询机票 26

4.3.3. 订购机票 26

4.3.4. 查询订单 26

4.3.5. 付款 26

4.3.6. 退订机票 26

4.3.7. 配置机票信息(管理员) 27

第五章 系统实现 28

5.1. 数据库设计 28

5.1.1. 数据表单设计 28

5.1.2. 导出数据结构 28

5.2. 服务器设计 29

5.2.1. Bean实体类 29

5.2.2. Commom公共函数 30

5.2.3. Action数据传输层 31

5.2.4. SV业务处理层 32

5.2.5. DAO持久化层 33

5.2.6. 调用方式 35

5.3. 客户端设计 36

5.3.1. Bean实体类 36

5.3.2. Common公共函数 36

5.3.3. View设计 37

5.3.4. Net数据传输 40

5.3.5. 调用方式 41

5.4. 中间件设计 42

5.4.1. Bean实体类 42

5.4.2. Client客户端适配器 42

5.4.3. Server服务器适配器 43

5.4.4. 调用方式 43

第六章 项目总结 45

6.1. 需求测试结论 45

6.2. 评价 50

6.2.1. 软件能力 50

6.2.2. 缺陷和限制 50

6.2.3. 测试结论 51

6.2.4. 工作成果 51

结束语 52

参考文献(References) 53

第一章 绪 论

课题描述

本次课题是“分布式航空订票系统”,主要是针对航空订票业务设计的分布式系统,用来处理查询、订购、退订等典型的业务场景。在满足用户需求的同时,信息化、数据化的时代,人们越来越关注的是数据本身,而不关心数据的来源。因此整合不同来源的数据并提供给用户也是用户体验的提示。

在本次课题中设计应用了消息中间件和多服务器,用来解决不同数据来源(不同航空公司)的整合和传输。对消息中间件、DDS(Data Distribution Service)、分布式系统的理论研究进行实践,最终实现N-1-M(多客户端-中间件-多服务器)的系统架构,并实现测试。

背景现状

随着互联网的发展,用户量增多、业务逻辑更复杂、数据量越发庞大。如何满足用户的需求?如何提高处理效率?如何存储提供这些数据?

剩余内容已隐藏,请支付后下载全文,论文总字数:36436字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;