如果您无法下载资料,请参考说明:
1、部分资料下载需要金币,请确保您的账户上有足够的金币
2、已购买过的文档,再次下载不重复扣费
3、资料包下载后请先用软件解压,在使用对应软件打开
重庆大学本科学生毕业设计(论文)中文摘要I摘要随着网络的普及,网络游戏已经成为大家耳濡目染的新生事物。现在,可以说网络游戏已经成为人们休闲、娱乐的有效方式。网络游戏必须依托于HYPERLINK"http://baike.baidu.com/view/6825.htm"\t"_blank"互联网,可以多人同时参与游戏,通过人与人之间的互动达到交流、娱乐和休闲的目的。在网络游戏中,数据库主要用来保存用户资料,包括用户注册信息、用户游戏资料以及其他设置资料。网络游戏的服务器端在处理这些资料时,必然要使用数据库进行大量数据的永久存储,所以在网络游戏的开发中数据库的设计也是很重要的环节。本项目就是完成网络游戏服务器数据库的设计和实现。本项目选择MySQL作为数据库管理系统,还使用了MySQL提供的CAPI,通过该API的功能进行连接管理、实施查询、处理结果集等操作。在项目开发的过程中,本文主要完成的工作如下:通过需求分析,完成了数据库的概念设计、逻辑设计以及系统架构设计。通过系统架构图,并结合需求,分析出了系统各个部分的工作情况以及数据的交互情况。将MySQLCAPI封装成易于使用的数据库接口。为数据库服务器提供了操作数据库的函数。关键词:数据库系统,网络游戏,MySQLCAPI,封装重庆大学本科学生毕业设计(论文)目录IIABSTRACTWiththepopularizationofinternet,onlinegameisnolongeranewthingtopeople.Nowitcanbesaidthatonlinegameshavebecomeaneffectivewayofthepeople'sleisureandentertainment.Onlinegamesmustrelyontheinternet,peoplecantakepartinthegameatthesametime,andthroughtheinteractionbetweenpeopletoreachthepurposesofexchange,entertainmentandleisure.Inonlinegames,thedatabaseismainlyusedtosaveuser’sdata,includinguser’sregistrationinformation,user’sgameinformation,aswellasothersettinginformation.Whenonlinegame’sserver-sideindealingthesedata,thedatabasemustbeusedtostorelargeamountsofdatapermanent,sodatabasedesigningisalsoaveryimportantaspectinthedevelopmentofonlinegames.Thisprojectisaboutdesignandimplementationofserverdatabaseforonlinegame.ThisprojectusesthedatabasemanagementsystembasedonMySQL,alsousestheMySQLCAPI,andthisAPIfunctionscandoconnectionmanagement,theimplementationofinquiries,processingofresultsetsandsoon.Intheprojectdesignprocess,theworkcompletedasfollows:Throughtherequirementanalysis,wecompletetheconceptandlogicdesignofdatabase,andsystemarchitecturedesign.Throughthesystemarchitecturediagram,weanalyzetheworkofthevariouspartsofthesystemandthedatainteractivesituations.PackagedtheCAPIaseasy-to-usedatabaseinterface.Providedfunctionsforthedatabaseserveroperatingthedatabase.Keywords:databasesystem,onlinegame,MySQLCAPI,Packag重庆大学本科学生毕业设计(论文)目录III目录TOC\o"1-3"\h\z\uHYPERLINK\l"_Toc2322