酒店管理系统概要设计报告.doc

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

酒店管理系统
概要设计
The System Design Report of Hotel Management System
拟制人荧火虫项目组
审核人
批准人
二零一零年十一月三十日
目录
1 引言(INTRODUCTION) ....................................................... 错误!未定义书签。

1.1编写的目的(T HE G OAL OF W RITING) ................................................... 错误!未定义书签。

1.2背景说明(B ACKGROUND) ..................................................................... 错误!未定义书签。

1.3定义(D EFINITION) .................................................................................. 错误!未定义书签。

1.4参考文献(R EFERENCE M ATERIAL):.................................................... 错误!未定义书签。

2 总体设计(THE OVERALL DESIGN) ................................. 错误!未定义书签。

2.1系统说明(S YSTEM I NSTRUCTIONS) ....................................................... 错误!未定义书签。

2.2系统任务(S YSTEM T ASKS) .................................................................... 错误!未定义书签。

2.2.1 系统目标(System Target) ...................................................................... 错误!未定义书签。

2.2.2 运行环境(Running Environment) .......................................................... 错误!未定义书签。

2.3需求规定(D EMAND R EQUIREMENTS) .................................................... 错误!未定义书签。

2.3.1 功能需求(Functional Requirements) .................................................... 错误!未定义书签。

2.3.2 性能需求(Performance Requirements) ........................................... 错误!未定义书签。

2.4模块结构框图(M ODULE STRUCTURE DIAGRAM)................................... 错误!未定义书签。

2.4.1 登录模块............................................................................................... 错误!未定义书签。

2.4.2客房管理模块(Room Management Module) ....................................... 错误!未定义书签。

2.4.3餐饮管理模块(R ESTAURANT M ANAGEMENT M ODULE) .................... 错误!未定义书签。

2.4.4查询管理模块(E NQUIRY M ANAGEMENT M ODULE) ........................... 错误!未定义书签。

2.4.5报表管理模块(S TATEMENTS M ANAGEMENT M ODULE) ..................... 错误!未定义书签。

2.4.6系统管理模块(S YSTEM M ANAGEMENT M ODULE) ............................. 错误!未定义书签。

3 模块功能描述(MODULE FUNCTIONAL DESCRIPTION)错误!未定义书签。

3.1主界面(M AIN I NTERFACE) ..................................................................... 错误!未定义书签。

3.2登录模块(L OGIN M ODULE) ................................................................... 错误!未定义书签。

3.2.1 登陆概述(Login Overview) .................................................................... 错误!未定义书签。

3.2.2登陆权限(Login Permission) ................................................................. 错误!未定义书签。

3.3餐饮管理模块(R ESTAURANT M ANAGEMENT M ODULE) ....................... 错误!未定义书签。

3.4客房管理模块(R OOM M ANAGEMENT M ODULE) ................................... 错误!未定义书签。

3.5查询管理模块(Q UERY M ANAGEMENT M ODULE) ................................. 错误!未定义书签。

3.6报表管理模块(R EPORT M ANAGEMENT M ODULE) ................................ 错误!未定义书签。

3.7系统管理模块(S YSTEM M ANAGEMENT M ODULE) ................................ 错误!未定义书签。

4 接口设计(INTERFACE DESIGN).................................. 错误!未定义书签。

4.1用户接口(U SER I NTERFACE) ............................................................ 错误!未定义书签。

4.2外部接口(E XTERNAL I NTERFACE) ......................................................... 错误!未定义书签。

4.3内部接口(I NTERNAL I NTERFACE) .......................................................... 错误!未定义书签。

5 运行设计(OPERATING DESIGN) ....................................... 错误!未定义书签。

5.1运行模块组合(R UN M ODULE C OMBINATION) ...................................... 错误!未定义书签。

5.2运行控制(R UNNING C ONTROL) ............................................................. 错误!未定义书签。

5.3运行时间(R UNNING T IME) .................................................................... 错误!未定义书签。

6 数据库结构设计(DATABASE STRUCTURE DESIGN) .... 错误!未定义书签。

6.1数据库管理模块(D ATABASE M ANAGEMENT M ODULE) ........................ 错误!未定义书签。

6.2表的定义(T ABLE D EFINITIONS) ............................................................. 错误!未定义书签。

7 系统出错设计(SYSTEM ERROR DESIGN) ................. 错误!未定义书签。

7.1出错信息(E RROR M ESSAGES).......................................................... 错误!未定义书签。

7.2补救措施(R EMEDIAL M EASURES) ......................................................... 错误!未定义书签。

1 引言(Introduction)
( 陈赛花)
1.1 编写的目的(The Goal of Writing)
酒店管理系统是为提高酒店各部门管理人员的工作效率而开发的。

系统让各部门管理人员能够更方便地处理酒店事务的进程,达到更高的效率。

Hotel Management System is developed to improve the working efficiency of the hotel staff of various departments. System allows management of various departments can more easily deal with the process of hotel services, to achieve higher efficiency.
概要设计说明书是在需求分析的基础上,对系统的设计考虑进行概要说明,包括系统的基本处理流程,总体设计,各模块的功能描述及数据库结构设计,为系统的详细设计奠定基础。

编写概要设计说明书的目的是能准确无误地用计算机处理过程来表达用户的各项要求,以此作为详细设计的纲领性的文件。

其主要任务是通过对用户需求进行综合、归纳与抽象。

System design instruction is based on the requirement analysis, system design considerations for an overview, including the system's basic processing flow, total design, and functional description of each module and database structure design, make the basic for the system’s detailed design. The purpose of making the system design instruction is able to express the user's requirements process with the computer accurately, as detailed design of the programmatic document. Its main task is having comprehensive, induction and abstraction through user needs.
1.2 背景说明(Background)
a. 系统名称:酒店管理系统
System Name: Hotel Management System显示对应的拉丁字符的拼
字典- 查看字典详细内容
b. 系统提出者:萤火虫项目小组
System proponent:Fire Fly Project Team
c. 系统开发者:萤火虫项目小组
The developer of the system: Fire Fly Project Team
d. 系统用户:酒店各部门人员
System User: various departments’ management
1.3 定义(Definition)
用于存取数据以及查询、更新和管理关系数据库系统。

SQL (Structured Query Language): is a database query and programming language ,is used to access the data and query, update and manage a relational database system.
数据库结构设计(Database Structure Design):指数据库中各个表结构的关系,包括信息保存在哪些表格中、各个表的结构如何以及各个表之间的关系。

Database design (Database Structure Design): refers to the structure of each table in the database relations, including what form that information stored in, how the structure of each table, and the relationship between the various tables.
1.4 参考文献(Reference Material):
1 张海藩.软件工程(第五版).北京:清华大学出版社,2008
2 刘金岭,冯万利,张有东等编著.数据库原理及应用.北京:清华大学出版社,2009
3 肖汉.软件工程理论与实践.第一版.北京:科学出版社,2006
4 周涛,吕伟臣,廉颖.SQL Server 2000数据库企业级应用.北京:清华大学出版社.2008
5 J.C.Mackin,Mike Hotek(美).SQL Server 2000数据库服务器架构设计.北京:清华大学出版社.2007
6 肖金秀,何鹏,周柏伟,黄元隆.程序设计.北京:冶金工业出版社,2004.4
2 总体设计(The Overall Design)
2.1 系统说明(System Instructions)
任务提出单位:淮阴工学院计算机工程学院计算机1084-FF项目组
Task put forward unit: Computer 1084-FF project team of Computer Engineering College of Huaiyin Institute of Technology.
开发单位:淮阴工学院计算机工程学院计算机1084FF项目组
Development unit: Computer 1084-FF project team of Computer Engineering College of Huaiyin Institute of Technology.
预期用户:酒店管理员
Expected users: hotel managers.
2.2 系统任务(System Tasks)
2.2.1 系统目标(System Target)
(1)各部门通过自己不同权限来登陆个人界面;
Each department through their own individual rights to land personal interface;
(2)对客户信息进行全面管理;
Comprehensive management of customer information;
(3)通过系统管理员对原有数据进行添加、修改和删除;
The original data through the system administrator to add, modify and delete;
(4)各部门管理员登录后能对其界面进行管理各种信息。

Each department manager can manage all kinds of information after registering for its interface.
2.2.2 运行环境(Running Environment)
服务器端(Server-side):
数据库(Database):SQL Server 2005;
操作系统(Operating System):Microsoft Windows XP及以上操作系统。

其它:根据用户数量和计算机安装情况配置一定数量的打印机。

Other: according to the number of users and computer installation configuration a certain number of printers.
2.3 需求规定(Demand Requirements)
2.3.1 功能需求(Functional Requirements)
系统具有如下基本功能:
System has the following basic functions:
登录模块:各部门管理员可以通过系统管理员所分配的账号和密码登陆,从而进入到不同的界面,但系统管理员可以进入主界面。

若各部门管理员想要修改密码或忘记密码,应找系统管理员来处理。

Login module: each department administrator can be assigned account and password by the system administrator, and enter into the different interface, but the system administrator can enter the main interface. If each department manager wants to modify the password or forgotten passwords, should find the system administrator to handle.
客房管理模块:客房管理包括五小块,预订房间,开/退房间,调房,消费记账和续收/退还预付款。

Room management including five small pieces, reservations, check in/out, adjustable room, consumption charge and renewal charge/return the deposit.
餐饮管理模块:由于在高档次的酒店内,餐饮管理方面还是比较小的,主要是客户在住宿时吃早餐、中餐、晚餐。

Catering management module: catering management is still relatively smaller, is mainly to eat breakfast, lunch and dinner when the customer in accommodation.
查询管理模块:查询管理子系统,是对餐饮、客房等项目情况的查询,是酒店业务日常管理功能。

Query management subsystem, is a food and beverage, rooms, etc. check the status of projects, daily management of hotel operations.
报表管理模块:财务管理主要是处理酒店的日常的账务报表,有收入报表、消费报表、酒店总表、人事工资报表,
Financial management mainly deal with daily accounting statements hotel, income statement, consumer reports, hotel overall table, personnel salary statements, 系统管理模块:系统应该在用户应有的权限下,尽量提供操作的灵活性,应
该让录入/修改人员方便地对整个酒店员工的数据库信息进行管理,让领导层能完成员工的考勤审批操作。

System should be under the authority of the user should try to provide operational flexibility should be allowed to input / modify the staff of the hotel staff to easily manage the information database to allow the leadership to complete the staff attendance approval operation.
2.3.2 性能需求(Performance Requirements)
在给定成本、进度的前提下,开发出的软件具有可修改性、有效性、可靠性、可理解性、可维护性并满足用户需求的软件产品。

以提高软件产品的质量和开发效率,减少维护的困难。

At a given cost, under the premise of progress, the developed software has modify, validity, reliability, understandability, maintainability and software products to meet customer needs. To improve the quality of software and develop the efficiency, reduce maintenance difficulties.
(1) 可靠性。

能够防止因概念、设计和结构等方面的不完善造成的软件系统失效,具有挽回因操作不当造成软件系统失效的能力。

在软件开发、编码和测试过程中,必须将可靠性放在首要地位。

Reliability: it can prevent the software system failure caused by concept, design and structure of the imperfect, has the ability of saving software system failure caused by improper operation of salvage. In software development, code, and test process, must put reliability first.
(2) 可修改性。

容许对系统进行修改而不增加原系统的复杂性。

它支持软件的调试与维护。

Modifiability: allowed to modify the system without increasing the complexity of the original system. It supports software debugging and maintenance.
(3) 有效性。

软件系统能最有效地利用计算机的时间资源和空间资源。

Effectiveness: Software system can make the most efficient use of computer time resources and spatial resources.
(4)可理解性。

系统具有清晰的结构,能直接反映问题的需求。

可理解性有
助于控制软件系统的复杂性,并支持软件的维护、移植或重用。

Understandability: system has a clear structure, can directly reflect problems needs. Understandability can control the complexity of software system, and support the software maintenance, transplantation or reuse.
(5)可维护性。

软件产品交付用户使用后,能够对它进行修改,以便改正潜伏的错误,改进性能和其他属性,使软件产品适应环境的变化。

Maintainability: after delivery of software products, users can modify it in order to correct latent errors, improve performance and other attributes, so that software product to adapt to environmental changes.
( 姚婷婷)
2.4 模块结构框图(Module structure diagram)
图2.1酒店管理系统主模块图
2.4.1 登录模块
登陆模块的结构图如下图2.2所示。

Login management module structure diagram as shown in Figure 2.2.
2.4.2 客房管理模块
2.4.3 Restaurant management module structure diagram as shown in Figure 2.4. 2.4.4 查询管理模块(Enquiry Management Module)
查询管理模块结构框图如下图2.5所示。

Enquiry management module structure diagram as shown in Figure 2.5.
2.4.5 报表管理模块结构框图如下图2.6所示。

Statements management module structure diagram as shown in Figure 2.6.
2.4.6 系统管理模块结构框图如下图2.7所示。

System management module structure diagram as shown in Figure 2.7.
3 模块功能描述(Module Functional Description)
( 张小娟)
3.1 主界面(Main Interface)
除了系统管理员所进入的主界面是一个完整的主界面,其它各部门管理员所进入的界面仅是自己管理部分的界面,这是由于系统管理员设置好了的权限。

主界面是:
In addition to the system administrator to enter the main interface is a complete main interface, and other departments into the administrator interface is only part of their management interface, which is good because the system administrator to set permissions. The main interface is:
图2.8酒店管理系统主界面
3.2 登录模块(Login Module)
3.2.1 登陆概述(Login Overview)
此模块分为系统管理员登陆和各部门管理员登陆。

系统管理员的账号、姓名和密码由系统初始化,各部门管理员的登陆信息由系统管理员添加、修改和删除。

This module divides into administrator login and owner login. Administrator login divides into super administrator login and normal administrator login, the account number, name and password are received by system initialization, and the normal administrator’s information of login is added, modified, deleted by super administrator. The owner login must be login after register by owner according to the information of the owner.
3.2.2登陆权限(Login Permission)
系统管理员登陆成功后,可对系统的所有后台进行管理。

各部门管理员登录成功后,除去系统管理权限,可管理其它所分配管理员端的后台模块。

After super administrator login, super administrator could manager the background of the system. And after normal administrator login, they can manager the background of administrator but the permission of system management.
3.3 餐饮管理模块(Restaurant Management Module)
餐饮模块主要实现以下功能:
Restaurant module achieves the following functions:
(1) 餐饮管理人员只需根据系统管理员所分配的账号和密码来登陆。

餐饮模块内只包括一个餐饮入账。

Restaurant management staff only according to the system administrator account and password. Restaurant module only includes the food accounted.
(2) 在餐费登记列表中会显示旅客的用餐信息,如:所住酒店房号、姓名、用餐时间、用餐类别、所用金额及相关说明。

Dining information will display in the list of meals and dining, such as: living in a hotel by the number, name, meal time, meal type, amount and used in the instructions.
(3) 新增旅客用餐信息,并且保存后,旅客用餐信息将出现在下方的列表框内。

Add new passenger dining information, and saved, the passenger dining information will appear below the list box.
登记(Registration):
输入(Input):
酒店房号(用户通过下拉列表选择)Hotel Room Number (user selected drop-down list)
旅客姓名(自动显示)Passenger Name (automatic display)
用餐时间Dining Time
用餐类别Dining Types
用餐金额Dining Amount
相关说明Referent Instruction
处理(Treatment):
新增add
保存save
打印print
将会提示:检查登记是否正确,是否确定保存,一旦保存将无法修改。

Will be prompted to: Check the registration is correct, whether to save, if saved will not be modified
3.4 客房管理模块(Room Management Module)
客房实现的主要功能如下:
Room module achieves the following functions:
(1)客房管理人员只需根据系统管理员所分配的帐号和密码来登陆。

客房模块内包括入住登记、结账登记、预订登记、预订入住、补交押金、打印帐单。

Room managers simply assigned according to the system administrator account and password to login. Rooms included in the registration module, check out the registration, the registration book, check book, and pay the deposit, print bills.
(2)登录之后进入客房界面,可以选择各不同的操作。

After logging into the room interface, you can choose the different actions
入住登记(Check-in):
输入(Input):
房号、折扣价格、预收押金、入住日期、离开日期、客人姓名、证件名称、证件号码、证件地址、住宿人数、客人性别、联系电话、操作人员、入住编号。

Room number, discount prices, advance deposits, arrival date, departure date, guest name, document name, document number, document addresses, the number of stay, guests of gender, telephone number, the operator, check number.
处理(Treatment):
可选择房间类别select room categories
新增、保存、打印add, save, print
输出(Output):
将会提示:检查登记是否正确,是否确定保存,一旦保存将无法修改。

Will be prompted to: Check the registration is correct, whether to save, if saved will not be modified.
结账登记(Checkout Register):
结账日期、房号、旅客姓名、入住日期、折扣价格、已发生的费用、结算信息。

Closing date, room number, passenger name, arrival date, discount price, the cost has occurred, billing information.
处理(Treatment):
打印print
保存save
输出(Output):
结账信息保存
Save the checkout information.
预定登记(Booking Register):
输入(Input):
房号、预收押金、入住日期、离开日期、客人姓名、住宿人数、客人性别、联系电话、操作人员、预定编号。

Room number, advance deposits, arrival date, departure date, guest name, the number of stay, guests of gender, telephone number, and the operator is scheduled number.
处理(Treatment):
新增、保存、打印add, save, print
输出(Output):
将会提示:检查登记是否正确,是否确定保存,一旦保存将无法修改。

Will be prompted to: Check the registration is correct, whether to save, if saved will not be modified.
预订入住(Reservation Check):
输入(Input):
房号、折扣价格、预收押金、入住日期、离开日期、客人姓名、证件名称、证件号码、证件地址、住宿人数、客人性别、联系电话、操作人员、入住编号。

Room number, discount prices, advance deposits, arrival date, departure date, guest name, document name, document number, document addresses, the number of
stay, guests of gender, telephone number, the operator, the occupancy number.
处理(Treatment):
新增、保存、打印Add, save, print
输出(Output):
将会提示:检查登记是否正确,是否确定保存,一旦保存将无法修改。

Will be prompted to: Check the registration is correct, whether to save, if saved will not be modified
补交押金(Pay deposit):
输入(Input):
酒店房号、旅客姓名、已经发生的费用、押金补交信息。

Hotel room number, passenger name, has been the costs incurred, pay the deposit information.
处理(Treatment):
打印、保存print, save
输出(Output):
当您为旅客打印押金单后,必须保存该操作,是否继续。

When you print the deposit receipt for the visitors, must save the operation, whether to continue.
打印帐单(Print Billing):
输入(Input):
帐单类型、酒店房号、客人姓名Billing type, hotel room number, guest name 处理(Treatment):
查询、打印query, print
输出(Output):
查询后信息将出现在旅客结账单的列表里。

Inquiry, the information will appear in the list of passengers in a single checkout.
话费报表(Report Calls):
输入(Input):
开始日期、结束日期Start date, end date.
处理(Treatment):
查询、打印query, print
输出(Output):
查询后信息将出现在旅客结账单的列表里。

Inquiry, the information will appear in the list of passengers in a single checkout.
3.5 查询管理模块(Query Management Module)
( 陈赛花)
查询模块所实现的功能有:
Query module function can be achieved:
入住旅客信息查询Stay at the passenger information Enquiry
客户入住状态查询Customer Check Status Inquiry
物品消耗信息查询Consumption of information query items
物品消耗汇总查询Consumption goods aggregate query
押金消费信息查询Deposit consumer information search
入住旅客信息查询(Stay at the passenger information Enquiry):
输入(Input):
任选你所清楚的一个或几个信息Choose your clear one or more information 处理(Treatment):
查询、保存Query, Save
输出(Output):
所有符合查询条件的信息显示在下面的列表框内。

The information that matches the query appears in the list box below.
客房入住状态查询(Customer Check Status Inquiry):
输入(Input):
无输入No input
处理(Treatment):
无处理no treatment
输出(Output):
无输出no output
物品消耗信息查询(Consumption of information query items):
输入(Input):
开始日期、结束日期、商品名称start date, end date, product name 处理(Treatment):
查询、打印Query, print
输出(Output):
所有符合查询条件的信息显示在下面的列表框内。

The information that matches the query appears in the list box below.
物品消耗汇总查询(consumption of information query items):
输入(Input):
开始日期、结束日期Start date, end date
处理(Treatment):
查询、打印Query, print
输出(Output):
所有符合查询条件的信息显示在下面的列表框内
The information that match the query appear in the list box below
押金消费信息查询(Deposit consumer information search):
输入(Input):
截止日期Deadline
处理(Treatment):
查询Query
输出(Output):
所有符合查询条件的信息显示在下面的列表框内
The information that match the query appear in the list box below 3.6 报表管理模块(Report Management Module)
报表管理模块所实现的功能有:
Restaurant module achieves the following functions:
(1)客房入住报表Room Check Report
(2)客房餐费报表Room meals report
(3)客房消费报表Rooms Consumer Report
(4)客房结账汇总表Room checkout summary
客房入住报表(Room Check Report):
输入(Input):
开始日期、结束日期Stare date, end date
处理(Treatment):
查询、打印Query, print
输出(Output):
所有符合查询条件的信息显示在下面的列表框内
The information that match the query appear in the list box below 客房餐费报表(Room meals report):
输入(Input):
开始日期、结束日期Start date, end date
处理(Treatment):
查询、打印Query, print
输出(Output):
所有符合查询条件的信息显示在下面的列表框内
The information that match the query appear in the list box below 客房消费报表(Rooms Consumer Report):
输入(Input):
开始日期、结束日期Start date, end date
处理(Treatment):
查询、打印Query, print
输出(Output):
所有符合查询条件的信息显示在下面的列表框内
The information that match the query appear in the list box below 客房结账汇总表(Room checkout summary):
输入(Input):
开始日期、结束日期Start date, end date
处理(Treatment):
查询、打印Query, print
输出(Output):
所有符合查询条件的信息显示在下面的列表框内
The information that match the query appear in the list box below
3.7 系统管理模块(System Management Module)
系统管理模块所实现的功能有:
System management module function can be achieved:
(1)操作权限设置Operation permissions
(2)修改用户密码Modify user password
(3)酒店信息设置Hotel information set
(4)酒店客房设置Hotel Rooms Set
(5)消费物品设置Set of consumer goods
(6)系统帮助信息System help information
操作权限设置(Operation permissions):
输入(Input):
用户名称、用户密码、说明、选择所需求的权限
User name, password, description, select the permissions of the demand 处理(Treatment):
新增、删除、保存add, delete, save
输出(Output):
新增的内容保存后将显示在下面的列表框内。

Save the contents of the new list will be displayed in the box below.
修改用户密码(Modify user password):
输入(Input):
旧密码、新密码、再输入一次新密码、用户名称
Old password, new password, then enter a new password, user name
处理(Treatment):
修改密码、返回系统Change your password, return to the system,
输出(Output):
在数据库中修改用户密码操作成功
Modify user passwords in the database operation is successful
酒店信息设置(Hotel information set):
输入(Input):
酒店名称、法人代表、酒店地址、服务电话、邮政编码、电子邮件、酒店网址、管理系统背景照片、管理系统显示名称、显示优先级
hotel name, legal representative, hotel addresses, telephone service, postal code, e-mail, hotel website, the background photo management system, management system, display name, display priority
处理(Treatment):
新增、删除、保存Add, delete, save
输出(Output):
保存所输入的内容后,信息将显示在下面的列表框内。

Save the contents of the input, the information will be displayed in the list box below.
酒店客房设置(Hotel Rooms Set):
输入(Input):
房号、类别、楼层、单价、可容纳人数、已入住人数、说明
room number, type, floor, unit price, which can accommodate the number, already moved the number of instructions
处理(Treatment):
新增、删除、保存Add, delete, save
输出(Output):
保存所输入的内容后,信息将显示在下面的列表框内。

Save the contents of the input, the information will be displayed in the list box below.
消费物品设置(Set of consumer goods):
输入(Input):
名称、单价、单位、类别、产地、说明
Name, unit price, unit, type, origin, indicating
处理(Treatment):
新增、删除、保存Add, delete, save
输出(Output):
保存所输入的内容后,信息将显示在下面的列表框内。

Save the contents of the input, the information will be displayed in the list box below.
4 接口设计(Interface Design)
( 马晨)
4.1 用户接口(User Interface)
用户接口主要采用图形接口和命令接口方式,用户可以通过点击图形界面的按钮、菜单、对话框等图形接口元素对程序和数据进行操作和在输入框中输入命令的方式查询信息。

The user interface mainly using a graphic interface and command interface way, users can by clicking on the button graphical interface, menus, dialog box and other graphic interface elements on programs and manipulate data and in the input box in the way to enter the command query information.
4.2 外部接口(External Interface)
在用户界面部分,根据需求分析的结果,用户需要一个用户友善界面。

在界面设计上,应做到简单明了,易于操作,并且要注意到界面的布局,应突出的显示重要以及出错信息。

外观上也要做到合理化,考虑到用户多对WINDOW 风格较熟悉,应尽量向这一方向靠拢。

At the user interface, according to the demand analysis of partial result, the user needs a user friendly interface. In the interface design, should do simple, easy to operate, and pay attention to the interface layout, should be prominent display important and error messages. On the exterior also should accomplish rationalization, consider that the user to be quite familiar with how well style, should try to close to
the same direction.
4.3 内部接口(Internal Interface)
身份认证模块的返回值决定当前用户是否可以进入酒店管理系统,身份通过以后再根据用户本身的权限判定进入哪一个功能模块,并且判断其相应的操作权限,这些采用返回值方式由用户本身的权限标志决定。

The identity authentication module return values decided whether the user can enter the hotel management system, according to user identity through again after the permissions judgment into itself which function modules, and judging its corresponding operation permissions, these using the return value from the users themselves permissions way sign decision.
5 运行设计(Operating Design)
( 庄涛)
5.1 运行模块组合(Run Module Combination)
输入用户名和密码,登陆后使用该系统,按照用户的权限的不同,允许做其权限内的事情。

Enter the user name and password, using the system after landing, according to the different user permissions, allowing doing the things within their competence. 5.2 运行控制(Running Control)
运行控制将严格按照各模块间函数调用关系来实现。

在各事务中心模块中,需对运行控制进行正确的判断,选择正确的运行控制路径。

在数据库操作方面,终端发送数据后,将等待数据库管理程序的确认收到信号,收到后发送查询条件或者更改数据内容,数据库完成操作后将返回操作状态码,前台程序显示出操作结果或者错误提示。

Operation control will be in strict accordance with the relationship among various modules function calls to realize. In all affairs center module, need to run control correct judgment and choose the correct operation control path. In database operation, terminal after sending data, will wait for database management program
confirm receipt of signals, receive send inquires after changing data content, conditions or database after complete the operation will return a status code, the front office operation program shows operation results or error.
5.3 运行时间(Running Time)
在软件的需求分析中,对运行时间的要求为必须对作出的操作有较快的反应。

硬件对运行时间有最大的影响,当设备负载量大时,对操作反应将受到很大的影响。

所以尽量采用高性能主机,充分发挥软件性能。

In the software requirements analysis, the operation of time requirements for must to make the operation of a quicker response. Hardware for running time have the greatest impact, when the equipment load big when, on operation reaction will be greatly affected. So try to adopt high performance host, give full play to the software performance.
6 数据库结构设计(Database Structure Design)
( 许佳玮)
6.1 数据库管理模块(Database Management Module)
a.数据库备份(Database Backup)
输入:数据库表文件
Input: database table files
处理(Processing):
(1)提醒用户是否完成数据库备份操作。

Remind users whether complete database backup operation.
(2)如果用户确认,将数据库表文件复制到备份目录中,并更改扩展名。

If the user validation, will database table copying files to backup directory, and change the extension.
(3)否则取消备份操作。

Otherwise cancel backup operation.
输出:数据库备份文件
Output: database backup files
b.数据库恢复Database recovery
输入:数据库备份文件
Input: database backup files
处理(Processing):
(1)提醒用户是否完成数据库恢复操作。

Remind users whether complete database recovery operation.
(2)如果用户确认,用数据库备份文件覆盖数据库表文件。

If the user validation, covered with database backup files database table files.
(3)否则取消恢复操作。

Otherwise cancel recovery operation.
输出:数据库表文件
Output: database table files
6.2 表的定义(Table Definitions)
表5-1Food
表5-2 Food Book
表5-3 餐费入账
表5-4 操作用户
表5-5 话费入帐
表5-6 酒店房间
表5-7 酒店信息
表5-8 客房结账单
表5-9 客房入住单
表5-10 客房预约单
表5-11 消费入账
表5-12 消费物品
7 系统出错设计(System Error Design)
7.1 出错信息(Error Messages)
程序在运行时主要会出现两种错误:
Program at runtime will mainly have two types of error:
(1)由于输入信息,或无法满足要求时产生的错误,称为软错误。

Due to the input information, or cannot meet the requirements when the error output, called soft error.
(2)由于其他问题,如操作超时等,产生的问题,称为硬错误。

Due to other problems, such as operating overtime, and the cause of the problem, called hard mistake.
对于软错误,须在查询/维护模块判断输入数据的正确性,判断错误类型,再生成相应的错误提示语句,送到输出模块中。

对与硬错误,可在出错的相应模块中输出简单的出错语句,并将程序重置,数据库内容返回操作之前的状态。

出。

相关文档
最新文档