齐齐哈尔大学毕业设计(论文)
齐
齐哈
尔
大
学
毕业设计(论文)
题 目 基于Web的宾馆客房管理系统的设计与实现 学 院 计算机与控制工程学院
I
齐齐哈尔大学毕业设计(论文)
摘 要
随着社会经济的飞速发展,酒店、宾馆在服务行业中扮演的角色越来越重要。在酒店、宾馆的运作期间,其管理和服务水平直接影响到酒店形象和声誉。采用计算机这一现代化工具作为管理的辅助手段可以提高服务质量,尽可能做到让客户满意,同时也需要一套酒店管理系统对客人、费用、房间的正确处理和保存等。基于C/S结构的管理软件开发困难,业务变更或改变不够灵活,增加了维护和管理的难度,进一步的业务拓展困难较多,并且兼容性差。基于B/S的酒店客房管理系统可以实现对客房的科学化、规范化、查询顾客情况、订房信息、以及结算信息等,有助于提高管理的效率,方便酒店对客房的实际情况进行集中的查询与管理工作,以改善整个酒店的工作效率和服务质量。
本文采用了当今比较流行的框架Struts2 + Spring+ Hibernate的系统结构,通过介绍Struts的MVC结构、基本组成和结构以及Hibernate的基本对象,并将三种框架技术整合起来应用到系统中,给出一个具体的实例配置,前端采用Struts的MVC框架,中间层采用Spring,底层采用Hibernate,提高了系统代码的可重用性和开发效率。
经测试,本系统的实现策略是可行的,能够满足中小型宾馆客房管理的需求,实现了对工作效率的提升。
关键词:宾馆;客房;MVC框架;管理系统
II
齐齐哈尔大学毕业设计(论文)
Abstract
With the rapid economic development of society , the hotel , the guesthouse inservice industry in the role of more and more important. In a hotel , thehotel duringthe operation, the management and service level directly affect thehotel's image andreputation. Using a computer to the modern tools as amanagement auxiliary instrument,it can improve the service quality, as far aspossible, do let customer satisfaction, alsoneed a hotel management system inthe guest room , cost, the proper management andpreservation . Based on C/Sstructure of management software development difficulties,business changes orchange flexible enough, increased the difficulty of maintenance andmanagement,further business to expand more difficult, and poor compatibility.Based onB/S hotel guest room management system can realize the rooms,scientific, standardized,and inquires , booking information, customer information and settlement , and improvethe management efficiency,convenient hotel rooms,the fact ofconcentration and management of inquires, in order to improve the whole hotelwork efficiency and service quality.
This paper adopted the more popular framework Struts2+Spring+Hibernate systemstructure, through the introduction of the Struts structure, basic MVC composition and structure and the basic objects Hibernate,and the three frame technology applied to thesystem together,give a specific example configuration,the Struts MVC framework front,the intermediate Spring, the bottom Hibernate, and improve the system code reusabilityand efficiency of development.
By test, the realization of the system of the strategy is feasible,can meetthe needsof small and medium-sized hotel room management , realize the workefficiency of ascension.
Key words: Hotel; Guest room; MVC framework; Management system
III
齐齐哈尔大学毕业设计(论文)
目 录
摘要 ........................................................................ II Abstract ................................................................... III
第1章 绪论 ................................................................ 1 1.1 课题研究的背景及意义 ............................................. 1 1.2 客房管理系统及相关技术研究现状 .................................. 1 1.3 课题的研究目的与内容 ............................................. 1 1.3.1 课题的研究目标 .................................................2 1.3.2 课题的主要工作和研究内容 ......................................2 1.4 设计说明书结构 .................................................... 3 第2章 系统开发相关技术的简介 ........................................... 4 2.1 系统开发环境 ...................................................... 4 2.1.1 软件开发环境 ....................................................4 2.1.2 数据库开发工具MySQL 5.1 ......................................4 2.1.3 开发工具MyEclipse8.5 ...........................................5 2.2 主要开发技术 ...................................................... 5 2.2.1 Struts2简介 ......................................................5 2.2.2 Hibernate简介 ...................................................5 2.2.3 Spring简介 ......................................................6 第3章 系统的需求分析 .................................................... 8 3.1 目前小型宾馆运营中存在的问题 .................................... 8 3.2 功能分析 ........................................................... 8 3.2.1 系统业务流程 .....................................................8 3.2.2 用例模型 .........................................................9 3.2.3 业务流程分析 ....................................................10 3.3 可行性分析 ........................................................ 10 3.3.1 经济可行性 ..................................................... 11 3.3.2 技术可行性 ..................................................... 11 3.3.3 操作可行性 ..................................................... 11 第4章 系统的概要设计 ................................................... 12 4.1 系统功能结构框架 ................................................. 12
IV
齐齐哈尔大学毕业设计(论文)
4.2 数据库设计 ........................................................ 12 4.2.1 数据库概念设计 ................................................13 4.2.2 数据库逻辑结构设计 ............................................17 4.2.3 文件夹组织结构 ................................................20 第5章 系统的详细设计与实现 ............................................ 21 5.1 系统结构的实现 ................................................... 21 5.2 用户登录的实现 ................................................... 21 5.3 用户管理模块设计 ................................................. 22 5.3.1 实现目标 ........................................................23 5.3.2 实现过程 ........................................................23 5.4 住宿管理模块设计 ................................................. 24 5.4.1 实现目标 ........................................................24 5.4.2 客人入住实现过程 ...............................................24 5.4.3 客人退房实现过程 .............................................. 25 5.4.4 客房预订实现 ....................................................26 5.5 数据管理模块设计 ................................................. 27 5.5.1 实现目标 ........................................................27 5.5.2 客房信息管理实现 ...............................................27 第6章 系统的测试 ....................................................... 28 6.1 系统的测试目标 ................................................... 28 6.2 测试方法 .......................................................... 28 6.3 系统测试的实施 ................................................... 28 6.4 本章小结 .......................................................... 31 结论 ....................................................................... 32 参考文献 .................................................................. 33 致谢 ....................................................................... 34
V