RESEARCHONADISTRIBUTEDARCHITECTUREOFMOBILEGISBASEDONWAPWangFangxionga,JiangZhiyongbaResearchCentreofSpatialInformationandDigitalEngineering,WuhanUniversity,129LuoyuRoad,Wuhan430079,China.
wfxwhu@163.
combStateKeyLaboratoryofInformationEngineeringinSurveying,MappingandRemoteSensing,WuhanUniversity,129LuoyuRoad,Wuhan430079,China.
houyingzi@sohu.
comCommissionVI,WGVI/4KEYWORDS:MobileGIS,Architecture,J2EE,WAP,MobileInternetABSTRACT:MobileGeographicalInformationSystem(MobileGIS)isaGeographicalInformationSystembasedonmobilecomputingandmobileInternet.
ItisnotaconventionalGISmodifiedtooperateonasmallercomputer,butanextensionofWebGIStomobileInternetincludingwirelessInternet/Intranetandmobilecommunicationnetwork.
ButarchitecturesofWebGISareunsuitableforMobileGIS,becauseofseveralbottleneckssuchasthelow-bandwidthofwirelessnetwork,thediversityofmobiledevices,limitedprocessingpowerandscreendisplaylimitationofmobiledevicesandthediversityofmobilesystemplatform.
SotheresearchonthearchitectureofMobileGISishotintheGISfield.
WAP-basedMobileGIScanbedescribedasmobileuserscanperformthealmostsamefunctionalityasofWebGISbutinamobileenvironmentatanytime,anyplaceandwithoutthelimitationofoperatingsystemandwiredlink.
Inthispaper,adistributedarchitectureforWAP-basedMobileGISisproposed.
UsingJavaServletEnginetechnologyandspatialinformationWebcachingmechanismatthefatserverside,thearchitecturebasedonJ2EEiscomposedoffourlogictiers:presentationtier,WAPservicetier,applicationtieranddataservicetier.
Aprototypesystembasedonthearchitecturehasbeendeveloped.
ItcansuccessfullyworkonWAPphones,whichprovesthatthearchitectureisfeasible.
1.
INTRODUCTIONSince1990,geospatialinformationtechnologiesandmobilewirelessInternethavebeenrapidlydeveloped.
ItiseasytoseethattheintegrationofgeospatialinformationandmobileInternetisinevitable,whichissimultaneitydrivenbymarketdemandsandtechnologies(LiDeren,etal,2002).
Theintegratedsystemisdesignedtoworkonmobileintelligentterminals,andbringsnewdimension-atanytime,anyplace-toaccessgeospatialandattributeinformationinGIS.
ItiscalledMobileGeographicInformationSystem(MobileGIS).
MobileGISoffersanothernewperspectivefortheuseofGISandfurtherextendsthe"office"GISworksinmobileenvironment(ShiWenzhongandKwanKawai,2002).
MobileGISwasearlyappliedtoassistofficeandcollectdatainthefield(NessS.
T.
Lee,1993;K.
North,1997).
ItisnotaconventionalGISmodifiedtooperateonasmallercomputer,butasystembuildusingafundamentallynewparadigm(DavidMaguire,2001).
ItextendsunlimitedinformationontheInternetandpowerfulservicefunctionsofGIStomobiledevices,andcanprovidemobileuserswithgeospatialinformationservices.
MobileGIScreatesanewchannelofbusinesspractice,andthousandsofpotentialapplicationsandservicescanalsobedeveloped.
Hence,itisexploringaneweraofmobilegeographicinformationservices.
Therestthispaperisarrangedasfollow:WAP-basedMobileGISanditssuperioritytoSMS/MMS-basedMobileGISarebrieflyintroducedinSection2.
ThreemainstreamarchitecturesolutionsfordistributedsystemsarepresentedinSection3.
AdistributedarchitectureforWAP-basedMobileGISbasedonJ2EEisproposedinSection4.
AndaprototypesystemimplementedbasedonJ2EEispresentedinSection5.
Finally,theconclusionisdrawnandoutlookofWAP-basedMobileGISarediscussed.
2.
MOBILEGISBASEDONWAPMobileGIScanbesimplydividedintotwocategories,accordingtocurrentlypopularsolutionsaccessingtotheMobileInternet.
TheoneisbasedonShortMessageService(SMS)/MultimediaMessageService(MMS),theotherisbasedonWirelessApplicationProtocol(WAP).
SMS/MMS-basedMobileGIS(MaLingbin,etal,2002;WeiZhongya,etal,2002;ZhangJianqunandLiangJuanzhu,2003)canonlybesuitableformobilephoneswithsamplesystemfunctions,unfriendlygraphicaluserinterface(GUI),poorinformationpresentationandtherestrictedapplicationfields,becauseofthelimitationsofSMS/MMSsuchasrestrictedcarryinginformation,timelag,unfriendlyinteractivemode,andsoon.
Onthecontrary,WAPisabear-independentinternationalstandardprotocolthathasoptimizedformobiledeviceswithlimiteddisplayandsmallkeyboardsofmobilehandsetsandlowbandwidthsofwirelessnetworks,andpermitsapplicationsandservicestooperateoverallexistingandforeseeablewirelessnetworkssuchasGSM,CDMA,PHS,TDMAandWCDMA(WAPForum,2002).
TheWAPspecificationencompassesarelativelysimpleandcompactversionofXML(eXtendableMarkupLanguage)calledWML(WirelessMarkupLanguage),whichmakesitpossibletomakerequeststoamobileservicefromamobileterminalandreturnamapintheformofanembeddedbitmap(e.
g.
WBMP).
SoWAP-basedMobileGIShasricherinformationpresentation,friendlierGUI,moresystemfunctionsandmoreapplicationfieldsthantheformer.
Moreover,itcanworkonawiderangeofmobiledeviceswithaWAPmicrobrowseronly,fromPersonalDigitalAssistants(PDAs),mobilephones,andin-carcomputerstoothersmallmobiledevices,andkeepsthestandardbrowsingstyle.
WAP-basedMobileGIScanbedescribedasmobileusers(withaWAPmobileterminalonly)canperformthealmostsamefunctionalityasofInternetGISbutinamobileenvironmentatanytime,anyplaceandwithoutthelimitationofoperatingsystemandwiredlink.
Altogether,itisbecauseoftheadvantagesofWAPthatwebelieveWAP-basedMobileGISwillplayaleadingroleinourmobileinformationservicesmarkets.
Theframeworkandsoulofadistributedsystemisthesystemarchitecturedecidingthedistributionofsystemfunctionsanddata.
WAP-basedMobileGIS,asanewdevelopmenttoInternetGIS,isstillinapreliminarystage,whoseresearchissuesneedbedealwith.
However,thearchitecturesolutiontoWAP-basedMobileGISisthekeyandcoreofitswholeresearches.
AlthoughLiDeren,etal(2002)andLiLuqun,etal(2002)usedtopresentanarchitectureforMobileGISrespectively,thearchitectureswereconceptualonesandhaddifficultyplayingasubstantiallydirectiveroletobuildingaMobileGISsystem,letaloneWAP-basedMobileGIS.
3.
ARCHITECTURESOLUTIONSWAP-basedMobileGISisa"thinclient"distributedsystemviamobileInternet.
Itmustbeanopen,extendable,stableandcross-platformdistributedsystem,becauseoftheincreasingapplicationdemandsandthediversityofmobileterminals.
Currently,popularsystemarchitecturesolutionsfordistributedsystemsareallbasedondistributedobjecttechnologies.
Therearethreemainstreamindustrystandards:Microsoft'sWindowsDistributedNetworkArchitecture(WindowsDNA)/.
NETArchitecture,ObjectManagementGroup'sCommonObjectRequestBrokerArchitecture(CORBA),Sun'sJava2EnterpriseEdition(J2EE)Architecture.
AsystembasedonWindowsDNA/.
NETArchitecturesolutioncanonlyuseMicrosoft'splatformsfromdevelopment,deploymenttorunning,includingdevelopingplatformsandoperatingsystem.
Itcannotcrossoperatingsystemplatformespecially,whichisthefatalweaknessofWindowsDNA/.
NETArchitecture.
CORBAistoohugeandcomplicated.
Anditstechnologiesandstandardsareupdatedrelativelyslowly.
J2EEisaspecificationandstandardcreatedbySunandherindustrypartners,anditevolvesquickly.
J2EEprovidessupportforthetechnologiessuchasEnterpriseJavaBeans(EJB),JavaServletsAPIandJavaServerPagers(JSP),andsoon.
J2EEsolutionreducesthecostandcomplexityofdevelopingamulti-tierdistributedsystemwhichcanberapidlydevelopedanddeployed,andcanenhancetheportability,security,loadbalancingandextensibilityofadistributedsystem.
TherearethefollowingadvantagestobuilddistributedGISbasedonJ2EE(MaoHaifeng,2004):(1)cross-platform;(2)multi-tierseparatingtocomplicatedtasks;(3)componentreusingand(4)moduledeveloping.
Thus,J2EEsolutioncansatisfythesystemrequirementsofWAP-basedMobileGIS.
BasedonJ2EE,thispaperproposesadistributedarchitectureforWAP-basedMobileGIS.
4.
ADISTRIBUTEDARCHITECTUREAsshowedonFigure1,theJ2EE-baseddistributedarchitectureiscomposedoffourlogictiersfromtheclientsidetotheserverside:presentationtier,WAPservicetier,applicationtieranddataservicetier.
Atthefatserverside,GeospatialinformationWebcachingmechanismisusedtooptimizetheperformancecapabilityandreducingtheaccessdelayoftheclient.
Functionsandcomponentsofeachlogictierandthestatementaboutthedistributionofpresentationlogic,businesslogicandgeospatialdatainthearchitecturearedetailedlystatedasfollow.
MobileClientWAPMicroBrowserJ2MEApplicationPDA/phone/in-carPCWAPGatewayWMLEncoderWMLScriptDecoderWebServerJSPPresentingServletIdentifyingServletServletEngineWebContainerApplicationServerGISSessionBeansGISEntityBeansEJBContainerSDE+RDBMSDatabaseServerLegacysystemWAPHTTPRMIJDBCJMSMobilePositionCentreMLPWirelessnetworkInternetIntranetFigure1:AdistributedarchitectureofWAP-basedMobileGIS4.
1PresentationTierPresentationtierisacarrieroftheclientofWAP-basedMobileGIS,andismainlyresponsibleforimplementingthepresentationlogicofGISdata.
Generally,theclientwithoutlocal-storagedataisaWAPmicrobrowserthatcontrolstheGUIandisanalogoustoastandardWebbrowser.
TheWAPmicrobrowserneedn'tperformanyGISbusinesslogic,don'tdirectlyconnecttoaback-enddatabaseserver,anddon'tstoreitselfstateinformation,soitisareally"ThinClient".
TheclientalsomaybeaJ2ME(Java2MicroEdition)application.
4.
2WAPServiceTierWAPservicetierincludesaWAPProxy(oftenreferredtoasaWAPGateway)andaWebServer.
TheWAPGatewaywasrequiredtohandletheprotocolinterworkingbetweentheclientandtheWebServer.
AsdepictedinFigure1,theWAPGatewayconsistsofWMLencodersandWMLScriptdecoders.
TheWAPGatewaycanoptimizethecommunicationprocessandmayoffermobileserviceenhancements,suchaslocation,privacy,andpresencebasedservices.
TheWAPGatewaycommunicateswiththeclient(WAPmicrobrowser)usingtheWAPprotocols,anditcommunicateswiththeWebServerusingthestandardInternetprotocolssuchasHTTP/HTTPS.
OncetheWAPGatewayreceivesWAPrequestsfromtheclient,ittranslatestherequeststoHTTPrequests,andthensendsthemtotheWebServer.
OncetheWAPGatewayreceivesHTTPresponses(webcontents)fromtheWebServer,ittranslatesthewebcontentstocompactencodedbinaryformatsforreducingthesizeandnumberofpacketstravelingoverthewirelessnetworktotheclientfordisplayingand/orprocessing.
TheWebServerincludesaWebContainerandWebprotocolssupport,securitysupport,andsoon.
WebcachingmechanismforGeospatialInformationTheWebContainerisresponsibleformanagingaJavaServletEngineandJavaServerPagers(JSP).
AnInternetGISsystembasedonJavaoftenusesJavaAppletsand/orServletstoextendthedynamicallydisplayingfunctionalityfortheWebbrowser.
ThispaperusesaServletEngineinsteadofrunningAppletsand/orServletsinsidetheWebServer,whichhasseveraladvantagesasfollow:1TheServletEnginerunsitselfinsidetheWebServer.
ButappletsinsidetheWebServermustbedynamicallydownloadedtotheclientforprocessing,whichwouldincreasetheloadofwirelessandmobiledevices(Especially,aWAPphonehasnotthecapabilityofrunningapplets.
).
2TheServletEnginecanhostServletsandprovidethemwithstandardJavaServletAPIs.
3TheServletEnginedecouplesServletsprocessingfromspecificimplementationdetailsoftheWebServer.
Thisincreasestheflexibilityofthesystemarchitecture,asitallowstheWebServertochangewithoutimpactingontheoverallsystem.
TheServletEnginecanalsoprovidevariousmanagementfeaturesthathelptoshifttheloadofServletsprocessingawayfromtheWebServer.
TheclientdevicesofWAP-basedMobileGIShaveseveraltypes(e.
g.
PDAandWAPphone)whosedisplayingandpresentingcapabilitiesaredifferent.
Sotheremusthasamechanismattheserverside,thatis,theWebServermaydeterminethetypeoftheclientdeviceandgeneratecorrespondingpresentationlogicfortheclient.
Fortunately,theServletEnginecansolvetheproblemeffectively.
TheServletEnginemayprovidetwokindsofServlets:theoneispresentingServletwhichisresponsibleforgeneratingcorrespondingpresentationlogicaccordingtothetypeoftheclientdevicefortheclient;theortherisidentifyingServletwhichisresponsiblefordeterminingthetypeoftheclientdevice(throughtheonlyIDoftheclientdeviceaccessingmobilenetworks)andthennotifypresentingServlet.
TheServletEngineisresponsibleformanageServletsandprovidesupportforJSP.
SinceServletsruninsidetheWebServer,everyonedoesnotneedaGUI.
Servletsinthesameservletenginecanshareresourcesandchaintogether.
SotheWebServercangeneratedynamicalWebcontentsbyrunningServlets(i.
e.
presentingServlets)toresponseforclientrequestslikeCGI.
AndServletsaremoreefficientthantheCGIapproachandtheFast-CGIapproach.
ThroughServletsand/orJSP,theclientsidemayindirectlyperformEJBcomponentsinsidetheApplicationServertoimplementGISbusinesslogic,suchasspatialanalysis,spatialandattributequerying,routeplanning,geocodingandgazetteer,andsoon.
4.
3ApplicationTierApplicationtieristhecoreofthearchitecture.
ItcorrespondsGISApplicationServersthatcommunicatewiththeWebServerinWAPservicetierthroughRemoteMethodInvocation(RMI).
AnEJBcontaineratanApplicationServeristheruntimeenvironmentofEJBcomponentsincludingGISSessionBeansandGISEntityBeans,andcontrolsthesecomponentstobeperformedandtransferred.
Atthesametime,thecontaineralsoprovidesthesecomponentswithallrequiredservicesfordistributedcomputingenvironments.
Thus,theseEJBcomponentscouldmoreefficientlyexecuteintheApplicationServer.
TheEJBcomponentscanuseJDBC(JavaDatabaseConnection)technologytoaccesstodatabaseservers,anduseJMS(JavaMessageService)technologytoconnecttoback-endlegacysystems.
TheApplicationServerhasaspecialLocatingEntityBeantocommunicatetheMobilePositionCentre(MPC),aServerprovidinggeographiclocationinformation,withMobileLocationProtocol(MLP)(LocationInteroperabilityForum,2002).
Themobilepositiontechnologiesforreal-timecapturingthelocationinformationofmobileusersgenerallyareGPS,CellOfOrigin(COO),TimeOfArrival(TOA),AngleOfArrival(AOA),EnhancedObservedTimeDifference(E-OTD)andsoon.
4.
4DataServiceTierDataservicetiercorrespondsDatabaseServersthatareusedtomanageandstoregeospatialandattributedataofthewholesystem.
Objectorienteddatabasemanagementsystem(OODBMS)isthemostdesireddatabaseserverforaGISsystem,butOODBMSisimmatureandverycostlycurrently,soitisnotpopularandtobeusedcommonly(GongJianya,2001).
Atpresent,themainstreamsolutionisthatlargeobject-relationdatabasesystemssuchasDB2,Oracle,Sybase,SQLServer,andsoonareusedtomanageandstoreGISdata,atthesametime,spatialdataengine(SDE)alsocanbedevelopedtobuildthecommunicationbetweendataservicetierandapplicationtier.
SDEisanopenstandards-basedmiddlewaresuchasArcSDE,SpatialWareandOracleSpatial.
5.
J2EE-BASEDPROTOTYPESYSTEMUsingthe100%PureJavaJ2EEsolution,theabovearchitectureisopenandcross-platform,andhasthecharacteristicssuchasextensibility,stabilityandreliability,whichcouldsatisfysystemrequirementsofWAP-basedMobileGIS.
Basedonthearchitecture,aprototypesystemofWAP-basedMobileGIShasbeendeveloped.
Intheprototypesystem,theserversideusesApacheTomcat5asthewebserver,BEAWebLogic8.
1astheapplicationserver,Oracle8iandESRIArcSDEasthedatabaseserver,anditprovidesarangeofbasicGISfunctions(e.
g.
spatialandattributequerying,routeplanning,geocoding,mapping,etc.
)toaMobileGISuserusingtheServletEngineandEJBcomponentstogainandprocessspatialgeometryobjectinback-endspatialdatabases.
TheclientsideusesWAPphonewithaWAPmicrobrowserandmayobtainmapsinWBMPformatfromtheserverside,andithasthebasicmapbrowsingfunctionssuchaszoomingout,zoomingin,moving(up,down,leftandright).
TherunningresultsareshowedinFigure2.
Figure2:AprototypesystemofWAP-basedMobileGIS6.
CONCLUSIONANDPROSPECTWAP-basedMobileGISisaverynewstudyfieldofGeoinformatics.
Aboveall,thearchitectureissolved,becauseitisthekeyandcoreofthedistributedsystem.
Inthispaper,basedonJ2EE,anopendistributedarchitectureisproposedforWAP-basedMobileGIS.
Andaprototypesystemisdesignedanddevelopedbasedonthearchitecturewhichiscomposedoffourlogictiers.
TheprototypesystemcansuccessfullyworkonWAPphones,whichprovesthatthearchitectureisfeasible.
Atpresent,lowbandwidthsarestillthemainbottleneckofallmobileapplications(WeiZhongya,XuSunxinandWuLun,2003).
Soresearchesontheorganizationofgeospatialdataatthefatserversideandonthepresentationofgeospatialinformationatthethinclientsideshouldbedonefarther.
Fortunately,themobilenetworkistowardsthedevelopmentof3G.
In3Gage,whenthemobileterminalmovesatthesamespeedasvehicle,thetransmissionspeedis144kbps,whenthemobileterminalmovesatthewalkingspeedorun-movesinoutdoor,thetransmissionspeedis384kbps,whenthemobileterminalisintheroom,thetransmissionspeedisupto2Mbps.
The3Gbandwidthswillsatisfywiththerequirementsofgeospatialinformationwirelesstransmission.
Therefore,itisnothardtounderstandthatWAP-basedMobileGISwillhavebetterdevelopmentandapplicationperspectivesandconsiderablebusinessvalue.
REFERENCESLiDeren,LiQingquan,XieZhiying,ZhuXinyan,2002.
TheTechniqueIntegrationoftheSpatialInformationandMobileCommunication.
GeomaticsandInformationScienceofWuhanUniversity,27(1):1-6.
ShiWenzhong,Ka-waiKwan,2002.
:AReviewandAnalysisofMobileGISDevelopment.
TheInternationalWorkshoponMobileandInternetGIS.
Wuhan,2002.
NessS.
T.
Lee,1993.
SingleLineStreetNetwork:TheFoundationofMobileGIS.
IEEE-IEEVehicleNavigationandInformationSystemsConference.
Ottawa-VNIS'93,34-37.
K.
North,1997.
FieldInformationSystemsforManagingYourAssets.
EngineeringtheBenefitsofGeographicalInformationSystems.
IEEEColloquium,1997,6/1-6/7.
DavidMaguire,2001.
MobileGeographicServicesComeofAge.
Geoinformatics,March,6-9.
MaLinbing,GongJianya,ZhangChunSen,2002.
ResearchonApplicationSolutionandKeyTechnologyofMobileGIS.
ISPRS,VolumeXXXIV,Part2,CommissionII:323-326.
WeiZhongya,XuSuning,WuLun,2002.
AModelofMobileGeographicInformationService.
ISPRS,VolumeXXXIV,Part2,CommissionII:525-529.
ZhangJianqun,LiangJuanzhu,2003.
ImplementationofMobileSpatialInformationServiceByMMS.
GeomaticsandInformationScienceofWuhanUniversity,28(1):115-119.
WAPForum,2002.
WAP2.
0TechnicalWhitePaper.
http://www.
wapforum.
org/what/WAPWhite_Paper1.
pdf(accessed28Nov.
2003)LiLuqun,LiChengmingandLinZongjian,2002.
InvestigationontheConceptModelofMobileGIS.
ISPRS,Vol.
XXXIV,part4,CommissionIV.
http://www.
isprs.
org/commission4/proceedings/pdfpapers/415.
pdf(accessed18May2003)MaoHaifeng,2004.
DistributedGISforAgricultureBasedonJ2EE.
GeomaticsandInformationScienceofWuhanUniversity,29(2):142-143.
LocationInteroperabilityForum,2002.
MobileLocationProtocolSpecification.
http://www.
openmobilealliance.
org/lifdownload/LIF-TS-101-v3.
0.
0.
zip(accessed18May2003)GongJianya,2001.
ConceptandDevelopmentTrendofSpatialDatabaseManagementSystem.
ScienceofSurveyingandMapping,26(3):4-9.
WeiZhongya,XuSuning,WuLun,2003.
AWAP-basedGeographicInformationMobileService.
CommunicationTechnologyProceedings,ICCT2003.
InternationalConferenceon,Vol2:1455-1460.
HostKvm是一家成立于2013年的国外主机服务商,主要提供基于KVM架构的VPS主机,可选数据中心包括日本、新加坡、韩国、美国、中国香港等多个地区机房,均为国内直连或优化线路,延迟较低,适合建站或者远程办公等。目前商家发布了夏季特别促销活动,针对香港国际/韩国机房VPS主机提供7折优惠码,其他机房全场8折,优惠后2GB内存套餐月付5.95美元起。下面分别列出几款主机套餐配置信息。套餐:韩国KR...
RAKsmart 商家从原本只有专注于独立服务器后看到产品线比较单薄,后来陆续有增加站群服务器、高防服务器、VPS主机,以及现在也有在新增云服务器、裸机云服务器等等。机房也有增加到拥有洛杉矶、圣何塞、日本、韩国、中国香港等多个机房。在年前也有介绍到RAKsmart商家有提供年付129元的云服务器套餐,年后我们看到居然再次刷新年付云服务器低价格。我们看到云服务器低至年79元,如果有需要便宜云服务器的...
LOCVPS怎么样?LOCVPS是一家成立于2011年的稳定老牌国人商家,目前提供中国香港、韩国、美国、日本、新加坡、德国、荷兰等区域VPS服务器,所有机房Ping延迟低,国内速度优秀,非常适合建站和远程办公,所有机房Ping延迟低,国内速度优秀,非常适合做站。XEN架构产品的特点是小带宽无限流量、不超售!KVM架构是目前比较流行的虚拟化技术,大带宽,生态发展比较全面!所有大家可以根据自己业务需求...
xyq.163.cbg.com为你推荐
太空国家世界上第一个把人类送入太空的国家是哪国?中老铁路地铁路是怎么造的?是钻地吗?蓝色骨头手机宠物的骨头分别代表几级?刘祚天你们知道21世纪的DJ分为几种类型吗?(答对者重赏)lunwenjiance知网论文检测查重系统www.haole012.comhttp://fj.qq.com/news/wm/wm012.htm 这个链接的视频的 第3分20秒开始的 背景音乐 是什么?336.com求一个游戏的网站 你懂得www.765.com下载小说地址www.hyyan.comdota屠夫怎么玩?从初期到后期的装备是什么?www.147qqqcom求女人能满足我的…
免费com域名申请 新秒杀 主机 名片模板psd 12306抢票攻略 网站监控 双12活动 godaddy域名转出 seovip 数字域名 东莞数据中心 能外链的相册 国外ip加速器 江苏双线服务器 个人免费邮箱 江苏双线 黑科云 杭州电信 phpinfo sonya 更多