没有合适的资源?快使用搜索试试~ 我知道了~
首页(毕业设计)游戏数据库服务器设计
资源详情
资源评论
资源推荐

重庆大学本科学生毕业设计(论文)
网络对战游戏《奇迹之海》服务器数据库的设
计与实现
学 生:赵奇勇
学 号:20055237
指导教师:谭会辛 副教授
助理指导教师:
专 业:软件工程
重庆大学软件学院
二〇〇九年六月

Ba. D. Project of Chongqing University
Design and Implementation of Server
Database for the Online Game “Legendary
Ocean”
Ba.D. Candidate: Zhao Qiyong
Supervisor: A. Prof. Tan Huixin
Assistant Tutor:
Major: Software Engineering
College of Software Engineering
Chongqing University
June 2009


重庆大学本科学生毕业设计(论文) 中文摘要
摘 要
随着网络的普及,网络游戏已经成为大家耳濡目染的新生事物。现在,可以说
网络游戏已经成为人们休闲、娱乐的有效方式。网络游戏必须依托于互联网,可以
多人同时参与游戏,通过人与人之间的互动达到交流、娱乐和休闲的目的。
在网络游戏中,数据库主要用来保存用户资料,包括用户注册信息、用户游戏
资料以及其他设置资料。网络游戏的服务器端在处理这些资料时,必然要使用数据
库进行大量数据的永久存储,所以在网络游戏的开发中数据库的设计也是很重要的
环节。
本项目就是完成网络游戏服务器数据库的设计和实现。
本项目选择MySQL作为数据库管理系统,还使用了MySQL提供的C API,通
过该API的功能进行连接管理、实施查询、处理结果集等操作。
在项目开发的过程中,本文主要完成的工作如下:
1. 通过需求分析,完成了数据库的概念设计、逻辑设计以及系统架构设计。
2. 通过系统架构图,并结合需求,分析出了系统各个部分的工作情况以及数
据的交互情况。
3. 将MySQL C API封装成易于使用的数据库接口。
4. 为数据库服务器提供了操作数据库的函数。
关键词:数据库系统,网络游戏,MySQL C API,封装
I

重庆大学本科学生毕业设计(论文) 目录
ABSTRACT
W i t h t h e p o p u l a r i z a t i o n o f i n t e r n e t , o n l i n e g a m e i s n o l o n g e r a n e w t h i n g t o
p e o p l e . N o w i t c a n b e s a i d t h a t o n l i n e g a m e s h a v e b e c o m e a n e f f e c t i v e w a y o f t h e
people's leisure and entertainment. Online games must rely on the internet, people can
take part in the game at the same time, and through the interaction between people to
reach the purposes of exchange, entertainment and leisure.
In online games, the database is mainly used to save user’s data, including user’s
registration information, user’s game information, as well as other setting information.
When online game’s server-side in dealing these data, the database must be used to store
large amounts of data permanent, so database designing is also a very important aspect
in the development of online games.
T h i s p r o j e c t i s a b o u t d e s i g n a n d i m p l e m e n t a t i o n o f s e r v e r d a t a b a s e f o r o n l i n e
game.
This project uses the database management system based on MySQL, also uses the
M y S Q L C A P I , a n d t h i s A P I f u n c t i o n s c a n d o c o n n e c t i o n m a n a g e m e n t , t h e
implementation of inquiries, processing of result sets and so on.
In the project design process, the work completed as follows:
1. Through the requirement analysis, we complete the concept and logic design of
database, and system architecture design.
2. Through the system architecture diagram, we analyze the work of the various
parts of the system and the data interactive situations.
3. Packaged the C API as easy-to-use database interface.
4. Provided functions for the database server operating the database.
Keywords: database system, online game, MySQL C API, Packag
II
剩余39页未读,继续阅读

















安全验证
文档复制为VIP权益,开通VIP直接复制

评论3