上海交通大学硕士学位论文网络游戏行业“统一用户认证平台”的研究姓名:徐龙申请学位级别:硕士专业:软件工程指导教师:谷大武;谷长勇20090901I://”,accordingtothecommonlylayeredpatternofsoftwaredesign,theauthenticationplatformisdividedintofourstratificationplanes,eachlayerprovidestheserviceforitsunderlayer,thedesignofeachlayerarchitectureprovidesahorizontalexpansionoftheperformance(byincreasingthemachineoneachlayertoincreasetheperformanceofeachlayer).Therearetwocorelevels:DatabaselevelandAuthenticationlevel(AccountServer).UsingtheMaster/Slavedatabasearchitectureandsynchronizingdataservicesinthedatabaselayer,toincreaseperformancebyincreasingthenumberofslaves(apportiontheauthenticationrequests),intheauthenticationservicelevelweinsurethatthenetworkcommunicationisefficientenough,viausingthecompletionportstechnologytoobtainthehighperformanceofIOoperation,alsousingthemultithreadingtechnology,whichfullyusesmulti-coreCPUprocessingperformance,(CAS)protocolwhichapproachbasesontheKerberosticket,andcompleteitsrealizationbasedonMicrosoftASP.NETplatform,alsoenhancesomenewfeatures:(1)AddaCookiemarkingthatshowCASserver'sauthenticationstatus(2)ProvidesamechanismthatallowssomeWebgamesorapplicationstologinonCASinpersonalizationpage.Inthedesignandbuildingtheunifiedauthenticationplatform”,analyzealotofthehistoricaluser'sbehaviordata:itmayhitabout5%-10%theinquirerequestsifusingmem-cachetechnology,throughresearchingtherelateddatamemorybuffertechnology,wedesignandrealizethememorybuffermodulewhichbasesontheHashmaptechnology,alsoitisacomponentofAccountServerlevel.Astheauthenticatesplatformconstruction,weaddacentremonitorsystemintheAccountServerlevel,researchanddevelopawholesetmonitorpolicy,alsorealizethecentremonitorsystem:includingcollectsAccountServer’sinformationintherealtime,analyzingallkindsofexceptioninformation,andsendingthealertnoticecarriesonthemailorthecellphone,andsoon.Anotheranimportanttargetisthedisasterbackup,throughresearchingmosteventsandbasingonalotofexperienceswhichmanagingtheonlinegamesbusinessinthelongesttime,takingthelocaldatabaseasdisasterbackuptechnologyiseffectively,whichcontinuestoprovidetheuninterruptedauthenticationservicesoneachgameorothersystem.BoththedisasterbackuptechnologyandtheauthenticationmodeswitcharerealizedintheSDKpackagewhichcommunicateswithAccountServerlayer,providestheauthenticationservicestransparentlytoeachgameandthesystem,fromaterminaluser,hedoesnotperceivetheauthenticationservicefrominlocaldatabaseorintheunificationauthenticationcenter.Theunifiedauthenticationplatformisfullysupportedinthecompany,allthegameproductsandwebsiteapplicationsuseittoauthenticateuser,providingnearly80milliontimesauthenticateserviceseachday,afternearlythreeyearsusing,itprovesthattheplatformisagoodperformance,horizontalscalability,highlyreliableandeasyintegratedsystem.KeywordsUnifiedAuthentication,SingleSign-On,CentralAuthenticationService,AccountService,GameLoginService,Mem-Cache://://://://://://://://://://://://(CASClient)1.WebSessionCookieWeb1.2.3.CASServerCASServerCAS3.2.CASServer4,Web(CASClient)Serviceticket5.ST(Serviceticket)CASServer6.STFig.2-3CASframeworkofbasicprotocol://://://